@c8y/ngx-components 1017.0.228 → 1017.0.229
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/esm2020/core/dynamic-component/dynamic-component-alert-aggregator.mjs +2 -2
- package/fesm2015/c8y-ngx-components.mjs +1 -2
- package/fesm2015/c8y-ngx-components.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components.mjs +1 -2
- package/fesm2020/c8y-ngx-components.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -52,7 +52,6 @@ import { FieldArrayType, FieldType, FieldWrapper, FormlyModule, FORMLY_CONFIG,
|
|
|
52
52
|
import * as i5$2 from '@ngx-formly/core/select';
|
|
53
53
|
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
54
54
|
import { FormlyJsonschema } from '@ngx-formly/core/json-schema';
|
|
55
|
-
import { BehaviorSubject as BehaviorSubject$1 } from 'rxjs/internal/BehaviorSubject';
|
|
56
55
|
import * as i5$3 from '@angular/cdk/drag-drop';
|
|
57
56
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
58
57
|
import * as i7 from '@angular/cdk/table';
|
|
@@ -21670,7 +21669,7 @@ var DismissAlertStrategy;
|
|
|
21670
21669
|
const WIDGET_ALERTS_ORDER = ['danger', 'warning', 'info'];
|
|
21671
21670
|
class DynamicComponentAlertAggregator {
|
|
21672
21671
|
constructor(alerts = []) {
|
|
21673
|
-
this.anyAlertExistsSubject = new BehaviorSubject
|
|
21672
|
+
this.anyAlertExistsSubject = new BehaviorSubject(false);
|
|
21674
21673
|
this.anyAlertExists$ = this.anyAlertExistsSubject.asObservable();
|
|
21675
21674
|
this.initAlertsGroups();
|
|
21676
21675
|
this.setAlerts(alerts);
|