@if (trialCardBackgroundImage(); as backgroundImage) {
@if (trialShortcuts().length) {
@for (shortcut of trialShortcuts(); track shortcut.id) {
{{
shortcut.skillLabel
}}
{{ shortcut.labelValue | i18n }}
@if (activeTrialShortcutId() === shortcut.id) {
} @else {
}
}
}
}
{{ 'PAC.Plugin.IncludedContent' | translate: { Default: 'Included content' } }}
{{ contents().length }}
@if (contents().length) {
@for (content of contents(); track content.type + ':' + content.name) {
{{ content.displayName || content.name | i18n }}
{{ 'PAC.Plugin.MarketplaceContentType_' + content.type | translate: { Default: content.type } }}
@if (content.description) {
{{ content.description | i18n }}
}
@if (resourceContribution(content); as resource) {
@if (resource.type === 'skill') {
{{ 'PAC.Plugin.InstallResource' | translate: { Default: 'Install' } }}
} @else {
{{ 'PAC.Plugin.InstallResource' | translate: { Default: 'Install' } }}
}
} @else if (isAssistantTemplate(content)) {
{{ 'PAC.Plugin.InitializeAssistantTemplate' | translate: { Default: 'Initialize' } }}
}
}
} @else {
{{
'PAC.Plugin.NoExecutableContent'
| translate: { Default: 'No assistant templates or installable resources were declared.' }
}}
}
@if (appContents().length) {
{{ 'PAC.Plugin.Applications' | translate: { Default: 'Applications' } }}
{{ appContents().length }}
@for (app of appContents(); track app.type + ':' + app.name) {
{{ app.displayName || app.name | i18n }}
{{ 'PAC.Plugin.MarketplaceContentType_app' | translate: { Default: 'App' } }}
@if (appCapabilities(app).length) {
{{
'PAC.Plugin.CapabilityCount'
| translate
: {
Default: appCapabilities(app).length + ' capabilities',
count: appCapabilities(app).length
}
}}
}
@if (app.description) {
{{ app.description | i18n }}
}
@if (appSetupAction(app); as action) {
@switch (action.type) {
@case ('install-app') {
{{ 'PAC.Plugin.InstallApp' | translate: { Default: 'Install app' } }}
}
@case ('initialize-template') {
{{
'PAC.Plugin.InitializeAssistantTemplate' | translate: { Default: 'Initialize' }
}}
}
@case ('select-template') {
{{ 'PAC.Plugin.ChooseTemplate' | translate: { Default: 'Choose template' } }}
}
@default {
{{ 'PAC.Plugin.ViewDetails' | translate: { Default: 'View details' } }}
}
}
}
}
}
@if (selectedApp(); as app) {
{{ app.displayName || app.name | i18n }}
{{ 'PAC.Plugin.AppUsage' | translate: { Default: 'Usage' } }}
{{
'PAC.Plugin.CapabilityCount'
| translate
: { Default: appCapabilities(app).length + ' capabilities', count: appCapabilities(app).length }
}}
@if (app.description) {
{{ app.description | i18n }}
}
@if (appSetupAction(app); as action) {
@if (action.type === 'details') {
{{
'PAC.Plugin.RuntimeAppNoInstallRequired'
| translate
: {
Default:
'This app is provided by plugin runtime capabilities and does not need a separate app installation.'
}
}}
}
}
@if (appTemplates(app).length > 1) {
{{ 'PAC.Plugin.AssistantTemplates' | translate: { Default: 'Assistant templates' } }}
@for (template of appTemplates(app); track template.type + ':' + template.name) {
{{ template.displayName || template.name | i18n }}
{{
'PAC.Plugin.MarketplaceContentType_' + template.type
| translate: { Default: template.type }
}}
@if (template.description) {
{{ template.description | i18n }}
}
{{
'PAC.Plugin.InitializeAssistantTemplate' | translate: { Default: 'Initialize' }
}}
}
}
@if (appCapabilities(app); as capabilities) {
@if (capabilities.length) {
{{ 'PAC.Plugin.AppCapabilities' | translate: { Default: 'Included capabilities' } }}
@for (capability of capabilities; track capability.type + ':' + capability.name) {
{{ capability.displayName || capability.name | i18n }}
{{
'PAC.Plugin.MarketplaceContentType_' + capability.type
| translate: { Default: capability.type }
}}
@if (capability.description) {
{{ capability.description | i18n }}
}
}
} @else {
{{ 'PAC.Plugin.NoAppCapabilities' | translate: { Default: 'No app capabilities were declared.' } }}
}
}
}