@memberjunction/ng-core-entity-forms 2.74.0 → 2.75.0
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.
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +11 -6
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +456 -447
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts +35 -7
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js +75 -61
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.d.ts +37 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.d.ts.map +1 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.js +117 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-cost.service.js.map +1 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js +0 -8
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +0 -26
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +5 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +160 -103
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js +15 -4
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js.map +1 -1
- package/package.json +16 -16
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, AfterViewInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { AIPromptRunEntityExtended, AIPromptEntity, AIModelEntity } from '@memberjunction/core-entities';
|
|
3
3
|
import { AIPromptRunFormComponent } from '../../generated/Entities/AIPromptRun/aipromptrun.form.component';
|
|
4
4
|
import { SharedService } from '@memberjunction/ng-shared';
|
|
5
5
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
6
6
|
import { ChatMessage } from '@memberjunction/ai';
|
|
7
|
+
import { TestHarnessWindowService } from '@memberjunction/ng-ai-test-harness';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class AIPromptRunFormComponentExtended extends AIPromptRunFormComponent implements AfterViewInit {
|
|
9
10
|
sharedService: SharedService;
|
|
10
|
-
|
|
11
|
+
private testHarnessWindowService;
|
|
12
|
+
private viewContainerRef;
|
|
13
|
+
record: AIPromptRunEntityExtended;
|
|
11
14
|
prompt: AIPromptEntity | null;
|
|
12
15
|
model: AIModelEntity | null;
|
|
13
|
-
parentRun:
|
|
14
|
-
childRuns:
|
|
16
|
+
parentRun: AIPromptRunEntityExtended | null;
|
|
17
|
+
childRuns: AIPromptRunEntityExtended[];
|
|
15
18
|
isLoadingRelatedData: boolean;
|
|
16
19
|
isParsingMessages: boolean;
|
|
17
20
|
inputExpanded: boolean;
|
|
@@ -31,7 +34,7 @@ export declare class AIPromptRunFormComponentExtended extends AIPromptRunFormCom
|
|
|
31
34
|
inputData: any;
|
|
32
35
|
validationAttempts: any[];
|
|
33
36
|
validationSummary: any;
|
|
34
|
-
constructor(elementRef: ElementRef, sharedService: SharedService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef);
|
|
37
|
+
constructor(elementRef: ElementRef, sharedService: SharedService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef, testHarnessWindowService: TestHarnessWindowService, viewContainerRef: ViewContainerRef);
|
|
35
38
|
ngOnInit(): Promise<void>;
|
|
36
39
|
ngAfterViewInit(): void;
|
|
37
40
|
onInputPanelToggle(): void;
|
|
@@ -47,6 +50,8 @@ export declare class AIPromptRunFormComponentExtended extends AIPromptRunFormCom
|
|
|
47
50
|
getRunTypeIcon(runType: string | null): string;
|
|
48
51
|
getRunTypeColor(runType: string | null): string;
|
|
49
52
|
navigateToEntity(entityName: string, recordId: string | null): void;
|
|
53
|
+
navigateToOriginalRun(): void;
|
|
54
|
+
reRunPrompt(): void;
|
|
50
55
|
copyToClipboard(text: string, fieldName: string): void;
|
|
51
56
|
refreshData(): Promise<void>;
|
|
52
57
|
private loadValidationData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-prompt-run-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/AIPromptRuns/ai-prompt-run-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ai-prompt-run-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/AIPromptRuns/ai-prompt-run-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAG1G,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,iEAAiE,CAAC;AAC3G,OAAO,EAAE,aAAa,EAA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