@aceshooting/lyra-ui 32.0.0 → 32.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +203 -0
- package/README.md +24 -6
- package/design-tokens.json +1 -1
- package/dist/all.d.ts +1 -1
- package/dist/all.js +1 -1
- package/dist/autoloader.d.ts +10 -0
- package/dist/autoloader.js +1 -1
- package/dist/cli/migrate-wa.mjs +45 -37
- package/dist/cli/migration-contract.json.gz +0 -0
- package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +1 -0
- package/dist/components/agent-tools/budget-meter/budget-meter.styles.js +1 -1
- package/dist/components/charts/chart/box-plot.class.d.ts +3 -0
- package/dist/components/charts/chart/chart-band.js +1 -1
- package/dist/components/charts/chart/chart-input-projection.js +1 -1
- package/dist/components/charts/chart/chart-surface.styles.js +1 -1
- package/dist/components/charts/chart/chart-types.d.ts +16 -2
- package/dist/components/charts/chart/chart.class.d.ts +4 -1
- package/dist/components/charts/chart/chart.class.js +3 -3
- package/dist/components/charts/chart/lite-chart.class.d.ts +3 -0
- package/dist/components/charts/chart/lite-chart.styles.js +1 -1
- package/dist/components/conversation/code-block/code-block-base.class.d.ts +29 -3
- package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-core.class.d.ts +46 -2
- package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-shared.d.ts +6 -2
- package/dist/components/conversation/code-block/code-block-shared.js +5 -4
- package/dist/components/conversation/code-block/code-block.class.d.ts +45 -1
- package/dist/components/conversation/code-block/code-block.class.js +1 -1
- package/dist/components/conversation/code-block/code-block.styles.js +1 -1
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +12 -0
- package/dist/components/conversation/markdown/markdown.class.d.ts +12 -0
- package/dist/components/conversation/markdown/markdown.styles.js +1 -1
- package/dist/components/conversation/model-select/model-select.class.d.ts +6 -0
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +1 -0
- package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +3 -0
- package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +6 -0
- package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +4 -0
- package/dist/components/data/heatmap/heatmap.class.d.ts +21 -2
- package/dist/components/data/heatmap/heatmap.class.js +2 -2
- package/dist/components/data/heatmap/heatmap.styles.js +1 -1
- package/dist/components/data/stat/stat.class.d.ts +24 -1
- package/dist/components/data/stat/stat.class.js +2 -2
- package/dist/components/data/stat/stat.styles.js +1 -1
- package/dist/components/data/table/table-row-attributes.js +1 -0
- package/dist/components/data/table/table-support.d.ts +65 -5
- package/dist/components/data/table/table-support.js +1 -1
- package/dist/components/data/table/table.class.d.ts +77 -7
- package/dist/components/data/table/table.class.js +10 -10
- package/dist/components/data/table/table.styles.js +1 -1
- package/dist/components/data/timeline/timeline-item.class.d.ts +27 -5
- package/dist/components/data/timeline/timeline-item.class.js +11 -7
- package/dist/components/data/timeline/timeline-item.styles.js +1 -1
- package/dist/components/data/timeline/timeline.class.d.ts +40 -5
- package/dist/components/data/timeline/timeline.class.js +11 -7
- package/dist/components/data/timeline/timeline.styles.js +1 -1
- package/dist/components/data/tree/tree-item.class.d.ts +2 -0
- package/dist/components/data/tree/tree-item.class.js +2 -2
- package/dist/components/data/tree/tree-item.styles.js +1 -1
- package/dist/components/forms/button/button.class.d.ts +13 -0
- package/dist/components/forms/button/button.styles.js +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +29 -2
- package/dist/components/forms/checkbox-group/checkbox-group.class.js +3 -3
- package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +6 -0
- package/dist/components/forms/color-picker/color-picker.class.d.ts +9 -0
- package/dist/components/forms/color-picker/color-picker.class.js +3 -3
- package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +114 -7
- package/dist/components/forms/combobox/combobox.class.js +9 -7
- package/dist/components/forms/combobox/combobox.styles.js +1 -1
- package/dist/components/forms/country-picker/country-picker.class.d.ts +2 -0
- package/dist/components/forms/currency-picker/currency-picker.class.d.ts +2 -0
- package/dist/components/forms/date-picker/date-input.class.d.ts +41 -0
- package/dist/components/forms/date-picker/date-input.class.js +2 -2
- package/dist/components/forms/date-picker/date-input.styles.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +4 -0
- package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
- package/dist/components/forms/input/input-shared.d.ts +12 -0
- package/dist/components/forms/input/input.styles.js +1 -1
- package/dist/components/forms/input/time-input.class.d.ts +6 -0
- package/dist/components/forms/input/time-input.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +11 -0
- package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
- package/dist/components/forms/otp-input/otp-input.class.d.ts +6 -0
- package/dist/components/forms/phone-input/phone-input.class.d.ts +6 -0
- package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +24 -2
- package/dist/components/forms/radio/radio-group.class.js +2 -2
- package/dist/components/forms/radio/radio-group.styles.js +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +4 -0
- package/dist/components/forms/select/select.class.d.ts +13 -0
- package/dist/components/forms/select/select.class.js +1 -1
- package/dist/components/forms/select/select.styles.js +1 -1
- package/dist/components/forms/signature-pad/signature-pad.class.d.ts +6 -0
- package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +28 -2
- package/dist/components/forms/slider/slider.class.js +3 -3
- package/dist/components/forms/slider/slider.styles.js +1 -1
- package/dist/components/forms/switch/switch.class.d.ts +2 -0
- package/dist/components/forms/switch/switch.styles.js +1 -1
- package/dist/components/forms/textarea/textarea.class.d.ts +8 -0
- package/dist/components/forms/textarea/textarea.styles.js +1 -1
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +2 -0
- package/dist/components/forms/token-input/token-input.class.d.ts +96 -18
- package/dist/components/forms/token-input/token-input.class.js +11 -8
- package/dist/components/forms/token-input/token-input.styles.js +1 -1
- package/dist/components/forms/unit-picker/unit-picker.class.d.ts +2 -0
- package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -0
- package/dist/components/layout/app-rail/app-rail.styles.js +1 -1
- package/dist/components/layout/button-group/button-group.class.d.ts +4 -0
- package/dist/components/layout/button-group/button-group.class.js +1 -1
- package/dist/components/layout/card/card.class.d.ts +15 -1
- package/dist/components/layout/card/card.styles.js +1 -1
- package/dist/components/layout/details/details.class.d.ts +6 -0
- package/dist/components/layout/details/details.styles.js +1 -1
- package/dist/components/layout/filter-bar/filter-bar.class.d.ts +6 -0
- package/dist/components/layout/filter-bar/filter-bar.styles.js +1 -1
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/layout/menu/dropdown-item.class.d.ts +8 -2
- package/dist/components/layout/menu/dropdown-item.class.js +1 -1
- package/dist/components/layout/menu/menu-item.class.d.ts +7 -0
- package/dist/components/layout/menu/menu-item.styles.js +1 -1
- package/dist/components/layout/menu/menu-label.class.d.ts +5 -0
- package/dist/components/layout/menu/menu-label.class.js +1 -1
- package/dist/components/layout/menu/menu.class.d.ts +3 -0
- package/dist/components/layout/menu/menu.styles.js +1 -1
- package/dist/components/layout/page/page.class.d.ts +9 -1
- package/dist/components/layout/page/page.class.js +2 -2
- package/dist/components/layout/segmented/segmented.class.d.ts +22 -3
- package/dist/components/layout/segmented/segmented.class.js +3 -4
- package/dist/components/layout/segmented/segmented.styles.js +1 -1
- package/dist/components/layout/stepper/step.class.d.ts +89 -0
- package/dist/components/layout/stepper/step.class.js +18 -0
- package/dist/components/layout/stepper/step.styles.js +1 -0
- package/dist/components/layout/stepper/stepper.class.d.ts +106 -13
- package/dist/components/layout/stepper/stepper.class.js +6 -2
- package/dist/components/layout/stepper/stepper.styles.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.d.ts +10 -1
- package/dist/components/layout/tab-group/tab-group.class.js +1 -1
- package/dist/components/layout/tab-group/tab-group.styles.js +1 -1
- package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -0
- package/dist/components/layout/tab-group/tab-panel.class.js +1 -1
- package/dist/components/layout/tab-group/tab.class.d.ts +4 -0
- package/dist/components/layout/widget/widget.class.d.ts +1 -0
- package/dist/components/layout/widget/widget.styles.js +1 -1
- package/dist/components/lr-code-block-core.d.ts +1 -1
- package/dist/components/lr-code-block.d.ts +1 -1
- package/dist/components/lr-counter.d.ts +1 -0
- package/dist/components/lr-counter.js +1 -0
- package/dist/components/lr-lightbox-item.d.ts +1 -0
- package/dist/components/lr-lightbox-item.js +1 -0
- package/dist/components/lr-lightbox.d.ts +1 -1
- package/dist/components/lr-lightbox.js +1 -1
- package/dist/components/lr-number-ticker.d.ts +1 -0
- package/dist/components/lr-number-ticker.js +1 -0
- package/dist/components/lr-step.d.ts +1 -0
- package/dist/components/lr-step.js +1 -0
- package/dist/components/media/file-input/file-input.class.d.ts +7 -1
- package/dist/components/media/file-input/file-input.class.js +2 -2
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/index.d.ts +1 -1
- package/dist/components/media/index.js +1 -1
- package/dist/components/media/lightbox/lightbox-item.class.d.ts +57 -0
- package/dist/components/media/lightbox/lightbox-item.class.js +9 -0
- package/dist/components/media/lightbox/lightbox-item.styles.js +1 -0
- package/dist/components/media/lightbox/lightbox.class.d.ts +90 -20
- package/dist/components/media/lightbox/lightbox.class.js +17 -12
- package/dist/components/media/lightbox/lightbox.styles.js +1 -1
- package/dist/components/media/map/map-anchor-avoid.js +1 -1
- package/dist/components/media/map/map-drawing-controller.js +1 -1
- package/dist/components/media/map/map.class.d.ts +137 -7
- package/dist/components/media/map/map.class.js +6 -6
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +9 -0
- package/dist/components/media/sequence-playback/sequence-playback.class.js +2 -2
- package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
- package/dist/components/media/video/video.class.d.ts +4 -0
- package/dist/components/media/video/video.class.js +2 -2
- package/dist/components/media/video/video.styles.js +1 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +15 -0
- package/dist/components/media/zoomable-frame/zoomable-frame.class.js +2 -2
- package/dist/components/overlays/badge/badge.class.d.ts +2 -0
- package/dist/components/overlays/badge/badge.styles.js +1 -1
- package/dist/components/overlays/badge/tag.class.d.ts +2 -0
- package/dist/components/overlays/badge/tag.class.js +1 -1
- package/dist/components/overlays/chip/chip-group.class.d.ts +31 -4
- package/dist/components/overlays/chip/chip-group.class.js +3 -3
- package/dist/components/overlays/context-menu/context-menu.class.d.ts +5 -0
- package/dist/components/overlays/context-menu/context-menu.class.js +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +36 -4
- package/dist/components/overlays/dialog/dialog.class.js +3 -3
- package/dist/components/overlays/dialog/dialog.styles.js +1 -1
- package/dist/components/overlays/dialog/prompt.d.ts +60 -0
- package/dist/components/overlays/dialog/prompt.js +1 -0
- package/dist/components/overlays/drawer/drawer.class.d.ts +16 -1
- package/dist/components/overlays/drawer/drawer.class.js +1 -1
- package/dist/components/overlays/empty/empty.class.d.ts +1 -0
- package/dist/components/overlays/empty/empty.class.js +1 -1
- package/dist/components/overlays/overlay/dropdown.class.d.ts +4 -0
- package/dist/components/overlays/overlay/dropdown.class.js +1 -1
- package/dist/components/overlays/overlay/overlay.styles.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +29 -3
- package/dist/components/overlays/overlay/popover.class.js +2 -2
- package/dist/components/overlays/overlay/tooltip.class.d.ts +2 -0
- package/dist/components/overlays/overlay/tooltip.class.js +2 -2
- package/dist/components/overlays/toast/toast-item.class.d.ts +1 -0
- package/dist/components/overlays/toast/toast-item.class.js +1 -1
- package/dist/components/overlays/toast/toast-item.styles.js +1 -1
- package/dist/components/overlays/toast/toast.class.d.ts +6 -0
- package/dist/components/overlays/toast/toast.class.js +1 -1
- package/dist/components/utility/copy-button/copy-button.class.d.ts +2 -0
- package/dist/components/utility/copy-button/copy-button.class.js +2 -2
- package/dist/components/utility/counter/counter-time.d.ts +15 -0
- package/dist/components/utility/counter/counter-time.js +1 -0
- package/dist/components/utility/counter/counter.class.d.ts +67 -0
- package/dist/components/utility/counter/counter.class.js +1 -0
- package/dist/components/utility/counter/counter.styles.js +1 -0
- package/dist/components/utility/divider/divider.class.d.ts +21 -3
- package/dist/components/utility/divider/divider.class.js +5 -1
- package/dist/components/utility/export-button/export-button.class.d.ts +5 -0
- package/dist/components/utility/export-button/export-button.styles.js +1 -1
- package/dist/components/utility/icon/icon-library.d.ts +14 -1
- package/dist/components/utility/icon/icon-library.js +1 -1
- package/dist/components/utility/icon/icon-sprite.js +1 -0
- package/dist/components/utility/icon/icon.class.d.ts +4 -2
- package/dist/components/utility/icon/icon.class.js +2 -2
- package/dist/components/utility/index.d.ts +1 -1
- package/dist/components/utility/index.js +1 -1
- package/dist/components/utility/known-date/known-date.class.d.ts +4 -0
- package/dist/components/utility/number-ticker/number-ticker.class.d.ts +58 -0
- package/dist/components/utility/number-ticker/number-ticker.class.js +1 -0
- package/dist/components/utility/number-ticker/number-ticker.styles.js +1 -0
- package/dist/components/viewers/include/include.class.d.ts +4 -1
- package/dist/components/viewers/include/include.class.js +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +10 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +2 -2
- package/dist/components/viewers/pdf-viewer/pdf-viewer.styles.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/event-classes.d.ts +2342 -0
- package/dist/event-classes.js +1 -0
- package/dist/events.d.ts +48 -22
- package/dist/framework-types.d.ts +2 -2
- package/dist/internal/all-defined-arguments.d.ts +19 -0
- package/dist/internal/all-defined-arguments.js +1 -0
- package/dist/internal/autoloader-tags.d.ts +1 -1
- package/dist/internal/autoloader-tags.js +1 -1
- package/dist/internal/checked-control-label.js +1 -1
- package/dist/internal/component-loaders.generated.js +1 -1
- package/dist/internal/dedent.js +7 -0
- package/dist/internal/default-strings/forms.generated.js +1 -1
- package/dist/internal/default-strings/layout.generated.js +1 -1
- package/dist/internal/dev-mode-attribute-warning.development.js +1 -1
- package/dist/internal/document-tokens.generated.js +3 -3
- package/dist/internal/form-control/chrome.styles.js +1 -1
- package/dist/internal/form-control.styles.js +1 -1
- package/dist/internal/interactive-control.styles.js +2 -2
- package/dist/internal/labeled-group.js +1 -1
- package/dist/internal/localization-runtime.d.ts +5 -0
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +2 -2
- package/dist/internal/lyra-element.js +2 -2
- package/dist/internal/lyra-event.d.ts +22 -0
- package/dist/internal/lyra-event.js +1 -0
- package/dist/internal/overlay-shared.d.ts +5 -2
- package/dist/internal/overlay-shared.js +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/root-registration-allowlist.js +1 -1
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/shiki/core.d.ts +4 -1
- package/dist/internal/shiki/tokenize.js +1 -1
- package/dist/internal/srcset.js +1 -0
- package/dist/lyra.d.ts +1 -1
- package/dist/lyra.js +1 -1
- package/dist/ssr/all.d.ts +1 -1
- package/dist/ssr/all.js +1 -1
- package/dist/ssr.d.ts +5 -5
- package/dist/ssr.js +1 -1
- package/dist/styles/native.css +1 -1
- package/dist/styles/palette.css +1 -0
- package/dist/styles/tokens-root.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/testing/happy-dom-shims.d.ts +11 -2
- package/dist/testing/happy-dom-shims.js +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/testing/lyra-tag-event-map.d.ts +2 -2
- package/dist/testing/lyra-tag-event-map.js +1 -1
- package/dist/theme-core.css +1 -1
- package/dist/theme.css +1 -1
- package/dist/utilities/defined.d.ts +10 -1
- package/dist/utilities/defined.js +1 -1
- package/dist/utilities/form.d.ts +9 -0
- package/dist/utilities/form.js +1 -0
- package/dist/utilities/index.d.ts +1 -1
- package/dist/utilities/index.js +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-app-rail.md +4 -2
- package/llms/components/lr-badge.md +4 -4
- package/llms/components/lr-bar-chart.md +1 -1
- package/llms/components/lr-box-plot.md +6 -1
- package/llms/components/lr-bubble-chart.md +1 -1
- package/llms/components/lr-budget-meter.md +2 -2
- package/llms/components/lr-button-group.md +7 -3
- package/llms/components/lr-button.md +11 -1
- package/llms/components/lr-card.md +11 -1
- package/llms/components/lr-chart.md +21 -7
- package/llms/components/lr-checkbox-group.md +11 -1
- package/llms/components/lr-chip.md +11 -1
- package/llms/components/lr-code-block-core.md +36 -8
- package/llms/components/lr-code-block.md +45 -6
- package/llms/components/lr-code-editor.md +11 -1
- package/llms/components/lr-color-picker.md +17 -4
- package/llms/components/lr-combobox.md +62 -6
- package/llms/components/lr-context-menu.md +5 -3
- package/llms/components/lr-copy-button.md +2 -1
- package/llms/components/lr-counter.md +60 -0
- package/llms/components/lr-country-picker.md +5 -1
- package/llms/components/lr-currency-picker.md +5 -1
- package/llms/components/lr-date-input.md +1 -1
- package/llms/components/lr-date-picker.md +25 -1
- package/llms/components/lr-details.md +6 -2
- package/llms/components/lr-dialog.md +72 -8
- package/llms/components/lr-divider.md +14 -5
- package/llms/components/lr-doughnut-chart.md +1 -1
- package/llms/components/lr-drawer.md +26 -7
- package/llms/components/lr-dropdown-item.md +1 -1
- package/llms/components/lr-dropdown.md +8 -4
- package/llms/components/lr-emoji-picker.md +10 -1
- package/llms/components/lr-empty.md +3 -2
- package/llms/components/lr-export-button.md +5 -2
- package/llms/components/lr-file-input.md +13 -1
- package/llms/components/lr-filter-bar.md +6 -2
- package/llms/components/lr-graph-query-builder.md +10 -1
- package/llms/components/lr-heatmap.md +20 -3
- package/llms/components/lr-histogram.md +7 -2
- package/llms/components/lr-icon-button.md +3 -1
- package/llms/components/lr-icon.md +8 -0
- package/llms/components/lr-include.md +3 -0
- package/llms/components/lr-input.md +9 -1
- package/llms/components/lr-known-date.md +10 -1
- package/llms/components/lr-lightbox-item.md +14 -0
- package/llms/components/lr-lightbox.md +84 -5
- package/llms/components/lr-line-chart.md +7 -2
- package/llms/components/lr-lite-chart.md +3 -2
- package/llms/components/lr-locale-picker.md +17 -1
- package/llms/components/lr-map.md +122 -11
- package/llms/components/lr-markdown-core.md +15 -4
- package/llms/components/lr-markdown.md +13 -4
- package/llms/components/lr-menu-item.md +1 -1
- package/llms/components/lr-menu-label.md +5 -2
- package/llms/components/lr-menu.md +21 -6
- package/llms/components/lr-model-select.md +11 -1
- package/llms/components/lr-native-time-input.md +11 -1
- package/llms/components/lr-number-input.md +11 -1
- package/llms/components/lr-number-ticker.md +55 -0
- package/llms/components/lr-otp-input.md +11 -1
- package/llms/components/lr-page.md +7 -1
- package/llms/components/lr-pagination.md +18 -0
- package/llms/components/lr-pdf-viewer.md +6 -1
- package/llms/components/lr-phone-input.md +11 -1
- package/llms/components/lr-pie-chart.md +1 -1
- package/llms/components/lr-polar-area-chart.md +1 -1
- package/llms/components/lr-popover.md +25 -5
- package/llms/components/lr-radar-chart.md +1 -1
- package/llms/components/lr-radio-group.md +11 -1
- package/llms/components/lr-rubric-form.md +7 -1
- package/llms/components/lr-scatter-chart.md +1 -1
- package/llms/components/lr-segmented.md +20 -2
- package/llms/components/lr-select.md +10 -2
- package/llms/components/lr-sequence-playback.md +8 -2
- package/llms/components/lr-signature-pad.md +8 -1
- package/llms/components/lr-slider.md +17 -4
- package/llms/components/lr-stat.md +20 -5
- package/llms/components/lr-step.md +61 -0
- package/llms/components/lr-stepper.md +64 -8
- package/llms/components/lr-suggestion-chips.md +3 -2
- package/llms/components/lr-switch.md +4 -3
- package/llms/components/lr-tab-group.md +10 -3
- package/llms/components/lr-tab-panel.md +2 -2
- package/llms/components/lr-table.md +87 -8
- package/llms/components/lr-tag.md +1 -1
- package/llms/components/lr-textarea.md +17 -1
- package/llms/components/lr-thread-list.md +4 -2
- package/llms/components/lr-time-input.md +8 -1
- package/llms/components/lr-time-zone-picker.md +5 -1
- package/llms/components/lr-timeline-item.md +1 -1
- package/llms/components/lr-timeline.md +38 -1
- package/llms/components/lr-toast-item.md +1 -1
- package/llms/components/lr-toast.md +7 -2
- package/llms/components/lr-token-input.md +64 -8
- package/llms/components/lr-tooltip.md +3 -3
- package/llms/components/lr-tree-item.md +1 -1
- package/llms/components/lr-tree.md +2 -1
- package/llms/components/lr-unit-picker.md +5 -1
- package/llms/components/lr-video.md +5 -4
- package/llms/components/lr-voice-picker.md +8 -1
- package/llms/components/lr-widget.md +2 -2
- package/llms/components/lr-zoomable-frame.md +8 -0
- package/llms/index.md +145 -141
- package/llms/migration.md +20 -12
- package/llms/peers.md +2 -2
- package/llms/shared/events-and-types.md +36 -0
- package/llms/shared/imports-and-registration.md +60 -1
- package/llms/shared/native-styles-and-utilities.md +109 -3
- package/llms/shared/styles-and-tokens.md +2 -2
- package/llms/shared/testing-and-utilities.md +21 -0
- package/llms/shared.md +227 -6
- package/llms/tokens.md +6 -1
- package/llms.txt +3 -3
- package/locales.json +1 -1
- package/package.json +38 -9
- package/registrations.json +1 -1
- package/skills/compose-lyra-interfaces/SKILL.md +1 -1
- package/skills/lyra-ui/SKILL.md +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';
|
|
2
|
+
/** The number style a ticker formats with.*/
|
|
3
|
+
export type LyraNumberTickerType='decimal'|'currency'|'percent';
|
|
4
|
+
/** How a ticker displays its currency.*/
|
|
5
|
+
export type LyraNumberTickerCurrencyDisplay='symbol'|'narrowSymbol'|'code'|'name';export interface LyraNumberTickerEventMap{'lr-finish':CustomEvent<null>;}
|
|
6
|
+
/**
|
|
7
|
+
* `<lr-number-ticker>` — counts to `value` when it scrolls into view, formatting every frame with
|
|
8
|
+
* `Intl.NumberFormat` in the effective locale. Use it for dashboard figures and landing-page metrics.
|
|
9
|
+
*
|
|
10
|
+
* Under `prefers-reduced-motion: reduce` (or when `duration` is 0) it jumps straight to the final
|
|
11
|
+
* value. Assistive technology never hears the animation: the counting text is `aria-hidden` and the
|
|
12
|
+
* final value is present in visually hidden text from the start. A later `value` change after the
|
|
13
|
+
* first count is announced once, politely, through the shared light-DOM live region. It renders its
|
|
14
|
+
* start value during SSR and counts after hydration, once it is on screen.
|
|
15
|
+
*
|
|
16
|
+
* @customElement lr-number-ticker
|
|
17
|
+
* @csspart base - The container around the displayed number.
|
|
18
|
+
* @csspart value - The displayed (counting) number.
|
|
19
|
+
* @cssstate counting - Applied while the number is counting.
|
|
20
|
+
* @event lr-finish - The ticker settled on its value, including the instant reduced-motion and zero-duration paths.
|
|
21
|
+
* @status experimental
|
|
22
|
+
* @since 32.1.0
|
|
23
|
+
*/
|
|
24
|
+
export declare class LyraNumberTicker extends LyraElement<LyraNumberTickerEventMap>{static styles:import("lit").CSSResultGroup[];
|
|
25
|
+
/** The number to count to. Changing it after the first run counts on from the number shown.*/
|
|
26
|
+
value:number;
|
|
27
|
+
/** The number to count from on the first run and after `restart()`.*/
|
|
28
|
+
startValue:number;
|
|
29
|
+
/** The longest a count takes, in milliseconds. `0` skips the animation.*/
|
|
30
|
+
duration:number;
|
|
31
|
+
/** Milliseconds to wait before the first run's count begins. Later value changes are not delayed.*/
|
|
32
|
+
delay:number;
|
|
33
|
+
/** Any CSS easing function (`linear`, `ease-in-out`, `cubic-bezier()`, `steps()`, `linear()`); an invalid one falls back to the default.*/
|
|
34
|
+
easing:string;
|
|
35
|
+
/** Starts counting right away instead of waiting until the ticker is half visible.*/
|
|
36
|
+
eager:boolean;
|
|
37
|
+
/** The number style: `decimal` (the default), `currency` or `percent`.*/
|
|
38
|
+
type:LyraNumberTickerType;
|
|
39
|
+
/** Turns grouping separators off.*/
|
|
40
|
+
withoutGrouping:boolean;
|
|
41
|
+
/** The ISO 4217 currency code used when `type` is `currency`.*/
|
|
42
|
+
currency:string;
|
|
43
|
+
/** How a currency is shown: `symbol` (the default), `narrowSymbol`, `code` or `name`.*/
|
|
44
|
+
currencyDisplay:LyraNumberTickerCurrencyDisplay;
|
|
45
|
+
/** Minimum integer digits, 1-21.*/
|
|
46
|
+
minimumIntegerDigits?:number;
|
|
47
|
+
/** Minimum fraction digits, 0-100. When only one fraction option is set it is used for both.*/
|
|
48
|
+
minimumFractionDigits?:number;
|
|
49
|
+
/** Maximum fraction digits, 0-100. When only one fraction option is set it is used for both.*/
|
|
50
|
+
maximumFractionDigits?:number;
|
|
51
|
+
/** Minimum significant digits, 1-21.*/
|
|
52
|
+
minimumSignificantDigits?:number;
|
|
53
|
+
/** Maximum significant digits, 1-21.*/
|
|
54
|
+
maximumSignificantDigits?:number;
|
|
55
|
+
/** Formats the number instead of `Intl.NumberFormat`; the formatting properties are then ignored. Property only.*/
|
|
56
|
+
valueFormatter?:(value:number)=>string;private displayValue;private readonly internals;private readonly announcer;private observer?;private stopMotionWatch?;private intersecting;private pending;private animation?;private frame;private hasCounted;private run;connectedCallback():void;disconnectedCallback():void;protected firstUpdated(changed:PropertyValues<this>):void;protected updated(changed:PropertyValues<this>):void;private startSoon;
|
|
57
|
+
/** Plays the count again from `startValue` to `value`.*/
|
|
58
|
+
restart():void;private start;private finish;private stop;private format;protected render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-number-ticker':LyraNumberTicker;}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__decorate}from"tslib";import{html}from"lit";import{property,state}from"lit/decorators.js";import{AnnouncementSinkController}from"../../../internal/announcer.js";import{blankNumberConverter}from"../../../internal/converters.js";import{setCustomState}from"../../../internal/custom-states.js";import{attachInternalsSafely}from"../../../internal/element-internals.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{LyraElement}from"../../../internal/lyra-element.js";import{prefersReducedMotion}from"../../../internal/motion.js";import{observeReducedMotion}from"../../../internal/motion-observer.js";import{finiteInteger,finiteNumber}from"../../../internal/numbers.js";import{styles}from"./number-ticker.styles.js";const DEFAULT_EASING="cubic-bezier(0.16, 1, 0.3, 1)",TYPES=["decimal","currency","percent"],CURRENCY_DISPLAYS=["symbol","narrowSymbol","code","name"],optionalDigits=blankNumberConverter(void 0);function decimalPlaces(n){return getNumberFormat("en-US",{maximumFractionDigits:20,useGrouping:!1}).format(Number(Number(n).toPrecision(15))).split(".")[1]?.length??0}class LyraNumberTicker extends LyraElement{constructor(){super(...arguments),this.value=0,this.startValue=0,this.duration=2e3,this.delay=0,this.easing=DEFAULT_EASING,this.eager=!1,this.type="decimal",this.withoutGrouping=!1,this.currency="USD",this.currencyDisplay="symbol",this.displayValue=null,this.internals=attachInternalsSafely(this),this.announcer=new AnnouncementSinkController(this),this.intersecting=!1,this.pending=!0,this.frame=0,this.hasCounted=!1,this.run=0}static{this.styles=[LyraElement.styles,styles]}connectedCallback(){super.connectedCallback();const view=this.ownerDocument.defaultView;view&&"IntersectionObserver"in view&&(this.observer=new view.IntersectionObserver(entries=>{const entry=entries[entries.length-1];entry&&(this.intersecting=entry.intersectionRatio>=.5,this.intersecting&&this.pending&&this.start())},{threshold:.5}),this.observer.observe(this)),this.stopMotionWatch=observeReducedMotion(this,reduced=>{reduced&&this.animation&&this.finish()}),this.eager&&this.pending&&this.hasUpdated&&this.start()}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect(),this.observer=void 0,this.stopMotionWatch?.(),this.stopMotionWatch=void 0,this.intersecting=!1,this.animation&&(this.pending=!0),this.stop()}firstUpdated(changed){super.firstUpdated(changed),this.eager&&this.startSoon()}updated(changed){super.updated(changed),!(!changed.has("value")||changed.get("value")===void 0)&&(this.pending=!0,(this.eager||this.intersecting||this.animation)&&this.startSoon())}startSoon(){Promise.resolve().then(()=>{this.isConnected&&this.pending&&this.start()})}restart(){this.stop(),this.hasCounted=!1,this.displayValue=null,this.pending=!0,(this.eager||this.intersecting)&&this.start()}start(){const from=this.displayValue??finiteNumber(this.startValue,0),to=finiteNumber(this.value,0),delay=this.displayValue===null?Math.max(0,finiteNumber(this.delay,0)):0,duration=Math.max(0,finiteNumber(this.duration,0));if(this.stop(),this.pending=!1,prefersReducedMotion(this)||!(duration>0)||from===to||typeof this.animate!="function"){this.finish();return}const options={duration,delay,fill:"both"};let animation;try{animation=this.animate(null,{...options,easing:this.easing})}catch{animation=this.animate(null,{...options,easing:DEFAULT_EASING})}this.animation=animation;const tick=()=>{if(this.animation!==animation)return;const time=Number(animation.currentTime);if(animation.playState==="finished"||animation.playState==="idle"||time>=delay+duration){this.finish();return}if(time>=delay){setCustomState(this.internals,"counting",!0);const progress=animation.effect?.getComputedTiming().progress??0;this.displayValue=from+(to-from)*finiteNumber(Number(progress),0)}this.frame=requestAnimationFrame(tick)};tick()}async finish(){this.stop();const run=++this.run;this.displayValue=finiteNumber(this.value,0),await this.updateComplete,!(run!==this.run||this.animation||this.pending)&&(this.hasCounted&&this.announcer.announcePolite(this.format(this.displayValue??0)),this.value!==this.startValue&&(this.hasCounted=!0),this.emit("lr-finish",null))}stop(){cancelAnimationFrame(this.frame),setCustomState(this.internals,"counting",!1);const animation=this.animation;this.animation=void 0,animation?.cancel()}format(n){if(!Number.isFinite(n))return"";try{if(typeof this.valueFormatter=="function")return String(this.valueFormatter(n));const type=TYPES.includes(this.type)?this.type:"decimal",digit=(value,min,max)=>value===void 0||!Number.isFinite(value)?void 0:finiteInteger(value,min,min,max),minFraction=digit(this.minimumFractionDigits,0,100),maxFraction=digit(this.maximumFractionDigits,0,100),minSignificant=digit(this.minimumSignificantDigits,1,21),maxSignificant=digit(this.maximumSignificantDigits,1,21),steady=type==="decimal"&&minFraction===void 0&&maxFraction===void 0&&minSignificant===void 0&&maxSignificant===void 0?Math.max(decimalPlaces(this.startValue),decimalPlaces(this.value)):void 0,options={style:type,useGrouping:this.withoutGrouping?!1:void 0,minimumIntegerDigits:digit(this.minimumIntegerDigits,1,21),minimumFractionDigits:steady??minFraction??maxFraction,maximumFractionDigits:steady??maxFraction??minFraction,minimumSignificantDigits:minSignificant,maximumSignificantDigits:maxSignificant};type==="currency"&&(options.currency=typeof this.currency=="string"&&this.currency.trim()||"USD",options.currencyDisplay=CURRENCY_DISPLAYS.includes(this.currencyDisplay)?this.currencyDisplay:"symbol");const formatter=getNumberFormat(this.effectiveLocale,options),text=formatter.format(n);return n<0&&text===formatter.format(-0)?formatter.format(0):text}catch{return""}}render(){const shown=this.format(this.displayValue??finiteNumber(this.startValue,0)),final=this.format(finiteNumber(this.value,0));return shown===final?html`<span part="base"><span part="value">${final}</span></span>`:html`<span part="base"><span part="value" aria-hidden="true">${shown}</span><span class="sr-only">${final}</span></span>`}}__decorate([property({converter:blankNumberConverter(0)})],LyraNumberTicker.prototype,"value",void 0),__decorate([property({attribute:"start-value",converter:blankNumberConverter(0)})],LyraNumberTicker.prototype,"startValue",void 0),__decorate([property({converter:blankNumberConverter(2e3)})],LyraNumberTicker.prototype,"duration",void 0),__decorate([property({converter:blankNumberConverter(0)})],LyraNumberTicker.prototype,"delay",void 0),__decorate([property()],LyraNumberTicker.prototype,"easing",void 0),__decorate([property({type:Boolean})],LyraNumberTicker.prototype,"eager",void 0),__decorate([property()],LyraNumberTicker.prototype,"type",void 0),__decorate([property({type:Boolean,attribute:"without-grouping"})],LyraNumberTicker.prototype,"withoutGrouping",void 0),__decorate([property()],LyraNumberTicker.prototype,"currency",void 0),__decorate([property({attribute:"currency-display"})],LyraNumberTicker.prototype,"currencyDisplay",void 0),__decorate([property({attribute:"minimum-integer-digits",converter:optionalDigits})],LyraNumberTicker.prototype,"minimumIntegerDigits",void 0),__decorate([property({attribute:"minimum-fraction-digits",converter:optionalDigits})],LyraNumberTicker.prototype,"minimumFractionDigits",void 0),__decorate([property({attribute:"maximum-fraction-digits",converter:optionalDigits})],LyraNumberTicker.prototype,"maximumFractionDigits",void 0),__decorate([property({attribute:"minimum-significant-digits",converter:optionalDigits})],LyraNumberTicker.prototype,"minimumSignificantDigits",void 0),__decorate([property({attribute:"maximum-significant-digits",converter:optionalDigits})],LyraNumberTicker.prototype,"maximumSignificantDigits",void 0),__decorate([property({attribute:!1})],LyraNumberTicker.prototype,"valueFormatter",void 0),__decorate([state()],LyraNumberTicker.prototype,"displayValue",void 0);export{LyraNumberTicker};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{css}from"lit";import{visuallyHidden}from"../../../internal/a11y.js";const styles=css` :host{display:inline-block;position:relative;font-variant-numeric:tabular-nums;white-space:nowrap}[part=base]{display:inline}[aria-hidden=true]{user-select:none;-webkit-user-select:none}.sr-only{${visuallyHidden}}`;export{styles};
|
|
@@ -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;
|
|
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{}}}
|