@dataclouder/ngx-agent-cards 0.1.34 → 0.1.36

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.
Files changed (75) hide show
  1. package/fesm2022/dataclouder-ngx-agent-cards.mjs +269 -330
  2. package/fesm2022/dataclouder-ngx-agent-cards.mjs.map +1 -1
  3. package/index.d.ts +1080 -3
  4. package/package.json +1 -1
  5. package/lib/components/chat-container/chat-container.component.d.ts +0 -48
  6. package/lib/components/chat-container/chat-footer/chat-footer.component.d.ts +0 -57
  7. package/lib/components/chat-container/chat-header/chat-header.component.d.ts +0 -23
  8. package/lib/components/chat-container/chat-messages-list/chat-message/chat-message-orchestrator/message-content-displayer/extract-tags.d.ts +0 -4
  9. package/lib/components/chat-container/chat-messages-list/chat-message/chat-message-orchestrator/message-content-displayer/message-content-displayer.d.ts +0 -49
  10. package/lib/components/chat-container/chat-messages-list/chat-message/chat-message-orchestrator/message-orchestrator.component.d.ts +0 -15
  11. package/lib/components/chat-container/chat-messages-list/chat-message/chat-message.component.d.ts +0 -20
  12. package/lib/components/chat-container/chat-messages-list/chat-message/chat-message.utils.d.ts +0 -6
  13. package/lib/components/chat-container/chat-messages-list/chat-messages-list.component.d.ts +0 -18
  14. package/lib/components/chat-container/chat-settings/dc-conversation-userchat-settings.component.d.ts +0 -51
  15. package/lib/components/conversation-info/conversation-inspector.d.ts +0 -24
  16. package/lib/components/cost-details/cost-details.component.d.ts +0 -16
  17. package/lib/components/dc-agent-card-details/dc-agent-card-details.component.d.ts +0 -19
  18. package/lib/components/dc-agent-card-lists/agent-card-default-ui/agent-card-default-ui.component.d.ts +0 -25
  19. package/lib/components/dc-agent-card-lists/dc-agent-card-lists.component.d.ts +0 -25
  20. package/lib/components/dc-agent-form/account-platform/account-platform-form.component.d.ts +0 -20
  21. package/lib/components/dc-agent-form/agent-task-form/agent-task-form.component.d.ts +0 -20
  22. package/lib/components/dc-agent-form/dc-agent-card-form.component.d.ts +0 -81
  23. package/lib/components/dc-agent-form/dc-character-card-form/dc-character-card-form.component.d.ts +0 -28
  24. package/lib/components/dc-agent-form/dc-conversation-flow-form/dc-conversation-flow-form.component.d.ts +0 -38
  25. package/lib/components/dc-agent-form/dc-conversation-settings-form/dc-conversation-settings-form.component.d.ts +0 -16
  26. package/lib/components/dc-agent-form/dc-do-action-form/dc-do-action-form.component.d.ts +0 -29
  27. package/lib/components/dc-agent-form/dc-dynamic-conditions-form/dc-dynamic-conditions-form.component.d.ts +0 -25
  28. package/lib/components/dc-agent-form/dc-dynamic-criteria-form/dc-dynamic-criteria-form.component.d.ts +0 -19
  29. package/lib/components/dc-agent-form/dc-manageable-form/dc-manageable-form.component.d.ts +0 -11
  30. package/lib/components/dc-agent-form/dc-voice-tts-form/dc-voice-tts-form.component.d.ts +0 -12
  31. package/lib/components/dc-agent-form/form-definition.service.d.ts +0 -81
  32. package/lib/components/dc-agent-form/form-group.utils.d.ts +0 -99
  33. package/lib/components/feedback-evaluation/feedback-evaluation.component.d.ts +0 -15
  34. package/lib/components/prompt-preview-dialog/prompt-conversation-types-dialog.d.ts +0 -18
  35. package/lib/components/prompt-preview-dialog/prompt-preview-dialog.component.d.ts +0 -11
  36. package/lib/components/provider-selector/provider-selector.component.d.ts +0 -60
  37. package/lib/components/translate-dialog/translate-dialog.component.d.ts +0 -20
  38. package/lib/models/agent-card-abstract.model.d.ts +0 -5
  39. package/lib/models/agent.models.d.ts +0 -301
  40. package/lib/models/agent.utils.d.ts +0 -1
  41. package/lib/models/conversation-enums.d.ts +0 -43
  42. package/lib/models/conversation-prompts.d.ts +0 -2
  43. package/lib/models/stavernUtils.d.ts +0 -15
  44. package/lib/models/user-data-exchange.d.ts +0 -25
  45. package/lib/pipes/format-key.pipe.d.ts +0 -7
  46. package/lib/pipes/parse-card.pipe.d.ts +0 -10
  47. package/lib/pipes/safe-json.pipe.d.ts +0 -15
  48. package/lib/pipes/scenario.pipe.d.ts +0 -18
  49. package/lib/pipes/speed.pipe.d.ts +0 -14
  50. package/lib/pipes/truncate.pipe.d.ts +0 -7
  51. package/lib/prompts/dynamic-criteria.prompts.d.ts +0 -2
  52. package/lib/prompts/evaluation-performance-prompt.d.ts +0 -38
  53. package/lib/services/ai-generation.service.d.ts +0 -10
  54. package/lib/services/audio.service.d.ts +0 -27
  55. package/lib/services/chat-monitor.service.d.ts +0 -10
  56. package/lib/services/context-engine.service.d.ts +0 -16
  57. package/lib/services/conversation-cost.service.d.ts +0 -34
  58. package/lib/services/conversation-info.service.d.ts +0 -12
  59. package/lib/services/conversation.service.d.ts +0 -67
  60. package/lib/services/cost-details.service.d.ts +0 -7
  61. package/lib/services/dc-conversation-builder.service.d.ts +0 -29
  62. package/lib/services/default-agent-service.d.ts +0 -25
  63. package/lib/services/dynamic-criteria.service.d.ts +0 -13
  64. package/lib/services/dynamic-flow-task.service.d.ts +0 -16
  65. package/lib/services/dynamic-flow.service.d.ts +0 -15
  66. package/lib/services/evaluation.service.d.ts +0 -36
  67. package/lib/services/global-tools.service.d.ts +0 -7
  68. package/lib/services/message-orchestration.service.d.ts +0 -29
  69. package/lib/services/message-processing.service.d.ts +0 -15
  70. package/lib/services/messages-state.service.d.ts +0 -12
  71. package/lib/services/popup.service.d.ts +0 -41
  72. package/lib/utils/icons/extraction.regex.d.ts +0 -9
  73. package/lib/utils/icons/icon-map.d.ts +0 -6
  74. package/lib/utils/icons/icons.component.d.ts +0 -15
  75. package/public-api.d.ts +0 -32
@@ -1,16 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import { VoiceTTSOptions, ConversationTypeOptions, TextEngineOptions } from '../../../models/conversation-enums';
3
- import * as i0 from "@angular/core";
4
- export declare class DcConversationSettingsFormComponent {
5
- form: FormGroup;
6
- textEngineOptions: typeof TextEngineOptions;
7
- conversationOptions: typeof ConversationTypeOptions;
8
- voiceTTSOptions: typeof VoiceTTSOptions;
9
- private dialogService;
10
- get mainVoiceFormGroup(): FormGroup;
11
- get secondaryVoiceFormGroup(): FormGroup;
12
- get modelFormGroup(): FormGroup;
13
- openConversationTypeDialog(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DcConversationSettingsFormComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<DcConversationSettingsFormComponent, "dc-conversation-settings-form", never, { "form": { "alias": "form"; "required": false; }; "textEngineOptions": { "alias": "textEngineOptions"; "required": false; }; "conversationOptions": { "alias": "conversationOptions"; "required": false; }; "voiceTTSOptions": { "alias": "voiceTTSOptions"; "required": false; }; }, {}, never, never, true, never>;
16
- }
@@ -1,29 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { DoActionFormGroup, EDoActionType } from '../form-group.utils';
3
- import { SystemPromptType } from '../form-group.utils';
4
- import * as i0 from "@angular/core";
5
- export declare class DcDoActionFormComponent {
6
- formGroup: DoActionFormGroup;
7
- conditionIndex: number;
8
- doItemIndex: number;
9
- systemPromptTypeOptions: {
10
- label: string;
11
- value: SystemPromptType;
12
- }[];
13
- removeItem: EventEmitter<{
14
- conditionIndex: number;
15
- doItemIndex: number;
16
- }>;
17
- doActionTypeOptions: {
18
- label: string;
19
- value: EDoActionType;
20
- }[];
21
- dynamicFlowTaskTypeOptions: {
22
- label: string;
23
- value: import("@dataclouder/ngx-agent-cards").EDynamicFlowTaskType;
24
- }[];
25
- EDoActionType: typeof EDoActionType;
26
- onRemoveItem(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<DcDoActionFormComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<DcDoActionFormComponent, "dc-do-action-form", never, { "formGroup": { "alias": "formGroup"; "required": true; }; "conditionIndex": { "alias": "conditionIndex"; "required": true; }; "doItemIndex": { "alias": "doItemIndex"; "required": true; }; "systemPromptTypeOptions": { "alias": "systemPromptTypeOptions"; "required": true; }; }, { "removeItem": "removeItem"; }, never, never, true, never>;
29
- }
@@ -1,25 +0,0 @@
1
- import { FormArray, FormControl, AbstractControl } from '@angular/forms';
2
- import { EntityWhatOptions, EntityWhenOptions } from '../../../models/agent.models';
3
- import { SystemPromptType, DynamicConditionFormGroup, DoActionFormGroup } from '../form-group.utils';
4
- import * as i0 from "@angular/core";
5
- export declare class DcDynamicConditionsFormComponent {
6
- private formGroupService;
7
- dynamicConditionsArray: FormArray<DynamicConditionFormGroup>;
8
- dynamicConditionsPath: string;
9
- entityWhatOptions: typeof EntityWhatOptions;
10
- entityWhenOptions: typeof EntityWhenOptions;
11
- systemPromptTypeOptions: {
12
- label: string;
13
- value: SystemPromptType;
14
- }[];
15
- addDynamicCondition(): void;
16
- removeDynamicCondition(index: number): void;
17
- getDoArray(conditionIndex: number): FormArray<DoActionFormGroup>;
18
- getDoControls(conditionIndex: number): AbstractControl[];
19
- getDoItemFormGroup(conditionIndex: number, doItemIndex: number): DoActionFormGroup;
20
- addDoControl(doArray: FormArray<DoActionFormGroup>): void;
21
- removeDoItem(conditionIndex: number, doItemIndex: number): void;
22
- getFormControl(control: AbstractControl | null | undefined): FormControl;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<DcDynamicConditionsFormComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<DcDynamicConditionsFormComponent, "dc-dynamic-conditions-form", never, { "dynamicConditionsArray": { "alias": "dynamicConditionsArray"; "required": true; }; "dynamicConditionsPath": { "alias": "dynamicConditionsPath"; "required": true; }; "entityWhatOptions": { "alias": "entityWhatOptions"; "required": true; }; "entityWhenOptions": { "alias": "entityWhenOptions"; "required": true; }; "systemPromptTypeOptions": { "alias": "systemPromptTypeOptions"; "required": true; }; }, {}, never, never, true, never>;
25
- }
@@ -1,19 +0,0 @@
1
- import { FormArray, FormControl, AbstractControl } from '@angular/forms';
2
- import { DynamicCriteriaFormGroup } from '../form-group.utils';
3
- import { IDynamicCriteria } from '../../../models/agent.models';
4
- import * as i0 from "@angular/core";
5
- export declare class DcDynamicCriteriaFormComponent {
6
- private formGroupService;
7
- formArray: FormArray<DynamicCriteriaFormGroup>;
8
- title: string;
9
- mode: 'select' | 'free-text';
10
- availableItems: IDynamicCriteria[];
11
- displayDialog: boolean;
12
- openDialog(): void;
13
- addItem(item?: IDynamicCriteria): void;
14
- removeItem(index: number): void;
15
- getItemFormGroup(index: number): DynamicCriteriaFormGroup;
16
- getFormControl(control: AbstractControl | null | undefined): FormControl;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<DcDynamicCriteriaFormComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<DcDynamicCriteriaFormComponent, "dc-dynamic-criteria-form", never, { "formArray": { "alias": "formArray"; "required": true; }; "title": { "alias": "title"; "required": true; }; "mode": { "alias": "mode"; "required": false; }; "availableItems": { "alias": "availableItems"; "required": false; }; }, {}, never, never, true, never>;
19
- }
@@ -1,11 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class DcManageableFormComponent {
4
- form: import("@angular/core").InputSignal<FormGroup<any>>;
5
- statusOptions: {
6
- label: string;
7
- value: string;
8
- }[];
9
- static ɵfac: i0.ɵɵFactoryDeclaration<DcManageableFormComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<DcManageableFormComponent, "dc-manageable-form", never, { "form": { "alias": "form"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
11
- }
@@ -1,12 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class DcVoiceTtsFormComponent {
4
- private dialogService;
5
- private cdr;
6
- form: import("@angular/core").InputSignal<FormGroup<any>>;
7
- title: import("@angular/core").InputSignal<string>;
8
- voiceTTSOptions: import("@angular/core").InputSignal<any[]>;
9
- openVoiceSelector(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DcVoiceTtsFormComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DcVoiceTtsFormComponent, "dc-voice-tts-form", never, { "form": { "alias": "form"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "voiceTTSOptions": { "alias": "voiceTTSOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
- }
@@ -1,81 +0,0 @@
1
- import { FormGroup, FormArray, FormControl, AbstractControl } from '@angular/forms';
2
- import { SimpleAgentTaskFormGroup, DynamicConditionFormGroup, TriggerTasksFormGroup, ConversationFlowFormGroup, DoActionFormGroup } from './form-group.utils';
3
- import { ConversationType, TextEngines } from '../../models/conversation-enums';
4
- import { IAIModel, EModelQuality } from '@dataclouder/ngx-core';
5
- import { DoAction, EAgentType, IAgentCard, IDynamicCondition, IDynamicCriteria, SimpleAgentTask, VoiceTTS } from '../../models/agent.models';
6
- import * as i0 from "@angular/core";
7
- export declare class FormGroupService {
8
- private fb;
9
- createAgentCardForm(): FormGroup<{
10
- version: FormControl<string>;
11
- id: FormControl<string>;
12
- title: FormControl<string>;
13
- description: FormControl<string>;
14
- lang: FormControl<string>;
15
- agentType: FormControl<EAgentType>;
16
- characterCard: FormGroup<any>;
17
- conversationSettings: FormGroup<{
18
- textEngine: FormControl<TextEngines>;
19
- conversationType: FormControl<ConversationType>;
20
- autoStart: FormControl<boolean>;
21
- mainVoice: FormGroup<any>;
22
- secondaryVoice: FormGroup<any>;
23
- model: FormGroup<{
24
- quality: FormControl<EModelQuality>;
25
- modelName: FormControl<string>;
26
- provider: FormControl<string>;
27
- id: FormControl<string>;
28
- }>;
29
- }>;
30
- metaApp: FormGroup<any>;
31
- accounts: FormArray<FormControl<unknown>>;
32
- conversationFlow: FormGroup<{
33
- goal: SimpleAgentTaskFormGroup;
34
- triggerTasks: TriggerTasksFormGroup;
35
- challenges: FormArray<import("@dataclouder/ngx-agent-cards").DynamicCriteriaFormGroup>;
36
- tools: FormArray<import("@dataclouder/ngx-agent-cards").DynamicCriteriaFormGroup>;
37
- dynamicConditions: FormArray<DynamicConditionFormGroup>;
38
- }>;
39
- manageable: FormGroup<any>;
40
- }>;
41
- patchFormWithConversationData(form: FormGroup, agentCard: IAgentCard): void;
42
- handleArrayForms(form: FormGroup, agentCard: IAgentCard): void;
43
- createCharacterCardFormGroup(): FormGroup;
44
- createConversationSettingFormGroup(): FormGroup<{
45
- textEngine: FormControl<TextEngines>;
46
- conversationType: FormControl<ConversationType>;
47
- autoStart: FormControl<boolean>;
48
- mainVoice: FormGroup<any>;
49
- secondaryVoice: FormGroup<any>;
50
- model: FormGroup<{
51
- quality: FormControl<EModelQuality>;
52
- modelName: FormControl<string>;
53
- provider: FormControl<string>;
54
- id: FormControl<string>;
55
- }>;
56
- }>;
57
- createAccountsFormGroup(): FormGroup;
58
- createMetaFormGroup(): FormGroup;
59
- createManageableFormGroup(): FormGroup;
60
- createModelFormGroup(model?: IAIModel): FormGroup<{
61
- id: FormControl<string>;
62
- modelName: FormControl<string>;
63
- provider: FormControl<string>;
64
- quality: FormControl<EModelQuality>;
65
- }>;
66
- createVoiceTTSFormGroup(tts?: VoiceTTS): FormGroup;
67
- createConversationFlowFormGroup(): ConversationFlowFormGroup;
68
- createDynamicConditionFormGroup(condition?: IDynamicCondition): DynamicConditionFormGroup;
69
- createDoActionFormGroup(action?: DoAction): DoActionFormGroup;
70
- createTriggerTasksFormGroup(): TriggerTasksFormGroup;
71
- createSimpleAgentTaskFormGroup(task?: SimpleAgentTask): SimpleAgentTaskFormGroup;
72
- createDynamicCriteriaFormGroup(criteria?: IDynamicCriteria): FormGroup;
73
- removeArrayItem(formGroup: FormGroup, controlPath: string, index: number): void;
74
- addArrayItem(formGroup: FormGroup, controlPath: string, itemFactory?: () => AbstractControl): void;
75
- updateArrayField(formGroup: FormGroup, controlPath: string, index: number, event: Event): void;
76
- addItemToFormArray(formArray: FormArray, itemFactory?: () => AbstractControl): void;
77
- removeItemFromFormArray(formArray: FormArray, index: number): void;
78
- getItemFromFormArray(formArray: FormArray, index: number): AbstractControl;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupService, never>;
80
- static ɵprov: i0.ɵɵInjectableDeclaration<FormGroupService>;
81
- }
@@ -1,99 +0,0 @@
1
- import { FormGroup, FormArray, FormControl } from '@angular/forms';
2
- import { EModelQuality } from '@dataclouder/ngx-core';
3
- import { ConversationEvents } from '../../models/agent.models';
4
- import { ConversationType, TextEngines } from '../../models/conversation-enums';
5
- export type ModelFormGroup = FormGroup<{
6
- id: FormControl<string>;
7
- modelName: FormControl<string>;
8
- provider: FormControl<string>;
9
- quality: FormControl<EModelQuality>;
10
- }>;
11
- export declare enum EDoActionType {
12
- ChangePrompt = "changePrompt",// Este es context Prompt
13
- ChangeDynamicFlowTask = "changeDynamicFlowTask",// Change AI Task since
14
- ChangeModel = "changeModel",// Just a thought Not implemented yet
15
- Summarize = "summarize"
16
- }
17
- export declare const DoActionTypeOptions: {
18
- label: string;
19
- value: EDoActionType;
20
- }[];
21
- export declare enum EDynamicFlowTaskType {
22
- Goal = "goal",
23
- Tools = "tools",
24
- Challenges = "challenges",
25
- OnUserMessage = "onUserMessage",
26
- OnAssistantMessage = "onAssistantMessage",
27
- OnGoalCompleted = "onGoalCompleted"
28
- }
29
- export declare const DynamicFlowTaskTypeOptions: {
30
- label: string;
31
- value: EDynamicFlowTaskType;
32
- }[];
33
- export declare enum SystemPromptType {
34
- SystemPrompt = "systemPrompt",
35
- Language = "language",
36
- ConversationType = "conversationType",
37
- PictureDescription = "pictureDescription",
38
- UserInformation = "userInformation",
39
- CharacterDescription = "characterDescription",
40
- ScenarioDescription = "scenarioDescription",
41
- MessageExamples = "messageExamples",
42
- JailBreak = "jailBreak"
43
- }
44
- export interface ChangePromptAction {
45
- actionType: EDoActionType;
46
- systemPromptType: SystemPromptType;
47
- prompt: string;
48
- }
49
- export type SimpleAgentTaskFormGroup = FormGroup<{
50
- systemPrompt: FormControl<string>;
51
- task: FormControl<string>;
52
- expectedResponseType: FormControl<string>;
53
- modelQuality: FormControl<EModelQuality>;
54
- model: ModelFormGroup;
55
- enabled: FormControl<boolean>;
56
- }>;
57
- export type DynamicCriteriaFormGroup = FormGroup<{
58
- name: FormControl<string>;
59
- description: FormControl<string>;
60
- enabled: FormControl<boolean>;
61
- emoji: FormControl<string>;
62
- }>;
63
- export type DoActionFormGroup = FormGroup<{
64
- actionType: FormControl<string>;
65
- systemPromptType: FormControl<string>;
66
- dynamicFlowTaskType: FormControl<string>;
67
- prompt: FormControl<string>;
68
- enabled: FormControl<boolean>;
69
- }>;
70
- export type DynamicConditionFormGroup = FormGroup<{
71
- what: FormControl<string>;
72
- when: FormControl<string>;
73
- value: FormControl<string>;
74
- then: FormControl<any[]>;
75
- do: FormArray<DoActionFormGroup>;
76
- }>;
77
- export type TriggerTasksFormGroup = FormGroup<{
78
- [ConversationEvents.OnUserMessage]: SimpleAgentTaskFormGroup;
79
- [ConversationEvents.OnAssistantMessage]: SimpleAgentTaskFormGroup;
80
- [ConversationEvents.OnGoalCompleted]: SimpleAgentTaskFormGroup;
81
- }>;
82
- export type ConversationFlowFormGroup = FormGroup<{
83
- goal: SimpleAgentTaskFormGroup;
84
- triggerTasks: TriggerTasksFormGroup;
85
- challenges: FormArray<DynamicCriteriaFormGroup>;
86
- tools: FormArray<DynamicCriteriaFormGroup>;
87
- dynamicConditions: FormArray<DynamicConditionFormGroup>;
88
- }>;
89
- export type ConversationSettingsFormGroup = FormGroup<{
90
- textEngine: FormControl<TextEngines>;
91
- conversationType: FormControl<ConversationType>;
92
- autoStart: FormControl<boolean>;
93
- tts: FormGroup<{
94
- voice: FormControl<string>;
95
- secondaryVoice: FormControl<string>;
96
- speed: FormControl<string>;
97
- speedRate: FormControl<number>;
98
- }>;
99
- }>;
@@ -1,15 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';
3
- import { PerformanceEvaluation } from '../../prompts/evaluation-performance-prompt';
4
- import * as i0 from "@angular/core";
5
- export declare class FeedbackEvaluationComponent implements OnInit {
6
- ref: DynamicDialogRef<any>;
7
- config: DynamicDialogConfig<any, any>;
8
- evaluationData: PerformanceEvaluation;
9
- constructor();
10
- ngOnInit(): void;
11
- private getDummyEvaluationData;
12
- closeDialog(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackEvaluationComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackEvaluationComponent, "dc-feedback-evaluation", never, {}, {}, never, never, true, never>;
15
- }
@@ -1,18 +0,0 @@
1
- import { DynamicDialogRef } from 'primeng/dynamicdialog';
2
- import { ConversationType } from '../../models/conversation-enums';
3
- import * as i0 from "@angular/core";
4
- export declare class PromptConversationTypesDialogComponent {
5
- getDefaultPromptByType(conversationType: ConversationType): string;
6
- dialogRef: DynamicDialogRef<void>;
7
- conversationTypeOptions: {
8
- value: ConversationType;
9
- label: string;
10
- }[];
11
- selectOption(option: {
12
- label: string;
13
- [key: string]: any;
14
- }): void;
15
- close(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptConversationTypesDialogComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<PromptConversationTypesDialogComponent, "dc-prompt-conversation-types-dialog", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,11 +0,0 @@
1
- import { DynamicDialogRef } from 'primeng/dynamicdialog';
2
- import * as i0 from "@angular/core";
3
- export declare class PromptPreviewDialogComponent {
4
- private dynamicDialogConfig;
5
- dialogRef: DynamicDialogRef<void>;
6
- data: any;
7
- constructor();
8
- close(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptPreviewDialogComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<PromptPreviewDialogComponent, "dc-prompt-preview-dialog", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,60 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { EModelQuality } from '@dataclouder/ngx-core';
3
- import { SimpleAgentTask } from '../../models/agent.models';
4
- import * as i0 from "@angular/core";
5
- interface ModelData {
6
- id: string;
7
- name: string;
8
- description: string;
9
- }
10
- export declare function createAIModelFormGroup(task?: SimpleAgentTask): import("@angular/forms").FormGroup<{
11
- quality: import("@angular/forms").FormControl<EModelQuality>;
12
- modelName: import("@angular/forms").FormControl<string>;
13
- provider: import("@angular/forms").FormControl<string>;
14
- id: import("@angular/forms").FormControl<string>;
15
- }>;
16
- /**
17
- * A component that provides AI model provider selection functionality.
18
- * This component allows users to select an AI provider and displays available models
19
- * for the selected provider, you need to handle values logic in the parent component.
20
- * you have to pass the parent form group to the component, with controls: provider and modelName.
21
- *
22
- * @example
23
- * ```html
24
- * <dc-model-selector
25
- * [parentForm]="yourFormGroup">
26
- * </dc-model-selector>
27
- * ```
28
- */
29
- export declare class ModelSelectorComponent implements OnInit {
30
- private conversationCardAIService;
31
- private cdr;
32
- /** Parent form group that contains provider and model selection controls */
33
- modelForm: import("@angular/forms").FormGroup<{
34
- quality: import("@angular/forms").FormControl<EModelQuality>;
35
- modelName: import("@angular/forms").FormControl<string>;
36
- provider: import("@angular/forms").FormControl<string>;
37
- id: import("@angular/forms").FormControl<string>;
38
- }>;
39
- shortForm?: boolean;
40
- /** Flag indicating whether the models are currently being loaded */
41
- isLoadingModels: boolean;
42
- /** Array of available models for the selected provider */
43
- modelnames: ModelData[];
44
- providersOptions: {
45
- label: string;
46
- value: string;
47
- }[];
48
- /**
49
- * Initializes the component by setting up subscriptions to provider changes
50
- * and loading initial models if a provider is already selected.
51
- */
52
- ngOnInit(): void;
53
- modelQualityOptions: {
54
- label: string;
55
- value: EModelQuality;
56
- }[];
57
- static ɵfac: i0.ɵɵFactoryDeclaration<ModelSelectorComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<ModelSelectorComponent, "dc-model-selector", never, { "modelForm": { "alias": "modelForm"; "required": false; }; "shortForm": { "alias": "shortForm"; "required": false; }; }, {}, never, never, true, never>;
59
- }
60
- export {};
@@ -1,20 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class TranslateDialogComponent {
4
- private fb;
5
- private dialogRef;
6
- data: {
7
- currentLang: string;
8
- };
9
- form: FormGroup;
10
- languages: {
11
- value: string;
12
- label: string;
13
- }[];
14
- /** Inserted by Angular inject() migration for backwards compatibility */
15
- constructor(...args: unknown[]);
16
- onCancel(): void;
17
- onConfirm(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TranslateDialogComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TranslateDialogComponent, "dc-translate-dialog", never, {}, {}, never, never, true, never>;
20
- }
@@ -1,5 +0,0 @@
1
- import { InjectionToken, Type } from '@angular/core';
2
- import { Provider } from '@angular/core';
3
- import { DefaultAgentCardsService } from '../services/default-agent-service';
4
- export declare const CONVERSATION_AI_TOKEN: InjectionToken<DefaultAgentCardsService>;
5
- export declare function provideAgentCardService(serviceImplementation: Type<DefaultAgentCardsService>): Provider[];