fleetmap-reports 1.0.248 → 1.0.252
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 +64 -5
- 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 +150 -95
- package/src/speeding-report.js +110 -45
- package/src/trip-report.js +58 -34
- package/src/util/traccar.js +14 -0
- package/src/util/utils.js +16 -0
package/.idea/workspace.xml
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
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 speeding report">
|
|
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" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/src/activity-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/activity-report.js" afterDir="false" />
|
|
6
12
|
<change beforePath="$PROJECT_DIR$/src/index.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.test.js" afterDir="false" />
|
|
7
13
|
<change beforePath="$PROJECT_DIR$/src/kms-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/kms-report.js" afterDir="false" />
|
|
14
|
+
<change beforePath="$PROJECT_DIR$/src/speeding-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/speeding-report.js" afterDir="false" />
|
|
15
|
+
<change beforePath="$PROJECT_DIR$/src/trip-report.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/trip-report.js" afterDir="false" />
|
|
16
|
+
<change beforePath="$PROJECT_DIR$/src/util/traccar.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/util/traccar.js" afterDir="false" />
|
|
8
17
|
<change beforePath="$PROJECT_DIR$/src/util/utils.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/util/utils.js" afterDir="false" />
|
|
9
18
|
</list>
|
|
10
19
|
<option name="SHOW_DIALOG" value="false" />
|
|
@@ -22,6 +31,14 @@
|
|
|
22
31
|
<component name="Git.Settings">
|
|
23
32
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
24
33
|
</component>
|
|
34
|
+
<component name="GitSEFilterConfiguration">
|
|
35
|
+
<file-type-list>
|
|
36
|
+
<filtered-out-file-type name="LOCAL_BRANCH" />
|
|
37
|
+
<filtered-out-file-type name="REMOTE_BRANCH" />
|
|
38
|
+
<filtered-out-file-type name="TAG" />
|
|
39
|
+
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
|
40
|
+
</file-type-list>
|
|
41
|
+
</component>
|
|
25
42
|
<component name="ProjectId" id="20NIxbej0qfi8RaO3jr1XOU0xol" />
|
|
26
43
|
<component name="ProjectViewState">
|
|
27
44
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
@@ -192,7 +209,18 @@
|
|
|
192
209
|
<workItem from="1638792860278" duration="2140000" />
|
|
193
210
|
<workItem from="1638839462028" duration="50000" />
|
|
194
211
|
<workItem from="1638840110567" duration="597000" />
|
|
195
|
-
<workItem from="1638888787940" duration="
|
|
212
|
+
<workItem from="1638888787940" duration="19894000" />
|
|
213
|
+
<workItem from="1639074912454" duration="257000" />
|
|
214
|
+
<workItem from="1639090037682" duration="2514000" />
|
|
215
|
+
<workItem from="1639135460686" duration="3092000" />
|
|
216
|
+
<workItem from="1639151097761" duration="13703000" />
|
|
217
|
+
<workItem from="1639246310204" duration="628000" />
|
|
218
|
+
<workItem from="1639247624979" duration="13040000" />
|
|
219
|
+
<workItem from="1639489940902" duration="18224000" />
|
|
220
|
+
<workItem from="1639591829775" duration="681000" />
|
|
221
|
+
<workItem from="1639592539998" duration="27141000" />
|
|
222
|
+
<workItem from="1639766010908" duration="4991000" />
|
|
223
|
+
<workItem from="1639872937953" duration="466000" />
|
|
196
224
|
</task>
|
|
197
225
|
<task id="LOCAL-00001" summary="Fix getStyle">
|
|
198
226
|
<created>1636983717385</created>
|
|
@@ -257,7 +285,35 @@
|
|
|
257
285
|
<option name="project" value="LOCAL" />
|
|
258
286
|
<updated>1638288337135</updated>
|
|
259
287
|
</task>
|
|
260
|
-
<
|
|
288
|
+
<task id="LOCAL-00010" summary="Kms report with time period">
|
|
289
|
+
<created>1639057192380</created>
|
|
290
|
+
<option name="number" value="00010" />
|
|
291
|
+
<option name="presentableId" value="LOCAL-00010" />
|
|
292
|
+
<option name="project" value="LOCAL" />
|
|
293
|
+
<updated>1639057192382</updated>
|
|
294
|
+
</task>
|
|
295
|
+
<task id="LOCAL-00011" summary="kms report - show every selected day">
|
|
296
|
+
<created>1639139696407</created>
|
|
297
|
+
<option name="number" value="00011" />
|
|
298
|
+
<option name="presentableId" value="LOCAL-00011" />
|
|
299
|
+
<option name="project" value="LOCAL" />
|
|
300
|
+
<updated>1639139696408</updated>
|
|
301
|
+
</task>
|
|
302
|
+
<task id="LOCAL-00012" summary="speeding report with customSpeed">
|
|
303
|
+
<created>1639238286381</created>
|
|
304
|
+
<option name="number" value="00012" />
|
|
305
|
+
<option name="presentableId" value="LOCAL-00012" />
|
|
306
|
+
<option name="project" value="LOCAL" />
|
|
307
|
+
<updated>1639238286382</updated>
|
|
308
|
+
</task>
|
|
309
|
+
<task id="LOCAL-00013" summary="fix speeding report">
|
|
310
|
+
<created>1639248407781</created>
|
|
311
|
+
<option name="number" value="00013" />
|
|
312
|
+
<option name="presentableId" value="LOCAL-00013" />
|
|
313
|
+
<option name="project" value="LOCAL" />
|
|
314
|
+
<updated>1639248407782</updated>
|
|
315
|
+
</task>
|
|
316
|
+
<option name="localTasksCounter" value="14" />
|
|
261
317
|
<servers />
|
|
262
318
|
</component>
|
|
263
319
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -283,8 +339,11 @@
|
|
|
283
339
|
<MESSAGE value="Fix pdf logo" />
|
|
284
340
|
<MESSAGE value="kms report with parallel requests" />
|
|
285
341
|
<MESSAGE value="Kms Report - Calculate distance with traccar trips" />
|
|
286
|
-
<MESSAGE value="fix speeding report" />
|
|
287
342
|
<MESSAGE value="refactor speeding and trip report" />
|
|
288
|
-
<
|
|
343
|
+
<MESSAGE value="Kms report with time period" />
|
|
344
|
+
<MESSAGE value="kms report - show every selected day" />
|
|
345
|
+
<MESSAGE value="speeding report with customSpeed" />
|
|
346
|
+
<MESSAGE value="fix speeding report" />
|
|
347
|
+
<option name="LAST_COMMIT_MESSAGE" value="fix speeding report" />
|
|
289
348
|
</component>
|
|
290
349
|
</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".',
|