@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 @@
|
|
|
1
|
+
{"version":3,"file":"use-intervention-header-actions.js","sourceRoot":"","sources":["../../src/hooks/use-intervention-header-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,aAAa,EACb,WAAW,EACX,aAAa,EACb,QAAQ,GACT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAC,qBAAqB,EAAC,MAAM,+BAA+B,CAAC;AAEpE,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE;IACzC,uBAAuB,EAAE,CAAC;IAC1B,6BAA6B,EAAE,CAAC;IAChC,4BAA4B,EAAE,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACnC,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAC7B,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;IACnC,MAAM,EAAC,SAAS,EAAC,GAAG,QAAQ,EAAE,CAAC;IAE/B,MAAM,EAAC,cAAc,EAAC,GAAG,WAAW,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IACtE,MAAM,EAAC,SAAS,EAAC,GAAG,WAAW,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAE9E,SAAS,CAAC,GAAG,EAAE;QACb,qBAAqB,CAAC,aAAa,CAAC,6BAA6B,EAAE;YACjE,KAAK,EAAE,2CAA2C;YAClD,OAAO,EAAE,SAAS,EAAE,EAAE;YACtB,mBAAmB,EAAE,CAAC,cAAc,EAAE,uBAAuB;YAC7D,uBAAuB,EAAE,SAAS,EA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|
|
4
|
+
"Intervention_ActiveIntervention": "Active intervention",
|
|
5
|
+
"Intervention_DayInterventions": "Of the day",
|
|
6
|
+
"Intervention_PlannedInterventions": "Planned",
|
|
7
|
+
"Intervention_InterventionsHistory": "History",
|
|
8
|
+
"Intervention_OpenMap": "Open map",
|
|
9
|
+
"Intervention_OpenPhone": "Open phone",
|
|
10
|
+
"Intervention_Status_Planned": "Planned",
|
|
11
|
+
"Intervention_Status_Started": "Started",
|
|
12
|
+
"Intervention_Status_Suspended": "Suspended",
|
|
13
|
+
"Intervention_Status_Finished": "Finished",
|
|
14
|
+
"Intervention_CustomerPark": "Customer Park",
|
|
15
|
+
"Intervention_Equipments": "Equipments",
|
|
16
|
+
"Intervention_Equipment": "Equipment",
|
|
17
|
+
"Intervention_Customer": "Customer",
|
|
18
|
+
"Intervention_EquipmentStatus_InService": "In service",
|
|
19
|
+
"Intervention_EquipmentStatus_NotInService": "Not in service",
|
|
20
|
+
"Intervention_ParentPlace": "Parent place",
|
|
21
|
+
"Intervention_Unlink": "Unlink",
|
|
22
|
+
"Intervention_Duplicate": "Duplicate",
|
|
23
|
+
"Intervention_Edit": "Edit",
|
|
24
|
+
"Intervention_Archive": "Archive",
|
|
25
|
+
"Intervention_Delete": "Delete",
|
|
26
|
+
"Intervention_OpenFile": "Open file",
|
|
27
|
+
"Intervention_MaxGIT": "Max GIT",
|
|
28
|
+
"Intervention_MaxGRT": "Max GRT",
|
|
29
|
+
"Intervention_AssignedTo": "Assigned to",
|
|
30
|
+
"Intervention_Type": "Type",
|
|
31
|
+
"Intervention_Description": "Description",
|
|
32
|
+
"Intervention_OnCallManagement": "On-call management",
|
|
33
|
+
"Intervention_TimerFormat": "ddd HHhmm",
|
|
34
|
+
"Intervention_Code": "Code",
|
|
35
|
+
"Intervention_Designation": "Designation",
|
|
36
|
+
"Intervention_EquipmentFamily": "Equipment family",
|
|
37
|
+
"Intervention_CommissioningDate": "Commissioning date",
|
|
38
|
+
"Intervention_CustomerWarrantyOnPartEndDate": "Customer warranty on part end date",
|
|
39
|
+
"Intervention_ScheduleOfOperation": "Schedule of operation",
|
|
40
|
+
"Intervention_SpecificAccessSchedule": "Specific access schedule",
|
|
41
|
+
"Intervention_Comments": "Comments",
|
|
42
|
+
"Intervention_Contract": "Contract",
|
|
43
|
+
"Intervention_EquipmentLine": "Equipment line",
|
|
44
|
+
"Intervention_OpenEquipmentLine": "Open lines",
|
|
45
|
+
"Intervention_OpenEquipmentIntervention": "Open intervention history",
|
|
46
|
+
"Intervention_OpenEquipmentPictures": "Open pictures",
|
|
47
|
+
"Intervention_ChoosePhoto": "Choose a photo",
|
|
48
|
+
"Intervention_TakePicture": "Take a picture",
|
|
49
|
+
"Intervention_CreatedOn": "Created on",
|
|
50
|
+
"Intervention_UpdatedOn": "Updated on",
|
|
51
|
+
"Intervention_CreatedBy": "Created by",
|
|
52
|
+
"Intervention_UpdatedBy": "Updated by",
|
|
53
|
+
"Intervention_CreateNote": "Create a note",
|
|
54
|
+
"Intervention_Note": "Note",
|
|
55
|
+
"Intervention_MetaFile": "File",
|
|
56
|
+
"Intervention_RefreshIntervention": "Refresh intervention",
|
|
57
|
+
"Intervention_CreateEquipment": "Create an equipment",
|
|
58
|
+
"Intervention_LinkEquipment": "Link an equipment",
|
|
59
|
+
"Intervention_Survey": "Survey",
|
|
60
|
+
"Intervention_AdvancedMonitoringAnswerHome": "Home",
|
|
61
|
+
"Intervention_AdvancedMonitoringAnswerOffice": "Office",
|
|
62
|
+
"Intervention_AdvancedMonitoringAnswerPreviousIntervention": "Previous intervention",
|
|
63
|
+
"Intervention_AdvancedMonitoringAnswerNextIntervention": "Next intervention",
|
|
64
|
+
"Intervention_DesiredUnit": "Desired unit : {{unit}}",
|
|
65
|
+
"Intervention_NoActiveIntervention": "No active intervention",
|
|
66
|
+
"Intervention_QuestionRequired": "Required",
|
|
67
|
+
"Intervention_QuestionConditional": "Conditional",
|
|
68
|
+
"Intervention_PrivateQuestion": "Private question",
|
|
69
|
+
"Intervention_EquipmentType_Equipment": "Equipment",
|
|
70
|
+
"Intervention_EquipmentType_Place": "Place",
|
|
71
|
+
"Intervention_SliceAction_FetchIntervention": "fetch intervention",
|
|
72
|
+
"Intervention_SliceAction_SearchEquipment": "search equipments",
|
|
73
|
+
"Intervention_SliceAction_SearchClientAndProspect": "search clients and prospects",
|
|
74
|
+
"Intervention_SliceAction_SearchPlaceEquipment": "search on place equipment",
|
|
75
|
+
"Intervention_SliceAction_FetchInterventionById": "fetch intervention by id",
|
|
76
|
+
"Intervention_SliceAction_FetchRange": "fetch range",
|
|
77
|
+
"Intervention_SliceAction_FetchQuestion": "fetch question",
|
|
78
|
+
"Intervention_SliceAction_GetEquipmentById": "get element by id",
|
|
79
|
+
"Intervention_SliceAction_SearchEquipmentFamily": "search on equipment family",
|
|
80
|
+
"Intervention_SliceAction_SearchContract": "search contract",
|
|
81
|
+
"Intervention_SliceAction_SaveEquipment": "save equipment",
|
|
82
|
+
"Intervention_SliceAction_FetchInterventionNote": "fetch intervention note",
|
|
83
|
+
"Intervention_SliceAction_DeleteInterventionNote": "delete intervention note",
|
|
84
|
+
"Intervention_SliceAction_FetchInterventionNoteType": "fetch intervention note type",
|
|
85
|
+
"Intervention_SliceAction_SearchEquipmentLine": "search on equipment line",
|
|
86
|
+
"Intervention_SliceAction_SearchEquipmentPicture": "search on equipment picture",
|
|
87
|
+
"Intervention_SliceAction_DeleteEquipmentPicture": "delete an equipment picture",
|
|
88
|
+
"Intervention_SliceAction_CreateEquipmentPicture": "create an equipment picture",
|
|
89
|
+
"Intervention_SliceAction_SearchHistoryInterventionByEquipment": "search history intervention by equipment",
|
|
90
|
+
"Intervention_SliceAction_FetchInterventionNoteById": "fetch intervention note by id",
|
|
91
|
+
"Intervention_SliceAction_UpdateInterventionNote": "update intervention note",
|
|
92
|
+
"Intervention_SliceAction_CreateInterventionNote": "create intervention note",
|
|
93
|
+
"Intervention_SliceAction_SearchInterventionEquipment": "search intervention equipments",
|
|
94
|
+
"Intervention_SliceAction_FetchNumberClientEquipment": "fetch the number of client equipment",
|
|
95
|
+
"Intervention_SliceAction_FetchNumberInterventionEquipment": "fetch the number of intervention equipment",
|
|
96
|
+
"Intervention_SliceAction_FetchQuestionById": "fetch question by id",
|
|
97
|
+
"Intervention_SliceAction_UpdateQuestion": "update question",
|
|
98
|
+
"Intervention_SliceAction_FetchActiveIntervention": "fetch active intervention",
|
|
99
|
+
"Intervention_SliceAction_ArchiveEquipment": "archive equipment",
|
|
100
|
+
"Intervention_SliceAction_CopyEquipment": "copy equipment",
|
|
101
|
+
"Intervention_SliceAction_DeleteEquipment": "delete equipment",
|
|
102
|
+
"Intervention_SliceAction_UpdateInterventionStatus": "update intervention status",
|
|
103
|
+
"Intervention_SliceAction_UnlinkEquipment": "unlink equipment from intervention",
|
|
104
|
+
"Intervention_SliceAction_LinkEquipment": "link equipment to intervention",
|
|
105
|
+
"Intervention_SliceAction_SearchEquipmentToLink": "search equipment available to link on intervention"
|
|
106
|
+
}
|
package/lib/i18n/fr.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Intervention_Intervention": "Intervention",
|
|
3
|
+
"Intervention_Interventions": "Interventions",
|
|
4
|
+
"Intervention_ActiveIntervention": "Intervention active",
|
|
5
|
+
"Intervention_DayInterventions": "Du jour",
|
|
6
|
+
"Intervention_PlannedInterventions": "Planifiées",
|
|
7
|
+
"Intervention_InterventionsHistory": "Historique",
|
|
8
|
+
"Intervention_OpenMap": "Voir l'itinéraire",
|
|
9
|
+
"Intervention_OpenPhone": "Appeler le contact",
|
|
10
|
+
"Intervention_Status_Planned": "Planifiée",
|
|
11
|
+
"Intervention_Status_Started": "Démarrée",
|
|
12
|
+
"Intervention_Status_Suspended": "Suspendue",
|
|
13
|
+
"Intervention_Status_Finished": "Terminée",
|
|
14
|
+
"Intervention_CustomerPark": "Parc client",
|
|
15
|
+
"Intervention_Equipments": "Équipements",
|
|
16
|
+
"Intervention_Equipment": "Équipement",
|
|
17
|
+
"Intervention_Customer": "Client",
|
|
18
|
+
"Intervention_EquipmentStatus_InService": "En service",
|
|
19
|
+
"Intervention_EquipmentStatus_NotInService": "Pas en service",
|
|
20
|
+
"Intervention_ParentPlace": "Lieu parent",
|
|
21
|
+
"Intervention_Unlink": "Dissocier",
|
|
22
|
+
"Intervention_Duplicate": "Dupliquer",
|
|
23
|
+
"Intervention_Edit": "Editer",
|
|
24
|
+
"Intervention_Archive": "Archiver",
|
|
25
|
+
"Intervention_Delete": "Supprimer",
|
|
26
|
+
"Intervention_OpenFile": "Ouvrir le fichier",
|
|
27
|
+
"Intervention_MaxGIT": "GTI max",
|
|
28
|
+
"Intervention_MaxGRT": "GTR max",
|
|
29
|
+
"Intervention_AssignedTo": "Assignée à",
|
|
30
|
+
"Intervention_Type": "Type",
|
|
31
|
+
"Intervention_Description": "Description",
|
|
32
|
+
"Intervention_OnCallManagement": "Gestion des astreintes",
|
|
33
|
+
"Intervention_TimerFormat": "ddj HHhmm",
|
|
34
|
+
"Intervention_Code": "Code",
|
|
35
|
+
"Intervention_Designation": "Désignation",
|
|
36
|
+
"Intervention_EquipmentFamily": "Famille d'équipement",
|
|
37
|
+
"Intervention_CommissioningDate": "Date de mise en service",
|
|
38
|
+
"Intervention_CustomerWarrantyOnPartEndDate": "Date de fin de garantie pièce client",
|
|
39
|
+
"Intervention_ScheduleOfOperation": "Calendrier de fonctionnement",
|
|
40
|
+
"Intervention_SpecificAccessSchedule": "Horaire d'accès spécifique",
|
|
41
|
+
"Intervention_Comments": "Commentaires",
|
|
42
|
+
"Intervention_Contract": "Contrat",
|
|
43
|
+
"Intervention_EquipmentLine": "Ligne d'équipement",
|
|
44
|
+
"Intervention_OpenEquipmentLine": "Ouvrir les lignes",
|
|
45
|
+
"Intervention_OpenEquipmentIntervention": "Ouvrir l'historique des interventions",
|
|
46
|
+
"Intervention_OpenEquipmentPictures": "Ouvrir les photos",
|
|
47
|
+
"Intervention_ChoosePhoto": "Choisir une photo",
|
|
48
|
+
"Intervention_TakePicture": "Prendre une photo",
|
|
49
|
+
"Intervention_CreatedOn": "Créée le",
|
|
50
|
+
"Intervention_UpdatedOn": "Mise à jour le",
|
|
51
|
+
"Intervention_CreatedBy": "Créée par",
|
|
52
|
+
"Intervention_UpdatedBy": "Mise à jour par",
|
|
53
|
+
"Intervention_CreateNote": "Créer une note",
|
|
54
|
+
"Intervention_Note": "Note",
|
|
55
|
+
"Intervention_MetaFile": "Fichier",
|
|
56
|
+
"Intervention_RefreshIntervention": "Actualiser l'intervention",
|
|
57
|
+
"Intervention_CreateEquipment": "Créer un équipement",
|
|
58
|
+
"Intervention_LinkEquipment": "Lier un équipement",
|
|
59
|
+
"Intervention_Survey": "Questionnaire",
|
|
60
|
+
"Intervention_AdvancedMonitoringAnswerHome": "Maison",
|
|
61
|
+
"Intervention_AdvancedMonitoringAnswerOffice": "Bureau",
|
|
62
|
+
"Intervention_AdvancedMonitoringAnswerPreviousIntervention": "Intervention précédente",
|
|
63
|
+
"Intervention_AdvancedMonitoringAnswerNextIntervention": "Intervention suivante",
|
|
64
|
+
"Intervention_DesiredUnit": "Unité attendue : {{unit}}",
|
|
65
|
+
"Intervention_NoActiveIntervention": "Pas d'intervention active",
|
|
66
|
+
"Intervention_QuestionRequired": "Requise",
|
|
67
|
+
"Intervention_QuestionConditional": "Conditionnelle",
|
|
68
|
+
"Intervention_PrivateQuestion": "Question privée",
|
|
69
|
+
"Intervention_EquipmentType_Equipment": "Équipement",
|
|
70
|
+
"Intervention_EquipmentType_Place": "Lieu",
|
|
71
|
+
"Intervention_SliceAction_FetchIntervention": "récupération des interventions",
|
|
72
|
+
"Intervention_SliceAction_SearchEquipment": "recherche sur les équipements",
|
|
73
|
+
"Intervention_SliceAction_SearchClientAndProspect": "recherche sur les clients et prospects",
|
|
74
|
+
"Intervention_SliceAction_SearchPlaceEquipment": "recherche sur les équipements de type place",
|
|
75
|
+
"Intervention_SliceAction_FetchInterventionById": "récuperation d'une intervention par id",
|
|
76
|
+
"Intervention_SliceAction_FetchRange": "récupération des gammes",
|
|
77
|
+
"Intervention_SliceAction_FetchQuestion": "récupération des questions",
|
|
78
|
+
"Intervention_SliceAction_GetEquipmentById": "récupération de l'équipement par id",
|
|
79
|
+
"Intervention_SliceAction_SearchEquipmentFamily": "recherche sur les familles d'équipement",
|
|
80
|
+
"Intervention_SliceAction_SearchContract": "recherche sur les contrats",
|
|
81
|
+
"Intervention_SliceAction_SaveEquipment": "sauvegarde de l'équipement",
|
|
82
|
+
"Intervention_SliceAction_FetchInterventionNote": "récupération des notes d'interventions",
|
|
83
|
+
"Intervention_SliceAction_DeleteInterventionNote": "suppression d'une note d'intervention",
|
|
84
|
+
"Intervention_SliceAction_FetchInterventionNoteType": "récupération des types de note d'intervention",
|
|
85
|
+
"Intervention_SliceAction_SearchEquipmentLine": "recherche sur les lignes d'équipement",
|
|
86
|
+
"Intervention_SliceAction_SearchEquipmentPicture": "recherche sur les photos de l'équipement",
|
|
87
|
+
"Intervention_SliceAction_DeleteEquipmentPicture": "suppression d'une image d'équipement",
|
|
88
|
+
"Intervention_SliceAction_CreateEquipmentPicture": "création d'une image d'équipement",
|
|
89
|
+
"Intervention_SliceAction_SearchHistoryInterventionByEquipment": "recherche l'historique des interventions par equipment",
|
|
90
|
+
"Intervention_SliceAction_FetchInterventionNoteById": "récuperation d'une note d'intervention par id",
|
|
91
|
+
"Intervention_SliceAction_UpdateInterventionNote": "mise à jour d'une note d'intervention",
|
|
92
|
+
"Intervention_SliceAction_CreateInterventionNote": "création d'une note d'intervention",
|
|
93
|
+
"Intervention_SliceAction_SearchInterventionEquipment": "recherche sur les équipements liés à une intervention",
|
|
94
|
+
"Intervention_SliceAction_FetchNumberClientEquipment": "récupération du nombre d'équipements liés à un client",
|
|
95
|
+
"Intervention_SliceAction_FetchNumberInterventionEquipment": "récupération du nombre d'équipements liés à une intervention",
|
|
96
|
+
"Intervention_SliceAction_FetchQuestionById": "récuperation d'une question par id",
|
|
97
|
+
"Intervention_SliceAction_UpdateQuestion": "mise à jour d'une question",
|
|
98
|
+
"Intervention_SliceAction_FetchActiveIntervention": "récupération de l'intervention active",
|
|
99
|
+
"Intervention_SliceAction_ArchiveEquipment": "archivage de l'équipement",
|
|
100
|
+
"Intervention_SliceAction_CopyEquipment": "copie de l'équipement",
|
|
101
|
+
"Intervention_SliceAction_DeleteEquipment": "suppression de l'équipement",
|
|
102
|
+
"Intervention_SliceAction_UpdateInterventionStatus": "mise à jour de l'intervention",
|
|
103
|
+
"Intervention_SliceAction_UnlinkEquipment": "dissociation d'un équipement de l'intervention",
|
|
104
|
+
"Intervention_SliceAction_LinkEquipment": "ajout d'un équipement sur l'intervention",
|
|
105
|
+
"Intervention_SliceAction_SearchEquipmentToLink": "recherche des équipements à ajouter sur l'intervention"
|
|
106
|
+
}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Module } from '@axelor/aos-mobile-core';
|
|
2
|
+
export declare const InterventionModule: Module;
|
|
3
|
+
export * from './api';
|
|
4
|
+
export * from './components';
|
|
5
|
+
export * from './features/asyncFunctions-index';
|
|
6
|
+
export * from './screens/intervention';
|
|
7
|
+
export * from './types';
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
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 enTranslations from './i18n/en.json';
|
|
19
|
+
import frTranslations from './i18n/fr.json';
|
|
20
|
+
import InterventionScreens from './screens/intervention';
|
|
21
|
+
import EquipmentsScreens from './screens/equipment/';
|
|
22
|
+
import * as interventionReducers from './features';
|
|
23
|
+
import { intervention_formsRegister, intervention_modelAPI, intervention_searchFields, intervention_sortFields, intervention_typeObjects, } from './models';
|
|
24
|
+
import { useInterventionHeaders } from './hooks/use-intervention-header-actions';
|
|
25
|
+
export const InterventionModule = {
|
|
26
|
+
name: 'app-intervention',
|
|
27
|
+
title: 'Intervention_Intervention',
|
|
28
|
+
subtitle: 'Intervention_Intervention',
|
|
29
|
+
icon: 'tools',
|
|
30
|
+
compatibilityAOS: {
|
|
31
|
+
moduleName: 'axelor-intervention',
|
|
32
|
+
downToVersion: '8.1.0',
|
|
33
|
+
},
|
|
34
|
+
translations: {
|
|
35
|
+
en: enTranslations,
|
|
36
|
+
fr: frTranslations,
|
|
37
|
+
},
|
|
38
|
+
menus: {
|
|
39
|
+
intervention_menu_interventionSeparator: {
|
|
40
|
+
title: 'Intervention_Interventions',
|
|
41
|
+
separator: true,
|
|
42
|
+
},
|
|
43
|
+
intervention_menu_activeIntervention: {
|
|
44
|
+
title: 'Intervention_ActiveIntervention',
|
|
45
|
+
icon: 'calendar-check',
|
|
46
|
+
screen: 'ActiveInterventionScreen',
|
|
47
|
+
},
|
|
48
|
+
intervention_menu_dayInterventions: {
|
|
49
|
+
title: 'Intervention_DayInterventions',
|
|
50
|
+
icon: 'calendar-event',
|
|
51
|
+
screen: 'DayInterventionsScreen',
|
|
52
|
+
},
|
|
53
|
+
intervention_menu_plannedInterventions: {
|
|
54
|
+
title: 'Intervention_PlannedInterventions',
|
|
55
|
+
icon: 'calendar-week',
|
|
56
|
+
screen: 'PlannedInterventionsScreen',
|
|
57
|
+
},
|
|
58
|
+
intervention_menu_interventionsHistory: {
|
|
59
|
+
title: 'Intervention_InterventionsHistory',
|
|
60
|
+
icon: 'clock-history',
|
|
61
|
+
screen: 'InterventionsHistoryScreen',
|
|
62
|
+
},
|
|
63
|
+
intervention_separator_equipments: {
|
|
64
|
+
title: 'Intervention_Equipments',
|
|
65
|
+
separator: true,
|
|
66
|
+
},
|
|
67
|
+
intervention_menu_customerPark: {
|
|
68
|
+
title: 'Intervention_CustomerPark',
|
|
69
|
+
icon: 'wrench',
|
|
70
|
+
screen: 'CustomerParkScreen',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
screens: {
|
|
74
|
+
...InterventionScreens,
|
|
75
|
+
...EquipmentsScreens,
|
|
76
|
+
},
|
|
77
|
+
reducers: {
|
|
78
|
+
...interventionReducers,
|
|
79
|
+
},
|
|
80
|
+
models: {
|
|
81
|
+
objectFields: { ...intervention_modelAPI },
|
|
82
|
+
searchFields: { ...intervention_searchFields },
|
|
83
|
+
sortFields: { ...intervention_sortFields },
|
|
84
|
+
formsRegister: { ...intervention_formsRegister },
|
|
85
|
+
headerRegisters: useInterventionHeaders,
|
|
86
|
+
typeObjects: intervention_typeObjects,
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
export * from './api';
|
|
90
|
+
export * from './components';
|
|
91
|
+
export * from './features/asyncFunctions-index';
|
|
92
|
+
export * from './screens/intervention';
|
|
93
|
+
export * from './types';
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,cAAc,MAAM,gBAAgB,CAAC;AAC5C,OAAO,cAAc,MAAM,gBAAgB,CAAC;AAC5C,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,oBAAoB,MA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