@aceshooting/lyra-ui 4.0.0 → 4.1.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.
Files changed (356) hide show
  1. package/README.md +1 -0
  2. package/custom-elements.json +49430 -32305
  3. package/dist/ai/types.contract.d.ts +2 -0
  4. package/dist/ai/types.contract.d.ts.map +1 -0
  5. package/dist/ai/types.contract.js +139 -0
  6. package/dist/ai/types.contract.js.map +1 -0
  7. package/dist/ai/types.d.ts +199 -0
  8. package/dist/ai/types.d.ts.map +1 -0
  9. package/dist/ai/types.js +2 -0
  10. package/dist/ai/types.js.map +1 -0
  11. package/dist/components/agent-run/agent-run.class.d.ts +158 -0
  12. package/dist/components/agent-run/agent-run.class.d.ts.map +1 -0
  13. package/dist/components/agent-run/agent-run.class.js +400 -0
  14. package/dist/components/agent-run/agent-run.class.js.map +1 -0
  15. package/dist/components/agent-run/agent-run.d.ts +2 -0
  16. package/dist/components/agent-run/agent-run.d.ts.map +1 -0
  17. package/dist/components/agent-run/agent-run.js +5 -0
  18. package/dist/components/agent-run/agent-run.js.map +1 -0
  19. package/dist/components/agent-run/agent-run.styles.d.ts +2 -0
  20. package/dist/components/agent-run/agent-run.styles.d.ts.map +1 -0
  21. package/dist/components/agent-run/agent-run.styles.js +143 -0
  22. package/dist/components/agent-run/agent-run.styles.js.map +1 -0
  23. package/dist/components/agent-trace/agent-trace.class.d.ts +111 -0
  24. package/dist/components/agent-trace/agent-trace.class.d.ts.map +1 -0
  25. package/dist/components/agent-trace/agent-trace.class.js +221 -0
  26. package/dist/components/agent-trace/agent-trace.class.js.map +1 -0
  27. package/dist/components/agent-trace/agent-trace.d.ts +5 -0
  28. package/dist/components/agent-trace/agent-trace.d.ts.map +1 -0
  29. package/dist/components/agent-trace/agent-trace.js +8 -0
  30. package/dist/components/agent-trace/agent-trace.js.map +1 -0
  31. package/dist/components/agent-trace/agent-trace.styles.d.ts +2 -0
  32. package/dist/components/agent-trace/agent-trace.styles.d.ts.map +1 -0
  33. package/dist/components/agent-trace/agent-trace.styles.js +61 -0
  34. package/dist/components/agent-trace/agent-trace.styles.js.map +1 -0
  35. package/dist/components/app-rail/app-rail.styles.d.ts.map +1 -1
  36. package/dist/components/app-rail/app-rail.styles.js +4 -0
  37. package/dist/components/app-rail/app-rail.styles.js.map +1 -1
  38. package/dist/components/chat-message/chat-message.class.d.ts +37 -3
  39. package/dist/components/chat-message/chat-message.class.d.ts.map +1 -1
  40. package/dist/components/chat-message/chat-message.class.js +89 -7
  41. package/dist/components/chat-message/chat-message.class.js.map +1 -1
  42. package/dist/components/chat-message/chat-message.styles.d.ts.map +1 -1
  43. package/dist/components/chat-message/chat-message.styles.js +14 -0
  44. package/dist/components/chat-message/chat-message.styles.js.map +1 -1
  45. package/dist/components/context-inspector/context-inspector.class.d.ts +114 -0
  46. package/dist/components/context-inspector/context-inspector.class.d.ts.map +1 -0
  47. package/dist/components/context-inspector/context-inspector.class.js +222 -0
  48. package/dist/components/context-inspector/context-inspector.class.js.map +1 -0
  49. package/dist/components/context-inspector/context-inspector.d.ts +7 -0
  50. package/dist/components/context-inspector/context-inspector.d.ts.map +1 -0
  51. package/dist/components/context-inspector/context-inspector.js +10 -0
  52. package/dist/components/context-inspector/context-inspector.js.map +1 -0
  53. package/dist/components/context-inspector/context-inspector.styles.d.ts +2 -0
  54. package/dist/components/context-inspector/context-inspector.styles.d.ts.map +1 -0
  55. package/dist/components/context-inspector/context-inspector.styles.js +98 -0
  56. package/dist/components/context-inspector/context-inspector.styles.js.map +1 -0
  57. package/dist/components/dashboard-grid/dashboard-grid.class.d.ts +162 -0
  58. package/dist/components/dashboard-grid/dashboard-grid.class.d.ts.map +1 -0
  59. package/dist/components/dashboard-grid/dashboard-grid.class.js +570 -0
  60. package/dist/components/dashboard-grid/dashboard-grid.class.js.map +1 -0
  61. package/dist/components/dashboard-grid/dashboard-grid.d.ts +6 -0
  62. package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -0
  63. package/dist/components/dashboard-grid/dashboard-grid.js +9 -0
  64. package/dist/components/dashboard-grid/dashboard-grid.js.map +1 -0
  65. package/dist/components/dashboard-grid/dashboard-grid.styles.d.ts +2 -0
  66. package/dist/components/dashboard-grid/dashboard-grid.styles.d.ts.map +1 -0
  67. package/dist/components/dashboard-grid/dashboard-grid.styles.js +86 -0
  68. package/dist/components/dashboard-grid/dashboard-grid.styles.js.map +1 -0
  69. package/dist/components/dashboard-grid/layout.d.ts +103 -0
  70. package/dist/components/dashboard-grid/layout.d.ts.map +1 -0
  71. package/dist/components/dashboard-grid/layout.js +94 -0
  72. package/dist/components/dashboard-grid/layout.js.map +1 -0
  73. package/dist/components/date-picker/date-input.class.d.ts +8 -0
  74. package/dist/components/date-picker/date-input.class.d.ts.map +1 -1
  75. package/dist/components/date-picker/date-input.class.js +10 -0
  76. package/dist/components/date-picker/date-input.class.js.map +1 -1
  77. package/dist/components/date-picker/date-input.styles.d.ts.map +1 -1
  78. package/dist/components/date-picker/date-input.styles.js +39 -2
  79. package/dist/components/date-picker/date-input.styles.js.map +1 -1
  80. package/dist/components/document-compare/document-compare.class.d.ts +131 -0
  81. package/dist/components/document-compare/document-compare.class.d.ts.map +1 -0
  82. package/dist/components/document-compare/document-compare.class.js +214 -0
  83. package/dist/components/document-compare/document-compare.class.js.map +1 -0
  84. package/dist/components/document-compare/document-compare.d.ts +2 -0
  85. package/dist/components/document-compare/document-compare.d.ts.map +1 -0
  86. package/dist/components/document-compare/document-compare.js +5 -0
  87. package/dist/components/document-compare/document-compare.js.map +1 -0
  88. package/dist/components/document-compare/document-compare.styles.d.ts +2 -0
  89. package/dist/components/document-compare/document-compare.styles.d.ts.map +1 -0
  90. package/dist/components/document-compare/document-compare.styles.js +65 -0
  91. package/dist/components/document-compare/document-compare.styles.js.map +1 -0
  92. package/dist/components/document-library/document-library.class.d.ts +154 -0
  93. package/dist/components/document-library/document-library.class.d.ts.map +1 -0
  94. package/dist/components/document-library/document-library.class.js +399 -0
  95. package/dist/components/document-library/document-library.class.js.map +1 -0
  96. package/dist/components/document-library/document-library.d.ts +9 -0
  97. package/dist/components/document-library/document-library.d.ts.map +1 -0
  98. package/dist/components/document-library/document-library.js +12 -0
  99. package/dist/components/document-library/document-library.js.map +1 -0
  100. package/dist/components/document-library/document-library.styles.d.ts +2 -0
  101. package/dist/components/document-library/document-library.styles.d.ts.map +1 -0
  102. package/dist/components/document-library/document-library.styles.js +77 -0
  103. package/dist/components/document-library/document-library.styles.js.map +1 -0
  104. package/dist/components/drilldown-panel/drilldown-panel.class.d.ts +148 -0
  105. package/dist/components/drilldown-panel/drilldown-panel.class.d.ts.map +1 -0
  106. package/dist/components/drilldown-panel/drilldown-panel.class.js +241 -0
  107. package/dist/components/drilldown-panel/drilldown-panel.class.js.map +1 -0
  108. package/dist/components/drilldown-panel/drilldown-panel.d.ts +9 -0
  109. package/dist/components/drilldown-panel/drilldown-panel.d.ts.map +1 -0
  110. package/dist/components/drilldown-panel/drilldown-panel.js +12 -0
  111. package/dist/components/drilldown-panel/drilldown-panel.js.map +1 -0
  112. package/dist/components/drilldown-panel/drilldown-panel.styles.d.ts +2 -0
  113. package/dist/components/drilldown-panel/drilldown-panel.styles.d.ts.map +1 -0
  114. package/dist/components/drilldown-panel/drilldown-panel.styles.js +49 -0
  115. package/dist/components/drilldown-panel/drilldown-panel.styles.js.map +1 -0
  116. package/dist/components/entity-dossier/entity-dossier.class.d.ts +132 -0
  117. package/dist/components/entity-dossier/entity-dossier.class.d.ts.map +1 -0
  118. package/dist/components/entity-dossier/entity-dossier.class.js +187 -0
  119. package/dist/components/entity-dossier/entity-dossier.class.js.map +1 -0
  120. package/dist/components/entity-dossier/entity-dossier.d.ts +9 -0
  121. package/dist/components/entity-dossier/entity-dossier.d.ts.map +1 -0
  122. package/dist/components/entity-dossier/entity-dossier.js +12 -0
  123. package/dist/components/entity-dossier/entity-dossier.js.map +1 -0
  124. package/dist/components/entity-dossier/entity-dossier.styles.d.ts +2 -0
  125. package/dist/components/entity-dossier/entity-dossier.styles.d.ts.map +1 -0
  126. package/dist/components/entity-dossier/entity-dossier.styles.js +30 -0
  127. package/dist/components/entity-dossier/entity-dossier.styles.js.map +1 -0
  128. package/dist/components/eval-dataset/eval-dataset.class.d.ts +145 -0
  129. package/dist/components/eval-dataset/eval-dataset.class.d.ts.map +1 -0
  130. package/dist/components/eval-dataset/eval-dataset.class.js +307 -0
  131. package/dist/components/eval-dataset/eval-dataset.class.js.map +1 -0
  132. package/dist/components/eval-dataset/eval-dataset.d.ts +7 -0
  133. package/dist/components/eval-dataset/eval-dataset.d.ts.map +1 -0
  134. package/dist/components/eval-dataset/eval-dataset.js +10 -0
  135. package/dist/components/eval-dataset/eval-dataset.js.map +1 -0
  136. package/dist/components/eval-dataset/eval-dataset.styles.d.ts +2 -0
  137. package/dist/components/eval-dataset/eval-dataset.styles.d.ts.map +1 -0
  138. package/dist/components/eval-dataset/eval-dataset.styles.js +76 -0
  139. package/dist/components/eval-dataset/eval-dataset.styles.js.map +1 -0
  140. package/dist/components/eval-result/eval-result.class.d.ts +115 -0
  141. package/dist/components/eval-result/eval-result.class.d.ts.map +1 -0
  142. package/dist/components/eval-result/eval-result.class.js +165 -0
  143. package/dist/components/eval-result/eval-result.class.js.map +1 -0
  144. package/dist/components/eval-result/eval-result.d.ts +5 -0
  145. package/dist/components/eval-result/eval-result.d.ts.map +1 -0
  146. package/dist/components/eval-result/eval-result.js +8 -0
  147. package/dist/components/eval-result/eval-result.js.map +1 -0
  148. package/dist/components/eval-result/eval-result.styles.d.ts +2 -0
  149. package/dist/components/eval-result/eval-result.styles.d.ts.map +1 -0
  150. package/dist/components/eval-result/eval-result.styles.js +47 -0
  151. package/dist/components/eval-result/eval-result.styles.js.map +1 -0
  152. package/dist/components/evaluation-run/evaluation-run.class.d.ts +168 -0
  153. package/dist/components/evaluation-run/evaluation-run.class.d.ts.map +1 -0
  154. package/dist/components/evaluation-run/evaluation-run.class.js +329 -0
  155. package/dist/components/evaluation-run/evaluation-run.class.js.map +1 -0
  156. package/dist/components/evaluation-run/evaluation-run.d.ts +2 -0
  157. package/dist/components/evaluation-run/evaluation-run.d.ts.map +1 -0
  158. package/dist/components/evaluation-run/evaluation-run.js +5 -0
  159. package/dist/components/evaluation-run/evaluation-run.js.map +1 -0
  160. package/dist/components/evaluation-run/evaluation-run.styles.d.ts +2 -0
  161. package/dist/components/evaluation-run/evaluation-run.styles.d.ts.map +1 -0
  162. package/dist/components/evaluation-run/evaluation-run.styles.js +73 -0
  163. package/dist/components/evaluation-run/evaluation-run.styles.js.map +1 -0
  164. package/dist/components/filter-bar/filter-bar.class.d.ts +200 -0
  165. package/dist/components/filter-bar/filter-bar.class.d.ts.map +1 -0
  166. package/dist/components/filter-bar/filter-bar.class.js +322 -0
  167. package/dist/components/filter-bar/filter-bar.class.js.map +1 -0
  168. package/dist/components/filter-bar/filter-bar.d.ts +10 -0
  169. package/dist/components/filter-bar/filter-bar.d.ts.map +1 -0
  170. package/dist/components/filter-bar/filter-bar.js +13 -0
  171. package/dist/components/filter-bar/filter-bar.js.map +1 -0
  172. package/dist/components/filter-bar/filter-bar.styles.d.ts +2 -0
  173. package/dist/components/filter-bar/filter-bar.styles.d.ts.map +1 -0
  174. package/dist/components/filter-bar/filter-bar.styles.js +37 -0
  175. package/dist/components/filter-bar/filter-bar.styles.js.map +1 -0
  176. package/dist/components/graph-query-builder/graph-query-builder.class.d.ts +242 -0
  177. package/dist/components/graph-query-builder/graph-query-builder.class.d.ts.map +1 -0
  178. package/dist/components/graph-query-builder/graph-query-builder.class.js +511 -0
  179. package/dist/components/graph-query-builder/graph-query-builder.class.js.map +1 -0
  180. package/dist/components/graph-query-builder/graph-query-builder.d.ts +7 -0
  181. package/dist/components/graph-query-builder/graph-query-builder.d.ts.map +1 -0
  182. package/dist/components/graph-query-builder/graph-query-builder.js +10 -0
  183. package/dist/components/graph-query-builder/graph-query-builder.js.map +1 -0
  184. package/dist/components/graph-query-builder/graph-query-builder.styles.d.ts +2 -0
  185. package/dist/components/graph-query-builder/graph-query-builder.styles.d.ts.map +1 -0
  186. package/dist/components/graph-query-builder/graph-query-builder.styles.js +170 -0
  187. package/dist/components/graph-query-builder/graph-query-builder.styles.js.map +1 -0
  188. package/dist/components/grounding-summary/grounding-summary.class.d.ts +80 -0
  189. package/dist/components/grounding-summary/grounding-summary.class.d.ts.map +1 -0
  190. package/dist/components/grounding-summary/grounding-summary.class.js +182 -0
  191. package/dist/components/grounding-summary/grounding-summary.class.js.map +1 -0
  192. package/dist/components/grounding-summary/grounding-summary.d.ts +5 -0
  193. package/dist/components/grounding-summary/grounding-summary.d.ts.map +1 -0
  194. package/dist/components/grounding-summary/grounding-summary.js +8 -0
  195. package/dist/components/grounding-summary/grounding-summary.js.map +1 -0
  196. package/dist/components/grounding-summary/grounding-summary.styles.d.ts +2 -0
  197. package/dist/components/grounding-summary/grounding-summary.styles.d.ts.map +1 -0
  198. package/dist/components/grounding-summary/grounding-summary.styles.js +88 -0
  199. package/dist/components/grounding-summary/grounding-summary.styles.js.map +1 -0
  200. package/dist/components/ingestion-queue/ingestion-queue.class.d.ts +125 -0
  201. package/dist/components/ingestion-queue/ingestion-queue.class.d.ts.map +1 -0
  202. package/dist/components/ingestion-queue/ingestion-queue.class.js +276 -0
  203. package/dist/components/ingestion-queue/ingestion-queue.class.js.map +1 -0
  204. package/dist/components/ingestion-queue/ingestion-queue.d.ts +2 -0
  205. package/dist/components/ingestion-queue/ingestion-queue.d.ts.map +1 -0
  206. package/dist/components/ingestion-queue/ingestion-queue.js +5 -0
  207. package/dist/components/ingestion-queue/ingestion-queue.js.map +1 -0
  208. package/dist/components/ingestion-queue/ingestion-queue.styles.d.ts +2 -0
  209. package/dist/components/ingestion-queue/ingestion-queue.styles.d.ts.map +1 -0
  210. package/dist/components/ingestion-queue/ingestion-queue.styles.js +138 -0
  211. package/dist/components/ingestion-queue/ingestion-queue.styles.js.map +1 -0
  212. package/dist/components/knowledge-base/knowledge-base.class.d.ts +136 -0
  213. package/dist/components/knowledge-base/knowledge-base.class.d.ts.map +1 -0
  214. package/dist/components/knowledge-base/knowledge-base.class.js +360 -0
  215. package/dist/components/knowledge-base/knowledge-base.class.js.map +1 -0
  216. package/dist/components/knowledge-base/knowledge-base.d.ts +7 -0
  217. package/dist/components/knowledge-base/knowledge-base.d.ts.map +1 -0
  218. package/dist/components/knowledge-base/knowledge-base.js +10 -0
  219. package/dist/components/knowledge-base/knowledge-base.js.map +1 -0
  220. package/dist/components/knowledge-base/knowledge-base.styles.d.ts +2 -0
  221. package/dist/components/knowledge-base/knowledge-base.styles.d.ts.map +1 -0
  222. package/dist/components/knowledge-base/knowledge-base.styles.js +94 -0
  223. package/dist/components/knowledge-base/knowledge-base.styles.js.map +1 -0
  224. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +196 -0
  225. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts.map +1 -0
  226. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.js +477 -0
  227. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.js.map +1 -0
  228. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.d.ts +11 -0
  229. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.d.ts.map +1 -0
  230. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.js +14 -0
  231. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.js.map +1 -0
  232. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.d.ts +2 -0
  233. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.d.ts.map +1 -0
  234. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.js +76 -0
  235. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.js.map +1 -0
  236. package/dist/components/memory-panel/memory-panel.class.d.ts +146 -0
  237. package/dist/components/memory-panel/memory-panel.class.d.ts.map +1 -0
  238. package/dist/components/memory-panel/memory-panel.class.js +303 -0
  239. package/dist/components/memory-panel/memory-panel.class.js.map +1 -0
  240. package/dist/components/memory-panel/memory-panel.d.ts +5 -0
  241. package/dist/components/memory-panel/memory-panel.d.ts.map +1 -0
  242. package/dist/components/memory-panel/memory-panel.js +8 -0
  243. package/dist/components/memory-panel/memory-panel.js.map +1 -0
  244. package/dist/components/memory-panel/memory-panel.styles.d.ts +2 -0
  245. package/dist/components/memory-panel/memory-panel.styles.d.ts.map +1 -0
  246. package/dist/components/memory-panel/memory-panel.styles.js +139 -0
  247. package/dist/components/memory-panel/memory-panel.styles.js.map +1 -0
  248. package/dist/components/overlay/popover.class.d.ts +39 -0
  249. package/dist/components/overlay/popover.class.d.ts.map +1 -1
  250. package/dist/components/overlay/popover.class.js +53 -3
  251. package/dist/components/overlay/popover.class.js.map +1 -1
  252. package/dist/components/overlay/tooltip.class.d.ts +43 -0
  253. package/dist/components/overlay/tooltip.class.d.ts.map +1 -1
  254. package/dist/components/overlay/tooltip.class.js +66 -4
  255. package/dist/components/overlay/tooltip.class.js.map +1 -1
  256. package/dist/components/policy-summary/policy-summary.class.d.ts +76 -0
  257. package/dist/components/policy-summary/policy-summary.class.d.ts.map +1 -0
  258. package/dist/components/policy-summary/policy-summary.class.js +125 -0
  259. package/dist/components/policy-summary/policy-summary.class.js.map +1 -0
  260. package/dist/components/policy-summary/policy-summary.d.ts +6 -0
  261. package/dist/components/policy-summary/policy-summary.d.ts.map +1 -0
  262. package/dist/components/policy-summary/policy-summary.js +9 -0
  263. package/dist/components/policy-summary/policy-summary.js.map +1 -0
  264. package/dist/components/policy-summary/policy-summary.styles.d.ts +2 -0
  265. package/dist/components/policy-summary/policy-summary.styles.d.ts.map +1 -0
  266. package/dist/components/policy-summary/policy-summary.styles.js +68 -0
  267. package/dist/components/policy-summary/policy-summary.styles.js.map +1 -0
  268. package/dist/components/query-builder/query-builder.class.d.ts +180 -0
  269. package/dist/components/query-builder/query-builder.class.d.ts.map +1 -0
  270. package/dist/components/query-builder/query-builder.class.js +415 -0
  271. package/dist/components/query-builder/query-builder.class.js.map +1 -0
  272. package/dist/components/query-builder/query-builder.d.ts +9 -0
  273. package/dist/components/query-builder/query-builder.d.ts.map +1 -0
  274. package/dist/components/query-builder/query-builder.js +12 -0
  275. package/dist/components/query-builder/query-builder.js.map +1 -0
  276. package/dist/components/query-builder/query-builder.styles.d.ts +2 -0
  277. package/dist/components/query-builder/query-builder.styles.d.ts.map +1 -0
  278. package/dist/components/query-builder/query-builder.styles.js +77 -0
  279. package/dist/components/query-builder/query-builder.styles.js.map +1 -0
  280. package/dist/components/retrieval-results/retrieval-results.class.d.ts +151 -0
  281. package/dist/components/retrieval-results/retrieval-results.class.d.ts.map +1 -0
  282. package/dist/components/retrieval-results/retrieval-results.class.js +340 -0
  283. package/dist/components/retrieval-results/retrieval-results.class.js.map +1 -0
  284. package/dist/components/retrieval-results/retrieval-results.d.ts +7 -0
  285. package/dist/components/retrieval-results/retrieval-results.d.ts.map +1 -0
  286. package/dist/components/retrieval-results/retrieval-results.js +10 -0
  287. package/dist/components/retrieval-results/retrieval-results.js.map +1 -0
  288. package/dist/components/retrieval-results/retrieval-results.styles.d.ts +2 -0
  289. package/dist/components/retrieval-results/retrieval-results.styles.d.ts.map +1 -0
  290. package/dist/components/retrieval-results/retrieval-results.styles.js +94 -0
  291. package/dist/components/retrieval-results/retrieval-results.styles.js.map +1 -0
  292. package/dist/components/retrieval-search/retrieval-search.class.d.ts +127 -0
  293. package/dist/components/retrieval-search/retrieval-search.class.d.ts.map +1 -0
  294. package/dist/components/retrieval-search/retrieval-search.class.js +266 -0
  295. package/dist/components/retrieval-search/retrieval-search.class.js.map +1 -0
  296. package/dist/components/retrieval-search/retrieval-search.d.ts +8 -0
  297. package/dist/components/retrieval-search/retrieval-search.d.ts.map +1 -0
  298. package/dist/components/retrieval-search/retrieval-search.js +11 -0
  299. package/dist/components/retrieval-search/retrieval-search.js.map +1 -0
  300. package/dist/components/retrieval-search/retrieval-search.styles.d.ts +2 -0
  301. package/dist/components/retrieval-search/retrieval-search.styles.d.ts.map +1 -0
  302. package/dist/components/retrieval-search/retrieval-search.styles.js +75 -0
  303. package/dist/components/retrieval-search/retrieval-search.styles.js.map +1 -0
  304. package/dist/components/retrieval-trace/retrieval-trace.class.d.ts +101 -0
  305. package/dist/components/retrieval-trace/retrieval-trace.class.d.ts.map +1 -0
  306. package/dist/components/retrieval-trace/retrieval-trace.class.js +215 -0
  307. package/dist/components/retrieval-trace/retrieval-trace.class.js.map +1 -0
  308. package/dist/components/retrieval-trace/retrieval-trace.d.ts +4 -0
  309. package/dist/components/retrieval-trace/retrieval-trace.d.ts.map +1 -0
  310. package/dist/components/retrieval-trace/retrieval-trace.js +7 -0
  311. package/dist/components/retrieval-trace/retrieval-trace.js.map +1 -0
  312. package/dist/components/retrieval-trace/retrieval-trace.styles.d.ts +2 -0
  313. package/dist/components/retrieval-trace/retrieval-trace.styles.d.ts.map +1 -0
  314. package/dist/components/retrieval-trace/retrieval-trace.styles.js +116 -0
  315. package/dist/components/retrieval-trace/retrieval-trace.styles.js.map +1 -0
  316. package/dist/components/thread-list/thread-list.class.d.ts +19 -1
  317. package/dist/components/thread-list/thread-list.class.d.ts.map +1 -1
  318. package/dist/components/thread-list/thread-list.class.js +9 -2
  319. package/dist/components/thread-list/thread-list.class.js.map +1 -1
  320. package/dist/components/tool-timeline/tool-timeline.class.d.ts +140 -0
  321. package/dist/components/tool-timeline/tool-timeline.class.d.ts.map +1 -0
  322. package/dist/components/tool-timeline/tool-timeline.class.js +293 -0
  323. package/dist/components/tool-timeline/tool-timeline.class.js.map +1 -0
  324. package/dist/components/tool-timeline/tool-timeline.d.ts +2 -0
  325. package/dist/components/tool-timeline/tool-timeline.d.ts.map +1 -0
  326. package/dist/components/tool-timeline/tool-timeline.js +5 -0
  327. package/dist/components/tool-timeline/tool-timeline.js.map +1 -0
  328. package/dist/components/tool-timeline/tool-timeline.styles.d.ts +2 -0
  329. package/dist/components/tool-timeline/tool-timeline.styles.d.ts.map +1 -0
  330. package/dist/components/tool-timeline/tool-timeline.styles.js +148 -0
  331. package/dist/components/tool-timeline/tool-timeline.styles.js.map +1 -0
  332. package/dist/internal/localization.d.ts +1 -1
  333. package/dist/internal/localization.d.ts.map +1 -1
  334. package/dist/internal/localization.js +224 -0
  335. package/dist/internal/localization.js.map +1 -1
  336. package/dist/internal/positioner.d.ts +28 -1
  337. package/dist/internal/positioner.d.ts.map +1 -1
  338. package/dist/internal/positioner.js +12 -1
  339. package/dist/internal/positioner.js.map +1 -1
  340. package/dist/internal/root-registration-allowlist.d.ts +2 -2
  341. package/dist/internal/root-registration-allowlist.d.ts.map +1 -1
  342. package/dist/internal/root-registration-allowlist.js +24 -0
  343. package/dist/internal/root-registration-allowlist.js.map +1 -1
  344. package/dist/internal/tokens.styles.d.ts.map +1 -1
  345. package/dist/internal/tokens.styles.js +2 -0
  346. package/dist/internal/tokens.styles.js.map +1 -1
  347. package/dist/lyra.d.ts +48 -1
  348. package/dist/lyra.d.ts.map +1 -1
  349. package/dist/lyra.js +47 -0
  350. package/dist/lyra.js.map +1 -1
  351. package/llms-full.txt +462 -9
  352. package/llms.txt +7 -0
  353. package/package.json +50 -1
  354. package/vscode-css-data.json +21 -0
  355. package/vscode-html-data.json +1103 -47
  356. package/web-types.json +1131 -47
@@ -0,0 +1,125 @@
1
+ import { type TemplateResult } from 'lit';
2
+ import { LyraElement } from '../../internal/lyra-element.js';
3
+ import type { CancelEventDetail, DocumentRef, RetryEventDetail } from '../../ai/types.js';
4
+ import '../badge/badge.js';
5
+ import '../progress/progress-bar.js';
6
+ import '../empty/empty.js';
7
+ import '../virtual-list/virtual-list.js';
8
+ /**
9
+ * A document's position in the ingestion pipeline. `'queued'` through `'indexing'` are the
10
+ * in-flight stages (in pipeline order); `'done'`, `'failed'`, and `'cancelled'` are terminal.
11
+ */
12
+ export type IngestionStage = 'queued' | 'uploading' | 'extracting' | 'chunking' | 'embedding' | 'indexing' | 'done' | 'failed' | 'cancelled';
13
+ /**
14
+ * One document moving through the ingestion pipeline. `document` reuses the shared `DocumentRef`
15
+ * shape (`src/ai/types.ts`) rather than a divergent `name`/`mimeType` pair of its own, so a caller
16
+ * populating this queue from the same source list a `DocumentRef`-typed retrieval/knowledge-base
17
+ * view already holds needs no adapter.
18
+ */
19
+ export interface IngestionQueueItem {
20
+ /** Stable id, echoed back in `lr-retry`/`lr-cancel` event details. */
21
+ id: string;
22
+ document: DocumentRef;
23
+ stage: IngestionStage;
24
+ /** 0-100 within the current stage. Omitted (or non-finite) renders an indeterminate indicator --
25
+ * only meaningful while `stage` is one of the active (non-`'queued'`, non-terminal) stages. */
26
+ progress?: number;
27
+ /** Total chunks produced, once chunking has run. */
28
+ chunkCount?: number;
29
+ /** Chunks embedded so far, out of `chunkCount`. Rendered only alongside a defined `chunkCount`. */
30
+ embeddedChunkCount?: number;
31
+ /** Retry attempts already made (0/undefined = never retried). */
32
+ attempts?: number;
33
+ /** Failure detail, rendered only while `stage === 'failed'`. */
34
+ error?: string;
35
+ }
36
+ /** `lr-retry`'s `detail` -- extends the shared `RetryEventDetail` (`src/ai/types.ts`) with the
37
+ * `itemId` identifying *which* queue item the request is about; `attempt` is the attempt number
38
+ * about to be made (`(item.attempts ?? 0) + 1`), matching `RetryEventDetail.attempt`'s own
39
+ * semantics verbatim. */
40
+ export interface IngestionRetryEventDetail extends RetryEventDetail {
41
+ itemId: string;
42
+ }
43
+ /** `lr-cancel`'s `detail` -- extends the shared `CancelEventDetail` (`src/ai/types.ts`) with the
44
+ * `itemId` identifying *which* queue item the request is about. This component never supplies a
45
+ * `reason` itself; it is left for a host wrapping the cancel affordance with its own prompt. */
46
+ export interface IngestionCancelEventDetail extends CancelEventDetail {
47
+ itemId: string;
48
+ }
49
+ export interface LyraIngestionQueueEventMap {
50
+ 'lr-retry': CustomEvent<IngestionRetryEventDetail>;
51
+ 'lr-cancel': CustomEvent<IngestionCancelEventDetail>;
52
+ }
53
+ /**
54
+ * `<lr-ingestion-queue>` — a controlled list of documents moving through an ingestion pipeline
55
+ * (upload → text extraction → chunking → embedding → indexing), each row showing its stage,
56
+ * progress, chunk/embedding counts, and a retry or cancel affordance. Presentation only: this
57
+ * component runs no ingestion itself, persists nothing, and never mutates `items` -- retrying or
58
+ * cancelling a row fires a controlled `lr-retry`/`lr-cancel` request event and waits for the host
59
+ * to supply an updated `items` array, the same request/response convention `<lr-thread-list>`'s
60
+ * `lr-thread-pin`/`-archive`/`-delete` events already establish.
61
+ *
62
+ * At or above `virtualizeThreshold` items, the list renders through an internal
63
+ * `<lr-virtual-list>` instead of a plain keyed list (same precedent as `<lr-thread-list>`'s data
64
+ * mode and `<lr-activity-feed>`'s `virtualizeThreshold`) -- identical row markup and behavior
65
+ * either way, keyed by `id`.
66
+ *
67
+ * @customElement lr-ingestion-queue
68
+ * @event lr-retry - A row's retry affordance was activated (only rendered for `stage="failed"`
69
+ * rows). `detail: { itemId, attempt }` -- `attempt` is the attempt number about to be made.
70
+ * @event lr-cancel - A row's cancel affordance was activated (rendered for every non-terminal
71
+ * row). `detail: { itemId, reason }` -- `reason` is always `undefined` from this component.
72
+ * @csspart base - The root region.
73
+ * @csspart list - The row container in non-virtualized mode (`role="list"`).
74
+ * @csspart empty - The `<lr-empty>` zero-items state.
75
+ * @csspart item - One queue item row; carries `data-stage`. When virtualized, reached from this
76
+ * component's own stylesheet via `lr-virtual-list::part(item)` (renders inside the internal
77
+ * `<lr-virtual-list>`'s own shadow root, not this component's).
78
+ * @csspart item-header - The row's name/stage-badge line.
79
+ * @csspart item-name - The document's `name`.
80
+ * @csspart item-progress - The row's `<lr-progress-bar>`, only rendered for an active (uploading
81
+ * through indexing) stage.
82
+ * @csspart item-meta - Wrapper around the chunk-count/embedding-status/attempt-count text.
83
+ * @csspart item-chunk-count - The chunk count, only rendered once `chunkCount` is set.
84
+ * @csspart item-embedding-status - The "N of M chunks embedded" text, only rendered once both
85
+ * `chunkCount` and `embeddedChunkCount` are set.
86
+ * @csspart item-attempts - The attempt count, only rendered once `attempts` is greater than 0.
87
+ * @csspart item-error - The failure message, only rendered for `stage="failed"` with `error` set.
88
+ * @csspart item-actions - Wrapper around the retry/cancel buttons.
89
+ * @csspart retry-button - Fires `lr-retry`. Only rendered for `stage="failed"` rows.
90
+ * @csspart cancel-button - Fires `lr-cancel`. Only rendered for non-terminal rows.
91
+ * @cssprop [--lr-ingestion-queue-max-height=none] - Non-virtualized mode only: caps how tall the
92
+ * list grows before it scrolls internally. Has no effect once virtualized -- the internal
93
+ * `<lr-virtual-list>`'s own viewport keeps its independent, fixed default height (retheme it
94
+ * directly via `<lr-ingestion-queue>`'s own `lr-virtual-list { --lr-virtual-list-height: ... }`
95
+ * if needed).
96
+ */
97
+ export declare class LyraIngestionQueue extends LyraElement<LyraIngestionQueueEventMap> {
98
+ static styles: import("lit").CSSResultGroup[];
99
+ /** The queue to render, in display order. Controlled and never mutated by this component --
100
+ * pass a new array (e.g. as ingestion progresses) to update it. */
101
+ items: IngestionQueueItem[];
102
+ /** Accessible name for the region. Defaults to the localized `ingestionQueueLabel`. A host
103
+ * `aria-label` attribute wins over both. */
104
+ label: string;
105
+ /** At/above this item count, the list renders through an internal `<lr-virtual-list>`. */
106
+ virtualizeThreshold: number;
107
+ /** `virtualizeThreshold`, normalized to a finite non-negative integer (falling back to the
108
+ * property's own default) -- a raw `NaN` (e.g. an invalid `virtualize-threshold` attribute)
109
+ * would otherwise make `items.length >= virtualizeThreshold` always false, silently disabling
110
+ * virtualization instead of falling back to the default threshold. */
111
+ private get effectiveVirtualizeThreshold();
112
+ private get isVirtualized();
113
+ private stageLabel;
114
+ private chunkCountText;
115
+ private onRetryClick;
116
+ private onCancelClick;
117
+ private itemTemplate;
118
+ render(): TemplateResult;
119
+ }
120
+ declare global {
121
+ interface HTMLElementTagNameMap {
122
+ 'lr-ingestion-queue': LyraIngestionQueue;
123
+ }
124
+ }
125
+ //# sourceMappingURL=ingestion-queue.class.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingestion-queue.class.d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B,CAAC,CAAC;CACtD;AA2BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,qBAAa,kBAAmB,SAAQ,WAAW,CAAC,0BAA0B,CAAC;IAC7E,MAAM,CAAC,MAAM,iCAAgC;IAE7C;wEACoE;IACpC,KAAK,EAAE,kBAAkB,EAAE,CAAM;IAEjE;iDAC6C;IACjC,KAAK,SAAM;IAEvB,0FAA0F;IAC3B,mBAAmB,SAAgC;IAElH;;;2EAGuE;IACvE,OAAO,KAAK,4BAA4B,GAEvC;IAED,OAAO,KAAK,aAAa,GAExB;IAED,OAAO,CAAC,UAAU;IAuBlB,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,YAAY,CA+ElB;IAEF,MAAM,IAAI,cAAc,CA8BvB;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,kBAAkB,CAAC;KAC1C;CACF"}
@@ -0,0 +1,276 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, nothing, svg } from 'lit';
8
+ import { property } from 'lit/decorators.js';
9
+ import { repeat } from 'lit/directives/repeat.js';
10
+ import { LyraElement } from '../../internal/lyra-element.js';
11
+ import { finiteCount } from '../../internal/numbers.js';
12
+ import { getPluralRules } from '../../internal/intl-cache.js';
13
+ import { closeIcon } from '../../internal/icons.js';
14
+ // The registering barrels (not the bare *.class.js modules) -- this side effect is what actually
15
+ // defines <lr-badge>/<lr-progress-bar>/<lr-empty>/<lr-virtual-list> as custom elements by the
16
+ // time this component's render() references them.
17
+ import '../badge/badge.js';
18
+ import '../progress/progress-bar.js';
19
+ import '../empty/empty.js';
20
+ import '../virtual-list/virtual-list.js';
21
+ import { styles } from './ingestion-queue.styles.js';
22
+ /** In-flight stages that render a progress indicator and remain cancelable. `'queued'` is also
23
+ * cancelable (see `CANCELABLE_STAGES`) but has nothing yet to show progress *of*. */
24
+ const ACTIVE_STAGES = ['uploading', 'extracting', 'chunking', 'embedding', 'indexing'];
25
+ /** Every non-terminal stage -- the set a `lr-cancel` request is offered for. */
26
+ const CANCELABLE_STAGES = ['queued', ...ACTIVE_STAGES];
27
+ function badgeVariantForStage(stage) {
28
+ switch (stage) {
29
+ case 'done':
30
+ return 'success';
31
+ case 'failed':
32
+ return 'danger';
33
+ case 'queued':
34
+ case 'cancelled':
35
+ return 'neutral';
36
+ default:
37
+ return 'brand';
38
+ }
39
+ }
40
+ const ICON_VIEW_BOX = '0 0 24 24';
41
+ const ICON_STROKE_WIDTH = '1.75';
42
+ // Same shape as `<lr-attachment-chip>`'s local `retryIcon()` -- duplicated rather than imported
43
+ // (independently consumable components) but kept visually identical so a retry affordance reads
44
+ // the same wherever it shows up in the library.
45
+ function retryIcon() {
46
+ return svg `
47
+ <svg
48
+ width="1em"
49
+ height="1em"
50
+ viewBox=${ICON_VIEW_BOX}
51
+ fill="none"
52
+ stroke="currentColor"
53
+ stroke-width=${ICON_STROKE_WIDTH}
54
+ stroke-linecap="round"
55
+ stroke-linejoin="round"
56
+ aria-hidden="true"
57
+ focusable="false"
58
+ ><polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path></svg>
59
+ `;
60
+ }
61
+ const DEFAULT_VIRTUALIZE_THRESHOLD = 100;
62
+ /**
63
+ * `<lr-ingestion-queue>` — a controlled list of documents moving through an ingestion pipeline
64
+ * (upload → text extraction → chunking → embedding → indexing), each row showing its stage,
65
+ * progress, chunk/embedding counts, and a retry or cancel affordance. Presentation only: this
66
+ * component runs no ingestion itself, persists nothing, and never mutates `items` -- retrying or
67
+ * cancelling a row fires a controlled `lr-retry`/`lr-cancel` request event and waits for the host
68
+ * to supply an updated `items` array, the same request/response convention `<lr-thread-list>`'s
69
+ * `lr-thread-pin`/`-archive`/`-delete` events already establish.
70
+ *
71
+ * At or above `virtualizeThreshold` items, the list renders through an internal
72
+ * `<lr-virtual-list>` instead of a plain keyed list (same precedent as `<lr-thread-list>`'s data
73
+ * mode and `<lr-activity-feed>`'s `virtualizeThreshold`) -- identical row markup and behavior
74
+ * either way, keyed by `id`.
75
+ *
76
+ * @customElement lr-ingestion-queue
77
+ * @event lr-retry - A row's retry affordance was activated (only rendered for `stage="failed"`
78
+ * rows). `detail: { itemId, attempt }` -- `attempt` is the attempt number about to be made.
79
+ * @event lr-cancel - A row's cancel affordance was activated (rendered for every non-terminal
80
+ * row). `detail: { itemId, reason }` -- `reason` is always `undefined` from this component.
81
+ * @csspart base - The root region.
82
+ * @csspart list - The row container in non-virtualized mode (`role="list"`).
83
+ * @csspart empty - The `<lr-empty>` zero-items state.
84
+ * @csspart item - One queue item row; carries `data-stage`. When virtualized, reached from this
85
+ * component's own stylesheet via `lr-virtual-list::part(item)` (renders inside the internal
86
+ * `<lr-virtual-list>`'s own shadow root, not this component's).
87
+ * @csspart item-header - The row's name/stage-badge line.
88
+ * @csspart item-name - The document's `name`.
89
+ * @csspart item-progress - The row's `<lr-progress-bar>`, only rendered for an active (uploading
90
+ * through indexing) stage.
91
+ * @csspart item-meta - Wrapper around the chunk-count/embedding-status/attempt-count text.
92
+ * @csspart item-chunk-count - The chunk count, only rendered once `chunkCount` is set.
93
+ * @csspart item-embedding-status - The "N of M chunks embedded" text, only rendered once both
94
+ * `chunkCount` and `embeddedChunkCount` are set.
95
+ * @csspart item-attempts - The attempt count, only rendered once `attempts` is greater than 0.
96
+ * @csspart item-error - The failure message, only rendered for `stage="failed"` with `error` set.
97
+ * @csspart item-actions - Wrapper around the retry/cancel buttons.
98
+ * @csspart retry-button - Fires `lr-retry`. Only rendered for `stage="failed"` rows.
99
+ * @csspart cancel-button - Fires `lr-cancel`. Only rendered for non-terminal rows.
100
+ * @cssprop [--lr-ingestion-queue-max-height=none] - Non-virtualized mode only: caps how tall the
101
+ * list grows before it scrolls internally. Has no effect once virtualized -- the internal
102
+ * `<lr-virtual-list>`'s own viewport keeps its independent, fixed default height (retheme it
103
+ * directly via `<lr-ingestion-queue>`'s own `lr-virtual-list { --lr-virtual-list-height: ... }`
104
+ * if needed).
105
+ */
106
+ export class LyraIngestionQueue extends LyraElement {
107
+ constructor() {
108
+ super(...arguments);
109
+ /** The queue to render, in display order. Controlled and never mutated by this component --
110
+ * pass a new array (e.g. as ingestion progresses) to update it. */
111
+ this.items = [];
112
+ /** Accessible name for the region. Defaults to the localized `ingestionQueueLabel`. A host
113
+ * `aria-label` attribute wins over both. */
114
+ this.label = '';
115
+ /** At/above this item count, the list renders through an internal `<lr-virtual-list>`. */
116
+ this.virtualizeThreshold = DEFAULT_VIRTUALIZE_THRESHOLD;
117
+ this.itemTemplate = (item, ownRole) => {
118
+ const stageLabel = this.stageLabel(item.stage);
119
+ const showProgress = ACTIVE_STAGES.includes(item.stage);
120
+ const canRetry = item.stage === 'failed';
121
+ const canCancel = CANCELABLE_STAGES.includes(item.stage);
122
+ const hasMeta = item.chunkCount !== undefined || item.embeddedChunkCount !== undefined || (item.attempts ?? 0) > 0;
123
+ const indeterminate = item.progress === undefined || !Number.isFinite(item.progress);
124
+ return html `
125
+ <div part="item" role=${ownRole ? 'listitem' : nothing} data-stage=${item.stage}>
126
+ <div part="item-header">
127
+ <span part="item-name" title=${item.document.name}>${item.document.name}</span>
128
+ <lr-badge part="item-stage" variant=${badgeVariantForStage(item.stage)}>${stageLabel}</lr-badge>
129
+ </div>
130
+ ${showProgress
131
+ ? html `<lr-progress-bar
132
+ part="item-progress"
133
+ .value=${item.progress ?? 0}
134
+ ?indeterminate=${indeterminate}
135
+ accessible-label=${this.localize('ingestionItemProgressLabel', undefined, {
136
+ name: item.document.name,
137
+ stage: stageLabel,
138
+ })}
139
+ ></lr-progress-bar>`
140
+ : nothing}
141
+ ${hasMeta
142
+ ? html `<div part="item-meta">
143
+ ${item.chunkCount !== undefined
144
+ ? html `<span part="item-chunk-count">${this.chunkCountText(item.chunkCount)}</span>`
145
+ : nothing}
146
+ ${item.chunkCount !== undefined && item.embeddedChunkCount !== undefined
147
+ ? html `<span part="item-embedding-status"
148
+ >${this.localize('ingestionEmbeddedOfTotal', undefined, {
149
+ embedded: item.embeddedChunkCount,
150
+ total: item.chunkCount,
151
+ })}</span
152
+ >`
153
+ : nothing}
154
+ ${(item.attempts ?? 0) > 0
155
+ ? html `<span part="item-attempts"
156
+ >${this.localize('ingestionAttemptCount', undefined, { count: item.attempts })}</span
157
+ >`
158
+ : nothing}
159
+ </div>`
160
+ : nothing}
161
+ ${item.stage === 'failed' && item.error
162
+ ? html `<p part="item-error" role="alert">${item.error}</p>`
163
+ : nothing}
164
+ ${canRetry || canCancel
165
+ ? html `<div part="item-actions">
166
+ ${canRetry
167
+ ? html `<button
168
+ part="retry-button"
169
+ type="button"
170
+ aria-label=${this.localize('ingestionRetryWithContext', undefined, {
171
+ label: item.document.name,
172
+ })}
173
+ @click=${() => this.onRetryClick(item)}
174
+ >
175
+ ${retryIcon()}<span>${this.localize('retry')}</span>
176
+ </button>`
177
+ : nothing}
178
+ ${canCancel
179
+ ? html `<button
180
+ part="cancel-button"
181
+ type="button"
182
+ aria-label=${this.localize('ingestionCancelWithContext', undefined, {
183
+ label: item.document.name,
184
+ })}
185
+ @click=${() => this.onCancelClick(item)}
186
+ >
187
+ ${closeIcon()}<span>${this.localize('cancel')}</span>
188
+ </button>`
189
+ : nothing}
190
+ </div>`
191
+ : nothing}
192
+ </div>
193
+ `;
194
+ };
195
+ }
196
+ static { this.styles = [LyraElement.styles, styles]; }
197
+ /** `virtualizeThreshold`, normalized to a finite non-negative integer (falling back to the
198
+ * property's own default) -- a raw `NaN` (e.g. an invalid `virtualize-threshold` attribute)
199
+ * would otherwise make `items.length >= virtualizeThreshold` always false, silently disabling
200
+ * virtualization instead of falling back to the default threshold. */
201
+ get effectiveVirtualizeThreshold() {
202
+ return finiteCount(this.virtualizeThreshold, DEFAULT_VIRTUALIZE_THRESHOLD);
203
+ }
204
+ get isVirtualized() {
205
+ return this.items.length >= this.effectiveVirtualizeThreshold;
206
+ }
207
+ stageLabel(stage) {
208
+ switch (stage) {
209
+ case 'queued':
210
+ return this.localize('ingestionStageQueued');
211
+ case 'uploading':
212
+ return this.localize('ingestionStageUploading');
213
+ case 'extracting':
214
+ return this.localize('ingestionStageExtracting');
215
+ case 'chunking':
216
+ return this.localize('ingestionStageChunking');
217
+ case 'embedding':
218
+ return this.localize('ingestionStageEmbedding');
219
+ case 'indexing':
220
+ return this.localize('ingestionStageIndexing');
221
+ case 'done':
222
+ return this.localize('ingestionStageDone');
223
+ case 'failed':
224
+ return this.localize('ingestionStageFailed');
225
+ case 'cancelled':
226
+ return this.localize('ingestionStageCancelled');
227
+ }
228
+ }
229
+ chunkCountText(count) {
230
+ const plural = getPluralRules(this.effectiveLocale).select(count) !== 'one';
231
+ return plural
232
+ ? this.localize('ingestionChunkCountPlural', undefined, { count })
233
+ : this.localize('ingestionChunkCount', undefined, { count });
234
+ }
235
+ onRetryClick(item) {
236
+ this.emit('lr-retry', { itemId: item.id, attempt: (item.attempts ?? 0) + 1 });
237
+ }
238
+ onCancelClick(item) {
239
+ this.emit('lr-cancel', { itemId: item.id });
240
+ }
241
+ render() {
242
+ const computedLabel = this.label || this.localize('ingestionQueueLabel');
243
+ const ariaLabel = this.getAttribute('aria-label') || computedLabel;
244
+ if (this.items.length === 0) {
245
+ return html `<lr-empty
246
+ part="empty"
247
+ heading=${this.localize('ingestionQueueEmpty')}
248
+ ></lr-empty>`;
249
+ }
250
+ const virtualized = this.isVirtualized;
251
+ return html `
252
+ <div part="base" role="region" aria-label=${ariaLabel}>
253
+ ${virtualized
254
+ ? html `<lr-virtual-list
255
+ .items=${this.items}
256
+ .renderItem=${(item) => this.itemTemplate(item, false)}
257
+ .keyFunction=${(item) => item.id}
258
+ aria-label=${ariaLabel}
259
+ ></lr-virtual-list>`
260
+ : html `<div part="list" role="list" aria-label=${ariaLabel}>
261
+ ${repeat(this.items, (item) => item.id, (item) => this.itemTemplate(item, true))}
262
+ </div>`}
263
+ </div>
264
+ `;
265
+ }
266
+ }
267
+ __decorate([
268
+ property({ attribute: false })
269
+ ], LyraIngestionQueue.prototype, "items", void 0);
270
+ __decorate([
271
+ property()
272
+ ], LyraIngestionQueue.prototype, "label", void 0);
273
+ __decorate([
274
+ property({ type: Number, attribute: 'virtualize-threshold' })
275
+ ], LyraIngestionQueue.prototype, "virtualizeThreshold", void 0);
276
+ //# sourceMappingURL=ingestion-queue.class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingestion-queue.class.js","sourceRoot":"","sources":["../../../src/components/ingestion-queue/ingestion-queue.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAA+C,MAAM,KAAK,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,iGAAiG;AACjG,8FAA8F;AAC9F,kDAAkD;AAClD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,6BAA6B,CAAC;AACrC,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iCAAiC,CAA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BACL,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAA0B,EAAE,KAAK,CAAC;6BACtE,CAAC,IAAa,EAAE,EAAE,CAAE,IAA2B,CAAC,EAAE;2BACpD,SAAS;gCACJ;YACtB,CAAC,CAAC,IAAI,CAAA,2CAA2C,SAAS;gBACpD,MAAM,CACN,IAAI,CAAC,KAAK,EACV,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EACjB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CACxC;mBACI;;KAEd,CAAC;IACJ,CAAC;CACF;AA3KiC;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;iDAAkC;AAIrD;IAAX,QAAQ,EAAE;iDAAY;AAGwC;IAA9D,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAAC;+DAAoD"}
@@ -0,0 +1,2 @@
1
+ export * from './ingestion-queue.class.js';
2
+ //# sourceMappingURL=ingestion-queue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingestion-queue.d.ts","sourceRoot":"","sources":["../../../src/components/ingestion-queue/ingestion-queue.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './ingestion-queue.class.js';
2
+ import { LyraIngestionQueue } from './ingestion-queue.class.js';
3
+ import { defineElement } from '../../internal/prefix.js';
4
+ defineElement('ingestion-queue', LyraIngestionQueue);
5
+ //# sourceMappingURL=ingestion-queue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingestion-queue.js","sourceRoot":"","sources":["../../../src/components/ingestion-queue/ingestion-queue.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,aAAa,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const styles: import("lit").CSSResult;
2
+ //# sourceMappingURL=ingestion-queue.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingestion-queue.styles.d.ts","sourceRoot":"","sources":["../../../src/components/ingestion-queue/ingestion-queue.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAuIlB,CAAC"}
@@ -0,0 +1,138 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `
3
+ :host {
4
+ display: block;
5
+ --lr-ingestion-queue-max-height: none;
6
+ }
7
+ [part='base'] {
8
+ display: block;
9
+ box-sizing: border-box;
10
+ }
11
+ [part='list'] {
12
+ display: flex;
13
+ flex-direction: column;
14
+ box-sizing: border-box;
15
+ max-block-size: var(--lr-ingestion-queue-max-height);
16
+ overflow-y: auto;
17
+ }
18
+ /* Deliberately NOT derived from --lr-ingestion-queue-max-height (whose own default is the
19
+ keyword 'none', valid for [part='list']'s max-block-size above but not for a length-only
20
+ custom property): chaining var(--lr-ingestion-queue-max-height, var(--lr-size-24rem)) here
21
+ would make that 'none' win unconditionally (a var() fallback only applies when the referenced
22
+ property is *unset*, not when it resolves to a keyword that happens to be invalid for this
23
+ use), leaving --lr-virtual-list-height literally 'none' -- an invalid block-size that resolves
24
+ to 'auto', which is the one sizing lr-virtual-list's own windowing math cannot tolerate: its
25
+ viewport height would then depend on its rendered rows' height while the rendered rows
26
+ themselves depend on the viewport height, a genuine circular layout dependency that surfaces
27
+ as a real "ResizeObserver loop completed with undelivered notifications" browser error, not
28
+ mere test flakiness. A fixed token default, independent of the non-virtualized list's own cap,
29
+ is the same choice <lr-dataset-viewer>'s own lr-virtual-list sizing rule makes. */
30
+ lr-virtual-list {
31
+ display: block;
32
+ --lr-virtual-list-height: var(--lr-size-24rem);
33
+ }
34
+ /* [part='item'] and its descendants below also target lr-virtual-list::part(x): above
35
+ virtualize-threshold, itemTemplate()'s return value is <lr-virtual-list>'s .renderItem, and
36
+ Lit commits that content wherever virtual-list's own render() is currently updating --
37
+ i.e. inside *its* shadow root, not this component's. A plain [part=] selector here, scoped
38
+ to this component's own shadow root, would never match a node living in that different
39
+ shadow tree; lr-virtual-list::part(x) reaches that one shadow boundary in, the same
40
+ technique <lr-dataset-viewer>/<lr-terminal> already use for their own virtualized rows. */
41
+ [part='item'],
42
+ lr-virtual-list::part(item) {
43
+ display: flex;
44
+ flex-direction: column;
45
+ gap: var(--lr-space-xs);
46
+ box-sizing: border-box;
47
+ padding: var(--lr-space-s) var(--lr-space-m);
48
+ border-block-end: var(--lr-border-width-thin) solid var(--lr-color-border);
49
+ }
50
+ [part='item-header'],
51
+ lr-virtual-list::part(item-header) {
52
+ display: flex;
53
+ flex-wrap: wrap;
54
+ align-items: center;
55
+ justify-content: space-between;
56
+ gap: var(--lr-space-s);
57
+ }
58
+ [part='item-name'],
59
+ lr-virtual-list::part(item-name) {
60
+ min-inline-size: 0;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ white-space: nowrap;
64
+ font-weight: var(--lr-font-weight-medium);
65
+ color: var(--lr-color-text);
66
+ }
67
+ [part='item-progress'],
68
+ lr-virtual-list::part(item-progress) {
69
+ display: block;
70
+ }
71
+ [part='item-meta'],
72
+ lr-virtual-list::part(item-meta) {
73
+ display: flex;
74
+ flex-wrap: wrap;
75
+ gap: var(--lr-space-s);
76
+ font-size: var(--lr-font-size-xs);
77
+ color: var(--lr-color-text-quiet);
78
+ }
79
+ [part='item-error'],
80
+ lr-virtual-list::part(item-error) {
81
+ margin: 0;
82
+ color: var(--lr-color-danger);
83
+ font-size: var(--lr-font-size-sm);
84
+ }
85
+ [part='item-actions'],
86
+ lr-virtual-list::part(item-actions) {
87
+ display: flex;
88
+ flex-wrap: wrap;
89
+ gap: var(--lr-space-s);
90
+ }
91
+ [part='retry-button'],
92
+ lr-virtual-list::part(retry-button),
93
+ [part='cancel-button'],
94
+ lr-virtual-list::part(cancel-button) {
95
+ display: inline-flex;
96
+ align-items: center;
97
+ gap: var(--lr-size-0-35em);
98
+ box-sizing: border-box;
99
+ padding: var(--lr-size-0-25rem) var(--lr-space-s);
100
+ border: var(--lr-border-width-thin) solid var(--lr-color-border);
101
+ border-radius: var(--lr-radius-pill);
102
+ background: var(--lr-color-surface);
103
+ color: var(--lr-color-text);
104
+ font: inherit;
105
+ font-size: var(--lr-font-size-xs);
106
+ cursor: pointer;
107
+ transition:
108
+ background-color var(--lr-transition-fast),
109
+ border-color var(--lr-transition-fast),
110
+ color var(--lr-transition-fast);
111
+ }
112
+ [part='retry-button']:hover,
113
+ lr-virtual-list::part(retry-button):hover {
114
+ border-color: var(--lr-color-brand);
115
+ color: var(--lr-color-brand);
116
+ }
117
+ [part='cancel-button']:hover,
118
+ lr-virtual-list::part(cancel-button):hover {
119
+ border-color: var(--lr-color-danger);
120
+ color: var(--lr-color-danger);
121
+ }
122
+ [part='retry-button']:focus-visible,
123
+ lr-virtual-list::part(retry-button):focus-visible,
124
+ [part='cancel-button']:focus-visible,
125
+ lr-virtual-list::part(cancel-button):focus-visible {
126
+ outline: var(--lr-focus-ring-width) solid var(--lr-focus-ring-color);
127
+ outline-offset: var(--lr-focus-ring-offset);
128
+ }
129
+ @media (prefers-reduced-motion: reduce) {
130
+ [part='retry-button'],
131
+ lr-virtual-list::part(retry-button),
132
+ [part='cancel-button'],
133
+ lr-virtual-list::part(cancel-button) {
134
+ transition: none !important;
135
+ }
136
+ }
137
+ `;
138
+ //# sourceMappingURL=ingestion-queue.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingestion-queue.styles.js","sourceRoot":"","sources":["../../../src/components/ingestion-queue/ingestion-queue.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuIxB,CAAC"}