@kalisio/kdk 2.3.0 → 2.3.1
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/core/client/components/collection/KCardSection.vue +3 -2
- package/core/client/components/form/KForm.vue +1 -1
- package/core/client/components/time/KRelativeTimeRanges.vue +15 -0
- package/core/client/i18n/core_en.json +3 -0
- package/core/client/i18n/core_fr.json +7 -4
- package/package.json +2 -2
- package/test/api/core/test-log-2024-06-28.log +2 -0
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<!--
|
|
5
5
|
Header section
|
|
6
6
|
-->
|
|
7
|
-
<div v-if="!hideHeader" class="row full-width items-center" style="min-height: 30px">
|
|
8
|
-
<span class="text-grey-7 text-body-2">
|
|
7
|
+
<div v-if="!hideHeader" class="row full-width items-center no-wrap" style="min-height: 30px">
|
|
8
|
+
<span class="text-grey-7 text-body-2 ellipsis">
|
|
9
9
|
{{ title }}
|
|
10
10
|
</span>
|
|
11
11
|
<q-space />
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
v-if="actions"
|
|
14
14
|
:content="actions"
|
|
15
15
|
:context="context"
|
|
16
|
+
class="no-wrap"
|
|
16
17
|
/>
|
|
17
18
|
</div>
|
|
18
19
|
<!--
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
Grouped fields
|
|
24
24
|
-->
|
|
25
25
|
<template v-for="(group, id) in groups" :key="id">
|
|
26
|
-
<q-expansion-item v-show="group.hasFields" icon="las la-file-alt" :group="id">
|
|
26
|
+
<q-expansion-item v-show="group.hasFields" icon="las la-file-alt" :group="id" :id="id">
|
|
27
27
|
<template v-slot:header>
|
|
28
28
|
<!-- Label -->
|
|
29
29
|
<q-item-section>
|
|
@@ -186,6 +186,21 @@ export default {
|
|
|
186
186
|
id: 'next-year',
|
|
187
187
|
label: 'KRelativeTimeRanges.NEXT_YEAR_LABEL',
|
|
188
188
|
handler: () => this.rangeTriggered(moment.duration(1, 'years'))
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: 'last-2-years',
|
|
192
|
+
label: 'KRelativeTimeRanges.LAST_2_YEARS_LABEL',
|
|
193
|
+
handler: () => this.rangeTriggered(moment.duration(-2, 'years'))
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
id: 'last-3-years',
|
|
197
|
+
label: 'KRelativeTimeRanges.LAST_3_YEARS_LABEL',
|
|
198
|
+
handler: () => this.rangeTriggered(moment.duration(-3, 'years'))
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
id: 'last-5-years',
|
|
202
|
+
label: 'KRelativeTimeRanges.LAST_5_YEARS_LABEL',
|
|
203
|
+
handler: () => this.rangeTriggered(moment.duration(-5, 'years'))
|
|
189
204
|
}
|
|
190
205
|
]
|
|
191
206
|
}
|
|
@@ -869,6 +869,9 @@
|
|
|
869
869
|
"LAST_3_MONTHS_LABEL": "Last 3 months",
|
|
870
870
|
"LAST_6_MONTHS_LABEL": "Last 6 months",
|
|
871
871
|
"LAST_YEAR_LABEL": "Last year",
|
|
872
|
+
"LAST_2_YEARS_LABEL": "Last 2 years",
|
|
873
|
+
"LAST_3_YEARS_LABEL": "Last 3 years",
|
|
874
|
+
"LAST_5_YEARS_LABEL": "Last 5 years",
|
|
872
875
|
"NEXT_HOUR_LABEL": "Next hour",
|
|
873
876
|
"NEXT_2_HOURS_LABEL": "Next 2 hours",
|
|
874
877
|
"NEXT_3_HOURS_LABEL": "Next 3 hours",
|
|
@@ -855,10 +855,10 @@
|
|
|
855
855
|
},
|
|
856
856
|
"KRelativeTimeRanges": {
|
|
857
857
|
"LAST_HOUR_LABEL": "Dernière heure",
|
|
858
|
-
"LAST_2_HOURS_LABEL": "
|
|
859
|
-
"LAST_3_HOURS_LABEL": "
|
|
860
|
-
"LAST_6_HOURS_LABEL": "
|
|
861
|
-
"LAST_12_HOURS_LABEL": "
|
|
858
|
+
"LAST_2_HOURS_LABEL": "2 dernières heures",
|
|
859
|
+
"LAST_3_HOURS_LABEL": "3 dernières heures",
|
|
860
|
+
"LAST_6_HOURS_LABEL": "6 dernières heures",
|
|
861
|
+
"LAST_12_HOURS_LABEL": "12 dernières heures",
|
|
862
862
|
"LAST_DAY_LABEL": "Dernier jour",
|
|
863
863
|
"LAST_2_DAYS_LABEL": "2 derniers jours",
|
|
864
864
|
"LAST_3_DAYS_LABEL": "3 derniers jours",
|
|
@@ -868,6 +868,9 @@
|
|
|
868
868
|
"LAST_3_MONTHS_LABEL": "3 derniers mois",
|
|
869
869
|
"LAST_6_MONTHS_LABEL": "6 derniers mois",
|
|
870
870
|
"LAST_YEAR_LABEL": "Dernière année",
|
|
871
|
+
"LAST_2_YEARS_LABEL": "2 dernières années",
|
|
872
|
+
"LAST_3_YEARS_LABEL": "3 dernières années",
|
|
873
|
+
"LAST_5_YEARS_LABEL": "5 dernières années",
|
|
871
874
|
"NEXT_HOUR_LABEL": "Prochaine heure",
|
|
872
875
|
"NEXT_2_HOURS_LABEL": "Prochaines 2 heures",
|
|
873
876
|
"NEXT_3_HOURS_LABEL": "Prochaines 3 heures",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kalisio/kdk",
|
|
3
3
|
"description": "Kalisio Development Kit",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.1",
|
|
5
5
|
"homepage": "https://github.com/kalisio/kdk",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": [
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@feathersjs/feathers": "^5.0.8",
|
|
91
91
|
"@feathersjs/schema": "^5.0.8",
|
|
92
92
|
"@feathersjs/socketio": "^5.0.8",
|
|
93
|
-
"@kalisio/feathers-import-export": "^1.
|
|
93
|
+
"@kalisio/feathers-import-export": "^1.2.0",
|
|
94
94
|
"@kalisio/feathers-s3": "^1.4.0",
|
|
95
95
|
"@kalisio/feathers-webpush": "^1.0.1",
|
|
96
96
|
"@turf/bbox": "^6.0.1",
|