@dative-gpi/foundation-core-components 1.0.141 → 1.0.142-alert-filter-chart
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/components/explorers/FSBaseDevicesExplorer.vue +1 -1
- package/components/lists/alerts/FSBaseAlertsList.vue +6 -16
- package/components/lists/chartOrganisationTypes/FSBaseChartOrganisationTypesList.vue +3 -2
- package/components/lists/chartOrganisations/FSBaseChartOrganisationsList.vue +3 -2
- package/components/lists/charts/FSBaseChartsList.vue +2 -2
- package/components/lists/deviceOrganisations/FSBaseDeviceOrganisationsList.vue +1 -1
- package/components/lists/groups/FSBaseGroupsList.vue +1 -1
- package/components/lists/roleOrganisationTypes/FSBaseRoleOrganisationTypesList.vue +1 -1
- package/components/lists/roleOrganisations/FSBaseRoleOrganisationsList.vue +1 -1
- package/components/lists/scenarioOrganisationTypes/FSBaseScenarioOrganisationTypesList.vue +1 -1
- package/components/lists/scenarioOrganisations/FSBaseScenarioOrganisationsList.vue +1 -1
- package/components/lists/serviceAccountOrganisations/FSBaseServiceAccountOrganisationsList.vue +1 -1
- package/components/lists/serviceAccountRoleOrganisations/FSBaseServiceAccountRoleOrganisationsList.vue +1 -1
- package/components/lists/userOrganisations/FSBaseUserOrganisationsList.vue +1 -1
- package/package.json +7 -7
|
@@ -316,23 +316,13 @@ export default defineComponent({
|
|
|
316
316
|
});
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
watch(() =>
|
|
319
|
+
watch([() => props.alertFilters, () => props.notAcknowledged, () => props.hidePending], (next, previous) => {
|
|
320
320
|
if (!_.isEqual(next, previous)) {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
});
|
|
327
|
-
}
|
|
328
|
-
else{
|
|
329
|
-
getManyAlerts({
|
|
330
|
-
...props.alertFilters,
|
|
331
|
-
statuses: props.hidePending ?
|
|
332
|
-
[AlertStatus.Unresolved, AlertStatus.Resolved, AlertStatus.Triggered] : props.alertFilters?.statuses
|
|
333
|
-
}); // TODO, gérer les conditions pour que les alertes s'affichent ici notamment lorsqu'elles sont acquittées
|
|
334
|
-
// la FilterFactory gère pas ces conditions correctement
|
|
335
|
-
}
|
|
321
|
+
getManyAlerts({
|
|
322
|
+
...props.alertFilters,
|
|
323
|
+
acknowledged: props.notAcknowledged ? false : undefined,
|
|
324
|
+
statuses: props.hidePending ? [AlertStatus.Unresolved, AlertStatus.Triggered, AlertStatus.Resolved, AlertStatus.Untriggered, AlertStatus.Abandoned] : undefined
|
|
325
|
+
});
|
|
336
326
|
}
|
|
337
327
|
}, { immediate: true });
|
|
338
328
|
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
>
|
|
52
52
|
<FSTagGroup
|
|
53
53
|
variant="slide"
|
|
54
|
-
:disabled="true"
|
|
55
54
|
:tags="item.tags"
|
|
55
|
+
:showRemove="false"
|
|
56
56
|
/>
|
|
57
57
|
</template>
|
|
58
58
|
<template
|
|
@@ -73,8 +73,9 @@
|
|
|
73
73
|
#item.modelsLabels="{ item }"
|
|
74
74
|
>
|
|
75
75
|
<FSTagGroup
|
|
76
|
-
|
|
76
|
+
variant="slide"
|
|
77
77
|
:tags="item.modelsLabels.map((d: any) => d.label)"
|
|
78
|
+
:showRemove="false"
|
|
78
79
|
/>
|
|
79
80
|
</template>
|
|
80
81
|
<template
|
|
@@ -51,16 +51,17 @@
|
|
|
51
51
|
>
|
|
52
52
|
<FSTagGroup
|
|
53
53
|
variant="slide"
|
|
54
|
-
:disabled="true"
|
|
55
54
|
:tags="item.tags"
|
|
55
|
+
:showRemove="false"
|
|
56
56
|
/>
|
|
57
57
|
</template>
|
|
58
58
|
<template
|
|
59
59
|
#item.modelsLabels="{ item }"
|
|
60
60
|
>
|
|
61
61
|
<FSTagGroup
|
|
62
|
-
|
|
62
|
+
variant="slide"
|
|
63
63
|
:tags="item.modelsLabels.map((d: any) => d.label)"
|
|
64
|
+
:showRemove="false"
|
|
64
65
|
/>
|
|
65
66
|
</template>
|
|
66
67
|
<template
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
>
|
|
51
51
|
<FSTagGroup
|
|
52
52
|
variant="slide"
|
|
53
|
-
:
|
|
53
|
+
:showRemove="false"
|
|
54
54
|
:tags="item.tags"
|
|
55
55
|
/>
|
|
56
56
|
</template>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
#item.modelsLabels="{ item }"
|
|
73
73
|
>
|
|
74
74
|
<FSTagGroup
|
|
75
|
-
:
|
|
75
|
+
:showRemove="false"
|
|
76
76
|
:tags="item.modelsLabels.map((d: any) => d.label)"
|
|
77
77
|
/>
|
|
78
78
|
</template>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.142-alert-filter-chart",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-core-domain": "1.0.
|
|
14
|
-
"@dative-gpi/foundation-core-services": "1.0.
|
|
15
|
-
"@dative-gpi/foundation-shared-components": "1.0.
|
|
16
|
-
"@dative-gpi/foundation-shared-domain": "1.0.
|
|
17
|
-
"@dative-gpi/foundation-shared-services": "1.0.
|
|
13
|
+
"@dative-gpi/foundation-core-domain": "1.0.142-alert-filter-chart",
|
|
14
|
+
"@dative-gpi/foundation-core-services": "1.0.142-alert-filter-chart",
|
|
15
|
+
"@dative-gpi/foundation-shared-components": "1.0.142-alert-filter-chart",
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "1.0.142-alert-filter-chart",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "1.0.142-alert-filter-chart"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"sass": "1.71.1",
|
|
27
27
|
"sass-loader": "13.3.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "736eafad511c2f355e23f419e1967490f27bae96"
|
|
30
30
|
}
|