@memberjunction/ng-core-entity-forms 5.30.0 → 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-source-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/ContentSources/content-source-form.component.ts","../../../../src/lib/custom/ContentSources/content-source-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;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,yEAAyE,CAAC;;;;IC8B/G,mCAQiB;;;IAFb,AADA,AAHA,AADA,sCAAiB,mBACC,6BAGG,mCACM;;;IAgB/B,AATA,oCAQiB,wBASA;;;IAXb,AADA,AAHA,AADA,sCAAiB,mBACC,6BAGG,mCACM;IAI3B,cAAiB;IAKjB,AADA,AAHA,AADA,sCAAiB,mBACC,6BAGG,mCACM;;;;IAoH3B,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,gEACjC,yDACP,sBAC5B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,uE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AK,YACP,iCAAiC;;kFAGlC,oCAAoC;AAcjD,MAAM,UAAU,6BAA6B;IACzC,wBAAwB;AAC5B,CAAC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentSourceEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { MJContentSourceFormComponent } from '../../generated/Entities/MJContentSource/mjcontentsource.form.component';\n\n/**\n * Custom Content Source form that conditionally shows/hides Entity-specific fields\n * (EntityID, EntityDocumentID) based on the selected ContentSourceType.\n *\n * When the source type is \"Entity\", the entity fields are shown and URL is hidden.\n * For all other source types, URL is shown and entity fields are hidden.\n */\n@RegisterClass(BaseFormComponent, 'MJ: Content Sources')\n@Component({\n standalone: false,\n selector: 'mj-content-source-form-extended',\n templateUrl: './content-source-form.component.html',\n})\nexport class MJContentSourceFormComponentExtended extends MJContentSourceFormComponent {\n public override record!: MJContentSourceEntity;\n\n /**\n * Whether the current source type is \"Entity\", which enables\n * EntityID and EntityDocumentID fields and hides the URL field.\n */\n public get IsEntitySourceType(): boolean {\n if (!this.record) return false;\n const typeName = this.record.ContentSourceType;\n return typeName != null && typeName.trim().toLowerCase() === 'entity';\n }\n}\n\nexport function LoadContentSourceFormExtended() {\n // Prevents tree-shaking\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 <!-- Connection Details Section -->\n <mj-collapsible-panel\n SectionKey=\"connectionDetails\"\n SectionName=\"Connection 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=\"ContentSourceTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n <!-- URL: shown for non-Entity source types -->\n @if (!IsEntitySourceType) {\n <mj-form-field\n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"URL\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n }\n\n <!-- Entity fields: shown only for Entity source type -->\n @if (IsEntitySourceType) {\n <mj-form-field\n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\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=\"EntityDocumentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n }\n </mj-collapsible-panel>\n\n <!-- Content Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"contentClassification\"\n SectionName=\"Content Classification\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field\n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentTypeID\"\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=\"ContentFileTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n </mj-collapsible-panel>\n\n <!-- AI & Indexing Section -->\n <mj-collapsible-panel\n SectionKey=\"aIIndexing\"\n SectionName=\"AI & Indexing\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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 </mj-collapsible-panel>\n\n <!-- Source Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"sourceConfiguration\"\n SectionName=\"Source Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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 </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 </mj-collapsible-panel>\n\n <!-- Related Entity Panels -->\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','ContentSourceID')\"\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 Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentProcessRuns\"\n SectionName=\"Content Process Runs\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentProcessRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Process Runs','SourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Process Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentProcessRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentProcessRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Source Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSourceParams\"\n SectionName=\"Content Source Params\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSourceParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Source Params','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Source Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSourceParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSourceParams', $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":"content-source-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/ContentSources/content-source-form.component.ts","../../../../src/lib/custom/ContentSources/content-source-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;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,yEAAyE,CAAC;;;;;;;IC8B/G,mCAQiB;;;IAFb,AADA,AAHA,AADA,sCAAiB,mBACC,6BAGG,mCACM;;;IAgB/B,AATA,oCAQiB,wBASA;;;IAXb,AADA,AAHA,AADA,sCAAiB,mBACC,6BAGG,mCACM;IAI3B,cAAiB;IAKjB,AADA,AAHA,AADA,sCAAiB,mBACC,6BAGG,mCACM;;;;IA0EvB,+BAEkD;IAA7C,uOAAoB,0BAAgB,GAAG,IAAI,KAAC;IAC7C,oBAAwC;IACxC,+BAAgB;IAAA,YAAa;IAAA,iBAAM;IACnC,+BAAkB;IAAA,YAAY;IAClC,AADkC,iBAAM,EAClC;;;;IALD,6DAA0C;IAExC,cAAgC;IAAhC,cAAA,gDAAgC,CAAA;IACnB,eAAa;IAAb,gCAAa;IACX,eAAY;IAAZ,+BAAY;;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EsB,eAA6C;YAA7C,gFAA6C;YAGnH,eAQC;YARD,0DAQC;YAWiD,gBAAsB;YAC7D,AADuC,wCAAsB,4CACtB;YAMA,eAAsB;YAC7D,AADuC,wCAAsB,6CACrB;YAMD,eAAsB;YAC7D,AADuC,wCAAsB,2CACvB;YAMa,eAAsB;YACzE,AADmD,wCAAsB,yCACrC;YAYnD,eAAa;YAEb,AADA,AADA,0BAAa,gCACc,0BACF;YAErB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAS/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;YAY/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,+CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,+CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,+CAYC;;;AD9UI,oCAAoC;IAPhD,aAAa,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;GAO3C,oCAAoC,CAmJhD;;iFAnJY,oCAAoC;cANhD,SAAS;6BACM,KAAK,YACP,iCAAiC;;kFAIlC,oCAAoC;AAqJjD,MAAM,UAAU,6BAA6B;IACzC,wBAAwB;AAC5B,CAAC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentSourceEntity, MJContentSourceEntity_IContentSourceConfiguration } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { MJContentSourceFormComponent } from '../../generated/Entities/MJContentSource/mjcontentsource.form.component';\n\ntype TaxonomyModeJson = NonNullable<MJContentSourceEntity_IContentSourceConfiguration['TagTaxonomyMode']>;\n\ninterface TaxonomyModeOption {\n value: TaxonomyModeJson;\n label: string;\n icon: string;\n desc: string;\n}\n\n/**\n * Custom Content Source form.\n *\n * Adds two responsibilities on top of the generated form:\n * 1. Conditional Connection Details (Entity-source vs URL-source) — pre-existing.\n * 2. Tag Pipeline Configuration — Option-B \"dense form\" surface for the typed\n * `IContentSourceConfiguration` knobs (mode, thresholds, scope, budgets) that\n * otherwise would only be editable as raw JSON. The Configuration field still\n * exists below as a code editor for advanced overrides.\n *\n * The pipeline knobs read/write through the typed `ConfigurationObject` accessor\n * that CodeGen emits on `MJContentSourceEntity`, so changes round-trip through the\n * existing JSON column. There's no separate save path.\n */\n@RegisterClass(BaseFormComponent, 'MJ: Content Sources')\n@Component({\n standalone: false,\n selector: 'mj-content-source-form-extended',\n templateUrl: './content-source-form.component.html',\n styleUrls: ['./content-source-form.component.css'],\n})\nexport class MJContentSourceFormComponentExtended extends MJContentSourceFormComponent {\n public override record!: MJContentSourceEntity;\n\n public readonly TaxonomyModes: TaxonomyModeOption[] = [\n { value: 'constrained', label: 'Constrained', icon: 'fa-lock', desc: 'Curated only — every novel name → suggestion queue.' },\n { value: 'auto-grow', label: 'AutoGrow', icon: 'fa-seedling', desc: 'Bounded auto-creation under TagRoot, gated by per-tag governance.' },\n { value: 'free-flow', label: 'FreeFlow', icon: 'fa-water', desc: 'Anything goes — auto-create root-level tags as needed.' },\n ];\n /** \"hybrid\" is supported by the engine but not yet enumerated in the JSON-schema literal type;\n * we expose it as a compatibility option that maps to the same field. */\n public readonly HybridModeOption: TaxonomyModeOption = {\n value: 'auto-grow' as TaxonomyModeJson, // engine accepts 'hybrid' but the typed literal is constrained — TODO: widen schema\n label: 'Hybrid',\n icon: 'fa-balance-scale',\n desc: 'Auto-match enabled, but never auto-creates. Ambiguous matches → suggestion queue.',\n };\n\n /**\n * Whether the current source type is \"Entity\", which enables\n * EntityID and EntityDocumentID fields and hides the URL field.\n */\n public get IsEntitySourceType(): boolean {\n if (!this.record) return false;\n const typeName = this.record.ContentSourceType;\n return typeName != null && typeName.trim().toLowerCase() === 'entity';\n }\n\n /**\n * Read the typed Configuration object — never null, defaults applied where\n * the JSON didn't supply them. Writing back is via `setConfig` so we keep\n * the record dirty and persist through the standard Save() path.\n */\n public get Config(): MJContentSourceEntity_IContentSourceConfiguration {\n const raw = this.record?.ConfigurationObject;\n return raw ?? {};\n }\n\n public setConfig(patch: Partial<MJContentSourceEntity_IContentSourceConfiguration>): void {\n if (!this.record) return;\n const current = this.record.ConfigurationObject ?? {};\n const merged: MJContentSourceEntity_IContentSourceConfiguration = { ...current, ...patch };\n // Setting via the typed accessor updates Configuration JSON + marks dirty.\n this.record.ConfigurationObject = merged;\n }\n\n // ---------- Mode -------------------------------------------------------\n\n public get CurrentMode(): TaxonomyModeJson {\n return this.Config.TagTaxonomyMode ?? 'auto-grow';\n }\n public SetMode(mode: TaxonomyModeJson): void {\n this.setConfig({ TagTaxonomyMode: mode });\n }\n\n // ---------- Thresholds -------------------------------------------------\n\n public get MatchThresholdValue(): number {\n return this.Config.TagMatchThreshold ?? 0.85;\n }\n public set MatchThresholdValue(v: number) {\n const clamped = Math.max(0, Math.min(1, Number(v) || 0));\n const cur = this.Config.SuggestThreshold;\n const patch: Partial<MJContentSourceEntity_IContentSourceConfiguration> = { TagMatchThreshold: clamped };\n // Keep SuggestThreshold below MatchThreshold; if currently above (or unset), pin it.\n if (cur == null || cur >= clamped) patch.SuggestThreshold = Math.max(0, clamped - 0.05);\n this.setConfig(patch);\n }\n public get SuggestThresholdValue(): number {\n return this.Config.SuggestThreshold ?? Math.max(0, this.MatchThresholdValue - 0.05);\n }\n public set SuggestThresholdValue(v: number) {\n const clamped = Math.max(0, Math.min(this.MatchThresholdValue, Number(v) || 0));\n this.setConfig({ SuggestThreshold: clamped });\n }\n public get ThresholdValidationMessage(): string | null {\n const m = this.Config.TagMatchThreshold;\n const s = this.Config.SuggestThreshold;\n if (m != null && s != null && s >= m) {\n return 'SuggestThreshold must be lower than MatchThreshold.';\n }\n return null;\n }\n\n // ---------- Tag root + share-with-LLM ----------------------------------\n\n public get TagRootIDValue(): string | null {\n return this.Config.TagRootID ?? null;\n }\n public set TagRootIDValue(v: string | null) {\n this.setConfig({ TagRootID: v ?? null });\n }\n public get ShareTaxonomyValue(): boolean {\n return this.Config.ShareTaxonomyWithLLM !== false; // default true\n }\n public set ShareTaxonomyValue(v: boolean) {\n this.setConfig({ ShareTaxonomyWithLLM: v });\n }\n public get EnableVectorizationValue(): boolean {\n return this.Config.EnableVectorization !== false; // default true\n }\n public set EnableVectorizationValue(v: boolean) {\n this.setConfig({ EnableVectorization: v });\n }\n\n // ---------- Budgets ----------------------------------------------------\n\n public get MaxNewTagsPerRunValue(): number | null {\n return this.Config.MaxNewTagsPerRun ?? null;\n }\n public set MaxNewTagsPerRunValue(v: number | string | null) {\n this.setConfig({ MaxNewTagsPerRun: this.normalizeNullableNumber(v) });\n }\n public get MaxNewTagsPerItemValue(): number | null {\n return this.Config.MaxNewTagsPerItem ?? null;\n }\n public set MaxNewTagsPerItemValue(v: number | string | null) {\n this.setConfig({ MaxNewTagsPerItem: this.normalizeNullableNumber(v) });\n }\n public get MaxTokensPerRunValue(): number | null {\n return this.Config.MaxTokensPerRun ?? null;\n }\n public set MaxTokensPerRunValue(v: number | string | null) {\n this.setConfig({ MaxTokensPerRun: this.normalizeNullableNumber(v) });\n }\n public get MaxCostPerRunValue(): number | null {\n return this.Config.MaxCostPerRun ?? null;\n }\n public set MaxCostPerRunValue(v: number | string | null) {\n this.setConfig({ MaxCostPerRun: this.normalizeNullableNumber(v) });\n }\n\n /**\n * Coerce a possibly-blank input into a typed number. The IContentSourceConfiguration\n * interface uses optional properties (`?: number`), so \"no value\" is `undefined`,\n * not `null`. Returning undefined deletes the key from the persisted JSON when the\n * setConfig spread is applied.\n */\n private normalizeNullableNumber(v: number | string | null | undefined): number | undefined {\n if (v == null) return undefined;\n if (typeof v === 'string') {\n const trimmed = v.trim();\n if (trimmed === '') return undefined;\n const n = Number(trimmed);\n return Number.isFinite(n) ? n : undefined;\n }\n return Number.isFinite(v) ? v : undefined;\n }\n}\n\nexport function LoadContentSourceFormExtended() {\n // Prevents tree-shaking\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 <!-- Connection Details Section -->\n <mj-collapsible-panel\n SectionKey=\"connectionDetails\"\n SectionName=\"Connection 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=\"ContentSourceTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n <!-- URL: shown for non-Entity source types -->\n @if (!IsEntitySourceType) {\n <mj-form-field\n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"URL\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n }\n\n <!-- Entity fields: shown only for Entity source type -->\n @if (IsEntitySourceType) {\n <mj-form-field\n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\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=\"EntityDocumentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n }\n </mj-collapsible-panel>\n\n <!-- Content Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"contentClassification\"\n SectionName=\"Content Classification\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field\n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentTypeID\"\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=\"ContentFileTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n </mj-collapsible-panel>\n\n <!-- AI & Indexing Section -->\n <mj-collapsible-panel\n SectionKey=\"aIIndexing\"\n SectionName=\"AI & Indexing\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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 </mj-collapsible-panel>\n\n <!-- Tag Pipeline Configuration — typed knobs from IContentSourceConfiguration -->\n <mj-collapsible-panel\n SectionKey=\"tagPipelineConfiguration\"\n SectionName=\"Tag Pipeline Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n <!-- 1. Taxonomy mode -->\n <h4 style=\"font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mj-text-muted); margin: 4px 0 8px; font-weight: 700;\">\n Taxonomy mode\n </h4>\n <div class=\"cs-mode-grid\">\n @for (m of TaxonomyModes; track m.value) {\n <div class=\"cs-mode-card\"\n [class.selected]=\"CurrentMode === m.value\"\n (click)=\"EditMode ? SetMode(m.value) : null\">\n <i class=\"fa-solid {{ m.icon }} ic\"></i>\n <div class=\"nm\">{{ m.label }}</div>\n <div class=\"desc\">{{ m.desc }}</div>\n </div>\n }\n </div>\n\n <!-- 2. Scope & root -->\n <h4 style=\"font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mj-text-muted); margin: 16px 0 8px; font-weight: 700;\">\n Scope & tag root\n </h4>\n <div class=\"cs-grid\">\n <div class=\"cs-field\">\n <label>Tag root (TagRootID)</label>\n <input class=\"cs-input\" [disabled]=\"!EditMode\"\n [ngModel]=\"TagRootIDValue\"\n (ngModelChange)=\"TagRootIDValue = $event\" />\n <span class=\"hint\">Restricts the LLM's visible taxonomy + auto-grow target. Leave blank for full taxonomy.</span>\n </div>\n <div class=\"cs-field\">\n <label>Embedding model (legacy ContentSource field)</label>\n <input class=\"cs-input\" disabled [value]=\"record.EmbeddingModelID || '—'\" />\n <span class=\"hint\">Set in the AI & Indexing section above.</span>\n </div>\n </div>\n\n <div class=\"cs-toggle-row\">\n <div class=\"label\">\n <span class=\"t\">Share full taxonomy with the LLM</span>\n <span class=\"d\">When on, the LLM prompt includes the visible (scope-filtered) taxonomy. Larger taxonomies → higher token cost.</span>\n </div>\n <div class=\"cs-switch\" [class.on]=\"ShareTaxonomyValue\"\n (click)=\"EditMode ? (ShareTaxonomyValue = !ShareTaxonomyValue) : null\"></div>\n </div>\n <div class=\"cs-toggle-row\">\n <div class=\"label\">\n <span class=\"t\">Vectorize new content</span>\n <span class=\"d\">When off, this source skips vectorization (autotagger still runs).</span>\n </div>\n <div class=\"cs-switch\" [class.on]=\"EnableVectorizationValue\"\n (click)=\"EditMode ? (EnableVectorizationValue = !EnableVectorizationValue) : null\"></div>\n </div>\n\n <!-- 3. Thresholds -->\n <h4 style=\"font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mj-text-muted); margin: 16px 0 8px; font-weight: 700;\">\n Thresholds\n </h4>\n <div class=\"cs-threshold-pair\">\n <div class=\"cs-grid\">\n <div class=\"cs-field\">\n <label>MatchThreshold (auto-apply)</label>\n <input type=\"range\" class=\"cs-slider\" min=\"0.50\" max=\"1.00\" step=\"0.01\"\n [disabled]=\"!EditMode\"\n [ngModel]=\"MatchThresholdValue\"\n (ngModelChange)=\"MatchThresholdValue = $event\" />\n <div class=\"cs-slider-row\"><span>0.50</span><span class=\"cur\">{{ MatchThresholdValue | number: '1.2-2' }}</span><span>1.00</span></div>\n </div>\n <div class=\"cs-field\">\n <label>SuggestThreshold (route to inbox)</label>\n <input type=\"range\" class=\"cs-slider\" min=\"0.50\" max=\"1.00\" step=\"0.01\"\n [disabled]=\"!EditMode\"\n [ngModel]=\"SuggestThresholdValue\"\n (ngModelChange)=\"SuggestThresholdValue = $event\" />\n <div class=\"cs-slider-row\"><span>0.50</span><span class=\"cur\">{{ SuggestThresholdValue | number: '1.2-2' }}</span><span>1.00</span></div>\n </div>\n </div>\n @if (ThresholdValidationMessage) {\n <div class=\"cs-validation\"><i class=\"fa-solid fa-circle-exclamation\"></i> {{ ThresholdValidationMessage }}</div>\n } @else {\n <div class=\"cs-nudge\">\n Scores ≥ <strong>{{ MatchThresholdValue | number: '1.2-2' }}</strong> auto-apply.\n Scores in <strong>[{{ SuggestThresholdValue | number: '1.2-2' }}, {{ MatchThresholdValue | number: '1.2-2' }})</strong> route to the suggestion inbox.\n Below that, the run falls through to handleNoMatch.\n </div>\n }\n </div>\n\n <!-- 4. Volume + cost budgets -->\n <h4 style=\"font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mj-text-muted); margin: 16px 0 8px; font-weight: 700;\">\n Volume & cost budgets\n <span style=\"text-transform: none; letter-spacing: 0; color: var(--mj-text-muted); font-weight: 400; margin-left: 8px;\">When a budget is hit the run pauses (resumes on next start).</span>\n </h4>\n <div class=\"cs-grid four\">\n <div class=\"cs-field\">\n <label>Max new tags / run</label>\n <input class=\"cs-input\" type=\"number\" min=\"0\" [disabled]=\"!EditMode\"\n [ngModel]=\"MaxNewTagsPerRunValue ?? ''\"\n (ngModelChange)=\"MaxNewTagsPerRunValue = $event\" />\n <span class=\"hint\">unlimited if blank</span>\n </div>\n <div class=\"cs-field\">\n <label>Max new tags / item</label>\n <input class=\"cs-input\" type=\"number\" min=\"0\" [disabled]=\"!EditMode\"\n [ngModel]=\"MaxNewTagsPerItemValue ?? ''\"\n (ngModelChange)=\"MaxNewTagsPerItemValue = $event\" />\n <span class=\"hint\">extras → suggestions</span>\n </div>\n <div class=\"cs-field\">\n <label>Max tokens / run</label>\n <input class=\"cs-input\" type=\"number\" min=\"0\" [disabled]=\"!EditMode\"\n [ngModel]=\"MaxTokensPerRunValue ?? ''\"\n (ngModelChange)=\"MaxTokensPerRunValue = $event\" />\n <span class=\"hint\">across all LLM calls</span>\n </div>\n <div class=\"cs-field\">\n <label>Max cost / run (USD)</label>\n <input class=\"cs-input\" type=\"number\" min=\"0\" step=\"0.01\" [disabled]=\"!EditMode\"\n [ngModel]=\"MaxCostPerRunValue ?? ''\"\n (ngModelChange)=\"MaxCostPerRunValue = $event\" />\n <span class=\"hint\">$ stops the run</span>\n </div>\n </div>\n </mj-collapsible-panel>\n\n <!-- Raw JSON override — for SourceSpecificConfiguration and other future keys -->\n <mj-collapsible-panel\n SectionKey=\"sourceConfiguration\"\n SectionName=\"Configuration JSON (advanced)\"\n Icon=\"fa fa-code\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [DefaultExpanded]=\"false\">\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 </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 </mj-collapsible-panel>\n\n <!-- Related Entity Panels -->\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','ContentSourceID')\"\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 Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentProcessRuns\"\n SectionName=\"Content Process Runs\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentProcessRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Process Runs','SourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Process Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentProcessRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentProcessRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Source Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSourceParams\"\n SectionName=\"Content Source Params\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSourceParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Source Params','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Source Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSourceParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSourceParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n"]}
|
|
@@ -175,7 +175,7 @@ export declare class MJEntityFormComponentExtended extends MJEntityFormComponent
|
|
|
175
175
|
selectedRelationship: EntityRelationshipInfo | null;
|
|
176
176
|
private destroy$;
|
|
177
177
|
private stateChange$;
|
|
178
|
-
private _metadata;
|
|
178
|
+
private get _metadata();
|
|
179
179
|
ngOnInit(): Promise<void>;
|
|
180
180
|
ngOnDestroy(): void;
|
|
181
181
|
private setupStateManagement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Entities/entity-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,MAAM,EACN,SAAS,EAGZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EACH,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,iCAAiC,EACjC,oBAAoB,EAIvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAInF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2DAA2D,CAAC;;AAElG,MAAM,MAAM,eAAe,GACrB,UAAU,GACV,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,MAAM,GACN,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AAEjB,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,eAAe,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED;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uCAAuC;IAChC,iBAAiB,UAAS;IAEjC,6DAA6D;IACtD,qBAAqB,EAAE,sBAAsB,EAAE,CAAM;IAE5D,iEAAiE;IAC1D,qBAAqB,EAAE,sBAAsB,EAAE,CAAM;IAE5D,sDAAsD;IAC/C,4BAA4B,EAAE,2BAA2B,EAAE,CAAM;IAExE,sDAAsD;IAC/C,4BAA4B,EAAE,2BAA2B,EAAE,CAAM;IAExE,qDAAqD;IAC9C,mBAAmB,EAAE,kBAAkB,EAAE,CAAM;IAEtD,mEAAmE;IAC5D,mBAAmB,EAAE,kBAAkB,EAAE,CAAM;IAEtD,mCAAmC;IAC5B,eAAe,UAAS;IAE/B,gDAAgD;IACzC,aAAa,EAAE,eAAe,GAAG,IAAI,CAAQ;IAEpD,uDAAuD;IAChD,oBAAoB,EAAE,sBAAsB,GAAG,IAAI,CAAQ;IAElE,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,
|
|
1
|
+
{"version":3,"file":"entity-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Entities/entity-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,MAAM,EACN,SAAS,EAGZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EACH,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,iCAAiC,EACjC,oBAAoB,EAIvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAInF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2DAA2D,CAAC;;AAElG,MAAM,MAAM,eAAe,GACrB,UAAU,GACV,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,MAAM,GACN,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AA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M,CAGrC;IAED,IAAW,iBAAiB,IAAI,MAAM,EAAE,CAUvC;IAEM,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM;IAgBhD,oBAAoB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI;IAM3D,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,UAAU,GAAG,IAAI;IAK3D,uBAAuB,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAQ5D;;OAEG;IACI,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAOlD,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM;IAUtD;;;;;OAKG;IACI,WAAW,CAAC,IAAI,EAAE,oBAAoB,GAAG,MAAM;IAMtD;;OAEG;IACI,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAY1C;;OAEG;IACH,2FAA2F;IACpF,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO;IAIhD,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;yCAn+BpC,6BAA6B;2CAA7B,6BAA6B;CA4+BzC"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { Component, ChangeDetectionStrategy, inject } from '@angular/core';
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { debounceTime, takeUntil } from 'rxjs/operators';
|
|
10
|
-
import {
|
|
10
|
+
import { CompositeKey, RunView } from '@memberjunction/core';
|
|
11
11
|
import { RegisterClass, UUIDsEqual } from '@memberjunction/global';
|
|
12
12
|
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
13
13
|
import { SharedService } from '@memberjunction/ng-shared';
|
|
@@ -2777,8 +2777,8 @@ let MJEntityFormComponentExtended = class MJEntityFormComponentExtended extends
|
|
|
2777
2777
|
this.selectedRelationship = null;
|
|
2778
2778
|
this.destroy$ = new Subject();
|
|
2779
2779
|
this.stateChange$ = new Subject();
|
|
2780
|
-
this._metadata = new Metadata();
|
|
2781
2780
|
}
|
|
2781
|
+
get _metadata() { return this.ProviderToUse; }
|
|
2782
2782
|
async ngOnInit() {
|
|
2783
2783
|
await super.ngOnInit();
|
|
2784
2784
|
this.setupStateManagement();
|
|
@@ -2842,7 +2842,7 @@ let MJEntityFormComponentExtended = class MJEntityFormComponentExtended extends
|
|
|
2842
2842
|
this.isRowCountLoading = true;
|
|
2843
2843
|
this.cdr.markForCheck();
|
|
2844
2844
|
try {
|
|
2845
|
-
const rv =
|
|
2845
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
2846
2846
|
const result = await rv.RunView({
|
|
2847
2847
|
EntityName: this.entity.Name,
|
|
2848
2848
|
ResultType: 'count_only'
|
|
@@ -3043,7 +3043,7 @@ let MJEntityFormComponentExtended = class MJEntityFormComponentExtended extends
|
|
|
3043
3043
|
}));
|
|
3044
3044
|
this.cdr.markForCheck();
|
|
3045
3045
|
// Load counts in parallel using count_only for efficiency
|
|
3046
|
-
const rv =
|
|
3046
|
+
const rv = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
3047
3047
|
const countPromises = this.ChildEntities.map(async (child, index) => {
|
|
3048
3048
|
const result = await rv.RunView({
|
|
3049
3049
|
EntityName: child.Name,
|
|
@@ -3433,7 +3433,7 @@ let MJEntityFormComponentExtended = class MJEntityFormComponentExtended extends
|
|
|
3433
3433
|
get AvailableParentEntities() {
|
|
3434
3434
|
if (!this.entity)
|
|
3435
3435
|
return [];
|
|
3436
|
-
const md =
|
|
3436
|
+
const md = this.ProviderToUse;
|
|
3437
3437
|
const descendantIds = new Set();
|
|
3438
3438
|
const collectDescendants = (e) => {
|
|
3439
3439
|
descendantIds.add(e.ID);
|