@aceshooting/lyra-ui 29.2.2 → 30.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +126 -106
- package/README.md +8 -7
- package/dist/ai/snapshot.js +1 -1
- package/dist/all.d.ts +1 -1
- package/dist/all.js +1 -1
- package/dist/autoloader.js +1 -1
- package/dist/cli/component-inventory.mjs +1 -1
- package/dist/cli/lyra-rename-ledger.mjs +1 -1
- package/dist/cli/migrate-wa.mjs +7 -3
- package/dist/cli/migration-analysis.mjs +1 -1
- package/dist/cli/migration-contract.json +1 -1
- package/dist/cli/migration-contract.mjs +1 -1
- package/dist/cli/migration-immutable-collections.mjs +6 -0
- package/dist/cli/migration-renames.mjs +1 -1
- package/dist/cli/migration-transforms.mjs +1 -1
- package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts +1 -1
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.d.ts +1 -2
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.class.d.ts +3 -4
- package/dist/components/agent-tools/agent-run/agent-run.class.js +1 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.class.d.ts +1 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.class.js +2 -2
- package/dist/components/agent-tools/background-runs/background-runs.class.d.ts +1 -2
- package/dist/components/agent-tools/background-runs/background-runs.class.js +1 -1
- package/dist/components/agent-tools/change-review/change-review.class.d.ts +1 -2
- package/dist/components/agent-tools/change-review/change-review.class.js +1 -1
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.d.ts +3 -2
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +1 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.d.ts +7 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.js +1 -1
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.d.ts +2 -2
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.js +3 -3
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.d.ts +1 -1
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.d.ts +1 -2
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +2 -2
- package/dist/components/agent-tools/task-list/task-list.class.d.ts +1 -1
- package/dist/components/agent-tools/test-results/test-results.class.d.ts +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +3 -4
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +1 -5
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts +3 -3
- package/dist/components/agent-tools/trace-tree/trace-tree.class.d.ts +1 -0
- package/dist/components/agent-tools/trace-tree/trace-tree.class.js +1 -1
- package/dist/components/charts/chart/chart.class.js +3 -3
- package/dist/components/charts/chart-3d/chart-3d-data.d.ts +50 -0
- package/dist/components/charts/chart-3d/chart-3d-data.js +1 -0
- package/dist/components/charts/chart-3d/chart-3d-engine.js +1 -0
- package/dist/components/charts/chart-3d/chart-3d.class.d.ts +96 -0
- package/dist/components/charts/chart-3d/chart-3d.class.js +47 -0
- package/dist/components/charts/chart-3d/chart-3d.d.ts +1 -0
- package/dist/components/charts/chart-3d/chart-3d.js +1 -0
- package/dist/components/charts/chart-3d/chart-3d.styles.js +1 -0
- package/dist/components/charts/index.d.ts +1 -1
- package/dist/components/charts/index.js +1 -1
- package/dist/components/conversation/agent-workspace/agent-workspace.class.d.ts +3 -3
- package/dist/components/conversation/agent-workspace/agent-workspace.class.js +4 -5
- package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
- package/dist/components/conversation/code-block/shiki-oniguruma.d.ts +3 -0
- package/dist/components/conversation/code-block/shiki-oniguruma.js +1 -0
- package/dist/components/conversation/code-block/shiki-types.d.ts +3 -5
- package/dist/components/conversation/code-block/shiki-types.js +1 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-progressive.js +1 -1
- package/dist/components/conversation/message-actions/message-actions.class.js +1 -1
- package/dist/components/conversation/message-parts/message-parts.class.js +1 -1
- package/dist/components/conversation/model-select/model-select.class.js +1 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.js +1 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.js +3 -4
- package/dist/components/conversation/prompt-queue/prompt-queue.class.d.ts +1 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js +1 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.js +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +2 -2
- package/dist/components/conversation/thread-list/thread-list.class.js +1 -1
- package/dist/components/conversation/widget-renderer/registry.js +1 -1
- package/dist/components/conversation/widget-renderer/resolve.js +1 -1
- package/dist/components/data/calendar/calendar.class.d.ts +3 -1
- package/dist/components/data/data-grid/data-grid.class.js +2 -2
- package/dist/components/data/flow-canvas/flow-canvas.class.js +2 -2
- package/dist/components/data/flow-canvas/flow-source.js +1 -1
- package/dist/components/data/flow-node/flow-node.class.d.ts +2 -3
- package/dist/components/data/flow-node/flow-node.class.js +2 -4
- package/dist/components/data/heatmap/heatmap.class.js +1 -1
- package/dist/components/data/sparkline/sparkline.class.d.ts +0 -1
- package/dist/components/data/sparkline/sparkline.class.js +1 -1
- package/dist/components/data/table/table.class.js +1 -1
- package/dist/components/forms/color-picker/color-core.js +1 -1
- package/dist/components/forms/date-picker/calendar-core.js +1 -1
- package/dist/components/forms/otp-input/otp-input.class.js +1 -1
- package/dist/components/forms/signature-pad/signature-pad.class.d.ts +4 -3
- package/dist/components/forms/signature-pad/signature-pad.class.js +1 -1
- package/dist/components/forms/swatch-picker/swatch-picker.class.d.ts +3 -2
- package/dist/components/forms/swatch-picker/swatch-picker.class.js +1 -1
- package/dist/components/layout/app-rail/app-rail-item.class.d.ts +0 -2
- package/dist/components/layout/app-rail/app-rail-item.class.js +1 -1
- package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -3
- package/dist/components/layout/command-palette/command-palette.class.d.ts +1 -1
- package/dist/components/layout/details/accordion-item.class.d.ts +1 -2
- package/dist/components/layout/details/accordion-item.class.js +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +4 -11
- package/dist/components/layout/dock-panel/dock-panel.class.js +1 -1
- package/dist/components/layout/drilldown-panel/drilldown-panel.class.js +1 -1
- package/dist/components/layout/menu/menu.class.js +1 -1
- package/dist/components/layout/menubar/menubar-item.class.d.ts +1 -1
- package/dist/components/layout/menubar/menubar.class.d.ts +1 -1
- package/dist/components/layout/multi-split/multi-split.class.d.ts +1 -1
- package/dist/components/layout/multi-split/multi-split.class.js +1 -1
- package/dist/components/layout/navigation-menu/navigation-menu.class.d.ts +2 -6
- package/dist/components/layout/navigation-menu/navigation-menu.class.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.js +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts +3 -2
- package/dist/components/layout/virtual-list/virtual-list.class.js +1 -1
- package/dist/components/layout/widget/widget.class.d.ts +5 -14
- package/dist/components/layout/widget/widget.class.js +2 -2
- package/dist/components/lr-chart-3d.js +1 -0
- package/dist/components/lr-model-viewer.js +1 -0
- package/dist/components/media/av-player/av-metadata.d.ts +1 -13
- package/dist/components/media/av-player/av-metadata.js +1 -1
- package/dist/components/media/av-player/av-player.class.js +1 -1
- package/dist/components/media/file-input/file-input.class.d.ts +10 -13
- package/dist/components/media/file-input/file-input.class.js +3 -3
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/image-viewer/image-viewer-panorama.d.ts +5 -0
- package/dist/components/media/image-viewer/image-viewer-panorama.js +8 -0
- package/dist/components/media/image-viewer/image-viewer-panorama.styles.js +1 -0
- package/dist/components/media/image-viewer/image-viewer.class.d.ts +29 -5
- package/dist/components/media/image-viewer/image-viewer.class.js +8 -5
- package/dist/components/media/image-viewer/image-viewer.styles.js +1 -1
- package/dist/components/media/map/map-anchor-controller.js +1 -0
- package/dist/components/media/map/map-anchor-options.d.ts +14 -0
- package/dist/components/media/map/map-anchor-options.js +1 -0
- package/dist/components/media/map/map-camera.d.ts +34 -0
- package/dist/components/media/map/map-camera.js +1 -0
- package/dist/components/media/map/map-construction-scheduler.d.ts +13 -0
- package/dist/components/media/map/map-construction-scheduler.js +1 -0
- package/dist/components/media/map/map-control-options.d.ts +39 -0
- package/dist/components/media/map/map-control-options.js +1 -0
- package/dist/components/media/map/map-controls-lifecycle.js +1 -0
- package/dist/components/media/map/map-cursor.js +1 -0
- package/dist/components/media/map/map-data-layer-model.d.ts +40 -0
- package/dist/components/media/map/map-data-layer-model.js +1 -0
- package/dist/components/media/map/map-drawing-controller.js +1 -0
- package/dist/components/media/map/map-drawing-gesture.js +1 -0
- package/dist/components/media/map/map-drawing-pan.js +1 -0
- package/dist/components/media/map/map-drawing-pointer.js +1 -0
- package/dist/components/media/map/map-drawing.d.ts +29 -0
- package/dist/components/media/map/map-drawing.js +1 -0
- package/dist/components/media/map/map-empty-style.d.ts +8 -0
- package/dist/components/media/map/map-empty-style.js +1 -0
- package/dist/components/media/map/map-engine-events.js +1 -0
- package/dist/components/media/map/map-export-attribution.js +1 -0
- package/dist/components/media/map/map-external-source-effects.js +1 -0
- package/dist/components/media/map/map-feature-loader-core.js +1 -0
- package/dist/components/media/map/map-feature-loader.js +1 -0
- package/dist/components/media/map/map-feature-state-router.d.ts +16 -0
- package/dist/components/media/map/map-feature-state-router.js +1 -0
- package/dist/components/media/map/map-feature-state-routes.js +1 -0
- package/dist/components/media/map/map-feature-state.d.ts +16 -0
- package/dist/components/media/map/map-feature-state.js +1 -0
- package/dist/components/media/map/map-hash-option.js +1 -0
- package/dist/components/media/map/map-hash-owner.js +1 -0
- package/dist/components/media/map/map-hash.js +1 -0
- package/dist/components/media/map/map-hit-test.d.ts +17 -0
- package/dist/components/media/map/map-hit-test.js +1 -0
- package/dist/components/media/map/map-image-admission.d.ts +7 -0
- package/dist/components/media/map/map-image-admission.js +1 -0
- package/dist/components/media/map/map-image-export-controller.js +1 -0
- package/dist/components/media/map/map-image-export-error.d.ts +3 -0
- package/dist/components/media/map/map-image-export-error.js +1 -0
- package/dist/components/media/map/map-image-export.d.ts +15 -0
- package/dist/components/media/map/map-image-export.js +5 -0
- package/dist/components/media/map/map-image-limits.d.ts +4 -0
- package/dist/components/media/map/map-image-limits.js +1 -0
- package/dist/components/media/map/map-image-metadata.js +3 -0
- package/dist/components/media/map/map-image-provider.d.ts +33 -0
- package/dist/components/media/map/map-image-provider.js +1 -0
- package/dist/components/media/map/map-images.d.ts +9 -0
- package/dist/components/media/map/map-images.js +1 -0
- package/dist/components/media/map/map-interaction-options.d.ts +26 -0
- package/dist/components/media/map/map-interaction-options.js +1 -0
- package/dist/components/media/map/map-layer-order.js +1 -0
- package/dist/components/media/map/map-loader.d.ts +35 -5
- package/dist/components/media/map/map-loader.js +1 -1
- package/dist/components/media/map/map-local-image-url.js +1 -0
- package/dist/components/media/map/map-local-image.js +1 -0
- package/dist/components/media/map/map-overlay-admission.d.ts +13 -0
- package/dist/components/media/map/map-overlay-admission.js +1 -0
- package/dist/components/media/map/map-owned-feature-input.js +1 -0
- package/dist/components/media/map/map-owned-features.js +1 -0
- package/dist/components/media/map/map-owned-resources.js +1 -0
- package/dist/components/media/map/map-paint-batch.js +1 -0
- package/dist/components/media/map/map-readers.js +1 -0
- package/dist/components/media/map/map-readiness.js +1 -0
- package/dist/components/media/map/map-resource-feature-loaders.js +1 -0
- package/dist/components/media/map/map-source-updates.js +1 -0
- package/dist/components/media/map/map-style-input.js +1 -0
- package/dist/components/media/map/map-style-lifecycle.js +1 -0
- package/dist/components/media/map/map-style-override-admission.d.ts +10 -0
- package/dist/components/media/map/map-style-override-admission.js +1 -0
- package/dist/components/media/map/map-style-overrides.js +1 -0
- package/dist/components/media/map/map-style-value.d.ts +3 -0
- package/dist/components/media/map/map-style-value.js +1 -0
- package/dist/components/media/map/map-vector-style.d.ts +10 -0
- package/dist/components/media/map/map-vector-style.js +1 -0
- package/dist/components/media/map/map.class.d.ts +558 -51
- package/dist/components/media/map/map.class.js +58 -11
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/qr-code/qr-code.class.d.ts +1 -3
- package/dist/components/media/qr-code/qr-code.class.js +1 -1
- package/dist/components/media/qr-code/qr-code.styles.js +1 -1
- package/dist/components/media/video/video.class.d.ts +25 -4
- package/dist/components/media/video/video.class.js +11 -3
- package/dist/components/media/video/video.styles.js +1 -1
- package/dist/components/media/video-playlist/video-playlist.class.d.ts +0 -1
- package/dist/components/media/video-playlist/video-playlist.class.js +1 -1
- package/dist/components/overlays/chip/chip-group.class.d.ts +1 -1
- package/dist/components/overlays/chip/chip-group.class.js +1 -1
- package/dist/components/overlays/dialog/confirm.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +1 -1
- package/dist/components/overlays/overlay/popover.class.js +2 -1
- package/dist/components/overlays/overlay/tooltip.class.js +1 -1
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.d.ts +4 -7
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.js +2 -2
- package/dist/components/retrieval/claim-evidence/claim-evidence.class.d.ts +2 -2
- package/dist/components/retrieval/community-card/community-card.class.d.ts +1 -4
- package/dist/components/retrieval/community-card/community-card.class.js +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-data.d.ts +12 -0
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-data.js +1 -0
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-engine.js +1 -0
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.d.ts +26 -7
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +35 -4
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.styles.js +1 -1
- package/dist/components/retrieval/entity-dossier/entity-dossier.class.d.ts +3 -9
- package/dist/components/retrieval/graph/graph-builtin-3d-engine.js +1 -0
- package/dist/components/retrieval/graph/graph-engine-adapter.js +1 -0
- package/dist/components/retrieval/graph/graph-engine-columns.js +1 -0
- package/dist/components/retrieval/graph/graph-model.js +1 -1
- package/dist/components/retrieval/graph/graph-spatial-controller.js +13 -8
- package/dist/components/retrieval/graph/graph-webgl-engine.js +1 -0
- package/dist/components/retrieval/graph/graph.class.d.ts +18 -5
- package/dist/components/retrieval/graph/graph.class.js +4 -4
- package/dist/components/retrieval/graph/graph.styles.js +1 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.d.ts +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +2 -2
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +6 -3
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +3 -3
- package/dist/components/retrieval/memory-panel/memory-panel.class.d.ts +3 -10
- package/dist/components/retrieval/memory-panel/memory-panel.class.js +1 -1
- package/dist/components/retrieval/node-palette/node-palette.class.d.ts +1 -1
- package/dist/components/retrieval/path-strip/path-strip.class.d.ts +1 -4
- package/dist/components/retrieval/path-strip/path-strip.class.js +1 -1
- package/dist/components/retrieval/provenance-panel/provenance-panel.class.d.ts +2 -8
- package/dist/components/retrieval/rag-answer/rag-answer.class.d.ts +2 -2
- package/dist/components/retrieval/rag-answer/rag-answer.class.js +2 -3
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.d.ts +1 -11
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +1 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.d.ts +8 -12
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +5 -6
- package/dist/components/retrieval/retrieval-search/retrieval-search.class.d.ts +1 -1
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.d.ts +4 -7
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js +2 -3
- package/dist/components/retrieval/source-card/source-card.class.d.ts +6 -9
- package/dist/components/retrieval/source-card/source-card.class.js +1 -1
- package/dist/components/retrieval/source-picker/source-picker.class.d.ts +1 -4
- package/dist/components/retrieval/source-picker/source-picker.class.js +1 -1
- package/dist/components/utility/diff-view/diff-view.class.js +1 -1
- package/dist/components/utility/format/format-options.js +1 -1
- package/dist/components/utility/icon/icon.class.d.ts +0 -5
- package/dist/components/utility/icon/icon.class.js +2 -2
- package/dist/components/utility/icon/icon.styles.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.js +1 -1
- package/dist/components/utility/known-date/known-date.class.d.ts +0 -3
- package/dist/components/utility/known-date/known-date.class.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +3 -2
- package/dist/components/utility/mention-popover/mention-popover.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.class.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer-kinds.d.ts +1 -1
- package/dist/components/viewers/document-viewer/document-viewer-kinds.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer.class.js +1 -1
- package/dist/components/viewers/document-viewer/registry.d.ts +1 -69
- package/dist/components/viewers/document-viewer/registry.js +1 -1
- package/dist/components/viewers/docx-viewer/docx-viewer.class.js +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.js +1 -1
- package/dist/components/viewers/html-viewer/html-viewer.class.js +1 -1
- package/dist/components/viewers/include/include.class.js +1 -1
- package/dist/components/viewers/index.d.ts +1 -1
- package/dist/components/viewers/index.js +1 -1
- package/dist/components/viewers/model-viewer/model-viewer-document.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-loader.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-register.d.ts +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-register.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-source.d.ts +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-source.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer.class.d.ts +61 -0
- package/dist/components/viewers/model-viewer/model-viewer.class.js +9 -0
- package/dist/components/viewers/model-viewer/model-viewer.d.ts +1 -0
- package/dist/components/viewers/model-viewer/model-viewer.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer.styles.js +1 -0
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +2 -2
- package/dist/components/viewers/page-rail/page-rail.class.js +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +1 -1
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +3 -3
- package/dist/components/viewers/svg-viewer/svg-viewer.class.js +1 -1
- package/dist/components/viewers/table-viewer-shared.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.class.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/events.d.ts +137 -92
- package/dist/framework-types.d.ts +2 -2
- package/dist/hydration.d.ts +1 -1
- package/dist/internal/ansi.d.ts +3 -1
- package/dist/internal/ansi.js +1 -1
- package/dist/internal/autoloader-manifest.js +1 -1
- package/dist/internal/autoloader-tags.d.ts +1 -1
- package/dist/internal/autoloader-tags.js +1 -1
- package/dist/internal/av-metadata.d.ts +13 -0
- package/dist/internal/av-metadata.js +1 -0
- package/dist/internal/collection-snapshot.js +1 -1
- package/dist/internal/component-loaders.generated.js +1 -1
- package/dist/internal/data-descriptors.d.ts +30 -0
- package/dist/internal/default-strings/agent-tools.generated.js +1 -1
- package/dist/internal/default-strings/charts.generated.js +1 -1
- package/dist/internal/default-strings/conversation.generated.js +1 -1
- package/dist/internal/default-strings/media.generated.js +1 -1
- package/dist/internal/default-strings/shared.generated.js +1 -1
- package/dist/internal/default-strings/viewers.generated.js +1 -1
- package/dist/internal/document-renderer-registry.d.ts +75 -0
- package/dist/internal/document-renderer-registry.js +1 -0
- package/dist/internal/drop-session-controller.js +1 -1
- package/dist/internal/engine-3d-loader.d.ts +47 -0
- package/dist/internal/engine-3d-loader.js +1 -0
- package/dist/internal/engine-3d.d.ts +57 -0
- package/dist/internal/engine-3d.js +1 -0
- package/dist/internal/hierarchy-source-controller.js +1 -1
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +1 -1
- package/dist/internal/lyra-element.d.ts +2 -2
- package/dist/internal/lyra-element.js +1 -1
- package/dist/internal/model-viewer-contract.d.ts +5 -0
- package/dist/internal/model-viewer-contract.js +1 -0
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/positioner.js +1 -1
- package/dist/internal/rendered-state.js +1 -1
- package/dist/internal/root-registration-allowlist.js +1 -1
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/typed-columns.d.ts +39 -0
- package/dist/internal/typed-columns.js +1 -0
- package/dist/localization.js +1 -1
- 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 +4 -4
- package/dist/ssr.js +1 -1
- package/dist/svelte.d.ts +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/theme-bootstrap.js +1 -1
- package/dist/theme/theme.js +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-accordion-item.md +2 -2
- package/llms/components/lr-agent-eval-dashboard.md +3 -3
- package/llms/components/lr-agent-run.md +3 -3
- package/llms/components/lr-agent-trace.md +1 -1
- package/llms/components/lr-agent-workspace.md +1 -1
- package/llms/components/lr-app-rail-item.md +1 -1
- package/llms/components/lr-app-rail.md +5 -6
- package/llms/components/lr-background-runs.md +4 -4
- package/llms/components/lr-calendar.md +1 -1
- package/llms/components/lr-change-review.md +5 -5
- package/llms/components/lr-chart-3d.md +164 -0
- package/llms/components/lr-chunk-inspector.md +4 -5
- package/llms/components/lr-citation-badge.md +1 -1
- package/llms/components/lr-code-block-core.md +2 -4
- package/llms/components/lr-command-palette.md +3 -3
- package/llms/components/lr-community-card.md +2 -2
- package/llms/components/lr-date-picker.md +1 -1
- package/llms/components/lr-details.md +2 -2
- package/llms/components/lr-diff-view.md +2 -2
- package/llms/components/lr-dock-panel.md +5 -10
- package/llms/components/lr-document-viewer.md +21 -14
- package/llms/components/lr-embedding-explorer.md +24 -4
- package/llms/components/lr-entity-dossier.md +3 -4
- package/llms/components/lr-eval-dataset.md +3 -3
- package/llms/components/lr-eval-run.md +7 -1
- package/llms/components/lr-file-input.md +10 -11
- package/llms/components/lr-flow-node.md +2 -3
- package/llms/components/lr-geojson-viewer.md +1 -1
- package/llms/components/lr-graph.md +21 -2
- package/llms/components/lr-grounding-summary.md +1 -1
- package/llms/components/lr-icon.md +1 -3
- package/llms/components/lr-image-viewer.md +29 -2
- package/llms/components/lr-ingestion-queue.md +1 -1
- package/llms/components/lr-knowledge-base-admin.md +2 -2
- package/llms/components/lr-knowledge-graph-explorer.md +7 -1
- package/llms/components/lr-known-date.md +3 -10
- package/llms/components/lr-lite-chart.md +1 -1
- package/llms/components/lr-map.md +861 -49
- package/llms/components/lr-markdown-core.md +1 -2
- package/llms/components/lr-memory-panel.md +4 -8
- package/llms/components/lr-model-viewer.md +170 -0
- package/llms/components/lr-navigation-menu.md +3 -4
- package/llms/components/lr-node-palette.md +1 -1
- package/llms/components/lr-path-strip.md +2 -3
- package/llms/components/lr-provenance-panel.md +3 -5
- package/llms/components/lr-qr-code.md +3 -4
- package/llms/components/lr-rag-answer.md +1 -1
- package/llms/components/lr-rag-eval-dashboard.md +2 -5
- package/llms/components/lr-retrieval-results.md +6 -7
- package/llms/components/lr-retrieval-trace.md +3 -4
- package/llms/components/lr-signature-pad.md +4 -3
- package/llms/components/lr-source-card.md +1 -1
- package/llms/components/lr-source-list.md +5 -5
- package/llms/components/lr-source-picker.md +2 -3
- package/llms/components/lr-span-waterfall.md +4 -3
- package/llms/components/lr-sparkline.md +3 -3
- package/llms/components/lr-subagent-panel.md +3 -3
- package/llms/components/lr-tool-call-chip.md +6 -6
- package/llms/components/lr-tool-timeline.md +1 -1
- package/llms/components/lr-video-playlist.md +3 -3
- package/llms/components/lr-video.md +29 -2
- package/llms/components/lr-virtual-list.md +3 -2
- package/llms/components/lr-widget.md +6 -13
- package/llms/index.md +98 -95
- package/llms/migration.md +27 -38
- package/llms/peers.md +7 -6
- package/llms/shared/ai-and-peers.md +1 -1
- package/llms/shared/events-and-types.md +8 -0
- package/llms/shared/imports-and-registration.md +2 -2
- package/llms/shared/v29-to-v30-migration.md +256 -0
- package/llms/shared.md +11 -3
- package/llms.txt +4 -4
- package/locales.json +1 -2328
- package/package.json +41 -13
- package/registrations.json +1 -1
- package/skills/lyra-ui/SKILL.md +4 -3
- /package/dist/{components/viewers/document-viewer → internal}/deferred-teardown.js +0 -0
- /package/dist/{components/viewers/document-viewer/registry-ownership.js → internal/document-renderer-registry-ownership.js} +0 -0
|
@@ -115,8 +115,7 @@ rendered code and defaults to `var(--lr-font-mono)`.
|
|
|
115
115
|
|
|
116
116
|
**Optional peer deps:** `marked`, `dompurify` (both lazy-loaded, same as `<lr-markdown>`), `katex`
|
|
117
117
|
(for `math`). Does _not_ depend on the full `shiki` package's default entry point — only
|
|
118
|
-
`shiki/core`, `shiki/engine/
|
|
119
|
-
`shiki/engine/javascript` instead via `setShikiCoreEngine('javascript')`), and
|
|
118
|
+
`shiki/core`, `shiki/engine/javascript` (the default), and
|
|
120
119
|
`shiki/themes/github-{light,dark}.mjs`, the same fine-grained subset `<lr-code-block-core>` depends
|
|
121
120
|
on.
|
|
122
121
|
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.1.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
11
|
-
- **Deprecated event** `lr-memory-toggle` since `26.0.0`; use event `@lr-toggle`; removal not before `28.0.0` — lr-toggle carries the owning memory identity and shared disclosure fields; the older event remains available during the deprecation window.
|
|
10
|
+
- **Deprecations** none
|
|
12
11
|
- **Optional peers** none
|
|
13
12
|
- **Themeable via** 19 parts, 3 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
14
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -30,7 +29,7 @@ Composes `lr-provenance-panel` (per-item provenance, behind a disclosure toggle)
|
|
|
30
29
|
indicator is omitted entirely rather than showing 0%/unknown. `provenance` reuses
|
|
31
30
|
`lr-provenance-panel`'s own `LyraProvenance` shape verbatim (`{ entities?; relationships?;
|
|
32
31
|
communities?; chunks? }`); omit it and the disclosure toggle is omitted entirely. Both arrays are
|
|
33
|
-
controlled and never mutated here — approving an action only fires the matching event
|
|
32
|
+
controlled and never mutated here — approving an action only fires the matching event. Assign a new array to update; mutating an array and assigning it again does not.
|
|
34
33
|
- `types: LyraNodeTypeStyle[] = []` (attribute: false) — readonly `{ id: string; label: string; color?: string;
|
|
35
34
|
shape?: 'circle' | 'square' | 'diamond' }`, forwarded verbatim to every expanded item's
|
|
36
35
|
`lr-provenance-panel`
|
|
@@ -63,14 +62,11 @@ their own section with ArrowUp/ArrowDown/Home/End. Secondary row controls remain
|
|
|
63
62
|
— a pending per-item removal was approved. Offered on every item.
|
|
64
63
|
- `lr-forget` (`detail: null`) — the pending "forget all long-term memories" bulk action was
|
|
65
64
|
approved. Only rendered while `longTerm` is non-empty.
|
|
66
|
-
- `lr-memory-toggle` (`detail: LyraMemoryExpandDetail` = `{ memoryId: string; scope: 'short-term' |
|
|
67
|
-
'long-term'; expanded: boolean }`) — an item's provenance disclosure was toggled, expanding or
|
|
68
|
-
collapsing it; deprecated alias of `lr-toggle`.
|
|
69
65
|
- `lr-toggle` carries `{ expanded, itemId, memoryId, scope }` for a memory item's own disclosure.
|
|
70
66
|
Nested provenance toggles are re-emitted once with their `section` and owning `memoryId`/`scope`.
|
|
71
67
|
- The expanded item's other `lr-provenance-panel` events cross the panel and are part of its
|
|
72
|
-
typed event map: `lr-entity-select`,
|
|
73
|
-
`lr-entity-open`, `lr-drill`, `lr-relation-activate
|
|
68
|
+
typed event map: `lr-entity-select`,
|
|
69
|
+
`lr-entity-open`, `lr-drill`, `lr-relation-activate` and `lr-chunk-open` (details
|
|
74
70
|
as on `lr-provenance-panel`). The owning `[part="item"]` — `data-id`, `data-scope` — is on the
|
|
75
71
|
event's `composedPath()`.
|
|
76
72
|
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/viewers.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-model-viewer`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/lr-model-viewer.js';` (stable tag alias; registers the tag)
|
|
6
|
+
- **Class** `LyraModelViewer`, also available unregistered from `@aceshooting/lyra-ui/components/viewers/model-viewer/model-viewer.class.js`
|
|
7
|
+
- **Family** `components/viewers/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Status** `experimental` since `30.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
|
+
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
|
+
- **Deprecations** none
|
|
11
|
+
- **Optional peers** `@aceshooting/lyra-3d` — see `llms/peers.md`
|
|
12
|
+
- **Themeable via** 10 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
|
|
13
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## `lr-model-viewer`
|
|
18
|
+
|
|
19
|
+
A bounded, static 3D model and point-cloud preview for glTF, GLB, STL, OBJ, PLY, XYZ and PCD files.
|
|
20
|
+
It renders with the model engine of the optional `@aceshooting/lyra-3d` companion (`pnpm add
|
|
21
|
+
@aceshooting/lyra-3d`), loaded through a lazy `import('@aceshooting/lyra-3d/model')`, and only for a
|
|
22
|
+
nonempty, supported, URL-policy-approved source: an empty `src`, an unsupported format, a blocked
|
|
23
|
+
URL or a browser without WebGL2 downloads neither the model nor the companion. The element has no
|
|
24
|
+
built-in renderer, so a visible text alternative and, whenever `src` passes the safe-download
|
|
25
|
+
policy, a guarded download link stay on screen in every state (idle, loading, ready, empty, failed
|
|
26
|
+
and context lost). No Lyra UI entry point reaches the companion except through that lazy import.
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<script type="module">
|
|
30
|
+
import '@aceshooting/lyra-ui/components/lr-model-viewer.js';
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<lr-model-viewer
|
|
34
|
+
src="/models/valve.glb"
|
|
35
|
+
name="valve.glb"
|
|
36
|
+
alt="A ball valve with a red handle"
|
|
37
|
+
></lr-model-viewer>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Formats.** With `format="auto"` the format comes from, in order, the `mimeType` essence
|
|
41
|
+
(`model/gltf+json`, `model/gltf-binary`, `model/stl`, `application/sla`, `model/obj`,
|
|
42
|
+
`application/x-ply`, `application/ply`, `application/x-pcd`, `application/pcd`), then a recognized
|
|
43
|
+
extension of `name`, then a recognized extension of `src` (query and fragment ignored). Only those
|
|
44
|
+
own keys count: `application/octet-stream` and prototype-like values such as `constructor` never
|
|
45
|
+
select a parser. XYZ has no registered MIME type and is chosen by extension or by `format="xyz"`.
|
|
46
|
+
|
|
47
|
+
**Properties:** `src: string = ''` — URL of the model; `name: string = ''` — file name used for
|
|
48
|
+
format detection, the download name and the region name when the host has no `aria-label`;
|
|
49
|
+
`mimeType: string = ''` (attribute `mime-type`); `format: 'auto' | 'gltf' | 'glb' | 'stl' | 'obj' |
|
|
50
|
+
'ply' | 'xyz' | 'pcd' = 'auto'` — an explicit format wins over detection, removing the attribute
|
|
51
|
+
returns to `auto`, and any other value fails closed with the localized unsupported-format message
|
|
52
|
+
before a fetch or the companion import; `alt: string = ''` — the text alternative, rendered in every
|
|
53
|
+
state (a built-in sentence is used when empty); `target: string = '_blank'` and `rel: string = ''`
|
|
54
|
+
— download link behavior; `camera?: LyraModelCamera` (attribute: false).
|
|
55
|
+
|
|
56
|
+
Writing `src`, `name`, `mimeType` or `format` invalidates the current load synchronously: the
|
|
57
|
+
in-flight request is aborted and the engine is disposed before Lit updates, so a stale response can
|
|
58
|
+
never publish. A host `aria-label` (by presence, an explicitly empty one included) names the region
|
|
59
|
+
and the camera surface; otherwise `name`, then the localized `3D model` label, does.
|
|
60
|
+
|
|
61
|
+
`LyraModelCamera` is `{ yaw, pitch, distance, target: { x, y, z } }`, the orbit camera the engine and
|
|
62
|
+
`lr-graph` share. Assignment copies own data fields only (accessors never run), requires finite
|
|
63
|
+
numbers (a `TypeError` leaves the previous camera untouched) and clamps them to the engine's orbit
|
|
64
|
+
ranges, so a stored camera is always safe to hand back. Assigning a camera is silent; `undefined`
|
|
65
|
+
or `null` removes it and the current model returns to its automatic fit. Reading `camera` returns the
|
|
66
|
+
current value, including the automatic fit and every user movement.
|
|
67
|
+
|
|
68
|
+
**Methods:** `fit(): void` — refits the current model without emitting an event; it does nothing
|
|
69
|
+
until a model is ready. `retry(): void` — abandons the current attempt and reloads the same source,
|
|
70
|
+
including the companion import after a failed load. The failed-state button calls it.
|
|
71
|
+
|
|
72
|
+
**Events:**
|
|
73
|
+
|
|
74
|
+
- `lr-load` — `detail: { format: LyraModelFormat }`. The current model finished parsing, once per
|
|
75
|
+
load. A valid model with no visible geometry also emits it and shows the localized empty message
|
|
76
|
+
instead of an error. Progress is visible localized text plus a light-DOM announcement, not an event.
|
|
77
|
+
- `lr-render-error` — `detail: { error: unknown }`. The source or the engine failed: blocked URL,
|
|
78
|
+
oversize source, failed request, rejected or unsupported file, missing companion or WebGL2, or a
|
|
79
|
+
failed engine call. The raw diagnostic is only in `detail`; the viewer renders localized text.
|
|
80
|
+
- `lr-camera-change` — `detail: { camera: LyraModelCamera }`. The user moved the camera with a
|
|
81
|
+
pointer, a key or a toolbar button (the fit button included). Assigning `camera`, `fit()` and the
|
|
82
|
+
automatic fit are silent.
|
|
83
|
+
- `lr-engine-fallback` — `detail: { from: 'webgl', to: 'list', reason }`. WebGL stopped rendering
|
|
84
|
+
and the text alternative remains; `reason` is `'unavailable'` (companion missing or incompatible),
|
|
85
|
+
`'unsupported'` (no WebGL2, or an unsupported format), `'context-lost'` or `'error'`. A lost
|
|
86
|
+
context keeps its engine so a restored context resumes rendering.
|
|
87
|
+
|
|
88
|
+
All four events bubble, are composed and are not cancelable. Hover and picking are intentionally
|
|
89
|
+
not exposed: the engine cannot name geometry items, so the element has no selection API. The pointer drags to orbit; Shift-drag or a secondary-button drag
|
|
90
|
+
pans; the wheel keeps scrolling the page.
|
|
91
|
+
|
|
92
|
+
**Slots:** default — extra descriptive content, displayed after the text alternative.
|
|
93
|
+
|
|
94
|
+
**CSS parts:** `base` (the named `region`), `viewport` (the camera surface, a named `group` that is
|
|
95
|
+
focusable while a model is ready and described by `instructions`), `toolbar`, `control` (each camera
|
|
96
|
+
or retry button), `instructions`, `alternative`, `status` (visible loading, progress or completion
|
|
97
|
+
text), `error` (visible failure or context-lost text), `footer`, and `download`. The engine canvas
|
|
98
|
+
is decorative (`aria-hidden`, not focusable). Visible state text is ordinary shadow content;
|
|
99
|
+
transitions are spoken through the shared document-level polite and assertive sinks.
|
|
100
|
+
|
|
101
|
+
**Themeable custom properties:** `--lr-model-viewer-height` (default `var(--lr-size-20rem)`) — block
|
|
102
|
+
size of `[part="viewport"]`. Surfaces, text, accent and focus colors are resolved live from the
|
|
103
|
+
design tokens, including ancestor and shadow-host changes, `prefers-color-scheme`,
|
|
104
|
+
`prefers-reduced-motion` and `forced-colors`.
|
|
105
|
+
|
|
106
|
+
**Keyboard model.** While a model is ready the camera surface is a tab stop. `ArrowLeft` and
|
|
107
|
+
`ArrowRight` orbit horizontally by 0.1 rad (mirrored under `dir="rtl"`), `ArrowUp` and `ArrowDown`
|
|
108
|
+
orbit vertically, `+` or `=` zooms in (distance × 0.8), `-` zooms out (× 1.25) and `Home` refits. Keys
|
|
109
|
+
with Alt, Ctrl or Meta, composing keys, events from nested targets and everything inside an `inert`
|
|
110
|
+
ancestor are ignored. Seven native toolbar buttons (rotate left, right, up and down, zoom in, zoom
|
|
111
|
+
out and fit) expose the same actions and stay disabled until a model is ready. The engine receives
|
|
112
|
+
the live reduced-motion preference, and the only transitions the viewer adds are the shared
|
|
113
|
+
interactive color transitions, which reduced motion collapses.
|
|
114
|
+
|
|
115
|
+
**Security model.**
|
|
116
|
+
|
|
117
|
+
- `src` passes the shared `safeFetchUrl` policy, resolved in the element's owner realm, before any
|
|
118
|
+
request; `javascript:` and other disallowed schemes render the localized "not allowed" message.
|
|
119
|
+
- The body is read through the shared bounded reader with a fixed 64 MiB ceiling. A larger declared
|
|
120
|
+
`content-length` is rejected before reading, streamed bytes are counted, and a `src` string longer
|
|
121
|
+
than 64 Mi code units (an oversized inline `data:` URL) is rejected before URL parsing.
|
|
122
|
+
- No model file can load an external resource or run code: the engine rejects glTF buffers and
|
|
123
|
+
images, OBJ material libraries and any other reference that is not embedded before a parser runs,
|
|
124
|
+
and no parser plugin or extension loader is enabled. The model file itself is the only data request.
|
|
125
|
+
- Every asynchronous step is guarded by a generation token, the abort signal, the connection and the
|
|
126
|
+
owning document. Disconnecting or adopting the element aborts the request and disposes the engine;
|
|
127
|
+
reconnecting loads again.
|
|
128
|
+
- Failure text is always a localized message, never the thrown message, and the download link stays
|
|
129
|
+
available: it uses `safeDownloadHref`, merges the author's `rel` through `resolveGuardedRel`
|
|
130
|
+
(`opener` is always removed) and adds `noopener noreferrer` whenever `target` is nonempty.
|
|
131
|
+
|
|
132
|
+
**Accepted subsets and fixed ceilings.** The engine admits a conservative subset and enforces
|
|
133
|
+
fixed resource ceilings before parsing: 64 MiB encoded, 256 MiB decoded (including a conservative
|
|
134
|
+
estimate for geometry staging), 1,000,000 vertices, 6,000,000 indices, 256 embedded resources, 4,096
|
|
135
|
+
pixels per texture axis, 16,777,216 pixels per texture and 67,108,864 pixels across all textures,
|
|
136
|
+
and 4,096 entries per repeated structure (glTF arrays, drawables, OBJ object, group and smoothing
|
|
137
|
+
statements, STL solids, PNG chunks and JPEG segments). glTF and GLB must be static core documents with embedded buffers and
|
|
138
|
+
PNG or JPEG images (no animations, skins, cameras or extensions). OBJ and glTF material or texture
|
|
139
|
+
files outside the file are rejected rather than fetched. PCD supports packed `rgb` color only (no
|
|
140
|
+
`rgba` or compressed data). PLY supports its known attributes with triangles and quads. Point clouds
|
|
141
|
+
with alpha or textures keep the standard materials. These are resource-admission limits, not package
|
|
142
|
+
size ceilings or claims of complete format support; a file outside them shows the localized
|
|
143
|
+
"could not be displayed" message and keeps the download link.
|
|
144
|
+
|
|
145
|
+
**Localization.** Visible text uses `modelViewerLabel`, `modelViewerAlternative`,
|
|
146
|
+
`modelViewerInstructions`, `modelViewerReady`, `modelViewerEmpty`, `modelViewerProgress`
|
|
147
|
+
(`{loaded}` and `{total}` byte counts formatted for the active locale), `modelViewerInvalid`,
|
|
148
|
+
`modelViewerUnsupportedFormat`, the toolbar labels `modelViewerRotateLeft`, `modelViewerRotateRight`,
|
|
149
|
+
`modelViewerRotateUp`, `modelViewerRotateDown` and `modelViewerFit`, plus the shared `zoomIn`,
|
|
150
|
+
`zoomOut`, `retry`, `download`, `loadingDocument`, `documentPreviewEmpty`,
|
|
151
|
+
`documentPreviewResourceTooLarge`, `documentPreviewUrlNotAllowed` and `engine3d*` messages, all
|
|
152
|
+
overridable through `.strings` or `registerLyraLocale()`.
|
|
153
|
+
|
|
154
|
+
**Document viewer.** `model-viewer-register.js` registers the canonical MIME types and the seven
|
|
155
|
+
extensions (of `name` or `src`) with `lr-document-viewer`, never `application/octet-stream`. Its lazy
|
|
156
|
+
payload adapter declares `{ anchors: [], search: false, textSelect: false }` once loaded, so model
|
|
157
|
+
attachments open in place; any other file keeps the existing attachment fallback.
|
|
158
|
+
`LyraModelDocumentRendererPayload` (`kind: 'model'`) carries the file, an optional `format` and an
|
|
159
|
+
optional `camera`; `file.alt` becomes the text alternative.
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
import type { LyraDocumentRendererPayload } from '@aceshooting/lyra-ui/components/viewers/document-viewer/registry.js';
|
|
163
|
+
|
|
164
|
+
const payload = {
|
|
165
|
+
kind: 'model',
|
|
166
|
+
file: { name: 'valve.glb', mimeType: 'model/gltf-binary', src: '/models/valve.glb', alt: 'A ball valve' },
|
|
167
|
+
} satisfies LyraDocumentRendererPayload;
|
|
168
|
+
|
|
169
|
+
html`<lr-document-viewer open .payload=${payload}></lr-document-viewer>`;
|
|
170
|
+
```
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/layout/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `experimental` since `21.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 7 parts, 5 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Documented with** `lr-navigation-menu-item` (same section below)
|
|
@@ -61,7 +61,7 @@ shared region below the bar. It never uses `menu`/`menubar` roles — applicatio
|
|
|
61
61
|
unset or unresolvable means the menu never collapses and its row wraps instead.
|
|
62
62
|
- `expanded: boolean = false` (reflected) — whether the list shows in the collapsed layout. Kept
|
|
63
63
|
while the bar layout is active and applied at the next collapse; reset to `false` (with
|
|
64
|
-
`lr-
|
|
64
|
+
`lr-toggle`, source `programmatic`) when the menu leaves the collapsed layout.
|
|
65
65
|
- `indicator: boolean = false` (reflected) — shows a decorative notch under the trigger whose panel
|
|
66
66
|
is open.
|
|
67
67
|
- `panelAnchor: LyraNavigationMenuPanelAnchor = 'menu'` (attribute `panel-anchor`, reflected) —
|
|
@@ -96,8 +96,7 @@ hide the focused element; a router's own later `focus()` still wins.
|
|
|
96
96
|
|
|
97
97
|
**Events:** cancelable `lr-toggle-request` for user-initiated changes and accepted `lr-toggle`
|
|
98
98
|
with `{ expanded, source: 'user' | 'programmatic' }`. The former can veto the change;
|
|
99
|
-
programmatic changes emit only the accepted event.
|
|
100
|
-
available with the same accepted detail after rendering. `user` covers the toggle, Escape in the
|
|
99
|
+
programmatic changes emit only the accepted event, after rendering. `user` covers the toggle, Escape in the
|
|
101
100
|
collapsed list, and a link or plain-button activation that collapses it. Nested item `lr-toggle`
|
|
102
101
|
events retain the item as their target; filter by target when listening for the menu's event.
|
|
103
102
|
|
|
@@ -37,7 +37,7 @@ description?: string; category?: string; keywords?: string[]; icon?: unknown; di
|
|
|
37
37
|
malformed optional `description`, `category`, `keywords`, or `disabled` values omit only that row,
|
|
38
38
|
preserving later valid entries. At most 10,000 positions are examined through own data
|
|
39
39
|
descriptors; accessor-backed rows are omitted without reserving later valid rows. The frozen
|
|
40
|
-
projection drives display while `lr-select.detail.item` retains the original admitted identity
|
|
40
|
+
projection drives display while `lr-select.detail.item` retains the original admitted identity. Assign a new array to update; mutating an array and assigning it again does not.
|
|
41
41
|
- `label?: string` — accessible name for the search field/listbox; omission uses the localized
|
|
42
42
|
palette label. An omitted, empty, or whitespace-only value uses that fallback without changing
|
|
43
43
|
the raw property readback
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 5 parts, 0 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -29,8 +29,7 @@ reverse?: boolean }`
|
|
|
29
29
|
non-empty host `aria-label` makes
|
|
30
30
|
the host the sole overall owner; an explicitly empty host label stays empty on the group
|
|
31
31
|
|
|
32
|
-
**Events:** `lr-entity-select` (`detail: { entityId, occurrenceIndex }`, a node element activated
|
|
33
|
-
the deprecated alias `lr-entity-activate` follows with the same detail),
|
|
32
|
+
**Events:** `lr-entity-select` (`detail: { entityId, occurrenceIndex }`, a node element activated),
|
|
34
33
|
`lr-relation-activate` (`detail: { relation, sourceNodeId?, targetNodeId?, occurrenceIndex }`, an edge element activated —
|
|
35
34
|
source/target resolved from the adjacent node elements, `undefined` when the path is malformed at
|
|
36
35
|
that position. `occurrenceIndex` is the original supplied array position, so repeated entity ids
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 8 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -46,12 +46,10 @@ re-emits one contextual toggle at its boundary. Because the panel is a
|
|
|
46
46
|
conduit, every affordance it renders also reaches a listener on the panel itself, and all are
|
|
47
47
|
part of its typed event map: `lr-entity-select` (`detail: { entityId, occurrenceIndex? }`, from an
|
|
48
48
|
entity chip, a community card member or a path-strip node — only the path strip carries
|
|
49
|
-
`occurrenceIndex`),
|
|
50
|
-
it by a community card member or path-strip node), `lr-entity-open` (`detail: { entityId }`, an entity chip double-click or
|
|
49
|
+
`occurrenceIndex`), `lr-entity-open` (`detail: { entityId }`, an entity chip double-click or
|
|
51
50
|
Space), `lr-drill` (`detail: { communityId }`, a community card's title, drill button, or overflow chip), and
|
|
52
51
|
`lr-relation-activate` (`detail: { relation, sourceNodeId?, targetNodeId?, occurrenceIndex }`, a relationship path-strip
|
|
53
|
-
edge), plus `lr-chunk-open` (`detail: { chunkId, sourceId, anchor? }`)
|
|
54
|
-
(`detail: { chunkId, expanded }`) from the chunk inspector.
|
|
52
|
+
edge), plus `lr-chunk-open` (`detail: { chunkId, sourceId, anchor? }`) from the chunk inspector.
|
|
55
53
|
|
|
56
54
|
**Slots:** none.
|
|
57
55
|
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
- **Family** `components/media/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [media](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/media.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** `qrcode` — see `llms/peers.md`
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 5 parts, 2 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -52,8 +52,7 @@ ratio. It degrades uniformly only to stay within 4,096 pixels per dimension and
|
|
|
52
52
|
pixels. Modules span the full canvas with no injected quiet zone; add host padding when a scanner
|
|
53
53
|
or physical output needs one.
|
|
54
54
|
|
|
55
|
-
**CSS parts:** `
|
|
56
|
-
`loading`, and `error`. **CSS custom properties:**
|
|
55
|
+
**CSS parts:** `qr-code` (the outer wrapper); `canvas`, `empty`, `loading`, and `error`. **CSS custom properties:**
|
|
57
56
|
`--lr-qr-code-fill` and `--lr-qr-code-bg`.
|
|
58
57
|
|
|
59
58
|
`error` is ordinary localized visible text, not a shadow live region. A missing peer or encode
|
|
@@ -61,7 +61,7 @@ the single citation presentation/action owner; the answer-level duplicate citati
|
|
|
61
61
|
Both child badge signals (`lr-citation-activate` and `lr-citation-open`) are stopped at the answer
|
|
62
62
|
boundary and translated into that one section- and action-qualified `lr-citation-select` contract;
|
|
63
63
|
a double-click reports two `activate`s then one `open`, so a host that only wants the open
|
|
64
|
-
ignores the `activate`s. The generated source cards'
|
|
64
|
+
ignores the `activate`s. The generated source cards' and the source list's `lr-toggle` and
|
|
65
65
|
the Markdown renderer's housekeeping events stay inside.
|
|
66
66
|
|
|
67
67
|
**Slots:** `answer` replaces the data-driven Markdown body; `sources` replaces the data-driven
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `7.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
11
|
-
- **Deprecated event** `lr-run-change` since `26.0.0`; use event `@lr-run-activate`; removal not before `28.0.0` — lr-run-activate matches the activate vocabulary of the library's other run lists; the alias fires right after it for one major.
|
|
12
|
-
- **Deprecated event** `lr-slice-change` since `26.0.0`; use event `@lr-slice-change-request`; removal not before `28.0.0` — lr-slice-change-request names a request the application decides on; the old event fires right after it for one major.
|
|
10
|
+
- **Deprecations** none
|
|
13
11
|
- **Optional peers** none
|
|
14
12
|
- **Themeable via** 17 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
|
|
15
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -55,8 +53,7 @@ later changed omissions are politely announced.
|
|
|
55
53
|
|
|
56
54
|
**Events:** `lr-metric-change-request` (`{ metricId }`), `lr-slice-change-request` (`{ slice }`) and
|
|
57
55
|
`lr-run-activate` (`{ runId, run }`). All are controlled intents; the component does not mutate the
|
|
58
|
-
corresponding selection properties.
|
|
59
|
-
`lr-run-change` (`{ run }`) are dispatched right after them.
|
|
56
|
+
corresponding selection properties.
|
|
60
57
|
|
|
61
58
|
**CSS parts:** `base`, `heading`, `slices`, `slice`, `slice-selected`, `metrics`, `metric`,
|
|
62
59
|
`metric-selected`, `metric-category` (the caller-supplied category rendered visibly on each metric),
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.1.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 35 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -79,8 +79,8 @@ a successful global absence proof removes an ID. Complete canonical records are
|
|
|
79
79
|
provider `order`, independently of page/query order. The selected-record cache and pending user
|
|
80
80
|
transaction survive paging, query changes and page retry. Selection failure exposes a separate
|
|
81
81
|
retry without emitting a partial selection. External assignment and reconnect/adoption
|
|
82
|
-
reconciliation are silent. A user toggle emits `lr-selection-change`
|
|
83
|
-
|
|
82
|
+
reconciliation are silent. A user toggle emits `lr-selection-change`
|
|
83
|
+
only after the current complete selection resolves.
|
|
84
84
|
|
|
85
85
|
Source selection event arrays and closed projected record fields are frozen; each record's
|
|
86
86
|
`metadata` remains an opaque reference to the provider-owned value. The component neither deeply
|
|
@@ -125,7 +125,7 @@ queryId?: string; stage?: string; traceId?: string; scores?: RetrievalScoreBreak
|
|
|
125
125
|
`lr-chunk-inspector`'s flatter `LyraChunk` via `source.id → sourceId`, `source.name → title`, and
|
|
126
126
|
`locator → anchor`; a `page`-kind `locator` additionally supplies the inspector's visible `page`.
|
|
127
127
|
Nothing is ever guessed from `metadata` — a chunk with no `locator` simply leaves `anchor`/`page`
|
|
128
|
-
unset
|
|
128
|
+
unset. Assign a new array to update; mutating an array and assigning it again does not.
|
|
129
129
|
- `selectedChunkIds: string[] = []` (attribute: false) — controlled selection by chunk `id`. Blank
|
|
130
130
|
ids, duplicates, and ids absent from the canonical chunk model are pruned in the legacy route;
|
|
131
131
|
source mode resolves presence globally as described above. The component updates
|
|
@@ -202,14 +202,13 @@ string[]; chunks: RetrievalChunk[] }`) — the _complete_ updated selection, bot
|
|
|
202
202
|
toggle. This derived detail is always canonicalized nonblank/first-wins regardless of the legacy
|
|
203
203
|
`without-dedupe` switch. It is the only host-level report of a row toggle: the row checkbox's
|
|
204
204
|
`lr-checkbox-toggle-request`, native `input`/`change`, and `lr-input`/`lr-change` stay inside the
|
|
205
|
-
component.
|
|
206
|
-
selection) is dispatched right after it.
|
|
205
|
+
component.
|
|
207
206
|
- `lr-load-more` (`detail: null`) — from the virtual list's scroll-near-bottom detection while
|
|
208
207
|
virtualized, or the `[part="load-more"]` button otherwise. Only fires while `hasMore` is true and
|
|
209
208
|
`loading` is false.
|
|
210
209
|
- `lr-chunk-open` (`detail: { chunkId, sourceId, anchor? }`) — forwarded verbatim from a row's
|
|
211
210
|
`lr-chunk-inspector`; the event a host routes into `lr-document-viewer`. A row's
|
|
212
|
-
`lr-
|
|
211
|
+
`lr-toggle` and the virtual list's scroll events stay inside: the component keeps each
|
|
213
212
|
row's "Show more" state itself, so it survives scrolling a virtualized row out and back and a
|
|
214
213
|
re-sort.
|
|
215
214
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.1.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 18 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -55,9 +55,8 @@ unknown> }` — `chunks` is **`RetrievalChunk` from `@aceshooting/lyra-ui/ai`**
|
|
|
55
55
|
- `frame: LyraFrame = 'card'` (reflected) — container treatment. `'card'` keeps each `evidence-row`'s bordered box; `'plain'` removes the border and corner radius from every `evidence-row`, for use inside an already-bordered container.
|
|
56
56
|
|
|
57
57
|
**Events:** `lr-stage-select` (`detail: { stageId: string }`, a stage's bar was activated — click,
|
|
58
|
-
Enter, Space), `lr-
|
|
59
|
-
|
|
60
|
-
first time), `lr-toggle` (`{ expanded, itemId }` for a stage or
|
|
58
|
+
Enter, Space), `lr-toggle` (`{ expanded, itemId }` for a stage's evidence panel toggled, either by its own button or implicitly by selecting that stage in the timeline for the
|
|
59
|
+
first time, or
|
|
61
60
|
`{ expanded, itemId, stageId }` for a nested chunk), and `lr-stage-chunk-action` (`detail: LyraRetrievalTraceChunkActionDetail`, a
|
|
62
61
|
discriminated `{ stageId, action: 'open', chunkId, sourceId, anchor? } | { stageId, action: 'expand', chunkId,
|
|
63
62
|
expanded }`). Generic nested chunk events are stopped at the trace boundary so every action has
|
|
@@ -48,9 +48,10 @@ must never be mirrored.
|
|
|
48
48
|
- `disabled: boolean = false` (reflected) — blocks drawing and clearing and removes the surface from
|
|
49
49
|
the tab order.
|
|
50
50
|
- `strokes: readonly SignatureStroke[]` — the signature, empty by default. Assign saved strokes to
|
|
51
|
-
restore one:
|
|
52
|
-
and
|
|
53
|
-
|
|
51
|
+
restore one: own data is copied without invoking accessors or iterators, non-finite points are
|
|
52
|
+
dropped, and coordinates are clamped to 0–1. Only the first `SIGNATURE_PAD_MAX_STROKES` (256)
|
|
53
|
+
stroke positions and `SIGNATURE_PAD_MAX_POINTS` (2048) point positions per stroke are inspected.
|
|
54
|
+
Assigning the current array is a no-op.
|
|
54
55
|
- `value: string` (read-only) — PNG data URL, `''` while empty: black ink on a transparent
|
|
55
56
|
background, 1024 px on the long side at the surface's last measured aspect ratio (3:1 before the
|
|
56
57
|
first layout). It never depends on `devicePixelRatio`, the theme or the rendered size, so the same
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 5 parts, 3 custom properties — see `lr-source-list.md`
|
|
13
13
|
- **Documented with** `lr-source-list`: see [lr-source-list.md](./lr-source-list.md).
|
|
@@ -99,8 +99,8 @@ tokens — `--lr-color-border`, `--lr-color-border-subtle`, `--lr-color-surface`
|
|
|
99
99
|
chrome. Use the shared `LyraFrame` type when authoring this property.
|
|
100
100
|
- `disabled: boolean = false` (reflected) — turns off this card's OWN controls. The `title` button
|
|
101
101
|
and the "Show more"/"Show less" `toggle` both render `disabled`, so neither one can emit `lr-open`
|
|
102
|
-
or `lr-
|
|
103
|
-
`--lr-opacity-disabled` with a `not-allowed` cursor on both. The one `lr-
|
|
102
|
+
or `lr-toggle` and neither remains in the tab order, and the card paints at
|
|
103
|
+
`--lr-opacity-disabled` with a `not-allowed` cursor on both. The one `lr-toggle` a disabled card
|
|
104
104
|
can still emit is the automatic collapse when the `full` slot empties while expanded — that
|
|
105
105
|
reports a state change the card genuinely made, exactly as it does when enabled. Both buttons
|
|
106
106
|
carry the native `:disabled`, so `::part(title):disabled` / `::part(toggle):disabled` restyle the
|
|
@@ -119,8 +119,8 @@ tokens — `--lr-color-border`, `--lr-color-border-subtle`, `--lr-color-surface`
|
|
|
119
119
|
|
|
120
120
|
**Events:**
|
|
121
121
|
|
|
122
|
-
- `lr-
|
|
123
|
-
more"/"Show less" toggle was activated. Unrelated to the parent `lr-source-list`'s own
|
|
122
|
+
- `lr-toggle` (`detail: { expanded: boolean; itemId: string }`) — the per-card "Show
|
|
123
|
+
more"/"Show less" toggle was activated, or the `full` slot emptied while expanded. Unrelated to the parent `lr-source-list`'s own
|
|
124
124
|
expand/collapse, which only ever hides/shows the _set_ of cards, never a single card's own content.
|
|
125
125
|
- `lr-toggle` (`detail: { expanded, itemId }`) — the same per-card disclosure change, including
|
|
126
126
|
automatic collapse when the full slot empties.
|
|
@@ -191,7 +191,7 @@ time.
|
|
|
191
191
|
- `lr-source-list` does not automatically build an “N sources” plural summary: provide
|
|
192
192
|
`labelPlural` when that is wanted. Its no-label fallback is localized through
|
|
193
193
|
`sourceListDefaultLabel`, and a per-instance `.strings` override reaches the rendered header.
|
|
194
|
-
- `lr-source-card`'s own expand/collapse (`full` slot, `lr-
|
|
194
|
+
- `lr-source-card`'s own expand/collapse (`full` slot, `lr-toggle` event) is completely
|
|
195
195
|
independent of the parent list's `expanded`/`lr-toggle` — collapsing the list doesn't reset an
|
|
196
196
|
individual card's `fullExpanded` state, and there is no cross-talk between the two components at
|
|
197
197
|
all beyond DOM nesting.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 14 parts, 5 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -60,8 +60,7 @@ string; mimeType?: string; name?: string; children?: LyraSourceEntry[] }`; flat
|
|
|
60
60
|
**Events:** `lr-selection-change` (`detail: { selectedSourceIds }`, the complete updated leaf-id
|
|
61
61
|
array, fired after every toggle including select-all. Also fired when a `sources` reassignment
|
|
62
62
|
prunes a previously-selected id that is no longer a valid leaf. Not fired when a consumer sets
|
|
63
|
-
`selectedSourceIds` directly; that assignment is normalized silently) and
|
|
64
|
-
`lr-sources-change`, dispatched right after it. The select-all checkbox's and the filter field's
|
|
63
|
+
`selectedSourceIds` directly; that assignment is normalized silently). The select-all checkbox's and the filter field's
|
|
65
64
|
`lr-checkbox-toggle-request`, native `input`/`change`, and `lr-input`/`lr-change` stay inside the
|
|
66
65
|
component; `lr-selection-change` is the host-level report.
|
|
67
66
|
|
|
@@ -17,9 +17,10 @@
|
|
|
17
17
|
## `lr-span-waterfall`
|
|
18
18
|
|
|
19
19
|
For `lr-span-waterfall`, `lr-trace-tree`, `lr-agent-trace`, `lr-tool-timeline`, `lr-activity-feed`,
|
|
20
|
-
and `lr-test-results
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
and `lr-test-results` (and likewise `lr-task-list` and `lr-eval-dataset`), assigning a new array
|
|
21
|
+
refreshes the rendered projection. Item objects keep their identity, but assigning the same array
|
|
22
|
+
again, even after mutating an item or the array itself, is ignored: create a new array to publish
|
|
23
|
+
a change. Unrelated property updates reuse the current projection where possible.
|
|
23
24
|
|
|
24
25
|
The horizontal-timeline projection of the same `LyraSpan[]` `<lr-trace-tree>` consumes: a time
|
|
25
26
|
axis, one row per legacy span in start order, status-toned bars (Langfuse timeline / Temporal
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
- **Family** `components/data/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 5 parts, 3 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -87,7 +87,7 @@ It adds no table, CSV or source-selection event.
|
|
|
87
87
|
|
|
88
88
|
**Slots:** none.
|
|
89
89
|
|
|
90
|
-
**CSS parts:** `sparkline`
|
|
90
|
+
**CSS parts:** `sparkline` is the outer SVG, `fill` is the
|
|
91
91
|
area path for solid/gradient appearance, `line` is the stroke path, and the additive `bar` is each
|
|
92
92
|
extension-mode rectangle. `status` is the visible invalid-prepared-input message.
|
|
93
93
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/agent-tools/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `7.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [agent-tools](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/agent-tools.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 16 parts, 11 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -39,10 +39,10 @@ inclusive.
|
|
|
39
39
|
Empty/blank run ids are omitted and later duplicate ids are ignored before hierarchy, focus,
|
|
40
40
|
counts, selection, and events.
|
|
41
41
|
|
|
42
|
-
**Events:** `lr-run-activate` (`{ runId, run }`), `lr-run-cancel` (`{ runId }`),
|
|
42
|
+
**Events:** `lr-run-activate` (`{ runId, run }`), `lr-run-cancel` (`{ runId }`), and
|
|
43
43
|
`lr-run-retry` (`{ runId }`).
|
|
44
44
|
|
|
45
|
-
**Keyboard, selection and events:** the tree has one tab stop: only the focused row's trigger, cancel and retry buttons are tabbable, and ArrowRight/ArrowLeft move to the first child / parent (swapped under RTL) beside ArrowUp/Down, Home/End and Enter/Space. The selected run is `aria-selected` on its tree item (the trigger no longer carries `aria-pressed`), and a selection made after mount is reserved inside the 500-row cap. `lr-run-cancel` (`detail: { runId }`) is the cancellation request
|
|
45
|
+
**Keyboard, selection and events:** the tree has one tab stop: only the focused row's trigger, cancel and retry buttons are tabbable, and ArrowRight/ArrowLeft move to the first child / parent (swapped under RTL) beside ArrowUp/Down, Home/End and Enter/Space. The selected run is `aria-selected` on its tree item (the trigger no longer carries `aria-pressed`), and a selection made after mount is reserved inside the 500-row cap. `lr-run-cancel` (`detail: { runId }`) is the cancellation request. Unknown status kinds render title-cased.
|
|
46
46
|
|
|
47
47
|
**CSS parts:** `base`, `list`, `run`, `run-selected`, `run-row`, `run-trigger`, `label`, `status`,
|
|
48
48
|
`task`, `model`, `progress`, `actions`, `cancel`, `retry`, `limit`, `empty`.
|