fleetmap-reports 1.0.284 → 1.0.288
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/.idea/jsLibraryMappings.xml +1 -1
- package/.idea/modules.xml +1 -1
- package/.idea/vcs.xml +1 -1
- package/{.idea/fleetmap-reports.iml → fleetmap-reports.iml} +1 -2
- package/lang/enGB.js +1 -11
- package/lang/esCL.js +1 -10
- package/lang/index.js +1 -4
- package/lang/ptBR.js +1 -11
- package/lang/ptPT.js +1 -11
- package/package.json +1 -2
- package/src/activity-report.js +206 -542
- package/src/automaticReports.js +1 -1
- package/src/events-report.js +21 -25
- package/src/here.js +1 -1
- package/src/index.js +2 -12
- package/src/index.test.js +25 -18
- package/src/kms-report.js +103 -409
- package/src/location-report.js +18 -22
- package/src/refueling-report.js +1 -11
- package/src/reportStyle.js +0 -26
- package/src/speeding-report.js +180 -239
- package/src/trip-report.js +159 -152
- package/src/util/driver.js +13 -5
- package/src/util/utils.js +1 -67
- package/src/zone-report.js +23 -22
- package/.idea/aws.xml +0 -17
- package/.idea/codeStyles/Project.xml +0 -7
- package/src/idle-report.js +0 -285
- package/src/tests/index.js +0 -22
- package/src/util/pdfDocument.js +0 -58
- package/src/util/traccar.js +0 -72
- package/src/util/trips.js +0 -76
package/.idea/modules.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ProjectModuleManager">
|
|
4
4
|
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/fleetmap-reports.iml" filepath="$PROJECT_DIR$/fleetmap-reports.iml" />
|
|
6
6
|
</modules>
|
|
7
7
|
</component>
|
|
8
8
|
</project>
|
package/.idea/vcs.xml
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
3
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
4
|
<exclude-output />
|
|
5
5
|
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
6
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
7
|
</component>
|
|
9
8
|
</module>
|
package/lang/enGB.js
CHANGED
|
@@ -162,6 +162,7 @@ module.exports = {
|
|
|
162
162
|
},
|
|
163
163
|
report: {
|
|
164
164
|
temperature: 'Temperatura',
|
|
165
|
+
temperature2: 'Temperatura2',
|
|
165
166
|
select_vehicles: 'Select vehicles',
|
|
166
167
|
select_vehicles_placeholder: 'Vehicles',
|
|
167
168
|
select_geofences: 'Select geofences',
|
|
@@ -182,7 +183,6 @@ module.exports = {
|
|
|
182
183
|
titleEventsReport: 'Events Report',
|
|
183
184
|
titleActivityReport: 'Activity Report',
|
|
184
185
|
titleKmsReport: 'Kms Report',
|
|
185
|
-
titleIdleReport: 'Idle Report',
|
|
186
186
|
from: 'From',
|
|
187
187
|
to: 'to',
|
|
188
188
|
headerStartAddress: 'Start address',
|
|
@@ -214,7 +214,6 @@ module.exports = {
|
|
|
214
214
|
duration: 'Duration',
|
|
215
215
|
vehicles: 'Vehicles',
|
|
216
216
|
vehicle: 'Vehicle',
|
|
217
|
-
licensePlate: 'License Plate',
|
|
218
217
|
odometer: 'Odometer',
|
|
219
218
|
startOdometer: 'Start (Km)',
|
|
220
219
|
endOdometer: 'End (Km)',
|
|
@@ -237,15 +236,6 @@ module.exports = {
|
|
|
237
236
|
event_driverChanged: 'Driver Changed',
|
|
238
237
|
event_sos: 'SOS',
|
|
239
238
|
event_powerOn: 'Power TakeOff',
|
|
240
|
-
event_powerCute: 'Power Cut',
|
|
241
|
-
monday: 'Monday',
|
|
242
|
-
tuesday: 'Tuesday',
|
|
243
|
-
wednesday: 'Wednesday',
|
|
244
|
-
thursday: 'Thursday',
|
|
245
|
-
friday: 'Friday',
|
|
246
|
-
saturday: 'Saturday',
|
|
247
|
-
sunday: 'Sunday',
|
|
248
|
-
weekDay: 'Week Day',
|
|
249
239
|
unsubscribeTripReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option "Trip report" in the settings in the "Reports" section.',
|
|
250
240
|
unsubscribeLocationsReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option "Locations report" in the settings in the "Reports" section.',
|
|
251
241
|
unsubscribeSpeedingReport: 'If you no longer wish to receive these emails, please go to %url% and remove the option "Overspeed report" in the settings in the "Reports" section.',
|
package/lang/esCL.js
CHANGED
|
@@ -157,6 +157,7 @@ module.exports = {
|
|
|
157
157
|
},
|
|
158
158
|
report: {
|
|
159
159
|
temperature: 'Temperatura',
|
|
160
|
+
temperature2: 'Temperatura2',
|
|
160
161
|
select_vehicles: 'Seleccione vehículos',
|
|
161
162
|
select_vehicles_placeholder: 'Vehículos',
|
|
162
163
|
select_geofences: 'Seleccione geocercas',
|
|
@@ -176,7 +177,6 @@ module.exports = {
|
|
|
176
177
|
titleEventsReport: 'Informe de Eventos',
|
|
177
178
|
titleActivityReport: 'Activity Report',
|
|
178
179
|
titleKmsReport: 'Informe de Kms',
|
|
179
|
-
titleIdleReport: 'Relatórios de Ralenti',
|
|
180
180
|
from: 'De',
|
|
181
181
|
to: 'a',
|
|
182
182
|
headerStartAddress: 'Lugar de início',
|
|
@@ -230,15 +230,6 @@ module.exports = {
|
|
|
230
230
|
event_driverChanged: 'Conductor Cambiado',
|
|
231
231
|
event_sos: 'SOS',
|
|
232
232
|
event_powerOn: 'Tomada de Força',
|
|
233
|
-
event_powerCut: 'Corte de Corrente',
|
|
234
|
-
monday: 'Lunes',
|
|
235
|
-
tuesday: 'Martes',
|
|
236
|
-
wednesday: 'Miércoles',
|
|
237
|
-
thursday: 'Jueves',
|
|
238
|
-
friday: 'Viernes',
|
|
239
|
-
saturday: 'Sábado',
|
|
240
|
-
sunday: 'Domingo',
|
|
241
|
-
weekDay: 'Dia da Semana',
|
|
242
233
|
unsubscribeTripReport: 'Si no desea recibir estos emails por favor ingrese a %url% y elimine la opción en los Ajustes / Reportes ',
|
|
243
234
|
unsubscribeLocationsReport: this.unsubscribeTripReport,
|
|
244
235
|
unsubscribeSpeedingReport: this.unsubscribeTripReport,
|
package/lang/index.js
CHANGED
package/lang/ptBR.js
CHANGED
|
@@ -154,6 +154,7 @@ module.exports = {
|
|
|
154
154
|
},
|
|
155
155
|
report: {
|
|
156
156
|
temperature: 'Temperatura',
|
|
157
|
+
temperature2: 'Temperatura2',
|
|
157
158
|
select_vehicles: 'Seleccionar veículos',
|
|
158
159
|
select_vehicles_placeholder: 'Veículos',
|
|
159
160
|
select_geofences: 'Seleccionar balizas',
|
|
@@ -172,7 +173,6 @@ module.exports = {
|
|
|
172
173
|
titleEventsReport: 'Relatório de Eventos',
|
|
173
174
|
titleActivityReport: 'Relatório de Actividade',
|
|
174
175
|
titleKmsReport: 'Relatórios de Kms',
|
|
175
|
-
titleIdleReport: 'Relatórios de Ralenti',
|
|
176
176
|
from: 'De',
|
|
177
177
|
to: 'a',
|
|
178
178
|
headerStartAddress: 'Local de início',
|
|
@@ -203,7 +203,6 @@ module.exports = {
|
|
|
203
203
|
duration: 'Duração',
|
|
204
204
|
vehicles: 'Veículos',
|
|
205
205
|
vehicle: 'Veículo',
|
|
206
|
-
licensePlate: 'Placa',
|
|
207
206
|
odometer: 'Conta-Quilómetros',
|
|
208
207
|
startOdometer: 'Início (Km)',
|
|
209
208
|
endOdometer: 'Fim (Km)',
|
|
@@ -226,15 +225,6 @@ module.exports = {
|
|
|
226
225
|
event_driverChanged: 'Mudança de Motorista',
|
|
227
226
|
event_sos: 'SOS',
|
|
228
227
|
event_powerOn: 'Tomada de Força',
|
|
229
|
-
event_powerCut: 'Corte de Corrente',
|
|
230
|
-
monday: 'Segunda',
|
|
231
|
-
tuesday: 'Terça',
|
|
232
|
-
wednesday: 'Quarta',
|
|
233
|
-
thursday: 'Quinta',
|
|
234
|
-
friday: 'Sexta',
|
|
235
|
-
saturday: 'Sábado',
|
|
236
|
-
sunday: 'Domingo',
|
|
237
|
-
weekDay: 'Dia da Semana',
|
|
238
228
|
unsubscribeTripReport: 'Se não deseja receber estes emails por favor aceda a %url% e remova a opção "Relatório de viagens" nas definições na secção "Relatórios".',
|
|
239
229
|
unsubscribeLocationsReport: 'Se não deseja receber estes emails por favor aceda a %url% e remova a opção "Relatório de posições" nas definições na secção "Relatórios".',
|
|
240
230
|
unsubscribeSpeedingReport: 'Se não deseja receber estes emails por favor aceda a %url% e remova a opção "Relatório de excesso de velocidade" nas definições na secção "Relatórios".',
|
package/lang/ptPT.js
CHANGED
|
@@ -158,6 +158,7 @@ module.exports = {
|
|
|
158
158
|
},
|
|
159
159
|
report: {
|
|
160
160
|
temperature: 'Temperatura',
|
|
161
|
+
temperature2: 'Temperatura2',
|
|
161
162
|
select_vehicles: 'Seleccionar veículos',
|
|
162
163
|
select_vehicles_placeholder: 'Veículos',
|
|
163
164
|
select_geofences: 'Seleccionar balizas',
|
|
@@ -178,7 +179,6 @@ module.exports = {
|
|
|
178
179
|
titleEventsReport: 'Relatório de Eventos',
|
|
179
180
|
titleActivityReport: 'Relatório de Actividade',
|
|
180
181
|
titleKmsReport: 'Relatórios de Kms',
|
|
181
|
-
titleIdleReport: 'Relatórios de Ralenti',
|
|
182
182
|
from: 'De',
|
|
183
183
|
to: 'a',
|
|
184
184
|
headerStartAddress: 'Local de início',
|
|
@@ -210,7 +210,6 @@ module.exports = {
|
|
|
210
210
|
duration: 'Duração',
|
|
211
211
|
vehicles: 'Veículos',
|
|
212
212
|
vehicle: 'Veículo',
|
|
213
|
-
licensePlate: 'Matrícula',
|
|
214
213
|
odometer: 'Conta-Quilómetros',
|
|
215
214
|
startOdometer: 'Início (Km)',
|
|
216
215
|
endOdometer: 'Fim (Km)',
|
|
@@ -236,15 +235,6 @@ module.exports = {
|
|
|
236
235
|
event_driverChanged: 'Mudança de Motorista',
|
|
237
236
|
event_sos: 'SOS',
|
|
238
237
|
event_powerOn: 'Tomada de Força',
|
|
239
|
-
event_powerCut: 'Corte de Corrente',
|
|
240
|
-
monday: 'Segunda',
|
|
241
|
-
tuesday: 'Terça',
|
|
242
|
-
wednesday: 'Quarta',
|
|
243
|
-
thursday: 'Quinta',
|
|
244
|
-
friday: 'Sexta',
|
|
245
|
-
saturday: 'Sábado',
|
|
246
|
-
sunday: 'Domingo',
|
|
247
|
-
weekDay: 'Dia da Semana',
|
|
248
238
|
unsubscribeTripReport: 'Se não deseja receber estes emails por favor aceda a %url% e remova a opção "Relatório de viagens" nas definições na secção "Relatórios".',
|
|
249
239
|
unsubscribeLocationsReport: 'Se não deseja receber estes emails por favor aceda a %url% e remova a opção "Relatório de posições" nas definições na secção "Relatórios".',
|
|
250
240
|
unsubscribeSpeedingReport: 'Se não deseja receber estes emails por favor aceda a %url% e remova a opção "Relatório de excesso de velocidade" nas definições na secção "Relatórios".',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fleetmap-reports",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.288",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"axios": "^0.21.1",
|
|
14
14
|
"axios-cookiejar-support": "^1.0.1",
|
|
15
|
-
"fleetmap-partners": "^1.0.42",
|
|
16
15
|
"json-as-xlsx": "^1.2.1",
|
|
17
16
|
"jspdf": "^2.3.1",
|
|
18
17
|
"jspdf-autotable": "^3.5.14",
|