@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,187 @@
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 } from 'lit';
8
+ import { property, state } from 'lit/decorators.js';
9
+ import { LyraElement } from '../../internal/lyra-element.js';
10
+ import '../entity-card/entity-card.class.js';
11
+ import '../neighbor-list/neighbor-list.class.js';
12
+ import '../chunk-inspector/chunk-inspector.class.js';
13
+ import '../provenance-panel/provenance-panel.class.js';
14
+ import '../stat/stat.class.js';
15
+ import '../tabs/tabs.class.js';
16
+ import '../empty/empty.class.js';
17
+ import { styles } from './entity-dossier.styles.js';
18
+ /**
19
+ * `<lr-entity-dossier>` — a full entity detail surface: a persistent header (`lr-entity-card` plus
20
+ * an optional confidence `lr-stat`) above a `lr-tabs` strip for Relationships (`lr-neighbor-list`),
21
+ * Supporting chunks (`lr-chunk-inspector`), and Provenance (`lr-provenance-panel`). Pure layout —
22
+ * it never fetches, ranks, or mutates graph/document state, and never re-renders what any of those
23
+ * five composed components already render themselves; every one of their own events (`
24
+ * lr-entity-activate`, `lr-node-expand`, `lr-chunk-open`, `lr-expand`, `lr-toggle`, `lr-tabs-change`)
25
+ * bubbles through unmodified (`composed: true` crosses this component's own shadow boundary with no
26
+ * re-dispatch needed) rather than being re-declared as this component's own event.
27
+ *
28
+ * `chunks`/`thresholds` (the "supporting chunks" tab) and `provenance` (the "Provenance" tab) are
29
+ * deliberately separate inputs even though `lr-provenance-panel` can itself also show a chunks
30
+ * section: the "Supporting chunks" tab is the evidence for *this entity's own* summary/properties,
31
+ * while `provenance` is the broader grounding chain (which may span other entities, relationships,
32
+ * and communities, and may or may not reuse the same chunk set) — a host is free to pass the same
33
+ * array to both when the two concepts genuinely coincide.
34
+ *
35
+ * Tab labels reuse the exact `localize()` keys the composed child already uses for its own
36
+ * accessible name (`neighborListLabel`, `chunkInspectorLabel`, `provenancePanelLabel`) rather than
37
+ * new dossier-specific keys, so a translated locale only has to cover each string once and the tab
38
+ * strip and the panel underneath it always agree.
39
+ *
40
+ * This component declares no events of its own -- `lr-tabs-change` (`detail: { tabId:
41
+ * LyraEntityDossierTab }`) and every composed child's own event bubble through unmodified, the
42
+ * same "pure projection + event conduit" convention `lr-provenance-panel` and
43
+ * `lr-spreadsheet-viewer`'s internal `lr-tabs` already establish.
44
+ *
45
+ * @customElement lr-entity-dossier
46
+ * @csspart base - The root wrapper, or the empty state's wrapper when `entity` is `null`.
47
+ * @csspart header - The wrapper around the entity summary and the confidence stat.
48
+ * @csspart entity-card - The nested `lr-entity-card`.
49
+ * @csspart confidence - The nested confidence `lr-stat`, only rendered when `confidence` is set.
50
+ * @csspart tabs - The nested `lr-tabs` strip.
51
+ * @csspart neighbor-list - The nested `lr-neighbor-list`, inside the Relationships tab.
52
+ * @csspart chunk-inspector - The nested `lr-chunk-inspector`, inside the Supporting chunks tab.
53
+ * @csspart provenance-panel - The nested `lr-provenance-panel`, inside the Provenance tab.
54
+ * @csspart empty - The empty state shown when `entity` is `null`.
55
+ */
56
+ export class LyraEntityDossier extends LyraElement {
57
+ constructor() {
58
+ super(...arguments);
59
+ /** `null` renders the shared `lr-empty` `noData` state in place of the whole dossier. */
60
+ this.entity = null;
61
+ /** `lr-graph` `nodeTypes` pass-through, forwarded to both `lr-entity-card` and
62
+ * `lr-provenance-panel` so the entity type badge and any provenance entity chips resolve
63
+ * identically. */
64
+ this.types = [];
65
+ /** Forwarded to `lr-entity-card`'s own `communityLabel`. */
66
+ this.communityLabel = '';
67
+ /** Forwarded to `lr-entity-card`'s own `showFocusButton`. */
68
+ this.showFocusButton = true;
69
+ /** Headline confidence KPI, rendered as an `lr-stat` next to the entity summary. Omitted
70
+ * entirely (no placeholder, no empty stat) when `null`. */
71
+ this.confidence = null;
72
+ /** Forwarded to `lr-neighbor-list`'s own `rows`. */
73
+ this.neighbors = [];
74
+ /** Forwarded to `lr-neighbor-list`'s own `groupByRelation`. */
75
+ this.groupByRelation = false;
76
+ /** Forwarded to `lr-neighbor-list`'s own `expandable`. */
77
+ this.expandable = false;
78
+ /** Forwarded to `lr-chunk-inspector`'s own `chunks` -- the evidence for this entity's own
79
+ * summary, distinct from `provenance` (see the class doc above). */
80
+ this.chunks = [];
81
+ /** Forwarded to both `lr-chunk-inspector`'s and `lr-provenance-panel`'s own `thresholds`, so
82
+ * the score tiers agree everywhere a score renders in this dossier. */
83
+ this.thresholds = { high: 0.75, medium: 0.5 };
84
+ /** Forwarded to `lr-provenance-panel`'s own `provenance`. */
85
+ this.provenance = null;
86
+ /** Accessible name forwarded to the internal `lr-tabs` strip. Unset, the tab strip renders
87
+ * without an `aria-label` (matching `lr-tabs`' own unset-default behavior). */
88
+ this.accessibleLabel = null;
89
+ /** Which tab is active -- internal, not a controlled public property: `lr-tabs` already owns
90
+ * this state, and a one-way `.active=${...}` binding driven by a *stale* public property here
91
+ * would fight the user's own click the next time this component re-renders for an unrelated
92
+ * reason (see `lr-spreadsheet-viewer`'s identical `activeSheetIndex` pattern). */
93
+ this.activeTab = 'relationships';
94
+ this.onTabsChange = (e) => {
95
+ this.activeTab = e.detail.tabId;
96
+ };
97
+ }
98
+ static { this.styles = [LyraElement.styles, styles]; }
99
+ render() {
100
+ if (!this.entity) {
101
+ return html `<div part="base"><lr-empty part="empty" heading=${this.localize('noData')}></lr-empty></div>`;
102
+ }
103
+ const entity = this.entity;
104
+ const c = this.confidence;
105
+ return html `
106
+ <div part="base">
107
+ <div part="header">
108
+ <lr-entity-card
109
+ part="entity-card"
110
+ .entity=${entity}
111
+ .types=${this.types}
112
+ .communityLabel=${this.communityLabel}
113
+ .showFocusButton=${this.showFocusButton}
114
+ ></lr-entity-card>
115
+ ${c
116
+ ? html `<lr-stat
117
+ part="confidence"
118
+ .label=${c.label}
119
+ .value=${c.value}
120
+ .unit=${c.unit ?? ''}
121
+ .variant=${c.variant ?? 'neutral'}
122
+ .exactValue=${c.exactValue ?? ''}
123
+ .caption=${c.caption ?? ''}
124
+ .rows=${c.rows ?? []}
125
+ ></lr-stat>`
126
+ : nothing}
127
+ </div>
128
+ <lr-tabs part="tabs" aria-label=${this.accessibleLabel || nothing} .active=${this.activeTab} @lr-tabs-change=${this.onTabsChange}>
129
+ <div slot="relationships" label=${this.localize('neighborListLabel')}>
130
+ <lr-neighbor-list
131
+ part="neighbor-list"
132
+ .rows=${this.neighbors}
133
+ .groupByRelation=${this.groupByRelation}
134
+ .expandable=${this.expandable}
135
+ ></lr-neighbor-list>
136
+ </div>
137
+ <div slot="chunks" label=${this.localize('chunkInspectorLabel')}>
138
+ <lr-chunk-inspector part="chunk-inspector" .chunks=${this.chunks} .thresholds=${this.thresholds}></lr-chunk-inspector>
139
+ </div>
140
+ <div slot="provenance" label=${this.localize('provenancePanelLabel')}>
141
+ <lr-provenance-panel part="provenance-panel" .provenance=${this.provenance} .types=${this.types} .thresholds=${this.thresholds}></lr-provenance-panel>
142
+ </div>
143
+ </lr-tabs>
144
+ </div>
145
+ `;
146
+ }
147
+ }
148
+ __decorate([
149
+ property({ attribute: false })
150
+ ], LyraEntityDossier.prototype, "entity", void 0);
151
+ __decorate([
152
+ property({ attribute: false })
153
+ ], LyraEntityDossier.prototype, "types", void 0);
154
+ __decorate([
155
+ property({ attribute: 'community-label' })
156
+ ], LyraEntityDossier.prototype, "communityLabel", void 0);
157
+ __decorate([
158
+ property({ type: Boolean, attribute: 'show-focus-button' })
159
+ ], LyraEntityDossier.prototype, "showFocusButton", void 0);
160
+ __decorate([
161
+ property({ attribute: false })
162
+ ], LyraEntityDossier.prototype, "confidence", void 0);
163
+ __decorate([
164
+ property({ attribute: false })
165
+ ], LyraEntityDossier.prototype, "neighbors", void 0);
166
+ __decorate([
167
+ property({ type: Boolean, attribute: 'group-by-relation' })
168
+ ], LyraEntityDossier.prototype, "groupByRelation", void 0);
169
+ __decorate([
170
+ property({ type: Boolean })
171
+ ], LyraEntityDossier.prototype, "expandable", void 0);
172
+ __decorate([
173
+ property({ attribute: false })
174
+ ], LyraEntityDossier.prototype, "chunks", void 0);
175
+ __decorate([
176
+ property({ attribute: false })
177
+ ], LyraEntityDossier.prototype, "thresholds", void 0);
178
+ __decorate([
179
+ property({ attribute: false })
180
+ ], LyraEntityDossier.prototype, "provenance", void 0);
181
+ __decorate([
182
+ property({ attribute: 'aria-label' })
183
+ ], LyraEntityDossier.prototype, "accessibleLabel", void 0);
184
+ __decorate([
185
+ state()
186
+ ], LyraEntityDossier.prototype, "activeTab", void 0);
187
+ //# sourceMappingURL=entity-dossier.class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-dossier.class.js","sourceRoot":"","sources":["../../../src/components/entity-dossier/entity-dossier.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAuB,MAAM,KAAK,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAM7D,OAAO,qCAAqC,CAAC;AAC7C,OAAO,yCAAyC,CAAC;AACjD,OAAO,6CAA6C,CAAC;AACrD,OAAO,+CAA+C,CAAC;AACvD,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AA8BpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QAGE,yFAAyF;QACzD,WAAM,GAAsB,IAAI,CAAC;QACjE;;2BAEmB;QACa,UAAK,GAAoB,EAAE,CAAC;QAC5D,4DAA4D;QAChB,mBAAc,GAAG,EAAE,CAAC;QAChE,6DAA6D;QACA,oBAAe,GAAG,IAAI,CAAC;QACpF;oEAC4D;QAC5B,eAAU,GAAuC,IAAI,CAAC;QACtF,oDAAoD;QACpB,cAAS,GAAsB,EAAE,CAAC;QAClE,+DAA+D;QACF,oBAAe,GAAG,KAAK,CAAC;QACrF,0DAA0D;QAC7B,eAAU,GAAG,KAAK,CAAC;QAChD;6EACqE;QACrC,WAAM,GAAgB,EAAE,CAAC;QACzD;gFACwE;QACxC,eAAU,GAAqC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAA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M5D;IAAhB,KAAK,EAAE;oDAA2D"}
@@ -0,0 +1,9 @@
1
+ export * from './entity-dossier.class.js';
2
+ import '../entity-card/entity-card.js';
3
+ import '../neighbor-list/neighbor-list.js';
4
+ import '../chunk-inspector/chunk-inspector.js';
5
+ import '../provenance-panel/provenance-panel.js';
6
+ import '../stat/stat.js';
7
+ import '../tabs/tabs.js';
8
+ import '../empty/empty.js';
9
+ //# sourceMappingURL=entity-dossier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-dossier.d.ts","sourceRoot":"","sources":["../../../src/components/entity-dossier/entity-dossier.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAG1C,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,yCAAyC,CAAC;AACjD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ export * from './entity-dossier.class.js';
2
+ import { LyraEntityDossier } from './entity-dossier.class.js';
3
+ import { defineElement } from '../../internal/prefix.js';
4
+ import '../entity-card/entity-card.js';
5
+ import '../neighbor-list/neighbor-list.js';
6
+ import '../chunk-inspector/chunk-inspector.js';
7
+ import '../provenance-panel/provenance-panel.js';
8
+ import '../stat/stat.js';
9
+ import '../tabs/tabs.js';
10
+ import '../empty/empty.js';
11
+ defineElement('entity-dossier', LyraEntityDossier);
12
+ //# sourceMappingURL=entity-dossier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-dossier.js","sourceRoot":"","sources":["../../../src/components/entity-dossier/entity-dossier.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,yCAAyC,CAAC;AACjD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,mBAAmB,CAAC;AAC3B,aAAa,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const styles: import("lit").CSSResult;
2
+ //# sourceMappingURL=entity-dossier.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-dossier.styles.d.ts","sourceRoot":"","sources":["../../../src/components/entity-dossier/entity-dossier.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBA2BlB,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `
3
+ :host {
4
+ display: block;
5
+ }
6
+ [part='base'] {
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: var(--lr-space-m);
10
+ min-inline-size: 0;
11
+ }
12
+ [part='header'] {
13
+ display: flex;
14
+ flex-wrap: wrap;
15
+ align-items: stretch;
16
+ gap: var(--lr-space-m);
17
+ }
18
+ [part='entity-card'] {
19
+ flex: 1 1 var(--lr-size-16rem);
20
+ min-inline-size: 0;
21
+ }
22
+ [part='confidence'] {
23
+ flex: 0 1 var(--lr-size-12rem);
24
+ min-inline-size: 0;
25
+ }
26
+ [part='tabs'] {
27
+ min-inline-size: 0;
28
+ }
29
+ `;
30
+ //# sourceMappingURL=entity-dossier.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-dossier.styles.js","sourceRoot":"","sources":["../../../src/components/entity-dossier/entity-dossier.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BxB,CAAC"}
@@ -0,0 +1,145 @@
1
+ import { type PropertyValues, type TemplateResult } from 'lit';
2
+ import { LyraElement } from '../../internal/lyra-element.js';
3
+ import '../data-grid/data-grid.js';
4
+ import '../chip/chip.js';
5
+ import '../chip/chip-group.js';
6
+ import '../file-input/file-input.js';
7
+ import type { ExportFormatOption } from '../export-button/export-button.class.js';
8
+ import '../export-button/export-button.js';
9
+ /**
10
+ * One row of an evaluation dataset -- a single labeled test case an eval run scores a
11
+ * model/prompt against. Deliberately its own small shape rather than reusing anything from
12
+ * `src/ai/types.ts`: none of that module's existing interfaces (`RetrievalQuery`, `ChatMessage`,
13
+ * etc.) model "one row of a labeled eval dataset", so a divergent-looking type squeezed in there
14
+ * would be worse than a self-contained one defined next to the component that actually consumes
15
+ * it. `input`/`expectedOutput` are plain strings (not `unknown`/structured payloads) to match
16
+ * `<lr-data-grid>`'s own cell rendering, which stringifies every value.
17
+ */
18
+ export interface EvalExample {
19
+ id: string;
20
+ input: string;
21
+ expectedOutput?: string;
22
+ tags?: string[];
23
+ metadata?: Record<string, unknown>;
24
+ }
25
+ export interface LyraEvalDatasetEventMap {
26
+ 'lr-example-select': CustomEvent<{
27
+ id: string | null;
28
+ }>;
29
+ 'lr-example-add-request': CustomEvent<undefined>;
30
+ 'lr-example-remove-request': CustomEvent<{
31
+ id: string;
32
+ }>;
33
+ 'lr-import-request': CustomEvent<{
34
+ files: File[];
35
+ }>;
36
+ 'lr-export-request': CustomEvent<{
37
+ format: string;
38
+ }>;
39
+ }
40
+ /**
41
+ * `<lr-eval-dataset>` — dataset management for an evaluation suite: a filterable/taggable list of
42
+ * `EvalExample` rows, plus add/remove/import/export affordances.
43
+ *
44
+ * Fully controlled, matching this library's established convention for every other
45
+ * orchestration-level component in this family (e.g. `<lr-thread-list>`'s
46
+ * `lr-thread-pin`/`-archive`/`-delete`): `examples` is the host's own data, and this component
47
+ * never mutates it or performs any I/O itself. Every action a user takes -- adding a row,
48
+ * removing the selected row, importing files, exporting to a format -- fires a `*-request` event
49
+ * carrying just enough information to act on; the host decides how (a local mutation, a network
50
+ * round-trip, opening its own creation dialog, parsing an imported file's actual contents, writing
51
+ * an exported file to disk or a server) and passes an updated `examples` array back in.
52
+ *
53
+ * Composes `<lr-data-grid>` for the row list (columns for `input`/`expectedOutput`/joined
54
+ * `tags`), `<lr-chip>`/`<lr-chip-group>` as a tag-based browse filter (one toggleable chip per
55
+ * distinct tag currently present across `examples`; multiple active tags OR together, matching
56
+ * the common "browse by any of these tags" idiom rather than requiring every tag to match),
57
+ * `<lr-file-input>` for the import affordance, and `<lr-export-button>` for the export affordance
58
+ * -- its own built-in client-side CSV/JSON download is deliberately suppressed
59
+ * (`event.preventDefault()` on its `lr-export`) since `<lr-export-button>`'s flat `rows`/`columns`
60
+ * CSV/JSON builder can't preserve an `EvalExample`'s own `tags`/`metadata` shape faithfully, and
61
+ * producing the actual exported file/API-call either way is the host's job per this component's
62
+ * own controlled contract; this keeps `lr-export-request` the single source of truth for every
63
+ * configured format rather than one format silently downloading locally while every other format
64
+ * does nothing.
65
+ *
66
+ * Row sorting is *not* re-implemented here: `<lr-data-grid>`'s own `lr-sort` bubbles through
67
+ * (composed events cross a shadow boundary automatically) for a host that wants to reorder
68
+ * `examples` and hand back a resorted array -- the same "the host owns the actual data" contract
69
+ * as every other mutation this component surfaces.
70
+ *
71
+ * @customElement lr-eval-dataset
72
+ * @event lr-example-select - A row was activated. `detail: { id }` -- `id` is `null` once the
73
+ * previously-selected row no longer exists in `examples` (see `examples`' own doc).
74
+ * @event lr-example-add-request - The "Add example" control was activated. No detail payload --
75
+ * this component has no opinion on what a new example's fields should be; the host implements
76
+ * its own creation flow (a dialog, a generated draft, etc.) and appends the result to `examples`.
77
+ * @event lr-example-remove-request - The "Remove" control was activated for the selected row.
78
+ * `detail: { id }`.
79
+ * @event lr-import-request - Files were selected/dropped on the internal `<lr-file-input>` and at
80
+ * least one was accepted by its own type/size rules. `detail: { files }` — raw `File[]`; parsing
81
+ * (CSV/JSON/etc. into `EvalExample` rows) is left to the host, mirroring `<lr-file-input>`'s own
82
+ * "parsing is a host concern" scope.
83
+ * @event lr-export-request - An export format was chosen. `detail: { format }`.
84
+ * @csspart base - The root.
85
+ * @csspart toolbar - The row of add/remove/import/export controls.
86
+ * @csspart add-button - The "Add example" button.
87
+ * @csspart remove-button - The "Remove" button, disabled while nothing is selected.
88
+ * @csspart import - The internal `<lr-file-input>`.
89
+ * @csspart export - The internal `<lr-export-button>`.
90
+ * @csspart search - The search field's wrapper. Only rendered while `searchable`.
91
+ * @csspart search-input - The `<input type="search">`. Only rendered while `searchable`.
92
+ * @csspart tag-filter - The tag-filter chip group's wrapper. Only rendered while `examples`
93
+ * carries at least one tag.
94
+ * @csspart grid - The internal `<lr-data-grid>`.
95
+ */
96
+ export declare class LyraEvalDataset extends LyraElement<LyraEvalDatasetEventMap> {
97
+ static styles: import("lit").CSSResultGroup[];
98
+ /** Controlled dataset: every example currently known to the host. This component never
99
+ * mutates its own copy of it -- add/remove/import/export are all *requests*; the host performs
100
+ * the actual mutation (and any persistence/API call) and passes the updated array back in.
101
+ * Shrinking this out from under an in-progress selection or active tag filter is handled
102
+ * gracefully: a `selectedId` that no longer matches any row resets to `null` (re-enabling the
103
+ * "Add" button's inert Remove sibling), and an active tag filter that no longer matches any
104
+ * row's `tags` is dropped rather than silently matching zero rows forever. */
105
+ examples: EvalExample[];
106
+ /** Shows the built-in free-text search field, filtering by a case-insensitive substring match
107
+ * against `input`, `expectedOutput`, and `tags`. */
108
+ searchable: boolean;
109
+ /** Forwarded to the internal `<lr-file-input>`'s own `accept` (native-file-input-style pattern,
110
+ * e.g. `'.json,.csv'`). Empty (the default) accepts any file type. */
111
+ accept: string;
112
+ /** Forwarded to the internal `<lr-export-button>`'s own `formats`. */
113
+ exportFormats: ExportFormatOption[];
114
+ /** Disables every add/remove/import/export affordance -- e.g. while a host-side mutation from a
115
+ * previous request is still in flight. */
116
+ disabled: boolean;
117
+ /** Accessible name for the example grid region. Defaults to the localized `evalDatasetLabel`. */
118
+ label: string;
119
+ private searchText;
120
+ private activeTags;
121
+ private selectedId;
122
+ protected willUpdate(changed: PropertyValues): void;
123
+ private allTags;
124
+ /** `examples` narrowed by the active tag filter (OR across `activeTags`) and the search text
125
+ * (AND with the tag filter -- both narrow the same list further). */
126
+ private get visibleExamples();
127
+ private buildColumns;
128
+ private onAddClick;
129
+ private onRemoveClick;
130
+ private onGridSelectionChange;
131
+ private onFiles;
132
+ private onExportButtonExport;
133
+ private onTagChipSelect;
134
+ private onSearchInput;
135
+ private renderToolbar;
136
+ private renderSearch;
137
+ private renderTagFilter;
138
+ render(): TemplateResult;
139
+ }
140
+ declare global {
141
+ interface HTMLElementTagNameMap {
142
+ 'lr-eval-dataset': LyraEvalDataset;
143
+ }
144
+ }
145
+ //# sourceMappingURL=eval-dataset.class.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eval-dataset.class.d.ts","sourceRoot":"","sources":["../../../src/components/eval-dataset/eval-dataset.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,2BAA2B,CAAC;AAEnC,OAAO,iBAAiB,CAAC;AACzB,OAAO,uBAAuB,CAAC;AAE/B,OAAO,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,kBAAkB,EAA4B,MAAM,yCAAyC,CAAC;AAC5G,OAAO,mCAAmC,CAAC;AAG3C;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,uBAAuB;IACtC,mBAAmB,EAAE,WAAW,CAAC;QAA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