@memberjunction/ng-dashboards 6.2.0-edge.3 → 6.2.0-edge.5

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 (247) hide show
  1. package/dist/AI/components/analytics/realtime/realtime-transcripts-data.d.ts +4 -3
  2. package/dist/AI/components/analytics/realtime/realtime-transcripts-data.d.ts.map +1 -1
  3. package/dist/AI/components/analytics/realtime/realtime-transcripts-data.js +8 -5
  4. package/dist/AI/components/analytics/realtime/realtime-transcripts-data.js.map +1 -1
  5. package/dist/AI/components/duplicates/compare-value.component.d.ts +67 -0
  6. package/dist/AI/components/duplicates/compare-value.component.d.ts.map +1 -0
  7. package/dist/AI/components/duplicates/compare-value.component.js +168 -0
  8. package/dist/AI/components/duplicates/compare-value.component.js.map +1 -0
  9. package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts +49 -3
  10. package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts.map +1 -1
  11. package/dist/AI/components/duplicates/duplicate-detection-resource.component.js +287 -169
  12. package/dist/AI/components/duplicates/duplicate-detection-resource.component.js.map +1 -1
  13. package/dist/AI/components/duplicates/duplicate-detection-run-scope.d.ts +77 -0
  14. package/dist/AI/components/duplicates/duplicate-detection-run-scope.d.ts.map +1 -0
  15. package/dist/AI/components/duplicates/duplicate-detection-run-scope.js +116 -0
  16. package/dist/AI/components/duplicates/duplicate-detection-run-scope.js.map +1 -0
  17. package/dist/AI/components/prompts/model-prompt-priority-matrix.component.d.ts +1 -0
  18. package/dist/AI/components/prompts/model-prompt-priority-matrix.component.d.ts.map +1 -1
  19. package/dist/AI/components/prompts/model-prompt-priority-matrix.component.js +16 -4
  20. package/dist/AI/components/prompts/model-prompt-priority-matrix.component.js.map +1 -1
  21. package/dist/AI/components/tags/tags-resource.component.d.ts +2 -0
  22. package/dist/AI/components/tags/tags-resource.component.d.ts.map +1 -1
  23. package/dist/AI/components/tags/tags-resource.component.js +12 -6
  24. package/dist/AI/components/tags/tags-resource.component.js.map +1 -1
  25. package/dist/AI/components/vectors/sensitive-fields.d.ts +53 -0
  26. package/dist/AI/components/vectors/sensitive-fields.d.ts.map +1 -0
  27. package/dist/AI/components/vectors/sensitive-fields.js +226 -0
  28. package/dist/AI/components/vectors/sensitive-fields.js.map +1 -0
  29. package/dist/AI/components/vectors/vector-document-rules.d.ts +126 -0
  30. package/dist/AI/components/vectors/vector-document-rules.d.ts.map +1 -0
  31. package/dist/AI/components/vectors/vector-document-rules.js +168 -0
  32. package/dist/AI/components/vectors/vector-document-rules.js.map +1 -0
  33. package/dist/AI/components/vectors/vector-index-auto.d.ts +29 -0
  34. package/dist/AI/components/vectors/vector-index-auto.d.ts.map +1 -0
  35. package/dist/AI/components/vectors/vector-index-auto.js +59 -0
  36. package/dist/AI/components/vectors/vector-index-auto.js.map +1 -0
  37. package/dist/AI/components/vectors/vector-management-resource.component.d.ts +58 -0
  38. package/dist/AI/components/vectors/vector-management-resource.component.d.ts.map +1 -1
  39. package/dist/AI/components/vectors/vector-management-resource.component.js +493 -250
  40. package/dist/AI/components/vectors/vector-management-resource.component.js.map +1 -1
  41. package/dist/Actions/components/actions-overview.component.d.ts.map +1 -1
  42. package/dist/Actions/components/actions-overview.component.js +7 -3
  43. package/dist/Actions/components/actions-overview.component.js.map +1 -1
  44. package/dist/Actions/components/categories-list-view.component.d.ts.map +1 -1
  45. package/dist/Actions/components/categories-list-view.component.js +3 -2
  46. package/dist/Actions/components/categories-list-view.component.js.map +1 -1
  47. package/dist/Communication/communication-agent-context.d.ts +11 -1
  48. package/dist/Communication/communication-agent-context.d.ts.map +1 -1
  49. package/dist/Communication/communication-agent-context.js +15 -0
  50. package/dist/Communication/communication-agent-context.js.map +1 -1
  51. package/dist/Communication/communication-dashboard.component.d.ts.map +1 -1
  52. package/dist/Communication/communication-dashboard.component.js +5 -0
  53. package/dist/Communication/communication-dashboard.component.js.map +1 -1
  54. package/dist/Communication/communication-providers-resource.component.d.ts +27 -1
  55. package/dist/Communication/communication-providers-resource.component.d.ts.map +1 -1
  56. package/dist/Communication/communication-providers-resource.component.js +722 -78
  57. package/dist/Communication/communication-providers-resource.component.js.map +1 -1
  58. package/dist/ComponentStudio/component-studio-dashboard.component.d.ts.map +1 -1
  59. package/dist/ComponentStudio/component-studio-dashboard.component.js +1 -0
  60. package/dist/ComponentStudio/component-studio-dashboard.component.js.map +1 -1
  61. package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.d.ts +0 -3
  62. package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.d.ts.map +1 -1
  63. package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.js +5 -14
  64. package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.js.map +1 -1
  65. package/dist/ComponentStudio/components/artifact-load-dialog.component.d.ts.map +1 -1
  66. package/dist/ComponentStudio/components/artifact-load-dialog.component.js +1 -0
  67. package/dist/ComponentStudio/components/artifact-load-dialog.component.js.map +1 -1
  68. package/dist/ComponentStudio/components/artifact-selection-dialog.component.d.ts.map +1 -1
  69. package/dist/ComponentStudio/components/artifact-selection-dialog.component.js +1 -0
  70. package/dist/ComponentStudio/components/artifact-selection-dialog.component.js.map +1 -1
  71. package/dist/Credentials/components/credentials-list-resource.component.d.ts +2 -0
  72. package/dist/Credentials/components/credentials-list-resource.component.d.ts.map +1 -1
  73. package/dist/Credentials/components/credentials-list-resource.component.js +12 -10
  74. package/dist/Credentials/components/credentials-list-resource.component.js.map +1 -1
  75. package/dist/DashboardBrowser/dashboard-browser-agent-context.d.ts +14 -43
  76. package/dist/DashboardBrowser/dashboard-browser-agent-context.d.ts.map +1 -1
  77. package/dist/DashboardBrowser/dashboard-browser-agent-context.js +6 -29
  78. package/dist/DashboardBrowser/dashboard-browser-agent-context.js.map +1 -1
  79. package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts +174 -321
  80. package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts.map +1 -1
  81. package/dist/DashboardBrowser/dashboard-browser-resource.component.js +522 -1195
  82. package/dist/DashboardBrowser/dashboard-browser-resource.component.js.map +1 -1
  83. package/dist/DashboardBrowser/dashboard-library-filter.d.ts +116 -0
  84. package/dist/DashboardBrowser/dashboard-library-filter.d.ts.map +1 -0
  85. package/dist/DashboardBrowser/dashboard-library-filter.js +277 -0
  86. package/dist/DashboardBrowser/dashboard-library-filter.js.map +1 -0
  87. package/dist/DashboardBrowser/dashboard-share-dialog.component.d.ts +1 -1
  88. package/dist/DashboardBrowser/dashboard-share-dialog.component.js.map +1 -1
  89. package/dist/DashboardBrowser/dashboards-agent-tools.d.ts +26 -0
  90. package/dist/DashboardBrowser/dashboards-agent-tools.d.ts.map +1 -0
  91. package/dist/DashboardBrowser/dashboards-agent-tools.js +32 -0
  92. package/dist/DashboardBrowser/dashboards-agent-tools.js.map +1 -0
  93. package/dist/DashboardBrowser/dashboards-categories-resource.component.d.ts +58 -0
  94. package/dist/DashboardBrowser/dashboards-categories-resource.component.d.ts.map +1 -0
  95. package/dist/DashboardBrowser/dashboards-categories-resource.component.js +391 -0
  96. package/dist/DashboardBrowser/dashboards-categories-resource.component.js.map +1 -0
  97. package/dist/DashboardBrowser/dashboards-categories.helpers.d.ts +37 -0
  98. package/dist/DashboardBrowser/dashboards-categories.helpers.d.ts.map +1 -0
  99. package/dist/DashboardBrowser/dashboards-categories.helpers.js +68 -0
  100. package/dist/DashboardBrowser/dashboards-categories.helpers.js.map +1 -0
  101. package/dist/DashboardEditor/dashboard-editor.component.d.ts +295 -0
  102. package/dist/DashboardEditor/dashboard-editor.component.d.ts.map +1 -0
  103. package/dist/DashboardEditor/dashboard-editor.component.js +1022 -0
  104. package/dist/DashboardEditor/dashboard-editor.component.js.map +1 -0
  105. package/dist/DashboardEditor/dashboard-editor.types.d.ts +23 -0
  106. package/dist/DashboardEditor/dashboard-editor.types.d.ts.map +1 -0
  107. package/dist/DashboardEditor/dashboard-editor.types.js +3 -0
  108. package/dist/DashboardEditor/dashboard-editor.types.js.map +1 -0
  109. package/dist/DashboardEditor/dashboard-viewer-factory.d.ts +11 -0
  110. package/dist/DashboardEditor/dashboard-viewer-factory.d.ts.map +1 -0
  111. package/dist/DashboardEditor/dashboard-viewer-factory.js +17 -0
  112. package/dist/DashboardEditor/dashboard-viewer-factory.js.map +1 -0
  113. package/dist/DataExplorer/data-explorer-dashboard.component.d.ts +51 -0
  114. package/dist/DataExplorer/data-explorer-dashboard.component.d.ts.map +1 -1
  115. package/dist/DataExplorer/data-explorer-dashboard.component.js +375 -223
  116. package/dist/DataExplorer/data-explorer-dashboard.component.js.map +1 -1
  117. package/dist/DataExplorer/services/explorer-state.service.d.ts +1 -1
  118. package/dist/DataExplorer/services/explorer-state.service.js +2 -5
  119. package/dist/DataExplorer/services/explorer-state.service.js.map +1 -1
  120. package/dist/DevTools/app-state-inspector.component.d.ts.map +1 -1
  121. package/dist/DevTools/app-state-inspector.component.js +1 -0
  122. package/dist/DevTools/app-state-inspector.component.js.map +1 -1
  123. package/dist/DevTools/class-registry.component.d.ts.map +1 -1
  124. package/dist/DevTools/class-registry.component.js +1 -0
  125. package/dist/DevTools/class-registry.component.js.map +1 -1
  126. package/dist/DevTools/event-monitor.component.d.ts.map +1 -1
  127. package/dist/DevTools/event-monitor.component.js +2 -0
  128. package/dist/DevTools/event-monitor.component.js.map +1 -1
  129. package/dist/DevTools/graphql-console.component.d.ts.map +1 -1
  130. package/dist/DevTools/graphql-console.component.js.map +1 -1
  131. package/dist/DevTools/grid-width-lab.component.d.ts.map +1 -1
  132. package/dist/DevTools/grid-width-lab.component.js +1 -0
  133. package/dist/DevTools/grid-width-lab.component.js.map +1 -1
  134. package/dist/DevTools/layout-inspector.component.d.ts.map +1 -1
  135. package/dist/DevTools/layout-inspector.component.js +1 -0
  136. package/dist/DevTools/layout-inspector.component.js.map +1 -1
  137. package/dist/DevTools/lazy-module-status.component.d.ts.map +1 -1
  138. package/dist/DevTools/lazy-module-status.component.js +1 -0
  139. package/dist/DevTools/lazy-module-status.component.js.map +1 -1
  140. package/dist/DevTools/settings-explorer.component.d.ts.map +1 -1
  141. package/dist/DevTools/settings-explorer.component.js +1 -0
  142. package/dist/DevTools/settings-explorer.component.js.map +1 -1
  143. package/dist/DevTools/tab-strip-lab.component.d.ts.map +1 -1
  144. package/dist/DevTools/tab-strip-lab.component.js +1 -0
  145. package/dist/DevTools/tab-strip-lab.component.js.map +1 -1
  146. package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts +5 -0
  147. package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts.map +1 -1
  148. package/dist/EntityAdmin/entity-admin-dashboard.component.js +8 -5
  149. package/dist/EntityAdmin/entity-admin-dashboard.component.js.map +1 -1
  150. package/dist/FormBuilder/form-builder-resource.component.d.ts +0 -14
  151. package/dist/FormBuilder/form-builder-resource.component.d.ts.map +1 -1
  152. package/dist/FormBuilder/form-builder-resource.component.js +7 -29
  153. package/dist/FormBuilder/form-builder-resource.component.js.map +1 -1
  154. package/dist/Home/home-agent-context.d.ts +29 -10
  155. package/dist/Home/home-agent-context.d.ts.map +1 -1
  156. package/dist/Home/home-agent-context.js +50 -24
  157. package/dist/Home/home-agent-context.js.map +1 -1
  158. package/dist/Home/home-dashboard-switcher.component.d.ts +95 -0
  159. package/dist/Home/home-dashboard-switcher.component.d.ts.map +1 -0
  160. package/dist/Home/home-dashboard-switcher.component.js +442 -0
  161. package/dist/Home/home-dashboard-switcher.component.js.map +1 -0
  162. package/dist/Home/home-dashboard.component.d.ts +330 -17
  163. package/dist/Home/home-dashboard.component.d.ts.map +1 -1
  164. package/dist/Home/home-dashboard.component.js +1702 -1014
  165. package/dist/Home/home-dashboard.component.js.map +1 -1
  166. package/dist/Home/home-menus.d.ts +38 -0
  167. package/dist/Home/home-menus.d.ts.map +1 -0
  168. package/dist/Home/home-menus.js +53 -0
  169. package/dist/Home/home-menus.js.map +1 -0
  170. package/dist/Home/home-pinned-dashboards.d.ts +33 -0
  171. package/dist/Home/home-pinned-dashboards.d.ts.map +1 -0
  172. package/dist/Home/home-pinned-dashboards.js +76 -0
  173. package/dist/Home/home-pinned-dashboards.js.map +1 -0
  174. package/dist/Integration/components/overview/overview.component.js +2 -2
  175. package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js +2 -2
  176. package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js.map +1 -1
  177. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.d.ts +11 -1
  178. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.d.ts.map +1 -1
  179. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.js +24 -2
  180. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.js.map +1 -1
  181. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.d.ts +16 -2
  182. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.d.ts.map +1 -1
  183. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.js +87 -33
  184. package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.js.map +1 -1
  185. package/dist/LoginStudio/login-studio-inspector.component.d.ts +130 -0
  186. package/dist/LoginStudio/login-studio-inspector.component.d.ts.map +1 -0
  187. package/dist/LoginStudio/login-studio-inspector.component.js +781 -0
  188. package/dist/LoginStudio/login-studio-inspector.component.js.map +1 -0
  189. package/dist/LoginStudio/login-studio-resource.component.d.ts +153 -0
  190. package/dist/LoginStudio/login-studio-resource.component.d.ts.map +1 -0
  191. package/dist/LoginStudio/login-studio-resource.component.js +857 -0
  192. package/dist/LoginStudio/login-studio-resource.component.js.map +1 -0
  193. package/dist/PredictiveStudio/components/ps-production.component.d.ts +5 -1
  194. package/dist/PredictiveStudio/components/ps-production.component.d.ts.map +1 -1
  195. package/dist/PredictiveStudio/components/ps-production.component.js +64 -41
  196. package/dist/PredictiveStudio/components/ps-production.component.js.map +1 -1
  197. package/dist/QueryBrowser/query-browser-resource.component.d.ts.map +1 -1
  198. package/dist/QueryBrowser/query-browser-resource.component.js +3 -2
  199. package/dist/QueryBrowser/query-browser-resource.component.js.map +1 -1
  200. package/dist/RealtimeRecordings/realtime-recordings-dashboard.component.js +2 -2
  201. package/dist/RealtimeRecordings/realtime-recordings-dashboard.component.js.map +1 -1
  202. package/dist/TelephonyOperations/telephony-operations-dashboard.component.d.ts +1 -0
  203. package/dist/TelephonyOperations/telephony-operations-dashboard.component.d.ts.map +1 -1
  204. package/dist/TelephonyOperations/telephony-operations-dashboard.component.js +7 -0
  205. package/dist/TelephonyOperations/telephony-operations-dashboard.component.js.map +1 -1
  206. package/dist/Testing/components/testing-explorer.component.d.ts.map +1 -1
  207. package/dist/Testing/components/testing-explorer.component.js +7 -7
  208. package/dist/Testing/components/testing-explorer.component.js.map +1 -1
  209. package/dist/Workflows/components/workflow-runs-resource.component.js +4 -4
  210. package/dist/Workflows/components/workflow-runs-resource.component.js.map +1 -1
  211. package/dist/ai-dashboards.module.d.ts +21 -20
  212. package/dist/ai-dashboards.module.d.ts.map +1 -1
  213. package/dist/ai-dashboards.module.js +4 -1
  214. package/dist/ai-dashboards.module.js.map +1 -1
  215. package/dist/core-dashboards.module.d.ts +70 -62
  216. package/dist/core-dashboards.module.d.ts.map +1 -1
  217. package/dist/core-dashboards.module.js +33 -5
  218. package/dist/core-dashboards.module.js.map +1 -1
  219. package/dist/data-explorer-dashboards.module.d.ts +1 -1
  220. package/dist/data-explorer-dashboards.module.d.ts.map +1 -1
  221. package/dist/data-explorer-dashboards.module.js +3 -1
  222. package/dist/data-explorer-dashboards.module.js.map +1 -1
  223. package/dist/public-api.d.ts +3 -0
  224. package/dist/public-api.d.ts.map +1 -1
  225. package/dist/public-api.js +4 -0
  226. package/dist/public-api.js.map +1 -1
  227. package/dist/shared/dashboard-library-changes.d.ts +23 -0
  228. package/dist/shared/dashboard-library-changes.d.ts.map +1 -0
  229. package/dist/shared/dashboard-library-changes.js +26 -0
  230. package/dist/shared/dashboard-library-changes.js.map +1 -0
  231. package/dist/shared/dashboard-owner-names.d.ts +17 -0
  232. package/dist/shared/dashboard-owner-names.d.ts.map +1 -0
  233. package/dist/shared/dashboard-owner-names.js +65 -0
  234. package/dist/shared/dashboard-owner-names.js.map +1 -0
  235. package/dist/shared/dashboard-recents.d.ts +34 -0
  236. package/dist/shared/dashboard-recents.d.ts.map +1 -0
  237. package/dist/shared/dashboard-recents.js +87 -0
  238. package/dist/shared/dashboard-recents.js.map +1 -0
  239. package/dist/shared/dashboards-app-install.d.ts +59 -0
  240. package/dist/shared/dashboards-app-install.d.ts.map +1 -0
  241. package/dist/shared/dashboards-app-install.js +97 -0
  242. package/dist/shared/dashboards-app-install.js.map +1 -0
  243. package/dist/shared/dashboards-app.helpers.d.ts +42 -0
  244. package/dist/shared/dashboards-app.helpers.d.ts.map +1 -0
  245. package/dist/shared/dashboards-app.helpers.js +143 -0
  246. package/dist/shared/dashboards-app.helpers.js.map +1 -0
  247. package/package.json +73 -69
@@ -0,0 +1,29 @@
1
+ /** The slice of an `MJ: Vector Indexes` row needed to decide whether it fits a document. */
2
+ export interface VectorIndexCandidate {
3
+ ID: string;
4
+ VectorDatabaseID: string | null;
5
+ EmbeddingModelID: string | null;
6
+ }
7
+ /**
8
+ * The provider-side cap `MJVectorIndexEntityServer.sanitizeIndexName` applies (Pinecone's limit). An
9
+ * auto-generated name is kept under it so the server's sanitizing is a no-op; see
10
+ * {@link BuildAutoVectorIndexName}.
11
+ */
12
+ export declare const AUTO_VECTOR_INDEX_NAME_MAX_LENGTH = 45;
13
+ /**
14
+ * The index already built for this database + embedding model, or null when none exists. Never falls
15
+ * back to an index on the same database for a different model.
16
+ */
17
+ export declare function FindMatchingVectorIndex<T extends VectorIndexCandidate>(indexes: readonly T[], vectorDatabaseID: string | null | undefined, embeddingModelID: string | null | undefined): T | null;
18
+ /**
19
+ * Name for an auto-created index, built so the provider index gets the SAME name.
20
+ *
21
+ * Everything downstream (the sync upserter, the duplicate detector, the vectors resolver) addresses
22
+ * the provider index by the record's `Name`, while `MJVectorIndexEntityServer` provisions it under
23
+ * `sanitizeIndexName(Name)`: lowercase letters, digits and hyphens only, at most 45 characters. A
24
+ * name that does not survive that sanitizing points the sync at an index that does not exist, so the
25
+ * name is emitted already in that form: `<entity>-<model>` as a slug, cut to fit, plus a short hash
26
+ * of the full slug so two long names that only differ past the cut do not collide.
27
+ */
28
+ export declare function BuildAutoVectorIndexName(entityName: string | null | undefined, embeddingModelName: string | null | undefined): string;
29
+ //# sourceMappingURL=vector-index-auto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vector-index-auto.d.ts","sourceRoot":"","sources":["../../../../src/AI/components/vectors/vector-index-auto.ts"],"names":[],"mappings":"AAUA,4FAA4F;AAC5F,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,KAAK,CAAC;AAKpD;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,oBAAoB,EAClE,OAAO,EAAE,SAAS,CAAC,EAAE,EACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC5C,CAAC,GAAG,IAAI,CAOV;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,kBAAkB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC9C,MAAM,CAKR"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Pure helpers behind the "Vector Index: Auto (create/find matching index)" choice in the AI
3
+ * Document Suggestion panel and the entity-document edit panel.
4
+ *
5
+ * "Matching" means the SAME vector database AND the SAME embedding model. An index built for another
6
+ * model has another vector width, and every upsert into it is rejected on a dimension mismatch, so a
7
+ * looser match (any index on that database) is worse than creating a fresh one.
8
+ */
9
+ import { UUIDsEqual } from '@memberjunction/global';
10
+ /**
11
+ * The provider-side cap `MJVectorIndexEntityServer.sanitizeIndexName` applies (Pinecone's limit). An
12
+ * auto-generated name is kept under it so the server's sanitizing is a no-op; see
13
+ * {@link BuildAutoVectorIndexName}.
14
+ */
15
+ export const AUTO_VECTOR_INDEX_NAME_MAX_LENGTH = 45;
16
+ /** Length of the hash suffix that keeps two long, truncated names from colliding. */
17
+ const NAME_HASH_LENGTH = 6;
18
+ /**
19
+ * The index already built for this database + embedding model, or null when none exists. Never falls
20
+ * back to an index on the same database for a different model.
21
+ */
22
+ export function FindMatchingVectorIndex(indexes, vectorDatabaseID, embeddingModelID) {
23
+ if (!vectorDatabaseID || !embeddingModelID) {
24
+ return null;
25
+ }
26
+ return indexes.find(i => UUIDsEqual(i.VectorDatabaseID, vectorDatabaseID) && UUIDsEqual(i.EmbeddingModelID, embeddingModelID)) ?? null;
27
+ }
28
+ /**
29
+ * Name for an auto-created index, built so the provider index gets the SAME name.
30
+ *
31
+ * Everything downstream (the sync upserter, the duplicate detector, the vectors resolver) addresses
32
+ * the provider index by the record's `Name`, while `MJVectorIndexEntityServer` provisions it under
33
+ * `sanitizeIndexName(Name)`: lowercase letters, digits and hyphens only, at most 45 characters. A
34
+ * name that does not survive that sanitizing points the sync at an index that does not exist, so the
35
+ * name is emitted already in that form: `<entity>-<model>` as a slug, cut to fit, plus a short hash
36
+ * of the full slug so two long names that only differ past the cut do not collide.
37
+ */
38
+ export function BuildAutoVectorIndexName(entityName, embeddingModelName) {
39
+ const fullSlug = slugify(`${(entityName ?? '').trim() || 'entity'} ${(embeddingModelName ?? '').trim() || 'embeddings'}`);
40
+ const hash = hashBase36(fullSlug).slice(0, NAME_HASH_LENGTH).padStart(NAME_HASH_LENGTH, '0');
41
+ const stem = fullSlug.slice(0, AUTO_VECTOR_INDEX_NAME_MAX_LENGTH - NAME_HASH_LENGTH - 1).replace(/-+$/, '');
42
+ return `${stem}-${hash}`;
43
+ }
44
+ /** Lowercase, runs of anything but letters and digits collapsed to one hyphen, no leading or trailing hyphen. */
45
+ function slugify(value) {
46
+ return value
47
+ .toLowerCase()
48
+ .replace(/[^a-z0-9]+/g, '-')
49
+ .replace(/^-|-$/g, '');
50
+ }
51
+ /** Deterministic djb2 hash rendered in base 36; stable across sessions and tenants for the same input. */
52
+ function hashBase36(value) {
53
+ let hash = 5381;
54
+ for (let i = 0; i < value.length; i++) {
55
+ hash = ((hash << 5) + hash + value.charCodeAt(i)) >>> 0;
56
+ }
57
+ return hash.toString(36);
58
+ }
59
+ //# sourceMappingURL=vector-index-auto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vector-index-auto.js","sourceRoot":"","sources":["../../../../src/AI/components/vectors/vector-index-auto.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AASpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,EAAE,CAAC;AAEpD,qFAAqF;AACrF,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CACnC,OAAqB,EACrB,gBAA2C,EAC3C,gBAA2C;IAE3C,IAAI,CAAC,gBAAgB,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CACpB,UAAU,CAAC,CAAC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CACvG,IAAI,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,wBAAwB,CACpC,UAAqC,EACrC,kBAA6C;IAE7C,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,QAAQ,IAAI,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,YAAY,EAAE,CAAC,CAAC;IAC1H,MAAM,IAAI,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;IAC7F,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,iCAAiC,GAAG,gBAAgB,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC5G,OAAO,GAAG,IAAI,IAAI,IAAI,EAAE,CAAC;AAC7B,CAAC;AAED,iHAAiH;AACjH,SAAS,OAAO,CAAC,KAAa;IAC1B,OAAO,KAAK;SACP,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;AAC/B,CAAC;AAED,0GAA0G;AAC1G,SAAS,UAAU,CAAC,KAAa;IAC7B,IAAI,IAAI,GAAG,IAAI,CAAC;IAChB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACpC,IAAI,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AAC7B,CAAC","sourcesContent":["/**\n * Pure helpers behind the \"Vector Index: Auto (create/find matching index)\" choice in the AI\n * Document Suggestion panel and the entity-document edit panel.\n *\n * \"Matching\" means the SAME vector database AND the SAME embedding model. An index built for another\n * model has another vector width, and every upsert into it is rejected on a dimension mismatch, so a\n * looser match (any index on that database) is worse than creating a fresh one.\n */\nimport { UUIDsEqual } from '@memberjunction/global';\n\n/** The slice of an `MJ: Vector Indexes` row needed to decide whether it fits a document. */\nexport interface VectorIndexCandidate {\n ID: string;\n VectorDatabaseID: string | null;\n EmbeddingModelID: string | null;\n}\n\n/**\n * The provider-side cap `MJVectorIndexEntityServer.sanitizeIndexName` applies (Pinecone's limit). An\n * auto-generated name is kept under it so the server's sanitizing is a no-op; see\n * {@link BuildAutoVectorIndexName}.\n */\nexport const AUTO_VECTOR_INDEX_NAME_MAX_LENGTH = 45;\n\n/** Length of the hash suffix that keeps two long, truncated names from colliding. */\nconst NAME_HASH_LENGTH = 6;\n\n/**\n * The index already built for this database + embedding model, or null when none exists. Never falls\n * back to an index on the same database for a different model.\n */\nexport function FindMatchingVectorIndex<T extends VectorIndexCandidate>(\n indexes: readonly T[],\n vectorDatabaseID: string | null | undefined,\n embeddingModelID: string | null | undefined\n): T | null {\n if (!vectorDatabaseID || !embeddingModelID) {\n return null;\n }\n return indexes.find(i =>\n UUIDsEqual(i.VectorDatabaseID, vectorDatabaseID) && UUIDsEqual(i.EmbeddingModelID, embeddingModelID)\n ) ?? null;\n}\n\n/**\n * Name for an auto-created index, built so the provider index gets the SAME name.\n *\n * Everything downstream (the sync upserter, the duplicate detector, the vectors resolver) addresses\n * the provider index by the record's `Name`, while `MJVectorIndexEntityServer` provisions it under\n * `sanitizeIndexName(Name)`: lowercase letters, digits and hyphens only, at most 45 characters. A\n * name that does not survive that sanitizing points the sync at an index that does not exist, so the\n * name is emitted already in that form: `<entity>-<model>` as a slug, cut to fit, plus a short hash\n * of the full slug so two long names that only differ past the cut do not collide.\n */\nexport function BuildAutoVectorIndexName(\n entityName: string | null | undefined,\n embeddingModelName: string | null | undefined\n): string {\n const fullSlug = slugify(`${(entityName ?? '').trim() || 'entity'} ${(embeddingModelName ?? '').trim() || 'embeddings'}`);\n const hash = hashBase36(fullSlug).slice(0, NAME_HASH_LENGTH).padStart(NAME_HASH_LENGTH, '0');\n const stem = fullSlug.slice(0, AUTO_VECTOR_INDEX_NAME_MAX_LENGTH - NAME_HASH_LENGTH - 1).replace(/-+$/, '');\n return `${stem}-${hash}`;\n}\n\n/** Lowercase, runs of anything but letters and digits collapsed to one hyphen, no leading or trailing hyphen. */\nfunction slugify(value: string): string {\n return value\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, '-')\n .replace(/^-|-$/g, '');\n}\n\n/** Deterministic djb2 hash rendered in base 36; stable across sessions and tenants for the same input. */\nfunction hashBase36(value: string): string {\n let hash = 5381;\n for (let i = 0; i < value.length; i++) {\n hash = ((hash << 5) + hash + value.charCodeAt(i)) >>> 0;\n }\n return hash.toString(36);\n}\n"]}
@@ -18,6 +18,8 @@ interface EntitySyncRow {
18
18
  EntityDocumentID: string;
19
19
  EntityName: string;
20
20
  DocumentName: string;
21
+ /** Entity Document Type name, e.g. 'Search'. Fixed at creation, shown read-only. */
22
+ DocumentType: string;
21
23
  VectorCount: number;
22
24
  LastSynced: Date | null;
23
25
  Status: 'Synced' | 'Syncing' | 'Error' | 'Pending';
@@ -81,6 +83,8 @@ export declare class VectorManagementResourceComponent extends BaseResourceCompo
81
83
  EditDocVectorIndexID: string;
82
84
  EditDocStatus: string;
83
85
  EditDocTemplate: string;
86
+ /** Entity Document Type of the document being edited. Fixed at creation, shown read-only. */
87
+ EditDocType: string;
84
88
  IsEditRegenerating: boolean;
85
89
  /** Parse {{ FieldName }} patterns from the edit panel's template */
86
90
  get EditDocSelectedFields(): string[];
@@ -312,8 +316,62 @@ export declare class VectorManagementResourceComponent extends BaseResourceCompo
312
316
  * Throws if prerequisites are not met.
313
317
  */
314
318
  private populateEntityDocumentFKs;
319
+ /**
320
+ * "Auto (create/find matching index)": reuse the index already built for this vector database +
321
+ * embedding model, or create the `MJ: Vector Indexes` record for one. Only the metadata row is
322
+ * written here and the save returns as soon as it is stored; the server-side entity hook then
323
+ * provisions the index in the provider (bounded by its own timeout) and writes the provider
324
+ * metadata back, so this request is never held while the provider works.
325
+ * Returns the index ID to store on the document.
326
+ */
327
+ private resolveOrCreateVectorIndex;
315
328
  /** Create a Template + TemplateContent record for the entity document */
316
329
  private createTemplateForDocument;
330
+ /** The Template name this dialog deterministically gives the current document. */
331
+ private templateNameForDocument;
332
+ /**
333
+ * The Entity Document for the current dialog, reusing the row an earlier attempt created
334
+ * rather than adding a second one.
335
+ *
336
+ * This flow writes three rows — Template, Template Content, Entity Document — in that
337
+ * order, and only the last is protected by a unique index (`UQ_EntityDocument_Name` on
338
+ * `EntityDocument.Name`). So a duplicate was not a rare partial-failure case: that index
339
+ * guarantees a second attempt with the same name fails at the final step, *after* the
340
+ * Template and Template Content rows have been written again. Orphans accumulated one
341
+ * pair per retry.
342
+ *
343
+ * Matched on Name, because that is the identity the database itself enforces.
344
+ *
345
+ * An existing document is adopted only when this dialog created it — its TemplateID points
346
+ * at the template named `Template for <document name>` — and only for the same entity, so a
347
+ * retry never moves another entity's document. A collision with a document
348
+ * authored anywhere else is refused, because silently overwriting somebody's configured
349
+ * document is worse than asking for a different name.
350
+ */
351
+ private findOrCreateEntityDocument;
352
+ /**
353
+ * The Template for the current document, reusing an earlier attempt's row.
354
+ *
355
+ * An adopted Entity Document already points at its template (findOrCreateEntityDocument
356
+ * checked its name), so that row is reused by ID. Matching it on Name + UserID instead
357
+ * misses it when another user created it, writes a second template, re-points the document
358
+ * and orphans the first Template and Template Content.
359
+ *
360
+ * For a new document, matched on Name + UserID: `Template` carries no unique index, and that
361
+ * pair is exactly what this flow writes, so it identifies our own prior row without claiming
362
+ * anyone else's.
363
+ */
364
+ private findOrCreateTemplate;
365
+ /**
366
+ * The Template Content row for a template, reusing the one it already has.
367
+ *
368
+ * `Priority ASC`, first row, is how loadEditDocTemplate and saveEditDocTemplate already
369
+ * identify "the" content of a template — this follows that convention rather than adding
370
+ * a second one.
371
+ */
372
+ private findOrCreateTemplateContent;
373
+ /** True when the template with this ID carries the given name. */
374
+ private templateHasName;
317
375
  /** Build grouped entity list from metadata, grouped by SchemaName */
318
376
  private loadEntityGroups;
319
377
  private updateRowStatus;
@@ -1 +1 @@
1
- {"version":3,"file":"vector-management-resource.component.d.ts","sourceRoot":"","sources":["../../../../src/AI/components/vectors/vector-management-resource.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAgC,SAAS,EAAE,aAAa,EAAoB,UAAU,EAAU,MAAM,eAAe,CAAC;AAC7H,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAG/B,OAAO,EACH,YAAY,EAEZ,sBAAsB,EAMzB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAmB,MAAM,2BAA2B,CAAC;AACtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;;AAe5D,8CAA8C;AAC9C,UAAU,aAAa;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACnD,kDAAkD;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,sCAAsC;AACtC,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,yCAAyC;AACzC,UAAU,wBAAwB;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,qBAAqB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,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B,sEAAsE;YACxD,cAAc;IA2C5B;;;OAGG;YACW,oBAAoB;IAmClC,mEAAmE;IACnE,OAAO,CAAC,oBAAoB;IAa5B,uDAAuD;IACvD,OAAO,CAAC,eAAe;yCA9iDd,iCAAiC;2CAAjC,iCAAiC;CAmlD7C;AAED,wBAAgB,4BAA4B,IAAI,IAAI,CAEnD"}
1
+ {"version":3,"file":"vector-management-resource.component.d.ts","sourceRoot":"","sources":["../../../../src/AI/components/vectors/vector-management-resource.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAgC,SAAS,EAAE,aAAa,EAAoB,UAAU,EAAU,MAAM,eAAe,CAAC;AAC7H,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAG/B,OAAO,EACH,YAAY,EAEZ,sBAAsB,EAMzB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAmB,MAAM,2BAA2B,CAAC;AACtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;;AA0B5D,8CAA8C;AAC9C,UAAU,aAAa;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACnD,kDAAkD;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,sCAAsC;AACtC,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B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