@memberjunction/ng-core-entity-forms 5.29.0 → 5.30.1
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/AIAgents/ai-agent-form.component.d.ts +4 -0
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +567 -566
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +3 -0
- 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 +243 -244
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +3 -0
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +417 -416
- 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 +51 -16
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.js +422 -139
- package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.d.ts +68 -1
- package/dist/lib/custom/Actions/action-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.js +882 -422
- package/dist/lib/custom/Actions/action-form.component.js.map +1 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts +3 -0
- package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts.map +1 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.js +23 -22
- package/dist/lib/custom/EntityActions/entityaction.form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.d.ts +2 -0
- package/dist/lib/custom/Queries/query-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.js +617 -627
- package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.d.ts +3 -0
- package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.js +157 -158
- package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +176 -152
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentNote/mjaiagentnote.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentNote/mjaiagentnote.form.component.js +42 -6
- package/dist/lib/generated/Entities/MJAIAgentNote/mjaiagentnote.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +57 -49
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js +83 -77
- package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJArchiveRunDetail/mjarchiverundetail.form.component.js +2 -2
- package/dist/lib/generated/Entities/MJArchiveRunDetail/mjarchiverundetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompanyIntegrationEntityMap/mjcompanyintegrationentitymap.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJCompanyIntegrationEntityMap/mjcompanyintegrationentitymap.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityPermission/mjentitypermission.form.component.js +11 -9
- package/dist/lib/generated/Entities/MJEntityPermission/mjentitypermission.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJIntegrationObject/mjintegrationobject.form.component.js +23 -21
- package/dist/lib/generated/Entities/MJIntegrationObject/mjintegrationobject.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJIntegrationObjectField/mjintegrationobjectfield.form.component.js +9 -7
- package/dist/lib/generated/Entities/MJIntegrationObjectField/mjintegrationobjectfield.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJPermissionDomain/mjpermissiondomain.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJPermissionDomain/mjpermissiondomain.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJPermissionDomain/mjpermissiondomain.form.component.js +85 -0
- package/dist/lib/generated/Entities/MJPermissionDomain/mjpermissiondomain.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJResourcePermission/mjresourcepermission.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJResourcePermission/mjresourcepermission.form.component.js +21 -12
- package/dist/lib/generated/Entities/MJResourcePermission/mjresourcepermission.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRowLevelSecurityFilter/mjrowlevelsecurityfilter.form.component.js +5 -5
- package/dist/lib/generated/Entities/MJRowLevelSecurityFilter/mjrowlevelsecurityfilter.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js +21 -21
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +201 -183
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +97 -96
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +36 -33
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/dist/lib/shared/components/template-editor.component.d.ts.map +1 -1
- package/dist/lib/shared/components/template-editor.component.js +14 -8
- package/dist/lib/shared/components/template-editor.component.js.map +1 -1
- package/package.json +34 -34
|
@@ -2,34 +2,68 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { MJActionExecutionLogEntity, MJActionEntity, MJUserEntity } from '@memberjunction/core-entities';
|
|
3
3
|
import { MJActionExecutionLogFormComponent } from '../../generated/Entities/MJActionExecutionLog/mjactionexecutionlog.form.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type ParamType = 'Input' | 'Output' | 'Both';
|
|
6
|
+
type TypeFilter = 'All' | ParamType;
|
|
7
|
+
type SortKey = 'name' | 'type';
|
|
8
|
+
type SortDir = 'asc' | 'desc';
|
|
9
|
+
interface ActionParameter {
|
|
10
|
+
Name: string;
|
|
11
|
+
Value: unknown;
|
|
12
|
+
Type: ParamType;
|
|
13
|
+
}
|
|
14
|
+
interface DisplayParameter extends ActionParameter {
|
|
15
|
+
ValueKind: 'string' | 'number' | 'boolean' | 'null' | 'undefined' | 'array' | 'object';
|
|
16
|
+
Preview: string;
|
|
17
|
+
IsExpandable: boolean;
|
|
18
|
+
Expanded: boolean;
|
|
19
|
+
FormattedValue: string;
|
|
20
|
+
}
|
|
5
21
|
export declare class MJActionExecutionLogFormComponentExtended extends MJActionExecutionLogFormComponent implements OnInit {
|
|
6
22
|
record: MJActionExecutionLogEntity;
|
|
7
23
|
action: MJActionEntity | null;
|
|
8
24
|
user: MJUserEntity | null;
|
|
9
|
-
hasInputParams: boolean;
|
|
10
|
-
hasOutputParams: boolean;
|
|
11
|
-
hasBothParams: boolean;
|
|
12
25
|
isLoadingAction: boolean;
|
|
13
26
|
isLoadingUser: boolean;
|
|
14
27
|
formattedParams: string;
|
|
15
28
|
formattedMessage: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
outputParams: boolean;
|
|
25
|
-
bothParams: boolean;
|
|
26
|
-
metadata: boolean;
|
|
27
|
-
};
|
|
29
|
+
allParameters: DisplayParameter[];
|
|
30
|
+
paramCounts: Record<TypeFilter, number>;
|
|
31
|
+
hasAnyParameters: boolean;
|
|
32
|
+
typeFilter: TypeFilter;
|
|
33
|
+
searchText: string;
|
|
34
|
+
sortKey: SortKey;
|
|
35
|
+
sortDir: SortDir;
|
|
36
|
+
showRawJson: boolean;
|
|
28
37
|
ngOnInit(): Promise<void>;
|
|
29
38
|
private loadAction;
|
|
30
39
|
private loadUser;
|
|
31
40
|
private formatJSONFields;
|
|
32
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Build the unified parameter display list once, so filtering/sorting can
|
|
43
|
+
* operate on a cheap, pre-computed structure.
|
|
44
|
+
*/
|
|
45
|
+
private buildDisplayParameters;
|
|
46
|
+
private detectValueKind;
|
|
47
|
+
/**
|
|
48
|
+
* Short inline preview for the row header. Objects/arrays get a compact
|
|
49
|
+
* one-liner; expansion reveals the full formatted JSON below.
|
|
50
|
+
*/
|
|
51
|
+
private buildPreview;
|
|
52
|
+
get filteredParameters(): DisplayParameter[];
|
|
53
|
+
setTypeFilter(filter: TypeFilter): void;
|
|
54
|
+
toggleSort(key: SortKey): void;
|
|
55
|
+
toggleExpanded(param: DisplayParameter): void;
|
|
56
|
+
toggleRawJson(): void;
|
|
57
|
+
clearFilters(): void;
|
|
58
|
+
trackParam(_index: number, p: DisplayParameter): string;
|
|
59
|
+
copyParamValue(param: DisplayParameter): void;
|
|
60
|
+
private formatScalarForCopy;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the icon class for a value kind — rendered to the left of each
|
|
63
|
+
* preview so object/array/scalar rows are visually distinct at a glance.
|
|
64
|
+
*/
|
|
65
|
+
getValueKindIcon(kind: DisplayParameter['ValueKind']): string;
|
|
66
|
+
getTypeLabel(type: ParamType): string;
|
|
33
67
|
navigateToEntity(entityName: string, recordId: string | null): void;
|
|
34
68
|
navigateToAction(): void;
|
|
35
69
|
navigateToUser(): void;
|
|
@@ -43,4 +77,5 @@ export declare class MJActionExecutionLogFormComponentExtended extends MJActionE
|
|
|
43
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<MJActionExecutionLogFormComponentExtended, never>;
|
|
44
78
|
static ɵcmp: i0.ɵɵComponentDeclaration<MJActionExecutionLogFormComponentExtended, "mj-action-execution-log-form", never, {}, {}, never, never, false, never>;
|
|
45
79
|
}
|
|
80
|
+
export {};
|
|
46
81
|
//# sourceMappingURL=action-execution-log-form.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-execution-log-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Actions/action-execution-log-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAKzG,OAAO,EAAE,iCAAiC,EAAE,MAAM,mFAAmF,CAAC;;
|
|
1
|
+
{"version":3,"file":"action-execution-log-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Actions/action-execution-log-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAKzG,OAAO,EAAE,iCAAiC,EAAE,MAAM,mFAAmF,CAAC;;AAEtI,KAAK,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC7C,KAAK,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;AACpC,KAAK,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAC/B,KAAK,OAAO,GAAG,KAAK,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