@dative-gpi/foundation-core-components 1.0.141 → 1.0.142-alert-filter
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.
|
@@ -318,21 +318,11 @@ export default defineComponent({
|
|
|
318
318
|
|
|
319
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
|
|
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",
|
|
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",
|
|
14
|
+
"@dative-gpi/foundation-core-services": "1.0.142-alert-filter",
|
|
15
|
+
"@dative-gpi/foundation-shared-components": "1.0.142-alert-filter",
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "1.0.142-alert-filter",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "1.0.142-alert-filter"
|
|
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": "fc7d2bb3d95be32c651fb346d41ab9c662558489"
|
|
30
30
|
}
|