@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,570 @@
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 { repeat } from 'lit/directives/repeat.js';
10
+ import { styleMap } from 'lit/directives/style-map.js';
11
+ import { LyraElement } from '../../internal/lyra-element.js';
12
+ import { tag } from '../../internal/prefix.js';
13
+ import { srOnly } from '../../internal/a11y.js';
14
+ import { Announcer } from '../../internal/announcer.js';
15
+ import { isRtl } from '../../internal/rtl.js';
16
+ import { isArrowKey, finiteInteger, finiteRange } from '../../internal/numbers.js';
17
+ import { styles } from './dashboard-grid.styles.js';
18
+ import { clampCandidate, findCollisions, resolvePlacement, sortSpatial, } from './layout.js';
19
+ const INTERACTIVE_DESCENDANT_SELECTOR = 'button, a[href], input, select, textarea, [role="button"], [tabindex]:not([part="cell"])';
20
+ /**
21
+ * `<lr-dashboard-grid>` — a responsive, keyboard-accessible widget grid: positions `layout`
22
+ * entries (`DashboardCell`: `x`/`y`/`w`/`h` grid units + a widget descriptor) on a CSS Grid,
23
+ * composing `<lr-widget>` + `<lr-widget-renderer>` for each cell's default content, and owns all
24
+ * drag/resize/collision interaction as controlled events -- it never mutates `layout` itself, nor
25
+ * ever touches `localStorage`/network; the host applies (or ignores) every emitted event and owns
26
+ * persistence entirely, mirroring `lr-flow-canvas`/`lr-table`'s own controlled-component
27
+ * convention. Readonly (viewer) by default; opt into editor gestures individually via
28
+ * `cells-draggable`/`cells-resizable`, or lock the whole grid via `locked`.
29
+ *
30
+ * Cell content: a `layout` entry with no matching light-DOM child (matched by `cell-id`) gets a
31
+ * default `<lr-widget label="...">` wrapping an `<lr-widget-renderer .tree=${cell.widget}>`
32
+ * auto-created and adopted into `slot="cell-{id}"` -- this component's own job is the grid
33
+ * layout/drag/resize/collision/persistence-event mechanics *around* that content, not widget
34
+ * rendering itself (see `lr-widget-renderer`'s own doc for its declarative-tree contract). A
35
+ * consumer wanting full control over one cell's markup can instead author
36
+ * `<div cell-id="...">...</div>` as a direct child; it is adopted in place of the default cell.
37
+ *
38
+ * Keyboard: cells share one roving tabindex, in row-major (`sortSpatial`) order. Arrow
39
+ * keys/Home/End move the roving focus (RTL-aware: physical Left/Right always match what the
40
+ * cursor visually does, matching `lr-flow-canvas`'s own convention). While a cell has focus,
41
+ * Ctrl/Cmd+Arrow moves it by one grid unit and Ctrl/Cmd+Shift+Arrow resizes it by one grid unit
42
+ * (Right/Down grow, Left/Up shrink) -- the full keyboard-operable equivalent of the pointer
43
+ * drag/resize gestures below, per this library's accessibility bar (no pointer-only interaction).
44
+ *
45
+ * Collision: every move/resize request -- pointer or keyboard -- is resolved through `collision`
46
+ * (`'reject'` the default, `'push'`, or `'overlap'`; see `resolvePlacement()` in `layout.ts` for
47
+ * the exact rule). A rejected request leaves `layout` untouched and only announces; an accepted
48
+ * one emits `lr-cell-move`/`lr-cell-resize` plus a `lr-layout-change` snapshot of the full
49
+ * proposed layout (including any `'push'` cascade) -- the host's one persistence hook: listen for
50
+ * it and persist `event.detail.layout` however it likes (`localStorage`, a network call, neither).
51
+ *
52
+ * Responsive: below a ~40rem container allocation (`@container`, not the viewport -- a dashboard
53
+ * grid is commonly embedded in a panel of varying width), cells stack into a single flowing
54
+ * column in the same row-major order the grid itself renders them in, instead of overflowing or
55
+ * shrinking columns unreadably.
56
+ *
57
+ * @customElement lr-dashboard-grid
58
+ * @slot cell-{id} - A `layout` entry's cell content; auto-populated by a default composed
59
+ * `<lr-widget>`/`<lr-widget-renderer>` pair unless a light-DOM `[cell-id="{id}"]` child is
60
+ * authored instead.
61
+ * @event lr-cell-move - `detail: { id, position, previous }` — an accepted move committed.
62
+ * @event lr-cell-resize - `detail: { id, size, previous }` — an accepted resize committed.
63
+ * @event lr-collision - `detail: { id, collidedWith, policy, accepted }` — a move/resize request
64
+ * overlapped at least one other cell, regardless of whether `policy` ultimately accepted it.
65
+ * @event lr-layout-change - `detail: { layout } }` — the full proposed layout after any accepted
66
+ * move/resize (including a `'push'` cascade); the host's persistence hook.
67
+ * @csspart base - The grid root.
68
+ * @csspart empty - The `lr-empty` shown when `layout` is empty.
69
+ * @csspart cell - A single cell's positioned wrapper.
70
+ * @csspart resize-handle - The pointer resize grip in a cell's trailing/bottom corner (only
71
+ * rendered while `cells-resizable`); the Ctrl/Cmd+Shift+Arrow keyboard path is the resize
72
+ * handle's full accessible equivalent, so the handle itself is `aria-hidden`.
73
+ * @csspart live-region - The current move/resize/collision announcement.
74
+ */
75
+ export class LyraDashboardGrid extends LyraElement {
76
+ constructor() {
77
+ super(...arguments);
78
+ /** The grid's cells: position/size (grid units) + a widget descriptor per entry. Never mutated
79
+ * by this component -- every move/resize is an event the host applies (or ignores). */
80
+ this.layout = [];
81
+ /** Column count of the underlying CSS Grid. */
82
+ this.columns = 12;
83
+ /** Row track height, in px (also the pointer-resize/drag row snap pitch, together with `gap`). */
84
+ this.rowHeight = 80;
85
+ /** Gap between cells, in px, on both axes. */
86
+ this.gap = 8;
87
+ /** How a move/resize that would overlap another cell is resolved -- see the class doc. */
88
+ this.collision = 'reject';
89
+ /** Opts into pointer-drag + Ctrl/Cmd+Arrow keyboard move for unlocked cells. */
90
+ this.cellsDraggable = false;
91
+ /** Opts into the pointer resize handle + Ctrl/Cmd+Shift+Arrow keyboard resize for unlocked cells. */
92
+ this.cellsResizable = false;
93
+ /** Disables every drag/resize gesture grid-wide, regardless of `cells-draggable`/
94
+ * `cells-resizable` or a cell's own `locked`. */
95
+ this.locked = false;
96
+ /** Overrides the grid region's accessible name; falls back to a generic localized label. Fed
97
+ * only by a host `aria-label`, matching `lr-flow-canvas`'s own host-override pattern. */
98
+ this.accessibleLabel = null;
99
+ this.announcer = new Announcer({ onFlush: (text) => (this.liveText = text) });
100
+ this.liveText = '';
101
+ this.activeCellIndex = 0;
102
+ this.onCellPointerMove = (e) => {
103
+ const drag = this.cellDrag;
104
+ if (!drag || e.pointerId !== drag.pointerId)
105
+ return;
106
+ const dxUnits = Math.round(((e.clientX - drag.startClientX) * drag.rtlFlip) / drag.colPitch);
107
+ const dyUnits = Math.round((e.clientY - drag.startClientY) / drag.rowPitch);
108
+ const { x, y } = clampCandidate({}, { x: drag.startX + dxUnits, y: drag.startY + dyUnits, w: drag.w, h: drag.h }, this.safeColumns);
109
+ drag.wrapper.style.gridColumn = `${x + 1} / span ${drag.w}`;
110
+ drag.wrapper.style.gridRow = `${y + 1} / span ${drag.h}`;
111
+ if (this.collision !== 'overlap') {
112
+ const collides = findCollisions(this.layout, { id: drag.cellId, x, y, w: drag.w, h: drag.h }).length > 0;
113
+ drag.wrapper.toggleAttribute('data-collision', collides);
114
+ }
115
+ drag.currentX = x;
116
+ drag.currentY = y;
117
+ };
118
+ this.onCellPointerUp = (e) => {
119
+ const drag = this.cellDrag;
120
+ if (!drag || e.pointerId !== drag.pointerId)
121
+ return;
122
+ this.cellDrag = undefined;
123
+ drag.wrapper.removeAttribute('data-dragging');
124
+ window.removeEventListener('pointermove', this.onCellPointerMove);
125
+ window.removeEventListener('pointerup', this.onCellPointerUp);
126
+ window.removeEventListener('pointercancel', this.onCellPointerUp);
127
+ window.removeEventListener('lostpointercapture', this.onCellPointerUp);
128
+ const x = drag.currentX ?? drag.startX;
129
+ const y = drag.currentY ?? drag.startY;
130
+ if (x !== drag.startX || y !== drag.startY) {
131
+ this.commitPlacement(drag.cellId, { x, y, w: drag.w, h: drag.h }, 'move');
132
+ }
133
+ this.resetCellInlineStyle(drag.cellId, drag.wrapper);
134
+ this.requestUpdate();
135
+ };
136
+ this.onResizeHandlePointerMove = (e) => {
137
+ const resize = this.cellResize;
138
+ if (!resize || e.pointerId !== resize.pointerId)
139
+ return;
140
+ const dwUnits = Math.round(((e.clientX - resize.startClientX) * resize.rtlFlip) / resize.colPitch);
141
+ const dhUnits = Math.round((e.clientY - resize.startClientY) / resize.rowPitch);
142
+ const { w, h } = clampCandidate(this.layout.find((c) => c.id === resize.cellId) ?? {}, { x: resize.x, y: resize.y, w: resize.startW + dwUnits, h: resize.startH + dhUnits }, this.safeColumns);
143
+ resize.wrapper.style.gridColumn = `${resize.x + 1} / span ${w}`;
144
+ resize.wrapper.style.gridRow = `${resize.y + 1} / span ${h}`;
145
+ if (this.collision !== 'overlap') {
146
+ const collides = findCollisions(this.layout, { id: resize.cellId, x: resize.x, y: resize.y, w, h }).length > 0;
147
+ resize.wrapper.toggleAttribute('data-collision', collides);
148
+ }
149
+ resize.currentW = w;
150
+ resize.currentH = h;
151
+ };
152
+ this.onResizeHandlePointerUp = (e) => {
153
+ const resize = this.cellResize;
154
+ if (!resize || e.pointerId !== resize.pointerId)
155
+ return;
156
+ this.cellResize = undefined;
157
+ resize.wrapper.removeAttribute('data-resizing');
158
+ window.removeEventListener('pointermove', this.onResizeHandlePointerMove);
159
+ window.removeEventListener('pointerup', this.onResizeHandlePointerUp);
160
+ window.removeEventListener('pointercancel', this.onResizeHandlePointerUp);
161
+ window.removeEventListener('lostpointercapture', this.onResizeHandlePointerUp);
162
+ const w = resize.currentW ?? resize.startW;
163
+ const h = resize.currentH ?? resize.startH;
164
+ if (w !== resize.startW || h !== resize.startH) {
165
+ this.commitPlacement(resize.cellId, { x: resize.x, y: resize.y, w, h }, 'resize');
166
+ }
167
+ this.resetCellInlineStyle(resize.cellId, resize.wrapper);
168
+ this.requestUpdate();
169
+ };
170
+ }
171
+ static { this.styles = [LyraElement.styles, styles, srOnly]; }
172
+ get safeColumns() {
173
+ return finiteInteger(this.columns, 12, 1, 48);
174
+ }
175
+ get safeRowHeight() {
176
+ return finiteRange(this.rowHeight, 80, 1);
177
+ }
178
+ get safeGap() {
179
+ return finiteRange(this.gap, 8, 0);
180
+ }
181
+ get sortedLayout() {
182
+ return sortSpatial(this.layout);
183
+ }
184
+ disconnectedCallback() {
185
+ super.disconnectedCallback();
186
+ // An in-flight drag/resize gesture holds window-level listeners; if the element is removed
187
+ // mid-gesture nothing else ever detaches them, and a later unrelated pointerup would fire
188
+ // against a detached tree with stale gesture state.
189
+ this.cellDrag = undefined;
190
+ window.removeEventListener('pointermove', this.onCellPointerMove);
191
+ window.removeEventListener('pointerup', this.onCellPointerUp);
192
+ window.removeEventListener('pointercancel', this.onCellPointerUp);
193
+ window.removeEventListener('lostpointercapture', this.onCellPointerUp);
194
+ this.cellResize = undefined;
195
+ window.removeEventListener('pointermove', this.onResizeHandlePointerMove);
196
+ window.removeEventListener('pointerup', this.onResizeHandlePointerUp);
197
+ window.removeEventListener('pointercancel', this.onResizeHandlePointerUp);
198
+ window.removeEventListener('lostpointercapture', this.onResizeHandlePointerUp);
199
+ }
200
+ willUpdate(changed) {
201
+ if (changed.has('layout'))
202
+ this.syncDefaultCells();
203
+ }
204
+ // ---------------------------------------------------------------------
205
+ // Default cell adoption (light-DOM, by cell-id -- mirrors lr-flow-canvas's node-id adoption)
206
+ // ---------------------------------------------------------------------
207
+ cellLabel(cell) {
208
+ return cell.label || cell.id;
209
+ }
210
+ /** By-`cell-id` reconciliation of light-DOM children: a user-authored child gets
211
+ * `slot="cell-{id}"` set on it and is left otherwise untouched; a `layout` entry with no
212
+ * matching light-DOM child gets a default `<lr-widget>`/`<lr-widget-renderer>` pair created
213
+ * and appended (marked `data-dashboard-grid-default-cell` so it -- and only it -- is removed
214
+ * again once its cell id disappears, and kept in sync on every `layout` change). A light-DOM
215
+ * child whose `cell-id` matches no current entry is left in place with no `slot` (renders
216
+ * nowhere) and a console warning, exactly like `lr-flow-canvas`'s equivalent case. */
217
+ syncDefaultCells() {
218
+ const ids = new Set(this.layout.map((c) => c.id));
219
+ const byCellId = new Map();
220
+ for (const child of Array.from(this.children)) {
221
+ const cellId = child.getAttribute('cell-id');
222
+ if (!cellId)
223
+ continue;
224
+ byCellId.set(cellId, child);
225
+ if (ids.has(cellId)) {
226
+ child.setAttribute('slot', `cell-${cellId}`);
227
+ }
228
+ else {
229
+ child.removeAttribute('slot');
230
+ console.warn(`<lr-dashboard-grid> a child with cell-id="${cellId}" matches no entry in \`layout\`; it will not render.`);
231
+ }
232
+ }
233
+ for (const [cellId, child] of byCellId) {
234
+ if (!ids.has(cellId) && child.hasAttribute('data-dashboard-grid-default-cell')) {
235
+ child.remove();
236
+ byCellId.delete(cellId);
237
+ }
238
+ }
239
+ for (const cell of this.layout) {
240
+ const existing = byCellId.get(cell.id);
241
+ if (existing?.hasAttribute('data-dashboard-grid-default-cell')) {
242
+ this.updateDefaultCell(existing, cell);
243
+ }
244
+ else if (!existing) {
245
+ this.appendChild(this.createDefaultCell(cell));
246
+ }
247
+ }
248
+ }
249
+ createDefaultCell(cell) {
250
+ const widget = document.createElement(tag('widget'));
251
+ widget.setAttribute('cell-id', cell.id);
252
+ widget.setAttribute('data-dashboard-grid-default-cell', '');
253
+ widget.setAttribute('slot', `cell-${cell.id}`);
254
+ const renderer = document.createElement(tag('widget-renderer'));
255
+ widget.appendChild(renderer);
256
+ this.updateDefaultCell(widget, cell);
257
+ return widget;
258
+ }
259
+ updateDefaultCell(widget, cell) {
260
+ widget.label = this.cellLabel(cell);
261
+ const renderer = widget.querySelector(tag('widget-renderer'));
262
+ if (renderer)
263
+ renderer.tree = cell.widget ?? null;
264
+ }
265
+ // ---------------------------------------------------------------------
266
+ // Roving focus / keyboard move & resize
267
+ // ---------------------------------------------------------------------
268
+ onCellFocus(id) {
269
+ const index = this.sortedLayout.findIndex((c) => c.id === id);
270
+ if (index >= 0)
271
+ this.activeCellIndex = index;
272
+ }
273
+ focusCellAt(index) {
274
+ const cells = this.sortedLayout;
275
+ if (index < 0 || index >= cells.length)
276
+ return;
277
+ this.activeCellIndex = index;
278
+ const cell = cells[index];
279
+ this.announcer.announce(this.localize('flowItemAnnouncement', undefined, { item: this.cellLabel(cell), index: index + 1, total: cells.length }));
280
+ void this.updateComplete.then(() => {
281
+ this.renderRoot.querySelector(`[part="cell"][data-cell-id="${CSS.escape(cell.id)}"]`)?.focus();
282
+ });
283
+ }
284
+ onCellKeyDown(e, cell) {
285
+ const isMod = e.ctrlKey || e.metaKey;
286
+ if (isMod && isArrowKey(e.key)) {
287
+ e.preventDefault();
288
+ if (e.shiftKey)
289
+ this.keyboardResize(cell, e.key);
290
+ else
291
+ this.keyboardMove(cell, e.key);
292
+ return;
293
+ }
294
+ const cells = this.sortedLayout;
295
+ const index = cells.findIndex((c) => c.id === cell.id);
296
+ if (index < 0)
297
+ return;
298
+ const rtl = isRtl(this);
299
+ const forwardKey = rtl ? 'ArrowLeft' : 'ArrowRight';
300
+ const backwardKey = rtl ? 'ArrowRight' : 'ArrowLeft';
301
+ let next = index;
302
+ if (e.key === forwardKey || e.key === 'ArrowDown')
303
+ next = Math.min(cells.length - 1, index + 1);
304
+ else if (e.key === backwardKey || e.key === 'ArrowUp')
305
+ next = Math.max(0, index - 1);
306
+ else if (e.key === 'Home')
307
+ next = 0;
308
+ else if (e.key === 'End')
309
+ next = cells.length - 1;
310
+ else
311
+ return;
312
+ e.preventDefault();
313
+ this.focusCellAt(next);
314
+ }
315
+ keyboardMove(cell, key) {
316
+ if (!this.cellsDraggable || this.locked || cell.locked)
317
+ return;
318
+ const rtlFlip = isRtl(this) ? -1 : 1;
319
+ let dx = 0;
320
+ let dy = 0;
321
+ if (key === 'ArrowRight')
322
+ dx = rtlFlip;
323
+ else if (key === 'ArrowLeft')
324
+ dx = -rtlFlip;
325
+ else if (key === 'ArrowDown')
326
+ dy = 1;
327
+ else if (key === 'ArrowUp')
328
+ dy = -1;
329
+ else
330
+ return;
331
+ this.commitPlacement(cell.id, { x: cell.x + dx, y: cell.y + dy, w: cell.w, h: cell.h }, 'move');
332
+ }
333
+ keyboardResize(cell, key) {
334
+ if (!this.cellsResizable || this.locked || cell.locked)
335
+ return;
336
+ const rtlFlip = isRtl(this) ? -1 : 1;
337
+ let dw = 0;
338
+ let dh = 0;
339
+ if (key === 'ArrowRight')
340
+ dw = rtlFlip;
341
+ else if (key === 'ArrowLeft')
342
+ dw = -rtlFlip;
343
+ else if (key === 'ArrowDown')
344
+ dh = 1;
345
+ else if (key === 'ArrowUp')
346
+ dh = -1;
347
+ else
348
+ return;
349
+ this.commitPlacement(cell.id, { x: cell.x, y: cell.y, w: cell.w + dw, h: cell.h + dh }, 'resize');
350
+ }
351
+ // ---------------------------------------------------------------------
352
+ // Shared commit path (keyboard nudge, and a pointer gesture's final drop)
353
+ // ---------------------------------------------------------------------
354
+ commitPlacement(id, requested, kind) {
355
+ const cell = this.layout.find((c) => c.id === id);
356
+ if (!cell)
357
+ return;
358
+ const result = resolvePlacement(this.layout, id, requested, this.safeColumns, this.collision);
359
+ if (result.collidedWith.length > 0) {
360
+ this.emit('lr-collision', { id, collidedWith: result.collidedWith, policy: this.collision, accepted: result.accepted });
361
+ }
362
+ if (!result.accepted) {
363
+ this.announcer.announce(this.localize('dashboardCellCollisionRejected', undefined, { label: this.cellLabel(cell) }));
364
+ return;
365
+ }
366
+ const updated = result.layout.find((c) => c.id === id);
367
+ // `requested` is clamped (bounds + this cell's own min/max) before ever reaching collision
368
+ // resolution, so e.g. a shrink-past-minW request can come back byte-identical to `cell` --
369
+ // that's a real no-op, not a move/resize, and must not emit a spurious event.
370
+ const unchanged = kind === 'move' ? updated.x === cell.x && updated.y === cell.y : updated.w === cell.w && updated.h === cell.h;
371
+ if (unchanged)
372
+ return;
373
+ if (kind === 'move') {
374
+ this.emit('lr-cell-move', {
375
+ id,
376
+ position: { x: updated.x, y: updated.y },
377
+ previous: { x: cell.x, y: cell.y },
378
+ });
379
+ this.announcer.announce(this.localize('dashboardCellMoved', undefined, { label: this.cellLabel(cell), x: updated.x + 1, y: updated.y + 1 }));
380
+ }
381
+ else {
382
+ this.emit('lr-cell-resize', {
383
+ id,
384
+ size: { w: updated.w, h: updated.h },
385
+ previous: { w: cell.w, h: cell.h },
386
+ });
387
+ this.announcer.announce(this.localize('dashboardCellResized', undefined, { label: this.cellLabel(cell), w: updated.w, h: updated.h }));
388
+ }
389
+ this.emit('lr-layout-change', { layout: result.layout });
390
+ }
391
+ // ---------------------------------------------------------------------
392
+ // Pointer drag (move)
393
+ // ---------------------------------------------------------------------
394
+ cellStyle(cell) {
395
+ return {
396
+ 'grid-column': `${cell.x + 1} / span ${cell.w}`,
397
+ 'grid-row': `${cell.y + 1} / span ${cell.h}`,
398
+ };
399
+ }
400
+ /** Column/row pixel pitch, measured once per gesture (not re-measured on every pointermove --
401
+ * matches `lr-flow-canvas`'s own once-per-gesture rect-measurement convention). */
402
+ measurePitch() {
403
+ const baseEl = this.renderRoot.querySelector('[part="base"]');
404
+ if (!baseEl)
405
+ return null;
406
+ const rect = baseEl.getBoundingClientRect();
407
+ const columns = this.safeColumns;
408
+ const gap = this.safeGap;
409
+ const rawColPitch = (rect.width - gap * (columns - 1)) / columns;
410
+ return { colPitch: rawColPitch > 0 ? rawColPitch : 1, rowPitch: this.safeRowHeight + gap };
411
+ }
412
+ resetCellInlineStyle(id, wrapper) {
413
+ const cell = this.layout.find((c) => c.id === id);
414
+ if (!cell)
415
+ return;
416
+ const style = this.cellStyle(cell);
417
+ wrapper.style.gridColumn = style['grid-column'];
418
+ wrapper.style.gridRow = style['grid-row'];
419
+ wrapper.removeAttribute('data-collision');
420
+ }
421
+ onCellPointerDown(e, cell) {
422
+ if (!this.cellsDraggable || this.locked || cell.locked || e.button !== 0)
423
+ return;
424
+ const wrapper = e.currentTarget;
425
+ const interactive = e.target.closest(INTERACTIVE_DESCENDANT_SELECTOR);
426
+ if (interactive && interactive !== wrapper && wrapper.contains(interactive))
427
+ return;
428
+ const pitch = this.measurePitch();
429
+ if (!pitch)
430
+ return;
431
+ e.stopPropagation();
432
+ this.cellDrag = {
433
+ pointerId: e.pointerId,
434
+ cellId: cell.id,
435
+ startClientX: e.clientX,
436
+ startClientY: e.clientY,
437
+ startX: cell.x,
438
+ startY: cell.y,
439
+ w: cell.w,
440
+ h: cell.h,
441
+ ...pitch,
442
+ wrapper,
443
+ rtlFlip: isRtl(this) ? -1 : 1,
444
+ };
445
+ wrapper.setPointerCapture?.(e.pointerId);
446
+ wrapper.setAttribute('data-dragging', '');
447
+ window.addEventListener('pointermove', this.onCellPointerMove);
448
+ window.addEventListener('pointerup', this.onCellPointerUp);
449
+ window.addEventListener('pointercancel', this.onCellPointerUp);
450
+ window.addEventListener('lostpointercapture', this.onCellPointerUp);
451
+ }
452
+ // ---------------------------------------------------------------------
453
+ // Pointer resize
454
+ // ---------------------------------------------------------------------
455
+ onResizeHandlePointerDown(e, cell) {
456
+ if (!this.cellsResizable || this.locked || cell.locked || e.button !== 0)
457
+ return;
458
+ const wrapper = e.currentTarget.closest('[part="cell"]');
459
+ if (!wrapper)
460
+ return;
461
+ const pitch = this.measurePitch();
462
+ if (!pitch)
463
+ return;
464
+ e.stopPropagation();
465
+ this.cellResize = {
466
+ pointerId: e.pointerId,
467
+ cellId: cell.id,
468
+ startClientX: e.clientX,
469
+ startClientY: e.clientY,
470
+ startW: cell.w,
471
+ startH: cell.h,
472
+ x: cell.x,
473
+ y: cell.y,
474
+ ...pitch,
475
+ wrapper,
476
+ rtlFlip: isRtl(this) ? -1 : 1,
477
+ };
478
+ e.currentTarget.setPointerCapture?.(e.pointerId);
479
+ wrapper.setAttribute('data-resizing', '');
480
+ window.addEventListener('pointermove', this.onResizeHandlePointerMove);
481
+ window.addEventListener('pointerup', this.onResizeHandlePointerUp);
482
+ window.addEventListener('pointercancel', this.onResizeHandlePointerUp);
483
+ window.addEventListener('lostpointercapture', this.onResizeHandlePointerUp);
484
+ }
485
+ // ---------------------------------------------------------------------
486
+ // Render
487
+ // ---------------------------------------------------------------------
488
+ renderCell(cell, active) {
489
+ const resizableHere = this.cellsResizable && !this.locked && !cell.locked;
490
+ return html `<div
491
+ part="cell"
492
+ role="group"
493
+ tabindex=${active ? '0' : '-1'}
494
+ aria-label=${this.cellLabel(cell)}
495
+ data-cell-id=${cell.id}
496
+ style=${styleMap(this.cellStyle(cell))}
497
+ @keydown=${(e) => this.onCellKeyDown(e, cell)}
498
+ @focus=${() => this.onCellFocus(cell.id)}
499
+ @pointerdown=${(e) => this.onCellPointerDown(e, cell)}
500
+ >
501
+ <slot name=${`cell-${cell.id}`}></slot>
502
+ ${resizableHere
503
+ ? html `<button
504
+ part="resize-handle"
505
+ type="button"
506
+ tabindex="-1"
507
+ aria-hidden="true"
508
+ @pointerdown=${(e) => this.onResizeHandlePointerDown(e, cell)}
509
+ ></button>`
510
+ : nothing}
511
+ </div>`;
512
+ }
513
+ render() {
514
+ const cells = this.sortedLayout;
515
+ const label = this.accessibleLabel || this.localize('dashboardGridLabel');
516
+ if (cells.length === 0) {
517
+ return html `<div part="base" role="region" aria-label=${label}>
518
+ <lr-empty part="empty" heading=${this.localize('noData')}></lr-empty>
519
+ </div>`;
520
+ }
521
+ const activeIndex = Math.min(this.activeCellIndex, cells.length - 1);
522
+ return html `<div
523
+ part="base"
524
+ role="region"
525
+ aria-label=${label}
526
+ style=${styleMap({
527
+ '--lr-dashboard-grid-columns': String(this.safeColumns),
528
+ '--lr-dashboard-grid-row-height': `${this.safeRowHeight}px`,
529
+ '--lr-dashboard-grid-gap': `${this.safeGap}px`,
530
+ })}
531
+ >
532
+ ${repeat(cells, (cell) => cell.id, (cell, i) => this.renderCell(cell, i === activeIndex))}
533
+ <div part="live-region" class="sr-only" role="status" aria-live="polite" aria-atomic="true">${this.liveText}</div>
534
+ </div>`;
535
+ }
536
+ }
537
+ __decorate([
538
+ property({ attribute: false })
539
+ ], LyraDashboardGrid.prototype, "layout", void 0);
540
+ __decorate([
541
+ property({ type: Number })
542
+ ], LyraDashboardGrid.prototype, "columns", void 0);
543
+ __decorate([
544
+ property({ type: Number, attribute: 'row-height' })
545
+ ], LyraDashboardGrid.prototype, "rowHeight", void 0);
546
+ __decorate([
547
+ property({ type: Number })
548
+ ], LyraDashboardGrid.prototype, "gap", void 0);
549
+ __decorate([
550
+ property()
551
+ ], LyraDashboardGrid.prototype, "collision", void 0);
552
+ __decorate([
553
+ property({ type: Boolean, attribute: 'cells-draggable' })
554
+ ], LyraDashboardGrid.prototype, "cellsDraggable", void 0);
555
+ __decorate([
556
+ property({ type: Boolean, attribute: 'cells-resizable' })
557
+ ], LyraDashboardGrid.prototype, "cellsResizable", void 0);
558
+ __decorate([
559
+ property({ type: Boolean, reflect: true })
560
+ ], LyraDashboardGrid.prototype, "locked", void 0);
561
+ __decorate([
562
+ property({ attribute: 'aria-label' })
563
+ ], LyraDashboardGrid.prototype, "accessibleLabel", void 0);
564
+ __decorate([
565
+ state()
566
+ ], LyraDashboardGrid.prototype, "liveText", void 0);
567
+ __decorate([
568
+ state()
569
+ ], LyraDashboardGrid.prototype, "activeCellIndex", void 0);
570
+ //# sourceMappingURL=dashboard-grid.class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-grid.class.js","sourceRoot":"","sources":["../../../src/components/dashboard-grid/dashboard-grid.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAA4C,MAAM,KAAK,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EACL,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,WAAW,GAGZ,MAAM,aAAa,CAAC;AAarB,MAAM,+BAA+B,GAAG,0FAA0F,CAAC;AA2CnI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAsC;IAA7E;;QAGE;gGACwF;QACxD,WAAM,GAAoB,EAAE,CAAC;QAC7D,+CAA+C;Q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IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAAgB;AAGpB;IAAtC,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;0DAAuC;AAiB5D;IAAhB,KAAK,EAAE;mDAAuB;AACd;IAAhB,KAAK,EAAE;0DAA6B"}
@@ -0,0 +1,6 @@
1
+ export * from './dashboard-grid.class.js';
2
+ export * from './layout.js';
3
+ import '../empty/empty.js';
4
+ import '../widget/widget.js';
5
+ import '../widget-renderer/widget-renderer.js';
6
+ //# sourceMappingURL=dashboard-grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-grid.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard-grid/dashboard-grid.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAG5B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uCAAuC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export * from './dashboard-grid.class.js';
2
+ export * from './layout.js';
3
+ import { LyraDashboardGrid } from './dashboard-grid.class.js';
4
+ import { defineElement } from '../../internal/prefix.js';
5
+ import '../empty/empty.js';
6
+ import '../widget/widget.js';
7
+ import '../widget-renderer/widget-renderer.js';
8
+ defineElement('dashboard-grid', LyraDashboardGrid);
9
+ //# sourceMappingURL=dashboard-grid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-grid.js","sourceRoot":"","sources":["../../../src/components/dashboard-grid/dashboard-grid.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uCAAuC,CAAC;AAC/C,aAAa,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const styles: import("lit").CSSResult;
2
+ //# sourceMappingURL=dashboard-grid.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-grid.styles.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard-grid/dashboard-grid.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAmFlB,CAAC"}