@c8y/ngx-components 1021.77.2 → 1021.78.5
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/bookmarks/bookmarks.component.d.ts +4 -6
- package/bookmarks/bookmarks.component.d.ts.map +1 -1
- package/branding/shared/shared-branding.module.d.ts.map +1 -1
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -1
- package/echart/charts.component.d.ts.map +1 -1
- package/echart/models/datapoints-graph-widget.model.d.ts +2 -0
- package/echart/models/datapoints-graph-widget.model.d.ts.map +1 -1
- package/echart/services/echarts-options.service.d.ts.map +1 -1
- package/esm2022/bookmarks/bookmarks.component.mjs +15 -18
- package/esm2022/branding/shared/shared-branding.module.mjs +7 -2
- package/esm2022/datapoint-explorer/view/datapoint-explorer.component.mjs +6 -5
- package/esm2022/echart/charts.component.mjs +5 -3
- package/esm2022/echart/models/datapoints-graph-widget.model.mjs +1 -1
- package/esm2022/echart/services/echarts-options.service.mjs +5 -5
- package/esm2022/messaging-management/messaging-management-preview.factory.mjs +33 -0
- package/esm2022/messaging-management/messaging-management.module.mjs +5 -18
- package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.mjs +5 -4
- package/fesm2022/c8y-ngx-components-bookmarks.mjs +13 -14
- package/fesm2022/c8y-ngx-components-bookmarks.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared.mjs +6 -1
- package/fesm2022/c8y-ngx-components-branding-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +5 -4
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart-models.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +8 -6
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-messaging-management.mjs +31 -16
- package/fesm2022/c8y-ngx-components-messaging-management.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +4 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/messaging-management/messaging-management-preview.factory.d.ts +16 -0
- package/messaging-management/messaging-management-preview.factory.d.ts.map +1 -0
- package/messaging-management/messaging-management.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts.map +1 -1
|
@@ -1155,6 +1155,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1155
1155
|
type: Injectable
|
|
1156
1156
|
}], ctorParameters: () => [{ type: i1$3.Router }] });
|
|
1157
1157
|
|
|
1158
|
+
class MessagingManagementPreviewFactory {
|
|
1159
|
+
constructor() {
|
|
1160
|
+
this.applicationService = inject(ApplicationService);
|
|
1161
|
+
}
|
|
1162
|
+
async get() {
|
|
1163
|
+
const microserviceSubscribed = await this.applicationService
|
|
1164
|
+
.isAvailable(MESSAGING_MANAGEMENT_MICROSERVICE_NAME)
|
|
1165
|
+
.then(({ data: subscribed }) => subscribed)
|
|
1166
|
+
.catch(() => false);
|
|
1167
|
+
if (!microserviceSubscribed) {
|
|
1168
|
+
return null;
|
|
1169
|
+
}
|
|
1170
|
+
return {
|
|
1171
|
+
key: MESSAGING_MANAGEMENT_FEATURE_KEY,
|
|
1172
|
+
label: 'Messaging service - monitoring & management',
|
|
1173
|
+
description: () => import('@c8y/style/markdown-files/messaging-management-preview.md').then(m => m.default),
|
|
1174
|
+
settings: {
|
|
1175
|
+
reload: true
|
|
1176
|
+
}
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MessagingManagementPreviewFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1180
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MessagingManagementPreviewFactory, providedIn: 'root' }); }
|
|
1181
|
+
}
|
|
1182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MessagingManagementPreviewFactory, decorators: [{
|
|
1183
|
+
type: Injectable,
|
|
1184
|
+
args: [{ providedIn: 'root' }]
|
|
1185
|
+
}] });
|
|
1186
|
+
|
|
1158
1187
|
class MessagingManagementModule {
|
|
1159
1188
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MessagingManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1160
1189
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: MessagingManagementModule }); }
|
|
@@ -1183,14 +1212,7 @@ class MessagingManagementModule {
|
|
|
1183
1212
|
]),
|
|
1184
1213
|
hookTab(TopicDetailsTabFactory),
|
|
1185
1214
|
hookNavigator(MessagingNavigatorNodeFactory),
|
|
1186
|
-
hookPreview(
|
|
1187
|
-
key: MESSAGING_MANAGEMENT_FEATURE_KEY,
|
|
1188
|
-
label: 'Messaging service - monitoring & management',
|
|
1189
|
-
description: () => import('@c8y/style/markdown-files/messaging-management-preview.md').then(m => m.default),
|
|
1190
|
-
settings: {
|
|
1191
|
-
reload: true
|
|
1192
|
-
}
|
|
1193
|
-
})
|
|
1215
|
+
hookPreview(MessagingManagementPreviewFactory)
|
|
1194
1216
|
] }); }
|
|
1195
1217
|
}
|
|
1196
1218
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MessagingManagementModule, decorators: [{
|
|
@@ -1221,14 +1243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1221
1243
|
]),
|
|
1222
1244
|
hookTab(TopicDetailsTabFactory),
|
|
1223
1245
|
hookNavigator(MessagingNavigatorNodeFactory),
|
|
1224
|
-
hookPreview(
|
|
1225
|
-
key: MESSAGING_MANAGEMENT_FEATURE_KEY,
|
|
1226
|
-
label: 'Messaging service - monitoring & management',
|
|
1227
|
-
description: () => import('@c8y/style/markdown-files/messaging-management-preview.md').then(m => m.default),
|
|
1228
|
-
settings: {
|
|
1229
|
-
reload: true
|
|
1230
|
-
}
|
|
1231
|
-
})
|
|
1246
|
+
hookPreview(MessagingManagementPreviewFactory)
|
|
1232
1247
|
]
|
|
1233
1248
|
}]
|
|
1234
1249
|
}] });
|