@memberjunction/ng-dashboards 5.39.0 → 5.40.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.d.ts +128 -4
  2. package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.d.ts.map +1 -1
  3. package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js +548 -145
  4. package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js.map +1 -1
  5. package/dist/AI/components/autotagging/components/classify-item-drilldown.component.d.ts +56 -0
  6. package/dist/AI/components/autotagging/components/classify-item-drilldown.component.d.ts.map +1 -0
  7. package/dist/AI/components/autotagging/components/classify-item-drilldown.component.js +423 -0
  8. package/dist/AI/components/autotagging/components/classify-item-drilldown.component.js.map +1 -0
  9. package/dist/AI/components/autotagging/components/classify-item-grid.component.d.ts +70 -0
  10. package/dist/AI/components/autotagging/components/classify-item-grid.component.d.ts.map +1 -0
  11. package/dist/AI/components/autotagging/components/classify-item-grid.component.js +308 -0
  12. package/dist/AI/components/autotagging/components/classify-item-grid.component.js.map +1 -0
  13. package/dist/AI/components/autotagging/components/classify-org-context-editor.component.d.ts +29 -0
  14. package/dist/AI/components/autotagging/components/classify-org-context-editor.component.d.ts.map +1 -0
  15. package/dist/AI/components/autotagging/components/classify-org-context-editor.component.js +186 -0
  16. package/dist/AI/components/autotagging/components/classify-org-context-editor.component.js.map +1 -0
  17. package/dist/AI/components/autotagging/components/classify-overview-analytics.component.d.ts +69 -0
  18. package/dist/AI/components/autotagging/components/classify-overview-analytics.component.d.ts.map +1 -0
  19. package/dist/AI/components/autotagging/components/classify-overview-analytics.component.js +278 -0
  20. package/dist/AI/components/autotagging/components/classify-overview-analytics.component.js.map +1 -0
  21. package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.d.ts +73 -0
  22. package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.d.ts.map +1 -0
  23. package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.js +393 -0
  24. package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.js.map +1 -0
  25. package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.d.ts +122 -0
  26. package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.d.ts.map +1 -0
  27. package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.js +908 -0
  28. package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.js.map +1 -0
  29. package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.d.ts +100 -2
  30. package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.d.ts.map +1 -1
  31. package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.js +603 -213
  32. package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.js.map +1 -1
  33. package/dist/AI/components/autotagging/shared/classify.format.d.ts +15 -0
  34. package/dist/AI/components/autotagging/shared/classify.format.d.ts.map +1 -1
  35. package/dist/AI/components/autotagging/shared/classify.format.js +51 -0
  36. package/dist/AI/components/autotagging/shared/classify.format.js.map +1 -1
  37. package/dist/AI/components/autotagging/shared/classify.types.d.ts +43 -0
  38. package/dist/AI/components/autotagging/shared/classify.types.d.ts.map +1 -1
  39. package/dist/AI/components/autotagging/shared/classify.types.js.map +1 -1
  40. package/dist/AI/components/autotagging/tabs/history-tab.component.d.ts +38 -1
  41. package/dist/AI/components/autotagging/tabs/history-tab.component.d.ts.map +1 -1
  42. package/dist/AI/components/autotagging/tabs/history-tab.component.js +185 -68
  43. package/dist/AI/components/autotagging/tabs/history-tab.component.js.map +1 -1
  44. package/dist/AI/components/autotagging/tabs/pipeline-tab.component.d.ts +10 -1
  45. package/dist/AI/components/autotagging/tabs/pipeline-tab.component.d.ts.map +1 -1
  46. package/dist/AI/components/autotagging/tabs/pipeline-tab.component.js +249 -188
  47. package/dist/AI/components/autotagging/tabs/pipeline-tab.component.js.map +1 -1
  48. package/dist/AI/components/autotagging/tabs/sources-tab.component.d.ts +12 -1
  49. package/dist/AI/components/autotagging/tabs/sources-tab.component.d.ts.map +1 -1
  50. package/dist/AI/components/autotagging/tabs/sources-tab.component.js +377 -296
  51. package/dist/AI/components/autotagging/tabs/sources-tab.component.js.map +1 -1
  52. package/dist/AI/components/autotagging/tabs/tags-tab.component.d.ts +8 -0
  53. package/dist/AI/components/autotagging/tabs/tags-tab.component.d.ts.map +1 -1
  54. package/dist/AI/components/autotagging/tabs/tags-tab.component.js +112 -68
  55. package/dist/AI/components/autotagging/tabs/tags-tab.component.js.map +1 -1
  56. package/dist/AI/components/autotagging/tabs/types-tab.component.d.ts +9 -0
  57. package/dist/AI/components/autotagging/tabs/types-tab.component.d.ts.map +1 -1
  58. package/dist/AI/components/autotagging/tabs/types-tab.component.js +87 -36
  59. package/dist/AI/components/autotagging/tabs/types-tab.component.js.map +1 -1
  60. package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts +3 -0
  61. package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts.map +1 -1
  62. package/dist/AI/components/duplicates/duplicate-detection-resource.component.js +15 -3
  63. package/dist/AI/components/duplicates/duplicate-detection-resource.component.js.map +1 -1
  64. package/dist/AI/components/execution-monitoring.component.js +1 -1
  65. package/dist/AI/components/execution-monitoring.component.js.map +1 -1
  66. package/dist/AI/components/tags/tags-resource.component.d.ts +1 -0
  67. package/dist/AI/components/tags/tags-resource.component.d.ts.map +1 -1
  68. package/dist/AI/components/tags/tags-resource.component.js +28 -6
  69. package/dist/AI/components/tags/tags-resource.component.js.map +1 -1
  70. package/dist/AI/components/vectors/vector-management-resource.component.d.ts +3 -0
  71. package/dist/AI/components/vectors/vector-management-resource.component.d.ts.map +1 -1
  72. package/dist/AI/components/vectors/vector-management-resource.component.js +330 -302
  73. package/dist/AI/components/vectors/vector-management-resource.component.js.map +1 -1
  74. package/dist/APIKeys/api-applications-panel.component.js +2 -2
  75. package/dist/APIKeys/api-key-create-dialog.component.js +2 -2
  76. package/dist/DataExplorer/data-explorer-dashboard.component.d.ts +31 -340
  77. package/dist/DataExplorer/data-explorer-dashboard.component.d.ts.map +1 -1
  78. package/dist/DataExplorer/data-explorer-dashboard.component.js +468 -1958
  79. package/dist/DataExplorer/data-explorer-dashboard.component.js.map +1 -1
  80. package/dist/DataExplorer/data-explorer-resource.component.d.ts.map +1 -1
  81. package/dist/DataExplorer/data-explorer-resource.component.js +10 -0
  82. package/dist/DataExplorer/data-explorer-resource.component.js.map +1 -1
  83. package/dist/KnowledgeHub/components/analytics/analytics-resource.component.d.ts.map +1 -1
  84. package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js +12 -9
  85. package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js.map +1 -1
  86. package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.d.ts +27 -2
  87. package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.d.ts.map +1 -1
  88. package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.js +244 -120
  89. package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.js.map +1 -1
  90. package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.d.ts +65 -0
  91. package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.d.ts.map +1 -0
  92. package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.js +176 -0
  93. package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.js.map +1 -0
  94. package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.d.ts +81 -0
  95. package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.d.ts.map +1 -0
  96. package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.js +308 -0
  97. package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.js.map +1 -0
  98. package/dist/KnowledgeHub/components/visualize/visualize-resource.component.d.ts +85 -0
  99. package/dist/KnowledgeHub/components/visualize/visualize-resource.component.d.ts.map +1 -0
  100. package/dist/KnowledgeHub/components/visualize/visualize-resource.component.js +362 -0
  101. package/dist/KnowledgeHub/components/visualize/visualize-resource.component.js.map +1 -0
  102. package/dist/KnowledgeHub/index.d.ts +3 -0
  103. package/dist/KnowledgeHub/index.d.ts.map +1 -1
  104. package/dist/KnowledgeHub/index.js +3 -0
  105. package/dist/KnowledgeHub/index.js.map +1 -1
  106. package/dist/MCP/components/mcp-server-dialog.component.js +2 -2
  107. package/dist/QueryBrowser/query-browser-resource.component.js +1 -1
  108. package/dist/QueryBrowser/query-browser-resource.component.js.map +1 -1
  109. package/dist/ai-dashboards.module.d.ts +48 -38
  110. package/dist/ai-dashboards.module.d.ts.map +1 -1
  111. package/dist/ai-dashboards.module.js +41 -1
  112. package/dist/ai-dashboards.module.js.map +1 -1
  113. package/dist/data-explorer-dashboards.module.d.ts +12 -14
  114. package/dist/data-explorer-dashboards.module.d.ts.map +1 -1
  115. package/dist/data-explorer-dashboards.module.js +5 -14
  116. package/dist/data-explorer-dashboards.module.js.map +1 -1
  117. package/dist/public-api.d.ts +3 -0
  118. package/dist/public-api.d.ts.map +1 -1
  119. package/dist/public-api.js +3 -0
  120. package/dist/public-api.js.map +1 -1
  121. package/package.json +57 -55
  122. package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.d.ts +0 -79
  123. package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.d.ts.map +0 -1
  124. package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.js +0 -195
  125. package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.js.map +0 -1
  126. package/dist/DataExplorer/components/view-selector/view-selector.component.d.ts +0 -226
  127. package/dist/DataExplorer/components/view-selector/view-selector.component.d.ts.map +0 -1
  128. package/dist/DataExplorer/components/view-selector/view-selector.component.js +0 -861
  129. package/dist/DataExplorer/components/view-selector/view-selector.component.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classify-setup-wizard.component.js","sourceRoot":"","sources":["../../../../../src/AI/components/autotagging/dialogs/classify-setup-wizard.component.ts","../../../../../src/AI/components/autotagging/dialogs/classify-setup-wizard.component.html"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE3F,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EACH,0BAA0B,GAG7B,MAAM,+BAA+B,CAAC;;;;;;;;IChBnB,AAHJ,+BAEkC,eACH;IAAA,YAAW;IAC1C,AAD0C,iBAAO,EAC3C;;;;IAFD,AADA,2DAAgC,yCACJ;IACF,eAAW;IAAX,sCAAW;;;IAoB9B,kCAAyB;IAAA,YAAc;IAAA,iBAAS;;;IAAxC,iCAAgB;IAAC,cAAc;IAAd,iCAAc;;;;IAM3C,AADJ,+BAA2B,gBACM;IAAA,mCAAmB;IAAA,iBAAQ;IACxD,iCAAmF;IAAhD,uUAAuB;IAC9D,AADI,iBAAmF,EACjF;;;IADiC,eAAuB;IAAvB,gDAAuB;;;;IAf9D,AADJ,+BAA2B,gBACM;IAAA,2BAAW;IAAA,iBAAQ;IAChD,iCAAuF;IAAnD,yTAAwB;IAChE,AADI,iBAAuF,EACrF;IAEF,AADJ,+BAA2B,gBACM;IAAA,2BAAW;IAAA,iBAAQ;IAChD,kCAAoD;IAA3B,8TAA0B;IAC/C,kCAAiB;IAAA,wCAAmB;IAAA,iBAAS;IAC7C,oHAEC;IAET,AADI,iBAAS,EACP;IACN,gHAAuC;;;IAXC,eAAwB;IAAxB,iDAAwB;IAInC,eAA0B;IAA1B,mDAA0B;IAE/C,eAEC;IAFD,uCAEC;IAGT,eAKC;IALD,yEAKC;;;IAUW,kCAAyB;IAAA,YAAc;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YAGD,cAeC;YAfD,wDAeC;YAMD,eAUC;YAVD,0CAUC;YACD,eAEC;YAFD,6CAEC;;;iFD3HA,4BAA4B;cANxC,SAAS;6BACM,KAAK,YACP,uBAAuB;;kBAQhC,MAAM;;kBAEN,MAAM;;kFANE,4BAA4B","sourcesContent":["/**\n * @fileoverview Classify · Guided source setup wizard.\n *\n * A multi-step `mj-dialog` that walks an operator through standing up a new\n * content source: Source Type → Entity → Entity Document → Content Type →\n * Taxonomy Strategy → Domain Context → Review & Create. Steps whose prerequisite\n * already exists (e.g. a content type is already configured, or the chosen\n * entity already has an Entity Document) are auto-skipped.\n *\n * The wizard reuses the inline Entity Document create and the seed-taxonomy\n * review components, and the domain-context fields. It owns no business logic\n * beyond assembling the records — persistence is via the entity API\n * (`GetEntityObject` + `Save()` with result checking) threaded through\n * `ProviderToUse`.\n */\nimport { Component, ChangeDetectorRef, EventEmitter, Output, inject } from '@angular/core';\nimport { RunView } from '@memberjunction/core';\nimport { UUIDsEqual } from '@memberjunction/global';\nimport { BaseAngularComponent } from '@memberjunction/ng-base-types';\nimport { MJNotificationService } from '@memberjunction/ng-notifications';\nimport {\n KnowledgeHubMetadataEngine,\n MJContentSourceEntity,\n MJEntityDocumentEntity,\n} from '@memberjunction/core-entities';\nimport { DropdownOption } from '../shared/classify.types';\nimport {\n IContentSourceClassificationConfiguration,\n ClassificationContextMode,\n} from './source-type-form.dialog.component';\n\n/** The ordered wizard steps. Some are conditionally skipped at run time. */\ntype WizardStep =\n | 'source-type'\n | 'entity'\n | 'entity-doc'\n | 'content-type'\n | 'taxonomy'\n | 'domain-context'\n | 'review';\n\n@Component({\n standalone: false,\n selector: 'classify-setup-wizard',\n templateUrl: './classify-setup-wizard.component.html',\n styleUrls: ['./classify-setup-wizard.component.css']\n})\nexport class ClassifySetupWizardComponent extends BaseAngularComponent {\n private cdr = inject(ChangeDetectorRef);\n\n /** Emitted after the wizard creates a source, so the host reloads. */\n @Output() Created = new EventEmitter<{ SourceID: string }>();\n /** Emitted when the wizard is dismissed without creating anything. */\n @Output() Cancelled = new EventEmitter<void>();\n\n public Visible = false;\n public CurrentStep: WizardStep = 'source-type';\n public Saving = false;\n\n // ── Collected selections ──\n public SourceName = '';\n public SourceTypeID = '';\n public EntityID = '';\n public EntityDocID = '';\n public ContentTypeID = '';\n public SourceURL = '';\n\n // Domain context (source scope)\n public ClassificationContext = '';\n public ClassificationContextMode: ClassificationContextMode = 'additive';\n\n // ── Dropdown options ──\n public SourceTypeOptions: DropdownOption[] = [];\n public ContentTypeOptions: DropdownOption[] = [];\n public EntityOptions: { ID: string; Name: string }[] = [];\n\n /** A pending source ID is created up-front when we reach the taxonomy step so\n * the embedded seed-taxonomy generator has a real source to sample. */\n public PendingSourceID: string | null = null;\n\n public get IsSubstitutiveMode(): boolean {\n return this.ClassificationContextMode === 'substitutive';\n }\n public set IsSubstitutiveMode(v: boolean) {\n this.ClassificationContextMode = v ? 'substitutive' : 'additive';\n }\n\n // ════════════════════════════════════════════\n // OPEN / CLOSE\n // ════════════════════════════════════════════\n\n public async Open(): Promise<void> {\n await this.loadOptions();\n this.resetState();\n this.Visible = true;\n this.cdr.detectChanges();\n }\n\n public Close(): void {\n this.Visible = false;\n this.Cancelled.emit();\n this.cdr.detectChanges();\n }\n\n private resetState(): void {\n this.CurrentStep = 'source-type';\n this.SourceName = '';\n this.SourceTypeID = '';\n this.EntityID = '';\n this.EntityDocID = '';\n // Preserve the auto-selected content type when only one exists (set in\n // loadOptions), so the wizard can skip the content-type step.\n this.ContentTypeID = this.ContentTypeOptions.length === 1 ? this.ContentTypeOptions[0].ID : '';\n this.SourceURL = '';\n this.ClassificationContext = '';\n this.ClassificationContextMode = 'additive';\n this.PendingSourceID = null;\n }\n\n private async loadOptions(): Promise<void> {\n try {\n const p = this.ProviderToUse;\n const engine = KnowledgeHubMetadataEngine.Instance;\n await engine.Config(false, p.CurrentUser, p);\n this.SourceTypeOptions = engine.ContentSourceTypes.map(t => ({ ID: t.ID, Name: t.Name }));\n this.ContentTypeOptions = engine.ContentTypes.map(t => ({ ID: t.ID, Name: t.Name }));\n // When exactly one content type exists, auto-select it so the wizard can\n // skip the content-type step entirely (see ActiveSteps).\n if (this.ContentTypeOptions.length === 1) {\n this.ContentTypeID = this.ContentTypeOptions[0].ID;\n }\n // Entities that have active documents — the safe default for entity sources.\n const entityMap = new Map<string, string>();\n for (const doc of engine.GetActiveEntityDocuments()) {\n const info = doc.Entity ? p.Entities.find(e => e.Name === doc.Entity) : undefined;\n if (info && !entityMap.has(info.ID)) entityMap.set(info.ID, info.Name);\n }\n // Also include all entities so a brand-new entity (no doc yet) can be picked.\n for (const e of p.Entities) {\n if (!entityMap.has(e.ID)) entityMap.set(e.ID, e.Name);\n }\n this.EntityOptions = Array.from(entityMap.entries())\n .map(([ID, Name]) => ({ ID, Name }))\n .sort((a, b) => a.Name.localeCompare(b.Name));\n } catch (error) {\n console.error('[Classify Wizard] Error loading options:', error);\n }\n }\n\n // ════════════════════════════════════════════\n // STEP LOGIC\n // ════════════════════════════════════════════\n\n /** Whether the selected source type is the Entity type (name-based check). */\n public get IsEntitySource(): boolean {\n if (!this.SourceTypeID) return false;\n const t = this.SourceTypeOptions.find(o => UUIDsEqual(o.ID, this.SourceTypeID));\n return t?.Name?.toLowerCase() === 'entity';\n }\n\n /** EntityInfo for the selected entity, or null. */\n private get selectedEntityInfo() {\n if (!this.EntityID) return null;\n return this.ProviderToUse.Entities.find(e => UUIDsEqual(e.ID, this.EntityID)) ?? null;\n }\n\n public get SelectedEntityName(): string {\n return this.selectedEntityInfo?.Name ?? '';\n }\n\n /** True when the selected entity has no active Entity Document. */\n public get SelectedEntityHasNoDocument(): boolean {\n const info = this.selectedEntityInfo;\n if (!info) return false;\n try {\n return KnowledgeHubMetadataEngine.Instance.GetActiveEntityDocuments()\n .filter(d => d.Entity === info.Name).length === 0;\n } catch {\n return false;\n }\n }\n\n /** Whether any content type exists (drives the content-type step skip). */\n public get HasAnyContentType(): boolean {\n return this.ContentTypeOptions.length > 0;\n }\n\n /**\n * The ordered list of steps relevant to the current selections. Steps whose\n * prerequisite already exists are filtered out, so the progress UI + next/back\n * navigation only ever traverse meaningful steps.\n */\n public get ActiveSteps(): WizardStep[] {\n const steps: WizardStep[] = ['source-type'];\n if (this.IsEntitySource) {\n steps.push('entity');\n // Entity Document step only when the chosen entity lacks one.\n if (this.EntityID && this.SelectedEntityHasNoDocument) steps.push('entity-doc');\n }\n // Content type only matters for non-entity sources. When exactly one content\n // type exists it is auto-selected (see loadOptions) and the step is skipped —\n // there's nothing to choose. The step is shown for 0 (n/a path) or 2+ options.\n if (!this.IsEntitySource && this.ContentTypeOptions.length !== 1) steps.push('content-type');\n steps.push('taxonomy');\n steps.push('domain-context');\n steps.push('review');\n return steps;\n }\n\n public get StepIndex(): number {\n return Math.max(0, this.ActiveSteps.indexOf(this.CurrentStep));\n }\n\n public get TotalSteps(): number {\n return this.ActiveSteps.length;\n }\n\n public get StepLabel(): string {\n switch (this.CurrentStep) {\n case 'source-type': return 'Source type';\n case 'entity': return 'Entity';\n case 'entity-doc': return 'Entity document';\n case 'content-type': return 'Content type';\n case 'taxonomy': return 'Taxonomy strategy';\n case 'domain-context': return 'Domain context';\n case 'review': return 'Review & create';\n }\n }\n\n public get CanGoNext(): boolean {\n switch (this.CurrentStep) {\n case 'source-type': return !!this.SourceName.trim() && !!this.SourceTypeID;\n case 'entity': return !!this.EntityID;\n case 'entity-doc': return !this.SelectedEntityHasNoDocument; // advance once a doc exists\n case 'content-type': return !!this.ContentTypeID;\n default: return true;\n }\n }\n\n public get IsLastStep(): boolean {\n return this.CurrentStep === 'review';\n }\n\n public async Next(): Promise<void> {\n if (!this.CanGoNext) return;\n const steps = this.ActiveSteps;\n const idx = steps.indexOf(this.CurrentStep);\n const nextStep = steps[idx + 1];\n if (!nextStep) return;\n\n // When advancing into the taxonomy step, create the source up front so the\n // seed generator has a real source to sample. If it fails, stay put.\n if (nextStep === 'taxonomy' && !this.PendingSourceID) {\n const ok = await this.ensurePendingSource();\n if (!ok) return;\n }\n\n if (nextStep === 'entity-doc') {\n this.PrimeEntityDocDefaults();\n }\n\n this.CurrentStep = nextStep;\n this.cdr.detectChanges();\n }\n\n public Back(): void {\n const steps = this.ActiveSteps;\n const idx = steps.indexOf(this.CurrentStep);\n if (idx > 0) {\n this.CurrentStep = steps[idx - 1];\n this.cdr.detectChanges();\n }\n }\n\n // ── Inline Entity Document creation (entity-doc step) ──\n public EntityDocSaving = false;\n public NewEntityDocName = '';\n public NewEntityDocSelectedFields: Record<string, boolean> = {};\n\n /** Fields of the selected entity, for the field-picker in the inline create. */\n public get SelectedEntityFields(): { Name: string; DisplayName: string }[] {\n const info = this.selectedEntityInfo;\n if (!info) return [];\n return info.Fields\n .filter(f => !f.IsVirtual)\n .map(f => ({ Name: f.Name, DisplayName: f.DisplayName || f.Name }));\n }\n\n public get SelectedEntityDocFieldCount(): number {\n return Object.values(this.NewEntityDocSelectedFields).filter(Boolean).length;\n }\n\n /** Prime the inline-create defaults when entering the entity-doc step. */\n public PrimeEntityDocDefaults(): void {\n const info = this.selectedEntityInfo;\n if (!info || this.NewEntityDocName) return;\n this.NewEntityDocName = `${info.Name} Document`;\n this.NewEntityDocSelectedFields = {};\n const preferred = ['Name', 'Title', 'Description', 'Notes', 'Body', 'Content'];\n for (const f of this.SelectedEntityFields) {\n if (preferred.includes(f.Name)) this.NewEntityDocSelectedFields[f.Name] = true;\n }\n }\n\n /** Create the Entity Document for the selected entity, then refresh + select it. */\n public async CreateEntityDocument(): Promise<void> {\n if (this.EntityDocSaving) return;\n const info = this.selectedEntityInfo;\n if (!info) return;\n if (!this.NewEntityDocName.trim()) {\n MJNotificationService.Instance.CreateSimpleNotification('Enter a document name.', 'warning', 3000);\n return;\n }\n this.EntityDocSaving = true;\n this.cdr.detectChanges();\n try {\n const p = this.ProviderToUse;\n const doc = await p.GetEntityObject<MJEntityDocumentEntity>('MJ: Entity Documents', p.CurrentUser);\n doc.NewRecord();\n doc.Name = this.NewEntityDocName.trim();\n doc.EntityID = info.ID;\n doc.Status = 'Active';\n const selectedFields = this.SelectedEntityFields\n .filter(f => this.NewEntityDocSelectedFields[f.Name])\n .map(f => f.Name);\n doc.Configuration = JSON.stringify({ Fields: selectedFields });\n const saved = await doc.Save();\n if (saved) {\n await KnowledgeHubMetadataEngine.Instance.Config(true, p.CurrentUser, p);\n this.EntityDocID = doc.ID;\n MJNotificationService.Instance.CreateSimpleNotification('Entity Document created', 'success', 2500);\n } else {\n const detail = doc.LatestResult?.CompleteMessage ?? 'Unknown error';\n MJNotificationService.Instance.CreateSimpleNotification(`Failed to create Entity Document: ${detail}`, 'error', 5000);\n }\n } catch (error) {\n const msg = error instanceof Error ? error.message : String(error);\n MJNotificationService.Instance.CreateSimpleNotification(`Error: ${msg}`, 'error', 5000);\n } finally {\n this.EntityDocSaving = false;\n this.cdr.detectChanges();\n }\n }\n\n /** Called by the embedded seed-taxonomy after it persists tags. */\n public OnTaxonomyAccepted(_event: { Created: number }): void {\n this.cdr.detectChanges();\n }\n\n // ════════════════════════════════════════════\n // PERSISTENCE\n // ════════════════════════════════════════════\n\n /**\n * Create (once) the content source record so the taxonomy step can sample it.\n * Subsequent edits (domain context) are applied to this same record on Finish.\n */\n private async ensurePendingSource(): Promise<boolean> {\n this.Saving = true;\n this.cdr.detectChanges();\n try {\n const id = await this.saveSource();\n if (id) {\n this.PendingSourceID = id;\n return true;\n }\n return false;\n } finally {\n this.Saving = false;\n this.cdr.detectChanges();\n }\n }\n\n /**\n * Create or update the content source from the collected selections. Returns\n * the saved ID, or null on failure. Defaults required NOT NULL columns for\n * entity sources the same way the quick-edit form does.\n */\n private async saveSource(): Promise<string | null> {\n try {\n const p = this.ProviderToUse;\n const entity = await p.GetEntityObject<MJContentSourceEntity>('MJ: Content Sources', p.CurrentUser);\n if (this.PendingSourceID) {\n const loaded = await entity.Load(this.PendingSourceID);\n if (!loaded) {\n entity.NewRecord();\n }\n } else {\n entity.NewRecord();\n }\n\n entity.Name = this.SourceName.trim();\n entity.ContentSourceTypeID = this.SourceTypeID;\n\n const engine = KnowledgeHubMetadataEngine.Instance;\n if (this.IsEntitySource) {\n entity.EntityID = this.EntityID || null;\n entity.EntityDocumentID = this.resolveEntityDocID();\n entity.URL = '';\n // NOT NULL columns: default to first available.\n if (!entity.ContentTypeID) {\n if (engine.ContentTypes.length === 0) {\n MJNotificationService.Instance.CreateSimpleNotification(\n 'No content types exist. Create one before adding an entity source.', 'warning', 5000\n );\n return null;\n }\n entity.ContentTypeID = engine.ContentTypes[0].ID;\n }\n if (!entity.ContentFileTypeID && engine.ContentFileTypes.length > 0) {\n entity.ContentFileTypeID = engine.ContentFileTypes[0].ID;\n }\n } else {\n entity.EntityID = null;\n entity.EntityDocumentID = null;\n entity.ContentTypeID = this.ContentTypeID;\n if (!entity.ContentFileTypeID && engine.ContentFileTypes.length > 0) {\n entity.ContentFileTypeID = engine.ContentFileTypes[0].ID;\n }\n entity.URL = this.SourceURL || '';\n }\n\n // Merge the domain-context fields into the typed Configuration JSON.\n const config: IContentSourceClassificationConfiguration = entity.ConfigurationObject ?? {};\n if (this.ClassificationContext.trim()) {\n config.ClassificationContext = this.ClassificationContext;\n config.ClassificationContextMode = this.ClassificationContextMode;\n } else {\n delete config.ClassificationContext;\n delete config.ClassificationContextMode;\n }\n entity.ConfigurationObject = config;\n\n const saved = await entity.Save();\n if (saved) return entity.ID;\n const detail = entity.LatestResult?.CompleteMessage ?? 'Unknown error';\n MJNotificationService.Instance.CreateSimpleNotification(`Failed to save source: ${detail}`, 'error', 5000);\n return null;\n } catch (error) {\n const msg = error instanceof Error ? error.message : String(error);\n MJNotificationService.Instance.CreateSimpleNotification(`Error: ${msg}`, 'error', 5000);\n return null;\n }\n }\n\n /** Resolve the entity document ID to store (explicit choice or the entity's only doc). */\n private resolveEntityDocID(): string | null {\n if (this.EntityDocID) return this.EntityDocID;\n const info = this.selectedEntityInfo;\n if (!info) return null;\n const docs = KnowledgeHubMetadataEngine.Instance.GetActiveEntityDocuments()\n .filter(d => d.Entity === info.Name);\n return docs.length > 0 ? docs[0].ID : null;\n }\n\n /** Finish the wizard: persist the (final) source and emit Created. */\n public async Finish(): Promise<void> {\n if (this.Saving) return;\n this.Saving = true;\n this.cdr.detectChanges();\n try {\n const id = await this.saveSource();\n if (id) {\n MJNotificationService.Instance.CreateSimpleNotification('Source created', 'success', 2500);\n this.Visible = false;\n this.Created.emit({ SourceID: id });\n }\n } finally {\n this.Saving = false;\n this.cdr.detectChanges();\n }\n }\n\n // ── Entity-doc options for the review/entity-doc step ──\n public get EntityDocOptions(): { ID: string; Name: string }[] {\n const info = this.selectedEntityInfo;\n if (!info) return [];\n try {\n return KnowledgeHubMetadataEngine.Instance.GetActiveEntityDocuments()\n .filter(d => d.Entity === info.Name)\n .map(d => ({ ID: d.ID, Name: d.Name }));\n } catch {\n return [];\n }\n }\n\n // ── Review labels ──\n public get SourceTypeName(): string {\n return this.SourceTypeOptions.find(o => UUIDsEqual(o.ID, this.SourceTypeID))?.Name ?? '—';\n }\n public get ContentTypeName(): string {\n return this.ContentTypeOptions.find(o => UUIDsEqual(o.ID, this.ContentTypeID))?.Name ?? '—';\n }\n public get EntityDocName(): string {\n const id = this.resolveEntityDocID();\n if (!id) return '—';\n return this.EntityDocOptions.find(o => UUIDsEqual(o.ID, id))?.Name ?? '—';\n }\n}\n","<mj-dialog [Visible]=\"Visible\" Title=\"Add Source (Guided)\" [Width]=\"660\" (Close)=\"Close()\">\n <div class=\"wiz\">\n <!-- Step progress -->\n <div class=\"wiz-progress\">\n @for (s of ActiveSteps; track s; let i = $index) {\n <div class=\"wiz-step-dot\"\n [class.active]=\"i === StepIndex\"\n [class.done]=\"i < StepIndex\">\n <span class=\"wiz-step-num\">{{ i + 1 }}</span>\n </div>\n }\n </div>\n <div class=\"wiz-step-title\">\n <span class=\"wiz-step-counter\">Step {{ StepIndex + 1 }} of {{ TotalSteps }}</span>{{ StepLabel }}\n </div>\n\n <div class=\"wiz-body\">\n <!-- Source Type -->\n @if (CurrentStep === 'source-type') {\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">Source name</label>\n <input type=\"text\" class=\"mj-input\" [(ngModel)]=\"SourceName\" placeholder=\"Source name\">\n </div>\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">Source type</label>\n <select class=\"mj-input\" [(ngModel)]=\"SourceTypeID\">\n <option value=\"\">Select source type…</option>\n @for (opt of SourceTypeOptions; track opt.ID) {\n <option [value]=\"opt.ID\">{{ opt.Name }}</option>\n }\n </select>\n </div>\n @if (!IsEntitySource && SourceTypeID) {\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">URL (if applicable)</label>\n <input type=\"url\" class=\"mj-input\" [(ngModel)]=\"SourceURL\" placeholder=\"https://…\">\n </div>\n }\n }\n\n <!-- Entity -->\n @if (CurrentStep === 'entity') {\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">Entity</label>\n <select class=\"mj-input\" [(ngModel)]=\"EntityID\">\n <option value=\"\">Select entity…</option>\n @for (opt of EntityOptions; track opt.ID) {\n <option [value]=\"opt.ID\">{{ opt.Name }}</option>\n }\n </select>\n </div>\n @if (EntityID && !SelectedEntityHasNoDocument) {\n <div class=\"wiz-callout ok\">\n <i class=\"fa-solid fa-circle-check\"></i>\n <strong>{{ SelectedEntityName }}</strong> already has an Entity Document — the next step is skipped.\n </div>\n }\n }\n\n <!-- Entity Document (inline create) -->\n @if (CurrentStep === 'entity-doc') {\n <div class=\"wiz-callout\">\n <i class=\"fa-solid fa-circle-info\"></i>\n <strong>{{ SelectedEntityName }}</strong> has no Entity Document. Create one to continue.\n </div>\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">Document name</label>\n <input type=\"text\" class=\"mj-input\" [(ngModel)]=\"NewEntityDocName\" placeholder=\"Document name\">\n </div>\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">Fields to include ({{ SelectedEntityDocFieldCount }} selected)</label>\n <div class=\"wiz-field-list\">\n @for (f of SelectedEntityFields; track f.Name) {\n <label class=\"wiz-field-row\">\n <input type=\"checkbox\" [(ngModel)]=\"NewEntityDocSelectedFields[f.Name]\">\n <span>{{ f.DisplayName }}</span>\n </label>\n }\n </div>\n </div>\n <button mjButton variant=\"primary\" size=\"sm\" (click)=\"CreateEntityDocument()\" [disabled]=\"EntityDocSaving\">\n @if (EntityDocSaving) { <i class=\"fa-solid fa-spinner fa-spin\"></i> Creating… }\n @else { <i class=\"fa-solid fa-check\"></i> Create Entity Document }\n </button>\n }\n\n <!-- Content Type -->\n @if (CurrentStep === 'content-type') {\n @if (HasAnyContentType) {\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">Content type</label>\n <select class=\"mj-input\" [(ngModel)]=\"ContentTypeID\">\n <option value=\"\">Select content type…</option>\n @for (opt of ContentTypeOptions; track opt.ID) {\n <option [value]=\"opt.ID\">{{ opt.Name }}</option>\n }\n </select>\n </div>\n } @else {\n <div class=\"wiz-callout\">\n <i class=\"fa-solid fa-triangle-exclamation\"></i>\n No content types exist yet. Create one from the Content Types tab, then return to this wizard.\n </div>\n }\n }\n\n <!-- Taxonomy Strategy -->\n @if (CurrentStep === 'taxonomy') {\n <p class=\"wiz-help\">\n Optionally generate a starter tag taxonomy by sampling this source's content.\n You can skip this and refine the taxonomy later.\n </p>\n <classify-seed-taxonomy\n [SourceID]=\"PendingSourceID\"\n [Provider]=\"Provider\"\n (Accepted)=\"OnTaxonomyAccepted($event)\">\n </classify-seed-taxonomy>\n }\n\n <!-- Domain Context -->\n @if (CurrentStep === 'domain-context') {\n <div class=\"at-form-group\">\n <label class=\"at-form-label\">Source guidance</label>\n <textarea class=\"mj-textarea\" rows=\"4\" [(ngModel)]=\"ClassificationContext\"\n placeholder=\"Free-text guidance for the classifier about this source's domain…\"></textarea>\n </div>\n <div class=\"wiz-toggle-row\">\n <div>\n <div class=\"wiz-toggle-t\">Substitutive mode</div>\n <div class=\"wiz-toggle-d\">When on, this source's guidance replaces org/content-type context; off = added.</div>\n </div>\n <mj-switch [(ngModel)]=\"IsSubstitutiveMode\"></mj-switch>\n </div>\n }\n\n <!-- Review -->\n @if (CurrentStep === 'review') {\n <div class=\"wiz-review\">\n <div class=\"wiz-review-row\"><span>Name</span><strong>{{ SourceName || '—' }}</strong></div>\n <div class=\"wiz-review-row\"><span>Source type</span><strong>{{ SourceTypeName }}</strong></div>\n @if (IsEntitySource) {\n <div class=\"wiz-review-row\"><span>Entity</span><strong>{{ SelectedEntityName || '—' }}</strong></div>\n <div class=\"wiz-review-row\"><span>Entity document</span><strong>{{ EntityDocName }}</strong></div>\n } @else {\n <div class=\"wiz-review-row\"><span>Content type</span><strong>{{ ContentTypeName }}</strong></div>\n @if (SourceURL) {\n <div class=\"wiz-review-row\"><span>URL</span><strong>{{ SourceURL }}</strong></div>\n }\n }\n <div class=\"wiz-review-row\"><span>Domain context</span><strong>{{ ClassificationContext.trim() ? (ClassificationContextMode + ' · set') : 'none' }}</strong></div>\n </div>\n }\n </div>\n </div>\n\n <mj-dialog-actions>\n <div class=\"wiz-actions\">\n @if (IsLastStep) {\n <button mjButton variant=\"primary\" size=\"sm\" (click)=\"Finish()\" [disabled]=\"Saving\">\n @if (Saving) { <i class=\"fa-solid fa-spinner fa-spin\"></i> Creating… }\n @else { <i class=\"fa-solid fa-check\"></i> Create source }\n </button>\n } @else {\n <button mjButton variant=\"primary\" size=\"sm\" (click)=\"Next()\" [disabled]=\"!CanGoNext || Saving\">\n @if (Saving) { <i class=\"fa-solid fa-spinner fa-spin\"></i> Working… }\n @else { Next <i class=\"fa-solid fa-arrow-right\"></i> }\n </button>\n }\n @if (StepIndex > 0) {\n <button mjButton variant=\"secondary\" size=\"sm\" (click)=\"Back()\" [disabled]=\"Saving\">Back</button>\n }\n <span class=\"wiz-actions-spacer\"></span>\n <button mjButton variant=\"flat\" size=\"sm\" (click)=\"Close()\">Cancel</button>\n </div>\n </mj-dialog-actions>\n</mj-dialog>\n"]}
@@ -29,6 +29,31 @@ import { SourceCard, ContentTypeCard, DropdownOption, FormMode } from '../shared
29
29
  import * as i0 from "@angular/core";
30
30
  /** The taxonomy-mode literal union, derived from the typed config so it can never drift. */
31
31
  type TaxonomyModeJson = NonNullable<MJContentSourceEntity_IContentSourceConfiguration['TagTaxonomyMode']>;
32
+ /** How the source-level domain context combines with the org / content-type scopes. */
33
+ export type ClassificationContextMode = 'additive' | 'substitutive';
34
+ /**
35
+ * Source-level classification-context extension to the CodeGen-generated
36
+ * {@link MJContentSourceEntity_IContentSourceConfiguration} interface. These two
37
+ * keys are not yet in the generated JSON-type interface (a migration + CodeGen
38
+ * pass is required to add them there); we model them as a typed extension so this
39
+ * client code stays strongly typed without touching generated code. They are
40
+ * persisted into the source's Configuration JSON and read by the server-side
41
+ * `ClassificationContextResolver` during autotagging.
42
+ */
43
+ export interface IContentSourceClassificationConfiguration extends MJContentSourceEntity_IContentSourceConfiguration {
44
+ /** Free-text guidance injected into the autotagging prompt at the SOURCE scope. */
45
+ ClassificationContext?: string;
46
+ /** How this source's context combines with the org/type scopes. Defaults to 'additive'. */
47
+ ClassificationContextMode?: ClassificationContextMode;
48
+ }
49
+ /**
50
+ * Application name used to resolve the Knowledge Hub Application ID for the
51
+ * org-level classification-context ApplicationSetting. Mirrors the server-side
52
+ * `KNOWLEDGE_HUB_APPLICATION_NAME` constant.
53
+ */
54
+ export declare const KNOWLEDGE_HUB_APPLICATION_NAME = "Knowledge Hub";
55
+ /** ApplicationSetting key under which the org-level classification context lives. */
56
+ export declare const CLASSIFY_ORG_CONTEXT_SETTING_KEY = "classify.org.context";
32
57
  /** One selectable taxonomy-mode card (icon + name + one-line "best for"). */
33
58
  interface TaxonomyModeOption {
34
59
  value: TaxonomyModeJson;
@@ -82,6 +107,14 @@ export declare class ClassifySourceTypeFormDialogComponent extends BaseAngularCo
82
107
  FormTypeVectorIndexID: string;
83
108
  FormSourceEntityID: string;
84
109
  FormSourceEntityDocID: string;
110
+ /** Whether the inline "Create Entity Document" sub-form is expanded. */
111
+ ShowInlineEntityDocForm: boolean;
112
+ /** Saving spinner for the inline Entity Document create. */
113
+ EntityDocSaving: boolean;
114
+ /** Name for the new Entity Document (auto-filled from the entity). */
115
+ NewEntityDocName: string;
116
+ /** Selected field names to include in the new Entity Document template. */
117
+ NewEntityDocSelectedFields: Record<string, boolean>;
85
118
  FormSourceEmbeddingModelID: string;
86
119
  FormSourceVectorIndexID: string;
87
120
  FormMaxItemsPerRun: number | null;
@@ -97,9 +130,9 @@ export declare class ClassifySourceTypeFormDialogComponent extends BaseAngularCo
97
130
  Name: string;
98
131
  }[];
99
132
  /** The working classifier config — never null; defaults are applied by the typed getters below. */
100
- get Config(): MJContentSourceEntity_IContentSourceConfiguration;
133
+ get Config(): IContentSourceClassificationConfiguration;
101
134
  /** Merge a partial patch into the working config (immutable spread, like the reference panel). */
102
- setConfig(patch: Partial<MJContentSourceEntity_IContentSourceConfiguration>): void;
135
+ setConfig(patch: Partial<IContentSourceClassificationConfiguration>): void;
103
136
  get CurrentMode(): TaxonomyModeJson;
104
137
  SetMode(mode: TaxonomyModeJson): void;
105
138
  get MatchThresholdValue(): number;
@@ -113,6 +146,31 @@ export declare class ClassifySourceTypeFormDialogComponent extends BaseAngularCo
113
146
  set ShareTaxonomyValue(v: boolean);
114
147
  get EnableVectorizationValue(): boolean;
115
148
  set EnableVectorizationValue(v: boolean);
149
+ /** Source-level domain-context free text. */
150
+ get ClassificationContextValue(): string;
151
+ set ClassificationContextValue(v: string);
152
+ /** Whether this source's context is additive (concatenated) or substitutive (most-specific wins). */
153
+ get ClassificationContextModeValue(): ClassificationContextMode;
154
+ set ClassificationContextModeValue(v: ClassificationContextMode);
155
+ /** Convenience boolean bound to the additive/substitutive mj-switch. On = substitutive. */
156
+ get IsSubstitutiveMode(): boolean;
157
+ set IsSubstitutiveMode(v: boolean);
158
+ /**
159
+ * The org-level domain context, resolved once from ApplicationSettingEngine
160
+ * (Knowledge Hub app scope, GLOBAL fallback). Read-only here — the org editor
161
+ * lives on the Content Types tab. Used for the effective-context preview.
162
+ */
163
+ OrgClassificationContext: string;
164
+ /**
165
+ * The effective domain-context preview the autotagger would assemble for this
166
+ * source, mirroring the server-side `ClassificationContextResolver` combine
167
+ * logic. Content-type scope is intentionally omitted here because the slide-in
168
+ * doesn't load every content type's Configuration JSON — the preview shows the
169
+ * org + source scopes (the two the operator edits in this flow).
170
+ */
171
+ get EffectiveContextPreview(): string;
172
+ /** Normalize a raw context value: trim, treat empty as undefined. */
173
+ private cleanContext;
116
174
  get MaxNewTagsPerRunValue(): number | null;
117
175
  set MaxNewTagsPerRunValue(v: number | string | null);
118
176
  get MaxNewTagsPerItemValue(): number | null;
@@ -150,6 +208,38 @@ export declare class ClassifySourceTypeFormDialogComponent extends BaseAngularCo
150
208
  ID: string;
151
209
  Name: string;
152
210
  }[];
211
+ /**
212
+ * The entity ID currently selected for an Entity-type source. The dynamic
213
+ * entity-picker stores its value under its field Key (conventionally
214
+ * 'EntityID') in FormSourceSpecificConfig; fall back to FormSourceEntityID.
215
+ */
216
+ get SelectedEntityID(): string;
217
+ /** EntityInfo for the currently-selected entity, or null. */
218
+ private get selectedEntityInfo();
219
+ /** Display name of the selected entity (for the callout + auto-filled doc name). */
220
+ get SelectedEntityName(): string;
221
+ /**
222
+ * True when an Entity source type is selected, an entity is chosen, and that
223
+ * entity has NO active Entity Document — the trigger for the inline create UI.
224
+ */
225
+ get SelectedEntityHasNoDocument(): boolean;
226
+ /** Fields of the selected entity, for the field-picker in the inline create form. */
227
+ get SelectedEntityFields(): {
228
+ Name: string;
229
+ DisplayName: string;
230
+ }[];
231
+ /** Open the inline Entity Document create sub-form, auto-filling sensible defaults. */
232
+ OpenInlineEntityDocForm(): void;
233
+ CancelInlineEntityDocForm(): void;
234
+ /** Number of currently-selected fields (template-facing). */
235
+ get SelectedEntityDocFieldCount(): number;
236
+ /**
237
+ * Create a new Entity Document for the selected entity, then select it on the
238
+ * form. Builds a simple template body referencing the chosen fields. The
239
+ * Entity Document entity has several NOT NULL FKs (Type, VectorDatabase,
240
+ * Template, AIModel) populated from cached Knowledge Hub / AI metadata.
241
+ */
242
+ CreateInlineEntityDocument(): Promise<void>;
153
243
  /** Stores source-type-specific config values keyed by RequiredFields[].Key */
154
244
  FormSourceSpecificConfig: Record<string, string>;
155
245
  /** Available MJ Storage provider keys for the storage-provider-picker widget */
@@ -209,6 +299,14 @@ export declare class ClassifySourceTypeFormDialogComponent extends BaseAngularCo
209
299
  */
210
300
  RawSources: Record<string, unknown>[];
211
301
  private ensureFormDropdownsLoaded;
302
+ /**
303
+ * Resolve the Knowledge Hub Application ID by name (cached per dialog instance).
304
+ * Returns null when no such application exists.
305
+ */
306
+ private khApplicationID;
307
+ private resolveKnowledgeHubApplicationID;
308
+ /** Read the org-level classification context for the effective-context preview. */
309
+ private loadOrgClassificationContext;
212
310
  private resetSourceForm;
213
311
  /** Show / hide the inline effective-values panel in the Classification section. */
214
312
  ToggleEffectiveValues(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"source-type-form.dialog.component.d.ts","sourceRoot":"","sources":["../../../../../src/AI/components/autotagging/dialogs/source-type-form.dialog.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAgC,YAAY,EAA0B,SAAS,EAAE,MAAM,eAAe,CAAC;AAC9G,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAA0E,iDAAiD,EAAE,iDAAiD,EAAkB,MAAM,+BAA+B,CAAC;AAE7O,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAIrE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;;AAEjG,4FAA4F;AAC5F,KAAK,gBAAgB,GAAG,WAAW,CAAC,iDAAiD,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAE1G,6EAA6E;AAC7E,UA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AYzB;;;OAGG;IACI,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IA4B3C,uEAAuE;IACvE,OAAO,CAAC,SAAS;IAeV,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,aAAa;yCA/5BZ,qCAAqC;2CAArC,qCAAqC;CAy6BjD"}
1
+ {"version":3,"file":"source-type-form.dialog.component.d.ts","sourceRoot":"","sources":["../../../../../src/AI/components/autotagging/dialogs/source-type-form.dialog.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAgC,YAAY,EAA0B,SAAS,EAAE,MAAM,eAAe,CAAC;AAC9G,OAAO,EAAE,YAAY,EAAW,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAA0E,iDAAiD,EAAE,iDAAiD,EAAoE,MAAM,+BAA+B,CAAC;AAE/R,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAIrE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;;AAEjG,4FAA4F;AAC5F,KAAK,gBAAgB,GAAG,WAAW,CAAC,iDAAiD,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAE1G,uFAAuF;AACvF,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,cAAc,CAAC;AAEpE;;;;;;;;GAQG;AACH,MAAM,WAAW,yCACb,SAAQ,iDAAiD;IACzD,mFAAmF;IACnF,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,2FAA2F;IAC3F,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;CACzD;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,kBAAkB,CAAC;AAE9D,qFAAqF;AACrF,eAAO,MAAM,gCAAgC,yBAAyB,CAAC;AAEvE,6EAA6E;AAC7E,UAAU,kBAA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