ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.ts
selector | c8y-contents-plugins |
templateUrl | ./contents-plugins.component.html |
Properties |
Methods |
|
Inputs |
selectedVersionManifest |
Type : IManifest
|
Async ngOnChanges |
ngOnChanges()
|
Returns :
any
|
exportedPlugins$ |
Type : BehaviorSubject<ApplicationPlugin[]>
|
Default value : new BehaviorSubject([])
|
<p class="legend form-block">
{{ 'Plugins' | translate }}
</p>
<!-- empty state -->
<c8y-ui-empty-state
*ngIf="(exportedPlugins$ | async).length === 0"
[icon]="'plugin'"
[horizontal]="true"
[title]="'No plugins to display.' | translate"
[subtitle]="'This package doesn\'t contain plugins.' | translate"
></c8y-ui-empty-state>
<c8y-plugin-list [plugins$]="exportedPlugins$" [selectable]="false"></c8y-plugin-list>