fleetmap-reports 1.0.251 → 1.0.256
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/workspace.xml +49 -5
- package/lang/enGB.js +8 -1
- package/lang/esCL.js +8 -1
- package/lang/ptBR.js +8 -1
- package/lang/ptPT.js +8 -1
- package/package.json +1 -1
- package/src/activity-report.js +362 -191
- package/src/kms-report.js +155 -110
- package/src/location-report.js +1 -1
- package/src/speeding-report.js +1 -1
- package/src/trip-report.js +71 -44
- package/src/util/traccar.js +14 -0
- package/src/util/trips.js +23 -0
- package/src/util/utils.js +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="eb665c86-c893-4333-bd2a-721dc27980b9" name="Changes" comment="
|
|
4
|
+
<list default="true" id="eb665c86-c893-4333-bd2a-721dc27980b9" name="Changes" comment="Fix trips distance because imported positions generate trips with 0 kms">
|
|
5
|
+
<change beforePath="$PROJECT_DIR$/lang/enGB.js" beforeDir="false" afterPath="$PROJECT_DIR$/lang/enGB.js" afterDir="false" />
|
|
6
|
+
<change beforePath="$PROJECT_DIR$/lang/esCL.js" beforeDir="false" afterPath="$PROJECT_DIR$/lang/esCL.js" afterDir="false" />
|
|
7
|
+
<change beforePath="$PROJECT_DIR$/lang/ptBR.js" beforeDir="false" afterPath="$PROJECT_DIR$/lang/ptBR.js" afterDir="false" />
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/lang/ptPT.js" beforeDir="false" afterPath="$PROJECT_DIR$/lang/ptPT.js" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
|
|
5
10
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
6
11
|
<change beforePath="$PROJECT_DIR$/src/index.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.test.js" afterDir="false" />
|
|
7
|
-
<change beforePath="$PROJECT_DIR$/src/
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/src/location-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/location-report.js" afterDir="false" />
|
|
13
|
+
<change beforePath="$PROJECT_DIR$/src/util/trips.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/util/trips.js" afterDir="false" />
|
|
8
14
|
</list>
|
|
9
15
|
<option name="SHOW_DIALOG" value="false" />
|
|
10
16
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -21,6 +27,14 @@
|
|
|
21
27
|
<component name="Git.Settings">
|
|
22
28
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
23
29
|
</component>
|
|
30
|
+
<component name="GitSEFilterConfiguration">
|
|
31
|
+
<file-type-list>
|
|
32
|
+
<filtered-out-file-type name="LOCAL_BRANCH" />
|
|
33
|
+
<filtered-out-file-type name="REMOTE_BRANCH" />
|
|
34
|
+
<filtered-out-file-type name="TAG" />
|
|
35
|
+
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
|
36
|
+
</file-type-list>
|
|
37
|
+
</component>
|
|
24
38
|
<component name="ProjectId" id="20NIxbej0qfi8RaO3jr1XOU0xol" />
|
|
25
39
|
<component name="ProjectViewState">
|
|
26
40
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
@@ -197,6 +211,13 @@
|
|
|
197
211
|
<workItem from="1639135460686" duration="3092000" />
|
|
198
212
|
<workItem from="1639151097761" duration="13703000" />
|
|
199
213
|
<workItem from="1639246310204" duration="628000" />
|
|
214
|
+
<workItem from="1639247624979" duration="13040000" />
|
|
215
|
+
<workItem from="1639489940902" duration="18224000" />
|
|
216
|
+
<workItem from="1639591829775" duration="681000" />
|
|
217
|
+
<workItem from="1639592539998" duration="27141000" />
|
|
218
|
+
<workItem from="1639766010908" duration="4991000" />
|
|
219
|
+
<workItem from="1639872937953" duration="1438000" />
|
|
220
|
+
<workItem from="1639954341221" duration="10938000" />
|
|
200
221
|
</task>
|
|
201
222
|
<task id="LOCAL-00001" summary="Fix getStyle">
|
|
202
223
|
<created>1636983717385</created>
|
|
@@ -282,7 +303,28 @@
|
|
|
282
303
|
<option name="project" value="LOCAL" />
|
|
283
304
|
<updated>1639238286382</updated>
|
|
284
305
|
</task>
|
|
285
|
-
<
|
|
306
|
+
<task id="LOCAL-00013" summary="fix speeding report">
|
|
307
|
+
<created>1639248407781</created>
|
|
308
|
+
<option name="number" value="00013" />
|
|
309
|
+
<option name="presentableId" value="LOCAL-00013" />
|
|
310
|
+
<option name="project" value="LOCAL" />
|
|
311
|
+
<updated>1639248407782</updated>
|
|
312
|
+
</task>
|
|
313
|
+
<task id="LOCAL-00014" summary="Trip and activity report with time period">
|
|
314
|
+
<created>1639873766070</created>
|
|
315
|
+
<option name="number" value="00014" />
|
|
316
|
+
<option name="presentableId" value="LOCAL-00014" />
|
|
317
|
+
<option name="project" value="LOCAL" />
|
|
318
|
+
<updated>1639873766072</updated>
|
|
319
|
+
</task>
|
|
320
|
+
<task id="LOCAL-00015" summary="Fix trips distance because imported positions generate trips with 0 kms">
|
|
321
|
+
<created>1640000462824</created>
|
|
322
|
+
<option name="number" value="00015" />
|
|
323
|
+
<option name="presentableId" value="LOCAL-00015" />
|
|
324
|
+
<option name="project" value="LOCAL" />
|
|
325
|
+
<updated>1640000462825</updated>
|
|
326
|
+
</task>
|
|
327
|
+
<option name="localTasksCounter" value="16" />
|
|
286
328
|
<servers />
|
|
287
329
|
</component>
|
|
288
330
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -308,11 +350,13 @@
|
|
|
308
350
|
<MESSAGE value="Fix pdf logo" />
|
|
309
351
|
<MESSAGE value="kms report with parallel requests" />
|
|
310
352
|
<MESSAGE value="Kms Report - Calculate distance with traccar trips" />
|
|
311
|
-
<MESSAGE value="fix speeding report" />
|
|
312
353
|
<MESSAGE value="refactor speeding and trip report" />
|
|
313
354
|
<MESSAGE value="Kms report with time period" />
|
|
314
355
|
<MESSAGE value="kms report - show every selected day" />
|
|
315
356
|
<MESSAGE value="speeding report with customSpeed" />
|
|
316
|
-
<
|
|
357
|
+
<MESSAGE value="fix speeding report" />
|
|
358
|
+
<MESSAGE value="Trip and activity report with time period" />
|
|
359
|
+
<MESSAGE value="Fix trips distance because imported positions generate trips with 0 kms" />
|
|
360
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fix trips distance because imported positions generate trips with 0 kms" />
|
|
317
361
|
</component>
|
|
318
362
|
</project>
|
package/lang/enGB.js
CHANGED
|
@@ -162,7 +162,6 @@ module.exports = {
|
|
|
162
162
|
},
|
|
163
163
|
report: {
|
|
164
164
|
temperature: 'Temperatura',
|
|
165
|
-
temperature2: 'Temperatura2',
|
|
166
165
|
select_vehicles: 'Select vehicles',
|
|
167
166
|
select_vehicles_placeholder: 'Vehicles',
|
|
168
167
|
select_geofences: 'Select geofences',
|
|
@@ -238,6 +237,14 @@ module.exports = {
|
|
|
238
237
|
event_sos: 'SOS',
|
|
239
238
|
event_powerOn: 'Power TakeOff',
|
|
240
239
|
event_powerCute: 'Power Cut',
|
|
240
|
+
monday: 'Monday',
|
|
241
|
+
tuesday: 'Tuesday',
|
|
242
|
+
wednesday: 'Wednesday',
|
|
243
|
+
thursday: 'Thursday',
|
|
244
|
+
friday: 'Friday',
|
|
245
|
+
saturday: 'Saturday',
|
|
246
|
+
sunday: 'Sunday',
|
|
247
|
+
weekDay: 'Week Day',
|
|
241
248
|
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.',
|
|
242
249
|
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.',
|
|
243
250
|
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,7 +157,6 @@ module.exports = {
|
|
|
157
157
|
},
|
|
158
158
|
report: {
|
|
159
159
|
temperature: 'Temperatura',
|
|
160
|
-
temperature2: 'Temperatura2',
|
|
161
160
|
select_vehicles: 'Seleccione vehículos',
|
|
162
161
|
select_vehicles_placeholder: 'Vehículos',
|
|
163
162
|
select_geofences: 'Seleccione geocercas',
|
|
@@ -231,6 +230,14 @@ module.exports = {
|
|
|
231
230
|
event_sos: 'SOS',
|
|
232
231
|
event_powerOn: 'Tomada de Força',
|
|
233
232
|
event_powerCut: 'Corte de Corrente',
|
|
233
|
+
monday: 'Lunes',
|
|
234
|
+
tuesday: 'Martes',
|
|
235
|
+
wednesday: 'Miércoles',
|
|
236
|
+
thursday: 'Jueves',
|
|
237
|
+
friday: 'Viernes',
|
|
238
|
+
saturday: 'Sábado',
|
|
239
|
+
sunday: 'Domingo',
|
|
240
|
+
weekDay: 'Dia da Semana',
|
|
234
241
|
unsubscribeTripReport: 'Si no desea recibir estos emails por favor ingrese a %url% y elimine la opción en los Ajustes / Reportes ',
|
|
235
242
|
unsubscribeLocationsReport: this.unsubscribeTripReport,
|
|
236
243
|
unsubscribeSpeedingReport: this.unsubscribeTripReport,
|
package/lang/ptBR.js
CHANGED
|
@@ -154,7 +154,6 @@ module.exports = {
|
|
|
154
154
|
},
|
|
155
155
|
report: {
|
|
156
156
|
temperature: 'Temperatura',
|
|
157
|
-
temperature2: 'Temperatura2',
|
|
158
157
|
select_vehicles: 'Seleccionar veículos',
|
|
159
158
|
select_vehicles_placeholder: 'Veículos',
|
|
160
159
|
select_geofences: 'Seleccionar balizas',
|
|
@@ -227,6 +226,14 @@ module.exports = {
|
|
|
227
226
|
event_sos: 'SOS',
|
|
228
227
|
event_powerOn: 'Tomada de Força',
|
|
229
228
|
event_powerCut: 'Corte de Corrente',
|
|
229
|
+
monday: 'Segunda',
|
|
230
|
+
tuesday: 'Terça',
|
|
231
|
+
wednesday: 'Quarta',
|
|
232
|
+
thursday: 'Quinta',
|
|
233
|
+
friday: 'Sexta',
|
|
234
|
+
saturday: 'Sábado',
|
|
235
|
+
sunday: 'Domingo',
|
|
236
|
+
weekDay: 'Dia da Semana',
|
|
230
237
|
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".',
|
|
231
238
|
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".',
|
|
232
239
|
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,7 +158,6 @@ module.exports = {
|
|
|
158
158
|
},
|
|
159
159
|
report: {
|
|
160
160
|
temperature: 'Temperatura',
|
|
161
|
-
temperature2: 'Temperatura2',
|
|
162
161
|
select_vehicles: 'Seleccionar veículos',
|
|
163
162
|
select_vehicles_placeholder: 'Veículos',
|
|
164
163
|
select_geofences: 'Seleccionar balizas',
|
|
@@ -237,6 +236,14 @@ module.exports = {
|
|
|
237
236
|
event_sos: 'SOS',
|
|
238
237
|
event_powerOn: 'Tomada de Força',
|
|
239
238
|
event_powerCut: 'Corte de Corrente',
|
|
239
|
+
monday: 'Segunda',
|
|
240
|
+
tuesday: 'Terça',
|
|
241
|
+
wednesday: 'Quarta',
|
|
242
|
+
thursday: 'Quinta',
|
|
243
|
+
friday: 'Sexta',
|
|
244
|
+
saturday: 'Sábado',
|
|
245
|
+
sunday: 'Domingo',
|
|
246
|
+
weekDay: 'Dia da Semana',
|
|
240
247
|
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".',
|
|
241
248
|
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".',
|
|
242
249
|
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".',
|