@aceshooting/lyra-ui 31.2.1 → 32.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1582 -476
- package/README.md +31 -10
- package/design-tokens.json +1 -1
- package/dist/ai/adapters/a2ui.d.ts +1 -3
- package/dist/ai/adapters/a2ui.js +1 -1
- package/dist/ai/runtime.js +1 -1
- package/dist/ai/snapshot.js +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/all.d.ts +1 -1
- package/dist/all.js +1 -1
- package/dist/autoloader.d.ts +10 -0
- package/dist/autoloader.js +1 -1
- package/dist/cli/init-agents.mjs +13 -13
- package/dist/cli/lyra-ui.mjs +3 -3
- package/dist/cli/migrate-wa.mjs +62 -12
- package/dist/cli/migration-contract.json.gz +0 -0
- package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts +10 -3
- package/dist/components/agent-tools/activity-feed/activity-feed.class.js +7 -32
- package/dist/components/agent-tools/activity-feed/activity-feed.styles.js +1 -1
- package/dist/components/agent-tools/agent-action-button.styles.js +1 -1
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.d.ts +11 -6
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js +6 -11
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.styles.js +1 -1
- package/dist/components/agent-tools/agent-question/agent-question-children.js +1 -0
- package/dist/components/agent-tools/agent-question/agent-question.class.d.ts +4 -3
- package/dist/components/agent-tools/agent-question/agent-question.class.js +6 -8
- package/dist/components/agent-tools/agent-question/agent-question.styles.js +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.class.d.ts +2 -2
- package/dist/components/agent-tools/agent-run/agent-run.class.js +8 -18
- package/dist/components/agent-tools/agent-run/agent-run.styles.js +1 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.class.d.ts +8 -2
- package/dist/components/agent-tools/agent-trace/agent-trace.class.js +5 -31
- package/dist/components/agent-tools/agent-trace/agent-trace.styles.js +1 -1
- package/dist/components/agent-tools/approval-action-buttons.js +1 -18
- package/dist/components/agent-tools/approval-queue/approval-queue.class.d.ts +19 -9
- package/dist/components/agent-tools/approval-queue/approval-queue.class.js +9 -27
- package/dist/components/agent-tools/approval-queue/approval-queue.styles.js +1 -1
- package/dist/components/agent-tools/artifact-panel/artifact-panel.class.d.ts +13 -9
- package/dist/components/agent-tools/artifact-panel/artifact-panel.class.js +13 -47
- package/dist/components/agent-tools/artifact-panel/artifact-panel.styles.js +1 -1
- package/dist/components/agent-tools/background-runs/background-runs.class.d.ts +22 -7
- package/dist/components/agent-tools/background-runs/background-runs.class.js +9 -23
- package/dist/components/agent-tools/background-runs/background-runs.styles.js +1 -1
- package/dist/components/agent-tools/browser-frame/browser-frame.class.d.ts +9 -2
- package/dist/components/agent-tools/browser-frame/browser-frame.class.js +8 -22
- package/dist/components/agent-tools/browser-frame/browser-frame.styles.js +1 -1
- package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +13 -3
- package/dist/components/agent-tools/budget-meter/budget-meter.class.js +6 -14
- package/dist/components/agent-tools/budget-meter/budget-meter.styles.js +1 -1
- package/dist/components/agent-tools/change-review/change-review.class.d.ts +8 -3
- package/dist/components/agent-tools/change-review/change-review.class.js +8 -11
- package/dist/components/agent-tools/change-review/change-review.styles.js +1 -1
- package/dist/components/agent-tools/commit-card/commit-card.class.d.ts +13 -6
- package/dist/components/agent-tools/commit-card/commit-card.class.js +15 -42
- package/dist/components/agent-tools/commit-card/commit-card.styles.js +1 -1
- package/dist/components/agent-tools/compare-panel/compare-panel.class.d.ts +18 -3
- package/dist/components/agent-tools/compare-panel/compare-panel.class.js +6 -17
- package/dist/components/agent-tools/compare-panel/compare-panel.styles.js +1 -1
- package/dist/components/agent-tools/confirm-bar/confirm-bar.class.d.ts +5 -3
- package/dist/components/agent-tools/confirm-bar/confirm-bar.class.js +7 -40
- package/dist/components/agent-tools/confirm-bar/confirm-bar.styles.js +1 -1
- package/dist/components/agent-tools/connector-manager/connector-manager.class.d.ts +22 -4
- package/dist/components/agent-tools/connector-manager/connector-manager.class.js +6 -15
- package/dist/components/agent-tools/connector-manager/connector-manager.styles.js +1 -1
- package/dist/components/agent-tools/context-inspector/context-inspector.class.d.ts +3 -3
- package/dist/components/agent-tools/context-inspector/context-inspector.class.js +10 -21
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.d.ts +10 -5
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +10 -109
- package/dist/components/agent-tools/eval-dataset/eval-dataset.styles.js +1 -1
- package/dist/components/agent-tools/eval-result/eval-result-register.d.ts +1 -1
- package/dist/components/agent-tools/eval-result/eval-result-register.js +1 -1
- package/dist/components/agent-tools/eval-result/eval-result-source.js +1 -1
- package/dist/components/agent-tools/eval-result/eval-result.class.d.ts +2 -2
- package/dist/components/agent-tools/eval-result/eval-result.class.js +4 -65
- package/dist/components/agent-tools/eval-result/eval-result.styles.js +1 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.d.ts +10 -4
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.js +11 -62
- package/dist/components/agent-tools/evaluation-run/evaluation-run.styles.js +1 -1
- package/dist/components/agent-tools/index.d.ts +1 -1
- package/dist/components/agent-tools/index.js +1 -1
- package/dist/components/agent-tools/mcp-app/mcp-app-protocol.js +1 -1
- package/dist/components/agent-tools/mcp-app/mcp-app.class.d.ts +1 -0
- package/dist/components/agent-tools/mcp-app/mcp-app.class.js +2 -2
- package/dist/components/agent-tools/mcp-app/mcp-app.styles.js +1 -1
- package/dist/components/agent-tools/permission-grant/permission-grant.class.d.ts +18 -3
- package/dist/components/agent-tools/permission-grant/permission-grant.class.js +6 -15
- package/dist/components/agent-tools/permission-grant/permission-grant.styles.js +1 -1
- package/dist/components/agent-tools/permission-rules/permission-rules.class.d.ts +17 -5
- package/dist/components/agent-tools/permission-rules/permission-rules.class.js +8 -15
- package/dist/components/agent-tools/permission-rules/permission-rules.styles.js +1 -1
- package/dist/components/agent-tools/policy-summary/policy-summary.class.d.ts +1 -3
- package/dist/components/agent-tools/policy-summary/policy-summary.class.js +4 -15
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.d.ts +17 -8
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.js +14 -86
- package/dist/components/agent-tools/prompt-studio/prompt-studio.styles.js +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.class.js +2 -7
- package/dist/components/agent-tools/result-card/result-card.styles.js +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.class.js +3 -5
- package/dist/components/agent-tools/result-card/result-field.styles.js +1 -1
- package/dist/components/agent-tools/schema-viewer/schema-viewer.class.d.ts +14 -7
- package/dist/components/agent-tools/schema-viewer/schema-viewer.class.js +16 -27
- package/dist/components/agent-tools/schema-viewer/schema-viewer.styles.js +1 -1
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.d.ts +21 -11
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.js +10 -33
- package/dist/components/agent-tools/span-waterfall/span-waterfall.styles.js +1 -1
- package/dist/components/agent-tools/stack-trace/stack-trace-parse.js +2 -2
- package/dist/components/agent-tools/stack-trace/stack-trace.class.d.ts +12 -4
- package/dist/components/agent-tools/stack-trace/stack-trace.class.js +8 -18
- package/dist/components/agent-tools/stack-trace/stack-trace.styles.js +1 -1
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.d.ts +13 -7
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +10 -53
- package/dist/components/agent-tools/subagent-panel/subagent-panel.styles.js +1 -1
- package/dist/components/agent-tools/task-list/task-list.class.d.ts +9 -5
- package/dist/components/agent-tools/task-list/task-list.class.js +12 -44
- package/dist/components/agent-tools/task-list/task-list.styles.js +1 -1
- package/dist/components/agent-tools/terminal/terminal.class.d.ts +47 -17
- package/dist/components/agent-tools/terminal/terminal.class.js +13 -40
- package/dist/components/agent-tools/terminal/terminal.styles.js +1 -1
- package/dist/components/agent-tools/test-results/test-results.class.d.ts +12 -7
- package/dist/components/agent-tools/test-results/test-results.class.js +19 -47
- package/dist/components/agent-tools/test-results/test-results.styles.js +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.d.ts +12 -6
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.js +5 -20
- package/dist/components/agent-tools/thinking-panel/thinking-panel.styles.js +1 -1
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.d.ts +16 -6
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.js +9 -41
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.styles.js +1 -1
- package/dist/components/agent-tools/tool-call-block/tool-call-block.class.d.ts +12 -5
- package/dist/components/agent-tools/tool-call-block/tool-call-block.class.js +6 -23
- package/dist/components/agent-tools/tool-call-block/tool-call-block.styles.js +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +22 -5
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +9 -27
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.styles.js +1 -1
- package/dist/components/agent-tools/tool-param-form/tool-param-constraints.js +1 -1
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.d.ts +11 -9
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.js +6 -95
- package/dist/components/agent-tools/tool-param-form/tool-param-form.styles.js +1 -1
- package/dist/components/agent-tools/tool-param-form/tool-param-snapshot.js +1 -1
- package/dist/components/agent-tools/tool-redaction.js +1 -1
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.class.d.ts +20 -5
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.class.js +9 -24
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.styles.js +1 -1
- package/dist/components/agent-tools/tool-result-view/registry.d.ts +6 -0
- package/dist/components/agent-tools/tool-result-view/tool-result-view.class.d.ts +3 -2
- package/dist/components/agent-tools/tool-result-view/tool-result-view.class.js +2 -2
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.d.ts +34 -15
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.js +16 -68
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.styles.js +1 -1
- package/dist/components/agent-tools/tool-status.js +1 -18
- package/dist/components/agent-tools/tool-status.styles.js +1 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts +22 -7
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.js +15 -56
- package/dist/components/agent-tools/trace-tree/trace-tree.class.d.ts +19 -11
- package/dist/components/agent-tools/trace-tree/trace-tree.class.js +13 -53
- package/dist/components/agent-tools/trace-tree/trace-tree.styles.js +1 -1
- package/dist/components/charts/chart/bar-chart.class.d.ts +3 -1
- package/dist/components/charts/chart/box-plot-loader.d.ts +1 -1
- package/dist/components/charts/chart/box-plot-loader.js +1 -1
- package/dist/components/charts/chart/box-plot.class.d.ts +29 -6
- package/dist/components/charts/chart/box-plot.class.js +13 -45
- package/dist/components/charts/chart/box-plot.styles.js +1 -1
- package/dist/components/charts/chart/bubble-chart.class.d.ts +3 -1
- package/dist/components/charts/chart/chart-band.js +1 -0
- package/dist/components/charts/chart/chart-bidi.js +1 -1
- package/dist/components/charts/chart/chart-colors.d.ts +1 -2
- package/dist/components/charts/chart/chart-core-loader.js +1 -1
- package/dist/components/charts/chart/chart-data-table.js +1 -1
- package/dist/components/charts/chart/chart-feature-loader.d.ts +3 -128
- package/dist/components/charts/chart/chart-feature-loader.js +1 -1
- package/dist/components/charts/chart/chart-forced-colors.js +1 -1
- package/dist/components/charts/chart/chart-input-projection.js +1 -0
- package/dist/components/charts/chart/chart-legend-visibility.d.ts +12 -0
- package/dist/components/charts/chart/chart-legend-visibility.js +1 -1
- package/dist/components/charts/chart/chart-peer.js +1 -0
- package/dist/components/charts/chart/chart-preload.js +1 -1
- package/dist/components/charts/chart/chart-prepared-data.d.ts +1 -11
- package/dist/components/charts/chart/chart-prepared-data.js +1 -1
- package/dist/components/charts/chart/chart-series-bounds.js +1 -1
- package/dist/components/charts/chart/chart-spatial-data.js +2 -2
- package/dist/components/charts/chart/chart-spatial-model.js +1 -0
- package/dist/components/charts/chart/chart-surface-shared.js +1 -1
- package/dist/components/charts/chart/chart-surface.styles.js +1 -1
- package/dist/components/charts/chart/chart-sync.js +1 -1
- package/dist/components/charts/chart/chart-sync.styles.js +1 -1
- package/dist/components/charts/chart/chart-token-cache.js +2 -2
- package/dist/components/charts/chart/chart-types.d.ts +99 -0
- package/dist/components/charts/chart/chart.class.d.ts +76 -90
- package/dist/components/charts/chart/chart.class.js +23 -80
- package/dist/components/charts/chart/chart.styles.js +1 -1
- package/dist/components/charts/chart/doughnut-chart.class.d.ts +3 -1
- package/dist/components/charts/chart/histogram-bin.d.ts +3 -1
- package/dist/components/charts/chart/histogram-bin.js +1 -1
- package/dist/components/charts/chart/histogram-buckets.d.ts +3 -1
- package/dist/components/charts/chart/histogram-buckets.js +1 -1
- package/dist/components/charts/chart/histogram.class.d.ts +6 -2
- package/dist/components/charts/chart/histogram.class.js +1 -1
- package/dist/components/charts/chart/line-chart.class.d.ts +3 -1
- package/dist/components/charts/chart/lite-chart.class.d.ts +44 -22
- package/dist/components/charts/chart/lite-chart.class.js +26 -165
- package/dist/components/charts/chart/lite-chart.styles.js +1 -1
- package/dist/components/charts/chart/pie-chart.class.d.ts +3 -1
- package/dist/components/charts/chart/polar-area-chart.class.d.ts +3 -1
- package/dist/components/charts/chart/radar-chart.class.d.ts +3 -1
- package/dist/components/charts/chart/scatter-chart.class.d.ts +3 -1
- package/dist/components/charts/chart-3d/chart-3d-data.d.ts +2 -1
- package/dist/components/charts/chart-3d/chart-3d-data.js +1 -1
- package/dist/components/charts/chart-3d/chart-3d-engine.js +1 -1
- package/dist/components/charts/chart-3d/chart-3d.class.d.ts +14 -8
- package/dist/components/charts/chart-3d/chart-3d.class.js +13 -21
- package/dist/components/charts/chart-3d/chart-3d.styles.js +1 -1
- 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-register.d.ts +1 -1
- package/dist/components/conversation/agent-workspace/agent-workspace-register.js +1 -1
- package/dist/components/conversation/agent-workspace/agent-workspace.class.d.ts +34 -8
- package/dist/components/conversation/agent-workspace/agent-workspace.class.js +23 -82
- package/dist/components/conversation/agent-workspace/agent-workspace.styles.js +1 -1
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.d.ts +11 -5
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.js +1 -1
- package/dist/components/conversation/branch-picker/branch-picker.class.d.ts +14 -2
- package/dist/components/conversation/branch-picker/branch-picker.class.js +4 -16
- package/dist/components/conversation/branch-picker/branch-picker.styles.js +1 -1
- package/dist/components/conversation/catalog-picker-element.d.ts +64 -3
- package/dist/components/conversation/catalog-picker-element.js +1 -1
- package/dist/components/conversation/catalog-picker-trigger.styles.js +1 -1
- package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +58 -14
- package/dist/components/conversation/chat-composer/chat-composer.class.js +4 -35
- package/dist/components/conversation/chat-composer/chat-composer.styles.js +1 -1
- package/dist/components/conversation/chat-message/chat-message.class.d.ts +27 -7
- package/dist/components/conversation/chat-message/chat-message.class.js +18 -32
- package/dist/components/conversation/chat-message/chat-message.styles.js +1 -1
- package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +19 -6
- package/dist/components/conversation/chat-viewport/chat-viewport.class.js +5 -22
- package/dist/components/conversation/chat-viewport/chat-viewport.styles.js +1 -1
- package/dist/components/conversation/checkpoint/checkpoint.class.d.ts +29 -1
- package/dist/components/conversation/checkpoint/checkpoint.class.js +21 -52
- package/dist/components/conversation/checkpoint/checkpoint.styles.js +1 -1
- package/dist/components/conversation/code-block/code-block-base.class.d.ts +37 -6
- 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 +71 -13
- package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-shared.d.ts +25 -62
- package/dist/components/conversation/code-block/code-block-shared.js +11 -68
- package/dist/components/conversation/code-block/code-block.class.d.ts +70 -12
- package/dist/components/conversation/code-block/code-block.class.js +1 -1
- package/dist/components/conversation/code-block/code-block.styles.js +1 -1
- package/dist/components/conversation/code-block/code-loader.d.ts +2 -37
- package/dist/components/conversation/code-block/code-loader.js +1 -1
- package/dist/components/conversation/code-block/shiki-types.d.ts +1 -115
- package/dist/components/conversation/code-block/shiki-types.js +1 -1
- package/dist/components/conversation/conversation-item/conversation-item.class.d.ts +31 -6
- package/dist/components/conversation/conversation-item/conversation-item.class.js +16 -60
- package/dist/components/conversation/conversation-item/conversation-item.styles.js +1 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.class.d.ts +11 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.class.js +5 -22
- package/dist/components/conversation/generation-metrics/generation-metrics.styles.js +1 -1
- package/dist/components/conversation/handoff-divider/handoff-divider.class.d.ts +8 -2
- package/dist/components/conversation/handoff-divider/handoff-divider.class.js +4 -4
- package/dist/components/conversation/handoff-divider/handoff-divider.styles.js +1 -1
- package/dist/components/conversation/index.d.ts +1 -1
- package/dist/components/conversation/index.js +1 -1
- package/dist/components/conversation/markdown/katex-loader.d.ts +2 -7
- package/dist/components/conversation/markdown/katex-loader.js +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.d.ts +7 -7
- package/dist/components/conversation/markdown/markdown-base.class.js +2 -1
- package/dist/components/conversation/markdown/markdown-code-header.d.ts +4 -2
- package/dist/components/conversation/markdown/markdown-code-header.js +1 -1
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +69 -12
- package/dist/components/conversation/markdown/markdown-core.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-fallback-code.d.ts +1 -5
- package/dist/components/conversation/markdown/markdown-fallback-code.js +2 -2
- package/dist/components/conversation/markdown/markdown-fence.js +2 -0
- package/dist/components/conversation/markdown/markdown-loader.d.ts +2 -17
- package/dist/components/conversation/markdown/markdown-loader.js +1 -1
- package/dist/components/conversation/markdown/markdown-progressive.js +4 -4
- package/dist/components/conversation/markdown/markdown-shared.d.ts +15 -48
- package/dist/components/conversation/markdown/markdown-shared.js +6 -6
- package/dist/components/conversation/markdown/markdown.class.d.ts +74 -18
- package/dist/components/conversation/markdown/markdown.class.js +1 -1
- package/dist/components/conversation/markdown/markdown.styles.js +1 -1
- package/dist/components/conversation/message-actions/message-actions.class.d.ts +2 -0
- package/dist/components/conversation/message-actions/message-actions.class.js +6 -35
- package/dist/components/conversation/message-actions/message-actions.styles.js +1 -1
- package/dist/components/conversation/message-actions/toolbar-actions.d.ts +1 -20
- package/dist/components/conversation/message-actions/toolbar-actions.js +1 -1
- package/dist/components/conversation/message-feedback/message-feedback.class.d.ts +27 -5
- package/dist/components/conversation/message-feedback/message-feedback.class.js +7 -52
- package/dist/components/conversation/message-feedback/message-feedback.styles.js +1 -1
- package/dist/components/conversation/message-parts/message-parts.class.d.ts +28 -3
- package/dist/components/conversation/message-parts/message-parts.class.js +10 -65
- package/dist/components/conversation/message-parts/message-parts.styles.js +1 -1
- package/dist/components/conversation/model-select/model-select.class.d.ts +44 -46
- package/dist/components/conversation/model-select/model-select.class.js +11 -78
- package/dist/components/conversation/model-select/model-select.styles.js +1 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.d.ts +24 -2
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.js +4 -31
- package/dist/components/conversation/prompt-input/prompt-input-register.d.ts +1 -1
- package/dist/components/conversation/prompt-input/prompt-input-register.js +1 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.d.ts +57 -14
- package/dist/components/conversation/prompt-input/prompt-input.class.js +13 -112
- package/dist/components/conversation/prompt-input/prompt-input.styles.js +1 -1
- package/dist/components/conversation/prompt-queue/prompt-queue.class.d.ts +19 -7
- package/dist/components/conversation/prompt-queue/prompt-queue.class.js +13 -62
- package/dist/components/conversation/prompt-queue/prompt-queue.styles.js +1 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.class.d.ts +20 -7
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js +4 -20
- package/dist/components/conversation/push-to-talk/push-to-talk.styles.js +1 -1
- package/dist/components/conversation/realtime-session/realtime-session.class.d.ts +23 -3
- package/dist/components/conversation/realtime-session/realtime-session.class.js +10 -35
- package/dist/components/conversation/realtime-session/realtime-session.styles.js +1 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +8 -2
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.js +2 -18
- package/dist/components/conversation/selection-toolbar/selection-toolbar.styles.js +1 -1
- package/dist/components/conversation/stream-status/stream-status.class.d.ts +8 -10
- package/dist/components/conversation/stream-status/stream-status.class.js +6 -7
- package/dist/components/conversation/streaming-text/streaming-text-base.class.d.ts +2 -2
- package/dist/components/conversation/streaming-text/streaming-text-base.class.js +27 -3
- package/dist/components/conversation/streaming-text/streaming-text-core.class.d.ts +3 -2
- package/dist/components/conversation/streaming-text/streaming-text-core.class.js +1 -24
- package/dist/components/conversation/streaming-text/streaming-text.class.d.ts +5 -4
- package/dist/components/conversation/streaming-text/streaming-text.class.js +1 -25
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +12 -5
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.js +4 -12
- package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
- package/dist/components/conversation/thread-list/thread-list-buckets.js +1 -0
- package/dist/components/conversation/thread-list/thread-list-source.js +1 -0
- package/dist/components/conversation/thread-list/thread-list-types.d.ts +3 -0
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +67 -22
- package/dist/components/conversation/thread-list/thread-list.class.js +25 -116
- package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
- package/dist/components/conversation/transcript-feed/transcript-feed.class.d.ts +15 -3
- package/dist/components/conversation/transcript-feed/transcript-feed.class.js +8 -18
- package/dist/components/conversation/transcript-feed/transcript-feed.styles.js +1 -1
- package/dist/components/conversation/typing-indicator/typing-indicator.class.d.ts +4 -6
- package/dist/components/conversation/typing-indicator/typing-indicator.class.js +1 -1
- package/dist/components/conversation/usage-badge/usage-badge-overlay-runtime.js +1 -1
- package/dist/components/conversation/usage-badge/usage-badge.class.d.ts +18 -1
- package/dist/components/conversation/usage-badge/usage-badge.class.js +3 -14
- package/dist/components/conversation/usage-badge/usage-badge.styles.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +50 -33
- package/dist/components/conversation/voice-picker/voice-picker.class.js +14 -95
- package/dist/components/conversation/voice-picker/voice-picker.styles.js +1 -1
- package/dist/components/conversation/widget-renderer/widget-renderer.class.d.ts +3 -5
- package/dist/components/conversation/widget-renderer/widget-renderer.class.js +2 -2
- package/dist/components/data/calendar/calendar.class.d.ts +21 -6
- package/dist/components/data/calendar/calendar.class.js +2 -2
- package/dist/components/data/calendar/calendar.styles.js +1 -1
- package/dist/components/data/chord/chord-layout.d.ts +6 -0
- package/dist/components/data/chord/chord-layout.js +1 -0
- package/dist/components/data/chord/chord.class.d.ts +61 -0
- package/dist/components/data/chord/chord.class.js +5 -0
- package/dist/components/data/choropleth/choropleth-geometry.d.ts +7 -0
- package/dist/components/data/choropleth/choropleth-geometry.js +1 -0
- package/dist/components/data/choropleth/choropleth-layout.d.ts +7 -0
- package/dist/components/data/choropleth/choropleth-layout.js +1 -0
- package/dist/components/data/choropleth/choropleth.class.d.ts +73 -0
- package/dist/components/data/choropleth/choropleth.class.js +1 -0
- package/dist/components/data/condition-builder/condition-builder-register.d.ts +1 -1
- package/dist/components/data/condition-builder/condition-builder-register.js +1 -1
- package/dist/components/data/condition-builder/condition-builder.class.d.ts +9 -6
- package/dist/components/data/condition-builder/condition-builder.class.js +18 -117
- package/dist/components/data/condition-builder/condition-builder.styles.js +1 -1
- package/dist/components/data/context-meter/context-meter.class.d.ts +9 -7
- package/dist/components/data/context-meter/context-meter.class.js +12 -65
- package/dist/components/data/context-meter/context-meter.styles.js +1 -1
- package/dist/components/data/data-grid/data-grid-processing.js +2 -2
- package/dist/components/data/data-grid/data-grid-support.js +1 -0
- package/dist/components/data/data-grid/data-grid-types.d.ts +8 -6
- package/dist/components/data/data-grid/data-grid.class.d.ts +45 -16
- package/dist/components/data/data-grid/data-grid.class.js +56 -374
- package/dist/components/data/data-grid/data-grid.styles.js +1 -1
- package/dist/components/data/document-library/document-library-support.d.ts +11 -0
- package/dist/components/data/document-library/document-library-support.js +1 -0
- package/dist/components/data/document-library/document-library.class.d.ts +21 -16
- package/dist/components/data/document-library/document-library.class.js +16 -115
- package/dist/components/data/document-library/document-library.styles.js +1 -1
- package/dist/components/data/env-list/env-list.class.d.ts +11 -6
- package/dist/components/data/env-list/env-list.class.js +8 -17
- package/dist/components/data/env-list/env-list.styles.js +1 -1
- package/dist/components/data/file-tree/file-tree.class.d.ts +11 -4
- package/dist/components/data/file-tree/file-tree.class.js +3 -20
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +25 -21
- package/dist/components/data/flow-canvas/flow-canvas.class.js +22 -127
- package/dist/components/data/flow-canvas/flow-canvas.styles.js +1 -1
- package/dist/components/data/flow-canvas/flow-companion-controller.js +1 -1
- package/dist/components/data/flow-canvas/flow-model.js +1 -1
- package/dist/components/data/flow-canvas/flow-status.styles.js +1 -1
- package/dist/components/data/flow-canvas/flow-types.d.ts +1 -2
- package/dist/components/data/flow-controls/flow-controls.class.d.ts +16 -2
- package/dist/components/data/flow-controls/flow-controls.class.js +6 -55
- package/dist/components/data/flow-controls/flow-controls.styles.js +1 -1
- package/dist/components/data/flow-minimap/flow-minimap.class.d.ts +5 -1
- package/dist/components/data/flow-minimap/flow-minimap.class.js +5 -44
- package/dist/components/data/flow-minimap/flow-minimap.styles.js +1 -1
- package/dist/components/data/flow-node/flow-node.class.d.ts +5 -6
- package/dist/components/data/flow-node/flow-node.class.js +13 -35
- package/dist/components/data/flow-node/flow-node.styles.js +1 -1
- package/dist/components/data/flow-run-status/flow-run-status.class.js +2 -2
- package/dist/components/data/flow-run-status/flow-run-status.styles.js +1 -1
- package/dist/components/data/funnel/funnel.class.d.ts +13 -13
- package/dist/components/data/funnel/funnel.class.js +9 -16
- package/dist/components/data/gauge/gauge.class.d.ts +7 -1
- package/dist/components/data/gauge/gauge.class.js +16 -81
- package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +36 -7
- package/dist/components/data/graph-query-builder/graph-query-builder.class.js +19 -102
- package/dist/components/data/graph-query-builder/graph-query-builder.styles.js +1 -1
- package/dist/components/data/heatmap/calendar-grid.d.ts +4 -21
- package/dist/components/data/heatmap/calendar-grid.js +1 -1
- package/dist/components/data/heatmap/heatmap-colors.d.ts +3 -14
- package/dist/components/data/heatmap/heatmap-colors.js +1 -1
- package/dist/components/data/heatmap/heatmap-config.js +1 -0
- package/dist/components/data/heatmap/heatmap-grid-navigation.js +1 -1
- package/dist/components/data/heatmap/heatmap-model.d.ts +121 -0
- package/dist/components/data/heatmap/heatmap-model.js +1 -0
- package/dist/components/data/heatmap/heatmap-source-view.js +15 -0
- package/dist/components/data/heatmap/heatmap.class.d.ts +108 -134
- package/dist/components/data/heatmap/heatmap.class.js +25 -107
- package/dist/components/data/heatmap/heatmap.styles.js +1 -1
- package/dist/components/data/index.d.ts +1 -1
- package/dist/components/data/index.js +1 -1
- package/dist/components/data/pagination/pagination.class.d.ts +55 -18
- package/dist/components/data/pagination/pagination.class.js +20 -95
- package/dist/components/data/pagination/pagination.styles.js +1 -1
- package/dist/components/data/sankey/sankey-layout.d.ts +21 -0
- package/dist/components/data/sankey/sankey-layout.js +1 -0
- package/dist/components/data/sankey/sankey.class.d.ts +57 -0
- package/dist/components/data/sankey/sankey.class.js +2 -0
- package/dist/components/data/sequence-strip/sequence-strip-item.d.ts +1 -1
- package/dist/components/data/sequence-strip/sequence-strip.class.d.ts +4 -4
- package/dist/components/data/sequence-strip/sequence-strip.class.js +16 -53
- package/dist/components/data/sequence-strip/sequence-strip.styles.js +1 -1
- package/dist/components/data/sparkline/sparkline.class.d.ts +5 -2
- package/dist/components/data/sparkline/sparkline.class.js +4 -20
- package/dist/components/data/stat/stat.class.d.ts +76 -20
- package/dist/components/data/stat/stat.class.js +16 -34
- package/dist/components/data/stat/stat.styles.js +1 -1
- package/dist/components/data/table/table-row-attributes.js +1 -0
- package/dist/components/data/table/table-support.d.ts +339 -0
- package/dist/components/data/table/table-support.js +1 -0
- package/dist/components/data/table/table.class.d.ts +195 -272
- package/dist/components/data/table/table.class.js +27 -196
- package/dist/components/data/table/table.styles.js +1 -1
- package/dist/components/data/timeline/timeline-item.class.d.ts +41 -7
- package/dist/components/data/timeline/timeline-item.class.js +21 -40
- package/dist/components/data/timeline/timeline-item.styles.js +1 -1
- package/dist/components/data/timeline/timeline.class.d.ts +79 -7
- package/dist/components/data/timeline/timeline.class.js +11 -7
- package/dist/components/data/timeline/timeline.styles.js +1 -1
- package/dist/components/data/tree/tree-item.class.d.ts +12 -2
- package/dist/components/data/tree/tree-item.class.js +6 -31
- package/dist/components/data/tree/tree-item.styles.js +1 -1
- package/dist/components/data/tree/tree-owner-controller.js +1 -1
- package/dist/components/data/tree/tree-pointer-reorder.js +1 -1
- package/dist/components/data/tree/tree.class.d.ts +4 -4
- package/dist/components/data/tree/tree.class.js +4 -14
- package/dist/components/data/treemap/treemap-layout.d.ts +9 -0
- package/dist/components/data/treemap/treemap-layout.js +1 -0
- package/dist/components/data/treemap/treemap.class.d.ts +52 -0
- package/dist/components/data/treemap/treemap.class.js +4 -0
- package/dist/components/data/word-cloud/word-cloud.class.d.ts +4 -4
- package/dist/components/data/word-cloud/word-cloud.class.js +9 -48
- package/dist/components/data/word-cloud/word-cloud.styles.js +1 -1
- package/dist/components/forms/button/button.class.d.ts +20 -5
- package/dist/components/forms/button/button.class.js +5 -48
- package/dist/components/forms/button/button.styles.js +1 -1
- package/dist/components/forms/catalog-picker-base.d.ts +27 -5
- package/dist/components/forms/catalog-picker-base.js +12 -5
- package/dist/components/forms/catalog-picker-base.styles.js +1 -1
- package/dist/components/forms/checkbox/checkbox.class.d.ts +23 -12
- package/dist/components/forms/checkbox/checkbox.class.js +4 -53
- package/dist/components/forms/checkbox/checkbox.styles.js +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +55 -10
- package/dist/components/forms/checkbox-group/checkbox-group.class.js +6 -17
- package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +88 -19
- package/dist/components/forms/code-editor/code-editor.class.js +15 -69
- package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
- package/dist/components/forms/color-picker/color-core.d.ts +5 -2
- package/dist/components/forms/color-picker/color-core.js +1 -1
- package/dist/components/forms/color-picker/color-picker.class.d.ts +72 -14
- package/dist/components/forms/color-picker/color-picker.class.js +23 -154
- package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
- package/dist/components/forms/combobox/combobox-catalog.js +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +192 -23
- package/dist/components/forms/combobox/combobox.class.js +26 -110
- package/dist/components/forms/combobox/combobox.styles.js +1 -1
- package/dist/components/forms/combobox/option.class.d.ts +6 -2
- package/dist/components/forms/combobox/option.class.js +2 -15
- package/dist/components/forms/combobox/option.styles.js +1 -1
- package/dist/components/forms/country-picker/country-picker.class.d.ts +28 -1
- package/dist/components/forms/country-picker/country-picker.class.js +1 -1
- package/dist/components/forms/currency-picker/currency-catalog.js +1 -1
- package/dist/components/forms/currency-picker/currency-picker.class.d.ts +27 -0
- package/dist/components/forms/currency-picker/currency-picker.class.js +1 -1
- package/dist/components/forms/date-picker/calendar-core.d.ts +1 -49
- package/dist/components/forms/date-picker/calendar-core.js +1 -1
- package/dist/components/forms/date-picker/date-input.class.d.ts +146 -17
- package/dist/components/forms/date-picker/date-input.class.js +15 -119
- package/dist/components/forms/date-picker/date-input.styles.js +1 -1
- package/dist/components/forms/date-picker/date-picker-disabled-dates.js +1 -1
- package/dist/components/forms/date-picker/date-picker.class.d.ts +85 -17
- package/dist/components/forms/date-picker/date-picker.class.js +20 -108
- package/dist/components/forms/date-picker/date-picker.styles.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-data-loader.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +23 -6
- package/dist/components/forms/emoji-picker/emoji-picker.class.js +7 -69
- package/dist/components/forms/emoji-picker/emoji-picker.styles.js +1 -1
- package/dist/components/forms/icon-button/icon-button.class.d.ts +21 -10
- package/dist/components/forms/icon-button/icon-button.class.js +1 -37
- package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
- package/dist/components/forms/index.d.ts +1 -1
- package/dist/components/forms/index.js +1 -1
- package/dist/components/forms/input/input-shared.d.ts +57 -13
- package/dist/components/forms/input/input-shared.js +13 -88
- package/dist/components/forms/input/input.styles.js +1 -1
- package/dist/components/forms/input/number-input.class.js +3 -17
- package/dist/components/forms/input/number-input.styles.js +1 -1
- package/dist/components/forms/input/time-input.class.d.ts +71 -7
- package/dist/components/forms/input/time-input.class.js +15 -109
- package/dist/components/forms/input/time-input.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +49 -9
- package/dist/components/forms/locale-picker/locale-picker.class.js +11 -74
- package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
- package/dist/components/forms/otp-input/otp-input.class.d.ts +45 -4
- package/dist/components/forms/otp-input/otp-input.class.js +4 -38
- package/dist/components/forms/otp-input/otp-input.styles.js +1 -1
- package/dist/components/forms/phone-input/phone-input.class.d.ts +54 -14
- package/dist/components/forms/phone-input/phone-input.class.js +11 -53
- package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
- package/dist/components/forms/phone-input/phone-number-adapter.js +1 -1
- package/dist/components/forms/radio/radio-button.class.d.ts +5 -1
- package/dist/components/forms/radio/radio-button.class.js +1 -1
- package/dist/components/forms/radio/radio-button.styles.js +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +68 -10
- package/dist/components/forms/radio/radio-group.class.js +5 -17
- package/dist/components/forms/radio/radio-group.styles.js +1 -1
- package/dist/components/forms/radio/radio.class.d.ts +24 -9
- package/dist/components/forms/radio/radio.class.js +5 -19
- package/dist/components/forms/radio/radio.styles.js +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +35 -12
- package/dist/components/forms/rubric-form/rubric-form.class.js +15 -103
- package/dist/components/forms/rubric-form/rubric-form.styles.js +1 -1
- package/dist/components/forms/select/select.class.d.ts +71 -18
- package/dist/components/forms/select/select.class.js +22 -115
- package/dist/components/forms/select/select.styles.js +1 -1
- package/dist/components/forms/signature-pad/signature-pad.class.d.ts +66 -5
- package/dist/components/forms/signature-pad/signature-pad.class.js +7 -30
- package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +77 -9
- package/dist/components/forms/slider/slider.class.js +20 -54
- package/dist/components/forms/slider/slider.styles.js +1 -1
- package/dist/components/forms/swatch-picker/swatch-picker.class.d.ts +26 -11
- package/dist/components/forms/swatch-picker/swatch-picker.class.js +4 -22
- package/dist/components/forms/swatch-picker/swatch-picker.styles.js +1 -1
- package/dist/components/forms/switch/switch.class.d.ts +13 -7
- package/dist/components/forms/switch/switch.class.js +4 -25
- package/dist/components/forms/switch/switch.styles.js +1 -1
- package/dist/components/forms/textarea/textarea.class.d.ts +53 -14
- package/dist/components/forms/textarea/textarea.class.js +4 -36
- package/dist/components/forms/textarea/textarea.styles.js +1 -1
- package/dist/components/forms/time-range/time-range.class.d.ts +34 -22
- package/dist/components/forms/time-range/time-range.class.js +7 -60
- package/dist/components/forms/time-range/time-range.styles.js +1 -1
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +27 -0
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.js +1 -1
- package/dist/components/forms/toggle/toggle.class.d.ts +1 -1
- package/dist/components/forms/toggle/toggle.class.js +1 -13
- package/dist/components/forms/toggle/toggle.styles.js +1 -1
- package/dist/components/forms/toggle-group/toggle-group.class.d.ts +5 -5
- package/dist/components/forms/toggle-group/toggle-group.class.js +1 -1
- package/dist/components/forms/token-input/token-input.class.d.ts +165 -31
- package/dist/components/forms/token-input/token-input.class.js +21 -85
- package/dist/components/forms/token-input/token-input.styles.js +1 -1
- package/dist/components/forms/unit-picker/unit-picker.class.d.ts +27 -0
- package/dist/components/forms/unit-picker/unit-picker.class.js +1 -1
- package/dist/components/layout/app-rail/app-rail-item.class.d.ts +48 -13
- package/dist/components/layout/app-rail/app-rail-item.class.js +6 -39
- package/dist/components/layout/app-rail/app-rail-item.styles.js +1 -1
- package/dist/components/layout/app-rail/app-rail.class.d.ts +75 -40
- package/dist/components/layout/app-rail/app-rail.class.js +9 -54
- package/dist/components/layout/app-rail/app-rail.styles.js +1 -1
- package/dist/components/layout/app-rail-group/app-rail-group.class.d.ts +29 -3
- package/dist/components/layout/app-rail-group/app-rail-group.class.js +5 -23
- package/dist/components/layout/app-rail-group/app-rail-group.styles.js +1 -1
- package/dist/components/layout/breadcrumb/breadcrumb-item.class.d.ts +11 -1
- package/dist/components/layout/breadcrumb/breadcrumb-item.class.js +2 -9
- package/dist/components/layout/breadcrumb/breadcrumb-item.styles.js +1 -1
- package/dist/components/layout/breadcrumb/breadcrumb.class.d.ts +11 -9
- package/dist/components/layout/breadcrumb/breadcrumb.class.js +1 -1
- package/dist/components/layout/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/layout/button-group/button-group.class.d.ts +9 -3
- package/dist/components/layout/button-group/button-group.class.js +1 -1
- package/dist/components/layout/card/card.class.d.ts +56 -7
- package/dist/components/layout/card/card.class.js +6 -38
- package/dist/components/layout/card/card.styles.js +1 -1
- package/dist/components/layout/carousel/carousel-item.class.js +1 -1
- package/dist/components/layout/carousel/carousel-loop.js +1 -0
- package/dist/components/layout/carousel/carousel.class.d.ts +36 -8
- package/dist/components/layout/carousel/carousel.class.js +12 -63
- package/dist/components/layout/carousel/carousel.styles.js +1 -1
- package/dist/components/layout/command-palette/command-palette.class.d.ts +11 -3
- package/dist/components/layout/command-palette/command-palette.class.js +11 -70
- package/dist/components/layout/command-palette/command-palette.styles.js +1 -1
- package/dist/components/layout/control-group/control-group.class.d.ts +5 -3
- package/dist/components/layout/control-group/control-group.class.js +1 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid-register.d.ts +1 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid-register.js +1 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.d.ts +17 -7
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.js +4 -27
- package/dist/components/layout/dashboard-grid/dashboard-grid.styles.js +1 -1
- package/dist/components/layout/dashboard-grid/layout-internal.js +1 -1
- package/dist/components/layout/details/accordion-item.class.d.ts +12 -1
- package/dist/components/layout/details/accordion-item.class.js +5 -32
- package/dist/components/layout/details/accordion-item.styles.js +1 -1
- package/dist/components/layout/details/accordion.class.d.ts +1 -0
- package/dist/components/layout/details/accordion.class.js +1 -5
- package/dist/components/layout/details/details.class.d.ts +25 -11
- package/dist/components/layout/details/details.class.js +6 -34
- package/dist/components/layout/details/details.styles.js +1 -1
- package/dist/components/layout/details/disclosure-motion.js +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +14 -3
- package/dist/components/layout/dock-panel/dock-panel.class.js +3 -25
- package/dist/components/layout/dock-panel/dock-panel.styles.js +1 -1
- package/dist/components/layout/drilldown-panel/drilldown-panel.class.d.ts +4 -1
- package/dist/components/layout/drilldown-panel/drilldown-panel.class.js +17 -82
- package/dist/components/layout/drilldown-panel/drilldown-panel.styles.js +1 -1
- package/dist/components/layout/filter-bar/filter-bar.class.d.ts +22 -28
- package/dist/components/layout/filter-bar/filter-bar.class.js +19 -153
- package/dist/components/layout/filter-bar/filter-bar.styles.js +1 -1
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/layout/menu/dropdown-item.class.d.ts +8 -2
- package/dist/components/layout/menu/dropdown-item.class.js +1 -1
- package/dist/components/layout/menu/menu-item.class.d.ts +33 -15
- package/dist/components/layout/menu/menu-item.class.js +3 -17
- package/dist/components/layout/menu/menu-item.styles.js +1 -1
- package/dist/components/layout/menu/menu-label.class.d.ts +9 -1
- package/dist/components/layout/menu/menu-label.class.js +1 -1
- package/dist/components/layout/menu/menu.class.d.ts +34 -1
- package/dist/components/layout/menu/menu.class.js +4 -21
- package/dist/components/layout/menu/menu.styles.js +1 -1
- package/dist/components/layout/menubar/menubar-item.class.d.ts +9 -3
- package/dist/components/layout/menubar/menubar-item.class.js +1 -1
- package/dist/components/layout/menubar/menubar-item.styles.js +1 -1
- package/dist/components/layout/menubar/menubar.class.d.ts +11 -3
- package/dist/components/layout/menubar/menubar.class.js +1 -1
- package/dist/components/layout/menubar/menubar.styles.js +1 -1
- package/dist/components/layout/multi-split/multi-split-panel-ownership.js +1 -0
- package/dist/components/layout/multi-split/multi-split.class.d.ts +21 -18
- package/dist/components/layout/multi-split/multi-split.class.js +2 -16
- package/dist/components/layout/multi-split/multi-split.styles.js +1 -1
- package/dist/components/layout/navigation-menu/navigation-menu.class.d.ts +10 -6
- package/dist/components/layout/navigation-menu/navigation-menu.class.js +6 -24
- package/dist/components/layout/navigation-menu/navigation-menu.styles.js +1 -1
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.d.ts +5 -2
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.js +4 -27
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.styles.js +1 -1
- package/dist/components/layout/page/page.class.d.ts +31 -14
- package/dist/components/layout/page/page.class.js +11 -42
- package/dist/components/layout/page/page.styles.js +1 -1
- package/dist/components/layout/reorder-list/reorder-item.class.d.ts +1 -1
- package/dist/components/layout/reorder-list/reorder-item.class.js +5 -21
- package/dist/components/layout/reorder-list/reorder-item.styles.js +1 -1
- package/dist/components/layout/reorder-list/reorder-list.class.d.ts +5 -5
- package/dist/components/layout/reorder-list/reorder-list.class.js +3 -10
- package/dist/components/layout/reorder-list/reorder-list.styles.js +1 -1
- package/dist/components/layout/responsive-panel/responsive-panel.class.d.ts +27 -10
- package/dist/components/layout/responsive-panel/responsive-panel.class.js +3 -9
- package/dist/components/layout/responsive-panel/responsive-panel.styles.js +1 -1
- package/dist/components/layout/scroller/scroller.class.d.ts +16 -4
- package/dist/components/layout/scroller/scroller.class.js +9 -37
- package/dist/components/layout/scroller/scroller.styles.js +1 -1
- package/dist/components/layout/segmented/segmented.class.d.ts +63 -11
- package/dist/components/layout/segmented/segmented.class.js +7 -29
- package/dist/components/layout/segmented/segmented.styles.js +1 -1
- package/dist/components/layout/split-panel/split-panel.class.d.ts +9 -2
- package/dist/components/layout/split-panel/split-panel.class.js +4 -21
- package/dist/components/layout/split-panel/split-panel.styles.js +1 -1
- package/dist/components/layout/stepper/step.class.d.ts +89 -0
- package/dist/components/layout/stepper/step.class.js +18 -0
- package/dist/components/layout/stepper/step.styles.js +1 -0
- package/dist/components/layout/stepper/stepper.class.d.ts +123 -12
- package/dist/components/layout/stepper/stepper.class.js +12 -45
- package/dist/components/layout/stepper/stepper.styles.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.d.ts +38 -10
- package/dist/components/layout/tab-group/tab-group.class.js +8 -49
- package/dist/components/layout/tab-group/tab-group.styles.js +1 -1
- package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -0
- package/dist/components/layout/tab-group/tab-panel.class.js +1 -1
- package/dist/components/layout/tab-group/tab.class.d.ts +7 -1
- package/dist/components/layout/tab-group/tab.class.js +2 -8
- package/dist/components/layout/tab-group/tab.styles.js +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts +25 -13
- package/dist/components/layout/virtual-list/virtual-list.class.js +9 -6
- package/dist/components/layout/virtual-list/virtual-list.styles.js +1 -1
- package/dist/components/layout/widget/widget.class.d.ts +37 -14
- package/dist/components/layout/widget/widget.class.js +13 -57
- package/dist/components/layout/widget/widget.styles.js +1 -1
- package/dist/components/lr-accordion-item.d.ts +1 -0
- package/dist/components/lr-accordion-item.js +1 -1
- package/dist/components/lr-accordion.d.ts +1 -0
- package/dist/components/lr-accordion.js +1 -1
- package/dist/components/lr-activity-feed.d.ts +1 -0
- package/dist/components/lr-activity-feed.js +1 -1
- package/dist/components/lr-agent-eval-dashboard.d.ts +1 -0
- package/dist/components/lr-agent-eval-dashboard.js +1 -1
- package/dist/components/lr-agent-question.d.ts +1 -0
- package/dist/components/lr-agent-question.js +1 -1
- package/dist/components/lr-agent-run.d.ts +1 -0
- package/dist/components/lr-agent-run.js +1 -1
- package/dist/components/lr-agent-trace.d.ts +1 -0
- package/dist/components/lr-agent-trace.js +1 -1
- package/dist/components/lr-agent-workspace.d.ts +1 -0
- package/dist/components/lr-agent-workspace.js +1 -1
- package/dist/components/lr-alert.d.ts +1 -0
- package/dist/components/lr-alert.js +1 -1
- package/dist/components/lr-animated-image.d.ts +1 -0
- package/dist/components/lr-animated-image.js +1 -1
- package/dist/components/lr-animation.d.ts +1 -0
- package/dist/components/lr-animation.js +1 -1
- package/dist/components/lr-app-rail-group.d.ts +1 -0
- package/dist/components/lr-app-rail-group.js +1 -1
- package/dist/components/lr-app-rail-item.d.ts +1 -0
- package/dist/components/lr-app-rail-item.js +1 -1
- package/dist/components/lr-app-rail.d.ts +1 -0
- package/dist/components/lr-app-rail.js +1 -1
- package/dist/components/lr-approval-queue.d.ts +1 -0
- package/dist/components/lr-approval-queue.js +1 -1
- package/dist/components/lr-archive-viewer.d.ts +1 -0
- package/dist/components/lr-archive-viewer.js +1 -1
- package/dist/components/lr-artifact-panel.d.ts +1 -0
- package/dist/components/lr-artifact-panel.js +1 -1
- package/dist/components/lr-attachment-chip.d.ts +1 -0
- package/dist/components/lr-attachment-chip.js +1 -1
- package/dist/components/lr-attachment-trigger.d.ts +1 -0
- package/dist/components/lr-attachment-trigger.js +1 -1
- package/dist/components/lr-audio-visualizer.d.ts +1 -0
- package/dist/components/lr-audio-visualizer.js +1 -1
- package/dist/components/lr-av-player.d.ts +1 -0
- package/dist/components/lr-av-player.js +1 -1
- package/dist/components/lr-avatar-group.d.ts +1 -0
- package/dist/components/lr-avatar-group.js +1 -1
- package/dist/components/lr-avatar.d.ts +1 -0
- package/dist/components/lr-avatar.js +1 -1
- package/dist/components/lr-background-runs.d.ts +1 -0
- package/dist/components/lr-background-runs.js +1 -1
- package/dist/components/lr-badge.d.ts +1 -0
- package/dist/components/lr-badge.js +1 -1
- package/dist/components/lr-bar-chart.d.ts +1 -0
- package/dist/components/lr-bar-chart.js +1 -1
- package/dist/components/lr-box-plot.d.ts +1 -0
- package/dist/components/lr-box-plot.js +1 -1
- package/dist/components/lr-branch-picker.d.ts +1 -0
- package/dist/components/lr-branch-picker.js +1 -1
- package/dist/components/lr-breadcrumb-item.d.ts +1 -0
- package/dist/components/lr-breadcrumb-item.js +1 -1
- package/dist/components/lr-breadcrumb.d.ts +1 -0
- package/dist/components/lr-breadcrumb.js +1 -1
- package/dist/components/lr-browser-frame.d.ts +1 -0
- package/dist/components/lr-browser-frame.js +1 -1
- package/dist/components/lr-bubble-chart.d.ts +1 -0
- package/dist/components/lr-bubble-chart.js +1 -1
- package/dist/components/lr-budget-meter.d.ts +1 -0
- package/dist/components/lr-budget-meter.js +1 -1
- package/dist/components/lr-button-group.d.ts +1 -0
- package/dist/components/lr-button-group.js +1 -1
- package/dist/components/lr-button.d.ts +1 -0
- package/dist/components/lr-button.js +1 -1
- package/dist/components/lr-calendar-viewer.d.ts +1 -0
- package/dist/components/lr-calendar-viewer.js +1 -1
- package/dist/components/lr-calendar.d.ts +1 -0
- package/dist/components/lr-calendar.js +1 -1
- package/dist/components/lr-callout.d.ts +1 -0
- package/dist/components/lr-callout.js +1 -1
- package/dist/components/lr-card.d.ts +1 -0
- package/dist/components/lr-card.js +1 -1
- package/dist/components/lr-carousel-item.d.ts +1 -0
- package/dist/components/lr-carousel-item.js +1 -1
- package/dist/components/lr-carousel.d.ts +1 -0
- package/dist/components/lr-carousel.js +1 -1
- package/dist/components/lr-change-review.d.ts +1 -0
- package/dist/components/lr-change-review.js +1 -1
- package/dist/components/lr-chart-3d.d.ts +1 -0
- package/dist/components/lr-chart-3d.js +1 -1
- package/dist/components/lr-chart.d.ts +1 -0
- package/dist/components/lr-chart.js +1 -1
- package/dist/components/lr-chat-composer.d.ts +1 -0
- package/dist/components/lr-chat-composer.js +1 -1
- package/dist/components/lr-chat-message.d.ts +1 -0
- package/dist/components/lr-chat-message.js +1 -1
- package/dist/components/lr-chat-viewport.d.ts +1 -0
- package/dist/components/lr-chat-viewport.js +1 -1
- package/dist/components/lr-checkbox-group.d.ts +1 -0
- package/dist/components/lr-checkbox-group.js +1 -1
- package/dist/components/lr-checkbox.d.ts +1 -0
- package/dist/components/lr-checkbox.js +1 -1
- package/dist/components/lr-checkpoint.d.ts +1 -0
- package/dist/components/lr-checkpoint.js +1 -1
- package/dist/components/lr-chip-group.d.ts +1 -0
- package/dist/components/lr-chip-group.js +1 -1
- package/dist/components/lr-chip.d.ts +1 -0
- package/dist/components/lr-chip.js +1 -1
- package/dist/components/lr-chord.d.ts +1 -0
- package/dist/components/lr-chord.js +1 -0
- package/dist/components/lr-choropleth.d.ts +1 -0
- package/dist/components/lr-choropleth.js +1 -0
- package/dist/components/lr-chunk-inspector.d.ts +1 -0
- package/dist/components/lr-chunk-inspector.js +1 -1
- package/dist/components/lr-citation-badge.d.ts +1 -0
- package/dist/components/lr-citation-badge.js +1 -1
- package/dist/components/lr-claim-evidence.d.ts +1 -0
- package/dist/components/lr-claim-evidence.js +1 -1
- package/dist/components/lr-code-block-core.d.ts +1 -0
- package/dist/components/lr-code-block-core.js +1 -1
- package/dist/components/lr-code-block.d.ts +1 -0
- package/dist/components/lr-code-block.js +1 -1
- package/dist/components/lr-code-editor.d.ts +1 -0
- package/dist/components/lr-code-editor.js +1 -1
- package/dist/components/lr-color-picker.d.ts +1 -0
- package/dist/components/lr-color-picker.js +1 -1
- package/dist/components/lr-combobox.d.ts +1 -0
- package/dist/components/lr-combobox.js +1 -1
- package/dist/components/lr-command-palette.d.ts +1 -0
- package/dist/components/lr-command-palette.js +1 -1
- package/dist/components/lr-commit-card.d.ts +1 -0
- package/dist/components/lr-commit-card.js +1 -1
- package/dist/components/lr-community-card.d.ts +1 -0
- package/dist/components/lr-community-card.js +1 -1
- package/dist/components/lr-compare-panel.d.ts +1 -0
- package/dist/components/lr-compare-panel.js +1 -1
- package/dist/components/lr-condition-builder.d.ts +1 -0
- package/dist/components/lr-condition-builder.js +1 -1
- package/dist/components/lr-confirm-bar.d.ts +1 -0
- package/dist/components/lr-confirm-bar.js +1 -1
- package/dist/components/lr-connector-manager.d.ts +1 -0
- package/dist/components/lr-connector-manager.js +1 -1
- package/dist/components/lr-contact-viewer.d.ts +1 -0
- package/dist/components/lr-contact-viewer.js +1 -1
- package/dist/components/lr-context-inspector.d.ts +1 -0
- package/dist/components/lr-context-inspector.js +1 -1
- package/dist/components/lr-context-menu.d.ts +1 -0
- package/dist/components/lr-context-menu.js +1 -1
- package/dist/components/lr-context-meter.d.ts +1 -0
- package/dist/components/lr-context-meter.js +1 -1
- package/dist/components/lr-control-group.d.ts +1 -0
- package/dist/components/lr-control-group.js +1 -1
- package/dist/components/lr-conversation-item.d.ts +1 -0
- package/dist/components/lr-conversation-item.js +1 -1
- package/dist/components/lr-copy-button.d.ts +1 -0
- package/dist/components/lr-copy-button.js +1 -1
- package/dist/components/lr-counter.d.ts +1 -0
- package/dist/components/lr-counter.js +1 -0
- package/dist/components/lr-country-picker.d.ts +1 -0
- package/dist/components/lr-country-picker.js +1 -1
- package/dist/components/lr-csv-viewer.d.ts +1 -0
- package/dist/components/lr-csv-viewer.js +1 -1
- package/dist/components/lr-currency-picker.d.ts +1 -0
- package/dist/components/lr-currency-picker.js +1 -1
- package/dist/components/lr-dashboard-grid.d.ts +1 -0
- package/dist/components/lr-dashboard-grid.js +1 -1
- package/dist/components/lr-data-grid.d.ts +1 -0
- package/dist/components/lr-data-grid.js +1 -1
- package/dist/components/lr-dataset-viewer.d.ts +1 -0
- package/dist/components/lr-dataset-viewer.js +1 -1
- package/dist/components/lr-date-input.d.ts +1 -0
- package/dist/components/lr-date-input.js +1 -1
- package/dist/components/lr-date-picker.d.ts +1 -0
- package/dist/components/lr-date-picker.js +1 -1
- package/dist/components/lr-details.d.ts +1 -0
- package/dist/components/lr-details.js +1 -1
- package/dist/components/lr-dialog.d.ts +1 -0
- package/dist/components/lr-dialog.js +1 -1
- package/dist/components/lr-diff-view.d.ts +1 -0
- package/dist/components/lr-diff-view.js +1 -1
- package/dist/components/lr-divider.d.ts +1 -0
- package/dist/components/lr-divider.js +1 -1
- package/dist/components/lr-dock-panel.d.ts +1 -0
- package/dist/components/lr-dock-panel.js +1 -1
- package/dist/components/lr-document-compare.d.ts +1 -0
- package/dist/components/lr-document-compare.js +1 -1
- package/dist/components/lr-document-library.d.ts +1 -0
- package/dist/components/lr-document-library.js +1 -1
- package/dist/components/lr-document-preview.d.ts +1 -0
- package/dist/components/lr-document-preview.js +1 -1
- package/dist/components/lr-document-viewer.d.ts +1 -0
- package/dist/components/lr-document-viewer.js +1 -1
- package/dist/components/lr-docx-viewer.d.ts +1 -0
- package/dist/components/lr-docx-viewer.js +1 -1
- package/dist/components/lr-doughnut-chart.d.ts +1 -0
- package/dist/components/lr-doughnut-chart.js +1 -1
- package/dist/components/lr-drawer.d.ts +1 -0
- package/dist/components/lr-drawer.js +1 -1
- package/dist/components/lr-drilldown-panel.d.ts +1 -0
- package/dist/components/lr-drilldown-panel.js +1 -1
- package/dist/components/lr-drop-zone.d.ts +1 -0
- package/dist/components/lr-drop-zone.js +1 -1
- package/dist/components/lr-dropdown-item.d.ts +1 -0
- package/dist/components/lr-dropdown-item.js +1 -1
- package/dist/components/lr-dropdown.d.ts +1 -0
- package/dist/components/lr-dropdown.js +1 -1
- package/dist/components/lr-ebook-viewer.d.ts +1 -0
- package/dist/components/lr-ebook-viewer.js +1 -1
- package/dist/components/lr-email-viewer.d.ts +1 -0
- package/dist/components/lr-email-viewer.js +1 -1
- package/dist/components/lr-embedding-explorer.d.ts +1 -0
- package/dist/components/lr-embedding-explorer.js +1 -1
- package/dist/components/lr-emoji-picker.d.ts +1 -0
- package/dist/components/lr-emoji-picker.js +1 -1
- package/dist/components/lr-empty.d.ts +1 -0
- package/dist/components/lr-empty.js +1 -1
- package/dist/components/lr-entity-card.d.ts +1 -0
- package/dist/components/lr-entity-card.js +1 -1
- package/dist/components/lr-entity-chip.d.ts +1 -0
- package/dist/components/lr-entity-chip.js +1 -1
- package/dist/components/lr-entity-dossier.d.ts +1 -0
- package/dist/components/lr-entity-dossier.js +1 -1
- package/dist/components/lr-env-list.d.ts +1 -0
- package/dist/components/lr-env-list.js +1 -1
- package/dist/components/lr-eval-dataset.d.ts +1 -0
- package/dist/components/lr-eval-dataset.js +1 -1
- package/dist/components/lr-eval-result.d.ts +1 -0
- package/dist/components/lr-eval-result.js +1 -1
- package/dist/components/lr-eval-run.d.ts +1 -0
- package/dist/components/lr-eval-run.js +1 -1
- package/dist/components/lr-export-button.d.ts +1 -0
- package/dist/components/lr-export-button.js +1 -1
- package/dist/components/lr-file-icon.d.ts +1 -0
- package/dist/components/lr-file-icon.js +1 -1
- package/dist/components/lr-file-input.d.ts +1 -0
- package/dist/components/lr-file-input.js +1 -1
- package/dist/components/lr-file-tree.d.ts +1 -0
- package/dist/components/lr-file-tree.js +1 -1
- package/dist/components/lr-filter-bar.d.ts +1 -0
- package/dist/components/lr-filter-bar.js +1 -1
- package/dist/components/lr-flag.d.ts +1 -0
- package/dist/components/lr-flag.js +1 -1
- package/dist/components/lr-flow-canvas.d.ts +1 -0
- package/dist/components/lr-flow-canvas.js +1 -1
- package/dist/components/lr-flow-controls.d.ts +1 -0
- package/dist/components/lr-flow-controls.js +1 -1
- package/dist/components/lr-flow-minimap.d.ts +1 -0
- package/dist/components/lr-flow-minimap.js +1 -1
- package/dist/components/lr-flow-node.d.ts +1 -0
- package/dist/components/lr-flow-node.js +1 -1
- package/dist/components/lr-flow-run-status.d.ts +1 -0
- package/dist/components/lr-flow-run-status.js +1 -1
- package/dist/components/lr-format-bytes.d.ts +1 -0
- package/dist/components/lr-format-bytes.js +1 -1
- package/dist/components/lr-format-date.d.ts +1 -0
- package/dist/components/lr-format-date.js +1 -1
- package/dist/components/lr-format-number.d.ts +1 -0
- package/dist/components/lr-format-number.js +1 -1
- package/dist/components/lr-funnel.d.ts +1 -0
- package/dist/components/lr-funnel.js +1 -1
- package/dist/components/lr-gauge.d.ts +1 -0
- package/dist/components/lr-gauge.js +1 -1
- package/dist/components/lr-generation-metrics.d.ts +1 -0
- package/dist/components/lr-generation-metrics.js +1 -1
- package/dist/components/lr-geojson-viewer.d.ts +1 -0
- package/dist/components/lr-geojson-viewer.js +1 -1
- package/dist/components/lr-graph-legend.d.ts +1 -0
- package/dist/components/lr-graph-legend.js +1 -1
- package/dist/components/lr-graph-query-builder.d.ts +1 -0
- package/dist/components/lr-graph-query-builder.js +1 -1
- package/dist/components/lr-graph.d.ts +1 -0
- package/dist/components/lr-graph.js +1 -1
- package/dist/components/lr-grounding-summary.d.ts +1 -0
- package/dist/components/lr-grounding-summary.js +1 -1
- package/dist/components/lr-handoff-divider.d.ts +1 -0
- package/dist/components/lr-handoff-divider.js +1 -1
- package/dist/components/lr-heatmap.d.ts +1 -0
- package/dist/components/lr-heatmap.js +1 -1
- package/dist/components/lr-help.d.ts +1 -0
- package/dist/components/lr-help.js +1 -0
- package/dist/components/lr-highlight-layer.d.ts +1 -0
- package/dist/components/lr-highlight-layer.js +1 -1
- package/dist/components/lr-histogram.d.ts +1 -0
- package/dist/components/lr-histogram.js +1 -1
- package/dist/components/lr-html-viewer.d.ts +1 -0
- package/dist/components/lr-html-viewer.js +1 -1
- package/dist/components/lr-icon-button.d.ts +1 -0
- package/dist/components/lr-icon-button.js +1 -1
- package/dist/components/lr-icon.d.ts +1 -0
- package/dist/components/lr-icon.js +1 -1
- package/dist/components/lr-image-comparer.d.ts +1 -0
- package/dist/components/lr-image-comparer.js +1 -1
- package/dist/components/lr-image-viewer.d.ts +1 -0
- package/dist/components/lr-image-viewer.js +1 -1
- package/dist/components/lr-include.d.ts +1 -0
- package/dist/components/lr-include.js +1 -1
- package/dist/components/lr-ingestion-queue.d.ts +1 -0
- package/dist/components/lr-ingestion-queue.js +1 -1
- package/dist/components/lr-input.d.ts +1 -0
- package/dist/components/lr-input.js +1 -1
- package/dist/components/lr-intersection-observer.d.ts +1 -0
- package/dist/components/lr-intersection-observer.js +1 -1
- package/dist/components/lr-json-schema-viewer.d.ts +1 -0
- package/dist/components/lr-json-schema-viewer.js +1 -1
- package/dist/components/lr-json-viewer.d.ts +1 -0
- package/dist/components/lr-json-viewer.js +1 -1
- package/dist/components/lr-kbd.d.ts +1 -0
- package/dist/components/lr-kbd.js +1 -1
- package/dist/components/lr-knowledge-base-admin.d.ts +1 -0
- package/dist/components/lr-knowledge-base-admin.js +1 -1
- package/dist/components/lr-knowledge-base.d.ts +1 -0
- package/dist/components/lr-knowledge-base.js +1 -1
- package/dist/components/lr-knowledge-graph-explorer.d.ts +1 -0
- package/dist/components/lr-knowledge-graph-explorer.js +1 -1
- package/dist/components/lr-known-date.d.ts +1 -0
- package/dist/components/lr-known-date.js +1 -1
- package/dist/components/lr-lightbox-item.d.ts +1 -0
- package/dist/components/lr-lightbox-item.js +1 -0
- package/dist/components/lr-lightbox.d.ts +1 -0
- package/dist/components/lr-lightbox.js +1 -1
- package/dist/components/lr-line-chart.d.ts +1 -0
- package/dist/components/lr-line-chart.js +1 -1
- package/dist/components/lr-lite-chart.d.ts +1 -0
- package/dist/components/lr-lite-chart.js +1 -1
- package/dist/components/lr-live-region.d.ts +1 -0
- package/dist/components/lr-live-region.js +1 -1
- package/dist/components/lr-locale-picker.d.ts +1 -0
- package/dist/components/lr-locale-picker.js +1 -1
- package/dist/components/lr-map-anchor.d.ts +1 -0
- package/dist/components/lr-map-anchor.js +1 -1
- package/dist/components/lr-map.d.ts +1 -0
- package/dist/components/lr-map.js +1 -1
- package/dist/components/lr-markdown-core.d.ts +1 -0
- package/dist/components/lr-markdown-core.js +1 -1
- package/dist/components/lr-markdown.d.ts +1 -0
- package/dist/components/lr-markdown.js +1 -1
- package/dist/components/lr-mcp-app.d.ts +1 -0
- package/dist/components/lr-mcp-app.js +1 -1
- package/dist/components/lr-media-card.d.ts +1 -0
- package/dist/components/lr-media-card.js +1 -1
- package/dist/components/lr-memory-panel.d.ts +1 -0
- package/dist/components/lr-memory-panel.js +1 -1
- package/dist/components/lr-mention-popover.d.ts +1 -0
- package/dist/components/lr-mention-popover.js +1 -1
- package/dist/components/lr-menu-item.d.ts +1 -0
- package/dist/components/lr-menu-item.js +1 -1
- package/dist/components/lr-menu-label.d.ts +1 -0
- package/dist/components/lr-menu-label.js +1 -1
- package/dist/components/lr-menu.d.ts +1 -0
- package/dist/components/lr-menu.js +1 -1
- package/dist/components/lr-menubar-item.d.ts +1 -0
- package/dist/components/lr-menubar-item.js +1 -1
- package/dist/components/lr-menubar.d.ts +1 -0
- package/dist/components/lr-menubar.js +1 -1
- package/dist/components/lr-message-actions.d.ts +1 -0
- package/dist/components/lr-message-actions.js +1 -1
- package/dist/components/lr-message-feedback.d.ts +1 -0
- package/dist/components/lr-message-feedback.js +1 -1
- package/dist/components/lr-message-parts.d.ts +1 -0
- package/dist/components/lr-message-parts.js +1 -1
- package/dist/components/lr-mind-map.d.ts +1 -0
- package/dist/components/lr-mind-map.js +1 -1
- package/dist/components/lr-model-select.d.ts +1 -0
- package/dist/components/lr-model-select.js +1 -1
- package/dist/components/lr-model-settings-panel.d.ts +1 -0
- package/dist/components/lr-model-settings-panel.js +1 -1
- package/dist/components/lr-model-viewer.d.ts +1 -0
- package/dist/components/lr-model-viewer.js +1 -1
- package/dist/components/lr-multi-split.d.ts +1 -0
- package/dist/components/lr-multi-split.js +1 -1
- package/dist/components/lr-mutation-observer.d.ts +1 -0
- package/dist/components/lr-mutation-observer.js +1 -1
- package/dist/components/lr-native-time-input.d.ts +1 -0
- package/dist/components/lr-native-time-input.js +1 -1
- package/dist/components/lr-navigation-menu-item.d.ts +1 -0
- package/dist/components/lr-navigation-menu-item.js +1 -1
- package/dist/components/lr-navigation-menu.d.ts +1 -0
- package/dist/components/lr-navigation-menu.js +1 -1
- package/dist/components/lr-neighbor-list.d.ts +1 -0
- package/dist/components/lr-neighbor-list.js +1 -1
- package/dist/components/lr-node-palette.d.ts +1 -0
- package/dist/components/lr-node-palette.js +1 -1
- package/dist/components/lr-notebook-viewer.d.ts +1 -0
- package/dist/components/lr-notebook-viewer.js +1 -1
- package/dist/components/lr-number-input.d.ts +1 -0
- package/dist/components/lr-number-input.js +1 -1
- package/dist/components/lr-number-ticker.d.ts +1 -0
- package/dist/components/lr-number-ticker.js +1 -0
- package/dist/components/lr-option.d.ts +1 -0
- package/dist/components/lr-option.js +1 -1
- package/dist/components/lr-otp-input.d.ts +1 -0
- package/dist/components/lr-otp-input.js +1 -1
- package/dist/components/lr-page-rail.d.ts +1 -0
- package/dist/components/lr-page-rail.js +1 -1
- package/dist/components/lr-page.d.ts +1 -0
- package/dist/components/lr-page.js +1 -1
- package/dist/components/lr-pagination.d.ts +1 -0
- package/dist/components/lr-pagination.js +1 -1
- package/dist/components/lr-pan-zoom.d.ts +1 -0
- package/dist/components/lr-pan-zoom.js +1 -1
- package/dist/components/lr-path-strip.d.ts +1 -0
- package/dist/components/lr-path-strip.js +1 -1
- package/dist/components/lr-pdf-viewer.d.ts +1 -0
- package/dist/components/lr-pdf-viewer.js +1 -1
- package/dist/components/lr-permission-grant.d.ts +1 -0
- package/dist/components/lr-permission-grant.js +1 -1
- package/dist/components/lr-permission-rules.d.ts +1 -0
- package/dist/components/lr-permission-rules.js +1 -1
- package/dist/components/lr-phone-input.d.ts +1 -0
- package/dist/components/lr-phone-input.js +1 -1
- package/dist/components/lr-pie-chart.d.ts +1 -0
- package/dist/components/lr-pie-chart.js +1 -1
- package/dist/components/lr-polar-area-chart.d.ts +1 -0
- package/dist/components/lr-polar-area-chart.js +1 -1
- package/dist/components/lr-policy-summary.d.ts +1 -0
- package/dist/components/lr-policy-summary.js +1 -1
- package/dist/components/lr-poll-status.d.ts +1 -0
- package/dist/components/lr-poll-status.js +1 -1
- package/dist/components/lr-popover.d.ts +1 -0
- package/dist/components/lr-popover.js +1 -1
- package/dist/components/lr-popup.d.ts +1 -0
- package/dist/components/lr-popup.js +1 -1
- package/dist/components/lr-pptx-viewer.d.ts +1 -0
- package/dist/components/lr-pptx-viewer.js +1 -1
- package/dist/components/lr-progress-bar.d.ts +1 -0
- package/dist/components/lr-progress-bar.js +1 -1
- package/dist/components/lr-progress-ring.d.ts +1 -0
- package/dist/components/lr-progress-ring.js +1 -1
- package/dist/components/lr-prompt-input.d.ts +1 -0
- package/dist/components/lr-prompt-input.js +1 -1
- package/dist/components/lr-prompt-queue.d.ts +1 -0
- package/dist/components/lr-prompt-queue.js +1 -1
- package/dist/components/lr-prompt-studio.d.ts +1 -0
- package/dist/components/lr-prompt-studio.js +1 -1
- package/dist/components/lr-provenance-panel.d.ts +1 -0
- package/dist/components/lr-provenance-panel.js +1 -1
- package/dist/components/lr-push-to-talk.d.ts +1 -0
- package/dist/components/lr-push-to-talk.js +1 -1
- package/dist/components/lr-qr-code.d.ts +1 -0
- package/dist/components/lr-qr-code.js +1 -1
- package/dist/components/lr-radar-chart.d.ts +1 -0
- package/dist/components/lr-radar-chart.js +1 -1
- package/dist/components/lr-radio-button.d.ts +1 -0
- package/dist/components/lr-radio-button.js +1 -1
- package/dist/components/lr-radio-group.d.ts +1 -0
- package/dist/components/lr-radio-group.js +1 -1
- package/dist/components/lr-radio.d.ts +1 -0
- package/dist/components/lr-radio.js +1 -1
- package/dist/components/lr-rag-answer.d.ts +1 -0
- package/dist/components/lr-rag-answer.js +1 -1
- package/dist/components/lr-rag-eval-dashboard.d.ts +1 -0
- package/dist/components/lr-rag-eval-dashboard.js +1 -1
- package/dist/components/lr-random-content.d.ts +1 -0
- package/dist/components/lr-random-content.js +1 -1
- package/dist/components/lr-rating.d.ts +1 -0
- package/dist/components/lr-rating.js +1 -1
- package/dist/components/lr-realtime-session.d.ts +1 -0
- package/dist/components/lr-realtime-session.js +1 -1
- package/dist/components/lr-relative-time.d.ts +1 -0
- package/dist/components/lr-relative-time.js +1 -1
- package/dist/components/lr-reorder-item.d.ts +1 -0
- package/dist/components/lr-reorder-item.js +1 -1
- package/dist/components/lr-reorder-list.d.ts +1 -0
- package/dist/components/lr-reorder-list.js +1 -1
- package/dist/components/lr-research-progress.d.ts +1 -0
- package/dist/components/lr-research-progress.js +1 -1
- package/dist/components/lr-resize-observer.d.ts +1 -0
- package/dist/components/lr-resize-observer.js +1 -1
- package/dist/components/lr-responsive-panel.d.ts +1 -0
- package/dist/components/lr-responsive-panel.js +1 -1
- package/dist/components/lr-result-card.d.ts +1 -0
- package/dist/components/lr-result-card.js +1 -1
- package/dist/components/lr-result-field.d.ts +1 -0
- package/dist/components/lr-result-field.js +1 -1
- package/dist/components/lr-retrieval-compare.d.ts +1 -0
- package/dist/components/lr-retrieval-compare.js +1 -1
- package/dist/components/lr-retrieval-results.d.ts +1 -0
- package/dist/components/lr-retrieval-results.js +1 -1
- package/dist/components/lr-retrieval-search.d.ts +1 -0
- package/dist/components/lr-retrieval-search.js +1 -1
- package/dist/components/lr-retrieval-trace.d.ts +1 -0
- package/dist/components/lr-retrieval-trace.js +1 -1
- package/dist/components/lr-rubric-form.d.ts +1 -0
- package/dist/components/lr-rubric-form.js +1 -1
- package/dist/components/lr-sankey.d.ts +1 -0
- package/dist/components/lr-sankey.js +1 -0
- package/dist/components/lr-scatter-chart.d.ts +1 -0
- package/dist/components/lr-scatter-chart.js +1 -1
- package/dist/components/lr-scroller.d.ts +1 -0
- package/dist/components/lr-scroller.js +1 -1
- package/dist/components/lr-segmented.d.ts +1 -0
- package/dist/components/lr-segmented.js +1 -1
- package/dist/components/lr-select.d.ts +1 -0
- package/dist/components/lr-select.js +1 -1
- package/dist/components/lr-selection-toolbar.d.ts +1 -0
- package/dist/components/lr-selection-toolbar.js +1 -1
- package/dist/components/lr-sequence-playback.d.ts +1 -0
- package/dist/components/lr-sequence-playback.js +1 -1
- package/dist/components/lr-sequence-strip.d.ts +1 -0
- package/dist/components/lr-sequence-strip.js +1 -1
- package/dist/components/lr-signature-pad.d.ts +1 -0
- package/dist/components/lr-signature-pad.js +1 -1
- package/dist/components/lr-skeleton.d.ts +1 -0
- package/dist/components/lr-skeleton.js +1 -1
- package/dist/components/lr-slider.d.ts +1 -0
- package/dist/components/lr-slider.js +1 -1
- package/dist/components/lr-source-card.d.ts +1 -0
- package/dist/components/lr-source-card.js +1 -1
- package/dist/components/lr-source-list.d.ts +1 -0
- package/dist/components/lr-source-list.js +1 -1
- package/dist/components/lr-source-picker.d.ts +1 -0
- package/dist/components/lr-source-picker.js +1 -1
- package/dist/components/lr-span-waterfall.d.ts +1 -0
- package/dist/components/lr-span-waterfall.js +1 -1
- package/dist/components/lr-sparkline.d.ts +1 -0
- package/dist/components/lr-sparkline.js +1 -1
- package/dist/components/lr-spinner.d.ts +1 -0
- package/dist/components/lr-spinner.js +1 -1
- package/dist/components/lr-split-panel.d.ts +1 -0
- package/dist/components/lr-split-panel.js +1 -1
- package/dist/components/lr-spreadsheet-viewer.d.ts +1 -0
- package/dist/components/lr-spreadsheet-viewer.js +1 -1
- package/dist/components/lr-stack-trace.d.ts +1 -0
- package/dist/components/lr-stack-trace.js +1 -1
- package/dist/components/lr-stat.d.ts +1 -0
- package/dist/components/lr-stat.js +1 -1
- package/dist/components/lr-step.d.ts +1 -0
- package/dist/components/lr-step.js +1 -0
- package/dist/components/lr-stepper.d.ts +1 -0
- package/dist/components/lr-stepper.js +1 -1
- package/dist/components/lr-stream-status.d.ts +1 -0
- package/dist/components/lr-stream-status.js +1 -1
- package/dist/components/lr-streaming-text-core.d.ts +1 -0
- package/dist/components/lr-streaming-text-core.js +1 -1
- package/dist/components/lr-streaming-text.d.ts +1 -0
- package/dist/components/lr-streaming-text.js +1 -1
- package/dist/components/lr-style-panel.d.ts +1 -0
- package/dist/components/lr-style-panel.js +1 -0
- package/dist/components/lr-subagent-panel.d.ts +1 -0
- package/dist/components/lr-subagent-panel.js +1 -1
- package/dist/components/lr-suggestion-chips.d.ts +1 -0
- package/dist/components/lr-suggestion-chips.js +1 -1
- package/dist/components/lr-svg-viewer.d.ts +1 -0
- package/dist/components/lr-svg-viewer.js +1 -1
- package/dist/components/lr-swatch-picker.d.ts +1 -0
- package/dist/components/lr-swatch-picker.js +1 -1
- package/dist/components/lr-switch.d.ts +1 -0
- package/dist/components/lr-switch.js +1 -1
- package/dist/components/lr-tab-group.d.ts +1 -0
- package/dist/components/lr-tab-group.js +1 -1
- package/dist/components/lr-tab-panel.d.ts +1 -0
- package/dist/components/lr-tab-panel.js +1 -1
- package/dist/components/lr-tab.d.ts +1 -0
- package/dist/components/lr-tab.js +1 -1
- package/dist/components/lr-table.d.ts +1 -0
- package/dist/components/lr-table.js +1 -1
- package/dist/components/lr-tag.d.ts +1 -0
- package/dist/components/lr-tag.js +1 -1
- package/dist/components/lr-task-list.d.ts +1 -0
- package/dist/components/lr-task-list.js +1 -1
- package/dist/components/lr-terminal.d.ts +1 -0
- package/dist/components/lr-terminal.js +1 -1
- package/dist/components/lr-test-results.d.ts +1 -0
- package/dist/components/lr-test-results.js +1 -1
- package/dist/components/lr-textarea.d.ts +1 -0
- package/dist/components/lr-textarea.js +1 -1
- package/dist/components/lr-thinking-panel.d.ts +1 -0
- package/dist/components/lr-thinking-panel.js +1 -1
- package/dist/components/lr-thread-list.d.ts +1 -0
- package/dist/components/lr-thread-list.js +1 -1
- package/dist/components/lr-time-input.d.ts +1 -0
- package/dist/components/lr-time-input.js +1 -1
- package/dist/components/lr-time-range.d.ts +1 -0
- package/dist/components/lr-time-range.js +1 -1
- package/dist/components/lr-time-zone-picker.d.ts +1 -0
- package/dist/components/lr-time-zone-picker.js +1 -1
- package/dist/components/lr-timeline-item.d.ts +1 -0
- package/dist/components/lr-timeline-item.js +1 -1
- package/dist/components/lr-timeline.d.ts +1 -0
- package/dist/components/lr-timeline.js +1 -1
- package/dist/components/lr-toast-item.d.ts +1 -0
- package/dist/components/lr-toast-item.js +1 -1
- package/dist/components/lr-toast.d.ts +1 -0
- package/dist/components/lr-toast.js +1 -1
- package/dist/components/lr-toggle-group.d.ts +1 -0
- package/dist/components/lr-toggle-group.js +1 -1
- package/dist/components/lr-toggle.d.ts +1 -0
- package/dist/components/lr-toggle.js +1 -1
- package/dist/components/lr-token-input.d.ts +1 -0
- package/dist/components/lr-token-input.js +1 -1
- package/dist/components/lr-tool-approval-dialog.d.ts +1 -0
- package/dist/components/lr-tool-approval-dialog.js +1 -1
- package/dist/components/lr-tool-call-block.d.ts +1 -0
- package/dist/components/lr-tool-call-block.js +1 -1
- package/dist/components/lr-tool-call-chip.d.ts +1 -0
- package/dist/components/lr-tool-call-chip.js +1 -1
- package/dist/components/lr-tool-param-form.d.ts +1 -0
- package/dist/components/lr-tool-param-form.js +1 -1
- package/dist/components/lr-tool-result-dialog.d.ts +1 -0
- package/dist/components/lr-tool-result-dialog.js +1 -1
- package/dist/components/lr-tool-result-view.d.ts +1 -0
- package/dist/components/lr-tool-result-view.js +1 -1
- package/dist/components/lr-tool-select-dialog.d.ts +1 -0
- package/dist/components/lr-tool-select-dialog.js +1 -1
- package/dist/components/lr-tool-timeline.d.ts +1 -0
- package/dist/components/lr-tool-timeline.js +1 -1
- package/dist/components/lr-tooltip.d.ts +1 -0
- package/dist/components/lr-tooltip.js +1 -1
- package/dist/components/lr-tour.d.ts +1 -0
- package/dist/components/lr-tour.js +1 -1
- package/dist/components/lr-trace-tree.d.ts +1 -0
- package/dist/components/lr-trace-tree.js +1 -1
- package/dist/components/lr-transcript-feed.d.ts +1 -0
- package/dist/components/lr-transcript-feed.js +1 -1
- package/dist/components/lr-tree-item.d.ts +1 -0
- package/dist/components/lr-tree-item.js +1 -1
- package/dist/components/lr-tree.d.ts +1 -0
- package/dist/components/lr-tree.js +1 -1
- package/dist/components/lr-treemap.d.ts +1 -0
- package/dist/components/lr-treemap.js +1 -0
- package/dist/components/lr-typing-indicator.d.ts +1 -0
- package/dist/components/lr-typing-indicator.js +1 -1
- package/dist/components/lr-unit-picker.d.ts +1 -0
- package/dist/components/lr-unit-picker.js +1 -1
- package/dist/components/lr-usage-badge.d.ts +1 -0
- package/dist/components/lr-usage-badge.js +1 -1
- package/dist/components/lr-video-playlist.d.ts +1 -0
- package/dist/components/lr-video-playlist.js +1 -1
- package/dist/components/lr-video.d.ts +1 -0
- package/dist/components/lr-video.js +1 -1
- package/dist/components/lr-virtual-list.d.ts +1 -0
- package/dist/components/lr-virtual-list.js +1 -1
- package/dist/components/lr-visually-hidden.d.ts +1 -0
- package/dist/components/lr-visually-hidden.js +1 -1
- package/dist/components/lr-voice-picker.d.ts +1 -0
- package/dist/components/lr-voice-picker.js +1 -1
- package/dist/components/lr-widget-renderer.d.ts +1 -0
- package/dist/components/lr-widget-renderer.js +1 -1
- package/dist/components/lr-widget.d.ts +1 -0
- package/dist/components/lr-widget.js +1 -1
- package/dist/components/lr-word-cloud.d.ts +1 -0
- package/dist/components/lr-word-cloud.js +1 -1
- package/dist/components/lr-xml-viewer.d.ts +1 -0
- package/dist/components/lr-xml-viewer.js +1 -1
- package/dist/components/lr-zoomable-frame.d.ts +1 -0
- package/dist/components/lr-zoomable-frame.js +1 -1
- package/dist/components/media/animated-image/animated-image.class.d.ts +4 -1
- package/dist/components/media/animated-image/animated-image.class.js +4 -24
- package/dist/components/media/animated-image/animated-image.styles.js +1 -1
- package/dist/components/media/animation/animation-catalog.js +1 -1
- package/dist/components/media/animation/animation.class.d.ts +37 -3
- package/dist/components/media/animation/animation.class.js +1 -1
- package/dist/components/media/attachment-chip/attachment-chip.class.d.ts +29 -18
- package/dist/components/media/attachment-chip/attachment-chip.class.js +9 -51
- package/dist/components/media/attachment-chip/attachment-chip.styles.js +1 -1
- package/dist/components/media/attachment-chip/file-size.d.ts +1 -11
- package/dist/components/media/attachment-chip/file-size.js +1 -1
- package/dist/components/media/attachment-trigger/attachment-trigger.class.d.ts +25 -6
- package/dist/components/media/attachment-trigger/attachment-trigger.class.js +13 -60
- package/dist/components/media/attachment-trigger/attachment-trigger.styles.js +1 -1
- package/dist/components/media/av-player/av-cue-source.js +1 -1
- package/dist/components/media/av-player/av-player.class.d.ts +26 -7
- package/dist/components/media/av-player/av-player.class.js +13 -87
- package/dist/components/media/av-player/av-player.styles.js +1 -1
- package/dist/components/media/avatar/avatar.class.d.ts +1 -1
- package/dist/components/media/avatar/avatar.class.js +5 -19
- package/dist/components/media/avatar-group/avatar-group.class.d.ts +3 -1
- package/dist/components/media/avatar-group/avatar-group.class.js +4 -11
- package/dist/components/media/avatar-group/avatar-group.styles.js +1 -1
- package/dist/components/media/drop-zone/drop-zone.class.d.ts +10 -5
- package/dist/components/media/drop-zone/drop-zone.class.js +6 -12
- package/dist/components/media/drop-zone/drop-zone.styles.js +1 -1
- package/dist/components/media/file-icon/file-icon.class.d.ts +5 -1
- package/dist/components/media/file-icon/file-icon.class.js +4 -13
- package/dist/components/media/file-icon/file-icon.styles.js +1 -1
- package/dist/components/media/file-icon/file-type-metadata.js +1 -1
- package/dist/components/media/file-input/file-input.class.d.ts +50 -12
- package/dist/components/media/file-input/file-input.class.js +11 -62
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/flag/flag-peer-bulk-standard.d.ts +1 -1
- package/dist/components/media/flag/flag-peer-bulk-standard.js +1 -1
- package/dist/components/media/flag/flag-peer-bulk.d.ts +1 -1
- package/dist/components/media/flag/flag-peer-bulk.js +1 -1
- package/dist/components/media/flag/flag-peer.d.ts +1 -1
- package/dist/components/media/flag/flag-peer.js +1 -1
- package/dist/components/media/flag/flag-url-resolver.d.ts +4 -2
- package/dist/components/media/flag/flag-url-resolver.js +1 -1
- package/dist/components/media/flag/flag.class.d.ts +17 -4
- package/dist/components/media/flag/flag.class.js +5 -14
- package/dist/components/media/flag/language-map.d.ts +1 -1
- package/dist/components/media/image-comparer/image-comparer.class.d.ts +20 -2
- package/dist/components/media/image-comparer/image-comparer.class.js +4 -30
- package/dist/components/media/image-comparer/image-comparer.styles.js +1 -1
- package/dist/components/media/image-viewer/image-viewer.class.d.ts +46 -22
- package/dist/components/media/image-viewer/image-viewer.class.js +7 -59
- 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-item.class.d.ts +57 -0
- package/dist/components/media/lightbox/lightbox-item.class.js +9 -0
- package/dist/components/media/lightbox/lightbox-item.styles.js +1 -0
- package/dist/components/media/lightbox/lightbox-source.js +1 -1
- package/dist/components/media/lightbox/lightbox.class.d.ts +97 -24
- package/dist/components/media/lightbox/lightbox.class.js +19 -47
- package/dist/components/media/lightbox/lightbox.styles.js +1 -1
- package/dist/components/media/map/map-anchor-avoid.js +1 -0
- package/dist/components/media/map/map-anchor-controller.js +1 -1
- package/dist/components/media/map/map-anchor.class.d.ts +21 -13
- package/dist/components/media/map/map-anchor.class.js +1 -3
- package/dist/components/media/map/map-anchor.styles.js +1 -1
- package/dist/components/media/map/map-basemap-order.js +1 -1
- package/dist/components/media/map/map-camera.d.ts +3 -3
- package/dist/components/media/map/map-camera.js +1 -1
- package/dist/components/media/map/map-canvas-target.js +1 -1
- package/dist/components/media/map/map-control-chrome.js +1 -1
- package/dist/components/media/map/map-control-options.d.ts +1 -1
- package/dist/components/media/map/map-control-options.js +1 -1
- package/dist/components/media/map/map-controls-lifecycle.js +1 -1
- package/dist/components/media/map/map-data-layer-model.d.ts +7 -11
- package/dist/components/media/map/map-data-layer-model.js +1 -1
- package/dist/components/media/map/map-data-layer-runtime.js +1 -0
- package/dist/components/media/map/map-descriptor-values.js +1 -0
- package/dist/components/media/map/map-drawing-controller.js +1 -1
- package/dist/components/media/map/map-drawing-gesture.js +1 -1
- package/dist/components/media/map/map-drawing-pan.js +1 -1
- package/dist/components/media/map/map-drawing-pointer.js +1 -1
- package/dist/components/media/map/map-empty-style.js +1 -1
- package/dist/components/media/map/map-external-layer-builder.js +1 -0
- package/dist/components/media/map/map-feature-loader.js +1 -1
- package/dist/components/media/map/map-geojson-diff.js +1 -1
- package/dist/components/media/map/map-hash.js +1 -1
- package/dist/components/media/map/map-hit-test.d.ts +4 -6
- package/dist/components/media/map/map-hit-test.js +1 -1
- package/dist/components/media/map/map-image-admission.js +1 -1
- package/dist/components/media/map/map-image-export.js +3 -3
- package/dist/components/media/map/map-image-limits.js +1 -1
- package/dist/components/media/map/map-image-provider.js +1 -1
- package/dist/components/media/map/map-images.d.ts +5 -1
- package/dist/components/media/map/map-images.js +1 -1
- package/dist/components/media/map/map-interaction-options.js +1 -1
- package/dist/components/media/map/map-label-layer.d.ts +3 -0
- package/dist/components/media/map/map-label-layer.js +1 -0
- package/dist/components/media/map/map-loader.d.ts +2 -8
- package/dist/components/media/map/map-loader.js +1 -1
- package/dist/components/media/map/map-overlay-admission.js +1 -1
- package/dist/components/media/map/map-owned-features.js +1 -1
- package/dist/components/media/map/map-resource-feature-loaders.js +1 -1
- package/dist/components/media/map/map-scene-configuration.js +1 -1
- package/dist/components/media/map/map-scene-controls.js +1 -1
- package/dist/components/media/map/map-scene-line-encoding.js +1 -1
- package/dist/components/media/map/map-scene-line-layer.js +1 -1
- package/dist/components/media/map/map-scene-lines.js +1 -1
- package/dist/components/media/map/map-scene-position-registry.js +1 -1
- package/dist/components/media/map/map-scene-render-controller.js +1 -1
- package/dist/components/media/map/map-scene-render-input.js +1 -1
- package/dist/components/media/map/map-style-input.js +1 -1
- package/dist/components/media/map/map-vector-style-compiler.js +1 -0
- package/dist/components/media/map/map-vector-style.d.ts +4 -5
- package/dist/components/media/map/map-vector-style.js +1 -1
- package/dist/components/media/map/map.class.d.ts +299 -29
- package/dist/components/media/map/map.class.js +33 -123
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/media-card/media-card.class.d.ts +6 -3
- package/dist/components/media/media-card/media-card.class.js +8 -42
- package/dist/components/media/media-card/media-card.styles.js +1 -1
- package/dist/components/media/pan-zoom/pan-zoom.class.d.ts +41 -7
- package/dist/components/media/pan-zoom/pan-zoom.class.js +5 -17
- package/dist/components/media/pan-zoom/pan-zoom.styles.js +1 -1
- package/dist/components/media/qr-code/qr-code-loader.js +1 -1
- package/dist/components/media/qr-code/qr-code.class.d.ts +1 -1
- package/dist/components/media/qr-code/qr-code.class.js +3 -9
- package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +15 -2
- package/dist/components/media/sequence-playback/sequence-playback.class.js +4 -25
- package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
- package/dist/components/media/video/video-thumbnails.js +5 -0
- package/dist/components/media/video/video.class.d.ts +43 -13
- package/dist/components/media/video/video.class.js +24 -117
- package/dist/components/media/video/video.styles.js +1 -1
- package/dist/components/media/video-playlist/video-playlist.class.d.ts +9 -3
- package/dist/components/media/video-playlist/video-playlist.class.js +4 -17
- package/dist/components/media/video-playlist/video-playlist.styles.js +1 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +29 -4
- package/dist/components/media/zoomable-frame/zoomable-frame.class.js +4 -38
- package/dist/components/media/zoomable-frame/zoomable-frame.styles.js +1 -1
- package/dist/components/overlays/alert/alert.class.d.ts +32 -7
- package/dist/components/overlays/alert/alert.class.js +5 -18
- package/dist/components/overlays/alert/alert.styles.js +1 -1
- package/dist/components/overlays/badge/badge.class.d.ts +28 -7
- package/dist/components/overlays/badge/badge.class.js +5 -6
- package/dist/components/overlays/badge/badge.styles.js +1 -1
- package/dist/components/overlays/badge/tag.class.d.ts +7 -3
- package/dist/components/overlays/badge/tag.class.js +1 -7
- package/dist/components/overlays/badge/tag.styles.js +1 -1
- package/dist/components/overlays/callout/callout.class.d.ts +31 -12
- package/dist/components/overlays/callout/callout.class.js +4 -24
- package/dist/components/overlays/callout/callout.styles.js +1 -1
- package/dist/components/overlays/chip/chip-group.class.d.ts +42 -4
- package/dist/components/overlays/chip/chip-group.class.js +5 -18
- package/dist/components/overlays/chip/chip-group.styles.js +1 -1
- package/dist/components/overlays/chip/chip.class.d.ts +11 -4
- package/dist/components/overlays/chip/chip.class.js +3 -16
- package/dist/components/overlays/chip/chip.styles.js +1 -1
- package/dist/components/overlays/context-menu/context-menu.class.d.ts +23 -2
- package/dist/components/overlays/context-menu/context-menu.class.js +4 -28
- package/dist/components/overlays/dialog/confirm.d.ts +22 -5
- package/dist/components/overlays/dialog/confirm.js +1 -12
- package/dist/components/overlays/dialog/dialog.class.d.ts +52 -8
- package/dist/components/overlays/dialog/dialog.class.js +5 -22
- package/dist/components/overlays/dialog/dialog.styles.js +1 -1
- package/dist/components/overlays/dialog/prompt.d.ts +60 -0
- package/dist/components/overlays/dialog/prompt.js +1 -0
- package/dist/components/overlays/drawer/drawer.class.d.ts +21 -4
- package/dist/components/overlays/drawer/drawer.class.js +1 -1
- package/dist/components/overlays/empty/empty.class.d.ts +23 -6
- package/dist/components/overlays/empty/empty.class.js +2 -7
- package/dist/components/overlays/help/help.class.d.ts +31 -0
- package/dist/components/overlays/help/help.class.js +3 -0
- package/dist/components/overlays/index.d.ts +1 -1
- package/dist/components/overlays/index.js +1 -1
- package/dist/components/overlays/kbd/kbd.class.d.ts +3 -0
- package/dist/components/overlays/kbd/kbd.class.js +3 -9
- package/dist/components/overlays/overlay/dropdown.class.d.ts +9 -6
- package/dist/components/overlays/overlay/dropdown.class.js +2 -2
- package/dist/components/overlays/overlay/overlay.styles.js +1 -1
- package/dist/components/overlays/overlay/popover-glass.styles.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +72 -14
- package/dist/components/overlays/overlay/popover.class.js +3 -9
- package/dist/components/overlays/overlay/tooltip.class.d.ts +39 -12
- package/dist/components/overlays/overlay/tooltip.class.js +4 -10
- package/dist/components/overlays/popup/popup.class.js +2 -2
- package/dist/components/overlays/progress/progress-bar.class.js +1 -3
- package/dist/components/overlays/progress/progress-base.d.ts +7 -1
- package/dist/components/overlays/progress/progress-base.js +1 -1
- package/dist/components/overlays/progress/progress-ring.class.js +2 -5
- package/dist/components/overlays/progress/progress.styles.js +1 -1
- package/dist/components/overlays/rating/rating.class.d.ts +24 -7
- package/dist/components/overlays/rating/rating.class.js +5 -21
- package/dist/components/overlays/rating/rating.styles.js +1 -1
- package/dist/components/overlays/skeleton/skeleton.class.d.ts +8 -2
- package/dist/components/overlays/skeleton/skeleton.class.js +1 -1
- package/dist/components/overlays/spinner/spinner.class.d.ts +5 -1
- package/dist/components/overlays/spinner/spinner.class.js +2 -2
- package/dist/components/overlays/spinner/spinner.styles.js +1 -1
- package/dist/components/overlays/toast/toast-item.class.d.ts +18 -3
- package/dist/components/overlays/toast/toast-item.class.js +7 -38
- package/dist/components/overlays/toast/toast-item.styles.js +1 -1
- package/dist/components/overlays/toast/toast-region-protocol.d.ts +2 -0
- package/dist/components/overlays/toast/toast.class.d.ts +11 -3
- package/dist/components/overlays/toast/toast.class.js +2 -2
- package/dist/components/overlays/toast/toaster.js +1 -1
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.d.ts +8 -2
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.js +14 -52
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.styles.js +1 -1
- package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +2 -2
- package/dist/components/retrieval/citation-badge/citation-badge.class.js +5 -26
- package/dist/components/retrieval/citation-badge/citation-badge.styles.js +1 -1
- package/dist/components/retrieval/claim-evidence/claim-evidence.class.js +8 -30
- package/dist/components/retrieval/claim-evidence/claim-evidence.styles.js +1 -1
- package/dist/components/retrieval/community-card/community-card.class.d.ts +6 -3
- package/dist/components/retrieval/community-card/community-card.class.js +9 -21
- package/dist/components/retrieval/community-card/community-card.styles.js +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-engine.js +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.d.ts +11 -8
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +20 -80
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.styles.js +1 -1
- package/dist/components/retrieval/entity-card/entity-card.class.d.ts +6 -3
- package/dist/components/retrieval/entity-card/entity-card.class.js +9 -29
- package/dist/components/retrieval/entity-card/entity-card.styles.js +1 -1
- package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +2 -2
- package/dist/components/retrieval/entity-chip/entity-chip.class.js +4 -25
- package/dist/components/retrieval/entity-chip/entity-chip.styles.js +1 -1
- package/dist/components/retrieval/entity-dossier/entity-dossier.class.d.ts +17 -15
- package/dist/components/retrieval/entity-dossier/entity-dossier.class.js +12 -52
- package/dist/components/retrieval/graph/graph-builtin-3d-engine.js +1 -1
- package/dist/components/retrieval/graph/graph-engine-adapter.js +1 -1
- package/dist/components/retrieval/graph/graph-loader.js +1 -1
- package/dist/components/retrieval/graph/graph-spatial-controller.js +4 -14
- package/dist/components/retrieval/graph/graph-spatial-model.js +1 -1
- package/dist/components/retrieval/graph/graph-spatial.js +1 -1
- package/dist/components/retrieval/graph/graph-webgl-engine.js +1 -1
- package/dist/components/retrieval/graph/graph.class.d.ts +24 -15
- package/dist/components/retrieval/graph/graph.class.js +32 -204
- package/dist/components/retrieval/graph/graph.styles.js +1 -1
- package/dist/components/retrieval/graph-legend/graph-legend.class.d.ts +5 -3
- package/dist/components/retrieval/graph-legend/graph-legend.class.js +6 -22
- package/dist/components/retrieval/graph-legend/graph-legend.styles.js +1 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.js +13 -57
- package/dist/components/retrieval/grounding-summary/grounding-summary.styles.js +1 -1
- package/dist/components/retrieval/index.d.ts +1 -1
- package/dist/components/retrieval/index.js +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue-presentation.js +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +6 -2
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +13 -64
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.styles.js +1 -1
- package/dist/components/retrieval/knowledge-base/knowledge-base.class.d.ts +9 -9
- package/dist/components/retrieval/knowledge-base/knowledge-base.class.js +19 -96
- package/dist/components/retrieval/knowledge-base/knowledge-base.styles.js +1 -1
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.class.d.ts +2 -2
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.class.js +8 -55
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.styles.js +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +35 -8
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +16 -99
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.styles.js +1 -1
- package/dist/components/retrieval/memory-panel/memory-panel.class.d.ts +16 -10
- package/dist/components/retrieval/memory-panel/memory-panel.class.js +15 -85
- package/dist/components/retrieval/memory-panel/memory-panel.styles.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map-layout.d.ts +0 -9
- package/dist/components/retrieval/mind-map/mind-map-layout.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map.class.d.ts +10 -1
- package/dist/components/retrieval/mind-map/mind-map.class.js +8 -29
- package/dist/components/retrieval/mind-map/mind-map.styles.js +1 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.d.ts +7 -3
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.js +15 -43
- package/dist/components/retrieval/neighbor-list/neighbor-list.styles.js +1 -1
- package/dist/components/retrieval/node-palette/node-palette.class.d.ts +12 -21
- package/dist/components/retrieval/node-palette/node-palette.class.js +5 -28
- package/dist/components/retrieval/node-palette/node-palette.styles.js +1 -1
- package/dist/components/retrieval/path-strip/path-strip.class.d.ts +3 -1
- package/dist/components/retrieval/path-strip/path-strip.class.js +10 -32
- package/dist/components/retrieval/path-strip/path-strip.styles.js +1 -1
- package/dist/components/retrieval/provenance-panel/provenance-panel.class.d.ts +10 -5
- package/dist/components/retrieval/provenance-panel/provenance-panel.class.js +12 -42
- package/dist/components/retrieval/provenance-panel/provenance-panel.styles.js +1 -1
- package/dist/components/retrieval/rag-answer/rag-answer.class.d.ts +3 -3
- package/dist/components/retrieval/rag-answer/rag-answer.class.js +9 -61
- package/dist/components/retrieval/rag-answer/rag-answer.styles.js +1 -1
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.d.ts +5 -1
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +18 -74
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.styles.js +1 -1
- package/dist/components/retrieval/research-progress/research-progress.class.js +6 -15
- package/dist/components/retrieval/research-progress/research-progress.styles.js +1 -1
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.d.ts +6 -4
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.js +11 -38
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.styles.js +1 -1
- package/dist/components/retrieval/retrieval-identity.js +1 -1
- package/dist/components/retrieval/retrieval-metadata.js +3 -3
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.d.ts +8 -6
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +15 -78
- package/dist/components/retrieval/retrieval-results/retrieval-results.styles.js +1 -1
- package/dist/components/retrieval/retrieval-search/retrieval-search.class.d.ts +2 -2
- package/dist/components/retrieval/retrieval-search/retrieval-search.class.js +8 -51
- package/dist/components/retrieval/retrieval-search/retrieval-search.styles.js +1 -1
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.d.ts +8 -6
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js +10 -34
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.styles.js +1 -1
- package/dist/components/retrieval/source-card/source-card.class.js +3 -19
- package/dist/components/retrieval/source-card/source-card.styles.js +1 -1
- package/dist/components/retrieval/source-list/source-list.class.d.ts +3 -1
- package/dist/components/retrieval/source-list/source-list.class.js +2 -9
- package/dist/components/retrieval/source-list/source-list.styles.js +1 -1
- package/dist/components/retrieval/source-picker/source-picker.class.d.ts +14 -5
- package/dist/components/retrieval/source-picker/source-picker.class.js +12 -60
- package/dist/components/retrieval/source-picker/source-picker.styles.js +1 -1
- package/dist/components/utility/copy-button/copy-button.class.d.ts +6 -4
- package/dist/components/utility/copy-button/copy-button.class.js +4 -61
- package/dist/components/utility/copy-button/copy-button.styles.js +1 -1
- package/dist/components/utility/counter/counter-time.d.ts +15 -0
- package/dist/components/utility/counter/counter-time.js +1 -0
- package/dist/components/utility/counter/counter.class.d.ts +67 -0
- package/dist/components/utility/counter/counter.class.js +1 -0
- package/dist/components/utility/counter/counter.styles.js +1 -0
- package/dist/components/utility/diff-view/diff-view.class.d.ts +23 -7
- package/dist/components/utility/diff-view/diff-view.class.js +5 -24
- package/dist/components/utility/diff-view/diff-view.styles.js +1 -1
- package/dist/components/utility/divider/divider.class.d.ts +25 -4
- package/dist/components/utility/divider/divider.class.js +5 -6
- package/dist/components/utility/export-button/csv.d.ts +2 -14
- package/dist/components/utility/export-button/csv.js +1 -2
- package/dist/components/utility/export-button/export-button.class.d.ts +49 -9
- package/dist/components/utility/export-button/export-button.class.js +7 -29
- package/dist/components/utility/export-button/export-button.styles.js +1 -1
- package/dist/components/utility/format/format-bytes.class.d.ts +14 -1
- package/dist/components/utility/format/format-bytes.class.js +1 -1
- package/dist/components/utility/format/format-date.class.d.ts +28 -2
- package/dist/components/utility/format/format-date.class.js +1 -1
- package/dist/components/utility/format/format-number.class.d.ts +21 -3
- package/dist/components/utility/format/format-number.class.js +1 -1
- package/dist/components/utility/format/format-options.d.ts +3 -39
- package/dist/components/utility/format/format-options.js +1 -1
- package/dist/components/utility/format/relative-time.class.d.ts +11 -1
- package/dist/components/utility/format/relative-time.class.js +1 -1
- package/dist/components/utility/icon/dompurify-loader.js +1 -1
- package/dist/components/utility/icon/icon-library.d.ts +14 -1
- package/dist/components/utility/icon/icon-library.js +1 -1
- package/dist/components/utility/icon/icon-resource.js +1 -1
- package/dist/components/utility/icon/icon-sprite.js +1 -0
- package/dist/components/utility/icon/icon.class.d.ts +9 -3
- package/dist/components/utility/icon/icon.class.js +3 -18
- package/dist/components/utility/index.d.ts +1 -1
- package/dist/components/utility/index.js +1 -1
- package/dist/components/utility/intersection-observer/intersection-observer.class.d.ts +16 -7
- package/dist/components/utility/intersection-observer/intersection-observer.class.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.d.ts +29 -5
- package/dist/components/utility/json-viewer/json-viewer.class.js +14 -52
- package/dist/components/utility/json-viewer/json-viewer.styles.js +1 -1
- package/dist/components/utility/known-date/known-date.class.d.ts +14 -2
- package/dist/components/utility/known-date/known-date.class.js +10 -48
- package/dist/components/utility/known-date/known-date.styles.js +1 -1
- package/dist/components/utility/live-region/live-region.class.d.ts +12 -1
- package/dist/components/utility/live-region/live-region.class.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +25 -8
- package/dist/components/utility/mention-popover/mention-popover.class.js +5 -26
- package/dist/components/utility/mention-popover/mention-popover.styles.js +1 -1
- package/dist/components/utility/mutation-observer/mutation-observer.class.d.ts +16 -4
- package/dist/components/utility/mutation-observer/mutation-observer.class.js +1 -1
- package/dist/components/utility/number-ticker/number-ticker.class.d.ts +58 -0
- package/dist/components/utility/number-ticker/number-ticker.class.js +1 -0
- package/dist/components/utility/number-ticker/number-ticker.styles.js +1 -0
- package/dist/components/utility/poll-status/poll-status.class.d.ts +19 -1
- package/dist/components/utility/poll-status/poll-status.class.js +4 -16
- package/dist/components/utility/poll-status/poll-status.styles.js +1 -1
- package/dist/components/utility/random-content/random-content.class.d.ts +11 -1
- package/dist/components/utility/random-content/random-content.class.js +5 -25
- package/dist/components/utility/random-content/random-content.styles.js +1 -1
- package/dist/components/utility/resize-observer/resize-observer.class.d.ts +6 -2
- package/dist/components/utility/resize-observer/resize-observer.class.js +1 -1
- package/dist/components/utility/style-panel/style-panel.class.d.ts +58 -0
- package/dist/components/utility/style-panel/style-panel.class.js +9 -0
- package/dist/components/utility/tour/tour.class.d.ts +32 -7
- package/dist/components/utility/tour/tour.class.js +6 -29
- package/dist/components/utility/tour/tour.styles.js +1 -1
- package/dist/components/utility/visually-hidden/visually-hidden.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer-register.js +2 -6
- package/dist/components/viewers/archive-viewer/archive-viewer.class.d.ts +11 -3
- package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.styles.js +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-loader.d.ts +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-loader.js +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer-register.js +1 -6
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.d.ts +7 -6
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
- package/dist/components/viewers/contact-viewer/contact-viewer-register.js +1 -6
- package/dist/components/viewers/contact-viewer/contact-viewer.class.d.ts +6 -5
- package/dist/components/viewers/contact-viewer/contact-viewer.class.js +8 -12
- package/dist/components/viewers/contact-viewer/vcard.js +2 -2
- package/dist/components/viewers/csv-viewer/csv-viewer-register.js +1 -6
- package/dist/components/viewers/csv-viewer/csv-viewer.class.d.ts +16 -6
- package/dist/components/viewers/csv-viewer/csv-viewer.class.js +6 -37
- package/dist/components/viewers/csv-viewer/csv-viewer.styles.js +1 -1
- package/dist/components/viewers/dataset-viewer/dataset-viewer-register.js +1 -6
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.d.ts +15 -7
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.js +8 -33
- package/dist/components/viewers/dataset-viewer/dataset-viewer.styles.js +1 -1
- package/dist/components/viewers/document-compare/document-compare.class.d.ts +29 -9
- package/dist/components/viewers/document-compare/document-compare.class.js +9 -29
- package/dist/components/viewers/document-compare/document-compare.styles.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.d.ts +16 -5
- package/dist/components/viewers/document-preview/document-preview.class.js +10 -41
- package/dist/components/viewers/document-preview/document-preview.styles.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer-kinds.d.ts +2 -2
- package/dist/components/viewers/document-viewer/document-viewer-kinds.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer.class.d.ts +5 -3
- package/dist/components/viewers/document-viewer/document-viewer.class.js +6 -33
- package/dist/components/viewers/document-viewer/document-viewer.styles.js +1 -1
- package/dist/components/viewers/docx-viewer/docx-loader.d.ts +3 -1
- package/dist/components/viewers/docx-viewer/docx-loader.js +1 -1
- package/dist/components/viewers/docx-viewer/docx-viewer-register.js +1 -6
- package/dist/components/viewers/docx-viewer/docx-viewer.class.d.ts +11 -5
- package/dist/components/viewers/docx-viewer/docx-viewer.class.js +7 -21
- package/dist/components/viewers/docx-viewer/docx-viewer.styles.js +1 -1
- package/dist/components/viewers/ebook-viewer/ebook-loader.js +1 -1
- package/dist/components/viewers/ebook-viewer/ebook-viewer-register.js +2 -7
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.d.ts +12 -4
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.js +3 -13
- package/dist/components/viewers/email-viewer/email-loader.js +1 -1
- package/dist/components/viewers/email-viewer/email-viewer-register.js +1 -6
- package/dist/components/viewers/email-viewer/email-viewer.class.d.ts +13 -6
- package/dist/components/viewers/email-viewer/email-viewer.class.js +15 -15
- package/dist/components/viewers/email-viewer/email-viewer.styles.js +1 -1
- package/dist/components/viewers/geojson-view/geojson-view.styles.js +1 -1
- package/dist/components/viewers/geojson-view/geojson-viewer-register.d.ts +1 -0
- package/dist/components/viewers/geojson-view/geojson-viewer-register.js +1 -0
- package/dist/components/viewers/geojson-view/geojson-viewer.class.d.ts +13 -8
- package/dist/components/viewers/geojson-view/geojson-viewer.class.js +5 -31
- package/dist/components/viewers/highlight-layer/highlight-layer.class.d.ts +10 -3
- package/dist/components/viewers/highlight-layer/highlight-layer.class.js +5 -47
- package/dist/components/viewers/highlight-layer/highlight-layer.styles.js +1 -1
- package/dist/components/viewers/html-viewer/dompurify-loader.js +1 -1
- package/dist/components/viewers/html-viewer/html-viewer-register.js +1 -6
- package/dist/components/viewers/html-viewer/html-viewer.class.d.ts +3 -4
- package/dist/components/viewers/html-viewer/html-viewer.class.js +1 -1
- package/dist/components/viewers/html-viewer/html-viewer.styles.js +1 -1
- package/dist/components/viewers/include/include-resource.d.ts +1 -1
- package/dist/components/viewers/include/include-resource.js +1 -1
- package/dist/components/viewers/include/include.class.d.ts +16 -5
- package/dist/components/viewers/include/include.class.js +1 -1
- package/dist/components/viewers/index.d.ts +1 -1
- package/dist/components/viewers/index.js +1 -1
- package/dist/components/viewers/model-viewer/model-viewer-document.js +1 -1
- package/dist/components/viewers/model-viewer/model-viewer.class.d.ts +5 -2
- package/dist/components/viewers/model-viewer/model-viewer.class.js +2 -2
- package/dist/components/viewers/model-viewer/model-viewer.styles.js +1 -1
- package/dist/components/viewers/notebook-viewer/dompurify-loader.js +1 -1
- package/dist/components/viewers/notebook-viewer/notebook-viewer-register.js +1 -6
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.d.ts +15 -10
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +9 -55
- package/dist/components/viewers/notebook-viewer/notebook-viewer.styles.js +1 -1
- package/dist/components/viewers/page-rail/page-rail.class.d.ts +6 -3
- package/dist/components/viewers/page-rail/page-rail.class.js +6 -26
- package/dist/components/viewers/page-rail/page-rail.styles.js +1 -1
- package/dist/components/viewers/passive-markup.js +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-loader.js +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer-register.js +1 -6
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +28 -9
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +5 -15
- package/dist/components/viewers/pdf-viewer/pdf-viewer.styles.js +1 -1
- package/dist/components/viewers/pptx-viewer/pptx-loader.js +1 -1
- package/dist/components/viewers/pptx-viewer/pptx-viewer-register.js +1 -6
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.d.ts +9 -5
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +4 -10
- package/dist/components/viewers/region-highlight-layer.js +7 -29
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-loader.d.ts +1 -1
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer-register.js +1 -6
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.d.ts +17 -7
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.js +6 -47
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.styles.js +1 -1
- package/dist/components/viewers/svg-viewer/dompurify-loader.js +1 -1
- package/dist/components/viewers/svg-viewer/svg-viewer-register.js +1 -6
- package/dist/components/viewers/svg-viewer/svg-viewer.class.d.ts +14 -8
- package/dist/components/viewers/svg-viewer/svg-viewer.class.js +3 -6
- package/dist/components/viewers/svg-viewer/svg-viewer.styles.js +1 -1
- package/dist/components/viewers/table-viewer-shared.d.ts +49 -0
- package/dist/components/viewers/table-viewer-shared.js +10 -28
- package/dist/components/viewers/table-viewer-shared.styles.js +1 -1
- package/dist/components/viewers/viewer-announcements.d.ts +3 -0
- package/dist/components/viewers/viewer-diagnostics.d.ts +5 -4
- package/dist/components/viewers/viewer-frame.js +1 -1
- package/dist/components/viewers/viewer-loading.js +1 -1
- package/dist/components/viewers/viewer-pager.js +2 -2
- package/dist/components/viewers/viewer-search-limits.js +1 -1
- package/dist/components/viewers/viewer-semantic-owner.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer-register.js +1 -6
- package/dist/components/viewers/xml-viewer/xml-viewer.class.d.ts +23 -8
- package/dist/components/viewers/xml-viewer/xml-viewer.class.js +19 -72
- package/dist/components/viewers/xml-viewer/xml-viewer.styles.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/event-classes.d.ts +2342 -0
- package/dist/event-classes.js +1 -0
- package/dist/events.d.ts +356 -124
- package/dist/framework-types.d.ts +2 -2
- package/dist/internal/a11y.d.ts +5 -18
- package/dist/internal/a11y.js +1 -1
- package/dist/internal/accessibility-visibility.d.ts +14 -5
- package/dist/internal/accessibility-visibility.js +1 -1
- package/dist/internal/accessible-name.js +1 -0
- package/dist/internal/accessible-trigger.js +1 -0
- package/dist/internal/agent-status-text.js +1 -1
- package/dist/internal/agent-status-variants.js +1 -1
- package/dist/internal/all-defined-arguments.d.ts +19 -0
- package/dist/internal/all-defined-arguments.js +1 -0
- package/dist/internal/anchor-target-base.d.ts +14 -0
- package/dist/internal/anchor-target-base.js +1 -0
- package/dist/internal/anchor-target.d.ts +1 -12
- package/dist/internal/anchor-target.js +1 -5
- package/dist/internal/anchored-disclosure-controller.js +1 -0
- package/dist/internal/anchored-overlay-runtime.js +1 -1
- package/dist/internal/anchored-validity.d.ts +2 -0
- package/dist/internal/anchored-validity.js +1 -1
- package/dist/internal/announcement-text.js +1 -1
- package/dist/internal/announcer.d.ts +4 -3
- package/dist/internal/announcer.js +1 -1
- package/dist/internal/approval-request-controller.js +1 -0
- package/dist/internal/aria-controls.js +1 -1
- package/dist/internal/aria-ownership.js +1 -1
- package/dist/internal/aria-values.d.ts +2 -0
- package/dist/internal/aria-values.js +1 -0
- package/dist/internal/autoloader-loaders.js +1 -1
- package/dist/internal/autoloader-tags.d.ts +1 -1
- package/dist/internal/autoloader-tags.js +1 -1
- package/dist/internal/bidi.js +1 -0
- package/dist/internal/bytes.d.ts +32 -0
- package/dist/internal/bytes.js +1 -0
- package/dist/internal/calendar-core.d.ts +45 -0
- package/dist/internal/calendar-core.js +1 -0
- package/dist/internal/calendar-date.d.ts +16 -0
- package/dist/internal/calendar-date.js +1 -0
- package/dist/internal/canvas-color.d.ts +13 -0
- package/dist/internal/canvas-color.js +1 -1
- package/dist/internal/catalog-picker-template.js +2 -0
- package/dist/internal/catalog-picker.d.ts +20 -6
- package/dist/internal/catalog-picker.js +1 -1
- package/dist/internal/cell-range.d.ts +10 -0
- package/dist/internal/chart-annotation-registration.js +1 -1
- package/dist/internal/chart-data-table.js +1 -0
- package/dist/internal/chart-number-format.js +1 -0
- package/dist/internal/chart-prepared-data.d.ts +11 -0
- package/dist/internal/chart-prepared-data.js +1 -0
- package/dist/internal/chart-prepared-property.js +1 -0
- package/dist/internal/chart-prepared-series.d.ts +3 -0
- package/dist/internal/chart-prepared-series.js +1 -0
- package/dist/internal/chart-ticks.js +1 -0
- package/dist/internal/chat-composer-status.js +1 -0
- package/dist/internal/checked-control-label.js +1 -0
- package/dist/internal/child-event-containment.js +1 -1
- package/dist/internal/choropleth-no-data.js +1 -0
- package/dist/internal/clipboard.d.ts +10 -0
- package/dist/internal/clipboard.js +1 -1
- package/dist/internal/collection-identity.js +1 -1
- package/dist/internal/collection-snapshot.js +1 -1
- package/dist/internal/collection-source-tracker.js +1 -1
- package/dist/internal/collection-window.js +1 -0
- package/dist/internal/color-math.js +1 -0
- package/dist/internal/column-resize.js +1 -1
- package/dist/internal/component-loaders.generated.js +1 -1
- package/dist/internal/composed-tree.d.ts +2 -0
- package/dist/internal/composed-tree.js +1 -1
- package/dist/internal/container-breakpoints.styles.js +1 -1
- package/dist/internal/context-update.js +1 -0
- package/dist/internal/contextual-vocabulary.styles.js +1 -1
- package/dist/internal/control-focus-repair.js +1 -0
- package/dist/internal/converters.d.ts +15 -0
- package/dist/internal/converters.js +1 -1
- package/dist/internal/css-length.js +1 -1
- package/dist/internal/csv.d.ts +35 -0
- package/dist/internal/csv.js +2 -0
- package/dist/internal/data-descriptors.d.ts +12 -2
- package/dist/internal/data-descriptors.js +1 -1
- package/dist/internal/data-state-renderer.js +2 -24
- package/dist/internal/data-state-renderer.styles.js +1 -1
- package/dist/internal/dedent.js +7 -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/data.generated.js +1 -1
- package/dist/internal/default-strings/forms.generated.js +1 -1
- package/dist/internal/default-strings/layout.generated.js +1 -1
- package/dist/internal/default-strings/media.generated.js +1 -1
- package/dist/internal/default-strings/overlays.generated.js +1 -1
- package/dist/internal/default-strings/retrieval.generated.js +1 -1
- package/dist/internal/default-strings/shared.generated.js +1 -1
- package/dist/internal/default-strings/utility.generated.js +1 -1
- package/dist/internal/default-strings/viewers.generated.js +1 -1
- package/dist/internal/delimited-data.js +1 -1
- package/dist/internal/dev-mode-attribute-warning.development.js +1 -1
- package/dist/internal/dev-mode-attribute-warning.production.js +1 -1
- package/dist/internal/dev-warning.development.js +1 -1
- package/dist/internal/dev-warning.production.js +1 -1
- package/dist/internal/document-pointer.js +1 -1
- package/dist/internal/document-renderer-registry.d.ts +1 -1
- package/dist/internal/document-tokens.generated.js +4 -4
- package/dist/internal/docx-zip-admission.js +1 -1
- package/dist/internal/dom-guards.js +1 -1
- package/dist/internal/dropzone.styles.js +1 -0
- package/dist/internal/engine-3d-loader.js +1 -1
- package/dist/internal/engine-3d.js +1 -1
- package/dist/internal/engine-admission.js +1 -0
- package/dist/internal/engine-style.js +2 -0
- package/dist/internal/escape-html.d.ts +6 -0
- package/dist/internal/escape-html.js +1 -0
- package/dist/internal/file-accept.d.ts +30 -0
- package/dist/internal/file-accept.js +1 -0
- package/dist/internal/file-intake.d.ts +6 -0
- package/dist/internal/file-intake.js +1 -0
- package/dist/internal/focus-candidates.js +1 -1
- package/dist/internal/focus-navigation.d.ts +3 -1
- package/dist/internal/focus-navigation.js +1 -1
- package/dist/internal/focus-repair.js +1 -0
- package/dist/internal/follow-tail-controller.js +1 -0
- package/dist/internal/forced-colors.styles.js +1 -0
- package/dist/internal/form-associated.d.ts +11 -0
- package/dist/internal/form-associated.js +1 -1
- package/dist/internal/form-control/appearance.styles.js +1 -0
- package/dist/internal/form-control/chrome.styles.js +1 -0
- package/dist/internal/form-control/preset-button.styles.js +1 -0
- package/dist/internal/form-control/touch-font-floor.styles.js +1 -0
- package/dist/internal/form-control-controller.js +1 -1
- package/dist/internal/form-control-labels.js +1 -1
- package/dist/internal/form-control-template.js +2 -6
- package/dist/internal/form-control.styles.js +1 -1
- package/dist/internal/form-validator-runtime.js +1 -0
- package/dist/internal/glass-independent-root.styles.js +1 -1
- package/dist/internal/glass-scroll-layer.styles.js +1 -1
- package/dist/internal/glass-surface.styles.js +1 -1
- package/dist/internal/graph-source-messages.js +1 -0
- package/dist/internal/group-by-recency.js +1 -1
- package/dist/internal/heading-anchor.js +1 -0
- package/dist/internal/heading-level.d.ts +10 -3
- package/dist/internal/heading-level.js +1 -1
- package/dist/internal/hierarchy-source-controller.js +1 -1
- package/dist/internal/hierarchy-source-search.js +1 -0
- package/dist/internal/hierarchy-source-view.js +5 -21
- package/dist/internal/hierarchy-source-view.styles.js +1 -1
- package/dist/internal/hierarchy-summary-source.js +1 -1
- package/dist/internal/highlight-collection.d.ts +5 -1
- package/dist/internal/highlight-collection.js +1 -1
- package/dist/internal/host-tokens.styles.js +1 -1
- package/dist/internal/icon-action.styles.js +15 -1
- package/dist/internal/icon-paths.js +1 -0
- package/dist/internal/icons.d.ts +47 -0
- package/dist/internal/icons.js +29 -47
- package/dist/internal/inert-presentation.js +1 -7
- package/dist/internal/inherited-attribute-hub.d.ts +2 -0
- package/dist/internal/inherited-attribute-hub.js +1 -1
- package/dist/internal/inherited-context-observer.js +1 -1
- package/dist/internal/input-limit-announcement.js +1 -0
- package/dist/internal/input-memo.js +1 -0
- package/dist/internal/interactive-control.styles.js +4 -1
- package/dist/internal/intl-cache.js +1 -1
- package/dist/internal/labeled-group.js +1 -0
- package/dist/internal/layout-fragments.styles.js +1 -1
- package/dist/internal/layout-scale.js +1 -0
- package/dist/internal/lazy-children.js +1 -0
- package/dist/internal/lazy-hierarchy-source.js +1 -0
- package/dist/internal/list-navigation.js +1 -1
- package/dist/internal/locale-date.d.ts +31 -0
- package/dist/internal/locale-date.js +1 -1
- package/dist/internal/locale-english-defaults.generated.js +1 -0
- package/dist/internal/locale-loaders.generated.js +1 -1
- package/dist/internal/locale-number.js +1 -0
- package/dist/internal/localization-runtime.d.ts +14 -0
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +4 -4
- package/dist/internal/localization.js +2 -2
- package/dist/internal/lyra-element.d.ts +42 -2
- package/dist/internal/lyra-element.js +2 -2
- package/dist/internal/lyra-event.d.ts +22 -0
- package/dist/internal/lyra-event.js +1 -0
- package/dist/internal/map-camera-follow-controller.d.ts +4 -4
- package/dist/internal/map-camera-follow-controller.js +1 -1
- package/dist/internal/map-camera-follow-data.d.ts +11 -0
- package/dist/internal/map-camera-follow-data.js +1 -1
- package/dist/internal/map-camera-ground-follow-scene.js +1 -0
- package/dist/internal/map-camera-session-controller.js +1 -1
- package/dist/internal/map-camera-session-data.d.ts +3 -1
- package/dist/internal/map-camera-session-data.js +1 -1
- package/dist/internal/map-custom-layer-controller.js +1 -1
- package/dist/internal/map-feature-loader-core.js +1 -0
- package/dist/internal/map-handler-lease.js +1 -0
- package/dist/internal/map-overlay-panel.styles.js +1 -0
- package/dist/internal/map-scene-layer-runtime.js +1 -1
- package/dist/internal/map-scene-session-registry.js +1 -0
- package/dist/internal/markdown-render-types.d.ts +4 -0
- package/dist/internal/measured-offset-index.js +1 -0
- package/dist/internal/media-panorama-host.js +1 -0
- package/dist/internal/media-panorama.d.ts +1 -1
- package/dist/internal/media-panorama.js +2 -6
- package/dist/internal/media-panorama.styles.js +1 -1
- package/dist/internal/media-time.js +1 -1
- package/dist/internal/minimum-pointer-target.styles.js +1 -0
- package/dist/internal/modal-host.styles.js +1 -1
- package/dist/internal/modal-open-request.js +1 -0
- package/dist/internal/modal-surface-controller.js +1 -1
- package/dist/internal/modal-surface.styles.js +5 -0
- package/dist/internal/model-viewer-contract.js +1 -1
- package/dist/internal/motion.js +1 -1
- package/dist/internal/native-control-surface.styles.js +1 -0
- package/dist/internal/native-modal-carrier.js +1 -12
- package/dist/internal/native-modal-carrier.styles.js +1 -1
- package/dist/internal/native-search.js +1 -10
- package/dist/internal/native-search.styles.js +1 -1
- package/dist/internal/native-text-control.js +1 -1
- package/dist/internal/nested-interactive.js +1 -1
- package/dist/internal/nonmodal-overlay-manager.d.ts +6 -0
- package/dist/internal/numbers.d.ts +15 -0
- package/dist/internal/numbers.js +1 -1
- package/dist/internal/object-guards.js +1 -1
- package/dist/internal/observer-wrapper.styles.js +1 -1
- package/dist/internal/opaque-content-border.styles.js +1 -1
- package/dist/internal/opaque-id.js +1 -0
- package/dist/internal/open-overlay-raise.styles.js +1 -1
- package/dist/internal/option-catalog-host.js +1 -0
- package/dist/internal/option-selection.js +1 -1
- package/dist/internal/optional-peer-capabilities.d.ts +22 -1
- package/dist/internal/optional-peer-capabilities.js +1 -1
- package/dist/internal/overlay-manager.js +1 -1
- package/dist/internal/overlay-shared.d.ts +65 -0
- package/dist/internal/overlay-shared.js +1 -0
- package/dist/internal/overlay-stack.js +1 -1
- package/dist/internal/overlay-surface.styles.js +1 -1
- package/dist/internal/owned-observer.d.ts +60 -0
- package/dist/internal/owned-observer.js +1 -0
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/page-size.js +1 -0
- package/dist/internal/panel-frame.styles.js +1 -0
- package/dist/internal/papaparse-loader.js +1 -1
- package/dist/internal/passive-markup.js +1 -0
- package/dist/internal/picker-value.d.ts +2 -3
- package/dist/internal/pointer-capture.js +1 -0
- package/dist/internal/popup-controller.d.ts +41 -0
- package/dist/internal/popup-controller.js +1 -1
- package/dist/internal/portable-look-inputs.d.ts +3 -0
- package/dist/internal/portable-look-inputs.js +2 -0
- package/dist/internal/portable-look-resolver.d.ts +1 -0
- package/dist/internal/portable-look-resolver.js +1 -0
- package/dist/internal/positioning-strategy.js +1 -1
- package/dist/internal/preview-disclosure-controller.js +1 -1
- package/dist/internal/progress-track.styles.js +1 -1
- package/dist/internal/pseudo-localization.js +1 -1
- package/dist/internal/range-drag.js +1 -1
- package/dist/internal/range-keyboard-shortcut.js +1 -0
- package/dist/internal/record-copy-feedback.d.ts +19 -0
- package/dist/internal/record-copy-feedback.js +1 -0
- package/dist/internal/region-hit-targets.js +1 -0
- package/dist/internal/render-keys.js +1 -0
- package/dist/internal/rendered-tree-traversal.js +1 -1
- package/dist/internal/request-commit.js +1 -1
- package/dist/internal/resource-loader.d.ts +10 -8
- package/dist/internal/resource-loader.js +1 -1
- package/dist/internal/reveal-row.js +1 -1
- package/dist/internal/root-registration-allowlist.js +1 -1
- package/dist/internal/roving-list-controller.js +1 -0
- package/dist/internal/roving-toolbar.js +1 -1
- package/dist/internal/roving-tree-focus.js +1 -0
- package/dist/internal/safe-css.d.ts +38 -0
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/score-tiers.d.ts +2 -0
- package/dist/internal/score-tiers.js +1 -1
- package/dist/internal/scroll-overflow.js +1 -1
- package/dist/internal/scroll-overflow.styles.js +1 -1
- package/dist/internal/scroll-region-directive.js +1 -0
- package/dist/internal/scroll-region.js +1 -0
- package/dist/internal/selection-catalog.d.ts +6 -0
- package/dist/internal/selection-catalog.js +1 -1
- package/dist/internal/semantic-variant-rows.styles.js +1 -1
- package/dist/internal/separator-drag.js +1 -1
- package/dist/internal/shiki/core.d.ts +115 -0
- package/dist/internal/shiki/core.js +1 -0
- package/dist/internal/shiki/dark-theme.js +1 -0
- package/dist/internal/shiki/full.d.ts +16 -0
- package/dist/internal/shiki/full.js +1 -0
- package/dist/internal/shiki/tokenize.js +2 -0
- package/dist/internal/shiki-language-sources.js +1 -1
- package/dist/internal/size-tiers.styles.js +17 -0
- package/dist/internal/sizes.styles.js +1 -1
- package/dist/internal/slot-content.js +1 -0
- package/dist/internal/slot-presence-controller.js +1 -1
- package/dist/internal/slotted-observer.js +1 -1
- package/dist/internal/sort-compare.js +1 -0
- package/dist/internal/source-page-controller.js +1 -1
- package/dist/internal/source-paging.js +1 -0
- package/dist/internal/source-request-controller.js +1 -1
- package/dist/internal/source-row.js +1 -0
- package/dist/internal/source-window-controller.js +1 -1
- package/dist/internal/srcset.js +1 -0
- package/dist/internal/style-property-lease.js +1 -1
- package/dist/internal/submit-on-enter.js +1 -1
- package/dist/internal/svg-chart.js +17 -0
- package/dist/internal/svg-chart.styles.js +1 -0
- package/dist/internal/svg-title.js +1 -1
- package/dist/internal/tab-index-lease.js +1 -0
- package/dist/internal/tabular-viewer-target.js +1 -0
- package/dist/internal/text-highlight.styles.js +5 -0
- package/dist/internal/text-highlights.d.ts +31 -5
- package/dist/internal/text-highlights.js +1 -1
- package/dist/internal/text-lines.js +1 -0
- package/dist/internal/text-quote-index.d.ts +10 -0
- package/dist/internal/text-quote-index.js +1 -0
- package/dist/internal/text-quote.d.ts +22 -46
- package/dist/internal/text-quote.js +1 -1
- package/dist/internal/text-selection-observer.d.ts +17 -0
- package/dist/internal/text-selection-observer.js +1 -0
- package/dist/internal/text-selection.d.ts +37 -0
- package/dist/internal/text-selection.js +1 -0
- package/dist/internal/text-viewer-target.d.ts +10 -2
- package/dist/internal/text-viewer-target.js +1 -1
- package/dist/internal/theme-watcher.d.ts +5 -0
- package/dist/internal/theme-watcher.js +1 -1
- package/dist/internal/toolbar-actions.d.ts +20 -0
- package/dist/internal/toolbar-actions.js +1 -0
- package/dist/internal/top-layer.styles.js +1 -1
- package/dist/internal/type-ahead-buffer.js +1 -1
- package/dist/internal/typed-columns.js +1 -1
- package/dist/internal/variants.d.ts +11 -0
- package/dist/internal/variants.js +1 -1
- package/dist/internal/variants.styles.js +1 -1
- package/dist/internal/viewer-failure-message.js +1 -0
- package/dist/internal/viewer-search.d.ts +13 -0
- package/dist/internal/viewer-source-controller.js +1 -0
- package/dist/internal/wheel-zoom.js +1 -0
- package/dist/localization.js +1 -1
- package/dist/lyra.d.ts +1 -1
- package/dist/lyra.js +1 -1
- package/dist/ssr/all.d.ts +1 -1
- package/dist/ssr/all.js +1 -1
- package/dist/ssr.d.ts +5 -5
- package/dist/ssr.js +1 -1
- package/dist/styles/native.css +1 -1
- package/dist/styles/palette.css +1 -0
- package/dist/styles/reservations.styles.js +1 -1
- package/dist/styles/tokens-root.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/testing/happy-dom-shims.d.ts +11 -2
- package/dist/testing/happy-dom-shims.js +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/testing/lyra-tag-event-map.d.ts +2 -2
- package/dist/testing/lyra-tag-event-map.js +1 -1
- package/dist/theme/gemstones.js +1 -1
- package/dist/theme/look-css.js +2 -2
- package/dist/theme/look-inputs.d.ts +1 -1
- package/dist/theme/look-inputs.js +1 -123
- package/dist/theme/options/charts.js +1 -1
- package/dist/theme/options/elevation.js +1 -1
- package/dist/theme/options/shape.js +1 -1
- package/dist/theme/options/typography.js +1 -1
- package/dist/theme/startup-resolution.js +1 -1
- package/dist/theme/theme-bootstrap.js +1 -1
- package/dist/theme/theme.d.ts +30 -4
- package/dist/theme/theme.js +1 -1
- package/dist/theme-core.css +1 -1
- package/dist/theme.css +1 -1
- package/dist/utilities/defined.d.ts +10 -1
- package/dist/utilities/defined.js +1 -1
- package/dist/utilities/form.d.ts +9 -0
- package/dist/utilities/form.js +1 -0
- package/dist/utilities/format.d.ts +5 -9
- package/dist/utilities/format.js +1 -1
- package/dist/utilities/index.d.ts +1 -1
- package/dist/utilities/index.js +1 -1
- package/dist/utilities/plain-click.d.ts +13 -0
- package/dist/utilities/plain-click.js +1 -0
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-accordion-item.md +1 -1
- package/llms/components/lr-accordion.md +1 -1
- package/llms/components/lr-activity-feed.md +8 -2
- package/llms/components/lr-agent-eval-dashboard.md +12 -6
- package/llms/components/lr-agent-question.md +10 -1
- package/llms/components/lr-agent-run.md +12 -4
- package/llms/components/lr-agent-trace.md +9 -2
- package/llms/components/lr-agent-workspace.md +14 -3
- package/llms/components/lr-alert.md +15 -8
- package/llms/components/lr-animated-image.md +8 -3
- package/llms/components/lr-animation.md +1 -1
- package/llms/components/lr-app-rail-group.md +1 -1
- package/llms/components/lr-app-rail-item.md +1 -1
- package/llms/components/lr-app-rail.md +114 -49
- package/llms/components/lr-approval-queue.md +23 -9
- package/llms/components/lr-archive-viewer.md +4 -3
- package/llms/components/lr-artifact-panel.md +8 -6
- package/llms/components/lr-attachment-chip.md +25 -23
- package/llms/components/lr-attachment-trigger.md +10 -3
- package/llms/components/lr-audio-visualizer.md +5 -2
- package/llms/components/lr-av-player.md +22 -7
- package/llms/components/lr-avatar-group.md +6 -2
- package/llms/components/lr-avatar.md +2 -3
- package/llms/components/lr-background-runs.md +27 -10
- package/llms/components/lr-badge.md +31 -13
- package/llms/components/lr-bar-chart.md +1 -1
- package/llms/components/lr-box-plot.md +13 -4
- package/llms/components/lr-branch-picker.md +12 -3
- package/llms/components/lr-breadcrumb-item.md +1 -1
- package/llms/components/lr-breadcrumb.md +9 -4
- package/llms/components/lr-browser-frame.md +6 -4
- package/llms/components/lr-bubble-chart.md +1 -1
- package/llms/components/lr-budget-meter.md +11 -5
- package/llms/components/lr-button-group.md +12 -6
- package/llms/components/lr-button.md +45 -6
- package/llms/components/lr-calendar-viewer.md +5 -3
- package/llms/components/lr-calendar.md +9 -6
- package/llms/components/lr-callout.md +6 -8
- package/llms/components/lr-card.md +38 -5
- package/llms/components/lr-carousel.md +20 -10
- package/llms/components/lr-change-review.md +8 -2
- package/llms/components/lr-chart-3d.md +9 -4
- package/llms/components/lr-chart.md +76 -17
- package/llms/components/lr-chat-composer.md +37 -10
- package/llms/components/lr-chat-message.md +25 -7
- package/llms/components/lr-chat-viewport.md +21 -6
- package/llms/components/lr-checkbox-group.md +32 -6
- package/llms/components/lr-checkbox.md +23 -8
- package/llms/components/lr-checkpoint.md +6 -2
- package/llms/components/lr-chip-group.md +2 -2
- package/llms/components/lr-chip.md +18 -4
- package/llms/components/lr-chord.md +97 -0
- package/llms/components/lr-choropleth.md +145 -0
- package/llms/components/lr-chunk-inspector.md +11 -1
- package/llms/components/lr-citation-badge.md +1 -0
- package/llms/components/lr-claim-evidence.md +1 -0
- package/llms/components/lr-code-block-core.md +53 -13
- package/llms/components/lr-code-block.md +73 -12
- package/llms/components/lr-code-editor.md +49 -13
- package/llms/components/lr-color-picker.md +59 -13
- package/llms/components/lr-combobox.md +144 -23
- package/llms/components/lr-command-palette.md +25 -13
- package/llms/components/lr-commit-card.md +6 -2
- package/llms/components/lr-community-card.md +5 -1
- package/llms/components/lr-compare-panel.md +5 -2
- package/llms/components/lr-condition-builder.md +12 -3
- package/llms/components/lr-confirm-bar.md +8 -4
- package/llms/components/lr-connector-manager.md +20 -6
- package/llms/components/lr-contact-viewer.md +8 -3
- package/llms/components/lr-context-inspector.md +1 -1
- package/llms/components/lr-context-menu.md +12 -4
- package/llms/components/lr-context-meter.md +11 -8
- package/llms/components/lr-control-group.md +2 -0
- package/llms/components/lr-conversation-item.md +21 -4
- package/llms/components/lr-copy-button.md +5 -1
- package/llms/components/lr-counter.md +60 -0
- package/llms/components/lr-country-picker.md +30 -5
- package/llms/components/lr-csv-viewer.md +11 -3
- package/llms/components/lr-currency-picker.md +34 -8
- package/llms/components/lr-dashboard-grid.md +14 -9
- package/llms/components/lr-data-grid.md +45 -28
- package/llms/components/lr-dataset-viewer.md +13 -2
- package/llms/components/lr-date-input.md +1 -1
- package/llms/components/lr-date-picker.md +74 -19
- package/llms/components/lr-details.md +32 -10
- package/llms/components/lr-dialog.md +105 -27
- package/llms/components/lr-diff-view.md +15 -3
- package/llms/components/lr-divider.md +16 -5
- package/llms/components/lr-dock-panel.md +11 -5
- package/llms/components/lr-document-compare.md +26 -6
- package/llms/components/lr-document-library.md +10 -4
- package/llms/components/lr-document-preview.md +16 -7
- package/llms/components/lr-document-viewer.md +6 -2
- package/llms/components/lr-docx-editor.md +19 -0
- package/llms/components/lr-docx-viewer.md +4 -2
- package/llms/components/lr-doughnut-chart.md +1 -1
- package/llms/components/lr-drawer.md +33 -9
- package/llms/components/lr-drilldown-panel.md +7 -1
- package/llms/components/lr-drop-zone.md +14 -5
- package/llms/components/lr-dropdown-item.md +1 -1
- package/llms/components/lr-dropdown.md +11 -6
- package/llms/components/lr-ebook-viewer.md +17 -5
- package/llms/components/lr-email-viewer.md +18 -7
- package/llms/components/lr-embedding-explorer.md +14 -8
- package/llms/components/lr-emoji-picker.md +29 -9
- package/llms/components/lr-empty.md +18 -8
- package/llms/components/lr-entity-card.md +5 -1
- package/llms/components/lr-entity-dossier.md +27 -15
- package/llms/components/lr-env-list.md +11 -6
- package/llms/components/lr-eval-dataset.md +8 -2
- package/llms/components/lr-eval-result.md +1 -1
- package/llms/components/lr-eval-run.md +13 -7
- package/llms/components/lr-export-button.md +29 -8
- package/llms/components/lr-file-icon.md +5 -2
- package/llms/components/lr-file-input.md +51 -14
- package/llms/components/lr-file-tree.md +5 -0
- package/llms/components/lr-filter-bar.md +42 -37
- package/llms/components/lr-flag.md +10 -6
- package/llms/components/lr-flow-canvas.md +11 -5
- package/llms/components/lr-flow-controls.md +11 -3
- package/llms/components/lr-flow-minimap.md +6 -2
- package/llms/components/lr-flow-node.md +6 -5
- package/llms/components/lr-format-bytes.md +10 -5
- package/llms/components/lr-format-date.md +3 -3
- package/llms/components/lr-format-number.md +3 -2
- package/llms/components/lr-funnel.md +12 -13
- package/llms/components/lr-gauge.md +6 -3
- package/llms/components/lr-gen-view.md +19 -0
- package/llms/components/lr-generation-metrics.md +8 -2
- package/llms/components/lr-geojson-viewer.md +18 -11
- package/llms/components/lr-graph-legend.md +5 -2
- package/llms/components/lr-graph-query-builder.md +21 -2
- package/llms/components/lr-graph.md +18 -10
- package/llms/components/lr-handoff-divider.md +4 -2
- package/llms/components/lr-heatmap.md +74 -8
- package/llms/components/lr-help.md +55 -0
- package/llms/components/lr-highlight-layer.md +13 -3
- package/llms/components/lr-histogram.md +16 -5
- package/llms/components/lr-html-viewer.md +8 -1
- package/llms/components/lr-icon-button.md +33 -10
- package/llms/components/lr-icon.md +13 -1
- package/llms/components/lr-image-comparer.md +7 -3
- package/llms/components/lr-image-viewer.md +18 -9
- package/llms/components/lr-include.md +3 -0
- package/llms/components/lr-ingestion-queue.md +7 -2
- package/llms/components/lr-input.md +26 -1
- package/llms/components/lr-intersection-observer.md +4 -1
- package/llms/components/lr-json-schema-viewer.md +12 -11
- package/llms/components/lr-json-viewer.md +16 -4
- package/llms/components/lr-kbd.md +4 -2
- package/llms/components/lr-knowledge-base-admin.md +4 -1
- package/llms/components/lr-knowledge-base.md +5 -4
- package/llms/components/lr-knowledge-graph-explorer.md +20 -4
- package/llms/components/lr-known-date.md +16 -1
- package/llms/components/lr-lightbox-item.md +14 -0
- package/llms/components/lr-lightbox.md +97 -12
- package/llms/components/lr-line-chart.md +12 -4
- package/llms/components/lr-lite-chart.md +15 -3
- package/llms/components/lr-locale-picker.md +34 -3
- package/llms/components/lr-map-anchor.md +21 -17
- package/llms/components/lr-map.md +335 -36
- package/llms/components/lr-markdown-core.md +33 -8
- package/llms/components/lr-markdown.md +70 -14
- package/llms/components/lr-mcp-app.md +4 -2
- package/llms/components/lr-media-card.md +12 -4
- package/llms/components/lr-memory-panel.md +22 -5
- package/llms/components/lr-mention-popover.md +14 -3
- package/llms/components/lr-menu-item.md +1 -1
- package/llms/components/lr-menu-label.md +7 -1
- package/llms/components/lr-menu.md +57 -8
- package/llms/components/lr-menubar-item.md +1 -1
- package/llms/components/lr-menubar.md +10 -2
- package/llms/components/lr-message-actions.md +3 -1
- package/llms/components/lr-message-feedback.md +19 -4
- package/llms/components/lr-message-parts.md +19 -7
- package/llms/components/lr-mind-map.md +7 -3
- package/llms/components/lr-model-select.md +49 -8
- package/llms/components/lr-model-settings-panel.md +9 -3
- package/llms/components/lr-model-viewer.md +12 -6
- package/llms/components/lr-multi-split.md +14 -10
- package/llms/components/lr-native-time-input.md +23 -2
- package/llms/components/lr-navigation-menu.md +11 -6
- package/llms/components/lr-neighbor-list.md +5 -4
- package/llms/components/lr-node-palette.md +9 -8
- package/llms/components/lr-notebook-viewer.md +17 -7
- package/llms/components/lr-number-input.md +24 -3
- package/llms/components/lr-number-ticker.md +55 -0
- package/llms/components/lr-otp-input.md +36 -6
- package/llms/components/lr-page-rail.md +7 -3
- package/llms/components/lr-page.md +34 -13
- package/llms/components/lr-pagination.md +78 -13
- package/llms/components/lr-pan-zoom.md +17 -8
- package/llms/components/lr-path-strip.md +5 -2
- package/llms/components/lr-pdf-viewer.md +22 -9
- package/llms/components/lr-permission-grant.md +14 -3
- package/llms/components/lr-permission-rules.md +21 -5
- package/llms/components/lr-phone-input.md +33 -6
- package/llms/components/lr-pie-chart.md +1 -1
- package/llms/components/lr-polar-area-chart.md +1 -1
- package/llms/components/lr-policy-summary.md +4 -1
- package/llms/components/lr-poll-status.md +8 -3
- package/llms/components/lr-popover.md +51 -9
- package/llms/components/lr-popup.md +1 -1
- package/llms/components/lr-pptx-viewer.md +16 -6
- package/llms/components/lr-progress-bar.md +4 -5
- package/llms/components/lr-progress-ring.md +2 -2
- package/llms/components/lr-prompt-input.md +18 -5
- package/llms/components/lr-prompt-queue.md +14 -4
- package/llms/components/lr-prompt-studio.md +14 -7
- package/llms/components/lr-provenance-panel.md +24 -13
- package/llms/components/lr-push-to-talk.md +11 -4
- package/llms/components/lr-qr-code.md +1 -1
- package/llms/components/lr-radar-chart.md +1 -1
- package/llms/components/lr-radio-button.md +12 -4
- package/llms/components/lr-radio-group.md +48 -9
- package/llms/components/lr-radio.md +19 -4
- package/llms/components/lr-rag-answer.md +3 -2
- package/llms/components/lr-rag-eval-dashboard.md +12 -5
- package/llms/components/lr-random-content.md +7 -3
- package/llms/components/lr-rating.md +10 -4
- package/llms/components/lr-realtime-session.md +10 -1
- package/llms/components/lr-relative-time.md +3 -3
- package/llms/components/lr-reorder-list.md +1 -1
- package/llms/components/lr-research-progress.md +1 -1
- package/llms/components/lr-resize-observer.md +2 -0
- package/llms/components/lr-responsive-panel.md +10 -3
- package/llms/components/lr-result-card.md +2 -1
- package/llms/components/lr-result-field.md +1 -1
- package/llms/components/lr-retrieval-compare.md +7 -4
- package/llms/components/lr-retrieval-results.md +10 -5
- package/llms/components/lr-retrieval-search.md +1 -1
- package/llms/components/lr-retrieval-trace.md +20 -9
- package/llms/components/lr-rubric-form.md +22 -8
- package/llms/components/lr-sankey.md +103 -0
- package/llms/components/lr-scatter-chart.md +1 -1
- package/llms/components/lr-scroller.md +13 -6
- package/llms/components/lr-segmented.md +49 -9
- package/llms/components/lr-select.md +56 -27
- package/llms/components/lr-selection-toolbar.md +5 -1
- package/llms/components/lr-sequence-playback.md +16 -5
- package/llms/components/lr-sequence-strip.md +6 -3
- package/llms/components/lr-signature-pad.md +44 -7
- package/llms/components/lr-skeleton.md +1 -1
- package/llms/components/lr-slider.md +58 -10
- package/llms/components/lr-source-list.md +4 -1
- package/llms/components/lr-source-picker.md +16 -8
- package/llms/components/lr-span-waterfall.md +11 -7
- package/llms/components/lr-sparkline.md +3 -2
- package/llms/components/lr-spinner.md +4 -2
- package/llms/components/lr-split-panel.md +8 -3
- package/llms/components/lr-spreadsheet-viewer.md +11 -3
- package/llms/components/lr-stack-trace.md +8 -2
- package/llms/components/lr-stat.md +54 -13
- package/llms/components/lr-step.md +61 -0
- package/llms/components/lr-stepper.md +79 -11
- package/llms/components/lr-stream-status.md +6 -3
- package/llms/components/lr-streaming-text-core.md +7 -4
- package/llms/components/lr-streaming-text.md +9 -7
- package/llms/components/lr-style-panel.md +73 -0
- package/llms/components/lr-subagent-panel.md +11 -4
- package/llms/components/lr-suggestion-chips.md +10 -4
- package/llms/components/lr-svg-viewer.md +15 -8
- package/llms/components/lr-swatch-picker.md +11 -4
- package/llms/components/lr-switch.md +11 -5
- package/llms/components/lr-tab-group.md +31 -3
- package/llms/components/lr-tab-panel.md +2 -2
- package/llms/components/lr-tab.md +5 -2
- package/llms/components/lr-table.md +168 -56
- package/llms/components/lr-tag.md +2 -2
- package/llms/components/lr-task-list.md +16 -9
- package/llms/components/lr-terminal.md +14 -8
- package/llms/components/lr-test-results.md +20 -8
- package/llms/components/lr-textarea.md +44 -9
- package/llms/components/lr-thinking-panel.md +14 -8
- package/llms/components/lr-thread-list.md +63 -20
- package/llms/components/lr-time-input.md +29 -7
- package/llms/components/lr-time-range.md +16 -15
- package/llms/components/lr-time-zone-picker.md +18 -3
- package/llms/components/lr-timeline-item.md +1 -1
- package/llms/components/lr-timeline.md +49 -4
- package/llms/components/lr-toast-item.md +2 -2
- package/llms/components/lr-toast.md +15 -6
- package/llms/components/lr-toggle-group.md +3 -3
- package/llms/components/lr-toggle.md +1 -1
- package/llms/components/lr-token-input.md +101 -18
- package/llms/components/lr-tool-approval-dialog.md +16 -2
- package/llms/components/lr-tool-call-block.md +11 -2
- package/llms/components/lr-tool-call-chip.md +17 -5
- package/llms/components/lr-tool-param-form.md +15 -9
- package/llms/components/lr-tool-result-dialog.md +14 -5
- package/llms/components/lr-tool-result-view.md +8 -5
- package/llms/components/lr-tool-select-dialog.md +27 -9
- package/llms/components/lr-tool-timeline.md +24 -6
- package/llms/components/lr-tooltip.md +23 -14
- package/llms/components/lr-tour.md +18 -4
- package/llms/components/lr-trace-tree.md +18 -4
- package/llms/components/lr-transcript-feed.md +9 -4
- package/llms/components/lr-tree-item.md +1 -1
- package/llms/components/lr-tree.md +14 -7
- package/llms/components/lr-treemap.md +90 -0
- package/llms/components/lr-typing-indicator.md +4 -5
- package/llms/components/lr-unit-picker.md +18 -3
- package/llms/components/lr-usage-badge.md +11 -3
- package/llms/components/lr-video-playlist.md +11 -3
- package/llms/components/lr-video.md +37 -19
- package/llms/components/lr-virtual-list.md +21 -13
- package/llms/components/lr-voice-picker.md +38 -7
- package/llms/components/lr-widget-renderer.md +6 -5
- package/llms/components/lr-widget.md +32 -20
- package/llms/components/lr-word-cloud.md +11 -4
- package/llms/components/lr-xml-viewer.md +15 -6
- package/llms/components/lr-zoomable-frame.md +17 -4
- package/llms/index.md +335 -320
- package/llms/migration.md +223 -15
- package/llms/peers.md +3 -3
- package/llms/shared/ai-and-peers.md +1 -2
- package/llms/shared/events-and-types.md +75 -5
- package/llms/shared/forms-and-accessibility.md +42 -3
- package/llms/shared/frameworks-and-ssr.md +2 -2
- package/llms/shared/imports-and-registration.md +62 -4
- package/llms/shared/localization-and-rtl.md +7 -2
- package/llms/shared/native-styles-and-utilities.md +153 -5
- package/llms/shared/styles-and-tokens.md +76 -35
- package/llms/shared/testing-and-utilities.md +45 -16
- package/llms/shared.md +462 -74
- package/llms/tokens.md +7 -2
- package/llms.txt +8 -9
- package/locales.json +1 -1
- package/package.json +396 -948
- package/registrations.json +1 -1
- package/skills/compose-lyra-interfaces/SKILL.md +1 -1
- package/skills/lyra-ui/SKILL.md +1 -2
- package/skills/lyra-ui/commands/migrate.md +3 -0
- package/dist/cli/agent-registry.mjs +0 -1
- package/dist/cli/component-inventory.mjs +0 -1
- package/dist/cli/css-declarations.mjs +0 -1
- package/dist/cli/html-comments.mjs +0 -1
- package/dist/cli/is-main-module.mjs +0 -1
- package/dist/cli/lyra-rename-ledger.mjs +0 -1
- package/dist/cli/migration-analysis.mjs +0 -13
- package/dist/cli/migration-contract.json +0 -1
- package/dist/cli/migration-contract.mjs +0 -2
- package/dist/cli/migration-immutable-collections.mjs +0 -6
- package/dist/cli/migration-renames.mjs +0 -4
- package/dist/cli/migration-theme-scopes.mjs +0 -3
- package/dist/cli/migration-transforms.mjs +0 -4
- package/dist/cli/theme-scope-vocabulary.generated.mjs +0 -1
- package/dist/components/agent-tools/activity-feed/activity-feed.d.ts +0 -2
- package/dist/components/agent-tools/activity-feed/activity-feed.js +0 -1
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.d.ts +0 -2
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.js +0 -1
- package/dist/components/agent-tools/agent-question/agent-question.d.ts +0 -2
- package/dist/components/agent-tools/agent-question/agent-question.js +0 -1
- package/dist/components/agent-tools/agent-run/agent-run.d.ts +0 -2
- package/dist/components/agent-tools/agent-run/agent-run.js +0 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.d.ts +0 -2
- package/dist/components/agent-tools/agent-trace/agent-trace.js +0 -1
- package/dist/components/agent-tools/approval-queue/approval-queue.d.ts +0 -2
- package/dist/components/agent-tools/approval-queue/approval-queue.js +0 -1
- package/dist/components/agent-tools/artifact-panel/artifact-panel.d.ts +0 -2
- package/dist/components/agent-tools/artifact-panel/artifact-panel.js +0 -1
- package/dist/components/agent-tools/background-runs/background-runs.d.ts +0 -2
- package/dist/components/agent-tools/background-runs/background-runs.js +0 -1
- package/dist/components/agent-tools/browser-frame/browser-frame.d.ts +0 -2
- package/dist/components/agent-tools/browser-frame/browser-frame.js +0 -1
- package/dist/components/agent-tools/budget-meter/budget-meter.d.ts +0 -2
- package/dist/components/agent-tools/budget-meter/budget-meter.js +0 -1
- package/dist/components/agent-tools/change-review/change-review.d.ts +0 -2
- package/dist/components/agent-tools/change-review/change-review.js +0 -1
- package/dist/components/agent-tools/collection-identity.js +0 -1
- package/dist/components/agent-tools/commit-card/commit-card.d.ts +0 -2
- package/dist/components/agent-tools/commit-card/commit-card.js +0 -1
- package/dist/components/agent-tools/compare-panel/compare-panel.d.ts +0 -2
- package/dist/components/agent-tools/compare-panel/compare-panel.js +0 -1
- package/dist/components/agent-tools/confirm-bar/confirm-bar.d.ts +0 -2
- package/dist/components/agent-tools/confirm-bar/confirm-bar.js +0 -1
- package/dist/components/agent-tools/connector-manager/connector-manager.d.ts +0 -2
- package/dist/components/agent-tools/connector-manager/connector-manager.js +0 -1
- package/dist/components/agent-tools/context-inspector/context-inspector.d.ts +0 -2
- package/dist/components/agent-tools/context-inspector/context-inspector.js +0 -1
- package/dist/components/agent-tools/context-inspector/context-inspector.styles.js +0 -1
- package/dist/components/agent-tools/eval-dataset/eval-dataset.d.ts +0 -2
- package/dist/components/agent-tools/eval-dataset/eval-dataset.js +0 -1
- package/dist/components/agent-tools/eval-result/eval-result.d.ts +0 -2
- package/dist/components/agent-tools/eval-result/eval-result.js +0 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.d.ts +0 -2
- package/dist/components/agent-tools/evaluation-run/evaluation-run.js +0 -1
- package/dist/components/agent-tools/mcp-app/mcp-app.d.ts +0 -2
- package/dist/components/agent-tools/mcp-app/mcp-app.js +0 -1
- package/dist/components/agent-tools/permission-grant/permission-grant.d.ts +0 -2
- package/dist/components/agent-tools/permission-grant/permission-grant.js +0 -1
- package/dist/components/agent-tools/permission-rules/permission-rules.d.ts +0 -2
- package/dist/components/agent-tools/permission-rules/permission-rules.js +0 -1
- package/dist/components/agent-tools/policy-summary/policy-summary.d.ts +0 -2
- package/dist/components/agent-tools/policy-summary/policy-summary.js +0 -1
- package/dist/components/agent-tools/policy-summary/policy-summary.styles.js +0 -1
- package/dist/components/agent-tools/prompt-studio/prompt-studio.d.ts +0 -2
- package/dist/components/agent-tools/prompt-studio/prompt-studio.js +0 -1
- package/dist/components/agent-tools/result-card/result-card.d.ts +0 -2
- package/dist/components/agent-tools/result-card/result-card.js +0 -1
- package/dist/components/agent-tools/result-card/result-field.d.ts +0 -2
- package/dist/components/agent-tools/result-card/result-field.js +0 -1
- package/dist/components/agent-tools/schema-viewer/schema-viewer.d.ts +0 -2
- package/dist/components/agent-tools/schema-viewer/schema-viewer.js +0 -1
- package/dist/components/agent-tools/span-waterfall/span-waterfall.d.ts +0 -2
- package/dist/components/agent-tools/span-waterfall/span-waterfall.js +0 -1
- package/dist/components/agent-tools/stack-trace/stack-trace.d.ts +0 -2
- package/dist/components/agent-tools/stack-trace/stack-trace.js +0 -1
- package/dist/components/agent-tools/subagent-panel/subagent-panel.d.ts +0 -2
- package/dist/components/agent-tools/subagent-panel/subagent-panel.js +0 -1
- package/dist/components/agent-tools/task-list/task-list.d.ts +0 -2
- package/dist/components/agent-tools/task-list/task-list.js +0 -1
- package/dist/components/agent-tools/terminal/terminal.d.ts +0 -2
- package/dist/components/agent-tools/terminal/terminal.js +0 -1
- package/dist/components/agent-tools/test-results/test-results.d.ts +0 -3
- package/dist/components/agent-tools/test-results/test-results.js +0 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.d.ts +0 -2
- package/dist/components/agent-tools/thinking-panel/thinking-panel.js +0 -1
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.d.ts +0 -2
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.js +0 -1
- package/dist/components/agent-tools/tool-call-block/tool-call-block.d.ts +0 -2
- package/dist/components/agent-tools/tool-call-block/tool-call-block.js +0 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.d.ts +0 -2
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.js +0 -1
- package/dist/components/agent-tools/tool-param-form/tool-param-form.d.ts +0 -2
- package/dist/components/agent-tools/tool-param-form/tool-param-form.js +0 -1
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.d.ts +0 -2
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.js +0 -1
- package/dist/components/agent-tools/tool-result-view/tool-result-view.d.ts +0 -2
- package/dist/components/agent-tools/tool-result-view/tool-result-view.js +0 -1
- package/dist/components/agent-tools/tool-result-view/tool-result-view.styles.js +0 -1
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.d.ts +0 -2
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.js +0 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.d.ts +0 -2
- package/dist/components/agent-tools/tool-timeline/tool-timeline.js +0 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.styles.js +0 -1
- package/dist/components/agent-tools/trace-tree/trace-tree.d.ts +0 -2
- package/dist/components/agent-tools/trace-tree/trace-tree.js +0 -1
- package/dist/components/charts/chart/bar-chart.d.ts +0 -2
- package/dist/components/charts/chart/bar-chart.js +0 -1
- package/dist/components/charts/chart/box-plot.d.ts +0 -2
- package/dist/components/charts/chart/box-plot.js +0 -1
- package/dist/components/charts/chart/bubble-chart.d.ts +0 -2
- package/dist/components/charts/chart/bubble-chart.js +0 -1
- package/dist/components/charts/chart/chart-number-format.js +0 -1
- package/dist/components/charts/chart/chart.d.ts +0 -2
- package/dist/components/charts/chart/chart.js +0 -1
- package/dist/components/charts/chart/doughnut-chart.d.ts +0 -2
- package/dist/components/charts/chart/doughnut-chart.js +0 -1
- package/dist/components/charts/chart/histogram.d.ts +0 -2
- package/dist/components/charts/chart/histogram.js +0 -1
- package/dist/components/charts/chart/line-chart.d.ts +0 -2
- package/dist/components/charts/chart/line-chart.js +0 -1
- package/dist/components/charts/chart/lite-chart.d.ts +0 -2
- package/dist/components/charts/chart/lite-chart.js +0 -1
- package/dist/components/charts/chart/pie-chart.d.ts +0 -2
- package/dist/components/charts/chart/pie-chart.js +0 -1
- package/dist/components/charts/chart/polar-area-chart.d.ts +0 -2
- package/dist/components/charts/chart/polar-area-chart.js +0 -1
- package/dist/components/charts/chart/radar-chart.d.ts +0 -2
- package/dist/components/charts/chart/radar-chart.js +0 -1
- package/dist/components/charts/chart/scatter-chart.d.ts +0 -2
- package/dist/components/charts/chart/scatter-chart.js +0 -1
- package/dist/components/charts/chart-3d/chart-3d.d.ts +0 -1
- package/dist/components/charts/chart-3d/chart-3d.js +0 -1
- package/dist/components/conversation/agent-workspace/agent-workspace.d.ts +0 -2
- package/dist/components/conversation/agent-workspace/agent-workspace.js +0 -1
- package/dist/components/conversation/audio-visualizer/audio-visualizer.d.ts +0 -2
- package/dist/components/conversation/audio-visualizer/audio-visualizer.js +0 -1
- package/dist/components/conversation/audio-visualizer/audio-visualizer.styles.js +0 -1
- package/dist/components/conversation/branch-picker/branch-picker.d.ts +0 -2
- package/dist/components/conversation/branch-picker/branch-picker.js +0 -1
- package/dist/components/conversation/chat-composer/chat-composer-status.js +0 -1
- package/dist/components/conversation/chat-composer/chat-composer.d.ts +0 -2
- package/dist/components/conversation/chat-composer/chat-composer.js +0 -1
- package/dist/components/conversation/chat-message/chat-message.d.ts +0 -2
- package/dist/components/conversation/chat-message/chat-message.js +0 -1
- package/dist/components/conversation/chat-viewport/chat-viewport.d.ts +0 -2
- package/dist/components/conversation/chat-viewport/chat-viewport.js +0 -1
- package/dist/components/conversation/checkpoint/checkpoint.d.ts +0 -2
- package/dist/components/conversation/checkpoint/checkpoint.js +0 -1
- package/dist/components/conversation/code-block/code-block-core.d.ts +0 -2
- package/dist/components/conversation/code-block/code-block-core.js +0 -1
- package/dist/components/conversation/code-block/code-block.d.ts +0 -2
- package/dist/components/conversation/code-block/code-block.js +0 -1
- package/dist/components/conversation/code-block/shiki-dark-theme.js +0 -1
- package/dist/components/conversation/conversation-item/conversation-item.d.ts +0 -2
- package/dist/components/conversation/conversation-item/conversation-item.js +0 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.d.ts +0 -2
- package/dist/components/conversation/generation-metrics/generation-metrics.js +0 -1
- package/dist/components/conversation/handoff-divider/handoff-divider.d.ts +0 -2
- package/dist/components/conversation/handoff-divider/handoff-divider.js +0 -1
- package/dist/components/conversation/markdown/markdown-core.d.ts +0 -2
- package/dist/components/conversation/markdown/markdown-core.js +0 -1
- package/dist/components/conversation/markdown/markdown.d.ts +0 -2
- package/dist/components/conversation/markdown/markdown.js +0 -1
- package/dist/components/conversation/message-actions/message-actions.d.ts +0 -2
- package/dist/components/conversation/message-actions/message-actions.js +0 -1
- package/dist/components/conversation/message-feedback/message-feedback.d.ts +0 -2
- package/dist/components/conversation/message-feedback/message-feedback.js +0 -1
- package/dist/components/conversation/message-parts/message-parts.d.ts +0 -2
- package/dist/components/conversation/message-parts/message-parts.js +0 -1
- package/dist/components/conversation/model-select/model-select.d.ts +0 -2
- package/dist/components/conversation/model-select/model-select.js +0 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.d.ts +0 -2
- package/dist/components/conversation/model-settings-panel/model-settings-panel.js +0 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.styles.js +0 -1
- package/dist/components/conversation/prompt-input/prompt-input.d.ts +0 -2
- package/dist/components/conversation/prompt-input/prompt-input.js +0 -1
- package/dist/components/conversation/prompt-queue/prompt-queue.d.ts +0 -2
- package/dist/components/conversation/prompt-queue/prompt-queue.js +0 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.d.ts +0 -2
- package/dist/components/conversation/push-to-talk/push-to-talk.js +0 -1
- package/dist/components/conversation/realtime-session/realtime-session.d.ts +0 -2
- package/dist/components/conversation/realtime-session/realtime-session.js +0 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.d.ts +0 -2
- package/dist/components/conversation/selection-toolbar/selection-toolbar.js +0 -1
- package/dist/components/conversation/stream-status/stream-status.d.ts +0 -2
- package/dist/components/conversation/stream-status/stream-status.js +0 -1
- package/dist/components/conversation/stream-status/stream-status.styles.js +0 -1
- package/dist/components/conversation/streaming-text/streaming-text-core.d.ts +0 -2
- package/dist/components/conversation/streaming-text/streaming-text-core.js +0 -1
- package/dist/components/conversation/streaming-text/streaming-text.d.ts +0 -2
- package/dist/components/conversation/streaming-text/streaming-text.js +0 -1
- package/dist/components/conversation/suggestion-chips/suggestion-chips.d.ts +0 -2
- package/dist/components/conversation/suggestion-chips/suggestion-chips.js +0 -1
- package/dist/components/conversation/thread-list/thread-list.d.ts +0 -2
- package/dist/components/conversation/thread-list/thread-list.js +0 -1
- package/dist/components/conversation/transcript-feed/transcript-feed.d.ts +0 -2
- package/dist/components/conversation/transcript-feed/transcript-feed.js +0 -1
- package/dist/components/conversation/typing-indicator/typing-indicator.d.ts +0 -2
- package/dist/components/conversation/typing-indicator/typing-indicator.js +0 -1
- package/dist/components/conversation/typing-indicator/typing-indicator.styles.js +0 -1
- package/dist/components/conversation/usage-badge/usage-badge.d.ts +0 -2
- package/dist/components/conversation/usage-badge/usage-badge.js +0 -1
- package/dist/components/conversation/voice-picker/voice-picker.d.ts +0 -2
- package/dist/components/conversation/voice-picker/voice-picker.js +0 -1
- package/dist/components/conversation/widget-renderer/widget-renderer.d.ts +0 -2
- package/dist/components/conversation/widget-renderer/widget-renderer.js +0 -1
- package/dist/components/conversation/widget-renderer/widget-renderer.styles.js +0 -1
- package/dist/components/data/calendar/calendar.d.ts +0 -2
- package/dist/components/data/calendar/calendar.js +0 -1
- package/dist/components/data/condition-builder/condition-builder.d.ts +0 -2
- package/dist/components/data/condition-builder/condition-builder.js +0 -1
- package/dist/components/data/context-meter/context-meter.d.ts +0 -2
- package/dist/components/data/context-meter/context-meter.js +0 -1
- package/dist/components/data/data-grid/data-grid.d.ts +0 -2
- package/dist/components/data/data-grid/data-grid.js +0 -1
- package/dist/components/data/document-library/document-library.d.ts +0 -2
- package/dist/components/data/document-library/document-library.js +0 -1
- package/dist/components/data/env-list/env-list.d.ts +0 -2
- package/dist/components/data/env-list/env-list.js +0 -1
- package/dist/components/data/file-tree/file-tree.d.ts +0 -3
- package/dist/components/data/file-tree/file-tree.js +0 -1
- package/dist/components/data/file-tree/file-tree.styles.js +0 -1
- package/dist/components/data/flow-canvas/flow-canvas.d.ts +0 -2
- package/dist/components/data/flow-canvas/flow-canvas.js +0 -1
- package/dist/components/data/flow-controls/flow-controls.d.ts +0 -2
- package/dist/components/data/flow-controls/flow-controls.js +0 -1
- package/dist/components/data/flow-minimap/flow-minimap.d.ts +0 -2
- package/dist/components/data/flow-minimap/flow-minimap.js +0 -1
- package/dist/components/data/flow-node/flow-node.d.ts +0 -2
- package/dist/components/data/flow-node/flow-node.js +0 -1
- package/dist/components/data/flow-run-status/flow-run-status.d.ts +0 -2
- package/dist/components/data/flow-run-status/flow-run-status.js +0 -1
- package/dist/components/data/funnel/funnel.d.ts +0 -2
- package/dist/components/data/funnel/funnel.js +0 -1
- package/dist/components/data/funnel/funnel.styles.js +0 -1
- package/dist/components/data/gauge/gauge.d.ts +0 -2
- package/dist/components/data/gauge/gauge.js +0 -1
- package/dist/components/data/gauge/gauge.styles.js +0 -1
- package/dist/components/data/graph-query-builder/graph-query-builder.d.ts +0 -2
- package/dist/components/data/graph-query-builder/graph-query-builder.js +0 -1
- package/dist/components/data/heatmap/heatmap.d.ts +0 -2
- package/dist/components/data/heatmap/heatmap.js +0 -1
- package/dist/components/data/pagination/pagination.d.ts +0 -2
- package/dist/components/data/pagination/pagination.js +0 -1
- package/dist/components/data/sequence-strip/sequence-strip.d.ts +0 -2
- package/dist/components/data/sequence-strip/sequence-strip.js +0 -1
- package/dist/components/data/sparkline/sparkline.d.ts +0 -2
- package/dist/components/data/sparkline/sparkline.js +0 -1
- package/dist/components/data/sparkline/sparkline.styles.js +0 -1
- package/dist/components/data/stat/stat.d.ts +0 -2
- package/dist/components/data/stat/stat.js +0 -1
- package/dist/components/data/table/table.d.ts +0 -2
- package/dist/components/data/table/table.js +0 -1
- package/dist/components/data/timeline/timeline-item.d.ts +0 -2
- package/dist/components/data/timeline/timeline-item.js +0 -1
- package/dist/components/data/timeline/timeline.d.ts +0 -2
- package/dist/components/data/timeline/timeline.js +0 -1
- package/dist/components/data/tree/tree-item.d.ts +0 -2
- package/dist/components/data/tree/tree-item.js +0 -1
- package/dist/components/data/tree/tree.d.ts +0 -3
- package/dist/components/data/tree/tree.js +0 -1
- package/dist/components/data/tree/tree.styles.js +0 -1
- package/dist/components/data/word-cloud/word-cloud.d.ts +0 -2
- package/dist/components/data/word-cloud/word-cloud.js +0 -1
- package/dist/components/forms/button/button.d.ts +0 -2
- package/dist/components/forms/button/button.js +0 -1
- package/dist/components/forms/checkbox/checkbox.d.ts +0 -2
- package/dist/components/forms/checkbox/checkbox.js +0 -1
- package/dist/components/forms/checkbox-group/checkbox-group.d.ts +0 -2
- package/dist/components/forms/checkbox-group/checkbox-group.js +0 -1
- package/dist/components/forms/code-editor/code-editor.d.ts +0 -2
- package/dist/components/forms/code-editor/code-editor.js +0 -1
- package/dist/components/forms/color-picker/color-picker.d.ts +0 -2
- package/dist/components/forms/color-picker/color-picker.js +0 -1
- package/dist/components/forms/combobox/combobox.d.ts +0 -2
- package/dist/components/forms/combobox/combobox.js +0 -1
- package/dist/components/forms/combobox/option.d.ts +0 -2
- package/dist/components/forms/combobox/option.js +0 -1
- package/dist/components/forms/country-picker/country-picker.d.ts +0 -1
- package/dist/components/forms/country-picker/country-picker.js +0 -1
- package/dist/components/forms/currency-picker/currency-picker.d.ts +0 -1
- package/dist/components/forms/currency-picker/currency-picker.js +0 -1
- package/dist/components/forms/date-picker/date-input.d.ts +0 -2
- package/dist/components/forms/date-picker/date-input.js +0 -1
- package/dist/components/forms/date-picker/date-picker.d.ts +0 -2
- package/dist/components/forms/date-picker/date-picker.js +0 -1
- package/dist/components/forms/emoji-picker/emoji-picker.d.ts +0 -2
- package/dist/components/forms/emoji-picker/emoji-picker.js +0 -1
- package/dist/components/forms/icon-button/icon-button.d.ts +0 -2
- package/dist/components/forms/icon-button/icon-button.js +0 -1
- package/dist/components/forms/input/input.d.ts +0 -2
- package/dist/components/forms/input/input.js +0 -1
- package/dist/components/forms/input/native-time-input.d.ts +0 -2
- package/dist/components/forms/input/native-time-input.js +0 -1
- package/dist/components/forms/input/number-input.d.ts +0 -2
- package/dist/components/forms/input/number-input.js +0 -1
- package/dist/components/forms/input/time-input.d.ts +0 -2
- package/dist/components/forms/input/time-input.js +0 -1
- package/dist/components/forms/locale-picker/locale-picker.d.ts +0 -2
- package/dist/components/forms/locale-picker/locale-picker.js +0 -1
- package/dist/components/forms/otp-input/otp-input.d.ts +0 -2
- package/dist/components/forms/otp-input/otp-input.js +0 -1
- package/dist/components/forms/phone-input/phone-input.d.ts +0 -2
- package/dist/components/forms/phone-input/phone-input.js +0 -1
- package/dist/components/forms/radio/radio-button.d.ts +0 -2
- package/dist/components/forms/radio/radio-button.js +0 -1
- package/dist/components/forms/radio/radio-group.d.ts +0 -2
- package/dist/components/forms/radio/radio-group.js +0 -1
- package/dist/components/forms/radio/radio.d.ts +0 -2
- package/dist/components/forms/radio/radio.js +0 -1
- package/dist/components/forms/rubric-form/rubric-form.d.ts +0 -2
- package/dist/components/forms/rubric-form/rubric-form.js +0 -1
- package/dist/components/forms/select/select.d.ts +0 -2
- package/dist/components/forms/select/select.js +0 -1
- package/dist/components/forms/signature-pad/signature-pad.d.ts +0 -1
- package/dist/components/forms/signature-pad/signature-pad.js +0 -1
- package/dist/components/forms/slider/slider.d.ts +0 -2
- package/dist/components/forms/slider/slider.js +0 -1
- package/dist/components/forms/swatch-picker/swatch-picker.d.ts +0 -2
- package/dist/components/forms/swatch-picker/swatch-picker.js +0 -1
- package/dist/components/forms/switch/switch.d.ts +0 -2
- package/dist/components/forms/switch/switch.js +0 -1
- package/dist/components/forms/textarea/textarea.d.ts +0 -2
- package/dist/components/forms/textarea/textarea.js +0 -1
- package/dist/components/forms/time-range/time-range.d.ts +0 -2
- package/dist/components/forms/time-range/time-range.js +0 -1
- package/dist/components/forms/time-zone-picker/time-zone-picker.d.ts +0 -1
- package/dist/components/forms/time-zone-picker/time-zone-picker.js +0 -1
- package/dist/components/forms/toggle/toggle.d.ts +0 -2
- package/dist/components/forms/toggle/toggle.js +0 -1
- package/dist/components/forms/toggle-group/toggle-group.d.ts +0 -2
- package/dist/components/forms/toggle-group/toggle-group.js +0 -1
- package/dist/components/forms/toggle-group/toggle-group.styles.js +0 -1
- package/dist/components/forms/token-input/token-input.d.ts +0 -2
- package/dist/components/forms/token-input/token-input.js +0 -1
- package/dist/components/forms/unit-picker/unit-picker.d.ts +0 -1
- package/dist/components/forms/unit-picker/unit-picker.js +0 -1
- package/dist/components/layout/app-rail/app-rail-item.d.ts +0 -2
- package/dist/components/layout/app-rail/app-rail-item.js +0 -1
- package/dist/components/layout/app-rail/app-rail.d.ts +0 -2
- package/dist/components/layout/app-rail/app-rail.js +0 -1
- package/dist/components/layout/app-rail-group/app-rail-group.d.ts +0 -2
- package/dist/components/layout/app-rail-group/app-rail-group.js +0 -1
- package/dist/components/layout/breadcrumb/breadcrumb-item.d.ts +0 -2
- package/dist/components/layout/breadcrumb/breadcrumb-item.js +0 -1
- package/dist/components/layout/breadcrumb/breadcrumb.d.ts +0 -2
- package/dist/components/layout/breadcrumb/breadcrumb.js +0 -1
- package/dist/components/layout/button-group/button-group.d.ts +0 -2
- package/dist/components/layout/button-group/button-group.js +0 -1
- package/dist/components/layout/button-group/button-group.styles.js +0 -1
- package/dist/components/layout/card/card.d.ts +0 -2
- package/dist/components/layout/card/card.js +0 -1
- package/dist/components/layout/carousel/carousel-item.d.ts +0 -2
- package/dist/components/layout/carousel/carousel-item.js +0 -1
- package/dist/components/layout/carousel/carousel-item.styles.js +0 -1
- package/dist/components/layout/carousel/carousel.d.ts +0 -1
- package/dist/components/layout/carousel/carousel.js +0 -1
- package/dist/components/layout/command-palette/command-palette.d.ts +0 -2
- package/dist/components/layout/command-palette/command-palette.js +0 -1
- package/dist/components/layout/control-group/control-group.d.ts +0 -2
- package/dist/components/layout/control-group/control-group.js +0 -1
- package/dist/components/layout/control-group/control-group.styles.js +0 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid.d.ts +0 -2
- package/dist/components/layout/dashboard-grid/dashboard-grid.js +0 -1
- package/dist/components/layout/details/accordion-item.d.ts +0 -2
- package/dist/components/layout/details/accordion-item.js +0 -1
- package/dist/components/layout/details/accordion.d.ts +0 -2
- package/dist/components/layout/details/accordion.js +0 -1
- package/dist/components/layout/details/accordion.styles.js +0 -1
- package/dist/components/layout/details/details.d.ts +0 -2
- package/dist/components/layout/details/details.js +0 -1
- package/dist/components/layout/dock-panel/dock-panel.d.ts +0 -2
- package/dist/components/layout/dock-panel/dock-panel.js +0 -1
- package/dist/components/layout/drilldown-panel/drilldown-panel.d.ts +0 -2
- package/dist/components/layout/drilldown-panel/drilldown-panel.js +0 -1
- package/dist/components/layout/filter-bar/filter-bar.d.ts +0 -2
- package/dist/components/layout/filter-bar/filter-bar.js +0 -1
- package/dist/components/layout/menu/dropdown-item.d.ts +0 -2
- package/dist/components/layout/menu/dropdown-item.js +0 -1
- package/dist/components/layout/menu/menu-item.d.ts +0 -2
- package/dist/components/layout/menu/menu-item.js +0 -1
- package/dist/components/layout/menu/menu-label.d.ts +0 -2
- package/dist/components/layout/menu/menu-label.js +0 -1
- package/dist/components/layout/menu/menu-label.styles.js +0 -1
- package/dist/components/layout/menu/menu.d.ts +0 -2
- package/dist/components/layout/menu/menu.js +0 -1
- package/dist/components/layout/menubar/menubar-item.d.ts +0 -2
- package/dist/components/layout/menubar/menubar-item.js +0 -1
- package/dist/components/layout/menubar/menubar.d.ts +0 -2
- package/dist/components/layout/menubar/menubar.js +0 -1
- package/dist/components/layout/multi-split/multi-split.d.ts +0 -2
- package/dist/components/layout/multi-split/multi-split.js +0 -1
- package/dist/components/layout/navigation-menu/navigation-menu.d.ts +0 -2
- package/dist/components/layout/navigation-menu/navigation-menu.js +0 -1
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.d.ts +0 -2
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.js +0 -1
- package/dist/components/layout/page/page.d.ts +0 -2
- package/dist/components/layout/page/page.js +0 -1
- package/dist/components/layout/reorder-list/reorder-item.d.ts +0 -2
- package/dist/components/layout/reorder-list/reorder-item.js +0 -1
- package/dist/components/layout/reorder-list/reorder-list.d.ts +0 -2
- package/dist/components/layout/reorder-list/reorder-list.js +0 -1
- package/dist/components/layout/responsive-panel/responsive-panel.d.ts +0 -2
- package/dist/components/layout/responsive-panel/responsive-panel.js +0 -1
- package/dist/components/layout/scroller/scroller.d.ts +0 -2
- package/dist/components/layout/scroller/scroller.js +0 -1
- package/dist/components/layout/segmented/segmented.d.ts +0 -2
- package/dist/components/layout/segmented/segmented.js +0 -1
- package/dist/components/layout/split-panel/split-panel.d.ts +0 -2
- package/dist/components/layout/split-panel/split-panel.js +0 -1
- package/dist/components/layout/stepper/stepper.d.ts +0 -2
- package/dist/components/layout/stepper/stepper.js +0 -1
- package/dist/components/layout/tab-group/tab-group.d.ts +0 -2
- package/dist/components/layout/tab-group/tab-group.js +0 -1
- package/dist/components/layout/tab-group/tab-panel.d.ts +0 -2
- package/dist/components/layout/tab-group/tab-panel.js +0 -1
- package/dist/components/layout/tab-group/tab-panel.styles.js +0 -1
- package/dist/components/layout/tab-group/tab.d.ts +0 -2
- package/dist/components/layout/tab-group/tab.js +0 -1
- package/dist/components/layout/virtual-list/virtual-list.d.ts +0 -2
- package/dist/components/layout/virtual-list/virtual-list.js +0 -1
- package/dist/components/layout/widget/widget.d.ts +0 -2
- package/dist/components/layout/widget/widget.js +0 -1
- package/dist/components/media/animated-image/animated-image.d.ts +0 -2
- package/dist/components/media/animated-image/animated-image.js +0 -1
- package/dist/components/media/animation/animation.d.ts +0 -2
- package/dist/components/media/animation/animation.js +0 -1
- package/dist/components/media/animation/animation.styles.js +0 -1
- package/dist/components/media/attachment-chip/attachment-chip.d.ts +0 -2
- package/dist/components/media/attachment-chip/attachment-chip.js +0 -1
- package/dist/components/media/attachment-trigger/attachment-trigger.d.ts +0 -2
- package/dist/components/media/attachment-trigger/attachment-trigger.js +0 -1
- package/dist/components/media/av-player/av-player.d.ts +0 -2
- package/dist/components/media/av-player/av-player.js +0 -9
- package/dist/components/media/avatar/avatar.d.ts +0 -2
- package/dist/components/media/avatar/avatar.js +0 -1
- package/dist/components/media/avatar/avatar.styles.js +0 -1
- package/dist/components/media/avatar-group/avatar-group.d.ts +0 -2
- package/dist/components/media/avatar-group/avatar-group.js +0 -1
- package/dist/components/media/drop-zone/drop-zone.d.ts +0 -2
- package/dist/components/media/drop-zone/drop-zone.js +0 -1
- package/dist/components/media/file-icon/file-icon.d.ts +0 -2
- package/dist/components/media/file-icon/file-icon.js +0 -1
- package/dist/components/media/file-input/accept.js +0 -1
- package/dist/components/media/file-input/file-input.d.ts +0 -2
- package/dist/components/media/file-input/file-input.js +0 -1
- package/dist/components/media/file-input/file-intake.d.ts +0 -19
- package/dist/components/media/file-input/file-intake.js +0 -1
- package/dist/components/media/flag/flag.d.ts +0 -2
- package/dist/components/media/flag/flag.js +0 -1
- package/dist/components/media/flag/flag.styles.js +0 -1
- package/dist/components/media/image-comparer/image-comparer.d.ts +0 -1
- package/dist/components/media/image-comparer/image-comparer.js +0 -1
- package/dist/components/media/image-viewer/image-viewer.d.ts +0 -2
- package/dist/components/media/image-viewer/image-viewer.js +0 -7
- package/dist/components/media/lightbox/lightbox.d.ts +0 -2
- package/dist/components/media/lightbox/lightbox.js +0 -1
- package/dist/components/media/map/map-anchor.d.ts +0 -1
- package/dist/components/media/map/map-anchor.js +0 -1
- package/dist/components/media/map/map-feature-loader-core.js +0 -1
- package/dist/components/media/map/map-scene-completion-adapter.js +0 -1
- package/dist/components/media/map/map-scene-completion-camera.js +0 -1
- package/dist/components/media/map/map.d.ts +0 -2
- package/dist/components/media/map/map.js +0 -1
- package/dist/components/media/media-card/media-card.d.ts +0 -2
- package/dist/components/media/media-card/media-card.js +0 -1
- package/dist/components/media/pan-zoom/pan-zoom.d.ts +0 -1
- package/dist/components/media/pan-zoom/pan-zoom.js +0 -1
- package/dist/components/media/qr-code/qr-code.d.ts +0 -2
- package/dist/components/media/qr-code/qr-code.js +0 -1
- package/dist/components/media/qr-code/qr-code.styles.js +0 -1
- package/dist/components/media/sequence-playback/sequence-playback.d.ts +0 -2
- package/dist/components/media/sequence-playback/sequence-playback.js +0 -1
- package/dist/components/media/video/video.d.ts +0 -2
- package/dist/components/media/video/video.js +0 -1
- package/dist/components/media/video-playlist/video-playlist.d.ts +0 -2
- package/dist/components/media/video-playlist/video-playlist.js +0 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.d.ts +0 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.js +0 -1
- package/dist/components/overlays/alert/alert.d.ts +0 -2
- package/dist/components/overlays/alert/alert.js +0 -1
- package/dist/components/overlays/badge/badge.d.ts +0 -2
- package/dist/components/overlays/badge/badge.js +0 -1
- package/dist/components/overlays/badge/tag.d.ts +0 -2
- package/dist/components/overlays/badge/tag.js +0 -1
- package/dist/components/overlays/callout/callout.d.ts +0 -2
- package/dist/components/overlays/callout/callout.js +0 -1
- package/dist/components/overlays/chip/chip-group.d.ts +0 -2
- package/dist/components/overlays/chip/chip-group.js +0 -1
- package/dist/components/overlays/chip/chip.d.ts +0 -2
- package/dist/components/overlays/chip/chip.js +0 -1
- package/dist/components/overlays/context-menu/context-menu.d.ts +0 -2
- package/dist/components/overlays/context-menu/context-menu.js +0 -1
- package/dist/components/overlays/context-menu/context-menu.styles.js +0 -1
- package/dist/components/overlays/dialog/dialog.d.ts +0 -2
- package/dist/components/overlays/dialog/dialog.js +0 -1
- package/dist/components/overlays/drawer/drawer.d.ts +0 -2
- package/dist/components/overlays/drawer/drawer.js +0 -1
- package/dist/components/overlays/drawer/drawer.styles.js +0 -1
- package/dist/components/overlays/empty/empty.d.ts +0 -2
- package/dist/components/overlays/empty/empty.js +0 -1
- package/dist/components/overlays/empty/empty.styles.js +0 -1
- package/dist/components/overlays/kbd/kbd.d.ts +0 -2
- package/dist/components/overlays/kbd/kbd.js +0 -1
- package/dist/components/overlays/kbd/kbd.styles.js +0 -1
- package/dist/components/overlays/overlay/dropdown.d.ts +0 -2
- package/dist/components/overlays/overlay/dropdown.js +0 -1
- package/dist/components/overlays/overlay/dropdown.styles.js +0 -1
- package/dist/components/overlays/overlay/overlay-shared.d.ts +0 -63
- package/dist/components/overlays/overlay/overlay-shared.js +0 -1
- package/dist/components/overlays/overlay/popover.d.ts +0 -2
- package/dist/components/overlays/overlay/popover.js +0 -1
- package/dist/components/overlays/overlay/tooltip.d.ts +0 -2
- package/dist/components/overlays/overlay/tooltip.js +0 -1
- package/dist/components/overlays/popup/popup.d.ts +0 -2
- package/dist/components/overlays/popup/popup.js +0 -1
- package/dist/components/overlays/popup/popup.styles.js +0 -1
- package/dist/components/overlays/progress/progress-bar.d.ts +0 -2
- package/dist/components/overlays/progress/progress-bar.js +0 -1
- package/dist/components/overlays/progress/progress-ring.d.ts +0 -2
- package/dist/components/overlays/progress/progress-ring.js +0 -1
- package/dist/components/overlays/rating/rating.d.ts +0 -2
- package/dist/components/overlays/rating/rating.js +0 -1
- package/dist/components/overlays/skeleton/skeleton.d.ts +0 -2
- package/dist/components/overlays/skeleton/skeleton.js +0 -1
- package/dist/components/overlays/skeleton/skeleton.styles.js +0 -1
- package/dist/components/overlays/spinner/spinner.d.ts +0 -2
- package/dist/components/overlays/spinner/spinner.js +0 -1
- package/dist/components/overlays/toast/toast-item.d.ts +0 -2
- package/dist/components/overlays/toast/toast-item.js +0 -1
- package/dist/components/overlays/toast/toast.d.ts +0 -2
- package/dist/components/overlays/toast/toast.js +0 -1
- package/dist/components/overlays/toast/toast.styles.js +0 -1
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.d.ts +0 -2
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.js +0 -1
- package/dist/components/retrieval/citation-badge/citation-badge.d.ts +0 -2
- package/dist/components/retrieval/citation-badge/citation-badge.js +0 -1
- package/dist/components/retrieval/claim-evidence/claim-evidence.d.ts +0 -2
- package/dist/components/retrieval/claim-evidence/claim-evidence.js +0 -1
- package/dist/components/retrieval/community-card/community-card.d.ts +0 -2
- package/dist/components/retrieval/community-card/community-card.js +0 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.d.ts +0 -2
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.js +0 -1
- package/dist/components/retrieval/entity-card/entity-card.d.ts +0 -2
- package/dist/components/retrieval/entity-card/entity-card.js +0 -1
- package/dist/components/retrieval/entity-chip/entity-chip.d.ts +0 -2
- package/dist/components/retrieval/entity-chip/entity-chip.js +0 -1
- package/dist/components/retrieval/entity-dossier/entity-dossier.d.ts +0 -2
- package/dist/components/retrieval/entity-dossier/entity-dossier.js +0 -1
- package/dist/components/retrieval/entity-dossier/entity-dossier.styles.js +0 -1
- package/dist/components/retrieval/graph/graph.d.ts +0 -2
- package/dist/components/retrieval/graph/graph.js +0 -1
- package/dist/components/retrieval/graph-legend/graph-legend.d.ts +0 -2
- package/dist/components/retrieval/graph-legend/graph-legend.js +0 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.d.ts +0 -2
- package/dist/components/retrieval/grounding-summary/grounding-summary.js +0 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.d.ts +0 -2
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.js +0 -1
- package/dist/components/retrieval/knowledge-base/knowledge-base.d.ts +0 -2
- package/dist/components/retrieval/knowledge-base/knowledge-base.js +0 -1
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.d.ts +0 -2
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.js +0 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.d.ts +0 -2
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.js +0 -1
- package/dist/components/retrieval/memory-panel/memory-panel.d.ts +0 -2
- package/dist/components/retrieval/memory-panel/memory-panel.js +0 -1
- package/dist/components/retrieval/mind-map/mind-map.d.ts +0 -3
- package/dist/components/retrieval/mind-map/mind-map.js +0 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.d.ts +0 -2
- package/dist/components/retrieval/neighbor-list/neighbor-list.js +0 -1
- package/dist/components/retrieval/node-palette/node-palette.d.ts +0 -2
- package/dist/components/retrieval/node-palette/node-palette.js +0 -1
- package/dist/components/retrieval/path-strip/path-strip.d.ts +0 -2
- package/dist/components/retrieval/path-strip/path-strip.js +0 -1
- package/dist/components/retrieval/provenance-panel/provenance-panel.d.ts +0 -2
- package/dist/components/retrieval/provenance-panel/provenance-panel.js +0 -1
- package/dist/components/retrieval/rag-answer/rag-answer.d.ts +0 -2
- package/dist/components/retrieval/rag-answer/rag-answer.js +0 -1
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.d.ts +0 -2
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.js +0 -1
- package/dist/components/retrieval/research-progress/research-progress.d.ts +0 -2
- package/dist/components/retrieval/research-progress/research-progress.js +0 -1
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.d.ts +0 -2
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.js +0 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results.d.ts +0 -2
- package/dist/components/retrieval/retrieval-results/retrieval-results.js +0 -1
- package/dist/components/retrieval/retrieval-search/retrieval-search.d.ts +0 -2
- package/dist/components/retrieval/retrieval-search/retrieval-search.js +0 -1
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.d.ts +0 -2
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.js +0 -1
- package/dist/components/retrieval/source-card/source-card.d.ts +0 -2
- package/dist/components/retrieval/source-card/source-card.js +0 -1
- package/dist/components/retrieval/source-list/source-list.d.ts +0 -2
- package/dist/components/retrieval/source-list/source-list.js +0 -1
- package/dist/components/retrieval/source-picker/source-picker.d.ts +0 -2
- package/dist/components/retrieval/source-picker/source-picker.js +0 -1
- package/dist/components/utility/copy-button/copy-button.d.ts +0 -2
- package/dist/components/utility/copy-button/copy-button.js +0 -1
- package/dist/components/utility/diff-view/diff-view.d.ts +0 -2
- package/dist/components/utility/diff-view/diff-view.js +0 -1
- package/dist/components/utility/divider/divider.d.ts +0 -2
- package/dist/components/utility/divider/divider.js +0 -1
- package/dist/components/utility/divider/divider.styles.js +0 -1
- package/dist/components/utility/export-button/export-button.d.ts +0 -2
- package/dist/components/utility/export-button/export-button.js +0 -1
- package/dist/components/utility/format/format-bytes.d.ts +0 -2
- package/dist/components/utility/format/format-bytes.js +0 -1
- package/dist/components/utility/format/format-date.d.ts +0 -2
- package/dist/components/utility/format/format-date.js +0 -1
- package/dist/components/utility/format/format-number.d.ts +0 -2
- package/dist/components/utility/format/format-number.js +0 -1
- package/dist/components/utility/format/relative-time.d.ts +0 -2
- package/dist/components/utility/format/relative-time.js +0 -1
- package/dist/components/utility/icon/icon.d.ts +0 -2
- package/dist/components/utility/icon/icon.js +0 -1
- package/dist/components/utility/icon/icon.styles.js +0 -1
- package/dist/components/utility/intersection-observer/intersection-observer.d.ts +0 -2
- package/dist/components/utility/intersection-observer/intersection-observer.js +0 -1
- package/dist/components/utility/json-viewer/json-viewer.d.ts +0 -3
- package/dist/components/utility/json-viewer/json-viewer.js +0 -1
- package/dist/components/utility/known-date/known-date.d.ts +0 -2
- package/dist/components/utility/known-date/known-date.js +0 -1
- package/dist/components/utility/live-region/live-region.d.ts +0 -2
- package/dist/components/utility/live-region/live-region.js +0 -1
- package/dist/components/utility/live-region/live-region.styles.js +0 -1
- package/dist/components/utility/mention-popover/mention-popover.d.ts +0 -2
- package/dist/components/utility/mention-popover/mention-popover.js +0 -1
- package/dist/components/utility/mutation-observer/mutation-observer.d.ts +0 -2
- package/dist/components/utility/mutation-observer/mutation-observer.js +0 -1
- package/dist/components/utility/poll-status/poll-status.d.ts +0 -2
- package/dist/components/utility/poll-status/poll-status.js +0 -1
- package/dist/components/utility/random-content/random-content.d.ts +0 -2
- package/dist/components/utility/random-content/random-content.js +0 -1
- package/dist/components/utility/resize-observer/resize-observer.d.ts +0 -2
- package/dist/components/utility/resize-observer/resize-observer.js +0 -1
- package/dist/components/utility/tour/tour.d.ts +0 -2
- package/dist/components/utility/tour/tour.js +0 -1
- package/dist/components/utility/visually-hidden/visually-hidden.d.ts +0 -2
- package/dist/components/utility/visually-hidden/visually-hidden.js +0 -1
- package/dist/components/utility/visually-hidden/visually-hidden.styles.js +0 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.d.ts +0 -2
- package/dist/components/viewers/archive-viewer/archive-viewer.js +0 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.d.ts +0 -2
- package/dist/components/viewers/calendar-viewer/calendar-viewer.js +0 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.styles.js +0 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.d.ts +0 -2
- package/dist/components/viewers/contact-viewer/contact-viewer.js +0 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.styles.js +0 -1
- package/dist/components/viewers/csv-viewer/csv-viewer.d.ts +0 -2
- package/dist/components/viewers/csv-viewer/csv-viewer.js +0 -6
- package/dist/components/viewers/dataset-viewer/dataset-viewer.d.ts +0 -2
- package/dist/components/viewers/dataset-viewer/dataset-viewer.js +0 -1
- package/dist/components/viewers/document-compare/document-compare.d.ts +0 -2
- package/dist/components/viewers/document-compare/document-compare.js +0 -1
- package/dist/components/viewers/document-preview/document-preview.d.ts +0 -2
- package/dist/components/viewers/document-preview/document-preview.js +0 -1
- package/dist/components/viewers/document-viewer/document-viewer.d.ts +0 -2
- package/dist/components/viewers/document-viewer/document-viewer.js +0 -1
- package/dist/components/viewers/docx-viewer/docx-viewer.d.ts +0 -2
- package/dist/components/viewers/docx-viewer/docx-viewer.js +0 -6
- package/dist/components/viewers/ebook-viewer/ebook-viewer.d.ts +0 -2
- package/dist/components/viewers/ebook-viewer/ebook-viewer.js +0 -1
- package/dist/components/viewers/ebook-viewer/ebook-viewer.styles.js +0 -1
- package/dist/components/viewers/email-viewer/email-viewer.d.ts +0 -2
- package/dist/components/viewers/email-viewer/email-viewer.js +0 -1
- package/dist/components/viewers/geojson-view/geojson-view.class.d.ts +0 -7
- package/dist/components/viewers/geojson-view/geojson-view.class.js +0 -1
- package/dist/components/viewers/geojson-view/geojson-viewer.d.ts +0 -2
- package/dist/components/viewers/geojson-view/geojson-viewer.js +0 -1
- package/dist/components/viewers/highlight-layer/highlight-layer.d.ts +0 -2
- package/dist/components/viewers/highlight-layer/highlight-layer.js +0 -1
- package/dist/components/viewers/html-viewer/html-viewer.d.ts +0 -2
- package/dist/components/viewers/html-viewer/html-viewer.js +0 -1
- package/dist/components/viewers/include/include.d.ts +0 -2
- package/dist/components/viewers/include/include.js +0 -1
- package/dist/components/viewers/include/include.styles.js +0 -1
- package/dist/components/viewers/model-viewer/model-viewer.d.ts +0 -1
- package/dist/components/viewers/model-viewer/model-viewer.js +0 -1
- package/dist/components/viewers/notebook-viewer/notebook-viewer.d.ts +0 -2
- package/dist/components/viewers/notebook-viewer/notebook-viewer.js +0 -6
- package/dist/components/viewers/page-rail/page-rail.d.ts +0 -2
- package/dist/components/viewers/page-rail/page-rail.js +0 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.d.ts +0 -2
- package/dist/components/viewers/pdf-viewer/pdf-viewer.js +0 -6
- package/dist/components/viewers/pptx-viewer/pptx-viewer.d.ts +0 -2
- package/dist/components/viewers/pptx-viewer/pptx-viewer.js +0 -6
- package/dist/components/viewers/pptx-viewer/pptx-viewer.styles.js +0 -1
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.d.ts +0 -2
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.js +0 -6
- package/dist/components/viewers/svg-viewer/svg-viewer.d.ts +0 -2
- package/dist/components/viewers/svg-viewer/svg-viewer.js +0 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.d.ts +0 -2
- package/dist/components/viewers/xml-viewer/xml-viewer.js +0 -6
- package/dist/internal/map-camera-follow-scene.js +0 -1
- package/dist/internal/map-scene-session.js +0 -1
- package/llms/shared/v23-to-v24-migration.md +0 -167
- /package/dist/{components/conversation/chat-composer → internal}/chat-composer-status.d.ts +0 -0
- /package/dist/{components/viewers/document-viewer/anchors.d.ts → internal/document-anchors.d.ts} +0 -0
- /package/dist/{components/viewers/document-viewer/anchors.js → internal/document-anchors.js} +0 -0
- /package/dist/{components/data/file-tree/file-tree-status.d.ts → internal/git-status.d.ts} +0 -0
- /package/dist/{components/data/file-tree/file-tree-status.js → internal/git-status.js} +0 -0
- /package/dist/{components/conversation/markdown → internal}/markdown-streaming-tail.js +0 -0
|
@@ -1,73 +1,24 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{AnnouncementSinkController}from"../../../internal/announcer.js";import{collectionSupport,publicCollectionTruncation}from"../../../internal/collection-snapshot.js";import{html,nothing}from"lit";import{property,state}from"lit/decorators.js";import{repeat}from"lit/directives/repeat.js";import{activeElementIn,shadowFocusTarget}from"../../../internal/active-element.js";import{getOwnDataDescriptor,MISSING_OWN_DATA_DESCRIPTOR,UNSAFE_OWN_DATA_DESCRIPTOR}from"../../../internal/data-descriptors.js";import{LyraElement}from"../../../internal/lyra-element.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{resolveHeadingLevel}from"../../../internal/heading-level.js";import{styles}from"./prompt-queue.styles.js";import{LYRA_DEFAULT_promptInputAttachments,LYRA_DEFAULT_promptQueueActionLabel,LYRA_DEFAULT_promptQueueAttachmentLimit,LYRA_DEFAULT_promptQueueEmpty,LYRA_DEFAULT_promptQueueInputLimit,LYRA_DEFAULT_promptQueueItemLabel,LYRA_DEFAULT_promptQueueLabel,LYRA_DEFAULT_promptQueueSendNow}from"../../../internal/default-strings/conversation.generated.js";import{LYRA_DEFAULT_attachmentUntitledFile,LYRA_DEFAULT_moveDown,LYRA_DEFAULT_moveUp,LYRA_DEFAULT_next,LYRA_DEFAULT_paginationApplied,LYRA_DEFAULT_paginationFirstPage,LYRA_DEFAULT_paginationLabel,LYRA_DEFAULT_paginationLastPage,LYRA_DEFAULT_previous,LYRA_DEFAULT_remove}from"../../../internal/default-strings/shared.generated.js";const MAX_PROJECTED_QUEUE_ITEMS=1e4,MAX_PROJECTED_QUEUE_ATTACHMENTS=1e4,QUEUE_PAGE_SIZE=20,ATTACHMENT_PREVIEW_SIZE=50,canonicalByExportedItem=new WeakMap,EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS=Object.freeze([]);function descriptorValue(value,property2){return getOwnDataDescriptor(value,property2)}function valueOfDescriptor(descriptor){return descriptor===MISSING_OWN_DATA_DESCRIPTOR||descriptor===UNSAFE_OWN_DATA_DESCRIPTOR?void 0:descriptor.value}function projectPromptQueueAttachment(value){try{if(value===null||typeof value!="object"||Array.isArray(value))return;const idDescriptor=descriptorValue(value,"id"),nameDescriptor=descriptorValue(value,"name"),mimeTypeDescriptor=descriptorValue(value,"mimeType"),uriDescriptor=descriptorValue(value,"uri"),versionDescriptor=descriptorValue(value,"version");if([idDescriptor,nameDescriptor,mimeTypeDescriptor,uriDescriptor,versionDescriptor].some(descriptor=>descriptor===UNSAFE_OWN_DATA_DESCRIPTOR))return;const id=valueOfDescriptor(idDescriptor),name=valueOfDescriptor(nameDescriptor);if(typeof id!="string"||id.trim().length===0||typeof name!="string")return;const mimeType=valueOfDescriptor(mimeTypeDescriptor),uri=valueOfDescriptor(uriDescriptor),version=valueOfDescriptor(versionDescriptor);return Object.freeze({id,name,...typeof mimeType=="string"?{mimeType}:{},...typeof uri=="string"?{uri}:{},...typeof version=="string"?{version}:{}})}catch{return}}function projectPromptQueueAttachments(value,budget){try{if(!Array.isArray(value))return;const lengthDescriptor=descriptorValue(value,"length");if(lengthDescriptor===MISSING_OWN_DATA_DESCRIPTOR||lengthDescriptor===UNSAFE_OWN_DATA_DESCRIPTOR||typeof lengthDescriptor.value!="number"||!Number.isSafeInteger(lengthDescriptor.value)||lengthDescriptor.value<0)return;const attachments=[],length=Math.min(lengthDescriptor.value,budget.remaining);length<lengthDescriptor.value&&budget.onTruncate?.();for(let index=0;index<length;index+=1){budget.remaining--;const descriptor=descriptorValue(value,String(index));if(descriptor===MISSING_OWN_DATA_DESCRIPTOR||descriptor===UNSAFE_OWN_DATA_DESCRIPTOR)continue;const attachment=projectPromptQueueAttachment(descriptor.value);attachment&&attachments.push(attachment)}return Object.freeze(attachments)}catch{return}}function projectPromptQueueItem(value,budget){try{if(value===null||typeof value!="object"||Array.isArray(value))return;const owned=canonicalByExportedItem.get(value);if(owned&&(owned.attachments?.length??0)<=budget.remaining)return budget.remaining-=owned.attachments?.length??0,owned;const idDescriptor=descriptorValue(value,"id"),valueDescriptor=descriptorValue(value,"value"),attachmentsDescriptor=descriptorValue(value,"attachments"),createdAtDescriptor=descriptorValue(value,"createdAt"),metadataDescriptor=descriptorValue(value,"metadata");if([idDescriptor,valueDescriptor,attachmentsDescriptor,createdAtDescriptor,metadataDescriptor].some(descriptor=>descriptor===UNSAFE_OWN_DATA_DESCRIPTOR))return;const id=valueOfDescriptor(idDescriptor),prompt=valueOfDescriptor(valueDescriptor);if(typeof id!="string"||id.trim().length===0||typeof prompt!="string")return;const attachmentsValue=valueOfDescriptor(attachmentsDescriptor),attachments=attachmentsDescriptor===MISSING_OWN_DATA_DESCRIPTOR||attachmentsValue===void 0?void 0:projectPromptQueueAttachments(attachmentsValue,budget),createdAt=valueOfDescriptor(createdAtDescriptor),metadata=valueOfDescriptor(metadataDescriptor);return Object.freeze({source:value,id,value:prompt,...attachments===void 0?{}:{attachments},...typeof createdAt=="number"&&Number.isFinite(createdAt)?{createdAt}:{},...metadata!==void 0?{metadata}:{}})}catch{return}}function projectPromptQueueItems(value,onTruncate){try{if(!Array.isArray(value))return EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS;const lengthDescriptor=descriptorValue(value,"length");if(lengthDescriptor===MISSING_OWN_DATA_DESCRIPTOR||lengthDescriptor===UNSAFE_OWN_DATA_DESCRIPTOR||typeof lengthDescriptor.value!="number"||!Number.isSafeInteger(lengthDescriptor.value)||lengthDescriptor.value<0)return EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS;const budget={remaining:MAX_PROJECTED_QUEUE_ATTACHMENTS,onTruncate},items=[],seen=new Set,length=Math.min(lengthDescriptor.value,MAX_PROJECTED_QUEUE_ITEMS);length<lengthDescriptor.value&&onTruncate?.();for(let index=0;index<length;index+=1){const descriptor=descriptorValue(value,String(index));if(descriptor===MISSING_OWN_DATA_DESCRIPTOR||descriptor===UNSAFE_OWN_DATA_DESCRIPTOR)continue;const item=projectPromptQueueItem(descriptor.value,budget);!item||seen.has(item.id)||(seen.add(item.id),items.push(item))}return Object.freeze(items)}catch{return EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS}}const exportedItems=new WeakMap;function toPromptQueueItem(item,value=item.value){let exported=exportedItems.get(item);if(exported||(exported=Object.freeze({id:item.id,value:item.value,...item.attachments===void 0?{}:{attachments:item.attachments},...item.createdAt===void 0?{}:{createdAt:item.createdAt},...item.metadata===void 0?{}:{metadata:item.metadata}}),exportedItems.set(item,exported),canonicalByExportedItem.set(exported,item)),value===item.value)return exported;const edited=Object.freeze({...exported,value}),canonical=Object.freeze({...item,source:edited,value});return canonicalByExportedItem.set(edited,canonical),exportedItems.set(canonical,edited),edited}class LyraPromptQueue extends LyraElement{constructor(){super(...arguments),this.items=[],this.readonly=!1,this.disabled=!1,this.accessibleLabel=null,this.headingLevel="3",this.page=0,this.announcements=new AnnouncementSinkController(this,{eager:["polite"]}),this.inputLossByItems=new WeakSet,this.drafts=new Map,this.canonicalItemsBySource=new WeakMap,this.containNativeEvent=event=>{event.stopPropagation()}}static{this.defaultStrings={...super.defaultStrings,attachmentUntitledFile:LYRA_DEFAULT_attachmentUntitledFile,moveDown:LYRA_DEFAULT_moveDown,moveUp:LYRA_DEFAULT_moveUp,next:LYRA_DEFAULT_next,paginationApplied:LYRA_DEFAULT_paginationApplied,paginationFirstPage:LYRA_DEFAULT_paginationFirstPage,paginationLabel:LYRA_DEFAULT_paginationLabel,paginationLastPage:LYRA_DEFAULT_paginationLastPage,previous:LYRA_DEFAULT_previous,promptInputAttachments:LYRA_DEFAULT_promptInputAttachments,promptQueueActionLabel:LYRA_DEFAULT_promptQueueActionLabel,promptQueueAttachmentLimit:LYRA_DEFAULT_promptQueueAttachmentLimit,promptQueueEmpty:LYRA_DEFAULT_promptQueueEmpty,promptQueueInputLimit:LYRA_DEFAULT_promptQueueInputLimit,promptQueueItemLabel:LYRA_DEFAULT_promptQueueItemLabel,promptQueueLabel:LYRA_DEFAULT_promptQueueLabel,promptQueueSendNow:LYRA_DEFAULT_promptQueueSendNow,remove:LYRA_DEFAULT_remove}}static{this.collectionSupport=collectionSupport}static{this.ownedCollectionProperties=Object.freeze(["items"])}static{this.identityCollectionProperties=Object.freeze(["items"])}static{this.styles=[LyraElement.styles,styles]}static{this.immutableEventDetails=Object.freeze(["lr-queue-change","lr-send-now"])}static{this.identityEventDetailProperties=Object.freeze({"lr-send-now":Object.freeze(["item"])})}static{this.identityEventDetailCollectionItems=Object.freeze({"lr-queue-change":Object.freeze(["items"])})}canonicalItemsFor(source){if(source===null||typeof source!="object"&&typeof source!="function")return EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS;const cached=this.canonicalItemsBySource.get(source);if(cached)return cached;let truncated=!1;const result=projectPromptQueueItems(source,()=>{truncated=!0});return truncated&&this.inputLossByItems.add(result),this.canonicalItemsBySource.set(source,result),result}cachedCanonicalItemsFor(source){return source!==null&&(typeof source=="object"||typeof source=="function")?this.canonicalItemsBySource.get(source)??EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS:EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS}get effectiveItems(){return this.canonicalItemsFor(this.items)}willUpdate(changed){super.willUpdate(changed);const currentItems=this.effectiveItems;if(this.page=Math.min(this.page,Math.max(0,Math.ceil(currentItems.length/QUEUE_PAGE_SIZE)-1)),changed.has("items")){const byId=new Map(currentItems.map(item=>[item.id,item]));for(const[id,draft]of this.drafts)byId.get(id)?.value!==draft.sourceValue&&this.drafts.delete(id);this.hasUpdated&&this.inputTruncated&&this.announcements.announcePolite(this.localize("promptQueueInputLimit"))}if(!changed.has("items")&&!changed.has("readonly")&&!changed.has("disabled")&&!changed.has("page"))return;const focusedControl=shadowFocusTarget(this),pageAction=focusedControl?.dataset.pageAction;if(pageAction&&focusedControl){this.pendingRemovalFocus={pageAction,editor:!1,actionIndex:-1,origin:focusedControl};return}const action=focusedControl?.getAttribute("data-action")??void 0,editorFocused=focusedControl?.getAttribute("part")==="editor";if(!action&&!editorFocused)return;const focusedItem=focusedControl?.closest("[data-id]"),focusedId=focusedItem?.dataset.id;if(!focusedId||!focusedControl)return;const previousItems=changed.has("items")?this.cachedCanonicalItemsFor(changed.get("items")):EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS,items=this.effectiveItems,previousIndex=previousItems.findIndex(item=>item.id===focusedId),index=items.findIndex(item=>item.id===focusedId),rowRemoved=changed.has("items")&&index<0,rowMoved=changed.has("items")&&index>=0&&index!==previousIndex,editorRemoved=editorFocused&&changed.has("readonly")&&this.readonly,controlDisabled=changed.has("disabled")&&this.disabled;if(!rowRemoved&&!rowMoved&&!editorRemoved&&!controlDisabled)return;const target=rowRemoved?items[Math.min(Math.max(previousIndex,0),items.length-1)]:items.find(item=>item.id===focusedId);target&&(this.page=Math.floor(items.indexOf(target)/QUEUE_PAGE_SIZE));const rowActions=focusedItem?.querySelectorAll("[data-action]")??[];this.pendingRemovalFocus={editor:editorFocused,targetId:target?.id,action,actionIndex:action?[...rowActions].findIndex(candidate=>candidate===focusedControl):-1,origin:focusedControl}}updated(changed){super.updated(changed);const pending=this.pendingRemovalFocus;if(!pending)return;this.pendingRemovalFocus=void 0;const internalActive=shadowFocusTarget(this),documentActive=activeElementIn(this.ownerDocument);if(internalActive!==null&&internalActive!==pending.origin||documentActive!==null&&documentActive!==this&&documentActive!==this.ownerDocument.body)return;if(pending.pageAction){const pages=[...this.shadowRoot?.querySelectorAll("[data-page-action]:not(:disabled)")??[]],page=pages.find(button=>button.dataset.pageAction===pending.pageAction)??pages[0];if(page){internalActive!==page&&page.focus();return}}if(!pending.targetId){this.shadowRoot?.querySelector('[part="base"]')?.focus();return}const targetItem=[...this.shadowRoot?.querySelectorAll("[data-id]")??[]].find(item=>item.dataset.id===pending.targetId);if(pending.editor&&!this.readonly&&!this.disabled){const editor=targetItem?.querySelector('[part="editor"]');if(editor){editor.focus();return}}const actions=[...targetItem?.querySelectorAll("[data-action]")??[]],isEnabled=candidate=>candidate.disabled!==!0&&candidate.getAttribute("aria-disabled")!=="true",equivalentAction=pending.action?actions.find(candidate=>candidate.dataset.action===pending.action&&isEnabled(candidate)):void 0;if(equivalentAction){equivalentAction.focus();return}const preferredIndex=pending.actionIndex>=0?pending.actionIndex:0;for(let distance=0;distance<actions.length;distance++){const before=actions[preferredIndex-distance];if(before&&isEnabled(before)){before.focus();return}const after=actions[preferredIndex+distance];if(after&&isEnabled(after)){after.focus();return}}this.shadowRoot?.querySelector('[part="base"]')?.focus()}adoptedCallback(){super.adoptedCallback(),this.announcements.adopted()}disconnectedCallback(){this.pendingRemovalFocus=void 0,super.disconnectedCallback()}get inputTruncated(){return!!publicCollectionTruncation(this,"items")||this.inputLossByItems.has(this.effectiveItems)}changePage(page){this.disabled||(this.page=Math.max(0,Math.min(page,Math.ceil(this.effectiveItems.length/QUEUE_PAGE_SIZE)-1)),this.announcements.announcePolite(this.pageText()))}pageText(){const format=getNumberFormat(this.effectiveLocale);return this.localize("paginationApplied",void 0,{page:format.format(this.page+1),totalPages:format.format(Math.ceil(this.effectiveItems.length/QUEUE_PAGE_SIZE))})}renderPagination(){const pages=Math.ceil(this.effectiveItems.length/QUEUE_PAGE_SIZE);return pages>1?html`<div part="pagination" role="group" aria-label=${this.localize("paginationLabel")}>
|
|
2
|
-
<button
|
|
3
|
-
<button
|
|
1
|
+
import{__decorate}from"tslib";import{normalizeLabel}from"../../../internal/accessible-name.js";import{ref}from"lit/directives/ref.js";import{acquireResolvedAriaRelationship,HostDescriptionController}from"../../../internal/aria-controls.js";import{AnnouncementSinkController}from"../../../internal/announcer.js";import{collectionSupport,publicCollectionTruncation}from"../../../internal/collection-snapshot.js";import{html,nothing}from"lit";import{property,state}from"lit/decorators.js";import{repeat}from"lit/directives/repeat.js";import{activeElementIn,shadowFocusTarget}from"../../../internal/active-element.js";import{getOwnDataDescriptor,projectFrozenRows,readOwnArrayLength,MISSING_OWN_DATA_DESCRIPTOR,UNSAFE_OWN_DATA_DESCRIPTOR}from"../../../internal/data-descriptors.js";import{LyraElement}from"../../../internal/lyra-element.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{resolveHeadingLevel}from"../../../internal/heading-level.js";import{styles}from"./prompt-queue.styles.js";import{LYRA_DEFAULT_promptInputAttachments,LYRA_DEFAULT_promptQueueActionLabel,LYRA_DEFAULT_promptQueueEmpty,LYRA_DEFAULT_promptQueueInputLimit,LYRA_DEFAULT_promptQueueItemAttachments,LYRA_DEFAULT_promptQueueItemLabel,LYRA_DEFAULT_promptQueueItemRemoved,LYRA_DEFAULT_promptQueueLabel,LYRA_DEFAULT_promptQueueSendNow}from"../../../internal/default-strings/conversation.generated.js";import{LYRA_DEFAULT_attachmentUntitledFile,LYRA_DEFAULT_moveDown,LYRA_DEFAULT_moveUp,LYRA_DEFAULT_next,LYRA_DEFAULT_paginationApplied,LYRA_DEFAULT_paginationFirstPage,LYRA_DEFAULT_paginationLabel,LYRA_DEFAULT_paginationLastPage,LYRA_DEFAULT_previous,LYRA_DEFAULT_promptQueueAttachmentLimit,LYRA_DEFAULT_remove,LYRA_DEFAULT_reorderItemMoved}from"../../../internal/default-strings/shared.generated.js";const MAX_PROJECTED_QUEUE_ITEMS=1e4,MAX_PROJECTED_QUEUE_ATTACHMENTS=1e4,QUEUE_PAGE_SIZE=20,ATTACHMENT_PREVIEW_SIZE=50,canonicalByExportedItem=new WeakMap,EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS=/* @__PURE__ */(()=>Object.freeze([]))();function valueOfDescriptor(descriptor){return descriptor===MISSING_OWN_DATA_DESCRIPTOR||descriptor===UNSAFE_OWN_DATA_DESCRIPTOR?void 0:descriptor.value}function projectPromptQueueAttachment(value){try{if(value===null||typeof value!="object"||Array.isArray(value))return;const idDescriptor=getOwnDataDescriptor(value,"id"),nameDescriptor=getOwnDataDescriptor(value,"name"),mimeTypeDescriptor=getOwnDataDescriptor(value,"mimeType"),uriDescriptor=getOwnDataDescriptor(value,"uri"),versionDescriptor=getOwnDataDescriptor(value,"version");if([idDescriptor,nameDescriptor,mimeTypeDescriptor,uriDescriptor,versionDescriptor].some(descriptor=>descriptor===UNSAFE_OWN_DATA_DESCRIPTOR))return;const id=valueOfDescriptor(idDescriptor),name=valueOfDescriptor(nameDescriptor);if(typeof id!="string"||id.trim().length===0||typeof name!="string")return;const mimeType=valueOfDescriptor(mimeTypeDescriptor),uri=valueOfDescriptor(uriDescriptor),version=valueOfDescriptor(versionDescriptor);return Object.freeze({id,name,...typeof mimeType=="string"?{mimeType}:{},...typeof uri=="string"?{uri}:{},...typeof version=="string"?{version}:{}})}catch{return}}function projectPromptQueueAttachments(value,budget){try{if(!Array.isArray(value))return;const sourceLength=readOwnArrayLength(value);if(sourceLength===void 0)return;const attachments=[],length=Math.min(sourceLength,budget.remaining);length<sourceLength&&budget.onTruncate();for(let index=0;index<length;index+=1){budget.remaining--;const descriptor=getOwnDataDescriptor(value,String(index));if(descriptor===MISSING_OWN_DATA_DESCRIPTOR||descriptor===UNSAFE_OWN_DATA_DESCRIPTOR)continue;const attachment=projectPromptQueueAttachment(descriptor.value);attachment&&attachments.push(attachment)}return Object.freeze(attachments)}catch{return}}function projectPromptQueueItem(value,budget){try{if(value===null||typeof value!="object"||Array.isArray(value))return;const owned=canonicalByExportedItem.get(value);if(owned&&(owned.attachments?.length??0)<=budget.remaining)return budget.remaining-=owned.attachments?.length??0,owned;const idDescriptor=getOwnDataDescriptor(value,"id"),valueDescriptor=getOwnDataDescriptor(value,"value"),attachmentsDescriptor=getOwnDataDescriptor(value,"attachments"),createdAtDescriptor=getOwnDataDescriptor(value,"createdAt"),metadataDescriptor=getOwnDataDescriptor(value,"metadata");if([idDescriptor,valueDescriptor,attachmentsDescriptor,createdAtDescriptor,metadataDescriptor].some(descriptor=>descriptor===UNSAFE_OWN_DATA_DESCRIPTOR))return;const id=valueOfDescriptor(idDescriptor),prompt=valueOfDescriptor(valueDescriptor);if(typeof id!="string"||id.trim().length===0||typeof prompt!="string")return;const attachmentsValue=valueOfDescriptor(attachmentsDescriptor),attachments=attachmentsDescriptor===MISSING_OWN_DATA_DESCRIPTOR||attachmentsValue===void 0?void 0:projectPromptQueueAttachments(attachmentsValue,budget),createdAt=valueOfDescriptor(createdAtDescriptor),metadata=valueOfDescriptor(metadataDescriptor);return Object.freeze({source:value,id,value:prompt,...attachments===void 0?{}:{attachments},...typeof createdAt=="number"&&Number.isFinite(createdAt)?{createdAt}:{},...metadata!==void 0?{metadata}:{}})}catch{return}}function projectPromptQueueItems(value,onTruncate){const budget={remaining:MAX_PROJECTED_QUEUE_ATTACHMENTS,onTruncate};return projectFrozenRows(value,entry=>projectPromptQueueItem(entry,budget),MAX_PROJECTED_QUEUE_ITEMS,EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS,item=>item.id)}const exportedItems=new WeakMap;function toPromptQueueItem(item,value=item.value){let exported=exportedItems.get(item);if(exported||(exported=Object.freeze({id:item.id,value:item.value,...item.attachments===void 0?{}:{attachments:item.attachments},...item.createdAt===void 0?{}:{createdAt:item.createdAt},...item.metadata===void 0?{}:{metadata:item.metadata}}),exportedItems.set(item,exported),canonicalByExportedItem.set(exported,item)),value===item.value)return exported;const edited=Object.freeze({...exported,value}),canonical=Object.freeze({...item,source:edited,value});return canonicalByExportedItem.set(edited,canonical),exportedItems.set(canonical,edited),edited}class LyraPromptQueue extends LyraElement{constructor(){super(...arguments),this.labelRegion=target=>{this.regionLabel?.release(),this.regionLabel=target?acquireResolvedAriaRelationship(this,target,"aria-labelledby"):void 0},this.hostDescription=new HostDescriptionController(this,()=>this.shadowRoot?.querySelector('[part="base"]')??null),this.items=[],this.readonly=!1,this.disabled=!1,this.accessibleLabel=null,this.headingLevel="3",this.page=0,this.announcements=new AnnouncementSinkController(this,{eager:["polite"]}),this.inputLossByItems=new WeakSet,this.drafts=new Map,this.changeAnnouncement="",this.canonicalItemsBySource=new WeakMap,this.containNativeEvent=event=>{event.stopPropagation()}}static{this.defaultStrings={...super.defaultStrings,attachmentUntitledFile:LYRA_DEFAULT_attachmentUntitledFile,moveDown:LYRA_DEFAULT_moveDown,moveUp:LYRA_DEFAULT_moveUp,next:LYRA_DEFAULT_next,paginationApplied:LYRA_DEFAULT_paginationApplied,paginationFirstPage:LYRA_DEFAULT_paginationFirstPage,paginationLabel:LYRA_DEFAULT_paginationLabel,paginationLastPage:LYRA_DEFAULT_paginationLastPage,previous:LYRA_DEFAULT_previous,promptInputAttachments:LYRA_DEFAULT_promptInputAttachments,promptQueueActionLabel:LYRA_DEFAULT_promptQueueActionLabel,promptQueueAttachmentLimit:LYRA_DEFAULT_promptQueueAttachmentLimit,promptQueueEmpty:LYRA_DEFAULT_promptQueueEmpty,promptQueueInputLimit:LYRA_DEFAULT_promptQueueInputLimit,promptQueueItemAttachments:LYRA_DEFAULT_promptQueueItemAttachments,promptQueueItemLabel:LYRA_DEFAULT_promptQueueItemLabel,promptQueueItemRemoved:LYRA_DEFAULT_promptQueueItemRemoved,promptQueueLabel:LYRA_DEFAULT_promptQueueLabel,promptQueueSendNow:LYRA_DEFAULT_promptQueueSendNow,remove:LYRA_DEFAULT_remove,reorderItemMoved:LYRA_DEFAULT_reorderItemMoved}}static{this.collectionSupport=collectionSupport}static{this.ownedCollectionProperties=Object.freeze(["items"])}static{this.identityCollectionProperties=Object.freeze(["items"])}static{this.styles=[LyraElement.styles,styles]}static{this.immutableEventDetails=Object.freeze(["lr-queue-change","lr-send-now"])}static{this.identityEventDetailProperties=Object.freeze({"lr-send-now":Object.freeze(["item"])})}static{this.identityEventDetailCollectionItems=Object.freeze({"lr-queue-change":Object.freeze(["items"])})}canonicalItemsFor(source){if(source===null||typeof source!="object"&&typeof source!="function")return EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS;const cached=this.canonicalItemsBySource.get(source);if(cached)return cached;let truncated=!1;const result=projectPromptQueueItems(source,()=>{truncated=!0});return truncated&&this.inputLossByItems.add(result),this.canonicalItemsBySource.set(source,result),result}cachedCanonicalItemsFor(source){return source!==null&&(typeof source=="object"||typeof source=="function")?this.canonicalItemsBySource.get(source)??EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS:EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS}get effectiveItems(){return this.canonicalItemsFor(this.items)}willUpdate(changed){super.willUpdate(changed);const currentItems=this.effectiveItems;if(this.page=Math.min(this.page,Math.max(0,Math.ceil(currentItems.length/QUEUE_PAGE_SIZE)-1)),changed.has("items")){const byId=new Map(currentItems.map(item=>[item.id,item]));for(const[id,draft]of this.drafts)byId.get(id)?.value!==draft.sourceValue&&this.drafts.delete(id);this.hasUpdated&&this.inputTruncated&&this.announcements.announcePolite(this.localize("promptQueueInputLimit")),this.resolveRequestedChange(currentItems)}if(!changed.has("items")&&!changed.has("readonly")&&!changed.has("disabled")&&!changed.has("page"))return;const focusedControl=shadowFocusTarget(this),pageAction=focusedControl?.dataset.pageAction;if(pageAction&&focusedControl){this.pendingRemovalFocus={pageAction,editor:!1,actionIndex:-1,origin:focusedControl};return}const action=focusedControl?.getAttribute("data-action")??void 0,editorFocused=focusedControl?.getAttribute("part")==="editor";if(!action&&!editorFocused)return;const focusedItem=focusedControl?.closest("[data-id]"),focusedId=focusedItem?.dataset.id;if(!focusedId||!focusedControl)return;const previousItems=changed.has("items")?this.cachedCanonicalItemsFor(changed.get("items")):EMPTY_CANONICAL_PROMPT_QUEUE_ITEMS,items=this.effectiveItems,previousIndex=previousItems.findIndex(item=>item.id===focusedId),index=items.findIndex(item=>item.id===focusedId),rowRemoved=changed.has("items")&&index<0,rowMoved=changed.has("items")&&index>=0&&index!==previousIndex,editorRemoved=editorFocused&&changed.has("readonly")&&this.readonly,controlDisabled=changed.has("disabled")&&this.disabled;if(!rowRemoved&&!rowMoved&&!editorRemoved&&!controlDisabled)return;const target=rowRemoved?items[Math.min(Math.max(previousIndex,0),items.length-1)]:items.find(item=>item.id===focusedId);target&&(this.page=Math.floor(items.indexOf(target)/QUEUE_PAGE_SIZE));const rowActions=focusedItem?.querySelectorAll("[data-action]")??[];this.pendingRemovalFocus={editor:editorFocused,targetId:target?.id,action,actionIndex:action?[...rowActions].findIndex(candidate=>candidate===focusedControl):-1,origin:focusedControl}}resolveRequestedChange(items){const requested=this.requestedChange;if(this.requestedChange=void 0,!requested||!this.hasUpdated)return;const index=items.findIndex(item=>item.id===requested.id),format=getNumberFormat(this.effectiveLocale);requested.reason==="remove"&&index<0?this.changeAnnouncement=this.localize("promptQueueItemRemoved",void 0,{count:format.format(items.length)}):requested.reason==="reorder"&&index===requested.toIndex&&(this.changeAnnouncement=this.localize("reorderItemMoved",void 0,{index:format.format(index+1),total:format.format(items.length)}))}updated(changed){super.updated(changed),this.changeAnnouncement&&(this.announcements.announcePolite(this.changeAnnouncement),this.changeAnnouncement=""),this.pendingRemovalFocus?.pageAction?this.scheduleAfterUpdate(()=>this.restoreQueueFocus(),"page-focus"):this.restoreQueueFocus()}restoreQueueFocus(){const pending=this.pendingRemovalFocus;if(!pending)return;this.pendingRemovalFocus=void 0;const internalActive=shadowFocusTarget(this),documentActive=activeElementIn(this.ownerDocument);if(internalActive!==null&&internalActive!==pending.origin||documentActive!==null&&documentActive!==this&&documentActive!==this.ownerDocument.body)return;if(pending.pageAction){const pages=[...this.renderRoot.querySelectorAll("[data-page-action]:not(:disabled)")],page=pages.find(button=>button.dataset.pageAction===pending.pageAction)??pages[0];if(page){internalActive!==page&&page.focus();return}}if(!pending.targetId){this.shadowRoot?.querySelector('[part="base"]')?.focus();return}const targetItem=[...this.shadowRoot?.querySelectorAll("[data-id]")??[]].find(item=>item.dataset.id===pending.targetId);if(pending.editor&&!this.readonly&&!this.disabled){const editor=targetItem?.querySelector('[part="editor"]');if(editor){editor.focus();return}}const actions=[...targetItem?.querySelectorAll("[data-action]")??[]],isEnabled=candidate=>candidate.disabled!==!0&&candidate.getAttribute("aria-disabled")!=="true",equivalentAction=pending.action?actions.find(candidate=>candidate.dataset.action===pending.action&&isEnabled(candidate)):void 0;if(equivalentAction){equivalentAction.focus();return}const preferredIndex=pending.actionIndex>=0?pending.actionIndex:0;for(let distance=0;distance<actions.length;distance++){const before=actions[preferredIndex-distance];if(before&&isEnabled(before)){before.focus();return}const after=actions[preferredIndex+distance];if(after&&isEnabled(after)){after.focus();return}}this.shadowRoot?.querySelector('[part="base"]')?.focus()}adoptedCallback(){super.adoptedCallback(),this.hostDescription.adopted(),this.announcements.adopted()}disconnectedCallback(){this.pendingRemovalFocus=void 0,this.requestedChange=void 0,this.changeAnnouncement="",super.disconnectedCallback()}get inputTruncated(){return!!publicCollectionTruncation(this,"items")||this.inputLossByItems.has(this.effectiveItems)}changePage(page){this.disabled||(this.page=Math.max(0,Math.min(page,Math.ceil(this.effectiveItems.length/QUEUE_PAGE_SIZE)-1)),this.announcements.announcePolite(this.pageText()))}pageText(){const format=getNumberFormat(this.effectiveLocale);return this.localize("paginationApplied",void 0,{page:format.format(this.page+1),totalPages:format.format(Math.ceil(this.effectiveItems.length/QUEUE_PAGE_SIZE))})}renderPagination(){const pages=Math.ceil(this.effectiveItems.length/QUEUE_PAGE_SIZE);return pages>1?html`<div part="pagination" role="group" aria-label=${this.localize("paginationLabel")}>
|
|
2
|
+
<lr-button exportparts="button:page-button" size="s" data-page-action="first" type="button" ?disabled=${this.disabled||this.page===0} @click=${()=>this.changePage(0)}>${this.localize("paginationFirstPage")}</lr-button>
|
|
3
|
+
<lr-button exportparts="button:page-button" size="s" data-page-action="previous" type="button" ?disabled=${this.disabled||this.page===0} @click=${()=>this.changePage(this.page-1)}>${this.localize("previous")}</lr-button>
|
|
4
4
|
<span part="page-status">${this.pageText()}</span>
|
|
5
|
-
<button
|
|
6
|
-
<button
|
|
7
|
-
</div>`:nothing}emitChange(items,reason,itemId){this.disabled||this.emit("lr-queue-change",{items,reason,itemId})}edit(item,value){this.disabled||this.readonly||(this.drafts.set(item.id,{sourceValue:item.value,value}),this.emitChange(this.effectiveItems.map(candidate=>toPromptQueueItem(candidate,candidate.id===item.id?value:candidate.value)),"edit",item.id))}removeItem(item){this.disabled||this.emitChange(this.effectiveItems.filter(candidate=>candidate.id!==item.id).map(candidate=>toPromptQueueItem(candidate)),"remove",item.id)}move(item,offset){if(this.disabled)return;const items=this.effectiveItems,index=items.findIndex(candidate=>candidate.id===item.id),target=index+offset;if(index<0||target<0||target>=items.length)return;const next=[...items],[moved]=next.splice(index,1);moved&&(next.splice(target,0,moved),this.emitChange(next.map(candidate=>toPromptQueueItem(candidate)),"reorder",item.id))}sendNow(item){this.disabled||this.emit("lr-send-now",{item:toPromptQueueItem(
|
|
8
|
-
${
|
|
9
|
-
|
|
10
|
-
.value=${this.drafts.get(item.id)?.value??item.value}
|
|
11
|
-
.disabled=${this.disabled}
|
|
12
|
-
.label=${editorLabel}
|
|
13
|
-
resize="auto"
|
|
14
|
-
@lr-input=${event=>{event.stopPropagation(),!(this.disabled||this.readonly)&&this.edit(item,event.detail.value)}}
|
|
15
|
-
></lr-textarea>`}
|
|
16
|
-
${item.attachments?.length?html`<ul part="attachments" aria-label=${this.localize("promptInputAttachments")}>
|
|
5
|
+
<lr-button exportparts="button:page-button" size="s" data-page-action="next" type="button" ?disabled=${this.disabled||this.page>=pages-1} @click=${()=>this.changePage(this.page+1)}>${this.localize("next")}</lr-button>
|
|
6
|
+
<lr-button exportparts="button:page-button" size="s" data-page-action="last" type="button" ?disabled=${this.disabled||this.page>=pages-1} @click=${()=>this.changePage(pages-1)}>${this.localize("paginationLastPage")}</lr-button>
|
|
7
|
+
</div>`:nothing}emitChange(items,reason,itemId){this.disabled||this.emit("lr-queue-change",{items,reason,itemId})}edit(item,value){this.disabled||this.readonly||(this.drafts.set(item.id,{sourceValue:item.value,value}),this.emitChange(this.effectiveItems.map(candidate=>toPromptQueueItem(candidate,candidate.id===item.id?value:candidate.value)),"edit",item.id))}removeItem(item){this.disabled||(this.requestedChange={id:item.id,reason:"remove",toIndex:-1},this.emitChange(this.effectiveItems.filter(candidate=>candidate.id!==item.id).map(candidate=>toPromptQueueItem(candidate)),"remove",item.id))}move(item,offset){if(this.disabled)return;const items=this.effectiveItems,index=items.findIndex(candidate=>candidate.id===item.id),target=index+offset;if(index<0||target<0||target>=items.length)return;const next=[...items],[moved]=next.splice(index,1);moved&&(next.splice(target,0,moved),this.requestedChange={id:item.id,reason:"reorder",toIndex:target},this.emitChange(next.map(candidate=>toPromptQueueItem(candidate)),"reorder",item.id))}editableValue(item){const draft=this.drafts.get(item.id);return draft?.sourceValue===item.value?draft.value:item.value}sendNow(item,renderedReadonly,event){if(this.disabled||this.readonly!==renderedReadonly||!event.currentTarget.isConnected)return;const current=this.effectiveItems.find(candidate=>candidate.id===item.id);if(!current)return;const value=renderedReadonly?item.value:this.editableValue(item);current.value!==item.value&¤t.value!==value||this.emit("lr-send-now",{item:toPromptQueueItem(current,value)})}renderItem(item,index,itemCount){const readonly=this.readonly,formattedIndex=getNumberFormat(this.effectiveLocale).format(index+1),editorLabel=this.localize("promptQueueItemLabel",void 0,{index:formattedIndex}),actionLabel=action=>this.localize("promptQueueActionLabel",void 0,{action,index:formattedIndex});return html`<li part="item" data-id=${item.id} aria-posinset=${index+1} aria-setsize=${itemCount}>
|
|
8
|
+
${readonly?html`<span part="value">${item.value}</span>`:html`<lr-textarea part="editor" .value=${this.editableValue(item)} .disabled=${this.disabled} .label=${editorLabel} resize="auto" @lr-input=${event=>{event.stopPropagation(),!(this.disabled||this.readonly)&&this.edit(item,event.detail.value)}} ></lr-textarea>`}
|
|
9
|
+
${item.attachments?.length?html`<ul part="attachments" aria-label=${itemCount>1?this.localize("promptQueueItemAttachments",void 0,{index:getNumberFormat(this.effectiveLocale).format(index+1)}):this.localize("promptInputAttachments")}>
|
|
17
10
|
${item.attachments.slice(0,ATTACHMENT_PREVIEW_SIZE).map(attachment=>html`
|
|
18
11
|
<li part="attachment">${attachment.name||this.localize("attachmentUntitledFile")}</li>
|
|
19
12
|
`)}
|
|
20
13
|
</ul>`:nothing}
|
|
21
14
|
${(item.attachments?.length??0)>ATTACHMENT_PREVIEW_SIZE?html`<p part="attachment-limit" role="note">${this.localize("promptQueueAttachmentLimit",void 0,{shown:getNumberFormat(this.effectiveLocale).format(ATTACHMENT_PREVIEW_SIZE),total:getNumberFormat(this.effectiveLocale).format(item.attachments.length)})}</p>`:nothing}
|
|
22
15
|
<div part="actions">
|
|
23
|
-
<lr-button
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
appearance="plain"
|
|
28
|
-
aria-label=${actionLabel(this.localize("moveUp"))}
|
|
29
|
-
.disabled=${this.disabled||index===0}
|
|
30
|
-
@click=${()=>this.move(item,-1)}
|
|
31
|
-
>${this.localize("moveUp")}</lr-button>
|
|
32
|
-
<lr-button
|
|
33
|
-
part="action"
|
|
34
|
-
data-action="down"
|
|
35
|
-
size="xs"
|
|
36
|
-
appearance="plain"
|
|
37
|
-
aria-label=${actionLabel(this.localize("moveDown"))}
|
|
38
|
-
.disabled=${this.disabled||index===itemCount-1}
|
|
39
|
-
@click=${()=>this.move(item,1)}
|
|
40
|
-
>${this.localize("moveDown")}</lr-button>
|
|
41
|
-
<lr-button
|
|
42
|
-
part="action"
|
|
43
|
-
data-action="send"
|
|
44
|
-
size="xs"
|
|
45
|
-
appearance="plain"
|
|
46
|
-
aria-label=${actionLabel(this.localize("promptQueueSendNow"))}
|
|
47
|
-
.disabled=${this.disabled}
|
|
48
|
-
@click=${()=>this.sendNow(item)}
|
|
49
|
-
>${this.localize("promptQueueSendNow")}</lr-button>
|
|
50
|
-
<lr-button
|
|
51
|
-
part="action"
|
|
52
|
-
data-action="remove"
|
|
53
|
-
size="xs"
|
|
54
|
-
appearance="plain"
|
|
55
|
-
variant="danger"
|
|
56
|
-
aria-label=${actionLabel(this.localize("remove"))}
|
|
57
|
-
.disabled=${this.disabled}
|
|
58
|
-
@click=${()=>this.removeItem(item)}
|
|
59
|
-
>${this.localize("remove")}</lr-button>
|
|
16
|
+
<lr-button part="action" data-action="up" size="xs" appearance="plain" aria-label=${actionLabel(this.localize("moveUp"))} .disabled=${this.disabled||index===0} @click=${()=>this.move(item,-1)} >${this.localize("moveUp")}</lr-button>
|
|
17
|
+
<lr-button part="action" data-action="down" size="xs" appearance="plain" aria-label=${actionLabel(this.localize("moveDown"))} .disabled=${this.disabled||index===itemCount-1} @click=${()=>this.move(item,1)} >${this.localize("moveDown")}</lr-button>
|
|
18
|
+
<lr-button part="action" data-action="send" size="xs" appearance="plain" aria-label=${actionLabel(this.localize("promptQueueSendNow"))} .disabled=${this.disabled} @click=${event=>this.sendNow(item,readonly,event)} >${this.localize("promptQueueSendNow")}</lr-button>
|
|
19
|
+
<lr-button part="action" data-action="remove" size="xs" appearance="plain" variant="danger" aria-label=${actionLabel(this.localize("remove"))} .disabled=${this.disabled} @click=${()=>this.removeItem(item)} >${this.localize("remove")}</lr-button>
|
|
60
20
|
</div>
|
|
61
|
-
</li>`}render(){const visibleLabel=this.label
|
|
62
|
-
part="base"
|
|
63
|
-
aria-label=${accessibleLabel}
|
|
64
|
-
tabindex="-1"
|
|
65
|
-
@input=${this.containNativeEvent}
|
|
66
|
-
@change=${this.containNativeEvent}
|
|
67
|
-
@lr-change=${this.containNativeEvent}
|
|
68
|
-
@focus=${this.containNativeEvent}
|
|
69
|
-
@blur=${this.containNativeEvent}
|
|
70
|
-
>
|
|
21
|
+
</li>`}render(){const visibleLabel=this.label===""?"":normalizeLabel(this.label)??this.localize("promptQueueLabel"),accessibleLabel=this.accessibleLabel===""?"":normalizeLabel(this.accessibleLabel)??visibleLabel,items=this.effectiveItems,level=resolveHeadingLevel(this.headingLevel);return html`<section ${ref(this.labelRegion)} part="base" aria-label=${accessibleLabel} tabindex="-1" @input=${this.containNativeEvent} @change=${this.containNativeEvent} @lr-change=${this.containNativeEvent} @focus=${this.containNativeEvent} @blur=${this.containNativeEvent} >
|
|
71
22
|
${visibleLabel?html`<div part="heading" role=${level?"heading":nothing} aria-level=${level??nothing}>${visibleLabel}</div>`:nothing}
|
|
72
23
|
${this.inputTruncated?html`<p part="input-limit" role="note">${this.localize("promptQueueInputLimit")}</p>`:nothing}
|
|
73
24
|
${this.renderPagination()}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{iconHitTarget
|
|
1
|
+
import{iconHitTarget}from"../../../internal/interactive-control.styles.js";import{css}from"lit";import{wideContainerQuery}from"../../../internal/container-breakpoints.styles.js";import{containerHost}from"../../../internal/layout-fragments.styles.js";const styles=css` :host{${containerHost}}[part=base]{display:flex;flex-direction:column;gap:var(--lr-space-xs)}[part=heading]{margin:0;color:var(--lr-color-text-quiet);font-size:var(--lr-font-size-sm);font-weight:var(--lr-font-weight-semibold)}[part=list]{display:flex;flex-direction:column;gap:var(--lr-space-xs);margin:0;padding:0;list-style:none}[part~=item]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--lr-space-xs);padding:var(--lr-prompt-queue-padding,var(--lr-space-xs));border:var(--lr-border-width-thin) solid var(--lr-prompt-queue-border-color,var(--lr-color-border-subtle));border-radius:var(--lr-prompt-queue-radius,var(--lr-radius));background:var(--lr-prompt-queue-bg,var(--lr-color-surface))}[part=value]{min-inline-size:0;white-space:pre-wrap;overflow-wrap:anywhere}[part=attachments]{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:var(--lr-space-2xs) var(--lr-space-xs);min-inline-size:0;margin:0;padding:0;color:var(--lr-color-text-quiet);font-size:var(--lr-font-size-xs);list-style:none}[part=attachment]{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}[part=actions]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--lr-space-2xs)}[part~=action]{display:inline-flex;align-items:center;justify-content:center;${iconHitTarget}}[part=empty]{margin:0;color:var(--lr-color-text-quiet)}@container ${wideContainerQuery}{[part~=item]{grid-template-columns:minmax(0,1fr)}[part=actions]{justify-content:flex-start}}[part=pagination]{display:flex;flex-wrap:wrap;align-items:center;gap:var(--lr-space-xs);margin-block:var(--lr-space-s)}[part=page-status],[part=input-limit],[part=attachment-limit]{color:var(--lr-color-text-quiet);font-size:var(--lr-font-size-sm);margin-block:var(--lr-space-xs)}[part=attachment-limit]{grid-column:1 / -1}`;export{styles};
|
|
@@ -20,7 +20,7 @@ import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from
|
|
|
20
20
|
* @slot recording-icon - Replaces the default recording-state pulse glyph. Decorative and inert.
|
|
21
21
|
* @event lr-record-start - Capture began. `detail: { stream: MediaStream }` — the same object the
|
|
22
22
|
* `stream` getter then returns for the duration of the take.
|
|
23
|
-
* @event lr-record-chunk - A `timeslice-ms` slice was produced (
|
|
23
|
+
* @event lr-record-chunk - A `timeslice-ms` slice was produced (fires with `stream-only` or `timeslice-ms > 0`,
|
|
24
24
|
* in order). `detail: { blob: Blob }` — a container fragment, decodable only once concatenated from
|
|
25
25
|
* the first chunk of the take.
|
|
26
26
|
* @event lr-record-stop - The take finished normally. `detail: { blob: Blob; durationMs: number }`
|
|
@@ -41,6 +41,8 @@ import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from
|
|
|
41
41
|
* @csspart timer - The localized `M:SS` elapsed-time readout, rendered only while recording and
|
|
42
42
|
* `without-timer` is unset.
|
|
43
43
|
* @csspart status - Visible status text for the `requesting`/`denied`/`error`/unsupported states.
|
|
44
|
+
* @cssprop [--lr-push-to-talk-trigger-hover-bg=var(--lr-color-brand-quiet)] - Hovered trigger background.
|
|
45
|
+
* @cssprop --lr-push-to-talk-trigger-active-bg - Pressed trigger background. Defaults to a mix from the hover fill.
|
|
44
46
|
* @cssprop [--lr-push-to-talk-size=var(--lr-size-3rem)] - Preferred inline and block size of the
|
|
45
47
|
* circular `trigger` button; `--lr-icon-button-size` remains its minimum hit-area floor.
|
|
46
48
|
* @cssprop [--lr-push-to-talk-recording-color=var(--lr-color-danger)] - Established aggregate
|
|
@@ -52,12 +54,21 @@ import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from
|
|
|
52
54
|
* @status stable
|
|
53
55
|
* @since 4.0.0
|
|
54
56
|
*/
|
|
55
|
-
export declare class LyraPushToTalk extends LyraElement<LyraPushToTalkEventMap>{static styles:import("lit").CSSResultGroup[];private _mode;
|
|
57
|
+
export declare class LyraPushToTalk extends LyraElement<LyraPushToTalkEventMap>{static styles:import("lit").CSSResultGroup[];private _mode;
|
|
58
|
+
/** Interaction model: `hold` records while pressed, `toggle` starts and stops on successive presses; unrecognized values fall back to `hold`. Reflects to the `mode` attribute.*/
|
|
59
|
+
get mode():PushToTalkMode;set mode(next:PushToTalkMode);
|
|
56
60
|
/** `> 0` requests periodic `lr-record-chunk` slices from `MediaRecorder` every this-many
|
|
57
|
-
* milliseconds; `0`
|
|
61
|
+
* milliseconds; `0` requests one slice at stop, or one-second slices in stream-only mode. Clamped to
|
|
58
62
|
* `[1, MAX_TIMEOUT_MS]` at the point it's handed to `MediaRecorder.start()` -- see `start()` --
|
|
59
63
|
* so a non-finite/oversized value can't reach that native API unsanitized. */
|
|
60
|
-
timesliceMs:number;
|
|
64
|
+
timesliceMs:number;
|
|
65
|
+
/** Emit chunks without retaining a final recording. The stop event carries an empty Blob.
|
|
66
|
+
* A stream-only take requests one-second chunks unless timeslice-ms specifies a positive interval. */
|
|
67
|
+
streamOnly:boolean;
|
|
68
|
+
/** Recording MIME type passed to `MediaRecorder`; empty picks the first supported of WebM/Opus, WebM or MP4.*/
|
|
69
|
+
mimeType:string;
|
|
70
|
+
/** Input device id requested exactly from `getUserMedia`; empty uses the browser's default microphone.*/
|
|
71
|
+
deviceId:string;
|
|
61
72
|
/** Additional audio constraints (`echoCancellation`, …). `deviceId` has one authority: the
|
|
62
73
|
* top-level `deviceId` property. */
|
|
63
74
|
audioConstraints?:PushToTalkAudioConstraints;
|
|
@@ -73,13 +84,15 @@ levelEvents:boolean;
|
|
|
73
84
|
maxDurationMs:number;
|
|
74
85
|
/** Hides the elapsed timer and stops sampling it. Changes take effect immediately while
|
|
75
86
|
* recording. */
|
|
76
|
-
withoutTimer:boolean;
|
|
87
|
+
withoutTimer:boolean;
|
|
88
|
+
/** Disables capture, cancelling a take in progress and blocking new ones. Reflects to the `disabled` attribute.*/
|
|
89
|
+
disabled:boolean;private elapsedMs;private captureSupported;private _state;
|
|
77
90
|
/** Read-only recording lifecycle, reflected to the `data-state` attribute. Drive it via
|
|
78
91
|
* `start()`/`stop()`/`cancel()`, never by assignment. */
|
|
79
92
|
get state():PushToTalkState;private _stream;
|
|
80
93
|
/** The active `MediaStream` — the same object `lr-record-start` carries. `null` outside an
|
|
81
94
|
* active take. */
|
|
82
|
-
get stream():MediaStream|null;private liveRegion?;private trigger?;private describedByReflected;private recorder?;private chunks;private recordingStartedAt;private captureWindow?;private activeCapture?;private pendingRequest?;private captureIntent?;private queuedIntent?;private lifecycleGeneration;private captureSequence;private intentSequence;private cancelRequested;private recorderStopRequested;private recorderFailed;private holdGesture?;private readonly tickTimer;private readonly maxDurationTimer;private audioCtx?;private analyser?;private levelData?;private readonly levelFrame;private get ownerWindow();private get captureOwner();private ownsCurrentLifecycle;private isCurrentRealm;private rebaseCurrentRealmOwner;private createIntent;private isLiveIntent;private clearIntent;private retirePendingRequest;private invalidateLifecycle;private canAdoptRequest;private canStartRequest;private notifyCancellation;private resumeQueuedIntent;private finishRetiredRequest;private finishUnusableRequest;private syncCaptureSupport;connectedCallback():void;disconnectedCallback():void;adoptedCallback():void;protected willUpdate(changed:PropertyValues<this>):void;protected updated(changed:PropertyValues<this>):void;focus(options?:FocusOptions):void;blur():void;
|
|
95
|
+
get stream():MediaStream|null;private liveRegion?;private trigger?;private describedByReflected;private recorder?;private chunks;private recordingStartedAt;private captureWindow?;private activeCapture?;private pendingRequest?;private captureIntent?;private queuedIntent?;private lifecycleGeneration;private captureSequence;private intentSequence;private cancelRequested;private recorderStopRequested;private recorderFailed;private holdGesture?;private endPointerHold?;private readonly tickTimer;private readonly maxDurationTimer;private audioCtx?;private analyser?;private levelData?;private readonly levelFrame;private get ownerWindow();private get captureOwner();private ownsCurrentLifecycle;private isCurrentRealm;private rebaseCurrentRealmOwner;private createIntent;private isLiveIntent;private clearHoldGesture;private clearIntent;private retirePendingRequest;private invalidateLifecycle;private canAdoptRequest;private canStartRequest;private notifyCancellation;private resumeQueuedIntent;private finishRetiredRequest;private finishUnusableRequest;private syncCaptureSupport;connectedCallback():void;disconnectedCallback():void;adoptedCallback():void;protected willUpdate(changed:PropertyValues<this>):void;protected updated(changed:PropertyValues<this>):void;focus(options?:FocusOptions):void;blur():void;
|
|
83
96
|
/** Programmatically starts/stops a take using the component's configured interaction mode.*/
|
|
84
97
|
click():void;private resolveMimeType;private setState;private announce;
|
|
85
98
|
/** Begins a take. A public call creates a programmatic intent; a same-owner physical B press
|
|
@@ -88,4 +101,4 @@ start():Promise<boolean>;private startForIntent;private captureConstraints;priva
|
|
|
88
101
|
/** Stops the active take, finalizing it via `lr-record-stop`. No-op unless `state === 'recording'`.*/
|
|
89
102
|
stop():void;
|
|
90
103
|
/** Discards the active or pending take: fires `lr-record-cancel`, never `lr-record-stop`.*/
|
|
91
|
-
cancel():void;private requestRecorderStop;private finalizeStop;private failRecorder;private teardownStream;private stopRuntimeLoops;private syncElapsedTimer;private syncMaxDurationTimer;private syncLevelMeter;private startLevelMeter;private sampleLevel;private stopLevelMeter;private formatElapsed;private onPointerDown;private onPointerUp;private
|
|
104
|
+
cancel():void;private requestRecorderStop;private finalizeStop;private failRecorder;private teardownStream;private stopRuntimeLoops;private syncElapsedTimer;private syncMaxDurationTimer;private syncLevelMeter;private startLevelMeter;private sampleLevel;private stopLevelMeter;private formatElapsed;private onPointerDown;private onPointerUp;private releaseHoldGesture;private onKeyDown;private onKeyUp;private suppressKeyboardClick;private onBlur;private onClick;private get triggerLabel();private get statusText();render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-push-to-talk':LyraPushToTalk;}}
|
|
@@ -1,30 +1,14 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{html,nothing,svg}from"lit";import{property,query,state}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import"../../utility/live-region/live-region.class.js";import{finiteDuration,MAX_TIMEOUT_MS}from"../../../internal/numbers.js";import{formatMediaTime}from"../../../internal/media-time.js";import{styles}from"./push-to-talk.styles.js";import{literalSetConverter}from"../../../internal/converters.js";import{syncAriaDescribedByElements}from"../../../internal/aria-reflection.js";import{OwnedFrame,OwnedInterval,OwnedTimeout}from"../../../internal/owned-timer.js";import{LYRA_DEFAULT_pushToTalkCancelled,LYRA_DEFAULT_pushToTalkDenied,LYRA_DEFAULT_pushToTalkError,LYRA_DEFAULT_pushToTalkHold,LYRA_DEFAULT_pushToTalkRequesting,LYRA_DEFAULT_pushToTalkStart,LYRA_DEFAULT_pushToTalkStarted,LYRA_DEFAULT_pushToTalkStop,LYRA_DEFAULT_pushToTalkStopped,LYRA_DEFAULT_pushToTalkUnsupported}from"../../../internal/default-strings/conversation.generated.js";const PUSH_TO_TALK_MODE=literalSetConverter(["hold","toggle"],"hold"),CANDIDATE_MIME_TYPES=["audio/webm;codecs=opus","audio/webm","audio/mp4"];function isPushToTalkSupported(owner){const runtime=owner;return!!runtime?.MediaRecorder&&typeof runtime.navigator.mediaDevices?.getUserMedia=="function"}
|
|
2
|
-
<svg width="1em" height="1em" viewBox=${ICON_VIEW_BOX} fill="none" stroke="currentColor"
|
|
3
|
-
stroke-width=${ICON_STROKE_WIDTH} stroke-linecap="round" stroke-linejoin="round"
|
|
4
|
-
aria-hidden="true" focusable="false">${paths}</svg>
|
|
5
|
-
`}function micIcon(){return icon(svg`
|
|
1
|
+
import{__decorate}from"tslib";import{tag}from"../../../internal/prefix.js";import{shouldIgnoreNavigationKey,isRepeatedActivationKey}from"../../../internal/list-navigation.js";import{capturePointer,releasePointer}from"../../../internal/pointer-capture.js";import{listenUntilPointerEnd}from"../../../internal/document-pointer.js";import{html,nothing,svg}from"lit";import{property,query,state}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{iconFrame}from"../../../internal/icons.js";import"../../utility/live-region/live-region.class.js";import{finiteDuration,MAX_TIMEOUT_MS}from"../../../internal/numbers.js";import{formatMediaTime}from"../../../internal/media-time.js";import{styles}from"./push-to-talk.styles.js";import{literalSetConverter,blankNumberConverter}from"../../../internal/converters.js";import{syncAriaDescribedByElements}from"../../../internal/aria-reflection.js";import{OwnedFrame,OwnedInterval,OwnedTimeout}from"../../../internal/owned-timer.js";import{LYRA_DEFAULT_pushToTalkCancelled,LYRA_DEFAULT_pushToTalkDenied,LYRA_DEFAULT_pushToTalkError,LYRA_DEFAULT_pushToTalkHold,LYRA_DEFAULT_pushToTalkRequesting,LYRA_DEFAULT_pushToTalkStart,LYRA_DEFAULT_pushToTalkStarted,LYRA_DEFAULT_pushToTalkStop,LYRA_DEFAULT_pushToTalkStopped,LYRA_DEFAULT_pushToTalkUnsupported}from"../../../internal/default-strings/conversation.generated.js";const PUSH_TO_TALK_MODE=literalSetConverter(["hold","toggle"],"hold"),CANDIDATE_MIME_TYPES=["audio/webm;codecs=opus","audio/webm","audio/mp4"];function isPushToTalkSupported(owner){const runtime=owner;return!!runtime?.MediaRecorder&&typeof runtime.navigator.mediaDevices?.getUserMedia=="function"}function micIcon(){return iconFrame(svg`
|
|
6
2
|
<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3Z"></path>
|
|
7
3
|
<path d="M19 10v2a7 7 0 0 1-14 0v-2"></path>
|
|
8
4
|
<line x1="12" y1="19" x2="12" y2="23"></line>
|
|
9
5
|
<line x1="8" y1="23" x2="16" y2="23"></line>
|
|
10
|
-
`)}function pulseGlyph(){return icon(svg`<circle cx="12" cy="12" r="6"></circle>`)}class LyraPushToTalk extends LyraElement{constructor(){super(...arguments),this._mode="hold",this.timesliceMs=0,this.mimeType="",this.deviceId="",this.levelEvents=!1,this.maxDurationMs=0,this.withoutTimer=!1,this.disabled=!1,this.elapsedMs=0,this.captureSupported=!1,this._state="idle",this._stream=null,this.describedByReflected=!1,this.chunks=[],this.recordingStartedAt=0,this.lifecycleGeneration=0,this.captureSequence=0,this.intentSequence=0,this.cancelRequested=!1,this.recorderStopRequested=!1,this.recorderFailed=!1,this.tickTimer=new OwnedInterval(this),this.maxDurationTimer=new OwnedTimeout(this),this.levelFrame=new OwnedFrame(this),this.onPointerDown=e=>{if(this.mode!=="hold"||this.disabled)return;e.preventDefault();try{e.currentTarget.setPointerCapture(e.pointerId)}catch{}if(this.holdGesture)return;const intent=this.createIntent("hold",{source:"pointer",pointerId:e.pointerId});intent&&(this.holdGesture=intent,this.startForIntent(intent))},this.onPointerUp=event=>{this.holdGesture?.source!=="pointer"||this.holdGesture.pointerId!==event.pointerId||this.releaseHoldGesture()},this.onPointerCancel=event=>{this.holdGesture?.source!=="pointer"||this.holdGesture.pointerId!==event.pointerId||this.releaseHoldGesture()},this.onKeyDown=e=>{if(this.disabled)return;if(e.key==="Escape"){if(this._state!=="requesting"&&this._state!=="recording")return;e.preventDefault(),this.cancel();return}if(e.key!=="Enter"&&e.key!==" "||this.mode!=="hold"||e.repeat||(e.preventDefault(),this.holdGesture))return;const intent=this.createIntent("hold",{source:"keyboard",key:e.key});intent&&(this.holdGesture=intent,this.startForIntent(intent))},this.onKeyUp=e=>{e.key!=="Enter"&&e.key!==" "||this.holdGesture?.source!=="keyboard"||this.holdGesture.key!==e.key||this.releaseHoldGesture()},this.onBlur=()=>{this.releaseHoldGesture()},this.onClick=()=>{this.mode!=="toggle"||this.disabled||(this._state==="recording"?this.stop():this.start())}}static{this.defaultStrings={...super.defaultStrings,pushToTalkCancelled:LYRA_DEFAULT_pushToTalkCancelled,pushToTalkDenied:LYRA_DEFAULT_pushToTalkDenied,pushToTalkError:LYRA_DEFAULT_pushToTalkError,pushToTalkHold:LYRA_DEFAULT_pushToTalkHold,pushToTalkRequesting:LYRA_DEFAULT_pushToTalkRequesting,pushToTalkStart:LYRA_DEFAULT_pushToTalkStart,pushToTalkStarted:LYRA_DEFAULT_pushToTalkStarted,pushToTalkStop:LYRA_DEFAULT_pushToTalkStop,pushToTalkStopped:LYRA_DEFAULT_pushToTalkStopped,pushToTalkUnsupported:LYRA_DEFAULT_pushToTalkUnsupported}}static{this.styles=[LyraElement.styles,styles]}get mode(){return this._mode}set mode(next){const normalized=PUSH_TO_TALK_MODE.normalize(next),old=this._mode;old!==normalized&&(this._mode=normalized,this.requestUpdate("mode",old))}get state(){return this._state}get stream(){return this._stream}get ownerWindow(){return this.ownerDocument?.defaultView??null}get captureOwner(){const owner=this.ownerWindow;if(isPushToTalkSupported(owner))return{document:this.ownerDocument,window:owner,generation:this.lifecycleGeneration}}ownsCurrentLifecycle(owner){return this.isConnected&&this.isCurrentRealm(owner)&&this.lifecycleGeneration===owner.generation}isCurrentRealm(owner){return this.ownerDocument===owner.document&&this.ownerWindow===owner.window}rebaseCurrentRealmOwner(owner){this.isCurrentRealm(owner)&&(owner.generation=this.lifecycleGeneration)}createIntent(kind,details={}){const owner=this.captureOwner;if(!owner)return;const intent={id:++this.intentSequence,owner,kind,...details};return this.captureIntent=intent,intent}isLiveIntent(intent){return this.captureIntent===intent&&!this.disabled&&this.ownsCurrentLifecycle(intent.owner)&&(intent.kind!=="hold"||this.holdGesture===intent)}clearIntent(intent){this.captureIntent===intent&&(this.captureIntent=void 0),this.holdGesture===intent&&(this.holdGesture=void 0),this.queuedIntent===intent&&(this.queuedIntent=void 0)}retirePendingRequest(request,notifyCancellation){request.invalidated=!0,request.notifyCancellation||=notifyCancellation,request.retiredAtIntentId=this.intentSequence,request.retiredAtGeneration=this.lifecycleGeneration,this.pendingRequest===request&&(this.pendingRequest=void 0),this.clearIntent(request.intent),this._state==="requesting"&&!this.activeCapture&&this.setState("idle")}invalidateLifecycle(notifyCancellation,retainCurrentRealmIntents=!1){this.lifecycleGeneration+=1,this.captureIntent&&retainCurrentRealmIntents&&this.isCurrentRealm(this.captureIntent.owner)?this.rebaseCurrentRealmOwner(this.captureIntent.owner):this.captureIntent=void 0,this.holdGesture&&retainCurrentRealmIntents&&this.isCurrentRealm(this.holdGesture.owner)?this.rebaseCurrentRealmOwner(this.holdGesture.owner):this.holdGesture=void 0,this.queuedIntent&&retainCurrentRealmIntents&&this.isCurrentRealm(this.queuedIntent.owner)?this.rebaseCurrentRealmOwner(this.queuedIntent.owner):this.queuedIntent=void 0;const request=this.pendingRequest;request&&this.retirePendingRequest(request,notifyCancellation);const active=this.activeCapture;active&&(active.notifyCancellation&&=notifyCancellation,this.requestRecorderStop(!0))}canAdoptRequest(request,intent){return this.pendingRequest===request&&!request.invalidated&&this._state==="requesting"&&this.ownsCurrentLifecycle(request.owner)&&this.isLiveIntent(intent)&&request.owner.document===intent.owner.document&&request.owner.window===intent.owner.window&&request.owner.generation===intent.owner.generation}canStartRequest(request){return this.canAdoptRequest(request,request.intent)}notifyCancellation(){this.emit("lr-record-cancel",null),this.isConnected&&this.announce(this.localize("pushToTalkCancelled"))}resumeQueuedIntent(){const intent=this.queuedIntent;this.queuedIntent=void 0,!(!intent||!this.isLiveIntent(intent))&&this.startForIntent(intent)}finishRetiredRequest(request){request.notifyCancellation&&!request.cancellationNotified&&request.retiredAtIntentId===this.intentSequence&&request.retiredAtGeneration===this.lifecycleGeneration&&!this.pendingRequest&&!this.activeCapture&&!this.captureIntent&&(request.cancellationNotified=!0,this.notifyCancellation())}finishUnusableRequest(request){if(request.invalidated){this.finishRetiredRequest(request);return}this.pendingRequest===request&&(this.pendingRequest=void 0),this.clearIntent(request.intent),this._state==="requesting"&&!this.activeCapture&&this.setState("idle"),this.notifyCancellation()}syncCaptureSupport(){this.captureSupported=isPushToTalkSupported(this.ownerWindow)}connectedCallback(){super.connectedCallback(),this.requestUpdate("mode",void 0),this.hasAttribute("data-state")||this.setAttribute("data-state",this._state)}disconnectedCallback(){const previousOwner=this.activeCapture?.owner??this.pendingRequest?.owner;this.invalidateLifecycle(!1,!!previousOwner&&!this.isCurrentRealm(previousOwner)),super.disconnectedCallback()}adoptedCallback(){this.invalidateLifecycle(!1,!0),super.adoptedCallback(),this.syncCaptureSupport()}willUpdate(changed){super.willUpdate(changed),this.hasUpdated?this.syncCaptureSupport():this.seedFirstRenderState(()=>this.syncCaptureSupport()),changed.has("mode")&&changed.get("mode")!==void 0&&this.holdGesture&&this.releaseHoldGesture(!0),changed.has("disabled")&&this.disabled&&this.invalidateLifecycle(!0);const owner=this.captureWindow;this._state!=="recording"||!owner||(changed.has("withoutTimer")&&this.syncElapsedTimer(owner),changed.has("maxDurationMs")&&this.syncMaxDurationTimer(owner),changed.has("levelEvents")&&this.syncLevelMeter(owner))}updated(changed){super.updated(changed);const describedBy=this.getAttribute("aria-describedby");(describedBy||this.describedByReflected)&&(this.describedByReflected=syncAriaDescribedByElements(this,this.trigger,describedBy))}focus(options){this.trigger?.focus(options)}blur(){this.trigger?.blur()}click(){this.disabled||!isPushToTalkSupported(this.ownerWindow)||(this.mode==="toggle"?this.trigger?.click():this._state==="recording"?this.stop():this.start())}resolveMimeType(owner){if(this.mimeType)return this.mimeType;for(const candidate of CANDIDATE_MIME_TYPES)if(owner.MediaRecorder.isTypeSupported?.(candidate))return candidate;return""}setState(next){if(this._state===next)return;const old=this._state;this._state=next,this.setAttribute("data-state",next),this.requestUpdate("state",old),this.emit("lr-record-state-change",{state:next})}announce(text){const region=this.liveRegion;region&&(region.mode="polite",region.announce(text,{force:!0}))}async start(){if(this.disabled||this._state==="recording")return!1;const intent=this.createIntent("programmatic");return intent?this.startForIntent(intent):!1}startForIntent(intent){const pending=this.pendingRequest;if(pending)return pending.intent=intent,pending.completion??Promise.resolve(!1);if(this._state==="recording")return intent.kind==="hold"&&this.activeCapture&&this.recorderStopRequested&&this.isLiveIntent(intent)?(this.queuedIntent=intent,Promise.resolve(!1)):(this.clearIntent(intent),Promise.resolve(!1));if(!this.isLiveIntent(intent))return this.clearIntent(intent),Promise.resolve(!1);const request={id:++this.captureSequence,owner:intent.owner,intent,invalidated:!1,notifyCancellation:!1,cancellationNotified:!1};this.pendingRequest=request,this.setState("requesting");const completion=this.requestPermission(request);return request.completion=completion,completion}captureConstraints(){const additionalConstraints={...this.audioConstraints??{}};return delete additionalConstraints.deviceId,{audio:{...additionalConstraints,...this.deviceId?{deviceId:{exact:this.deviceId}}:{}}}}async requestPermission(request){if(!this.canStartRequest(request))return this.finishUnusableRequest(request),!1;try{const stream=await request.owner.window.navigator.mediaDevices.getUserMedia(this.captureConstraints());if(!this.canStartRequest(request)){for(const track of stream.getTracks())track.stop();return this.finishUnusableRequest(request),!1}return this.pendingRequest=void 0,this.startRecorder(request,stream)}catch(error){if(!this.canStartRequest(request))return this.finishUnusableRequest(request),!1;this.pendingRequest=void 0,this.clearIntent(request.intent);const denied=typeof error=="object"&&error!==null&&"name"in error&&error.name==="NotAllowedError";return this.setState(denied?"denied":"error"),this.emit("lr-record-error",{error}),this.announce(this.localize(denied?"pushToTalkDenied":"pushToTalkError")),!1}}startRecorder(request,stream){const owner=request.owner.window,active={id:request.id,owner:request.owner,intent:request.intent,notifyCancellation:!0};this.activeCapture=active,this.captureWindow=owner,this._stream=stream,this.cancelRequested=!1,this.recorderStopRequested=!1,this.recorderFailed=!1,this.chunks=[];try{const mimeType=this.resolveMimeType(owner),recorder=new owner.MediaRecorder(stream,mimeType?{mimeType}:void 0);this.recorder=recorder;const timeslice=this.timesliceMs>0?finiteDuration(this.timesliceMs,MAX_TIMEOUT_MS,1,MAX_TIMEOUT_MS):void 0,emitChunksForTake=timeslice!==void 0;return recorder.ondataavailable=event=>{this.recorder!==recorder||this.activeCapture!==active||!event.data||event.data.size===0||(this.chunks.push(event.data),emitChunksForTake&&this.emit("lr-record-chunk",{blob:event.data}))},recorder.onstop=()=>this.finalizeStop(recorder,active),recorder.onerror=event=>this.failRecorder(recorder,active,event.error??new Error("MediaRecorder failed")),recorder.start(timeslice),this.recordingStartedAt=owner.performance.now(),this.elapsedMs=0,this.setState("recording"),this.activeCapture!==active||!this.ownsCurrentLifecycle(active.owner)||this.recorderStopRequested||(this.emit("lr-record-start",{stream}),this.announce(this.localize("pushToTalkStarted")),this.syncLevelMeter(owner),this.syncMaxDurationTimer(owner,!0),this.syncElapsedTimer(owner,!0)),!0}catch(error){if(this.activeCapture!==active){for(const track of stream.getTracks())track.stop();return!1}return this.teardownStream(active),this.clearIntent(active.intent),this.setState("error"),this.emit("lr-record-error",{error}),this.announce(this.localize("pushToTalkError")),!1}}stop(){this.requestRecorderStop(!1)}cancel(){const pending=this.pendingRequest;if(pending&&this._state==="requesting"){this.retirePendingRequest(pending,!0);return}this._state==="recording"&&this.requestRecorderStop(!0)}requestRecorderStop(cancelled){const active=this.activeCapture;if(this._state!=="recording"||!active||(cancelled&&(this.cancelRequested=!0),this.recorderStopRequested))return;this.recorderStopRequested=!0,this.stopRuntimeLoops();const recorder=this.recorder;recorder&&recorder.state!=="inactive"&&recorder.stop()}finalizeStop(recorder,active){if(this.recorder!==recorder||this.activeCapture!==active||this.recorderFailed)return;const owner=active.owner.window,cancelled=this.cancelRequested,durationMs=Math.round(owner.performance.now()-this.recordingStartedAt),mimeType=recorder.mimeType||this.resolveMimeType(owner)||"audio/webm",blob=new owner.Blob(this.chunks,{type:mimeType});this.teardownStream(active),this.clearIntent(active.intent),this.setState("idle"),cancelled?active.notifyCancellation&&this.notifyCancellation():(this.emit("lr-record-stop",{blob,durationMs}),this.announce(this.localize("pushToTalkStopped"))),this.cancelRequested=!1,this.resumeQueuedIntent()}failRecorder(recorder,active,error){this.recorder!==recorder||this.activeCapture!==active||this.recorderFailed||this.cancelRequested||(this.recorderFailed=!0,this.cancelRequested=!1,this.teardownStream(active),this.clearIntent(active.intent),this.setState("error"),this.emit("lr-record-error",{error}),this.announce(this.localize("pushToTalkError")),this.resumeQueuedIntent())}teardownStream(active=this.activeCapture){if(!(!active||this.activeCapture!==active)){for(const track of this._stream?.getTracks()??[])track.stop();this._stream=null,this.recorder&&(this.recorder.ondataavailable=null,this.recorder.onstop=null,this.recorder.onerror=null),this.recorder=void 0,this.recorderStopRequested=!1,this.chunks=[],this.stopRuntimeLoops(),this.captureWindow=void 0,this.activeCapture=void 0}}stopRuntimeLoops(){this.tickTimer.cancel(),this.maxDurationTimer.cancel(),this.stopLevelMeter()}syncElapsedTimer(owner,initial=!1){this.tickTimer.cancel();const active=this.activeCapture;this.withoutTimer||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner)||(initial||(this.elapsedMs=owner.performance.now()-this.recordingStartedAt),this.tickTimer.schedule(1e3,()=>{this.activeCapture!==active||this._state!=="recording"||!this.ownsCurrentLifecycle(active.owner)||(this.elapsedMs=owner.performance.now()-this.recordingStartedAt)}))}syncMaxDurationTimer(owner,initial=!1){this.maxDurationTimer.cancel();const active=this.activeCapture;if(this.maxDurationMs<=0||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner))return;const duration=finiteDuration(this.maxDurationMs,MAX_TIMEOUT_MS,1,MAX_TIMEOUT_MS),elapsed=initial?0:Math.max(0,owner.performance.now()-this.recordingStartedAt);this.maxDurationTimer.schedule(Math.max(0,duration-elapsed),()=>{this.activeCapture!==active||!this.ownsCurrentLifecycle(active.owner)||this.stop()})}syncLevelMeter(owner){const active=this.activeCapture;if(!this.levelEvents||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner)||!this._stream){this.stopLevelMeter();return}this.audioCtx||this.startLevelMeter(this._stream,owner)}startLevelMeter(stream,owner){const AudioCtxCtor=owner.AudioContext??owner.webkitAudioContext;if(AudioCtxCtor)try{const audioCtx=new AudioCtxCtor;this.audioCtx=audioCtx,audioCtx.resume().catch(()=>{});const source=audioCtx.createMediaStreamSource(stream),analyser=audioCtx.createAnalyser();this.analyser=analyser,analyser.fftSize=256,source.connect(analyser),this.levelData=new owner.Uint8Array(analyser.frequencyBinCount),this.sampleLevel(owner)}catch{this.stopLevelMeter()}}sampleLevel(owner){const active=this.activeCapture;if(!this.analyser||!this.levelData||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner))return;this.analyser.getByteTimeDomainData(this.levelData);let sumSquares=0;for(const v of this.levelData){const norm=(v-128)/128;sumSquares+=norm*norm}const rms=Math.sqrt(sumSquares/this.levelData.length);this.emit("lr-level",{level:Math.min(1,rms)}),this.levelFrame.schedule(()=>{this.activeCapture===active&&this.ownsCurrentLifecycle(active.owner)&&this.sampleLevel(owner)})}stopLevelMeter(){this.levelFrame.cancel(),this.analyser=void 0,this.levelData=void 0,this.audioCtx&&(this.audioCtx.close().catch(()=>{}),this.audioCtx=void 0)}formatElapsed(ms){return formatMediaTime(ms/1e3,this.effectiveLocale)}releaseHoldGesture(retirePending=!1){const intent=this.holdGesture;if(!intent)return;this.holdGesture=void 0,this.captureIntent===intent&&(this.captureIntent=void 0),this.queuedIntent===intent&&(this.queuedIntent=void 0);const pending=this.pendingRequest;if(pending?.intent===intent){retirePending&&this.retirePendingRequest(pending,!0);return}this.activeCapture?.intent===intent&&this.requestRecorderStop(!1)}get triggerLabel(){const override=this.getAttribute("aria-label");return override!==null?override:this.mode==="hold"?this.localize("pushToTalkHold"):this._state==="recording"?this.localize("pushToTalkStop"):this.localize("pushToTalkStart")}get statusText(){if(!this.captureSupported)return this.localize("pushToTalkUnsupported");switch(this._state){case"requesting":return this.localize("pushToTalkRequesting");case"denied":return this.localize("pushToTalkDenied");case"error":return this.localize("pushToTalkError");default:return""}}render(){const supported=this.captureSupported,recording=this._state==="recording",status=this.statusText;return html`
|
|
11
|
-
<button
|
|
12
|
-
part="trigger"
|
|
13
|
-
type="button"
|
|
14
|
-
aria-label=${this.triggerLabel}
|
|
15
|
-
?disabled=${this.disabled||!supported}
|
|
16
|
-
@pointerdown=${this.onPointerDown}
|
|
17
|
-
@pointerup=${this.onPointerUp}
|
|
18
|
-
@pointercancel=${this.onPointerCancel}
|
|
19
|
-
@keydown=${this.onKeyDown}
|
|
20
|
-
@keyup=${this.onKeyUp}
|
|
21
|
-
@blur=${this.onBlur}
|
|
22
|
-
@click=${this.onClick}
|
|
23
|
-
>
|
|
6
|
+
`)}function pulseGlyph(){return iconFrame(svg`<circle cx="12" cy="12" r="6"></circle>`)}class LyraPushToTalk extends LyraElement{constructor(){super(...arguments),this._mode="hold",this.timesliceMs=0,this.streamOnly=!1,this.mimeType="",this.deviceId="",this.levelEvents=!1,this.maxDurationMs=0,this.withoutTimer=!1,this.disabled=!1,this.elapsedMs=0,this.captureSupported=!1,this._state="idle",this._stream=null,this.describedByReflected=!1,this.chunks=[],this.recordingStartedAt=0,this.lifecycleGeneration=0,this.captureSequence=0,this.intentSequence=0,this.cancelRequested=!1,this.recorderStopRequested=!1,this.recorderFailed=!1,this.tickTimer=new OwnedInterval(this),this.maxDurationTimer=new OwnedTimeout(this),this.levelFrame=new OwnedFrame(this),this.onPointerDown=e=>{if(this.mode!=="hold"||this.disabled||e.button!==0||this.holdGesture)return;e.preventDefault();const intent=this.createIntent("hold",{source:"pointer",pointerId:e.pointerId});if(!intent)return;const button=e.currentTarget,id=e.pointerId,unbind=capturePointer(button,id)?void 0:listenUntilPointerEnd(this.ownerDocument,this.onPointerUp,{capture:!0});this.endPointerHold=()=>{unbind?.(),releasePointer(button,id)},this.holdGesture=intent,this.startForIntent(intent)},this.onPointerUp=event=>{this.holdGesture?.source!=="pointer"||this.holdGesture.pointerId!==event.pointerId||this.releaseHoldGesture()},this.onKeyDown=e=>{if(this.disabled||shouldIgnoreNavigationKey(e))return;if(e.key==="Escape"){if(this._state!=="requesting"&&this._state!=="recording")return;e.preventDefault(),this.cancel();return}if(e.key!=="Enter"&&e.key!==" ")return;if(isRepeatedActivationKey(e)){e.preventDefault();return}if(this.mode!=="hold"||(e.preventDefault(),this.holdGesture))return;const intent=this.createIntent("hold",{source:"keyboard",key:e.key});intent&&(this.holdGesture=intent,this.startForIntent(intent))},this.onKeyUp=e=>{e.key!=="Enter"&&e.key!==" "||this.holdGesture?.source!=="keyboard"||this.holdGesture.key!==e.key||(e.preventDefault(),this.suppressKeyboardClick=!0,setTimeout(()=>{this.suppressKeyboardClick=!1},0),this.releaseHoldGesture())},this.suppressKeyboardClick=!1,this.onBlur=()=>{this.releaseHoldGesture()},this.onClick=event=>{this.disabled||event.altKey||event.ctrlKey||event.metaKey||this.mode==="hold"&&(event.detail!==0||this.holdGesture||this.suppressKeyboardClick)||(this._state==="recording"?this.stop():this.start())}}static{this.defaultStrings={...super.defaultStrings,pushToTalkCancelled:LYRA_DEFAULT_pushToTalkCancelled,pushToTalkDenied:LYRA_DEFAULT_pushToTalkDenied,pushToTalkError:LYRA_DEFAULT_pushToTalkError,pushToTalkHold:LYRA_DEFAULT_pushToTalkHold,pushToTalkRequesting:LYRA_DEFAULT_pushToTalkRequesting,pushToTalkStart:LYRA_DEFAULT_pushToTalkStart,pushToTalkStarted:LYRA_DEFAULT_pushToTalkStarted,pushToTalkStop:LYRA_DEFAULT_pushToTalkStop,pushToTalkStopped:LYRA_DEFAULT_pushToTalkStopped,pushToTalkUnsupported:LYRA_DEFAULT_pushToTalkUnsupported}}static{this.styles=[LyraElement.styles,styles]}get mode(){return this._mode}set mode(next){const normalized=PUSH_TO_TALK_MODE.normalize(next),old=this._mode;old!==normalized&&(this._mode=normalized,this.requestUpdate("mode",old))}get state(){return this._state}get stream(){return this._stream}get ownerWindow(){return this.ownerDocument?.defaultView??null}get captureOwner(){const owner=this.ownerWindow;if(isPushToTalkSupported(owner))return{document:this.ownerDocument,window:owner,generation:this.lifecycleGeneration}}ownsCurrentLifecycle(owner){return this.isConnected&&this.isCurrentRealm(owner)&&this.lifecycleGeneration===owner.generation}isCurrentRealm(owner){return this.ownerDocument===owner.document&&this.ownerWindow===owner.window}rebaseCurrentRealmOwner(owner){this.isCurrentRealm(owner)&&(owner.generation=this.lifecycleGeneration)}createIntent(kind,details={}){const owner=this.captureOwner;if(!owner)return;const intent={id:++this.intentSequence,owner,kind,...details};return this.captureIntent=intent,intent}isLiveIntent(intent){return this.captureIntent===intent&&!this.disabled&&this.ownsCurrentLifecycle(intent.owner)&&(intent.kind!=="hold"||this.holdGesture===intent)}clearHoldGesture(){this.holdGesture=void 0,this.endPointerHold?.(),this.endPointerHold=void 0}clearIntent(intent){this.captureIntent===intent&&(this.captureIntent=void 0),this.holdGesture===intent&&this.clearHoldGesture(),this.queuedIntent===intent&&(this.queuedIntent=void 0)}retirePendingRequest(request,notifyCancellation){request.invalidated=!0,request.notifyCancellation||=notifyCancellation,request.retiredAtIntentId=this.intentSequence,request.retiredAtGeneration=this.lifecycleGeneration,this.pendingRequest===request&&(this.pendingRequest=void 0),this.clearIntent(request.intent),this._state==="requesting"&&!this.activeCapture&&this.setState("idle")}invalidateLifecycle(notifyCancellation,retainCurrentRealmIntents=!1){this.lifecycleGeneration+=1,this.captureIntent&&retainCurrentRealmIntents&&this.isCurrentRealm(this.captureIntent.owner)?this.rebaseCurrentRealmOwner(this.captureIntent.owner):this.captureIntent=void 0,this.holdGesture&&retainCurrentRealmIntents&&this.isCurrentRealm(this.holdGesture.owner)?this.rebaseCurrentRealmOwner(this.holdGesture.owner):this.clearHoldGesture(),this.queuedIntent&&retainCurrentRealmIntents&&this.isCurrentRealm(this.queuedIntent.owner)?this.rebaseCurrentRealmOwner(this.queuedIntent.owner):this.queuedIntent=void 0;const request=this.pendingRequest;request&&this.retirePendingRequest(request,notifyCancellation);const active=this.activeCapture;active&&(active.notifyCancellation&&=notifyCancellation,this.requestRecorderStop(!0))}canAdoptRequest(request,intent){return this.pendingRequest===request&&!request.invalidated&&this._state==="requesting"&&this.ownsCurrentLifecycle(request.owner)&&this.isLiveIntent(intent)&&request.owner.document===intent.owner.document&&request.owner.window===intent.owner.window&&request.owner.generation===intent.owner.generation}canStartRequest(request){return this.canAdoptRequest(request,request.intent)}notifyCancellation(){this.emit("lr-record-cancel",null),this.isConnected&&this.announce(this.localize("pushToTalkCancelled"))}resumeQueuedIntent(){const intent=this.queuedIntent;this.queuedIntent=void 0,!(!intent||!this.isLiveIntent(intent))&&this.startForIntent(intent)}finishRetiredRequest(request){request.notifyCancellation&&!request.cancellationNotified&&request.retiredAtIntentId===this.intentSequence&&request.retiredAtGeneration===this.lifecycleGeneration&&!this.pendingRequest&&!this.activeCapture&&!this.captureIntent&&(request.cancellationNotified=!0,this.notifyCancellation())}finishUnusableRequest(request){if(request.invalidated){this.finishRetiredRequest(request);return}this.pendingRequest===request&&(this.pendingRequest=void 0),this.clearIntent(request.intent),this._state==="requesting"&&!this.activeCapture&&this.setState("idle"),this.notifyCancellation()}syncCaptureSupport(){this.captureSupported=isPushToTalkSupported(this.ownerWindow)}connectedCallback(){super.connectedCallback(),this.requestUpdate("mode",void 0),this.hasAttribute("data-state")||this.setAttribute("data-state",this._state)}disconnectedCallback(){const previousOwner=this.activeCapture?.owner??this.pendingRequest?.owner;this.invalidateLifecycle(!1,!!previousOwner&&!this.isCurrentRealm(previousOwner)),super.disconnectedCallback()}adoptedCallback(){this.invalidateLifecycle(!1,!0),super.adoptedCallback(),this.syncCaptureSupport()}willUpdate(changed){super.willUpdate(changed),this.hasUpdated?this.syncCaptureSupport():this.seedFirstRenderState(()=>this.syncCaptureSupport()),changed.has("mode")&&changed.get("mode")!==void 0&&this.holdGesture&&this.releaseHoldGesture(!0),changed.has("disabled")&&this.disabled&&this.invalidateLifecycle(!0);const owner=this.captureWindow;this._state!=="recording"||!owner||(changed.has("withoutTimer")&&this.syncElapsedTimer(owner),changed.has("maxDurationMs")&&this.syncMaxDurationTimer(owner),changed.has("levelEvents")&&this.syncLevelMeter(owner))}updated(changed){super.updated(changed);const describedBy=this.getAttribute("aria-describedby");(describedBy||this.describedByReflected)&&(this.describedByReflected=syncAriaDescribedByElements(this,this.trigger,describedBy))}focus(options){this.deferFocusUntilRendered(options)||this.trigger?.focus(options)}blur(){this.trigger?.blur()}click(){this.disabled||!isPushToTalkSupported(this.ownerWindow)||(this.mode==="toggle"?this.trigger?.click():this._state==="recording"?this.stop():this.start())}resolveMimeType(owner){if(this.mimeType)return this.mimeType;for(const candidate of CANDIDATE_MIME_TYPES)if(owner.MediaRecorder.isTypeSupported?.(candidate))return candidate;return""}setState(next){if(this._state===next)return;const old=this._state;this._state=next,this.setAttribute("data-state",next),this.requestUpdate("state",old),this.emit("lr-record-state-change",{state:next})}announce(text){const region=this.liveRegion;region&&(region.mode="polite",region.announce(text,{force:!0}))}async start(){if(this.disabled||this._state==="recording")return!1;const intent=this.createIntent("programmatic");return intent?this.startForIntent(intent):!1}startForIntent(intent){const pending=this.pendingRequest;if(pending)return pending.intent=intent,pending.completion??Promise.resolve(!1);if(this._state==="recording")return intent.kind==="hold"&&this.activeCapture&&this.recorderStopRequested&&this.isLiveIntent(intent)?(this.queuedIntent=intent,Promise.resolve(!1)):(this.clearIntent(intent),Promise.resolve(!1));if(!this.isLiveIntent(intent))return this.clearIntent(intent),Promise.resolve(!1);const request={id:++this.captureSequence,owner:intent.owner,intent,invalidated:!1,notifyCancellation:!1,cancellationNotified:!1};this.pendingRequest=request,this.setState("requesting");const completion=this.requestPermission(request);return request.completion=completion,completion}captureConstraints(){const additionalConstraints={...this.audioConstraints??{}};return delete additionalConstraints.deviceId,{audio:{...additionalConstraints,...this.deviceId?{deviceId:{exact:this.deviceId}}:{}}}}async requestPermission(request){if(!this.canStartRequest(request))return this.finishUnusableRequest(request),!1;try{const stream=await request.owner.window.navigator.mediaDevices.getUserMedia(this.captureConstraints());if(!this.canStartRequest(request)){for(const track of stream.getTracks())track.stop();return this.finishUnusableRequest(request),!1}return this.pendingRequest=void 0,this.startRecorder(request,stream)}catch(error){if(!this.canStartRequest(request))return this.finishUnusableRequest(request),!1;this.pendingRequest=void 0,this.clearIntent(request.intent);const denied=typeof error=="object"&&error!==null&&"name"in error&&error.name==="NotAllowedError";return this.setState(denied?"denied":"error"),this.emit("lr-record-error",{error}),this.announce(this.localize(denied?"pushToTalkDenied":"pushToTalkError")),!1}}startRecorder(request,stream){const owner=request.owner.window,active={id:request.id,owner:request.owner,intent:request.intent,notifyCancellation:!0};this.activeCapture=active,this.captureWindow=owner,this._stream=stream,this.cancelRequested=!1,this.recorderStopRequested=!1,this.recorderFailed=!1,this.chunks=[];try{const mimeType=this.resolveMimeType(owner),recorder=new owner.MediaRecorder(stream,mimeType?{mimeType}:void 0);this.recorder=recorder;const streamOnly=this.streamOnly,interval=this.timesliceMs>0?this.timesliceMs:streamOnly?1e3:0,timeslice=interval>0?finiteDuration(interval,MAX_TIMEOUT_MS,1,MAX_TIMEOUT_MS):void 0,emitChunksForTake=timeslice!==void 0;return recorder.ondataavailable=event=>{this.recorder!==recorder||this.activeCapture!==active||!event.data||event.data.size===0||(streamOnly||this.chunks.push(event.data),emitChunksForTake&&this.emit("lr-record-chunk",{blob:event.data}))},recorder.onstop=()=>this.finalizeStop(recorder,active),recorder.onerror=event=>this.failRecorder(recorder,active,event.error??new Error("MediaRecorder failed")),recorder.start(timeslice),this.recordingStartedAt=owner.performance.now(),this.elapsedMs=0,this.setState("recording"),this.activeCapture!==active||!this.ownsCurrentLifecycle(active.owner)||this.recorderStopRequested||(this.emit("lr-record-start",{stream}),this.activeCapture!==active||!this.ownsCurrentLifecycle(active.owner)||this.recorderStopRequested)||(this.announce(this.localize("pushToTalkStarted")),this.syncLevelMeter(owner),this.syncMaxDurationTimer(owner,!0),this.syncElapsedTimer(owner,!0)),!0}catch(error){if(this.activeCapture!==active){for(const track of stream.getTracks())track.stop();return!1}return this.teardownStream(active),this.clearIntent(active.intent),this.setState("error"),this.emit("lr-record-error",{error}),this.announce(this.localize("pushToTalkError")),!1}}stop(){this.requestRecorderStop(!1)}cancel(){const pending=this.pendingRequest;if(pending&&this._state==="requesting"){this.retirePendingRequest(pending,!0);return}this._state==="recording"&&this.requestRecorderStop(!0)}requestRecorderStop(cancelled){const active=this.activeCapture;if(this._state!=="recording"||!active||(cancelled&&(this.cancelRequested=!0),this.recorderStopRequested))return;this.recorderStopRequested=!0,this.stopRuntimeLoops();const recorder=this.recorder;recorder&&recorder.state!=="inactive"&&recorder.stop()}finalizeStop(recorder,active){if(this.recorder!==recorder||this.activeCapture!==active||this.recorderFailed)return;const owner=active.owner.window,cancelled=this.cancelRequested,durationMs=Math.round(owner.performance.now()-this.recordingStartedAt),mimeType=recorder.mimeType||this.resolveMimeType(owner)||"audio/webm",blob=new owner.Blob(this.chunks,{type:mimeType});this.teardownStream(active),this.clearIntent(active.intent),this.setState("idle"),cancelled?active.notifyCancellation&&this.notifyCancellation():(this.emit("lr-record-stop",{blob,durationMs}),this.announce(this.localize("pushToTalkStopped"))),this.cancelRequested=!1,this.resumeQueuedIntent()}failRecorder(recorder,active,error){this.recorder!==recorder||this.activeCapture!==active||this.recorderFailed||this.cancelRequested||(this.recorderFailed=!0,this.cancelRequested=!1,this.teardownStream(active),this.clearIntent(active.intent),this.setState("error"),this.emit("lr-record-error",{error}),this.announce(this.localize("pushToTalkError")),this.resumeQueuedIntent())}teardownStream(active=this.activeCapture){if(!(!active||this.activeCapture!==active)){for(const track of this._stream?.getTracks()??[])track.stop();this._stream=null,this.recorder&&(this.recorder.ondataavailable=null,this.recorder.onstop=null,this.recorder.onerror=null),this.recorder=void 0,this.recorderStopRequested=!1,this.chunks=[],this.stopRuntimeLoops(),this.captureWindow=void 0,this.activeCapture=void 0}}stopRuntimeLoops(){this.tickTimer.cancel(),this.maxDurationTimer.cancel(),this.stopLevelMeter()}syncElapsedTimer(owner,initial=!1){this.tickTimer.cancel();const active=this.activeCapture;this.withoutTimer||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner)||(initial||(this.elapsedMs=owner.performance.now()-this.recordingStartedAt),this.tickTimer.schedule(1e3,()=>{this.activeCapture!==active||this._state!=="recording"||!this.ownsCurrentLifecycle(active.owner)||(this.elapsedMs=owner.performance.now()-this.recordingStartedAt)}))}syncMaxDurationTimer(owner,initial=!1){this.maxDurationTimer.cancel();const active=this.activeCapture;if(this.maxDurationMs<=0||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner))return;const duration=finiteDuration(this.maxDurationMs,MAX_TIMEOUT_MS,1,MAX_TIMEOUT_MS),elapsed=initial?0:Math.max(0,owner.performance.now()-this.recordingStartedAt);this.maxDurationTimer.schedule(Math.max(0,duration-elapsed),()=>{this.activeCapture!==active||!this.ownsCurrentLifecycle(active.owner)||this.stop()})}syncLevelMeter(owner){const active=this.activeCapture;if(!this.levelEvents||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner)||!this._stream){this.stopLevelMeter();return}this.audioCtx||this.startLevelMeter(this._stream,owner)}startLevelMeter(stream,owner){const AudioCtxCtor=owner.AudioContext??owner.webkitAudioContext;if(AudioCtxCtor)try{const audioCtx=new AudioCtxCtor;this.audioCtx=audioCtx,audioCtx.resume().catch(()=>{});const source=audioCtx.createMediaStreamSource(stream),analyser=audioCtx.createAnalyser();this.analyser=analyser,analyser.fftSize=256,source.connect(analyser),this.levelData=new owner.Uint8Array(analyser.frequencyBinCount),this.sampleLevel(owner)}catch{this.stopLevelMeter()}}sampleLevel(owner){const active=this.activeCapture;if(!this.analyser||!this.levelData||this._state!=="recording"||!active||active.owner.window!==owner||!this.ownsCurrentLifecycle(active.owner))return;this.analyser.getByteTimeDomainData(this.levelData);let sumSquares=0;for(const v of this.levelData){const norm=(v-128)/128;sumSquares+=norm*norm}const rms=Math.sqrt(sumSquares/this.levelData.length);this.emit("lr-level",{level:Math.min(1,rms)}),this.levelFrame.schedule(()=>{this.activeCapture===active&&this.ownsCurrentLifecycle(active.owner)&&this.sampleLevel(owner)})}stopLevelMeter(){this.levelFrame.cancel(),this.analyser=void 0,this.levelData=void 0,this.audioCtx&&(this.audioCtx.close().catch(()=>{}),this.audioCtx=void 0)}formatElapsed(ms){return formatMediaTime(ms/1e3,this.effectiveLocale)}releaseHoldGesture(retirePending=!1){const intent=this.holdGesture;if(!intent)return;this.clearHoldGesture(),this.captureIntent===intent&&(this.captureIntent=void 0),this.queuedIntent===intent&&(this.queuedIntent=void 0);const pending=this.pendingRequest;if(pending?.intent===intent){retirePending&&this.retirePendingRequest(pending,!0);return}this.activeCapture?.intent===intent&&this.requestRecorderStop(!1)}get triggerLabel(){const override=this.getAttribute("aria-label");return override!==null?override:this.mode==="hold"?this.localize("pushToTalkHold"):this._state==="recording"?this.localize("pushToTalkStop"):this.localize("pushToTalkStart")}get statusText(){if(!this.captureSupported)return this.localize("pushToTalkUnsupported");switch(this._state){case"requesting":return this.localize("pushToTalkRequesting");case"denied":return this.localize("pushToTalkDenied");case"error":return this.localize("pushToTalkError");default:return""}}render(){const supported=this.captureSupported,recording=this._state==="recording",status=this.statusText;return html`
|
|
7
|
+
<button part="trigger" type="button" aria-label=${this.triggerLabel} ?disabled=${this.disabled||!supported} @pointerdown=${this.onPointerDown} @pointerup=${this.onPointerUp} @pointercancel=${this.onPointerUp} @lostpointercapture=${this.onPointerUp} @keydown=${this.onKeyDown} @keyup=${this.onKeyUp} @blur=${this.onBlur} @click=${this.onClick} >
|
|
24
8
|
<span part="icon" aria-hidden="true" inert><slot name="microphone-icon">${micIcon()}</slot></span>
|
|
25
9
|
${recording?html`<span part="pulse" aria-hidden="true" inert><slot name="recording-icon">${pulseGlyph()}</slot></span>`:nothing}
|
|
26
10
|
</button>
|
|
27
11
|
${status?html`<span part="status">${status}</span>`:nothing}
|
|
28
12
|
${recording&&!this.withoutTimer?html`<span part="timer" aria-hidden="true">${this.formatElapsed(this.elapsedMs)}</span>`:nothing}
|
|
29
13
|
<lr-live-region></lr-live-region>
|
|
30
|
-
`}}__decorate([property({reflect:!0,converter:PUSH_TO_TALK_MODE})],LyraPushToTalk.prototype,"mode",null),__decorate([property({
|
|
14
|
+
`}}__decorate([property({reflect:!0,converter:PUSH_TO_TALK_MODE})],LyraPushToTalk.prototype,"mode",null),__decorate([property({converter:blankNumberConverter(0),attribute:"timeslice-ms"})],LyraPushToTalk.prototype,"timesliceMs",void 0),__decorate([property({type:Boolean,attribute:"stream-only"})],LyraPushToTalk.prototype,"streamOnly",void 0),__decorate([property({attribute:"mime-type"})],LyraPushToTalk.prototype,"mimeType",void 0),__decorate([property({attribute:"device-id"})],LyraPushToTalk.prototype,"deviceId",void 0),__decorate([property({attribute:!1})],LyraPushToTalk.prototype,"audioConstraints",void 0),__decorate([property({type:Boolean,attribute:"level-events"})],LyraPushToTalk.prototype,"levelEvents",void 0),__decorate([property({converter:blankNumberConverter(0),attribute:"max-duration-ms"})],LyraPushToTalk.prototype,"maxDurationMs",void 0),__decorate([property({type:Boolean,attribute:"without-timer"})],LyraPushToTalk.prototype,"withoutTimer",void 0),__decorate([property({type:Boolean,reflect:!0})],LyraPushToTalk.prototype,"disabled",void 0),__decorate([state()],LyraPushToTalk.prototype,"elapsedMs",void 0),__decorate([state()],LyraPushToTalk.prototype,"captureSupported",void 0),__decorate([query(tag("live-region"))],LyraPushToTalk.prototype,"liveRegion",void 0),__decorate([query('[part="trigger"]')],LyraPushToTalk.prototype,"trigger",void 0);export{LyraPushToTalk};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{iconHitTarget,
|
|
1
|
+
import{activeFill,disabledControl,focusRing,iconHitTarget,interactiveTransition}from"../../../internal/interactive-control.styles.js";import{css}from"lit";const styles=css` :host{display:inline-flex;min-inline-size:0;max-inline-size:100%;flex-direction:column;align-items:center;gap:var(--lr-space-xs)}:host([disabled]){cursor:not-allowed}[part=trigger]{font:inherit;display:inline-flex;align-items:center;justify-content:center;position:relative;inline-size:var(--lr-push-to-talk-size,var(--lr-size-3rem));block-size:var(--lr-push-to-talk-size,var(--lr-size-3rem));${iconHitTarget} border-radius:50%;border:var(--lr-border-width-thin) solid var(--lr-color-border);background:var(--lr-color-surface);color:var(--lr-color-text);cursor:pointer;touch-action:none;${interactiveTransition}}[part=trigger]:focus-visible{${focusRing}}[part=trigger]:disabled{${disabledControl}}:where([part=trigger]):hover:where(:not(:disabled)){background:var(--lr-push-to-talk-trigger-hover-bg,var(--lr-color-brand-quiet))}:where([part=trigger]):active:where(:not(:disabled)){background:var(--lr-push-to-talk-trigger-active-bg,${activeFill("var(--lr-push-to-talk-trigger-hover-bg, var(--lr-color-brand-quiet))")})}:host([data-state=recording]) [part=trigger]{border-color:var(--lr-push-to-talk-trigger-recording-border-color,var(--lr-push-to-talk-recording-color,var(--lr-color-danger)));color:var(--lr-push-to-talk-trigger-recording-color,var(--lr-push-to-talk-recording-color,var(--lr-color-danger)))}[part=icon]{display:inline-flex;line-height:var(--lr-line-height-none)}[part=pulse]{display:grid;place-items:center;position:absolute;inset:calc(-1 * var(--lr-size-4px));border-radius:50%;border:var(--lr-border-width-medium) solid var(--lr-push-to-talk-pulse-recording-border-color,var(--lr-push-to-talk-recording-color,var(--lr-color-danger)));pointer-events:none;animation:var(--_lr-motion-animation,lr-push-to-talk-pulse var(--lr-transition-ambient) infinite)}@keyframes lr-push-to-talk-pulse{0%,100%{transform:scale(0.9);opacity:0.7}50%{transform:scale(1.15);opacity:0.2}}@media (prefers-reduced-motion:reduce){[part=pulse]{animation:none!important;transform:none;opacity:0.6}}[part=status]{max-inline-size:100%;overflow-wrap:anywhere;font-size:var(--lr-font-size-sm);color:var(--lr-color-text-quiet);text-align:center}[part=timer]{font-size:var(--lr-font-size-sm);font-variant-numeric:tabular-nums;color:var(--lr-color-text-quiet)}`;export{styles};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraTranscriptEntry}from'../transcript-feed/transcript-feed.class.js';import type{AudioVisualizerState}from'../audio-visualizer/audio-visualizer.class.js';import type{LyraPushToTalkEventMap}from'../push-to-talk/push-to-talk.class.js';import'../audio-visualizer/audio-visualizer.class.js';import'../push-to-talk/push-to-talk.class.js';import'../transcript-feed/transcript-feed.class.js';import'../../overlays/badge/badge.class.js';export type RealtimeConnectionState='disconnected'|'connecting'|'connected'|'reconnecting'|'error';export interface LyraRealtimeSessionEventMap extends LyraPushToTalkEventMap{'lr-connect':CustomEvent<null>;'lr-disconnect':CustomEvent<null>;'lr-mute-change':CustomEvent<{muted:boolean;}>;'lr-interrupt':CustomEvent<null>;}
|
|
1
|
+
import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraTranscriptFeed,LyraTranscriptEntry}from'../transcript-feed/transcript-feed.class.js';import type{AudioVisualizerState}from'../audio-visualizer/audio-visualizer.class.js';import type{LyraPushToTalk,LyraPushToTalkEventMap}from'../push-to-talk/push-to-talk.class.js';import'../audio-visualizer/audio-visualizer.class.js';import'../push-to-talk/push-to-talk.class.js';import'../transcript-feed/transcript-feed.class.js';import'../../overlays/badge/badge.class.js';export type RealtimeConnectionState='disconnected'|'connecting'|'connected'|'reconnecting'|'error';export interface LyraRealtimeSessionEventMap extends LyraPushToTalkEventMap{'lr-connect':CustomEvent<null>;'lr-disconnect':CustomEvent<null>;'lr-mute-change':CustomEvent<{muted:boolean;}>;'lr-interrupt':CustomEvent<null>;}
|
|
2
2
|
/**
|
|
3
3
|
* `<lr-realtime-session>` — a provider-neutral voice-session shell composing connection status,
|
|
4
4
|
* live activity, transcript, native capture, mute, interruption, and connect/disconnect intents.
|
|
@@ -40,10 +40,30 @@ import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from
|
|
|
40
40
|
* @status stable
|
|
41
41
|
* @since 7.0.0
|
|
42
42
|
*/
|
|
43
|
-
export declare class LyraRealtimeSession extends LyraElement<LyraRealtimeSessionEventMap>{protected static collectionSupport:import("../../../internal/lyra-element.js").LyraCollectionSupport;protected static readonly ownedCollectionProperties:readonly string[];protected static readonly appendOrderedCollectionProperties:readonly string[];static styles:import("lit").CSSResultGroup[];private _state;
|
|
43
|
+
export declare class LyraRealtimeSession extends LyraElement<LyraRealtimeSessionEventMap>{private regionLabel?;private readonly labelRegion;private readonly hostDescription;protected static collectionSupport:import("../../../internal/lyra-element.js").LyraCollectionSupport;protected static readonly ownedCollectionProperties:readonly string[];protected static readonly appendOrderedCollectionProperties:readonly string[];static styles:import("lit").CSSResultGroup[];private _state;
|
|
44
|
+
/** Connection state shown by the status badge and gating the connect/disconnect actions; unrecognized values fall back to `disconnected`. Reflects to the `state` attribute.*/
|
|
45
|
+
get state():RealtimeConnectionState;set state(next:RealtimeConnectionState);private _voiceState;
|
|
46
|
+
/** Assistant activity (`idle`, `listening`, `thinking`, `speaking`) forwarded to the activity visualizer; unrecognized values fall back to `idle`.*/
|
|
47
|
+
get voiceState():AudioVisualizerState;set voiceState(next:AudioVisualizerState);
|
|
48
|
+
/** Externally computed amplitude in `[0, 1]` forwarded to the visualizer; `null` (the default) means no external level.*/
|
|
49
|
+
level:number|null;
|
|
50
|
+
/** Live `MediaStream` forwarded to the activity visualizer; `null` (the default) means no stream.*/
|
|
51
|
+
stream:MediaStream|null;
|
|
52
|
+
/** Disables the built-in session actions and microphone capture.*/
|
|
53
|
+
disabled:boolean;
|
|
54
|
+
/** Options for the built-in recorder. Assign a new object to change recording configuration.
|
|
55
|
+
* `streamOnly` emits chunks without retaining the take (the stop event carries an empty Blob);
|
|
56
|
+
* `levelEvents` defaults to `true` here so the session indicator can follow the input level. */
|
|
57
|
+
captureOptions?:Readonly<Partial<Pick<LyraPushToTalk,'mode'|'deviceId'|'mimeType'|'timesliceMs'|'streamOnly'|'levelEvents'|'maxDurationMs'|'withoutTimer'|'audioConstraints'>>>;
|
|
58
|
+
/** Options for transcript following, timestamps and the number of mounted entries.*/
|
|
59
|
+
transcriptOptions?:Readonly<Partial<Pick<LyraTranscriptFeed,'follow'|'withTimestamps'|'formatTimestamp'|'maxRenderedEntries'>>>;
|
|
44
60
|
/** Stable identity forwarded to the transcript feed. Changing it resets finalized-entry
|
|
45
61
|
* announcement history so reused entry ids in a new session remain unambiguous. */
|
|
46
|
-
sessionId:string;
|
|
62
|
+
sessionId:string;
|
|
63
|
+
/** Transcript entries forwarded to the transcript feed.*/
|
|
64
|
+
entries:readonly LyraTranscriptEntry[];
|
|
65
|
+
/** Mutes microphone capture and shows the unmute action; the host is told through `lr-mute-change`. Reflects to the `muted` attribute.*/
|
|
66
|
+
muted:boolean;
|
|
47
67
|
/** Hides native push-to-talk capture, cancelling a take in progress (`lr-record-cancel`). Hiding a
|
|
48
68
|
* focused capture transfers focus to the current connect/disconnect action; hiding it while
|
|
49
69
|
* another control owns focus leaves that focus alone. */
|
|
@@ -1,34 +1,19 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{getNumberFormat}from"../../../internal/intl-cache.js";import{collectionSupport,publicCollectionTruncation}from"../../../internal/collection-snapshot.js";import{html,nothing}from"lit";import{property}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{finiteRange}from"../../../internal/numbers.js";import{literalSetConverter}from"../../../internal/converters.js";import"../audio-visualizer/audio-visualizer.class.js";import"../push-to-talk/push-to-talk.class.js";import"../transcript-feed/transcript-feed.class.js";import"../../overlays/badge/badge.class.js";import{styles}from"./realtime-session.styles.js";import{activeElementIn,shadowFocusTarget}from"../../../internal/active-element.js";import{AnnouncementSinkController}from"../../../internal/announcer.js";import{LYRA_DEFAULT_realtimeSessionConnect,LYRA_DEFAULT_realtimeSessionConnected,LYRA_DEFAULT_realtimeSessionConnecting,LYRA_DEFAULT_realtimeSessionConnectionFailed,LYRA_DEFAULT_realtimeSessionDisconnect,LYRA_DEFAULT_realtimeSessionDisconnected,LYRA_DEFAULT_realtimeSessionError,LYRA_DEFAULT_realtimeSessionInterrupt,LYRA_DEFAULT_realtimeSessionLabel,LYRA_DEFAULT_realtimeSessionMute,LYRA_DEFAULT_realtimeSessionReconnecting,LYRA_DEFAULT_realtimeSessionUnmute,LYRA_DEFAULT_transcriptFeedInputLimit}from"../../../internal/default-strings/conversation.generated.js";const CONNECTION_STATE=literalSetConverter(["disconnected","connecting","connected","reconnecting","error"],"disconnected"),VOICE_STATE=literalSetConverter(["idle","listening","thinking","speaking"],"idle"),STATE_VARIANT={disconnected:"neutral",connecting:"brand",connected:"success",reconnecting:"warning",error:"danger"};class LyraRealtimeSession extends LyraElement{static{this.defaultStrings={...super.defaultStrings,realtimeSessionConnect:LYRA_DEFAULT_realtimeSessionConnect,realtimeSessionConnected:LYRA_DEFAULT_realtimeSessionConnected,realtimeSessionConnecting:LYRA_DEFAULT_realtimeSessionConnecting,realtimeSessionConnectionFailed:LYRA_DEFAULT_realtimeSessionConnectionFailed,realtimeSessionDisconnect:LYRA_DEFAULT_realtimeSessionDisconnect,realtimeSessionDisconnected:LYRA_DEFAULT_realtimeSessionDisconnected,realtimeSessionError:LYRA_DEFAULT_realtimeSessionError,realtimeSessionInterrupt:LYRA_DEFAULT_realtimeSessionInterrupt,realtimeSessionLabel:LYRA_DEFAULT_realtimeSessionLabel,realtimeSessionMute:LYRA_DEFAULT_realtimeSessionMute,realtimeSessionReconnecting:LYRA_DEFAULT_realtimeSessionReconnecting,realtimeSessionUnmute:LYRA_DEFAULT_realtimeSessionUnmute,transcriptFeedInputLimit:LYRA_DEFAULT_transcriptFeedInputLimit}}static{this.collectionSupport=collectionSupport}static{this.ownedCollectionProperties=Object.freeze(["entries"])}static{this.appendOrderedCollectionProperties=Object.freeze(["entries"])}static{this.styles=[LyraElement.styles,styles]}get state(){return this._state}set state(next){const normalized=CONNECTION_STATE.normalize(next),old=this._state;old!==normalized&&(this._state=normalized,this.requestUpdate("state",old))}get voiceState(){return this._voiceState}set voiceState(next){const normalized=VOICE_STATE.normalize(next),old=this._voiceState;old!==normalized&&(this._voiceState=normalized,this.requestUpdate("voiceState",old))}constructor(){super(),this._state="disconnected",this._voiceState="idle",this.level=null,this.stream=null,this.sessionId="",this.entries=[],this.muted=!1,this.withoutCapture=!1,this.announcements=new AnnouncementSinkController(this,{eager:["polite","assertive"]}),this.suppressNextStateAnnouncement=!0,this.lastInputNotice="",this.inputNoticeMounted=!1,this.containNativeEvent=event=>{event.stopPropagation()},this.requestUpdate("state",void 0),this.requestUpdate("voiceState",void 0)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&(this.suppressNextStateAnnouncement=!0,this.requestUpdate())}disconnectedCallback(){super.disconnectedCallback(),this.suppressNextStateAnnouncement=!0,this.inputNoticeMounted=!1}adoptedCallback(){super.adoptedCallback(),this.announcements.adopted()}willUpdate(changed){super.willUpdate(changed);const stateChanged=changed.has("state"),captureHidden=changed.has("withoutCapture")&&changed.get("withoutCapture")===!1&&this.withoutCapture,captureDisabled=changed.has("muted")&&changed.get("muted")===!1&&this.muted;if(!stateChanged&&!captureHidden&&!captureDisabled)return;const focused=this.shadowRoot?shadowFocusTarget(this):activeElementIn(this.ownerDocument),focusedPart=focused?.getAttribute("part")??null;if(!focused)return;if(captureDisabled&&!stateChanged&&!captureHidden&&focusedPart==="capture"){this.transferActionFocus={target:"mute",origin:focused};return}(captureHidden&&!stateChanged?focusedPart==="capture":focused.closest('[part="controls"]')!==null||focusedPart==="connect"||focusedPart==="disconnect"||focusedPart==="mute"||focusedPart==="interrupt"||focusedPart==="capture")&&(this.transferActionFocus={target:"connection",origin:focused})}inputLimitMessage(){const loss=publicCollectionTruncation(this,"entries"),format=getNumberFormat(this.effectiveLocale);return loss?this.localize("transcriptFeedInputLimit",void 0,{count:format.format(loss.retained),total:format.format(loss.source)}):""}updated(changed){super.updated(changed);const notice=this.inputLimitMessage();this.inputNoticeMounted&¬ice&¬ice!==this.lastInputNotice&&this.announcements.announcePolite(notice),this.lastInputNotice=notice,this.inputNoticeMounted=!0;const stateChanged=changed.has("state");stateChanged&&!this.suppressNextStateAnnouncement&&(this.state==="error"?this.announcements.announceAssertive(this.localize("realtimeSessionConnectionFailed")):this.announcements.announcePolite(this.stateLabel()));const pending=this.transferActionFocus;if((stateChanged||changed.has("withoutCapture")||changed.has("muted"))&&pending){this.transferActionFocus=void 0;const internalActive=shadowFocusTarget(this),documentActive=activeElementIn(this.ownerDocument);if((internalActive===null||internalActive===pending.origin)&&(documentActive===null||documentActive===this||documentActive===this.ownerDocument.body)){const selector=pending.target==="mute"?'[part="mute"]':'[part="connect"], [part="disconnect"]';this.renderRoot.querySelector(selector)?.focus()}}this.suppressNextStateAnnouncement=!1}stateLabel(){switch(this.state){case"disconnected":return this.localize("realtimeSessionDisconnected");case"connecting":return this.localize("realtimeSessionConnecting");case"connected":return this.localize("realtimeSessionConnected");case"reconnecting":return this.localize("realtimeSessionReconnecting");case"error":return this.localize("realtimeSessionError")}}render(){const
|
|
2
|
-
<section
|
|
3
|
-
part="base"
|
|
4
|
-
aria-label=${label}
|
|
5
|
-
aria-busy=${this.state==="connecting"||this.state==="reconnecting"?"true":"false"}
|
|
6
|
-
@input=${this.containNativeEvent}
|
|
7
|
-
@change=${this.containNativeEvent}
|
|
8
|
-
>
|
|
1
|
+
import{__decorate}from"tslib";import{normalizeLabel}from"../../../internal/accessible-name.js";import{ref}from"lit/directives/ref.js";import{acquireResolvedAriaRelationship,HostDescriptionController}from"../../../internal/aria-controls.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{collectionSupport,publicCollectionTruncation}from"../../../internal/collection-snapshot.js";import{html,nothing}from"lit";import{property}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{finiteRange}from"../../../internal/numbers.js";import{literalSetConverter,blankNumberConverter}from"../../../internal/converters.js";import"../audio-visualizer/audio-visualizer.class.js";import"../push-to-talk/push-to-talk.class.js";import"../transcript-feed/transcript-feed.class.js";import"../../overlays/badge/badge.class.js";import{styles}from"./realtime-session.styles.js";import{activeElementIn,shadowFocusTarget}from"../../../internal/active-element.js";import{AnnouncementSinkController}from"../../../internal/announcer.js";import{LYRA_DEFAULT_realtimeSessionConnect,LYRA_DEFAULT_realtimeSessionConnected,LYRA_DEFAULT_realtimeSessionConnecting,LYRA_DEFAULT_realtimeSessionConnectionFailed,LYRA_DEFAULT_realtimeSessionDisconnect,LYRA_DEFAULT_realtimeSessionDisconnected,LYRA_DEFAULT_realtimeSessionError,LYRA_DEFAULT_realtimeSessionInterrupt,LYRA_DEFAULT_realtimeSessionLabel,LYRA_DEFAULT_realtimeSessionMute,LYRA_DEFAULT_realtimeSessionReconnecting,LYRA_DEFAULT_realtimeSessionUnmute,LYRA_DEFAULT_transcriptFeedInputLimit}from"../../../internal/default-strings/conversation.generated.js";const CONNECTION_STATE=literalSetConverter(["disconnected","connecting","connected","reconnecting","error"],"disconnected"),VOICE_STATE=literalSetConverter(["idle","listening","thinking","speaking"],"idle"),STATE_VARIANT={disconnected:"neutral",connecting:"brand",connected:"success",reconnecting:"warning",error:"danger"};class LyraRealtimeSession extends LyraElement{static{this.defaultStrings={...super.defaultStrings,realtimeSessionConnect:LYRA_DEFAULT_realtimeSessionConnect,realtimeSessionConnected:LYRA_DEFAULT_realtimeSessionConnected,realtimeSessionConnecting:LYRA_DEFAULT_realtimeSessionConnecting,realtimeSessionConnectionFailed:LYRA_DEFAULT_realtimeSessionConnectionFailed,realtimeSessionDisconnect:LYRA_DEFAULT_realtimeSessionDisconnect,realtimeSessionDisconnected:LYRA_DEFAULT_realtimeSessionDisconnected,realtimeSessionError:LYRA_DEFAULT_realtimeSessionError,realtimeSessionInterrupt:LYRA_DEFAULT_realtimeSessionInterrupt,realtimeSessionLabel:LYRA_DEFAULT_realtimeSessionLabel,realtimeSessionMute:LYRA_DEFAULT_realtimeSessionMute,realtimeSessionReconnecting:LYRA_DEFAULT_realtimeSessionReconnecting,realtimeSessionUnmute:LYRA_DEFAULT_realtimeSessionUnmute,transcriptFeedInputLimit:LYRA_DEFAULT_transcriptFeedInputLimit}}static{this.collectionSupport=collectionSupport}static{this.ownedCollectionProperties=Object.freeze(["entries"])}static{this.appendOrderedCollectionProperties=Object.freeze(["entries"])}static{this.styles=[LyraElement.styles,styles]}get state(){return this._state}set state(next){const normalized=CONNECTION_STATE.normalize(next),old=this._state;old!==normalized&&(this._state=normalized,this.requestUpdate("state",old))}get voiceState(){return this._voiceState}set voiceState(next){const normalized=VOICE_STATE.normalize(next),old=this._voiceState;old!==normalized&&(this._voiceState=normalized,this.requestUpdate("voiceState",old))}constructor(){super(),this.labelRegion=target=>{this.regionLabel?.release(),this.regionLabel=target?acquireResolvedAriaRelationship(this,target,"aria-labelledby"):void 0},this.hostDescription=new HostDescriptionController(this,()=>this.shadowRoot?.querySelector('[part="base"]')??null),this._state="disconnected",this._voiceState="idle",this.level=null,this.stream=null,this.disabled=!1,this.sessionId="",this.entries=[],this.muted=!1,this.withoutCapture=!1,this.announcements=new AnnouncementSinkController(this,{eager:["polite","assertive"]}),this.suppressNextStateAnnouncement=!0,this.lastInputNotice="",this.inputNoticeMounted=!1,this.containNativeEvent=event=>{event.stopPropagation()},this.requestUpdate("state",void 0),this.requestUpdate("voiceState",void 0)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&(this.suppressNextStateAnnouncement=!0,this.requestUpdate())}disconnectedCallback(){super.disconnectedCallback(),this.suppressNextStateAnnouncement=!0,this.inputNoticeMounted=!1}adoptedCallback(){super.adoptedCallback(),this.hostDescription.adopted(),this.announcements.adopted()}willUpdate(changed){super.willUpdate(changed);const stateChanged=changed.has("state"),captureHidden=changed.has("withoutCapture")&&changed.get("withoutCapture")===!1&&this.withoutCapture,captureDisabled=changed.has("muted")&&changed.get("muted")===!1&&this.muted;if(!stateChanged&&!captureHidden&&!captureDisabled)return;const focused=this.shadowRoot?shadowFocusTarget(this):activeElementIn(this.ownerDocument),focusedPart=focused?.getAttribute("part")??null;if(!focused)return;if(captureDisabled&&!stateChanged&&!captureHidden&&focusedPart==="capture"){this.transferActionFocus={target:"mute",origin:focused};return}(captureHidden&&!stateChanged?focusedPart==="capture":focused.closest('[part="controls"]')!==null||focusedPart==="connect"||focusedPart==="disconnect"||focusedPart==="mute"||focusedPart==="interrupt"||focusedPart==="capture")&&(this.transferActionFocus={target:"connection",origin:focused})}inputLimitMessage(){const loss=publicCollectionTruncation(this,"entries"),format=getNumberFormat(this.effectiveLocale);return loss?this.localize("transcriptFeedInputLimit",void 0,{count:format.format(loss.retained),total:format.format(loss.source)}):""}updated(changed){super.updated(changed);const notice=this.inputLimitMessage();this.inputNoticeMounted&¬ice&¬ice!==this.lastInputNotice&&this.announcements.announcePolite(notice),this.lastInputNotice=notice,this.inputNoticeMounted=!0;const stateChanged=changed.has("state");stateChanged&&!this.suppressNextStateAnnouncement&&(this.state==="error"?this.announcements.announceAssertive(this.localize("realtimeSessionConnectionFailed")):this.announcements.announcePolite(this.stateLabel()));const pending=this.transferActionFocus;if((stateChanged||changed.has("withoutCapture")||changed.has("muted"))&&pending){this.transferActionFocus=void 0;const internalActive=shadowFocusTarget(this),documentActive=activeElementIn(this.ownerDocument);if((internalActive===null||internalActive===pending.origin)&&(documentActive===null||documentActive===this||documentActive===this.ownerDocument.body)){const selector=pending.target==="mute"?'[part="mute"]':'[part="connect"], [part="disconnect"]';this.renderRoot.querySelector(selector)?.focus()}}this.suppressNextStateAnnouncement=!1}stateLabel(){switch(this.state){case"disconnected":return this.localize("realtimeSessionDisconnected");case"connecting":return this.localize("realtimeSessionConnecting");case"connected":return this.localize("realtimeSessionConnected");case"reconnecting":return this.localize("realtimeSessionReconnecting");case"error":return this.localize("realtimeSessionError")}}render(){const hostLabel=this.getAttribute("aria-label"),label=hostLabel===""?"":normalizeLabel(hostLabel)??(this.label===""?"":normalizeLabel(this.label)??this.localize("realtimeSessionLabel")),active=this.state==="connected",safeLevel=this.level==null?null:finiteRange(this.level,0,0,1);return html`
|
|
2
|
+
<section ${ref(this.labelRegion)} part="base" aria-label=${label} aria-busy=${this.state==="connecting"||this.state==="reconnecting"?"true":"false"} @input=${this.containNativeEvent} @change=${this.containNativeEvent} >
|
|
9
3
|
<header part="header">
|
|
10
4
|
<lr-badge part="status" variant=${STATE_VARIANT[this.state]}>${this.stateLabel()}</lr-badge>
|
|
11
|
-
<lr-audio-visualizer
|
|
12
|
-
part="activity"
|
|
13
|
-
.state=${this.voiceState}
|
|
14
|
-
.level=${safeLevel}
|
|
15
|
-
.stream=${this.stream}
|
|
16
|
-
></lr-audio-visualizer>
|
|
5
|
+
<lr-audio-visualizer part="activity" .state=${this.voiceState} .level=${safeLevel} .stream=${this.stream} ></lr-audio-visualizer>
|
|
17
6
|
<div part="controls">
|
|
18
|
-
${this.state==="disconnected"||this.state==="error"?html`<button part="connect" type="button" @click=${()=>this.emit("lr-connect",null)}>
|
|
7
|
+
${this.state==="disconnected"||this.state==="error"?html`<button part="connect" type="button" ?disabled=${this.disabled} @click=${()=>this.emit("lr-connect",null)}>
|
|
19
8
|
${this.localize("realtimeSessionConnect")}
|
|
20
|
-
</button>`:html`<button part="disconnect" type="button" @click=${()=>this.emit("lr-disconnect",null)}>
|
|
9
|
+
</button>`:html`<button part="disconnect" type="button" ?disabled=${this.disabled} @click=${()=>this.emit("lr-disconnect",null)}>
|
|
21
10
|
${this.localize("realtimeSessionDisconnect")}
|
|
22
11
|
</button>`}
|
|
23
12
|
${active?html`
|
|
24
|
-
<button
|
|
25
|
-
part="mute"
|
|
26
|
-
type="button"
|
|
27
|
-
@click=${()=>this.emit("lr-mute-change",{muted:!this.muted})}
|
|
28
|
-
>
|
|
13
|
+
<button part="mute" type="button" ?disabled=${this.disabled} @click=${()=>this.emit("lr-mute-change",{muted:!this.muted})} >
|
|
29
14
|
${this.localize(this.muted?"realtimeSessionUnmute":"realtimeSessionMute")}
|
|
30
15
|
</button>
|
|
31
|
-
<button part="interrupt" type="button" @click=${()=>this.emit("lr-interrupt",null)}>
|
|
16
|
+
<button part="interrupt" type="button" ?disabled=${this.disabled} @click=${()=>this.emit("lr-interrupt",null)}>
|
|
32
17
|
${this.localize("realtimeSessionInterrupt")}
|
|
33
18
|
</button>
|
|
34
19
|
`:nothing}
|
|
@@ -36,18 +21,8 @@ import{__decorate}from"tslib";import{getNumberFormat}from"../../../internal/intl
|
|
|
36
21
|
</div>
|
|
37
22
|
</header>
|
|
38
23
|
${this.state==="error"?html`<p part="error">${this.localize("realtimeSessionConnectionFailed")}</p>`:nothing}
|
|
39
|
-
<lr-push-to-talk
|
|
40
|
-
part="capture"
|
|
41
|
-
?hidden=${this.withoutCapture}
|
|
42
|
-
.disabled=${!active||this.muted||this.withoutCapture}
|
|
43
|
-
level-events
|
|
44
|
-
></lr-push-to-talk>
|
|
24
|
+
<lr-push-to-talk part="capture" ?hidden=${this.withoutCapture} .disabled=${this.disabled||!active||this.muted||this.withoutCapture} .mode=${this.captureOptions?.mode??"hold"} .deviceId=${this.captureOptions?.deviceId??""} .mimeType=${this.captureOptions?.mimeType??""} .timesliceMs=${this.captureOptions?.timesliceMs??0} .streamOnly=${this.captureOptions?.streamOnly??!1} .levelEvents=${this.captureOptions?.levelEvents??!0} .maxDurationMs=${this.captureOptions?.maxDurationMs??0} .withoutTimer=${this.captureOptions?.withoutTimer??!1} .audioConstraints=${this.captureOptions?.audioConstraints} ></lr-push-to-talk>
|
|
45
25
|
${this.inputLimitMessage()?html`<p part="input-limit" role="note">${this.inputLimitMessage()}</p>`:nothing}
|
|
46
|
-
<lr-transcript-feed
|
|
47
|
-
part="transcript"
|
|
48
|
-
.sessionId=${this.sessionId}
|
|
49
|
-
.entries=${this.entries}
|
|
50
|
-
@lr-follow-change=${this.containNativeEvent}
|
|
51
|
-
></lr-transcript-feed>
|
|
26
|
+
<lr-transcript-feed part="transcript" .follow=${this.transcriptOptions?.follow??!0} .withTimestamps=${this.transcriptOptions?.withTimestamps??!1} .formatTimestamp=${this.transcriptOptions?.formatTimestamp} .maxRenderedEntries=${this.transcriptOptions?.maxRenderedEntries??500} .sessionId=${this.sessionId} .entries=${this.entries} @lr-follow-change=${this.containNativeEvent} ></lr-transcript-feed>
|
|
52
27
|
</section>
|
|
53
|
-
`}}__decorate([property({reflect:!0,converter:CONNECTION_STATE})],LyraRealtimeSession.prototype,"state",null),__decorate([property({attribute:"voice-state",converter:VOICE_STATE})],LyraRealtimeSession.prototype,"voiceState",null),__decorate([property({
|
|
28
|
+
`}}__decorate([property({reflect:!0,converter:CONNECTION_STATE})],LyraRealtimeSession.prototype,"state",null),__decorate([property({attribute:"voice-state",converter:VOICE_STATE})],LyraRealtimeSession.prototype,"voiceState",null),__decorate([property({converter:blankNumberConverter(null)})],LyraRealtimeSession.prototype,"level",void 0),__decorate([property({attribute:!1})],LyraRealtimeSession.prototype,"stream",void 0),__decorate([property({type:Boolean,reflect:!0})],LyraRealtimeSession.prototype,"disabled",void 0),__decorate([property({attribute:!1})],LyraRealtimeSession.prototype,"captureOptions",void 0),__decorate([property({attribute:!1})],LyraRealtimeSession.prototype,"transcriptOptions",void 0),__decorate([property({attribute:"session-id"})],LyraRealtimeSession.prototype,"sessionId",void 0),__decorate([property({attribute:!1})],LyraRealtimeSession.prototype,"entries",void 0),__decorate([property({type:Boolean,reflect:!0})],LyraRealtimeSession.prototype,"muted",void 0),__decorate([property({type:Boolean,attribute:"without-capture",reflect:!0})],LyraRealtimeSession.prototype,"withoutCapture",void 0),__decorate([property()],LyraRealtimeSession.prototype,"label",void 0);export{LyraRealtimeSession};
|