{{ 'PAC.Plugin.InitializeResources' | translate: { Default: 'Initialize plugin resources' } }}
{{ plugin()?.meta?.displayName || plugin()?.name }}
{{ 'PAC.Plugin.InstallationTarget' | translate: { Default: 'Initialization target' } }}
{{ 'PAC.Plugin.TargetWorkspace' | translate: { Default: 'Target workspace' } }}
@if (workspaceLoading()) {
{{ 'PAC.Plugin.LoadingWorkspaces' | translate: { Default: 'Loading workspaces...' } }}
} @else if (workspaceError()) {
{{ workspaceError() }}
} @else { }
@if (installMode() === 'xpert') {
{{ 'PAC.Plugin.TargetXpert' | translate: { Default: 'Target Xpert' } }}
@if (xpertLoading()) {
{{ 'PAC.Plugin.LoadingXperts' | translate: { Default: 'Loading Xperts...' } }}
} @else if (xpertError()) {
{{ xpertError() }}
} @else if (!xperts().length) {
{{ 'PAC.Plugin.NoXpertsInWorkspace' | translate: { Default: 'No Xperts found in this workspace.' } }}
} @else {
}
}
{{ (installMode() === 'workspace' ? 'PAC.Plugin.WorkspaceResources' : 'PAC.Plugin.AssistantResources') | translate : { Default: installMode() === 'workspace' ? 'Workspace resources' : 'Assistant resources' } }}
{{ 'PAC.Plugin.BundleResourcesDesc' | translate : { Default: 'Live resource definitions are read from the installed plugin bundle before initialization.' } }}
@if (!componentsLoading() && componentStatesLoading()) {
{{ 'PAC.Plugin.CheckingResourceState' | translate: { Default: 'Checking installed state...' } }}
} @else if (componentStatesError()) {
{{ 'PAC.Plugin.ResourceStateUnavailable' | translate : { Default: 'Installed state could not be loaded. Re-initializing a resource will update it in place.' } }}
}
@if (resourceLoading()) {
} @else if (resourceError()) {
{{ resourceError() }}
} @else if (!components().length) {
{{ 'PAC.Plugin.NoPluginResourcesFound' | translate: { Default: 'This plugin does not expose any installable resources.' } }}
} @else if (!targetComponents().length) {
{{ (installMode() === 'workspace' ? 'PAC.Plugin.NoWorkspaceResourcesFound' : 'PAC.Plugin.NoAssistantResourcesFound' ) | translate : { Default: installMode() === 'workspace' ? 'This plugin does not expose workspace resources.' : 'This plugin does not expose assistant resources.' } }}
} @else {
@for (group of groupedComponents(); track group.type) {
{{ group.labelKey | translate: { Default: group.defaultLabel } }}
@for (component of group.items; track component.componentType + ':' + component.componentKey) { }
}
} @if (submitting()) { }
@if (actionError()) {
{{ actionError() }}
} @if (resultSummary(); as summary) {
{{ 'PAC.Plugin.InitializationResult' | translate: { Default: 'Initialization result' } }}
{{ summary.installations }} {{ 'PAC.Plugin.ResourceInstallations' | translate: { Default: 'installations' } }} @if (summary.pendingAuth) { {{ summary.pendingAuth }} {{ 'PAC.Plugin.ResourcePendingAuthCount' | translate: { Default: 'pending auth' } }} }
}