@aceshooting/lyra-ui 29.2.2 → 30.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 +164 -89
- package/README.md +9 -8
- package/dist/ai/adapters/ag-ui.d.ts +2 -2
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/runtime.d.ts +7 -7
- package/dist/ai/runtime.js +1 -1
- package/dist/ai/snapshot.d.ts +5 -5
- package/dist/ai/snapshot.js +1 -1
- package/dist/ai/types.d.ts +34 -34
- package/dist/all.d.ts +1 -1
- package/dist/all.js +1 -1
- package/dist/autoloader.d.ts +5 -5
- 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 +6 -6
- package/dist/components/agent-tools/activity-feed/activity-feed.d.ts +1 -1
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.d.ts +5 -6
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js +1 -1
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.d.ts +1 -1
- package/dist/components/agent-tools/agent-question/agent-question.class.d.ts +9 -9
- package/dist/components/agent-tools/agent-question/agent-question.d.ts +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.class.d.ts +5 -6
- package/dist/components/agent-tools/agent-run/agent-run.class.js +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.d.ts +1 -1
- package/dist/components/agent-tools/agent-status-presentation.d.ts +6 -6
- package/dist/components/agent-tools/agent-trace/agent-trace.class.d.ts +6 -6
- package/dist/components/agent-tools/agent-trace/agent-trace.class.js +2 -2
- package/dist/components/agent-tools/agent-trace/agent-trace.d.ts +1 -1
- package/dist/components/agent-tools/approval-queue/approval-queue.class.d.ts +6 -6
- package/dist/components/agent-tools/approval-queue/approval-queue.d.ts +1 -1
- package/dist/components/agent-tools/approval-state.d.ts +4 -4
- package/dist/components/agent-tools/artifact-panel/artifact-panel.class.d.ts +7 -7
- package/dist/components/agent-tools/artifact-panel/artifact-panel.d.ts +1 -1
- package/dist/components/agent-tools/background-runs/background-runs.class.d.ts +6 -7
- package/dist/components/agent-tools/background-runs/background-runs.class.js +1 -1
- package/dist/components/agent-tools/background-runs/background-runs.d.ts +1 -1
- package/dist/components/agent-tools/browser-frame/browser-frame.class.d.ts +2 -2
- package/dist/components/agent-tools/browser-frame/browser-frame.d.ts +1 -1
- package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +5 -5
- package/dist/components/agent-tools/budget-meter/budget-meter.d.ts +1 -1
- package/dist/components/agent-tools/change-review/change-review.class.d.ts +6 -7
- package/dist/components/agent-tools/change-review/change-review.class.js +1 -1
- package/dist/components/agent-tools/change-review/change-review.d.ts +1 -1
- package/dist/components/agent-tools/commit-card/commit-card.class.d.ts +5 -5
- package/dist/components/agent-tools/commit-card/commit-card.d.ts +1 -1
- package/dist/components/agent-tools/compare-panel/compare-panel.d.ts +1 -1
- package/dist/components/agent-tools/confirm-bar/confirm-bar.class.d.ts +4 -4
- package/dist/components/agent-tools/confirm-bar/confirm-bar.d.ts +1 -1
- package/dist/components/agent-tools/connector-manager/connector-manager.class.d.ts +4 -4
- package/dist/components/agent-tools/connector-manager/connector-manager.d.ts +1 -1
- package/dist/components/agent-tools/context-inspector/context-inspector.class.d.ts +13 -13
- package/dist/components/agent-tools/context-inspector/context-inspector.d.ts +1 -1
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.d.ts +11 -10
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +1 -1
- package/dist/components/agent-tools/eval-dataset/eval-dataset.d.ts +1 -1
- package/dist/components/agent-tools/eval-result/eval-result.class.d.ts +7 -7
- package/dist/components/agent-tools/eval-result/eval-result.d.ts +1 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.d.ts +13 -7
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.js +1 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.d.ts +1 -1
- package/dist/components/agent-tools/mcp-app/mcp-app.class.d.ts +5 -5
- package/dist/components/agent-tools/mcp-app/mcp-app.d.ts +1 -1
- package/dist/components/agent-tools/permission-grant/permission-grant.class.d.ts +7 -7
- package/dist/components/agent-tools/permission-grant/permission-grant.d.ts +1 -1
- package/dist/components/agent-tools/permission-rules/permission-rules.class.d.ts +3 -3
- package/dist/components/agent-tools/permission-rules/permission-rules.d.ts +1 -1
- package/dist/components/agent-tools/policy-summary/policy-summary.class.d.ts +3 -3
- package/dist/components/agent-tools/policy-summary/policy-summary.d.ts +1 -1
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.d.ts +10 -10
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.js +3 -3
- package/dist/components/agent-tools/prompt-studio/prompt-studio.d.ts +1 -1
- package/dist/components/agent-tools/result-card/result-card.class.d.ts +1 -1
- package/dist/components/agent-tools/result-card/result-card.d.ts +1 -1
- package/dist/components/agent-tools/result-card/result-field.class.d.ts +1 -1
- package/dist/components/agent-tools/result-card/result-field.d.ts +1 -1
- package/dist/components/agent-tools/run-events.d.ts +1 -1
- package/dist/components/agent-tools/schema-viewer/schema-viewer.class.d.ts +2 -2
- package/dist/components/agent-tools/schema-viewer/schema-viewer.d.ts +1 -1
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.d.ts +3 -3
- package/dist/components/agent-tools/span-waterfall/span-waterfall.d.ts +1 -1
- package/dist/components/agent-tools/stack-trace/stack-trace-parse.d.ts +4 -4
- package/dist/components/agent-tools/stack-trace/stack-trace.class.d.ts +3 -3
- package/dist/components/agent-tools/stack-trace/stack-trace.d.ts +1 -1
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.d.ts +2 -3
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +2 -2
- package/dist/components/agent-tools/subagent-panel/subagent-panel.d.ts +1 -1
- package/dist/components/agent-tools/task-list/task-list.class.d.ts +7 -7
- package/dist/components/agent-tools/task-list/task-list.d.ts +1 -1
- package/dist/components/agent-tools/terminal/terminal.class.d.ts +2 -2
- package/dist/components/agent-tools/terminal/terminal.d.ts +1 -1
- package/dist/components/agent-tools/test-results/test-results.class.d.ts +9 -9
- package/dist/components/agent-tools/test-results/test-results.d.ts +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.d.ts +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.d.ts +1 -1
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.d.ts +9 -9
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.d.ts +1 -1
- package/dist/components/agent-tools/tool-call-block/tool-call-block.class.d.ts +8 -8
- package/dist/components/agent-tools/tool-call-block/tool-call-block.d.ts +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +9 -10
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +1 -5
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.d.ts +1 -1
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.d.ts +7 -7
- package/dist/components/agent-tools/tool-param-form/tool-param-form.d.ts +1 -1
- package/dist/components/agent-tools/tool-param-form/tool-param-types.d.ts +14 -14
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.class.d.ts +7 -7
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.d.ts +1 -1
- package/dist/components/agent-tools/tool-result-view/registry.d.ts +9 -9
- package/dist/components/agent-tools/tool-result-view/tool-result-view.class.d.ts +7 -7
- package/dist/components/agent-tools/tool-result-view/tool-result-view.d.ts +1 -1
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.d.ts +9 -9
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.d.ts +1 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts +7 -7
- package/dist/components/agent-tools/tool-timeline/tool-timeline.d.ts +1 -1
- package/dist/components/agent-tools/trace-tree/span-shared.d.ts +9 -9
- package/dist/components/agent-tools/trace-tree/trace-tree.class.d.ts +10 -9
- package/dist/components/agent-tools/trace-tree/trace-tree.class.js +1 -1
- package/dist/components/agent-tools/trace-tree/trace-tree.d.ts +1 -1
- package/dist/components/charts/chart/bar-chart.d.ts +1 -1
- package/dist/components/charts/chart/box-plot.class.d.ts +10 -10
- package/dist/components/charts/chart/box-plot.d.ts +1 -1
- package/dist/components/charts/chart/bubble-chart.d.ts +1 -1
- package/dist/components/charts/chart/chart-chrome.d.ts +2 -2
- package/dist/components/charts/chart/chart-colors.d.ts +1 -1
- package/dist/components/charts/chart/chart-core-loader.d.ts +2 -2
- package/dist/components/charts/chart/chart-feature-loader.d.ts +1 -1
- package/dist/components/charts/chart/chart-legend-visibility.d.ts +9 -9
- package/dist/components/charts/chart/chart-prepared-data.d.ts +4 -4
- package/dist/components/charts/chart/chart.class.d.ts +35 -35
- package/dist/components/charts/chart/chart.class.js +4 -4
- package/dist/components/charts/chart/chart.d.ts +1 -1
- package/dist/components/charts/chart/doughnut-chart.d.ts +1 -1
- package/dist/components/charts/chart/histogram-bin.d.ts +1 -1
- package/dist/components/charts/chart/histogram.class.d.ts +2 -2
- package/dist/components/charts/chart/histogram.d.ts +1 -1
- package/dist/components/charts/chart/line-chart.d.ts +1 -1
- package/dist/components/charts/chart/lite-chart.class.d.ts +9 -9
- package/dist/components/charts/chart/lite-chart.d.ts +1 -1
- package/dist/components/charts/chart/pie-chart.d.ts +1 -1
- package/dist/components/charts/chart/polar-area-chart.d.ts +1 -1
- package/dist/components/charts/chart/radar-chart.d.ts +1 -1
- package/dist/components/charts/chart/scatter-chart.d.ts +1 -1
- 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 +29 -29
- package/dist/components/conversation/agent-workspace/agent-workspace.class.js +4 -5
- package/dist/components/conversation/agent-workspace/agent-workspace.d.ts +1 -1
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.d.ts +3 -3
- package/dist/components/conversation/audio-visualizer/audio-visualizer.d.ts +1 -1
- package/dist/components/conversation/branch-picker/branch-picker.class.d.ts +2 -2
- package/dist/components/conversation/branch-picker/branch-picker.d.ts +1 -1
- package/dist/components/conversation/catalog-picker-element.d.ts +20 -20
- package/dist/components/conversation/chat-composer/chat-composer-status.d.ts +1 -1
- package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +10 -10
- package/dist/components/conversation/chat-composer/chat-composer.d.ts +1 -1
- package/dist/components/conversation/chat-message/chat-message.class.d.ts +5 -5
- package/dist/components/conversation/chat-message/chat-message.d.ts +1 -1
- package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +1 -1
- package/dist/components/conversation/chat-viewport/chat-viewport.d.ts +1 -1
- package/dist/components/conversation/checkpoint/checkpoint.class.d.ts +4 -4
- package/dist/components/conversation/checkpoint/checkpoint.d.ts +1 -1
- package/dist/components/conversation/code-block/code-block-base.class.d.ts +3 -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 +6 -6
- package/dist/components/conversation/code-block/code-block-core.d.ts +1 -1
- package/dist/components/conversation/code-block/code-block-shared.d.ts +12 -12
- package/dist/components/conversation/code-block/code-block.class.d.ts +7 -7
- package/dist/components/conversation/code-block/code-block.d.ts +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 +8 -10
- package/dist/components/conversation/code-block/shiki-types.js +1 -1
- package/dist/components/conversation/conversation-item/conversation-item.class.d.ts +2 -2
- package/dist/components/conversation/conversation-item/conversation-item.d.ts +1 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.class.d.ts +1 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.class.js +1 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.d.ts +1 -1
- package/dist/components/conversation/handoff-divider/handoff-divider.d.ts +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.d.ts +8 -8
- package/dist/components/conversation/markdown/markdown-code-header.d.ts +2 -2
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +4 -4
- package/dist/components/conversation/markdown/markdown-core.d.ts +1 -1
- package/dist/components/conversation/markdown/markdown-fallback-code.d.ts +3 -3
- package/dist/components/conversation/markdown/markdown-loader.d.ts +3 -3
- package/dist/components/conversation/markdown/markdown-progressive.js +2 -2
- package/dist/components/conversation/markdown/markdown-shared.d.ts +24 -24
- package/dist/components/conversation/markdown/markdown.class.d.ts +3 -3
- package/dist/components/conversation/markdown/markdown.d.ts +1 -1
- package/dist/components/conversation/message-actions/message-actions.class.d.ts +2 -2
- package/dist/components/conversation/message-actions/message-actions.class.js +1 -1
- package/dist/components/conversation/message-actions/message-actions.d.ts +1 -1
- package/dist/components/conversation/message-actions/toolbar-actions.d.ts +2 -2
- package/dist/components/conversation/message-feedback/message-feedback.class.d.ts +8 -8
- package/dist/components/conversation/message-feedback/message-feedback.d.ts +1 -1
- package/dist/components/conversation/message-parts/message-parts.class.d.ts +6 -6
- package/dist/components/conversation/message-parts/message-parts.class.js +1 -1
- package/dist/components/conversation/message-parts/message-parts.d.ts +1 -1
- package/dist/components/conversation/model-select/model-select.class.d.ts +9 -9
- package/dist/components/conversation/model-select/model-select.class.js +1 -1
- package/dist/components/conversation/model-select/model-select.d.ts +1 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.d.ts +4 -4
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.js +1 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.d.ts +1 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.d.ts +16 -16
- package/dist/components/conversation/prompt-input/prompt-input.class.js +3 -4
- package/dist/components/conversation/prompt-input/prompt-input.d.ts +1 -1
- package/dist/components/conversation/prompt-queue/prompt-queue.class.d.ts +4 -4
- package/dist/components/conversation/prompt-queue/prompt-queue.d.ts +1 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.class.d.ts +3 -3
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js +1 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.d.ts +1 -1
- package/dist/components/conversation/realtime-session/realtime-session.d.ts +1 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +1 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.js +1 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.d.ts +1 -1
- package/dist/components/conversation/stream-status/stream-status.class.d.ts +5 -5
- package/dist/components/conversation/stream-status/stream-status.d.ts +1 -1
- package/dist/components/conversation/streaming-text/markdown-detection.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text-core.class.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text-core.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text.class.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text.d.ts +1 -1
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +4 -4
- package/dist/components/conversation/suggestion-chips/suggestion-chips.d.ts +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +15 -15
- package/dist/components/conversation/thread-list/thread-list.class.js +1 -1
- package/dist/components/conversation/thread-list/thread-list.d.ts +1 -1
- package/dist/components/conversation/timestamp.d.ts +2 -2
- package/dist/components/conversation/transcript-feed/transcript-feed.class.d.ts +3 -3
- package/dist/components/conversation/transcript-feed/transcript-feed.d.ts +1 -1
- package/dist/components/conversation/typing-indicator/typing-indicator.class.d.ts +1 -1
- package/dist/components/conversation/typing-indicator/typing-indicator.d.ts +1 -1
- package/dist/components/conversation/usage-badge/usage-badge.class.d.ts +2 -2
- package/dist/components/conversation/usage-badge/usage-badge.d.ts +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +10 -10
- package/dist/components/conversation/voice-picker/voice-picker.d.ts +1 -1
- package/dist/components/conversation/widget-renderer/default-registry.d.ts +1 -1
- package/dist/components/conversation/widget-renderer/registry.d.ts +12 -12
- package/dist/components/conversation/widget-renderer/registry.js +1 -1
- package/dist/components/conversation/widget-renderer/resolve.d.ts +7 -7
- package/dist/components/conversation/widget-renderer/resolve.js +1 -1
- package/dist/components/conversation/widget-renderer/widget-renderer.class.d.ts +1 -1
- package/dist/components/conversation/widget-renderer/widget-renderer.d.ts +1 -1
- package/dist/components/data/calendar/calendar.class.d.ts +4 -2
- package/dist/components/data/calendar/calendar.d.ts +1 -1
- package/dist/components/data/condition-builder/condition-builder.class.d.ts +11 -11
- package/dist/components/data/condition-builder/condition-builder.d.ts +1 -1
- package/dist/components/data/context-meter/context-meter.class.d.ts +12 -12
- package/dist/components/data/context-meter/context-meter.d.ts +1 -1
- package/dist/components/data/data-grid/data-grid-types.d.ts +19 -19
- package/dist/components/data/data-grid/data-grid.class.d.ts +58 -58
- package/dist/components/data/data-grid/data-grid.class.js +2 -2
- package/dist/components/data/data-grid/data-grid.d.ts +1 -1
- package/dist/components/data/document-library/document-library.class.d.ts +12 -12
- package/dist/components/data/document-library/document-library.d.ts +1 -1
- package/dist/components/data/env-list/env-list.class.d.ts +1 -1
- package/dist/components/data/env-list/env-list.d.ts +1 -1
- package/dist/components/data/file-tree/file-tree.class.d.ts +6 -4
- package/dist/components/data/file-tree/file-tree.class.js +2 -2
- package/dist/components/data/file-tree/file-tree.d.ts +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +19 -19
- package/dist/components/data/flow-canvas/flow-canvas.class.js +2 -2
- package/dist/components/data/flow-canvas/flow-canvas.d.ts +1 -1
- package/dist/components/data/flow-canvas/flow-source.js +1 -1
- package/dist/components/data/flow-canvas/flow-types.d.ts +12 -12
- package/dist/components/data/flow-controls/flow-controls.class.d.ts +1 -1
- package/dist/components/data/flow-controls/flow-controls.d.ts +1 -1
- package/dist/components/data/flow-minimap/flow-minimap.class.d.ts +1 -1
- package/dist/components/data/flow-minimap/flow-minimap.d.ts +1 -1
- package/dist/components/data/flow-node/flow-node.class.d.ts +11 -12
- package/dist/components/data/flow-node/flow-node.class.js +2 -4
- package/dist/components/data/flow-node/flow-node.d.ts +1 -1
- package/dist/components/data/flow-run-status/flow-run-status.class.d.ts +2 -2
- package/dist/components/data/flow-run-status/flow-run-status.d.ts +1 -1
- package/dist/components/data/funnel/funnel.class.d.ts +8 -8
- package/dist/components/data/funnel/funnel.d.ts +1 -1
- package/dist/components/data/gauge/gauge.class.d.ts +2 -2
- package/dist/components/data/gauge/gauge.d.ts +1 -1
- package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +19 -19
- package/dist/components/data/graph-query-builder/graph-query-builder.d.ts +1 -1
- package/dist/components/data/heatmap/calendar-grid.d.ts +5 -5
- package/dist/components/data/heatmap/heatmap-limits.d.ts +5 -5
- package/dist/components/data/heatmap/heatmap-matrix-source.d.ts +2 -2
- package/dist/components/data/heatmap/heatmap-scale.d.ts +3 -3
- package/dist/components/data/heatmap/heatmap.class.d.ts +20 -20
- package/dist/components/data/heatmap/heatmap.class.js +2 -2
- package/dist/components/data/heatmap/heatmap.d.ts +1 -1
- package/dist/components/data/pagination/pagination.class.d.ts +14 -14
- package/dist/components/data/pagination/pagination.d.ts +1 -1
- package/dist/components/data/sequence-strip/sequence-strip-source.d.ts +2 -2
- package/dist/components/data/sequence-strip/sequence-strip.class.d.ts +2 -2
- package/dist/components/data/sequence-strip/sequence-strip.d.ts +1 -1
- package/dist/components/data/sparkline/sparkline.class.d.ts +8 -9
- package/dist/components/data/sparkline/sparkline.class.js +1 -1
- package/dist/components/data/sparkline/sparkline.d.ts +1 -1
- package/dist/components/data/stat/stat.class.d.ts +5 -5
- package/dist/components/data/stat/stat.d.ts +1 -1
- package/dist/components/data/table/table.class.d.ts +12 -12
- package/dist/components/data/table/table.class.js +1 -1
- package/dist/components/data/table/table.d.ts +1 -1
- package/dist/components/data/timeline/timeline-item.d.ts +1 -1
- package/dist/components/data/timeline/timeline.class.d.ts +3 -3
- package/dist/components/data/timeline/timeline.d.ts +1 -1
- package/dist/components/data/tree/tree-item.class.d.ts +9 -9
- package/dist/components/data/tree/tree-item.d.ts +1 -1
- package/dist/components/data/tree/tree-types.d.ts +7 -7
- package/dist/components/data/tree/tree.class.d.ts +4 -4
- package/dist/components/data/tree/tree.d.ts +1 -1
- package/dist/components/data/word-cloud/word-cloud-layout.d.ts +14 -14
- package/dist/components/data/word-cloud/word-cloud.class.d.ts +4 -4
- package/dist/components/data/word-cloud/word-cloud.d.ts +1 -1
- package/dist/components/forms/button/button.class.d.ts +12 -12
- package/dist/components/forms/button/button.d.ts +1 -1
- package/dist/components/forms/catalog-picker-base.d.ts +24 -24
- package/dist/components/forms/checkbox/checkbox.class.d.ts +8 -8
- package/dist/components/forms/checkbox/checkbox.d.ts +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +12 -12
- package/dist/components/forms/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +4 -4
- package/dist/components/forms/code-editor/code-editor.d.ts +1 -1
- package/dist/components/forms/color-picker/color-core.d.ts +11 -11
- package/dist/components/forms/color-picker/color-core.js +1 -1
- package/dist/components/forms/color-picker/color-picker.class.d.ts +13 -13
- package/dist/components/forms/color-picker/color-picker.d.ts +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +27 -27
- package/dist/components/forms/combobox/combobox.d.ts +1 -1
- package/dist/components/forms/combobox/option.class.d.ts +8 -8
- package/dist/components/forms/combobox/option.d.ts +1 -1
- package/dist/components/forms/country-picker/country-picker.class.d.ts +2 -2
- package/dist/components/forms/currency-picker/currency-catalog.d.ts +5 -5
- package/dist/components/forms/currency-picker/currency-picker.class.d.ts +1 -1
- package/dist/components/forms/currency-picker/currency-types.d.ts +1 -1
- package/dist/components/forms/date-picker/calendar-core.d.ts +10 -10
- package/dist/components/forms/date-picker/calendar-core.js +1 -1
- package/dist/components/forms/date-picker/date-input.class.d.ts +25 -25
- package/dist/components/forms/date-picker/date-input.d.ts +1 -1
- package/dist/components/forms/date-picker/date-picker-disabled-dates.d.ts +1 -1
- package/dist/components/forms/date-picker/date-picker.class.d.ts +13 -13
- package/dist/components/forms/date-picker/date-picker.d.ts +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +8 -8
- package/dist/components/forms/emoji-picker/emoji-picker.d.ts +1 -1
- package/dist/components/forms/emoji-picker/emoji-types.d.ts +1 -1
- package/dist/components/forms/form-validator.d.ts +3 -3
- package/dist/components/forms/icon-button/icon-button.class.d.ts +8 -8
- package/dist/components/forms/icon-button/icon-button.d.ts +1 -1
- package/dist/components/forms/input/input-shared.d.ts +14 -14
- package/dist/components/forms/input/input.class.d.ts +1 -1
- package/dist/components/forms/input/input.d.ts +1 -1
- package/dist/components/forms/input/native-time-input.class.d.ts +3 -3
- package/dist/components/forms/input/native-time-input.d.ts +1 -1
- package/dist/components/forms/input/number-input.class.d.ts +6 -6
- package/dist/components/forms/input/number-input.d.ts +1 -1
- package/dist/components/forms/input/time-input-shared.d.ts +7 -7
- package/dist/components/forms/input/time-input.class.d.ts +9 -9
- package/dist/components/forms/input/time-input.class.js +1 -1
- package/dist/components/forms/input/time-input.d.ts +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +23 -18
- package/dist/components/forms/locale-picker/locale-picker.class.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.d.ts +1 -1
- package/dist/components/forms/otp-input/otp-input.class.d.ts +24 -24
- package/dist/components/forms/otp-input/otp-input.class.js +1 -1
- package/dist/components/forms/otp-input/otp-input.d.ts +1 -1
- package/dist/components/forms/phone-input/phone-input.class.d.ts +19 -19
- package/dist/components/forms/phone-input/phone-input.d.ts +1 -1
- package/dist/components/forms/phone-input/phone-number-adapter.d.ts +10 -10
- package/dist/components/forms/radio/radio-button.d.ts +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +9 -9
- package/dist/components/forms/radio/radio-group.d.ts +1 -1
- package/dist/components/forms/radio/radio.class.d.ts +8 -8
- package/dist/components/forms/radio/radio.d.ts +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +10 -10
- package/dist/components/forms/rubric-form/rubric-form.d.ts +1 -1
- package/dist/components/forms/select/select.class.d.ts +15 -15
- package/dist/components/forms/select/select.class.js +1 -1
- package/dist/components/forms/select/select.d.ts +1 -1
- package/dist/components/forms/signature-pad/signature-pad-limits.d.ts +2 -2
- package/dist/components/forms/signature-pad/signature-pad.class.d.ts +13 -12
- package/dist/components/forms/signature-pad/signature-pad.class.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +21 -21
- package/dist/components/forms/slider/slider.class.js +1 -1
- package/dist/components/forms/slider/slider.d.ts +1 -1
- package/dist/components/forms/swatch-picker/swatch-picker.class.d.ts +8 -7
- package/dist/components/forms/swatch-picker/swatch-picker.class.js +1 -1
- package/dist/components/forms/swatch-picker/swatch-picker.d.ts +1 -1
- package/dist/components/forms/switch/switch.class.d.ts +6 -6
- package/dist/components/forms/switch/switch.d.ts +1 -1
- package/dist/components/forms/textarea/textarea.class.d.ts +10 -10
- package/dist/components/forms/textarea/textarea.d.ts +1 -1
- package/dist/components/forms/time-range/time-range.class.d.ts +4 -4
- package/dist/components/forms/time-range/time-range.d.ts +1 -1
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +1 -1
- package/dist/components/forms/toggle/toggle.class.d.ts +10 -10
- package/dist/components/forms/toggle/toggle.d.ts +1 -1
- package/dist/components/forms/toggle-group/toggle-group.class.d.ts +11 -11
- package/dist/components/forms/toggle-group/toggle-group.d.ts +1 -1
- package/dist/components/forms/token-input/token-input.class.d.ts +12 -12
- package/dist/components/forms/token-input/token-input.d.ts +1 -1
- package/dist/components/forms/unit-picker/unit-picker.class.d.ts +1 -1
- package/dist/components/layout/app-rail/app-rail-item.class.d.ts +5 -7
- package/dist/components/layout/app-rail/app-rail-item.class.js +1 -1
- package/dist/components/layout/app-rail/app-rail-item.d.ts +1 -1
- package/dist/components/layout/app-rail/app-rail-mode.d.ts +4 -4
- package/dist/components/layout/app-rail/app-rail.class.d.ts +7 -7
- package/dist/components/layout/app-rail/app-rail.d.ts +1 -1
- package/dist/components/layout/app-rail-group/app-rail-group.class.d.ts +3 -3
- package/dist/components/layout/app-rail-group/app-rail-group.d.ts +1 -1
- package/dist/components/layout/breadcrumb/breadcrumb-item.class.d.ts +2 -2
- package/dist/components/layout/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/dist/components/layout/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/layout/button-group/button-group.class.d.ts +2 -2
- package/dist/components/layout/button-group/button-group.d.ts +1 -1
- package/dist/components/layout/card/card.class.d.ts +1 -1
- package/dist/components/layout/card/card.d.ts +1 -1
- package/dist/components/layout/carousel/carousel-item.d.ts +1 -1
- package/dist/components/layout/carousel/carousel.class.d.ts +5 -5
- package/dist/components/layout/command-palette/command-palette.class.d.ts +8 -8
- package/dist/components/layout/command-palette/command-palette.d.ts +1 -1
- package/dist/components/layout/control-group/control-group.d.ts +1 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.d.ts +3 -3
- package/dist/components/layout/dashboard-grid/dashboard-grid.d.ts +1 -1
- package/dist/components/layout/dashboard-grid/layout-types.d.ts +12 -12
- package/dist/components/layout/details/accordion-item.class.d.ts +11 -12
- package/dist/components/layout/details/accordion-item.class.js +1 -1
- package/dist/components/layout/details/accordion-item.d.ts +1 -1
- package/dist/components/layout/details/accordion-types.d.ts +2 -2
- package/dist/components/layout/details/accordion.class.d.ts +5 -5
- package/dist/components/layout/details/accordion.d.ts +1 -1
- package/dist/components/layout/details/details.class.d.ts +9 -9
- package/dist/components/layout/details/details.d.ts +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +8 -15
- package/dist/components/layout/dock-panel/dock-panel.class.js +1 -1
- package/dist/components/layout/dock-panel/dock-panel.d.ts +1 -1
- package/dist/components/layout/drilldown-panel/drilldown-panel.class.d.ts +8 -8
- package/dist/components/layout/drilldown-panel/drilldown-panel.class.js +1 -1
- package/dist/components/layout/drilldown-panel/drilldown-panel.d.ts +1 -1
- package/dist/components/layout/filter-bar/filter-bar.class.d.ts +12 -12
- package/dist/components/layout/filter-bar/filter-bar.d.ts +1 -1
- package/dist/components/layout/menu/dropdown-item.class.d.ts +1 -1
- package/dist/components/layout/menu/dropdown-item.d.ts +1 -1
- package/dist/components/layout/menu/menu-item.class.d.ts +6 -6
- package/dist/components/layout/menu/menu-item.d.ts +1 -1
- package/dist/components/layout/menu/menu-label.d.ts +1 -1
- package/dist/components/layout/menu/menu.class.js +1 -1
- package/dist/components/layout/menu/menu.d.ts +1 -1
- package/dist/components/layout/menubar/menubar-item.class.d.ts +2 -2
- package/dist/components/layout/menubar/menubar-item.d.ts +1 -1
- package/dist/components/layout/menubar/menubar.class.d.ts +3 -3
- package/dist/components/layout/menubar/menubar.d.ts +1 -1
- package/dist/components/layout/multi-split/multi-split.class.d.ts +5 -5
- package/dist/components/layout/multi-split/multi-split.class.js +1 -1
- package/dist/components/layout/multi-split/multi-split.d.ts +1 -1
- package/dist/components/layout/navigation-menu/navigation-menu.class.d.ts +10 -14
- package/dist/components/layout/navigation-menu/navigation-menu.class.js +1 -1
- package/dist/components/layout/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.d.ts +5 -5
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.d.ts +1 -1
- package/dist/components/layout/page/page.class.d.ts +9 -9
- package/dist/components/layout/page/page.d.ts +1 -1
- package/dist/components/layout/reorder-list/reorder-item.class.d.ts +2 -2
- package/dist/components/layout/reorder-list/reorder-item.d.ts +1 -1
- package/dist/components/layout/reorder-list/reorder-list.d.ts +1 -1
- package/dist/components/layout/responsive-panel/responsive-panel-mode.d.ts +3 -3
- package/dist/components/layout/responsive-panel/responsive-panel.class.d.ts +4 -4
- package/dist/components/layout/responsive-panel/responsive-panel.d.ts +1 -1
- package/dist/components/layout/scroller/scroller.class.d.ts +2 -2
- package/dist/components/layout/scroller/scroller.d.ts +1 -1
- package/dist/components/layout/segmented/segmented.class.d.ts +2 -2
- package/dist/components/layout/segmented/segmented.d.ts +1 -1
- package/dist/components/layout/split-panel/split-panel-snap.d.ts +4 -4
- package/dist/components/layout/split-panel/split-panel.class.d.ts +11 -11
- package/dist/components/layout/split-panel/split-panel.d.ts +1 -1
- package/dist/components/layout/stepper/stepper.class.d.ts +4 -4
- package/dist/components/layout/stepper/stepper.d.ts +1 -1
- package/dist/components/layout/tab-group/tab-group.class.d.ts +4 -4
- package/dist/components/layout/tab-group/tab-group.class.js +1 -1
- package/dist/components/layout/tab-group/tab-group.d.ts +1 -1
- package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -1
- package/dist/components/layout/tab-group/tab-panel.d.ts +1 -1
- package/dist/components/layout/tab-group/tab.class.d.ts +2 -2
- package/dist/components/layout/tab-group/tab.d.ts +1 -1
- package/dist/components/layout/virtual-list/virtual-list-attributes.d.ts +2 -2
- package/dist/components/layout/virtual-list/virtual-list-limits.d.ts +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts +15 -14
- package/dist/components/layout/virtual-list/virtual-list.class.js +1 -1
- package/dist/components/layout/virtual-list/virtual-list.d.ts +1 -1
- package/dist/components/layout/widget/widget.class.d.ts +8 -17
- package/dist/components/layout/widget/widget.class.js +2 -2
- package/dist/components/layout/widget/widget.d.ts +1 -1
- package/dist/components/lr-chart-3d.js +1 -0
- package/dist/components/lr-map-anchor.js +1 -0
- package/dist/components/lr-model-viewer.js +1 -0
- package/dist/components/media/animated-image/animated-image.class.d.ts +4 -4
- package/dist/components/media/animated-image/animated-image.d.ts +1 -1
- package/dist/components/media/animation/animation-catalog.d.ts +3 -3
- package/dist/components/media/animation/animation.class.d.ts +5 -5
- package/dist/components/media/animation/animation.d.ts +1 -1
- package/dist/components/media/attachment-chip/attachment-chip.class.d.ts +5 -5
- package/dist/components/media/attachment-chip/attachment-chip.d.ts +1 -1
- package/dist/components/media/attachment-chip/file-size.d.ts +2 -2
- package/dist/components/media/attachment-trigger/attachment-trigger.class.d.ts +1 -1
- package/dist/components/media/attachment-trigger/attachment-trigger.d.ts +1 -1
- package/dist/components/media/av-player/av-cue-source.d.ts +3 -3
- 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.d.ts +10 -10
- package/dist/components/media/av-player/av-player.class.js +1 -1
- package/dist/components/media/av-player/av-player.d.ts +1 -1
- package/dist/components/media/avatar/avatar.d.ts +1 -1
- package/dist/components/media/avatar-group/avatar-group.class.d.ts +2 -2
- package/dist/components/media/avatar-group/avatar-group.d.ts +1 -1
- package/dist/components/media/drop-zone/drop-zone.class.d.ts +3 -3
- package/dist/components/media/drop-zone/drop-zone.d.ts +1 -1
- package/dist/components/media/file-icon/file-icon.class.d.ts +5 -5
- package/dist/components/media/file-icon/file-icon.d.ts +1 -1
- package/dist/components/media/file-icon/file-type-metadata.d.ts +3 -3
- package/dist/components/media/file-input/file-input.class.d.ts +26 -29
- package/dist/components/media/file-input/file-input.class.js +3 -3
- package/dist/components/media/file-input/file-input.d.ts +1 -1
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/file-input/file-intake.d.ts +6 -6
- package/dist/components/media/flag/flag-url-resolver.d.ts +1 -1
- package/dist/components/media/flag/flag.class.d.ts +4 -4
- package/dist/components/media/flag/flag.d.ts +1 -1
- package/dist/components/media/image-comparer/image-comparer.class.d.ts +3 -3
- package/dist/components/media/image-viewer/image-viewer-limits.d.ts +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 +37 -13
- package/dist/components/media/image-viewer/image-viewer.class.js +8 -5
- package/dist/components/media/image-viewer/image-viewer.d.ts +1 -1
- package/dist/components/media/image-viewer/image-viewer.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-types.d.ts +2 -2
- package/dist/components/media/lightbox/lightbox.class.d.ts +9 -9
- package/dist/components/media/lightbox/lightbox.d.ts +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-anchor-seam.js +1 -0
- package/dist/components/media/map/map-anchor.class.d.ts +79 -0
- package/dist/components/media/map/map-anchor.class.js +3 -0
- package/dist/components/media/map/map-anchor.d.ts +1 -0
- package/dist/components/media/map/map-anchor.js +1 -0
- package/dist/components/media/map/map-anchor.styles.js +1 -0
- package/dist/components/media/map/map-basemap-order.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-geojson-diff.d.ts +4 -4
- 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 +47 -17
- 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 +13 -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 +642 -117
- package/dist/components/media/map/map.class.js +59 -11
- package/dist/components/media/map/map.d.ts +1 -1
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/media-card/media-card.class.d.ts +3 -3
- package/dist/components/media/media-card/media-card.d.ts +1 -1
- package/dist/components/media/pan-zoom/pan-zoom.class.d.ts +5 -5
- package/dist/components/media/qr-code/qr-code.class.d.ts +7 -9
- package/dist/components/media/qr-code/qr-code.class.js +1 -1
- package/dist/components/media/qr-code/qr-code.d.ts +1 -1
- package/dist/components/media/qr-code/qr-code.styles.js +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +13 -13
- package/dist/components/media/sequence-playback/sequence-playback.d.ts +1 -1
- package/dist/components/media/video/video.class.d.ts +56 -35
- package/dist/components/media/video/video.class.js +11 -3
- package/dist/components/media/video/video.d.ts +1 -1
- package/dist/components/media/video/video.styles.js +1 -1
- package/dist/components/media/video-playlist/video-playlist.class.d.ts +8 -9
- package/dist/components/media/video-playlist/video-playlist.class.js +1 -1
- package/dist/components/media/video-playlist/video-playlist.d.ts +1 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +15 -15
- package/dist/components/overlays/alert/alert.class.d.ts +6 -6
- package/dist/components/overlays/alert/alert.d.ts +1 -1
- package/dist/components/overlays/badge/badge.class.d.ts +3 -3
- package/dist/components/overlays/badge/badge.d.ts +1 -1
- package/dist/components/overlays/badge/tag.class.d.ts +5 -5
- package/dist/components/overlays/badge/tag.d.ts +1 -1
- package/dist/components/overlays/callout/callout.class.d.ts +4 -4
- package/dist/components/overlays/callout/callout.d.ts +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/chip/chip-group.d.ts +1 -1
- package/dist/components/overlays/chip/chip.class.d.ts +6 -6
- package/dist/components/overlays/chip/chip.d.ts +1 -1
- package/dist/components/overlays/context-menu/context-menu.class.d.ts +6 -6
- package/dist/components/overlays/context-menu/context-menu.d.ts +1 -1
- package/dist/components/overlays/dialog/confirm.d.ts +5 -5
- package/dist/components/overlays/dialog/confirm.js +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +8 -8
- package/dist/components/overlays/dialog/dialog.class.js +1 -1
- package/dist/components/overlays/dialog/dialog.d.ts +1 -1
- package/dist/components/overlays/drawer/drawer.class.d.ts +1 -1
- package/dist/components/overlays/drawer/drawer.d.ts +1 -1
- package/dist/components/overlays/empty/empty.class.d.ts +2 -2
- package/dist/components/overlays/empty/empty.d.ts +1 -1
- package/dist/components/overlays/kbd/kbd.class.d.ts +3 -3
- package/dist/components/overlays/kbd/kbd.d.ts +1 -1
- package/dist/components/overlays/overlay/dropdown.class.d.ts +10 -10
- package/dist/components/overlays/overlay/dropdown.d.ts +1 -1
- package/dist/components/overlays/overlay/overlay-arrow.d.ts +5 -5
- package/dist/components/overlays/overlay/overlay-shared.d.ts +6 -6
- package/dist/components/overlays/overlay/popover.class.d.ts +15 -15
- package/dist/components/overlays/overlay/popover.class.js +2 -1
- package/dist/components/overlays/overlay/popover.d.ts +1 -1
- package/dist/components/overlays/overlay/tooltip.class.d.ts +5 -5
- package/dist/components/overlays/overlay/tooltip.class.js +1 -1
- package/dist/components/overlays/overlay/tooltip.d.ts +1 -1
- package/dist/components/overlays/popup/popup.class.d.ts +20 -20
- package/dist/components/overlays/popup/popup.d.ts +1 -1
- package/dist/components/overlays/progress/progress-bar.class.d.ts +1 -1
- package/dist/components/overlays/progress/progress-bar.d.ts +1 -1
- package/dist/components/overlays/progress/progress-base.d.ts +6 -6
- package/dist/components/overlays/progress/progress-ring.class.d.ts +2 -2
- package/dist/components/overlays/progress/progress-ring.d.ts +1 -1
- package/dist/components/overlays/rating/rating.class.d.ts +10 -10
- package/dist/components/overlays/rating/rating.d.ts +1 -1
- package/dist/components/overlays/skeleton/skeleton.class.d.ts +1 -1
- package/dist/components/overlays/skeleton/skeleton.d.ts +1 -1
- package/dist/components/overlays/spinner/spinner.d.ts +1 -1
- package/dist/components/overlays/toast/toast-item.class.d.ts +6 -6
- package/dist/components/overlays/toast/toast-item.d.ts +1 -1
- package/dist/components/overlays/toast/toast.class.d.ts +7 -7
- package/dist/components/overlays/toast/toast.d.ts +1 -1
- package/dist/components/overlays/toast/toaster.d.ts +2 -2
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.d.ts +15 -18
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.js +2 -2
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.d.ts +1 -1
- package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +1 -1
- package/dist/components/retrieval/citation-badge/citation-badge.d.ts +1 -1
- package/dist/components/retrieval/claim-evidence/claim-evidence.class.d.ts +5 -5
- package/dist/components/retrieval/claim-evidence/claim-evidence.d.ts +1 -1
- package/dist/components/retrieval/community-card/community-card.class.d.ts +5 -8
- package/dist/components/retrieval/community-card/community-card.class.js +1 -1
- package/dist/components/retrieval/community-card/community-card.d.ts +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 +29 -10
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +35 -4
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.d.ts +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.styles.js +1 -1
- package/dist/components/retrieval/entity-card/entity-card.class.d.ts +7 -7
- package/dist/components/retrieval/entity-card/entity-card.d.ts +1 -1
- package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +2 -2
- package/dist/components/retrieval/entity-chip/entity-chip.d.ts +1 -1
- package/dist/components/retrieval/entity-dossier/entity-dossier.class.d.ts +13 -19
- package/dist/components/retrieval/entity-dossier/entity-dossier.d.ts +1 -1
- 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-loader.d.ts +1 -1
- package/dist/components/retrieval/graph/graph-model.d.ts +16 -16
- 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 +38 -25
- package/dist/components/retrieval/graph/graph.class.js +4 -4
- package/dist/components/retrieval/graph/graph.d.ts +1 -1
- package/dist/components/retrieval/graph/graph.styles.js +1 -1
- package/dist/components/retrieval/graph-legend/graph-legend.class.d.ts +4 -4
- package/dist/components/retrieval/graph-legend/graph-legend.d.ts +1 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.d.ts +6 -6
- package/dist/components/retrieval/grounding-summary/grounding-summary.d.ts +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +10 -10
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +2 -2
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.d.ts +1 -1
- package/dist/components/retrieval/knowledge-base/knowledge-base.class.d.ts +16 -16
- package/dist/components/retrieval/knowledge-base/knowledge-base.d.ts +1 -1
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.class.d.ts +3 -3
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.d.ts +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +16 -13
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +3 -3
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.d.ts +1 -1
- package/dist/components/retrieval/memory-panel/memory-panel.class.d.ts +11 -18
- package/dist/components/retrieval/memory-panel/memory-panel.class.js +1 -1
- package/dist/components/retrieval/memory-panel/memory-panel.d.ts +1 -1
- package/dist/components/retrieval/mind-map/mind-map-layout.d.ts +6 -6
- package/dist/components/retrieval/mind-map/mind-map.class.d.ts +1 -1
- package/dist/components/retrieval/mind-map/mind-map.d.ts +1 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.d.ts +13 -13
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.js +2 -2
- package/dist/components/retrieval/neighbor-list/neighbor-list.d.ts +1 -1
- package/dist/components/retrieval/node-palette/node-palette.class.d.ts +6 -6
- package/dist/components/retrieval/node-palette/node-palette.d.ts +1 -1
- package/dist/components/retrieval/path-strip/path-strip.class.d.ts +2 -5
- package/dist/components/retrieval/path-strip/path-strip.class.js +1 -1
- package/dist/components/retrieval/path-strip/path-strip.d.ts +1 -1
- package/dist/components/retrieval/provenance-panel/provenance-panel.class.d.ts +5 -11
- package/dist/components/retrieval/provenance-panel/provenance-panel.d.ts +1 -1
- package/dist/components/retrieval/rag-answer/rag-answer.class.d.ts +9 -9
- package/dist/components/retrieval/rag-answer/rag-answer.class.js +2 -3
- package/dist/components/retrieval/rag-answer/rag-answer.d.ts +1 -1
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.d.ts +5 -15
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +1 -1
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.d.ts +1 -1
- package/dist/components/retrieval/research-progress/research-progress.class.d.ts +6 -6
- package/dist/components/retrieval/research-progress/research-progress.d.ts +1 -1
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.d.ts +4 -4
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.d.ts +1 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.d.ts +15 -19
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +5 -6
- package/dist/components/retrieval/retrieval-results/retrieval-results.d.ts +1 -1
- package/dist/components/retrieval/retrieval-search/retrieval-search.class.d.ts +1 -1
- package/dist/components/retrieval/retrieval-search/retrieval-search.d.ts +1 -1
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.d.ts +18 -21
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js +2 -3
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.d.ts +1 -1
- package/dist/components/retrieval/source-card/source-card.class.d.ts +9 -12
- package/dist/components/retrieval/source-card/source-card.class.js +1 -1
- package/dist/components/retrieval/source-card/source-card.d.ts +1 -1
- package/dist/components/retrieval/source-list/source-list.class.d.ts +1 -1
- package/dist/components/retrieval/source-list/source-list.d.ts +1 -1
- package/dist/components/retrieval/source-picker/source-picker.class.d.ts +5 -8
- package/dist/components/retrieval/source-picker/source-picker.class.js +1 -1
- package/dist/components/retrieval/source-picker/source-picker.d.ts +1 -1
- package/dist/components/utility/copy-button/copy-button.class.d.ts +8 -8
- package/dist/components/utility/copy-button/copy-button.d.ts +1 -1
- package/dist/components/utility/diff-view/diff-line-diff.d.ts +1 -1
- package/dist/components/utility/diff-view/diff-view.class.d.ts +3 -3
- package/dist/components/utility/diff-view/diff-view.class.js +1 -1
- package/dist/components/utility/diff-view/diff-view.d.ts +1 -1
- package/dist/components/utility/divider/divider.class.d.ts +1 -1
- package/dist/components/utility/divider/divider.d.ts +1 -1
- package/dist/components/utility/export-button/csv.d.ts +2 -2
- package/dist/components/utility/export-button/export-button.class.d.ts +11 -11
- package/dist/components/utility/export-button/export-button.d.ts +1 -1
- package/dist/components/utility/format/format-bytes.d.ts +1 -1
- package/dist/components/utility/format/format-date.class.d.ts +1 -1
- package/dist/components/utility/format/format-date.d.ts +1 -1
- package/dist/components/utility/format/format-number.class.d.ts +2 -2
- package/dist/components/utility/format/format-number.d.ts +1 -1
- package/dist/components/utility/format/format-options.d.ts +4 -4
- package/dist/components/utility/format/format-options.js +1 -1
- package/dist/components/utility/format/relative-time.d.ts +1 -1
- package/dist/components/utility/icon/icon-library.d.ts +2 -2
- package/dist/components/utility/icon/icon.class.d.ts +10 -15
- package/dist/components/utility/icon/icon.class.js +2 -2
- package/dist/components/utility/icon/icon.d.ts +1 -1
- package/dist/components/utility/icon/icon.styles.js +1 -1
- package/dist/components/utility/intersection-observer/intersection-observer.class.d.ts +1 -1
- package/dist/components/utility/intersection-observer/intersection-observer.d.ts +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.d.ts +5 -5
- package/dist/components/utility/json-viewer/json-viewer.class.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.d.ts +1 -1
- package/dist/components/utility/known-date/known-date.class.d.ts +18 -21
- package/dist/components/utility/known-date/known-date.class.js +1 -1
- package/dist/components/utility/known-date/known-date.d.ts +1 -1
- package/dist/components/utility/live-region/live-region.class.d.ts +1 -1
- package/dist/components/utility/live-region/live-region.d.ts +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +12 -11
- package/dist/components/utility/mention-popover/mention-popover.class.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.d.ts +1 -1
- package/dist/components/utility/mutation-observer/mutation-observer.class.d.ts +1 -1
- package/dist/components/utility/mutation-observer/mutation-observer.d.ts +1 -1
- package/dist/components/utility/poll-status/poll-status.class.d.ts +1 -1
- package/dist/components/utility/poll-status/poll-status.d.ts +1 -1
- package/dist/components/utility/random-content/random-content.class.d.ts +4 -4
- package/dist/components/utility/random-content/random-content.d.ts +1 -1
- package/dist/components/utility/resize-observer/resize-observer.d.ts +1 -1
- package/dist/components/utility/tour/tour.class.d.ts +8 -8
- package/dist/components/utility/tour/tour.d.ts +1 -1
- package/dist/components/utility/visually-hidden/visually-hidden.d.ts +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.class.d.ts +3 -3
- package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.d.ts +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-loader.d.ts +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.d.ts +6 -6
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.d.ts +1 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.class.d.ts +4 -4
- package/dist/components/viewers/contact-viewer/contact-viewer.class.js +1 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.d.ts +1 -1
- package/dist/components/viewers/contact-viewer/vcard.d.ts +1 -1
- package/dist/components/viewers/csv-viewer/csv-viewer.class.d.ts +7 -7
- package/dist/components/viewers/csv-viewer/csv-viewer.d.ts +1 -1
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.d.ts +8 -8
- package/dist/components/viewers/dataset-viewer/dataset-viewer.d.ts +1 -1
- package/dist/components/viewers/document-compare/document-compare.class.d.ts +15 -15
- package/dist/components/viewers/document-compare/document-compare.d.ts +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.d.ts +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.d.ts +1 -1
- package/dist/components/viewers/document-viewer/anchors.d.ts +7 -7
- 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.d.ts +9 -9
- package/dist/components/viewers/document-viewer/document-viewer.class.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer.d.ts +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.d.ts +4 -4
- package/dist/components/viewers/docx-viewer/docx-viewer.class.js +1 -1
- package/dist/components/viewers/docx-viewer/docx-viewer.d.ts +1 -1
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.d.ts +2 -2
- package/dist/components/viewers/ebook-viewer/ebook-viewer.d.ts +1 -1
- package/dist/components/viewers/email-viewer/email-loader.d.ts +2 -2
- package/dist/components/viewers/email-viewer/email-viewer.class.d.ts +3 -3
- package/dist/components/viewers/email-viewer/email-viewer.class.js +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.d.ts +1 -1
- package/dist/components/viewers/geojson-view/geojson-viewer.class.d.ts +2 -2
- package/dist/components/viewers/geojson-view/geojson-viewer.d.ts +1 -1
- package/dist/components/viewers/highlight-layer/highlight-layer.class.d.ts +1 -1
- package/dist/components/viewers/highlight-layer/highlight-layer.d.ts +1 -1
- package/dist/components/viewers/html-viewer/html-viewer.class.d.ts +5 -5
- package/dist/components/viewers/html-viewer/html-viewer.class.js +1 -1
- package/dist/components/viewers/html-viewer/html-viewer.d.ts +1 -1
- package/dist/components/viewers/include/include-resource.d.ts +1 -1
- package/dist/components/viewers/include/include.class.d.ts +2 -2
- package/dist/components/viewers/include/include.class.js +1 -1
- package/dist/components/viewers/include/include.d.ts +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.d.ts +3 -3
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +2 -2
- package/dist/components/viewers/notebook-viewer/notebook-viewer.d.ts +1 -1
- package/dist/components/viewers/page-rail/page-rail.class.d.ts +5 -5
- package/dist/components/viewers/page-rail/page-rail.class.js +1 -1
- package/dist/components/viewers/page-rail/page-rail.d.ts +1 -1
- package/dist/components/viewers/page-rail/page-viewer-snapshot.d.ts +2 -2
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +4 -4
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.d.ts +1 -1
- package/dist/components/viewers/pptx-viewer/pptx-loader.d.ts +5 -5
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.d.ts +7 -7
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +3 -3
- package/dist/components/viewers/pptx-viewer/pptx-viewer.d.ts +1 -1
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.d.ts +9 -9
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.d.ts +1 -1
- package/dist/components/viewers/svg-viewer/svg-viewer.class.d.ts +1 -1
- package/dist/components/viewers/svg-viewer/svg-viewer.class.js +1 -1
- package/dist/components/viewers/svg-viewer/svg-viewer.d.ts +1 -1
- package/dist/components/viewers/table-viewer-shared.js +1 -1
- package/dist/components/viewers/viewer-diagnostics.d.ts +3 -3
- package/dist/components/viewers/viewer-source.d.ts +2 -2
- package/dist/components/viewers/xml-viewer/xml-viewer.class.d.ts +9 -9
- package/dist/components/viewers/xml-viewer/xml-viewer.class.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.d.ts +1 -1
- package/dist/countries.d.ts +3 -3
- package/dist/currency.d.ts +5 -5
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/data-sources.d.ts +17 -17
- package/dist/events.d.ts +164 -119
- package/dist/framework-types.d.ts +4 -4
- package/dist/hydration.d.ts +1 -1
- package/dist/internal/a11y.d.ts +2 -2
- package/dist/internal/accessibility-visibility.d.ts +17 -17
- package/dist/internal/active-element.d.ts +1 -1
- package/dist/internal/anchor-target.d.ts +3 -3
- package/dist/internal/announcer.d.ts +18 -18
- package/dist/internal/ansi.d.ts +5 -3
- package/dist/internal/ansi.js +1 -1
- package/dist/internal/approval-wait-until.d.ts +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/canvas-color.d.ts +1 -1
- package/dist/internal/catalog-picker.d.ts +1 -1
- package/dist/internal/clipboard.d.ts +5 -5
- package/dist/internal/collection-snapshot.js +1 -1
- package/dist/internal/component-loaders.generated.js +1 -1
- package/dist/internal/composed-tree.d.ts +2 -2
- package/dist/internal/converters.d.ts +10 -10
- package/dist/internal/css-length.d.ts +1 -1
- package/dist/internal/custom-element-upgrade-observer.d.ts +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/deferred-focus-return.d.ts +5 -5
- package/dist/internal/definition-registry.d.ts +2 -2
- package/dist/internal/deprecated-alias-types.d.ts +1 -1
- package/dist/internal/deprecated-aliases.d.ts +1 -1
- package/dist/internal/direct-form-associated.d.ts +4 -4
- package/dist/internal/document-renderer-registry.d.ts +75 -0
- package/dist/internal/document-renderer-registry.js +1 -0
- package/dist/internal/document-tokens.d.ts +1 -1
- package/dist/internal/docx-zip-admission.d.ts +1 -1
- package/dist/internal/drop-session-controller.d.ts +6 -6
- 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/focus-navigation.d.ts +9 -9
- package/dist/internal/form-associated.d.ts +20 -20
- package/dist/internal/form-control-element.d.ts +6 -6
- package/dist/internal/heading-level.d.ts +1 -1
- package/dist/internal/hierarchy-source-controller.js +1 -1
- package/dist/internal/highlight-collection.d.ts +3 -3
- package/dist/internal/icons.d.ts +23 -23
- package/dist/internal/inherited-attribute-hub.d.ts +3 -3
- package/dist/internal/layered-layout.d.ts +8 -8
- package/dist/internal/locale-loader.d.ts +1 -1
- package/dist/internal/localization-runtime.d.ts +7 -7
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +2 -2
- package/dist/internal/localization.js +1 -1
- package/dist/internal/lyra-element.d.ts +19 -19
- package/dist/internal/lyra-element.js +1 -1
- package/dist/internal/match-constraint.d.ts +1 -1
- package/dist/internal/model-viewer-contract.d.ts +5 -0
- package/dist/internal/model-viewer-contract.js +1 -0
- package/dist/internal/node-type-style.d.ts +1 -1
- package/dist/internal/numbers.d.ts +12 -12
- package/dist/internal/optional-peer-capabilities.d.ts +9 -9
- package/dist/internal/overlay-manager.d.ts +22 -22
- package/dist/internal/overlay-manager.js +1 -1
- package/dist/internal/overlay-order.d.ts +3 -3
- package/dist/internal/overlay-stack.d.ts +3 -3
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/positioner-geometry.d.ts +2 -2
- package/dist/internal/positioner.d.ts +26 -23
- package/dist/internal/positioner.js +1 -1
- package/dist/internal/registered-animation.d.ts +2 -2
- package/dist/internal/rendered-state.js +1 -1
- package/dist/internal/rendered-tree-traversal.d.ts +13 -13
- package/dist/internal/resource-loader.d.ts +7 -7
- package/dist/internal/root-registration-allowlist.js +1 -1
- package/dist/internal/safe-resource-cache.d.ts +3 -3
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/score-tiers.d.ts +2 -2
- package/dist/internal/selection-catalog.d.ts +3 -3
- package/dist/internal/semantic-variant.d.ts +3 -3
- package/dist/internal/shared-unions.d.ts +3 -3
- package/dist/internal/slugger.d.ts +1 -1
- package/dist/internal/stream-phase.d.ts +1 -1
- package/dist/internal/text-highlights.d.ts +4 -4
- package/dist/internal/text-quote.d.ts +18 -18
- package/dist/internal/text-viewer-target.d.ts +4 -4
- package/dist/internal/theme-watcher.d.ts +2 -2
- package/dist/internal/top-layer-escape.d.ts +1 -1
- package/dist/internal/typed-columns.d.ts +39 -0
- package/dist/internal/typed-columns.js +1 -0
- package/dist/internal/variant-values.d.ts +3 -3
- package/dist/internal/variants.d.ts +4 -4
- 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 +16 -16
- package/dist/ssr.js +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/testing/happy-dom-shims.d.ts +3 -3
- package/dist/testing/interaction-drivers.d.ts +3 -3
- package/dist/testing/jsdom-shims.d.ts +9 -9
- package/dist/testing/lyra-tag-event-map.d.ts +2 -2
- package/dist/testing/lyra-tag-event-map.js +1 -1
- package/dist/testing/wait-for-mount.d.ts +3 -3
- package/dist/theme/chart-palette.d.ts +2 -2
- package/dist/theme/gemstones-data.d.ts +2 -2
- package/dist/theme/look-css.d.ts +2 -2
- package/dist/theme/looks/data.d.ts +1 -1
- package/dist/theme/looks/high-contrast.d.ts +1 -1
- package/dist/theme/looks/material.d.ts +1 -1
- package/dist/theme/looks/shadcn.d.ts +1 -1
- package/dist/theme/looks/terminal.d.ts +1 -1
- package/dist/theme/options/charts.d.ts +5 -5
- package/dist/theme/options/elevation.d.ts +1 -1
- package/dist/theme/options/shape.d.ts +1 -1
- package/dist/theme/options/typography.d.ts +1 -1
- package/dist/theme/preferences.d.ts +1 -1
- package/dist/theme/style-ownership.d.ts +1 -1
- package/dist/theme/theme-bootstrap.js +1 -1
- package/dist/theme/theme.d.ts +13 -13
- package/dist/theme/theme.js +1 -1
- package/dist/units.d.ts +2 -2
- package/dist/utilities/animation-registry.d.ts +5 -5
- package/dist/utilities/catalog.d.ts +1 -1
- package/dist/utilities/data-spatial.d.ts +9 -9
- package/dist/utilities/defined.d.ts +1 -1
- package/dist/utilities/deprecated-aliases.d.ts +1 -1
- package/dist/utilities/scoped-registry.d.ts +5 -5
- package/dist/vue.d.ts +3 -3
- 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-locale-picker.md +11 -1
- package/llms/components/lr-map-anchor.md +165 -0
- package/llms/components/lr-map.md +939 -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-tree.md +4 -0
- 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 +100 -96
- 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 +12 -0
- package/llms/shared/imports-and-registration.md +2 -2
- package/llms/shared/testing-and-utilities.md +6 -1
- package/llms/shared/v29-to-v30-migration.md +256 -0
- package/llms/shared.md +21 -4
- package/llms.txt +7 -7
- package/locales.json +1 -2328
- package/package.json +49 -14
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{collectionSupport,publicCollectionTruncation}from"../../../internal/collection-snapshot.js";import{html,nothing}from"lit";import{AnnouncementSinkController}from"../../../internal/announcer.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{property}from"lit/decorators.js";import{repeat}from"lit/directives/repeat.js";import{
|
|
1
|
+
import{__decorate}from"tslib";import{collectionSupport,publicCollectionTruncation}from"../../../internal/collection-snapshot.js";import{html,nothing}from"lit";import{AnnouncementSinkController}from"../../../internal/announcer.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{property}from"lit/decorators.js";import{repeat}from"lit/directives/repeat.js";import{LyraElement}from"../../../internal/lyra-element.js";import{finiteCount}from"../../../internal/numbers.js";import{tag}from"../../../internal/prefix.js";import{normalizeChatComposerStatus}from"../chat-composer/chat-composer.class.js";import{styles}from"./agent-workspace.styles.js";import{autocorrectConverter,normalizeAutocorrect,trueDefaultBooleanConverter}from"../../../internal/converters.js";import{lengthLimitConverter}from"../../../internal/length-constraints.js";import{LYRA_DEFAULT_agentWorkspaceContext,LYRA_DEFAULT_agentWorkspaceConversation,LYRA_DEFAULT_agentWorkspaceDetails,LYRA_DEFAULT_agentWorkspaceEmpty,LYRA_DEFAULT_agentWorkspaceGrounding,LYRA_DEFAULT_agentWorkspaceInputLimit,LYRA_DEFAULT_agentWorkspaceLabel,LYRA_DEFAULT_agentWorkspaceRetrieval,LYRA_DEFAULT_agentWorkspaceRun,LYRA_DEFAULT_agentWorkspaceTools,LYRA_DEFAULT_composerPlaceholder}from"../../../internal/default-strings/conversation.generated.js";import{LYRA_DEFAULT_collapse,LYRA_DEFAULT_copy,LYRA_DEFAULT_date,LYRA_DEFAULT_details,LYRA_DEFAULT_loading,LYRA_DEFAULT_map,LYRA_DEFAULT_navigation,LYRA_DEFAULT_open,LYRA_DEFAULT_progress,LYRA_DEFAULT_restore,LYRA_DEFAULT_search,LYRA_DEFAULT_select}from"../../../internal/default-strings/shared.generated.js";const MAX_RENDERED_MESSAGES=500,projections=new WeakMap;function firstByWorkspaceIdentity(items,identity){const known=projections.get(items);if(known?.identity===identity)return known.result;const result=[],seen=new Set;for(const item of items){let id;try{id=identity(item)}catch{continue}typeof id!="string"||id.trim()===""||seen.has(id)||(seen.add(id),result.push(item))}return projections.set(items,{identity,result}),result}const workspaceId=item=>item.id,toolIdentity=entry=>{const id=entry.id;if(typeof id!="string"||id.trim()==="")return;const sourceKey=entry.sourceKey;return`${typeof sourceKey=="string"?sourceKey:""}\0${id}`};class LyraAgentWorkspace extends LyraElement{constructor(){super(...arguments),this.streamingRender="plain",this.accessibleLabel=null,this.messages=[],this.run=null,this.metrics=[],this.tools=[],this.retrievalChunks=[],this.selectedRetrievalChunkIds=[],this.retrievalLoading=!1,this.retrievalHasMore=!1,this.retrievalErrorText="",this.groundingAssessment=null,this.citations=[],this.contextSegments=[],this.contextTotal=0,this.follow=!0,this.unreadStartIndex=null,this.withoutDetails=!1,this.withoutComposer=!1,this.composerValue="",this.composerStatusValue="idle",this.composerMinRows=1,this.composerMaxRows=8,this.composerSubmitDisabled=!1,this.composerWithoutStop=!1,this.composerWithoutEnterSubmit=!1,this.composerReadOnly=!1,this.composerSpellcheck=!0,this.composerAutocapitalize="",this.composerAutocorrectValue=!0,this.composerWrap="soft",this.composerAutocomplete="",this.composerInputMode="",this.composerEnterKeyHint="",this.inputAnnouncements=new AnnouncementSinkController(this),this.lastInputNotice="",this.inputNoticeMounted=!1,this.onRetrievalSelect=event=>{event.stopPropagation(),this.emit("lr-retrieval-select",{chunkIds:event.detail.selectedChunkIds,chunks:event.detail.chunks})},this.onMessageRetry=event=>{event.stopPropagation(),event.detail.messageId&&this.emit("lr-message-retry",{messageId:event.detail.messageId})},this.onNamedSlotChange=()=>{this.requestUpdate()}}static{this.defaultStrings={...super.defaultStrings,agentWorkspaceContext:LYRA_DEFAULT_agentWorkspaceContext,agentWorkspaceConversation:LYRA_DEFAULT_agentWorkspaceConversation,agentWorkspaceDetails:LYRA_DEFAULT_agentWorkspaceDetails,agentWorkspaceEmpty:LYRA_DEFAULT_agentWorkspaceEmpty,agentWorkspaceGrounding:LYRA_DEFAULT_agentWorkspaceGrounding,agentWorkspaceInputLimit:LYRA_DEFAULT_agentWorkspaceInputLimit,agentWorkspaceLabel:LYRA_DEFAULT_agentWorkspaceLabel,agentWorkspaceRetrieval:LYRA_DEFAULT_agentWorkspaceRetrieval,agentWorkspaceRun:LYRA_DEFAULT_agentWorkspaceRun,agentWorkspaceTools:LYRA_DEFAULT_agentWorkspaceTools,collapse:LYRA_DEFAULT_collapse,composerPlaceholder:LYRA_DEFAULT_composerPlaceholder,copy:LYRA_DEFAULT_copy,date:LYRA_DEFAULT_date,details:LYRA_DEFAULT_details,loading:LYRA_DEFAULT_loading,map:LYRA_DEFAULT_map,navigation:LYRA_DEFAULT_navigation,open:LYRA_DEFAULT_open,progress:LYRA_DEFAULT_progress,restore:LYRA_DEFAULT_restore,search:LYRA_DEFAULT_search,select:LYRA_DEFAULT_select}}static{this.collectionSupport=collectionSupport}static{this.immutableEventDetails=Object.freeze(["lr-retrieval-select"])}static{this.ownedCollectionProperties=Object.freeze(["messages","run","metrics","tools","retrievalChunks","selectedRetrievalChunkIds","groundingAssessment","citations","contextSegments"])}static{this.appendOrderedCollectionProperties=Object.freeze(["messages","tools"])}static{this.styles=[LyraElement.styles,styles]}get composerStatus(){return this.composerStatusValue}set composerStatus(value){const previous=this.composerStatusValue;this.composerStatusValue=normalizeChatComposerStatus(value),this.requestUpdate("composerStatus",previous)}get composerAutocorrect(){return this.composerAutocorrectValue}set composerAutocorrect(next){const previous=this.composerAutocorrectValue;this.composerAutocorrectValue=normalizeAutocorrect(next),this.requestUpdate("composerAutocorrect",previous)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.requestUpdate()}disconnectedCallback(){super.disconnectedCallback(),this.inputNoticeMounted=!1}adoptedCallback(){super.adoptedCallback(),this.inputAnnouncements.adopted()}updated(changed){super.updated(changed);const notice=this.inputLimitMessages().join(" ");this.inputNoticeMounted&¬ice&¬ice!==this.lastInputNotice&&this.inputAnnouncements.announcePolite(notice),this.lastInputNotice=notice,this.inputNoticeMounted=!0}inputLimitMessages(){const labels={messages:"agentWorkspaceConversation",tools:"agentWorkspaceTools",metrics:"agentWorkspaceRun",retrievalChunks:"agentWorkspaceRetrieval",selectedRetrievalChunkIds:"agentWorkspaceRetrieval",citations:"agentWorkspaceGrounding",contextSegments:"agentWorkspaceContext"},format=getNumberFormat(this.effectiveLocale);return Object.entries(labels).flatMap(([property2,label])=>{const loss=publicCollectionTruncation(this,property2);return loss?[this.localize("agentWorkspaceInputLimit",void 0,{collection:this.localize(label),count:format.format(loss.retained),total:format.format(loss.source)})]:[]})}hasSlotted(name){return Array.from(this.children).some(element=>element.getAttribute("slot")===name)}builtInToolTimeline(){return this.withoutDetails||this.hasSlotted("details")?null:this.renderRoot?.querySelector(tag("tool-timeline"))??null}finalizePendingApproval(){this.builtInToolTimeline()?.finalizePendingApproval()}revertPendingApproval(){this.builtInToolTimeline()?.revertPendingApproval()}get safeContextTotal(){return finiteCount(this.contextTotal)}get effectiveTools(){return firstByWorkspaceIdentity(this.tools,toolIdentity)}get effectiveRetrievalChunks(){return firstByWorkspaceIdentity(this.retrievalChunks,workspaceId)}get effectiveCitations(){return firstByWorkspaceIdentity(this.citations,workspaceId)}get effectiveContextSegments(){return firstByWorkspaceIdentity(this.contextSegments,workspaceId)}get effectiveMessages(){const source=this.messages;if(this.messagesMemo?.source===source)return this.messagesMemo.result;const loss=publicCollectionTruncation(this,"messages"),sourceOffset=loss?.kept==="newest"?loss.source-source.length:0,seen=new Set,messages=[];for(let sourceIndex=0;sourceIndex<source.length;sourceIndex++){const message=source[sourceIndex];if(!message)continue;const id=message?.id;typeof id!="string"||id.trim()===""||seen.has(id)||(seen.add(id),messages.push({message,sourceIndex:sourceOffset+sourceIndex}))}return this.messagesMemo={source,result:messages},messages}get safeUnreadStartIndex(){if(this.unreadStartIndex==null)return null;const normalized=finiteCount(this.unreadStartIndex);if(this.hasSlotted("messages"))return normalized;const messages=this.effectiveMessages,effectiveIndex=messages.filter(({sourceIndex})=>sourceIndex<normalized).length;return Math.max(0,effectiveIndex-this.messageWindowOffsetFor(messages))}get safeComposerMinRows(){return Math.max(1,finiteCount(this.composerMinRows,1))}get safeComposerMaxRows(){return Math.max(this.safeComposerMinRows,finiteCount(this.composerMaxRows,8))}stopOwnedEvent(event){event.stopPropagation()}renderMessage(message){return html`
|
|
2
2
|
<lr-chat-message
|
|
3
3
|
part="messages message"
|
|
4
4
|
.messageRole=${message.role}
|
|
@@ -23,25 +23,24 @@ import{__decorate}from"tslib";import{collectionSupport,publicCollectionTruncatio
|
|
|
23
23
|
</section>`:nothing}
|
|
24
24
|
${tools.length>0?html`<section part="section">
|
|
25
25
|
<h3 part="section-heading">${this.localize("agentWorkspaceTools")}</h3>
|
|
26
|
-
<lr-tool-timeline .entries=${
|
|
26
|
+
<lr-tool-timeline .entries=${tools}></lr-tool-timeline>
|
|
27
27
|
</section>`:nothing}
|
|
28
28
|
${retrievalChunks.length>0||this.retrievalLoading||this.retrievalErrorText?html`<section part="section">
|
|
29
29
|
<h3 part="section-heading">${this.localize("agentWorkspaceRetrieval")}</h3>
|
|
30
30
|
<lr-retrieval-results
|
|
31
|
-
.chunks=${
|
|
31
|
+
.chunks=${retrievalChunks}
|
|
32
32
|
.selectedChunkIds=${this.selectedRetrievalChunkIds}
|
|
33
33
|
.loading=${this.retrievalLoading}
|
|
34
34
|
.hasMore=${this.retrievalHasMore}
|
|
35
35
|
.errorText=${this.retrievalErrorText}
|
|
36
36
|
@lr-selection-change=${this.onRetrievalSelect}
|
|
37
|
-
@lr-select=${this.onRetrievalSelectAlias}
|
|
38
37
|
></lr-retrieval-results>
|
|
39
38
|
</section>`:nothing}
|
|
40
39
|
${this.groundingAssessment||citations.length>0?html`<section part="section">
|
|
41
40
|
<h3 part="section-heading">${this.localize("agentWorkspaceGrounding")}</h3>
|
|
42
41
|
<lr-grounding-summary
|
|
43
42
|
.assessment=${this.groundingAssessment}
|
|
44
|
-
.citations=${
|
|
43
|
+
.citations=${citations}
|
|
45
44
|
></lr-grounding-summary>
|
|
46
45
|
</section>`:nothing}
|
|
47
46
|
${contextSegments.length>0?html`<section part="section">
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-agent-workspace.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-agent-workspace.js to register this component.*/
|
|
2
2
|
export*from'./agent-workspace.class.js';import'../chat-viewport/chat-viewport.js';import'../chat-message/chat-message.js';import'../markdown/markdown.js';import'../message-parts/message-parts.js';import'../chat-composer/chat-composer.js';import'../../agent-tools/agent-run/agent-run.js';import'../../agent-tools/tool-timeline/tool-timeline.js';import'../../retrieval/retrieval-results/retrieval-results.js';import'../../retrieval/grounding-summary/grounding-summary.js';import'../../agent-tools/context-inspector/context-inspector.js';import'../../overlays/empty/empty.js';
|
|
@@ -38,13 +38,13 @@ export declare class LyraAudioVisualizer extends LyraElement{static styles:impor
|
|
|
38
38
|
* (e.g. `lr-push-to-talk`'s `lr-level`). `null` (the default) means "no external signal" --
|
|
39
39
|
* see `effectiveLevel` for how a non-null value is clamped/NaN-guarded before it feeds `draw()`. */
|
|
40
40
|
level:number|null;private _state;get state():AudioVisualizerState;set state(next:AudioVisualizerState);private _mode;
|
|
41
|
-
/** Drawing vocabulary: discrete `bars` or a continuous `waveform
|
|
41
|
+
/** Drawing vocabulary: discrete `bars` or a continuous `waveform`.*/
|
|
42
42
|
get mode():AudioVisualizerMode;set mode(next:AudioVisualizerMode);barCount:number;
|
|
43
|
-
/** Amplitude multiplier applied in `draw()`. NaN/non-finite falls back to `1` via `effectiveGain
|
|
43
|
+
/** Amplitude multiplier applied in `draw()`. NaN/non-finite falls back to `1` via `effectiveGain`.*/
|
|
44
44
|
gain:number;
|
|
45
45
|
/** Accessible-name override. Unset (the default) auto-generates "Voice activity: {state}"; an
|
|
46
46
|
* explicit empty string (`label=""` or `.label = ''`) suppresses that default and renders an
|
|
47
47
|
* empty accessible name. */
|
|
48
48
|
label?:string;private canvas?;private resizeObserver?;private dprQuery?;private dprChangeListener?;private stopMotionWatch?;private reducedMotion;private readonly drawFrameRequest;private lastAmbientDrawMs;private generatedAriaLabel?;private hostSize?;private resolvedColors?;private ambientDurationMs?;private audioCtx?;private analyser?;private sourceNode?;private timeDomainData?;private visible;private visibilityKnown;private intersectionObserver?;private intersectionGeneration;private get effectiveBarCount();private get effectiveLevel();private get effectiveGain();constructor();connectedCallback():void;disconnectedCallback():void;adoptedCallback():void;private bindVisibilityObserver;private clearVisibilityObserver;private restoreImmediateVisibility;private watchDpr;private clearDprWatcher;private clearMotionWatcher;
|
|
49
|
-
/** Redraws canvas content after an upstream token or theme change
|
|
49
|
+
/** Redraws canvas content after an upstream token or theme change.*/
|
|
50
50
|
refreshTheme():void;private get hasUsableAudioStream();private syncAnalyser;private onAudioCtxStateChange;private closeAudioContext;private get hasLiveSignal();private stateLabel;protected willUpdate(changed:PropertyValues):void;attributeChangedCallback(name:string,oldValue:string|null,value:string|null):void;private syncDefaultRole;protected updated(changed:PropertyValues):void;private get isTimeDriven();private scheduleDraw;private drawFrame;private cancelDrawFrame;private barsFromTimeDomain;private ambientAmplitudes;private resolveAmbientDuration;private currentAmplitudes;private resolveColors;private draw;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-audio-visualizer':LyraAudioVisualizer;}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-audio-visualizer.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-audio-visualizer.js to register this component.*/
|
|
2
2
|
export*from'./audio-visualizer.class.js';
|
|
@@ -27,7 +27,7 @@ export declare class LyraBranchPicker extends LyraElement<LyraBranchPickerEventM
|
|
|
27
27
|
/** 0-based current branch, rendered 1-based ("2 / 5"). Controlled -- this component never writes
|
|
28
28
|
* to it itself. */
|
|
29
29
|
index:number;
|
|
30
|
-
/** Total number of branches. While `count < 2` the component renders nothing at all
|
|
30
|
+
/** Total number of branches. While `count < 2` the component renders nothing at all.*/
|
|
31
31
|
count:number;
|
|
32
32
|
/** Accessible name for the group. Omitting it localizes the default `branchPickerLabel`
|
|
33
33
|
* message; an explicit empty string (`label=""` or `.label = ''`) suppresses that default and
|
|
@@ -41,5 +41,5 @@ getToolbarActions():readonly LyraToolbarAction[];private get normalizedCount();p
|
|
|
41
41
|
* own `focus()`-delegation-to-the-internal-control pattern, so this component composes cleanly
|
|
42
42
|
* as one stop inside a parent toolbar. */
|
|
43
43
|
focus(options?:FocusOptions):void;blur():void;
|
|
44
|
-
/** Activates the currently enabled chevron, matching a click on the shadow control
|
|
44
|
+
/** Activates the currently enabled chevron, matching a click on the shadow control.*/
|
|
45
45
|
click():void;protected updated(changed:PropertyValues):void;disconnectedCallback():void;adoptedCallback():void;private releaseToolbarActions;private formatPosition;private requestIndex;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-branch-picker':LyraBranchPicker;}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-branch-picker.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-branch-picker.js to register this component.*/
|
|
2
2
|
export*from'./branch-picker.class.js';import'../../utility/live-region/live-region.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import type{PropertyDeclarations}from'lit';import{LyraFormControlElement}from'../../internal/form-control-element.js';import{type FormOwnerValue}from'../../internal/form-associated.js';import type{LyraSelectionDirection}from'../../internal/shared-unions.js';import{type ComposedFocusRepairSnapshot}from'../../internal/focus-navigation.js';interface CatalogPickerEditing{readonly input:HTMLInputElement|null;click():void;focus(options?:FocusOptions):void;blur():void;hide():void;select():void;setSelectionRange(start:number|null,end:number|null,direction?:LyraSelectionDirection):void;setRangeText(replacement:string):void;setRangeText(replacement:string,start:number,end:number,selectMode?:SelectionMode):void;}
|
|
2
|
-
/** Shared native-control and form projection for catalog-backed model and voice fields
|
|
2
|
+
/** Shared native-control and form projection for catalog-backed model and voice fields.*/
|
|
3
3
|
export declare abstract class LyraCatalogPickerElement<Events>extends LyraFormControlElement<Events>{static properties:PropertyDeclarations;protected abstract get catalogEditing():CatalogPickerEditing;
|
|
4
|
-
/** The localized `valueMissing` message
|
|
4
|
+
/** The localized `valueMissing` message.*/
|
|
5
5
|
protected abstract requiredMessage():string;
|
|
6
|
-
/** Set on first blur; gates the `data-invalid` reflection so validity styling never flashes
|
|
6
|
+
/** Set on first blur; gates the `data-invalid` reflection so validity styling never flashes.*/
|
|
7
7
|
protected touched:boolean;protected internals:ElementInternals;private validityController;
|
|
8
|
-
/** Consumer-supplied validation message reflected through `custom-error
|
|
8
|
+
/** Consumer-supplied validation message reflected through `custom-error`.*/
|
|
9
9
|
customError:string|null;protected _fieldsetDisabled:boolean;private _name;private _disabled;private _required;protected suppressControlBlur:boolean;protected modeFocusRepair?:ComposedFocusRepairSnapshot;protected focusedModeRepair?:ComposedFocusRepairSnapshot;protected focusReturnTarget?:HTMLElement;private hasSyncedDescribedByElements;constructor();private emitUntyped;protected get formInternals():ElementInternals;
|
|
10
|
-
/** The form submission key, reflected synchronously for native form APIs
|
|
10
|
+
/** The form submission key, reflected synchronously for native form APIs.*/
|
|
11
11
|
get name():string;set name(next:string);get disabled():boolean;set disabled(next:boolean);get required():boolean;set required(next:boolean);
|
|
12
|
-
/** Whether the control is disabled explicitly or by an ancestor fieldset
|
|
12
|
+
/** Whether the control is disabled explicitly or by an ancestor fieldset.*/
|
|
13
13
|
get effectiveDisabled():boolean;
|
|
14
|
-
/** Closes the popup when the control becomes disabled; hosts extend it to stop their own work
|
|
14
|
+
/** Closes the popup when the control becomes disabled; hosts extend it to stop their own work.*/
|
|
15
15
|
protected releaseOnDisable():void;
|
|
16
|
-
/** Own `disabled`/`readonly` and a disabled fieldset bar constraint validation
|
|
16
|
+
/** Own `disabled`/`readonly` and a disabled fieldset bar constraint validation.*/
|
|
17
17
|
protected get barredFromValidation():boolean;
|
|
18
|
-
/** `''` is the one "nothing committed" sentinel here (a catalog id is never blank), so `!value` is exact
|
|
18
|
+
/** `''` is the one "nothing committed" sentinel here (a catalog id is never blank), so `!value` is exact.*/
|
|
19
19
|
protected updateValidity():void;
|
|
20
|
-
/** Republishes the validity custom states; `ElementInternals` is driven directly, not through `FormAssociated
|
|
20
|
+
/** Republishes the validity custom states; `ElementInternals` is driven directly, not through `FormAssociated`.*/
|
|
21
21
|
protected publishValidityStates():void;protected formDisabledChanged(disabled:boolean):void;protected markInteracted:()=>void;checkValidity():boolean;reportValidity():boolean;
|
|
22
22
|
/**
|
|
23
23
|
* Sets or clears a consumer-supplied validation error, e.g. a server-side rejection. A non-empty
|
|
@@ -26,26 +26,26 @@ protected publishValidityStates():void;protected formDisabledChanged(disabled:bo
|
|
|
26
26
|
* localized.
|
|
27
27
|
*/
|
|
28
28
|
setCustomValidity(message:string):void;protected syncCatalogDescription(controlId:string):void;protected prepareModeFocus(closedMode:boolean):boolean;protected finishModeFocus(key:string):void;protected clearModeFocus():void;protected captureModeFocus(event:FocusEvent):void;protected retireModeFocusAfterBlur(event:FocusEvent):void;protected modeFocusFallback():HTMLElement|null;
|
|
29
|
-
/** Clicks the active trigger or editable input; the free-text path also focuses it
|
|
29
|
+
/** Clicks the active trigger or editable input; the free-text path also focuses it.*/
|
|
30
30
|
click():void;
|
|
31
|
-
/** Focuses the active trigger or editable input
|
|
31
|
+
/** Focuses the active trigger or editable input.*/
|
|
32
32
|
focus(options?:FocusOptions):void;
|
|
33
|
-
/** Blurs the active trigger or editable input
|
|
33
|
+
/** Blurs the active trigger or editable input.*/
|
|
34
34
|
blur():void;
|
|
35
|
-
/** The native editable input, or null in closed catalog mode and before render
|
|
35
|
+
/** The native editable input, or null in closed catalog mode and before render.*/
|
|
36
36
|
get input():HTMLInputElement|null;
|
|
37
|
-
/** Native selection start in free-text mode; null otherwise
|
|
37
|
+
/** Native selection start in free-text mode; null otherwise.*/
|
|
38
38
|
get selectionStart():number|null;set selectionStart(value:number|null);
|
|
39
|
-
/** Native selection end in free-text mode; null otherwise
|
|
39
|
+
/** Native selection end in free-text mode; null otherwise.*/
|
|
40
40
|
get selectionEnd():number|null;set selectionEnd(value:number|null);
|
|
41
|
-
/** Native selection direction in free-text mode; null otherwise
|
|
41
|
+
/** Native selection direction in free-text mode; null otherwise.*/
|
|
42
42
|
get selectionDirection():LyraSelectionDirection|null;set selectionDirection(value:LyraSelectionDirection|null);
|
|
43
|
-
/** Selects all editable text in free-text mode; otherwise a no-op
|
|
43
|
+
/** Selects all editable text in free-text mode; otherwise a no-op.*/
|
|
44
44
|
select():void;
|
|
45
|
-
/** Sets the native selection range in free-text mode; otherwise a no-op
|
|
45
|
+
/** Sets the native selection range in free-text mode; otherwise a no-op.*/
|
|
46
46
|
setSelectionRange(start:number|null,end:number|null,direction?:LyraSelectionDirection):void;
|
|
47
47
|
/** Replaces editable text and synchronizes value, form data, and validity without input events.
|
|
48
48
|
* This is a no-op in closed catalog mode and before render. */
|
|
49
49
|
setRangeText(replacement:string):void;setRangeText(replacement:string,start:number,end:number,selectMode?:SelectionMode):void;
|
|
50
|
-
/** The associated form, including an explicit external form owner
|
|
50
|
+
/** The associated form, including an explicit external form owner.*/
|
|
51
51
|
get form():HTMLFormElement|null;set form(owner:FormOwnerValue);}export{};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type ChatComposerStatus='idle'|'sending'|'streaming';export declare const CHAT_COMPOSER_STATUSES:readonly["idle","sending","streaming"];
|
|
2
|
-
/** Resolves untrusted status input to the public literal set
|
|
2
|
+
/** Resolves untrusted status input to the public literal set.*/
|
|
3
3
|
export declare function normalizeChatComposerStatus(value:unknown):ChatComposerStatus;
|
|
@@ -4,9 +4,9 @@ import{type TemplateResult,type PropertyValues}from'lit';import{LyraElement}from
|
|
|
4
4
|
* vocabulary for how a *control fills itself*, and using it for container chrome as well made one
|
|
5
5
|
* property name mean two unrelated things. */
|
|
6
6
|
export type ChatComposerFrame=LyraFrame;
|
|
7
|
-
/** Retained name for the shared native `<textarea wrap>` vocabulary
|
|
7
|
+
/** Retained name for the shared native `<textarea wrap>` vocabulary.*/
|
|
8
8
|
export type ChatComposerWrap=LyraTextWrap;
|
|
9
|
-
/** Retained name for the shared native `selectionDirection` vocabulary
|
|
9
|
+
/** Retained name for the shared native `selectionDirection` vocabulary.*/
|
|
10
10
|
export type ChatComposerSelectionDirection=LyraSelectionDirection;
|
|
11
11
|
/** Arrangement of the `start`/`end` action slots relative to the textarea. `'inline'` is today's
|
|
12
12
|
* single flex row; `'stacked'` arranges them as a compact rail beside a multi-row textarea. */
|
|
@@ -107,7 +107,7 @@ export type ChatComposerActionsLayout='inline'|'stacked';export interface LyraCh
|
|
|
107
107
|
* @since 4.0.0
|
|
108
108
|
*/
|
|
109
109
|
export declare class LyraChatComposer extends LyraChatComposer_base{static styles:import("lit").CSSResultGroup[];placeholder:string;minRows:number;maxRows:number;private statusValue;
|
|
110
|
-
/** Sending state. Invalid direct or attribute writes normalize and reflect as `idle
|
|
110
|
+
/** Sending state. Invalid direct or attribute writes normalize and reflect as `idle`.*/
|
|
111
111
|
get status():ChatComposerStatus;set status(value:ChatComposerStatus);
|
|
112
112
|
/** Visual chrome, on the library-wide `frame` vocabulary. `'card'` (the default) keeps the
|
|
113
113
|
* bordered, filled, padded box. `'plain'` removes the border, background, padding and corner
|
|
@@ -124,7 +124,7 @@ frame:ChatComposerFrame;private actionsLayoutValue;
|
|
|
124
124
|
* cross-axis height. Layout only; slot content, empty-slot hiding and the built-in button are
|
|
125
125
|
* unchanged. Invalid direct or attribute values normalize and reflect as `'inline'`. */
|
|
126
126
|
get actionsLayout():ChatComposerActionsLayout;set actionsLayout(next:ChatComposerActionsLayout);
|
|
127
|
-
/** Turns off Enter-to-send: plain Enter inserts a newline, as Shift+Enter always does
|
|
127
|
+
/** Turns off Enter-to-send: plain Enter inserts a newline, as Shift+Enter always does.*/
|
|
128
128
|
withoutEnterSubmit:boolean;
|
|
129
129
|
/** Consumer-controlled validation gate for submission. While idle, disables the built-in Send
|
|
130
130
|
* button and suppresses Enter/click submission without disabling the textarea. Busy Stop behavior
|
|
@@ -136,11 +136,11 @@ withoutStop:boolean;
|
|
|
136
136
|
/** Native read-only state. The textarea remains focusable/submittable but cannot be user-edited,
|
|
137
137
|
* and intrinsic constraints are barred just like a native read-only textarea. */
|
|
138
138
|
readOnly:boolean;
|
|
139
|
-
/** Native minimum text length. Unset or invalid values impose no lower bound
|
|
139
|
+
/** Native minimum text length. Unset or invalid values impose no lower bound.*/
|
|
140
140
|
minLength?:number;
|
|
141
|
-
/** Native maximum text length. Unset or invalid values impose no upper bound
|
|
141
|
+
/** Native maximum text length. Unset or invalid values impose no upper bound.*/
|
|
142
142
|
maxLength?:number;
|
|
143
|
-
/** Accessible name for the internal textarea. Takes precedence over the placeholder-derived name
|
|
143
|
+
/** Accessible name for the internal textarea. Takes precedence over the placeholder-derived name.*/
|
|
144
144
|
accessibleLabel:string|null;spellcheck:boolean;
|
|
145
145
|
/** Forwarded to the internal `<textarea>`'s own `autocapitalize`. Empty string omits the
|
|
146
146
|
* attribute (browser default). */
|
|
@@ -148,9 +148,9 @@ autocapitalize:string;private autocorrectValue;
|
|
|
148
148
|
/** Native autocorrect state. Reads are boolean; writes accept boolean or the legacy
|
|
149
149
|
* `'off'`/`'false'` string vocabulary and reflect canonical `on`/`off`. */
|
|
150
150
|
get autocorrect():boolean;set autocorrect(next:boolean|string);
|
|
151
|
-
/** Native editing-assistance attributes forwarded to the internal textarea
|
|
151
|
+
/** Native editing-assistance attributes forwarded to the internal textarea.*/
|
|
152
152
|
wrap:ChatComposerWrap;autocomplete:string;inputMode:string;enterKeyHint:string;private hasToolbarSlot;private hasStartSlot;private hasChipsSlot;private hasEndSlot;private touched;private textareaEl?;private descriptionLease?;private textareaResizeObserver?;private textareaResizeObserverDocument?;private textareaResizeObserverTarget?;private textareaResizeRaf?;private textareaResizeRafOwner?;private textareaResizeRafDocument?;private textareaResizeGeneration;private get effectiveMinRows();private get effectiveMaxRows();constructor();
|
|
153
|
-
/** The internal native textarea for integrations that require direct DOM access
|
|
153
|
+
/** The internal native textarea for integrations that require direct DOM access.*/
|
|
154
154
|
get input():HTMLTextAreaElement|null;get selectionStart():number|null;set selectionStart(value:number|null);get selectionEnd():number|null;set selectionEnd(value:number|null);get selectionDirection():ChatComposerSelectionDirection|null;set selectionDirection(value:ChatComposerSelectionDirection|null);focus(options?:FocusOptions):void;blur():void;
|
|
155
|
-
/** Focuses the primary textarea, matching activation of the wrapped native control
|
|
155
|
+
/** Focuses the primary textarea, matching activation of the wrapped native control.*/
|
|
156
156
|
click():void;select():void;setSelectionRange(start:number|null,end:number|null,direction?:ChatComposerSelectionDirection):void;setRangeText(replacement:string):void;setRangeText(replacement:string,start:number,end:number,selectMode?:SelectionMode):void;protected willUpdate(changed:PropertyValues):void;protected firstUpdated(changed:PropertyValues):void;connectedCallback():void;disconnectedCallback():void;adoptedCallback():void;protected updated(changed:PropertyValues):void;protected updateValidity():void;formResetCallback():void;private hasSlotted;private resizeTextarea;private armTextareaResizeObserver;private resetTextareaResizeWork;private onTextareaInput;private onTextareaChange;private onTextareaKeyDown;private onActionClick;private submit;private syncToolbarSlot;private syncStartSlot;private onChipsSlotChange;private syncEndSlot;private onTextareaBlur;private onTextareaFocus;private renderActionButton;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-chat-composer':LyraChatComposer;}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-chat-composer.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-chat-composer.js to register this component.*/
|
|
2
2
|
export*from'./chat-composer.class.js';
|
|
@@ -2,9 +2,9 @@ import{type TemplateResult,type PropertyValues}from'lit';import{LyraElement}from
|
|
|
2
2
|
/** Where `<lr-chat-message>`'s actions row renders relative to the bubble; the same union as
|
|
3
3
|
* `ChatMessageActionsPosition`, under the canonical `placement` name. */
|
|
4
4
|
export type ChatMessageActionsPlacement=ChatMessageActionsPosition;
|
|
5
|
-
/** Where `<lr-chat-message>`'s `attachments` slot renders relative to the message body
|
|
5
|
+
/** Where `<lr-chat-message>`'s `attachments` slot renders relative to the message body.*/
|
|
6
6
|
export type ChatMessageAttachmentsPlacement='before'|'after';
|
|
7
|
-
/** `lr-toggle-request`/`lr-toggle` detail of `<lr-chat-message
|
|
7
|
+
/** `lr-toggle-request`/`lr-toggle` detail of `<lr-chat-message>`.*/
|
|
8
8
|
export interface ChatMessageToggleDetail{
|
|
9
9
|
/** Whether the message body is shown in the resulting (on `lr-toggle-request`, the proposed)
|
|
10
10
|
* state. */
|
|
@@ -114,7 +114,7 @@ expanded:boolean;}export interface LyraChatMessageEventMap{'lr-message-retry':Cu
|
|
|
114
114
|
* @since 4.0.0
|
|
115
115
|
*/
|
|
116
116
|
export declare class LyraChatMessage extends LyraElement<LyraChatMessageEventMap>{static styles:import("lit").CSSResultGroup[];static properties:{status:{reflect:boolean;noAccessor:boolean;converter:import("../../../internal/converters.js").LiteralSetConverter<ChatMessageStatus>;};};
|
|
117
|
-
/** Who authored the message. Its localized identity directly names the internal article
|
|
117
|
+
/** Who authored the message. Its localized identity directly names the internal article.*/
|
|
118
118
|
messageRole:ChatMessageRole;
|
|
119
119
|
/** Optional stable application-defined identifier for this message. Included in `lr-message-retry`
|
|
120
120
|
* detail when set. */
|
|
@@ -126,7 +126,7 @@ timestamp?:LyraTimestamp;
|
|
|
126
126
|
/** Overrides the localized default `hour:minute` rendering of `timestamp` for applications
|
|
127
127
|
* that need a domain-specific date/time contract. */
|
|
128
128
|
formatTimestamp?:(date:Date)=>string;
|
|
129
|
-
/** Shows the built-in collapse/expand toggle in the header
|
|
129
|
+
/** Shows the built-in collapse/expand toggle in the header.*/
|
|
130
130
|
collapsible:boolean;
|
|
131
131
|
/** Whether the message body is currently hidden. Effective whenever set,
|
|
132
132
|
* independent of `collapsible` — `collapsible` only controls whether the
|
|
@@ -139,7 +139,7 @@ collapsed:boolean;
|
|
|
139
139
|
* order move together (no CSS `order` trick), so reading/focus order
|
|
140
140
|
* always matches what's on screen. */
|
|
141
141
|
attachmentsPlacement:ChatMessageAttachmentsPlacement;
|
|
142
|
-
/** Where the actions row renders relative to the bubble
|
|
142
|
+
/** Where the actions row renders relative to the bubble.*/
|
|
143
143
|
actionsPlacement:ChatMessageActionsPlacement;private hasAvatarSlot;private hasBadgesSlot;private hasAttachmentsSlot;private hasActionsSlot;private hasFailureSlot;private politeSink?;private assertiveSink?;private bubbleEl?;private readonly bodyId;private _status;private previousStatus;private isMounting;private statusAtDisconnect?;
|
|
144
144
|
/** Delivery/generation state. Drives the footer's status dot/text and,
|
|
145
145
|
* for `"failed"`, the bubble's danger treatment and the built-in retry
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-chat-message.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-chat-message.js to register this component.*/
|
|
2
2
|
export*from'./chat-message.class.js';
|
|
@@ -72,7 +72,7 @@ export declare class LyraChatViewport extends LyraElement<LyraChatViewportEventM
|
|
|
72
72
|
* cadence. Only accessibility-exposed text is copied. The shadow `role="log"` remains non-live;
|
|
73
73
|
* announcements use a shared light-DOM sink. */
|
|
74
74
|
live:ChatViewportLive;
|
|
75
|
-
/** Px distance from the end still counted as "at bottom."
|
|
75
|
+
/** Px distance from the end still counted as "at bottom."*/
|
|
76
76
|
bottomThreshold:number;
|
|
77
77
|
/** Index of the first unread item -- element-child index in slotted mode, `items` index in virtual
|
|
78
78
|
* mode. Host-owned unread bookkeeping in, divider/pill count out. `null` disables both. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-chat-viewport.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-chat-viewport.js to register this component.*/
|
|
2
2
|
export*from'./chat-viewport.class.js';
|
|
@@ -27,19 +27,19 @@ import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from
|
|
|
27
27
|
* @since 4.0.0
|
|
28
28
|
*/
|
|
29
29
|
export declare class LyraCheckpoint extends LyraElement<LyraCheckpointEventMap>{static styles:import("lit").CSSResultGroup[];
|
|
30
|
-
/** Opaque id echoed in the `lr-restore` event detail
|
|
30
|
+
/** Opaque id echoed in the `lr-restore` event detail.*/
|
|
31
31
|
checkpointId:string;
|
|
32
|
-
/** Checkpoint name. The generic `'Checkpoint'` fallback renders while empty
|
|
32
|
+
/** Checkpoint name. The generic `'Checkpoint'` fallback renders while empty.*/
|
|
33
33
|
label:string;
|
|
34
34
|
/** Optional creation time, rendered as `<time datetime>`, default `hour:minute` in
|
|
35
35
|
* `effectiveLocale`. Invalid strings are treated as unset. */
|
|
36
36
|
timestamp?:LyraTimestamp;
|
|
37
|
-
/** Overrides the default `hour:minute` rendering of `timestamp
|
|
37
|
+
/** Overrides the default `hour:minute` rendering of `timestamp`.*/
|
|
38
38
|
formatTimestamp?:(date:Date)=>string;
|
|
39
39
|
/** Renders a plain marker with no button — for read-only views, or the currently-restored
|
|
40
40
|
* checkpoint. */
|
|
41
41
|
withoutRestore:boolean;
|
|
42
|
-
/** Skips the inline confirm step: Restore fires `lr-restore` immediately
|
|
42
|
+
/** Skips the inline confirm step: Restore fires `lr-restore` immediately.*/
|
|
43
43
|
withoutRestoreConfirmation:boolean;
|
|
44
44
|
/** Host-set busy state: the Restore button becomes `aria-disabled="true"` with a spinner beside
|
|
45
45
|
* the localized "Restoring…" text. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-checkpoint.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-checkpoint.js to register this component.*/
|
|
2
2
|
export*from'./checkpoint.class.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type{PropertyValues,TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraHighlight,LyraAnchor,TextSelectRect}from'../../viewers/document-viewer/anchors.js';import{type ShikiHighlighter}from'./shiki-types.js';import{CodeBlockHeaderActionsController,CodeBlockInteractionController}from'./code-block-shared.js';import type{LyraClipboardWriteFailure,LyraClipboardWriteSuccess}from'../../../internal/clipboard.js';import type{LyraCodeBlockCopyAppearance,LyraCodeBlockToggleDetail}from'./code-block-shared.js';
|
|
2
|
-
/** Shared event contract retained by both public event-map names
|
|
2
|
+
/** Shared event contract retained by both public event-map names.*/
|
|
3
3
|
export interface LyraCodeBlockBaseEventMap{'lr-copy':CustomEvent<LyraClipboardWriteSuccess>;'lr-error':CustomEvent<null>;'lr-copy-error':CustomEvent<LyraClipboardWriteFailure>;'lr-toggle-request':CustomEvent<LyraCodeBlockToggleDetail>;'lr-toggle':CustomEvent<LyraCodeBlockToggleDetail>;'lr-line-activate':CustomEvent<{line:number;}>;'lr-text-select':CustomEvent<{readonly text:string;readonly anchor:LyraAnchor;readonly rects:readonly TextSelectRect[];}>;}
|
|
4
4
|
/** Owns the shared behavior and template for the regular and build-lean code blocks.
|
|
5
5
|
* Subclasses supply their optional-peer loading policy and retain decorated public properties. */
|
|
@@ -7,7 +7,7 @@ export declare abstract class LyraCodeBlockBase extends LyraElement<LyraCodeBloc
|
|
|
7
7
|
/** Resolves a `line-range` anchor (or a highlights id resolving to one) by scrolling the code
|
|
8
8
|
* body. */
|
|
9
9
|
scrollToAnchor(target:LyraAnchor|string):Promise<boolean>;
|
|
10
|
-
/** Recomputes Shiki palette selection after an imperative CSSOM theme change
|
|
10
|
+
/** Recomputes Shiki palette selection after an imperative CSSOM theme change.*/
|
|
11
11
|
refreshTheme():void;protected willUpdate(changed:PropertyValues):void;protected updated(changed:PropertyValues):void;protected beforeHighlightUpdate(_changed:PropertyValues):void;protected abstract preSuppliedGrammar():unknown;
|
|
12
|
-
/** Whether the active language has an explicitly supplied grammar or loader
|
|
12
|
+
/** Whether the active language has an explicitly supplied grammar or loader.*/
|
|
13
13
|
protected hasPreSuppliedGrammar():boolean;protected abstract syncHighlight():void;protected abstract showsSkeleton():boolean;protected lineHighlightSet():Set<number>;protected activeHighlightLineSet():Set<number>;protected lineCount():number;protected tokenize(hl:ShikiHighlighter,lang:string):string|null;protected renderPlainCode():TemplateResult;private patchLineState;private cachedPlainCode;render():TemplateResult;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{collectionSupport}from"../../../internal/collection-snapshot.js";import{state}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{nextId}from"../../../internal/a11y.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{ThemeWatcher}from"../../../internal/theme-watcher.js";import{SHIKI_SOURCE_MAX_CODE_UNITS}from"./shiki-types.js";import{CodeBlockHeaderActionsController,CodeBlockInteractionController,applyCodeBlockAriaBusy,clampCodeBlockFocusedLine,codeBlockActiveHighlightLineSet,codeBlockLineHasFocus,codeBlockLineCount,codeBlockLineHighlightSet,renderCodeBlockPlainCode,renderCodeBlockShell,restoreCodeBlockLineFocus,scrollCodeBlockToAnchor,tokenizeCodeBlock}from"./code-block-shared.js";import{LYRA_DEFAULT_codeBlockHighlightLimit,LYRA_DEFAULT_codeBlockLineLabel,LYRA_DEFAULT_codeRegion,LYRA_DEFAULT_codeRegionWithLanguage,LYRA_DEFAULT_collapseCode,LYRA_DEFAULT_copiedToClipboard,LYRA_DEFAULT_copyCode,LYRA_DEFAULT_expandCode}from"../../../internal/default-strings/conversation.generated.js";import{LYRA_DEFAULT_copied,LYRA_DEFAULT_copy,LYRA_DEFAULT_copyFailed}from"../../../internal/default-strings/shared.generated.js";class LyraCodeBlockBase extends LyraElement{static{this.defaultStrings={...super.defaultStrings,codeBlockHighlightLimit:LYRA_DEFAULT_codeBlockHighlightLimit,codeBlockLineLabel:LYRA_DEFAULT_codeBlockLineLabel,codeRegion:LYRA_DEFAULT_codeRegion,codeRegionWithLanguage:LYRA_DEFAULT_codeRegionWithLanguage,collapseCode:LYRA_DEFAULT_collapseCode,copied:LYRA_DEFAULT_copied,copiedToClipboard:LYRA_DEFAULT_copiedToClipboard,copy:LYRA_DEFAULT_copy,copyCode:LYRA_DEFAULT_copyCode,copyFailed:LYRA_DEFAULT_copyFailed,expandCode:LYRA_DEFAULT_expandCode}}static{this.collectionSupport=collectionSupport}static{this.immutableEventDetails=Object.freeze(["lr-text-select"])}get highlightLimited(){return(this.code??"").length>SHIKI_SOURCE_MAX_CODE_UNITS}constructor(){super(),this.hasHeaderActions=!1,this.focusedLine=1,this.highlightedHtml=null,this.shikiReady=!1,this.justCopied=!1,this.copyFailed=!1,this.isDarkTheme=!1,this.restoreFocusedLineAfterUpdate=!1,this.highlightToken=0,this.plainKey=[],this.countedLines=1,this.plainDomChanged=!1,this.paintedLines=new Map,this.previousHighlighted=new Set,this.previousActive=new Set,this.bodyId=nextId("code-block-body"),this.interactions=new CodeBlockInteractionController({host:this,setFocusedLine:line=>{this.focusedLine=line},setJustCopied:value=>{this.justCopied=value},setCopyFailed:value=>{this.copyFailed=value},setDarkTheme:value=>{this.isDarkTheme=value},emitLineActivate:line=>this.emit("lr-line-activate",{line}),emitCopy:outcome=>this.emit("lr-copy",outcome),emitError:()=>this.emit("lr-error",null),emitCopyError:outcome=>this.emit("lr-copy-error",outcome),requestToggle:collapsed=>!this.emit("lr-toggle-request",{expanded:!collapsed},{cancelable:!0}).defaultPrevented,emitToggle:collapsed=>this.emit("lr-toggle",{expanded:!collapsed}),emitTextSelect:selection=>this.emit("lr-text-select",selection)}),this.headerActions=new CodeBlockHeaderActionsController({host:this,setHasHeaderActions:value=>{this.hasHeaderActions=value}}),new ThemeWatcher(this,()=>this.refreshTheme())}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.refreshTheme(),this.headerActions.observe()}disconnectedCallback(){this.highlightToken+=1,super.disconnectedCallback(),this.headerActions.disconnect(),this.interactions.disconnect(),this.highlightedHtml=null}adoptedCallback(){super.adoptedCallback(),this.interactions.disconnect()}async scrollToAnchor(target){return scrollCodeBlockToAnchor(this,target)}refreshTheme(){this.interactions.refreshTheme()}willUpdate(changed){super.willUpdate(changed),this.seedFirstRenderState(()=>this.refreshTheme()),this.headerActions.sync(),this.restoreFocusedLineAfterUpdate=codeBlockLineHasFocus(this),changed.has("code")&&(this.plainTemplate=void 0,this.plainKey=[],this.focusedLine=clampCodeBlockFocusedLine(this.focusedLine,this.lineCount())),this.beforeHighlightUpdate(changed),this.interactions.needsHighlightResync(changed,this.effectiveLocale,this.localize("codeBlockLineLabel"))&&(this.highlightLimited?(this.highlightToken++,this.highlightedHtml=null):this.shikiReady||this.hasPreSuppliedGrammar()?this.syncHighlight():this.highlightedHtml=null)}updated(changed){super.updated(changed),applyCodeBlockAriaBusy(this,!this.highlightLimited&&this.showsSkeleton()),this.patchLineState(),this.interactions.syncLineButtons(this.focusedLine,this.plainDomChanged),this.plainDomChanged=!1,this.restoreFocusedLineAfterUpdate&&(restoreCodeBlockLineFocus(this,this.focusedLine),this.restoreFocusedLineAfterUpdate=!1)}beforeHighlightUpdate(_changed){}hasPreSuppliedGrammar(){return!!this.preSuppliedGrammar()}lineHighlightSet(){return codeBlockLineHighlightSet(this.highlightLines??"",this.highlights,this.lineCount())}activeHighlightLineSet(){return codeBlockActiveHighlightLineSet(this.highlights,this.activeHighlightId,this.lineCount())}lineCount(){const code=this.code??"";return code!==this.countedCode&&(this.countedCode=code,this.countedLines=codeBlockLineCount(code)),this.countedLines}tokenize(hl,lang){return this.highlightLimited?null:tokenizeCodeBlock(hl,{code:this.code??"",lang,lineNumbers:this.lineNumbers,activatableLines:this.activatableLines,focusedLine:this.focusedLine,highlightedLines:this.lineHighlightSet(),activeLines:this.activeHighlightLineSet(),lineLabel:line=>this.localize("codeBlockLineLabel",void 0,{line:getNumberFormat(this.effectiveLocale).format(line)}),lineNumberText:line=>getNumberFormat(this.effectiveLocale).format(line)})}renderPlainCode(){return renderCodeBlockPlainCode({code:this.code??"",lineNumbers:this.lineNumbers,activatableLines:this.activatableLines,focusedLine:this.focusedLine,highlightedLines:this.lineHighlightSet(),activeLines:this.activeHighlightLineSet(),localize:this.localize.bind(this),lineLabel:line=>this.localize("codeBlockLineLabel",void 0,{line:getNumberFormat(this.effectiveLocale).format(line)}),lineNumberText:line=>getNumberFormat(this.effectiveLocale).format(line),onLineActivate:line=>this.interactions.onLineActivate(line),onLineKeyDown:(event,line)=>this.interactions.onLineKeyDown(event,line)})}patchLineState(){const code=this.renderRoot.querySelector("code");if(code!==this.paintedCode||this.plainDomChanged){this.paintedCode=code,this.paintedLines.clear();for(const line of code?.querySelectorAll(".line[data-line]")??[])line.removeAttribute("data-highlighted"),line.removeAttribute("data-active"),line.part?.remove("line-highlight"),this.paintedLines.set(Number(line.dataset.line),line)}const highlighted=this.lineHighlightSet(),active=this.activeHighlightLineSet(),changed=new Set([...this.previousHighlighted,...highlighted,...this.previousActive,...active]);for(const number of changed){const line=this.paintedLines.get(number);line&&(line.toggleAttribute("data-highlighted",highlighted.has(number)),line.toggleAttribute("data-active",active.has(number)),line.part?.toggle("line-highlight",highlighted.has(number)))}this.previousHighlighted=highlighted,this.previousActive=active}cachedPlainCode(){const key=[this.code,this.lineNumbers,this.activatableLines,this.effectiveLocale,this.localize("codeBlockLineLabel")];return(!this.plainTemplate||key.some((value,index)=>value!==this.plainKey[index]))&&(this.plainDomChanged=!0,this.plainKey=key,this.plainTemplate=this.renderPlainCode()),this.plainTemplate}render(){return renderCodeBlockShell({filename:this.filename,language:this.language,copyable:!this.withoutCopyButton,copyAppearance:this.copyAppearance,hasHeaderActions:this.hasHeaderActions,collapsible:this.collapsible,collapsed:this.collapsed,justCopied:this.justCopied,copyFailed:this.copyFailed,bodyId:this.bodyId,accessibleLabel:this.accessibleLabel,maxHeight:this.maxHeight,isDarkTheme:this.isDarkTheme,showSkeleton:!this.highlightLimited&&this.showsSkeleton(),highlightLimited:this.highlightLimited&&!!this.language,highlightedHtml:this.highlightedHtml,lineNumbers:this.lineNumbers,localize:this.localize.bind(this),renderPlainCode:()=>this.cachedPlainCode(),onToggle:this.interactions.toggleCollapsed,onCopy:this.interactions.copy,onBodyMouseUp:this.interactions.onBodyMouseUp,onBodyClick:this.interactions.onBodyClick,onBodyKeyDown:this.interactions.onBodyKeyDown,onBodyFocusIn:this.interactions.onBodyFocusIn})}}__decorate([state()],LyraCodeBlockBase.prototype,"hasHeaderActions",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"highlightedHtml",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"shikiReady",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"justCopied",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"copyFailed",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"isDarkTheme",void 0);export{LyraCodeBlockBase};
|
|
1
|
+
import{__decorate}from"tslib";import{collectionSupport}from"../../../internal/collection-snapshot.js";import{state}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{nextId}from"../../../internal/a11y.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{ThemeWatcher}from"../../../internal/theme-watcher.js";import{SHIKI_SOURCE_MAX_CODE_UNITS}from"./shiki-types.js";import{CodeBlockHeaderActionsController,CodeBlockInteractionController,applyCodeBlockAriaBusy,clampCodeBlockFocusedLine,codeBlockActiveHighlightLineSet,codeBlockLineHasFocus,codeBlockLineCount,codeBlockLineHighlightSet,renderCodeBlockPlainCode,renderCodeBlockShell,restoreCodeBlockLineFocus,scrollCodeBlockToAnchor,tokenizeCodeBlock}from"./code-block-shared.js";import{LYRA_DEFAULT_codeBlockHighlightLimit,LYRA_DEFAULT_codeBlockLineLabel,LYRA_DEFAULT_codeRegion,LYRA_DEFAULT_codeRegionWithLanguage,LYRA_DEFAULT_collapseCode,LYRA_DEFAULT_copiedToClipboard,LYRA_DEFAULT_copyCode,LYRA_DEFAULT_expandCode}from"../../../internal/default-strings/conversation.generated.js";import{LYRA_DEFAULT_copied,LYRA_DEFAULT_copy,LYRA_DEFAULT_copyFailed}from"../../../internal/default-strings/shared.generated.js";class LyraCodeBlockBase extends LyraElement{static{this.defaultStrings={...super.defaultStrings,codeBlockHighlightLimit:LYRA_DEFAULT_codeBlockHighlightLimit,codeBlockLineLabel:LYRA_DEFAULT_codeBlockLineLabel,codeRegion:LYRA_DEFAULT_codeRegion,codeRegionWithLanguage:LYRA_DEFAULT_codeRegionWithLanguage,collapseCode:LYRA_DEFAULT_collapseCode,copied:LYRA_DEFAULT_copied,copiedToClipboard:LYRA_DEFAULT_copiedToClipboard,copy:LYRA_DEFAULT_copy,copyCode:LYRA_DEFAULT_copyCode,copyFailed:LYRA_DEFAULT_copyFailed,expandCode:LYRA_DEFAULT_expandCode}}static{this.collectionSupport=collectionSupport}static{this.immutableEventDetails=Object.freeze(["lr-text-select"])}get highlightLimited(){return(this.code??"").length>SHIKI_SOURCE_MAX_CODE_UNITS}constructor(){super(),this.hasHeaderActions=!1,this.focusedLine=1,this.highlightedHtml=null,this.shikiReady=!1,this.justCopied=!1,this.copyFailed=!1,this.isDarkTheme=!1,this.restoreFocusedLineAfterUpdate=!1,this.highlightToken=0,this.plainKey=[],this.countedLines=1,this.plainDomChanged=!1,this.paintedLines=new Map,this.previousHighlighted=new Set,this.previousActive=new Set,this.bodyId=nextId("code-block-body"),this.interactions=new CodeBlockInteractionController({host:this,setFocusedLine:line=>{this.focusedLine=line},setJustCopied:value=>{this.justCopied=value},setCopyFailed:value=>{this.copyFailed=value},setDarkTheme:value=>{this.isDarkTheme=value},emitLineActivate:line=>this.emit("lr-line-activate",{line}),emitCopy:outcome=>this.emit("lr-copy",outcome),emitError:()=>this.emit("lr-error",null),emitCopyError:outcome=>this.emit("lr-copy-error",outcome),requestToggle:collapsed=>!this.emit("lr-toggle-request",{expanded:!collapsed},{cancelable:!0}).defaultPrevented,emitToggle:collapsed=>this.emit("lr-toggle",{expanded:!collapsed}),emitTextSelect:selection=>this.emit("lr-text-select",selection)}),this.headerActions=new CodeBlockHeaderActionsController({host:this,setHasHeaderActions:value=>{this.hasHeaderActions=value}}),new ThemeWatcher(this,()=>this.refreshTheme())}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.refreshTheme(),this.headerActions.observe()}disconnectedCallback(){this.highlightToken+=1,super.disconnectedCallback(),this.headerActions.disconnect(),this.interactions.disconnect(),this.highlightedHtml=null}adoptedCallback(){super.adoptedCallback(),this.interactions.disconnect()}async scrollToAnchor(target){return scrollCodeBlockToAnchor(this,target)}refreshTheme(){this.interactions.refreshTheme()}willUpdate(changed){super.willUpdate(changed),this.seedFirstRenderState(()=>this.refreshTheme()),this.headerActions.sync(),this.restoreFocusedLineAfterUpdate=codeBlockLineHasFocus(this),changed.has("code")&&(this.plainTemplate=void 0,this.plainKey=[],this.focusedLine=clampCodeBlockFocusedLine(this.focusedLine,this.lineCount())),this.beforeHighlightUpdate(changed),this.interactions.needsHighlightResync(changed,this.effectiveLocale,this.localize("codeBlockLineLabel"))&&(this.highlightLimited?(this.highlightToken++,this.highlightedHtml=null):this.shikiReady||this.hasPreSuppliedGrammar()?this.syncHighlight():this.highlightedHtml=null)}updated(changed){super.updated(changed),applyCodeBlockAriaBusy(this,!this.highlightLimited&&this.showsSkeleton()),this.patchLineState(),this.interactions.syncLineButtons(this.focusedLine,this.plainDomChanged),this.plainDomChanged=!1,this.restoreFocusedLineAfterUpdate&&(restoreCodeBlockLineFocus(this,this.focusedLine),this.restoreFocusedLineAfterUpdate=!1)}beforeHighlightUpdate(_changed){}hasPreSuppliedGrammar(){return!!this.preSuppliedGrammar()}lineHighlightSet(){return codeBlockLineHighlightSet(this.highlightLines??"",this.highlights,this.lineCount())}activeHighlightLineSet(){return codeBlockActiveHighlightLineSet(this.highlights,this.activeHighlightId,this.lineCount())}lineCount(){const code=this.code??"";return code!==this.countedCode&&(this.countedCode=code,this.countedLines=codeBlockLineCount(code)),this.countedLines}tokenize(hl,lang){return this.highlightLimited?null:tokenizeCodeBlock(hl,{code:this.code??"",lang,lineNumbers:this.lineNumbers,activatableLines:this.activatableLines,focusedLine:this.focusedLine,highlightedLines:this.lineHighlightSet(),activeLines:this.activeHighlightLineSet(),lineLabel:line=>this.localize("codeBlockLineLabel",void 0,{line:getNumberFormat(this.effectiveLocale).format(line)}),lineNumberText:line=>getNumberFormat(this.effectiveLocale).format(line)})}renderPlainCode(){return renderCodeBlockPlainCode({code:this.code??"",lineNumbers:this.lineNumbers,activatableLines:this.activatableLines,focusedLine:this.focusedLine,highlightedLines:this.lineHighlightSet(),activeLines:this.activeHighlightLineSet(),localize:this.localize.bind(this),lineLabel:line=>this.localize("codeBlockLineLabel",void 0,{line:getNumberFormat(this.effectiveLocale).format(line)}),lineNumberText:line=>getNumberFormat(this.effectiveLocale).format(line),onLineActivate:line=>this.interactions.onLineActivate(line),onLineKeyDown:(event,line)=>this.interactions.onLineKeyDown(event,line)})}patchLineState(){const code=this.renderRoot.querySelector("code");if(code!==this.paintedCode||this.plainDomChanged){this.paintedCode=code,this.paintedLines.clear();for(const line of code?.querySelectorAll(".line[data-line]")??[])line.removeAttribute("data-highlighted"),line.removeAttribute("data-active"),line.part?.remove("line-highlight"),this.paintedLines.set(Number(line.dataset.line),line)}const highlighted=this.lineHighlightSet(),active=this.activeHighlightLineSet(),changed=new Set([...this.previousHighlighted,...highlighted,...this.previousActive,...active]);for(const number of changed){const line=this.paintedLines.get(number);line&&(line.toggleAttribute("data-highlighted",highlighted.has(number)),line.toggleAttribute("data-active",active.has(number)),line.part?.toggle("line-highlight",highlighted.has(number)))}this.previousHighlighted=highlighted,this.previousActive=active}cachedPlainCode(){const key=[this.code,this.lineNumbers,this.activatableLines,this.effectiveLocale,this.localize("codeBlockLineLabel")];return(!this.plainTemplate||key.some((value,index)=>value!==this.plainKey[index]))&&(this.plainDomChanged=!0,this.plainKey=key,this.plainTemplate=this.renderPlainCode()),this.plainTemplate}render(){return renderCodeBlockShell({filename:this.filename,language:this.language,copyable:!this.withoutCopyButton,copyAppearance:this.copyAppearance,hasHeaderActions:this.hasHeaderActions,collapsible:this.collapsible,collapsed:this.collapsed,justCopied:this.justCopied,copyFailed:this.copyFailed,bodyId:this.bodyId,accessibleLabel:this.accessibleLabel,maxHeight:this.maxHeight,isDarkTheme:this.isDarkTheme,showSkeleton:!this.highlightLimited&&this.showsSkeleton(),highlightLimited:this.highlightLimited&&!!this.language,highlightedHtml:this.highlightedHtml,lineNumbers:this.lineNumbers,localize:this.localize.bind(this),renderPlainCode:()=>this.cachedPlainCode(),onToggle:this.interactions.toggleCollapsed,onCopy:()=>{this.interactions.copy()},onBodyMouseUp:this.interactions.onBodyMouseUp,onBodyClick:this.interactions.onBodyClick,onBodyKeyDown:this.interactions.onBodyKeyDown,onBodyFocusIn:this.interactions.onBodyFocusIn})}}__decorate([state()],LyraCodeBlockBase.prototype,"hasHeaderActions",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"highlightedHtml",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"shikiReady",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"justCopied",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"copyFailed",void 0),__decorate([state()],LyraCodeBlockBase.prototype,"isDarkTheme",void 0);export{LyraCodeBlockBase};
|
|
@@ -136,18 +136,18 @@ code:string;
|
|
|
136
136
|
* `languages`, the code renders as plain unhighlighted text — this
|
|
137
137
|
* component has no default/full-table highlighter to fall back to. */
|
|
138
138
|
language:string;
|
|
139
|
-
/** Shown in the header above the code, when set
|
|
139
|
+
/** Shown in the header above the code, when set.*/
|
|
140
140
|
filename:string;
|
|
141
141
|
/** Accessible-name override for the internal focusable code region. Maps
|
|
142
142
|
* to the host's `aria-label` attribute and wins over `filename` and
|
|
143
143
|
* `language`-derived defaults. */
|
|
144
144
|
accessibleLabel:string|null;
|
|
145
|
-
/** Whether the code region can be collapsed via a header toggle
|
|
145
|
+
/** Whether the code region can be collapsed via a header toggle.*/
|
|
146
146
|
collapsible:boolean;
|
|
147
147
|
/** Whether the code region is currently hidden. Only has a visible effect
|
|
148
148
|
* while `collapsible` is also true. */
|
|
149
149
|
collapsed:boolean;
|
|
150
|
-
/** Hides the copy-to-clipboard button in the header
|
|
150
|
+
/** Hides the copy-to-clipboard button in the header.*/
|
|
151
151
|
withoutCopyButton:boolean;
|
|
152
152
|
/** How the header's copy control presents itself. `'text'` (the default) is the labelled button
|
|
153
153
|
* this component has always rendered -- unset, nothing about the header changes. `'icon'` swaps
|
|
@@ -173,9 +173,9 @@ activatableLines:boolean;private _highlights;
|
|
|
173
173
|
* non-discriminated anchor, is ignored (`snapshotLyraHighlights`).
|
|
174
174
|
* @default [] */
|
|
175
175
|
get highlights():readonly LyraHighlight[];set highlights(value:readonly LyraHighlight[]);
|
|
176
|
-
/** The `highlights` entry, if any, currently treated as active (`data-active` on its lines)
|
|
176
|
+
/** The `highlights` entry, if any, currently treated as active (`data-active` on its lines).*/
|
|
177
177
|
activeHighlightId:string|null;
|
|
178
|
-
/** Anchor kinds this component resolves via `scrollToAnchor()
|
|
178
|
+
/** Anchor kinds this component resolves via `scrollToAnchor()`.*/
|
|
179
179
|
readonly anchorKinds:readonly LyraAnchor['kind'][];
|
|
180
180
|
/** Grammar definitions this instance can highlight, e.g. `{ json: jsonGrammar }` (import from
|
|
181
181
|
* `shiki/langs/<name>.mjs`), or a lazy loader per key, e.g.
|
|
@@ -194,7 +194,7 @@ languages:Readonly<Record<string,ShikiLanguageSource>>;private highlighterGenera
|
|
|
194
194
|
* its start line into view within `[part="body"]`. Resolves `false` when the anchor isn't a
|
|
195
195
|
* `line-range`, the id isn't found, or the start line is out of bounds. */
|
|
196
196
|
scrollToAnchor(target:LyraAnchor|string):Promise<boolean>;
|
|
197
|
-
/** Recomputes Shiki palette selection after an imperative CSSOM theme change
|
|
197
|
+
/** Recomputes Shiki palette selection after an imperative CSSOM theme change.*/
|
|
198
198
|
refreshTheme():void;
|
|
199
199
|
/** Whether this render shows the loading skeleton instead of the code. Unlike `<lr-code-block>`,
|
|
200
200
|
* the only highlighter this variant ever waits on is the fine-grained one seeded from
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @deprecated Import @aceshooting/lyra-ui/components/lr-code-block-core.js to register this component
|
|
1
|
+
/** @deprecated Import @aceshooting/lyra-ui/components/lr-code-block-core.js to register this component.*/
|
|
2
2
|
export*from'./code-block-core.class.js';export{resolvedShikiLanguages,setShikiCoreEngine}from'./shiki-types.js';export type{ShikiEngineOption,ShikiLanguageInput,ShikiLanguageLoader,ShikiLanguageSource,ShikiRegexEngine,ShikiRegexEngineFactory,}from'./shiki-types.js';import'../../overlays/skeleton/skeleton.js';import'../../forms/icon-button/icon-button-register.js';
|
|
@@ -26,7 +26,7 @@ export declare function codeBlockLineCount(code:string):number;
|
|
|
26
26
|
/** Keeps the roving-tabindex gutter's focused line inside `[1, lineCount]` after a `code` change
|
|
27
27
|
* shrinks the document out from under it. */
|
|
28
28
|
export declare function clampCodeBlockFocusedLine(focusedLine:number,lineCount:number):number;export interface CodeBlockLineFocusHost extends HTMLElement{readonly renderRoot:HTMLElement|DocumentFragment;}
|
|
29
|
-
/** Whether real focus currently sits on one of the rendered roving line controls
|
|
29
|
+
/** Whether real focus currently sits on one of the rendered roving line controls.*/
|
|
30
30
|
export declare function codeBlockLineHasFocus(host:CodeBlockLineFocusHost):boolean;
|
|
31
31
|
/** Restores focus after Lit replaces a focused line node, but never overrides focus that moved
|
|
32
32
|
* to another internal or external control while the update was pending. */
|
|
@@ -35,7 +35,7 @@ export declare function restoreCodeBlockLineFocus(host:CodeBlockLineFocusHost,li
|
|
|
35
35
|
* `line-range` slice of `highlights`. Shared by both the shiki transformer options and the
|
|
36
36
|
* plain-text fallback path so their emphasis is always identical. */
|
|
37
37
|
export declare function codeBlockLineHighlightSet(highlightLines:string,highlights:readonly LyraHighlight[],maxLine:number):Set<number>;
|
|
38
|
-
/** The line numbers covered by the `highlights` entry matching `activeHighlightId`, if any
|
|
38
|
+
/** The line numbers covered by the `highlights` entry matching `activeHighlightId`, if any.*/
|
|
39
39
|
export declare function codeBlockActiveHighlightLineSet(highlights:readonly LyraHighlight[],activeHighlightId:string|null,maxLine:number):Set<number>;
|
|
40
40
|
/** The `languages` entry for the *current* `language`, if any -- looked up under both the
|
|
41
41
|
* shiki-normalized id and the raw property value, so `willUpdate()`/`updated()`/`render()`/
|
|
@@ -54,7 +54,7 @@ export declare function scrollCodeBlockToAnchor(host:CodeBlockAnchorHost,target:
|
|
|
54
54
|
/** The one-based gutter line an event originated in, or `null` when it didn't come from a line
|
|
55
55
|
* button at all. */
|
|
56
56
|
export declare function codeBlockEventLine(e:Event):number|null;
|
|
57
|
-
/** An `lr-text-select` payload for a selection ending inside `[part="body"]
|
|
57
|
+
/** An `lr-text-select` payload for a selection ending inside `[part="body"]`.*/
|
|
58
58
|
interface CodeBlockSelection{readonly text:string;readonly anchor:LyraAnchor;readonly rects:readonly TextSelectRect[];}
|
|
59
59
|
/**
|
|
60
60
|
* Whether the `<lr-skeleton>` placeholder stands in for the code this render. Both components gate
|
|
@@ -115,7 +115,7 @@ export declare function renderCodeBlockPlainCode(options:CodeBlockPlainCodeOptio
|
|
|
115
115
|
* the localized Copy/Copied/failure string becomes the accessible name instead of visible text.
|
|
116
116
|
*/
|
|
117
117
|
export type LyraCodeBlockCopyAppearance='text'|'icon';
|
|
118
|
-
/** `lr-toggle-request`/`lr-toggle` detail of `<lr-code-block>` and `<lr-code-block-core
|
|
118
|
+
/** `lr-toggle-request`/`lr-toggle` detail of `<lr-code-block>` and `<lr-code-block-core>`.*/
|
|
119
119
|
export interface LyraCodeBlockToggleDetail{
|
|
120
120
|
/** Whether the code region is shown in the resulting (on `lr-toggle-request`, the proposed)
|
|
121
121
|
* state. */
|
|
@@ -123,9 +123,9 @@ expanded:boolean;}export interface CodeBlockShellOptions{filename:string;languag
|
|
|
123
123
|
/** Whether a light-DOM child is assigned to the `header-actions` slot, so the header renders for
|
|
124
124
|
* a code block that has nothing else to put in it. */
|
|
125
125
|
hasHeaderActions:boolean;collapsible:boolean;collapsed:boolean;justCopied:boolean;copyFailed:boolean;bodyId:string;
|
|
126
|
-
/** Wins over the filename/language-derived default -- the host's own `aria-label
|
|
126
|
+
/** Wins over the filename/language-derived default -- the host's own `aria-label`.*/
|
|
127
127
|
accessibleLabel:string|null;maxHeight:string;isDarkTheme:boolean;showSkeleton:boolean;highlightLimited?:boolean;
|
|
128
|
-
/** shiki's own markup for this render, or `null` for the plain-text fallback path
|
|
128
|
+
/** shiki's own markup for this render, or `null` for the plain-text fallback path.*/
|
|
129
129
|
highlightedHtml:string|null;lineNumbers:boolean;localize:LyraLocalizeFn;renderPlainCode:()=>TemplateResult;onToggle:()=>void;onCopy:()=>void;onBodyMouseUp:(e:MouseEvent)=>void;onBodyClick:(e:MouseEvent)=>void;onBodyKeyDown:(e:KeyboardEvent)=>void;onBodyFocusIn:(e:FocusEvent)=>void;}
|
|
130
130
|
/**
|
|
131
131
|
* The whole rendered tree for both components: the header (only when there's anything to put in
|
|
@@ -162,18 +162,18 @@ export interface CodeBlockInteractionOptions{host:CodeBlockInteractionHost;setFo
|
|
|
162
162
|
* still sees them change.
|
|
163
163
|
*/
|
|
164
164
|
export declare class CodeBlockInteractionController{private readonly options;private copyTimer?;private copyGeneration;private lineButtons;private lineSource?;private focusedLine;private countedCode?;private countedLines;private highlightedLocale?;private highlightedLineLabel?;
|
|
165
|
-
/** Localized gutter markup is cached with the effective catalog label and number locale
|
|
165
|
+
/** Localized gutter markup is cached with the effective catalog label and number locale.*/
|
|
166
166
|
needsHighlightResync(changed:PropertyValues,locale:string,lineLabel:string):boolean;constructor(options:CodeBlockInteractionOptions);
|
|
167
|
-
/** Re-resolves token colors after an imperative CSSOM/adopted-stylesheet theme change
|
|
167
|
+
/** Re-resolves token colors after an imperative CSSOM/adopted-stylesheet theme change.*/
|
|
168
168
|
refreshTheme():void;
|
|
169
|
-
/** Retires an in-flight copy-confirmation timer against the window that scheduled it
|
|
169
|
+
/** Retires an in-flight copy-confirmation timer against the window that scheduled it.*/
|
|
170
170
|
cancelCopyTimer():void;
|
|
171
|
-
/** Invalidates pending writes and feedback when the host disconnects or changes owner
|
|
171
|
+
/** Invalidates pending writes and feedback when the host disconnects or changes owner.*/
|
|
172
172
|
disconnect():void;private setCopyStatus;
|
|
173
173
|
/** Moves the roving tab stop to `line`, both in the component's state and on the rendered
|
|
174
174
|
* gutter buttons (which Lit will not have re-rendered yet). */
|
|
175
175
|
setFocusedLine(line:number):void;
|
|
176
|
-
/** Rebuilds the gutter index only when the source DOM is replaced
|
|
176
|
+
/** Rebuilds the gutter index only when the source DOM is replaced.*/
|
|
177
177
|
syncLineButtons(focusedLine:number,force?:boolean):void;onLineActivate:(line:number)=>void;onLineKeyDown:(e:KeyboardEvent,line:number)=>void;onBodyClick:(e:MouseEvent)=>void;onBodyKeyDown:(e:KeyboardEvent)=>void;onBodyFocusIn:(e:FocusEvent)=>void;
|
|
178
178
|
/** Anchors a text selection ending inside `[part="body"]` to the `line-range` it spans, so a
|
|
179
179
|
* host can persist or otherwise act on it. Fires nothing when there's no active selection. */
|
|
@@ -204,5 +204,5 @@ sync():void;
|
|
|
204
204
|
* immediately so a child already present at call time is picked up. A no-op on a second call
|
|
205
205
|
* or when `MutationObserver` is unavailable. */
|
|
206
206
|
observe():void;
|
|
207
|
-
/** Retires the observer, e.g. on host disconnect
|
|
207
|
+
/** Retires the observer, e.g. on host disconnect.*/
|
|
208
208
|
disconnect():void;}export{};
|