@memberjunction/ng-core-entity-forms 5.30.1 → 5.31.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/__tests__/content-source-form.test.d.ts +2 -0
- package/dist/lib/__tests__/content-source-form.test.d.ts.map +1 -0
- package/dist/lib/__tests__/content-source-form.test.js +183 -0
- package/dist/lib/__tests__/content-source-form.test.js.map +1 -0
- package/dist/lib/custom/AIAgents/add-action-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/add-action-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/add-action-dialog.component.js +6 -4
- package/dist/lib/custom/AIAgents/add-action-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/agent-advanced-settings-dialog.component.js +2 -2
- package/dist/lib/custom/AIAgents/agent-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.js +6 -4
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +15 -15
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js +9 -7
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js +11 -9
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js +6 -5
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js +6 -4
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js +6 -4
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js +6 -4
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +3 -3
- 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 +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +6 -6
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts +2 -1
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js +7 -5
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.js +3 -3
- package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.js +12 -12
- package/dist/lib/custom/Actions/action-form.component.js.map +1 -1
- package/dist/lib/custom/ContentSources/content-source-form.component.d.ts +59 -5
- package/dist/lib/custom/ContentSources/content-source-form.component.d.ts.map +1 -1
- package/dist/lib/custom/ContentSources/content-source-form.component.js +379 -34
- package/dist/lib/custom/ContentSources/content-source-form.component.js.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.d.ts +1 -1
- package/dist/lib/custom/Entities/entity-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.js +5 -5
- package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
- package/dist/lib/custom/Lists/list-form.component.d.ts +1 -1
- package/dist/lib/custom/Lists/list-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Lists/list-form.component.js +10 -10
- package/dist/lib/custom/Lists/list-form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-category-dialog.component.d.ts +2 -1
- package/dist/lib/custom/Queries/query-category-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/Queries/query-category-dialog.component.js +9 -7
- package/dist/lib/custom/Queries/query-category-dialog.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.js +17 -17
- package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.d.ts +2 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.js +7 -6
- package/dist/lib/custom/Queries/query-run-dialog.component.js.map +1 -1
- package/dist/lib/custom/Templates/template-param-dialog.component.d.ts +2 -1
- package/dist/lib/custom/Templates/template-param-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/template-param-dialog.component.js +10 -8
- package/dist/lib/custom/Templates/template-param-dialog.component.js.map +1 -1
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts +2 -1
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/template-params-grid.component.js +9 -7
- package/dist/lib/custom/Templates/template-params-grid.component.js.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.js +8 -8
- package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts +3 -2
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/entity-link-pill.component.js +8 -6
- package/dist/lib/custom/Tests/entity-link-pill.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.d.ts +1 -1
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +7 -7
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js +5 -5
- package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +8 -8
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js +6 -6
- package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts +2 -1
- 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 +8 -6
- 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-data.service.d.ts +9 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js +15 -3
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts +3 -2
- 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 +10 -5
- 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.js +2 -2
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts +2 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.js +6 -4
- package/dist/lib/custom/shared/entity-selector-dialog.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +46 -28
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.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/MJContentItem/mjcontentitem.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.js +25 -7
- package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js +25 -7
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +106 -88
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js +181 -61
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTagScope/mjtagscope.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJTagScope/mjtagscope.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJTagScope/mjtagscope.form.component.js +63 -0
- package/dist/lib/generated/Entities/MJTagScope/mjtagscope.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJTagSuggestion/mjtagsuggestion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJTagSuggestion/mjtagsuggestion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJTagSuggestion/mjtagsuggestion.form.component.js +95 -0
- package/dist/lib/generated/Entities/MJTagSuggestion/mjtagsuggestion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJTagSynonym/mjtagsynonym.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJTagSynonym/mjtagsynonym.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJTagSynonym/mjtagsynonym.form.component.js +63 -0
- package/dist/lib/generated/Entities/MJTagSynonym/mjtagsynonym.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +199 -181
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +51 -48
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +27 -18
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/dist/lib/shared/components/template-editor.component.d.ts +3 -2
- package/dist/lib/shared/components/template-editor.component.d.ts.map +1 -1
- package/dist/lib/shared/components/template-editor.component.js +8 -6
- package/dist/lib/shared/components/template-editor.component.js.map +1 -1
- package/package.json +37 -35
|
@@ -8,7 +8,7 @@ import { Component, inject, ViewContainerRef } from '@angular/core';
|
|
|
8
8
|
import { RegisterClass } from '@memberjunction/global';
|
|
9
9
|
import { BaseFormComponent, CUSTOM_LAYOUT_TOOLBAR_CONFIG } from '@memberjunction/ng-base-forms';
|
|
10
10
|
import { SharedService } from '@memberjunction/ng-shared';
|
|
11
|
-
import {
|
|
11
|
+
import { RunView, CompositeKey } from '@memberjunction/core';
|
|
12
12
|
import { MJActionFormComponent } from '../../generated/Entities/MJAction/mjaction.form.component';
|
|
13
13
|
import { MJDialogService } from '@memberjunction/ng-ui-components';
|
|
14
14
|
import { ActionParamDialogComponent, ActionResultCodeDialogComponent } from '@memberjunction/ng-actions';
|
|
@@ -1423,7 +1423,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1423
1423
|
return false;
|
|
1424
1424
|
}
|
|
1425
1425
|
try {
|
|
1426
|
-
const md =
|
|
1426
|
+
const md = this.ProviderToUse;
|
|
1427
1427
|
const transactionGroup = await md.CreateTransactionGroup();
|
|
1428
1428
|
// Set transaction group on the Action record
|
|
1429
1429
|
this.record.TransactionGroup = transactionGroup;
|
|
@@ -1514,7 +1514,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1514
1514
|
if (!this.record.CategoryID)
|
|
1515
1515
|
return;
|
|
1516
1516
|
try {
|
|
1517
|
-
const md =
|
|
1517
|
+
const md = this.ProviderToUse;
|
|
1518
1518
|
const entity = await md.GetEntityObject('MJ: Action Categories');
|
|
1519
1519
|
const loaded = await entity.Load(this.record.CategoryID);
|
|
1520
1520
|
if (loaded) {
|
|
@@ -1528,7 +1528,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1528
1528
|
async loadActionParams() {
|
|
1529
1529
|
this.isLoadingParams = true;
|
|
1530
1530
|
try {
|
|
1531
|
-
const rv =
|
|
1531
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
1532
1532
|
const result = await rv.RunView({
|
|
1533
1533
|
EntityName: 'MJ: Action Params',
|
|
1534
1534
|
ExtraFilter: `ActionID='${this.record.ID}'`,
|
|
@@ -1567,7 +1567,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1567
1567
|
async loadResultCodes() {
|
|
1568
1568
|
this.isLoadingResultCodes = true;
|
|
1569
1569
|
try {
|
|
1570
|
-
const rv =
|
|
1570
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
1571
1571
|
const result = await rv.RunView({
|
|
1572
1572
|
EntityName: 'MJ: Action Result Codes',
|
|
1573
1573
|
ExtraFilter: `ActionID='${this.record.ID}'`,
|
|
@@ -1607,7 +1607,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1607
1607
|
*/
|
|
1608
1608
|
async reloadAfterSaveSilent() {
|
|
1609
1609
|
try {
|
|
1610
|
-
const rv =
|
|
1610
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
1611
1611
|
const [paramResult, codeResult] = await rv.RunViews([
|
|
1612
1612
|
{
|
|
1613
1613
|
EntityName: 'MJ: Action Params',
|
|
@@ -1645,7 +1645,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1645
1645
|
async loadRecentExecutions() {
|
|
1646
1646
|
this.isLoadingExecutions = true;
|
|
1647
1647
|
try {
|
|
1648
|
-
const rv =
|
|
1648
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
1649
1649
|
const result = await rv.RunView({
|
|
1650
1650
|
EntityName: 'MJ: Action Execution Logs',
|
|
1651
1651
|
ExtraFilter: `ActionID='${this.record.ID}'`,
|
|
@@ -1671,7 +1671,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1671
1671
|
async loadActionLibraries() {
|
|
1672
1672
|
this.isLoadingLibraries = true;
|
|
1673
1673
|
try {
|
|
1674
|
-
const rv =
|
|
1674
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
1675
1675
|
const result = await rv.RunView({
|
|
1676
1676
|
EntityName: 'MJ: Action Libraries',
|
|
1677
1677
|
ExtraFilter: `ActionID='${this.record.ID}'`,
|
|
@@ -1682,7 +1682,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1682
1682
|
// Load library details
|
|
1683
1683
|
if (this.actionLibraries.length > 0) {
|
|
1684
1684
|
const libraryIds = this.actionLibraries.map(al => al.LibraryID).filter(id => id);
|
|
1685
|
-
const md =
|
|
1685
|
+
const md = this.ProviderToUse;
|
|
1686
1686
|
this.libraries = [];
|
|
1687
1687
|
for (const libId of libraryIds) {
|
|
1688
1688
|
const lib = await md.GetEntityObject('MJ: Libraries');
|
|
@@ -1703,7 +1703,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
1703
1703
|
}
|
|
1704
1704
|
async loadExecutionStats() {
|
|
1705
1705
|
try {
|
|
1706
|
-
const rv =
|
|
1706
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
1707
1707
|
// Load ALL executions for accurate statistics
|
|
1708
1708
|
const result = await rv.RunView({
|
|
1709
1709
|
EntityName: 'MJ: Action Execution Logs',
|
|
@@ -2018,7 +2018,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
2018
2018
|
async addParameter(type) {
|
|
2019
2019
|
if (!this.EditMode || !this.record.IsSaved)
|
|
2020
2020
|
return;
|
|
2021
|
-
const md =
|
|
2021
|
+
const md = this.ProviderToUse;
|
|
2022
2022
|
const newParam = await md.GetEntityObject('MJ: Action Params');
|
|
2023
2023
|
// Set default values
|
|
2024
2024
|
newParam.ActionID = this.record.ID;
|
|
@@ -2184,7 +2184,7 @@ let MJActionFormComponentExtended = class MJActionFormComponentExtended extends
|
|
|
2184
2184
|
async addResultCode() {
|
|
2185
2185
|
if (!this.EditMode || !this.record.IsSaved)
|
|
2186
2186
|
return;
|
|
2187
|
-
const md =
|
|
2187
|
+
const md = this.ProviderToUse;
|
|
2188
2188
|
const newResultCode = await md.GetEntityObject('MJ: Action Result Codes');
|
|
2189
2189
|
// Set default values
|
|
2190
2190
|
newResultCode.ActionID = this.record.ID;
|