fleetmap-reports 1.0.249 → 1.0.253
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 +55 -6
- 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/index.js +2 -2
- package/src/kms-report.js +155 -110
- package/src/speeding-report.js +110 -45
- package/src/trip-report.js +71 -44
- package/src/util/traccar.js +14 -0
- package/src/util/trips.js +18 -0
- package/src/util/utils.js +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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="Trip and activity report with time period">
|
|
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
7
|
<change beforePath="$PROJECT_DIR$/src/index.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.test.js" afterDir="false" />
|
|
7
8
|
<change beforePath="$PROJECT_DIR$/src/kms-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/kms-report.js" afterDir="false" />
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/src/
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/src/trip-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/trip-report.js" afterDir="false" />
|
|
9
10
|
</list>
|
|
10
11
|
<option name="SHOW_DIALOG" value="false" />
|
|
11
12
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -22,6 +23,14 @@
|
|
|
22
23
|
<component name="Git.Settings">
|
|
23
24
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
24
25
|
</component>
|
|
26
|
+
<component name="GitSEFilterConfiguration">
|
|
27
|
+
<file-type-list>
|
|
28
|
+
<filtered-out-file-type name="LOCAL_BRANCH" />
|
|
29
|
+
<filtered-out-file-type name="REMOTE_BRANCH" />
|
|
30
|
+
<filtered-out-file-type name="TAG" />
|
|
31
|
+
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
|
32
|
+
</file-type-list>
|
|
33
|
+
</component>
|
|
25
34
|
<component name="ProjectId" id="20NIxbej0qfi8RaO3jr1XOU0xol" />
|
|
26
35
|
<component name="ProjectViewState">
|
|
27
36
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
@@ -195,7 +204,16 @@
|
|
|
195
204
|
<workItem from="1638888787940" duration="19894000" />
|
|
196
205
|
<workItem from="1639074912454" duration="257000" />
|
|
197
206
|
<workItem from="1639090037682" duration="2514000" />
|
|
198
|
-
<workItem from="1639135460686" duration="
|
|
207
|
+
<workItem from="1639135460686" duration="3092000" />
|
|
208
|
+
<workItem from="1639151097761" duration="13703000" />
|
|
209
|
+
<workItem from="1639246310204" duration="628000" />
|
|
210
|
+
<workItem from="1639247624979" duration="13040000" />
|
|
211
|
+
<workItem from="1639489940902" duration="18224000" />
|
|
212
|
+
<workItem from="1639591829775" duration="681000" />
|
|
213
|
+
<workItem from="1639592539998" duration="27141000" />
|
|
214
|
+
<workItem from="1639766010908" duration="4991000" />
|
|
215
|
+
<workItem from="1639872937953" duration="1438000" />
|
|
216
|
+
<workItem from="1639954341221" duration="7636000" />
|
|
199
217
|
</task>
|
|
200
218
|
<task id="LOCAL-00001" summary="Fix getStyle">
|
|
201
219
|
<created>1636983717385</created>
|
|
@@ -267,7 +285,35 @@
|
|
|
267
285
|
<option name="project" value="LOCAL" />
|
|
268
286
|
<updated>1639057192382</updated>
|
|
269
287
|
</task>
|
|
270
|
-
<
|
|
288
|
+
<task id="LOCAL-00011" summary="kms report - show every selected day">
|
|
289
|
+
<created>1639139696407</created>
|
|
290
|
+
<option name="number" value="00011" />
|
|
291
|
+
<option name="presentableId" value="LOCAL-00011" />
|
|
292
|
+
<option name="project" value="LOCAL" />
|
|
293
|
+
<updated>1639139696408</updated>
|
|
294
|
+
</task>
|
|
295
|
+
<task id="LOCAL-00012" summary="speeding report with customSpeed">
|
|
296
|
+
<created>1639238286381</created>
|
|
297
|
+
<option name="number" value="00012" />
|
|
298
|
+
<option name="presentableId" value="LOCAL-00012" />
|
|
299
|
+
<option name="project" value="LOCAL" />
|
|
300
|
+
<updated>1639238286382</updated>
|
|
301
|
+
</task>
|
|
302
|
+
<task id="LOCAL-00013" summary="fix speeding report">
|
|
303
|
+
<created>1639248407781</created>
|
|
304
|
+
<option name="number" value="00013" />
|
|
305
|
+
<option name="presentableId" value="LOCAL-00013" />
|
|
306
|
+
<option name="project" value="LOCAL" />
|
|
307
|
+
<updated>1639248407782</updated>
|
|
308
|
+
</task>
|
|
309
|
+
<task id="LOCAL-00014" summary="Trip and activity report with time period">
|
|
310
|
+
<created>1639873766070</created>
|
|
311
|
+
<option name="number" value="00014" />
|
|
312
|
+
<option name="presentableId" value="LOCAL-00014" />
|
|
313
|
+
<option name="project" value="LOCAL" />
|
|
314
|
+
<updated>1639873766072</updated>
|
|
315
|
+
</task>
|
|
316
|
+
<option name="localTasksCounter" value="15" />
|
|
271
317
|
<servers />
|
|
272
318
|
</component>
|
|
273
319
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -293,9 +339,12 @@
|
|
|
293
339
|
<MESSAGE value="Fix pdf logo" />
|
|
294
340
|
<MESSAGE value="kms report with parallel requests" />
|
|
295
341
|
<MESSAGE value="Kms Report - Calculate distance with traccar trips" />
|
|
296
|
-
<MESSAGE value="fix speeding report" />
|
|
297
342
|
<MESSAGE value="refactor speeding and trip report" />
|
|
298
343
|
<MESSAGE value="Kms report with time period" />
|
|
299
|
-
<
|
|
344
|
+
<MESSAGE value="kms report - show every selected day" />
|
|
345
|
+
<MESSAGE value="speeding report with customSpeed" />
|
|
346
|
+
<MESSAGE value="fix speeding report" />
|
|
347
|
+
<MESSAGE value="Trip and activity report with time period" />
|
|
348
|
+
<option name="LAST_COMMIT_MESSAGE" value="Trip and activity report with time period" />
|
|
300
349
|
</component>
|
|
301
350
|
</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".',
|