@c8y/ngx-components 1021.63.2 → 1021.66.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/auth-configuration/sso-configuration/template-parts/signature-configuration.component.d.ts +7 -2
- package/auth-configuration/sso-configuration/template-parts/signature-configuration.component.d.ts.map +1 -1
- 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/breadcrumb/breadcrumb-item.component.d.ts +1 -1
- package/core/breadcrumb/breadcrumb-item.component.d.ts.map +1 -1
- package/core/breadcrumb/breadcrumb-outlet.component.d.ts +1 -1
- package/core/breadcrumb/breadcrumb-outlet.component.d.ts.map +1 -1
- package/core/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/core/breadcrumb/breadcrumb.component.d.ts.map +1 -1
- package/core/breadcrumb/breadcrumb.module.d.ts +7 -7
- package/core/breadcrumb/breadcrumb.module.d.ts.map +1 -1
- package/core/common/common.module.d.ts +38 -38
- package/core/common/date-format.service.d.ts +30 -0
- package/core/common/date-format.service.d.ts.map +1 -0
- package/core/common/date.pipe.d.ts +7 -3
- package/core/common/date.pipe.d.ts.map +1 -1
- package/core/common/index.d.ts +1 -0
- package/core/common/index.d.ts.map +1 -1
- package/core/common/outlet.directive.d.ts +1 -1
- package/core/common/outlet.directive.d.ts.map +1 -1
- package/core/common/user-preferences/user-preferences-store-current-user.d.ts +11 -0
- package/core/common/user-preferences/user-preferences-store-current-user.d.ts.map +1 -0
- package/core/common/user-preferences/user-preferences.service.d.ts +40 -1
- package/core/common/user-preferences/user-preferences.service.d.ts.map +1 -1
- package/core/date-picker/date-picker.component.d.ts +3 -1
- package/core/date-picker/date-picker.component.d.ts.map +1 -1
- package/core/date-time-picker/date-time-picker.component.d.ts +6 -3
- package/core/date-time-picker/date-time-picker.component.d.ts.map +1 -1
- package/core/dynamic-forms/date/date.type.component.d.ts +3 -0
- package/core/dynamic-forms/date/date.type.component.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 +7 -2
- package/core/plugins/plugins.service.d.ts.map +1 -1
- package/core/time-interval/time-interval.component.d.ts +4 -2
- package/core/time-interval/time-interval.component.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/ecosystem.module.d.ts +2 -1
- package/ecosystem/ecosystem.module.d.ts.map +1 -1
- package/ecosystem/packages/package-changelog-tab/package-changelog-tab.component.d.ts +15 -0
- package/ecosystem/packages/package-changelog-tab/package-changelog-tab.component.d.ts.map +1 -0
- package/ecosystem/packages/package-changelog.guard.d.ts +10 -0
- package/ecosystem/packages/package-changelog.guard.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 +8 -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/ecosystem/shared/index.d.ts +1 -0
- package/ecosystem/shared/index.d.ts.map +1 -1
- package/ecosystem/shared/package-changelog/package-changelog.component.d.ts +24 -0
- package/ecosystem/shared/package-changelog/package-changelog.component.d.ts.map +1 -0
- package/ecosystem/shared/shared-ecosystem.module.d.ts +2 -1
- package/ecosystem/shared/shared-ecosystem.module.d.ts.map +1 -1
- package/esm2022/auth-configuration/sso-configuration/template-parts/signature-configuration.component.mjs +11 -7
- package/esm2022/core/bottom-drawer/bottom-drawer-ref.mjs +9 -3
- package/esm2022/core/breadcrumb/breadcrumb-item.component.mjs +3 -3
- package/esm2022/core/breadcrumb/breadcrumb-outlet.component.mjs +19 -9
- package/esm2022/core/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/core/breadcrumb/breadcrumb.module.mjs +16 -5
- package/esm2022/core/common/common.module.mjs +6 -6
- package/esm2022/core/common/date-format.service.mjs +81 -0
- package/esm2022/core/common/date.pipe.mjs +29 -6
- package/esm2022/core/common/index.mjs +2 -1
- package/esm2022/core/common/outlet.directive.mjs +4 -3
- package/esm2022/core/common/user-preferences/user-preferences-store-current-user.mjs +22 -0
- package/esm2022/core/common/user-preferences/user-preferences.service.mjs +106 -16
- package/esm2022/core/date-picker/date-picker.component.mjs +11 -4
- package/esm2022/core/date-time-picker/date-time-picker.component.mjs +20 -11
- package/esm2022/core/dynamic-forms/date/date.type.component.mjs +12 -4
- package/esm2022/core/plugins/plugins.model.mjs +1 -1
- package/esm2022/core/plugins/plugins.service.mjs +31 -5
- package/esm2022/core/time-interval/time-interval.component.mjs +9 -2
- package/esm2022/ecosystem/application-plugins/application-plugin-readme.component.mjs +26 -0
- package/esm2022/ecosystem/application-plugins/application-plugins.component.mjs +29 -14
- 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-plugins/update-plugin-of-app/update-plugin-of-app.component.mjs +3 -3
- package/esm2022/ecosystem/application-properties/update-application-modal/update-application-modal.component.mjs +1 -1
- package/esm2022/ecosystem/ecosystem.module.mjs +21 -5
- package/esm2022/ecosystem/packages/package-changelog-tab/package-changelog-tab.component.mjs +33 -0
- package/esm2022/ecosystem/packages/package-changelog.guard.mjs +22 -0
- 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 +27 -8
- package/esm2022/ecosystem/packages/package-versions/packages-versions.component.mjs +22 -8
- package/esm2022/ecosystem/shared/index.mjs +2 -1
- package/esm2022/ecosystem/shared/list-filters/list-filters.component.mjs +3 -3
- package/esm2022/ecosystem/shared/package-changelog/package-changelog.component.mjs +82 -0
- package/esm2022/ecosystem/shared/package-version-select/package-version-select.component.mjs +3 -3
- package/esm2022/ecosystem/shared/shared-ecosystem.module.mjs +12 -6
- package/esm2022/operations/bulk-operation-scheduler/operation-scheduler.component.mjs +9 -7
- package/esm2022/operations/bulk-operations-list/bulk-operations-list.component.mjs +1 -1
- package/esm2022/upgrade/ng1/downgraded.services.mjs +3 -2
- package/esm2022/upgrade/ng1/index.mjs +3 -2
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +9 -5
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +209 -142
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +96 -13
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +336 -186
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs +7 -5
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade.mjs +3 -1
- package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +833 -550
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +45 -6
- package/locales/es.po +45 -6
- package/locales/fr.po +45 -6
- package/locales/ja_JP.po +45 -6
- package/locales/ko.po +45 -6
- package/locales/locales.pot +42 -6
- package/locales/nl.po +45 -6
- package/locales/pl.po +45 -6
- package/locales/pt_BR.po +45 -6
- package/locales/zh_CN.po +45 -6
- package/locales/zh_TW.po +45 -6
- package/operations/bulk-operation-scheduler/operation-scheduler.component.d.ts +4 -2
- package/operations/bulk-operation-scheduler/operation-scheduler.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/upgrade/ng1/downgraded.services.d.ts +1 -0
- package/upgrade/ng1/downgraded.services.d.ts.map +1 -1
- package/upgrade/ng1/index.d.ts.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { DateRangePickerConfig, TimeInterval, TimeIntervalOption } from './time-interval.model';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TimeIntervalComponent implements AfterViewInit {
|
|
4
|
+
export declare class TimeIntervalComponent implements OnInit, AfterViewInit {
|
|
5
5
|
intvervals: TimeIntervalOption[];
|
|
6
6
|
CUSTOM: {
|
|
7
7
|
label: "Custom";
|
|
@@ -12,6 +12,8 @@ export declare class TimeIntervalComponent implements AfterViewInit {
|
|
|
12
12
|
selectedInterval: TimeIntervalOption;
|
|
13
13
|
interval: EventEmitter<TimeInterval>;
|
|
14
14
|
customRange: Date[];
|
|
15
|
+
private dateFormatService;
|
|
16
|
+
ngOnInit(): void;
|
|
15
17
|
ngAfterViewInit(): void;
|
|
16
18
|
changeInterval(intervalOption: TimeIntervalOption): void;
|
|
17
19
|
changeCustomRange(range: Date[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-interval.component.d.ts","sourceRoot":"","sources":["../../../core/time-interval/time-interval.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"time-interval.component.d.ts","sourceRoot":"","sources":["../../../core/time-interval/time-interval.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,YAAY,EAGZ,MAAM,EAEP,MAAM,eAAe,CAAC;AAIvB,OAAO,EAEL,qBAAqB,EAGrB,YAAY,EACZ,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;;AAG/B,qBAMa,qBAAsB,YAAW,MAAM,EAAE,aAAa;IACjE,UAAU,uBAAoB;IAC9B,MAAM;;MAAU;IAGhB,aAAa,EAAE,IAAI,CAAC;IAGpB,aAAa,EAAE,IAAI,CAAC;IAGpB,qBAAqB,EAAE,qBAAqB,CAAC;IAG7C,gBAAgB,EAAE,kBAAkB,CAAa;IAGjD,QAAQ,EAAE,YAAY,CAAC,YAAY,CAAC,CAAsB;IAE1D,WAAW,EAAE,IAAI,EAAE,CAAC;IAEpB,OAAO,CAAC,iBAAiB,CAA6B;IAEtD,QAAQ,IAAI,IAAI;IAMhB,eAAe,IAAI,IAAI;IAIvB,cAAc,CAAC,cAAc,EAAE,kBAAkB;IAWjD,iBAAiB,CAAC,KAAK,EAAE,IAAI,EAAE;IAI/B,MAAM;IAQN,OAAO,CAAC,UAAU;IAMlB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,OAAO;IASf,OAAO,CAAC,YAAY;yCAlFT,qBAAqB;2CAArB,qBAAqB;CAwFjC"}
|
|
@@ -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","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,EAEd,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAEjB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAiC,UAAU,EAAW,MAAM,MAAM,CAAC;;AAQ3F,qBAIa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IAuIjE,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,mBAAmB;IA5I7B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAgC;IAClD,gBAAgB,SAAiB;IAExB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IAEhC,QAAQ,EAAE,iBAAiB,CAAC;IAE5B,cAAc,EAAE,eAAe,CAAC,wBAAwB,CAAC,CAA2B;IACpF,oBAAoB,EAAE,eAAe,CAAC,iBAAiB,EAAE,CAAC,CAA2B;IACrF,YAAY,EAAE,eAAe,CAAC,iBAAiB,EAAE,CAAC,CAA2B;IAE7E,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,EAAE,CAAC,CAMhD;IACF,gBAAgB,kCAEd;IACF,WAAW,sBAoCT;IACF,GAAG,EAAE,YAAY,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAgC;IAC7C,kBAAkB,EAAE,MAAM,CAAiC;IAC3D,iBAAiB,EAAE,MAAM,CAAgC;IACzD,cAAc,EAAE,aAAa,EAAE,CAA4B;IAC3D,kBAAkB,EAAE,iBAAiB,EAAE,CAAgC;IACvE,oBAAoB,EAAE,mBAAmB,EAAE,CAAM;IACjD,gBAAgB,2BAAqC;IACrD,aAAa,0BAAoC;IACjD,iBAAiB,qDAA+D;IAChF,cAAc,sEAAgF;IAC9F,UAAU,EAAE,UAAU,CAGpB;IACF,cAAc,EAAE,cAAc,CAM5B;IACF,OAAO,EAAE,MAAM,EAAE,CAiDf;IACF,OAAO,CAAC,QAAQ,CAAgC;gBAGtC,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB;IAGlD,QAAQ;IAKF,QAAQ;IASR,cAAc;IAOd,cAAc;IAkEd,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE;IAwC/B,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,EAAE;IAKzD,iBAAiB,IAAI,aAAa,EAAE;IAyCpC,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAOjD,qBAAqB,IAAI,iBAAiB,EAAE;IAWtC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,SAAS,UAAQ;IAqBlF,OAAO;IAIP,WAAW;IAKX,OAAO,CAAC,sCAAsC;YAehC,yBAAyB;IAKvC,OAAO,CAAC,WAAW;YAeL,gBAAgB;YAiBhB,uBAAuB;YAKvB,uBAAuB;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"}
|
|
@@ -31,9 +31,10 @@ import * as i29 from "@c8y/ngx-components/ecosystem/license-confirm";
|
|
|
31
31
|
import * as i30 from "@c8y/ngx-components/icon-selector";
|
|
32
32
|
import * as i31 from "@angular/cdk/a11y";
|
|
33
33
|
import * as i32 from "@c8y/ngx-components/ecosystem/archived-confirm";
|
|
34
|
+
import * as i33 from "./packages/package-changelog-tab/package-changelog-tab.component";
|
|
34
35
|
export declare class EcosystemModule {
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<EcosystemModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EcosystemModule, [typeof i1.ApplicationListComponent, typeof i2.MicroserviceListComponent, typeof i3.ApplicationPropertiesComponent, typeof i4.AddMicroserviceComponent, typeof i5.ActivityLogComponent, typeof i6.AddWebApplicationComponent, typeof i7.AddExternalApplicationComponent, typeof i8.InstallFromPackageComponent, typeof i9.PackagesListComponent, typeof i10.PackageDetailsComponent, typeof i11.DeployApplicationComponent, typeof i12.AddPackageComponent, typeof i13.FeatureListComponent, typeof i14.PackageVersionsComponent, typeof i15.PackageVersionsPluginsComponent, typeof i16.PackageVersionsAppsComponent, typeof i17.PackageContentsComponent, typeof i18.PackageVersionsListComponent, typeof i19.SubscriptionModalComponent, typeof i20.UpdateApplicationModalComponent], [typeof i21.CoreModule, typeof i22.BsDropdownModule, typeof i23.TooltipModule, typeof i21.FormsModule, typeof i24.ReactiveFormsModule, typeof i25.RouterModule, typeof i26.PopoverModule, typeof i27.ApplicationPluginsModule, typeof i28.SharedEcosystemModule, typeof i29.LicenseConfirmModule, typeof i30.IconSelectorModule, typeof i31.A11yModule, typeof i32.ArchivedConfirmModule], [typeof i3.ApplicationPropertiesComponent, typeof i20.UpdateApplicationModalComponent]>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EcosystemModule, [typeof i1.ApplicationListComponent, typeof i2.MicroserviceListComponent, typeof i3.ApplicationPropertiesComponent, typeof i4.AddMicroserviceComponent, typeof i5.ActivityLogComponent, typeof i6.AddWebApplicationComponent, typeof i7.AddExternalApplicationComponent, typeof i8.InstallFromPackageComponent, typeof i9.PackagesListComponent, typeof i10.PackageDetailsComponent, typeof i11.DeployApplicationComponent, typeof i12.AddPackageComponent, typeof i13.FeatureListComponent, typeof i14.PackageVersionsComponent, typeof i15.PackageVersionsPluginsComponent, typeof i16.PackageVersionsAppsComponent, typeof i17.PackageContentsComponent, typeof i18.PackageVersionsListComponent, typeof i19.SubscriptionModalComponent, typeof i20.UpdateApplicationModalComponent], [typeof i21.CoreModule, typeof i22.BsDropdownModule, typeof i23.TooltipModule, typeof i21.FormsModule, typeof i24.ReactiveFormsModule, typeof i25.RouterModule, typeof i26.PopoverModule, typeof i27.ApplicationPluginsModule, typeof i28.SharedEcosystemModule, typeof i29.LicenseConfirmModule, typeof i30.IconSelectorModule, typeof i31.A11yModule, typeof i32.ArchivedConfirmModule, typeof i33.PackageChangelogTabComponent], [typeof i3.ApplicationPropertiesComponent, typeof i20.UpdateApplicationModalComponent]>;
|
|
37
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<EcosystemModule>;
|
|
38
39
|
}
|
|
39
40
|
//# sourceMappingURL=ecosystem.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecosystem.module.d.ts","sourceRoot":"","sources":["../../ecosystem/ecosystem.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecosystem.module.d.ts","sourceRoot":"","sources":["../../ecosystem/ecosystem.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmJA,qBAoFa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { IApplication } from '@c8y/client';
|
|
4
|
+
import { ContextRouteService } from '@c8y/ngx-components';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PackageChangelogTabComponent implements OnInit {
|
|
7
|
+
private activatedRoute;
|
|
8
|
+
private contextRouteService;
|
|
9
|
+
package: IApplication;
|
|
10
|
+
constructor(activatedRoute: ActivatedRoute, contextRouteService: ContextRouteService);
|
|
11
|
+
ngOnInit(): Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PackageChangelogTabComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PackageChangelogTabComponent, "c8y-package-changelog-tab", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=package-changelog-tab.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-changelog-tab.component.d.ts","sourceRoot":"","sources":["../../../../ecosystem/packages/package-changelog-tab/package-changelog-tab.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAIL,mBAAmB,EAGpB,MAAM,qBAAqB,CAAC;;AAI7B,qBAca,4BAA6B,YAAW,MAAM;IAIvD,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,mBAAmB;IAJ7B,OAAO,EAAE,YAAY,CAAM;gBAGjB,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,mBAAmB;IAG5C,QAAQ;yCARH,4BAA4B;2CAA5B,4BAA4B;CAWxC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PackageChangelogGuard {
|
|
4
|
+
private pluginsService;
|
|
5
|
+
private router;
|
|
6
|
+
canActivate(route: ActivatedRouteSnapshot): Promise<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PackageChangelogGuard, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PackageChangelogGuard>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=package-changelog.guard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-changelog.guard.d.ts","sourceRoot":"","sources":["../../../ecosystem/packages/package-changelog.guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAU,MAAM,iBAAiB,CAAC;;AAGjE,qBACa,qBAAqB;IAChC,OAAO,CAAC,cAAc,CAA0B;IAChD,OAAO,CAAC,MAAM,CAAkB;IAE1B,WAAW,CAAC,KAAK,EAAE,sBAAsB;yCAJpC,qBAAqB;6CAArB,qBAAqB;CAWjC"}
|
|
@@ -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,20 @@ 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;
|
|
17
|
+
previousVersion: string | null;
|
|
15
18
|
readonly packageVersionProperties: PropertiesListItem[];
|
|
16
19
|
constructor(activatedRoute: ActivatedRoute, applicationService: ApplicationService, alertService: AlertService, contextRouteService: ContextRouteService);
|
|
20
|
+
showPluginOverview(plugin: ApplicationPlugin): void;
|
|
17
21
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
18
22
|
loadManifest(version: string): Promise<void>;
|
|
19
23
|
private getManifest;
|
|
24
|
+
private getPreviousVersion;
|
|
20
25
|
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>;
|
|
26
|
+
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
27
|
}
|
|
23
28
|
//# 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;IAajC,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,mBAAmB;IAfpB,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;IAClB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,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;IAOlC,YAAY,CAAC,OAAO,EAAE,MAAM;YAOpB,WAAW;IASzB,OAAO,CAAC,kBAAkB;yCA9Cf,wBAAwB;2CAAxB,wBAAwB;CA0DpC"}
|
|
@@ -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"}
|
|
@@ -15,4 +15,5 @@ export * from './list-filters/list-filters.model';
|
|
|
15
15
|
export * from './list-filters/list-filters.component';
|
|
16
16
|
export * from './package-availability.service';
|
|
17
17
|
export * from './archived-filter/archived-filter.component';
|
|
18
|
+
export * from './package-changelog/package-changelog.component';
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ecosystem/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yFAAyF,CAAC;AACxG,cAAc,qGAAqG,CAAC;AACpH,cAAc,yDAAyD,CAAC;AACxE,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ecosystem/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yFAAyF,CAAC;AACxG,cAAc,qGAAqG,CAAC;AACpH,cAAc,yDAAyD,CAAC;AACxE,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { IApplication } from '@c8y/client';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Component to display the change log of a package.
|
|
6
|
+
* It fetches the change log file from the package's repository and displays it.
|
|
7
|
+
* It can fetch the change log for the latest version or a specific version if provided.
|
|
8
|
+
* It can also compare the change log with the previous version if provided and display the difference between the two versions.
|
|
9
|
+
*/
|
|
10
|
+
export declare class PackageChangelogComponent implements OnChanges {
|
|
11
|
+
package: IApplication;
|
|
12
|
+
selectedVersion: string;
|
|
13
|
+
previousVersion: string | null;
|
|
14
|
+
changelog: string;
|
|
15
|
+
baseUrl: string;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
private pluginsService;
|
|
18
|
+
ngOnChanges(): Promise<void>;
|
|
19
|
+
private getChangeLog;
|
|
20
|
+
private baseUrlForVersion;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PackageChangelogComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PackageChangelogComponent, "c8y-contents-changelog", never, { "package": { "alias": "package"; "required": false; }; "selectedVersion": { "alias": "selectedVersion"; "required": false; }; "previousVersion": { "alias": "previousVersion"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=package-changelog.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-changelog.component.d.ts","sourceRoot":"","sources":["../../../../ecosystem/shared/package-changelog/package-changelog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAA4B,SAAS,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;AAU3C;;;;;GAKG;AACH,qBAaa,yBAA0B,YAAW,SAAS;IAChD,OAAO,EAAE,YAAY,CAAC;IACtB,eAAe,SAAY;IAC3B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,UAAQ;IAEjB,OAAO,CAAC,cAAc,CAA0B;IAE1C,WAAW;YAWH,YAAY;IAqC1B,OAAO,CAAC,iBAAiB;yCA1Dd,yBAAyB;2CAAzB,yBAAyB;CA6DrC"}
|
|
@@ -17,9 +17,10 @@ import * as i15 from "@angular/cdk/a11y";
|
|
|
17
17
|
import * as i16 from "@angular/forms";
|
|
18
18
|
import * as i17 from "ngx-bootstrap/popover";
|
|
19
19
|
import * as i18 from "@c8y/ngx-components/icon-selector";
|
|
20
|
+
import * as i19 from "./package-changelog/package-changelog.component";
|
|
20
21
|
export declare class SharedEcosystemModule {
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedEcosystemModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedEcosystemModule, [typeof i1.AddApplicationComponent, typeof i2.ApplicationPropertiesFormComponent, typeof i3.UploadArchiveComponent, typeof i4.ApplicationCardComponent, typeof i5.DuplicateApplicationListComponent, typeof i6.DuplicateApplicationPropertiesComponent, typeof i7.DuplicateApplicationComponent, typeof i8.PackageVersionSelectComponent, typeof i9.TranslatePackageLabelPipe, typeof i10.ListFiltersComponent, typeof i11.ArchivedFilterComponent], [typeof i12.CoreModule, typeof i13.BsDropdownModule, typeof i14.TooltipModule, typeof i15.A11yModule, typeof i16.FormsModule, typeof i17.PopoverModule, typeof i16.ReactiveFormsModule, typeof i18.IconSelectorModule], [typeof i1.AddApplicationComponent, typeof i2.ApplicationPropertiesFormComponent, typeof i3.UploadArchiveComponent, typeof i4.ApplicationCardComponent, typeof i5.DuplicateApplicationListComponent, typeof i6.DuplicateApplicationPropertiesComponent, typeof i7.DuplicateApplicationComponent, typeof i8.PackageVersionSelectComponent, typeof i9.TranslatePackageLabelPipe, typeof i10.ListFiltersComponent, typeof i11.ArchivedFilterComponent]>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedEcosystemModule, [typeof i1.AddApplicationComponent, typeof i2.ApplicationPropertiesFormComponent, typeof i3.UploadArchiveComponent, typeof i4.ApplicationCardComponent, typeof i5.DuplicateApplicationListComponent, typeof i6.DuplicateApplicationPropertiesComponent, typeof i7.DuplicateApplicationComponent, typeof i8.PackageVersionSelectComponent, typeof i9.TranslatePackageLabelPipe, typeof i10.ListFiltersComponent, typeof i11.ArchivedFilterComponent], [typeof i12.CoreModule, typeof i13.BsDropdownModule, typeof i14.TooltipModule, typeof i15.A11yModule, typeof i16.FormsModule, typeof i17.PopoverModule, typeof i16.ReactiveFormsModule, typeof i18.IconSelectorModule, typeof i19.PackageChangelogComponent], [typeof i1.AddApplicationComponent, typeof i2.ApplicationPropertiesFormComponent, typeof i3.UploadArchiveComponent, typeof i4.ApplicationCardComponent, typeof i5.DuplicateApplicationListComponent, typeof i6.DuplicateApplicationPropertiesComponent, typeof i7.DuplicateApplicationComponent, typeof i8.PackageVersionSelectComponent, typeof i9.TranslatePackageLabelPipe, typeof i10.ListFiltersComponent, typeof i11.ArchivedFilterComponent, typeof i19.PackageChangelogComponent]>;
|
|
23
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedEcosystemModule>;
|
|
24
25
|
}
|
|
25
26
|
//# sourceMappingURL=shared-ecosystem.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-ecosystem.module.d.ts","sourceRoot":"","sources":["../../../ecosystem/shared/shared-ecosystem.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shared-ecosystem.module.d.ts","sourceRoot":"","sources":["../../../ecosystem/shared/shared-ecosystem.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA,qBAsDa,qBAAqB;yCAArB,qBAAqB;0CAArB,qBAAqB;0CAArB,qBAAqB;CAAG"}
|