@aceshooting/lyra-ui 32.0.0 → 33.0.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 (468) hide show
  1. package/CHANGELOG.md +224 -1380
  2. package/README.md +36 -7
  3. package/custom-elements.slim.json +1 -0
  4. package/design-tokens.json +1 -1
  5. package/dist/accent-roles.css +1 -0
  6. package/dist/all.d.ts +1 -1
  7. package/dist/all.js +1 -1
  8. package/dist/autoloader.d.ts +10 -0
  9. package/dist/autoloader.js +1 -1
  10. package/dist/cli/migrate-wa.mjs +54 -44
  11. package/dist/cli/migration-contract.json.gz +0 -0
  12. package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +1 -0
  13. package/dist/components/agent-tools/budget-meter/budget-meter.styles.js +1 -1
  14. package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +1 -1
  15. package/dist/components/charts/chart/box-plot.class.d.ts +3 -0
  16. package/dist/components/charts/chart/chart-band.js +1 -1
  17. package/dist/components/charts/chart/chart-input-projection.js +1 -1
  18. package/dist/components/charts/chart/chart-surface.styles.js +1 -1
  19. package/dist/components/charts/chart/chart-types.d.ts +16 -2
  20. package/dist/components/charts/chart/chart.class.d.ts +4 -1
  21. package/dist/components/charts/chart/chart.class.js +3 -3
  22. package/dist/components/charts/chart/lite-chart.class.d.ts +3 -0
  23. package/dist/components/charts/chart/lite-chart.styles.js +1 -1
  24. package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +10 -0
  25. package/dist/components/conversation/code-block/code-block-base.class.d.ts +31 -3
  26. package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
  27. package/dist/components/conversation/code-block/code-block-core.class.d.ts +46 -2
  28. package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
  29. package/dist/components/conversation/code-block/code-block-shared.d.ts +6 -2
  30. package/dist/components/conversation/code-block/code-block-shared.js +5 -4
  31. package/dist/components/conversation/code-block/code-block.class.d.ts +48 -3
  32. package/dist/components/conversation/code-block/code-block.class.js +1 -1
  33. package/dist/components/conversation/code-block/code-block.styles.js +1 -1
  34. package/dist/components/conversation/code-block/code-grammar-registry.d.ts +35 -0
  35. package/dist/components/conversation/code-block/code-grammar-registry.js +1 -0
  36. package/dist/components/conversation/markdown/markdown-core.class.d.ts +12 -0
  37. package/dist/components/conversation/markdown/markdown.class.d.ts +12 -0
  38. package/dist/components/conversation/markdown/markdown.styles.js +1 -1
  39. package/dist/components/conversation/model-select/model-select.class.d.ts +12 -5
  40. package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +1 -1
  41. package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +1 -0
  42. package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
  43. package/dist/components/conversation/thread-list/thread-list.class.d.ts +3 -0
  44. package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
  45. package/dist/components/conversation/usage-badge/usage-badge.class.d.ts +1 -1
  46. package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +12 -5
  47. package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +4 -0
  48. package/dist/components/data/heatmap/heatmap.class.d.ts +21 -2
  49. package/dist/components/data/heatmap/heatmap.class.js +2 -2
  50. package/dist/components/data/heatmap/heatmap.styles.js +1 -1
  51. package/dist/components/data/stat/stat.class.d.ts +24 -1
  52. package/dist/components/data/stat/stat.class.js +2 -2
  53. package/dist/components/data/stat/stat.styles.js +1 -1
  54. package/dist/components/data/table/table-row-attributes.js +1 -0
  55. package/dist/components/data/table/table-support.d.ts +64 -5
  56. package/dist/components/data/table/table-support.js +1 -1
  57. package/dist/components/data/table/table.class.d.ts +78 -7
  58. package/dist/components/data/table/table.class.js +10 -10
  59. package/dist/components/data/table/table.styles.js +1 -1
  60. package/dist/components/data/timeline/timeline-item.class.d.ts +27 -5
  61. package/dist/components/data/timeline/timeline-item.class.js +11 -7
  62. package/dist/components/data/timeline/timeline-item.styles.js +1 -1
  63. package/dist/components/data/timeline/timeline.class.d.ts +54 -8
  64. package/dist/components/data/timeline/timeline.class.js +11 -7
  65. package/dist/components/data/timeline/timeline.styles.js +1 -1
  66. package/dist/components/data/tree/tree-item.class.d.ts +2 -0
  67. package/dist/components/data/tree/tree-item.class.js +2 -2
  68. package/dist/components/data/tree/tree-item.styles.js +1 -1
  69. package/dist/components/forms/button/button.class.d.ts +13 -0
  70. package/dist/components/forms/button/button.styles.js +1 -1
  71. package/dist/components/forms/catalog-picker-base.d.ts +14 -1
  72. package/dist/components/forms/checkbox/checkbox.class.js +1 -1
  73. package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +28 -2
  74. package/dist/components/forms/checkbox-group/checkbox-group.class.js +3 -3
  75. package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
  76. package/dist/components/forms/code-editor/code-editor.class.d.ts +18 -3
  77. package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
  78. package/dist/components/forms/color-picker/color-picker.class.d.ts +25 -5
  79. package/dist/components/forms/color-picker/color-picker.class.js +3 -3
  80. package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
  81. package/dist/components/forms/combobox/combobox-option-html.js +1 -0
  82. package/dist/components/forms/combobox/combobox.class.d.ts +140 -12
  83. package/dist/components/forms/combobox/combobox.class.js +113 -22
  84. package/dist/components/forms/combobox/combobox.styles.js +1 -1
  85. package/dist/components/forms/country-picker/country-picker.class.d.ts +4 -3
  86. package/dist/components/forms/currency-picker/currency-picker.class.d.ts +4 -3
  87. package/dist/components/forms/date-picker/date-input.class.d.ts +53 -3
  88. package/dist/components/forms/date-picker/date-input.class.js +2 -2
  89. package/dist/components/forms/date-picker/date-input.styles.js +1 -1
  90. package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +14 -0
  91. package/dist/components/forms/emoji-picker/emoji-picker.class.js +1 -1
  92. package/dist/components/forms/icon-button/icon-button.class.d.ts +2 -1
  93. package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
  94. package/dist/components/forms/input/input-shared.d.ts +24 -3
  95. package/dist/components/forms/input/input.styles.js +1 -1
  96. package/dist/components/forms/input/time-input.class.d.ts +19 -4
  97. package/dist/components/forms/input/time-input.styles.js +1 -1
  98. package/dist/components/forms/locale-picker/locale-picker.class.d.ts +17 -5
  99. package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
  100. package/dist/components/forms/otp-input/otp-input.class.d.ts +8 -3
  101. package/dist/components/forms/otp-input/otp-input.styles.js +1 -1
  102. package/dist/components/forms/phone-input/phone-input.class.d.ts +18 -3
  103. package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
  104. package/dist/components/forms/radio/radio-group.class.d.ts +23 -2
  105. package/dist/components/forms/radio/radio-group.class.js +2 -2
  106. package/dist/components/forms/radio/radio-group.styles.js +1 -1
  107. package/dist/components/forms/radio/radio.class.js +2 -2
  108. package/dist/components/forms/rubric-form/rubric-form.class.d.ts +4 -0
  109. package/dist/components/forms/select/select.class.d.ts +16 -4
  110. package/dist/components/forms/select/select.class.js +1 -1
  111. package/dist/components/forms/select/select.styles.js +1 -1
  112. package/dist/components/forms/signature-pad/signature-pad.class.d.ts +8 -3
  113. package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
  114. package/dist/components/forms/slider/slider.class.d.ts +29 -2
  115. package/dist/components/forms/slider/slider.class.js +3 -3
  116. package/dist/components/forms/slider/slider.styles.js +1 -1
  117. package/dist/components/forms/switch/switch.class.d.ts +2 -0
  118. package/dist/components/forms/switch/switch.styles.js +1 -1
  119. package/dist/components/forms/textarea/textarea.class.d.ts +20 -3
  120. package/dist/components/forms/textarea/textarea.styles.js +1 -1
  121. package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +4 -3
  122. package/dist/components/forms/token-input/token-input.class.d.ts +99 -21
  123. package/dist/components/forms/token-input/token-input.class.js +11 -8
  124. package/dist/components/forms/token-input/token-input.styles.js +1 -1
  125. package/dist/components/forms/unit-picker/unit-picker.class.d.ts +4 -3
  126. package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -0
  127. package/dist/components/layout/app-rail/app-rail.styles.js +1 -1
  128. package/dist/components/layout/button-group/button-group.class.d.ts +4 -0
  129. package/dist/components/layout/button-group/button-group.class.js +1 -1
  130. package/dist/components/layout/card/card.class.d.ts +15 -1
  131. package/dist/components/layout/card/card.styles.js +1 -1
  132. package/dist/components/layout/command-palette/command-palette.class.d.ts +1 -1
  133. package/dist/components/layout/details/details.class.d.ts +6 -0
  134. package/dist/components/layout/details/details.styles.js +1 -1
  135. package/dist/components/layout/filter-bar/filter-bar.class.d.ts +6 -0
  136. package/dist/components/layout/filter-bar/filter-bar.styles.js +1 -1
  137. package/dist/components/layout/index.d.ts +1 -1
  138. package/dist/components/layout/index.js +1 -1
  139. package/dist/components/layout/menu/dropdown-item.class.d.ts +8 -2
  140. package/dist/components/layout/menu/dropdown-item.class.js +1 -1
  141. package/dist/components/layout/menu/menu-item.class.d.ts +7 -0
  142. package/dist/components/layout/menu/menu-item.styles.js +1 -1
  143. package/dist/components/layout/menu/menu-label.class.d.ts +5 -0
  144. package/dist/components/layout/menu/menu-label.class.js +1 -1
  145. package/dist/components/layout/menu/menu.class.d.ts +4 -1
  146. package/dist/components/layout/menu/menu.styles.js +1 -1
  147. package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.d.ts +1 -1
  148. package/dist/components/layout/page/page.class.d.ts +9 -1
  149. package/dist/components/layout/page/page.class.js +2 -2
  150. package/dist/components/layout/segmented/segmented.class.d.ts +22 -3
  151. package/dist/components/layout/segmented/segmented.class.js +3 -4
  152. package/dist/components/layout/segmented/segmented.styles.js +1 -1
  153. package/dist/components/layout/stepper/step.class.d.ts +102 -0
  154. package/dist/components/layout/stepper/step.class.js +18 -0
  155. package/dist/components/layout/stepper/step.styles.js +1 -0
  156. package/dist/components/layout/stepper/stepper.class.d.ts +106 -13
  157. package/dist/components/layout/stepper/stepper.class.js +6 -2
  158. package/dist/components/layout/stepper/stepper.styles.js +1 -1
  159. package/dist/components/layout/tab-group/tab-group.class.d.ts +10 -1
  160. package/dist/components/layout/tab-group/tab-group.class.js +1 -1
  161. package/dist/components/layout/tab-group/tab-group.styles.js +1 -1
  162. package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -0
  163. package/dist/components/layout/tab-group/tab-panel.class.js +1 -1
  164. package/dist/components/layout/tab-group/tab.class.d.ts +4 -0
  165. package/dist/components/layout/widget/widget.class.d.ts +1 -0
  166. package/dist/components/layout/widget/widget.styles.js +1 -1
  167. package/dist/components/lr-code-block-core.d.ts +1 -1
  168. package/dist/components/lr-code-block.d.ts +1 -1
  169. package/dist/components/lr-counter.d.ts +1 -0
  170. package/dist/components/lr-counter.js +1 -0
  171. package/dist/components/lr-lightbox-item.d.ts +1 -0
  172. package/dist/components/lr-lightbox-item.js +1 -0
  173. package/dist/components/lr-lightbox.d.ts +1 -1
  174. package/dist/components/lr-lightbox.js +1 -1
  175. package/dist/components/lr-number-ticker.d.ts +1 -0
  176. package/dist/components/lr-number-ticker.js +1 -0
  177. package/dist/components/lr-step.d.ts +1 -0
  178. package/dist/components/lr-step.js +1 -0
  179. package/dist/components/media/file-input/file-input.class.d.ts +8 -1
  180. package/dist/components/media/file-input/file-input.class.js +2 -2
  181. package/dist/components/media/file-input/file-input.styles.js +1 -1
  182. package/dist/components/media/index.d.ts +1 -1
  183. package/dist/components/media/index.js +1 -1
  184. package/dist/components/media/lightbox/lightbox-item.class.d.ts +67 -0
  185. package/dist/components/media/lightbox/lightbox-item.class.js +9 -0
  186. package/dist/components/media/lightbox/lightbox-item.styles.js +1 -0
  187. package/dist/components/media/lightbox/lightbox-source.js +1 -1
  188. package/dist/components/media/lightbox/lightbox-types.d.ts +4 -1
  189. package/dist/components/media/lightbox/lightbox.class.d.ts +123 -30
  190. package/dist/components/media/lightbox/lightbox.class.js +18 -12
  191. package/dist/components/media/lightbox/lightbox.styles.js +1 -1
  192. package/dist/components/media/map/map-anchor-avoid.js +1 -1
  193. package/dist/components/media/map/map-drawing-controller.js +1 -1
  194. package/dist/components/media/map/map.class.d.ts +137 -7
  195. package/dist/components/media/map/map.class.js +6 -6
  196. package/dist/components/media/map/map.styles.js +1 -1
  197. package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +9 -0
  198. package/dist/components/media/sequence-playback/sequence-playback.class.js +2 -2
  199. package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
  200. package/dist/components/media/video/video.class.d.ts +4 -0
  201. package/dist/components/media/video/video.class.js +2 -2
  202. package/dist/components/media/video/video.styles.js +1 -1
  203. package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +15 -0
  204. package/dist/components/media/zoomable-frame/zoomable-frame.class.js +2 -2
  205. package/dist/components/overlays/badge/badge.class.d.ts +2 -0
  206. package/dist/components/overlays/badge/badge.styles.js +1 -1
  207. package/dist/components/overlays/badge/tag.class.d.ts +2 -0
  208. package/dist/components/overlays/badge/tag.class.js +1 -1
  209. package/dist/components/overlays/chip/chip-group.class.d.ts +31 -4
  210. package/dist/components/overlays/chip/chip-group.class.js +3 -3
  211. package/dist/components/overlays/context-menu/context-menu.class.d.ts +6 -1
  212. package/dist/components/overlays/context-menu/context-menu.class.js +1 -1
  213. package/dist/components/overlays/dialog/dialog.class.d.ts +54 -6
  214. package/dist/components/overlays/dialog/dialog.class.js +3 -3
  215. package/dist/components/overlays/dialog/dialog.styles.js +1 -1
  216. package/dist/components/overlays/dialog/prompt.d.ts +60 -0
  217. package/dist/components/overlays/dialog/prompt.js +1 -0
  218. package/dist/components/overlays/drawer/drawer.class.d.ts +22 -1
  219. package/dist/components/overlays/drawer/drawer.class.js +1 -1
  220. package/dist/components/overlays/empty/empty.class.d.ts +1 -0
  221. package/dist/components/overlays/empty/empty.class.js +1 -1
  222. package/dist/components/overlays/overlay/dropdown.class.d.ts +5 -1
  223. package/dist/components/overlays/overlay/dropdown.class.js +1 -1
  224. package/dist/components/overlays/overlay/overlay.styles.js +1 -1
  225. package/dist/components/overlays/overlay/popover.class.d.ts +30 -4
  226. package/dist/components/overlays/overlay/popover.class.js +2 -2
  227. package/dist/components/overlays/overlay/tooltip.class.d.ts +7 -0
  228. package/dist/components/overlays/overlay/tooltip.class.js +4 -4
  229. package/dist/components/overlays/toast/toast-item.class.d.ts +3 -2
  230. package/dist/components/overlays/toast/toast-item.class.js +1 -1
  231. package/dist/components/overlays/toast/toast-item.styles.js +1 -1
  232. package/dist/components/overlays/toast/toast.class.d.ts +6 -0
  233. package/dist/components/overlays/toast/toast.class.js +1 -1
  234. package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +1 -1
  235. package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +1 -1
  236. package/dist/components/utility/copy-button/copy-button.class.d.ts +4 -1
  237. package/dist/components/utility/copy-button/copy-button.class.js +2 -2
  238. package/dist/components/utility/counter/counter-time.d.ts +15 -0
  239. package/dist/components/utility/counter/counter-time.js +1 -0
  240. package/dist/components/utility/counter/counter.class.d.ts +67 -0
  241. package/dist/components/utility/counter/counter.class.js +1 -0
  242. package/dist/components/utility/counter/counter.styles.js +1 -0
  243. package/dist/components/utility/divider/divider.class.d.ts +21 -3
  244. package/dist/components/utility/divider/divider.class.js +5 -1
  245. package/dist/components/utility/export-button/export-button.class.d.ts +6 -1
  246. package/dist/components/utility/export-button/export-button.styles.js +1 -1
  247. package/dist/components/utility/icon/icon-library-bootstrap.d.ts +50 -0
  248. package/dist/components/utility/icon/icon-library-bootstrap.js +1 -0
  249. package/dist/components/utility/icon/icon-library-font-awesome.d.ts +68 -0
  250. package/dist/components/utility/icon/icon-library-font-awesome.js +1 -0
  251. package/dist/components/utility/icon/icon-library.d.ts +14 -1
  252. package/dist/components/utility/icon/icon-library.js +1 -1
  253. package/dist/components/utility/icon/icon-sprite.js +1 -0
  254. package/dist/components/utility/icon/icon.class.d.ts +4 -2
  255. package/dist/components/utility/icon/icon.class.js +2 -2
  256. package/dist/components/utility/index.d.ts +1 -1
  257. package/dist/components/utility/index.js +1 -1
  258. package/dist/components/utility/known-date/known-date.class.d.ts +14 -0
  259. package/dist/components/utility/mention-popover/mention-popover.class.d.ts +1 -1
  260. package/dist/components/utility/number-ticker/number-ticker.class.d.ts +66 -0
  261. package/dist/components/utility/number-ticker/number-ticker.class.js +1 -0
  262. package/dist/components/utility/number-ticker/number-ticker.styles.js +1 -0
  263. package/dist/components/utility/tour/tour.class.d.ts +1 -1
  264. package/dist/components/viewers/include/include.class.d.ts +4 -1
  265. package/dist/components/viewers/include/include.class.js +1 -1
  266. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +10 -1
  267. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +2 -2
  268. package/dist/components/viewers/pdf-viewer/pdf-viewer.styles.js +1 -1
  269. package/dist/custom-elements-jsx.d.ts +1 -1
  270. package/dist/event-classes.d.ts +2342 -0
  271. package/dist/event-classes.js +1 -0
  272. package/dist/events.d.ts +48 -22
  273. package/dist/framework-types.d.ts +2 -2
  274. package/dist/internal/accessibility-visibility.js +1 -1
  275. package/dist/internal/all-defined-arguments.d.ts +19 -0
  276. package/dist/internal/all-defined-arguments.js +1 -0
  277. package/dist/internal/autoloader-manifest.js +1 -1
  278. package/dist/internal/autoloader-tags.d.ts +1 -1
  279. package/dist/internal/autoloader-tags.js +1 -1
  280. package/dist/internal/checked-control-label.js +1 -1
  281. package/dist/internal/component-loaders.generated.js +1 -1
  282. package/dist/internal/declarative-overlay-action.js +1 -0
  283. package/dist/internal/dedent.js +7 -0
  284. package/dist/internal/default-strings/forms.generated.js +1 -1
  285. package/dist/internal/default-strings/layout.generated.js +1 -1
  286. package/dist/internal/dev-mode-attribute-warning.development.js +1 -1
  287. package/dist/internal/document-token-css.generated.js +10 -0
  288. package/dist/internal/document-tokens.generated.js +2 -11
  289. package/dist/internal/document-tokens.js +2 -2
  290. package/dist/internal/dom-guards.js +1 -1
  291. package/dist/internal/external-label-association.js +1 -0
  292. package/dist/internal/focus-navigation.js +1 -1
  293. package/dist/internal/form-control/chrome.styles.js +1 -1
  294. package/dist/internal/form-control-labels.js +1 -1
  295. package/dist/internal/form-control.styles.js +1 -1
  296. package/dist/internal/interactive-control.styles.js +2 -2
  297. package/dist/internal/labeled-group.js +1 -1
  298. package/dist/internal/localization-runtime.d.ts +5 -0
  299. package/dist/internal/localization-runtime.js +1 -1
  300. package/dist/internal/localization-types.d.ts +1 -1
  301. package/dist/internal/localization.js +2 -2
  302. package/dist/internal/lyra-element.d.ts +11 -2
  303. package/dist/internal/lyra-element.js +2 -2
  304. package/dist/internal/lyra-event.d.ts +22 -0
  305. package/dist/internal/lyra-event.js +1 -0
  306. package/dist/internal/overlay-shared.d.ts +5 -2
  307. package/dist/internal/overlay-shared.js +1 -1
  308. package/dist/internal/package-metadata.js +1 -1
  309. package/dist/internal/root-registration-allowlist.js +1 -1
  310. package/dist/internal/scoped-definitions.generated.js +1 -1
  311. package/dist/internal/shiki/core.d.ts +4 -1
  312. package/dist/internal/shiki/tokenize.js +1 -1
  313. package/dist/internal/srcset.js +1 -0
  314. package/dist/internal/theme-observation.js +1 -1
  315. package/dist/lyra.d.ts +1 -1
  316. package/dist/lyra.js +1 -1
  317. package/dist/ssr/all.d.ts +1 -1
  318. package/dist/ssr/all.js +1 -1
  319. package/dist/ssr.d.ts +5 -5
  320. package/dist/ssr.js +1 -1
  321. package/dist/styles/native.css +1 -1
  322. package/dist/styles/palette.css +1 -0
  323. package/dist/styles/tokens-root.css +1 -1
  324. package/dist/styles/utilities.css +1 -1
  325. package/dist/svelte.d.ts +1 -1
  326. package/dist/testing/happy-dom-shims.d.ts +11 -2
  327. package/dist/testing/happy-dom-shims.js +1 -1
  328. package/dist/testing/index.d.ts +1 -1
  329. package/dist/testing/index.js +1 -1
  330. package/dist/testing/lyra-tag-event-map.d.ts +2 -2
  331. package/dist/testing/lyra-tag-event-map.js +1 -1
  332. package/dist/theme-core.css +1 -1
  333. package/dist/theme.css +1 -1
  334. package/dist/utilities/defined.d.ts +10 -1
  335. package/dist/utilities/defined.js +1 -1
  336. package/dist/utilities/form.d.ts +9 -0
  337. package/dist/utilities/form.js +1 -0
  338. package/dist/utilities/index.d.ts +1 -1
  339. package/dist/utilities/index.js +1 -1
  340. package/dist/vue.d.ts +1 -1
  341. package/llms/components/lr-app-rail.md +4 -2
  342. package/llms/components/lr-badge.md +4 -4
  343. package/llms/components/lr-bar-chart.md +1 -1
  344. package/llms/components/lr-box-plot.md +6 -1
  345. package/llms/components/lr-bubble-chart.md +1 -1
  346. package/llms/components/lr-budget-meter.md +2 -2
  347. package/llms/components/lr-button-group.md +7 -3
  348. package/llms/components/lr-button.md +11 -1
  349. package/llms/components/lr-card.md +11 -1
  350. package/llms/components/lr-chart.md +21 -7
  351. package/llms/components/lr-checkbox-group.md +11 -1
  352. package/llms/components/lr-chip.md +11 -1
  353. package/llms/components/lr-citation-badge.md +1 -1
  354. package/llms/components/lr-code-block-core.md +39 -9
  355. package/llms/components/lr-code-block.md +59 -6
  356. package/llms/components/lr-code-editor.md +11 -1
  357. package/llms/components/lr-color-picker.md +19 -6
  358. package/llms/components/lr-combobox.md +81 -9
  359. package/llms/components/lr-context-menu.md +6 -4
  360. package/llms/components/lr-copy-button.md +6 -4
  361. package/llms/components/lr-counter.md +60 -0
  362. package/llms/components/lr-country-picker.md +4 -0
  363. package/llms/components/lr-currency-picker.md +4 -0
  364. package/llms/components/lr-date-input.md +1 -1
  365. package/llms/components/lr-date-picker.md +25 -1
  366. package/llms/components/lr-details.md +6 -2
  367. package/llms/components/lr-dialog.md +101 -9
  368. package/llms/components/lr-divider.md +14 -5
  369. package/llms/components/lr-doughnut-chart.md +1 -1
  370. package/llms/components/lr-drawer.md +32 -7
  371. package/llms/components/lr-dropdown-item.md +1 -1
  372. package/llms/components/lr-dropdown.md +8 -4
  373. package/llms/components/lr-emoji-picker.md +10 -1
  374. package/llms/components/lr-empty.md +3 -2
  375. package/llms/components/lr-entity-chip.md +1 -1
  376. package/llms/components/lr-export-button.md +6 -3
  377. package/llms/components/lr-file-input.md +13 -1
  378. package/llms/components/lr-filter-bar.md +6 -2
  379. package/llms/components/lr-graph-query-builder.md +10 -1
  380. package/llms/components/lr-heatmap.md +20 -3
  381. package/llms/components/lr-histogram.md +7 -2
  382. package/llms/components/lr-icon-button.md +3 -1
  383. package/llms/components/lr-icon.md +104 -0
  384. package/llms/components/lr-include.md +3 -0
  385. package/llms/components/lr-input.md +9 -1
  386. package/llms/components/lr-known-date.md +10 -1
  387. package/llms/components/lr-lightbox-item.md +14 -0
  388. package/llms/components/lr-lightbox.md +119 -14
  389. package/llms/components/lr-line-chart.md +7 -2
  390. package/llms/components/lr-lite-chart.md +3 -2
  391. package/llms/components/lr-locale-picker.md +17 -1
  392. package/llms/components/lr-map.md +122 -11
  393. package/llms/components/lr-markdown-core.md +15 -4
  394. package/llms/components/lr-markdown.md +13 -4
  395. package/llms/components/lr-mention-popover.md +1 -1
  396. package/llms/components/lr-menu-item.md +1 -1
  397. package/llms/components/lr-menu-label.md +5 -2
  398. package/llms/components/lr-menu.md +22 -7
  399. package/llms/components/lr-model-select.md +13 -3
  400. package/llms/components/lr-native-time-input.md +11 -1
  401. package/llms/components/lr-number-input.md +11 -1
  402. package/llms/components/lr-number-ticker.md +60 -0
  403. package/llms/components/lr-otp-input.md +11 -1
  404. package/llms/components/lr-page.md +7 -1
  405. package/llms/components/lr-pagination.md +18 -0
  406. package/llms/components/lr-pdf-viewer.md +6 -1
  407. package/llms/components/lr-phone-input.md +11 -1
  408. package/llms/components/lr-pie-chart.md +1 -1
  409. package/llms/components/lr-polar-area-chart.md +1 -1
  410. package/llms/components/lr-popover.md +26 -6
  411. package/llms/components/lr-radar-chart.md +1 -1
  412. package/llms/components/lr-radio-group.md +11 -1
  413. package/llms/components/lr-rubric-form.md +7 -1
  414. package/llms/components/lr-scatter-chart.md +1 -1
  415. package/llms/components/lr-segmented.md +20 -2
  416. package/llms/components/lr-select.md +11 -3
  417. package/llms/components/lr-selection-toolbar.md +1 -1
  418. package/llms/components/lr-sequence-playback.md +8 -2
  419. package/llms/components/lr-signature-pad.md +8 -1
  420. package/llms/components/lr-slider.md +17 -4
  421. package/llms/components/lr-stat.md +20 -5
  422. package/llms/components/lr-step.md +67 -0
  423. package/llms/components/lr-stepper.md +64 -8
  424. package/llms/components/lr-suggestion-chips.md +3 -2
  425. package/llms/components/lr-switch.md +4 -3
  426. package/llms/components/lr-tab-group.md +10 -3
  427. package/llms/components/lr-tab-panel.md +2 -2
  428. package/llms/components/lr-table.md +87 -8
  429. package/llms/components/lr-tag.md +1 -1
  430. package/llms/components/lr-textarea.md +17 -1
  431. package/llms/components/lr-thread-list.md +4 -2
  432. package/llms/components/lr-time-input.md +9 -2
  433. package/llms/components/lr-time-zone-picker.md +4 -0
  434. package/llms/components/lr-timeline-item.md +1 -1
  435. package/llms/components/lr-timeline.md +47 -3
  436. package/llms/components/lr-toast-item.md +1 -1
  437. package/llms/components/lr-toast.md +8 -3
  438. package/llms/components/lr-token-input.md +68 -11
  439. package/llms/components/lr-tool-call-chip.md +1 -1
  440. package/llms/components/lr-tooltip.md +8 -3
  441. package/llms/components/lr-tree-item.md +1 -1
  442. package/llms/components/lr-tree.md +2 -1
  443. package/llms/components/lr-unit-picker.md +4 -0
  444. package/llms/components/lr-usage-badge.md +1 -1
  445. package/llms/components/lr-video.md +5 -4
  446. package/llms/components/lr-voice-picker.md +10 -2
  447. package/llms/components/lr-widget.md +2 -2
  448. package/llms/components/lr-zoomable-frame.md +8 -0
  449. package/llms/index.md +205 -201
  450. package/llms/migration.md +103 -16
  451. package/llms/peers.md +3 -3
  452. package/llms/shared/events-and-types.md +36 -0
  453. package/llms/shared/forms-and-accessibility.md +4 -1
  454. package/llms/shared/frameworks-and-ssr.md +10 -1
  455. package/llms/shared/imports-and-registration.md +68 -2
  456. package/llms/shared/localization-and-rtl.md +5 -0
  457. package/llms/shared/native-styles-and-utilities.md +142 -7
  458. package/llms/shared/styles-and-tokens.md +60 -6
  459. package/llms/shared/testing-and-utilities.md +30 -0
  460. package/llms/shared.md +354 -17
  461. package/llms/tokens.md +6 -1
  462. package/llms.txt +3 -3
  463. package/locales.json +1 -1
  464. package/package.json +48 -10
  465. package/registrations.json +1 -1
  466. package/skills/compose-lyra-interfaces/SKILL.md +1 -1
  467. package/skills/lyra-ui/SKILL.md +1 -1
  468. package/skills/lyra-ui/commands/migrate.md +1 -1
@@ -123,7 +123,10 @@ src:string;private _mode;
123
123
  get mode():LyraIncludeMode;set mode(next:LyraIncludeMode);
124
124
  /** Opts out of sharing bounded, sanitized remote resources with matching Include requests: no
125
125
  * retained values and no in-flight deduplication. By default they are shared. */
126
- withoutCache:boolean;private generation;private resourceLease?;private readonly clonePrefix;protected textContentRoot():Element|null;protected updated(changed:PropertyValues):void;connectedCallback():void;private readonly detached;disconnectedCallback():void;adoptedCallback():void;
126
+ withoutCache:boolean;
127
+ /** Includes the whole sanitized remote document and ignores the hash in `src`. No effect on a
128
+ * same-page `#id` source. The fetched markup is sanitized exactly as for a fragment. */
129
+ withoutFragment:boolean;private generation;private resourceLease?;private readonly clonePrefix;protected textContentRoot():Element|null;protected updated(changed:PropertyValues):void;connectedCallback():void;private readonly detached;disconnectedCallback():void;adoptedCallback():void;
127
130
  /** Invalidates this remote source's retained value and loads it again. Same-page fragments are
128
131
  * simply cloned again from their current source DOM. */
129
132
  reload():Promise<void>;private get effectiveMode();private resolveSource;private releaseResourceLease;private sanitizeSamePage;private fragmentFromSanitized;private rebaseFragmentIds;private load;private fail;private emitError;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-include':LyraInclude;}}
@@ -1 +1 @@
1
- import{__decorate}from"tslib";import{isShadowRootNode}from"../../../internal/dom-guards.js";import{html}from"lit";import{property}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{srOnly}from"../../../internal/a11y.js";import{literalSetConverter}from"../../../internal/converters.js";import{TextViewerTarget}from"../../../internal/text-viewer-target.js";import{resolveOwnerFetchTarget}from"../../../internal/resource-loader.js";import{loadDompurify}from"../../../internal/dompurify-loader.js";import{acquireSanitizedIncludeResource,IncludeResourceError,invalidateIncludeResource,MAX_INCLUDE_BYTES}from"./include-resource.js";import{css as lyraStaticStyleCss}from"lit";const styles=lyraStaticStyleCss`:host,[part=base]{display:contents}`;import{sanitizePassiveMarkup}from"../../../internal/passive-markup.js";import{DeferredTeardown}from"../../../internal/deferred-teardown.js";import{LYRA_DEFAULT_anchorJumped,LYRA_DEFAULT_anchorJumpedToPage,LYRA_DEFAULT_anchorNotFound}from"../../../internal/default-strings/shared.generated.js";const INCLUDE_MODE=literalSetConverter(["cors","no-cors","same-origin"],"same-origin");class LyraIncludeBase extends LyraElement{}const ID_REFERENCE_ATTRIBUTES=["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for","form","headers","list"];let nextClonePrefix=0;function decodedFragment(hash){const encoded=hash.startsWith("#")?hash.slice(1):hash;try{return decodeURIComponent(encoded)}catch{return encoded}}function isTemplateElement(element){return element.localName==="template"&&"content"in element}function allElements(root){const elements=[...root.querySelectorAll("*")];for(const template of elements.filter(isTemplateElement))elements.push(...allElements(template.content));return elements}function elementWithId(root,id){for(const element of allElements(root))if(element.id===id)return element;return null}class LyraInclude extends TextViewerTarget(LyraIncludeBase){constructor(){super(...arguments),this.src="",this._mode="same-origin",this.withoutCache=!1,this.generation=0,this.clonePrefix=`include-fragment-${++nextClonePrefix}`,this.detached=new DeferredTeardown(()=>{this.generation++,this.releaseResourceLease(),this.setAttribute("aria-busy","false")})}static{this.defaultStrings={...super.defaultStrings,anchorJumped:LYRA_DEFAULT_anchorJumped,anchorJumpedToPage:LYRA_DEFAULT_anchorJumpedToPage,anchorNotFound:LYRA_DEFAULT_anchorNotFound}}static{this.styles=[LyraElement.styles,styles,srOnly]}get mode(){return this._mode}set mode(next){const normalized=INCLUDE_MODE.normalizeReflected(this,"mode",next),old=this._mode;old!==normalized&&(this._mode=normalized,this.requestUpdate("mode",old))}textContentRoot(){return this}updated(changed){super.updated(changed),(changed.has("src")||changed.has("mode")||changed.has("withoutCache"))&&this.scheduleAfterUpdate(()=>{this.load()})}connectedCallback(){super.connectedCallback(),!this.detached.cancel()&&(this.setAttribute("aria-busy","false"),this.hasUpdated&&this.src&&this.scheduleAfterUpdate(()=>{this.load()}))}disconnectedCallback(){super.disconnectedCallback(),this.detached.schedule()}adoptedCallback(){super.adoptedCallback(),this.detached.flush()}async reload(){const source=this.resolveSource();source?.kind==="remote"&&invalidateIncludeResource(source.url,this.effectiveMode,source.owner),await this.load()}get effectiveMode(){return this.mode}resolveSource(){const value=this.src.trim();if(!value)return null;if(value.startsWith("#"))return{kind:"same-page",fragment:decodedFragment(value)};const target=resolveOwnerFetchTarget(this,value);if(!target)return null;try{const parsed=new target.view.URL(target.url),fragment=decodedFragment(parsed.hash);return parsed.hash="",{kind:"remote",url:parsed.href,fragment,owner:target.view}}catch{return null}}releaseResourceLease(){this.resourceLease?.release(),this.resourceLease=void 0}async sanitizeSamePage(source,generation){const markup=source.innerHTML;if(new TextEncoder().encode(markup).byteLength>MAX_INCLUDE_BYTES)return this.fail(0,"resource-too-large"),null;const sanitizer=await loadDompurify();return!this.isConnected||generation!==this.generation?null:sanitizer?sanitizePassiveMarkup(sanitizer,markup,this.ownerDocument,"transclusion"):(this.fail(0,"missing-sanitizer"),null)}fragmentFromSanitized(markup,fragmentId){const template=this.ownerDocument.createElement("template");template.innerHTML=markup;let output=template.content;if(fragmentId){const target=elementWithId(output,fragmentId);if(!target)return null;const parent=isTemplateElement(target)?target.content:target;for(output=this.ownerDocument.createDocumentFragment();parent.firstChild;)output.append(parent.firstChild)}return this.rebaseFragmentIds(output),output}rebaseFragmentIds(fragment){const idMap=new Map;let index=0;const elements=allElements(fragment);for(const element of elements){if(element.removeAttribute("name"),!element.id)continue;const original=element.id,next=`${this.clonePrefix}-${++index}`;idMap.has(original)||idMap.set(original,next),element.id=next}for(const element of elements){for(const attribute of ID_REFERENCE_ATTRIBUTES){if(!element.hasAttribute(attribute))continue;const replacements=element.getAttribute(attribute).split(/\s+/).filter(Boolean).map(token=>idMap.get(token)).filter(token=>!!token);replacements.length>0?element.setAttribute(attribute,replacements.join(" ")):element.removeAttribute(attribute)}for(const attribute of["href","xlink:href"]){const value=element.getAttribute(attribute);if(!value)continue;if(!value.startsWith("#")){element.removeAttribute(attribute);continue}const replacement=idMap.get(decodedFragment(value));replacement?element.setAttribute(attribute,`#${replacement}`):element.removeAttribute(attribute)}for(const attribute of element.getAttributeNames()){const value=element.getAttribute(attribute)??"";if(!/url\s*\(/i.test(value))continue;const match=/^\s*url\(\s*(['"]?)#([A-Za-z_][\w:.-]*)\1\s*\)\s*$/i.exec(value),replacement=match?idMap.get(match[2]):void 0;replacement?element.setAttribute(attribute,`url(#${replacement})`):element.removeAttribute(attribute)}}}async load(){const generation=++this.generation;this.releaseResourceLease(),this.setAttribute("aria-busy","false");const src=this.src;if(!src?.trim()||!this.isConnected)return;const source=this.resolveSource();if(!source){this.emitError({status:0,reason:"blocked-url"});return}this.setAttribute("aria-busy","true");let lease;try{let markup,fragmentId=source.fragment;if(source.kind==="same-page"){const root=this.getRootNode(),target=(isShadowRootNode(root)?root.getElementById(source.fragment):null)??this.ownerDocument.getElementById(source.fragment);if(!target){this.fail(0,"missing-fragment");return}markup=await this.sanitizeSamePage(target,generation),fragmentId=""}else lease=acquireSanitizedIncludeResource(source.url,this.effectiveMode,!this.withoutCache,source.owner),this.resourceLease=lease,markup=await lease.promise;if(markup==null||!this.isConnected||generation!==this.generation||source.kind==="remote"&&this.ownerDocument.defaultView!==source.owner)return;const fragment=this.fragmentFromSanitized(markup,fragmentId);if(!fragment){this.fail(0,"missing-fragment");return}if(generation!==this.generation||!this.isConnected||source.kind==="remote"&&this.ownerDocument.defaultView!==source.owner)return;this.replaceChildren(fragment),this.requestUpdate(),this.setAttribute("aria-busy","false"),this.emit("lr-load",{src})}catch(error){if(!this.isConnected||generation!==this.generation||source.kind==="remote"&&this.ownerDocument.defaultView!==source.owner)return;error instanceof IncludeResourceError?this.fail(error.status,error.reason,error.cause??error):this.fail(0,"network",error)}finally{this.resourceLease===lease&&(this.resourceLease=void 0),lease?.release()}}fail(status,reason,error){this.setAttribute("aria-busy","false"),this.emitError({status,reason,error})}emitError(detail){const{generation,src,mode,withoutCache}=this;this.emit("lr-include-error",detail),this.isConnected&&this.generation===generation&&this.src===src&&this.mode===mode&&this.withoutCache===withoutCache&&this.emit("lr-error",detail)}render(){return html`<span part="base"><slot></slot></span>${this.renderAnchorLiveRegion()}`}}__decorate([property({reflect:!0})],LyraInclude.prototype,"src",void 0),__decorate([property({reflect:!0,converter:INCLUDE_MODE})],LyraInclude.prototype,"mode",null),__decorate([property({type:Boolean,attribute:"without-cache"})],LyraInclude.prototype,"withoutCache",void 0);export{LyraInclude};
1
+ import{__decorate}from"tslib";import{isShadowRootNode}from"../../../internal/dom-guards.js";import{html}from"lit";import{property}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{srOnly}from"../../../internal/a11y.js";import{literalSetConverter}from"../../../internal/converters.js";import{TextViewerTarget}from"../../../internal/text-viewer-target.js";import{resolveOwnerFetchTarget}from"../../../internal/resource-loader.js";import{loadDompurify}from"../../../internal/dompurify-loader.js";import{acquireSanitizedIncludeResource,IncludeResourceError,invalidateIncludeResource,MAX_INCLUDE_BYTES}from"./include-resource.js";import{css as lyraStaticStyleCss}from"lit";const styles=lyraStaticStyleCss`:host,[part=base]{display:contents}`;import{sanitizePassiveMarkup}from"../../../internal/passive-markup.js";import{DeferredTeardown}from"../../../internal/deferred-teardown.js";import{LYRA_DEFAULT_anchorJumped,LYRA_DEFAULT_anchorJumpedToPage,LYRA_DEFAULT_anchorNotFound}from"../../../internal/default-strings/shared.generated.js";const INCLUDE_MODE=literalSetConverter(["cors","no-cors","same-origin"],"same-origin");class LyraIncludeBase extends LyraElement{}const ID_REFERENCE_ATTRIBUTES=["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for","form","headers","list"];let nextClonePrefix=0;function decodedFragment(hash){const encoded=hash.startsWith("#")?hash.slice(1):hash;try{return decodeURIComponent(encoded)}catch{return encoded}}function isTemplateElement(element){return element.localName==="template"&&"content"in element}function allElements(root){const elements=[...root.querySelectorAll("*")];for(const template of elements.filter(isTemplateElement))elements.push(...allElements(template.content));return elements}function elementWithId(root,id){for(const element of allElements(root))if(element.id===id)return element;return null}class LyraInclude extends TextViewerTarget(LyraIncludeBase){constructor(){super(...arguments),this.src="",this._mode="same-origin",this.withoutCache=!1,this.withoutFragment=!1,this.generation=0,this.clonePrefix=`include-fragment-${++nextClonePrefix}`,this.detached=new DeferredTeardown(()=>{this.generation++,this.releaseResourceLease(),this.setAttribute("aria-busy","false")})}static{this.defaultStrings={...super.defaultStrings,anchorJumped:LYRA_DEFAULT_anchorJumped,anchorJumpedToPage:LYRA_DEFAULT_anchorJumpedToPage,anchorNotFound:LYRA_DEFAULT_anchorNotFound}}static{this.styles=[LyraElement.styles,styles,srOnly]}get mode(){return this._mode}set mode(next){const normalized=INCLUDE_MODE.normalizeReflected(this,"mode",next),old=this._mode;old!==normalized&&(this._mode=normalized,this.requestUpdate("mode",old))}textContentRoot(){return this}updated(changed){super.updated(changed),(changed.has("src")||changed.has("mode")||changed.has("withoutCache")||changed.has("withoutFragment"))&&this.scheduleAfterUpdate(()=>{this.load()})}connectedCallback(){super.connectedCallback(),!this.detached.cancel()&&(this.setAttribute("aria-busy","false"),this.hasUpdated&&this.src&&this.scheduleAfterUpdate(()=>{this.load()}))}disconnectedCallback(){super.disconnectedCallback(),this.detached.schedule()}adoptedCallback(){super.adoptedCallback(),this.detached.flush()}async reload(){const source=this.resolveSource();source?.kind==="remote"&&invalidateIncludeResource(source.url,this.effectiveMode,source.owner),await this.load()}get effectiveMode(){return this.mode}resolveSource(){const value=this.src.trim();if(!value)return null;if(value.startsWith("#"))return{kind:"same-page",fragment:decodedFragment(value)};const target=resolveOwnerFetchTarget(this,value);if(!target)return null;try{const parsed=new target.view.URL(target.url),fragment=this.withoutFragment?"":decodedFragment(parsed.hash);return parsed.hash="",{kind:"remote",url:parsed.href,fragment,owner:target.view}}catch{return null}}releaseResourceLease(){this.resourceLease?.release(),this.resourceLease=void 0}async sanitizeSamePage(source,generation){const markup=source.innerHTML;if(new TextEncoder().encode(markup).byteLength>MAX_INCLUDE_BYTES)return this.fail(0,"resource-too-large"),null;const sanitizer=await loadDompurify();return!this.isConnected||generation!==this.generation?null:sanitizer?sanitizePassiveMarkup(sanitizer,markup,this.ownerDocument,"transclusion"):(this.fail(0,"missing-sanitizer"),null)}fragmentFromSanitized(markup,fragmentId){const template=this.ownerDocument.createElement("template");template.innerHTML=markup;let output=template.content;if(fragmentId){const target=elementWithId(output,fragmentId);if(!target)return null;const parent=isTemplateElement(target)?target.content:target;for(output=this.ownerDocument.createDocumentFragment();parent.firstChild;)output.append(parent.firstChild)}return this.rebaseFragmentIds(output),output}rebaseFragmentIds(fragment){const idMap=new Map;let index=0;const elements=allElements(fragment);for(const element of elements){if(element.removeAttribute("name"),!element.id)continue;const original=element.id,next=`${this.clonePrefix}-${++index}`;idMap.has(original)||idMap.set(original,next),element.id=next}for(const element of elements){for(const attribute of ID_REFERENCE_ATTRIBUTES){if(!element.hasAttribute(attribute))continue;const replacements=element.getAttribute(attribute).split(/\s+/).filter(Boolean).map(token=>idMap.get(token)).filter(token=>!!token);replacements.length>0?element.setAttribute(attribute,replacements.join(" ")):element.removeAttribute(attribute)}for(const attribute of["href","xlink:href"]){const value=element.getAttribute(attribute);if(!value)continue;if(!value.startsWith("#")){element.removeAttribute(attribute);continue}const replacement=idMap.get(decodedFragment(value));replacement?element.setAttribute(attribute,`#${replacement}`):element.removeAttribute(attribute)}for(const attribute of element.getAttributeNames()){const value=element.getAttribute(attribute)??"";if(!/url\s*\(/i.test(value))continue;const match=/^\s*url\(\s*(['"]?)#([A-Za-z_][\w:.-]*)\1\s*\)\s*$/i.exec(value),replacement=match?idMap.get(match[2]):void 0;replacement?element.setAttribute(attribute,`url(#${replacement})`):element.removeAttribute(attribute)}}}async load(){const generation=++this.generation;this.releaseResourceLease(),this.setAttribute("aria-busy","false");const src=this.src;if(!src?.trim()||!this.isConnected)return;const source=this.resolveSource();if(!source){this.emitError({status:0,reason:"blocked-url"});return}this.setAttribute("aria-busy","true");let lease;try{let markup,fragmentId=source.fragment;if(source.kind==="same-page"){const root=this.getRootNode(),target=(isShadowRootNode(root)?root.getElementById(source.fragment):null)??this.ownerDocument.getElementById(source.fragment);if(!target){this.fail(0,"missing-fragment");return}markup=await this.sanitizeSamePage(target,generation),fragmentId=""}else lease=acquireSanitizedIncludeResource(source.url,this.effectiveMode,!this.withoutCache,source.owner),this.resourceLease=lease,markup=await lease.promise;if(markup==null||!this.isConnected||generation!==this.generation||source.kind==="remote"&&this.ownerDocument.defaultView!==source.owner)return;const fragment=this.fragmentFromSanitized(markup,fragmentId);if(!fragment){this.fail(0,"missing-fragment");return}if(generation!==this.generation||!this.isConnected||source.kind==="remote"&&this.ownerDocument.defaultView!==source.owner)return;this.replaceChildren(fragment),this.requestUpdate(),this.setAttribute("aria-busy","false"),this.emit("lr-load",{src})}catch(error){if(!this.isConnected||generation!==this.generation||source.kind==="remote"&&this.ownerDocument.defaultView!==source.owner)return;error instanceof IncludeResourceError?this.fail(error.status,error.reason,error.cause??error):this.fail(0,"network",error)}finally{this.resourceLease===lease&&(this.resourceLease=void 0),lease?.release()}}fail(status,reason,error){this.setAttribute("aria-busy","false"),this.emitError({status,reason,error})}emitError(detail){const{generation,src,mode,withoutCache}=this;this.emit("lr-include-error",detail),this.isConnected&&this.generation===generation&&this.src===src&&this.mode===mode&&this.withoutCache===withoutCache&&this.emit("lr-error",detail)}render(){return html`<span part="base"><slot></slot></span>${this.renderAnchorLiveRegion()}`}}__decorate([property({reflect:!0})],LyraInclude.prototype,"src",void 0),__decorate([property({reflect:!0,converter:INCLUDE_MODE})],LyraInclude.prototype,"mode",null),__decorate([property({type:Boolean,attribute:"without-cache"})],LyraInclude.prototype,"withoutCache",void 0),__decorate([property({type:Boolean,attribute:"without-fragment"})],LyraInclude.prototype,"withoutFragment",void 0);export{LyraInclude};
@@ -78,7 +78,7 @@ export interface PdfOutlineItem{title:string;page?:number;children?:PdfOutlineIt
78
78
  * document-level assertive region.
79
79
  * @csspart spinner - The shared loading treatment; transitions announce through the shared
80
80
  * document-level polite region.
81
- * @cssprop [--lr-pdf-viewer-height=var(--lr-size-24rem)] - Block size of the virtualized page list.
81
+ * @cssprop [--lr-pdf-viewer-height=var(--lr-size-24rem)] - Block size of the virtualized page list. Ignored while `fill` is set.
82
82
  * Also settable via the `max-height` property, which sets this fixed height (not a cap).
83
83
  * @cssprop [--lr-pdf-viewer-toolbar-bg=var(--lr-color-brand-quiet)] - Background of the `toolbar`
84
84
  * part, independent of the shared `--lr-color-brand-quiet` token.
@@ -111,6 +111,15 @@ zoom:number;
111
111
  * consumer to set the differently-named CSS custom property inline. Unlike those siblings it
112
112
  * sets a fixed height, not a cap. Invalid values are ignored. */
113
113
  maxHeight:string;
114
+ /**
115
+ * Fills a parent with a definite block size (a dialog body, a sized flex column, a grid cell):
116
+ * the host takes `block-size: 100%`, the toolbar keeps its own height, and the virtualized page
117
+ * list takes the rest and becomes the single scroller. It replaces the fixed
118
+ * `--lr-pdf-viewer-height` / `max-height` page-list size while set. Without it the page list keeps
119
+ * that fixed size and the viewer sits at its content height. Needs a definite parent height:
120
+ * like any percentage, `block-size: 100%` resolves to `auto` against an auto-height parent.
121
+ */
122
+ fill:boolean;
114
123
  /** URL of the `pdfjs-dist` web worker chunk (`pdfjs-dist/build/pdf.worker.min.mjs`) as emitted by
115
124
  * the consuming application's own bundler. PDF.js rejects every `getDocument()` call with
116
125
  * `No "GlobalWorkerOptions.workerSrc" specified.` until a worker is configured, and a bare package
@@ -1,5 +1,5 @@
1
1
  import{__decorate}from"tslib";import{html,nothing}from"lit";import{property,state}from"lit/decorators.js";import{ref}from"lit/directives/ref.js";import{styleMap}from"lit/directives/style-map.js";import{LyraElement}from"../../../internal/lyra-element.js";import{tag}from"../../../internal/prefix.js";import{invalidateLyraLocaleCache}from"../../../internal/localization-runtime.js";import{finiteCount,finiteNumber,finiteRange}from"../../../internal/numbers.js";import{resolveBoundedCanvasAllocation}from"../../../internal/canvas.js";import{renderViewerLoading,viewerLoadingStyles}from"../viewer-loading.js";import{isPdfRenderCancellation,LyraUserFacingError,resolveOwnerFetchTarget}from"../../../internal/resource-loader.js";import{viewerFailureMessage}from"../../../internal/viewer-failure-message.js";import{srOnly}from"../../../internal/a11y.js";import{motionScrollBehavior}from"../../../internal/motion.js";import{sanitizeCssLength,sanitizePercentRect}from"../../../internal/safe-css.js";import{DocumentAnchorTargetBase as DocumentAnchorTarget,prioritizedHighlightCandidates}from"../../../internal/anchor-target-base.js";import{normalizeQuoteText,scopeFromItems,buildQuoteAnchor,rangeFromTextQuoteMatch,rangesFromTextQuoteMatches,TEXT_QUOTE_LIMITS}from"../../../internal/text-quote.js";import{createTextQuoteIndex}from"../../../internal/text-quote-index.js";import{PageViewerSnapshotController}from"../page-rail/page-viewer-snapshot.js";import{ViewerAnnouncementController}from"../viewer-announcements.js";import{normalizeLabel}from"../../../internal/accessible-name.js";import{DeferredTeardown}from"../../../internal/deferred-teardown.js";import{ViewerSourceController,ViewerSourceUrlNotAllowedError}from"../../../internal/viewer-source-controller.js";import{boundedViewerSearchQuery,VIEWER_SEARCH_MATCH_LIMIT,VIEWER_PAINTED_HIGHLIGHT_LIMIT,VIEWER_PAGE_COUNT_LIMIT}from"../viewer-search-limits.js";import{viewerSemanticLabel,viewerSemanticRole}from"../viewer-semantic-owner.js";import{loadPdfJs}from"./pdf-loader.js";import{styles}from"./pdf-viewer.styles.js";import{viewerFrameStyles}from"../viewer-frame.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{ViewerSearchState}from"../../../internal/viewer-search.js";import{wrapTextRangeInMarks,unwrapTextMark}from"../../../internal/text-highlights.js";import{shadowFocusTarget}from"../../../internal/active-element.js";import{blankNumberConverter}from"../../../internal/converters.js";import{LYRA_DEFAULT_anchorJumped,LYRA_DEFAULT_anchorJumpedToPage,LYRA_DEFAULT_anchorNotFound,LYRA_DEFAULT_documentPreviewEmpty,LYRA_DEFAULT_pdfViewerCurrentZoom,LYRA_DEFAULT_viewerSearchActiveMatch,LYRA_DEFAULT_viewerSearchMatchCount,LYRA_DEFAULT_viewerSearchNoMatches}from"../../../internal/default-strings/shared.generated.js";import{LYRA_DEFAULT_documentPreviewFailedToLoad,LYRA_DEFAULT_documentPreviewResourceTooLarge,LYRA_DEFAULT_documentPreviewTypeDocument,LYRA_DEFAULT_documentPreviewUrlNotAllowed,LYRA_DEFAULT_loadingDocument,LYRA_DEFAULT_pdfViewerLabel,LYRA_DEFAULT_pdfViewerMissingLibrary,LYRA_DEFAULT_pdfViewerNextPage,LYRA_DEFAULT_pdfViewerPageFailed,LYRA_DEFAULT_pdfViewerPageHighlights,LYRA_DEFAULT_pdfViewerPageOf,LYRA_DEFAULT_pdfViewerPreviousPage,LYRA_DEFAULT_pdfViewerZoomIn,LYRA_DEFAULT_pdfViewerZoomOut}from"../../../internal/default-strings/viewers.generated.js";const MIN_ZOOM=.25,MAX_ZOOM=4,ZOOM_STEP=.25,MAX_PDF_CANVAS_PIXELS=16777216,MAX_PDF_CANVAS_DIMENSION=16384,TOOLBAR_FOCUS_TWINS=new Map([["previous-button","next-button"],["next-button","previous-button"],["zoom-out-button","zoom-in-button"],["zoom-in-button","zoom-out-button"]]),PAGE_TEXT_CACHE_LIMIT=64,PAGE_SEARCH_INDEX_CACHE_LIMIT=8,DEFAULT_THUMBNAIL_WIDTH=96,MAX_THUMBNAIL_WIDTH=2048,MAX_PAINTED_SEARCH_MATCHES=200,MAX_PAINTED_SEARCH_MARKS=200,MAX_HIGHLIGHT_RESOLUTION_ATTEMPTS=1e3,MAX_HIGHLIGHT_RECTS=1e3,MAX_SEARCH_PAGES=1e3,MAX_OUTLINE_ITEMS=1e4,MAX_OUTLINE_DEPTH=100,MAX_PDF_TEXT_CHUNKS=TEXT_QUOTE_LIMITS.maxNodes;function isReadablePdfTextStream(value){return(typeof value=="object"||typeof value=="function")&&value!==null&&"getReader"in value&&typeof value.getReader=="function"}function appendPdfTextItems(items,accumulator){if(Array.isArray(items))for(let index=0;index<items.length;index++){if(accumulator.inspectedItems>=TEXT_QUOTE_LIMITS.maxNodes){accumulator.truncated=!0;return}accumulator.inspectedItems++;const item=items[index],value=item&&typeof item=="object"&&"str"in item&&typeof item.str=="string"?item.str:"",separator=item&&typeof item=="object"&&"hasEOL"in item&&item.hasEOL===!0?`
2
- `:" ",remaining=TEXT_QUOTE_LIMITS.maxNodeCodeUnits-accumulator.length,retained=value.slice(0,remaining);if(accumulator.chunks.push(retained),accumulator.length+=retained.length,retained.length!==value.length){accumulator.truncated=!0;return}if(accumulator.length>=TEXT_QUOTE_LIMITS.maxNodeCodeUnits){accumulator.truncated=!0;return}accumulator.chunks.push(separator),accumulator.length++}}function boundedPdfTextLayerChunk(value,budget){if(!value||typeof value!="object"||!("items"in value)||!Array.isArray(value.items))return{value,exhausted:!1};const source=value,items=[];let inspected=0;for(;inspected<source.items.length&&budget.remainingItems>0&&budget.remainingCodeUnits>0;){const item=source.items[inspected++];if(!item||typeof item!="object"){items.push(item),budget.remainingItems--;continue}const text="str"in item&&typeof item.str=="string"?item.str:void 0;if(text!==void 0&&text.length>budget.remainingCodeUnits){const retained=text.slice(0,budget.remainingCodeUnits);if(retained){const record=item;items.push({str:retained,dir:record.dir,width:record.width,height:record.height,transform:record.transform,fontName:record.fontName,hasEOL:record.hasEOL}),budget.remainingItems--}budget.remainingCodeUnits=0;break}items.push(item),budget.remainingItems--,text!==void 0&&(budget.remainingCodeUnits-=text.length)}const styles2=Object.create(null);if(source.styles&&typeof source.styles=="object"){const sourceStyles=source.styles;for(const[fontName,style]of Object.entries(sourceStyles))style!==void 0&&(styles2[fontName]=style)}return{value:{items,styles:styles2,lang:source.lang},exhausted:inspected<source.items.length||budget.remainingItems<=0||budget.remainingCodeUnits<=0}}function singleChunkPdfTextStream(value){return new ReadableStream({start(controller){value!==void 0&&controller.enqueue(value),controller.close()}})}function boundedPdfTextLayerSource(source){const budget={remainingItems:TEXT_QUOTE_LIMITS.maxNodes,remainingCodeUnits:TEXT_QUOTE_LIMITS.maxNodeCodeUnits};if(typeof ReadableStream>"u")return;if(!isReadablePdfTextStream(source)){const bounded=boundedPdfTextLayerChunk(source,budget),hasBoundedItems=bounded.value&&typeof bounded.value=="object"&&"items"in bounded.value&&Array.isArray(bounded.value.items);return singleChunkPdfTextStream(hasBoundedItems?bounded.value:void 0)}const reader=source.getReader();let chunks=0,closed=!1;return new ReadableStream({async pull(controller){if(!closed)try{const result=await reader.read();if(result.done){closed=!0,controller.close();return}chunks++;const bounded=boundedPdfTextLayerChunk(result.value,budget);controller.enqueue(bounded.value),(bounded.exhausted||chunks>=MAX_PDF_TEXT_CHUNKS)&&(closed=!0,reader.cancel().catch(()=>{}),controller.close())}catch(error){closed=!0,controller.error(error)}},cancel(reason){return closed=!0,reader.cancel(reason).then(()=>{},()=>{})}})}function clampZoom(value){return finiteRange(value,1,MIN_ZOOM,MAX_ZOOM)}function boundedPdfCanvas(canvas,viewport){return resolveBoundedCanvasAllocation({cssWidth:viewport.width,cssHeight:viewport.height,desiredScale:canvas.ownerDocument.defaultView?.devicePixelRatio||1,maxDimension:MAX_PDF_CANVAS_DIMENSION,maxPixels:MAX_PDF_CANVAS_PIXELS})}function wrapPdfSearchRange(range,part,budget){const doc=range.startContainer.ownerDocument;return doc?wrapTextRangeInMarks(range,doc,budget,mark=>mark.setAttribute("part",part)):[]}class LyraPdfViewerBase extends LyraElement{}class LyraPdfViewer extends DocumentAnchorTarget(LyraPdfViewerBase){constructor(){super(...arguments),this.src="",this.name="",this.page=1,this.zoom=1,this.maxHeight="",this.workerSrc="",this.anchorKinds=["page","text-quote","region"],this.loadState={kind:"idle"},this.pageViewerState=new PageViewerSnapshotController,this.scrollDrivenPage=!1,this.firstVisiblePage=1,this.loadLibrary=loadPdfJs,this.loadSrc="",this.source=new ViewerSourceController(this,{load:(response,token)=>this.parseDocument(response,token),onError:(error,token)=>this.reportLoadError(error,token),retainAcrossMove:()=>this.pendingTransport===void 0}),this.pageCanvases=new Map,this.pageRenderTasks=new Map,this.pageRenderVersions=new Map,this.pageRenderGeneration=0,this.pageCanvasRefs=new Map,this.textLayerContainers=new Map,this.textLayerContainerRefs=new Map,this.textLayers=new Map,this.textLayerReadyPromises=new Map,this.pageTextCache=new Map,this.pageTextTruncated=new Set,this.pageSearchIndexes=new Map,this.failedPageFallbacks=new Set,this.announcedPageFailures=new Set,this.searchCorpus=new Map,this.searchCorpusCodeUnits=0,this.mountedPageTextIndexes=new Map,this.pdfTextScopeBuilds=0,this.thumbnailRenderTasks=new Map,this.thumbnailRenderVersions=new Map,this.thumbnailRenderGeneration=0,this.pageHighlightItems=new Map,this.pageHighlightLayerElements=new Map,this.highlightLayerRefs=new Map,this.pendingPageMountWaitCancels=new Set,this.pdfPageSourceCount=-1,this.pdfPageSource=this.createPageSource(0),this.searchState=new ViewerSearchState(()=>[],detail=>this.emit("lr-search-change",detail),()=>this.requestUpdate()),this.searchGeneration=0,this.pendingSearchResetEvent=!1,this.anchorOperationGeneration=0,this.announcements=new ViewerAnnouncementController(this),this.focusedToolbarPart=null,this.detached=new DeferredTeardown(()=>this.teardownDetachedDocument()),this.onHighlightLayerActivate=event=>{event.stopPropagation(),this.emit("lr-highlight-activate",event.detail)},this.renderPageItem=pageNumber=>{const number=pageNumber,highlightTransform=this.effectiveDirection==="rtl"?"50%":"-50%";return html`<div part="page" @click=${e=>this.onPageClick(number,e)}>
2
+ `:" ",remaining=TEXT_QUOTE_LIMITS.maxNodeCodeUnits-accumulator.length,retained=value.slice(0,remaining);if(accumulator.chunks.push(retained),accumulator.length+=retained.length,retained.length!==value.length){accumulator.truncated=!0;return}if(accumulator.length>=TEXT_QUOTE_LIMITS.maxNodeCodeUnits){accumulator.truncated=!0;return}accumulator.chunks.push(separator),accumulator.length++}}function boundedPdfTextLayerChunk(value,budget){if(!value||typeof value!="object"||!("items"in value)||!Array.isArray(value.items))return{value,exhausted:!1};const source=value,items=[];let inspected=0;for(;inspected<source.items.length&&budget.remainingItems>0&&budget.remainingCodeUnits>0;){const item=source.items[inspected++];if(!item||typeof item!="object"){items.push(item),budget.remainingItems--;continue}const text="str"in item&&typeof item.str=="string"?item.str:void 0;if(text!==void 0&&text.length>budget.remainingCodeUnits){const retained=text.slice(0,budget.remainingCodeUnits);if(retained){const record=item;items.push({str:retained,dir:record.dir,width:record.width,height:record.height,transform:record.transform,fontName:record.fontName,hasEOL:record.hasEOL}),budget.remainingItems--}budget.remainingCodeUnits=0;break}items.push(item),budget.remainingItems--,text!==void 0&&(budget.remainingCodeUnits-=text.length)}const styles2=Object.create(null);if(source.styles&&typeof source.styles=="object"){const sourceStyles=source.styles;for(const[fontName,style]of Object.entries(sourceStyles))style!==void 0&&(styles2[fontName]=style)}return{value:{items,styles:styles2,lang:source.lang},exhausted:inspected<source.items.length||budget.remainingItems<=0||budget.remainingCodeUnits<=0}}function singleChunkPdfTextStream(value){return new ReadableStream({start(controller){value!==void 0&&controller.enqueue(value),controller.close()}})}function boundedPdfTextLayerSource(source){const budget={remainingItems:TEXT_QUOTE_LIMITS.maxNodes,remainingCodeUnits:TEXT_QUOTE_LIMITS.maxNodeCodeUnits};if(typeof ReadableStream>"u")return;if(!isReadablePdfTextStream(source)){const bounded=boundedPdfTextLayerChunk(source,budget),hasBoundedItems=bounded.value&&typeof bounded.value=="object"&&"items"in bounded.value&&Array.isArray(bounded.value.items);return singleChunkPdfTextStream(hasBoundedItems?bounded.value:void 0)}const reader=source.getReader();let chunks=0,closed=!1;return new ReadableStream({async pull(controller){if(!closed)try{const result=await reader.read();if(result.done){closed=!0,controller.close();return}chunks++;const bounded=boundedPdfTextLayerChunk(result.value,budget);controller.enqueue(bounded.value),(bounded.exhausted||chunks>=MAX_PDF_TEXT_CHUNKS)&&(closed=!0,reader.cancel().catch(()=>{}),controller.close())}catch(error){closed=!0,controller.error(error)}},cancel(reason){return closed=!0,reader.cancel(reason).then(()=>{},()=>{})}})}function clampZoom(value){return finiteRange(value,1,MIN_ZOOM,MAX_ZOOM)}function boundedPdfCanvas(canvas,viewport){return resolveBoundedCanvasAllocation({cssWidth:viewport.width,cssHeight:viewport.height,desiredScale:canvas.ownerDocument.defaultView?.devicePixelRatio||1,maxDimension:MAX_PDF_CANVAS_DIMENSION,maxPixels:MAX_PDF_CANVAS_PIXELS})}function wrapPdfSearchRange(range,part,budget){const doc=range.startContainer.ownerDocument;return doc?wrapTextRangeInMarks(range,doc,budget,mark=>mark.setAttribute("part",part)):[]}class LyraPdfViewerBase extends LyraElement{}class LyraPdfViewer extends DocumentAnchorTarget(LyraPdfViewerBase){constructor(){super(...arguments),this.src="",this.name="",this.page=1,this.zoom=1,this.maxHeight="",this.fill=!1,this.workerSrc="",this.anchorKinds=["page","text-quote","region"],this.loadState={kind:"idle"},this.pageViewerState=new PageViewerSnapshotController,this.scrollDrivenPage=!1,this.firstVisiblePage=1,this.loadLibrary=loadPdfJs,this.loadSrc="",this.source=new ViewerSourceController(this,{load:(response,token)=>this.parseDocument(response,token),onError:(error,token)=>this.reportLoadError(error,token),retainAcrossMove:()=>this.pendingTransport===void 0}),this.pageCanvases=new Map,this.pageRenderTasks=new Map,this.pageRenderVersions=new Map,this.pageRenderGeneration=0,this.pageCanvasRefs=new Map,this.textLayerContainers=new Map,this.textLayerContainerRefs=new Map,this.textLayers=new Map,this.textLayerReadyPromises=new Map,this.pageTextCache=new Map,this.pageTextTruncated=new Set,this.pageSearchIndexes=new Map,this.failedPageFallbacks=new Set,this.announcedPageFailures=new Set,this.searchCorpus=new Map,this.searchCorpusCodeUnits=0,this.mountedPageTextIndexes=new Map,this.pdfTextScopeBuilds=0,this.thumbnailRenderTasks=new Map,this.thumbnailRenderVersions=new Map,this.thumbnailRenderGeneration=0,this.pageHighlightItems=new Map,this.pageHighlightLayerElements=new Map,this.highlightLayerRefs=new Map,this.pendingPageMountWaitCancels=new Set,this.pdfPageSourceCount=-1,this.pdfPageSource=this.createPageSource(0),this.searchState=new ViewerSearchState(()=>[],detail=>this.emit("lr-search-change",detail),()=>this.requestUpdate()),this.searchGeneration=0,this.pendingSearchResetEvent=!1,this.anchorOperationGeneration=0,this.announcements=new ViewerAnnouncementController(this),this.focusedToolbarPart=null,this.detached=new DeferredTeardown(()=>this.teardownDetachedDocument()),this.onHighlightLayerActivate=event=>{event.stopPropagation(),this.emit("lr-highlight-activate",event.detail)},this.renderPageItem=pageNumber=>{const number=pageNumber,highlightTransform=this.effectiveDirection==="rtl"?"50%":"-50%";return html`<div part="page" @click=${e=>this.onPageClick(number,e)}>
3
3
  <canvas part="page-canvas" ${ref(this.pageCanvasRef(number))}></canvas>
4
4
  <div part="page-error" hidden></div>
5
5
  <lr-highlight-layer ${ref(this.highlightLayerRef(number))} aria-label=${this.localize("pdfViewerPageHighlights",void 0,{page:getNumberFormat(this.effectiveLocale).format(number)})} style="position:absolute; inset-block-start:var(--lr-space-m); inset-inline-start:50%; transform:translateX(${highlightTransform});" @lr-highlight-activate=${this.onHighlightLayerActivate} ></lr-highlight-layer>
@@ -11,4 +11,4 @@ import{__decorate}from"tslib";import{html,nothing}from"lit";import{property,stat
11
11
  <button type="button" part="zoom-out-button" data-action="zoom-out" ?disabled=${this.zoom<=MIN_ZOOM} @click=${this.zoomOut}>${this.localize("pdfViewerZoomOut")}</button>
12
12
  <span part="zoom-indicator">${this.localize("pdfViewerCurrentZoom",void 0,{percent:formattedZoom})}</span>
13
13
  <button type="button" part="zoom-in-button" data-action="zoom-in" ?disabled=${this.zoom>=MAX_ZOOM} @click=${this.zoomIn}>${this.localize("pdfViewerZoomIn")}</button>
14
- </div>`}async renderPage(pageNumber,canvas){if(this.loadState.kind!=="ready")return;const version=++this.pageRenderGeneration;this.pageRenderVersions.set(pageNumber,version);const doc=this.loadState.doc,zoom=this.zoom;let renderTask;this.setPageError(canvas,!1),this.pageRenderTasks.get(pageNumber)?.cancel(),this.pageRenderTasks.delete(pageNumber),this.textLayers.get(pageNumber)?.cancel(),this.textLayers.delete(pageNumber);try{const page=await doc.getPage(pageNumber);if(this.loadState.kind!=="ready"||this.loadState.doc!==doc||this.pageRenderVersions.get(pageNumber)!==version||this.pageCanvases.get(pageNumber)!==canvas)return;const viewport=page.getViewport({scale:zoom}),allocation=boundedPdfCanvas(canvas,viewport);canvas.width=allocation.pixelWidth,canvas.height=allocation.pixelHeight,canvas.style.width=`${viewport.width}px`,canvas.style.height=`${viewport.height}px`;const container=this.textLayerContainers.get(pageNumber);container&&(container.style.width=`${viewport.width}px`,container.style.height=`${viewport.height}px`,container.style.setProperty("--total-scale-factor",String(zoom)));const highlightLayerEl=this.pageHighlightLayerElements.get(pageNumber);highlightLayerEl&&(highlightLayerEl.style.width=`${viewport.width}px`,highlightLayerEl.style.height=`${viewport.height}px`);const canvasContext=canvas.getContext("2d");if(!canvasContext)throw new Error("Canvas 2D context is unavailable.");if(canvasContext.setTransform(allocation.scaleX,0,0,allocation.scaleY,0,0),renderTask=page.render({canvasContext,viewport}),this.pageRenderTasks.set(pageNumber,renderTask),this.renderTextLayer(pageNumber,page,viewport,version).catch(error=>{this.isConnected&&this.loadState.kind==="ready"&&this.loadState.doc===doc&&this.pageRenderVersions.get(pageNumber)===version&&this.pageCanvases.get(pageNumber)===canvas&&this.emit("lr-render-error",{error})}),await renderTask.promise,!this.isConnected||this.loadState.kind!=="ready"||this.loadState.doc!==doc||this.pageRenderVersions.get(pageNumber)!==version||this.pageCanvases.get(pageNumber)!==canvas)return;this.setPageError(canvas,!1),this.announcedPageFailures.delete(pageNumber)}catch(error){this.isConnected&&this.loadState.kind==="ready"&&this.loadState.doc===doc&&this.pageRenderVersions.get(pageNumber)===version&&this.pageCanvases.get(pageNumber)===canvas&&(this.setPageError(canvas,!0,pageNumber),this.announcedPageFailures.has(pageNumber)||(this.announcedPageFailures.add(pageNumber),this.announcements.announcePolite(this.pageFailedText(pageNumber))),this.emit("lr-render-error",{error}))}finally{renderTask&&this.pageRenderTasks.get(pageNumber)===renderTask&&this.pageRenderTasks.delete(pageNumber)}}pageFailedText(pageNumber){return this.localize("pdfViewerPageFailed",void 0,{page:getNumberFormat(this.effectiveLocale).format(pageNumber)})}setPageError(canvas,failed,pageNumber=0){const fallback=canvas.parentElement?.querySelector('[part~="page-error"]');fallback&&(fallback.setAttribute("part",failed?"page-error page-error-visible":"page-error"),fallback.hidden=!failed,fallback.dataset.page=String(pageNumber),fallback.textContent=failed?this.pageFailedText(pageNumber):"",failed?this.failedPageFallbacks.add(fallback):this.failedPageFallbacks.delete(fallback))}async renderTextLayer(pageNumber,page,viewport,version){const container=this.textLayerContainers.get(pageNumber);if(!container||!page.streamTextContent||this.loadState.kind!=="ready")return;const pdfjsLib=await this.loadLibrary(this.workerSrc||null);if(!pdfjsLib||!pdfjsLib.TextLayer||this.pageRenderVersions.get(pageNumber)!==version||this.textLayerContainers.get(pageNumber)!==container)return;this.mountedPageTextIndexes.delete(pageNumber),container.replaceChildren();const textLayer=new pdfjsLib.TextLayer({textContentSource:boundedPdfTextLayerSource(page.streamTextContent()),container,viewport});this.textLayers.set(pageNumber,textLayer);const current=()=>this.isConnected&&this.textLayers.get(pageNumber)===textLayer&&this.pageRenderVersions.get(pageNumber)===version,renderPromise=textLayer.render().catch(error=>{current()&&this.emit("lr-render-error",{error})});this.textLayerReadyPromises.set(pageNumber,renderPromise),await renderPromise,current()&&(this.markTextRunParts(container),this.resolveMountedPageHighlights(),this.searchMatches.some(match=>match.page===pageNumber)&&this.paintSearchMatches(pageNumber))}markTextRunParts(container){const doc=container.ownerDocument,walker=doc.createTreeWalker(container,doc.defaultView?.NodeFilter.SHOW_ELEMENT??1);let visited=0,node;for(;visited++<TEXT_QUOTE_LIMITS.maxTraversalNodes&&(node=walker.nextNode());){const run=node;(run.localName==="span"||run.localName==="br")&&run.setAttribute("part","text-span")}}pageCanvasRef(pageNumber){let callback=this.pageCanvasRefs.get(pageNumber);return callback||(callback=element=>{if(!element){this.pageRenderVersions.delete(pageNumber),this.pageCanvases.delete(pageNumber),this.pageRenderTasks.get(pageNumber)?.cancel(),this.pageRenderTasks.delete(pageNumber),this.pageHighlightItems.delete(pageNumber),this.pageCanvasRefs.delete(pageNumber);return}this.pageCanvases.set(pageNumber,element),this.renderPage(pageNumber,element)},this.pageCanvasRefs.set(pageNumber,callback)),callback}textLayerContainerRef(pageNumber){let callback=this.textLayerContainerRefs.get(pageNumber);return callback||(callback=element=>{if(!element){this.textLayerContainers.delete(pageNumber),this.mountedPageTextIndexes.delete(pageNumber),this.textLayers.get(pageNumber)?.cancel(),this.textLayers.delete(pageNumber),this.textLayerReadyPromises.delete(pageNumber),this.pageHighlightItems.delete(pageNumber),this.textLayerContainerRefs.delete(pageNumber);return}this.textLayerContainers.set(pageNumber,element)},this.textLayerContainerRefs.set(pageNumber,callback)),callback}renderBody(){switch(this.loadState.kind){case"ready":return html`${this.renderToolbar()}<lr-virtual-list part="pages" exportparts="page:page, page-canvas:page-canvas, page-error:page-error, text-layer:text-layer, text-span:text-span, search-match:search-match, search-match-active:search-match-active" .source=${this.indexedPages(this.loadState.pageCount)} .renderItem=${this.renderPageItem} .activeItemId=${this.scrollDrivenPage?"":this.page} @lr-visible-range-change=${this.onVisibleRangeChanged} @lr-virtual-scroll=${this.stopInternalEvent}></lr-virtual-list>`;case"loading":return renderViewerLoading(this.localize("loadingDocument"));case"error":return html`<div part="error">${this.loadState.message()}</div>`;default:return html`<p class="empty-note">${this.localize("documentPreviewEmpty",void 0,{type:this.localize("documentPreviewTypeDocument")})}</p>`}}render(){const maxHeight=sanitizeCssLength(this.maxHeight);return html`<div part="base" role=${viewerSemanticRole(this,"region")??nothing} aria-busy=${this.loadState.kind==="loading"?"true":"false"} style=${maxHeight?styleMap({"--lr-pdf-viewer-height":maxHeight}):nothing} aria-label=${viewerSemanticLabel(this,normalizeLabel(this.name)??this.localize("pdfViewerLabel"))??nothing} >${this.renderBody()}${this.renderAnchorLiveRegion()}</div>`}}__decorate([property()],LyraPdfViewer.prototype,"src",void 0),__decorate([property()],LyraPdfViewer.prototype,"name",void 0),__decorate([property({converter:blankNumberConverter(1),reflect:!0})],LyraPdfViewer.prototype,"page",void 0),__decorate([property({converter:blankNumberConverter(1),reflect:!0})],LyraPdfViewer.prototype,"zoom",void 0),__decorate([property({attribute:"max-height"})],LyraPdfViewer.prototype,"maxHeight",void 0),__decorate([property({attribute:"worker-src"})],LyraPdfViewer.prototype,"workerSrc",void 0),__decorate([state()],LyraPdfViewer.prototype,"loadState",void 0),__decorate([state()],LyraPdfViewer.prototype,"scrollDrivenPage",void 0);export{LyraPdfViewer};
14
+ </div>`}async renderPage(pageNumber,canvas){if(this.loadState.kind!=="ready")return;const version=++this.pageRenderGeneration;this.pageRenderVersions.set(pageNumber,version);const doc=this.loadState.doc,zoom=this.zoom;let renderTask;this.setPageError(canvas,!1),this.pageRenderTasks.get(pageNumber)?.cancel(),this.pageRenderTasks.delete(pageNumber),this.textLayers.get(pageNumber)?.cancel(),this.textLayers.delete(pageNumber);try{const page=await doc.getPage(pageNumber);if(this.loadState.kind!=="ready"||this.loadState.doc!==doc||this.pageRenderVersions.get(pageNumber)!==version||this.pageCanvases.get(pageNumber)!==canvas)return;const viewport=page.getViewport({scale:zoom}),allocation=boundedPdfCanvas(canvas,viewport);canvas.width=allocation.pixelWidth,canvas.height=allocation.pixelHeight,canvas.style.width=`${viewport.width}px`,canvas.style.height=`${viewport.height}px`;const container=this.textLayerContainers.get(pageNumber);container&&(container.style.width=`${viewport.width}px`,container.style.height=`${viewport.height}px`,container.style.setProperty("--total-scale-factor",String(zoom)));const highlightLayerEl=this.pageHighlightLayerElements.get(pageNumber);highlightLayerEl&&(highlightLayerEl.style.width=`${viewport.width}px`,highlightLayerEl.style.height=`${viewport.height}px`);const canvasContext=canvas.getContext("2d");if(!canvasContext)throw new Error("Canvas 2D context is unavailable.");if(canvasContext.setTransform(allocation.scaleX,0,0,allocation.scaleY,0,0),renderTask=page.render({canvasContext,viewport}),this.pageRenderTasks.set(pageNumber,renderTask),this.renderTextLayer(pageNumber,page,viewport,version).catch(error=>{this.isConnected&&this.loadState.kind==="ready"&&this.loadState.doc===doc&&this.pageRenderVersions.get(pageNumber)===version&&this.pageCanvases.get(pageNumber)===canvas&&this.emit("lr-render-error",{error})}),await renderTask.promise,!this.isConnected||this.loadState.kind!=="ready"||this.loadState.doc!==doc||this.pageRenderVersions.get(pageNumber)!==version||this.pageCanvases.get(pageNumber)!==canvas)return;this.setPageError(canvas,!1),this.announcedPageFailures.delete(pageNumber)}catch(error){this.isConnected&&this.loadState.kind==="ready"&&this.loadState.doc===doc&&this.pageRenderVersions.get(pageNumber)===version&&this.pageCanvases.get(pageNumber)===canvas&&(this.setPageError(canvas,!0,pageNumber),this.announcedPageFailures.has(pageNumber)||(this.announcedPageFailures.add(pageNumber),this.announcements.announcePolite(this.pageFailedText(pageNumber))),this.emit("lr-render-error",{error}))}finally{renderTask&&this.pageRenderTasks.get(pageNumber)===renderTask&&this.pageRenderTasks.delete(pageNumber)}}pageFailedText(pageNumber){return this.localize("pdfViewerPageFailed",void 0,{page:getNumberFormat(this.effectiveLocale).format(pageNumber)})}setPageError(canvas,failed,pageNumber=0){const fallback=canvas.parentElement?.querySelector('[part~="page-error"]');fallback&&(fallback.setAttribute("part",failed?"page-error page-error-visible":"page-error"),fallback.hidden=!failed,fallback.dataset.page=String(pageNumber),fallback.textContent=failed?this.pageFailedText(pageNumber):"",failed?this.failedPageFallbacks.add(fallback):this.failedPageFallbacks.delete(fallback))}async renderTextLayer(pageNumber,page,viewport,version){const container=this.textLayerContainers.get(pageNumber);if(!container||!page.streamTextContent||this.loadState.kind!=="ready")return;const pdfjsLib=await this.loadLibrary(this.workerSrc||null);if(!pdfjsLib||!pdfjsLib.TextLayer||this.pageRenderVersions.get(pageNumber)!==version||this.textLayerContainers.get(pageNumber)!==container)return;this.mountedPageTextIndexes.delete(pageNumber),container.replaceChildren();const textLayer=new pdfjsLib.TextLayer({textContentSource:boundedPdfTextLayerSource(page.streamTextContent()),container,viewport});this.textLayers.set(pageNumber,textLayer);const current=()=>this.isConnected&&this.textLayers.get(pageNumber)===textLayer&&this.pageRenderVersions.get(pageNumber)===version,renderPromise=textLayer.render().catch(error=>{current()&&this.emit("lr-render-error",{error})});this.textLayerReadyPromises.set(pageNumber,renderPromise),await renderPromise,current()&&(this.markTextRunParts(container),this.resolveMountedPageHighlights(),this.searchMatches.some(match=>match.page===pageNumber)&&this.paintSearchMatches(pageNumber))}markTextRunParts(container){const doc=container.ownerDocument,walker=doc.createTreeWalker(container,doc.defaultView?.NodeFilter.SHOW_ELEMENT??1);let visited=0,node;for(;visited++<TEXT_QUOTE_LIMITS.maxTraversalNodes&&(node=walker.nextNode());){const run=node;(run.localName==="span"||run.localName==="br")&&run.setAttribute("part","text-span")}}pageCanvasRef(pageNumber){let callback=this.pageCanvasRefs.get(pageNumber);return callback||(callback=element=>{if(!element){this.pageRenderVersions.delete(pageNumber),this.pageCanvases.delete(pageNumber),this.pageRenderTasks.get(pageNumber)?.cancel(),this.pageRenderTasks.delete(pageNumber),this.pageHighlightItems.delete(pageNumber),this.pageCanvasRefs.delete(pageNumber);return}this.pageCanvases.set(pageNumber,element),this.renderPage(pageNumber,element)},this.pageCanvasRefs.set(pageNumber,callback)),callback}textLayerContainerRef(pageNumber){let callback=this.textLayerContainerRefs.get(pageNumber);return callback||(callback=element=>{if(!element){this.textLayerContainers.delete(pageNumber),this.mountedPageTextIndexes.delete(pageNumber),this.textLayers.get(pageNumber)?.cancel(),this.textLayers.delete(pageNumber),this.textLayerReadyPromises.delete(pageNumber),this.pageHighlightItems.delete(pageNumber),this.textLayerContainerRefs.delete(pageNumber);return}this.textLayerContainers.set(pageNumber,element)},this.textLayerContainerRefs.set(pageNumber,callback)),callback}renderBody(){switch(this.loadState.kind){case"ready":return html`${this.renderToolbar()}<lr-virtual-list part="pages" exportparts="page:page, page-canvas:page-canvas, page-error:page-error, text-layer:text-layer, text-span:text-span, search-match:search-match, search-match-active:search-match-active" .source=${this.indexedPages(this.loadState.pageCount)} .renderItem=${this.renderPageItem} .activeItemId=${this.scrollDrivenPage?"":this.page} @lr-visible-range-change=${this.onVisibleRangeChanged} @lr-virtual-scroll=${this.stopInternalEvent}></lr-virtual-list>`;case"loading":return renderViewerLoading(this.localize("loadingDocument"));case"error":return html`<div part="error">${this.loadState.message()}</div>`;default:return html`<p class="empty-note">${this.localize("documentPreviewEmpty",void 0,{type:this.localize("documentPreviewTypeDocument")})}</p>`}}render(){const maxHeight=sanitizeCssLength(this.maxHeight);return html`<div part="base" role=${viewerSemanticRole(this,"region")??nothing} aria-busy=${this.loadState.kind==="loading"?"true":"false"} style=${maxHeight?styleMap({"--lr-pdf-viewer-height":maxHeight}):nothing} aria-label=${viewerSemanticLabel(this,normalizeLabel(this.name)??this.localize("pdfViewerLabel"))??nothing} >${this.renderBody()}${this.renderAnchorLiveRegion()}</div>`}}__decorate([property()],LyraPdfViewer.prototype,"src",void 0),__decorate([property()],LyraPdfViewer.prototype,"name",void 0),__decorate([property({converter:blankNumberConverter(1),reflect:!0})],LyraPdfViewer.prototype,"page",void 0),__decorate([property({converter:blankNumberConverter(1),reflect:!0})],LyraPdfViewer.prototype,"zoom",void 0),__decorate([property({attribute:"max-height"})],LyraPdfViewer.prototype,"maxHeight",void 0),__decorate([property({type:Boolean,reflect:!0})],LyraPdfViewer.prototype,"fill",void 0),__decorate([property({attribute:"worker-src"})],LyraPdfViewer.prototype,"workerSrc",void 0),__decorate([state()],LyraPdfViewer.prototype,"loadState",void 0),__decorate([state()],LyraPdfViewer.prototype,"scrollDrivenPage",void 0);export{LyraPdfViewer};
@@ -1 +1 @@
1
- import{activeFill,focusRingShorthand,iconHitTarget,interactiveTransition}from"../../../internal/interactive-control.styles.js";import{css}from"lit";const styles=css` :host{display:block;--_lr-pdf-viewer-height:var(--lr-size-24rem)}[part=toolbar]{display:flex;align-items:center;gap:var(--lr-space-s);padding:var(--lr-space-xs) var(--lr-space-s);border-block-end:var(--lr-border-width-thin) solid var(--lr-color-border-subtle);background:var(--lr-pdf-viewer-toolbar-bg,var(--lr-color-brand-quiet));font-size:var(--lr-font-size-sm);flex-wrap:wrap}[part=toolbar] button{--_lr-pdf-viewer-button-hover-bg:var(--lr-pdf-viewer-toolbar-button-hover-bg, var(--lr-color-surface));display:inline-flex;align-items:center;justify-content:center;${iconHitTarget} border:none;border-radius:var(--lr-radius);background:transparent;color:var(--lr-color-text);font:inherit;cursor:pointer;${interactiveTransition}}[part=toolbar] button:where([part=previous-button],[part=next-button]){--_lr-pdf-viewer-button-hover-bg:var( --lr-viewer-pager-button-hover-bg, var(--lr-pdf-viewer-toolbar-button-hover-bg, var(--lr-color-surface)) )}[part=toolbar] button:hover:not(:disabled){background:var(--_lr-pdf-viewer-button-hover-bg)}[part=toolbar] button:active:not(:disabled){background: ${activeFill("var(--_lr-pdf-viewer-button-hover-bg)")}}[part=toolbar] button:disabled{opacity:var(--lr-opacity-disabled);cursor:default}[part=toolbar] button:focus-visible{${focusRingShorthand}}[part=page-indicator],[part=zoom-indicator]{color:var(--lr-color-text);white-space:nowrap}[part=pages]{--lr-virtual-list-height:var( --lr-pdf-viewer-height, var(--_lr-pdf-viewer-height) )}lr-virtual-list::part(base){overflow-x:auto}lr-virtual-list::part(page){position:relative;display:flex;justify-content:safe center;inline-size:max-content;min-inline-size:100%;padding-block:var(--lr-space-m)}lr-virtual-list::part(page-canvas){box-shadow:0 0 0 var(--lr-border-width-thin) var(--lr-color-border-subtle);direction:ltr}lr-virtual-list::part(page-error){position:absolute;inset-block-start:var(--lr-space-m);inset-inline-start:50%;translate:-50% 0;box-sizing:border-box;align-items:center;justify-content:center;min-inline-size:var(--lr-size-12rem);min-block-size:var(--lr-size-12rem);padding:var(--lr-space-l);border:var(--lr-border-width-thin) solid var(--lr-color-danger);background:var(--lr-color-surface);color:var(--lr-color-danger);text-align:center}:host(:dir(rtl)) lr-virtual-list::part(page-error){translate:50% 0}lr-virtual-list::part(page-error-visible){display:flex}lr-virtual-list::part(text-layer){position:absolute;inset-block-start:var(--lr-space-m);inset-inline-start:50%;transform:translateX(-50%);overflow:hidden;line-height:var(--lr-line-height-none);opacity:1;color:transparent}:host(:dir(rtl)) lr-virtual-list::part(text-layer){transform:translateX(50%)}lr-virtual-list::part(text-span){position:absolute;color:transparent;white-space:pre;cursor:text;user-select:text;transform-origin:0 0;font-size:calc(var(--total-scale-factor,1) * var(--font-height));transform:rotate(var(--rotate,0deg)) scaleX(var(--scale-x,1))}lr-virtual-list::part(text-span)::selection{background:var(--lr-pdf-viewer-text-selection-bg,var(--lr-color-brand-quiet))}lr-virtual-list::part(search-match){background:var(--lr-pdf-viewer-search-match-bg,var(--lr-color-warning-quiet));color:transparent;border-radius:var(--lr-radius-xs)}lr-virtual-list::part(search-match-active){background:var(--lr-pdf-viewer-search-match-active-bg,var(--lr-color-warning))}.empty-note,[part=error]{margin:0;padding:var(--lr-space-l);color:var(--lr-color-text-quiet);font-size:var(--lr-font-size-md-sm);text-align:center}[part=error]{color:var(--lr-color-danger)}[part=spinner]{display:flex;justify-content:center;padding:var(--lr-space-l)}`;export{styles};
1
+ import{activeFill,focusRingShorthand,iconHitTarget,interactiveTransition}from"../../../internal/interactive-control.styles.js";import{css}from"lit";const styles=css` :host{display:block;--_lr-pdf-viewer-height:var(--lr-size-24rem)}[part=toolbar]{display:flex;align-items:center;gap:var(--lr-space-s);padding:var(--lr-space-xs) var(--lr-space-s);border-block-end:var(--lr-border-width-thin) solid var(--lr-color-border-subtle);background:var(--lr-pdf-viewer-toolbar-bg,var(--lr-color-brand-quiet));font-size:var(--lr-font-size-sm);flex-wrap:wrap}[part=toolbar] button{--_lr-pdf-viewer-button-hover-bg:var(--lr-pdf-viewer-toolbar-button-hover-bg, var(--lr-color-surface));display:inline-flex;align-items:center;justify-content:center;${iconHitTarget} border:none;border-radius:var(--lr-radius);background:transparent;color:var(--lr-color-text);font:inherit;cursor:pointer;${interactiveTransition}}[part=toolbar] button:where([part=previous-button],[part=next-button]){--_lr-pdf-viewer-button-hover-bg:var( --lr-viewer-pager-button-hover-bg, var(--lr-pdf-viewer-toolbar-button-hover-bg, var(--lr-color-surface)) )}[part=toolbar] button:hover:not(:disabled){background:var(--_lr-pdf-viewer-button-hover-bg)}[part=toolbar] button:active:not(:disabled){background: ${activeFill("var(--_lr-pdf-viewer-button-hover-bg)")}}[part=toolbar] button:disabled{opacity:var(--lr-opacity-disabled);cursor:default}[part=toolbar] button:focus-visible{${focusRingShorthand}}[part=page-indicator],[part=zoom-indicator]{color:var(--lr-color-text);white-space:nowrap}[part=pages]{--lr-virtual-list-height:var( --lr-pdf-viewer-height, var(--_lr-pdf-viewer-height) )}lr-virtual-list::part(base){overflow-x:auto}:host([fill]){block-size:100%;min-block-size:0}:host([fill]) [part=base]{display:flex;flex-direction:column;block-size:100%;min-block-size:0;box-sizing:border-box}:host([fill]) [part=toolbar]{flex:none}:host([fill]) [part=pages]{flex:1 1 0;min-block-size:0;--lr-virtual-list-height:100%}lr-virtual-list::part(page){position:relative;display:flex;justify-content:safe center;inline-size:max-content;min-inline-size:100%;padding-block:var(--lr-space-m)}lr-virtual-list::part(page-canvas){box-shadow:0 0 0 var(--lr-border-width-thin) var(--lr-color-border-subtle);direction:ltr}lr-virtual-list::part(page-error){position:absolute;inset-block-start:var(--lr-space-m);inset-inline-start:50%;translate:-50% 0;box-sizing:border-box;align-items:center;justify-content:center;min-inline-size:var(--lr-size-12rem);min-block-size:var(--lr-size-12rem);padding:var(--lr-space-l);border:var(--lr-border-width-thin) solid var(--lr-color-danger);background:var(--lr-color-surface);color:var(--lr-color-danger);text-align:center}:host(:dir(rtl)) lr-virtual-list::part(page-error){translate:50% 0}lr-virtual-list::part(page-error-visible){display:flex}lr-virtual-list::part(text-layer){position:absolute;inset-block-start:var(--lr-space-m);inset-inline-start:50%;transform:translateX(-50%);overflow:hidden;line-height:var(--lr-line-height-none);opacity:1;color:transparent}:host(:dir(rtl)) lr-virtual-list::part(text-layer){transform:translateX(50%)}lr-virtual-list::part(text-span){position:absolute;color:transparent;white-space:pre;cursor:text;user-select:text;transform-origin:0 0;font-size:calc(var(--total-scale-factor,1) * var(--font-height));transform:rotate(var(--rotate,0deg)) scaleX(var(--scale-x,1))}lr-virtual-list::part(text-span)::selection{background:var(--lr-pdf-viewer-text-selection-bg,var(--lr-color-brand-quiet))}lr-virtual-list::part(search-match){background:var(--lr-pdf-viewer-search-match-bg,var(--lr-color-warning-quiet));color:transparent;border-radius:var(--lr-radius-xs)}lr-virtual-list::part(search-match-active){background:var(--lr-pdf-viewer-search-match-active-bg,var(--lr-color-warning))}.empty-note,[part=error]{margin:0;padding:var(--lr-space-l);color:var(--lr-color-text-quiet);font-size:var(--lr-font-size-md-sm);text-align:center}[part=error]{color:var(--lr-color-danger)}[part=spinner]{display:flex;justify-content:center;padding:var(--lr-space-l)}`;export{styles};
@@ -1 +1 @@
1
- import type*as React from'react';import type{LyraComponentTypeMap,LyraBoundEvent,LyraCSSCustomProperties}from'./framework-types.js';export type{LyraUnknownAttributeValue,LyraAttributeValue,LyraCSSCustomProperties}from'./framework-types.js';type LyraReactEventProps<ElementType extends HTMLElement,ElementEvents extends object,EventNames extends string> ={[Name in EventNames as`on${Name}`]?:(event:LyraBoundEvent<ElementType,ElementEvents,Name>)=>void;}&{[Name in EventNames as`on${Name}Capture`]?:(event:LyraBoundEvent<ElementType,ElementEvents,Name>)=>void;};type LyraReactElementProps<Tag extends keyof LyraComponentTypeMap,ElementType extends HTMLElement=LyraComponentTypeMap[Tag]['element'],Properties extends object=LyraComponentTypeMap[Tag]['properties'],ElementEvents extends object=LyraComponentTypeMap[Tag]['events'],EventNames extends string=LyraComponentTypeMap[Tag]['eventNames'],CSSNames extends string=LyraComponentTypeMap[Tag]['cssNames'],AttributeAliases extends object=LyraComponentTypeMap[Tag]['attributeAliases']> =Omit<React.HTMLAttributes<ElementType>,keyof Properties|keyof AttributeAliases|keyof LyraReactEventProps<ElementType,ElementEvents,EventNames> |'style'> &React.RefAttributes<ElementType> &Properties&AttributeAliases&LyraReactEventProps<ElementType,ElementEvents,EventNames> &{style?:React.CSSProperties&LyraCSSCustomProperties<CSSNames>;};export type LyraAccordionReactProps=LyraReactElementProps<'lr-accordion'>;export type LyraAccordionItemReactProps=LyraReactElementProps<'lr-accordion-item'>;export type LyraActivityFeedReactProps=LyraReactElementProps<'lr-activity-feed'>;export type LyraAgentEvalDashboardReactProps=LyraReactElementProps<'lr-agent-eval-dashboard'>;export type LyraAgentQuestionReactProps=LyraReactElementProps<'lr-agent-question'>;export type LyraAgentRunReactProps=LyraReactElementProps<'lr-agent-run'>;export type LyraAgentTraceReactProps=LyraReactElementProps<'lr-agent-trace'>;export type LyraAgentWorkspaceReactProps=LyraReactElementProps<'lr-agent-workspace'>;export type LyraAlertReactProps=LyraReactElementProps<'lr-alert'>;export type LyraAnimatedImageReactProps=LyraReactElementProps<'lr-animated-image'>;export type LyraAnimationReactProps=LyraReactElementProps<'lr-animation'>;export type LyraAppRailReactProps=LyraReactElementProps<'lr-app-rail'>;export type LyraAppRailGroupReactProps=LyraReactElementProps<'lr-app-rail-group'>;export type LyraAppRailItemReactProps=LyraReactElementProps<'lr-app-rail-item'>;export type LyraApprovalQueueReactProps=LyraReactElementProps<'lr-approval-queue'>;export type LyraArchiveViewerReactProps=LyraReactElementProps<'lr-archive-viewer'>;export type LyraArtifactPanelReactProps=LyraReactElementProps<'lr-artifact-panel'>;export type LyraAttachmentChipReactProps=LyraReactElementProps<'lr-attachment-chip'>;export type LyraAttachmentTriggerReactProps=LyraReactElementProps<'lr-attachment-trigger'>;export type LyraAudioVisualizerReactProps=LyraReactElementProps<'lr-audio-visualizer'>;export type LyraAvPlayerReactProps=LyraReactElementProps<'lr-av-player'>;export type LyraAvatarReactProps=LyraReactElementProps<'lr-avatar'>;export type LyraAvatarGroupReactProps=LyraReactElementProps<'lr-avatar-group'>;export type LyraBackgroundRunsReactProps=LyraReactElementProps<'lr-background-runs'>;export type LyraBadgeReactProps=LyraReactElementProps<'lr-badge'>;export type LyraBarChartReactProps=LyraReactElementProps<'lr-bar-chart'>;export type LyraBoxPlotReactProps=LyraReactElementProps<'lr-box-plot'>;export type LyraBranchPickerReactProps=LyraReactElementProps<'lr-branch-picker'>;export type LyraBreadcrumbReactProps=LyraReactElementProps<'lr-breadcrumb'>;export type LyraBreadcrumbItemReactProps=LyraReactElementProps<'lr-breadcrumb-item'>;export type LyraBrowserFrameReactProps=LyraReactElementProps<'lr-browser-frame'>;export type LyraBubbleChartReactProps=LyraReactElementProps<'lr-bubble-chart'>;export type LyraBudgetMeterReactProps=LyraReactElementProps<'lr-budget-meter'>;export type LyraButtonReactProps=LyraReactElementProps<'lr-button'>;export type LyraButtonGroupReactProps=LyraReactElementProps<'lr-button-group'>;export type LyraCalendarReactProps=LyraReactElementProps<'lr-calendar'>;export type LyraCalendarViewerReactProps=LyraReactElementProps<'lr-calendar-viewer'>;export type LyraCalloutReactProps=LyraReactElementProps<'lr-callout'>;export type LyraCardReactProps=LyraReactElementProps<'lr-card'>;export type LyraCarouselReactProps=LyraReactElementProps<'lr-carousel'>;export type LyraCarouselItemReactProps=LyraReactElementProps<'lr-carousel-item'>;export type LyraChangeReviewReactProps=LyraReactElementProps<'lr-change-review'>;export type LyraChartReactProps=LyraReactElementProps<'lr-chart'>;export type LyraChart3dReactProps=LyraReactElementProps<'lr-chart-3d'>;export type LyraChatComposerReactProps=LyraReactElementProps<'lr-chat-composer'>;export type LyraChatMessageReactProps=LyraReactElementProps<'lr-chat-message'>;export type LyraChatViewportReactProps=LyraReactElementProps<'lr-chat-viewport'>;export type LyraCheckboxReactProps=LyraReactElementProps<'lr-checkbox'>;export type LyraCheckboxGroupReactProps=LyraReactElementProps<'lr-checkbox-group'>;export type LyraCheckpointReactProps=LyraReactElementProps<'lr-checkpoint'>;export type LyraChipReactProps=LyraReactElementProps<'lr-chip'>;export type LyraChipGroupReactProps=LyraReactElementProps<'lr-chip-group'>;export type LyraChordReactProps=LyraReactElementProps<'lr-chord'>;export type LyraChoroplethReactProps=LyraReactElementProps<'lr-choropleth'>;export type LyraChunkInspectorReactProps=LyraReactElementProps<'lr-chunk-inspector'>;export type LyraCitationBadgeReactProps=LyraReactElementProps<'lr-citation-badge'>;export type LyraClaimEvidenceReactProps=LyraReactElementProps<'lr-claim-evidence'>;export type LyraCodeBlockReactProps=LyraReactElementProps<'lr-code-block'>;export type LyraCodeBlockCoreReactProps=LyraReactElementProps<'lr-code-block-core'>;export type LyraCodeEditorReactProps=LyraReactElementProps<'lr-code-editor'>;export type LyraColorPickerReactProps=LyraReactElementProps<'lr-color-picker'>;export type LyraComboboxReactProps=LyraReactElementProps<'lr-combobox'>;export type LyraCommandPaletteReactProps=LyraReactElementProps<'lr-command-palette'>;export type LyraCommitCardReactProps=LyraReactElementProps<'lr-commit-card'>;export type LyraCommunityCardReactProps=LyraReactElementProps<'lr-community-card'>;export type LyraComparePanelReactProps=LyraReactElementProps<'lr-compare-panel'>;export type LyraConditionBuilderReactProps=LyraReactElementProps<'lr-condition-builder'>;export type LyraConfirmBarReactProps=LyraReactElementProps<'lr-confirm-bar'>;export type LyraConnectorManagerReactProps=LyraReactElementProps<'lr-connector-manager'>;export type LyraContactViewerReactProps=LyraReactElementProps<'lr-contact-viewer'>;export type LyraContextInspectorReactProps=LyraReactElementProps<'lr-context-inspector'>;export type LyraContextMenuReactProps=LyraReactElementProps<'lr-context-menu'>;export type LyraContextMeterReactProps=LyraReactElementProps<'lr-context-meter'>;export type LyraControlGroupReactProps=LyraReactElementProps<'lr-control-group'>;export type LyraConversationItemReactProps=LyraReactElementProps<'lr-conversation-item'>;export type LyraCopyButtonReactProps=LyraReactElementProps<'lr-copy-button'>;export type LyraCountryPickerReactProps=LyraReactElementProps<'lr-country-picker'>;export type LyraCsvViewerReactProps=LyraReactElementProps<'lr-csv-viewer'>;export type LyraCurrencyPickerReactProps=LyraReactElementProps<'lr-currency-picker'>;export type LyraDashboardGridReactProps=LyraReactElementProps<'lr-dashboard-grid'>;export type LyraDataGridReactProps=LyraReactElementProps<'lr-data-grid'>;export type LyraDatasetViewerReactProps=LyraReactElementProps<'lr-dataset-viewer'>;export type LyraDateInputReactProps=LyraReactElementProps<'lr-date-input'>;export type LyraDatePickerReactProps=LyraReactElementProps<'lr-date-picker'>;export type LyraDetailsReactProps=LyraReactElementProps<'lr-details'>;export type LyraDialogReactProps=LyraReactElementProps<'lr-dialog'>;export type LyraDiffViewReactProps=LyraReactElementProps<'lr-diff-view'>;export type LyraDividerReactProps=LyraReactElementProps<'lr-divider'>;export type LyraDockPanelReactProps=LyraReactElementProps<'lr-dock-panel'>;export type LyraDocumentCompareReactProps=LyraReactElementProps<'lr-document-compare'>;export type LyraDocumentLibraryReactProps=LyraReactElementProps<'lr-document-library'>;export type LyraDocumentPreviewReactProps=LyraReactElementProps<'lr-document-preview'>;export type LyraDocumentViewerReactProps=LyraReactElementProps<'lr-document-viewer'>;export type LyraDocxViewerReactProps=LyraReactElementProps<'lr-docx-viewer'>;export type LyraDoughnutChartReactProps=LyraReactElementProps<'lr-doughnut-chart'>;export type LyraDrawerReactProps=LyraReactElementProps<'lr-drawer'>;export type LyraDrilldownPanelReactProps=LyraReactElementProps<'lr-drilldown-panel'>;export type LyraDropZoneReactProps=LyraReactElementProps<'lr-drop-zone'>;export type LyraDropdownReactProps=LyraReactElementProps<'lr-dropdown'>;export type LyraDropdownItemReactProps=LyraReactElementProps<'lr-dropdown-item'>;export type LyraEbookViewerReactProps=LyraReactElementProps<'lr-ebook-viewer'>;export type LyraEmailViewerReactProps=LyraReactElementProps<'lr-email-viewer'>;export type LyraEmbeddingExplorerReactProps=LyraReactElementProps<'lr-embedding-explorer'>;export type LyraEmojiPickerReactProps=LyraReactElementProps<'lr-emoji-picker'>;export type LyraEmptyReactProps=LyraReactElementProps<'lr-empty'>;export type LyraEntityCardReactProps=LyraReactElementProps<'lr-entity-card'>;export type LyraEntityChipReactProps=LyraReactElementProps<'lr-entity-chip'>;export type LyraEntityDossierReactProps=LyraReactElementProps<'lr-entity-dossier'>;export type LyraEnvListReactProps=LyraReactElementProps<'lr-env-list'>;export type LyraEvalDatasetReactProps=LyraReactElementProps<'lr-eval-dataset'>;export type LyraEvalResultReactProps=LyraReactElementProps<'lr-eval-result'>;export type LyraEvalRunReactProps=LyraReactElementProps<'lr-eval-run'>;export type LyraExportButtonReactProps=LyraReactElementProps<'lr-export-button'>;export type LyraFileIconReactProps=LyraReactElementProps<'lr-file-icon'>;export type LyraFileInputReactProps=LyraReactElementProps<'lr-file-input'>;export type LyraFileTreeReactProps=LyraReactElementProps<'lr-file-tree'>;export type LyraFilterBarReactProps=LyraReactElementProps<'lr-filter-bar'>;export type LyraFlagReactProps=LyraReactElementProps<'lr-flag'>;export type LyraFlowCanvasReactProps=LyraReactElementProps<'lr-flow-canvas'>;export type LyraFlowControlsReactProps=LyraReactElementProps<'lr-flow-controls'>;export type LyraFlowMinimapReactProps=LyraReactElementProps<'lr-flow-minimap'>;export type LyraFlowNodeReactProps=LyraReactElementProps<'lr-flow-node'>;export type LyraFlowRunStatusReactProps=LyraReactElementProps<'lr-flow-run-status'>;export type LyraFormatBytesReactProps=LyraReactElementProps<'lr-format-bytes'>;export type LyraFormatDateReactProps=LyraReactElementProps<'lr-format-date'>;export type LyraFormatNumberReactProps=LyraReactElementProps<'lr-format-number'>;export type LyraFunnelReactProps=LyraReactElementProps<'lr-funnel'>;export type LyraGaugeReactProps=LyraReactElementProps<'lr-gauge'>;export type LyraGenerationMetricsReactProps=LyraReactElementProps<'lr-generation-metrics'>;export type LyraGeoJsonViewerReactProps=LyraReactElementProps<'lr-geojson-viewer'>;export type LyraGraphReactProps=LyraReactElementProps<'lr-graph'>;export type LyraGraphLegendReactProps=LyraReactElementProps<'lr-graph-legend'>;export type LyraGraphQueryBuilderReactProps=LyraReactElementProps<'lr-graph-query-builder'>;export type LyraGroundingSummaryReactProps=LyraReactElementProps<'lr-grounding-summary'>;export type LyraHandoffDividerReactProps=LyraReactElementProps<'lr-handoff-divider'>;export type LyraHeatmapReactProps=LyraReactElementProps<'lr-heatmap'>;export type LyraHelpReactProps=LyraReactElementProps<'lr-help'>;export type LyraHighlightLayerReactProps=LyraReactElementProps<'lr-highlight-layer'>;export type LyraHistogramReactProps=LyraReactElementProps<'lr-histogram'>;export type LyraHtmlViewerReactProps=LyraReactElementProps<'lr-html-viewer'>;export type LyraIconReactProps=LyraReactElementProps<'lr-icon'>;export type LyraIconButtonReactProps=LyraReactElementProps<'lr-icon-button'>;export type LyraImageComparerReactProps=LyraReactElementProps<'lr-image-comparer'>;export type LyraImageViewerReactProps=LyraReactElementProps<'lr-image-viewer'>;export type LyraIncludeReactProps=LyraReactElementProps<'lr-include'>;export type LyraIngestionQueueReactProps=LyraReactElementProps<'lr-ingestion-queue'>;export type LyraInputReactProps=LyraReactElementProps<'lr-input'>;export type LyraIntersectionObserverReactProps=LyraReactElementProps<'lr-intersection-observer'>;export type LyraJsonSchemaViewerReactProps=LyraReactElementProps<'lr-json-schema-viewer'>;export type LyraJsonViewerReactProps=LyraReactElementProps<'lr-json-viewer'>;export type LyraKbdReactProps=LyraReactElementProps<'lr-kbd'>;export type LyraKnowledgeBaseReactProps=LyraReactElementProps<'lr-knowledge-base'>;export type LyraKnowledgeBaseAdminReactProps=LyraReactElementProps<'lr-knowledge-base-admin'>;export type LyraKnowledgeGraphExplorerReactProps=LyraReactElementProps<'lr-knowledge-graph-explorer'>;export type LyraKnownDateReactProps=LyraReactElementProps<'lr-known-date'>;export type LyraLightboxReactProps=LyraReactElementProps<'lr-lightbox'>;export type LyraLineChartReactProps=LyraReactElementProps<'lr-line-chart'>;export type LyraLiteChartReactProps=LyraReactElementProps<'lr-lite-chart'>;export type LyraLiveRegionReactProps=LyraReactElementProps<'lr-live-region'>;export type LyraLocalePickerReactProps=LyraReactElementProps<'lr-locale-picker'>;export type LyraMapReactProps=LyraReactElementProps<'lr-map'>;export type LyraMapAnchorReactProps=LyraReactElementProps<'lr-map-anchor'>;export type LyraMarkdownReactProps=LyraReactElementProps<'lr-markdown'>;export type LyraMarkdownCoreReactProps=LyraReactElementProps<'lr-markdown-core'>;export type LyraMcpAppReactProps=LyraReactElementProps<'lr-mcp-app'>;export type LyraMediaCardReactProps=LyraReactElementProps<'lr-media-card'>;export type LyraMemoryPanelReactProps=LyraReactElementProps<'lr-memory-panel'>;export type LyraMentionPopoverReactProps=LyraReactElementProps<'lr-mention-popover'>;export type LyraMenuReactProps=LyraReactElementProps<'lr-menu'>;export type LyraMenuItemReactProps=LyraReactElementProps<'lr-menu-item'>;export type LyraMenuLabelReactProps=LyraReactElementProps<'lr-menu-label'>;export type LyraMenubarReactProps=LyraReactElementProps<'lr-menubar'>;export type LyraMenubarItemReactProps=LyraReactElementProps<'lr-menubar-item'>;export type LyraMessageActionsReactProps=LyraReactElementProps<'lr-message-actions'>;export type LyraMessageFeedbackReactProps=LyraReactElementProps<'lr-message-feedback'>;export type LyraMessagePartsReactProps=LyraReactElementProps<'lr-message-parts'>;export type LyraMindMapReactProps=LyraReactElementProps<'lr-mind-map'>;export type LyraModelSelectReactProps=LyraReactElementProps<'lr-model-select'>;export type LyraModelSettingsPanelReactProps=LyraReactElementProps<'lr-model-settings-panel'>;export type LyraModelViewerReactProps=LyraReactElementProps<'lr-model-viewer'>;export type LyraMultiSplitReactProps=LyraReactElementProps<'lr-multi-split'>;export type LyraMutationObserverReactProps=LyraReactElementProps<'lr-mutation-observer'>;export type LyraNativeTimeInputReactProps=LyraReactElementProps<'lr-native-time-input'>;export type LyraNavigationMenuReactProps=LyraReactElementProps<'lr-navigation-menu'>;export type LyraNavigationMenuItemReactProps=LyraReactElementProps<'lr-navigation-menu-item'>;export type LyraNeighborListReactProps=LyraReactElementProps<'lr-neighbor-list'>;export type LyraNodePaletteReactProps=LyraReactElementProps<'lr-node-palette'>;export type LyraNotebookViewerReactProps=LyraReactElementProps<'lr-notebook-viewer'>;export type LyraNumberInputReactProps=LyraReactElementProps<'lr-number-input'>;export type LyraOptionReactProps=LyraReactElementProps<'lr-option'>;export type LyraOtpInputReactProps=LyraReactElementProps<'lr-otp-input'>;export type LyraPageReactProps=LyraReactElementProps<'lr-page'>;export type LyraPageRailReactProps=LyraReactElementProps<'lr-page-rail'>;export type LyraPaginationReactProps=LyraReactElementProps<'lr-pagination'>;export type LyraPanZoomReactProps=LyraReactElementProps<'lr-pan-zoom'>;export type LyraPathStripReactProps=LyraReactElementProps<'lr-path-strip'>;export type LyraPdfViewerReactProps=LyraReactElementProps<'lr-pdf-viewer'>;export type LyraPermissionGrantReactProps=LyraReactElementProps<'lr-permission-grant'>;export type LyraPermissionRulesReactProps=LyraReactElementProps<'lr-permission-rules'>;export type LyraPhoneInputReactProps=LyraReactElementProps<'lr-phone-input'>;export type LyraPieChartReactProps=LyraReactElementProps<'lr-pie-chart'>;export type LyraPolarAreaChartReactProps=LyraReactElementProps<'lr-polar-area-chart'>;export type LyraPolicySummaryReactProps=LyraReactElementProps<'lr-policy-summary'>;export type LyraPollStatusReactProps=LyraReactElementProps<'lr-poll-status'>;export type LyraPopoverReactProps=LyraReactElementProps<'lr-popover'>;export type LyraPopupReactProps=LyraReactElementProps<'lr-popup'>;export type LyraPptxViewerReactProps=LyraReactElementProps<'lr-pptx-viewer'>;export type LyraProgressBarReactProps=LyraReactElementProps<'lr-progress-bar'>;export type LyraProgressRingReactProps=LyraReactElementProps<'lr-progress-ring'>;export type LyraPromptInputReactProps=LyraReactElementProps<'lr-prompt-input'>;export type LyraPromptQueueReactProps=LyraReactElementProps<'lr-prompt-queue'>;export type LyraPromptStudioReactProps=LyraReactElementProps<'lr-prompt-studio'>;export type LyraProvenancePanelReactProps=LyraReactElementProps<'lr-provenance-panel'>;export type LyraPushToTalkReactProps=LyraReactElementProps<'lr-push-to-talk'>;export type LyraQrCodeReactProps=LyraReactElementProps<'lr-qr-code'>;export type LyraRadarChartReactProps=LyraReactElementProps<'lr-radar-chart'>;export type LyraRadioReactProps=LyraReactElementProps<'lr-radio'>;export type LyraRadioButtonReactProps=LyraReactElementProps<'lr-radio-button'>;export type LyraRadioGroupReactProps=LyraReactElementProps<'lr-radio-group'>;export type LyraRagAnswerReactProps=LyraReactElementProps<'lr-rag-answer'>;export type LyraRagEvalDashboardReactProps=LyraReactElementProps<'lr-rag-eval-dashboard'>;export type LyraRandomContentReactProps=LyraReactElementProps<'lr-random-content'>;export type LyraRatingReactProps=LyraReactElementProps<'lr-rating'>;export type LyraRealtimeSessionReactProps=LyraReactElementProps<'lr-realtime-session'>;export type LyraRelativeTimeReactProps=LyraReactElementProps<'lr-relative-time'>;export type LyraReorderItemReactProps=LyraReactElementProps<'lr-reorder-item'>;export type LyraReorderListReactProps=LyraReactElementProps<'lr-reorder-list'>;export type LyraResearchProgressReactProps=LyraReactElementProps<'lr-research-progress'>;export type LyraResizeObserverReactProps=LyraReactElementProps<'lr-resize-observer'>;export type LyraResponsivePanelReactProps=LyraReactElementProps<'lr-responsive-panel'>;export type LyraResultCardReactProps=LyraReactElementProps<'lr-result-card'>;export type LyraResultFieldReactProps=LyraReactElementProps<'lr-result-field'>;export type LyraRetrievalCompareReactProps=LyraReactElementProps<'lr-retrieval-compare'>;export type LyraRetrievalResultsReactProps=LyraReactElementProps<'lr-retrieval-results'>;export type LyraRetrievalSearchReactProps=LyraReactElementProps<'lr-retrieval-search'>;export type LyraRetrievalTraceReactProps=LyraReactElementProps<'lr-retrieval-trace'>;export type LyraRubricFormReactProps=LyraReactElementProps<'lr-rubric-form'>;export type LyraSankeyReactProps=LyraReactElementProps<'lr-sankey'>;export type LyraScatterChartReactProps=LyraReactElementProps<'lr-scatter-chart'>;export type LyraScrollerReactProps=LyraReactElementProps<'lr-scroller'>;export type LyraSegmentedReactProps=LyraReactElementProps<'lr-segmented'>;export type LyraSelectReactProps=LyraReactElementProps<'lr-select'>;export type LyraSelectionToolbarReactProps=LyraReactElementProps<'lr-selection-toolbar'>;export type LyraSequencePlaybackReactProps=LyraReactElementProps<'lr-sequence-playback'>;export type LyraSequenceStripReactProps=LyraReactElementProps<'lr-sequence-strip'>;export type LyraSignaturePadReactProps=LyraReactElementProps<'lr-signature-pad'>;export type LyraSkeletonReactProps=LyraReactElementProps<'lr-skeleton'>;export type LyraSliderReactProps=LyraReactElementProps<'lr-slider'>;export type LyraSourceCardReactProps=LyraReactElementProps<'lr-source-card'>;export type LyraSourceListReactProps=LyraReactElementProps<'lr-source-list'>;export type LyraSourcePickerReactProps=LyraReactElementProps<'lr-source-picker'>;export type LyraSpanWaterfallReactProps=LyraReactElementProps<'lr-span-waterfall'>;export type LyraSparklineReactProps=LyraReactElementProps<'lr-sparkline'>;export type LyraSpinnerReactProps=LyraReactElementProps<'lr-spinner'>;export type LyraSplitPanelReactProps=LyraReactElementProps<'lr-split-panel'>;export type LyraSpreadsheetViewerReactProps=LyraReactElementProps<'lr-spreadsheet-viewer'>;export type LyraStackTraceReactProps=LyraReactElementProps<'lr-stack-trace'>;export type LyraStatReactProps=LyraReactElementProps<'lr-stat'>;export type LyraStepperReactProps=LyraReactElementProps<'lr-stepper'>;export type LyraStreamStatusReactProps=LyraReactElementProps<'lr-stream-status'>;export type LyraStreamingTextReactProps=LyraReactElementProps<'lr-streaming-text'>;export type LyraStreamingTextCoreReactProps=LyraReactElementProps<'lr-streaming-text-core'>;export type LyraStylePanelReactProps=LyraReactElementProps<'lr-style-panel'>;export type LyraSubagentPanelReactProps=LyraReactElementProps<'lr-subagent-panel'>;export type LyraSuggestionChipsReactProps=LyraReactElementProps<'lr-suggestion-chips'>;export type LyraSvgViewerReactProps=LyraReactElementProps<'lr-svg-viewer'>;export type LyraSwatchPickerReactProps=LyraReactElementProps<'lr-swatch-picker'>;export type LyraSwitchReactProps=LyraReactElementProps<'lr-switch'>;export type LyraTabReactProps=LyraReactElementProps<'lr-tab'>;export type LyraTabGroupReactProps=LyraReactElementProps<'lr-tab-group'>;export type LyraTabPanelReactProps=LyraReactElementProps<'lr-tab-panel'>;export type LyraTableReactProps=LyraReactElementProps<'lr-table'>;export type LyraTagReactProps=LyraReactElementProps<'lr-tag'>;export type LyraTaskListReactProps=LyraReactElementProps<'lr-task-list'>;export type LyraTerminalReactProps=LyraReactElementProps<'lr-terminal'>;export type LyraTestResultsReactProps=LyraReactElementProps<'lr-test-results'>;export type LyraTextareaReactProps=LyraReactElementProps<'lr-textarea'>;export type LyraThinkingPanelReactProps=LyraReactElementProps<'lr-thinking-panel'>;export type LyraThreadListReactProps=LyraReactElementProps<'lr-thread-list'>;export type LyraTimeInputReactProps=LyraReactElementProps<'lr-time-input'>;export type LyraTimeRangeReactProps=LyraReactElementProps<'lr-time-range'>;export type LyraTimeZonePickerReactProps=LyraReactElementProps<'lr-time-zone-picker'>;export type LyraTimelineReactProps=LyraReactElementProps<'lr-timeline'>;export type LyraTimelineItemReactProps=LyraReactElementProps<'lr-timeline-item'>;export type LyraToastReactProps=LyraReactElementProps<'lr-toast'>;export type LyraToastItemReactProps=LyraReactElementProps<'lr-toast-item'>;export type LyraToggleReactProps=LyraReactElementProps<'lr-toggle'>;export type LyraToggleGroupReactProps=LyraReactElementProps<'lr-toggle-group'>;export type LyraTokenInputReactProps=LyraReactElementProps<'lr-token-input'>;export type LyraToolApprovalDialogReactProps=LyraReactElementProps<'lr-tool-approval-dialog'>;export type LyraToolCallBlockReactProps=LyraReactElementProps<'lr-tool-call-block'>;export type LyraToolCallChipReactProps=LyraReactElementProps<'lr-tool-call-chip'>;export type LyraToolParamFormReactProps=LyraReactElementProps<'lr-tool-param-form'>;export type LyraToolResultDialogReactProps=LyraReactElementProps<'lr-tool-result-dialog'>;export type LyraToolResultViewReactProps=LyraReactElementProps<'lr-tool-result-view'>;export type LyraToolSelectDialogReactProps=LyraReactElementProps<'lr-tool-select-dialog'>;export type LyraToolTimelineReactProps=LyraReactElementProps<'lr-tool-timeline'>;export type LyraTooltipReactProps=LyraReactElementProps<'lr-tooltip'>;export type LyraTourReactProps=LyraReactElementProps<'lr-tour'>;export type LyraTraceTreeReactProps=LyraReactElementProps<'lr-trace-tree'>;export type LyraTranscriptFeedReactProps=LyraReactElementProps<'lr-transcript-feed'>;export type LyraTreeReactProps=LyraReactElementProps<'lr-tree'>;export type LyraTreeItemReactProps=LyraReactElementProps<'lr-tree-item'>;export type LyraTreemapReactProps=LyraReactElementProps<'lr-treemap'>;export type LyraTypingIndicatorReactProps=LyraReactElementProps<'lr-typing-indicator'>;export type LyraUnitPickerReactProps=LyraReactElementProps<'lr-unit-picker'>;export type LyraUsageBadgeReactProps=LyraReactElementProps<'lr-usage-badge'>;export type LyraVideoReactProps=LyraReactElementProps<'lr-video'>;export type LyraVideoPlaylistReactProps=LyraReactElementProps<'lr-video-playlist'>;export type LyraVirtualListReactProps=LyraReactElementProps<'lr-virtual-list'>;export type LyraVisuallyHiddenReactProps=LyraReactElementProps<'lr-visually-hidden'>;export type LyraVoicePickerReactProps=LyraReactElementProps<'lr-voice-picker'>;export type LyraWidgetReactProps=LyraReactElementProps<'lr-widget'>;export type LyraWidgetRendererReactProps=LyraReactElementProps<'lr-widget-renderer'>;export type LyraWordCloudReactProps=LyraReactElementProps<'lr-word-cloud'>;export type LyraXmlViewerReactProps=LyraReactElementProps<'lr-xml-viewer'>;export type LyraZoomableFrameReactProps=LyraReactElementProps<'lr-zoomable-frame'>;export interface LyraReactIntrinsicElements{'lr-accordion':LyraAccordionReactProps;'lr-accordion-item':LyraAccordionItemReactProps;'lr-activity-feed':LyraActivityFeedReactProps;'lr-agent-eval-dashboard':LyraAgentEvalDashboardReactProps;'lr-agent-question':LyraAgentQuestionReactProps;'lr-agent-run':LyraAgentRunReactProps;'lr-agent-trace':LyraAgentTraceReactProps;'lr-agent-workspace':LyraAgentWorkspaceReactProps;'lr-alert':LyraAlertReactProps;'lr-animated-image':LyraAnimatedImageReactProps;'lr-animation':LyraAnimationReactProps;'lr-app-rail':LyraAppRailReactProps;'lr-app-rail-group':LyraAppRailGroupReactProps;'lr-app-rail-item':LyraAppRailItemReactProps;'lr-approval-queue':LyraApprovalQueueReactProps;'lr-archive-viewer':LyraArchiveViewerReactProps;'lr-artifact-panel':LyraArtifactPanelReactProps;'lr-attachment-chip':LyraAttachmentChipReactProps;'lr-attachment-trigger':LyraAttachmentTriggerReactProps;'lr-audio-visualizer':LyraAudioVisualizerReactProps;'lr-av-player':LyraAvPlayerReactProps;'lr-avatar':LyraAvatarReactProps;'lr-avatar-group':LyraAvatarGroupReactProps;'lr-background-runs':LyraBackgroundRunsReactProps;'lr-badge':LyraBadgeReactProps;'lr-bar-chart':LyraBarChartReactProps;'lr-box-plot':LyraBoxPlotReactProps;'lr-branch-picker':LyraBranchPickerReactProps;'lr-breadcrumb':LyraBreadcrumbReactProps;'lr-breadcrumb-item':LyraBreadcrumbItemReactProps;'lr-browser-frame':LyraBrowserFrameReactProps;'lr-bubble-chart':LyraBubbleChartReactProps;'lr-budget-meter':LyraBudgetMeterReactProps;'lr-button':LyraButtonReactProps;'lr-button-group':LyraButtonGroupReactProps;'lr-calendar':LyraCalendarReactProps;'lr-calendar-viewer':LyraCalendarViewerReactProps;'lr-callout':LyraCalloutReactProps;'lr-card':LyraCardReactProps;'lr-carousel':LyraCarouselReactProps;'lr-carousel-item':LyraCarouselItemReactProps;'lr-change-review':LyraChangeReviewReactProps;'lr-chart':LyraChartReactProps;'lr-chart-3d':LyraChart3dReactProps;'lr-chat-composer':LyraChatComposerReactProps;'lr-chat-message':LyraChatMessageReactProps;'lr-chat-viewport':LyraChatViewportReactProps;'lr-checkbox':LyraCheckboxReactProps;'lr-checkbox-group':LyraCheckboxGroupReactProps;'lr-checkpoint':LyraCheckpointReactProps;'lr-chip':LyraChipReactProps;'lr-chip-group':LyraChipGroupReactProps;'lr-chord':LyraChordReactProps;'lr-choropleth':LyraChoroplethReactProps;'lr-chunk-inspector':LyraChunkInspectorReactProps;'lr-citation-badge':LyraCitationBadgeReactProps;'lr-claim-evidence':LyraClaimEvidenceReactProps;'lr-code-block':LyraCodeBlockReactProps;'lr-code-block-core':LyraCodeBlockCoreReactProps;'lr-code-editor':LyraCodeEditorReactProps;'lr-color-picker':LyraColorPickerReactProps;'lr-combobox':LyraComboboxReactProps;'lr-command-palette':LyraCommandPaletteReactProps;'lr-commit-card':LyraCommitCardReactProps;'lr-community-card':LyraCommunityCardReactProps;'lr-compare-panel':LyraComparePanelReactProps;'lr-condition-builder':LyraConditionBuilderReactProps;'lr-confirm-bar':LyraConfirmBarReactProps;'lr-connector-manager':LyraConnectorManagerReactProps;'lr-contact-viewer':LyraContactViewerReactProps;'lr-context-inspector':LyraContextInspectorReactProps;'lr-context-menu':LyraContextMenuReactProps;'lr-context-meter':LyraContextMeterReactProps;'lr-control-group':LyraControlGroupReactProps;'lr-conversation-item':LyraConversationItemReactProps;'lr-copy-button':LyraCopyButtonReactProps;'lr-country-picker':LyraCountryPickerReactProps;'lr-csv-viewer':LyraCsvViewerReactProps;'lr-currency-picker':LyraCurrencyPickerReactProps;'lr-dashboard-grid':LyraDashboardGridReactProps;'lr-data-grid':LyraDataGridReactProps;'lr-dataset-viewer':LyraDatasetViewerReactProps;'lr-date-input':LyraDateInputReactProps;'lr-date-picker':LyraDatePickerReactProps;'lr-details':LyraDetailsReactProps;'lr-dialog':LyraDialogReactProps;'lr-diff-view':LyraDiffViewReactProps;'lr-divider':LyraDividerReactProps;'lr-dock-panel':LyraDockPanelReactProps;'lr-document-compare':LyraDocumentCompareReactProps;'lr-document-library':LyraDocumentLibraryReactProps;'lr-document-preview':LyraDocumentPreviewReactProps;'lr-document-viewer':LyraDocumentViewerReactProps;'lr-docx-viewer':LyraDocxViewerReactProps;'lr-doughnut-chart':LyraDoughnutChartReactProps;'lr-drawer':LyraDrawerReactProps;'lr-drilldown-panel':LyraDrilldownPanelReactProps;'lr-drop-zone':LyraDropZoneReactProps;'lr-dropdown':LyraDropdownReactProps;'lr-dropdown-item':LyraDropdownItemReactProps;'lr-ebook-viewer':LyraEbookViewerReactProps;'lr-email-viewer':LyraEmailViewerReactProps;'lr-embedding-explorer':LyraEmbeddingExplorerReactProps;'lr-emoji-picker':LyraEmojiPickerReactProps;'lr-empty':LyraEmptyReactProps;'lr-entity-card':LyraEntityCardReactProps;'lr-entity-chip':LyraEntityChipReactProps;'lr-entity-dossier':LyraEntityDossierReactProps;'lr-env-list':LyraEnvListReactProps;'lr-eval-dataset':LyraEvalDatasetReactProps;'lr-eval-result':LyraEvalResultReactProps;'lr-eval-run':LyraEvalRunReactProps;'lr-export-button':LyraExportButtonReactProps;'lr-file-icon':LyraFileIconReactProps;'lr-file-input':LyraFileInputReactProps;'lr-file-tree':LyraFileTreeReactProps;'lr-filter-bar':LyraFilterBarReactProps;'lr-flag':LyraFlagReactProps;'lr-flow-canvas':LyraFlowCanvasReactProps;'lr-flow-controls':LyraFlowControlsReactProps;'lr-flow-minimap':LyraFlowMinimapReactProps;'lr-flow-node':LyraFlowNodeReactProps;'lr-flow-run-status':LyraFlowRunStatusReactProps;'lr-format-bytes':LyraFormatBytesReactProps;'lr-format-date':LyraFormatDateReactProps;'lr-format-number':LyraFormatNumberReactProps;'lr-funnel':LyraFunnelReactProps;'lr-gauge':LyraGaugeReactProps;'lr-generation-metrics':LyraGenerationMetricsReactProps;'lr-geojson-viewer':LyraGeoJsonViewerReactProps;'lr-graph':LyraGraphReactProps;'lr-graph-legend':LyraGraphLegendReactProps;'lr-graph-query-builder':LyraGraphQueryBuilderReactProps;'lr-grounding-summary':LyraGroundingSummaryReactProps;'lr-handoff-divider':LyraHandoffDividerReactProps;'lr-heatmap':LyraHeatmapReactProps;'lr-help':LyraHelpReactProps;'lr-highlight-layer':LyraHighlightLayerReactProps;'lr-histogram':LyraHistogramReactProps;'lr-html-viewer':LyraHtmlViewerReactProps;'lr-icon':LyraIconReactProps;'lr-icon-button':LyraIconButtonReactProps;'lr-image-comparer':LyraImageComparerReactProps;'lr-image-viewer':LyraImageViewerReactProps;'lr-include':LyraIncludeReactProps;'lr-ingestion-queue':LyraIngestionQueueReactProps;'lr-input':LyraInputReactProps;'lr-intersection-observer':LyraIntersectionObserverReactProps;'lr-json-schema-viewer':LyraJsonSchemaViewerReactProps;'lr-json-viewer':LyraJsonViewerReactProps;'lr-kbd':LyraKbdReactProps;'lr-knowledge-base':LyraKnowledgeBaseReactProps;'lr-knowledge-base-admin':LyraKnowledgeBaseAdminReactProps;'lr-knowledge-graph-explorer':LyraKnowledgeGraphExplorerReactProps;'lr-known-date':LyraKnownDateReactProps;'lr-lightbox':LyraLightboxReactProps;'lr-line-chart':LyraLineChartReactProps;'lr-lite-chart':LyraLiteChartReactProps;'lr-live-region':LyraLiveRegionReactProps;'lr-locale-picker':LyraLocalePickerReactProps;'lr-map':LyraMapReactProps;'lr-map-anchor':LyraMapAnchorReactProps;'lr-markdown':LyraMarkdownReactProps;'lr-markdown-core':LyraMarkdownCoreReactProps;'lr-mcp-app':LyraMcpAppReactProps;'lr-media-card':LyraMediaCardReactProps;'lr-memory-panel':LyraMemoryPanelReactProps;'lr-mention-popover':LyraMentionPopoverReactProps;'lr-menu':LyraMenuReactProps;'lr-menu-item':LyraMenuItemReactProps;'lr-menu-label':LyraMenuLabelReactProps;'lr-menubar':LyraMenubarReactProps;'lr-menubar-item':LyraMenubarItemReactProps;'lr-message-actions':LyraMessageActionsReactProps;'lr-message-feedback':LyraMessageFeedbackReactProps;'lr-message-parts':LyraMessagePartsReactProps;'lr-mind-map':LyraMindMapReactProps;'lr-model-select':LyraModelSelectReactProps;'lr-model-settings-panel':LyraModelSettingsPanelReactProps;'lr-model-viewer':LyraModelViewerReactProps;'lr-multi-split':LyraMultiSplitReactProps;'lr-mutation-observer':LyraMutationObserverReactProps;'lr-native-time-input':LyraNativeTimeInputReactProps;'lr-navigation-menu':LyraNavigationMenuReactProps;'lr-navigation-menu-item':LyraNavigationMenuItemReactProps;'lr-neighbor-list':LyraNeighborListReactProps;'lr-node-palette':LyraNodePaletteReactProps;'lr-notebook-viewer':LyraNotebookViewerReactProps;'lr-number-input':LyraNumberInputReactProps;'lr-option':LyraOptionReactProps;'lr-otp-input':LyraOtpInputReactProps;'lr-page':LyraPageReactProps;'lr-page-rail':LyraPageRailReactProps;'lr-pagination':LyraPaginationReactProps;'lr-pan-zoom':LyraPanZoomReactProps;'lr-path-strip':LyraPathStripReactProps;'lr-pdf-viewer':LyraPdfViewerReactProps;'lr-permission-grant':LyraPermissionGrantReactProps;'lr-permission-rules':LyraPermissionRulesReactProps;'lr-phone-input':LyraPhoneInputReactProps;'lr-pie-chart':LyraPieChartReactProps;'lr-polar-area-chart':LyraPolarAreaChartReactProps;'lr-policy-summary':LyraPolicySummaryReactProps;'lr-poll-status':LyraPollStatusReactProps;'lr-popover':LyraPopoverReactProps;'lr-popup':LyraPopupReactProps;'lr-pptx-viewer':LyraPptxViewerReactProps;'lr-progress-bar':LyraProgressBarReactProps;'lr-progress-ring':LyraProgressRingReactProps;'lr-prompt-input':LyraPromptInputReactProps;'lr-prompt-queue':LyraPromptQueueReactProps;'lr-prompt-studio':LyraPromptStudioReactProps;'lr-provenance-panel':LyraProvenancePanelReactProps;'lr-push-to-talk':LyraPushToTalkReactProps;'lr-qr-code':LyraQrCodeReactProps;'lr-radar-chart':LyraRadarChartReactProps;'lr-radio':LyraRadioReactProps;'lr-radio-button':LyraRadioButtonReactProps;'lr-radio-group':LyraRadioGroupReactProps;'lr-rag-answer':LyraRagAnswerReactProps;'lr-rag-eval-dashboard':LyraRagEvalDashboardReactProps;'lr-random-content':LyraRandomContentReactProps;'lr-rating':LyraRatingReactProps;'lr-realtime-session':LyraRealtimeSessionReactProps;'lr-relative-time':LyraRelativeTimeReactProps;'lr-reorder-item':LyraReorderItemReactProps;'lr-reorder-list':LyraReorderListReactProps;'lr-research-progress':LyraResearchProgressReactProps;'lr-resize-observer':LyraResizeObserverReactProps;'lr-responsive-panel':LyraResponsivePanelReactProps;'lr-result-card':LyraResultCardReactProps;'lr-result-field':LyraResultFieldReactProps;'lr-retrieval-compare':LyraRetrievalCompareReactProps;'lr-retrieval-results':LyraRetrievalResultsReactProps;'lr-retrieval-search':LyraRetrievalSearchReactProps;'lr-retrieval-trace':LyraRetrievalTraceReactProps;'lr-rubric-form':LyraRubricFormReactProps;'lr-sankey':LyraSankeyReactProps;'lr-scatter-chart':LyraScatterChartReactProps;'lr-scroller':LyraScrollerReactProps;'lr-segmented':LyraSegmentedReactProps;'lr-select':LyraSelectReactProps;'lr-selection-toolbar':LyraSelectionToolbarReactProps;'lr-sequence-playback':LyraSequencePlaybackReactProps;'lr-sequence-strip':LyraSequenceStripReactProps;'lr-signature-pad':LyraSignaturePadReactProps;'lr-skeleton':LyraSkeletonReactProps;'lr-slider':LyraSliderReactProps;'lr-source-card':LyraSourceCardReactProps;'lr-source-list':LyraSourceListReactProps;'lr-source-picker':LyraSourcePickerReactProps;'lr-span-waterfall':LyraSpanWaterfallReactProps;'lr-sparkline':LyraSparklineReactProps;'lr-spinner':LyraSpinnerReactProps;'lr-split-panel':LyraSplitPanelReactProps;'lr-spreadsheet-viewer':LyraSpreadsheetViewerReactProps;'lr-stack-trace':LyraStackTraceReactProps;'lr-stat':LyraStatReactProps;'lr-stepper':LyraStepperReactProps;'lr-stream-status':LyraStreamStatusReactProps;'lr-streaming-text':LyraStreamingTextReactProps;'lr-streaming-text-core':LyraStreamingTextCoreReactProps;'lr-style-panel':LyraStylePanelReactProps;'lr-subagent-panel':LyraSubagentPanelReactProps;'lr-suggestion-chips':LyraSuggestionChipsReactProps;'lr-svg-viewer':LyraSvgViewerReactProps;'lr-swatch-picker':LyraSwatchPickerReactProps;'lr-switch':LyraSwitchReactProps;'lr-tab':LyraTabReactProps;'lr-tab-group':LyraTabGroupReactProps;'lr-tab-panel':LyraTabPanelReactProps;'lr-table':LyraTableReactProps;'lr-tag':LyraTagReactProps;'lr-task-list':LyraTaskListReactProps;'lr-terminal':LyraTerminalReactProps;'lr-test-results':LyraTestResultsReactProps;'lr-textarea':LyraTextareaReactProps;'lr-thinking-panel':LyraThinkingPanelReactProps;'lr-thread-list':LyraThreadListReactProps;'lr-time-input':LyraTimeInputReactProps;'lr-time-range':LyraTimeRangeReactProps;'lr-time-zone-picker':LyraTimeZonePickerReactProps;'lr-timeline':LyraTimelineReactProps;'lr-timeline-item':LyraTimelineItemReactProps;'lr-toast':LyraToastReactProps;'lr-toast-item':LyraToastItemReactProps;'lr-toggle':LyraToggleReactProps;'lr-toggle-group':LyraToggleGroupReactProps;'lr-token-input':LyraTokenInputReactProps;'lr-tool-approval-dialog':LyraToolApprovalDialogReactProps;'lr-tool-call-block':LyraToolCallBlockReactProps;'lr-tool-call-chip':LyraToolCallChipReactProps;'lr-tool-param-form':LyraToolParamFormReactProps;'lr-tool-result-dialog':LyraToolResultDialogReactProps;'lr-tool-result-view':LyraToolResultViewReactProps;'lr-tool-select-dialog':LyraToolSelectDialogReactProps;'lr-tool-timeline':LyraToolTimelineReactProps;'lr-tooltip':LyraTooltipReactProps;'lr-tour':LyraTourReactProps;'lr-trace-tree':LyraTraceTreeReactProps;'lr-transcript-feed':LyraTranscriptFeedReactProps;'lr-tree':LyraTreeReactProps;'lr-tree-item':LyraTreeItemReactProps;'lr-treemap':LyraTreemapReactProps;'lr-typing-indicator':LyraTypingIndicatorReactProps;'lr-unit-picker':LyraUnitPickerReactProps;'lr-usage-badge':LyraUsageBadgeReactProps;'lr-video':LyraVideoReactProps;'lr-video-playlist':LyraVideoPlaylistReactProps;'lr-virtual-list':LyraVirtualListReactProps;'lr-visually-hidden':LyraVisuallyHiddenReactProps;'lr-voice-picker':LyraVoicePickerReactProps;'lr-widget':LyraWidgetReactProps;'lr-widget-renderer':LyraWidgetRendererReactProps;'lr-word-cloud':LyraWordCloudReactProps;'lr-xml-viewer':LyraXmlViewerReactProps;'lr-zoomable-frame':LyraZoomableFrameReactProps;}declare global{namespace JSX{interface IntrinsicElements extends LyraReactIntrinsicElements{}}}declare module'react'{namespace JSX{interface IntrinsicElements extends LyraReactIntrinsicElements{}}}
1
+ import type*as React from'react';import type{LyraComponentTypeMap,LyraBoundEvent,LyraCSSCustomProperties}from'./framework-types.js';export type{LyraUnknownAttributeValue,LyraAttributeValue,LyraCSSCustomProperties}from'./framework-types.js';type LyraReactEventProps<ElementType extends HTMLElement,ElementEvents extends object,EventNames extends string> ={[Name in EventNames as`on${Name}`]?:(event:LyraBoundEvent<ElementType,ElementEvents,Name>)=>void;}&{[Name in EventNames as`on${Name}Capture`]?:(event:LyraBoundEvent<ElementType,ElementEvents,Name>)=>void;};type LyraReactElementProps<Tag extends keyof LyraComponentTypeMap,ElementType extends HTMLElement=LyraComponentTypeMap[Tag]['element'],Properties extends object=LyraComponentTypeMap[Tag]['properties'],ElementEvents extends object=LyraComponentTypeMap[Tag]['events'],EventNames extends string=LyraComponentTypeMap[Tag]['eventNames'],CSSNames extends string=LyraComponentTypeMap[Tag]['cssNames'],AttributeAliases extends object=LyraComponentTypeMap[Tag]['attributeAliases']> =Omit<React.HTMLAttributes<ElementType>,keyof Properties|keyof AttributeAliases|keyof LyraReactEventProps<ElementType,ElementEvents,EventNames> |'style'> &React.RefAttributes<ElementType> &Properties&AttributeAliases&LyraReactEventProps<ElementType,ElementEvents,EventNames> &{style?:React.CSSProperties&LyraCSSCustomProperties<CSSNames>;};export type LyraAccordionReactProps=LyraReactElementProps<'lr-accordion'>;export type LyraAccordionItemReactProps=LyraReactElementProps<'lr-accordion-item'>;export type LyraActivityFeedReactProps=LyraReactElementProps<'lr-activity-feed'>;export type LyraAgentEvalDashboardReactProps=LyraReactElementProps<'lr-agent-eval-dashboard'>;export type LyraAgentQuestionReactProps=LyraReactElementProps<'lr-agent-question'>;export type LyraAgentRunReactProps=LyraReactElementProps<'lr-agent-run'>;export type LyraAgentTraceReactProps=LyraReactElementProps<'lr-agent-trace'>;export type LyraAgentWorkspaceReactProps=LyraReactElementProps<'lr-agent-workspace'>;export type LyraAlertReactProps=LyraReactElementProps<'lr-alert'>;export type LyraAnimatedImageReactProps=LyraReactElementProps<'lr-animated-image'>;export type LyraAnimationReactProps=LyraReactElementProps<'lr-animation'>;export type LyraAppRailReactProps=LyraReactElementProps<'lr-app-rail'>;export type LyraAppRailGroupReactProps=LyraReactElementProps<'lr-app-rail-group'>;export type LyraAppRailItemReactProps=LyraReactElementProps<'lr-app-rail-item'>;export type LyraApprovalQueueReactProps=LyraReactElementProps<'lr-approval-queue'>;export type LyraArchiveViewerReactProps=LyraReactElementProps<'lr-archive-viewer'>;export type LyraArtifactPanelReactProps=LyraReactElementProps<'lr-artifact-panel'>;export type LyraAttachmentChipReactProps=LyraReactElementProps<'lr-attachment-chip'>;export type LyraAttachmentTriggerReactProps=LyraReactElementProps<'lr-attachment-trigger'>;export type LyraAudioVisualizerReactProps=LyraReactElementProps<'lr-audio-visualizer'>;export type LyraAvPlayerReactProps=LyraReactElementProps<'lr-av-player'>;export type LyraAvatarReactProps=LyraReactElementProps<'lr-avatar'>;export type LyraAvatarGroupReactProps=LyraReactElementProps<'lr-avatar-group'>;export type LyraBackgroundRunsReactProps=LyraReactElementProps<'lr-background-runs'>;export type LyraBadgeReactProps=LyraReactElementProps<'lr-badge'>;export type LyraBarChartReactProps=LyraReactElementProps<'lr-bar-chart'>;export type LyraBoxPlotReactProps=LyraReactElementProps<'lr-box-plot'>;export type LyraBranchPickerReactProps=LyraReactElementProps<'lr-branch-picker'>;export type LyraBreadcrumbReactProps=LyraReactElementProps<'lr-breadcrumb'>;export type LyraBreadcrumbItemReactProps=LyraReactElementProps<'lr-breadcrumb-item'>;export type LyraBrowserFrameReactProps=LyraReactElementProps<'lr-browser-frame'>;export type LyraBubbleChartReactProps=LyraReactElementProps<'lr-bubble-chart'>;export type LyraBudgetMeterReactProps=LyraReactElementProps<'lr-budget-meter'>;export type LyraButtonReactProps=LyraReactElementProps<'lr-button'>;export type LyraButtonGroupReactProps=LyraReactElementProps<'lr-button-group'>;export type LyraCalendarReactProps=LyraReactElementProps<'lr-calendar'>;export type LyraCalendarViewerReactProps=LyraReactElementProps<'lr-calendar-viewer'>;export type LyraCalloutReactProps=LyraReactElementProps<'lr-callout'>;export type LyraCardReactProps=LyraReactElementProps<'lr-card'>;export type LyraCarouselReactProps=LyraReactElementProps<'lr-carousel'>;export type LyraCarouselItemReactProps=LyraReactElementProps<'lr-carousel-item'>;export type LyraChangeReviewReactProps=LyraReactElementProps<'lr-change-review'>;export type LyraChartReactProps=LyraReactElementProps<'lr-chart'>;export type LyraChart3dReactProps=LyraReactElementProps<'lr-chart-3d'>;export type LyraChatComposerReactProps=LyraReactElementProps<'lr-chat-composer'>;export type LyraChatMessageReactProps=LyraReactElementProps<'lr-chat-message'>;export type LyraChatViewportReactProps=LyraReactElementProps<'lr-chat-viewport'>;export type LyraCheckboxReactProps=LyraReactElementProps<'lr-checkbox'>;export type LyraCheckboxGroupReactProps=LyraReactElementProps<'lr-checkbox-group'>;export type LyraCheckpointReactProps=LyraReactElementProps<'lr-checkpoint'>;export type LyraChipReactProps=LyraReactElementProps<'lr-chip'>;export type LyraChipGroupReactProps=LyraReactElementProps<'lr-chip-group'>;export type LyraChordReactProps=LyraReactElementProps<'lr-chord'>;export type LyraChoroplethReactProps=LyraReactElementProps<'lr-choropleth'>;export type LyraChunkInspectorReactProps=LyraReactElementProps<'lr-chunk-inspector'>;export type LyraCitationBadgeReactProps=LyraReactElementProps<'lr-citation-badge'>;export type LyraClaimEvidenceReactProps=LyraReactElementProps<'lr-claim-evidence'>;export type LyraCodeBlockReactProps=LyraReactElementProps<'lr-code-block'>;export type LyraCodeBlockCoreReactProps=LyraReactElementProps<'lr-code-block-core'>;export type LyraCodeEditorReactProps=LyraReactElementProps<'lr-code-editor'>;export type LyraColorPickerReactProps=LyraReactElementProps<'lr-color-picker'>;export type LyraComboboxReactProps=LyraReactElementProps<'lr-combobox'>;export type LyraCommandPaletteReactProps=LyraReactElementProps<'lr-command-palette'>;export type LyraCommitCardReactProps=LyraReactElementProps<'lr-commit-card'>;export type LyraCommunityCardReactProps=LyraReactElementProps<'lr-community-card'>;export type LyraComparePanelReactProps=LyraReactElementProps<'lr-compare-panel'>;export type LyraConditionBuilderReactProps=LyraReactElementProps<'lr-condition-builder'>;export type LyraConfirmBarReactProps=LyraReactElementProps<'lr-confirm-bar'>;export type LyraConnectorManagerReactProps=LyraReactElementProps<'lr-connector-manager'>;export type LyraContactViewerReactProps=LyraReactElementProps<'lr-contact-viewer'>;export type LyraContextInspectorReactProps=LyraReactElementProps<'lr-context-inspector'>;export type LyraContextMenuReactProps=LyraReactElementProps<'lr-context-menu'>;export type LyraContextMeterReactProps=LyraReactElementProps<'lr-context-meter'>;export type LyraControlGroupReactProps=LyraReactElementProps<'lr-control-group'>;export type LyraConversationItemReactProps=LyraReactElementProps<'lr-conversation-item'>;export type LyraCopyButtonReactProps=LyraReactElementProps<'lr-copy-button'>;export type LyraCounterReactProps=LyraReactElementProps<'lr-counter'>;export type LyraCountryPickerReactProps=LyraReactElementProps<'lr-country-picker'>;export type LyraCsvViewerReactProps=LyraReactElementProps<'lr-csv-viewer'>;export type LyraCurrencyPickerReactProps=LyraReactElementProps<'lr-currency-picker'>;export type LyraDashboardGridReactProps=LyraReactElementProps<'lr-dashboard-grid'>;export type LyraDataGridReactProps=LyraReactElementProps<'lr-data-grid'>;export type LyraDatasetViewerReactProps=LyraReactElementProps<'lr-dataset-viewer'>;export type LyraDateInputReactProps=LyraReactElementProps<'lr-date-input'>;export type LyraDatePickerReactProps=LyraReactElementProps<'lr-date-picker'>;export type LyraDetailsReactProps=LyraReactElementProps<'lr-details'>;export type LyraDialogReactProps=LyraReactElementProps<'lr-dialog'>;export type LyraDiffViewReactProps=LyraReactElementProps<'lr-diff-view'>;export type LyraDividerReactProps=LyraReactElementProps<'lr-divider'>;export type LyraDockPanelReactProps=LyraReactElementProps<'lr-dock-panel'>;export type LyraDocumentCompareReactProps=LyraReactElementProps<'lr-document-compare'>;export type LyraDocumentLibraryReactProps=LyraReactElementProps<'lr-document-library'>;export type LyraDocumentPreviewReactProps=LyraReactElementProps<'lr-document-preview'>;export type LyraDocumentViewerReactProps=LyraReactElementProps<'lr-document-viewer'>;export type LyraDocxViewerReactProps=LyraReactElementProps<'lr-docx-viewer'>;export type LyraDoughnutChartReactProps=LyraReactElementProps<'lr-doughnut-chart'>;export type LyraDrawerReactProps=LyraReactElementProps<'lr-drawer'>;export type LyraDrilldownPanelReactProps=LyraReactElementProps<'lr-drilldown-panel'>;export type LyraDropZoneReactProps=LyraReactElementProps<'lr-drop-zone'>;export type LyraDropdownReactProps=LyraReactElementProps<'lr-dropdown'>;export type LyraDropdownItemReactProps=LyraReactElementProps<'lr-dropdown-item'>;export type LyraEbookViewerReactProps=LyraReactElementProps<'lr-ebook-viewer'>;export type LyraEmailViewerReactProps=LyraReactElementProps<'lr-email-viewer'>;export type LyraEmbeddingExplorerReactProps=LyraReactElementProps<'lr-embedding-explorer'>;export type LyraEmojiPickerReactProps=LyraReactElementProps<'lr-emoji-picker'>;export type LyraEmptyReactProps=LyraReactElementProps<'lr-empty'>;export type LyraEntityCardReactProps=LyraReactElementProps<'lr-entity-card'>;export type LyraEntityChipReactProps=LyraReactElementProps<'lr-entity-chip'>;export type LyraEntityDossierReactProps=LyraReactElementProps<'lr-entity-dossier'>;export type LyraEnvListReactProps=LyraReactElementProps<'lr-env-list'>;export type LyraEvalDatasetReactProps=LyraReactElementProps<'lr-eval-dataset'>;export type LyraEvalResultReactProps=LyraReactElementProps<'lr-eval-result'>;export type LyraEvalRunReactProps=LyraReactElementProps<'lr-eval-run'>;export type LyraExportButtonReactProps=LyraReactElementProps<'lr-export-button'>;export type LyraFileIconReactProps=LyraReactElementProps<'lr-file-icon'>;export type LyraFileInputReactProps=LyraReactElementProps<'lr-file-input'>;export type LyraFileTreeReactProps=LyraReactElementProps<'lr-file-tree'>;export type LyraFilterBarReactProps=LyraReactElementProps<'lr-filter-bar'>;export type LyraFlagReactProps=LyraReactElementProps<'lr-flag'>;export type LyraFlowCanvasReactProps=LyraReactElementProps<'lr-flow-canvas'>;export type LyraFlowControlsReactProps=LyraReactElementProps<'lr-flow-controls'>;export type LyraFlowMinimapReactProps=LyraReactElementProps<'lr-flow-minimap'>;export type LyraFlowNodeReactProps=LyraReactElementProps<'lr-flow-node'>;export type LyraFlowRunStatusReactProps=LyraReactElementProps<'lr-flow-run-status'>;export type LyraFormatBytesReactProps=LyraReactElementProps<'lr-format-bytes'>;export type LyraFormatDateReactProps=LyraReactElementProps<'lr-format-date'>;export type LyraFormatNumberReactProps=LyraReactElementProps<'lr-format-number'>;export type LyraFunnelReactProps=LyraReactElementProps<'lr-funnel'>;export type LyraGaugeReactProps=LyraReactElementProps<'lr-gauge'>;export type LyraGenerationMetricsReactProps=LyraReactElementProps<'lr-generation-metrics'>;export type LyraGeoJsonViewerReactProps=LyraReactElementProps<'lr-geojson-viewer'>;export type LyraGraphReactProps=LyraReactElementProps<'lr-graph'>;export type LyraGraphLegendReactProps=LyraReactElementProps<'lr-graph-legend'>;export type LyraGraphQueryBuilderReactProps=LyraReactElementProps<'lr-graph-query-builder'>;export type LyraGroundingSummaryReactProps=LyraReactElementProps<'lr-grounding-summary'>;export type LyraHandoffDividerReactProps=LyraReactElementProps<'lr-handoff-divider'>;export type LyraHeatmapReactProps=LyraReactElementProps<'lr-heatmap'>;export type LyraHelpReactProps=LyraReactElementProps<'lr-help'>;export type LyraHighlightLayerReactProps=LyraReactElementProps<'lr-highlight-layer'>;export type LyraHistogramReactProps=LyraReactElementProps<'lr-histogram'>;export type LyraHtmlViewerReactProps=LyraReactElementProps<'lr-html-viewer'>;export type LyraIconReactProps=LyraReactElementProps<'lr-icon'>;export type LyraIconButtonReactProps=LyraReactElementProps<'lr-icon-button'>;export type LyraImageComparerReactProps=LyraReactElementProps<'lr-image-comparer'>;export type LyraImageViewerReactProps=LyraReactElementProps<'lr-image-viewer'>;export type LyraIncludeReactProps=LyraReactElementProps<'lr-include'>;export type LyraIngestionQueueReactProps=LyraReactElementProps<'lr-ingestion-queue'>;export type LyraInputReactProps=LyraReactElementProps<'lr-input'>;export type LyraIntersectionObserverReactProps=LyraReactElementProps<'lr-intersection-observer'>;export type LyraJsonSchemaViewerReactProps=LyraReactElementProps<'lr-json-schema-viewer'>;export type LyraJsonViewerReactProps=LyraReactElementProps<'lr-json-viewer'>;export type LyraKbdReactProps=LyraReactElementProps<'lr-kbd'>;export type LyraKnowledgeBaseReactProps=LyraReactElementProps<'lr-knowledge-base'>;export type LyraKnowledgeBaseAdminReactProps=LyraReactElementProps<'lr-knowledge-base-admin'>;export type LyraKnowledgeGraphExplorerReactProps=LyraReactElementProps<'lr-knowledge-graph-explorer'>;export type LyraKnownDateReactProps=LyraReactElementProps<'lr-known-date'>;export type LyraLightboxReactProps=LyraReactElementProps<'lr-lightbox'>;export type LyraLightboxItemReactProps=LyraReactElementProps<'lr-lightbox-item'>;export type LyraLineChartReactProps=LyraReactElementProps<'lr-line-chart'>;export type LyraLiteChartReactProps=LyraReactElementProps<'lr-lite-chart'>;export type LyraLiveRegionReactProps=LyraReactElementProps<'lr-live-region'>;export type LyraLocalePickerReactProps=LyraReactElementProps<'lr-locale-picker'>;export type LyraMapReactProps=LyraReactElementProps<'lr-map'>;export type LyraMapAnchorReactProps=LyraReactElementProps<'lr-map-anchor'>;export type LyraMarkdownReactProps=LyraReactElementProps<'lr-markdown'>;export type LyraMarkdownCoreReactProps=LyraReactElementProps<'lr-markdown-core'>;export type LyraMcpAppReactProps=LyraReactElementProps<'lr-mcp-app'>;export type LyraMediaCardReactProps=LyraReactElementProps<'lr-media-card'>;export type LyraMemoryPanelReactProps=LyraReactElementProps<'lr-memory-panel'>;export type LyraMentionPopoverReactProps=LyraReactElementProps<'lr-mention-popover'>;export type LyraMenuReactProps=LyraReactElementProps<'lr-menu'>;export type LyraMenuItemReactProps=LyraReactElementProps<'lr-menu-item'>;export type LyraMenuLabelReactProps=LyraReactElementProps<'lr-menu-label'>;export type LyraMenubarReactProps=LyraReactElementProps<'lr-menubar'>;export type LyraMenubarItemReactProps=LyraReactElementProps<'lr-menubar-item'>;export type LyraMessageActionsReactProps=LyraReactElementProps<'lr-message-actions'>;export type LyraMessageFeedbackReactProps=LyraReactElementProps<'lr-message-feedback'>;export type LyraMessagePartsReactProps=LyraReactElementProps<'lr-message-parts'>;export type LyraMindMapReactProps=LyraReactElementProps<'lr-mind-map'>;export type LyraModelSelectReactProps=LyraReactElementProps<'lr-model-select'>;export type LyraModelSettingsPanelReactProps=LyraReactElementProps<'lr-model-settings-panel'>;export type LyraModelViewerReactProps=LyraReactElementProps<'lr-model-viewer'>;export type LyraMultiSplitReactProps=LyraReactElementProps<'lr-multi-split'>;export type LyraMutationObserverReactProps=LyraReactElementProps<'lr-mutation-observer'>;export type LyraNativeTimeInputReactProps=LyraReactElementProps<'lr-native-time-input'>;export type LyraNavigationMenuReactProps=LyraReactElementProps<'lr-navigation-menu'>;export type LyraNavigationMenuItemReactProps=LyraReactElementProps<'lr-navigation-menu-item'>;export type LyraNeighborListReactProps=LyraReactElementProps<'lr-neighbor-list'>;export type LyraNodePaletteReactProps=LyraReactElementProps<'lr-node-palette'>;export type LyraNotebookViewerReactProps=LyraReactElementProps<'lr-notebook-viewer'>;export type LyraNumberInputReactProps=LyraReactElementProps<'lr-number-input'>;export type LyraNumberTickerReactProps=LyraReactElementProps<'lr-number-ticker'>;export type LyraOptionReactProps=LyraReactElementProps<'lr-option'>;export type LyraOtpInputReactProps=LyraReactElementProps<'lr-otp-input'>;export type LyraPageReactProps=LyraReactElementProps<'lr-page'>;export type LyraPageRailReactProps=LyraReactElementProps<'lr-page-rail'>;export type LyraPaginationReactProps=LyraReactElementProps<'lr-pagination'>;export type LyraPanZoomReactProps=LyraReactElementProps<'lr-pan-zoom'>;export type LyraPathStripReactProps=LyraReactElementProps<'lr-path-strip'>;export type LyraPdfViewerReactProps=LyraReactElementProps<'lr-pdf-viewer'>;export type LyraPermissionGrantReactProps=LyraReactElementProps<'lr-permission-grant'>;export type LyraPermissionRulesReactProps=LyraReactElementProps<'lr-permission-rules'>;export type LyraPhoneInputReactProps=LyraReactElementProps<'lr-phone-input'>;export type LyraPieChartReactProps=LyraReactElementProps<'lr-pie-chart'>;export type LyraPolarAreaChartReactProps=LyraReactElementProps<'lr-polar-area-chart'>;export type LyraPolicySummaryReactProps=LyraReactElementProps<'lr-policy-summary'>;export type LyraPollStatusReactProps=LyraReactElementProps<'lr-poll-status'>;export type LyraPopoverReactProps=LyraReactElementProps<'lr-popover'>;export type LyraPopupReactProps=LyraReactElementProps<'lr-popup'>;export type LyraPptxViewerReactProps=LyraReactElementProps<'lr-pptx-viewer'>;export type LyraProgressBarReactProps=LyraReactElementProps<'lr-progress-bar'>;export type LyraProgressRingReactProps=LyraReactElementProps<'lr-progress-ring'>;export type LyraPromptInputReactProps=LyraReactElementProps<'lr-prompt-input'>;export type LyraPromptQueueReactProps=LyraReactElementProps<'lr-prompt-queue'>;export type LyraPromptStudioReactProps=LyraReactElementProps<'lr-prompt-studio'>;export type LyraProvenancePanelReactProps=LyraReactElementProps<'lr-provenance-panel'>;export type LyraPushToTalkReactProps=LyraReactElementProps<'lr-push-to-talk'>;export type LyraQrCodeReactProps=LyraReactElementProps<'lr-qr-code'>;export type LyraRadarChartReactProps=LyraReactElementProps<'lr-radar-chart'>;export type LyraRadioReactProps=LyraReactElementProps<'lr-radio'>;export type LyraRadioButtonReactProps=LyraReactElementProps<'lr-radio-button'>;export type LyraRadioGroupReactProps=LyraReactElementProps<'lr-radio-group'>;export type LyraRagAnswerReactProps=LyraReactElementProps<'lr-rag-answer'>;export type LyraRagEvalDashboardReactProps=LyraReactElementProps<'lr-rag-eval-dashboard'>;export type LyraRandomContentReactProps=LyraReactElementProps<'lr-random-content'>;export type LyraRatingReactProps=LyraReactElementProps<'lr-rating'>;export type LyraRealtimeSessionReactProps=LyraReactElementProps<'lr-realtime-session'>;export type LyraRelativeTimeReactProps=LyraReactElementProps<'lr-relative-time'>;export type LyraReorderItemReactProps=LyraReactElementProps<'lr-reorder-item'>;export type LyraReorderListReactProps=LyraReactElementProps<'lr-reorder-list'>;export type LyraResearchProgressReactProps=LyraReactElementProps<'lr-research-progress'>;export type LyraResizeObserverReactProps=LyraReactElementProps<'lr-resize-observer'>;export type LyraResponsivePanelReactProps=LyraReactElementProps<'lr-responsive-panel'>;export type LyraResultCardReactProps=LyraReactElementProps<'lr-result-card'>;export type LyraResultFieldReactProps=LyraReactElementProps<'lr-result-field'>;export type LyraRetrievalCompareReactProps=LyraReactElementProps<'lr-retrieval-compare'>;export type LyraRetrievalResultsReactProps=LyraReactElementProps<'lr-retrieval-results'>;export type LyraRetrievalSearchReactProps=LyraReactElementProps<'lr-retrieval-search'>;export type LyraRetrievalTraceReactProps=LyraReactElementProps<'lr-retrieval-trace'>;export type LyraRubricFormReactProps=LyraReactElementProps<'lr-rubric-form'>;export type LyraSankeyReactProps=LyraReactElementProps<'lr-sankey'>;export type LyraScatterChartReactProps=LyraReactElementProps<'lr-scatter-chart'>;export type LyraScrollerReactProps=LyraReactElementProps<'lr-scroller'>;export type LyraSegmentedReactProps=LyraReactElementProps<'lr-segmented'>;export type LyraSelectReactProps=LyraReactElementProps<'lr-select'>;export type LyraSelectionToolbarReactProps=LyraReactElementProps<'lr-selection-toolbar'>;export type LyraSequencePlaybackReactProps=LyraReactElementProps<'lr-sequence-playback'>;export type LyraSequenceStripReactProps=LyraReactElementProps<'lr-sequence-strip'>;export type LyraSignaturePadReactProps=LyraReactElementProps<'lr-signature-pad'>;export type LyraSkeletonReactProps=LyraReactElementProps<'lr-skeleton'>;export type LyraSliderReactProps=LyraReactElementProps<'lr-slider'>;export type LyraSourceCardReactProps=LyraReactElementProps<'lr-source-card'>;export type LyraSourceListReactProps=LyraReactElementProps<'lr-source-list'>;export type LyraSourcePickerReactProps=LyraReactElementProps<'lr-source-picker'>;export type LyraSpanWaterfallReactProps=LyraReactElementProps<'lr-span-waterfall'>;export type LyraSparklineReactProps=LyraReactElementProps<'lr-sparkline'>;export type LyraSpinnerReactProps=LyraReactElementProps<'lr-spinner'>;export type LyraSplitPanelReactProps=LyraReactElementProps<'lr-split-panel'>;export type LyraSpreadsheetViewerReactProps=LyraReactElementProps<'lr-spreadsheet-viewer'>;export type LyraStackTraceReactProps=LyraReactElementProps<'lr-stack-trace'>;export type LyraStatReactProps=LyraReactElementProps<'lr-stat'>;export type LyraStepReactProps=LyraReactElementProps<'lr-step'>;export type LyraStepperReactProps=LyraReactElementProps<'lr-stepper'>;export type LyraStreamStatusReactProps=LyraReactElementProps<'lr-stream-status'>;export type LyraStreamingTextReactProps=LyraReactElementProps<'lr-streaming-text'>;export type LyraStreamingTextCoreReactProps=LyraReactElementProps<'lr-streaming-text-core'>;export type LyraStylePanelReactProps=LyraReactElementProps<'lr-style-panel'>;export type LyraSubagentPanelReactProps=LyraReactElementProps<'lr-subagent-panel'>;export type LyraSuggestionChipsReactProps=LyraReactElementProps<'lr-suggestion-chips'>;export type LyraSvgViewerReactProps=LyraReactElementProps<'lr-svg-viewer'>;export type LyraSwatchPickerReactProps=LyraReactElementProps<'lr-swatch-picker'>;export type LyraSwitchReactProps=LyraReactElementProps<'lr-switch'>;export type LyraTabReactProps=LyraReactElementProps<'lr-tab'>;export type LyraTabGroupReactProps=LyraReactElementProps<'lr-tab-group'>;export type LyraTabPanelReactProps=LyraReactElementProps<'lr-tab-panel'>;export type LyraTableReactProps=LyraReactElementProps<'lr-table'>;export type LyraTagReactProps=LyraReactElementProps<'lr-tag'>;export type LyraTaskListReactProps=LyraReactElementProps<'lr-task-list'>;export type LyraTerminalReactProps=LyraReactElementProps<'lr-terminal'>;export type LyraTestResultsReactProps=LyraReactElementProps<'lr-test-results'>;export type LyraTextareaReactProps=LyraReactElementProps<'lr-textarea'>;export type LyraThinkingPanelReactProps=LyraReactElementProps<'lr-thinking-panel'>;export type LyraThreadListReactProps=LyraReactElementProps<'lr-thread-list'>;export type LyraTimeInputReactProps=LyraReactElementProps<'lr-time-input'>;export type LyraTimeRangeReactProps=LyraReactElementProps<'lr-time-range'>;export type LyraTimeZonePickerReactProps=LyraReactElementProps<'lr-time-zone-picker'>;export type LyraTimelineReactProps=LyraReactElementProps<'lr-timeline'>;export type LyraTimelineItemReactProps=LyraReactElementProps<'lr-timeline-item'>;export type LyraToastReactProps=LyraReactElementProps<'lr-toast'>;export type LyraToastItemReactProps=LyraReactElementProps<'lr-toast-item'>;export type LyraToggleReactProps=LyraReactElementProps<'lr-toggle'>;export type LyraToggleGroupReactProps=LyraReactElementProps<'lr-toggle-group'>;export type LyraTokenInputReactProps=LyraReactElementProps<'lr-token-input'>;export type LyraToolApprovalDialogReactProps=LyraReactElementProps<'lr-tool-approval-dialog'>;export type LyraToolCallBlockReactProps=LyraReactElementProps<'lr-tool-call-block'>;export type LyraToolCallChipReactProps=LyraReactElementProps<'lr-tool-call-chip'>;export type LyraToolParamFormReactProps=LyraReactElementProps<'lr-tool-param-form'>;export type LyraToolResultDialogReactProps=LyraReactElementProps<'lr-tool-result-dialog'>;export type LyraToolResultViewReactProps=LyraReactElementProps<'lr-tool-result-view'>;export type LyraToolSelectDialogReactProps=LyraReactElementProps<'lr-tool-select-dialog'>;export type LyraToolTimelineReactProps=LyraReactElementProps<'lr-tool-timeline'>;export type LyraTooltipReactProps=LyraReactElementProps<'lr-tooltip'>;export type LyraTourReactProps=LyraReactElementProps<'lr-tour'>;export type LyraTraceTreeReactProps=LyraReactElementProps<'lr-trace-tree'>;export type LyraTranscriptFeedReactProps=LyraReactElementProps<'lr-transcript-feed'>;export type LyraTreeReactProps=LyraReactElementProps<'lr-tree'>;export type LyraTreeItemReactProps=LyraReactElementProps<'lr-tree-item'>;export type LyraTreemapReactProps=LyraReactElementProps<'lr-treemap'>;export type LyraTypingIndicatorReactProps=LyraReactElementProps<'lr-typing-indicator'>;export type LyraUnitPickerReactProps=LyraReactElementProps<'lr-unit-picker'>;export type LyraUsageBadgeReactProps=LyraReactElementProps<'lr-usage-badge'>;export type LyraVideoReactProps=LyraReactElementProps<'lr-video'>;export type LyraVideoPlaylistReactProps=LyraReactElementProps<'lr-video-playlist'>;export type LyraVirtualListReactProps=LyraReactElementProps<'lr-virtual-list'>;export type LyraVisuallyHiddenReactProps=LyraReactElementProps<'lr-visually-hidden'>;export type LyraVoicePickerReactProps=LyraReactElementProps<'lr-voice-picker'>;export type LyraWidgetReactProps=LyraReactElementProps<'lr-widget'>;export type LyraWidgetRendererReactProps=LyraReactElementProps<'lr-widget-renderer'>;export type LyraWordCloudReactProps=LyraReactElementProps<'lr-word-cloud'>;export type LyraXmlViewerReactProps=LyraReactElementProps<'lr-xml-viewer'>;export type LyraZoomableFrameReactProps=LyraReactElementProps<'lr-zoomable-frame'>;export interface LyraReactIntrinsicElements{'lr-accordion':LyraAccordionReactProps;'lr-accordion-item':LyraAccordionItemReactProps;'lr-activity-feed':LyraActivityFeedReactProps;'lr-agent-eval-dashboard':LyraAgentEvalDashboardReactProps;'lr-agent-question':LyraAgentQuestionReactProps;'lr-agent-run':LyraAgentRunReactProps;'lr-agent-trace':LyraAgentTraceReactProps;'lr-agent-workspace':LyraAgentWorkspaceReactProps;'lr-alert':LyraAlertReactProps;'lr-animated-image':LyraAnimatedImageReactProps;'lr-animation':LyraAnimationReactProps;'lr-app-rail':LyraAppRailReactProps;'lr-app-rail-group':LyraAppRailGroupReactProps;'lr-app-rail-item':LyraAppRailItemReactProps;'lr-approval-queue':LyraApprovalQueueReactProps;'lr-archive-viewer':LyraArchiveViewerReactProps;'lr-artifact-panel':LyraArtifactPanelReactProps;'lr-attachment-chip':LyraAttachmentChipReactProps;'lr-attachment-trigger':LyraAttachmentTriggerReactProps;'lr-audio-visualizer':LyraAudioVisualizerReactProps;'lr-av-player':LyraAvPlayerReactProps;'lr-avatar':LyraAvatarReactProps;'lr-avatar-group':LyraAvatarGroupReactProps;'lr-background-runs':LyraBackgroundRunsReactProps;'lr-badge':LyraBadgeReactProps;'lr-bar-chart':LyraBarChartReactProps;'lr-box-plot':LyraBoxPlotReactProps;'lr-branch-picker':LyraBranchPickerReactProps;'lr-breadcrumb':LyraBreadcrumbReactProps;'lr-breadcrumb-item':LyraBreadcrumbItemReactProps;'lr-browser-frame':LyraBrowserFrameReactProps;'lr-bubble-chart':LyraBubbleChartReactProps;'lr-budget-meter':LyraBudgetMeterReactProps;'lr-button':LyraButtonReactProps;'lr-button-group':LyraButtonGroupReactProps;'lr-calendar':LyraCalendarReactProps;'lr-calendar-viewer':LyraCalendarViewerReactProps;'lr-callout':LyraCalloutReactProps;'lr-card':LyraCardReactProps;'lr-carousel':LyraCarouselReactProps;'lr-carousel-item':LyraCarouselItemReactProps;'lr-change-review':LyraChangeReviewReactProps;'lr-chart':LyraChartReactProps;'lr-chart-3d':LyraChart3dReactProps;'lr-chat-composer':LyraChatComposerReactProps;'lr-chat-message':LyraChatMessageReactProps;'lr-chat-viewport':LyraChatViewportReactProps;'lr-checkbox':LyraCheckboxReactProps;'lr-checkbox-group':LyraCheckboxGroupReactProps;'lr-checkpoint':LyraCheckpointReactProps;'lr-chip':LyraChipReactProps;'lr-chip-group':LyraChipGroupReactProps;'lr-chord':LyraChordReactProps;'lr-choropleth':LyraChoroplethReactProps;'lr-chunk-inspector':LyraChunkInspectorReactProps;'lr-citation-badge':LyraCitationBadgeReactProps;'lr-claim-evidence':LyraClaimEvidenceReactProps;'lr-code-block':LyraCodeBlockReactProps;'lr-code-block-core':LyraCodeBlockCoreReactProps;'lr-code-editor':LyraCodeEditorReactProps;'lr-color-picker':LyraColorPickerReactProps;'lr-combobox':LyraComboboxReactProps;'lr-command-palette':LyraCommandPaletteReactProps;'lr-commit-card':LyraCommitCardReactProps;'lr-community-card':LyraCommunityCardReactProps;'lr-compare-panel':LyraComparePanelReactProps;'lr-condition-builder':LyraConditionBuilderReactProps;'lr-confirm-bar':LyraConfirmBarReactProps;'lr-connector-manager':LyraConnectorManagerReactProps;'lr-contact-viewer':LyraContactViewerReactProps;'lr-context-inspector':LyraContextInspectorReactProps;'lr-context-menu':LyraContextMenuReactProps;'lr-context-meter':LyraContextMeterReactProps;'lr-control-group':LyraControlGroupReactProps;'lr-conversation-item':LyraConversationItemReactProps;'lr-copy-button':LyraCopyButtonReactProps;'lr-counter':LyraCounterReactProps;'lr-country-picker':LyraCountryPickerReactProps;'lr-csv-viewer':LyraCsvViewerReactProps;'lr-currency-picker':LyraCurrencyPickerReactProps;'lr-dashboard-grid':LyraDashboardGridReactProps;'lr-data-grid':LyraDataGridReactProps;'lr-dataset-viewer':LyraDatasetViewerReactProps;'lr-date-input':LyraDateInputReactProps;'lr-date-picker':LyraDatePickerReactProps;'lr-details':LyraDetailsReactProps;'lr-dialog':LyraDialogReactProps;'lr-diff-view':LyraDiffViewReactProps;'lr-divider':LyraDividerReactProps;'lr-dock-panel':LyraDockPanelReactProps;'lr-document-compare':LyraDocumentCompareReactProps;'lr-document-library':LyraDocumentLibraryReactProps;'lr-document-preview':LyraDocumentPreviewReactProps;'lr-document-viewer':LyraDocumentViewerReactProps;'lr-docx-viewer':LyraDocxViewerReactProps;'lr-doughnut-chart':LyraDoughnutChartReactProps;'lr-drawer':LyraDrawerReactProps;'lr-drilldown-panel':LyraDrilldownPanelReactProps;'lr-drop-zone':LyraDropZoneReactProps;'lr-dropdown':LyraDropdownReactProps;'lr-dropdown-item':LyraDropdownItemReactProps;'lr-ebook-viewer':LyraEbookViewerReactProps;'lr-email-viewer':LyraEmailViewerReactProps;'lr-embedding-explorer':LyraEmbeddingExplorerReactProps;'lr-emoji-picker':LyraEmojiPickerReactProps;'lr-empty':LyraEmptyReactProps;'lr-entity-card':LyraEntityCardReactProps;'lr-entity-chip':LyraEntityChipReactProps;'lr-entity-dossier':LyraEntityDossierReactProps;'lr-env-list':LyraEnvListReactProps;'lr-eval-dataset':LyraEvalDatasetReactProps;'lr-eval-result':LyraEvalResultReactProps;'lr-eval-run':LyraEvalRunReactProps;'lr-export-button':LyraExportButtonReactProps;'lr-file-icon':LyraFileIconReactProps;'lr-file-input':LyraFileInputReactProps;'lr-file-tree':LyraFileTreeReactProps;'lr-filter-bar':LyraFilterBarReactProps;'lr-flag':LyraFlagReactProps;'lr-flow-canvas':LyraFlowCanvasReactProps;'lr-flow-controls':LyraFlowControlsReactProps;'lr-flow-minimap':LyraFlowMinimapReactProps;'lr-flow-node':LyraFlowNodeReactProps;'lr-flow-run-status':LyraFlowRunStatusReactProps;'lr-format-bytes':LyraFormatBytesReactProps;'lr-format-date':LyraFormatDateReactProps;'lr-format-number':LyraFormatNumberReactProps;'lr-funnel':LyraFunnelReactProps;'lr-gauge':LyraGaugeReactProps;'lr-generation-metrics':LyraGenerationMetricsReactProps;'lr-geojson-viewer':LyraGeoJsonViewerReactProps;'lr-graph':LyraGraphReactProps;'lr-graph-legend':LyraGraphLegendReactProps;'lr-graph-query-builder':LyraGraphQueryBuilderReactProps;'lr-grounding-summary':LyraGroundingSummaryReactProps;'lr-handoff-divider':LyraHandoffDividerReactProps;'lr-heatmap':LyraHeatmapReactProps;'lr-help':LyraHelpReactProps;'lr-highlight-layer':LyraHighlightLayerReactProps;'lr-histogram':LyraHistogramReactProps;'lr-html-viewer':LyraHtmlViewerReactProps;'lr-icon':LyraIconReactProps;'lr-icon-button':LyraIconButtonReactProps;'lr-image-comparer':LyraImageComparerReactProps;'lr-image-viewer':LyraImageViewerReactProps;'lr-include':LyraIncludeReactProps;'lr-ingestion-queue':LyraIngestionQueueReactProps;'lr-input':LyraInputReactProps;'lr-intersection-observer':LyraIntersectionObserverReactProps;'lr-json-schema-viewer':LyraJsonSchemaViewerReactProps;'lr-json-viewer':LyraJsonViewerReactProps;'lr-kbd':LyraKbdReactProps;'lr-knowledge-base':LyraKnowledgeBaseReactProps;'lr-knowledge-base-admin':LyraKnowledgeBaseAdminReactProps;'lr-knowledge-graph-explorer':LyraKnowledgeGraphExplorerReactProps;'lr-known-date':LyraKnownDateReactProps;'lr-lightbox':LyraLightboxReactProps;'lr-lightbox-item':LyraLightboxItemReactProps;'lr-line-chart':LyraLineChartReactProps;'lr-lite-chart':LyraLiteChartReactProps;'lr-live-region':LyraLiveRegionReactProps;'lr-locale-picker':LyraLocalePickerReactProps;'lr-map':LyraMapReactProps;'lr-map-anchor':LyraMapAnchorReactProps;'lr-markdown':LyraMarkdownReactProps;'lr-markdown-core':LyraMarkdownCoreReactProps;'lr-mcp-app':LyraMcpAppReactProps;'lr-media-card':LyraMediaCardReactProps;'lr-memory-panel':LyraMemoryPanelReactProps;'lr-mention-popover':LyraMentionPopoverReactProps;'lr-menu':LyraMenuReactProps;'lr-menu-item':LyraMenuItemReactProps;'lr-menu-label':LyraMenuLabelReactProps;'lr-menubar':LyraMenubarReactProps;'lr-menubar-item':LyraMenubarItemReactProps;'lr-message-actions':LyraMessageActionsReactProps;'lr-message-feedback':LyraMessageFeedbackReactProps;'lr-message-parts':LyraMessagePartsReactProps;'lr-mind-map':LyraMindMapReactProps;'lr-model-select':LyraModelSelectReactProps;'lr-model-settings-panel':LyraModelSettingsPanelReactProps;'lr-model-viewer':LyraModelViewerReactProps;'lr-multi-split':LyraMultiSplitReactProps;'lr-mutation-observer':LyraMutationObserverReactProps;'lr-native-time-input':LyraNativeTimeInputReactProps;'lr-navigation-menu':LyraNavigationMenuReactProps;'lr-navigation-menu-item':LyraNavigationMenuItemReactProps;'lr-neighbor-list':LyraNeighborListReactProps;'lr-node-palette':LyraNodePaletteReactProps;'lr-notebook-viewer':LyraNotebookViewerReactProps;'lr-number-input':LyraNumberInputReactProps;'lr-number-ticker':LyraNumberTickerReactProps;'lr-option':LyraOptionReactProps;'lr-otp-input':LyraOtpInputReactProps;'lr-page':LyraPageReactProps;'lr-page-rail':LyraPageRailReactProps;'lr-pagination':LyraPaginationReactProps;'lr-pan-zoom':LyraPanZoomReactProps;'lr-path-strip':LyraPathStripReactProps;'lr-pdf-viewer':LyraPdfViewerReactProps;'lr-permission-grant':LyraPermissionGrantReactProps;'lr-permission-rules':LyraPermissionRulesReactProps;'lr-phone-input':LyraPhoneInputReactProps;'lr-pie-chart':LyraPieChartReactProps;'lr-polar-area-chart':LyraPolarAreaChartReactProps;'lr-policy-summary':LyraPolicySummaryReactProps;'lr-poll-status':LyraPollStatusReactProps;'lr-popover':LyraPopoverReactProps;'lr-popup':LyraPopupReactProps;'lr-pptx-viewer':LyraPptxViewerReactProps;'lr-progress-bar':LyraProgressBarReactProps;'lr-progress-ring':LyraProgressRingReactProps;'lr-prompt-input':LyraPromptInputReactProps;'lr-prompt-queue':LyraPromptQueueReactProps;'lr-prompt-studio':LyraPromptStudioReactProps;'lr-provenance-panel':LyraProvenancePanelReactProps;'lr-push-to-talk':LyraPushToTalkReactProps;'lr-qr-code':LyraQrCodeReactProps;'lr-radar-chart':LyraRadarChartReactProps;'lr-radio':LyraRadioReactProps;'lr-radio-button':LyraRadioButtonReactProps;'lr-radio-group':LyraRadioGroupReactProps;'lr-rag-answer':LyraRagAnswerReactProps;'lr-rag-eval-dashboard':LyraRagEvalDashboardReactProps;'lr-random-content':LyraRandomContentReactProps;'lr-rating':LyraRatingReactProps;'lr-realtime-session':LyraRealtimeSessionReactProps;'lr-relative-time':LyraRelativeTimeReactProps;'lr-reorder-item':LyraReorderItemReactProps;'lr-reorder-list':LyraReorderListReactProps;'lr-research-progress':LyraResearchProgressReactProps;'lr-resize-observer':LyraResizeObserverReactProps;'lr-responsive-panel':LyraResponsivePanelReactProps;'lr-result-card':LyraResultCardReactProps;'lr-result-field':LyraResultFieldReactProps;'lr-retrieval-compare':LyraRetrievalCompareReactProps;'lr-retrieval-results':LyraRetrievalResultsReactProps;'lr-retrieval-search':LyraRetrievalSearchReactProps;'lr-retrieval-trace':LyraRetrievalTraceReactProps;'lr-rubric-form':LyraRubricFormReactProps;'lr-sankey':LyraSankeyReactProps;'lr-scatter-chart':LyraScatterChartReactProps;'lr-scroller':LyraScrollerReactProps;'lr-segmented':LyraSegmentedReactProps;'lr-select':LyraSelectReactProps;'lr-selection-toolbar':LyraSelectionToolbarReactProps;'lr-sequence-playback':LyraSequencePlaybackReactProps;'lr-sequence-strip':LyraSequenceStripReactProps;'lr-signature-pad':LyraSignaturePadReactProps;'lr-skeleton':LyraSkeletonReactProps;'lr-slider':LyraSliderReactProps;'lr-source-card':LyraSourceCardReactProps;'lr-source-list':LyraSourceListReactProps;'lr-source-picker':LyraSourcePickerReactProps;'lr-span-waterfall':LyraSpanWaterfallReactProps;'lr-sparkline':LyraSparklineReactProps;'lr-spinner':LyraSpinnerReactProps;'lr-split-panel':LyraSplitPanelReactProps;'lr-spreadsheet-viewer':LyraSpreadsheetViewerReactProps;'lr-stack-trace':LyraStackTraceReactProps;'lr-stat':LyraStatReactProps;'lr-step':LyraStepReactProps;'lr-stepper':LyraStepperReactProps;'lr-stream-status':LyraStreamStatusReactProps;'lr-streaming-text':LyraStreamingTextReactProps;'lr-streaming-text-core':LyraStreamingTextCoreReactProps;'lr-style-panel':LyraStylePanelReactProps;'lr-subagent-panel':LyraSubagentPanelReactProps;'lr-suggestion-chips':LyraSuggestionChipsReactProps;'lr-svg-viewer':LyraSvgViewerReactProps;'lr-swatch-picker':LyraSwatchPickerReactProps;'lr-switch':LyraSwitchReactProps;'lr-tab':LyraTabReactProps;'lr-tab-group':LyraTabGroupReactProps;'lr-tab-panel':LyraTabPanelReactProps;'lr-table':LyraTableReactProps;'lr-tag':LyraTagReactProps;'lr-task-list':LyraTaskListReactProps;'lr-terminal':LyraTerminalReactProps;'lr-test-results':LyraTestResultsReactProps;'lr-textarea':LyraTextareaReactProps;'lr-thinking-panel':LyraThinkingPanelReactProps;'lr-thread-list':LyraThreadListReactProps;'lr-time-input':LyraTimeInputReactProps;'lr-time-range':LyraTimeRangeReactProps;'lr-time-zone-picker':LyraTimeZonePickerReactProps;'lr-timeline':LyraTimelineReactProps;'lr-timeline-item':LyraTimelineItemReactProps;'lr-toast':LyraToastReactProps;'lr-toast-item':LyraToastItemReactProps;'lr-toggle':LyraToggleReactProps;'lr-toggle-group':LyraToggleGroupReactProps;'lr-token-input':LyraTokenInputReactProps;'lr-tool-approval-dialog':LyraToolApprovalDialogReactProps;'lr-tool-call-block':LyraToolCallBlockReactProps;'lr-tool-call-chip':LyraToolCallChipReactProps;'lr-tool-param-form':LyraToolParamFormReactProps;'lr-tool-result-dialog':LyraToolResultDialogReactProps;'lr-tool-result-view':LyraToolResultViewReactProps;'lr-tool-select-dialog':LyraToolSelectDialogReactProps;'lr-tool-timeline':LyraToolTimelineReactProps;'lr-tooltip':LyraTooltipReactProps;'lr-tour':LyraTourReactProps;'lr-trace-tree':LyraTraceTreeReactProps;'lr-transcript-feed':LyraTranscriptFeedReactProps;'lr-tree':LyraTreeReactProps;'lr-tree-item':LyraTreeItemReactProps;'lr-treemap':LyraTreemapReactProps;'lr-typing-indicator':LyraTypingIndicatorReactProps;'lr-unit-picker':LyraUnitPickerReactProps;'lr-usage-badge':LyraUsageBadgeReactProps;'lr-video':LyraVideoReactProps;'lr-video-playlist':LyraVideoPlaylistReactProps;'lr-virtual-list':LyraVirtualListReactProps;'lr-visually-hidden':LyraVisuallyHiddenReactProps;'lr-voice-picker':LyraVoicePickerReactProps;'lr-widget':LyraWidgetReactProps;'lr-widget-renderer':LyraWidgetRendererReactProps;'lr-word-cloud':LyraWordCloudReactProps;'lr-xml-viewer':LyraXmlViewerReactProps;'lr-zoomable-frame':LyraZoomableFrameReactProps;}declare global{namespace JSX{interface IntrinsicElements extends LyraReactIntrinsicElements{}}}declare module'react'{namespace JSX{interface IntrinsicElements extends LyraReactIntrinsicElements{}}}