@memberjunction/ng-core-entity-forms 2.69.0 → 2.70.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.
@@ -1,10 +1,11 @@
1
- import { ElementRef, ChangeDetectorRef } from '@angular/core';
1
+ import { ElementRef, ChangeDetectorRef, AfterViewInit } from '@angular/core';
2
2
  import { AIPromptRunEntity, 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
+ import { ChatMessage } from '@memberjunction/ai';
6
7
  import * as i0 from "@angular/core";
7
- export declare class AIPromptRunFormComponentExtended extends AIPromptRunFormComponent {
8
+ export declare class AIPromptRunFormComponentExtended extends AIPromptRunFormComponent implements AfterViewInit {
8
9
  sharedService: SharedService;
9
10
  record: AIPromptRunEntity;
10
11
  prompt: AIPromptEntity | null;
@@ -12,7 +13,11 @@ export declare class AIPromptRunFormComponentExtended extends AIPromptRunFormCom
12
13
  parentRun: AIPromptRunEntity | null;
13
14
  childRuns: AIPromptRunEntity[];
14
15
  isLoadingRelatedData: boolean;
16
+ isParsingMessages: boolean;
17
+ inputExpanded: boolean;
15
18
  messagesExpanded: boolean;
19
+ dataExpanded: boolean;
20
+ rawExpanded: boolean;
16
21
  resultExpanded: boolean;
17
22
  metricsExpanded: boolean;
18
23
  hierarchyExpanded: boolean;
@@ -21,10 +26,15 @@ export declare class AIPromptRunFormComponentExtended extends AIPromptRunFormCom
21
26
  formattedResult: string;
22
27
  formattedValidationSummary: string;
23
28
  formattedValidationAttempts: string;
29
+ formattedData: string;
30
+ chatMessages: ChatMessage[];
31
+ inputData: any;
24
32
  validationAttempts: any[];
25
33
  validationSummary: any;
26
34
  constructor(elementRef: ElementRef, sharedService: SharedService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef);
27
35
  ngOnInit(): Promise<void>;
36
+ ngAfterViewInit(): void;
37
+ onInputPanelToggle(): void;
28
38
  private loadRelatedData;
29
39
  private loadChildRuns;
30
40
  private formatJsonFields;
@@ -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,MAAM,eAAe,CAAC;AAGzE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,iEAAiE,CAAC;AAC3G,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;;AAEzD,qBAMa,gCAAiC,SAAQ,wBAAwB;IA6B/D,aAAa,EAAE,aAAa;IA5BhC,MAAM,EAAG,iBAAiB,CAAC;IAG3B,MAAM,EAAE,cAAc,GAAG,IAAI,CAAQ;IACrC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAQ;IACnC,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAC3C,SAAS,EAAE,iBAAiB,EAAE,CAAM;IAGpC,oBAAoB,UAAS;IAC7B,gBAAgB,UAAQ;IACxB,cAAc,UAAQ;IACtB,eAAe,UAAS;IACxB,iBAAiB,UAAS;IAC1B,kBAAkB,UAAQ;IAG1B,iBAAiB,SAAM;IACvB,eAAe,SAAM;IACrB,0BAA0B,SAAM;IAChC,2BAA2B,SAAM;IAGjC,kBAAkB,EAAE,GAAG,EAAE,CAAM;IAC/B,iBAAiB,EAAE,GAAG,CAAQ;gBAGjC,UAAU,EAAE,UAAU,EACf,aAAa,EAAE,aAAa,EACnC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc,EACrB,GAAG,EAAE,iBAAi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