@c8y/ngx-components 1021.62.9 → 1021.64.0
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/core/bottom-drawer/bottom-drawer-ref.d.ts +4 -0
- package/core/bottom-drawer/bottom-drawer-ref.d.ts.map +1 -1
- package/core/plugins/plugins.model.d.ts +1 -0
- package/core/plugins/plugins.model.d.ts.map +1 -1
- package/core/plugins/plugins.service.d.ts +5 -2
- package/core/plugins/plugins.service.d.ts.map +1 -1
- package/echart/services/echarts-options.service.d.ts +3 -1
- package/echart/services/echarts-options.service.d.ts.map +1 -1
- package/ecosystem/application-plugins/application-plugin-readme.component.d.ts +15 -0
- package/ecosystem/application-plugins/application-plugin-readme.component.d.ts.map +1 -0
- package/ecosystem/application-plugins/application-plugins.component.d.ts +4 -2
- package/ecosystem/application-plugins/application-plugins.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/application-plugins.module.d.ts +4 -3
- package/ecosystem/application-plugins/application-plugins.module.d.ts.map +1 -1
- package/ecosystem/application-plugins/install-plugin.component.d.ts +8 -4
- package/ecosystem/application-plugins/install-plugin.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/plugin-list.component.d.ts +10 -26
- package/ecosystem/application-plugins/plugin-list.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/plugin-list.service.d.ts +27 -0
- package/ecosystem/application-plugins/plugin-list.service.d.ts.map +1 -0
- package/ecosystem/packages/package-details/package-details.component.d.ts +7 -9
- package/ecosystem/packages/package-details/package-details.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.d.ts +5 -1
- package/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts +6 -3
- package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/packages-versions.component.d.ts +9 -2
- package/ecosystem/packages/package-versions/packages-versions.component.d.ts.map +1 -1
- package/esm2022/alarms/alarm-details.component.mjs +3 -3
- package/esm2022/alarms/alarms-filter.component.mjs +3 -3
- package/esm2022/alarms/alarms-icon.component.mjs +3 -3
- package/esm2022/alarms/alarms-interval-refresh.component.mjs +3 -3
- package/esm2022/alarms/alarms-list.component.mjs +3 -3
- package/esm2022/alarms/alarms.component.mjs +3 -3
- package/esm2022/auth-configuration/sso-configuration/sso-configuration.component.mjs +3 -3
- package/esm2022/core/bottom-drawer/bottom-drawer-ref.mjs +9 -3
- package/esm2022/core/countdown-interval/countdown-interval.component.mjs +3 -3
- package/esm2022/core/plugins/plugins.model.mjs +1 -1
- package/esm2022/core/plugins/plugins.service.mjs +25 -5
- package/esm2022/echart/services/echarts-options.service.mjs +28 -12
- package/esm2022/ecosystem/application-plugins/application-plugin-readme.component.mjs +26 -0
- package/esm2022/ecosystem/application-plugins/application-plugins.component.mjs +26 -11
- package/esm2022/ecosystem/application-plugins/application-plugins.module.mjs +6 -3
- package/esm2022/ecosystem/application-plugins/install-plugin.component.mjs +21 -15
- package/esm2022/ecosystem/application-plugins/plugin-list-item.component.mjs +3 -3
- package/esm2022/ecosystem/application-plugins/plugin-list.component.mjs +26 -202
- package/esm2022/ecosystem/application-plugins/plugin-list.service.mjs +200 -0
- package/esm2022/ecosystem/application-properties/update-application-modal/update-application-modal.component.mjs +1 -1
- package/esm2022/ecosystem/packages/package-details/package-details.component.mjs +25 -44
- package/esm2022/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.mjs +14 -4
- package/esm2022/ecosystem/packages/package-versions/package-contents/packages-contents.component.mjs +13 -6
- package/esm2022/ecosystem/packages/package-versions/packages-versions.component.mjs +22 -8
- package/esm2022/ecosystem/shared/list-filters/list-filters.component.mjs +3 -3
- package/esm2022/register-device/device-registration-view.component.mjs +39 -9
- package/esm2022/register-device/general/general-device-registration-button.component.mjs +13 -14
- package/esm2022/register-device/general/general-device-registration.component.mjs +19 -5
- package/esm2022/register-device/general/general-device-registration.service.mjs +30 -0
- package/esm2022/register-device/index.mjs +2 -1
- package/esm2022/widgets/implementations/alarms/alarm-list-widget-config/alarm-list-widget-config.component.mjs +3 -3
- package/fesm2022/c8y-ngx-components-alarms.mjs +12 -12
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +2 -2
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +26 -11
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +205 -138
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +2 -2
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +257 -176
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-register-device.mjs +86 -19
- package/fesm2022/c8y-ngx-components-register-device.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +2 -2
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +33 -7
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +3 -0
- package/locales/es.po +3 -0
- package/locales/fr.po +3 -0
- package/locales/ja_JP.po +3 -0
- package/locales/ko.po +3 -0
- package/locales/locales.pot +36 -6
- package/locales/nl.po +3 -0
- package/locales/pl.po +3 -0
- package/locales/pt_BR.po +3 -0
- package/locales/zh_CN.po +3 -0
- package/locales/zh_TW.po +3 -0
- package/package.json +1 -1
- package/register-device/device-registration-view.component.d.ts +6 -1
- package/register-device/device-registration-view.component.d.ts.map +1 -1
- package/register-device/general/general-device-registration-button.component.d.ts +3 -3
- package/register-device/general/general-device-registration-button.component.d.ts.map +1 -1
- package/register-device/general/general-device-registration.component.d.ts +5 -0
- package/register-device/general/general-device-registration.component.d.ts.map +1 -1
- package/register-device/general/general-device-registration.service.d.ts +9 -0
- package/register-device/general/general-device-registration.service.d.ts.map +1 -0
- package/register-device/index.d.ts +1 -0
- package/register-device/index.d.ts.map +1 -1
|
@@ -11,6 +11,10 @@ export declare class BottomDrawerRef<C> {
|
|
|
11
11
|
* Event fired when the bottom drawer behind the reference is closed.
|
|
12
12
|
*/
|
|
13
13
|
get onClosed$(): Observable<void>;
|
|
14
|
+
/**
|
|
15
|
+
* The instance of the component created.
|
|
16
|
+
*/
|
|
17
|
+
instance: C;
|
|
14
18
|
private drawerComponentRef;
|
|
15
19
|
private closedSubject$;
|
|
16
20
|
private closedObs$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-drawer-ref.d.ts","sourceRoot":"","sources":["../../../core/bottom-drawer/bottom-drawer-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAKd,IAAI,EACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAmB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;AAG3C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,qBAAa,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bottom-drawer-ref.d.ts","sourceRoot":"","sources":["../../../core/bottom-drawer/bottom-drawer-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAKd,IAAI,EACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAmB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;AAG3C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAA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a;IACrB;;OAEG;IACH,SAAS,cAAc;IACvB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationRemotePlugins, IApplication, IManifest } from '@c8y/client';
|
|
1
|
+
import { ApplicationRemotePlugins, FetchClient, IApplication, IManifest } from '@c8y/client';
|
|
2
2
|
import { ApplicationService } from '@c8y/client';
|
|
3
3
|
import { AppStateService } from '../common/ui-state.service';
|
|
4
4
|
import { ApplicationPlugin, PackageType, PluginsConfig } from './plugins.model';
|
|
@@ -7,9 +7,10 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class PluginsService {
|
|
8
8
|
private applicationService;
|
|
9
9
|
private appStateService;
|
|
10
|
+
private client;
|
|
10
11
|
static convertInstalledRemotesToIds(remotes: ApplicationRemotePlugins): string[];
|
|
11
12
|
static createPluginId(contextPath: string, plugin: ApplicationPlugin | string, version: string, useLatest?: boolean): string;
|
|
12
|
-
constructor(applicationService: ApplicationService, appStateService: AppStateService);
|
|
13
|
+
constructor(applicationService: ApplicationService, appStateService: AppStateService, client: FetchClient);
|
|
13
14
|
/**
|
|
14
15
|
* Fetches a list of available packages.
|
|
15
16
|
* @param params Additional query parameters.
|
|
@@ -137,6 +138,8 @@ export declare class PluginsService {
|
|
|
137
138
|
*/
|
|
138
139
|
isOwnedByManagement(app: IApplication): boolean;
|
|
139
140
|
pluginsFromManifest(manifest: IManifest): ApplicationPlugin[];
|
|
141
|
+
getReadmeFileContent(baseUrl: string): Promise<string>;
|
|
142
|
+
private getReadmeFile;
|
|
140
143
|
private isSelfScopedPlugin;
|
|
141
144
|
private getSelfScopedPlugins;
|
|
142
145
|
private getAllPluginsExceptSelfScoped;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.service.d.ts","sourceRoot":"","sources":["../../../core/plugins/plugins.service.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,wBAAwB,EACxB,YAAY,
|
|
1
|
+
{"version":3,"file":"plugins.service.d.ts","sourceRoot":"","sources":["../../../core/plugins/plugins.service.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACX,YAAY,EAIZ,SAAS,EACV,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGjD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;;AAGnE,qBACa,cAAc;IA8BvB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,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AG,MAAM,GAAG,CAAC,EAAE;IAClF,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,EAAE;IAa/D;;;;;OAKG;IACH,YAAY,CACV,WAAW,EAAE,YAAY,EACzB,cAAc,wBAIb,EACD,SAAS,UAAQ,GAChB,iBAAiB,EAAE;IAetB;;;;;OAKG;IACG,eAAe,CACnB,WAAW,UAAQ,EACnB,cAAc,wBAIb,GACA,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAuB/B;;;;OAIG;IACH,YAAY,CAAC,WAAW,EAAE,YAAY,GAAG,wBAAwB;IAoBjE;;;;;;;;;;;;;OAaG;IACH,cAAc,CAAC,kBAAkB,EAAE,YAAY,GAAG,WAAW;IAiB7D;;;;;OAKG;IACH,mBAAmB,CAAC,GAAG,EAAE,YAAY,GAAG,OAAO;IAK/C,mBAAmB,CAAC,QAAQ,EAAE,SAAS,GAAG,iBAAiB,EAAE;IAgBvD,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;YAS9C,aAAa;IAc3B,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,6BAA6B;IAOrC,OAAO,CAAC,gBAAgB;IAsBxB,OAAO,CAAC,mBAAmB;IAI3B;;;OAGG;IACH,OAAO,CAAC,oBAAoB;YAqBd,+BAA+B;IA8B7C,OAAO,CAAC,wBAAwB;IAuBhC,OAAO,CAAC,8BAA8B;IAqBtC,OAAO,CAAC,aAAa;yCAphBV,cAAc;6CAAd,cAAc;CAwhB1B"}
|
|
@@ -10,6 +10,7 @@ import { CustomSeriesOptions } from '../models/chart.model';
|
|
|
10
10
|
import { Router } from '@angular/router';
|
|
11
11
|
import { AlarmSeverityToIconPipe, AlarmSeverityToLabelPipe } from '@c8y/ngx-components/alarms';
|
|
12
12
|
import { Interval } from '@c8y/ngx-components/interval-picker';
|
|
13
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare class EchartsOptionsService {
|
|
15
16
|
private datePipe;
|
|
@@ -17,11 +18,12 @@ export declare class EchartsOptionsService {
|
|
|
17
18
|
private chartTypesService;
|
|
18
19
|
private severityIconPipe;
|
|
19
20
|
private severityLabelPipe;
|
|
21
|
+
private translate;
|
|
20
22
|
private router;
|
|
21
23
|
echartsInstance: ECharts | undefined;
|
|
22
24
|
private TOOLTIP_WIDTH;
|
|
23
25
|
private tooltipPositionCallback;
|
|
24
|
-
constructor(datePipe: DatePipe, yAxisService: YAxisService, chartTypesService: ChartTypesService, severityIconPipe: AlarmSeverityToIconPipe, severityLabelPipe: AlarmSeverityToLabelPipe, router: Router);
|
|
26
|
+
constructor(datePipe: DatePipe, yAxisService: YAxisService, chartTypesService: ChartTypesService, severityIconPipe: AlarmSeverityToIconPipe, severityLabelPipe: AlarmSeverityToLabelPipe, translate: TranslateService, router: Router);
|
|
25
27
|
getChartOptions(datapointsWithValues: DpWithValues[], timeRange: {
|
|
26
28
|
dateFrom: string;
|
|
27
29
|
dateTo: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"echarts-options.service.d.ts","sourceRoot":"","sources":["../../../echart/services/echarts-options.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"echarts-options.service.d.ts","sourceRoot":"","sources":["../../../echart/services/echarts-options.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAW,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,YAAY,EAOb,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,E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Aa;IA0BrB;;;;;;OAMG;IACH,OAAO,CAAC,gBAAgB;IAsBxB;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAgB5B;;;;OAIG;IACH,OAAO,CAAC,YAAY;IASpB;;;;OAIG;YACW,YAAY;YAmBZ,gBAAgB;IAO9B,OAAO,CAAC,cAAc;IAwEtB,OAAO,CAAC,WAAW;IAUnB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAgChC,OAAO,CAAC,6BAA6B;IAarC;;;;;;;;OAQG;IACH,OAAO,CAAC,eAAe;IAoKvB;;;;OAIG;IACH,OAAO,CAAC,cAAc;IA8CtB,OAAO,CAAC,eAAe;IA0BvB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IA6E3B,OAAO,CAAC,mCAAmC;yCApgChC,qBAAqB;6CAArB,qBAAqB;CAshCjC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ApplicationPlugin } from '@c8y/ngx-components';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ApplicationPluginReadmeComponent implements OnInit {
|
|
5
|
+
pluginMarkdown: string;
|
|
6
|
+
pluginBaseUrl: string;
|
|
7
|
+
plugin: ApplicationPlugin;
|
|
8
|
+
private bottomDrawerRef;
|
|
9
|
+
private pluginsService;
|
|
10
|
+
ngOnInit(): Promise<void>;
|
|
11
|
+
close(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationPluginReadmeComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationPluginReadmeComponent, "c8y-application-plugin-readme", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=application-plugin-readme.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-plugin-readme.component.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/application-plugin-readme.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAmC,MAAM,qBAAqB,CAAC;;AAEzF,qBAKa,gCAAiC,YAAW,MAAM;IAC7D,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,iBAAiB,CAAC;IAE1B,OAAO,CAAC,eAAe,CAA2B;IAClD,OAAO,CAAC,cAAc,CAA0B;IAE1C,QAAQ;IAMd,KAAK;yCAdM,gCAAgC;2CAAhC,gCAAgC;CAiB5C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { ApplicationRemotePlugins, IApplication } from '@c8y/client';
|
|
4
|
-
import { ActionControl, AlertService, ApplicationPlugin, BulkActionControl, Column, DataGridComponent, DisplayOptions, GainsightService, HeaderActionControl, Pagination, PluginsService } from '@c8y/ngx-components';
|
|
4
|
+
import { ActionControl, AlertService, ApplicationPlugin, BulkActionControl, Column, DataGridComponent, DisplayOptions, GainsightService, HeaderActionControl, Pagination, PluginsService, BottomDrawerService } from '@c8y/ngx-components';
|
|
5
5
|
import { EcosystemService } from '@c8y/ngx-components/ecosystem/shared';
|
|
6
6
|
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
7
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
@@ -13,6 +13,7 @@ export declare class ApplicationPluginsComponent implements OnInit, OnDestroy {
|
|
|
13
13
|
private pluginsService;
|
|
14
14
|
private alertService;
|
|
15
15
|
private gainsightService;
|
|
16
|
+
private bottomDrawerService;
|
|
16
17
|
PRODUCT_EXPERIENCE: {
|
|
17
18
|
readonly APPLICATIONS: {
|
|
18
19
|
readonly EVENTS: {
|
|
@@ -96,7 +97,7 @@ export declare class ApplicationPluginsComponent implements OnInit, OnDestroy {
|
|
|
96
97
|
displayOptions: DisplayOptions;
|
|
97
98
|
columns: Column[];
|
|
98
99
|
private destroy$;
|
|
99
|
-
constructor(activatedRoute: ActivatedRoute, ecosystemService: EcosystemService, bsModalService: BsModalService, pluginsService: PluginsService, alertService: AlertService, gainsightService: GainsightService);
|
|
100
|
+
constructor(activatedRoute: ActivatedRoute, ecosystemService: EcosystemService, bsModalService: BsModalService, pluginsService: PluginsService, alertService: AlertService, gainsightService: GainsightService, bottomDrawerService: BottomDrawerService);
|
|
100
101
|
ngOnInit(): void;
|
|
101
102
|
loadData(): Promise<void>;
|
|
102
103
|
resetToDefault(): Promise<void>;
|
|
@@ -104,6 +105,7 @@ export declare class ApplicationPluginsComponent implements OnInit, OnDestroy {
|
|
|
104
105
|
removePlugins(plugins: string[]): Promise<void>;
|
|
105
106
|
cleanupOrphanedPlugins(plugins: ApplicationPlugin[]): Promise<void>;
|
|
106
107
|
getActionControls(): ActionControl[];
|
|
108
|
+
showPluginReadme(plugin: ApplicationPlugin): void;
|
|
107
109
|
getBulkActionControls(): BulkActionControl[];
|
|
108
110
|
updatePlugin(app: IApplication, plugin: ApplicationPlugin, downgrade?: boolean): Promise<void>;
|
|
109
111
|
refresh(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-plugins.component.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/application-plugins.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EACL,aAAa,EACb,YAAY,EACZ,iBAAiB,EAEjB,iBAAiB,EACjB,MAAM,EACN,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAEhB,mBAAmB,EACnB,UAAU,EAEV,cAAc,
|
|
1
|
+
{"version":3,"file":"application-plugins.component.d.ts","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uB;YAKvB,2BAA2B;YAM3B,mBAAmB;IAKjC,OAAO,CAAC,wBAAwB;IAgChC,OAAO,CAAC,kBAAkB;IAqC1B,OAAO,CAAC,iDAAiD;IAyBzD,OAAO,CAAC,mBAAmB;IAwC3B,OAAO,CAAC,cAAc;IAkBtB,OAAO,CAAC,sBAAsB;IAU9B,OAAO,CAAC,kBAAkB;yCAxlBf,2BAA2B;2CAA3B,2BAA2B;CA8mBvC"}
|
|
@@ -9,11 +9,12 @@ import * as i7 from "./label-cell-renderer.component";
|
|
|
9
9
|
import * as i8 from "./orphaned-status-cell-renderer.component";
|
|
10
10
|
import * as i9 from "./update-plugin-of-app/update-plugin-of-app.component";
|
|
11
11
|
import * as i10 from "./only-latest-filter/only-latest-filter.component";
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "@c8y/ngx-components
|
|
12
|
+
import * as i11 from "./application-plugin-readme.component";
|
|
13
|
+
import * as i12 from "@c8y/ngx-components";
|
|
14
|
+
import * as i13 from "@c8y/ngx-components/ecosystem/shared";
|
|
14
15
|
export declare class ApplicationPluginsModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationPluginsModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ApplicationPluginsModule, [typeof i1.ApplicationPluginsComponent, typeof i2.PluginListItemComponent, typeof i3.InstallPluginComponent, typeof i4.PluginListComponent, typeof i5.AppsToUpdateRemotesSelectComponent, typeof i6.AppStatePipe, typeof i7.LabelCellRendererComponent, typeof i8.OrphanedStatusCellRendererComponent, typeof i9.UpdatePluginOfAppComponent, typeof i10.OnlyLatestFilterComponent], [typeof
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ApplicationPluginsModule, [typeof i1.ApplicationPluginsComponent, typeof i2.PluginListItemComponent, typeof i3.InstallPluginComponent, typeof i4.PluginListComponent, typeof i5.AppsToUpdateRemotesSelectComponent, typeof i6.AppStatePipe, typeof i7.LabelCellRendererComponent, typeof i8.OrphanedStatusCellRendererComponent, typeof i9.UpdatePluginOfAppComponent, typeof i10.OnlyLatestFilterComponent, typeof i11.ApplicationPluginReadmeComponent], [typeof i12.CoreModule, typeof i13.SharedEcosystemModule], [typeof i1.ApplicationPluginsComponent, typeof i2.PluginListItemComponent, typeof i3.InstallPluginComponent, typeof i4.PluginListComponent, typeof i5.AppsToUpdateRemotesSelectComponent, typeof i6.AppStatePipe, typeof i7.LabelCellRendererComponent, typeof i8.OrphanedStatusCellRendererComponent, typeof i9.UpdatePluginOfAppComponent, typeof i10.OnlyLatestFilterComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<ApplicationPluginsModule>;
|
|
18
19
|
}
|
|
19
20
|
//# sourceMappingURL=application-plugins.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-plugins.module.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/application-plugins.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"application-plugins.module.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/application-plugins.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAiBA,qBA0Ca,wBAAwB;yCAAxB,wBAAwB;0CAAxB,wBAAwB;0CAAxB,wBAAwB;CAAG"}
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
import { ApplicationPlugin } from '@c8y/ngx-components';
|
|
1
|
+
import { ApplicationPlugin, BottomDrawerRef, PluginsService } from '@c8y/ngx-components';
|
|
2
2
|
import { EcosystemService, FilterableAppOrPlugin, FilterPipe } from '@c8y/ngx-components/ecosystem/shared';
|
|
3
|
-
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class InstallPluginComponent {
|
|
7
|
-
private
|
|
6
|
+
private bottomDrawerRef;
|
|
8
7
|
private ecosystemService;
|
|
8
|
+
private pluginsService;
|
|
9
9
|
plugins$: Observable<FilterableAppOrPlugin[]>;
|
|
10
10
|
filteredPlugins$: Observable<FilterableAppOrPlugin[]>;
|
|
11
11
|
selectedPlugins: ApplicationPlugin[];
|
|
12
12
|
packageTypes: (import("@c8y/ngx-components").PackageType.OFFICIAL | import("@c8y/ngx-components").PackageType.COMMUNITY)[];
|
|
13
13
|
result: Promise<ApplicationPlugin[]>;
|
|
14
14
|
onlyLatestPluginVersion: boolean;
|
|
15
|
+
selectedPlugin: ApplicationPlugin;
|
|
16
|
+
pluginBaseUrl: string;
|
|
17
|
+
pluginMarkdown: string;
|
|
15
18
|
private _install;
|
|
16
19
|
private _cancel;
|
|
17
|
-
constructor(
|
|
20
|
+
constructor(bottomDrawerRef: BottomDrawerRef<InstallPluginComponent>, ecosystemService: EcosystemService, pluginsService: PluginsService);
|
|
18
21
|
setFilterPipe(filterPipe: FilterPipe): void;
|
|
19
22
|
cancel(): void;
|
|
20
23
|
install(): void;
|
|
24
|
+
showPluginOverview(plugin: ApplicationPlugin): Promise<void>;
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<InstallPluginComponent, never>;
|
|
22
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<InstallPluginComponent, "c8y-install-plugin", never, { "plugins$": { "alias": "plugins$"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-plugin.component.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/install-plugin.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"install-plugin.component.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/install-plugin.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAEL,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACX,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAwB,UAAU,EAAE,MAAM,MAAM,CAAC;;AAExD,qBAKa,sBAAsB;IAkB/B,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,cAAc;IAnBf,QAAQ,EAAE,UAAU,CAAC,qBAAqB,EAAE,CAAC,CAAC;IACvD,gBAAgB,EAAE,UAAU,CAAC,qBAAqB,EAAE,CAAC,CAA2B;IAChF,eAAe,EAAE,iBAAiB,EAAE,CAAM;IAC1C,YAAY,+GAAuB;IACnC,MAAM,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAGjC;IACH,uBAAuB,UAAQ;IAC/B,cAAc,EAAE,iBAAiB,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IAEvB,OAAO,CAAC,QAAQ,CAAC;IACjB,OAAO,CAAC,OAAO,CAAC;gBAGN,eAAe,EAAE,eAAe,CAAC,sBAAsB,CAAC,EACxD,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc;IAGxC,aAAa,CAAC,UAAU,EAAE,UAAU;IAYpC,MAAM;IAKN,OAAO;IAKD,kBAAkB,CAAC,MAAM,EAAE,iBAAiB;yCA7CvC,sBAAsB;2CAAtB,sBAAsB;CAmDlC"}
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
7
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { IApplication } from '@c8y/client';
|
|
3
|
+
import { ApplicationPlugin } from '@c8y/ngx-components';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { PluginListService } from './plugin-list.service';
|
|
8
6
|
import { UpdateType } from './apps-to-update-remotes-select.model';
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
8
|
export declare class PluginListComponent {
|
|
11
|
-
private
|
|
12
|
-
private bsModalService;
|
|
13
|
-
private pluginsService;
|
|
14
|
-
private alertService;
|
|
15
|
-
private translateService;
|
|
16
|
-
private gainsightService;
|
|
17
|
-
private humanizeAppNamePipe;
|
|
9
|
+
private pluginListService;
|
|
18
10
|
CURRENT_LOCATION: string;
|
|
19
11
|
plugins$: Observable<ApplicationPlugin[]>;
|
|
20
12
|
emptyListText: string;
|
|
@@ -25,27 +17,19 @@ export declare class PluginListComponent {
|
|
|
25
17
|
*/
|
|
26
18
|
installable: boolean;
|
|
27
19
|
package: IApplication;
|
|
20
|
+
selectedPlugin: ApplicationPlugin;
|
|
28
21
|
selectedItems: EventEmitter<ApplicationPlugin[]>;
|
|
29
|
-
|
|
22
|
+
showOverview: EventEmitter<ApplicationPlugin>;
|
|
30
23
|
selectedPlugins: {
|
|
31
24
|
[key: string]: ApplicationPlugin;
|
|
32
25
|
};
|
|
33
26
|
updatingPluginId: Record<UpdateType, string>;
|
|
34
|
-
|
|
35
|
-
constructor(ecosystemService: EcosystemService, bsModalService: BsModalService, pluginsService: PluginsService, alertService: AlertService, translateService: TranslateService, gainsightService: GainsightService, humanizeAppNamePipe: HumanizeAppNamePipe);
|
|
27
|
+
constructor(pluginListService: PluginListService);
|
|
36
28
|
updateSelectedItems(selected: boolean, plugin: ApplicationPlugin): void;
|
|
29
|
+
showPluginOverview(plugin: ApplicationPlugin): void;
|
|
37
30
|
installPlugin(plugin: ApplicationPlugin): Promise<void>;
|
|
38
31
|
uninstallPlugin(plugin: ApplicationPlugin): Promise<void>;
|
|
39
|
-
private updateAppRemotes;
|
|
40
|
-
private onUpdateEventHandleGS;
|
|
41
|
-
private getAppsForUpdate;
|
|
42
|
-
private isPluginInstalledInApp;
|
|
43
|
-
private getPluginContextPathWithoutVersion;
|
|
44
|
-
private handleRemotesUpdate;
|
|
45
|
-
private getAllPluginsToRemove;
|
|
46
|
-
private emitRemotes;
|
|
47
|
-
private selectApps;
|
|
48
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<PluginListComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PluginListComponent, "c8y-plugin-list", never, { "plugins$": { "alias": "plugins$"; "required": false; }; "emptyListText": { "alias": "emptyListText"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "installable": { "alias": "installable"; "required": false; }; "package": { "alias": "package"; "required": false; }; }, { "selectedItems": "selectedItems"; }, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PluginListComponent, "c8y-plugin-list", never, { "plugins$": { "alias": "plugins$"; "required": false; }; "emptyListText": { "alias": "emptyListText"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "installable": { "alias": "installable"; "required": false; }; "package": { "alias": "package"; "required": false; }; "selectedPlugin": { "alias": "selectedPlugin"; "required": false; }; }, { "selectedItems": "selectedItems"; "showOverview": "showOverview"; }, never, never, false, never>;
|
|
50
34
|
}
|
|
51
35
|
//# sourceMappingURL=plugin-list.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-list.component.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/plugin-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"plugin-list.component.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/plugin-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;;AAEnE,qBAIa,mBAAmB;IAkBlB,OAAO,CAAC,iBAAiB;IAjBrC,gBAAgB,SAAiB;IAExB,QAAQ,EAAE,UAAU,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC1C,aAAa,SAAM;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,UAAS;IAC5B;;OAEG;IACM,WAAW,UAAS;IACpB,OAAO,EAAE,YAAY,CAAC;IACtB,cAAc,EAAE,iBAAiB,CAAC;IACjC,aAAa,EAAE,YAAY,CAAC,iBAAiB,EAAE,CAAC,CAAsB;IACtE,YAAY,kCAAyC;IAC/D,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAA;KAAE,CAAM;IAC3D,gBAAgB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;gBAEzB,iBAAiB,EAAE,iBAAiB;IAIxD,mBAAmB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB;IAMhE,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAO7C,aAAa,CAAC,MAAM,EAAE,iBAAiB;IAIvC,eAAe,CAAC,MAAM,EAAE,iBAAiB;yCAvCpC,mBAAmB;2CAAnB,mBAAmB;CA0C/B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ApplicationPlugin } from '@c8y/ngx-components';
|
|
2
|
+
import { UpdateType } from './apps-to-update-remotes-select.model';
|
|
3
|
+
import { IApplication } from '@c8y/client';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PluginListService {
|
|
6
|
+
CURRENT_LOCATION: string;
|
|
7
|
+
updatingPluginId: Record<UpdateType, string>;
|
|
8
|
+
private appsDisabled;
|
|
9
|
+
private gainsightService;
|
|
10
|
+
private pluginsService;
|
|
11
|
+
private alertService;
|
|
12
|
+
private ecosystemService;
|
|
13
|
+
private humanizeAppNamePipe;
|
|
14
|
+
private translateService;
|
|
15
|
+
private bsModalService;
|
|
16
|
+
updateAppRemotes(plugin: ApplicationPlugin, updateType: UpdateType, pluginPackage: IApplication): Promise<void>;
|
|
17
|
+
getAppsForUpdate(plugin: ApplicationPlugin, updateType: UpdateType): Promise<IApplication[]>;
|
|
18
|
+
private onUpdateEventHandleGS;
|
|
19
|
+
private isPluginInstalledInApp;
|
|
20
|
+
private getPluginContextPathWithoutVersion;
|
|
21
|
+
private handleRemotesUpdate;
|
|
22
|
+
private getAllPluginsToRemove;
|
|
23
|
+
private selectApps;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PluginListService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PluginListService>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=plugin-list.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-list.service.d.ts","sourceRoot":"","sources":["../../../ecosystem/application-plugins/plugin-list.service.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAKlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAmB,YAAY,EAAE,MAAM,aAAa,CAAC;;AAW5D,qBAGa,iBAAiB;IAC5B,gBAAgB,SAAiB;IACjC,gBAAgB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAkC;IAC9E,OAAO,CAAC,YAAY,CAA0D;IAE9E,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,cAAc,CAA0B;IAChD,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,mBAAmB,CAA+B;IAC1D,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,cAAc,CAA0B;IAE1C,gBAAgB,CACpB,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,YAAY;IAmFvB,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU;IA0BxE,OAAO,CAAC,qBAAqB;IAoC7B,OAAO,CAAC,sBAAsB;IAc9B,OAAO,CAAC,kCAAkC;YAI5B,mBAAmB;IA8BjC,OAAO,CAAC,qBAAqB;YAYf,UAAU;yCA7Nb,iBAAiB;6CAAjB,iBAAiB;CAkP7B"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { ApplicationAvailability,
|
|
3
|
+
import { ApplicationAvailability, IApplication } from '@c8y/client';
|
|
4
4
|
import { ApplicationPlugin, AppStateService, ContextRouteService, GainsightService, PackageType, PluginsService, PropertiesListItem, WizardModalService } from '@c8y/ngx-components';
|
|
5
5
|
import { BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { ApplicationState, EcosystemService, PackageAvailabilityService } from '@c8y/ngx-components/ecosystem/shared';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class PackageDetailsComponent implements OnInit {
|
|
9
9
|
private activatedRoute;
|
|
10
|
-
private client;
|
|
11
10
|
private wizardModalService;
|
|
12
11
|
private ecosystemService;
|
|
13
12
|
private contextRouteService;
|
|
14
13
|
private pluginsService;
|
|
15
14
|
private packageAvailabilityService;
|
|
16
15
|
private ui;
|
|
17
|
-
private pluginService;
|
|
18
16
|
private gainsightService;
|
|
19
17
|
markdown: string;
|
|
18
|
+
pluginMarkdown: string;
|
|
20
19
|
baseUrl: string;
|
|
20
|
+
pluginBaseUrl: string;
|
|
21
21
|
package: IApplication;
|
|
22
22
|
name: string;
|
|
23
23
|
description: string;
|
|
@@ -30,6 +30,7 @@ export declare class PackageDetailsComponent implements OnInit {
|
|
|
30
30
|
packageContentState: ApplicationState;
|
|
31
31
|
packageType: PackageType;
|
|
32
32
|
packageAvailability: ApplicationAvailability;
|
|
33
|
+
selectedPlugin: ApplicationPlugin;
|
|
33
34
|
readonly packageTypeLabels: {
|
|
34
35
|
COMMUNITY: {
|
|
35
36
|
label: "COMMUNITY`Package created by the developer community.`";
|
|
@@ -50,17 +51,14 @@ export declare class PackageDetailsComponent implements OnInit {
|
|
|
50
51
|
};
|
|
51
52
|
readonly PACKAGE_TYPE: typeof PackageType;
|
|
52
53
|
readonly packageProperties: PropertiesListItem[];
|
|
53
|
-
|
|
54
|
-
private NOT_FOUND_ERROR_CODE;
|
|
55
|
-
constructor(activatedRoute: ActivatedRoute, client: FetchClient, wizardModalService: WizardModalService, ecosystemService: EcosystemService, contextRouteService: ContextRouteService, pluginsService: PluginsService, packageAvailabilityService: PackageAvailabilityService, ui: AppStateService, pluginService: PluginsService, gainsightService: GainsightService);
|
|
54
|
+
constructor(activatedRoute: ActivatedRoute, wizardModalService: WizardModalService, ecosystemService: EcosystemService, contextRouteService: ContextRouteService, pluginsService: PluginsService, packageAvailabilityService: PackageAvailabilityService, ui: AppStateService, gainsightService: GainsightService);
|
|
56
55
|
ngOnInit(): Promise<void>;
|
|
57
56
|
deploy(): void;
|
|
58
57
|
togglePackageAvailability(pckg: IApplication, newAvailability: ApplicationAvailability): Promise<void>;
|
|
58
|
+
showPluginOverview(plugin: ApplicationPlugin): Promise<void>;
|
|
59
|
+
closeOverview(): void;
|
|
59
60
|
private loadData;
|
|
60
61
|
private extractPackageMFExports;
|
|
61
|
-
private getReadmeFileContent;
|
|
62
|
-
private getReadmeFile;
|
|
63
|
-
private getBaseUrl;
|
|
64
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<PackageDetailsComponent, never>;
|
|
65
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<PackageDetailsComponent, "c8y-package-details", never, {}, {}, never, never, false, never>;
|
|
66
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-details.component.d.ts","sourceRoot":"","sources":["../../../../ecosystem/packages/package-details/package-details.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,
|
|
1
|
+
{"version":3,"file":"package-details.component.d.ts","sourceRoot":"","sources":["../../../../ecosystem/packages/package-details/package-details.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAIhB,0BAA0B,EAE3B,MAAM,sCAAsC,CAAC;;AAE9C,qBAIa,uBAAwB,YAAW,MAAM;IAwBlD,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,mBAAmB;IAC3B,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,0BAA0B;IAClC,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,gBAAgB;IA9B1B,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,YAAY,CAAM;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gBAAgB,EAAE,eAAe,CAAC,iBAAiB,EAAE,CAAC,CAA2B;IACjF,sBAAsB,UAAS;IAC/B,sBAAsB,UAAS;IAC/B,2BAA2B,UAAS;IACpC,mBAAmB,EAAE,gBAAgB,CAAC;IACtC,WAAW,EAAE,WAAW,CAAC;IACzB,mBAAmB,EAAE,uBAAuB,CAAC;IAC7C,cAAc,EAAE,iBAAiB,CAAC;IAElC,QAAQ,CAAC,iBAAiB;;;;;;;;;;;;;;;;;MAAuB;IACjD,QAAQ,CAAC,YAAY,qBAAe;IACpC,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,CAAqB;gBAG3D,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,cAAc,EAAE,cAAc,EAC9B,0BAA0B,EAAE,0BAA0B,EACtD,EAAE,EAAE,eAAe,EACnB,gBAAgB,EAAE,gBAAgB;IAGtC,QAAQ;IAKd,MAAM;IAkBA,yBAAyB,CAAC,IAAI,EAAE,YAAY,EAAE,eAAe,EAAE,uBAAuB;IAgBtF,kBAAkB,CAAC,MAAM,EAAE,iBAAiB;IAOlD,aAAa,IAAI,IAAI;YAIP,QAAQ;IAmBtB,OAAO,CAAC,uBAAuB;yCAvGpB,uBAAuB;2CAAvB,uBAAuB;CA2GnC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { ActivatedRoute } from '@angular/router';
|
|
2
3
|
import { IManifest } from '@c8y/client';
|
|
3
4
|
import { ApplicationPlugin } from '@c8y/ngx-components';
|
|
@@ -6,12 +7,15 @@ import * as i0 from "@angular/core";
|
|
|
6
7
|
export declare class PackageVersionsPluginsComponent {
|
|
7
8
|
private activatedRoute;
|
|
8
9
|
selectedVersionManifest: IManifest;
|
|
10
|
+
selectedPlugin: ApplicationPlugin;
|
|
11
|
+
showOverview: EventEmitter<ApplicationPlugin>;
|
|
9
12
|
exportedPlugins$: BehaviorSubject<ApplicationPlugin[]>;
|
|
10
13
|
private appParentData;
|
|
11
14
|
constructor(activatedRoute: ActivatedRoute);
|
|
12
15
|
ngOnChanges(): Promise<void>;
|
|
16
|
+
showPluginOverview(plugin: ApplicationPlugin): void;
|
|
13
17
|
private getExportedPlugins;
|
|
14
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<PackageVersionsPluginsComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PackageVersionsPluginsComponent, "c8y-contents-plugins", never, { "selectedVersionManifest": { "alias": "selectedVersionManifest"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PackageVersionsPluginsComponent, "c8y-contents-plugins", never, { "selectedVersionManifest": { "alias": "selectedVersionManifest"; "required": false; }; "selectedPlugin": { "alias": "selectedPlugin"; "required": false; }; }, { "showOverview": "showOverview"; }, never, never, false, never>;
|
|
16
20
|
}
|
|
17
21
|
//# sourceMappingURL=contents-plugins.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contents-plugins.component.d.ts","sourceRoot":"","sources":["../../../../../../ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contents-plugins.component.d.ts","sourceRoot":"","sources":["../../../../../../ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAgB,SAAS,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAkB,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;;AAEvC,qBAIa,+BAA+B;IAS9B,OAAO,CAAC,cAAc;IARA,uBAAuB,EAAE,SAAS,CAAC;IAC5D,cAAc,EAAE,iBAAiB,CAAC;IACjC,YAAY,kCAAyC;IAE/D,gBAAgB,EAAE,eAAe,CAAC,iBAAiB,EAAE,CAAC,CAA2B;IAEjF,OAAO,CAAC,aAAa,CAAe;gBAEhB,cAAc,EAAE,cAAc;IAI5C,WAAW;IAIjB,kBAAkB,CAAC,MAAM,EAAE,iBAAiB;IAI5C,OAAO,CAAC,kBAAkB;yCArBf,+BAA+B;2CAA/B,+BAA+B;CA0C3C"}
|
package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { ApplicationService, IApplication, IManifest } from '@c8y/client';
|
|
4
|
-
import { AlertService, ContextRouteService, PropertiesListItem } from '@c8y/ngx-components';
|
|
4
|
+
import { AlertService, ApplicationPlugin, ContextRouteService, PropertiesListItem } from '@c8y/ngx-components';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PackageContentsComponent {
|
|
7
7
|
private activatedRoute;
|
|
@@ -9,15 +9,18 @@ export declare class PackageContentsComponent {
|
|
|
9
9
|
private alertService;
|
|
10
10
|
private contextRouteService;
|
|
11
11
|
selectedVersion: string;
|
|
12
|
+
selectedPlugin: ApplicationPlugin;
|
|
13
|
+
showOverview: EventEmitter<ApplicationPlugin>;
|
|
12
14
|
selectedVersionManifest: IManifest;
|
|
13
15
|
package: IApplication;
|
|
14
16
|
isLoading: boolean;
|
|
15
17
|
readonly packageVersionProperties: PropertiesListItem[];
|
|
16
18
|
constructor(activatedRoute: ActivatedRoute, applicationService: ApplicationService, alertService: AlertService, contextRouteService: ContextRouteService);
|
|
19
|
+
showPluginOverview(plugin: ApplicationPlugin): void;
|
|
17
20
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
18
21
|
loadManifest(version: string): Promise<void>;
|
|
19
22
|
private getManifest;
|
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<PackageContentsComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PackageContentsComponent, "c8y-package-contents", never, { "selectedVersion": { "alias": "selectedVersion"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PackageContentsComponent, "c8y-package-contents", never, { "selectedVersion": { "alias": "selectedVersion"; "required": false; }; "selectedPlugin": { "alias": "selectedPlugin"; "required": false; }; }, { "showOverview": "showOverview"; }, never, never, false, never>;
|
|
22
25
|
}
|
|
23
26
|
//# sourceMappingURL=packages-contents.component.d.ts.map
|
package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages-contents.component.d.ts","sourceRoot":"","sources":["../../../../../ecosystem/packages/package-versions/package-contents/packages-contents.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"packages-contents.component.d.ts","sourceRoot":"","sources":["../../../../../ecosystem/packages/package-versions/package-contents/packages-contents.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,aAAa,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC1E,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;;AAG7B,qBAIa,wBAAwB;IAYjC,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,mBAAmB;IAdpB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,iBAAiB,CAAC;IACjC,YAAY,kCAAyC;IAE/D,uBAAuB,EAAE,SAAS,CAAC;IACnC,OAAO,EAAE,YAAY,CAAM;IAC3B,SAAS,UAAS;IAElB,QAAQ,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAAqB;gBAGlE,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,YAAY,EAAE,YAAY,EAC1B,mBAAmB,EAAE,mBAAmB;IAGlD,kBAAkB,CAAC,MAAM,EAAE,iBAAiB;IAItC,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,YAAY,CAAC,OAAO,EAAE,MAAM;YAOpB,WAAW;yCAnCd,wBAAwB;2CAAxB,wBAAwB;CA2CpC"}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { ActivatedRoute } from '@angular/router';
|
|
2
2
|
import { IApplication } from '@c8y/client';
|
|
3
|
-
import { ContextRouteService } from '@c8y/ngx-components';
|
|
3
|
+
import { ApplicationPlugin, ContextRouteService, PluginsService } from '@c8y/ngx-components';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PackageVersionsComponent {
|
|
6
6
|
private activatedRoute;
|
|
7
7
|
private contextRouteService;
|
|
8
|
+
private pluginsService;
|
|
8
9
|
package: IApplication;
|
|
9
10
|
selectedVersion: string;
|
|
10
|
-
|
|
11
|
+
selectedPlugin: ApplicationPlugin;
|
|
12
|
+
pluginBaseUrl: string;
|
|
13
|
+
pluginMarkdown: string;
|
|
14
|
+
packageContentsTitle: "Version {{ selectedVersion }} package contents";
|
|
15
|
+
constructor(activatedRoute: ActivatedRoute, contextRouteService: ContextRouteService, pluginsService: PluginsService);
|
|
11
16
|
ngOnInit(): Promise<void>;
|
|
17
|
+
showPluginOverview(plugin: ApplicationPlugin): Promise<void>;
|
|
18
|
+
closeOverview(): void;
|
|
12
19
|
clearSelectedVersion(): void;
|
|
13
20
|
selectVersion(version: string): void;
|
|
14
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PackageVersionsComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages-versions.component.d.ts","sourceRoot":"","sources":["../../../../ecosystem/packages/package-versions/packages-versions.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,
|
|
1
|
+
{"version":3,"file":"packages-versions.component.d.ts","sourceRoot":"","sources":["../../../../ecosystem/packages/package-versions/packages-versions.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EAEnB,cAAc,EACf,MAAM,qBAAqB,CAAC;;AAE7B,qBAIa,wBAAwB;IASjC,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,mBAAmB;IAC3B,OAAO,CAAC,cAAc;IAVxB,OAAO,EAAE,YAAY,CAAM;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,iBAAiB,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,mDAA6D;gBAGvE,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,mBAAmB,EACxC,cAAc,EAAE,cAAc;IAGlC,QAAQ;IAIR,kBAAkB,CAAC,MAAM,EAAE,iBAAiB;IAOlD,aAAa,IAAI,IAAI;IAIrB,oBAAoB;IAIpB,aAAa,CAAC,OAAO,EAAE,MAAM;yCAjClB,wBAAwB;2CAAxB,wBAAwB;CAuCpC"}
|