@memberjunction/ng-core-entity-forms 2.49.0 → 2.51.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/README.md +215 -1
- package/dist/lib/custom/AIAgents/agent-execution-monitor.component.d.ts +244 -0
- package/dist/lib/custom/AIAgents/agent-execution-monitor.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/agent-execution-monitor.component.js +1314 -0
- package/dist/lib/custom/AIAgents/agent-execution-monitor.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/agent-execution-node.component.d.ts +19 -0
- package/dist/lib/custom/AIAgents/agent-execution-node.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/agent-execution-node.component.js +458 -0
- package/dist/lib/custom/AIAgents/agent-execution-node.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts +171 -11
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +1411 -145
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-test-harness-dialog.component.d.ts +78 -0
- package/dist/lib/custom/AIAgents/ai-test-harness-dialog.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/ai-test-harness-dialog.component.js +157 -0
- package/dist/lib/custom/AIAgents/ai-test-harness-dialog.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/ai-test-harness.component.d.ts +508 -0
- package/dist/lib/custom/AIAgents/ai-test-harness.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/ai-test-harness.component.js +2658 -0
- package/dist/lib/custom/AIAgents/ai-test-harness.component.js.map +1 -0
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +40 -0
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -0
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +965 -0
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -0
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.d.ts +5 -0
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.js +137 -99
- package/dist/lib/custom/AIPrompts/ai-prompt-execution-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +80 -4
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +956 -470
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts +40 -0
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Actions/action-execution-log-form.component.js +530 -0
- package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -0
- package/dist/lib/custom/Actions/action-form.component.d.ts +90 -0
- package/dist/lib/custom/Actions/action-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Actions/action-form.component.js +1579 -0
- package/dist/lib/custom/Actions/action-form.component.js.map +1 -0
- package/dist/lib/custom/Actions/action-param-dialog.component.d.ts +32 -0
- package/dist/lib/custom/Actions/action-param-dialog.component.d.ts.map +1 -0
- package/dist/lib/custom/Actions/action-param-dialog.component.js +320 -0
- package/dist/lib/custom/Actions/action-param-dialog.component.js.map +1 -0
- package/dist/lib/custom/Actions/action-test-harness-dialog.component.d.ts +15 -0
- package/dist/lib/custom/Actions/action-test-harness-dialog.component.d.ts.map +1 -0
- package/dist/lib/custom/Actions/action-test-harness-dialog.component.js +96 -0
- package/dist/lib/custom/Actions/action-test-harness-dialog.component.js.map +1 -0
- package/dist/lib/custom/Actions/action-test-harness.component.d.ts +50 -0
- package/dist/lib/custom/Actions/action-test-harness.component.d.ts.map +1 -0
- package/dist/lib/custom/Actions/action-test-harness.component.js +708 -0
- package/dist/lib/custom/Actions/action-test-harness.component.js.map +1 -0
- package/dist/lib/custom/custom-forms.module.d.ts +31 -19
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +94 -15
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts +35 -0
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts.map +1 -0
- package/dist/lib/custom/shared/entity-selector-dialog.component.js +290 -0
- package/dist/lib/custom/shared/entity-selector-dialog.component.js.map +1 -0
- package/dist/lib/custom/test-harness-dialog.service.d.ts +111 -0
- package/dist/lib/custom/test-harness-dialog.service.d.ts.map +1 -0
- package/dist/lib/custom/test-harness-dialog.service.js +211 -0
- package/dist/lib/custom/test-harness-dialog.service.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +12 -11
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/sections/aiagent-form-overview.component.d.ts +54 -0
- package/dist/lib/generated/Entities/AIAgent/sections/aiagent-form-overview.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgent/sections/aiagent-form-overview.component.js +492 -0
- package/dist/lib/generated/Entities/AIAgent/sections/aiagent-form-overview.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js +8 -7
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +8 -7
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +8 -7
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +12 -11
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +12 -11
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js +12 -11
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js +12 -11
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ActionExecutionLog/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ActionExecutionLog/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/ActionExecutionLog/sections/details.component.js.map +1 -1
- package/dist/public-api.d.ts +3 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +16 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +12 -11
- package/dist/lib/custom/AIAgents/ai-agent-execution-dialog.component.d.ts +0 -52
- package/dist/lib/custom/AIAgents/ai-agent-execution-dialog.component.d.ts.map +0 -1
- package/dist/lib/custom/AIAgents/ai-agent-execution-dialog.component.js +0 -590
- package/dist/lib/custom/AIAgents/ai-agent-execution-dialog.component.js.map +0 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { ActionEntity, ActionParamEntity, ActionResultCodeEntity, ActionCategoryEntity, ActionExecutionLogEntity, ActionLibraryEntity, LibraryEntity } from '@memberjunction/core-entities';
|
|
4
|
+
import { SharedService } from '@memberjunction/ng-shared';
|
|
5
|
+
import { ActionFormComponent } from '../../generated/Entities/Action/action.form.component';
|
|
6
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ActionFormComponentExtended extends ActionFormComponent implements OnInit {
|
|
9
|
+
cdr: ChangeDetectorRef;
|
|
10
|
+
private dialogService;
|
|
11
|
+
record: ActionEntity;
|
|
12
|
+
category: ActionCategoryEntity | null;
|
|
13
|
+
actionParams: ActionParamEntity[];
|
|
14
|
+
resultCodes: ActionResultCodeEntity[];
|
|
15
|
+
recentExecutions: ActionExecutionLogEntity[];
|
|
16
|
+
actionLibraries: ActionLibraryEntity[];
|
|
17
|
+
libraries: LibraryEntity[];
|
|
18
|
+
private _inputParams;
|
|
19
|
+
private _outputParams;
|
|
20
|
+
private paramsToDelete;
|
|
21
|
+
isLoadingParams: boolean;
|
|
22
|
+
isLoadingResultCodes: boolean;
|
|
23
|
+
isLoadingExecutions: boolean;
|
|
24
|
+
isLoadingLibraries: boolean;
|
|
25
|
+
expandedSections: {
|
|
26
|
+
overview: boolean;
|
|
27
|
+
code: boolean;
|
|
28
|
+
params: boolean;
|
|
29
|
+
resultCodes: boolean;
|
|
30
|
+
execution: boolean;
|
|
31
|
+
configuration: boolean;
|
|
32
|
+
};
|
|
33
|
+
showTestHarness: boolean;
|
|
34
|
+
executionStats: {
|
|
35
|
+
totalRuns: number;
|
|
36
|
+
successRate: number;
|
|
37
|
+
avgDuration: number;
|
|
38
|
+
lastRun: Date | null;
|
|
39
|
+
};
|
|
40
|
+
codeLanguage: string;
|
|
41
|
+
showCodeComments: boolean;
|
|
42
|
+
constructor(elementRef: ElementRef, sharedService: SharedService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef, dialogService: DialogService);
|
|
43
|
+
ngOnInit(): Promise<void>;
|
|
44
|
+
private loadCategory;
|
|
45
|
+
private loadActionParams;
|
|
46
|
+
private loadResultCodes;
|
|
47
|
+
private loadRecentExecutions;
|
|
48
|
+
private loadActionLibraries;
|
|
49
|
+
private loadExecutionStats;
|
|
50
|
+
getStatusColor(): string;
|
|
51
|
+
getStatusIcon(): string;
|
|
52
|
+
getTypeColor(): string;
|
|
53
|
+
getTypeIcon(): string;
|
|
54
|
+
getApprovalStatusColor(): string;
|
|
55
|
+
getApprovalStatusIcon(): string;
|
|
56
|
+
getParamTypeIcon(type: string): string;
|
|
57
|
+
getParamTypeColor(type: string): string;
|
|
58
|
+
formatDuration(ms: number): string;
|
|
59
|
+
formatDate(date: Date | string | null): string;
|
|
60
|
+
navigateToEntity(entityName: string, recordId: string | null): void;
|
|
61
|
+
navigateToCategory(): void;
|
|
62
|
+
navigateToExecution(executionId: string): void;
|
|
63
|
+
navigateToLibrary(libraryId: string): void;
|
|
64
|
+
openTestHarness(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Event handler for test harness visibility changes
|
|
67
|
+
*/
|
|
68
|
+
onTestHarnessVisibilityChanged(isVisible: boolean): void;
|
|
69
|
+
regenerateCode(): Promise<void>;
|
|
70
|
+
toggleCodeComments(): void;
|
|
71
|
+
approveCode(): Promise<void>;
|
|
72
|
+
rejectCode(): Promise<void>;
|
|
73
|
+
toggleSection(section: keyof typeof this.expandedSections): void;
|
|
74
|
+
copyToClipboard(text: string): Promise<void>;
|
|
75
|
+
getInputParams(): ActionParamEntity[];
|
|
76
|
+
getOutputParams(): ActionParamEntity[];
|
|
77
|
+
isExecutionSuccess(execution: ActionExecutionLogEntity): boolean;
|
|
78
|
+
getExecutionDuration(execution: ActionExecutionLogEntity): number;
|
|
79
|
+
getSuccessRateColor(): string;
|
|
80
|
+
addParameter(type: 'Input' | 'Output' | 'Both'): Promise<void>;
|
|
81
|
+
editParameter(param: ActionParamEntity): Promise<void>;
|
|
82
|
+
onParamClick(param: ActionParamEntity, event: Event): void;
|
|
83
|
+
deleteParameter(param: ActionParamEntity): Promise<void>;
|
|
84
|
+
private updateParamArrays;
|
|
85
|
+
protected PopulatePendingRecords(): void;
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionFormComponentExtended, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionFormComponentExtended, "mj-action-form", never, {}, {}, never, never, false, never>;
|
|
88
|
+
}
|
|
89
|
+
export declare function LoadActionFormComponentExtended(): void;
|
|
90
|
+
//# sourceMappingURL=action-form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Actions/action-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG5L,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;;AAG/D,qBAMa,2BAA4B,SAAQ,mBAAoB,YAAW,MAAM;IAsDvE,GAAG,EAAE,iBAAiB;IAC7B,OAAO,CAAC,aAAa;IAtDlB,MAAM,EAAG,YAAY,CAAC;IAGtB,QAAQ,EAAE,oBAAoB,GAAG,IAAI,CAAQ;IAC7C,YAAY,EAAE,iBAAiB,EAAE,CAAM;IACvC,WAAW,EAAE,sBAAsB,EAAE,CAAM;IAC3C,gBAAgB,EAAE,wBAAwB,EAAE,CAAM;IAClD,eAAe,EAAE,mBAAmB,EAAE,CAAM;IAC5C,SAAS,EAAE,aAAa,EAAE,CAAM;IAGvC,OAAO,CAAC,YAAY,CAA2B;IAC/C,OAAO,CAAC,aAAa,CAA2B;IAGhD,OAAO,CAAC,cAAc,CAA2B;IAG1C,eAAe,UAAS;IACxB,oBAAoB,UAAS;IAC7B,mBAAmB,UAAS;IAC5B,kBAAkB,UAAS;IAG3B,gBAAgB;;;;;;;MAOrB;IAGK,eAAe,UA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