@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 +1 @@
|
|
|
1
|
-
import{SourceRequestController,sourceCount,sourceRevision}from"./source-request-controller.js";import{SourceWindowController}from"./source-window-controller.js";import{yieldViewerTask}from"./resource-loader.js";import{deepActiveElementIn}from"./active-element.js";function hierarchyField(value,key){if(value===null||typeof value!="object")throw new TypeError("Invalid hierarchy record");const descriptor=Object.getOwnPropertyDescriptor(value,key);if(descriptor&&!("value"in descriptor))throw new TypeError("Invalid hierarchy field");return descriptor?.value}function hierarchyKey(value){if(typeof value!="string"||value.length>65536||value.trim().length===0)throw new TypeError("Invalid hierarchy key");return value}function hierarchyText(value,fallback=""){if(typeof value=="string"&&value.length>65536)throw new RangeError("Hierarchy display value exceeds its row budget");return typeof value=="string"?value:fallback}const EMPTY_QUERY=Object.freeze({search:"",hiddenKinds:Object.freeze([])}),UNAVAILABLE=Symbol("unavailable");function snapshotQuery(value){const search=hierarchyField(value,"search"),hidden=hierarchyField(value,"hiddenKinds");if(typeof search!="string"||search.length>4096||!Array.isArray(hidden))throw new TypeError("Invalid hierarchy query");const length=sourceCount(hierarchyField(hidden,"length"));if(length>64)throw new RangeError("Hierarchy query exceeds its budget");const kinds=new Set;for(let index=0;index<length;index++){const kind=hierarchyField(hidden,String(index));if(typeof kind!="string"||kind.length===0||kind.length>64)throw new TypeError("Invalid hierarchy kind");kinds.add(kind)}return Object.freeze({search,hiddenKinds:Object.freeze([...kinds].sort())})}function sameQuery(left,right){return left.search===right.search&&left.hiddenKinds.length===right.hiddenKinds.length&&left.hiddenKinds.every((kind,index)=>kind===right.hiddenKinds[index])}function snapshotSearch(value){const raw=hierarchyField(value,"hits");if(!Array.isArray(raw))throw new TypeError("Invalid hierarchy search result");const length=sourceCount(hierarchyField(raw,"length"));if(length>1e4)throw new RangeError("Hierarchy search exceeds its hit budget");const totalValue=hierarchyField(value,"total"),total=totalValue===null?null:sourceCount(totalValue),exhaustive=hierarchyField(value,"exhaustive");if(typeof exhaustive!="boolean"||total!==null&&(total<length||exhaustive&&total!==length))throw new TypeError("Inconsistent hierarchy search result");const seen=new Set,hits=[];let units=0;for(let index=0;index<length;index++){const key=hierarchyKey(hierarchyField(hierarchyField(raw,String(index)),"key"));if(units+=key.length,units>2e6||seen.has(key))throw new RangeError("Hierarchy search key budget exceeded");seen.add(key),hits.push(Object.freeze({key}))}return Object.freeze({hits:Object.freeze(hits),total,exhaustive})}async function boundedCopy(value,maxBytes,owner,current){if(typeof value!="string"||value.length>maxBytes)throw new RangeError("Invalid hierarchy copy result");let bytes=0,nextYield=65536;for(let index=0;index<value.length;index++){const code=value.charCodeAt(index);if(code<128?bytes++:code<2048?bytes+=2:code>=55296&&code<=56319&&index+1<value.length&&value.charCodeAt(index+1)>=56320&&value.charCodeAt(index+1)<=57343?(bytes+=4,index++):bytes+=3,bytes>maxBytes)throw new RangeError("Hierarchy copy exceeds its byte budget");if(index>=nextYield){if(await yieldViewerTask(owner.defaultView,current),!current())throw new Error("Hierarchy copy changed");nextYield=index+65536}}if(!current())throw new Error("Hierarchy copy changed");return value}class HierarchySourceController{get epoch(){return this.requests.epoch}constructor(host,options){if(this.host=host,this.options=options,this.locale="",this.query=EMPTY_QUERY,this.searchLane={scheduled:!1},this.copyLane={scheduled:!1},this.transaction=0,this.dirty=!0,this.completion=Promise.resolve(!1),this.pumpScheduled=!1,this.loading=!1,this.error=!1,this.mountedCheckScheduled=!1,this.mountedActive=!1,this.firstMountedIndex=0,this.rowError=!1,this.rowsObserved=!1,this.activeIndex=0,options.payload){const{maxUnits,maxRowUnits,unitsOf}=options.payload;if(!Number.isSafeInteger(maxUnits)||!Number.isSafeInteger(maxRowUnits)||maxRowUnits<1||maxUnits<=maxRowUnits+65536||typeof unitsOf!="function")throw new RangeError("Invalid hierarchy payload bounds");this.payload=Object.freeze({maxUnits,maxRowUnits,unitsOf})}this.requests=new SourceRequestController(host,{channels:["project","navigate","search","copy"],onReset:()=>this.reset()}),this.window=new SourceWindowController(host,{pageSize:100,maxRows:400,maxPages:4,maxConcurrent:2,...this.payload?{maxWeight:this.payload.maxUnits-this.payload.maxRowUnits-65536,weightOf:row=>this.rowUnits(row)}:{},keyOf:row=>row.key,normalize:value=>this.normalize(value),onChange:()=>this.changed()}),this.adapter=this.makeAdapter(),host.addController(this)}rowUnits(row){if(!this.payload)return 0;const valueUnits=this.payload.unitsOf(row.value);if(!Number.isSafeInteger(valueUnits)||valueUnits<0)throw new RangeError("Invalid hierarchy row weight");const units=valueUnits+row.key.length+(row.parentKey?.length??0);if(!Number.isSafeInteger(units)||units>this.payload.maxRowUnits)throw new RangeError("Hierarchy row payload exceeded");return units}requestRange(start,endExclusive){this.window.requestRange(start,endExclusive)}normalize(value){const field=key2=>hierarchyField(value,key2),key=hierarchyKey(field("key")),parent=field("parentKey"),parentKey=parent===null?null:hierarchyKey(parent);if(parentKey===key)throw new TypeError("Hierarchy row cannot be its own parent");const level=sourceCount(field("level")),position=sourceCount(field("position")),setSize=sourceCount(field("setSize")),childCount=sourceCount(field("childCount")),expanded=field("expanded"),selected=field("selected"),disabled=field("disabled"),selectionState=field("selectionState");if(level<1||position<1||position>setSize||typeof expanded!="boolean"||typeof selected!="boolean"||disabled!==void 0&&typeof disabled!="boolean"||selectionState!==void 0&&(typeof selectionState!="string"||!["none","partial","all"].includes(selectionState)))throw new TypeError("Invalid hierarchy metadata");return Object.freeze({key,value:this.options.normalize(field("value"),key,childCount),parentKey,level,position,setSize,childCount,expanded,selected,...disabled===void 0?{}:{disabled},...selectionState===void 0?{}:{selectionState}})}makeAdapter(){return{count:this.projection?.rows.count??0,itemAt:index=>({state:"loading",index}),keyAt:index=>this.focused?.index===index?this.focused.row.key:this.window.source.keyAt(index),indexOfKey:key=>key===this.focused?.row.key?this.focused.index:this.window.source.indexOfKey(key)}}slot(index){this.scheduleMountedCheck();const slot=this.focused?.index===index?{state:"ready",index,value:this.focused.row}:this.window.source.itemAt(index);if(slot.state==="ready"&&this.activeKey===void 0&&index<32&&!slot.value.disabled){this.activeIndex=index,this.activeKey=slot.value.key;const projection=this.projection;queueMicrotask(()=>{this.projection===projection&&this.host.isConnected&&this.changed()})}return slot}scheduleMountedCheck(){this.mountedCheckScheduled||(this.mountedCheckScheduled=!0,queueMicrotask(()=>{if(this.mountedCheckScheduled=!1,!this.host.isConnected||!this.list)return;let active=!1,error=!1,settled=!1;const rows=this.list.projectedRows;for(const element of rows){const row=element.querySelector("[data-source-key]");row&&(settled=!0,row.dataset.sourceKey===this.activeKey&&row.getAttribute("aria-disabled")!=="true"&&(active=!0)),element.querySelector('[part~="source-error"]')&&(error=!0,settled=!0)}const first=Number(rows[0]?.dataset.rowIndex??0),observed=this.rowsObserved||settled;active===this.mountedActive&&first===this.firstMountedIndex&&error===this.rowError&&observed===this.rowsObserved||(this.mountedActive=active,this.firstMountedIndex=first,this.rowError=error,this.rowsObserved=observed,this.changed())}))}update(source,locale,force=!1,query=EMPTY_QUERY){const transaction=++this.transaction;this.boundInput=source;let revision,acceptedQuery;try{if(acceptedQuery=snapshotQuery(query),transaction!==this.transaction)return;if(source!==void 0){if(source===null||typeof source!="object"&&typeof source!="function"||typeof source.project!="function")throw new TypeError("Invalid hierarchy source");revision=sourceRevision(source.revision)}}catch{if(transaction!==this.transaction||(this.source=void 0,this.revision=void 0,this.locale=locale,this.requests.setSource(void 0,void 0),transaction!==this.transaction))return;this.reset(),this.error=source!==void 0,this.dirty=!1,this.changed();return}if(transaction!==this.transaction||!force&&!this.dirty&&source===this.source&&revision===this.revision&&locale===this.locale&&sameQuery(acceptedQuery,this.query))return;this.query=acceptedQuery,this.source=source,this.revision=revision,this.locale=locale,this.dirty=!1;const replaced=this.requests.setSource(source,revision);transaction===this.transaction&&(replaced||this.requests.refresh(),transaction===this.transaction&&(source&&this.host.isConnected&&this.project({type:"reset"}),this.changed()))}refresh(){this.update(this.boundInput,this.locale,!0,this.query)}reset(){this.clearCapability(this.searchLane),this.clearCapability(this.copyLane);const active=deepActiveElementIn(this.host.ownerDocument);!this.source||!this.host.isConnected?this.recovery=void 0:active&&this.host.shadowRoot?.contains(active)&&this.activeKey?this.recovery={key:this.activeKey,origin:active}:active&&active!==this.host.ownerDocument.body&&(this.recovery=void 0),this.current?.settle(!1),this.queued?.settle(!1),this.current=void 0,this.queued=void 0,this.projection=void 0,this.focused=void 0,this.activeKey=void 0,this.activeIndex=0,this.loading=!1,this.error=!1,this.mountedActive=!1,this.firstMountedIndex=0,this.rowError=!1,this.rowsObserved=!1,this.window?.bind(void 0),this.adapter=this.makeAdapter()}changed(){this.options.onChange(),this.list?.requestUpdate("renderItem")}async project(action,user=!1,row){if(!this.source||!this.host.isConnected||user&&(this.loading||this.error))return!1;if("key"in action)try{hierarchyKey(action.key)}catch{return!1}const source=this.source,lease=this.requests.begin("project",this.locale);if(!lease?.isCurrent()||source!==this.source||(this.requests.invalidate("navigate"),!lease.isCurrent()))return!1;this.current?.settle(!1),this.queued?.settle(!1);let settle;const done=new Promise(resolve=>{settle=resolve}),job={source,lease,action,query:this.query,state:this.projection?.state??null,user,row,settle};return lease.context.signal.addEventListener("abort",()=>{job.state=null,job.row=void 0,settle(!1)},{once:!0}),this.completion=done,this.current=job,this.queued=job,this.loading=!0,this.error=!1,this.changed(),this.schedulePump(),done}schedulePump(){this.pumpScheduled||(this.pumpScheduled=!0,queueMicrotask(()=>{this.pumpScheduled=!1,this.pump()}))}pump(){if(this.running)return;const job=this.queued;if(!job)return;this.queued=void 0;const current=()=>this.current===job&&job.lease.isCurrent()&&this.source===job.source;if(!current()){job.settle(!1);return}this.running=job;const recovery=this.recovery,focusedKey=this.focused?.row.key??recovery?.key,origin=recovery?.origin??deepActiveElementIn(this.host.ownerDocument);Promise.resolve().then(()=>{if(!current())return;const state=job.state;job.state=null;const project=job.source.project;if(current())return project.call(job.source,{...job.lease.context,query:job.query,state,action:job.action})}).then(async result=>{if(!current())return;if(!result)throw new TypeError("Invalid hierarchy projection");const state=result.state;if(typeof state!="string"||state.length===0||state.length>65536)throw new TypeError("Invalid hierarchy state");const total=sourceCount(result.total),view=result.rows,count=sourceCount(view?.count),focusIndex=result.focusIndex,indexed=typeof view.itemAt=="function";if(count>total||typeof view.indexOfKey!="function"||(indexed?typeof view.keyAt!="function":typeof view.read!="function"))throw new TypeError("Invalid hierarchy view");if(focusIndex!==void 0&&sourceCount(focusIndex)>=count)throw new RangeError("Invalid hierarchy focus");if(current()&&(this.window.bind({owner:job.source,revision:job.lease.context.revision,epoch:this.requests.epoch,locale:job.lease.context.locale,view}),!!current()&&(this.projection=Object.freeze({state,total,rows:view,...focusIndex===void 0?{}:{focusIndex}}),this.focused=void 0,this.recovery=void 0,this.activeIndex=Math.min(this.activeIndex,Math.max(0,count-1)),this.activeKey=void 0,this.adapter=this.makeAdapter(),this.loading=!1,this.error=!1,this.changed(),!!current()&&(job.user&&this.options.accepted(job.action,job.row,state,current),job.row=void 0,!!current()))))if(job.action.type==="reveal")job.settle(focusIndex!==void 0&&await this.navigate(focusIndex,0,origin));else if(focusedKey&&origin&&(recovery||this.host.shadowRoot?.contains(origin))){const index=await this.window.resolveKey(focusedKey);if(!current())return;await this.navigate(index??focusIndex??this.activeIndex,0,origin),current()&&job.settle(!0)}else job.settle(!0)}).catch(()=>{current()&&(this.loading=!1,this.error=!0,this.changed(),job.settle(!1))}).finally(()=>{job.state=null,job.row=void 0,this.running===job&&(this.running=void 0),this.schedulePump()})}clearCapability(lane){lane.current?.settle({status:"stale"}),lane.queued?.settle({status:"stale"}),lane.current=void 0,lane.queued=void 0}scheduleCapability(lane){lane.scheduled||(lane.scheduled=!0,queueMicrotask(()=>{if(lane.scheduled=!1,lane.running||!lane.queued)return;const job=lane.queued;if(lane.queued=void 0,lane.current!==job||!job.lease.isCurrent()){job.settle({status:"stale"});return}lane.running=job,job.run().finally(()=>{lane.running===job&&(lane.running=void 0),this.scheduleCapability(lane)})}))}capability(channel,lane,invoke,validate){const source=this.source;if(!source)return Promise.resolve({status:"unavailable"});if(!this.host.isConnected)return Promise.resolve({status:"stale"});const lease=this.requests.begin(channel,this.locale);if(!lease?.isCurrent()||source!==this.source)return Promise.resolve({status:"stale"});this.clearCapability(lane);let settle;const done=new Promise(resolve=>{settle=resolve}),current=()=>lane.current===job&&source===this.source&&lease.isCurrent(),job={lease,settle,run:async()=>{try{if(!current()){settle({status:"stale"});return}const raw=await invoke(source,lease);if(!current()){settle({status:"stale"});return}if(raw===UNAVAILABLE){settle({status:"unavailable"});return}const value=await validate(raw,current);settle(current()?{status:"ready",value,isCurrent:current}:{status:"stale"})}catch{settle({status:current()?"error":"stale"})}}};return lane.current=job,lane.queued=job,lease.context.signal.addEventListener("abort",()=>settle({status:"stale"}),{once:!0}),this.scheduleCapability(lane),done}cancelSearch(){const transaction=++this.transaction;if(this.clearCapability(this.searchLane),this.requests.invalidate("search"),transaction===this.transaction&&(this.clearCapability(this.copyLane),this.requests.invalidate("copy"),transaction===this.transaction&&(this.requests.invalidate("navigate"),transaction===this.transaction&&this.current?.action.type==="reveal"))){if(this.current.settle(!1),this.queued?.settle(!1),this.current=void 0,this.queued=void 0,this.requests.invalidate("project"),transaction!==this.transaction)return;this.loading=!1,this.changed()}}search(){const transaction=this.transaction+1;if(this.cancelSearch(),transaction!==this.transaction)return Promise.resolve({status:"stale"});const query=this.query.search;return this.capability("search",this.searchLane,(source,lease)=>{const search=source.search;return!lease.isCurrent()||source!==this.source?UNAVAILABLE:typeof search=="function"?search.call(source,{...lease.context,query,limit:1e4}):UNAVAILABLE},snapshotSearch)}copy(key,scope,maxBytes){const transaction=++this.transaction;if(this.clearCapability(this.copyLane),this.requests.invalidate("copy"),transaction!==this.transaction)return Promise.resolve({status:"stale"});try{if(!["node","subtree","document"].includes(scope)||scope==="document"!=(key===null)||!Number.isSafeInteger(maxBytes)||maxBytes<1)throw new TypeError("Invalid hierarchy copy request");key!==null&&hierarchyKey(key)}catch{return Promise.resolve({status:"error"})}const owner=this.host.ownerDocument;return this.capability("copy",this.copyLane,(source,lease)=>{const copy=source.copy;return!lease.isCurrent()||source!==this.source?UNAVAILABLE:typeof copy=="function"?copy.call(source,{...lease.context,key,scope,maxBytes}):UNAVAILABLE},(value,current)=>boundedCopy(value,maxBytes,owner,current))}whenReady(){return this.completion}cancelPending(){if(!this.projection)return;const transaction=++this.transaction;this.current?.settle(!1),this.queued?.settle(!1),this.current=void 0,this.queued=void 0,this.requests.invalidate("project"),transaction===this.transaction&&(this.requests.invalidate("navigate"),transaction===this.transaction&&(this.loading=!1,this.changed()))}reveal(key){try{hierarchyKey(key)}catch{return Promise.resolve(!1)}return this.project({type:"reveal",key})}retry(){this.project({type:"reset"})}focusRow(index,row){if(!row.disabled){if(this.payload){const projection=this.projection,transaction=this.transaction;try{this.rowUnits(row)}catch{return}if(projection!==this.projection||transaction!==this.transaction||!this.host.isConnected)return}this.activeIndex=index,this.activeKey=row.key,this.focused={index,row},this.changed()}}focusUnchanged(origin){const active=deepActiveElementIn(this.host.ownerDocument);return active===origin||active===this.host.ownerDocument.body||active===this.host||active===null}async navigate(index,step=0,origin=deepActiveElementIn(this.host.ownerDocument)){const projection=this.projection,lease=this.requests.begin("navigate",this.locale);if(!projection||!lease)return!1;const current=()=>lease.isCurrent()&&this.projection===projection;for(let attempts=0;attempts<32&&index>=0&&index<projection.rows.count;attempts++,index+=step){if(await this.host.updateComplete,!current()||!this.focusUnchanged(origin)||!this.list||(this.list.scrollToIndex(index,{align:"auto",behavior:"auto"}),!await this.nextFrame(lease)||!current())||!await this.window.ensure(index)||!current())return!1;const slot=this.window.source.itemAt(index);if(!current()||slot.state!=="ready")return!1;if(slot.value.disabled){if(!step)return!1;continue}if(this.activeIndex=index,this.activeKey=slot.value.key,this.changed(),await this.host.updateComplete,!current()||!this.list||(await this.list.updateComplete,!current()||!this.focusUnchanged(origin)))return!1;const row=this.list.projectedRows.find(element=>Number(element.dataset.rowIndex)===index)?.querySelector("[data-source-key]");return!row||(row.focus({preventScroll:!0}),!current())?!1:(this.focusRow(index,slot.value),!0)}return!1}nextFrame(lease){const view=this.host.ownerDocument.defaultView;return!view||!lease.isCurrent()?Promise.resolve(!1):new Promise(resolve=>{const signal=lease.context.signal,cancel=()=>{view.cancelAnimationFrame(frame),resolve(!1)},frame=view.requestAnimationFrame(()=>{signal.removeEventListener("abort",cancel),resolve(lease.isCurrent())});signal.addEventListener("abort",cancel,{once:!0}),lease.isCurrent()||cancel()})}keydown(event,row,index,rtl,select){if(event.altKey||event.ctrlKey||event.metaKey||this.loading||this.error)return;let target,step=0;if(event.key==="Home")target=0,step=1;else if(event.key==="End")target=(this.projection?.rows.count??0)-1,step=-1;else if(event.key==="ArrowDown")target=index+1,step=1;else if(event.key==="ArrowUp")target=index-1,step=-1;else if(row&&(event.key==="Enter"||event.key===" ")){event.preventDefault(),select(row);return}else if(row&&event.key===(rtl?"ArrowLeft":"ArrowRight")){event.preventDefault(),row.childCount&&!row.expanded?this.project({type:"toggle",key:row.key,expanded:!0},!0,row):row.childCount&&row.expanded&&this.navigate(index+1,1);return}else if(row&&event.key===(rtl?"ArrowRight":"ArrowLeft")){event.preventDefault(),row.childCount&&row.expanded?this.project({type:"toggle",key:row.key,expanded:!1},!0,row):row.parentKey&&this.reveal(row.parentKey);return}target!==void 0&&(event.preventDefault(),this.navigate(target,step))}adopted(){this.dirty=!0,this.requests.adopted(),this.window.adopted(),this.changed()}hostConnected(){this.dirty=!0,this.changed()}hostDisconnected(){this.dirty=!0,this.current?.settle(!1),this.queued?.settle(!1),this.list=void 0}}export{HierarchySourceController,hierarchyField,hierarchyKey,hierarchyText};
|
|
1
|
+
import{SourceRequestController,sourceCount,sourceRevision}from"./source-request-controller.js";import{SourceWindowController}from"./source-window-controller.js";import{DeferredTeardown}from"./deferred-teardown.js";import{yieldViewerTask}from"./resource-loader.js";import{deepActiveElementIn}from"./active-element.js";import{isRepeatedActivationKey,shouldIgnoreNavigationKey}from"./list-navigation.js";import{requireOwnDataValue}from"./data-descriptors.js";function hierarchyField(value,key){if(value===null||typeof value!="object")throw new TypeError("Invalid hierarchy record");return requireOwnDataValue(value,key,"Invalid hierarchy field")}function hierarchyKey(value){if(typeof value!="string"||value.length>65536||value.trim().length===0)throw new TypeError("Invalid hierarchy key");return value}function hierarchyText(value,fallback=""){if(typeof value=="string"&&value.length>65536)throw new RangeError("Hierarchy display value exceeds its row budget");return typeof value=="string"?value:fallback}const EMPTY_QUERY=/* @__PURE__ */(()=>Object.freeze({search:"",hiddenKinds:Object.freeze([])}))(),UNAVAILABLE=Symbol("unavailable");function snapshotQuery(value){const search=hierarchyField(value,"search"),hidden=hierarchyField(value,"hiddenKinds");if(typeof search!="string"||search.length>4096||!Array.isArray(hidden))throw new TypeError("Invalid hierarchy query");const length=sourceCount(hierarchyField(hidden,"length"));if(length>64)throw new RangeError("Hierarchy query exceeds its budget");const kinds=new Set;for(let index=0;index<length;index++){const kind=hierarchyField(hidden,String(index));if(typeof kind!="string"||kind.length===0||kind.length>64)throw new TypeError("Invalid hierarchy kind");kinds.add(kind)}return Object.freeze({search,hiddenKinds:Object.freeze([...kinds].sort())})}function sameQuery(left,right){return left.search===right.search&&left.hiddenKinds.length===right.hiddenKinds.length&&left.hiddenKinds.every((kind,index)=>kind===right.hiddenKinds[index])}function snapshotSearch(value){const raw=hierarchyField(value,"hits");if(!Array.isArray(raw))throw new TypeError("Invalid hierarchy search result");const length=sourceCount(hierarchyField(raw,"length"));if(length>1e4)throw new RangeError("Hierarchy search exceeds its hit budget");const totalValue=hierarchyField(value,"total"),total=totalValue===null?null:sourceCount(totalValue),exhaustive=hierarchyField(value,"exhaustive");if(typeof exhaustive!="boolean"||total!==null&&(total<length||exhaustive&&total!==length))throw new TypeError("Inconsistent hierarchy search result");const seen=new Set,hits=[];let units=0;for(let index=0;index<length;index++){const key=hierarchyKey(hierarchyField(hierarchyField(raw,String(index)),"key"));if(units+=key.length,units>2e6||seen.has(key))throw new RangeError("Hierarchy search key budget exceeded");seen.add(key),hits.push(Object.freeze({key}))}return Object.freeze({hits:Object.freeze(hits),total,exhaustive})}async function boundedCopy(value,maxBytes,owner,current){if(typeof value!="string"||value.length>maxBytes)throw new RangeError("Invalid hierarchy copy result");let bytes=0,nextYield=65536;for(let index=0;index<value.length;index++){const code=value.charCodeAt(index);if(code<128?bytes++:code<2048?bytes+=2:code>=55296&&code<=56319&&index+1<value.length&&value.charCodeAt(index+1)>=56320&&value.charCodeAt(index+1)<=57343?(bytes+=4,index++):bytes+=3,bytes>maxBytes)throw new RangeError("Hierarchy copy exceeds its byte budget");if(index>=nextYield){if(await yieldViewerTask(owner.defaultView,current),!current())throw new Error("Hierarchy copy changed");nextYield=index+65536}}if(!current())throw new Error("Hierarchy copy changed");return value}class HierarchySourceController{get epoch(){return this.requests.epoch}constructor(host,options){if(this.host=host,this.options=options,this.locale="",this.query=EMPTY_QUERY,this.searchLane={scheduled:!1},this.copyLane={scheduled:!1},this.transaction=0,this.dirty=!0,this.completion=Promise.resolve(!1),this.pumpScheduled=!1,this.loading=!1,this.error=!1,this.mountedCheckScheduled=!1,this.mountedActive=!1,this.firstMountedIndex=0,this.rowError=!1,this.rowsObserved=!1,this.activeIndex=0,options.payload){const{maxUnits,maxRowUnits,unitsOf}=options.payload;if(!Number.isSafeInteger(maxUnits)||!Number.isSafeInteger(maxRowUnits)||maxRowUnits<1||maxUnits<=maxRowUnits+65536||typeof unitsOf!="function")throw new RangeError("Invalid hierarchy payload bounds");this.payload=Object.freeze({maxUnits,maxRowUnits,unitsOf})}const deferDisconnect=options.deferDisconnect===!0;this.requests=new SourceRequestController(host,{channels:["project","navigate","search","copy"],onReset:()=>this.reset(),deferDisconnect}),deferDisconnect&&(this.detached=new DeferredTeardown(()=>this.release())),this.window=new SourceWindowController(host,{pageSize:100,maxRows:400,maxPages:4,maxConcurrent:2,deferDisconnect,...this.payload?{maxWeight:this.payload.maxUnits-this.payload.maxRowUnits-65536,weightOf:row=>this.rowUnits(row)}:{},keyOf:row=>row.key,normalize:value=>this.normalize(value),onChange:()=>this.changed()}),this.adapter=this.makeAdapter(),host.addController(this)}rowUnits(row){if(!this.payload)return 0;const valueUnits=this.payload.unitsOf(row.value);if(!Number.isSafeInteger(valueUnits)||valueUnits<0)throw new RangeError("Invalid hierarchy row weight");const units=valueUnits+row.key.length+(row.parentKey?.length??0);if(!Number.isSafeInteger(units)||units>this.payload.maxRowUnits)throw new RangeError("Hierarchy row payload exceeded");return units}requestRange(start,endExclusive){this.window.requestRange(start,endExclusive)}normalize(value){const field=key2=>hierarchyField(value,key2),key=hierarchyKey(field("key")),parent=field("parentKey"),parentKey=parent===null?null:hierarchyKey(parent);if(parentKey===key)throw new TypeError("Hierarchy row cannot be its own parent");const level=sourceCount(field("level")),position=sourceCount(field("position")),setSize=sourceCount(field("setSize")),childCount=sourceCount(field("childCount")),expanded=field("expanded"),selected=field("selected"),disabled=field("disabled"),selectionState=field("selectionState");if(level<1||position<1||position>setSize||typeof expanded!="boolean"||typeof selected!="boolean"||disabled!==void 0&&typeof disabled!="boolean"||selectionState!==void 0&&(typeof selectionState!="string"||!["none","partial","all"].includes(selectionState)))throw new TypeError("Invalid hierarchy metadata");return Object.freeze({key,value:this.options.normalize(field("value"),key,childCount),parentKey,level,position,setSize,childCount,expanded,selected,...disabled===void 0?{}:{disabled},...selectionState===void 0?{}:{selectionState}})}makeAdapter(){return{count:this.projection?.rows.count??0,itemAt:index=>({state:"loading",index}),keyAt:index=>this.focused?.index===index?this.focused.row.key:this.window.source.keyAt(index),indexOfKey:key=>key===this.focused?.row.key?this.focused.index:this.window.source.indexOfKey(key)}}slot(index){this.scheduleMountedCheck();const slot=this.focused?.index===index?{state:"ready",index,value:this.focused.row}:this.window.source.itemAt(index);if(slot.state==="ready"&&this.activeKey===void 0&&index<32&&!slot.value.disabled){this.activeIndex=index,this.activeKey=slot.value.key;const projection=this.projection;queueMicrotask(()=>{this.projection===projection&&this.host.isConnected&&this.changed()})}return slot}scheduleMountedCheck(){this.mountedCheckScheduled||(this.mountedCheckScheduled=!0,queueMicrotask(()=>{if(this.mountedCheckScheduled=!1,!this.host.isConnected||!this.list)return;let active=!1,error=!1,settled=!1;const rows=this.list.projectedRows;for(const element of rows){const row=element.querySelector("[data-source-key]");row&&(settled=!0,row.dataset.sourceKey===this.activeKey&&row.getAttribute("aria-disabled")!=="true"&&(active=!0)),element.querySelector('[part~="source-error"]')&&(error=!0,settled=!0)}const first=Number(rows[0]?.dataset.rowIndex??0),observed=this.rowsObserved||settled;active===this.mountedActive&&first===this.firstMountedIndex&&error===this.rowError&&observed===this.rowsObserved||(this.mountedActive=active,this.firstMountedIndex=first,this.rowError=error,this.rowsObserved=observed,this.changed())}))}update(source,locale,force=!1,query=EMPTY_QUERY){const transaction=++this.transaction;this.boundInput=source;let revision,acceptedQuery;try{if(acceptedQuery=snapshotQuery(query),transaction!==this.transaction)return;if(source!==void 0){if(source===null||typeof source!="object"&&typeof source!="function"||typeof source.project!="function")throw new TypeError("Invalid hierarchy source");revision=sourceRevision(source.revision)}}catch{if(transaction!==this.transaction||(this.source=void 0,this.revision=void 0,this.locale=locale,this.requests.setSource(void 0,void 0),transaction!==this.transaction))return;this.reset(),this.error=source!==void 0,this.dirty=!1,this.changed();return}if(transaction!==this.transaction||!force&&!this.dirty&&source===this.source&&revision===this.revision&&locale===this.locale&&sameQuery(acceptedQuery,this.query))return;this.query=acceptedQuery,this.source=source,this.revision=revision,this.locale=locale,this.dirty=!1;const replaced=this.requests.setSource(source,revision);transaction===this.transaction&&(replaced||this.requests.refresh(),transaction===this.transaction&&(source&&this.host.isConnected&&this.project({type:"reset"}),this.changed()))}refresh(){this.update(this.boundInput,this.locale,!0,this.query)}reset(){this.clearCapability(this.searchLane),this.clearCapability(this.copyLane);const active=deepActiveElementIn(this.host.ownerDocument);!this.source||!this.host.isConnected?this.recovery=void 0:active&&this.host.shadowRoot?.contains(active)&&this.activeKey?this.recovery={key:this.activeKey,origin:active}:active&&active!==this.host.ownerDocument.body&&(this.recovery=void 0),this.current?.settle(!1),this.queued?.settle(!1),this.current=void 0,this.queued=void 0,this.projection=void 0,this.focused=void 0,this.activeKey=void 0,this.activeIndex=0,this.loading=!1,this.error=!1,this.mountedActive=!1,this.firstMountedIndex=0,this.rowError=!1,this.rowsObserved=!1,this.window?.bind(void 0),this.adapter=this.makeAdapter()}changed(){this.options.onChange(),this.list?.requestUpdate("renderItem")}async project(action,user=!1,row){if(!this.source||!this.host.isConnected||user&&(this.loading||this.error))return!1;if("key"in action)try{hierarchyKey(action.key)}catch{return!1}const source=this.source,lease=this.requests.begin("project",this.locale);if(!lease?.isCurrent()||source!==this.source||(this.requests.invalidate("navigate"),!lease.isCurrent()))return!1;this.current?.settle(!1),this.queued?.settle(!1);let settle;const done=new Promise(resolve=>{settle=resolve}),job={source,lease,action,query:this.query,state:this.projection?.state??null,user,row,settle};return lease.context.signal.addEventListener("abort",()=>{job.state=null,job.row=void 0,settle(!1)},{once:!0}),this.completion=done,this.current=job,this.queued=job,this.loading=!0,this.error=!1,this.changed(),this.schedulePump(),done}schedulePump(){this.pumpScheduled||(this.pumpScheduled=!0,queueMicrotask(()=>{this.pumpScheduled=!1,this.pump()}))}pump(){if(this.running)return;const job=this.queued;if(!job)return;this.queued=void 0;const current=()=>this.current===job&&job.lease.isCurrent()&&this.source===job.source;if(!current()){job.settle(!1);return}this.running=job;const recovery=this.recovery,focusedKey=this.focused?.row.key??recovery?.key,origin=recovery?.origin??deepActiveElementIn(this.host.ownerDocument);Promise.resolve().then(()=>{if(!current())return;const state=job.state;job.state=null;const project=job.source.project;if(current())return project.call(job.source,{...job.lease.context,query:job.query,state,action:job.action})}).then(async result=>{if(!current())return;if(!result)throw new TypeError("Invalid hierarchy projection");const state=result.state;if(typeof state!="string"||state.length===0||state.length>65536)throw new TypeError("Invalid hierarchy state");const total=sourceCount(result.total),view=result.rows,count=sourceCount(view?.count),focusIndex=result.focusIndex,indexed=typeof view.itemAt=="function";if(count>total||typeof view.indexOfKey!="function"||(indexed?typeof view.keyAt!="function":typeof view.read!="function"))throw new TypeError("Invalid hierarchy view");if(focusIndex!==void 0&&sourceCount(focusIndex)>=count)throw new RangeError("Invalid hierarchy focus");if(current()&&(this.window.bind({owner:job.source,revision:job.lease.context.revision,epoch:this.requests.epoch,locale:job.lease.context.locale,view}),!!current()&&(this.projection=Object.freeze({state,total,rows:view,...focusIndex===void 0?{}:{focusIndex}}),this.focused=void 0,this.recovery=void 0,this.activeIndex=Math.min(this.activeIndex,Math.max(0,count-1)),this.activeKey=void 0,this.adapter=this.makeAdapter(),this.loading=!1,this.error=!1,this.changed(),!!current()&&(job.user&&this.options.accepted(job.action,job.row,state,current),job.row=void 0,!!current()))))if(job.action.type==="reveal")job.settle(focusIndex!==void 0&&await this.navigate(focusIndex,0,origin));else if(focusedKey&&origin&&(recovery||this.host.shadowRoot?.contains(origin))){const index=await this.window.resolveKey(focusedKey);if(!current())return;await this.navigate(index??focusIndex??this.activeIndex,0,origin),current()&&job.settle(!0)}else job.settle(!0)}).catch(()=>{current()&&(this.loading=!1,this.error=!0,this.changed(),job.settle(!1))}).finally(()=>{job.state=null,job.row=void 0,this.running===job&&(this.running=void 0),this.schedulePump()})}clearCapability(lane){lane.current?.settle({status:"stale"}),lane.queued?.settle({status:"stale"}),lane.current=void 0,lane.queued=void 0}scheduleCapability(lane){lane.scheduled||(lane.scheduled=!0,queueMicrotask(()=>{if(lane.scheduled=!1,lane.running||!lane.queued)return;const job=lane.queued;if(lane.queued=void 0,lane.current!==job||!job.lease.isCurrent()){job.settle({status:"stale"});return}lane.running=job,job.run().finally(()=>{lane.running===job&&(lane.running=void 0),this.scheduleCapability(lane)})}))}capability(channel,lane,invoke,validate){const source=this.source;if(!source)return Promise.resolve({status:"unavailable"});if(!this.host.isConnected)return Promise.resolve({status:"stale"});const lease=this.requests.begin(channel,this.locale);if(!lease?.isCurrent()||source!==this.source)return Promise.resolve({status:"stale"});this.clearCapability(lane);let settle;const done=new Promise(resolve=>{settle=resolve}),current=()=>lane.current===job&&source===this.source&&lease.isCurrent(),job={lease,settle,run:async()=>{try{if(!current()){settle({status:"stale"});return}const raw=await invoke(source,lease);if(!current()){settle({status:"stale"});return}if(raw===UNAVAILABLE){settle({status:"unavailable"});return}const value=await validate(raw,current);settle(current()?{status:"ready",value,isCurrent:current}:{status:"stale"})}catch{settle({status:current()?"error":"stale"})}}};return lane.current=job,lane.queued=job,lease.context.signal.addEventListener("abort",()=>settle({status:"stale"}),{once:!0}),this.scheduleCapability(lane),done}cancelSearch(){const transaction=++this.transaction;if(this.clearCapability(this.searchLane),this.requests.invalidate("search"),transaction===this.transaction&&(this.clearCapability(this.copyLane),this.requests.invalidate("copy"),transaction===this.transaction&&(this.requests.invalidate("navigate"),transaction===this.transaction&&this.current?.action.type==="reveal"))){if(this.current.settle(!1),this.queued?.settle(!1),this.current=void 0,this.queued=void 0,this.requests.invalidate("project"),transaction!==this.transaction)return;this.loading=!1,this.changed()}}search(){const transaction=this.transaction+1;if(this.cancelSearch(),transaction!==this.transaction)return Promise.resolve({status:"stale"});const query=this.query.search;return this.capability("search",this.searchLane,(source,lease)=>{const search=source.search;return!lease.isCurrent()||source!==this.source?UNAVAILABLE:typeof search=="function"?search.call(source,{...lease.context,query,limit:1e4}):UNAVAILABLE},snapshotSearch)}copy(key,scope,maxBytes){const transaction=++this.transaction;if(this.clearCapability(this.copyLane),this.requests.invalidate("copy"),transaction!==this.transaction)return Promise.resolve({status:"stale"});try{if(!["node","subtree","document"].includes(scope)||scope==="document"!=(key===null)||!Number.isSafeInteger(maxBytes)||maxBytes<1)throw new TypeError("Invalid hierarchy copy request");key!==null&&hierarchyKey(key)}catch{return Promise.resolve({status:"error"})}const owner=this.host.ownerDocument;return this.capability("copy",this.copyLane,(source,lease)=>{const copy=source.copy;return!lease.isCurrent()||source!==this.source?UNAVAILABLE:typeof copy=="function"?copy.call(source,{...lease.context,key,scope,maxBytes}):UNAVAILABLE},(value,current)=>boundedCopy(value,maxBytes,owner,current))}whenReady(){return this.completion}cancelPending(){if(!this.projection)return;const transaction=++this.transaction;this.current?.settle(!1),this.queued?.settle(!1),this.current=void 0,this.queued=void 0,this.requests.invalidate("project"),transaction===this.transaction&&(this.requests.invalidate("navigate"),transaction===this.transaction&&(this.loading=!1,this.changed()))}reveal(key){try{hierarchyKey(key)}catch{return Promise.resolve(!1)}return this.project({type:"reveal",key})}retry(){this.project({type:"reset"})}focusRow(index,row){if(!row.disabled){if(this.payload){const projection=this.projection,transaction=this.transaction;try{this.rowUnits(row)}catch{return}if(projection!==this.projection||transaction!==this.transaction||!this.host.isConnected)return}this.activeIndex=index,this.activeKey=row.key,this.focused={index,row},this.changed()}}focusUnchanged(origin){const active=deepActiveElementIn(this.host.ownerDocument);return active===origin||active===this.host.ownerDocument.body||active===this.host||active===null}async navigate(index,step=0,origin=deepActiveElementIn(this.host.ownerDocument)){const projection=this.projection,lease=this.requests.begin("navigate",this.locale);if(!projection||!lease)return!1;const current=()=>lease.isCurrent()&&this.projection===projection;for(let attempts=0;attempts<32&&index>=0&&index<projection.rows.count;attempts++,index+=step){if(await this.host.updateComplete,!current()||!this.focusUnchanged(origin)||!this.list||(this.list.scrollToIndex(index,{align:"auto",behavior:"auto"}),!await this.nextFrame(lease)||!current())||!await this.window.ensure(index)||!current())return!1;const slot=this.window.source.itemAt(index);if(!current()||slot.state!=="ready")return!1;if(slot.value.disabled){if(!step)return!1;continue}if(this.activeIndex=index,this.activeKey=slot.value.key,this.changed(),await this.host.updateComplete,!current()||!this.list||(await this.list.updateComplete,!current()||!this.focusUnchanged(origin)))return!1;const row=this.list.projectedRows.find(element=>Number(element.dataset.rowIndex)===index)?.querySelector("[data-source-key]");return!row||(row.focus({preventScroll:!0}),!current())?!1:(this.focusRow(index,slot.value),!0)}return!1}nextFrame(lease){const view=this.host.ownerDocument.defaultView;return!view||!lease.isCurrent()?Promise.resolve(!1):new Promise(resolve=>{const signal=lease.context.signal,cancel=()=>{view.cancelAnimationFrame(frame),resolve(!1)},frame=view.requestAnimationFrame(()=>{signal.removeEventListener("abort",cancel),resolve(lease.isCurrent())});signal.addEventListener("abort",cancel,{once:!0}),lease.isCurrent()||cancel()})}keydown(event,row,index,rtl,select){if(shouldIgnoreNavigationKey(event)||this.loading||this.error)return;let target,step=0;if(event.key==="Home")target=0,step=1;else if(event.key==="End")target=(this.projection?.rows.count??0)-1,step=-1;else if(event.key==="ArrowDown")target=index+1,step=1;else if(event.key==="ArrowUp")target=index-1,step=-1;else if(row&&(event.key==="Enter"||event.key===" ")){event.preventDefault(),isRepeatedActivationKey(event)||select(row);return}else if(row&&event.key===(rtl?"ArrowLeft":"ArrowRight")){event.preventDefault(),row.childCount&&!row.expanded?this.project({type:"toggle",key:row.key,expanded:!0},!0,row):row.childCount&&row.expanded&&this.navigate(index+1,1);return}else if(row&&event.key===(rtl?"ArrowRight":"ArrowLeft")){event.preventDefault(),row.childCount&&row.expanded?this.project({type:"toggle",key:row.key,expanded:!1},!0,row):row.parentKey&&this.reveal(row.parentKey);return}target!==void 0&&(event.preventDefault(),this.navigate(target,step))}adopted(){this.detached?.flush(),this.dirty=!0,this.requests.adopted(),this.window.adopted(),this.changed()}hostConnected(){this.detached?.cancel()||(this.dirty=!0,this.changed())}hostDisconnected(){this.detached?this.detached.schedule():this.release()}release(){this.dirty=!0,this.current?.settle(!1),this.queued?.settle(!1),this.list=void 0}}export{HierarchySourceController,hierarchyField,hierarchyKey,hierarchyText};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{writeAcceptedClipboardText}from"./clipboard.js";import{reportCopyOutcome}from"./record-copy-feedback.js";class HierarchySourceSearchController{constructor(options){this.options=options,this.dirty=!0,this.task=Promise.resolve(0),this.exact=!0,this.unavailable=!1,this.keys=new Set,this.intent=0,this.navigation=0}get generation(){return this.intent}get count(){return this.keys.size}invalidate(){this.intent++,this.navigation++,this.hits=void 0,this.keys.clear(),this.exact=!0,this.unavailable=!1,this.dirty=!0}supersedeSteps(){this.navigation++}schedule(){this.dirty&&(this.task=this.run())}isMatch(key){return!!this.hits?.isCurrent()&&this.keys.has(key)}isActive(key){return this.hits?.value.hits[this.options.cursor()]?.key===key}async run(){const{host,control,source,query,setCursor,changed,emitChange,revealFirst}=this.options;this.dirty=!1;const intent=this.intent,provider=source();if(!query())return control.cancelSearch(),host.hasUpdated&&emitChange(),0;const result=await control.search();return intent!==this.intent||provider!==source()||!host.isConnected||result.status==="stale"||result.status==="ready"&&!result.isCurrent()?0:(this.hits=result.status==="ready"?result:void 0,this.keys=new Set(this.hits?.value.hits.map(hit=>hit.key)??[]),this.exact=result.status==="ready"&&result.value.exhaustive,this.unavailable=result.status!=="ready",revealFirst&&setCursor(this.keys.size?0:-1),changed(),emitChange(),revealFirst&&this.hits?.isCurrent()&&this.options.cursor()>=0&&await control.reveal(this.hits.value.hits[0].key),await host.updateComplete,intent===this.intent?this.keys.size:0)}async step(direction){const navigation=++this.navigation;this.options.beforeStep?.();const hits=this.hits;if(!hits?.isCurrent()||!hits.value.hits.length)return!1;const size=hits.value.hits.length,cursor=this.options.cursor(),next=cursor<0?direction===1?0:size-1:(cursor+direction+size)%size;return this.options.setCursor(next),!await this.options.control.reveal(hits.value.hits[next].key)||navigation!==this.navigation||!hits.isCurrent()||this.hits!==hits?!1:(this.options.emitChange(),!0)}}function hierarchyCopyScope(kind){return kind===void 0?"document":kind==="object"||kind==="array"||kind==="element"?"subtree":"node"}function hasHierarchySourceCopy(source){const provider=source();try{const available=typeof provider?.copy=="function";return provider===source()&&available}catch{return!1}}class HierarchySourceCopyController{constructor(options){this.options=options,this.intent=0}invalidate(){this.intent++}async copy(key,scope,maxBytes,feedbackKey){const{host,control,source,sinks}=this.options,provider=source(),epoch=control.epoch,owner=host.ownerDocument,intent=++this.intent,current=()=>source()===provider&&control.epoch===epoch&&host.ownerDocument===owner&&host.isConnected&&intent===this.intent;sinks.clearFeedback();const result=await control.copy(key,scope,maxBytes);if(!current()||result.status==="stale")return;if(result.status!=="ready"){sinks.feedback(feedbackKey,!1);const text=sinks.message(!1);current()&&sinks.announce(text);return}const accepted=()=>current()&&result.isCurrent();if(!accepted())return;const outcome=await writeAcceptedClipboardText(owner.defaultView,result.value,accepted);!outcome||!accepted()||(sinks.feedback(feedbackKey,outcome.ok),reportCopyOutcome({announce:ok=>{const text=sinks.message(ok);accepted()&&sinks.announce(text)},emit:(name,detail)=>sinks.emit(name,detail)},outcome,accepted))}}export{HierarchySourceCopyController,HierarchySourceSearchController,hasHierarchySourceCopy,hierarchyCopyScope};
|
|
@@ -1,29 +1,13 @@
|
|
|
1
|
-
import{html,nothing}from"lit";import{ref}from"lit/directives/ref.js";import{setVirtualListCompositionProfile}from"./virtual-list-composition.js";const demandCallbacks=new WeakMap;function demandCallback(control){let callback=demandCallbacks.get(control);return callback||(callback=demand=>control.requestRange(demand.start,demand.endExclusive),demandCallbacks.set(control,callback)),callback}function hierarchySourceView(control,options){const epoch=control.epoch,projection=control.projection;let tree,owner;const current=event=>{const target=event.currentTarget;return!!(tree?.isConnected&&tree.ownerDocument===owner&&target?.isConnected&&tree.contains(target)&&target.getRootNode()===tree.getRootNode()&&epoch===control.epoch&&projection===control.projection&&!control.loading)},render=(_input,index)=>{const slot=control.slot(index);if(slot.state!=="ready")return html`<div part=${slot.state==="error"?"source-error":"source-status"}>
|
|
1
|
+
import{html,nothing}from"lit";import{ref}from"lit/directives/ref.js";import{setVirtualListCompositionProfile}from"./virtual-list-composition.js";const rowKeyEvents=new WeakSet,demandCallbacks=new WeakMap;function demandCallback(control){let callback=demandCallbacks.get(control);return callback||(callback=demand=>control.requestRange(demand.start,demand.endExclusive),demandCallbacks.set(control,callback)),callback}function hierarchySourceView(control,options){const epoch=control.epoch,projection=control.projection;let tree,owner;const current=event=>{const target=event.currentTarget;return!!(tree?.isConnected&&tree.ownerDocument===owner&&target?.isConnected&&tree.contains(target)&&target.getRootNode()===tree.getRootNode()&&epoch===control.epoch&&projection===control.projection&&!control.loading)},render=(_input,index)=>{const slot=control.slot(index);if(slot.state!=="ready")return html`<div part=${slot.state==="error"?"source-error":"source-status"}>
|
|
2
2
|
${slot.state==="error"?options.error:options.loading}
|
|
3
3
|
${slot.state==="error"?html`<button type="button" part="source-toggle" @click=${event=>{current(event)&&control.slot(index).state==="error"&&control.window.ensure(index)}}>${options.retry}</button>`:nothing}
|
|
4
|
-
</div>`;const row=slot.value,currentRow=event=>{if(!current(event)||row.disabled||control.error)return!1;const slot2=control.slot(index);return slot2.state==="ready"&&slot2.value===row&&epoch===control.epoch&&projection===control.projection};return html`<div part="source-row" role="treeitem" data-source-key=${row.key}
|
|
5
|
-
|
|
6
|
-
aria-label=${options.name(row.value)} aria-level=${row.level} aria-posinset=${row.position} aria-setsize=${row.setSize}
|
|
7
|
-
aria-expanded=${row.childCount?String(row.expanded):nothing} aria-selected=${String(row.selected)}
|
|
8
|
-
aria-checked=${row.selectionState==="partial"?"mixed":nothing} aria-disabled=${String(!!(row.disabled||control.error))}
|
|
9
|
-
tabindex=${!row.disabled&&!control.error&&control.activeKey===row.key?"0":"-1"}
|
|
10
|
-
@focusin=${event=>{currentRow(event)&&control.focusRow(index,row)}}
|
|
11
|
-
@click=${event=>{currentRow(event)&&(control.focusRow(index,row),currentRow(event)&&options.select(row))}}
|
|
12
|
-
@keydown=${event=>{event.stopPropagation(),currentRow(event)&&control.keydown(event,row,index,options.rtl,options.select)}}>
|
|
13
|
-
${row.childCount?html`<button part="source-toggle" type="button" tabindex="-1"
|
|
14
|
-
aria-label=${row.expanded?options.collapse:options.expand} ?disabled=${row.disabled||control.loading||control.error}
|
|
15
|
-
@click=${event=>{event.stopPropagation(),currentRow(event)&&control.project({type:"toggle",key:row.key,expanded:!row.expanded},!0,row)}}
|
|
16
|
-
><span aria-hidden="true">${row.expanded?"−":"+"}</span></button>`:html`<span class="source-toggle-space" aria-hidden="true"></span>`}
|
|
4
|
+
</div>`;const row=slot.value,currentRow=event=>{if(!current(event)||row.disabled||control.error)return!1;const slot2=control.slot(index);return slot2.state==="ready"&&slot2.value===row&&epoch===control.epoch&&projection===control.projection};return html`<div part="source-row" role="treeitem" data-source-key=${row.key} style=${`--source-depth: ${Math.min(32,row.level-1)}`} aria-label=${options.name(row.value)} aria-level=${row.level} aria-posinset=${row.position} aria-setsize=${row.setSize} aria-expanded=${row.childCount?String(row.expanded):nothing} aria-selected=${String(row.selected)} aria-checked=${row.selectionState==="partial"?"mixed":nothing} aria-disabled=${String(!!(row.disabled||control.error))} tabindex=${!row.disabled&&!control.error&&control.activeKey===row.key?"0":"-1"} @focusin=${event=>{currentRow(event)&&control.focusRow(index,row)}} @click=${event=>{currentRow(event)&&(control.focusRow(index,row),currentRow(event)&&options.select(row))}} @keydown=${event=>{rowKeyEvents.add(event),currentRow(event)&&control.keydown(event,row,index,options.rtl,options.select)}}>
|
|
5
|
+
${row.childCount?html`<button part="source-toggle" type="button" tabindex="-1" aria-label=${row.expanded?options.collapse:options.expand} ?disabled=${row.disabled||control.loading||control.error} @click=${event=>{event.stopPropagation(),currentRow(event)&&control.project({type:"toggle",key:row.key,expanded:!row.expanded},!0,row)}} ><span aria-hidden="true">${row.expanded?"−":"+"}</span></button>`:html`<span class="source-toggle-space" aria-hidden="true"></span>`}
|
|
17
6
|
<span part="source-label">${options.content(row.value)}</span>
|
|
18
|
-
</div>`};return html`<div ${ref(element=>{tree=element,owner=element?.ownerDocument})} part="base tree" class="source-tree" role="tree" aria-label=${options.label}
|
|
19
|
-
aria-multiselectable=${String(options.multiple)} aria-busy=${String(control.loading)}
|
|
20
|
-
tabindex=${control.mountedActive?"-1":"0"}
|
|
21
|
-
@keydown=${event=>{current(event)&&control.keydown(event,void 0,control.firstMountedIndex-1,options.rtl,options.select)}}>
|
|
7
|
+
</div>`};return html`<div ${ref(element=>{tree=element,owner=element?.ownerDocument})} part="base tree" class="source-tree" role="tree" aria-label=${options.label} aria-multiselectable=${String(options.multiple)} aria-busy=${String(control.loading)} tabindex=${control.mountedActive?"-1":"0"} @keydown=${event=>{!rowKeyEvents.has(event)&¤t(event)&&control.keydown(event,void 0,control.firstMountedIndex-1,options.rtl,options.select)}}>
|
|
22
8
|
${control.error?html`<div part="source-error">${options.error}<button part="source-toggle" type="button" @click=${event=>{current(event)&&control.error&&control.retry()}}>${options.retry}</button></div>`:nothing}
|
|
23
9
|
${control.loading?html`<div part="source-status">${options.loading}</div>`:nothing}
|
|
24
10
|
${control.projection?html`<div part="source-status">${options.summary}</div>
|
|
25
11
|
${control.projection.rows.count===0?html`<div part="source-status">${options.empty}</div>`:html`
|
|
26
|
-
<lr-virtual-list part="source-list" row-projection="light" row-height="auto"
|
|
27
|
-
.source=${control.adapter} .renderItem=${render} .overscan=${5}
|
|
28
|
-
${ref(element=>{control.list=element,element&&setVirtualListCompositionProfile(element,{maxRows:301,beforeRender:demandCallback(control)})})}></lr-virtual-list>`}`:nothing}
|
|
12
|
+
<lr-virtual-list part="source-list" row-projection="light" row-height="auto" .source=${control.adapter} .renderItem=${render} .overscan=${5} ${ref(element=>{control.list=element,element&&setVirtualListCompositionProfile(element,{maxRows:301,beforeRender:demandCallback(control)})})}></lr-virtual-list>`}`:nothing}
|
|
29
13
|
</div>`}export{hierarchySourceView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{css}from"lit";const hierarchySourceStyles
|
|
1
|
+
import{css}from"lit";import{activeFill,focusRing,hoverFill}from"./interactive-control.styles.js";const hierarchySourceStyles=/* @__PURE__ */(()=>css` .source-tree{display:flex;flex-direction:column;min-inline-size:0;block-size:var(--lr-size-20rem);max-block-size:100%}[part~=source-list]{--lr-virtual-list-height:100%;display:block;min-block-size:0;block-size:var(--lr-size-20rem);flex:1;min-inline-size:0}[part~=source-row]{display:flex;align-items:center;min-inline-size:0;min-block-size:var(--lr-icon-button-size);gap:var(--lr-space-xs);padding-inline-start:calc(var(--source-depth) * var(--lr-space-m));padding-inline-end:var(--lr-space-xs);cursor:pointer;color:var(--lr-color-text);--_source-row-fill:var(--lr-color-surface);background:var(--_source-row-fill);transition:var(--lr-transition-interactive)}[part~=source-row]:where(:hover){background:var(--_source-row-hover-fill,${hoverFill("var(--_source-row-fill)")})}[part~=source-row]:where(:active){background:var(--_source-row-active-fill,${activeFill("var(--_source-row-fill)")})}[part~=source-row]:where([aria-selected=true]){--_source-row-fill:var(--lr-color-brand-fill-quiet)}[part~=source-row]:where([aria-disabled=true]){cursor:default;opacity:var(--lr-opacity-disabled)}[part~=source-row]:where(:focus-visible),.source-tree:where(:focus-visible),[part~=source-toggle]:where(:focus-visible){${focusRing}}[part~=source-label]{display:flex;align-items:center;flex-wrap:wrap;gap:var(--lr-space-xs);min-inline-size:0;overflow-wrap:anywhere}[part~=source-toggle]{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer;min-inline-size:var(--lr-icon-button-size);min-block-size:var(--lr-icon-button-size);flex-shrink:0;transition:var(--lr-transition-interactive)}[part~=source-toggle]:where(:hover){background:var(--lr-color-neutral-fill-quiet)}[part~=source-toggle]:where(:active){background: ${activeFill("var(--lr-color-neutral-fill-quiet)")}}[part~=source-toggle]:where(:disabled){cursor:default;opacity:var(--lr-opacity-disabled)}.source-toggle-space{inline-size:var(--lr-icon-button-size);flex-shrink:0}[part~=source-status],[part~=source-error]{padding:var(--lr-space-xs);overflow-wrap:anywhere}[part~=source-error]{color:var(--lr-color-danger)}`)();export{hierarchySourceStyles};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{hierarchyField}from"./hierarchy-source-controller.js";function createHierarchySummarySource(host,source,options){return{get revision(){return source.revision},async project(request){const binding=options.captureBinding(),owner=host.ownerDocument,owned=()=>binding()&&host.ownerDocument===owner&&host.isConnected&&!request.signal.aborted,current=()=>{if(!owned())return!1;const revision=source.revision;return owned()&&revision===request.revision},check=()=>{if(!current())throw new Error(options.changedMessage)};check();const project=source.project;check();const result=await project.call(source,request);check();const rawSummary=result.summary;check();const summary=options.summary(rawSummary,check),validateRow=value=>options.row?options.row(value,check):value,view=result.rows;check();const count=view.count;check();const hasItemAt="itemAt"in view;check();const itemAt=hasItemAt?view.itemAt:void 0;check();let wrapped;if(typeof itemAt=="function"){const indexed=view;wrapped={count,itemAt(index){check();const method=indexed.itemAt;check();const value=method.call(indexed,index);return check(),validateRow(value)},keyAt(index){check();const method=indexed.keyAt;check();const value=method.call(indexed,index);return check(),value},indexOfKey(key){check();const method=indexed.indexOfKey;check();const value=method.call(indexed,key);return check(),value}}}else{const ranged=view;wrapped={count,async read(range){const active=()=>{if(check(),range.signal.aborted)throw new Error(options.rangeChangedMessage)};active();const method=ranged.read;active();const value=await method.call(ranged,range);return active(),options.range?options.range(value,range,active,validateRow):value},async indexOfKey(key,context){const active=()=>{if(check(),context.signal.aborted)throw new Error(options.navigationChangedMessage)};active();const method=ranged.indexOfKey;active();const value=await method.call(ranged,key,context);return active(),value}}}const state=result.state;check();const total=result.total;check(),options.total?.(summary,total);const focusIndex=result.focusIndex;return check(),options.accepted(wrapped,summary,current),{state,total,rows:wrapped,...focusIndex===void 0?{}:{focusIndex}}}}}function traceSourceSummary(value,check){const startMs=hierarchyField(value,"startMs");check();const endMs=hierarchyField(value,"endMs");if(check(),typeof startMs!="number"||typeof endMs!="number"||!Number.isFinite(startMs)||!Number.isFinite(endMs)||startMs<0||endMs<startMs||!Number.isFinite(endMs-startMs))throw new TypeError("Invalid trace extent");return{startMs,endMs}}function captureHierarchySourceEffects(host,control,binding){const epoch=control.epoch,owner=host.ownerDocument,projection=control.projection,{error,loading,rowError,rowsObserved}=control,bound=()=>host.isConnected&&host.ownerDocument===owner&&binding()&&control.epoch===epoch;return{epoch,error,loading,rowError,rowsObserved,bound,current:()=>bound()&&control.projection===projection&&control.error===error&&control.loading===loading&&control.rowError===rowError&&control.rowsObserved===rowsObserved}}export{captureHierarchySourceEffects,createHierarchySummarySource,traceSourceSummary};
|
|
1
|
+
import{getNumberFormat}from"./intl-cache.js";import{hierarchyField}from"./hierarchy-source-controller.js";function hierarchySourceSummary(projection,locale){if(!projection)return;const formatter=getNumberFormat(locale);return{visible:formatter.format(projection.rows.count),total:formatter.format(projection.total),pluralCount:projection.total}}function createHierarchySummarySource(host,source,options){return{get revision(){return source.revision},async project(request){const binding=options.captureBinding(),owner=host.ownerDocument,owned=()=>binding()&&host.ownerDocument===owner&&host.isConnected&&!request.signal.aborted,current=()=>{if(!owned())return!1;const revision=source.revision;return owned()&&revision===request.revision},check=()=>{if(!current())throw new Error(options.changedMessage)};check();const project=source.project;check();const result=await project.call(source,request);check();const rawSummary=result.summary;check();const summary=options.summary(rawSummary,check),validateRow=value=>options.row?options.row(value,check):value,view=result.rows;check();const count=view.count;check();const hasItemAt="itemAt"in view;check();const itemAt=hasItemAt?view.itemAt:void 0;check();let wrapped;if(typeof itemAt=="function"){const indexed=view;wrapped={count,itemAt(index){check();const method=indexed.itemAt;check();const value=method.call(indexed,index);return check(),validateRow(value)},keyAt(index){check();const method=indexed.keyAt;check();const value=method.call(indexed,index);return check(),value},indexOfKey(key){check();const method=indexed.indexOfKey;check();const value=method.call(indexed,key);return check(),value}}}else{const ranged=view;wrapped={count,async read(range){const active=()=>{if(check(),range.signal.aborted)throw new Error(options.rangeChangedMessage)};active();const method=ranged.read;active();const value=await method.call(ranged,range);return active(),options.range?options.range(value,range,active,validateRow):value},async indexOfKey(key,context){const active=()=>{if(check(),context.signal.aborted)throw new Error(options.navigationChangedMessage)};active();const method=ranged.indexOfKey;active();const value=await method.call(ranged,key,context);return active(),value}}}const state=result.state;check();const total=result.total;check(),options.total?.(summary,total);const focusIndex=result.focusIndex;return check(),options.accepted(wrapped,summary,current),{state,total,rows:wrapped,...focusIndex===void 0?{}:{focusIndex}}}}}function traceSourceSummary(value,check){const startMs=hierarchyField(value,"startMs");check();const endMs=hierarchyField(value,"endMs");if(check(),typeof startMs!="number"||typeof endMs!="number"||!Number.isFinite(startMs)||!Number.isFinite(endMs)||startMs<0||endMs<startMs||!Number.isFinite(endMs-startMs))throw new TypeError("Invalid trace extent");return{startMs,endMs}}function captureHierarchySourceEffects(host,control,binding){const epoch=control.epoch,owner=host.ownerDocument,projection=control.projection,{error,loading,rowError,rowsObserved}=control,bound=()=>host.isConnected&&host.ownerDocument===owner&&binding()&&control.epoch===epoch;return{epoch,error,loading,rowError,rowsObserved,bound,current:()=>bound()&&control.projection===projection&&control.error===error&&control.loading===loading&&control.rowError===rowError&&control.rowsObserved===rowsObserved}}function captureHierarchyRowAuthority(host,control,binding,accepted){const owner=host.ownerDocument,{epoch,projection}=control,owned=()=>host.isConnected&&host.ownerDocument===owner&&binding()&&control.epoch===epoch&&control.projection===projection&&!control.loading;return()=>owned()&&!!accepted?.()&&owned()}function hierarchySourceFieldReader(value,current,message){return key=>{if(!current())throw new Error(message);const result=hierarchyField(value,key);if(!current())throw new Error(message);return result}}function revealActiveHierarchyKey(control,snapshot,activeKey,last){const key=activeKey();return!key||last?.[0]===snapshot.epoch&&last[1]===key?last:(control.whenReady().then(ready=>{ready&&snapshot.bound()&&activeKey()===key&&control.reveal(key)}),[snapshot.epoch,key])}function applyHierarchySourceEffects(snapshot,sinks,lastAnnouncement){const{current}=snapshot;if(!current())return;const status=snapshot.error?sinks.errorText():snapshot.loading?sinks.loadingText():sinks.summary();if(current()&&!(lastAnnouncement!==void 0&&status!==lastAnnouncement&&(sinks.announce(status),!current()))){if(snapshot.rowsObserved&&sinks.rowsTransition){const message=snapshot.rowError?sinks.errorText():"";if(!current()||(sinks.rowsTransition(snapshot.rowError?"error":"ready",message),!current()))return}return status}}export{applyHierarchySourceEffects,captureHierarchyRowAuthority,captureHierarchySourceEffects,createHierarchySummarySource,hierarchySourceFieldReader,hierarchySourceSummary,revealActiveHierarchyKey,traceSourceSummary};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type{LyraHighlight}from'
|
|
1
|
+
import type{LyraHighlight,LyraHighlightTone}from'./document-anchors.js';
|
|
2
2
|
/** Maximum host-highlight records admitted into one immutable target snapshot.*/
|
|
3
3
|
export declare const HIGHLIGHT_SNAPSHOT_LIMIT=10000;
|
|
4
|
+
/** The shared frozen empty highlight list.*/
|
|
5
|
+
export declare const EMPTY_HIGHLIGHTS:readonly LyraHighlight[];
|
|
6
|
+
/** Every highlight tone, in paint order.*/
|
|
7
|
+
export declare const HIGHLIGHT_TONES:readonly LyraHighlightTone[];
|
|
4
8
|
/** Returns the discriminator copied while the immutable highlight snapshot was admitted.*/
|
|
5
9
|
export declare function snapshotLyraHighlightAnchorKind(highlight:LyraHighlight):string|undefined;
|
|
6
10
|
/** Builds the shared immutable highlight snapshot used by highlight-aware viewers.*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getOwnDataDescriptor,MISSING_OWN_DATA_DESCRIPTOR,UNSAFE_OWN_DATA_DESCRIPTOR}from"./data-descriptors.js";const HIGHLIGHT_SNAPSHOT_LIMIT=1e4,HIGHLIGHT_SNAPSHOT_OVERFLOW=1,EMPTY_HIGHLIGHTS
|
|
1
|
+
import{getOwnDataDescriptor,MISSING_OWN_DATA_DESCRIPTOR,UNSAFE_OWN_DATA_DESCRIPTOR}from"./data-descriptors.js";const HIGHLIGHT_SNAPSHOT_LIMIT=1e4,HIGHLIGHT_SNAPSHOT_OVERFLOW=1,EMPTY_HIGHLIGHTS=/* @__PURE__ */(()=>Object.freeze([]))(),HIGHLIGHT_TONES=/* @__PURE__ */(()=>Object.freeze(["accent","success","warning","danger","neutral"]))(),SNAPSHOT_ANCHOR_KINDS=new WeakMap;function isSafeArrayLength(value){return typeof value=="number"&&Number.isSafeInteger(value)&&value>=0}function dataValue(source,key){const descriptor=getOwnDataDescriptor(source,key);return descriptor===MISSING_OWN_DATA_DESCRIPTOR||descriptor===UNSAFE_OWN_DATA_DESCRIPTOR?descriptor:descriptor.value}function highlightIdValue(source){try{const descriptor=Object.getOwnPropertyDescriptor(source,"id");if(!descriptor)return MISSING_OWN_DATA_DESCRIPTOR;if(Object.hasOwn(descriptor,"value"))return descriptor.value;if(typeof descriptor.get!="function")return UNSAFE_OWN_DATA_DESCRIPTOR;try{return Reflect.apply(descriptor.get,source,[])}catch{return UNSAFE_OWN_DATA_DESCRIPTOR}}catch{return UNSAFE_OWN_DATA_DESCRIPTOR}}function projectLyraHighlight(value){try{if(value===null||typeof value!="object"||Array.isArray(value))return;const idValue=highlightIdValue(value),anchorValue=dataValue(value,"anchor");if(idValue===MISSING_OWN_DATA_DESCRIPTOR||idValue===UNSAFE_OWN_DATA_DESCRIPTOR||anchorValue===MISSING_OWN_DATA_DESCRIPTOR||anchorValue===UNSAFE_OWN_DATA_DESCRIPTOR||typeof idValue!="string"||anchorValue===null||typeof anchorValue!="object"||Array.isArray(anchorValue))return;const kind=dataValue(anchorValue,"kind");if(kind===MISSING_OWN_DATA_DESCRIPTOR||kind===UNSAFE_OWN_DATA_DESCRIPTOR||typeof kind!="string"||kind.trim().length===0)return;const id=idValue.trim();if(id.length===0)return;const label=dataValue(value,"label"),note=dataValue(value,"note"),tone=dataValue(value,"tone"),highlight=Object.freeze({id,anchor:anchorValue,...typeof label=="string"?{label}:{},...typeof note=="string"?{note}:{},...typeof tone=="string"&&HIGHLIGHT_TONES.includes(tone)?{tone}:{}});return SNAPSHOT_ANCHOR_KINDS.set(highlight,kind),highlight}catch{return}}function snapshotLyraHighlightAnchorKind(highlight){return SNAPSHOT_ANCHOR_KINDS.get(highlight)}function snapshotLyraHighlights(value){try{if(!Array.isArray(value))return EMPTY_HIGHLIGHTS;const length=dataValue(value,"length");if(length===MISSING_OWN_DATA_DESCRIPTOR||length===UNSAFE_OWN_DATA_DESCRIPTOR||!isSafeArrayLength(length))return EMPTY_HIGHLIGHTS;const output=[],seenIds=new Set,candidateCount=Math.min(length,HIGHLIGHT_SNAPSHOT_LIMIT+HIGHLIGHT_SNAPSHOT_OVERFLOW);for(let index=0;index<candidateCount&&output.length<HIGHLIGHT_SNAPSHOT_LIMIT;index+=1){const entry=dataValue(value,String(index));if(entry===MISSING_OWN_DATA_DESCRIPTOR||entry===UNSAFE_OWN_DATA_DESCRIPTOR)continue;const highlight=projectLyraHighlight(entry);!highlight||seenIds.has(highlight.id)||(seenIds.add(highlight.id),output.push(highlight))}return Object.freeze(output)}catch{return EMPTY_HIGHLIGHTS}}export{EMPTY_HIGHLIGHTS,HIGHLIGHT_SNAPSHOT_LIMIT,HIGHLIGHT_TONES,snapshotLyraHighlightAnchorKind,snapshotLyraHighlights};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{css,unsafeCSS}from"lit";import{HOST_TOKEN_CSS}from"./document-tokens.generated.js";const hostTokens
|
|
1
|
+
import{css,unsafeCSS}from"lit";import{HOST_TOKEN_CSS}from"./document-tokens.generated.js";const hostTokens=/* @__PURE__ */(()=>css` ${unsafeCSS(HOST_TOKEN_CSS)} :host{font-family:var(--lr-font);line-break:var(--lr-line-break);word-break:var(--lr-word-break);color:var(--lr-color-text);box-sizing:border-box}:where(h1,h2,h3,h4,h5,h6,[role=heading],[part~=heading]){font-family:var(--lr-font-heading)}@media (prefers-reduced-motion:reduce){:host *,:host *::before,:host *::after{animation-duration:0.001ms;animation-iteration-count:1;scroll-behavior:auto}}:host([hidden]){display:none!important}*,*::before,*::after{box-sizing:inherit}`)();export{hostTokens};
|
|
@@ -1 +1,15 @@
|
|
|
1
|
-
import{css}from"lit";const iconAction
|
|
1
|
+
import{css,unsafeCSS}from"lit";import{activeFill,disabledControl,focusRing,hoverFill,iconHitTarget,interactiveTransition}from"./interactive-control.styles.js";const restingFill="var(--lr-icon-button-bg, var(--lr-color-surface))",iconAction=/* @__PURE__ */(()=>css` font:inherit;display:inline-flex;align-items:center;justify-content:center;padding:0;border:var(--lr-icon-button-border,var(--_lr-icon-button-border-default,0));border-radius:var(--lr-icon-button-radius,var(--_lr-icon-button-radius-default,var(--lr-radius)));background:var(--lr-icon-button-bg,var(--_lr-icon-button-background-default,transparent));color:var(--lr-icon-button-color,var(--_lr-icon-button-color-default,inherit));cursor:pointer;text-decoration:none;${interactiveTransition} `)(),iconActionHover=/* @__PURE__ */(()=>css` border:var(--lr-icon-button-hover-border,var(--_lr-icon-button-border-hover-default,var(--lr-icon-button-border,0)));background:var(--lr-icon-button-hover-bg,var(--_lr-icon-button-background-hover-default,${hoverFill(restingFill)}));color:var(--lr-icon-button-hover-color,var(--_lr-icon-button-color-hover-default,var(--lr-icon-button-color,inherit)));@media (forced-colors:active){background:Highlight;color:HighlightText}`)(),iconActionActive=/* @__PURE__ */(()=>css` border:var(--lr-icon-button-active-border,var(--_lr-icon-button-border-active-default,var(--lr-icon-button-hover-border,var(--lr-icon-button-border,0))));background:var(--lr-icon-button-active-bg,var(--_lr-icon-button-background-active-default,${activeFill(restingFill)}));color:var(--lr-icon-button-active-color,var(--_lr-icon-button-color-active-default,var(--lr-icon-button-hover-color,var(--lr-icon-button-color,inherit))));@media (forced-colors:active){background:Highlight;color:HighlightText}`)();function outlinedIconActionDefaults(hoverBackground){return unsafeCSS(`--_lr-icon-button-border-default: var(--lr-border-width-thin) solid var(--lr-color-border);
|
|
2
|
+
--_lr-icon-button-background-default: var(--lr-color-surface);
|
|
3
|
+
--_lr-icon-button-color-default: var(--lr-color-text);
|
|
4
|
+
--_lr-icon-button-border-hover-default: var(--lr-icon-button-border, var(--_lr-icon-button-border-default));
|
|
5
|
+
--_lr-icon-button-border-active-default: var(--lr-icon-button-hover-border, var(--_lr-icon-button-border-hover-default));
|
|
6
|
+
--_lr-icon-button-background-hover-default: ${hoverBackground};
|
|
7
|
+
--_lr-icon-button-background-active-default: ${activeFill("var(--lr-icon-button-hover-bg, var(--_lr-icon-button-background-hover-default))").cssText};`)}const ICON_ACTION_DEFAULTS=[["background","--_lr-icon-button-background-default"],["color","--_lr-icon-button-color-default"],["hoverBackground","--_lr-icon-button-background-hover-default"],["hoverColor","--_lr-icon-button-color-hover-default"],["activeBackground","--_lr-icon-button-background-active-default"],["activeColor","--_lr-icon-button-color-active-default"]];function iconActionStyles(selector,fallbacks={}){const defaults=ICON_ACTION_DEFAULTS.filter(([key])=>fallbacks[key]!==void 0).map(([key,property])=>`${property}: ${fallbacks[key]};`).join(" "),enabled=`${selector}:not(:disabled):not([aria-disabled='true'])`;return unsafeCSS(`${selector} { ${defaults} ${iconHitTarget.cssText} ${iconAction.cssText} }
|
|
8
|
+
${enabled}:hover { ${iconActionHover.cssText} }
|
|
9
|
+
${enabled}:active { ${iconActionActive.cssText} }
|
|
10
|
+
${selector}:focus-visible { ${focusRing.cssText} }
|
|
11
|
+
${selector}:disabled, ${selector}[aria-disabled='true'] { ${disabledControl.cssText} }`)}function outlinedActionStyles(selector,options={}){const{padding="var(--lr-space-2xs) var(--lr-space-xs)",radius="var(--lr-radius)",extra="",hoverBackground=hoverFill("var(--lr-color-surface)").cssText,activeBackground=activeFill("var(--lr-color-surface)").cssText}=options,enabled=`${selector}:where(:not(:disabled):not([aria-disabled='true']))`;return unsafeCSS(`${selector} { ${iconHitTarget.cssText} ${padding===!1?"":`padding: ${padding};`} border: var(--lr-border-width-thin) solid var(--lr-color-border); border-radius: ${radius}; background: var(--lr-color-surface); color: var(--lr-color-text); font: inherit; cursor: pointer; ${interactiveTransition.cssText} ${extra} }
|
|
12
|
+
${enabled}:hover { background: ${hoverBackground}; }
|
|
13
|
+
${enabled}:active { background: ${activeBackground}; }
|
|
14
|
+
${selector}:focus-visible { ${focusRing.cssText} }
|
|
15
|
+
${selector}:disabled, ${selector}[aria-disabled='true'] { ${disabledControl.cssText} }`)}export{iconAction,iconActionActive,iconActionHover,iconActionStyles,outlinedActionStyles,outlinedIconActionDefaults};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const SEARCH_ICON_PATH="m21 21-4.35-4.35M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z",REFRESH_ICON_PATH="M20 11a8 8 0 0 0-14.9-4M4 5v4h4m-4 4a8 8 0 0 0 14.9 4M20 19v-4h-4";export{REFRESH_ICON_PATH,SEARCH_ICON_PATH};
|
package/dist/internal/icons.d.ts
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import{type SVGTemplateResult}from'lit';
|
|
2
|
+
/**
|
|
3
|
+
* The library's decorative inline-SVG frame: a 24-unit viewBox, 1.75 stroke, `1em` square, hidden
|
|
4
|
+
* from assistive technology. Wraps `paths`; an optional `part` names the svg element itself.
|
|
5
|
+
*/
|
|
6
|
+
export declare function iconFrame(paths:SVGTemplateResult,part?:string):SVGTemplateResult;
|
|
2
7
|
/** A single right-pointing chevron. Rotate the wrapping element for other directions.*/
|
|
3
8
|
export declare function chevronIcon():SVGTemplateResult;
|
|
9
|
+
/** A downward arrow into a tray.*/
|
|
10
|
+
export declare function downloadIcon():SVGTemplateResult;
|
|
4
11
|
/** Paired vertical chevrons indicate a sortable column with no active direction.*/
|
|
5
12
|
export declare function sortIcon():SVGTemplateResult;
|
|
6
13
|
/** An "x" close/clear glyph.*/
|
|
7
14
|
export declare function closeIcon():SVGTemplateResult;
|
|
15
|
+
/** A sun, for a light colour scheme.*/
|
|
16
|
+
export declare function sunIcon():SVGTemplateResult;
|
|
17
|
+
/** A crescent moon, for a dark colour scheme.*/
|
|
18
|
+
export declare function moonIcon():SVGTemplateResult;
|
|
19
|
+
/** A display on a stand, for following the operating system's setting.*/
|
|
20
|
+
export declare function monitorIcon():SVGTemplateResult;
|
|
8
21
|
/** A three-bar "hamburger" glyph, for navigation and menu toggles.*/
|
|
9
22
|
export declare function menuIcon():SVGTemplateResult;
|
|
10
23
|
/** A right-pointing play triangle.*/
|
|
@@ -45,3 +58,37 @@ export declare function retryIcon():SVGTemplateResult;
|
|
|
45
58
|
export declare function stopIcon():SVGTemplateResult;
|
|
46
59
|
/** A conversation feedback thumb, with `filled` reserved for the pressed state.*/
|
|
47
60
|
export declare function thumbIcon(direction:'up'|'down',filled:boolean):SVGTemplateResult;
|
|
61
|
+
/** A confirmation checkmark; the library's one "done" glyph (copy confirmation, checked state).*/
|
|
62
|
+
export declare function checkIcon():SVGTemplateResult;
|
|
63
|
+
/** A generic two-rectangle "copy" glyph.*/
|
|
64
|
+
export declare function copyIcon():SVGTemplateResult;
|
|
65
|
+
/** A circle with a clock hand: a step that has not started.*/
|
|
66
|
+
export declare function statusPendingIcon():SVGTemplateResult;
|
|
67
|
+
/** A three-quarter arc, spun by each component's running-status CSS animation; a full circle would not convey rotation.*/
|
|
68
|
+
export declare function statusRunningIcon():SVGTemplateResult;
|
|
69
|
+
/** A circle with a checkmark: succeeded or approved.*/
|
|
70
|
+
export declare function statusSuccessIcon():SVGTemplateResult;
|
|
71
|
+
/** A circle with a cross: failed or denied by the user.*/
|
|
72
|
+
export declare function statusErrorIcon():SVGTemplateResult;
|
|
73
|
+
/** A circle with a diagonal slash: blocked by policy rather than failed at run time.*/
|
|
74
|
+
export declare function statusDeniedIcon():SVGTemplateResult;
|
|
75
|
+
/** A circle with a level dash: stopped short, neither succeeded nor failed.*/
|
|
76
|
+
export declare function statusIncompleteIcon():SVGTemplateResult;
|
|
77
|
+
/** A magnifier, for search fields.*/
|
|
78
|
+
export declare function searchIcon():SVGTemplateResult;
|
|
79
|
+
/** A question mark in a circle, for a help or explanation disclosure.*/
|
|
80
|
+
export declare function helpIcon():SVGTemplateResult;
|
|
81
|
+
/** An exclamation mark in a circle: a failure state legible without relying on colour.*/
|
|
82
|
+
export declare function errorCircleIcon():SVGTemplateResult;
|
|
83
|
+
/** An exclamation mark in a triangle, for a warning or failed-action state.*/
|
|
84
|
+
export declare function warningIcon():SVGTemplateResult;
|
|
85
|
+
/** A plus sign, for zoom-in and add actions.*/
|
|
86
|
+
export declare function plusIcon():SVGTemplateResult;
|
|
87
|
+
/** A minus sign, for zoom-out and remove actions.*/
|
|
88
|
+
export declare function minusIcon():SVGTemplateResult;
|
|
89
|
+
/** Four corner brackets, for a "fit to view" action.*/
|
|
90
|
+
export declare function fitIcon():SVGTemplateResult;
|
|
91
|
+
/** A closed padlock.*/
|
|
92
|
+
export declare function lockClosedIcon():SVGTemplateResult;
|
|
93
|
+
/** An open padlock.*/
|
|
94
|
+
export declare function lockOpenIcon():SVGTemplateResult;
|
package/dist/internal/icons.js
CHANGED
|
@@ -1,82 +1,64 @@
|
|
|
1
|
-
import{svg}from"lit";const STROKE_WIDTH="1.75",VIEW_BOX="0 0 24 24";function
|
|
2
|
-
<svg
|
|
3
|
-
|
|
4
|
-
height="1em"
|
|
5
|
-
viewBox=${VIEW_BOX}
|
|
6
|
-
fill="none"
|
|
7
|
-
stroke="currentColor"
|
|
8
|
-
stroke-width=${STROKE_WIDTH}
|
|
9
|
-
stroke-linecap="round"
|
|
10
|
-
stroke-linejoin="round"
|
|
11
|
-
aria-hidden="true"
|
|
12
|
-
focusable="false"
|
|
13
|
-
>${paths}</svg>
|
|
14
|
-
`}function chevronIcon(){return icon(svg`<polyline points="9 6 15 12 9 18"></polyline>`)}function sortIcon(){return icon(svg`<polyline points="8 8 12 4 16 8"></polyline><polyline points="8 16 12 20 16 16"></polyline>`)}function closeIcon(){return icon(svg`
|
|
1
|
+
import{svg}from"lit";import{ifDefined}from"lit/directives/if-defined.js";import{REFRESH_ICON_PATH,SEARCH_ICON_PATH}from"./icon-paths.js";const STROKE_WIDTH="1.75",VIEW_BOX="0 0 24 24";function iconFrame(paths,part){return svg`
|
|
2
|
+
<svg part=${ifDefined(part)} width="1em" height="1em" viewBox=${VIEW_BOX} fill="none" stroke="currentColor" stroke-width=${STROKE_WIDTH} stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" >${paths}</svg>
|
|
3
|
+
`}function chevronIcon(){return iconFrame(svg`<polyline points="9 6 15 12 9 18"></polyline>`)}function downloadIcon(){return iconFrame(svg`<path d="M12 3v12 M7 11l5 5 5-5 M4 18v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2"></path>`)}function sortIcon(){return iconFrame(svg`<polyline points="8 8 12 4 16 8"></polyline><polyline points="8 16 12 20 16 16"></polyline>`)}function closeIcon(){return iconFrame(svg`
|
|
15
4
|
<line x1="18" y1="6" x2="6" y2="18"></line>
|
|
16
5
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
17
|
-
`)}function
|
|
6
|
+
`)}function sunIcon(){return iconFrame(svg`
|
|
7
|
+
<circle cx="12" cy="12" r="4"></circle>
|
|
8
|
+
<path d="M12 2v2 M12 20v2 M4.93 4.93l1.41 1.41 M17.66 17.66l1.41 1.41 M2 12h2 M20 12h2 M4.93 19.07l1.41-1.41 M17.66 6.34l1.41-1.41"></path>
|
|
9
|
+
`)}function moonIcon(){return iconFrame(svg`<path d="M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z"></path>`)}function monitorIcon(){return iconFrame(svg`<rect x="3" y="4" width="18" height="12" rx="2"></rect><path d="M8 20h8 M12 16v4"></path>`)}function menuIcon(){return iconFrame(svg`
|
|
18
10
|
<line x1="4" y1="7" x2="20" y2="7"></line>
|
|
19
11
|
<line x1="4" y1="12" x2="20" y2="12"></line>
|
|
20
12
|
<line x1="4" y1="17" x2="20" y2="17"></line>
|
|
21
|
-
`)}function playIcon(){return
|
|
13
|
+
`)}function playIcon(){return iconFrame(svg`<polygon points="6 4 20 12 6 20 6 4"></polygon>`)}function pauseIcon(){return iconFrame(svg`
|
|
22
14
|
<rect x="6" y="4" width="4" height="16" rx="1"></rect>
|
|
23
15
|
<rect x="14" y="4" width="4" height="16" rx="1"></rect>
|
|
24
|
-
`)}function refreshIcon(){return
|
|
16
|
+
`)}function refreshIcon(){return iconFrame(svg`<path d=${REFRESH_ICON_PATH}></path>`)}function calendarIcon(){return iconFrame(svg`
|
|
25
17
|
<rect x="3" y="5" width="18" height="16" rx="2"></rect>
|
|
26
18
|
<line x1="16" y1="3" x2="16" y2="7"></line>
|
|
27
19
|
<line x1="8" y1="3" x2="8" y2="7"></line>
|
|
28
20
|
<line x1="3" y1="10" x2="21" y2="10"></line>
|
|
29
|
-
`)}function fileIcon(){return
|
|
21
|
+
`)}function fileIcon(){return iconFrame(svg`<path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Z"></path><polyline points="14 2 14 8 20 8"></polyline>`)}function folderIcon(){return iconFrame(svg`<path d="M3 6a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"></path>`)}function expandIcon(){return iconFrame(svg`
|
|
30
22
|
<polyline points="15 3 21 3 21 9"></polyline>
|
|
31
23
|
<polyline points="9 21 3 21 3 15"></polyline>
|
|
32
24
|
<line x1="21" y1="3" x2="14" y2="10"></line>
|
|
33
25
|
<line x1="3" y1="21" x2="10" y2="14"></line>
|
|
34
|
-
`)}function spinnerIcon(){return
|
|
26
|
+
`)}function spinnerIcon(){return iconFrame(svg`<path d="M21 12a9 9 0 1 1-9-9"></path>`)}function eyeIcon(){return iconFrame(svg`
|
|
35
27
|
<path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z"></path>
|
|
36
28
|
<circle cx="12" cy="12" r="3"></circle>
|
|
37
|
-
`)}function eyeOffIcon(){return
|
|
29
|
+
`)}function eyeOffIcon(){return iconFrame(svg`
|
|
38
30
|
<path d="M17.94 17.94A10.94 10.94 0 0 1 12 19c-7 0-11-7-11-7a18.5 18.5 0 0 1 4.22-5.06"></path>
|
|
39
31
|
<path d="M9.9 4.24A10.4 10.4 0 0 1 12 4c7 0 11 7 11 7a18.5 18.5 0 0 1-2.16 3.19"></path>
|
|
40
32
|
<path d="M14.12 14.12a3 3 0 1 1-4.24-4.24"></path>
|
|
41
33
|
<line x1="1" y1="1" x2="23" y2="23"></line>
|
|
42
|
-
`)}function pinIcon(){return
|
|
34
|
+
`)}function pinIcon(){return iconFrame(svg`
|
|
43
35
|
<path d="M12 17v5"></path>
|
|
44
36
|
<path d="M9 3h6l1 6 3 3v2H5v-2l3-3Z"></path>
|
|
45
|
-
`)}function archiveIcon(){return
|
|
37
|
+
`)}function archiveIcon(){return iconFrame(svg`
|
|
46
38
|
<rect x="3" y="4" width="18" height="4" rx="1"></rect>
|
|
47
39
|
<path d="M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8"></path>
|
|
48
40
|
<line x1="10" y1="13" x2="14" y2="13"></line>
|
|
49
|
-
`)}function trashIcon(){return
|
|
41
|
+
`)}function trashIcon(){return iconFrame(svg`
|
|
50
42
|
<path d="M4 7h16"></path>
|
|
51
43
|
<path d="M10 11v6"></path>
|
|
52
44
|
<path d="M14 11v6"></path>
|
|
53
45
|
<path d="M6 7l1 14h10l1-14"></path>
|
|
54
46
|
<path d="M9 7V4h6v3"></path>
|
|
55
|
-
`)}function pencilIcon(){return
|
|
47
|
+
`)}function pencilIcon(){return iconFrame(svg`<path d="M12 20h9"></path><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4Z"></path>`)}function sendIcon(){return iconFrame(svg`<line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>`)}function regenerateIcon(){return iconFrame(svg`
|
|
56
48
|
<polyline points="23 4 23 10 17 10"></polyline>
|
|
57
49
|
<polyline points="1 20 1 14 7 14"></polyline>
|
|
58
50
|
<path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path>
|
|
59
|
-
`)}function retryIcon(){return
|
|
60
|
-
<svg
|
|
61
|
-
width="1em"
|
|
62
|
-
height="1em"
|
|
63
|
-
viewBox=${VIEW_BOX}
|
|
64
|
-
fill="currentColor"
|
|
65
|
-
stroke="none"
|
|
66
|
-
aria-hidden="true"
|
|
67
|
-
focusable="false"
|
|
68
|
-
><rect x="6" y="6" width="12" height="12" rx="1.5"></rect></svg>
|
|
51
|
+
`)}function retryIcon(){return iconFrame(svg`<polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>`)}function stopIcon(){return svg`
|
|
52
|
+
<svg width="1em" height="1em" viewBox=${VIEW_BOX} fill="currentColor" stroke="none" aria-hidden="true" focusable="false" ><rect x="6" y="6" width="12" height="12" rx="1.5"></rect></svg>
|
|
69
53
|
`}function thumbIcon(direction,filled){return svg`
|
|
70
|
-
<svg
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
><path d=${direction==="up"?"M7 11v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h3Z":"M17 13V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v8h4Z"}></path><path d=${direction==="up"?"M7 11l3.5-7A2 2 0 0 1 12 3a1 1 0 0 1 1 1v6h4.5a2 2 0 0 1 2 2.3l-1.2 7A2 2 0 0 1 16.3 21H9a2 2 0 0 1-2-2v-8Z":"M17 13l-3.5 7A2 2 0 0 1 12 21a1 1 0 0 1-1-1v-6H6.5a2 2 0 0 1-2-2.3l1.2-7A2 2 0 0 1 7.7 3H15a2 2 0 0 1 2 2v8Z"}></path></svg>
|
|
82
|
-
`}export{archiveIcon,calendarIcon,chevronIcon,closeIcon,expandIcon,eyeIcon,eyeOffIcon,fileIcon,folderIcon,menuIcon,pauseIcon,pencilIcon,pinIcon,playIcon,refreshIcon,regenerateIcon,retryIcon,sendIcon,sortIcon,spinnerIcon,stopIcon,thumbIcon,trashIcon};
|
|
54
|
+
<svg width="1em" height="1em" viewBox=${VIEW_BOX} fill=${filled?"currentColor":"none"} stroke="currentColor" stroke-width=${STROKE_WIDTH} stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" ><path d=${direction==="up"?"M7 11v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h3Z":"M17 13V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v8h4Z"}></path><path d=${direction==="up"?"M7 11l3.5-7A2 2 0 0 1 12 3a1 1 0 0 1 1 1v6h4.5a2 2 0 0 1 2 2.3l-1.2 7A2 2 0 0 1 16.3 21H9a2 2 0 0 1-2-2v-8Z":"M17 13l-3.5 7A2 2 0 0 1 12 21a1 1 0 0 1-1-1v-6H6.5a2 2 0 0 1-2-2.3l1.2-7A2 2 0 0 1 7.7 3H15a2 2 0 0 1 2 2v8Z"}></path></svg>
|
|
55
|
+
`}function checkIcon(){return iconFrame(svg`<polyline points="5 12.5 10 17.5 19 6.5"></polyline>`)}function copyIcon(){return iconFrame(svg`<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>`)}function statusPendingIcon(){return iconFrame(svg`<circle cx="12" cy="12" r="9"></circle><polyline points="12 7 12 12 15 14"></polyline>`)}function statusRunningIcon(){return iconFrame(svg`<path d="M21 12a9 9 0 1 1-9-9"></path>`)}function statusSuccessIcon(){return iconFrame(svg`<circle cx="12" cy="12" r="9"></circle><polyline points="8 12.5 11 15.5 16 9.5"></polyline>`)}function statusErrorIcon(){return iconFrame(svg`
|
|
56
|
+
<circle cx="12" cy="12" r="9"></circle>
|
|
57
|
+
<line x1="9" y1="9" x2="15" y2="15"></line>
|
|
58
|
+
<line x1="15" y1="9" x2="9" y2="15"></line>
|
|
59
|
+
`)}function statusDeniedIcon(){return iconFrame(svg`<circle cx="12" cy="12" r="9"></circle><line x1="6" y1="18" x2="18" y2="6"></line>`)}function statusIncompleteIcon(){return iconFrame(svg`<circle cx="12" cy="12" r="9"></circle><line x1="8" y1="12" x2="16" y2="12"></line>`)}function searchIcon(){return iconFrame(svg`<path d=${SEARCH_ICON_PATH}></path>`)}function helpIcon(){return iconFrame(svg`<circle cx="12" cy="12" r="9"></circle><path d="M9.6 9.3a2.5 2.5 0 0 1 4.85.85c0 1.65-2.45 2.2-2.45 3.6"></path><path d="M12 16.9v.01"></path>`)}function errorCircleIcon(){return iconFrame(svg`<circle cx="12" cy="12" r="9"></circle><path d="M12 7.25v5.5"></path><path d="M12 16.4v.01"></path>`)}function warningIcon(){return iconFrame(svg`<path d="M12 3 2 21h20L12 3Z M12 9v5 M12 17h.01"></path>`)}function plusIcon(){return iconFrame(svg`<line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>`)}function minusIcon(){return iconFrame(svg`<line x1="5" y1="12" x2="19" y2="12"></line>`)}function fitIcon(){return iconFrame(svg`
|
|
60
|
+
<polyline points="9 3 3 3 3 9"></polyline>
|
|
61
|
+
<polyline points="15 3 21 3 21 9"></polyline>
|
|
62
|
+
<polyline points="3 15 3 21 9 21"></polyline>
|
|
63
|
+
<polyline points="21 15 21 21 15 21"></polyline>
|
|
64
|
+
`)}function lockClosedIcon(){return iconFrame(svg`<rect x="4" y="11" width="16" height="9" rx="2"></rect><path d="M8 11V7a4 4 0 0 1 8 0v4"></path>`)}function lockOpenIcon(){return iconFrame(svg`<rect x="4" y="11" width="16" height="9" rx="2"></rect><path d="M8 11V7a4 4 0 0 1 7.4-2"></path>`)}export{archiveIcon,calendarIcon,checkIcon,chevronIcon,closeIcon,copyIcon,downloadIcon,errorCircleIcon,expandIcon,eyeIcon,eyeOffIcon,fileIcon,fitIcon,folderIcon,helpIcon,iconFrame,lockClosedIcon,lockOpenIcon,menuIcon,minusIcon,monitorIcon,moonIcon,pauseIcon,pencilIcon,pinIcon,playIcon,plusIcon,refreshIcon,regenerateIcon,retryIcon,searchIcon,sendIcon,sortIcon,spinnerIcon,statusDeniedIcon,statusErrorIcon,statusIncompleteIcon,statusPendingIcon,statusRunningIcon,statusSuccessIcon,stopIcon,sunIcon,thumbIcon,trashIcon,warningIcon};
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
import{html,nothing}from"lit";function renderInertPresentation(content,options={}){const presentation=options.presentation??!0;return html`<span
|
|
2
|
-
part=${options.part??nothing}
|
|
3
|
-
aria-hidden=${presentation?"true":nothing}
|
|
4
|
-
?inert=${presentation}
|
|
5
|
-
?hidden=${options.hidden??!1}
|
|
6
|
-
?data-lr-gemstone-selected=${options.gemstoneSelected??!1}
|
|
7
|
-
>${content}</span>`}export{renderInertPresentation};
|
|
1
|
+
import{html,nothing}from"lit";function renderInertPresentation(content,options={}){const presentation=options.presentation??!0;return html`<span part=${options.part??nothing} aria-hidden=${presentation?"true":nothing} ?inert=${presentation} ?hidden=${options.hidden??!1} ?data-lr-gemstone-selected=${options.gemstoneSelected??!1} >${content}</span>`}export{renderInertPresentation};
|
|
@@ -4,3 +4,5 @@ export interface InheritedAttributeSubscription{readonly attributes:readonly str
|
|
|
4
4
|
export interface InheritedAttributeRelease{():void;flush():void;}
|
|
5
5
|
/** Returns undefined when the root has no live owner realm or cannot be observed.*/
|
|
6
6
|
export declare function subscribeInheritedAttributes(root:Node,Observer:typeof MutationObserver|undefined,subscription:InheritedAttributeSubscription):InheritedAttributeRelease|undefined;
|
|
7
|
+
/** Indexes a subscription under each ancestor whose changes can reach its host.*/
|
|
8
|
+
export declare function addAncestorSubscriber<T>(index:WeakMap<Element,Set<T>>,ancestor:Element,subscriber:T):void;export declare function removeAncestorSubscriber<T>(index:WeakMap<Element,Set<T>>,ancestor:Element,subscriber:T):void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const hubs=new WeakMap;function deliver(hub,records){for(const subscriber of[...hub.subscribers.keys()]){if(!hub.subscribers.has(subscriber))continue;const relevant=records.filter(record=>record.type==="attributes"?subscriber.attributes.includes(record.attributeName??""):record.type==="childList"?subscriber.childList:subscriber.characterData);relevant.length&&subscriber.changed(relevant)}}function updateSignals(hub,signals,delta){let changed=!1;for(const attribute of signals.attributes){const previous=hub.attributeOwners.get(attribute)??0,next=previous+delta;next===0?hub.attributeOwners.delete(attribute):hub.attributeOwners.set(attribute,next),changed||=previous===0!=(next===0)}if(signals.childList){const previous=hub.childListOwners;hub.childListOwners+=delta,changed||=previous===0!=(hub.childListOwners===0)}if(signals.characterData){const previous=hub.characterDataOwners;hub.characterDataOwners+=delta,changed||=previous===0!=(hub.characterDataOwners===0)}return changed}function configure(hub){if(!hub.subscribers.size)return;const attributes=[...hub.attributeOwners.keys()];hub.observer.observe(hub.target,{subtree:!0,attributes:attributes.length>0,...attributes.length?{attributeFilter:attributes}:{},childList:hub.childListOwners>0,characterData:hub.characterDataOwners>0})}function safely(run){try{run()}catch{}}function subscribeInheritedAttributes(root,Observer,subscription){if(!Observer)return;const target=root.nodeType===9?root.documentElement:root;if(!target)return;let hub=hubs.get(root);if(!hub){const created={subscribers:new Map,attributeOwners:new Map,childListOwners:0,characterDataOwners:0,target,observer:new Observer(records=>deliver(created,records))};hub=created,hubs.set(root,hub)}let signals=hub.subscribers.get(subscription);const wasEmpty=hub.subscribers.size===0;let added=!1;try{let changed=!1;signals||(signals={attributes:[...new Set(subscription.attributes)],childList:!!subscription.childList,characterData:!!subscription.characterData},hub.subscribers.set(subscription,signals),added=!0,changed=updateSignals(hub,signals,1)),(changed||wasEmpty)&&configure(hub)}catch{if(added&&signals&&(hub.subscribers.delete(subscription),updateSignals(hub,signals,-1)),!hub.subscribers.size){const failed=hub;safely(()=>failed.observer.disconnect()),hubs.get(root)===failed&&hubs.delete(root)}return}return Object.assign(()=>{const signals2=hub?.subscribers.get(subscription);if(!hub||!signals2)return;const owner=hub;owner.subscribers.delete(subscription);const changed=updateSignals(owner,signals2,-1);let pending=[];safely(()=>{pending=owner.observer.takeRecords()}),pending.length&&deliver(owner,pending),owner.subscribers.size?changed&&safely(()=>configure(owner)):(safely(()=>owner.observer.disconnect()),hubs.get(root)===owner&&hubs.delete(root))},{flush(){if(!hub?.subscribers.has(subscription))return;let pending=[];safely(()=>{pending=hub.observer.takeRecords()}),pending.length&&deliver(hub,pending)}})}export{subscribeInheritedAttributes};
|
|
1
|
+
const hubs=new WeakMap;function deliver(hub,records){for(const subscriber of[...hub.subscribers.keys()]){if(!hub.subscribers.has(subscriber))continue;const relevant=records.filter(record=>record.type==="attributes"?subscriber.attributes.includes(record.attributeName??""):record.type==="childList"?subscriber.childList:subscriber.characterData);relevant.length&&subscriber.changed(relevant)}}function updateSignals(hub,signals,delta){let changed=!1;for(const attribute of signals.attributes){const previous=hub.attributeOwners.get(attribute)??0,next=previous+delta;next===0?hub.attributeOwners.delete(attribute):hub.attributeOwners.set(attribute,next),changed||=previous===0!=(next===0)}if(signals.childList){const previous=hub.childListOwners;hub.childListOwners+=delta,changed||=previous===0!=(hub.childListOwners===0)}if(signals.characterData){const previous=hub.characterDataOwners;hub.characterDataOwners+=delta,changed||=previous===0!=(hub.characterDataOwners===0)}return changed}function configure(hub){if(!hub.subscribers.size)return;const attributes=[...hub.attributeOwners.keys()];hub.observer.observe(hub.target,{subtree:!0,attributes:attributes.length>0,...attributes.length?{attributeFilter:attributes}:{},childList:hub.childListOwners>0,characterData:hub.characterDataOwners>0})}function safely(run){try{run()}catch{}}function subscribeInheritedAttributes(root,Observer,subscription){if(!Observer)return;const target=root.nodeType===9?root.documentElement:root;if(!target)return;let hub=hubs.get(root);if(!hub){const created={subscribers:new Map,attributeOwners:new Map,childListOwners:0,characterDataOwners:0,target,observer:new Observer(records=>deliver(created,records))};hub=created,hubs.set(root,hub)}let signals=hub.subscribers.get(subscription);const wasEmpty=hub.subscribers.size===0;let added=!1;try{let changed=!1;signals||(signals={attributes:[...new Set(subscription.attributes)],childList:!!subscription.childList,characterData:!!subscription.characterData},hub.subscribers.set(subscription,signals),added=!0,changed=updateSignals(hub,signals,1)),(changed||wasEmpty)&&configure(hub)}catch{if(added&&signals&&(hub.subscribers.delete(subscription),updateSignals(hub,signals,-1)),!hub.subscribers.size){const failed=hub;safely(()=>failed.observer.disconnect()),hubs.get(root)===failed&&hubs.delete(root)}return}return Object.assign(()=>{const signals2=hub?.subscribers.get(subscription);if(!hub||!signals2)return;const owner=hub;owner.subscribers.delete(subscription);const changed=updateSignals(owner,signals2,-1);let pending=[];safely(()=>{pending=owner.observer.takeRecords()}),pending.length&&deliver(owner,pending),owner.subscribers.size?changed&&safely(()=>configure(owner)):(safely(()=>owner.observer.disconnect()),hubs.get(root)===owner&&hubs.delete(root))},{flush(){if(!hub?.subscribers.has(subscription))return;let pending=[];safely(()=>{pending=hub.observer.takeRecords()}),pending.length&&deliver(hub,pending)}})}function addAncestorSubscriber(index,ancestor,subscriber){let subscribers=index.get(ancestor);subscribers||index.set(ancestor,subscribers=new Set),subscribers.add(subscriber)}function removeAncestorSubscriber(index,ancestor,subscriber){const subscribers=index.get(ancestor);subscribers?.delete(subscriber),subscribers?.size===0&&index.delete(ancestor)}export{addAncestorSubscriber,removeAncestorSubscriber,subscribeInheritedAttributes};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{invalidateLyraLocaleCache,peekLyraDirection,peekLyraLocale,resolveLyraDirection,resolveLyraLocale}from"./localization-runtime.js";import{assignedSlotOf,domParentElement,flattenedParentElement,ownerView}from"./composed-tree.js";import{subscribeInheritedAttributes}from"./inherited-attribute-hub.js";const INHERITED_CONTEXT_ATTRIBUTES=["locale","lang","dir","class","style","slot","name"],rootObservations=new WeakMap,ownerDocumentLifecycles=new WeakMap,hostStates=new WeakMap,hostSubscriptions=new WeakMap,pendingSubscriptions=new Set;let flushQueued=!1;function containsSlot(node){return node.nodeType===1&&(node.localName==="slot"||typeof node.querySelector=="function"&&node.querySelector("slot")!==null)}function someNode(nodes,predicate){for(let index=0;index<nodes.length;index+=1)if(predicate(nodes[index]))return!0;return!1}function observationTarget(root){return root.nodeType===9?root.documentElement:root.nodeType===11?root:null}function queueSubscription(subscription,locale,direction,rebind2=!1){!subscription.active||!subscription.host.isConnected||(locale&&subscription.state.localeSensitive&&(subscription.state.localeMutationSequence+=1,subscription.pendingLocaleMutationSequence=subscription.state.localeMutationSequence,subscription.recheckLocale=!0,subscription.rebindLocale||=rebind2),direction&&subscription.state.directionSensitive&&(subscription.state.directionMutationSequence+=1,subscription.pendingDirectionMutationSequence=subscription.state.directionMutationSequence,subscription.recheckDirection=!0,subscription.rebindDirection||=rebind2),!(!subscription.recheckLocale&&!subscription.recheckDirection)&&(pendingSubscriptions.add(subscription),!flushQueued&&(flushQueued=!0,queueMicrotask(flushInheritedContextChanges))))}function subscribersFor(map,target){return map.get(target)}function createRootObservation(root,Observer){if(!observationTarget(root))return;const localeSubscribers=new WeakMap,directionSubscribers=new WeakMap,directionSubscriptions=new Set;let releaseObserver,slotchange;try{if(releaseObserver=subscribeInheritedAttributes(root,Observer,{attributes:INHERITED_CONTEXT_ATTRIBUTES,childList:root.nodeType===11,changed:records=>{let flattenedTreeMoved=!1;for(const record of records){if(record.type==="childList"){flattenedTreeMoved||=someNode(record.addedNodes,containsSlot)||someNode(record.removedNodes,containsSlot);continue}if(record.type!=="attributes"||record.target.nodeType!==1||typeof record.target.getAttribute!="function")continue;const mutationTarget=record.target,attribute=record.attributeName;if(attribute==="locale"||attribute==="lang")for(const subscription of subscribersFor(localeSubscribers,mutationTarget)??[])queueSubscription(subscription,!0,!1);const directionRelevant=attribute==="dir"||attribute==="class"||attribute==="style"||attribute==="locale"||attribute==="lang",flattenedTreeChanged=attribute==="slot"||attribute==="name";if(directionRelevant||flattenedTreeChanged)for(const subscription of subscribersFor(directionSubscribers,mutationTarget)??[])queueSubscription(subscription,!1,!0,flattenedTreeChanged)}if(flattenedTreeMoved)for(const subscription of[...directionSubscriptions])queueSubscription(subscription,!1,!0,!0)}}),!releaseObserver)throw new Error("Unable to subscribe to inherited attributes.");root.nodeType===11&&(slotchange=()=>{for(const subscription of[...directionSubscriptions])queueSubscription(subscription,!1,!0,!0)},root.addEventListener("slotchange",slotchange))}catch{try{releaseObserver?.()}catch{}if(slotchange)try{root.removeEventListener("slotchange",slotchange)}catch{}throw new Error("Unable to observe inherited context in the owner realm.")}const observation={root,releaseObserver,localeSubscribers,directionSubscribers,directionSubscriptions,slotchange,subscriberCount:0};return rootObservations.set(root,observation),observation}function openShadowRoot(element){if(!element)return null;const candidate=element.shadowRoot;return candidate!==null&&typeof candidate=="object"&&candidate.nodeType===11?candidate:null}function groupedAncestors(host,kind){const byRoot=new Map,visited=new Set,addChain=(first,parent)=>{let ancestor=first;for(;ancestor&&!visited.has(ancestor);){visited.add(ancestor);const root=ancestor.getRootNode(),group=byRoot.get(root)??[];group.push(ancestor),byRoot.set(root,group),ancestor=parent(ancestor)}};if(kind==="locale"?addChain(domParentElement(host),domParentElement):(addChain(flattenedParentElement(host),flattenedParentElement),addChain(domParentElement(host),domParentElement)),kind==="direction"&&!assignedSlotOf(host)){const prospectiveSlotRoot=openShadowRoot(host.parentElement);prospectiveSlotRoot&&!byRoot.has(prospectiveSlotRoot)&&byRoot.set(prospectiveSlotRoot,[])}return byRoot}function releaseObservationReference(observation){if(observation.subscriberCount-=1,observation.subscriberCount===0){try{observation.releaseObserver()}catch{}if(observation.slotchange)try{observation.root.removeEventListener("slotchange",observation.slotchange)}catch{}rootObservations.delete(observation.root)}}function releaseUnattachedBindings(bindings){for(const{observation}of bindings)releaseObservationReference(observation)}function releaseOwnerLifecycle(subscription){const lifecycle=subscription.ownerLifecycle;if(lifecycle&&(subscription.ownerLifecycle=void 0,lifecycle.subscriptions.delete(subscription),lifecycle.subscriptions.size===0)){try{lifecycle.view.removeEventListener("pagehide",lifecycle.pagehide)}catch{}ownerDocumentLifecycles.delete(lifecycle.document)}}function ensureOwnerLifecycle(subscription){const ownerDocument=subscription.host.ownerDocument;if(subscription.ownerLifecycle?.document===ownerDocument)return;releaseOwnerLifecycle(subscription);const view=ownerView(subscription.host);if(!view)return;let lifecycle=ownerDocumentLifecycles.get(ownerDocument);if(!lifecycle){const subscriptions=new Set,pagehide=event=>{if(event.persisted!==!0)for(const active of[...subscriptions])stopInheritedContextObservation(active)};lifecycle={document:ownerDocument,view,subscriptions,pagehide};try{view.addEventListener("pagehide",pagehide)}catch{return}ownerDocumentLifecycles.set(ownerDocument,lifecycle)}lifecycle.subscriptions.add(subscription),subscription.ownerLifecycle=lifecycle}function acquireRootBindings(host,kind){const view=ownerView(host);if(view===void 0)return;if(view===null)return[];let Observer;try{Observer=view.MutationObserver}catch{return}if(!Observer)return;const bindings=[];try{for(const[root,ancestors]of groupedAncestors(host,kind)){const observation=rootObservations.get(root)??createRootObservation(root,Observer);observation&&(observation.subscriberCount+=1,bindings.push({observation,ancestors}))}return bindings}catch{releaseUnattachedBindings(bindings);return}}function addToMap(map,ancestor,subscription){const subscribers=map.get(ancestor)??new Set;subscribers.add(subscription),map.set(ancestor,subscribers)}function removeFromMap(map,ancestor,subscription){const subscribers=map.get(ancestor);subscribers?.delete(subscription),subscribers?.size===0&&map.delete(ancestor)}function attachBindings(subscription,kind,bindings){for(const{observation,ancestors}of bindings){const map=kind==="locale"?observation.localeSubscribers:observation.directionSubscribers;for(const ancestor of ancestors)addToMap(map,ancestor,subscription);kind==="direction"&&observation.directionSubscriptions.add(subscription)}}function detachBindings(subscription,kind,bindings){for(const{observation,ancestors}of bindings){const map=kind==="locale"?observation.localeSubscribers:observation.directionSubscribers;for(const ancestor of ancestors)removeFromMap(map,ancestor,subscription);kind==="direction"&&observation.directionSubscriptions.delete(subscription)}}function currentBindings(subscription,kind){return kind==="locale"?subscription.localeBindings:subscription.directionBindings}function setCurrentBindings(subscription,kind,bindings){kind==="locale"?(subscription.localeBindings=bindings,subscription.localeBound=!0):(subscription.directionBindings=bindings,subscription.directionBound=!0)}function bind(subscription,kind){ensureOwnerLifecycle(subscription);const bindings=acquireRootBindings(subscription.host,kind);return bindings?(attachBindings(subscription,kind,bindings),setCurrentBindings(subscription,kind,bindings),!0):!1}function sameBindings(previous,next){return previous.length===next.length&&previous.every((binding,index)=>{const other=next[index];return binding.observation===other.observation&&binding.ancestors.length===other.ancestors.length&&binding.ancestors.every((ancestor,position)=>ancestor===other.ancestors[position])})}function rebind(subscription,kind){ensureOwnerLifecycle(subscription);const next=acquireRootBindings(subscription.host,kind);if(!next)return!1;const previous=currentBindings(subscription,kind);return sameBindings(previous,next)?(releaseUnattachedBindings(next),!0):(detachBindings(subscription,kind,previous),releaseUnattachedBindings(previous),attachBindings(subscription,kind,next),setCurrentBindings(subscription,kind,next),!0)}function activate(subscription,kind){kind==="locale"?(subscription.state.localeSensitive=!0,subscription.localeBound||bind(subscription,kind)):(subscription.state.directionSensitive=!0,subscription.directionBound||bind(subscription,kind))}function flushInheritedContextChanges(){flushQueued=!1;const pending=[...pendingSubscriptions];pendingSubscriptions.clear();for(const subscription of pending){const checkLocale=subscription.recheckLocale,checkDirection=subscription.recheckDirection,rebindLocale=subscription.rebindLocale,rebindDirection=subscription.rebindDirection,pendingLocaleMutationSequence=subscription.pendingLocaleMutationSequence,pendingDirectionMutationSequence=subscription.pendingDirectionMutationSequence;if(subscription.recheckLocale=!1,subscription.recheckDirection=!1,subscription.rebindLocale=!1,subscription.rebindDirection=!1,subscription.pendingLocaleMutationSequence=void 0,subscription.pendingDirectionMutationSequence=void 0,!subscription.active||!subscription.host.isConnected)continue;rebindLocale&&rebind(subscription,"locale"),rebindDirection&&rebind(subscription,"direction"),invalidateLyraLocaleCache(subscription.host);let changed=!1;const localeAlreadyRendered=pendingLocaleMutationSequence!==void 0&&subscription.state.lastLocaleReadSequence>=pendingLocaleMutationSequence,directionAlreadyRendered=pendingDirectionMutationSequence!==void 0&&subscription.state.lastDirectionReadSequence>=pendingDirectionMutationSequence;if(checkLocale&&pendingLocaleMutationSequence!==void 0&&!localeAlreadyRendered)try{const previousLocale=subscription.state.lastLocale??peekLyraLocale(subscription.host),locale=resolveLyraLocale(subscription.host);changed||=previousLocale!==void 0&&locale!==previousLocale}catch{}if(checkDirection&&pendingDirectionMutationSequence!==void 0&&!directionAlreadyRendered)try{const previousDirection=subscription.state.lastDirection??peekLyraDirection(subscription.host),direction=resolveLyraDirection(subscription.host);changed||=previousDirection!==void 0&&direction!==previousDirection}catch{}changed&&subscription.host.requestUpdate()}}function observeInheritedContext(host){const previous=hostSubscriptions.get(host);previous?.active&&stopInheritedContextObservation(previous);const state=hostStates.get(host)??{localeSensitive:!1,directionSensitive:!1,localeMutationSequence:0,directionMutationSequence:0,lastLocaleReadSequence:0,lastDirectionReadSequence:0,updateActive:!1,activeUpdateRendered:!1};hostStates.set(host,state);const subscription={host,state,active:!0,localeBindings:[],directionBindings:[],localeBound:!1,directionBound:!1,recheckLocale:!1,recheckDirection:!1,rebindLocale:!1,rebindDirection:!1};return hostSubscriptions.set(host,subscription),state.localeSensitive&&(activate(subscription,"locale"),queueSubscription(subscription,!0,!1)),state.directionSensitive&&(activate(subscription,"direction"),queueSubscription(subscription,!1,!0)),()=>stopInheritedContextObservation(subscription)}function stopInheritedContextObservation(subscription){subscription.active&&(subscription.active=!1,pendingSubscriptions.delete(subscription),detachBindings(subscription,"locale",subscription.localeBindings),releaseUnattachedBindings(subscription.localeBindings),detachBindings(subscription,"direction",subscription.directionBindings),releaseUnattachedBindings(subscription.directionBindings),subscription.localeBindings=[],subscription.directionBindings=[],subscription.localeBound=!1,subscription.directionBound=!1,releaseOwnerLifecycle(subscription),hostSubscriptions.get(subscription.host)===subscription&&hostSubscriptions.delete(subscription.host))}function recordInheritedLocaleRead(host,locale){const subscription=hostSubscriptions.get(host);!subscription?.active||locale===void 0||(activate(subscription,"locale"),subscription.state.updateActive&&!subscription.state.activeUpdateRendered?(subscription.state.activeLocale=locale,subscription.state.activeLocaleReadSequence=subscription.state.localeMutationSequence):subscription.state.lastLocale??=locale)}function recordInheritedDirectionRead(host,direction){const subscription=hostSubscriptions.get(host);subscription?.active&&(activate(subscription,"direction"),subscription.state.updateActive&&!subscription.state.activeUpdateRendered?(subscription.state.activeDirection=direction,subscription.state.activeDirectionReadSequence=subscription.state.directionMutationSequence):subscription.state.lastDirection??=direction)}function beginInheritedContextUpdate(host){const state=hostStates.get(host);!state||state.updateActive||(state.updateActive=!0,state.activeUpdateRendered=!1,state.activeLocale=void 0,state.activeDirection=void 0,state.activeLocaleReadSequence=void 0,state.activeDirectionReadSequence=void 0)}function markInheritedContextUpdateRendered(host){const state=hostStates.get(host);state?.updateActive&&(state.activeUpdateRendered=!0)}function finishInheritedContextUpdate(host){const state=hostStates.get(host);state?.updateActive&&(state.activeUpdateRendered&&(state.activeLocale!==void 0&&state.activeLocaleReadSequence!==void 0&&(state.lastLocale=state.activeLocale,state.lastLocaleReadSequence=state.activeLocaleReadSequence),state.activeDirection!==void 0&&state.activeDirectionReadSequence!==void 0&&(state.lastDirection=state.activeDirection,state.lastDirectionReadSequence=state.activeDirectionReadSequence)),state.updateActive=!1,state.activeUpdateRendered=!1,state.activeLocale=void 0,state.activeDirection=void 0,state.activeLocaleReadSequence=void 0,state.activeDirectionReadSequence=void 0)}function queueInheritedDirectionChange(host,flattenedTreeChanged=!1){const subscription=hostSubscriptions.get(host);subscription?.active&&queueSubscription(subscription,!1,!0,flattenedTreeChanged)}export{beginInheritedContextUpdate,finishInheritedContextUpdate,markInheritedContextUpdateRendered,observeInheritedContext,queueInheritedDirectionChange,recordInheritedDirectionRead,recordInheritedLocaleRead};
|
|
1
|
+
import{invalidateLyraLocaleCache,peekLyraDirection,peekLyraLocale,resolveLyraDirection,resolveLyraLocale}from"./localization-runtime.js";import{assignedSlotOf,domParentElement,flattenedParentElement,ownerView,sameNodes,visitAncestorChain}from"./composed-tree.js";import{nodeContainsSlot,someListedNode}from"./dom-guards.js";import{addAncestorSubscriber,removeAncestorSubscriber,subscribeInheritedAttributes}from"./inherited-attribute-hub.js";import{requestContextUpdate}from"./context-update.js";const INHERITED_CONTEXT_ATTRIBUTES=["locale","lang","dir","class","style","slot","name"],rootObservations=new WeakMap,ownerDocumentLifecycles=new WeakMap,hostStates=new WeakMap,hostSubscriptions=new WeakMap,pendingSubscriptions=new Set;let flushQueued=!1;function observationTarget(root){return root.nodeType===9?root.documentElement:root.nodeType===11?root:null}function queueSubscription(subscription,locale,direction,rebind2=!1){!subscription.active||!subscription.host.isConnected||(locale&&subscription.state.localeSensitive&&(subscription.state.localeMutationSequence+=1,subscription.pendingLocaleMutationSequence=subscription.state.localeMutationSequence,subscription.recheckLocale=!0,subscription.rebindLocale||=rebind2),direction&&subscription.state.directionSensitive&&(subscription.state.directionMutationSequence+=1,subscription.pendingDirectionMutationSequence=subscription.state.directionMutationSequence,subscription.recheckDirection=!0,subscription.rebindDirection||=rebind2),!(!subscription.recheckLocale&&!subscription.recheckDirection)&&(pendingSubscriptions.add(subscription),!flushQueued&&(flushQueued=!0,queueMicrotask(flushInheritedContextChanges))))}function createRootObservation(root,Observer){if(!observationTarget(root))return;const localeSubscribers=new WeakMap,directionSubscribers=new WeakMap,directionSubscriptions=new Set,queueSlotChanges=()=>{for(const subscription of[...directionSubscriptions])queueSubscription(subscription,!1,!0,!0)};let releaseObserver,slotchange;try{if(releaseObserver=subscribeInheritedAttributes(root,Observer,{attributes:INHERITED_CONTEXT_ATTRIBUTES,childList:root.nodeType===11,changed:records=>{let flattenedTreeMoved=!1;for(const record of records){if(record.type==="childList"){flattenedTreeMoved||=someListedNode(record.addedNodes,nodeContainsSlot)||someListedNode(record.removedNodes,nodeContainsSlot);continue}if(record.type!=="attributes"||record.target.nodeType!==1||typeof record.target.getAttribute!="function")continue;const mutationTarget=record.target,attribute=record.attributeName,localeChanged=attribute==="locale"||attribute==="lang";if(localeChanged)for(const subscription of localeSubscribers.get(mutationTarget)??[])queueSubscription(subscription,!0,!1);const directionRelevant=attribute==="dir"||attribute==="class"||attribute==="style"||localeChanged,flattenedTreeChanged=attribute==="slot"||attribute==="name";if(directionRelevant||flattenedTreeChanged)for(const subscription of directionSubscribers.get(mutationTarget)??[])queueSubscription(subscription,!1,!0,flattenedTreeChanged)}flattenedTreeMoved&&queueSlotChanges()}}),!releaseObserver)throw new Error("Unable to subscribe to inherited attributes.");root.nodeType===11&&(slotchange=queueSlotChanges,root.addEventListener("slotchange",slotchange))}catch{try{releaseObserver?.()}catch{}if(slotchange)try{root.removeEventListener("slotchange",slotchange)}catch{}throw new Error("Unable to observe inherited context in the owner realm.")}const observation={root,releaseObserver,localeSubscribers,directionSubscribers,directionSubscriptions,slotchange,subscriberCount:0};return rootObservations.set(root,observation),observation}function openShadowRoot(element){const root=element?.shadowRoot;return typeof root=="object"&&root?.nodeType===11?root:null}function groupedAncestors(host,kind){const byRoot=new Map,visited=new Set,groupAncestor=ancestor=>{const root=ancestor.getRootNode(),group=byRoot.get(root);group?group.push(ancestor):byRoot.set(root,[ancestor])};if(kind==="direction"&&visitAncestorChain(flattenedParentElement(host),flattenedParentElement,visited,groupAncestor),visitAncestorChain(domParentElement(host),domParentElement,visited,groupAncestor),kind==="direction"&&!assignedSlotOf(host)){const prospectiveSlotRoot=openShadowRoot(host.parentElement);prospectiveSlotRoot&&!byRoot.has(prospectiveSlotRoot)&&byRoot.set(prospectiveSlotRoot,[])}return byRoot}function releaseObservationReference(observation){if(observation.subscriberCount-=1,observation.subscriberCount===0){try{observation.releaseObserver()}catch{}if(observation.slotchange)try{observation.root.removeEventListener("slotchange",observation.slotchange)}catch{}rootObservations.delete(observation.root)}}function releaseUnattachedBindings(bindings){for(const{observation}of bindings)releaseObservationReference(observation)}function releaseOwnerLifecycle(subscription){const lifecycle=subscription.ownerLifecycle;if(lifecycle&&(subscription.ownerLifecycle=void 0,lifecycle.subscriptions.delete(subscription),lifecycle.subscriptions.size===0)){try{lifecycle.view.removeEventListener("pagehide",lifecycle.pagehide)}catch{}ownerDocumentLifecycles.delete(lifecycle.document)}}function ensureOwnerLifecycle(subscription){const ownerDocument=subscription.host.ownerDocument;if(subscription.ownerLifecycle?.document===ownerDocument)return;releaseOwnerLifecycle(subscription);const view=ownerView(subscription.host);if(!view)return;let lifecycle=ownerDocumentLifecycles.get(ownerDocument);if(!lifecycle){const subscriptions=new Set,pagehide=event=>{if(event.persisted!==!0)for(const active of[...subscriptions])stopInheritedContextObservation(active)};lifecycle={document:ownerDocument,view,subscriptions,pagehide};try{view.addEventListener("pagehide",pagehide)}catch{return}ownerDocumentLifecycles.set(ownerDocument,lifecycle)}lifecycle.subscriptions.add(subscription),subscription.ownerLifecycle=lifecycle}function acquireRootBindings(host,kind){const view=ownerView(host);if(view===void 0)return;if(view===null)return[];let Observer;try{Observer=view.MutationObserver}catch{return}if(!Observer)return;const bindings=[];try{for(const[root,ancestors]of groupedAncestors(host,kind)){const observation=rootObservations.get(root)??createRootObservation(root,Observer);observation&&(observation.subscriberCount+=1,bindings.push({observation,ancestors}))}return bindings}catch{releaseUnattachedBindings(bindings);return}}function attachBindings(subscription,kind,bindings){for(const{observation,ancestors}of bindings){const map=kind==="locale"?observation.localeSubscribers:observation.directionSubscribers;for(const ancestor of ancestors)addAncestorSubscriber(map,ancestor,subscription);kind==="direction"&&observation.directionSubscriptions.add(subscription)}}function detachBindings(subscription,kind,bindings){for(const{observation,ancestors}of bindings){const map=kind==="locale"?observation.localeSubscribers:observation.directionSubscribers;for(const ancestor of ancestors)removeAncestorSubscriber(map,ancestor,subscription);kind==="direction"&&observation.directionSubscriptions.delete(subscription)}}function currentBindings(subscription,kind){return kind==="locale"?subscription.localeBindings:subscription.directionBindings}function setCurrentBindings(subscription,kind,bindings){kind==="locale"?(subscription.localeBindings=bindings,subscription.localeBound=!0):(subscription.directionBindings=bindings,subscription.directionBound=!0)}function bind(subscription,kind){ensureOwnerLifecycle(subscription);const bindings=acquireRootBindings(subscription.host,kind);return bindings?(attachBindings(subscription,kind,bindings),setCurrentBindings(subscription,kind,bindings),!0):!1}function sameBindings(previous,next){return previous.length===next.length&&previous.every((binding,index)=>{const other=next[index];return binding.observation===other.observation&&sameNodes(binding.ancestors,other.ancestors)})}function rebind(subscription,kind){ensureOwnerLifecycle(subscription);const next=acquireRootBindings(subscription.host,kind);if(!next)return!1;const previous=currentBindings(subscription,kind);return sameBindings(previous,next)?(releaseUnattachedBindings(next),!0):(detachBindings(subscription,kind,previous),releaseUnattachedBindings(previous),attachBindings(subscription,kind,next),setCurrentBindings(subscription,kind,next),!0)}function activate(subscription,kind){kind==="locale"?(subscription.state.localeSensitive=!0,subscription.localeBound||bind(subscription,kind)):(subscription.state.directionSensitive=!0,subscription.directionBound||bind(subscription,kind))}function flushInheritedContextChanges(){flushQueued=!1;const pending=[...pendingSubscriptions];pendingSubscriptions.clear();for(const subscription of pending){const checkLocale=subscription.recheckLocale,checkDirection=subscription.recheckDirection,rebindLocale=subscription.rebindLocale,rebindDirection=subscription.rebindDirection,pendingLocaleMutationSequence=subscription.pendingLocaleMutationSequence,pendingDirectionMutationSequence=subscription.pendingDirectionMutationSequence;if(subscription.recheckLocale=!1,subscription.recheckDirection=!1,subscription.rebindLocale=!1,subscription.rebindDirection=!1,subscription.pendingLocaleMutationSequence=void 0,subscription.pendingDirectionMutationSequence=void 0,!subscription.active||!subscription.host.isConnected)continue;rebindLocale&&rebind(subscription,"locale"),rebindDirection&&rebind(subscription,"direction"),invalidateLyraLocaleCache(subscription.host);let changed=!1;const localeAlreadyRendered=pendingLocaleMutationSequence!==void 0&&subscription.state.lastLocaleReadSequence>=pendingLocaleMutationSequence,directionAlreadyRendered=pendingDirectionMutationSequence!==void 0&&subscription.state.lastDirectionReadSequence>=pendingDirectionMutationSequence;if(checkLocale&&pendingLocaleMutationSequence!==void 0&&!localeAlreadyRendered)try{const previousLocale=subscription.state.lastLocale??peekLyraLocale(subscription.host),locale=resolveLyraLocale(subscription.host);changed||=previousLocale!==void 0&&locale!==previousLocale}catch{}if(checkDirection&&pendingDirectionMutationSequence!==void 0&&!directionAlreadyRendered)try{const previousDirection=subscription.state.lastDirection??peekLyraDirection(subscription.host),direction=resolveLyraDirection(subscription.host);changed||=previousDirection!==void 0&&direction!==previousDirection}catch{}changed&&requestContextUpdate(subscription.host)}}function observeInheritedContext(host){const previous=hostSubscriptions.get(host);previous?.active&&stopInheritedContextObservation(previous);const state=hostStates.get(host)??{localeSensitive:!1,directionSensitive:!1,localeMutationSequence:0,directionMutationSequence:0,lastLocaleReadSequence:0,lastDirectionReadSequence:0,updateActive:!1,activeUpdateRendered:!1};hostStates.set(host,state);const subscription={host,state,active:!0,localeBindings:[],directionBindings:[],localeBound:!1,directionBound:!1,recheckLocale:!1,recheckDirection:!1,rebindLocale:!1,rebindDirection:!1};return hostSubscriptions.set(host,subscription),state.localeSensitive&&(activate(subscription,"locale"),queueSubscription(subscription,!0,!1)),state.directionSensitive&&(activate(subscription,"direction"),queueSubscription(subscription,!1,!0)),()=>stopInheritedContextObservation(subscription)}function stopInheritedContextObservation(subscription){subscription.active&&(subscription.active=!1,pendingSubscriptions.delete(subscription),detachBindings(subscription,"locale",subscription.localeBindings),releaseUnattachedBindings(subscription.localeBindings),detachBindings(subscription,"direction",subscription.directionBindings),releaseUnattachedBindings(subscription.directionBindings),subscription.localeBindings=[],subscription.directionBindings=[],subscription.localeBound=!1,subscription.directionBound=!1,releaseOwnerLifecycle(subscription),hostSubscriptions.get(subscription.host)===subscription&&hostSubscriptions.delete(subscription.host))}function recordInheritedLocaleRead(host,locale){const subscription=hostSubscriptions.get(host);!subscription?.active||locale===void 0||(activate(subscription,"locale"),subscription.state.updateActive&&!subscription.state.activeUpdateRendered?(subscription.state.activeLocale=locale,subscription.state.activeLocaleReadSequence=subscription.state.localeMutationSequence):subscription.state.lastLocale??=locale)}function recordInheritedDirectionRead(host,direction){const subscription=hostSubscriptions.get(host);subscription?.active&&(activate(subscription,"direction"),subscription.state.updateActive&&!subscription.state.activeUpdateRendered?(subscription.state.activeDirection=direction,subscription.state.activeDirectionReadSequence=subscription.state.directionMutationSequence):subscription.state.lastDirection??=direction)}function beginInheritedContextUpdate(host){const state=hostStates.get(host);!state||state.updateActive||(state.updateActive=!0,state.activeUpdateRendered=!1,state.activeLocale=void 0,state.activeDirection=void 0,state.activeLocaleReadSequence=void 0,state.activeDirectionReadSequence=void 0)}function markInheritedContextUpdateRendered(host){const state=hostStates.get(host);state?.updateActive&&(state.activeUpdateRendered=!0)}function finishInheritedContextUpdate(host){const state=hostStates.get(host);state?.updateActive&&(state.activeUpdateRendered&&(state.activeLocale!==void 0&&state.activeLocaleReadSequence!==void 0&&(state.lastLocale=state.activeLocale,state.lastLocaleReadSequence=state.activeLocaleReadSequence),state.activeDirection!==void 0&&state.activeDirectionReadSequence!==void 0&&(state.lastDirection=state.activeDirection,state.lastDirectionReadSequence=state.activeDirectionReadSequence)),state.updateActive=!1,state.activeUpdateRendered=!1,state.activeLocale=void 0,state.activeDirection=void 0,state.activeLocaleReadSequence=void 0,state.activeDirectionReadSequence=void 0)}function queueInheritedDirectionChange(host,flattenedTreeChanged=!1){const subscription=hostSubscriptions.get(host);subscription?.active&&queueSubscription(subscription,!1,!0,flattenedTreeChanged)}export{beginInheritedContextUpdate,finishInheritedContextUpdate,markInheritedContextUpdateRendered,observeInheritedContext,queueInheritedDirectionChange,recordInheritedDirectionRead,recordInheritedLocaleRead};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class InputLimitAnnouncement{constructor(host,options){this.options=options,this.mounted=!1,this.wasLimited=!1,host.addController(this)}hostUpdated(){const limited=this.options.limited();this.mounted&&limited&&!this.wasLimited&&this.options.announce(),this.wasLimited=limited,this.mounted=!0}}export{InputLimitAnnouncement};
|