fleetmap-reports 1.0.250 → 1.0.255
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 +54 -7
- package/lang/enGB.js +8 -0
- package/lang/esCL.js +8 -0
- package/lang/ptBR.js +8 -0
- package/lang/ptPT.js +8 -0
- package/package.json +1 -1
- package/src/activity-report.js +362 -191
- package/src/kms-report.js +155 -110
- package/src/speeding-report.js +5 -5
- 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,11 +1,11 @@
|
|
|
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$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
|
|
5
6
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
6
|
-
<change beforePath="$PROJECT_DIR$/src/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.js" afterDir="false" />
|
|
7
7
|
<change beforePath="$PROJECT_DIR$/src/index.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.test.js" afterDir="false" />
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/src/
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/src/util/trips.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/util/trips.js" afterDir="false" />
|
|
9
9
|
</list>
|
|
10
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
11
11
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
<component name="Git.Settings">
|
|
23
23
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
24
24
|
</component>
|
|
25
|
+
<component name="GitSEFilterConfiguration">
|
|
26
|
+
<file-type-list>
|
|
27
|
+
<filtered-out-file-type name="LOCAL_BRANCH" />
|
|
28
|
+
<filtered-out-file-type name="REMOTE_BRANCH" />
|
|
29
|
+
<filtered-out-file-type name="TAG" />
|
|
30
|
+
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
|
31
|
+
</file-type-list>
|
|
32
|
+
</component>
|
|
25
33
|
<component name="ProjectId" id="20NIxbej0qfi8RaO3jr1XOU0xol" />
|
|
26
34
|
<component name="ProjectViewState">
|
|
27
35
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
@@ -196,7 +204,15 @@
|
|
|
196
204
|
<workItem from="1639074912454" duration="257000" />
|
|
197
205
|
<workItem from="1639090037682" duration="2514000" />
|
|
198
206
|
<workItem from="1639135460686" duration="3092000" />
|
|
199
|
-
<workItem from="1639151097761" duration="
|
|
207
|
+
<workItem from="1639151097761" duration="13703000" />
|
|
208
|
+
<workItem from="1639246310204" duration="628000" />
|
|
209
|
+
<workItem from="1639247624979" duration="13040000" />
|
|
210
|
+
<workItem from="1639489940902" duration="18224000" />
|
|
211
|
+
<workItem from="1639591829775" duration="681000" />
|
|
212
|
+
<workItem from="1639592539998" duration="27141000" />
|
|
213
|
+
<workItem from="1639766010908" duration="4991000" />
|
|
214
|
+
<workItem from="1639872937953" duration="1438000" />
|
|
215
|
+
<workItem from="1639954341221" duration="10241000" />
|
|
200
216
|
</task>
|
|
201
217
|
<task id="LOCAL-00001" summary="Fix getStyle">
|
|
202
218
|
<created>1636983717385</created>
|
|
@@ -275,7 +291,35 @@
|
|
|
275
291
|
<option name="project" value="LOCAL" />
|
|
276
292
|
<updated>1639139696408</updated>
|
|
277
293
|
</task>
|
|
278
|
-
<
|
|
294
|
+
<task id="LOCAL-00012" summary="speeding report with customSpeed">
|
|
295
|
+
<created>1639238286381</created>
|
|
296
|
+
<option name="number" value="00012" />
|
|
297
|
+
<option name="presentableId" value="LOCAL-00012" />
|
|
298
|
+
<option name="project" value="LOCAL" />
|
|
299
|
+
<updated>1639238286382</updated>
|
|
300
|
+
</task>
|
|
301
|
+
<task id="LOCAL-00013" summary="fix speeding report">
|
|
302
|
+
<created>1639248407781</created>
|
|
303
|
+
<option name="number" value="00013" />
|
|
304
|
+
<option name="presentableId" value="LOCAL-00013" />
|
|
305
|
+
<option name="project" value="LOCAL" />
|
|
306
|
+
<updated>1639248407782</updated>
|
|
307
|
+
</task>
|
|
308
|
+
<task id="LOCAL-00014" summary="Trip and activity report with time period">
|
|
309
|
+
<created>1639873766070</created>
|
|
310
|
+
<option name="number" value="00014" />
|
|
311
|
+
<option name="presentableId" value="LOCAL-00014" />
|
|
312
|
+
<option name="project" value="LOCAL" />
|
|
313
|
+
<updated>1639873766072</updated>
|
|
314
|
+
</task>
|
|
315
|
+
<task id="LOCAL-00015" summary="Fix trips distance because imported positions generate trips with 0 kms">
|
|
316
|
+
<created>1640000462824</created>
|
|
317
|
+
<option name="number" value="00015" />
|
|
318
|
+
<option name="presentableId" value="LOCAL-00015" />
|
|
319
|
+
<option name="project" value="LOCAL" />
|
|
320
|
+
<updated>1640000462825</updated>
|
|
321
|
+
</task>
|
|
322
|
+
<option name="localTasksCounter" value="16" />
|
|
279
323
|
<servers />
|
|
280
324
|
</component>
|
|
281
325
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -301,10 +345,13 @@
|
|
|
301
345
|
<MESSAGE value="Fix pdf logo" />
|
|
302
346
|
<MESSAGE value="kms report with parallel requests" />
|
|
303
347
|
<MESSAGE value="Kms Report - Calculate distance with traccar trips" />
|
|
304
|
-
<MESSAGE value="fix speeding report" />
|
|
305
348
|
<MESSAGE value="refactor speeding and trip report" />
|
|
306
349
|
<MESSAGE value="Kms report with time period" />
|
|
307
350
|
<MESSAGE value="kms report - show every selected day" />
|
|
308
|
-
<
|
|
351
|
+
<MESSAGE value="speeding report with customSpeed" />
|
|
352
|
+
<MESSAGE value="fix speeding report" />
|
|
353
|
+
<MESSAGE value="Trip and activity report with time period" />
|
|
354
|
+
<MESSAGE value="Fix trips distance because imported positions generate trips with 0 kms" />
|
|
355
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fix trips distance because imported positions generate trips with 0 kms" />
|
|
309
356
|
</component>
|
|
310
357
|
</project>
|
package/lang/enGB.js
CHANGED
|
@@ -238,6 +238,14 @@ module.exports = {
|
|
|
238
238
|
event_sos: 'SOS',
|
|
239
239
|
event_powerOn: 'Power TakeOff',
|
|
240
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',
|
|
241
249
|
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
250
|
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
251
|
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
|
@@ -231,6 +231,14 @@ module.exports = {
|
|
|
231
231
|
event_sos: 'SOS',
|
|
232
232
|
event_powerOn: 'Tomada de Força',
|
|
233
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',
|
|
234
242
|
unsubscribeTripReport: 'Si no desea recibir estos emails por favor ingrese a %url% y elimine la opción en los Ajustes / Reportes ',
|
|
235
243
|
unsubscribeLocationsReport: this.unsubscribeTripReport,
|
|
236
244
|
unsubscribeSpeedingReport: this.unsubscribeTripReport,
|
package/lang/ptBR.js
CHANGED
|
@@ -227,6 +227,14 @@ module.exports = {
|
|
|
227
227
|
event_sos: 'SOS',
|
|
228
228
|
event_powerOn: 'Tomada de Força',
|
|
229
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',
|
|
230
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".',
|
|
231
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".',
|
|
232
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/lang/ptPT.js
CHANGED
|
@@ -237,6 +237,14 @@ module.exports = {
|
|
|
237
237
|
event_sos: 'SOS',
|
|
238
238
|
event_powerOn: 'Tomada de Força',
|
|
239
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',
|
|
240
248
|
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
249
|
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
250
|
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".',
|