@c8y/ngx-components 1023.30.0 → 1023.42.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/alarms/cockpit/index.d.ts.map +1 -1
- package/alarms/devicemanagement/index.d.ts.map +1 -1
- package/alarms/index.d.ts +25 -2
- package/alarms/index.d.ts.map +1 -1
- package/asset-properties/index.d.ts +20 -2
- package/asset-properties/index.d.ts.map +1 -1
- package/bookmarks/index.d.ts +15 -7
- package/bookmarks/index.d.ts.map +1 -1
- package/context-dashboard/index.d.ts.map +1 -1
- package/datapoint-explorer/view/index.d.ts +2 -0
- package/datapoint-explorer/view/index.d.ts.map +1 -1
- package/device-grid/index.d.ts.map +1 -1
- package/echart/index.d.ts +19 -3
- package/echart/index.d.ts.map +1 -1
- package/feature-toggles/index.d.ts +6 -0
- package/feature-toggles/index.d.ts.map +1 -0
- package/feature-toggles/list/index.d.ts +63 -0
- package/feature-toggles/list/index.d.ts.map +1 -0
- package/fesm2022/c8y-ngx-components-alarms-cockpit.mjs +6 -11
- package/fesm2022/c8y-ngx-components-alarms-cockpit.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms-devicemanagement.mjs +37 -11
- package/fesm2022/c8y-ngx-components-alarms-devicemanagement.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +58 -10
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-asset-properties.mjs +36 -12
- package/fesm2022/c8y-ngx-components-asset-properties.mjs.map +1 -1
- package/fesm2022/{c8y-ngx-components-asset-property-grid.component-B04ixTyA.mjs → c8y-ngx-components-asset-property-grid.component-BoVrIpap.mjs} +5 -12
- package/fesm2022/c8y-ngx-components-asset-property-grid.component-BoVrIpap.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-bookmarks.mjs +86 -39
- package/fesm2022/c8y-ngx-components-bookmarks.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs +2 -2
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +3 -2
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +21 -36
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-grid.mjs +5 -2
- package/fesm2022/c8y-ngx-components-device-grid.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +101 -42
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-plugin-setup-stepper.mjs +3 -3
- package/fesm2022/c8y-ngx-components-ecosystem-plugin-setup-stepper.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-feature-toggles-list.mjs +242 -0
- package/fesm2022/c8y-ngx-components-feature-toggles-list.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-feature-toggles.mjs +36 -0
- package/fesm2022/c8y-ngx-components-feature-toggles.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-global-context.mjs +60 -17
- package/fesm2022/c8y-ngx-components-global-context.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-map.mjs +127 -33
- package/fesm2022/c8y-ngx-components-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-tenants.mjs +2 -2
- package/fesm2022/c8y-ngx-components-tenants.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +7 -3
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs +19 -0
- package/fesm2022/c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-upgrade.mjs +46 -4
- package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-pie-chart.mjs +30 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-pie-chart.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions.mjs +2 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-exports.mjs +8 -1
- package/fesm2022/c8y-ngx-components-widgets-exports.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +5 -5
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs +4 -4
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs +4 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs +18 -11
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-markdown.mjs +156 -67
- package/fesm2022/c8y-ngx-components-widgets-implementations-markdown.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-pie-chart.mjs +366 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-pie-chart.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-widgets-widget-providers.mjs +5 -2
- package/fesm2022/c8y-ngx-components-widgets-widget-providers.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +44 -15
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/global-context/index.d.ts +23 -4
- package/global-context/index.d.ts.map +1 -1
- package/index.d.ts +11 -1
- package/index.d.ts.map +1 -1
- package/locales/de.po +261 -143
- package/locales/es.po +155 -53
- package/locales/fr.po +299 -193
- package/locales/ja_JP.po +346 -252
- package/locales/ko.po +154 -54
- package/locales/locales.pot +142 -41
- package/locales/nl.po +156 -54
- package/locales/pl.po +155 -53
- package/locales/pt_BR.po +154 -54
- package/locales/zh_CN.po +155 -53
- package/locales/zh_TW.po +156 -54
- package/map/index.d.ts +41 -10
- package/map/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/trusted-certificates/index.d.ts +2 -0
- package/trusted-certificates/index.d.ts.map +1 -1
- package/upgrade/index.d.ts.map +1 -1
- package/widgets/cockpit-exports/index.d.ts +6 -0
- package/widgets/cockpit-exports/index.d.ts.map +1 -1
- package/widgets/definitions/index.d.ts +1 -0
- package/widgets/definitions/index.d.ts.map +1 -1
- package/widgets/definitions/pie-chart/index.d.ts +25 -0
- package/widgets/definitions/pie-chart/index.d.ts.map +1 -0
- package/widgets/device-management-exports/index.d.ts +6 -0
- package/widgets/device-management-exports/index.d.ts.map +1 -1
- package/widgets/exports/index.d.ts +8 -1
- package/widgets/exports/index.d.ts.map +1 -1
- package/widgets/implementations/html-widget/index.d.ts +2 -2
- package/widgets/implementations/html-widget/index.d.ts.map +1 -1
- package/widgets/implementations/map/index.d.ts +1 -0
- package/widgets/implementations/map/index.d.ts.map +1 -1
- package/widgets/implementations/markdown/index.d.ts +52 -18
- package/widgets/implementations/markdown/index.d.ts.map +1 -1
- package/widgets/implementations/pie-chart/index.d.ts +129 -0
- package/widgets/implementations/pie-chart/index.d.ts.map +1 -0
- package/widgets/widget-providers/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-asset-property-grid.component-B04ixTyA.mjs.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { RouterLink } from '@angular/router';
|
|
4
|
+
import { EmptyStateComponent, TitleComponent, C8yTranslatePipe } from '@c8y/ngx-components';
|
|
5
|
+
|
|
6
|
+
class NotFoundComponent {
|
|
7
|
+
back() {
|
|
8
|
+
window.history.back();
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: NotFoundComponent, isStandalone: true, selector: "c8y-not-found", ngImport: i0, template: "<c8y-title>\n {{ 'Page not found' | translate }}\n</c8y-title>\n\n<c8y-ui-empty-state\n icon=\"question-circle\"\n [title]=\"'Page not found' | translate\"\n>\n {{\n 'The page you are looking for does not exist or you do not have permission to access it.'\n | translate\n }}\n\n <button\n class=\"btn btn-default m-t-16\"\n (click)=\"back()\"\n >\n {{ 'Go back' | translate }}\n </button>\n\n <button\n class=\"btn btn-primary m-t-16\"\n routerLink=\"/\"\n >\n {{ 'Go to start page' | translate }}\n </button>\n</c8y-ui-empty-state>\n", dependencies: [{ kind: "component", type: EmptyStateComponent, selector: "c8y-ui-empty-state", inputs: ["icon", "title", "subtitle", "horizontal"] }, { kind: "component", type: TitleComponent, selector: "c8y-title", inputs: ["pageTitleUpdate"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }] }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NotFoundComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: 'c8y-not-found', standalone: true, imports: [EmptyStateComponent, C8yTranslatePipe, TitleComponent, RouterLink], template: "<c8y-title>\n {{ 'Page not found' | translate }}\n</c8y-title>\n\n<c8y-ui-empty-state\n icon=\"question-circle\"\n [title]=\"'Page not found' | translate\"\n>\n {{\n 'The page you are looking for does not exist or you do not have permission to access it.'\n | translate\n }}\n\n <button\n class=\"btn btn-default m-t-16\"\n (click)=\"back()\"\n >\n {{ 'Go back' | translate }}\n </button>\n\n <button\n class=\"btn btn-primary m-t-16\"\n routerLink=\"/\"\n >\n {{ 'Go to start page' | translate }}\n </button>\n</c8y-ui-empty-state>\n" }]
|
|
16
|
+
}] });
|
|
17
|
+
|
|
18
|
+
export { NotFoundComponent };
|
|
19
|
+
//# sourceMappingURL=c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs","sources":["../../upgrade/not-found/not-found.component.ts","../../upgrade/not-found/not-found.component.html"],"sourcesContent":["import { Component } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { C8yTranslatePipe, EmptyStateComponent, TitleComponent } from '@c8y/ngx-components';\n\n@Component({\n selector: 'c8y-not-found',\n templateUrl: './not-found.component.html',\n standalone: true,\n imports: [EmptyStateComponent, C8yTranslatePipe, TitleComponent, RouterLink]\n})\nexport class NotFoundComponent {\n back() {\n window.history.back();\n }\n}\n","<c8y-title>\n {{ 'Page not found' | translate }}\n</c8y-title>\n\n<c8y-ui-empty-state\n icon=\"question-circle\"\n [title]=\"'Page not found' | translate\"\n>\n {{\n 'The page you are looking for does not exist or you do not have permission to access it.'\n | translate\n }}\n\n <button\n class=\"btn btn-default m-t-16\"\n (click)=\"back()\"\n >\n {{ 'Go back' | translate }}\n </button>\n\n <button\n class=\"btn btn-primary m-t-16\"\n routerLink=\"/\"\n >\n {{ 'Go to start page' | translate }}\n </button>\n</c8y-ui-empty-state>\n"],"names":[],"mappings":";;;;;MAUa,iBAAiB,CAAA;IAC5B,IAAI,GAAA;AACF,QAAA,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE;IACvB;+GAHW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECV9B,6jBA2BA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDnBY,mBAAmB,oHAAoB,cAAc,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,UAAU,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,aAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,OAAA,EAAA,MAAA,EAAA,YAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAA5C,gBAAgB,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAEpC,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;+BACE,eAAe,EAAA,UAAA,EAEb,IAAI,EAAA,OAAA,EACP,CAAC,mBAAmB,EAAE,gBAAgB,EAAE,cAAc,EAAE,UAAU,CAAC,EAAA,QAAA,EAAA,6jBAAA,EAAA;;;;;"}
|
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { NgZone, Injectable, NgModule, Inject, inject, Optional, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { setAngularJSGlobal, downgradeComponent, downgradeInjectable } from '@angular/upgrade/static';
|
|
4
4
|
import * as i1 from '@c8y/ngx-components';
|
|
5
|
-
import { DatePipe, ViewContext, EmptyComponent, AppStateService, RouterService, ActionService, PluginsResolveService, TenantUiService, RouterModule, hookNavigator, hookTab, hookActionBar, hookAction, hookBreadcrumb, hookDocs, BootstrapComponent, UserTotpRevokeComponent, DataGridComponent, LoadingComponent, RangeDisplayComponent, HelpComponent, HighlightComponent, EmptyStateComponent, PasswordInputComponent, HOOK_PATTERN_MESSAGES, HeaderService, AlertService, UserMenuService, DocsService, PasswordService, CachedLocaleDictionaryService, GlobalConfigService, ModalService, ChangeCurrentUserPasswordService, GainsightService, FilesService, ServiceRegistry, AssetLinkPipe, PropertyValueTransformService, FeatureCacheService, DateFormatService, NavigatorNodeRoot, getActivatedRoute, DynamicDatapointsResolver, DynamicManagedObjectResolver, C8yTranslateModule, hookComponent } from '@c8y/ngx-components';
|
|
5
|
+
import { DatePipe, ViewContext, hookRoute, EmptyComponent, AppStateService, RouterService, ActionService, PluginsResolveService, TenantUiService, RouterModule, hookNavigator, hookTab, hookActionBar, hookAction, hookBreadcrumb, hookDocs, BootstrapComponent, UserTotpRevokeComponent, DataGridComponent, LoadingComponent, RangeDisplayComponent, HelpComponent, HighlightComponent, EmptyStateComponent, PasswordInputComponent, HOOK_PATTERN_MESSAGES, HeaderService, AlertService, UserMenuService, DocsService, PasswordService, CachedLocaleDictionaryService, GlobalConfigService, ModalService, ChangeCurrentUserPasswordService, GainsightService, FilesService, ServiceRegistry, AssetLinkPipe, PropertyValueTransformService, FeatureCacheService, DateFormatService, NavigatorNodeRoot, getActivatedRoute, DynamicDatapointsResolver, DynamicManagedObjectResolver, C8yTranslateModule, hookComponent } from '@c8y/ngx-components';
|
|
6
6
|
import { UpgradedServicesModule } from '@c8y/ngx-components/upgrade/upgraded-services';
|
|
7
7
|
import * as angular from 'angular';
|
|
8
8
|
import { gettext } from '@c8y/ngx-components/gettext';
|
|
@@ -14,7 +14,7 @@ import { BasicAuth, FetchClient, QueriesUtil } from '@c8y/client';
|
|
|
14
14
|
import { AppLogsAutoRefreshComponent } from '@c8y/ngx-components/app-logs';
|
|
15
15
|
import { WidgetPreviewWrapperComponent, WidgetConfigService, ContextDashboardService } from '@c8y/ngx-components/context-dashboard';
|
|
16
16
|
import { DatapointSelectionListComponent, DatapointSelectorService } from '@c8y/ngx-components/datapoint-selector';
|
|
17
|
-
import { GlobalContextWidgetWrapperComponent, WidgetConfigMigrationService } from '@c8y/ngx-components/global-context';
|
|
17
|
+
import { GlobalContextWidgetWrapperComponent, GlobalContextConnectorComponent, LocalControlsComponent, WidgetConfigMigrationService } from '@c8y/ngx-components/global-context';
|
|
18
18
|
import { PlatformConfigurationFormComponent } from '@c8y/ngx-components/platform-configuration';
|
|
19
19
|
import { RolesAssetTreeComponent } from '@c8y/ngx-components/user-roles';
|
|
20
20
|
import { PaginationComponent } from 'ngx-bootstrap/pagination';
|
|
@@ -197,6 +197,14 @@ function c8yViewsProvider($routeProvider, c8yTabsProvider, c8yPathUtils) {
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
+
const NOT_FOUND_ROUTE_PATH = 'not-found';
|
|
201
|
+
function providerNotFoundRouteHook() {
|
|
202
|
+
return hookRoute({
|
|
203
|
+
path: NOT_FOUND_ROUTE_PATH,
|
|
204
|
+
loadComponent: () => import('./c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs').then(m => m.NotFoundComponent)
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
|
|
200
208
|
class BridgeService {
|
|
201
209
|
constructor(injector, appState, router, ngZone, routerService, actionService) {
|
|
202
210
|
this.injector = injector;
|
|
@@ -233,6 +241,26 @@ class BridgeService {
|
|
|
233
241
|
.subscribe((event) => {
|
|
234
242
|
if (event.root.children.length > 1) {
|
|
235
243
|
window.location.hash = event.root.children[0].url.toString();
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
// Check if an AngularJS route exists for this path using AngularJS's route matching
|
|
247
|
+
const $route = this.injector.get('$route');
|
|
248
|
+
const path = '/' + event.url.join('/');
|
|
249
|
+
let hasAngularJSRoute = false;
|
|
250
|
+
for (const key in $route.routes) {
|
|
251
|
+
if ($route.routes.hasOwnProperty(key)) {
|
|
252
|
+
const route = $route.routes[key];
|
|
253
|
+
if (route.regexp && route.regexp.test(path)) {
|
|
254
|
+
hasAngularJSRoute = true;
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
// If no AngularJS route exists, navigate to 404
|
|
260
|
+
if (!hasAngularJSRoute) {
|
|
261
|
+
this.ngZone.run(() => {
|
|
262
|
+
this.router.navigate([`/${NOT_FOUND_ROUTE_PATH}`], { skipLocationChange: true });
|
|
263
|
+
});
|
|
236
264
|
}
|
|
237
265
|
});
|
|
238
266
|
}
|
|
@@ -759,7 +787,8 @@ class UpgradeModule {
|
|
|
759
787
|
hookActionBar(Ng1ActionBarFactoryService),
|
|
760
788
|
hookAction(Ng1ActionFactoryService),
|
|
761
789
|
hookBreadcrumb(Ng1BreadcrumbFactoryService),
|
|
762
|
-
hookDocs(Ng1DocsFactoryService)
|
|
790
|
+
hookDocs(Ng1DocsFactoryService),
|
|
791
|
+
providerNotFoundRouteHook()
|
|
763
792
|
], imports: [RouterModule, UpgradedServicesModule] }); }
|
|
764
793
|
}
|
|
765
794
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UpgradeModule, decorators: [{
|
|
@@ -776,7 +805,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
776
805
|
hookActionBar(Ng1ActionBarFactoryService),
|
|
777
806
|
hookAction(Ng1ActionFactoryService),
|
|
778
807
|
hookBreadcrumb(Ng1BreadcrumbFactoryService),
|
|
779
|
-
hookDocs(Ng1DocsFactoryService)
|
|
808
|
+
hookDocs(Ng1DocsFactoryService),
|
|
809
|
+
providerNotFoundRouteHook()
|
|
780
810
|
]
|
|
781
811
|
}]
|
|
782
812
|
}] });
|
|
@@ -880,6 +910,16 @@ const globalContextWidgetWrapperDowngradedComponent = downgradeComponent({
|
|
|
880
910
|
const widgetPreviewWrapperDowngradedComponent = downgradeComponent({
|
|
881
911
|
component: WidgetPreviewWrapperComponent
|
|
882
912
|
});
|
|
913
|
+
const globalContextConnectorDowngradedComponent = downgradeComponent({
|
|
914
|
+
component: GlobalContextConnectorComponent,
|
|
915
|
+
inputs: ['controls', 'config', 'isLoading', 'dashboardChild', 'linked', 'emitRefresh'],
|
|
916
|
+
outputs: ['configChange', 'refresh', 'linkedChange']
|
|
917
|
+
});
|
|
918
|
+
const localControlsDowngradedComponent = downgradeComponent({
|
|
919
|
+
component: LocalControlsComponent,
|
|
920
|
+
inputs: ['controls', 'displayMode', 'config', 'isLoading', 'disabled'],
|
|
921
|
+
outputs: ['configChange', 'refresh']
|
|
922
|
+
});
|
|
883
923
|
|
|
884
924
|
class ServerMessagesService {
|
|
885
925
|
constructor(translateService, patterns) {
|
|
@@ -1319,6 +1359,8 @@ angular
|
|
|
1319
1359
|
.directive('c8yDatapointSelectionList', datapointSelectionListComponentDowngradedComponent)
|
|
1320
1360
|
.directive('c8yHighlight', highlightComponentDowngradedComponent)
|
|
1321
1361
|
.directive('c8yGlobalContextWidgetWrapper', globalContextWidgetWrapperDowngradedComponent)
|
|
1362
|
+
.directive('c8yGlobalContextConnector', globalContextConnectorDowngradedComponent)
|
|
1363
|
+
.directive('c8yLocalControls', localControlsDowngradedComponent)
|
|
1322
1364
|
.directive('c8yPasswordInput', passwordInputComponentDowngradedComponent)
|
|
1323
1365
|
.directive('pagination', paginationComponentDowngradedComponent)
|
|
1324
1366
|
.directive('c8yRolesAssetTreeDowngraded', rolesAssetTreeComponentDowngradedComponent)
|