@memberjunction/ng-core-entity-forms 5.22.0 → 5.24.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/AIAgents/add-action-dialog.component.d.ts +4 -5
- package/dist/lib/custom/AIAgents/add-action-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/add-action-dialog.component.js +55 -59
- package/dist/lib/custom/AIAgents/add-action-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/agent-advanced-settings-dialog.component.js +0 -1
- 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 +4 -5
- 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 +54 -71
- package/dist/lib/custom/AIAgents/agent-prompt-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +1053 -1096
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts +2 -3
- package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-management.service.js +39 -82
- package/dist/lib/custom/AIAgents/ai-agent-management.service.js.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts +4 -5
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js +28 -31
- 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 +4 -5
- 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 +15 -14
- 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 +4 -7
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js +77 -124
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts +2 -2
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.js +10 -11
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.js.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts +4 -5
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js +18 -18
- 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 +4 -5
- 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 +59 -80
- 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 +4 -5
- 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 +23 -24
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js.map +1 -1
- 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 +862 -906
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js +4 -5
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +448 -499
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.d.ts +2 -2
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.js +6 -11
- package/dist/lib/custom/AIPrompts/ai-prompt-management.service.js.map +1 -1
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts +4 -5
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js +16 -15
- package/dist/lib/custom/AIPrompts/template-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.js +160 -166
- package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.js +93 -94
- package/dist/lib/custom/Actions/action-form.component.js.map +1 -1
- package/dist/lib/custom/ContentSources/content-source-form.component.d.ts +22 -0
- package/dist/lib/custom/ContentSources/content-source-form.component.d.ts.map +1 -0
- package/dist/lib/custom/ContentSources/content-source-form.component.js +165 -0
- package/dist/lib/custom/ContentSources/content-source-form.component.js.map +1 -0
- package/dist/lib/custom/Entities/entity-form.component.js +2 -2
- package/dist/lib/custom/Lists/list-form.component.js +61 -63
- package/dist/lib/custom/Lists/list-form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-category-dialog.component.js +33 -59
- package/dist/lib/custom/Queries/query-category-dialog.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.js +354 -360
- package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.js +62 -71
- package/dist/lib/custom/Queries/query-run-dialog.component.js.map +1 -1
- package/dist/lib/custom/Templates/template-param-dialog.component.js +128 -124
- package/dist/lib/custom/Templates/template-param-dialog.component.js.map +1 -1
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts +45 -22
- package/dist/lib/custom/Templates/template-params-grid.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/template-params-grid.component.js +380 -384
- package/dist/lib/custom/Templates/template-params-grid.component.js.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.js +34 -36
- package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +8 -9
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-feedback-form.component.js +4 -4
- package/dist/lib/custom/Tests/test-run-feedback-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js +7 -7
- package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +6 -7
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js +6 -7
- 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.js +381 -409
- 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.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js +1 -1
- 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.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +74 -63
- 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-visualization.component.js +10 -10
- package/dist/lib/custom/ai-agent-run/ai-agent-run-visualization.component.js.map +1 -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 +352 -332
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +25 -29
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +57 -82
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts +4 -5
- package/dist/lib/custom/shared/entity-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/shared/entity-selector-dialog.component.js +59 -66
- package/dist/lib/custom/shared/entity-selector-dialog.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 -156
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentClientTool/mjaiagentclienttool.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJAIAgentClientTool/mjaiagentclienttool.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJAIAgentClientTool/mjaiagentclienttool.form.component.js +65 -0
- package/dist/lib/generated/Entities/MJAIAgentClientTool/mjaiagentclienttool.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJAIClientToolDefinition/mjaiclienttooldefinition.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJAIClientToolDefinition/mjaiclienttooldefinition.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJAIClientToolDefinition/mjaiclienttooldefinition.form.component.js +89 -0
- package/dist/lib/generated/Entities/MJAIClientToolDefinition/mjaiclienttooldefinition.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +98 -44
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +35 -17
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.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 +79 -20
- package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.js +73 -0
- package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJContentItemTag/mjcontentitemtag.form.component.js +11 -6
- package/dist/lib/generated/Entities/MJContentItemTag/mjcontentitemtag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.js +49 -8
- package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.js +107 -0
- package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.js +57 -0
- package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js +71 -24
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js +43 -15
- package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.js +43 -17
- package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJDuplicateRun/mjduplicaterun.form.component.js +21 -11
- package/dist/lib/generated/Entities/MJDuplicateRun/mjduplicaterun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJDuplicateRunDetail/mjduplicaterundetail.form.component.js +19 -13
- package/dist/lib/generated/Entities/MJDuplicateRunDetail/mjduplicaterundetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJDuplicateRunDetailMatch/mjduplicaterundetailmatch.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJDuplicateRunDetailMatch/mjduplicaterundetailmatch.form.component.js +7 -9
- package/dist/lib/generated/Entities/MJDuplicateRunDetailMatch/mjduplicaterundetailmatch.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 +78 -60
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js +24 -6
- package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js +21 -9
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.js +23 -5
- package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.js +77 -0
- package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.js +22 -4
- package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.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 +139 -19
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.js +67 -0
- package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.js +65 -0
- package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJTaggedItem/mjtaggeditem.form.component.js +10 -8
- package/dist/lib/generated/Entities/MJTaggedItem/mjtaggeditem.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 +226 -154
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js +41 -5
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +286 -279
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +192 -214
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/dist/lib/shared/components/template-editor.component.js +14 -15
- package/dist/lib/shared/components/template-editor.component.js.map +1 -1
- package/package.json +34 -41
package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js
CHANGED
|
@@ -9,47 +9,65 @@ import { RegisterClass } from '@memberjunction/global';
|
|
|
9
9
|
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@memberjunction/ng-base-forms";
|
|
12
|
-
function
|
|
12
|
+
function MJContentSourceTypeFormComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
15
|
-
i0.ɵɵlistener("Navigate", function
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 12);
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJContentSourceTypeFormComponent_Conditional_10_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJContentSourceTypeFormComponent_Conditional_10_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentSources", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
20
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Sources", "ContentSourceTypeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Sources"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentSources"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
|
-
function
|
|
22
|
+
function MJContentSourceTypeFormComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
25
|
-
i0.ɵɵlistener("Navigate", function
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 12);
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJContentSourceTypeFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJContentSourceTypeFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentItems", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
29
|
i0.ɵɵadvance();
|
|
30
30
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Items", "ContentSourceTypeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Items"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentItems"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
|
+
function MJContentSourceTypeFormComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 12);
|
|
35
|
+
i0.ɵɵlistener("Navigate", function MJContentSourceTypeFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJContentSourceTypeFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentProcessRunDetails", $event.totalRowCount)); });
|
|
36
|
+
i0.ɵɵelementEnd()();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Process Run Details", "ContentSourceTypeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Process Run Details"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentProcessRunDetails"))("ShowToolbar", false);
|
|
41
|
+
} }
|
|
32
42
|
let MJContentSourceTypeFormComponent = class MJContentSourceTypeFormComponent extends BaseFormComponent {
|
|
33
43
|
async ngOnInit() {
|
|
34
44
|
await super.ngOnInit();
|
|
35
45
|
this.initSections([
|
|
36
|
-
{ sectionKey: '
|
|
46
|
+
{ sectionKey: 'sourceTypeDetails', sectionName: 'Source Type Details', isExpanded: true },
|
|
47
|
+
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
37
48
|
{ sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false },
|
|
38
|
-
{ sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false }
|
|
49
|
+
{ sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false },
|
|
50
|
+
{ sectionKey: 'mJContentProcessRunDetails', sectionName: 'Content Process Run Details', isExpanded: false }
|
|
39
51
|
]);
|
|
40
52
|
}
|
|
41
53
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJContentSourceTypeFormComponent_BaseFactory; return function MJContentSourceTypeFormComponent_Factory(__ngFactoryType__) { return (ɵMJContentSourceTypeFormComponent_BaseFactory || (ɵMJContentSourceTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJContentSourceTypeFormComponent)))(__ngFactoryType__ || MJContentSourceTypeFormComponent); }; })(); }
|
|
42
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJContentSourceTypeFormComponent, selectors: [["gen-mjcontentsourcetype-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
54
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJContentSourceTypeFormComponent, selectors: [["gen-mjcontentsourcetype-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 15, vars: 45, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "sourceTypeDetails", "SectionName", "Source Type Details", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DriverClass", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Configuration", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJContentSources", "SectionName", "Content Sources", "Icon", "fa fa-plug", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJContentItems", "SectionName", "Content Items", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJContentProcessRunDetails", "SectionName", "Content Process Run Details", "Icon", "fa fa-tasks", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJContentSourceTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43
55
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
44
56
|
i0.ɵɵlistener("Navigate", function MJContentSourceTypeFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJContentSourceTypeFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJContentSourceTypeFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJContentSourceTypeFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJContentSourceTypeFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
45
57
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
46
58
|
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
|
|
47
59
|
i0.ɵɵelementEnd();
|
|
48
60
|
i0.ɵɵelementStart(6, "mj-collapsible-panel", 6);
|
|
49
|
-
i0.ɵɵ
|
|
61
|
+
i0.ɵɵelement(7, "mj-form-field", 7)(8, "mj-form-field", 8);
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵelementStart(9, "mj-collapsible-panel", 9);
|
|
64
|
+
i0.ɵɵconditionalCreate(10, MJContentSourceTypeFormComponent_Conditional_10_Template, 2, 4, "div");
|
|
50
65
|
i0.ɵɵelementEnd();
|
|
51
|
-
i0.ɵɵelementStart(
|
|
52
|
-
i0.ɵɵconditionalCreate(
|
|
66
|
+
i0.ɵɵelementStart(11, "mj-collapsible-panel", 10);
|
|
67
|
+
i0.ɵɵconditionalCreate(12, MJContentSourceTypeFormComponent_Conditional_12_Template, 2, 4, "div");
|
|
68
|
+
i0.ɵɵelementEnd();
|
|
69
|
+
i0.ɵɵelementStart(13, "mj-collapsible-panel", 11);
|
|
70
|
+
i0.ɵɵconditionalCreate(14, MJContentSourceTypeFormComponent_Conditional_14_Template, 2, 4, "div");
|
|
53
71
|
i0.ɵɵelementEnd()();
|
|
54
72
|
} if (rf & 2) {
|
|
55
73
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -64,13 +82,23 @@ let MJContentSourceTypeFormComponent = class MJContentSourceTypeFormComponent ex
|
|
|
64
82
|
i0.ɵɵadvance();
|
|
65
83
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
66
84
|
i0.ɵɵadvance();
|
|
85
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
86
|
+
i0.ɵɵadvance();
|
|
87
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
90
|
+
i0.ɵɵadvance();
|
|
67
91
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentSources"))("DefaultExpanded", false);
|
|
68
92
|
i0.ɵɵadvance();
|
|
69
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
93
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 10 : -1);
|
|
70
94
|
i0.ɵɵadvance();
|
|
71
95
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentItems"))("DefaultExpanded", false);
|
|
72
96
|
i0.ɵɵadvance();
|
|
73
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
97
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 12 : -1);
|
|
98
|
+
i0.ɵɵadvance();
|
|
99
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentProcessRunDetails"))("DefaultExpanded", false);
|
|
100
|
+
i0.ɵɵadvance();
|
|
101
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 14 : -1);
|
|
74
102
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
75
103
|
};
|
|
76
104
|
MJContentSourceTypeFormComponent = __decorate([
|
|
@@ -79,7 +107,7 @@ MJContentSourceTypeFormComponent = __decorate([
|
|
|
79
107
|
export { MJContentSourceTypeFormComponent };
|
|
80
108
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJContentSourceTypeFormComponent, [{
|
|
81
109
|
type: Component,
|
|
82
|
-
args: [{ standalone: false, selector: 'gen-mjcontentsourcetype-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"
|
|
110
|
+
args: [{ standalone: false, selector: 'gen-mjcontentsourcetype-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Source Type Details Section -->\n <mj-collapsible-panel\n SectionKey=\"sourceTypeDetails\"\n SectionName=\"Source Type Details\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverClass\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Process Run Details Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentProcessRunDetails\"\n SectionName=\"Content Process Run Details\"\n Icon=\"fa fa-tasks\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentProcessRunDetails')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Process Run Details','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Process Run Details')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentProcessRunDetails')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentProcessRunDetails', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
83
111
|
}], null, null); })();
|
|
84
112
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJContentSourceTypeFormComponent, { className: "MJContentSourceTypeFormComponent", filePath: "src/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.ts", lineNumber: 13 }); })();
|
|
85
113
|
//# sourceMappingURL=mjcontentsourcetype.form.component.js.map
|
package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjcontentsourcetype.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.ts","../../../../../src/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACv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CAQ8B;YAC1B,+FAAsB;YAc9B,AADI,iBAAuB,EACA;;YAzGiB,AAAlB,mCAAiB,sBAAuB;YAe1D,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,6CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,6CAYC;;;AD3FI,gCAAgC;IAN5C,aAAa,CAAC,iBAAiB,EAAE,0BAA0B,CAAC,CAAC,uCAAuC;GAMxF,gCAAgC,CAW5C;;iFAXY,gCAAgC;cAL5C,SAAS;6BACM,KAAK,YACP,8BAA8B;;kFAG/B,gCAAgC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentSourceTypeEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Content Source Types') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcontentsourcetype-form',\n templateUrl: './mjcontentsourcetype.form.component.html'\n})\nexport class MJContentSourceTypeFormComponent extends BaseFormComponent {\n public record!: MJContentSourceTypeEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'details', sectionName: 'Details', isExpanded: true },\n { sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false },\n { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
1
|
+
{"version":3,"file":"mjcontentsourcetype.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.ts","../../../../../src/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;IC2FtD,AADJ,2BA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;IAN5C,aAAa,CAAC,iBAAiB,EAAE,0BAA0B,CAAC,CAAC,uCAAuC;GAMxF,gCAAgC,CAa5C;;iFAbY,gCAAgC;cAL5C,SAAS;6BACM,KAAK,YACP,8BAA8B;;kFAG/B,gCAAgC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentSourceTypeEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Content Source Types') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcontentsourcetype-form',\n templateUrl: './mjcontentsourcetype.form.component.html'\n})\nexport class MJContentSourceTypeFormComponent extends BaseFormComponent {\n public record!: MJContentSourceTypeEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'sourceTypeDetails', sectionName: 'Source Type Details', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false },\n { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false },\n { sectionKey: 'mJContentProcessRunDetails', sectionName: 'Content Process Run Details', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Source Type Details Section -->\n <mj-collapsible-panel\n SectionKey=\"sourceTypeDetails\"\n SectionName=\"Source Type Details\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverClass\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Process Run Details Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentProcessRunDetails\"\n SectionName=\"Content Process Run Details\"\n Icon=\"fa fa-tasks\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentProcessRunDetails')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Process Run Details','ContentSourceTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Process Run Details')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentProcessRunDetails')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentProcessRunDetails', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjcontenttype.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentType/mjcontenttype.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,0BAA2B,SAAQ,iBAAiB;IACtD,MAAM,EAAG,mBAAmB,CAAC;IAErB,QAAQ;yCAHd,0BAA0B;2CAA1B,0BAA0B;
|
|
1
|
+
{"version":3,"file":"mjcontenttype.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentType/mjcontenttype.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,0BAA2B,SAAQ,iBAAiB;IACtD,MAAM,EAAG,mBAAmB,CAAC;IAErB,QAAQ;yCAHd,0BAA0B;2CAA1B,0BAA0B;CAetC"}
|
|
@@ -9,20 +9,20 @@ import { RegisterClass } from '@memberjunction/global';
|
|
|
9
9
|
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@memberjunction/ng-base-forms";
|
|
12
|
-
function
|
|
12
|
+
function MJContentTypeFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
15
|
-
i0.ɵɵlistener("Navigate", function
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJContentTypeFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJContentTypeFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentSources", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
20
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Sources", "ContentTypeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Sources"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentSources"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
|
-
function
|
|
22
|
+
function MJContentTypeFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
25
|
-
i0.ɵɵlistener("Navigate", function
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJContentTypeFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJContentTypeFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentItems", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -33,25 +33,39 @@ let MJContentTypeFormComponent = class MJContentTypeFormComponent extends BaseFo
|
|
|
33
33
|
async ngOnInit() {
|
|
34
34
|
await super.ngOnInit();
|
|
35
35
|
this.initSections([
|
|
36
|
-
{ sectionKey: '
|
|
36
|
+
{ sectionKey: 'contentTypeDetails', sectionName: 'Content Type Details', isExpanded: true },
|
|
37
37
|
{ sectionKey: 'aIModelSettings', sectionName: 'AI Model Settings', isExpanded: true },
|
|
38
|
+
{ sectionKey: 'taggingRules', sectionName: 'Tagging Rules', isExpanded: false },
|
|
39
|
+
{ sectionKey: 'advancedConfiguration', sectionName: 'Advanced Configuration', isExpanded: false },
|
|
40
|
+
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
38
41
|
{ sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false },
|
|
39
42
|
{ sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false }
|
|
40
43
|
]);
|
|
41
44
|
}
|
|
42
45
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJContentTypeFormComponent_BaseFactory; return function MJContentTypeFormComponent_Factory(__ngFactoryType__) { return (ɵMJContentTypeFormComponent_BaseFactory || (ɵMJContentTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJContentTypeFormComponent)))(__ngFactoryType__ || MJContentTypeFormComponent); }; })(); }
|
|
43
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJContentTypeFormComponent, selectors: [["gen-mjcontenttype-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
46
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJContentTypeFormComponent, selectors: [["gen-mjcontenttype-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 62, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "contentTypeDetails", "SectionName", "Content Type Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "aIModelSettings", "SectionName", "AI Model Settings", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "AIModelID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EmbeddingModelID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorIndexID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "taggingRules", "SectionName", "Tagging Rules", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "MinTags", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxTags", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "advancedConfiguration", "SectionName", "Advanced Configuration", "Icon", "fa fa-tools", 3, "Form", "FormContext"], ["FieldName", "Configuration", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJContentSources", "SectionName", "Content Sources", "Icon", "fa fa-plug", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJContentItems", "SectionName", "Content Items", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJContentTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
47
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
45
48
|
i0.ɵɵlistener("Navigate", function MJContentTypeFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJContentTypeFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJContentTypeFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJContentTypeFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJContentTypeFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
46
49
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
47
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)
|
|
50
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3);
|
|
48
51
|
i0.ɵɵelementEnd();
|
|
49
|
-
i0.ɵɵ
|
|
50
|
-
i0.ɵɵ
|
|
51
|
-
i0.ɵɵconditionalCreate(11, MJContentTypeFormComponent_Conditional_11_Template, 2, 4, "div");
|
|
52
|
+
i0.ɵɵelementStart(4, "mj-collapsible-panel", 4);
|
|
53
|
+
i0.ɵɵelement(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7);
|
|
52
54
|
i0.ɵɵelementEnd();
|
|
53
|
-
i0.ɵɵelementStart(
|
|
54
|
-
i0.ɵɵ
|
|
55
|
+
i0.ɵɵelementStart(8, "mj-collapsible-panel", 8);
|
|
56
|
+
i0.ɵɵelement(9, "mj-form-field", 9)(10, "mj-form-field", 10);
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
|
|
59
|
+
i0.ɵɵelement(12, "mj-form-field", 12);
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
i0.ɵɵelementStart(13, "mj-collapsible-panel", 13);
|
|
62
|
+
i0.ɵɵelement(14, "mj-form-field", 14)(15, "mj-form-field", 15);
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
i0.ɵɵelementStart(16, "mj-collapsible-panel", 16);
|
|
65
|
+
i0.ɵɵconditionalCreate(17, MJContentTypeFormComponent_Conditional_17_Template, 2, 4, "div");
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
i0.ɵɵelementStart(18, "mj-collapsible-panel", 17);
|
|
68
|
+
i0.ɵɵconditionalCreate(19, MJContentTypeFormComponent_Conditional_19_Template, 2, 4, "div");
|
|
55
69
|
i0.ɵɵelementEnd()();
|
|
56
70
|
} if (rf & 2) {
|
|
57
71
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -62,25 +76,37 @@ let MJContentTypeFormComponent = class MJContentTypeFormComponent extends BaseFo
|
|
|
62
76
|
i0.ɵɵadvance();
|
|
63
77
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
64
78
|
i0.ɵɵadvance();
|
|
79
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
80
|
+
i0.ɵɵadvance();
|
|
65
81
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
66
82
|
i0.ɵɵadvance();
|
|
67
83
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
68
84
|
i0.ɵɵadvance();
|
|
69
85
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
70
86
|
i0.ɵɵadvance();
|
|
87
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
88
|
+
i0.ɵɵadvance();
|
|
71
89
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
72
90
|
i0.ɵɵadvance();
|
|
73
91
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
74
92
|
i0.ɵɵadvance();
|
|
75
93
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
76
94
|
i0.ɵɵadvance();
|
|
95
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", false)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
96
|
+
i0.ɵɵadvance();
|
|
97
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
98
|
+
i0.ɵɵadvance();
|
|
99
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
100
|
+
i0.ɵɵadvance();
|
|
101
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
102
|
+
i0.ɵɵadvance();
|
|
77
103
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentSources"))("DefaultExpanded", false);
|
|
78
104
|
i0.ɵɵadvance();
|
|
79
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
105
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 17 : -1);
|
|
80
106
|
i0.ɵɵadvance();
|
|
81
107
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentItems"))("DefaultExpanded", false);
|
|
82
108
|
i0.ɵɵadvance();
|
|
83
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
109
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 19 : -1);
|
|
84
110
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
85
111
|
};
|
|
86
112
|
MJContentTypeFormComponent = __decorate([
|
|
@@ -89,7 +115,7 @@ MJContentTypeFormComponent = __decorate([
|
|
|
89
115
|
export { MJContentTypeFormComponent };
|
|
90
116
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJContentTypeFormComponent, [{
|
|
91
117
|
type: Component,
|
|
92
|
-
args: [{ standalone: false, selector: 'gen-mjcontenttype-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"
|
|
118
|
+
args: [{ standalone: false, selector: 'gen-mjcontenttype-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Content Type Details Section -->\n <mj-collapsible-panel\n SectionKey=\"contentTypeDetails\"\n SectionName=\"Content Type Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- AI Model Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"aIModelSettings\"\n SectionName=\"AI Model Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EmbeddingModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Tagging Rules Section -->\n <mj-collapsible-panel\n SectionKey=\"taggingRules\"\n SectionName=\"Tagging Rules\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MinTags\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxTags\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedConfiguration\"\n SectionName=\"Advanced Configuration\"\n Icon=\"fa fa-tools\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','ContentTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
93
119
|
}], null, null); })();
|
|
94
120
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJContentTypeFormComponent, { className: "MJContentTypeFormComponent", filePath: "src/lib/generated/Entities/MJContentType/mjcontenttype.form.component.ts", lineNumber: 13 }); })();
|
|
95
121
|
//# sourceMappingURL=mjcontenttype.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjcontenttype.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentType/mjcontenttype.form.component.ts","../../../../../src/lib/generated/Entities/MJContentType/mjcontenttype.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;ICoGtD,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGtF,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,kEAC/B,2DACP,sBAC9B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IARE,cAAuF;IAGvF,AADA,AADA,AADA,6GAAuF,gEAC/B,yDACP,sBAC5B;;ADxH9B,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,iBAAiB;IAGpD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE;YACnE,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE;YACrF,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;YACrF,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,K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IANtC,aAAa,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC,uCAAuC;GAMjF,0BAA0B,CAYtC;;iFAZY,0BAA0B;cALtC,SAAS;6BACM,KAAK,YACP,wBAAwB;;kFAGzB,0BAA0B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentTypeEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Content Types') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcontenttype-form',\n templateUrl: './mjcontenttype.form.component.html'\n})\nexport class MJContentTypeFormComponent extends BaseFormComponent {\n public record!: MJContentTypeEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'details', sectionName: 'Details', isExpanded: true },\n { sectionKey: 'aIModelSettings', sectionName: 'AI Model Settings', isExpanded: true },\n { sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false },\n { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MinTags\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxTags\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- AI Model Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"aIModelSettings\"\n SectionName=\"AI Model Settings\"\n Icon=\"fa fa-robot\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','ContentTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
1
|
+
{"version":3,"file":"mjcontenttype.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentType/mjcontenttype.form.component.ts","../../../../../src/lib/generated/Entities/MJContentType/mjcontenttype.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;IC4JtD,AADJ,2BAAK,uCAQI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/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;;;ADtLI,0BAA0B;IANtC,aAAa,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC,uCAAuC;GAMjF,0BAA0B,CAetC;;iFAfY,0BAA0B;cALtC,SAAS;6BACM,KAAK,YACP,wBAAwB;;kFAGzB,0BAA0B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentTypeEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Content Types') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcontenttype-form',\n templateUrl: './mjcontenttype.form.component.html'\n})\nexport class MJContentTypeFormComponent extends BaseFormComponent {\n public record!: MJContentTypeEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'contentTypeDetails', sectionName: 'Content Type Details', isExpanded: true },\n { sectionKey: 'aIModelSettings', sectionName: 'AI Model Settings', isExpanded: true },\n { sectionKey: 'taggingRules', sectionName: 'Tagging Rules', isExpanded: false },\n { sectionKey: 'advancedConfiguration', sectionName: 'Advanced Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJContentSources', sectionName: 'Content Sources', isExpanded: false },\n { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Content Type Details Section -->\n <mj-collapsible-panel\n SectionKey=\"contentTypeDetails\"\n SectionName=\"Content Type Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- AI Model Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"aIModelSettings\"\n SectionName=\"AI Model Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EmbeddingModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Tagging Rules Section -->\n <mj-collapsible-panel\n SectionKey=\"taggingRules\"\n SectionName=\"Tagging Rules\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MinTags\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxTags\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedConfiguration\"\n SectionName=\"Advanced Configuration\"\n Icon=\"fa fa-tools\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Sources Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSources\"\n SectionName=\"Content Sources\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSources')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Sources','ContentTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Sources')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSources')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSources', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|