@switch (status()) { @case ('ready') {
@if (showChangeSettingsAction()) { }
{{ 'PAC.Chat.CommonWelcomeDescription' | translate : { Default: 'Choose a digital expert from your workspace, or start directly in the common chat.' } }}
} @case ('loading') {
{{ 'PAC.Xpert.AssistantLoading' | translate: { Default: 'Preparing assistant…' } }}
} @case ('disabled') {
{{ 'PAC.Assistant.DisabledTitle' | translate: { Default: 'Assistant disabled' } }}
{{ 'PAC.Assistant.DisabledDesc' | translate : { Default: 'This assistant is configured but currently disabled for the active organization.' } }}
{{ 'PAC.Assistant.OpenSettings' | translate: { Default: 'Open Assistant Settings' } }}
} @case ('error') {
{{ 'PAC.Assistant.LoadFailed' | translate: { Default: 'Failed to load assistant configuration.' } }}
{{ 'PAC.Assistant.ErrorDesc' | translate : { Default: 'Check the assistant configuration and try again from the common chat page.' } }}
{{ 'PAC.Assistant.OpenSettings' | translate: { Default: 'Open Assistant Settings' } }}
} @default {
{{ 'PAC.Assistant.MissingTitle' | translate: { Default: 'Assistant not configured' } }}
{{ 'PAC.Assistant.MissingDesc' | translate : { Default: 'Configure the Common assistant in Settings / Assistants before starting a conversation here.' } }}
{{ 'PAC.Assistant.OpenSettings' | translate: { Default: 'Open Assistant Settings' } }}
} }
@if (filteredXperts().length > 0) { @for (item of filteredXperts(); track item.id) { } } @else if (searchControl.value) {
{{ 'PAC.Chat.NoXpertFound' | translate: { Default: 'No matching digital experts found' } }}
} @if (hasNoPublishedXperts()) {
{{ 'PAC.Chat.NoPublishedXpert' | translate: { Default: 'No published agents yet. Create one in your workspace and click Publish' } }}
{{ 'PAC.Chat.GotoWorkspace' | translate: { Default: 'Go to Workspace' } }}
}