@aceshooting/lyra-ui 30.9.0 → 31.1.1
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 +361 -335
- package/dist/ai/adapters/ag-ui.js +1 -1
- package/dist/autoloader-cdn.js +1 -1
- package/dist/components/agent-tools/activity-feed/activity-feed.class.js +1 -1
- package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +12 -1
- package/dist/components/agent-tools/budget-meter/budget-meter.class.js +4 -4
- package/dist/components/agent-tools/compare-panel/compare-panel.class.js +1 -1
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.js +1 -1
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.js +1 -1
- package/dist/components/charts/chart/box-plot.class.js +2 -2
- package/dist/components/charts/chart/chart-sync.js +1 -1
- package/dist/components/charts/chart/chart.class.d.ts +1 -1
- package/dist/components/charts/chart/chart.class.js +4 -4
- package/dist/components/charts/chart/lite-chart-axis-layout.js +1 -1
- package/dist/components/charts/chart/lite-chart.class.js +2 -2
- package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +26 -11
- package/dist/components/conversation/chat-composer/chat-composer.class.js +11 -9
- package/dist/components/conversation/chat-composer/chat-composer.styles.js +1 -1
- package/dist/components/conversation/chat-message/chat-message.class.d.ts +27 -3
- package/dist/components/conversation/chat-message/chat-message.class.js +14 -12
- package/dist/components/conversation/chat-message/chat-message.styles.js +1 -1
- package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +29 -2
- package/dist/components/conversation/chat-viewport/chat-viewport.class.js +2 -2
- package/dist/components/conversation/chat-viewport/chat-viewport.styles.js +1 -1
- package/dist/components/conversation/code-block/code-block-shared.js +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.d.ts +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-code-header.js +1 -1
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +10 -0
- package/dist/components/conversation/markdown/markdown-core.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-shared.d.ts +7 -2
- package/dist/components/conversation/markdown/markdown-shared.js +3 -3
- package/dist/components/conversation/markdown/markdown.class.d.ts +10 -0
- package/dist/components/conversation/markdown/markdown.class.js +1 -1
- package/dist/components/conversation/message-feedback/message-feedback.class.d.ts +11 -3
- package/dist/components/conversation/message-feedback/message-feedback.class.js +12 -6
- package/dist/components/conversation/message-feedback/message-feedback.styles.js +1 -1
- package/dist/components/conversation/message-parts/message-parts.class.js +1 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.d.ts +8 -4
- package/dist/components/conversation/prompt-input/prompt-input.class.js +3 -2
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js +1 -1
- package/dist/components/conversation/streaming-text/streaming-text-base.class.d.ts +4 -0
- package/dist/components/conversation/streaming-text/streaming-text-base.class.js +1 -1
- package/dist/components/conversation/streaming-text/streaming-text-core.class.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text-core.class.js +1 -0
- package/dist/components/conversation/streaming-text/streaming-text.class.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text.class.js +1 -0
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +17 -3
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.js +3 -3
- package/dist/components/conversation/suggestion-chips/suggestion-chips.d.ts +1 -1
- package/dist/components/conversation/suggestion-chips/suggestion-chips.js +1 -1
- package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.js +3 -3
- package/dist/components/conversation/transcript-feed/transcript-feed.class.js +1 -1
- package/dist/components/data/data-grid/data-grid.class.d.ts +10 -10
- package/dist/components/data/data-grid/data-grid.class.js +1 -1
- package/dist/components/data/document-library/document-library-cursor.js +1 -0
- package/dist/components/data/document-library/document-library-types.d.ts +20 -0
- package/dist/components/data/document-library/document-library.class.d.ts +37 -26
- package/dist/components/data/document-library/document-library.class.js +20 -11
- package/dist/components/data/document-library/document-library.styles.js +1 -1
- package/dist/components/data/file-tree/file-tree.class.js +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.js +2 -2
- package/dist/components/data/heatmap/heatmap.class.d.ts +1 -1
- package/dist/components/data/heatmap/heatmap.class.js +1 -1
- package/dist/components/data/pagination/pagination.class.js +1 -1
- package/dist/components/data/table/table.class.d.ts +31 -2
- package/dist/components/data/table/table.class.js +3 -3
- package/dist/components/data/table/table.styles.js +1 -1
- package/dist/components/data/timeline/timeline-cluster.js +1 -1
- package/dist/components/data/timeline/timeline-item.class.d.ts +10 -3
- package/dist/components/data/timeline/timeline-item.class.js +16 -12
- package/dist/components/data/timeline/timeline-item.styles.js +1 -1
- package/dist/components/data/timeline/timeline.class.d.ts +14 -2
- package/dist/components/data/timeline/timeline.class.js +9 -5
- package/dist/components/data/tree/tree-item.class.js +1 -1
- package/dist/components/data/tree/tree.class.d.ts +2 -0
- package/dist/components/data/tree/tree.class.js +1 -1
- package/dist/components/forms/button/button.class.d.ts +8 -6
- package/dist/components/forms/button/button.class.js +2 -2
- package/dist/components/forms/checkbox-group/checkbox-group.class.js +1 -1
- package/dist/components/forms/color-picker/color-core.js +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +20 -12
- package/dist/components/forms/combobox/combobox.class.js +2 -2
- package/dist/components/forms/date-picker/date-input.class.d.ts +1 -1
- package/dist/components/forms/date-picker/date-input.class.js +1 -1
- package/dist/components/forms/icon-button/icon-button.class.d.ts +4 -2
- package/dist/components/forms/icon-button/icon-button.class.js +2 -2
- package/dist/components/forms/input/input-shared.js +2 -2
- package/dist/components/forms/input/number-input-locale.js +1 -0
- package/dist/components/forms/input/number-input.class.d.ts +19 -2
- package/dist/components/forms/input/number-input.class.js +2 -2
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +3 -3
- package/dist/components/forms/locale-picker/locale-picker.class.js +1 -1
- package/dist/components/layout/app-rail-group/app-rail-group.class.js +1 -1
- package/dist/components/layout/details/accordion-item.class.js +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.js +1 -1
- package/dist/components/layout/menu/menu.class.js +1 -1
- package/dist/components/layout/multi-split/multi-split.class.js +1 -1
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.js +1 -1
- package/dist/components/layout/page/page.class.d.ts +3 -3
- package/dist/components/layout/page/page.class.js +1 -1
- package/dist/components/layout/segmented/segmented.class.d.ts +20 -7
- package/dist/components/layout/segmented/segmented.class.js +34 -24
- package/dist/components/layout/segmented/segmented.styles.js +1 -1
- package/dist/components/layout/stepper/stepper.styles.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.d.ts +8 -1
- package/dist/components/layout/tab-group/tab-group.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 +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts +2 -2
- package/dist/components/layout/virtual-list/virtual-list.class.js +1 -1
- package/dist/components/media/animated-image/animated-image.class.js +1 -1
- package/dist/components/media/attachment-chip/attachment-chip.class.d.ts +21 -14
- package/dist/components/media/attachment-chip/attachment-chip.class.js +1 -1
- package/dist/components/media/attachment-trigger/attachment-trigger.class.d.ts +36 -12
- package/dist/components/media/attachment-trigger/attachment-trigger.class.js +3 -3
- package/dist/components/media/drop-zone/drop-zone.class.d.ts +23 -5
- package/dist/components/media/drop-zone/drop-zone.class.js +2 -2
- package/dist/components/media/drop-zone/drop-zone.styles.js +1 -1
- package/dist/components/media/file-icon/file-icon.class.js +1 -1
- package/dist/components/media/flag/flag-url-resolver.js +1 -1
- package/dist/components/media/image-viewer/image-viewer.class.d.ts +2 -2
- package/dist/components/media/image-viewer/image-viewer.class.js +1 -1
- package/dist/components/media/map/map-anchor-controller.js +1 -1
- package/dist/components/media/map/map-canvas-target.js +1 -0
- package/dist/components/media/map/map-owned-features.js +1 -1
- package/dist/components/media/map/map-scene-elevated-lines.js +2 -2
- package/dist/components/media/map/map-scene-render-controller.js +1 -1
- package/dist/components/media/map/map.class.d.ts +15 -6
- package/dist/components/media/map/map.class.js +4 -4
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/pan-zoom/pan-zoom.class.js +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +21 -9
- package/dist/components/media/sequence-playback/sequence-playback.class.js +7 -6
- package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
- package/dist/components/media/video/video.class.d.ts +3 -3
- package/dist/components/media/video/video.class.js +3 -1
- package/dist/components/media/video-playlist/video-playlist.class.js +1 -1
- package/dist/components/overlays/chip/chip.class.js +1 -1
- package/dist/components/overlays/overlay/dropdown.class.js +1 -1
- package/dist/components/overlays/overlay/overlay.styles.js +1 -1
- package/dist/components/overlays/overlay/tooltip.class.d.ts +5 -1
- package/dist/components/overlays/overlay/tooltip.class.js +3 -3
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-engine.js +1 -1
- package/dist/components/retrieval/graph/graph-node-renderer.js +1 -1
- package/dist/components/retrieval/graph/graph-spatial-controller.js +1 -1
- package/dist/components/retrieval/graph/graph.class.d.ts +1 -1
- package/dist/components/retrieval/graph/graph.class.js +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue-presentation.d.ts +11 -0
- package/dist/components/retrieval/ingestion-queue/ingestion-queue-presentation.js +1 -0
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +18 -7
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +13 -26
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.styles.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map.class.js +1 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.d.ts +1 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.js +3 -3
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +1 -1
- package/dist/components/utility/diff-view/diff-view.class.d.ts +5 -5
- package/dist/components/utility/diff-view/diff-view.class.js +1 -1
- package/dist/components/utility/icon/icon.class.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.d.ts +16 -1
- package/dist/components/utility/json-viewer/json-viewer.class.js +4 -4
- package/dist/components/utility/json-viewer/json-viewer.styles.js +1 -1
- package/dist/components/utility/known-date/known-date.class.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.class.js +1 -1
- package/dist/components/viewers/csv-viewer/csv-viewer.class.js +1 -1
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.js +2 -2
- package/dist/components/viewers/docx-viewer/docx-viewer.class.d.ts +1 -1
- package/dist/components/viewers/docx-viewer/docx-viewer.class.js +2 -2
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.js +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.d.ts +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.js +2 -2
- package/dist/components/viewers/html-viewer/html-viewer.class.js +1 -1
- package/dist/components/viewers/include/include.class.js +1 -1
- package/dist/components/viewers/model-viewer/model-viewer.class.js +1 -1
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +2 -2
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +2 -2
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +2 -2
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +1 -1
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.js +1 -1
- package/dist/components/viewers/svg-viewer/svg-viewer.class.js +1 -1
- package/dist/components/viewers/table-viewer-shared.js +4 -4
- package/dist/components/viewers/xml-viewer/xml-viewer.class.js +2 -2
- package/dist/data-sources.d.ts +10 -0
- package/dist/events.d.ts +9 -4
- package/dist/framework-types.d.ts +1 -1
- package/dist/internal/anchored-overlay-runtime.js +1 -1
- package/dist/internal/catalog-picker.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/retrieval.generated.js +1 -1
- package/dist/internal/document-tokens.js +2 -2
- package/dist/internal/drop-session-controller.js +1 -1
- package/dist/internal/engine-3d.js +1 -1
- package/dist/internal/icon-only-content.js +1 -1
- package/dist/internal/layered-layout.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +1 -1
- package/dist/internal/lyra-element.js +2 -2
- package/dist/internal/map-custom-layer-controller.js +1 -1
- package/dist/internal/media-panorama.js +1 -1
- package/dist/internal/native-modal-context.js +1 -1
- package/dist/internal/overlay-manager.js +1 -1
- package/dist/internal/overlay-order.js +1 -1
- package/dist/internal/overlay-stack.js +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/runtime-diagnostics.js +1 -0
- package/dist/internal/safe-url.js +1 -1
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/scroll-overflow.js +1 -1
- package/dist/internal/source-cursor-controller.js +1 -0
- package/dist/internal/source-cursor-projection.js +1 -0
- package/dist/internal/source-page-scope.js +1 -1
- package/dist/internal/source-window-controller.js +1 -1
- package/dist/internal/text-quote.js +1 -1
- package/dist/internal/viewer-search.js +1 -1
- package/dist/lyra.d.ts +1 -1
- package/dist/sequence-time-binding.js +1 -1
- package/dist/simulation-clock.js +1 -1
- package/dist/styles/reservations.css +1 -1
- package/dist/styles/reservations.styles.js +1 -1
- package/dist/testing/happy-dom-shims.js +1 -1
- package/dist/theme/theme-bootstrap.js +1 -1
- package/dist/theme/theme.js +1 -1
- package/dist/utilities/overlay-manager.d.ts +2 -0
- package/llms/components/lr-attachment-chip.md +27 -12
- package/llms/components/lr-attachment-trigger.md +27 -7
- package/llms/components/lr-budget-meter.md +31 -0
- package/llms/components/lr-button.md +6 -4
- package/llms/components/lr-chat-composer.md +26 -9
- package/llms/components/lr-chat-message.md +44 -3
- package/llms/components/lr-chat-viewport.md +39 -2
- package/llms/components/lr-combobox.md +27 -1
- package/llms/components/lr-data-grid.md +2 -0
- package/llms/components/lr-dialog.md +10 -0
- package/llms/components/lr-diff-view.md +6 -0
- package/llms/components/lr-document-library.md +90 -6
- package/llms/components/lr-drop-zone.md +26 -2
- package/llms/components/lr-graph.md +5 -0
- package/llms/components/lr-icon-button.md +2 -1
- package/llms/components/lr-ingestion-queue.md +76 -8
- package/llms/components/lr-json-viewer.md +51 -0
- package/llms/components/lr-lite-chart.md +2 -1
- package/llms/components/lr-locale-picker.md +5 -0
- package/llms/components/lr-map.md +33 -0
- package/llms/components/lr-markdown-core.md +2 -1
- package/llms/components/lr-markdown.md +20 -4
- package/llms/components/lr-menu.md +3 -1
- package/llms/components/lr-message-feedback.md +38 -3
- package/llms/components/lr-number-input.md +28 -1
- package/llms/components/lr-page.md +4 -2
- package/llms/components/lr-prompt-input.md +6 -3
- package/llms/components/lr-segmented.md +30 -10
- package/llms/components/lr-sequence-playback.md +47 -12
- package/llms/components/lr-streaming-text-core.md +3 -2
- package/llms/components/lr-streaming-text.md +4 -1
- package/llms/components/lr-suggestion-chips.md +28 -5
- package/llms/components/lr-tab-group.md +13 -1
- package/llms/components/lr-tab.md +5 -0
- package/llms/components/lr-table.md +25 -4
- package/llms/components/lr-timeline-item.md +1 -1
- package/llms/components/lr-timeline.md +38 -4
- package/llms/components/lr-tooltip.md +3 -1
- package/llms/components/lr-tree.md +4 -0
- package/llms/components/lr-virtual-list.md +4 -1
- package/llms/peers.md +2 -2
- package/llms/shared/events-and-types.md +61 -2
- package/llms/shared/forms-and-accessibility.md +46 -4
- package/llms/shared/imports-and-registration.md +154 -110
- package/llms/shared/testing-and-utilities.md +5 -1
- package/llms/shared.md +266 -117
- package/locales.json +1 -1
- package/package.json +22 -21
- package/registrations.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const defaultRuntimeLoader=()=>import("./positioner.js").then(runtime=>({place:runtime.placeAnchoredSurface,placeSession:runtime.placeAnchoredSurfaceSession,trackRect:runtime.trackRect,releaseTopLayer:runtime.releaseTopLayer}));let runtimeLoader=defaultRuntimeLoader,runtimePromise;function loadAnchoredOverlayRuntime(){if(runtimePromise)return runtimePromise;const pending=runtimeLoader().catch(error=>{throw runtimePromise===pending&&(runtimePromise=void 0),error});return runtimePromise=pending}const activePlacementByPopup=new WeakMap;function concealPendingPopup(popup,strategy){activePlacementByPopup.get(popup)?.(),popup.style.position=strategy??"fixed";const pending=[popup.style.visibility,popup.style.getPropertyPriority("visibility")];return popup.style.setProperty("visibility","hidden","important"),pending}function releasePendingPopup(popup,pending){const[value,priority]=pending;popup.style.visibility!=="hidden"||popup.style.getPropertyPriority("visibility")!=="important"||popup.style.setProperty("visibility",value,priority)}function deferredPlace(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,cleanup,positioned=!1;const dispose=()=>{active&&(active=!1,activePlacementByPopup.delete(popup),cleanup?.(),releasePendingPopup(popup,pendingVisibility))};return activePlacementByPopup.set(popup,dispose),loadAnchoredOverlayRuntime().then(runtime=>{if(active)try{
|
|
1
|
+
const defaultRuntimeLoader=()=>import("./positioner.js").then(runtime=>({place:runtime.placeAnchoredSurface,placeSession:runtime.placeAnchoredSurfaceSession,trackRect:runtime.trackRect,releaseTopLayer:runtime.releaseTopLayer}));let runtimeLoader=defaultRuntimeLoader,runtimePromise;function loadAnchoredOverlayRuntime(){if(runtimePromise)return runtimePromise;const pending=runtimeLoader().catch(error=>{throw runtimePromise===pending&&(runtimePromise=void 0),error});return runtimePromise=pending}const activePlacementByPopup=new WeakMap;function concealPendingPopup(popup,strategy){activePlacementByPopup.get(popup)?.(),popup.style.position=strategy??"fixed";const pending=[popup.style.visibility,popup.style.getPropertyPriority("visibility")];return popup.style.setProperty("visibility","hidden","important"),pending}function releasePendingPopup(popup,pending){const[value,priority]=pending;popup.style.visibility!=="hidden"||popup.style.getPropertyPriority("visibility")!=="important"||popup.style.setProperty("visibility",value,priority)}function deferredPlace(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,cleanup,positioned=!1;const dispose=()=>{active&&(active=!1,activePlacementByPopup.delete(popup),cleanup?.(),releasePendingPopup(popup,pendingVisibility))};return activePlacementByPopup.set(popup,dispose),loadAnchoredOverlayRuntime().then(runtime=>{if(active)try{const next=runtime.place(anchor,popup,{...options,onPlaced:result=>{active&&(positioned||(positioned=!0,releasePendingPopup(popup,pendingVisibility)),options.onPlaced?.(result))}});active?cleanup=next:next()}catch{}},()=>{}),dispose}function deferredPlaceReady(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,cleanup,settle;const ready=new Promise(resolve=>{settle=resolve}),dispose=(()=>{active&&(active=!1,activePlacementByPopup.delete(popup),cleanup?.(),releasePendingPopup(popup,pendingVisibility),settle?.(!1))});return activePlacementByPopup.set(popup,dispose),loadAnchoredOverlayRuntime().then(runtime=>{if(active)try{const next=runtime.place(anchor,popup,{...options,onPlaced:result=>{active&&(settle&&(releasePendingPopup(popup,pendingVisibility),settle(!0),settle=void 0),options.onPlaced?.(result))}});active?cleanup=next:next()}catch{settle?.(!1)}},()=>settle?.(!1)),dispose.ready=ready,dispose}function deferredPlaceSession(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,suspended=!1,starting=!1,failed=!1,generation=0,runtime,cleanup,retained,settle;const ready=new Promise(resolve=>{settle=resolve}),finish=value=>{settle?.(value),settle=void 0},dispose=()=>{if(!active)return;active=!1,activePlacementByPopup.get(popup)===dispose&&activePlacementByPopup.delete(popup);const stop=cleanup;cleanup=void 0,retained=void 0,stop?.(),releasePendingPopup(popup,pendingVisibility),finish(!1)};activePlacementByPopup.set(popup,dispose);const start=(propagateFailure=!1)=>{if(!active||suspended||starting||failed||cleanup||!runtime)return;const installed=generation,capability=runtime.placeSession;starting=!0;try{const placementOptions={...options,onPlaced:result=>{!active||suspended||!capability&&installed!==generation||(settle&&(releasePendingPopup(popup,pendingVisibility),finish(!0)),options.onPlaced?.(result))}},next=capability?capability.call(runtime,anchor,popup,placementOptions):runtime.place(anchor,popup,placementOptions);if(!active){next();return}cleanup=next,retained=capability?next:void 0,(suspended||installed!==generation)&&(retained?retained.invalidate():(cleanup=void 0,next()))}catch(error){if(failed=!0,finish(!1),propagateFailure)throw error}finally{starting=!1}active&&!suspended&&installed!==generation&&(retained?retained.update():start(propagateFailure))},operation=Object.assign(dispose,{ready,isActive(){return active&&!failed&&(retained?.isActive()??!0)},invalidate(){if(active)if(suspended=!0,generation++,retained)retained.invalidate();else{const stop=cleanup;cleanup=void 0,stop?.()}},update(){active&&(suspended=!1,retained?retained.update():start(!0))}});return loadAnchoredOverlayRuntime().then(value=>{runtime=value,start()},()=>{failed=!0,finish(!1)}),operation}async function waitForDeferredPlacement(current){let operation;for(;operation=current();){const positioned=await operation.ready;if(operation===current())return!!positioned}return!0}async function awaitPopupAnimations(host,popup,isCurrent){const ownerDocument=host.ownerDocument;if(!isCurrent())return!1;if(!host.isConnected)return!0;const view=ownerDocument.defaultView;if(view&&await new Promise(resolve=>view.requestAnimationFrame(()=>resolve())),host.ownerDocument!==ownerDocument||!isCurrent())return!1;const animations=popup()?.getAnimations({subtree:!0})??[];return await Promise.all(animations.map(animation=>animation.finished.catch(()=>{}))),host.ownerDocument===ownerDocument&&isCurrent()}async function settlePopupTransition(options){const{host,isCurrent}=options,ownerDocument=host.ownerDocument,current=()=>host.ownerDocument===ownerDocument&&isCurrent();await host.updateComplete,current()&&(options.waitForPosition&&(!await options.waitForPosition()||!current()||(await host.updateComplete,!current()))||await awaitPopupAnimations(host,options.popup,current)&&(options.conceal&&(options.conceal(),await host.updateComplete,!current())||options.onSettled()))}class PopupTransitionWaiters{#waiters=new Map;wait(event){return new Promise(resolve=>{const waiters=this.#waiters.get(event)??new Set;waiters.add(resolve),this.#waiters.set(event,waiters)})}resolve(event){const waiters=this.#waiters.get(event);if(waiters){this.#waiters.delete(event);for(const resolve of waiters)resolve()}}}function deferredTrackRect(...args){let active=!0,cleanup;return loadAnchoredOverlayRuntime().then(runtime=>{if(!active)return;const next=runtime.trackRect(...args);active?cleanup=next:next()}).catch(()=>{}),()=>{active&&(active=!1,cleanup?.(),cleanup=void 0)}}function __setAnchoredOverlayRuntimeLoaderForTesting(loader){runtimeLoader=loader??defaultRuntimeLoader,runtimePromise=void 0}function topLayerPlacement(topLayer,strategy){return{strategy:topLayer?"fixed":strategy,topLayer}}function syncTopLayerRelease(popup,wasPromoted,topLayer,runtime){if(wasPromoted&&!topLayer){if(runtime)return runtime.releaseTopLayer?.(popup),topLayer;loadAnchoredOverlayRuntime().then(runtime2=>runtime2.releaseTopLayer?.(popup),()=>{})}return topLayer}export{PopupTransitionWaiters,__setAnchoredOverlayRuntimeLoaderForTesting,awaitPopupAnimations,deferredPlace,deferredPlaceReady,deferredPlaceSession,deferredTrackRect,loadAnchoredOverlayRuntime,settlePopupTransition,syncTopLayerRelease,topLayerPlacement,waitForDeferredPlacement};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{setNativeRangeText}from"./native-text-control.js";import{waitForTransitionSettle}from"./css-motion-time.js";import{getOwnDataDescriptor}from"./data-descriptors.js";import{CATALOG_ROW_LIMIT}from"./selection-catalog.js";import{AnchoredPopoverController}from"./anchored-popover-controller.js";import{deferredPlace}from"./anchored-overlay-runtime.js";import{resolveIntlLocale}from"./intl-cache.js";import{prefersReducedMotion}from"./motion.js";import{dispatchNativeEvent,relayNativeEvent}from"./native-event-relay.js";import{activateNonmodalOverlay}from"./nonmodal-overlay-manager.js";import{resolveEffectivePositioningStrategy}from"./positioning-strategy.js";import{TypeAheadBuffer}from"./type-ahead-buffer.js";import{resolveListMove}from"./list-navigation.js";import{PopupController}from"./popup-controller.js";const normalizedCatalogs=new WeakMap;function ownDataValue(target,key){const descriptor=getOwnDataDescriptor(target,key);return typeof descriptor=="symbol"?void 0:descriptor.value}function ownDataCopy(entry){const copy={};let keys=[];try{keys=Object.keys(entry)}catch{}for(const key of keys){const descriptor=getOwnDataDescriptor(entry,key);typeof descriptor!="symbol"&&(copy[key]=descriptor.value)}return Object.freeze(copy)}function normalizeCatalog(catalog){let frozen;try{if(!Array.isArray(catalog))return[];frozen=Object.isFrozen(catalog)}catch{return[]}const known=frozen?normalizedCatalogs.get(catalog):void 0;if(known)return known;const normalized=[],seen=new Set,length=ownDataValue(catalog,"length"),count=typeof length=="number"?Math.min(length,CATALOG_ROW_LIMIT):0;for(let index=0;index<count;index+=1){const entry=ownDataValue(catalog,String(index));let record,id,label;if(typeof entry=="string")record={id:entry,label:entry},id=label=entry;else if(entry!==null&&typeof entry=="object")record=ownDataCopy(entry),id=ownDataValue(entry,"id"),label=ownDataValue(entry,"label");else continue;typeof id!="string"||id.trim()===""||typeof label!="string"||label.trim()===""||seen.has(id)||(seen.add(id),normalized.push(record))}return frozen&&normalizedCatalogs.set(catalog,Object.freeze(normalized)),normalized}function withSyntheticCatalogValue(catalog,value){const entries=catalog.map(entry=>({...entry,synthetic:!1}));return catalog.length&&value.trim()!==""&&!catalog.some(entry=>entry.id===value)&&entries.push({id:value,label:value,synthetic:!0}),entries}function filterCatalogEntries(entries,query,locale,fields){const intlLocale=resolveIntlLocale(locale),normalized=query.trim().toLocaleLowerCase(intlLocale);return normalized?entries.filter(entry=>fields(entry).some(value=>value.toLocaleLowerCase(intlLocale).includes(normalized))):[...entries]}class CatalogPickerController{constructor(host,options){this.host=host,this.options=options,this._activeIndex=-1,this.revealPending=!1,this._query="",this._open=!1,this._value="",this._defaultValue="",this.valueDirty=!1,this.settingDefaultValue=!1,this.reflectingDefaultValue=!1,this._listboxHidden=!0,this.suppressControlEvents=!1,this.rowIndexes=new WeakMap,this.typeBuffer=new TypeAheadBuffer(host),this.popupController=new PopupController({host,onPointer:event=>{event.composedPath().includes(host)||this.overlay?.dismissBackdrop()}}),this.popupPosition=new AnchoredPopoverController((anchor,popup)=>deferredPlace(anchor,popup,{strategy:resolveEffectivePositioningStrategy(this.host,void 0,"fixed")}))}get normalizedCatalog(){const source=this.options.catalog(),memo=this.normalizedMemo;if(memo&&memo.source===source)return memo.rows;const rows=normalizeCatalog(source);return this.normalizedMemo={source,rows},rows}get closedMode(){return this.normalizedCatalog.length>0&&!this.options.allowCustom()}get isReadonly(){return this.options.isReadonly()}get effectiveEntries(){const rows=this.normalizedCatalog,memo=this.effectiveMemo;if(memo&&memo.rows===rows&&memo.value===this._value)return memo.entries;const entries=withSyntheticCatalogValue(rows,this._value);return this.effectiveMemo={rows,value:this._value,entries},entries}get filteredEntries(){const entries=this.effectiveEntries,query=this._query,locale=this.options.locale(),memo=this.filteredMemo;if(memo&&memo.entries===entries&&memo.query===query&&memo.locale===locale)return memo.result;const intlLocale=resolveIntlLocale(locale),needle=query.trim().toLocaleLowerCase(intlLocale);let result;if(!needle)result=[...entries];else{let keys=this.searchKeysMemo;(!keys||keys.entries!==entries||keys.locale!==intlLocale)&&(keys={entries,locale:intlLocale,keys:entries.map(entry=>this.options.searchableFields(entry).map(value=>value.toLocaleLowerCase(intlLocale)))},this.searchKeysMemo=keys);const rowKeys=keys.keys;result=entries.filter((_,index)=>rowKeys[index].some(value=>value.includes(needle)))}return this.filteredMemo={entries,query,locale,result},result}get visibleEntries(){return this.closedMode?this.effectiveEntries:this.filteredEntries}indexesFor(rows){let indexes=this.rowIndexes.get(rows);return indexes||(indexes=new Map,rows.forEach((entry,index)=>{indexes.has(entry.id)||indexes.set(entry.id,index)}),this.rowIndexes.set(rows,indexes)),indexes}entryFor(id){const rows=this.effectiveEntries,index=this.indexesFor(rows).get(id);return index===void 0?void 0:rows[index]}labelFor(id){return id?this.entryFor(id)?.label??id:""}get activeIndex(){return this._activeIndex}setActiveIndex(next){if(next===this._activeIndex)return;const old=this._activeIndex;this.options.beforeActiveIndexChange?.(next,old),this._activeIndex=next,this.revealPending=!0,this.options.onStateChange("activeIndex",old)}revealActiveRow(){const listbox=this.host.renderRoot.querySelector('[part="listbox"]'),row=listbox?.querySelector('[part="option"][data-active]');if(!listbox||row?.offsetParent!==listbox)return;const top=row.offsetTop,bottom=top+row.offsetHeight;top<listbox.scrollTop?listbox.scrollTop=top:bottom>listbox.scrollTop+listbox.clientHeight&&(listbox.scrollTop=bottom-listbox.clientHeight)}get query(){return this._query}setQuery(next){if(next===this._query)return;const old=this._query;this._query=next,this.options.afterQueryChange?.(next,old),this.options.onStateChange("query",old)}get open(){return this._open}get listboxHidden(){return this._listboxHidden}setListboxHidden(next){if(next===this._listboxHidden)return;const old=this._listboxHidden;this._listboxHidden=next,this.options.onStateChange("listboxHidden",old)}cancelListboxHideWatch(){this.listboxHideWatcher?.(),this.listboxHideWatcher=void 0}scheduleListboxHide(){this.cancelListboxHideWatch();const listbox=this.host.renderRoot.querySelector('[part="listbox"]'),watch=waitForTransitionSettle(listbox,this.host,{reducedMotion:prefersReducedMotion(this.host)});if(!watch.pending){this.setListboxHidden(!0);return}const cancel=()=>watch.cancel();this.listboxHideWatcher=cancel,watch.finished.then(()=>{this.listboxHideWatcher===cancel&&(this.listboxHideWatcher=void 0,this.setListboxHidden(!0))})}setOpen(next){const liveDisabled=this.host.effectiveDisabled||typeof this.host.matches=="function"&&this.host.matches(":disabled"),resolved=!!next&&!liveDisabled;if(resolved===this._open){resolved||this.deactivateOverlay(!1),next&&!resolved&&this.host.hasAttribute("open")&&this.host.removeAttribute("open");return}const old=this._open;resolved||(this.setActiveIndex(-1),this.deactivateOverlay(!1)),this._open=resolved,resolved?(this.cancelListboxHideWatch(),this.setListboxHidden(!1),this.closedMode&&this.setActiveIndex(this.entryFor(this._value)?.disabled===!0?-1:this.indexesFor(this.effectiveEntries).get(this._value)??-1)):this.host.updateComplete.then(()=>{this._open||!this.host.isConnected||this.scheduleListboxHide()}),this.options.onStateChange("open",old)}show(){!this._open&&!this.host.effectiveDisabled&&this.setOpen(!0)}hide(){this._open&&this.setOpen(!1)}get value(){return this._value}set value(next){const normalized=next??"";if(this.options.beforeValueChange?.(normalized,this._value),normalized===this._value){this.settingDefaultValue||(this.valueDirty=!0);return}const old=this._value;this.settingDefaultValue||(this.valueDirty=!0),this._value=normalized,this.options.onValueChange(normalized,old)}get defaultValue(){return this._defaultValue}set defaultValue(next){if(this.reflectingDefaultValue)return;const normalized=next??"",old=this._defaultValue;this._defaultValue=normalized,this.reflectDefaultValue(),this.valueDirty||this.restoreLiveValueFromDefault(),this.options.onDefaultValueChange(normalized,old)}resetValue(){this.restoreLiveValueFromDefault()}restoreState(state){this.value=typeof state=="string"?state:""}restoreLiveValueFromDefault(){this.settingDefaultValue=!0;try{this.value=this._defaultValue}finally{this.settingDefaultValue=!1}this.valueDirty=!1}reflectDefaultValue(){this.reflectingDefaultValue=!0;try{this._defaultValue?this.host.setAttribute("value",this._defaultValue):this.host.removeAttribute("value")}finally{this.reflectingDefaultValue=!1}}commitValue(next){if(this.isReadonly)return;const inCatalog=this.indexesFor(this.normalizedCatalog).has(next);this.value=next,this.hide(),this.options.emitChange({value:next,inCatalog}),this.emitValueEvents({value:next,inCatalog})}emitValueEvents(detail={value:this._value,inCatalog:this.indexesFor(this.normalizedCatalog).has(this._value)}){dispatchNativeEvent(this.host,"input"),this.options.emitInput(detail),dispatchNativeEvent(this.host,"change")}commitFreeText(){const active=this.filteredEntries[this._activeIndex],useActive=this._activeIndex>=0&&!!active&&active?.disabled!==!0;this.commitValue(useActive?active.id:this._query.trim())}selectEntry(entry){entry.disabled!==!0&&this.commitValue(entry.id)}reconcileRows(activeValue,rebaseQuery,clampMissing=!0){const rows=this.visibleEntries,remapped=activeValue?this.indexesFor(rows).get(activeValue)??-1:-1;this.setActiveIndex(remapped>=0?remapped:clampMissing?Math.min(this._activeIndex,Math.max(-1,rows.length-1)):-1),rebaseQuery&&this.setQuery(this.labelFor(this._value))}typeAhead(event){const{key}=event;if(!this.typeBuffer.accepts(event)||key===" "&&this.typeBuffer.text==="")return!1;key===" "&&event.preventDefault();const locale=this.options.locale();this.typeBuffer.add(key,locale);const rows=this.effectiveEntries,current=this._open?this._activeIndex:this.indexesFor(rows).get(this._value)??-1,index=this.typeBuffer.match(rows,current,row=>row.label,locale,row=>row.disabled!==!0);if(index!==null){const row=rows[index];this._open?this.setActiveIndex(index):this.selectEntry(row)}return!0}moveIndex(rows,event){return resolveListMove(event,{count:rows.length,current:this._activeIndex,orientation:"vertical",wrap:!1,clamp:!0,backwardFromMissing:"first",isAvailable:index=>rows[index]?.disabled!==!0})??-1}handleTriggerKeyDown(event){if(event.isComposing||event.keyCode===229||event.altKey||event.ctrlKey||event.metaKey||this.typeAhead(event))return;const rows=this.effectiveEntries;switch(event.key){case"ArrowDown":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"ArrowUp":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"Enter":case" ":if(this._open){event.preventDefault();const active=rows[this._activeIndex];this._activeIndex>=0&&active?this.selectEntry(active):this.hide()}break;case"Home":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break;case"End":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break}}handleInputKeyDown(event){if(event.isComposing||event.keyCode===229)return;const rows=this.filteredEntries;switch(event.key){case"ArrowDown":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"ArrowUp":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"Enter":this._open&&(event.preventDefault(),this.commitFreeText());break;case"Home":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break;case"End":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break}}handleInput(event){const input=event.currentTarget;if(!input)return;if(this.isReadonly){input.value=this._open?this._query:this.labelFor(this._value),event.stopPropagation();return}this.setQuery(input.value),this.setActiveIndex(-1),this.show();const detail={value:this._value,inCatalog:this.indexesFor(this.normalizedCatalog).has(this._value)};relayNativeEvent(this.host,event),this.options.emitInput(detail)}handleInputFocus(event){if(this.suppressControlEvents){event.stopPropagation();return}this._open||this.setQuery(this.labelFor(this._value)),this.show(),this.handleControlFocus(event)}handleControlFocus(event){if(this.suppressControlEvents){event.stopPropagation();return}if(this.containsFocusTarget(event.relatedTarget)){event.stopPropagation();return}this.options.onControlFocus?.(event),relayNativeEvent(this.host,event)}handleControlBlur(event){if(this.suppressControlEvents){event.stopPropagation();return}if(this.containsFocusTarget(event.relatedTarget)){event.stopPropagation();return}this.options.onControlBlur?.(event),this.hide(),relayNativeEvent(this.host,event)}handleComboMouseDown(event){this.host.effectiveDisabled||event.composedPath()[0]!==this.input&&(event.preventDefault(),this.input?.focus())}handleListboxMouseDown(event){event.target.closest('[part="option"]')&&event.preventDefault()}handleListboxClick(event){if(this.host.effectiveDisabled)return;const value=event.target.closest('[part="option"]')?.dataset.value;if(value===void 0)return;const rows=this.visibleEntries,index=this.indexesFor(rows).get(value),entry=index===void 0?void 0:rows[index];entry&&this.selectEntry(entry)}get input(){return this.host.renderRoot?.querySelector('[part="combobox-input"]')??null}click(){if(this.host.effectiveDisabled)return;const trigger=this.host.renderRoot?.querySelector('[part="trigger"]');if(trigger){trigger.click();return}const input=this.input;this.options.forwardFreeInputClick&&input?.click(),input?.focus()}focus(options){if(this.host.effectiveDisabled)return;this.host.renderRoot?.querySelector('[part="trigger"], [part="combobox-input"]')?.focus(options)}blur(){this.host.renderRoot?.querySelector('[part="trigger"], [part="combobox-input"]')?.blur()}select(){this.input?.select()}setSelectionRange(start,end,direction){this.input?.setSelectionRange(start,end,direction)}setRangeText(replacement,start,end,selectMode){const input=this.input;input&&(setNativeRangeText(input,replacement,start,end,selectMode),this.setQuery(input.value),this.setActiveIndex(-1),this.value=input.value)}connected(hasUpdated){hasUpdated&&this._open&&queueMicrotask(()=>this.syncPopup())}disconnected(){this.typeBuffer.clear(),this.popupPosition.disconnect(),this.deactivateOverlay(!1),this.cancelListboxHideWatch(),this.setListboxHidden(!0),this.setOpen(!1)}adopted(){this.typeBuffer.clear(),this.popupPosition.disconnect(),this.popupController.unbindPointer(),this.overlay?.suspend(),this._open&&queueMicrotask(()=>this.syncPopup())}updated(reposition){const previous=this.host.renderRoot.querySelector('[part="option"][data-active]'),listbox=this.host.renderRoot.querySelector('[part="listbox"]'),activeId=this._open&&this._activeIndex>=0?`${listbox?.id}-opt-${this._activeIndex}`:"";previous?.id!==activeId&&previous?.removeAttribute("data-active"),activeId&&this.host.renderRoot.querySelector(`[id="${activeId}"]`)?.setAttribute("data-active",""),reposition&&this.syncPopup(),this.revealPending&&this._open&&this.revealActiveRow(),this.revealPending=!1}containsFocusTarget(target){if(this.options.containsFocusTarget)return this.options.containsFocusTarget(target);if(!target||typeof target.nodeType!="number")return!1;const node=target;return this.host.renderRoot.contains(node)||this.host.contains(node)}activatePopupOverlay(){if(this.overlay?.isActive()){this.overlay.resume();return}this.overlay=activateNonmodalOverlay({host:this.host,panel:()=>this.host.renderRoot.querySelector('[part="listbox"]')??null,onEscape:()=>this.dismissFromEscape(),onBackdrop:()=>this.hide()})}deactivateOverlay(restoreFocus){const overlay=this.overlay;this.overlay=void 0,overlay?.deactivate({restoreFocus}),this.popupController.unbindPointer()}dismissFromEscape(){this._open&&(this.closedMode||this.setQuery(this.labelFor(this._value)),this.deactivateOverlay(!0),this.setOpen(!1))}syncPopup(){if(this.popupPosition.disconnect(),!this._open||!this.host.isConnected){this.deactivateOverlay(!1);return}this.activatePopupOverlay(),this.popupController.bindPointer();const anchor=this.host.renderRoot.querySelector(this.closedMode?'[part="trigger"]':'[part="combobox"]'),listbox=this.host.renderRoot.querySelector('[part="listbox"]');anchor&&listbox&&this.popupPosition.reposition(anchor,listbox)}}export{CatalogPickerController,filterCatalogEntries,normalizeCatalog,withSyntheticCatalogValue};
|
|
1
|
+
import{setNativeRangeText}from"./native-text-control.js";import{waitForTransitionSettle}from"./css-motion-time.js";import{getOwnDataDescriptor}from"./data-descriptors.js";import{CATALOG_ROW_LIMIT}from"./selection-catalog.js";import{AnchoredPopoverController}from"./anchored-popover-controller.js";import{deferredPlace}from"./anchored-overlay-runtime.js";import{resolveIntlLocale}from"./intl-cache.js";import{prefersReducedMotion}from"./motion.js";import{dispatchNativeEvent,relayNativeEvent}from"./native-event-relay.js";import{activateNonmodalOverlay}from"./nonmodal-overlay-manager.js";import{resolveEffectivePositioningStrategy}from"./positioning-strategy.js";import{TypeAheadBuffer}from"./type-ahead-buffer.js";import{resolveListMove}from"./list-navigation.js";import{PopupController}from"./popup-controller.js";const normalizedCatalogs=new WeakMap;function ownDataValue(target,key){const descriptor=getOwnDataDescriptor(target,key);return typeof descriptor=="symbol"?void 0:descriptor.value}function ownDataCopy(entry,id,label){const copy={id,label};let keys=[];try{keys=Object.keys(entry)}catch{}for(const key of keys){if(key==="id"||key==="label")continue;const descriptor=getOwnDataDescriptor(entry,key);typeof descriptor!="symbol"&&Object.defineProperty(copy,key,{value:descriptor.value,enumerable:!0,configurable:!0,writable:!0})}return Object.freeze(copy)}function normalizeCatalog(catalog){let frozen;try{if(!Array.isArray(catalog))return[];frozen=Object.isFrozen(catalog)}catch{return[]}const known=frozen?normalizedCatalogs.get(catalog):void 0;if(known)return known;const normalized=[],seen=new Set,length=ownDataValue(catalog,"length"),count=typeof length=="number"?Math.min(length,CATALOG_ROW_LIMIT):0;for(let index=0;index<count;index+=1){const entry=ownDataValue(catalog,String(index));let id,label;if(typeof entry=="string")id=label=entry;else if(entry!==null&&typeof entry=="object")id=ownDataValue(entry,"id"),label=ownDataValue(entry,"label");else continue;typeof id!="string"||id.trim()===""||typeof label!="string"||label.trim()===""||seen.has(id)||(seen.add(id),normalized.push(typeof entry=="string"?{id,label}:ownDataCopy(entry,id,label)))}return frozen&&normalizedCatalogs.set(catalog,Object.freeze(normalized)),normalized}function withSyntheticCatalogValue(catalog,value){const entries=catalog.map(entry=>({...entry,synthetic:!1}));return catalog.length&&value.trim()!==""&&!catalog.some(entry=>entry.id===value)&&entries.push({id:value,label:value,synthetic:!0}),entries}function filterCatalogEntries(entries,query,locale,fields){const intlLocale=resolveIntlLocale(locale),normalized=query.trim().toLocaleLowerCase(intlLocale);return normalized?entries.filter(entry=>fields(entry).some(value=>value.toLocaleLowerCase(intlLocale).includes(normalized))):[...entries]}class CatalogPickerController{constructor(host,options){this.host=host,this.options=options,this._activeIndex=-1,this.revealPending=!1,this._query="",this._open=!1,this._value="",this._defaultValue="",this.valueDirty=!1,this.settingDefaultValue=!1,this.reflectingDefaultValue=!1,this._listboxHidden=!0,this.suppressControlEvents=!1,this.rowIndexes=new WeakMap,this.typeBuffer=new TypeAheadBuffer(host),this.popupController=new PopupController({host,onPointer:event=>{event.composedPath().includes(host)||this.overlay?.dismissBackdrop()}}),this.popupPosition=new AnchoredPopoverController((anchor,popup)=>deferredPlace(anchor,popup,{strategy:resolveEffectivePositioningStrategy(this.host,void 0,"fixed")}))}get normalizedCatalog(){const source=this.options.catalog(),memo=this.normalizedMemo;if(memo&&memo.source===source)return memo.rows;const rows=normalizeCatalog(source);return this.normalizedMemo={source,rows},rows}get closedMode(){return this.normalizedCatalog.length>0&&!this.options.allowCustom()}get isReadonly(){return this.options.isReadonly()}get effectiveEntries(){const rows=this.normalizedCatalog,memo=this.effectiveMemo;if(memo&&memo.rows===rows&&memo.value===this._value)return memo.entries;const entries=withSyntheticCatalogValue(rows,this._value);return this.effectiveMemo={rows,value:this._value,entries},entries}get filteredEntries(){const entries=this.effectiveEntries,query=this._query,locale=this.options.locale(),memo=this.filteredMemo;if(memo&&memo.entries===entries&&memo.query===query&&memo.locale===locale)return memo.result;const intlLocale=resolveIntlLocale(locale),needle=query.trim().toLocaleLowerCase(intlLocale);let result;if(!needle)result=[...entries];else{let keys=this.searchKeysMemo;(!keys||keys.entries!==entries||keys.locale!==intlLocale)&&(keys={entries,locale:intlLocale,keys:entries.map(entry=>this.options.searchableFields(entry).map(value=>value.toLocaleLowerCase(intlLocale)))},this.searchKeysMemo=keys);const rowKeys=keys.keys;result=entries.filter((_,index)=>rowKeys[index].some(value=>value.includes(needle)))}return this.filteredMemo={entries,query,locale,result},result}get visibleEntries(){return this.closedMode?this.effectiveEntries:this.filteredEntries}indexesFor(rows){let indexes=this.rowIndexes.get(rows);return indexes||(indexes=new Map,rows.forEach((entry,index)=>{indexes.has(entry.id)||indexes.set(entry.id,index)}),this.rowIndexes.set(rows,indexes)),indexes}entryFor(id){const rows=this.effectiveEntries,index=this.indexesFor(rows).get(id);return index===void 0?void 0:rows[index]}labelFor(id){return id?this.entryFor(id)?.label??id:""}get activeIndex(){return this._activeIndex}setActiveIndex(next){if(next===this._activeIndex)return;const old=this._activeIndex;this.options.beforeActiveIndexChange?.(next,old),this._activeIndex=next,this.revealPending=!0,this.options.onStateChange("activeIndex",old)}revealActiveRow(){const listbox=this.host.renderRoot.querySelector('[part="listbox"]'),row=listbox?.querySelector('[part="option"][data-active]');if(!listbox||row?.offsetParent!==listbox)return;const top=row.offsetTop,bottom=top+row.offsetHeight;top<listbox.scrollTop?listbox.scrollTop=top:bottom>listbox.scrollTop+listbox.clientHeight&&(listbox.scrollTop=bottom-listbox.clientHeight)}get query(){return this._query}setQuery(next){if(next===this._query)return;const old=this._query;this._query=next,this.options.afterQueryChange?.(next,old),this.options.onStateChange("query",old)}get open(){return this._open}get listboxHidden(){return this._listboxHidden}setListboxHidden(next){if(next===this._listboxHidden)return;const old=this._listboxHidden;this._listboxHidden=next,this.options.onStateChange("listboxHidden",old)}cancelListboxHideWatch(){this.listboxHideWatcher?.(),this.listboxHideWatcher=void 0}scheduleListboxHide(){this.cancelListboxHideWatch();const listbox=this.host.renderRoot.querySelector('[part="listbox"]'),watch=waitForTransitionSettle(listbox,this.host,{reducedMotion:prefersReducedMotion(this.host)});if(!watch.pending){this.setListboxHidden(!0);return}const cancel=()=>watch.cancel();this.listboxHideWatcher=cancel,watch.finished.then(()=>{this.listboxHideWatcher===cancel&&(this.listboxHideWatcher=void 0,this.setListboxHidden(!0))})}setOpen(next){const liveDisabled=this.host.effectiveDisabled||typeof this.host.matches=="function"&&this.host.matches(":disabled"),resolved=!!next&&!liveDisabled;if(resolved===this._open){resolved||this.deactivateOverlay(!1),next&&!resolved&&this.host.hasAttribute("open")&&this.host.removeAttribute("open");return}const old=this._open;resolved||(this.setActiveIndex(-1),this.deactivateOverlay(!1)),this._open=resolved,resolved?(this.cancelListboxHideWatch(),this.setListboxHidden(!1),this.closedMode&&this.setActiveIndex(this.entryFor(this._value)?.disabled===!0?-1:this.indexesFor(this.effectiveEntries).get(this._value)??-1)):this.host.updateComplete.then(()=>{this._open||!this.host.isConnected||this.scheduleListboxHide()}),this.options.onStateChange("open",old)}show(){!this._open&&!this.host.effectiveDisabled&&this.setOpen(!0)}hide(){this._open&&this.setOpen(!1)}get value(){return this._value}set value(next){const normalized=next??"";if(this.options.beforeValueChange?.(normalized,this._value),normalized===this._value){this.settingDefaultValue||(this.valueDirty=!0);return}const old=this._value;this.settingDefaultValue||(this.valueDirty=!0),this._value=normalized,this.options.onValueChange(normalized,old)}get defaultValue(){return this._defaultValue}set defaultValue(next){if(this.reflectingDefaultValue)return;const normalized=next??"",old=this._defaultValue;this._defaultValue=normalized,this.reflectDefaultValue(),this.valueDirty||this.restoreLiveValueFromDefault(),this.options.onDefaultValueChange(normalized,old)}resetValue(){this.restoreLiveValueFromDefault()}restoreState(state){this.value=typeof state=="string"?state:""}restoreLiveValueFromDefault(){this.settingDefaultValue=!0;try{this.value=this._defaultValue}finally{this.settingDefaultValue=!1}this.valueDirty=!1}reflectDefaultValue(){this.reflectingDefaultValue=!0;try{this._defaultValue?this.host.setAttribute("value",this._defaultValue):this.host.removeAttribute("value")}finally{this.reflectingDefaultValue=!1}}commitValue(next){if(this.isReadonly)return;const inCatalog=this.indexesFor(this.normalizedCatalog).has(next);this.value=next,this.hide(),this.options.emitChange({value:next,inCatalog}),this.emitValueEvents({value:next,inCatalog})}emitValueEvents(detail={value:this._value,inCatalog:this.indexesFor(this.normalizedCatalog).has(this._value)}){dispatchNativeEvent(this.host,"input"),this.options.emitInput(detail),dispatchNativeEvent(this.host,"change")}commitFreeText(){const active=this.filteredEntries[this._activeIndex],useActive=this._activeIndex>=0&&!!active&&active?.disabled!==!0;this.commitValue(useActive?active.id:this._query.trim())}selectEntry(entry){entry.disabled!==!0&&this.commitValue(entry.id)}reconcileRows(activeValue,rebaseQuery,clampMissing=!0){const rows=this.visibleEntries,remapped=activeValue?this.indexesFor(rows).get(activeValue)??-1:-1;this.setActiveIndex(remapped>=0?remapped:clampMissing?Math.min(this._activeIndex,Math.max(-1,rows.length-1)):-1),rebaseQuery&&this.setQuery(this.labelFor(this._value))}typeAhead(event){const{key}=event;if(!this.typeBuffer.accepts(event)||key===" "&&this.typeBuffer.text==="")return!1;key===" "&&event.preventDefault();const locale=this.options.locale();this.typeBuffer.add(key,locale);const rows=this.effectiveEntries,current=this._open?this._activeIndex:this.indexesFor(rows).get(this._value)??-1,index=this.typeBuffer.match(rows,current,row=>row.label,locale,row=>row.disabled!==!0);if(index!==null){const row=rows[index];this._open?this.setActiveIndex(index):this.selectEntry(row)}return!0}moveIndex(rows,event){return resolveListMove(event,{count:rows.length,current:this._activeIndex,orientation:"vertical",wrap:!1,clamp:!0,backwardFromMissing:"first",isAvailable:index=>rows[index]?.disabled!==!0})??-1}handleTriggerKeyDown(event){if(event.isComposing||event.keyCode===229||event.altKey||event.ctrlKey||event.metaKey||this.typeAhead(event))return;const rows=this.effectiveEntries;switch(event.key){case"ArrowDown":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"ArrowUp":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"Enter":case" ":if(this._open){event.preventDefault();const active=rows[this._activeIndex];this._activeIndex>=0&&active?this.selectEntry(active):this.hide()}break;case"Home":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break;case"End":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break}}handleInputKeyDown(event){if(event.isComposing||event.keyCode===229)return;const rows=this.filteredEntries;switch(event.key){case"ArrowDown":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"ArrowUp":if(event.preventDefault(),!this._open)return this.show();this.setActiveIndex(this.moveIndex(rows,event));break;case"Enter":this._open&&(event.preventDefault(),this.commitFreeText());break;case"Home":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break;case"End":this._open&&(event.preventDefault(),this.setActiveIndex(this.moveIndex(rows,event)));break}}handleInput(event){const input=event.currentTarget;if(!input)return;if(this.isReadonly){input.value=this._open?this._query:this.labelFor(this._value),event.stopPropagation();return}this.setQuery(input.value),this.setActiveIndex(-1),this.show();const detail={value:this._value,inCatalog:this.indexesFor(this.normalizedCatalog).has(this._value)};relayNativeEvent(this.host,event),this.options.emitInput(detail)}handleInputFocus(event){if(this.suppressControlEvents){event.stopPropagation();return}this._open||this.setQuery(this.labelFor(this._value)),this.show(),this.handleControlFocus(event)}handleControlFocus(event){if(this.suppressControlEvents){event.stopPropagation();return}if(this.containsFocusTarget(event.relatedTarget)){event.stopPropagation();return}this.options.onControlFocus?.(event),relayNativeEvent(this.host,event)}handleControlBlur(event){if(this.suppressControlEvents){event.stopPropagation();return}if(this.containsFocusTarget(event.relatedTarget)){event.stopPropagation();return}this.options.onControlBlur?.(event),this.hide(),relayNativeEvent(this.host,event)}handleComboMouseDown(event){this.host.effectiveDisabled||event.composedPath()[0]!==this.input&&(event.preventDefault(),this.input?.focus())}handleListboxMouseDown(event){event.target.closest('[part="option"]')&&event.preventDefault()}handleListboxClick(event){if(this.host.effectiveDisabled)return;const value=event.target.closest('[part="option"]')?.dataset.value;if(value===void 0)return;const rows=this.visibleEntries,index=this.indexesFor(rows).get(value),entry=index===void 0?void 0:rows[index];entry&&this.selectEntry(entry)}get input(){return this.host.renderRoot?.querySelector('[part="combobox-input"]')??null}click(){if(this.host.effectiveDisabled)return;const trigger=this.host.renderRoot?.querySelector('[part="trigger"]');if(trigger){trigger.click();return}const input=this.input;this.options.forwardFreeInputClick&&input?.click(),input?.focus()}focus(options){if(this.host.effectiveDisabled)return;this.host.renderRoot?.querySelector('[part="trigger"], [part="combobox-input"]')?.focus(options)}blur(){this.host.renderRoot?.querySelector('[part="trigger"], [part="combobox-input"]')?.blur()}select(){this.input?.select()}setSelectionRange(start,end,direction){this.input?.setSelectionRange(start,end,direction)}setRangeText(replacement,start,end,selectMode){const input=this.input;input&&(setNativeRangeText(input,replacement,start,end,selectMode),this.setQuery(input.value),this.setActiveIndex(-1),this.value=input.value)}connected(hasUpdated){hasUpdated&&this._open&&queueMicrotask(()=>this.syncPopup())}disconnected(){this.typeBuffer.clear(),this.popupPosition.disconnect(),this.deactivateOverlay(!1),this.cancelListboxHideWatch(),this.setListboxHidden(!0),this.setOpen(!1)}adopted(){this.typeBuffer.clear(),this.popupPosition.disconnect(),this.popupController.unbindPointer(),this.overlay?.suspend(),this._open&&queueMicrotask(()=>this.syncPopup())}updated(reposition){const previous=this.host.renderRoot.querySelector('[part="option"][data-active]'),listbox=this.host.renderRoot.querySelector('[part="listbox"]'),activeId=this._open&&this._activeIndex>=0?`${listbox?.id}-opt-${this._activeIndex}`:"";previous?.id!==activeId&&previous?.removeAttribute("data-active"),activeId&&this.host.renderRoot.querySelector(`[id="${activeId}"]`)?.setAttribute("data-active",""),reposition&&this.syncPopup(),this.revealPending&&this._open&&this.revealActiveRow(),this.revealPending=!1}containsFocusTarget(target){if(this.options.containsFocusTarget)return this.options.containsFocusTarget(target);if(!target||typeof target.nodeType!="number")return!1;const node=target;return this.host.renderRoot.contains(node)||this.host.contains(node)}activatePopupOverlay(){if(this.overlay?.isActive()){this.overlay.resume();return}this.overlay=activateNonmodalOverlay({host:this.host,panel:()=>this.host.renderRoot.querySelector('[part="listbox"]')??null,onEscape:()=>this.dismissFromEscape(),onBackdrop:()=>this.hide()})}deactivateOverlay(restoreFocus){const overlay=this.overlay;this.overlay=void 0,overlay?.deactivate({restoreFocus}),this.popupController.unbindPointer()}dismissFromEscape(){this._open&&(this.closedMode||this.setQuery(this.labelFor(this._value)),this.deactivateOverlay(!0),this.setOpen(!1))}syncPopup(){if(this.popupPosition.disconnect(),!this._open||!this.host.isConnected){this.deactivateOverlay(!1);return}this.activatePopupOverlay(),this.popupController.bindPointer();const anchor=this.host.renderRoot.querySelector(this.closedMode?'[part="trigger"]':'[part="combobox"]'),listbox=this.host.renderRoot.querySelector('[part="listbox"]');anchor&&listbox&&this.popupPosition.reposition(anchor,listbox)}}export{CatalogPickerController,filterCatalogEntries,normalizeCatalog,withSyntheticCatalogValue};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const LYRA_DEFAULT_agentWorkspaceContext="Context",LYRA_DEFAULT_agentWorkspaceConversation="Conversation",LYRA_DEFAULT_agentWorkspaceDetails="Run details",LYRA_DEFAULT_agentWorkspaceEmpty="No messages yet",LYRA_DEFAULT_agentWorkspaceGrounding="Grounding",LYRA_DEFAULT_agentWorkspaceInputLimit="{collection}: only {count} of {total} entries are retained.",LYRA_DEFAULT_agentWorkspaceLabel="Agent workspace",LYRA_DEFAULT_agentWorkspaceRetrieval="Retrieved context",LYRA_DEFAULT_agentWorkspaceRun="Agent run",LYRA_DEFAULT_agentWorkspaceTools="Tools",LYRA_DEFAULT_archiveConversation="Archive conversation",LYRA_DEFAULT_audioVisualizerIdle="Idle",LYRA_DEFAULT_audioVisualizerLabel="Voice activity: {state}",LYRA_DEFAULT_audioVisualizerListening="Listening",LYRA_DEFAULT_audioVisualizerSpeaking="Speaking",LYRA_DEFAULT_audioVisualizerThinking="Thinking",LYRA_DEFAULT_branchNext="Next version",LYRA_DEFAULT_branchPickerLabel="Response versions",LYRA_DEFAULT_branchPosition="Version {index} of {total}",LYRA_DEFAULT_branchPrevious="Previous version",LYRA_DEFAULT_chatCompleteAnnounce="Message complete.",LYRA_DEFAULT_chatFailedAnnounce="Message failed to send.",LYRA_DEFAULT_chatFailedToSend="Failed to send",LYRA_DEFAULT_chatResponding="Responding…",LYRA_DEFAULT_chatSending="Sending…",LYRA_DEFAULT_chatViewportLabel="Conversation",LYRA_DEFAULT_checkpointConfirmPrompt="Restore the conversation to this point?",LYRA_DEFAULT_checkpointLabel="Checkpoint",LYRA_DEFAULT_checkpointRestore="Restore",LYRA_DEFAULT_checkpointRestoreWithContext="Restore conversation to {label}",LYRA_DEFAULT_checkpointRestoring="Restoring…",LYRA_DEFAULT_codeBlockHighlightLimit="Long code is shown without syntax highlighting.",LYRA_DEFAULT_codeBlockLineLabel="Line {line}",LYRA_DEFAULT_codeRegion="Code",LYRA_DEFAULT_codeRegionWithLanguage="{language} code",LYRA_DEFAULT_collapseCode="Collapse code",LYRA_DEFAULT_collapseMessage="Collapse message",LYRA_DEFAULT_composerLabel="Message",LYRA_DEFAULT_composerPlaceholder="Ask anything…",LYRA_DEFAULT_copiedToClipboard="Copied to clipboard",LYRA_DEFAULT_copyCode="Copy code",LYRA_DEFAULT_deleteConversation="Delete conversation",LYRA_DEFAULT_editMessage="Edit message",LYRA_DEFAULT_elapsedMinutesSecondsTemplate="{minutes}m {seconds}s",LYRA_DEFAULT_expandCode="Expand code",LYRA_DEFAULT_expandMessage="Expand message",LYRA_DEFAULT_feedbackCommentLabel="Add a comment",LYRA_DEFAULT_feedbackCommentPlaceholder="Add more detail (optional)",LYRA_DEFAULT_feedbackNegative="Bad response",LYRA_DEFAULT_feedbackPositive="Good response",LYRA_DEFAULT_feedbackReasonsLabel="Choose a reason",LYRA_DEFAULT_feedbackSubmit="Submit feedback",LYRA_DEFAULT_feedbackSubmitted="Feedback submitted",LYRA_DEFAULT_generationStatusElapsedSeconds="{seconds}s",LYRA_DEFAULT_generationStatusThroughput="{rate} tok/s",LYRA_DEFAULT_generationStatusTokens={one:"{count} token",other:"{count} tokens"},LYRA_DEFAULT_handoffLabel="Agent handoff",LYRA_DEFAULT_markdownTableRegion="Table",LYRA_DEFAULT_messageActionsLabel="Message actions",LYRA_DEFAULT_messagePartError="Part failed",LYRA_DEFAULT_messagePartRetry="Retry this part",LYRA_DEFAULT_messagePartsLabel="Message content",LYRA_DEFAULT_modelSelectNoModels="No models",LYRA_DEFAULT_modelSelectRequired="Please choose a model.",LYRA_DEFAULT_newMessages="New messages",LYRA_DEFAULT_newMessagesCount={one:"{count} new message",other:"{count} new messages"},LYRA_DEFAULT_pinConversation="Pin conversation",LYRA_DEFAULT_promptInputAttachments="Attachments",LYRA_DEFAULT_promptInputControls="Prompt options",LYRA_DEFAULT_promptInputInputLimit="Some suggestions or catalog entries were omitted because an input limit was reached.",LYRA_DEFAULT_promptInputLabel="AI prompt",LYRA_DEFAULT_promptInputSources="Sources",LYRA_DEFAULT_promptQueueActionLabel="{action}, queued prompt {index}",LYRA_DEFAULT_promptQueueAttachmentLimit="Showing {shown} of {total} retained attachments.",LYRA_DEFAULT_promptQueueEmpty="No prompts queued",LYRA_DEFAULT_promptQueueInputLimit="Some queued prompts or attachments were omitted because an input limit was reached.",LYRA_DEFAULT_promptQueueItemLabel="Queued prompt {index}",LYRA_DEFAULT_promptQueueLabel="Queued prompts",LYRA_DEFAULT_promptQueueSendNow="Send now",LYRA_DEFAULT_pushToTalkCancelled="Recording cancelled",LYRA_DEFAULT_pushToTalkDenied="Microphone access denied",LYRA_DEFAULT_pushToTalkError="Recording failed",LYRA_DEFAULT_pushToTalkHold="Hold to talk",LYRA_DEFAULT_pushToTalkRequesting="Requesting microphone…",LYRA_DEFAULT_pushToTalkStart="Start recording",LYRA_DEFAULT_pushToTalkStarted="Recording started",LYRA_DEFAULT_pushToTalkStop="Stop recording",LYRA_DEFAULT_pushToTalkStopped="Recording stopped",LYRA_DEFAULT_pushToTalkUnsupported="Recording is not supported in this browser",LYRA_DEFAULT_realtimeSessionConnect="Connect",LYRA_DEFAULT_realtimeSessionConnected="Connected",LYRA_DEFAULT_realtimeSessionConnecting="Connecting",LYRA_DEFAULT_realtimeSessionConnectionFailed="The realtime connection failed.",LYRA_DEFAULT_realtimeSessionDisconnect="Disconnect",LYRA_DEFAULT_realtimeSessionDisconnected="Disconnected",LYRA_DEFAULT_realtimeSessionError="Connection error",LYRA_DEFAULT_realtimeSessionInterrupt="Interrupt response",LYRA_DEFAULT_realtimeSessionLabel="Realtime session",LYRA_DEFAULT_realtimeSessionMute="Mute microphone",LYRA_DEFAULT_realtimeSessionReconnecting="Reconnecting",LYRA_DEFAULT_realtimeSessionUnmute="Unmute microphone",LYRA_DEFAULT_regenerateResponse="Regenerate response",LYRA_DEFAULT_rename="Rename {title}",LYRA_DEFAULT_searchThreads="Search conversations",LYRA_DEFAULT_selectModel="Select a model…",LYRA_DEFAULT_selectionAsk="Ask",LYRA_DEFAULT_selectionCite="Cite",LYRA_DEFAULT_selectionQuote="Quote",LYRA_DEFAULT_selectionToolbarLabel="Selection actions",LYRA_DEFAULT_sendMessage="Send message",LYRA_DEFAULT_stopGenerating="Stop generating",LYRA_DEFAULT_streamInterrupted="Stream interrupted",LYRA_DEFAULT_streamRecoverAnnounce="Connection restored.",LYRA_DEFAULT_streamResume="Resume",LYRA_DEFAULT_streamStallAnnounce="Connection stalled.",LYRA_DEFAULT_streamStallClearedAnnounce="No longer stalled.",LYRA_DEFAULT_streamStalled="Taking longer than usual…",LYRA_DEFAULT_streamStatusConnecting="Connecting",LYRA_DEFAULT_streamStatusIdle="Idle",LYRA_DEFAULT_streamStatusStalled="Connection stalled",LYRA_DEFAULT_suggestionsLabel="Suggested prompts",LYRA_DEFAULT_temperature="Temperature",LYRA_DEFAULT_threadGroupArchived="Archived",LYRA_DEFAULT_threadGroupCollapse="Collapse {label}",LYRA_DEFAULT_threadGroupExpand="Expand {label}",LYRA_DEFAULT_threadGroupPinned="Pinned",LYRA_DEFAULT_threadGroupPrevious30Days="Previous 30 days",LYRA_DEFAULT_threadGroupPrevious7Days="Previous 7 days",LYRA_DEFAULT_threadGroupToday="Today",LYRA_DEFAULT_threadGroupYesterday="Yesterday",LYRA_DEFAULT_threadListEmpty="No conversations yet",LYRA_DEFAULT_threadListInputLimit="Some threads were omitted because an input limit was reached.",LYRA_DEFAULT_threadListLabel="Conversations",LYRA_DEFAULT_threadListMatchAnnounce={one:"{count} conversation found",other:"{count} conversations found"},LYRA_DEFAULT_transcriptFeedEmpty="No transcript yet",LYRA_DEFAULT_transcriptFeedInputLimit="Only the newest {count} of {total} entries are retained.",LYRA_DEFAULT_transcriptFeedInterim="Transcribing…",LYRA_DEFAULT_transcriptFeedLabel="Transcript",LYRA_DEFAULT_unarchiveConversation="Unarchive conversation",LYRA_DEFAULT_unpinConversation="Unpin conversation",LYRA_DEFAULT_untitledConversation="Untitled conversation",LYRA_DEFAULT_usageBadgeCostLabel="Cost",LYRA_DEFAULT_usageBadgeLabel="Usage",LYRA_DEFAULT_usageBadgeLatencyLabel="Latency",LYRA_DEFAULT_usageBadgeTokensIn="{count} in",LYRA_DEFAULT_usageBadgeTokensInLabel="Input tokens",LYRA_DEFAULT_usageBadgeTokensOut="{count} out",LYRA_DEFAULT_usageBadgeTokensOutLabel="Output tokens",LYRA_DEFAULT_usageBadgeTotalTokensLabel="Total tokens",LYRA_DEFAULT_voice="Voice",LYRA_DEFAULT_voicePickerNoVoices="No voices available",LYRA_DEFAULT_voicePickerPreview="Preview {name}",LYRA_DEFAULT_voicePickerRequired="Please choose a voice.",LYRA_DEFAULT_voicePickerStopPreview="Stop preview";export{LYRA_DEFAULT_agentWorkspaceContext,LYRA_DEFAULT_agentWorkspaceConversation,LYRA_DEFAULT_agentWorkspaceDetails,LYRA_DEFAULT_agentWorkspaceEmpty,LYRA_DEFAULT_agentWorkspaceGrounding,LYRA_DEFAULT_agentWorkspaceInputLimit,LYRA_DEFAULT_agentWorkspaceLabel,LYRA_DEFAULT_agentWorkspaceRetrieval,LYRA_DEFAULT_agentWorkspaceRun,LYRA_DEFAULT_agentWorkspaceTools,LYRA_DEFAULT_archiveConversation,LYRA_DEFAULT_audioVisualizerIdle,LYRA_DEFAULT_audioVisualizerLabel,LYRA_DEFAULT_audioVisualizerListening,LYRA_DEFAULT_audioVisualizerSpeaking,LYRA_DEFAULT_audioVisualizerThinking,LYRA_DEFAULT_branchNext,LYRA_DEFAULT_branchPickerLabel,LYRA_DEFAULT_branchPosition,LYRA_DEFAULT_branchPrevious,LYRA_DEFAULT_chatCompleteAnnounce,LYRA_DEFAULT_chatFailedAnnounce,LYRA_DEFAULT_chatFailedToSend,LYRA_DEFAULT_chatResponding,LYRA_DEFAULT_chatSending,LYRA_DEFAULT_chatViewportLabel,LYRA_DEFAULT_checkpointConfirmPrompt,LYRA_DEFAULT_checkpointLabel,LYRA_DEFAULT_checkpointRestore,LYRA_DEFAULT_checkpointRestoreWithContext,LYRA_DEFAULT_checkpointRestoring,LYRA_DEFAULT_codeBlockHighlightLimit,LYRA_DEFAULT_codeBlockLineLabel,LYRA_DEFAULT_codeRegion,LYRA_DEFAULT_codeRegionWithLanguage,LYRA_DEFAULT_collapseCode,LYRA_DEFAULT_collapseMessage,LYRA_DEFAULT_composerLabel,LYRA_DEFAULT_composerPlaceholder,LYRA_DEFAULT_copiedToClipboard,LYRA_DEFAULT_copyCode,LYRA_DEFAULT_deleteConversation,LYRA_DEFAULT_editMessage,LYRA_DEFAULT_elapsedMinutesSecondsTemplate,LYRA_DEFAULT_expandCode,LYRA_DEFAULT_expandMessage,LYRA_DEFAULT_feedbackCommentLabel,LYRA_DEFAULT_feedbackCommentPlaceholder,LYRA_DEFAULT_feedbackNegative,LYRA_DEFAULT_feedbackPositive,LYRA_DEFAULT_feedbackReasonsLabel,LYRA_DEFAULT_feedbackSubmit,LYRA_DEFAULT_feedbackSubmitted,LYRA_DEFAULT_generationStatusElapsedSeconds,LYRA_DEFAULT_generationStatusThroughput,LYRA_DEFAULT_generationStatusTokens,LYRA_DEFAULT_handoffLabel,LYRA_DEFAULT_markdownTableRegion,LYRA_DEFAULT_messageActionsLabel,LYRA_DEFAULT_messagePartError,LYRA_DEFAULT_messagePartRetry,LYRA_DEFAULT_messagePartsLabel,LYRA_DEFAULT_modelSelectNoModels,LYRA_DEFAULT_modelSelectRequired,LYRA_DEFAULT_newMessages,LYRA_DEFAULT_newMessagesCount,LYRA_DEFAULT_pinConversation,LYRA_DEFAULT_promptInputAttachments,LYRA_DEFAULT_promptInputControls,LYRA_DEFAULT_promptInputInputLimit,LYRA_DEFAULT_promptInputLabel,LYRA_DEFAULT_promptInputSources,LYRA_DEFAULT_promptQueueActionLabel,LYRA_DEFAULT_promptQueueAttachmentLimit,LYRA_DEFAULT_promptQueueEmpty,LYRA_DEFAULT_promptQueueInputLimit,LYRA_DEFAULT_promptQueueItemLabel,LYRA_DEFAULT_promptQueueLabel,LYRA_DEFAULT_promptQueueSendNow,LYRA_DEFAULT_pushToTalkCancelled,LYRA_DEFAULT_pushToTalkDenied,LYRA_DEFAULT_pushToTalkError,LYRA_DEFAULT_pushToTalkHold,LYRA_DEFAULT_pushToTalkRequesting,LYRA_DEFAULT_pushToTalkStart,LYRA_DEFAULT_pushToTalkStarted,LYRA_DEFAULT_pushToTalkStop,LYRA_DEFAULT_pushToTalkStopped,LYRA_DEFAULT_pushToTalkUnsupported,LYRA_DEFAULT_realtimeSessionConnect,LYRA_DEFAULT_realtimeSessionConnected,LYRA_DEFAULT_realtimeSessionConnecting,LYRA_DEFAULT_realtimeSessionConnectionFailed,LYRA_DEFAULT_realtimeSessionDisconnect,LYRA_DEFAULT_realtimeSessionDisconnected,LYRA_DEFAULT_realtimeSessionError,LYRA_DEFAULT_realtimeSessionInterrupt,LYRA_DEFAULT_realtimeSessionLabel,LYRA_DEFAULT_realtimeSessionMute,LYRA_DEFAULT_realtimeSessionReconnecting,LYRA_DEFAULT_realtimeSessionUnmute,LYRA_DEFAULT_regenerateResponse,LYRA_DEFAULT_rename,LYRA_DEFAULT_searchThreads,LYRA_DEFAULT_selectModel,LYRA_DEFAULT_selectionAsk,LYRA_DEFAULT_selectionCite,LYRA_DEFAULT_selectionQuote,LYRA_DEFAULT_selectionToolbarLabel,LYRA_DEFAULT_sendMessage,LYRA_DEFAULT_stopGenerating,LYRA_DEFAULT_streamInterrupted,LYRA_DEFAULT_streamRecoverAnnounce,LYRA_DEFAULT_streamResume,LYRA_DEFAULT_streamStallAnnounce,LYRA_DEFAULT_streamStallClearedAnnounce,LYRA_DEFAULT_streamStalled,LYRA_DEFAULT_streamStatusConnecting,LYRA_DEFAULT_streamStatusIdle,LYRA_DEFAULT_streamStatusStalled,LYRA_DEFAULT_suggestionsLabel,LYRA_DEFAULT_temperature,LYRA_DEFAULT_threadGroupArchived,LYRA_DEFAULT_threadGroupCollapse,LYRA_DEFAULT_threadGroupExpand,LYRA_DEFAULT_threadGroupPinned,LYRA_DEFAULT_threadGroupPrevious30Days,LYRA_DEFAULT_threadGroupPrevious7Days,LYRA_DEFAULT_threadGroupToday,LYRA_DEFAULT_threadGroupYesterday,LYRA_DEFAULT_threadListEmpty,LYRA_DEFAULT_threadListInputLimit,LYRA_DEFAULT_threadListLabel,LYRA_DEFAULT_threadListMatchAnnounce,LYRA_DEFAULT_transcriptFeedEmpty,LYRA_DEFAULT_transcriptFeedInputLimit,LYRA_DEFAULT_transcriptFeedInterim,LYRA_DEFAULT_transcriptFeedLabel,LYRA_DEFAULT_unarchiveConversation,LYRA_DEFAULT_unpinConversation,LYRA_DEFAULT_untitledConversation,LYRA_DEFAULT_usageBadgeCostLabel,LYRA_DEFAULT_usageBadgeLabel,LYRA_DEFAULT_usageBadgeLatencyLabel,LYRA_DEFAULT_usageBadgeTokensIn,LYRA_DEFAULT_usageBadgeTokensInLabel,LYRA_DEFAULT_usageBadgeTokensOut,LYRA_DEFAULT_usageBadgeTokensOutLabel,LYRA_DEFAULT_usageBadgeTotalTokensLabel,LYRA_DEFAULT_voice,LYRA_DEFAULT_voicePickerNoVoices,LYRA_DEFAULT_voicePickerPreview,LYRA_DEFAULT_voicePickerRequired,LYRA_DEFAULT_voicePickerStopPreview};
|
|
1
|
+
const LYRA_DEFAULT_agentWorkspaceContext="Context",LYRA_DEFAULT_agentWorkspaceConversation="Conversation",LYRA_DEFAULT_agentWorkspaceDetails="Run details",LYRA_DEFAULT_agentWorkspaceEmpty="No messages yet",LYRA_DEFAULT_agentWorkspaceGrounding="Grounding",LYRA_DEFAULT_agentWorkspaceInputLimit="{collection}: only {count} of {total} entries are retained.",LYRA_DEFAULT_agentWorkspaceLabel="Agent workspace",LYRA_DEFAULT_agentWorkspaceRetrieval="Retrieved context",LYRA_DEFAULT_agentWorkspaceRun="Agent run",LYRA_DEFAULT_agentWorkspaceTools="Tools",LYRA_DEFAULT_archiveConversation="Archive conversation",LYRA_DEFAULT_audioVisualizerIdle="Idle",LYRA_DEFAULT_audioVisualizerLabel="Voice activity: {state}",LYRA_DEFAULT_audioVisualizerListening="Listening",LYRA_DEFAULT_audioVisualizerSpeaking="Speaking",LYRA_DEFAULT_audioVisualizerThinking="Thinking",LYRA_DEFAULT_branchNext="Next version",LYRA_DEFAULT_branchPickerLabel="Response versions",LYRA_DEFAULT_branchPosition="Version {index} of {total}",LYRA_DEFAULT_branchPrevious="Previous version",LYRA_DEFAULT_chatCompleteAnnounce="Message complete.",LYRA_DEFAULT_chatFailedAnnounce="Message failed to send.",LYRA_DEFAULT_chatFailedToSend="Failed to send",LYRA_DEFAULT_chatResponding="Responding…",LYRA_DEFAULT_chatSending="Sending…",LYRA_DEFAULT_chatViewportLabel="Conversation",LYRA_DEFAULT_checkpointConfirmPrompt="Restore the conversation to this point?",LYRA_DEFAULT_checkpointLabel="Checkpoint",LYRA_DEFAULT_checkpointRestore="Restore",LYRA_DEFAULT_checkpointRestoreWithContext="Restore conversation to {label}",LYRA_DEFAULT_checkpointRestoring="Restoring…",LYRA_DEFAULT_codeBlockHighlightLimit="Long code is shown without syntax highlighting.",LYRA_DEFAULT_codeBlockLineLabel="Line {line}",LYRA_DEFAULT_codeRegion="Code",LYRA_DEFAULT_codeRegionWithLanguage="{language} code",LYRA_DEFAULT_collapseCode="Collapse code",LYRA_DEFAULT_collapseMessage="Collapse message",LYRA_DEFAULT_composerLabel="Message",LYRA_DEFAULT_composerPlaceholder="Ask anything…",LYRA_DEFAULT_copiedToClipboard="Copied to clipboard",LYRA_DEFAULT_copyCode="Copy code",LYRA_DEFAULT_deleteConversation="Delete conversation",LYRA_DEFAULT_editMessage="Edit message",LYRA_DEFAULT_elapsedMinutesSecondsTemplate="{minutes}m {seconds}s",LYRA_DEFAULT_expandCode="Expand code",LYRA_DEFAULT_expandMessage="Expand message",LYRA_DEFAULT_feedbackCommentLabel="Add a comment",LYRA_DEFAULT_feedbackCommentPlaceholder="Add more detail (optional)",LYRA_DEFAULT_feedbackCommentTooLong="Use {max} characters or fewer.",LYRA_DEFAULT_feedbackNegative="Bad response",LYRA_DEFAULT_feedbackPositive="Good response",LYRA_DEFAULT_feedbackReasonsLabel="Choose a reason",LYRA_DEFAULT_feedbackSingleReasonDescription="Choose up to one reason.",LYRA_DEFAULT_feedbackSubmit="Submit feedback",LYRA_DEFAULT_feedbackSubmitted="Feedback submitted",LYRA_DEFAULT_generationStatusElapsedSeconds="{seconds}s",LYRA_DEFAULT_generationStatusThroughput="{rate} tok/s",LYRA_DEFAULT_generationStatusTokens={one:"{count} token",other:"{count} tokens"},LYRA_DEFAULT_handoffLabel="Agent handoff",LYRA_DEFAULT_markdownTableRegion="Table",LYRA_DEFAULT_messageActionsLabel="Message actions",LYRA_DEFAULT_messagePartError="Part failed",LYRA_DEFAULT_messagePartRetry="Retry this part",LYRA_DEFAULT_messagePartsLabel="Message content",LYRA_DEFAULT_modelSelectNoModels="No models",LYRA_DEFAULT_modelSelectRequired="Please choose a model.",LYRA_DEFAULT_newMessages="New messages",LYRA_DEFAULT_newMessagesCount={one:"{count} new message",other:"{count} new messages"},LYRA_DEFAULT_pinConversation="Pin conversation",LYRA_DEFAULT_promptInputAttachments="Attachments",LYRA_DEFAULT_promptInputControls="Prompt options",LYRA_DEFAULT_promptInputInputLimit="Some suggestions or catalog entries were omitted because an input limit was reached.",LYRA_DEFAULT_promptInputLabel="AI prompt",LYRA_DEFAULT_promptInputSources="Sources",LYRA_DEFAULT_promptQueueActionLabel="{action}, queued prompt {index}",LYRA_DEFAULT_promptQueueAttachmentLimit="Showing {shown} of {total} retained attachments.",LYRA_DEFAULT_promptQueueEmpty="No prompts queued",LYRA_DEFAULT_promptQueueInputLimit="Some queued prompts or attachments were omitted because an input limit was reached.",LYRA_DEFAULT_promptQueueItemLabel="Queued prompt {index}",LYRA_DEFAULT_promptQueueLabel="Queued prompts",LYRA_DEFAULT_promptQueueSendNow="Send now",LYRA_DEFAULT_pushToTalkCancelled="Recording cancelled",LYRA_DEFAULT_pushToTalkDenied="Microphone access denied",LYRA_DEFAULT_pushToTalkError="Recording failed",LYRA_DEFAULT_pushToTalkHold="Hold to talk",LYRA_DEFAULT_pushToTalkRequesting="Requesting microphone…",LYRA_DEFAULT_pushToTalkStart="Start recording",LYRA_DEFAULT_pushToTalkStarted="Recording started",LYRA_DEFAULT_pushToTalkStop="Stop recording",LYRA_DEFAULT_pushToTalkStopped="Recording stopped",LYRA_DEFAULT_pushToTalkUnsupported="Recording is not supported in this browser",LYRA_DEFAULT_realtimeSessionConnect="Connect",LYRA_DEFAULT_realtimeSessionConnected="Connected",LYRA_DEFAULT_realtimeSessionConnecting="Connecting",LYRA_DEFAULT_realtimeSessionConnectionFailed="The realtime connection failed.",LYRA_DEFAULT_realtimeSessionDisconnect="Disconnect",LYRA_DEFAULT_realtimeSessionDisconnected="Disconnected",LYRA_DEFAULT_realtimeSessionError="Connection error",LYRA_DEFAULT_realtimeSessionInterrupt="Interrupt response",LYRA_DEFAULT_realtimeSessionLabel="Realtime session",LYRA_DEFAULT_realtimeSessionMute="Mute microphone",LYRA_DEFAULT_realtimeSessionReconnecting="Reconnecting",LYRA_DEFAULT_realtimeSessionUnmute="Unmute microphone",LYRA_DEFAULT_regenerateResponse="Regenerate response",LYRA_DEFAULT_rename="Rename {title}",LYRA_DEFAULT_searchThreads="Search conversations",LYRA_DEFAULT_selectModel="Select a model…",LYRA_DEFAULT_selectionAsk="Ask",LYRA_DEFAULT_selectionCite="Cite",LYRA_DEFAULT_selectionQuote="Quote",LYRA_DEFAULT_selectionToolbarLabel="Selection actions",LYRA_DEFAULT_sendMessage="Send message",LYRA_DEFAULT_stopGenerating="Stop generating",LYRA_DEFAULT_streamInterrupted="Stream interrupted",LYRA_DEFAULT_streamRecoverAnnounce="Connection restored.",LYRA_DEFAULT_streamResume="Resume",LYRA_DEFAULT_streamStallAnnounce="Connection stalled.",LYRA_DEFAULT_streamStallClearedAnnounce="No longer stalled.",LYRA_DEFAULT_streamStalled="Taking longer than usual…",LYRA_DEFAULT_streamStatusConnecting="Connecting",LYRA_DEFAULT_streamStatusIdle="Idle",LYRA_DEFAULT_streamStatusStalled="Connection stalled",LYRA_DEFAULT_suggestionsLabel="Suggested prompts",LYRA_DEFAULT_temperature="Temperature",LYRA_DEFAULT_threadGroupArchived="Archived",LYRA_DEFAULT_threadGroupCollapse="Collapse {label}",LYRA_DEFAULT_threadGroupExpand="Expand {label}",LYRA_DEFAULT_threadGroupPinned="Pinned",LYRA_DEFAULT_threadGroupPrevious30Days="Previous 30 days",LYRA_DEFAULT_threadGroupPrevious7Days="Previous 7 days",LYRA_DEFAULT_threadGroupToday="Today",LYRA_DEFAULT_threadGroupYesterday="Yesterday",LYRA_DEFAULT_threadListEmpty="No conversations yet",LYRA_DEFAULT_threadListInputLimit="Some threads were omitted because an input limit was reached.",LYRA_DEFAULT_threadListLabel="Conversations",LYRA_DEFAULT_threadListMatchAnnounce={one:"{count} conversation found",other:"{count} conversations found"},LYRA_DEFAULT_transcriptFeedEmpty="No transcript yet",LYRA_DEFAULT_transcriptFeedInputLimit="Only the newest {count} of {total} entries are retained.",LYRA_DEFAULT_transcriptFeedInterim="Transcribing…",LYRA_DEFAULT_transcriptFeedLabel="Transcript",LYRA_DEFAULT_unarchiveConversation="Unarchive conversation",LYRA_DEFAULT_unpinConversation="Unpin conversation",LYRA_DEFAULT_untitledConversation="Untitled conversation",LYRA_DEFAULT_usageBadgeCostLabel="Cost",LYRA_DEFAULT_usageBadgeLabel="Usage",LYRA_DEFAULT_usageBadgeLatencyLabel="Latency",LYRA_DEFAULT_usageBadgeTokensIn="{count} in",LYRA_DEFAULT_usageBadgeTokensInLabel="Input tokens",LYRA_DEFAULT_usageBadgeTokensOut="{count} out",LYRA_DEFAULT_usageBadgeTokensOutLabel="Output tokens",LYRA_DEFAULT_usageBadgeTotalTokensLabel="Total tokens",LYRA_DEFAULT_voice="Voice",LYRA_DEFAULT_voicePickerNoVoices="No voices available",LYRA_DEFAULT_voicePickerPreview="Preview {name}",LYRA_DEFAULT_voicePickerRequired="Please choose a voice.",LYRA_DEFAULT_voicePickerStopPreview="Stop preview";export{LYRA_DEFAULT_agentWorkspaceContext,LYRA_DEFAULT_agentWorkspaceConversation,LYRA_DEFAULT_agentWorkspaceDetails,LYRA_DEFAULT_agentWorkspaceEmpty,LYRA_DEFAULT_agentWorkspaceGrounding,LYRA_DEFAULT_agentWorkspaceInputLimit,LYRA_DEFAULT_agentWorkspaceLabel,LYRA_DEFAULT_agentWorkspaceRetrieval,LYRA_DEFAULT_agentWorkspaceRun,LYRA_DEFAULT_agentWorkspaceTools,LYRA_DEFAULT_archiveConversation,LYRA_DEFAULT_audioVisualizerIdle,LYRA_DEFAULT_audioVisualizerLabel,LYRA_DEFAULT_audioVisualizerListening,LYRA_DEFAULT_audioVisualizerSpeaking,LYRA_DEFAULT_audioVisualizerThinking,LYRA_DEFAULT_branchNext,LYRA_DEFAULT_branchPickerLabel,LYRA_DEFAULT_branchPosition,LYRA_DEFAULT_branchPrevious,LYRA_DEFAULT_chatCompleteAnnounce,LYRA_DEFAULT_chatFailedAnnounce,LYRA_DEFAULT_chatFailedToSend,LYRA_DEFAULT_chatResponding,LYRA_DEFAULT_chatSending,LYRA_DEFAULT_chatViewportLabel,LYRA_DEFAULT_checkpointConfirmPrompt,LYRA_DEFAULT_checkpointLabel,LYRA_DEFAULT_checkpointRestore,LYRA_DEFAULT_checkpointRestoreWithContext,LYRA_DEFAULT_checkpointRestoring,LYRA_DEFAULT_codeBlockHighlightLimit,LYRA_DEFAULT_codeBlockLineLabel,LYRA_DEFAULT_codeRegion,LYRA_DEFAULT_codeRegionWithLanguage,LYRA_DEFAULT_collapseCode,LYRA_DEFAULT_collapseMessage,LYRA_DEFAULT_composerLabel,LYRA_DEFAULT_composerPlaceholder,LYRA_DEFAULT_copiedToClipboard,LYRA_DEFAULT_copyCode,LYRA_DEFAULT_deleteConversation,LYRA_DEFAULT_editMessage,LYRA_DEFAULT_elapsedMinutesSecondsTemplate,LYRA_DEFAULT_expandCode,LYRA_DEFAULT_expandMessage,LYRA_DEFAULT_feedbackCommentLabel,LYRA_DEFAULT_feedbackCommentPlaceholder,LYRA_DEFAULT_feedbackCommentTooLong,LYRA_DEFAULT_feedbackNegative,LYRA_DEFAULT_feedbackPositive,LYRA_DEFAULT_feedbackReasonsLabel,LYRA_DEFAULT_feedbackSingleReasonDescription,LYRA_DEFAULT_feedbackSubmit,LYRA_DEFAULT_feedbackSubmitted,LYRA_DEFAULT_generationStatusElapsedSeconds,LYRA_DEFAULT_generationStatusThroughput,LYRA_DEFAULT_generationStatusTokens,LYRA_DEFAULT_handoffLabel,LYRA_DEFAULT_markdownTableRegion,LYRA_DEFAULT_messageActionsLabel,LYRA_DEFAULT_messagePartError,LYRA_DEFAULT_messagePartRetry,LYRA_DEFAULT_messagePartsLabel,LYRA_DEFAULT_modelSelectNoModels,LYRA_DEFAULT_modelSelectRequired,LYRA_DEFAULT_newMessages,LYRA_DEFAULT_newMessagesCount,LYRA_DEFAULT_pinConversation,LYRA_DEFAULT_promptInputAttachments,LYRA_DEFAULT_promptInputControls,LYRA_DEFAULT_promptInputInputLimit,LYRA_DEFAULT_promptInputLabel,LYRA_DEFAULT_promptInputSources,LYRA_DEFAULT_promptQueueActionLabel,LYRA_DEFAULT_promptQueueAttachmentLimit,LYRA_DEFAULT_promptQueueEmpty,LYRA_DEFAULT_promptQueueInputLimit,LYRA_DEFAULT_promptQueueItemLabel,LYRA_DEFAULT_promptQueueLabel,LYRA_DEFAULT_promptQueueSendNow,LYRA_DEFAULT_pushToTalkCancelled,LYRA_DEFAULT_pushToTalkDenied,LYRA_DEFAULT_pushToTalkError,LYRA_DEFAULT_pushToTalkHold,LYRA_DEFAULT_pushToTalkRequesting,LYRA_DEFAULT_pushToTalkStart,LYRA_DEFAULT_pushToTalkStarted,LYRA_DEFAULT_pushToTalkStop,LYRA_DEFAULT_pushToTalkStopped,LYRA_DEFAULT_pushToTalkUnsupported,LYRA_DEFAULT_realtimeSessionConnect,LYRA_DEFAULT_realtimeSessionConnected,LYRA_DEFAULT_realtimeSessionConnecting,LYRA_DEFAULT_realtimeSessionConnectionFailed,LYRA_DEFAULT_realtimeSessionDisconnect,LYRA_DEFAULT_realtimeSessionDisconnected,LYRA_DEFAULT_realtimeSessionError,LYRA_DEFAULT_realtimeSessionInterrupt,LYRA_DEFAULT_realtimeSessionLabel,LYRA_DEFAULT_realtimeSessionMute,LYRA_DEFAULT_realtimeSessionReconnecting,LYRA_DEFAULT_realtimeSessionUnmute,LYRA_DEFAULT_regenerateResponse,LYRA_DEFAULT_rename,LYRA_DEFAULT_searchThreads,LYRA_DEFAULT_selectModel,LYRA_DEFAULT_selectionAsk,LYRA_DEFAULT_selectionCite,LYRA_DEFAULT_selectionQuote,LYRA_DEFAULT_selectionToolbarLabel,LYRA_DEFAULT_sendMessage,LYRA_DEFAULT_stopGenerating,LYRA_DEFAULT_streamInterrupted,LYRA_DEFAULT_streamRecoverAnnounce,LYRA_DEFAULT_streamResume,LYRA_DEFAULT_streamStallAnnounce,LYRA_DEFAULT_streamStallClearedAnnounce,LYRA_DEFAULT_streamStalled,LYRA_DEFAULT_streamStatusConnecting,LYRA_DEFAULT_streamStatusIdle,LYRA_DEFAULT_streamStatusStalled,LYRA_DEFAULT_suggestionsLabel,LYRA_DEFAULT_temperature,LYRA_DEFAULT_threadGroupArchived,LYRA_DEFAULT_threadGroupCollapse,LYRA_DEFAULT_threadGroupExpand,LYRA_DEFAULT_threadGroupPinned,LYRA_DEFAULT_threadGroupPrevious30Days,LYRA_DEFAULT_threadGroupPrevious7Days,LYRA_DEFAULT_threadGroupToday,LYRA_DEFAULT_threadGroupYesterday,LYRA_DEFAULT_threadListEmpty,LYRA_DEFAULT_threadListInputLimit,LYRA_DEFAULT_threadListLabel,LYRA_DEFAULT_threadListMatchAnnounce,LYRA_DEFAULT_transcriptFeedEmpty,LYRA_DEFAULT_transcriptFeedInputLimit,LYRA_DEFAULT_transcriptFeedInterim,LYRA_DEFAULT_transcriptFeedLabel,LYRA_DEFAULT_unarchiveConversation,LYRA_DEFAULT_unpinConversation,LYRA_DEFAULT_untitledConversation,LYRA_DEFAULT_usageBadgeCostLabel,LYRA_DEFAULT_usageBadgeLabel,LYRA_DEFAULT_usageBadgeLatencyLabel,LYRA_DEFAULT_usageBadgeTokensIn,LYRA_DEFAULT_usageBadgeTokensInLabel,LYRA_DEFAULT_usageBadgeTokensOut,LYRA_DEFAULT_usageBadgeTokensOutLabel,LYRA_DEFAULT_usageBadgeTotalTokensLabel,LYRA_DEFAULT_voice,LYRA_DEFAULT_voicePickerNoVoices,LYRA_DEFAULT_voicePickerPreview,LYRA_DEFAULT_voicePickerRequired,LYRA_DEFAULT_voicePickerStopPreview};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const LYRA_DEFAULT_calendarEmpty="No events this month.",LYRA_DEFAULT_calendarEventsOverflow="+{n} more",LYRA_DEFAULT_calendarInputLimit="Showing {count} of {total} events. Provide a smaller date range to include other events.",LYRA_DEFAULT_calendarLabel="Calendar",LYRA_DEFAULT_calendarNextMonth="Next month",LYRA_DEFAULT_calendarPreviousMonth="Previous month",LYRA_DEFAULT_contextMeterSegmentLabel="{label}: {count}",LYRA_DEFAULT_contextMeterUsed="{used} used",LYRA_DEFAULT_contextMeterUsedOfTotal="{used} of {total} used",LYRA_DEFAULT_dataGridColumnMenu="Options for {label}",LYRA_DEFAULT_dataGridPinEnd="Pin {label} to end",LYRA_DEFAULT_dataGridPinStart="Pin {label} to start",LYRA_DEFAULT_dataGridRowLimit="Only the first {count} rows are shown.",LYRA_DEFAULT_dataGridRowsPerPage="Rows per page",LYRA_DEFAULT_dataGridTreeLimitReached="Additional nested rows were omitted because the data-grid tree limit was reached.",LYRA_DEFAULT_dataGridUnpin="Unpin {label}",LYRA_DEFAULT_documentLibraryClearSelection="Clear selection",LYRA_DEFAULT_documentLibraryEmptyHeading="No documents yet",LYRA_DEFAULT_documentLibraryFilterByTag="Filter by tag",LYRA_DEFAULT_documentLibraryFreshnessAging="Aging",LYRA_DEFAULT_documentLibraryFreshnessColumn="Freshness",LYRA_DEFAULT_documentLibraryFreshnessFresh="Fresh",LYRA_DEFAULT_documentLibraryFreshnessStale="Stale",LYRA_DEFAULT_documentLibraryLabel="Document library",LYRA_DEFAULT_documentLibraryNameColumn="Name",LYRA_DEFAULT_documentLibraryNoMatchesHeading="No matching documents",LYRA_DEFAULT_documentLibraryOwnerColumn="Owner",LYRA_DEFAULT_documentLibrarySearchPlaceholder="Search documents",LYRA_DEFAULT_documentLibrarySelectAll="Select all documents",LYRA_DEFAULT_documentLibrarySelectColumn="Select",LYRA_DEFAULT_documentLibrarySelectDocument="Select {name}",LYRA_DEFAULT_documentLibrarySelectPage="Select documents on this page",LYRA_DEFAULT_documentLibrarySelectedCount="{count} selected",LYRA_DEFAULT_documentLibraryTagsColumn="Tags",LYRA_DEFAULT_documentLibraryTypeColumn="Type",LYRA_DEFAULT_documentLibraryUpdatedColumn="Updated",LYRA_DEFAULT_documentLibraryVersionColumn="Version",LYRA_DEFAULT_envListCopy="Copy {name}",LYRA_DEFAULT_envListHide="Hide {name}",LYRA_DEFAULT_envListLabel="Environment variables",LYRA_DEFAULT_envListReveal="Reveal {name}",LYRA_DEFAULT_fileTreeDiffSummary="+{additions} -{deletions}",LYRA_DEFAULT_fileTreeLabel="Files",LYRA_DEFAULT_flowCanvasInputLimit="Some nodes, edges, or node data were omitted because an input limit was reached.",LYRA_DEFAULT_flowCanvasLabel="Workflow canvas",LYRA_DEFAULT_flowCanvasLayoutLimit="Some edge-ordering detail was omitted because the flow layout work limit was reached.",LYRA_DEFAULT_flowCanvasSummary="Workflow with {nodeCount} nodes and {edgeCount} edges",LYRA_DEFAULT_flowConnectCancelled="Connection cancelled",LYRA_DEFAULT_flowConnectCommitted="Connected {source} to {target}",LYRA_DEFAULT_flowConnectStarted="Connecting from {label}. Use arrow keys to choose a target, Enter to connect, Escape to cancel.",LYRA_DEFAULT_flowConnectTarget="Connecting {source} to {target} ({index} of {total})",LYRA_DEFAULT_flowControlsLabel="Canvas controls",LYRA_DEFAULT_flowEdge="Edge from {source} to {target}",LYRA_DEFAULT_flowEdgeList="Workflow edges",LYRA_DEFAULT_flowEdgeWithLabel="{label}, edge from {source} to {target}",LYRA_DEFAULT_flowInputHandle="Input {id}",LYRA_DEFAULT_flowLockCanvas="Lock canvas",LYRA_DEFAULT_flowMinimapInstructions="Arrow keys pan. Plus and minus zoom. Enter or Home fits the workflow.",LYRA_DEFAULT_flowMinimapLabel="Workflow overview",LYRA_DEFAULT_flowMinimapSourceUnavailable="Workflow overview unavailable.",LYRA_DEFAULT_flowMinimapViewport="Visible area",LYRA_DEFAULT_flowMinimapViewportChanged="Position {x}, {y}. Zoom {zoom}.",LYRA_DEFAULT_flowNode="Node {label}",LYRA_DEFAULT_flowNodeDeselected="{label} deselected",LYRA_DEFAULT_flowNodeMoved="Moved {label} to {x}, {y}",LYRA_DEFAULT_flowNodeSelected="{label} selected",LYRA_DEFAULT_flowOutputHandle="Output {id}",LYRA_DEFAULT_flowRunStatusCount="{status}: {count}",LYRA_DEFAULT_flowRunStatusLabel="Run status",LYRA_DEFAULT_flowRunStepStatus="{label}: {status}",LYRA_DEFAULT_flowRunSummary="{done} of {total} steps complete",LYRA_DEFAULT_flowSelectionCleared="Selection cleared",LYRA_DEFAULT_flowStatusWithDetail="{status} — {detail}",LYRA_DEFAULT_flowStatusWithDuration="{status} ({duration})",LYRA_DEFAULT_funnelComparisonShare="{label}: {value}",LYRA_DEFAULT_funnelDropoffDecreased="decreased {value}",LYRA_DEFAULT_funnelDropoffIncreased="increased {value}",LYRA_DEFAULT_funnelStagesLimit="Only the first {count} stages are shown.",LYRA_DEFAULT_gaugeLabel="Gauge",LYRA_DEFAULT_gaugeValueLabel="{label}: {value}",LYRA_DEFAULT_graphQueryBuilderLabel="Graph query builder",LYRA_DEFAULT_graphQueryDeleteWithContext="Delete {name}",LYRA_DEFAULT_graphQueryDirectionLabel="Direction",LYRA_DEFAULT_graphQueryEndLabel="End entity",LYRA_DEFAULT_graphQueryHopRangeInvalid="Maximum hops must be at least the minimum.",LYRA_DEFAULT_graphQueryLoadWithContext="Load {name}",LYRA_DEFAULT_graphQueryMaxHopsLabel="Maximum hops",LYRA_DEFAULT_graphQueryMinHopsLabel="Minimum hops",LYRA_DEFAULT_graphQueryNodeTypeLabel="Node type",LYRA_DEFAULT_graphQueryRelationshipTypeLabel="Relationship type",LYRA_DEFAULT_graphQueryRun="Run query",LYRA_DEFAULT_graphQuerySaveButton="Save query",LYRA_DEFAULT_graphQuerySaveNameLabel="Query name",LYRA_DEFAULT_graphQuerySavedQueriesLabel="Saved queries",LYRA_DEFAULT_graphQueryStartLabel="Start entity",LYRA_DEFAULT_heatmapCalendarCellLabel="{date}: {value}",LYRA_DEFAULT_heatmapCalendarLabel="Calendar heatmap of {days} days, {label} range {range}",LYRA_DEFAULT_heatmapDecorationLimit="Only the first {count} heatmap colors, legend stops, and annotations are shown.",LYRA_DEFAULT_heatmapDefaultColLabel="col {n}",LYRA_DEFAULT_heatmapDefaultRowLabel="row {n}",LYRA_DEFAULT_heatmapInputLimit="Some heatmap decorations or selected cells were omitted because an input limit was reached.",LYRA_DEFAULT_heatmapMatrixCellLabel="Row {row}, Col {col}: {value}",LYRA_DEFAULT_heatmapMatrixLabel="Heatmap of {rows} × {cols} cells, {label} range {range}",LYRA_DEFAULT_heatmapNoDataValue="no data",LYRA_DEFAULT_heatmapProjectionLimit="Only the first {count} heatmap cells are shown.",LYRA_DEFAULT_heatmapSelectedCellLabel="Selected: {cell}.",LYRA_DEFAULT_heatmapSelectedCount="Selected cells: {count}.",LYRA_DEFAULT_heatmapSourceError="Unable to load matrix data.",LYRA_DEFAULT_heatmapSourceExactWindow="Exact cells: rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}.",LYRA_DEFAULT_heatmapSourceKeyboardHelp="Use arrow keys to move between cells, Control+Home or Control+End for the first or last cell, Enter to activate a cell, and Shift+Enter to select its aggregate range.",LYRA_DEFAULT_heatmapSourceMax="maximum",LYRA_DEFAULT_heatmapSourceMean="mean",LYRA_DEFAULT_heatmapSourceMin="minimum",LYRA_DEFAULT_heatmapSourceRangeLabel="Rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}: {valid} of {count} cells with data; minimum {min}, maximum {max}, {reducer} {value}.",LYRA_DEFAULT_heatmapSourceSummary="{rows} × {cols} source cells; rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd} shown as {tiles} aggregate tiles.",LYRA_DEFAULT_heatmapValueLabel="value",LYRA_DEFAULT_noColumns="No columns configured",LYRA_DEFAULT_paginationAppliedUnknownTotal="Page {page}",LYRA_DEFAULT_paginationEmptySummary="{total} {itemLabel}",LYRA_DEFAULT_paginationJumpToPage="Jump to page {page}",LYRA_DEFAULT_paginationPage="Page",LYRA_DEFAULT_queryBuilderAddCondition="Add condition",LYRA_DEFAULT_queryBuilderBooleanFalse="False",LYRA_DEFAULT_queryBuilderBooleanTrue="True",LYRA_DEFAULT_queryBuilderCombinatorAnd="All conditions (AND)",LYRA_DEFAULT_queryBuilderCombinatorLabel="Combine conditions with",LYRA_DEFAULT_queryBuilderCombinatorOr="Any condition (OR)",LYRA_DEFAULT_queryBuilderEmpty="No conditions yet.",LYRA_DEFAULT_queryBuilderFieldLabel="Field",LYRA_DEFAULT_queryBuilderFieldPlaceholder="Select field",LYRA_DEFAULT_queryBuilderLabel="Query builder",LYRA_DEFAULT_queryBuilderNoFields="No fields available.",LYRA_DEFAULT_queryBuilderOperatorAfter="After",LYRA_DEFAULT_queryBuilderOperatorBefore="Before",LYRA_DEFAULT_queryBuilderOperatorContains="Contains",LYRA_DEFAULT_queryBuilderOperatorEndsWith="Ends with",LYRA_DEFAULT_queryBuilderOperatorEquals="Equals",LYRA_DEFAULT_queryBuilderOperatorGreaterThan="Greater than",LYRA_DEFAULT_queryBuilderOperatorGreaterThanOrEqual="Greater than or equal to",LYRA_DEFAULT_queryBuilderOperatorIn="Is any of",LYRA_DEFAULT_queryBuilderOperatorIsEmpty="Is empty",LYRA_DEFAULT_queryBuilderOperatorIsNotEmpty="Is not empty",LYRA_DEFAULT_queryBuilderOperatorLabel="Operator",LYRA_DEFAULT_queryBuilderOperatorLessThan="Less than",LYRA_DEFAULT_queryBuilderOperatorLessThanOrEqual="Less than or equal to",LYRA_DEFAULT_queryBuilderOperatorNotEquals="Does not equal",LYRA_DEFAULT_queryBuilderOperatorNotIn="Is none of",LYRA_DEFAULT_queryBuilderOperatorOnOrAfter="On or after",LYRA_DEFAULT_queryBuilderOperatorOnOrBefore="On or before",LYRA_DEFAULT_queryBuilderOperatorPlaceholder="Select operator",LYRA_DEFAULT_queryBuilderOperatorStartsWith="Starts with",LYRA_DEFAULT_queryBuilderRemoveCondition="Remove condition {index}",LYRA_DEFAULT_queryBuilderValueLabel="Value",LYRA_DEFAULT_queryBuilderValuePlaceholder="Select value",LYRA_DEFAULT_resizeColumn="Resize {label} column",LYRA_DEFAULT_sequenceStripBucketLabel="{label}, items {start} to {end}",LYRA_DEFAULT_sequenceStripBucketSummary="{items} items in {ranges} ranges",LYRA_DEFAULT_sequenceStripCategoryCount="{label}: {count}",LYRA_DEFAULT_sequenceStripEmpty="No items",LYRA_DEFAULT_sequenceStripSourceError="Unable to load sequence data.",LYRA_DEFAULT_sequenceStripSourceItemLabel="{label}, item {index} of {total}",LYRA_DEFAULT_sequenceStripSourceItemUnavailable="Sequence item unavailable.",LYRA_DEFAULT_sequenceStripSourceKeyboardHelp="Use Left and Right Arrow to inspect adjacent items, Home and End for the first and last item, and Enter to activate the inspected item.",LYRA_DEFAULT_sequenceStripSourceRangeDetails="{label}, items {start} to {end}; {enabled} of {total} enabled; {markers} marked.",LYRA_DEFAULT_sequenceStripUnnamedCategory="Unnamed category",LYRA_DEFAULT_showAllColumns="Show all columns",LYRA_DEFAULT_showFewerColumns="Show fewer columns",LYRA_DEFAULT_statTrendAnnouncement="{trend}, {polarity}",LYRA_DEFAULT_statTrendBad="bad",LYRA_DEFAULT_statTrendDecreased="decreased {value}",LYRA_DEFAULT_statTrendGood="good",LYRA_DEFAULT_statTrendIncreased="increased {value}",LYRA_DEFAULT_tableEditCell="Edit {column}",LYRA_DEFAULT_tableFilterLabel="Filter rows",LYRA_DEFAULT_tableFilterPlaceholder="Filter rows",LYRA_DEFAULT_tableLoading="Loading rows",LYRA_DEFAULT_tableLoadingMore="Loading more rows",LYRA_DEFAULT_tableRowLimit="Only the first {count} rows are shown.",LYRA_DEFAULT_tableRowTotal="Total",LYRA_DEFAULT_timeline="Timeline",LYRA_DEFAULT_timelineClusterCount="Show timeline events ({count})",LYRA_DEFAULT_treeLimit="Only the first {count} items are shown.",LYRA_DEFAULT_trendOf="Trend of {count} values, last {value}",LYRA_DEFAULT_trendUnchanged="unchanged",LYRA_DEFAULT_wordCloud="Word cloud of {count} {word}",LYRA_DEFAULT_wordCloudLegend="Word cloud color key",LYRA_DEFAULT_wordCloudPreparedSummary="Word summary: {retainedCount} of {validCount} valid words retained ({invalidCount} invalid); retained weight {retainedWeight} of {totalWeight}.",LYRA_DEFAULT_wordCloudPreparedUnavailable="The prepared word summary is unavailable.",LYRA_DEFAULT_wordCloudWord="word",LYRA_DEFAULT_wordCloudWordAnnouncement="{text}, {weight}",LYRA_DEFAULT_wordCloudWords="words",LYRA_DEFAULT_zoomToFit="Zoom to fit";export{LYRA_DEFAULT_calendarEmpty,LYRA_DEFAULT_calendarEventsOverflow,LYRA_DEFAULT_calendarInputLimit,LYRA_DEFAULT_calendarLabel,LYRA_DEFAULT_calendarNextMonth,LYRA_DEFAULT_calendarPreviousMonth,LYRA_DEFAULT_contextMeterSegmentLabel,LYRA_DEFAULT_contextMeterUsed,LYRA_DEFAULT_contextMeterUsedOfTotal,LYRA_DEFAULT_dataGridColumnMenu,LYRA_DEFAULT_dataGridPinEnd,LYRA_DEFAULT_dataGridPinStart,LYRA_DEFAULT_dataGridRowLimit,LYRA_DEFAULT_dataGridRowsPerPage,LYRA_DEFAULT_dataGridTreeLimitReached,LYRA_DEFAULT_dataGridUnpin,LYRA_DEFAULT_documentLibraryClearSelection,LYRA_DEFAULT_documentLibraryEmptyHeading,LYRA_DEFAULT_documentLibraryFilterByTag,LYRA_DEFAULT_documentLibraryFreshnessAging,LYRA_DEFAULT_documentLibraryFreshnessColumn,LYRA_DEFAULT_documentLibraryFreshnessFresh,LYRA_DEFAULT_documentLibraryFreshnessStale,LYRA_DEFAULT_documentLibraryLabel,LYRA_DEFAULT_documentLibraryNameColumn,LYRA_DEFAULT_documentLibraryNoMatchesHeading,LYRA_DEFAULT_documentLibraryOwnerColumn,LYRA_DEFAULT_documentLibrarySearchPlaceholder,LYRA_DEFAULT_documentLibrarySelectAll,LYRA_DEFAULT_documentLibrarySelectColumn,LYRA_DEFAULT_documentLibrarySelectDocument,LYRA_DEFAULT_documentLibrarySelectPage,LYRA_DEFAULT_documentLibrarySelectedCount,LYRA_DEFAULT_documentLibraryTagsColumn,LYRA_DEFAULT_documentLibraryTypeColumn,LYRA_DEFAULT_documentLibraryUpdatedColumn,LYRA_DEFAULT_documentLibraryVersionColumn,LYRA_DEFAULT_envListCopy,LYRA_DEFAULT_envListHide,LYRA_DEFAULT_envListLabel,LYRA_DEFAULT_envListReveal,LYRA_DEFAULT_fileTreeDiffSummary,LYRA_DEFAULT_fileTreeLabel,LYRA_DEFAULT_flowCanvasInputLimit,LYRA_DEFAULT_flowCanvasLabel,LYRA_DEFAULT_flowCanvasLayoutLimit,LYRA_DEFAULT_flowCanvasSummary,LYRA_DEFAULT_flowConnectCancelled,LYRA_DEFAULT_flowConnectCommitted,LYRA_DEFAULT_flowConnectStarted,LYRA_DEFAULT_flowConnectTarget,LYRA_DEFAULT_flowControlsLabel,LYRA_DEFAULT_flowEdge,LYRA_DEFAULT_flowEdgeList,LYRA_DEFAULT_flowEdgeWithLabel,LYRA_DEFAULT_flowInputHandle,LYRA_DEFAULT_flowLockCanvas,LYRA_DEFAULT_flowMinimapInstructions,LYRA_DEFAULT_flowMinimapLabel,LYRA_DEFAULT_flowMinimapSourceUnavailable,LYRA_DEFAULT_flowMinimapViewport,LYRA_DEFAULT_flowMinimapViewportChanged,LYRA_DEFAULT_flowNode,LYRA_DEFAULT_flowNodeDeselected,LYRA_DEFAULT_flowNodeMoved,LYRA_DEFAULT_flowNodeSelected,LYRA_DEFAULT_flowOutputHandle,LYRA_DEFAULT_flowRunStatusCount,LYRA_DEFAULT_flowRunStatusLabel,LYRA_DEFAULT_flowRunStepStatus,LYRA_DEFAULT_flowRunSummary,LYRA_DEFAULT_flowSelectionCleared,LYRA_DEFAULT_flowStatusWithDetail,LYRA_DEFAULT_flowStatusWithDuration,LYRA_DEFAULT_funnelComparisonShare,LYRA_DEFAULT_funnelDropoffDecreased,LYRA_DEFAULT_funnelDropoffIncreased,LYRA_DEFAULT_funnelStagesLimit,LYRA_DEFAULT_gaugeLabel,LYRA_DEFAULT_gaugeValueLabel,LYRA_DEFAULT_graphQueryBuilderLabel,LYRA_DEFAULT_graphQueryDeleteWithContext,LYRA_DEFAULT_graphQueryDirectionLabel,LYRA_DEFAULT_graphQueryEndLabel,LYRA_DEFAULT_graphQueryHopRangeInvalid,LYRA_DEFAULT_graphQueryLoadWithContext,LYRA_DEFAULT_graphQueryMaxHopsLabel,LYRA_DEFAULT_graphQueryMinHopsLabel,LYRA_DEFAULT_graphQueryNodeTypeLabel,LYRA_DEFAULT_graphQueryRelationshipTypeLabel,LYRA_DEFAULT_graphQueryRun,LYRA_DEFAULT_graphQuerySaveButton,LYRA_DEFAULT_graphQuerySaveNameLabel,LYRA_DEFAULT_graphQuerySavedQueriesLabel,LYRA_DEFAULT_graphQueryStartLabel,LYRA_DEFAULT_heatmapCalendarCellLabel,LYRA_DEFAULT_heatmapCalendarLabel,LYRA_DEFAULT_heatmapDecorationLimit,LYRA_DEFAULT_heatmapDefaultColLabel,LYRA_DEFAULT_heatmapDefaultRowLabel,LYRA_DEFAULT_heatmapInputLimit,LYRA_DEFAULT_heatmapMatrixCellLabel,LYRA_DEFAULT_heatmapMatrixLabel,LYRA_DEFAULT_heatmapNoDataValue,LYRA_DEFAULT_heatmapProjectionLimit,LYRA_DEFAULT_heatmapSelectedCellLabel,LYRA_DEFAULT_heatmapSelectedCount,LYRA_DEFAULT_heatmapSourceError,LYRA_DEFAULT_heatmapSourceExactWindow,LYRA_DEFAULT_heatmapSourceKeyboardHelp,LYRA_DEFAULT_heatmapSourceMax,LYRA_DEFAULT_heatmapSourceMean,LYRA_DEFAULT_heatmapSourceMin,LYRA_DEFAULT_heatmapSourceRangeLabel,LYRA_DEFAULT_heatmapSourceSummary,LYRA_DEFAULT_heatmapValueLabel,LYRA_DEFAULT_noColumns,LYRA_DEFAULT_paginationAppliedUnknownTotal,LYRA_DEFAULT_paginationEmptySummary,LYRA_DEFAULT_paginationJumpToPage,LYRA_DEFAULT_paginationPage,LYRA_DEFAULT_queryBuilderAddCondition,LYRA_DEFAULT_queryBuilderBooleanFalse,LYRA_DEFAULT_queryBuilderBooleanTrue,LYRA_DEFAULT_queryBuilderCombinatorAnd,LYRA_DEFAULT_queryBuilderCombinatorLabel,LYRA_DEFAULT_queryBuilderCombinatorOr,LYRA_DEFAULT_queryBuilderEmpty,LYRA_DEFAULT_queryBuilderFieldLabel,LYRA_DEFAULT_queryBuilderFieldPlaceholder,LYRA_DEFAULT_queryBuilderLabel,LYRA_DEFAULT_queryBuilderNoFields,LYRA_DEFAULT_queryBuilderOperatorAfter,LYRA_DEFAULT_queryBuilderOperatorBefore,LYRA_DEFAULT_queryBuilderOperatorContains,LYRA_DEFAULT_queryBuilderOperatorEndsWith,LYRA_DEFAULT_queryBuilderOperatorEquals,LYRA_DEFAULT_queryBuilderOperatorGreaterThan,LYRA_DEFAULT_queryBuilderOperatorGreaterThanOrEqual,LYRA_DEFAULT_queryBuilderOperatorIn,LYRA_DEFAULT_queryBuilderOperatorIsEmpty,LYRA_DEFAULT_queryBuilderOperatorIsNotEmpty,LYRA_DEFAULT_queryBuilderOperatorLabel,LYRA_DEFAULT_queryBuilderOperatorLessThan,LYRA_DEFAULT_queryBuilderOperatorLessThanOrEqual,LYRA_DEFAULT_queryBuilderOperatorNotEquals,LYRA_DEFAULT_queryBuilderOperatorNotIn,LYRA_DEFAULT_queryBuilderOperatorOnOrAfter,LYRA_DEFAULT_queryBuilderOperatorOnOrBefore,LYRA_DEFAULT_queryBuilderOperatorPlaceholder,LYRA_DEFAULT_queryBuilderOperatorStartsWith,LYRA_DEFAULT_queryBuilderRemoveCondition,LYRA_DEFAULT_queryBuilderValueLabel,LYRA_DEFAULT_queryBuilderValuePlaceholder,LYRA_DEFAULT_resizeColumn,LYRA_DEFAULT_sequenceStripBucketLabel,LYRA_DEFAULT_sequenceStripBucketSummary,LYRA_DEFAULT_sequenceStripCategoryCount,LYRA_DEFAULT_sequenceStripEmpty,LYRA_DEFAULT_sequenceStripSourceError,LYRA_DEFAULT_sequenceStripSourceItemLabel,LYRA_DEFAULT_sequenceStripSourceItemUnavailable,LYRA_DEFAULT_sequenceStripSourceKeyboardHelp,LYRA_DEFAULT_sequenceStripSourceRangeDetails,LYRA_DEFAULT_sequenceStripUnnamedCategory,LYRA_DEFAULT_showAllColumns,LYRA_DEFAULT_showFewerColumns,LYRA_DEFAULT_statTrendAnnouncement,LYRA_DEFAULT_statTrendBad,LYRA_DEFAULT_statTrendDecreased,LYRA_DEFAULT_statTrendGood,LYRA_DEFAULT_statTrendIncreased,LYRA_DEFAULT_tableEditCell,LYRA_DEFAULT_tableFilterLabel,LYRA_DEFAULT_tableFilterPlaceholder,LYRA_DEFAULT_tableLoading,LYRA_DEFAULT_tableLoadingMore,LYRA_DEFAULT_tableRowLimit,LYRA_DEFAULT_tableRowTotal,LYRA_DEFAULT_timeline,LYRA_DEFAULT_timelineClusterCount,LYRA_DEFAULT_treeLimit,LYRA_DEFAULT_trendOf,LYRA_DEFAULT_trendUnchanged,LYRA_DEFAULT_wordCloud,LYRA_DEFAULT_wordCloudLegend,LYRA_DEFAULT_wordCloudPreparedSummary,LYRA_DEFAULT_wordCloudPreparedUnavailable,LYRA_DEFAULT_wordCloudWord,LYRA_DEFAULT_wordCloudWordAnnouncement,LYRA_DEFAULT_wordCloudWords,LYRA_DEFAULT_zoomToFit};
|
|
1
|
+
const LYRA_DEFAULT_calendarEmpty="No events this month.",LYRA_DEFAULT_calendarEventsOverflow="+{n} more",LYRA_DEFAULT_calendarInputLimit="Showing {count} of {total} events. Provide a smaller date range to include other events.",LYRA_DEFAULT_calendarLabel="Calendar",LYRA_DEFAULT_calendarNextMonth="Next month",LYRA_DEFAULT_calendarPreviousMonth="Previous month",LYRA_DEFAULT_contextMeterSegmentLabel="{label}: {count}",LYRA_DEFAULT_contextMeterUsed="{used} used",LYRA_DEFAULT_contextMeterUsedOfTotal="{used} of {total} used",LYRA_DEFAULT_dataGridColumnMenu="Options for {label}",LYRA_DEFAULT_dataGridPinEnd="Pin {label} to end",LYRA_DEFAULT_dataGridPinStart="Pin {label} to start",LYRA_DEFAULT_dataGridRowLimit="Only the first {count} rows are shown.",LYRA_DEFAULT_dataGridRowsPerPage="Rows per page",LYRA_DEFAULT_dataGridTreeLimitReached="Additional nested rows were omitted because the data-grid tree limit was reached.",LYRA_DEFAULT_dataGridUnpin="Unpin {label}",LYRA_DEFAULT_documentLibraryClearSelection="Clear selection",LYRA_DEFAULT_documentLibraryCursorEmptyBatch="No documents in this batch",LYRA_DEFAULT_documentLibraryCursorEnd="End of results.",LYRA_DEFAULT_documentLibraryCursorFailed="Unable to load this document batch.",LYRA_DEFAULT_documentLibraryCursorHistoryLimit="Earlier batches are no longer retained. Start over to return to the beginning.",LYRA_DEFAULT_documentLibraryCursorNavigation="Document batches",LYRA_DEFAULT_documentLibraryCursorRestart="Start over",LYRA_DEFAULT_documentLibraryEmptyHeading="No documents yet",LYRA_DEFAULT_documentLibraryFilterByTag="Filter by tag",LYRA_DEFAULT_documentLibraryFreshnessAging="Aging",LYRA_DEFAULT_documentLibraryFreshnessColumn="Freshness",LYRA_DEFAULT_documentLibraryFreshnessFresh="Fresh",LYRA_DEFAULT_documentLibraryFreshnessStale="Stale",LYRA_DEFAULT_documentLibraryLabel="Document library",LYRA_DEFAULT_documentLibraryNameColumn="Name",LYRA_DEFAULT_documentLibraryNoMatchesHeading="No matching documents",LYRA_DEFAULT_documentLibraryOwnerColumn="Owner",LYRA_DEFAULT_documentLibrarySearchPlaceholder="Search documents",LYRA_DEFAULT_documentLibrarySelectAll="Select all documents",LYRA_DEFAULT_documentLibrarySelectColumn="Select",LYRA_DEFAULT_documentLibrarySelectDocument="Select {name}",LYRA_DEFAULT_documentLibrarySelectPage="Select documents on this page",LYRA_DEFAULT_documentLibrarySelectedCount="{count} selected",LYRA_DEFAULT_documentLibraryTagsColumn="Tags",LYRA_DEFAULT_documentLibraryTypeColumn="Type",LYRA_DEFAULT_documentLibraryUpdatedColumn="Updated",LYRA_DEFAULT_documentLibraryVersionColumn="Version",LYRA_DEFAULT_envListCopy="Copy {name}",LYRA_DEFAULT_envListHide="Hide {name}",LYRA_DEFAULT_envListLabel="Environment variables",LYRA_DEFAULT_envListReveal="Reveal {name}",LYRA_DEFAULT_fileTreeDiffSummary="+{additions} -{deletions}",LYRA_DEFAULT_fileTreeLabel="Files",LYRA_DEFAULT_flowCanvasInputLimit="Some nodes, edges, or node data were omitted because an input limit was reached.",LYRA_DEFAULT_flowCanvasLabel="Workflow canvas",LYRA_DEFAULT_flowCanvasLayoutLimit="Some edge-ordering detail was omitted because the flow layout work limit was reached.",LYRA_DEFAULT_flowCanvasSummary="Workflow with {nodeCount} nodes and {edgeCount} edges",LYRA_DEFAULT_flowConnectCancelled="Connection cancelled",LYRA_DEFAULT_flowConnectCommitted="Connected {source} to {target}",LYRA_DEFAULT_flowConnectStarted="Connecting from {label}. Use arrow keys to choose a target, Enter to connect, Escape to cancel.",LYRA_DEFAULT_flowConnectTarget="Connecting {source} to {target} ({index} of {total})",LYRA_DEFAULT_flowControlsLabel="Canvas controls",LYRA_DEFAULT_flowEdge="Edge from {source} to {target}",LYRA_DEFAULT_flowEdgeList="Workflow edges",LYRA_DEFAULT_flowEdgeWithLabel="{label}, edge from {source} to {target}",LYRA_DEFAULT_flowInputHandle="Input {id}",LYRA_DEFAULT_flowLockCanvas="Lock canvas",LYRA_DEFAULT_flowMinimapInstructions="Arrow keys pan. Plus and minus zoom. Enter or Home fits the workflow.",LYRA_DEFAULT_flowMinimapLabel="Workflow overview",LYRA_DEFAULT_flowMinimapSourceUnavailable="Workflow overview unavailable.",LYRA_DEFAULT_flowMinimapViewport="Visible area",LYRA_DEFAULT_flowMinimapViewportChanged="Position {x}, {y}. Zoom {zoom}.",LYRA_DEFAULT_flowNode="Node {label}",LYRA_DEFAULT_flowNodeDeselected="{label} deselected",LYRA_DEFAULT_flowNodeMoved="Moved {label} to {x}, {y}",LYRA_DEFAULT_flowNodeSelected="{label} selected",LYRA_DEFAULT_flowOutputHandle="Output {id}",LYRA_DEFAULT_flowRunStatusCount="{status}: {count}",LYRA_DEFAULT_flowRunStatusLabel="Run status",LYRA_DEFAULT_flowRunStepStatus="{label}: {status}",LYRA_DEFAULT_flowRunSummary="{done} of {total} steps complete",LYRA_DEFAULT_flowSelectionCleared="Selection cleared",LYRA_DEFAULT_flowStatusWithDetail="{status} — {detail}",LYRA_DEFAULT_flowStatusWithDuration="{status} ({duration})",LYRA_DEFAULT_funnelComparisonShare="{label}: {value}",LYRA_DEFAULT_funnelDropoffDecreased="decreased {value}",LYRA_DEFAULT_funnelDropoffIncreased="increased {value}",LYRA_DEFAULT_funnelStagesLimit="Only the first {count} stages are shown.",LYRA_DEFAULT_gaugeLabel="Gauge",LYRA_DEFAULT_gaugeValueLabel="{label}: {value}",LYRA_DEFAULT_graphQueryBuilderLabel="Graph query builder",LYRA_DEFAULT_graphQueryDeleteWithContext="Delete {name}",LYRA_DEFAULT_graphQueryDirectionLabel="Direction",LYRA_DEFAULT_graphQueryEndLabel="End entity",LYRA_DEFAULT_graphQueryHopRangeInvalid="Maximum hops must be at least the minimum.",LYRA_DEFAULT_graphQueryLoadWithContext="Load {name}",LYRA_DEFAULT_graphQueryMaxHopsLabel="Maximum hops",LYRA_DEFAULT_graphQueryMinHopsLabel="Minimum hops",LYRA_DEFAULT_graphQueryNodeTypeLabel="Node type",LYRA_DEFAULT_graphQueryRelationshipTypeLabel="Relationship type",LYRA_DEFAULT_graphQueryRun="Run query",LYRA_DEFAULT_graphQuerySaveButton="Save query",LYRA_DEFAULT_graphQuerySaveNameLabel="Query name",LYRA_DEFAULT_graphQuerySavedQueriesLabel="Saved queries",LYRA_DEFAULT_graphQueryStartLabel="Start entity",LYRA_DEFAULT_heatmapCalendarCellLabel="{date}: {value}",LYRA_DEFAULT_heatmapCalendarLabel="Calendar heatmap of {days} days, {label} range {range}",LYRA_DEFAULT_heatmapDecorationLimit="Only the first {count} heatmap colors, legend stops, and annotations are shown.",LYRA_DEFAULT_heatmapDefaultColLabel="col {n}",LYRA_DEFAULT_heatmapDefaultRowLabel="row {n}",LYRA_DEFAULT_heatmapInputLimit="Some heatmap decorations or selected cells were omitted because an input limit was reached.",LYRA_DEFAULT_heatmapMatrixCellLabel="Row {row}, Col {col}: {value}",LYRA_DEFAULT_heatmapMatrixLabel="Heatmap of {rows} × {cols} cells, {label} range {range}",LYRA_DEFAULT_heatmapNoDataValue="no data",LYRA_DEFAULT_heatmapProjectionLimit="Only the first {count} heatmap cells are shown.",LYRA_DEFAULT_heatmapSelectedCellLabel="Selected: {cell}.",LYRA_DEFAULT_heatmapSelectedCount="Selected cells: {count}.",LYRA_DEFAULT_heatmapSourceError="Unable to load matrix data.",LYRA_DEFAULT_heatmapSourceExactWindow="Exact cells: rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}.",LYRA_DEFAULT_heatmapSourceKeyboardHelp="Use arrow keys to move between cells, Control+Home or Control+End for the first or last cell, Enter to activate a cell, and Shift+Enter to select its aggregate range.",LYRA_DEFAULT_heatmapSourceMax="maximum",LYRA_DEFAULT_heatmapSourceMean="mean",LYRA_DEFAULT_heatmapSourceMin="minimum",LYRA_DEFAULT_heatmapSourceRangeLabel="Rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}: {valid} of {count} cells with data; minimum {min}, maximum {max}, {reducer} {value}.",LYRA_DEFAULT_heatmapSourceSummary="{rows} × {cols} source cells; rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd} shown as {tiles} aggregate tiles.",LYRA_DEFAULT_heatmapValueLabel="value",LYRA_DEFAULT_noColumns="No columns configured",LYRA_DEFAULT_paginationAppliedUnknownTotal="Page {page}",LYRA_DEFAULT_paginationEmptySummary="{total} {itemLabel}",LYRA_DEFAULT_paginationJumpToPage="Jump to page {page}",LYRA_DEFAULT_paginationPage="Page",LYRA_DEFAULT_queryBuilderAddCondition="Add condition",LYRA_DEFAULT_queryBuilderBooleanFalse="False",LYRA_DEFAULT_queryBuilderBooleanTrue="True",LYRA_DEFAULT_queryBuilderCombinatorAnd="All conditions (AND)",LYRA_DEFAULT_queryBuilderCombinatorLabel="Combine conditions with",LYRA_DEFAULT_queryBuilderCombinatorOr="Any condition (OR)",LYRA_DEFAULT_queryBuilderEmpty="No conditions yet.",LYRA_DEFAULT_queryBuilderFieldLabel="Field",LYRA_DEFAULT_queryBuilderFieldPlaceholder="Select field",LYRA_DEFAULT_queryBuilderLabel="Query builder",LYRA_DEFAULT_queryBuilderNoFields="No fields available.",LYRA_DEFAULT_queryBuilderOperatorAfter="After",LYRA_DEFAULT_queryBuilderOperatorBefore="Before",LYRA_DEFAULT_queryBuilderOperatorContains="Contains",LYRA_DEFAULT_queryBuilderOperatorEndsWith="Ends with",LYRA_DEFAULT_queryBuilderOperatorEquals="Equals",LYRA_DEFAULT_queryBuilderOperatorGreaterThan="Greater than",LYRA_DEFAULT_queryBuilderOperatorGreaterThanOrEqual="Greater than or equal to",LYRA_DEFAULT_queryBuilderOperatorIn="Is any of",LYRA_DEFAULT_queryBuilderOperatorIsEmpty="Is empty",LYRA_DEFAULT_queryBuilderOperatorIsNotEmpty="Is not empty",LYRA_DEFAULT_queryBuilderOperatorLabel="Operator",LYRA_DEFAULT_queryBuilderOperatorLessThan="Less than",LYRA_DEFAULT_queryBuilderOperatorLessThanOrEqual="Less than or equal to",LYRA_DEFAULT_queryBuilderOperatorNotEquals="Does not equal",LYRA_DEFAULT_queryBuilderOperatorNotIn="Is none of",LYRA_DEFAULT_queryBuilderOperatorOnOrAfter="On or after",LYRA_DEFAULT_queryBuilderOperatorOnOrBefore="On or before",LYRA_DEFAULT_queryBuilderOperatorPlaceholder="Select operator",LYRA_DEFAULT_queryBuilderOperatorStartsWith="Starts with",LYRA_DEFAULT_queryBuilderRemoveCondition="Remove condition {index}",LYRA_DEFAULT_queryBuilderValueLabel="Value",LYRA_DEFAULT_queryBuilderValuePlaceholder="Select value",LYRA_DEFAULT_resizeColumn="Resize {label} column",LYRA_DEFAULT_sequenceStripBucketLabel="{label}, items {start} to {end}",LYRA_DEFAULT_sequenceStripBucketSummary="{items} items in {ranges} ranges",LYRA_DEFAULT_sequenceStripCategoryCount="{label}: {count}",LYRA_DEFAULT_sequenceStripEmpty="No items",LYRA_DEFAULT_sequenceStripSourceError="Unable to load sequence data.",LYRA_DEFAULT_sequenceStripSourceItemLabel="{label}, item {index} of {total}",LYRA_DEFAULT_sequenceStripSourceItemUnavailable="Sequence item unavailable.",LYRA_DEFAULT_sequenceStripSourceKeyboardHelp="Use Left and Right Arrow to inspect adjacent items, Home and End for the first and last item, and Enter to activate the inspected item.",LYRA_DEFAULT_sequenceStripSourceRangeDetails="{label}, items {start} to {end}; {enabled} of {total} enabled; {markers} marked.",LYRA_DEFAULT_sequenceStripUnnamedCategory="Unnamed category",LYRA_DEFAULT_showAllColumns="Show all columns",LYRA_DEFAULT_showFewerColumns="Show fewer columns",LYRA_DEFAULT_statTrendAnnouncement="{trend}, {polarity}",LYRA_DEFAULT_statTrendBad="bad",LYRA_DEFAULT_statTrendDecreased="decreased {value}",LYRA_DEFAULT_statTrendGood="good",LYRA_DEFAULT_statTrendIncreased="increased {value}",LYRA_DEFAULT_tableEditCell="Edit {column}",LYRA_DEFAULT_tableFilterLabel="Filter rows",LYRA_DEFAULT_tableFilterPlaceholder="Filter rows",LYRA_DEFAULT_tableLoading="Loading rows",LYRA_DEFAULT_tableLoadingMore="Loading more rows",LYRA_DEFAULT_tableRowLimit="Only the first {count} rows are shown.",LYRA_DEFAULT_tableRowTotal="Total",LYRA_DEFAULT_timeline="Timeline",LYRA_DEFAULT_timelineClusterCount="Show timeline events ({count})",LYRA_DEFAULT_treeLimit="Only the first {count} items are shown.",LYRA_DEFAULT_trendOf="Trend of {count} values, last {value}",LYRA_DEFAULT_trendUnchanged="unchanged",LYRA_DEFAULT_wordCloud="Word cloud of {count} {word}",LYRA_DEFAULT_wordCloudLegend="Word cloud color key",LYRA_DEFAULT_wordCloudPreparedSummary="Word summary: {retainedCount} of {validCount} valid words retained ({invalidCount} invalid); retained weight {retainedWeight} of {totalWeight}.",LYRA_DEFAULT_wordCloudPreparedUnavailable="The prepared word summary is unavailable.",LYRA_DEFAULT_wordCloudWord="word",LYRA_DEFAULT_wordCloudWordAnnouncement="{text}, {weight}",LYRA_DEFAULT_wordCloudWords="words",LYRA_DEFAULT_zoomToFit="Zoom to fit";export{LYRA_DEFAULT_calendarEmpty,LYRA_DEFAULT_calendarEventsOverflow,LYRA_DEFAULT_calendarInputLimit,LYRA_DEFAULT_calendarLabel,LYRA_DEFAULT_calendarNextMonth,LYRA_DEFAULT_calendarPreviousMonth,LYRA_DEFAULT_contextMeterSegmentLabel,LYRA_DEFAULT_contextMeterUsed,LYRA_DEFAULT_contextMeterUsedOfTotal,LYRA_DEFAULT_dataGridColumnMenu,LYRA_DEFAULT_dataGridPinEnd,LYRA_DEFAULT_dataGridPinStart,LYRA_DEFAULT_dataGridRowLimit,LYRA_DEFAULT_dataGridRowsPerPage,LYRA_DEFAULT_dataGridTreeLimitReached,LYRA_DEFAULT_dataGridUnpin,LYRA_DEFAULT_documentLibraryClearSelection,LYRA_DEFAULT_documentLibraryCursorEmptyBatch,LYRA_DEFAULT_documentLibraryCursorEnd,LYRA_DEFAULT_documentLibraryCursorFailed,LYRA_DEFAULT_documentLibraryCursorHistoryLimit,LYRA_DEFAULT_documentLibraryCursorNavigation,LYRA_DEFAULT_documentLibraryCursorRestart,LYRA_DEFAULT_documentLibraryEmptyHeading,LYRA_DEFAULT_documentLibraryFilterByTag,LYRA_DEFAULT_documentLibraryFreshnessAging,LYRA_DEFAULT_documentLibraryFreshnessColumn,LYRA_DEFAULT_documentLibraryFreshnessFresh,LYRA_DEFAULT_documentLibraryFreshnessStale,LYRA_DEFAULT_documentLibraryLabel,LYRA_DEFAULT_documentLibraryNameColumn,LYRA_DEFAULT_documentLibraryNoMatchesHeading,LYRA_DEFAULT_documentLibraryOwnerColumn,LYRA_DEFAULT_documentLibrarySearchPlaceholder,LYRA_DEFAULT_documentLibrarySelectAll,LYRA_DEFAULT_documentLibrarySelectColumn,LYRA_DEFAULT_documentLibrarySelectDocument,LYRA_DEFAULT_documentLibrarySelectPage,LYRA_DEFAULT_documentLibrarySelectedCount,LYRA_DEFAULT_documentLibraryTagsColumn,LYRA_DEFAULT_documentLibraryTypeColumn,LYRA_DEFAULT_documentLibraryUpdatedColumn,LYRA_DEFAULT_documentLibraryVersionColumn,LYRA_DEFAULT_envListCopy,LYRA_DEFAULT_envListHide,LYRA_DEFAULT_envListLabel,LYRA_DEFAULT_envListReveal,LYRA_DEFAULT_fileTreeDiffSummary,LYRA_DEFAULT_fileTreeLabel,LYRA_DEFAULT_flowCanvasInputLimit,LYRA_DEFAULT_flowCanvasLabel,LYRA_DEFAULT_flowCanvasLayoutLimit,LYRA_DEFAULT_flowCanvasSummary,LYRA_DEFAULT_flowConnectCancelled,LYRA_DEFAULT_flowConnectCommitted,LYRA_DEFAULT_flowConnectStarted,LYRA_DEFAULT_flowConnectTarget,LYRA_DEFAULT_flowControlsLabel,LYRA_DEFAULT_flowEdge,LYRA_DEFAULT_flowEdgeList,LYRA_DEFAULT_flowEdgeWithLabel,LYRA_DEFAULT_flowInputHandle,LYRA_DEFAULT_flowLockCanvas,LYRA_DEFAULT_flowMinimapInstructions,LYRA_DEFAULT_flowMinimapLabel,LYRA_DEFAULT_flowMinimapSourceUnavailable,LYRA_DEFAULT_flowMinimapViewport,LYRA_DEFAULT_flowMinimapViewportChanged,LYRA_DEFAULT_flowNode,LYRA_DEFAULT_flowNodeDeselected,LYRA_DEFAULT_flowNodeMoved,LYRA_DEFAULT_flowNodeSelected,LYRA_DEFAULT_flowOutputHandle,LYRA_DEFAULT_flowRunStatusCount,LYRA_DEFAULT_flowRunStatusLabel,LYRA_DEFAULT_flowRunStepStatus,LYRA_DEFAULT_flowRunSummary,LYRA_DEFAULT_flowSelectionCleared,LYRA_DEFAULT_flowStatusWithDetail,LYRA_DEFAULT_flowStatusWithDuration,LYRA_DEFAULT_funnelComparisonShare,LYRA_DEFAULT_funnelDropoffDecreased,LYRA_DEFAULT_funnelDropoffIncreased,LYRA_DEFAULT_funnelStagesLimit,LYRA_DEFAULT_gaugeLabel,LYRA_DEFAULT_gaugeValueLabel,LYRA_DEFAULT_graphQueryBuilderLabel,LYRA_DEFAULT_graphQueryDeleteWithContext,LYRA_DEFAULT_graphQueryDirectionLabel,LYRA_DEFAULT_graphQueryEndLabel,LYRA_DEFAULT_graphQueryHopRangeInvalid,LYRA_DEFAULT_graphQueryLoadWithContext,LYRA_DEFAULT_graphQueryMaxHopsLabel,LYRA_DEFAULT_graphQueryMinHopsLabel,LYRA_DEFAULT_graphQueryNodeTypeLabel,LYRA_DEFAULT_graphQueryRelationshipTypeLabel,LYRA_DEFAULT_graphQueryRun,LYRA_DEFAULT_graphQuerySaveButton,LYRA_DEFAULT_graphQuerySaveNameLabel,LYRA_DEFAULT_graphQuerySavedQueriesLabel,LYRA_DEFAULT_graphQueryStartLabel,LYRA_DEFAULT_heatmapCalendarCellLabel,LYRA_DEFAULT_heatmapCalendarLabel,LYRA_DEFAULT_heatmapDecorationLimit,LYRA_DEFAULT_heatmapDefaultColLabel,LYRA_DEFAULT_heatmapDefaultRowLabel,LYRA_DEFAULT_heatmapInputLimit,LYRA_DEFAULT_heatmapMatrixCellLabel,LYRA_DEFAULT_heatmapMatrixLabel,LYRA_DEFAULT_heatmapNoDataValue,LYRA_DEFAULT_heatmapProjectionLimit,LYRA_DEFAULT_heatmapSelectedCellLabel,LYRA_DEFAULT_heatmapSelectedCount,LYRA_DEFAULT_heatmapSourceError,LYRA_DEFAULT_heatmapSourceExactWindow,LYRA_DEFAULT_heatmapSourceKeyboardHelp,LYRA_DEFAULT_heatmapSourceMax,LYRA_DEFAULT_heatmapSourceMean,LYRA_DEFAULT_heatmapSourceMin,LYRA_DEFAULT_heatmapSourceRangeLabel,LYRA_DEFAULT_heatmapSourceSummary,LYRA_DEFAULT_heatmapValueLabel,LYRA_DEFAULT_noColumns,LYRA_DEFAULT_paginationAppliedUnknownTotal,LYRA_DEFAULT_paginationEmptySummary,LYRA_DEFAULT_paginationJumpToPage,LYRA_DEFAULT_paginationPage,LYRA_DEFAULT_queryBuilderAddCondition,LYRA_DEFAULT_queryBuilderBooleanFalse,LYRA_DEFAULT_queryBuilderBooleanTrue,LYRA_DEFAULT_queryBuilderCombinatorAnd,LYRA_DEFAULT_queryBuilderCombinatorLabel,LYRA_DEFAULT_queryBuilderCombinatorOr,LYRA_DEFAULT_queryBuilderEmpty,LYRA_DEFAULT_queryBuilderFieldLabel,LYRA_DEFAULT_queryBuilderFieldPlaceholder,LYRA_DEFAULT_queryBuilderLabel,LYRA_DEFAULT_queryBuilderNoFields,LYRA_DEFAULT_queryBuilderOperatorAfter,LYRA_DEFAULT_queryBuilderOperatorBefore,LYRA_DEFAULT_queryBuilderOperatorContains,LYRA_DEFAULT_queryBuilderOperatorEndsWith,LYRA_DEFAULT_queryBuilderOperatorEquals,LYRA_DEFAULT_queryBuilderOperatorGreaterThan,LYRA_DEFAULT_queryBuilderOperatorGreaterThanOrEqual,LYRA_DEFAULT_queryBuilderOperatorIn,LYRA_DEFAULT_queryBuilderOperatorIsEmpty,LYRA_DEFAULT_queryBuilderOperatorIsNotEmpty,LYRA_DEFAULT_queryBuilderOperatorLabel,LYRA_DEFAULT_queryBuilderOperatorLessThan,LYRA_DEFAULT_queryBuilderOperatorLessThanOrEqual,LYRA_DEFAULT_queryBuilderOperatorNotEquals,LYRA_DEFAULT_queryBuilderOperatorNotIn,LYRA_DEFAULT_queryBuilderOperatorOnOrAfter,LYRA_DEFAULT_queryBuilderOperatorOnOrBefore,LYRA_DEFAULT_queryBuilderOperatorPlaceholder,LYRA_DEFAULT_queryBuilderOperatorStartsWith,LYRA_DEFAULT_queryBuilderRemoveCondition,LYRA_DEFAULT_queryBuilderValueLabel,LYRA_DEFAULT_queryBuilderValuePlaceholder,LYRA_DEFAULT_resizeColumn,LYRA_DEFAULT_sequenceStripBucketLabel,LYRA_DEFAULT_sequenceStripBucketSummary,LYRA_DEFAULT_sequenceStripCategoryCount,LYRA_DEFAULT_sequenceStripEmpty,LYRA_DEFAULT_sequenceStripSourceError,LYRA_DEFAULT_sequenceStripSourceItemLabel,LYRA_DEFAULT_sequenceStripSourceItemUnavailable,LYRA_DEFAULT_sequenceStripSourceKeyboardHelp,LYRA_DEFAULT_sequenceStripSourceRangeDetails,LYRA_DEFAULT_sequenceStripUnnamedCategory,LYRA_DEFAULT_showAllColumns,LYRA_DEFAULT_showFewerColumns,LYRA_DEFAULT_statTrendAnnouncement,LYRA_DEFAULT_statTrendBad,LYRA_DEFAULT_statTrendDecreased,LYRA_DEFAULT_statTrendGood,LYRA_DEFAULT_statTrendIncreased,LYRA_DEFAULT_tableEditCell,LYRA_DEFAULT_tableFilterLabel,LYRA_DEFAULT_tableFilterPlaceholder,LYRA_DEFAULT_tableLoading,LYRA_DEFAULT_tableLoadingMore,LYRA_DEFAULT_tableRowLimit,LYRA_DEFAULT_tableRowTotal,LYRA_DEFAULT_timeline,LYRA_DEFAULT_timelineClusterCount,LYRA_DEFAULT_treeLimit,LYRA_DEFAULT_trendOf,LYRA_DEFAULT_trendUnchanged,LYRA_DEFAULT_wordCloud,LYRA_DEFAULT_wordCloudLegend,LYRA_DEFAULT_wordCloudPreparedSummary,LYRA_DEFAULT_wordCloudPreparedUnavailable,LYRA_DEFAULT_wordCloudWord,LYRA_DEFAULT_wordCloudWordAnnouncement,LYRA_DEFAULT_wordCloudWords,LYRA_DEFAULT_zoomToFit};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const LYRA_DEFAULT_chunkInspectorEmpty="No chunks retrieved",LYRA_DEFAULT_chunkInspectorLabel="Retrieved chunks",LYRA_DEFAULT_chunkInspectorOpenOrdinal="Result {index} of {total}",LYRA_DEFAULT_chunkScore="Relevance {percent}%",LYRA_DEFAULT_citation="Citation {index}",LYRA_DEFAULT_citationHighConfidence="High confidence",LYRA_DEFAULT_citationLowConfidence="Low confidence",LYRA_DEFAULT_citationMediumConfidence="Medium confidence",LYRA_DEFAULT_citationUnverified="Unverified",LYRA_DEFAULT_citationVerified="Verified",LYRA_DEFAULT_citationWithCustomLabel="Citation {index}, {label}",LYRA_DEFAULT_citationWithStatus="Citation {index}, {status}",LYRA_DEFAULT_claimEvidenceClaimsLimit="Only the first {count} claims are shown.",LYRA_DEFAULT_claimEvidenceConfidence="{percent} confidence",LYRA_DEFAULT_claimEvidenceContradicted="Contradicted",LYRA_DEFAULT_claimEvidenceEmpty="No claim-level evidence available",LYRA_DEFAULT_claimEvidenceLabel="Claim evidence",LYRA_DEFAULT_claimEvidencePartiallySupported="Partially supported",LYRA_DEFAULT_claimEvidenceSupported="Supported",LYRA_DEFAULT_claimEvidenceUnsupported="Unsupported",LYRA_DEFAULT_communityDrillIn="Explore community",LYRA_DEFAULT_communityMemberCount="{count} members",LYRA_DEFAULT_embeddingExplorerEmpty="No embedding points",LYRA_DEFAULT_embeddingExplorerLabel="Embedding explorer",LYRA_DEFAULT_embeddingExplorerPoint="{label}, embedding point {index}",LYRA_DEFAULT_embeddingExplorerPointLimit="Showing {shown} of {total} points.",LYRA_DEFAULT_embeddingExplorerSpatialBin="{count} points in density region: {bounds}",LYRA_DEFAULT_embeddingExplorerSpatialBounds="{minX} to {maxX} horizontally; {minY} to {maxY} vertically",LYRA_DEFAULT_embeddingExplorerSpatialError="The spatial source or viewport is invalid or unavailable.",LYRA_DEFAULT_embeddingExplorerSpatialLoading="Loading spatial data…",LYRA_DEFAULT_embeddingExplorerSpatialSummary="{total} points in the full source ({global}). {matched} points in the viewport ({viewport}). Density regions count all matches; point overlays do not add to these counts.",LYRA_DEFAULT_entityChipWithType="{label}, {type}",LYRA_DEFAULT_entityCommunity="Community",LYRA_DEFAULT_entityDegree="Connections",LYRA_DEFAULT_focusInGraph="Focus in graph",LYRA_DEFAULT_graphCommunity="Community {label}, {count} nodes",LYRA_DEFAULT_graphCustomNodesError="Custom 3D nodes could not be displayed. Showing standard nodes.",LYRA_DEFAULT_graphCustomNodesUnavailable="Custom 3D nodes require the WebGL view. Showing standard nodes.",LYRA_DEFAULT_graphDataList="Graph data",LYRA_DEFAULT_graphDataListLimit="Showing {shown} of {total} graph items.",LYRA_DEFAULT_graphDiagram="Node-link diagram with {nodeCount} nodes and {linkCount} links",LYRA_DEFAULT_graphEdgeLimit="Showing {shown} of {total} links.",LYRA_DEFAULT_graphExpandableItem="{item}, expandable",LYRA_DEFAULT_graphExplorerAllTypesHidden="All configured node types are hidden.",LYRA_DEFAULT_graphExplorerClearTypes="Show all node types",LYRA_DEFAULT_graphExplorerFindPath="Find path",LYRA_DEFAULT_graphExplorerLabel="Knowledge graph explorer",LYRA_DEFAULT_graphExplorerPin="Pin",LYRA_DEFAULT_graphExplorerPinned="{label} pinned",LYRA_DEFAULT_graphExplorerPinnedHeading="Pinned",LYRA_DEFAULT_graphExplorerSearchLimit="Showing {shown} of {total} matches.",LYRA_DEFAULT_graphExplorerSearchPlaceholder="Search entities…",LYRA_DEFAULT_graphExplorerSearchResultsLabel="Search results",LYRA_DEFAULT_graphExplorerUnpin="Unpin",LYRA_DEFAULT_graphExplorerUnpinned="{label} unpinned",LYRA_DEFAULT_graphFit="Fit graph",LYRA_DEFAULT_graphGlowUnavailable="Glow requires the WebGL view.",LYRA_DEFAULT_graphItemAnnouncement="{item} ({index} of {total})",LYRA_DEFAULT_graphLegendLabel="Graph legend",LYRA_DEFAULT_graphLink="Link from {source} to {target}",LYRA_DEFAULT_graphMissingLibrary='This component needs the optional "d3" package installed to render the graph.',LYRA_DEFAULT_graphNode="Node {label}",LYRA_DEFAULT_graphNodeFocused="Centered on {label}",LYRA_DEFAULT_graphNodeLimit="Showing {shown} of {total} nodes.",LYRA_DEFAULT_graphNodesHidden="{hidden} of {total} nodes hidden",LYRA_DEFAULT_graphOrbitDown="Orbit down",LYRA_DEFAULT_graphOrbitLeft="Orbit left",LYRA_DEFAULT_graphOrbitRight="Orbit right",LYRA_DEFAULT_graphOrbitUp="Orbit up",LYRA_DEFAULT_graphSelectionCount="{count} selected",LYRA_DEFAULT_graphSpatialControls="Graph view and camera controls",LYRA_DEFAULT_graphSpatialInstructions="Drag to orbit; Shift-drag to pan. Use arrow keys to orbit, Shift-arrow keys to pan, plus or minus to zoom, and Home to fit. Use List view to explore and activate graph items.",LYRA_DEFAULT_graphSpatialPage="Graph items: {total}. Page {page} of {pages}.",LYRA_DEFAULT_graphSpatialUnavailable="The 3D drawing surface is unavailable. Graph items are available in List view.",LYRA_DEFAULT_graphTypedNode="{label} ({type})",LYRA_DEFAULT_graphView3d="3D view",LYRA_DEFAULT_graphViewList="List view",LYRA_DEFAULT_groundingSummaryCitationsLimit="Only the first {count} citations are shown.",LYRA_DEFAULT_groundingSummaryConfidenceLabel="Confidence",LYRA_DEFAULT_groundingSummaryCoverageLabel="Citation coverage",LYRA_DEFAULT_groundingSummaryEmpty="No grounding assessment available",LYRA_DEFAULT_groundingSummaryEvidenceHeading="Evidence",LYRA_DEFAULT_groundingSummaryEvidenceSpan="Characters {start}–{end}",LYRA_DEFAULT_groundingSummaryLabel="Grounding summary",LYRA_DEFAULT_groundingSummarySupportedLabel="Supported claims",LYRA_DEFAULT_groundingSummaryUnsupportedLabel="Unsupported claims",LYRA_DEFAULT_groundingSummaryWarningsHeading="Warnings",LYRA_DEFAULT_ingestionAttemptCount="Attempt {count}",LYRA_DEFAULT_ingestionCancelWithContext="Cancel {label}",LYRA_DEFAULT_ingestionChunkCount={one:"{count} chunk",other:"{count} chunks"},LYRA_DEFAULT_ingestionEmbeddedOfTotal="{embedded} of {total} chunks embedded",LYRA_DEFAULT_ingestionItemProgressLabel="{name} — {stage}",LYRA_DEFAULT_ingestionQueueEmpty="No documents queued",LYRA_DEFAULT_ingestionQueueInputLimit="Only the first {count} of {total} queue items are retained.",LYRA_DEFAULT_ingestionQueueLabel="Ingestion queue",LYRA_DEFAULT_ingestionRetryWithContext="Retry {label}",LYRA_DEFAULT_ingestionStageCancelled="Cancelled",LYRA_DEFAULT_ingestionStageChunking="Chunking",LYRA_DEFAULT_ingestionStageDone="Done",LYRA_DEFAULT_ingestionStageEmbedding="Embedding",LYRA_DEFAULT_ingestionStageExtracting="Extracting text",LYRA_DEFAULT_ingestionStageFailed="Failed",LYRA_DEFAULT_ingestionStageIndexing="Indexing",LYRA_DEFAULT_ingestionStageQueued="Queued",LYRA_DEFAULT_ingestionStageUnknown="Unknown stage",LYRA_DEFAULT_ingestionStageUploading="Uploading",LYRA_DEFAULT_knowledgeBaseActionsColumn="Actions",LYRA_DEFAULT_knowledgeBaseAdminIngestionTab="Ingestion",LYRA_DEFAULT_knowledgeBaseAdminInputLimit="{collection}: only the first {count} of {total} entries are retained.",LYRA_DEFAULT_knowledgeBaseAdminLabel="Knowledge base administration",LYRA_DEFAULT_knowledgeBaseAdminSourcesTab="Sources",LYRA_DEFAULT_knowledgeBaseCreateSource="Add source",LYRA_DEFAULT_knowledgeBaseDeleteAction="Delete source",LYRA_DEFAULT_knowledgeBaseDocumentCount="{count} indexed",LYRA_DEFAULT_knowledgeBaseEmptyDescription="Add a source to start indexing content.",LYRA_DEFAULT_knowledgeBaseEmptyHeading="No knowledge sources yet",LYRA_DEFAULT_knowledgeBaseHeading="Knowledge base",LYRA_DEFAULT_knowledgeBaseHealthColumn="Indexing health",LYRA_DEFAULT_knowledgeBaseHealthDegraded="Degraded",LYRA_DEFAULT_knowledgeBaseHealthFailed="Failed",LYRA_DEFAULT_knowledgeBaseHealthHealthy="Healthy",LYRA_DEFAULT_knowledgeBaseHealthUnknown="Unknown",LYRA_DEFAULT_knowledgeBaseNameColumn="Source",LYRA_DEFAULT_knowledgeBaseNeedsAttention="Needs attention",LYRA_DEFAULT_knowledgeBaseNeverSynced="Never synced",LYRA_DEFAULT_knowledgeBasePauseAction="Pause sync",LYRA_DEFAULT_knowledgeBasePermissionColumn="Permission",LYRA_DEFAULT_knowledgeBasePermissionEditor="Editor",LYRA_DEFAULT_knowledgeBasePermissionOwner="Owner",LYRA_DEFAULT_knowledgeBasePermissionRestricted="Restricted",LYRA_DEFAULT_knowledgeBasePermissionViewer="Viewer",LYRA_DEFAULT_knowledgeBaseRowActionsLabel="Actions for {name}",LYRA_DEFAULT_knowledgeBaseSyncAction="Sync now",LYRA_DEFAULT_knowledgeBaseSyncColumn="Sync status",LYRA_DEFAULT_knowledgeBaseSyncError="Error",LYRA_DEFAULT_knowledgeBaseSyncIdle="Idle",LYRA_DEFAULT_knowledgeBaseSyncPaused="Paused",LYRA_DEFAULT_knowledgeBaseSyncSynced="Synced",LYRA_DEFAULT_knowledgeBaseSyncSyncing="Syncing",LYRA_DEFAULT_knowledgeBaseSyncedSources="Synced",LYRA_DEFAULT_knowledgeBaseSyncingSources="Syncing",LYRA_DEFAULT_knowledgeBaseTotalSources="Sources",LYRA_DEFAULT_memoryPanelAdd="Add to long-term memory",LYRA_DEFAULT_memoryPanelAddWithContext='Add "{label}" to long-term memory',LYRA_DEFAULT_memoryPanelConfirmAddHeading="Add this to long-term memory?",LYRA_DEFAULT_memoryPanelConfirmForgetBody="This permanently forgets all {count} long-term memories.",LYRA_DEFAULT_memoryPanelConfirmForgetHeading="Forget all long-term memories?",LYRA_DEFAULT_memoryPanelConfirmRemoveHeading="Remove this item?",LYRA_DEFAULT_memoryPanelForgetAll="Forget all",LYRA_DEFAULT_memoryPanelItemsLimit="Only the first {count} memory items are shown.",LYRA_DEFAULT_memoryPanelLabel="Memory",LYRA_DEFAULT_memoryPanelLongTermHeading="Long-term memories",LYRA_DEFAULT_memoryPanelShortTermHeading="Short-term context",LYRA_DEFAULT_mindMapCollapsed="{label} collapsed",LYRA_DEFAULT_mindMapExpanded="{label} expanded",LYRA_DEFAULT_mindMapInputLimit="Some topics were omitted because an input limit was reached.",LYRA_DEFAULT_mindMapLabel="Mind map",LYRA_DEFAULT_mindMapLeafStatus="{label}, level {level}",LYRA_DEFAULT_mindMapNodeLimit="Showing {shown} of {total} topics.",LYRA_DEFAULT_mindMapTopicStatus="{label}, level {level}, {count} subtopics",LYRA_DEFAULT_neighborExpand="Expand {label} in graph",LYRA_DEFAULT_neighborGroupHeader="{relation} ({count})",LYRA_DEFAULT_neighborListEmpty="No relationships",LYRA_DEFAULT_neighborListLabel="Relationships",LYRA_DEFAULT_neighborRowLabel="{label}, {relation}, {direction}",LYRA_DEFAULT_neighborSourceChoose="Select an entity to view its neighbors.",LYRA_DEFAULT_neighborSourceError="The neighbors could not be loaded.",LYRA_DEFAULT_neighborSourceSummary="Showing {shown} of {total} neighbors.",LYRA_DEFAULT_nodePaletteDragHint="Drag to the canvas, or press Enter to place",LYRA_DEFAULT_nodePaletteEmpty="No matching nodes.",LYRA_DEFAULT_nodePaletteLabel="Node palette",LYRA_DEFAULT_nodePalettePlaceholder="Search nodes…",LYRA_DEFAULT_nodePaletteResultCount={one:"{count} item",other:"{count} items"},LYRA_DEFAULT_pathNodeStatus="{label}, node {position} of {total}",LYRA_DEFAULT_pathRelationStatus="{relation}, relation",LYRA_DEFAULT_pathStripLabel="Path",LYRA_DEFAULT_provenanceChunks="Text chunks",LYRA_DEFAULT_provenanceCommunities="Communities",LYRA_DEFAULT_provenanceEmpty="No grounding data for this answer",LYRA_DEFAULT_provenancePanelLabel="Grounding",LYRA_DEFAULT_provenancePanelLimit="Only the first {count} items are shown.",LYRA_DEFAULT_provenanceRelationships="Relationships",LYRA_DEFAULT_ragAnswerCitations="Citations",LYRA_DEFAULT_ragAnswerEmpty="No answer yet",LYRA_DEFAULT_ragAnswerLabel="Grounded answer",LYRA_DEFAULT_ragAnswerRetry="Retry answer",LYRA_DEFAULT_ragAnswerSources="Sources",LYRA_DEFAULT_ragEvalDashboardAllSlices="All",LYRA_DEFAULT_ragEvalDashboardEmpty="No evaluation runs available",LYRA_DEFAULT_ragEvalDashboardInputLimit="Only the newest {count} of {total} evaluation runs are retained.",LYRA_DEFAULT_ragEvalDashboardLabel="RAG evaluation dashboard",LYRA_DEFAULT_ragEvalDashboardRuns="Evaluation runs",LYRA_DEFAULT_ragEvalDashboardSliceUnavailable="No evaluation runs are available for {slice}.",LYRA_DEFAULT_ragEvalDashboardSlices="Evaluation slices",LYRA_DEFAULT_ragEvalDashboardSlicesLimit="Showing {count} of {total} evaluation slices.",LYRA_DEFAULT_researchProgressEmpty="No research steps are available.",LYRA_DEFAULT_researchProgressLabel="Research progress",LYRA_DEFAULT_researchProgressLimit="Showing the first {count} research steps.",LYRA_DEFAULT_researchProgressSources={one:"{count} source",other:"{count} sources"},LYRA_DEFAULT_researchProgressStatusCompleted="Completed",LYRA_DEFAULT_researchProgressStatusFailed="Failed",LYRA_DEFAULT_researchProgressStatusPending="Pending",LYRA_DEFAULT_researchProgressStatusRunning="In progress",LYRA_DEFAULT_retrievalCompareDenseScore="Dense",LYRA_DEFAULT_retrievalCompareEmpty="No retrieval result sets to compare",LYRA_DEFAULT_retrievalCompareFinalScore="Final",LYRA_DEFAULT_retrievalCompareInputLimit="Some comparison sets or results were omitted because an input limit was reached.",LYRA_DEFAULT_retrievalCompareLabel="Retrieval comparison",LYRA_DEFAULT_retrievalCompareOverlap="Top-k overlap between {left} and {right}: {percent}",LYRA_DEFAULT_retrievalCompareRank="Rank {rank}",LYRA_DEFAULT_retrievalCompareRerankScore="Rerank",LYRA_DEFAULT_retrievalCompareResultLimit="Showing {shown} of {total} retained results in this set.",LYRA_DEFAULT_retrievalCompareSparseScore="Sparse",LYRA_DEFAULT_retrievalFilterChipLabel="{key}: {value}",LYRA_DEFAULT_retrievalFiltersLabel="Active filters",LYRA_DEFAULT_retrievalModeHybrid="Hybrid",LYRA_DEFAULT_retrievalModeKeyword="Keyword",LYRA_DEFAULT_retrievalModeLabel="Search mode",LYRA_DEFAULT_retrievalModeVector="Vector",LYRA_DEFAULT_retrievalResultsInputLimit="Only the first {count} of {total} retrieval results are retained.",LYRA_DEFAULT_retrievalResultsSelectRowOrdinal="Select result {index} of {total}, {label}",LYRA_DEFAULT_retrievalSearchEmptyDescription="Try a different search term or filters.",LYRA_DEFAULT_retrievalSearchLabel="Retrieval search",LYRA_DEFAULT_retrievalStageEmbed="Embed",LYRA_DEFAULT_retrievalStageFilter="Filter",LYRA_DEFAULT_retrievalStageKindUnknown="Unknown stage",LYRA_DEFAULT_retrievalStageQueryRewrite="Query rewrite",LYRA_DEFAULT_retrievalStageRerank="Rerank",LYRA_DEFAULT_retrievalStageRetrieve="Retrieve",LYRA_DEFAULT_retrievalTraceEmpty="No retrieval stages",LYRA_DEFAULT_retrievalTraceEvidenceToggle="{label} evidence",LYRA_DEFAULT_scoreTierHigh="High relevance",LYRA_DEFAULT_scoreTierLow="Low relevance",LYRA_DEFAULT_scoreTierMedium="Medium relevance",LYRA_DEFAULT_selectAllSources="Select all sources",LYRA_DEFAULT_showMore="Show more",LYRA_DEFAULT_sourcePageSuffix="{base} — p. {page}",LYRA_DEFAULT_sourcePickerMatches={one:"{count} source match",other:"{count} sources match"},LYRA_DEFAULT_sourcePickerSelection="{selected} of {total} selected",LYRA_DEFAULT_untitledCommunity="Untitled community",LYRA_DEFAULT_untitledEntity="Untitled entity",LYRA_DEFAULT_untitledSource="Untitled source",LYRA_DEFAULT_valueTruncated="…";export{LYRA_DEFAULT_chunkInspectorEmpty,LYRA_DEFAULT_chunkInspectorLabel,LYRA_DEFAULT_chunkInspectorOpenOrdinal,LYRA_DEFAULT_chunkScore,LYRA_DEFAULT_citation,LYRA_DEFAULT_citationHighConfidence,LYRA_DEFAULT_citationLowConfidence,LYRA_DEFAULT_citationMediumConfidence,LYRA_DEFAULT_citationUnverified,LYRA_DEFAULT_citationVerified,LYRA_DEFAULT_citationWithCustomLabel,LYRA_DEFAULT_citationWithStatus,LYRA_DEFAULT_claimEvidenceClaimsLimit,LYRA_DEFAULT_claimEvidenceConfidence,LYRA_DEFAULT_claimEvidenceContradicted,LYRA_DEFAULT_claimEvidenceEmpty,LYRA_DEFAULT_claimEvidenceLabel,LYRA_DEFAULT_claimEvidencePartiallySupported,LYRA_DEFAULT_claimEvidenceSupported,LYRA_DEFAULT_claimEvidenceUnsupported,LYRA_DEFAULT_communityDrillIn,LYRA_DEFAULT_communityMemberCount,LYRA_DEFAULT_embeddingExplorerEmpty,LYRA_DEFAULT_embeddingExplorerLabel,LYRA_DEFAULT_embeddingExplorerPoint,LYRA_DEFAULT_embeddingExplorerPointLimit,LYRA_DEFAULT_embeddingExplorerSpatialBin,LYRA_DEFAULT_embeddingExplorerSpatialBounds,LYRA_DEFAULT_embeddingExplorerSpatialError,LYRA_DEFAULT_embeddingExplorerSpatialLoading,LYRA_DEFAULT_embeddingExplorerSpatialSummary,LYRA_DEFAULT_entityChipWithType,LYRA_DEFAULT_entityCommunity,LYRA_DEFAULT_entityDegree,LYRA_DEFAULT_focusInGraph,LYRA_DEFAULT_graphCommunity,LYRA_DEFAULT_graphCustomNodesError,LYRA_DEFAULT_graphCustomNodesUnavailable,LYRA_DEFAULT_graphDataList,LYRA_DEFAULT_graphDataListLimit,LYRA_DEFAULT_graphDiagram,LYRA_DEFAULT_graphEdgeLimit,LYRA_DEFAULT_graphExpandableItem,LYRA_DEFAULT_graphExplorerAllTypesHidden,LYRA_DEFAULT_graphExplorerClearTypes,LYRA_DEFAULT_graphExplorerFindPath,LYRA_DEFAULT_graphExplorerLabel,LYRA_DEFAULT_graphExplorerPin,LYRA_DEFAULT_graphExplorerPinned,LYRA_DEFAULT_graphExplorerPinnedHeading,LYRA_DEFAULT_graphExplorerSearchLimit,LYRA_DEFAULT_graphExplorerSearchPlaceholder,LYRA_DEFAULT_graphExplorerSearchResultsLabel,LYRA_DEFAULT_graphExplorerUnpin,LYRA_DEFAULT_graphExplorerUnpinned,LYRA_DEFAULT_graphFit,LYRA_DEFAULT_graphGlowUnavailable,LYRA_DEFAULT_graphItemAnnouncement,LYRA_DEFAULT_graphLegendLabel,LYRA_DEFAULT_graphLink,LYRA_DEFAULT_graphMissingLibrary,LYRA_DEFAULT_graphNode,LYRA_DEFAULT_graphNodeFocused,LYRA_DEFAULT_graphNodeLimit,LYRA_DEFAULT_graphNodesHidden,LYRA_DEFAULT_graphOrbitDown,LYRA_DEFAULT_graphOrbitLeft,LYRA_DEFAULT_graphOrbitRight,LYRA_DEFAULT_graphOrbitUp,LYRA_DEFAULT_graphSelectionCount,LYRA_DEFAULT_graphSpatialControls,LYRA_DEFAULT_graphSpatialInstructions,LYRA_DEFAULT_graphSpatialPage,LYRA_DEFAULT_graphSpatialUnavailable,LYRA_DEFAULT_graphTypedNode,LYRA_DEFAULT_graphView3d,LYRA_DEFAULT_graphViewList,LYRA_DEFAULT_groundingSummaryCitationsLimit,LYRA_DEFAULT_groundingSummaryConfidenceLabel,LYRA_DEFAULT_groundingSummaryCoverageLabel,LYRA_DEFAULT_groundingSummaryEmpty,LYRA_DEFAULT_groundingSummaryEvidenceHeading,LYRA_DEFAULT_groundingSummaryEvidenceSpan,LYRA_DEFAULT_groundingSummaryLabel,LYRA_DEFAULT_groundingSummarySupportedLabel,LYRA_DEFAULT_groundingSummaryUnsupportedLabel,LYRA_DEFAULT_groundingSummaryWarningsHeading,LYRA_DEFAULT_ingestionAttemptCount,LYRA_DEFAULT_ingestionCancelWithContext,LYRA_DEFAULT_ingestionChunkCount,LYRA_DEFAULT_ingestionEmbeddedOfTotal,LYRA_DEFAULT_ingestionItemProgressLabel,LYRA_DEFAULT_ingestionQueueEmpty,LYRA_DEFAULT_ingestionQueueInputLimit,LYRA_DEFAULT_ingestionQueueLabel,LYRA_DEFAULT_ingestionRetryWithContext,LYRA_DEFAULT_ingestionStageCancelled,LYRA_DEFAULT_ingestionStageChunking,LYRA_DEFAULT_ingestionStageDone,LYRA_DEFAULT_ingestionStageEmbedding,LYRA_DEFAULT_ingestionStageExtracting,LYRA_DEFAULT_ingestionStageFailed,LYRA_DEFAULT_ingestionStageIndexing,LYRA_DEFAULT_ingestionStageQueued,LYRA_DEFAULT_ingestionStageUnknown,LYRA_DEFAULT_ingestionStageUploading,LYRA_DEFAULT_knowledgeBaseActionsColumn,LYRA_DEFAULT_knowledgeBaseAdminIngestionTab,LYRA_DEFAULT_knowledgeBaseAdminInputLimit,LYRA_DEFAULT_knowledgeBaseAdminLabel,LYRA_DEFAULT_knowledgeBaseAdminSourcesTab,LYRA_DEFAULT_knowledgeBaseCreateSource,LYRA_DEFAULT_knowledgeBaseDeleteAction,LYRA_DEFAULT_knowledgeBaseDocumentCount,LYRA_DEFAULT_knowledgeBaseEmptyDescription,LYRA_DEFAULT_knowledgeBaseEmptyHeading,LYRA_DEFAULT_knowledgeBaseHeading,LYRA_DEFAULT_knowledgeBaseHealthColumn,LYRA_DEFAULT_knowledgeBaseHealthDegraded,LYRA_DEFAULT_knowledgeBaseHealthFailed,LYRA_DEFAULT_knowledgeBaseHealthHealthy,LYRA_DEFAULT_knowledgeBaseHealthUnknown,LYRA_DEFAULT_knowledgeBaseNameColumn,LYRA_DEFAULT_knowledgeBaseNeedsAttention,LYRA_DEFAULT_knowledgeBaseNeverSynced,LYRA_DEFAULT_knowledgeBasePauseAction,LYRA_DEFAULT_knowledgeBasePermissionColumn,LYRA_DEFAULT_knowledgeBasePermissionEditor,LYRA_DEFAULT_knowledgeBasePermissionOwner,LYRA_DEFAULT_knowledgeBasePermissionRestricted,LYRA_DEFAULT_knowledgeBasePermissionViewer,LYRA_DEFAULT_knowledgeBaseRowActionsLabel,LYRA_DEFAULT_knowledgeBaseSyncAction,LYRA_DEFAULT_knowledgeBaseSyncColumn,LYRA_DEFAULT_knowledgeBaseSyncError,LYRA_DEFAULT_knowledgeBaseSyncIdle,LYRA_DEFAULT_knowledgeBaseSyncPaused,LYRA_DEFAULT_knowledgeBaseSyncSynced,LYRA_DEFAULT_knowledgeBaseSyncSyncing,LYRA_DEFAULT_knowledgeBaseSyncedSources,LYRA_DEFAULT_knowledgeBaseSyncingSources,LYRA_DEFAULT_knowledgeBaseTotalSources,LYRA_DEFAULT_memoryPanelAdd,LYRA_DEFAULT_memoryPanelAddWithContext,LYRA_DEFAULT_memoryPanelConfirmAddHeading,LYRA_DEFAULT_memoryPanelConfirmForgetBody,LYRA_DEFAULT_memoryPanelConfirmForgetHeading,LYRA_DEFAULT_memoryPanelConfirmRemoveHeading,LYRA_DEFAULT_memoryPanelForgetAll,LYRA_DEFAULT_memoryPanelItemsLimit,LYRA_DEFAULT_memoryPanelLabel,LYRA_DEFAULT_memoryPanelLongTermHeading,LYRA_DEFAULT_memoryPanelShortTermHeading,LYRA_DEFAULT_mindMapCollapsed,LYRA_DEFAULT_mindMapExpanded,LYRA_DEFAULT_mindMapInputLimit,LYRA_DEFAULT_mindMapLabel,LYRA_DEFAULT_mindMapLeafStatus,LYRA_DEFAULT_mindMapNodeLimit,LYRA_DEFAULT_mindMapTopicStatus,LYRA_DEFAULT_neighborExpand,LYRA_DEFAULT_neighborGroupHeader,LYRA_DEFAULT_neighborListEmpty,LYRA_DEFAULT_neighborListLabel,LYRA_DEFAULT_neighborRowLabel,LYRA_DEFAULT_neighborSourceChoose,LYRA_DEFAULT_neighborSourceError,LYRA_DEFAULT_neighborSourceSummary,LYRA_DEFAULT_nodePaletteDragHint,LYRA_DEFAULT_nodePaletteEmpty,LYRA_DEFAULT_nodePaletteLabel,LYRA_DEFAULT_nodePalettePlaceholder,LYRA_DEFAULT_nodePaletteResultCount,LYRA_DEFAULT_pathNodeStatus,LYRA_DEFAULT_pathRelationStatus,LYRA_DEFAULT_pathStripLabel,LYRA_DEFAULT_provenanceChunks,LYRA_DEFAULT_provenanceCommunities,LYRA_DEFAULT_provenanceEmpty,LYRA_DEFAULT_provenancePanelLabel,LYRA_DEFAULT_provenancePanelLimit,LYRA_DEFAULT_provenanceRelationships,LYRA_DEFAULT_ragAnswerCitations,LYRA_DEFAULT_ragAnswerEmpty,LYRA_DEFAULT_ragAnswerLabel,LYRA_DEFAULT_ragAnswerRetry,LYRA_DEFAULT_ragAnswerSources,LYRA_DEFAULT_ragEvalDashboardAllSlices,LYRA_DEFAULT_ragEvalDashboardEmpty,LYRA_DEFAULT_ragEvalDashboardInputLimit,LYRA_DEFAULT_ragEvalDashboardLabel,LYRA_DEFAULT_ragEvalDashboardRuns,LYRA_DEFAULT_ragEvalDashboardSliceUnavailable,LYRA_DEFAULT_ragEvalDashboardSlices,LYRA_DEFAULT_ragEvalDashboardSlicesLimit,LYRA_DEFAULT_researchProgressEmpty,LYRA_DEFAULT_researchProgressLabel,LYRA_DEFAULT_researchProgressLimit,LYRA_DEFAULT_researchProgressSources,LYRA_DEFAULT_researchProgressStatusCompleted,LYRA_DEFAULT_researchProgressStatusFailed,LYRA_DEFAULT_researchProgressStatusPending,LYRA_DEFAULT_researchProgressStatusRunning,LYRA_DEFAULT_retrievalCompareDenseScore,LYRA_DEFAULT_retrievalCompareEmpty,LYRA_DEFAULT_retrievalCompareFinalScore,LYRA_DEFAULT_retrievalCompareInputLimit,LYRA_DEFAULT_retrievalCompareLabel,LYRA_DEFAULT_retrievalCompareOverlap,LYRA_DEFAULT_retrievalCompareRank,LYRA_DEFAULT_retrievalCompareRerankScore,LYRA_DEFAULT_retrievalCompareResultLimit,LYRA_DEFAULT_retrievalCompareSparseScore,LYRA_DEFAULT_retrievalFilterChipLabel,LYRA_DEFAULT_retrievalFiltersLabel,LYRA_DEFAULT_retrievalModeHybrid,LYRA_DEFAULT_retrievalModeKeyword,LYRA_DEFAULT_retrievalModeLabel,LYRA_DEFAULT_retrievalModeVector,LYRA_DEFAULT_retrievalResultsInputLimit,LYRA_DEFAULT_retrievalResultsSelectRowOrdinal,LYRA_DEFAULT_retrievalSearchEmptyDescription,LYRA_DEFAULT_retrievalSearchLabel,LYRA_DEFAULT_retrievalStageEmbed,LYRA_DEFAULT_retrievalStageFilter,LYRA_DEFAULT_retrievalStageKindUnknown,LYRA_DEFAULT_retrievalStageQueryRewrite,LYRA_DEFAULT_retrievalStageRerank,LYRA_DEFAULT_retrievalStageRetrieve,LYRA_DEFAULT_retrievalTraceEmpty,LYRA_DEFAULT_retrievalTraceEvidenceToggle,LYRA_DEFAULT_scoreTierHigh,LYRA_DEFAULT_scoreTierLow,LYRA_DEFAULT_scoreTierMedium,LYRA_DEFAULT_selectAllSources,LYRA_DEFAULT_showMore,LYRA_DEFAULT_sourcePageSuffix,LYRA_DEFAULT_sourcePickerMatches,LYRA_DEFAULT_sourcePickerSelection,LYRA_DEFAULT_untitledCommunity,LYRA_DEFAULT_untitledEntity,LYRA_DEFAULT_untitledSource,LYRA_DEFAULT_valueTruncated};
|
|
1
|
+
const LYRA_DEFAULT_chunkInspectorEmpty="No chunks retrieved",LYRA_DEFAULT_chunkInspectorLabel="Retrieved chunks",LYRA_DEFAULT_chunkInspectorOpenOrdinal="Result {index} of {total}",LYRA_DEFAULT_chunkScore="Relevance {percent}%",LYRA_DEFAULT_citation="Citation {index}",LYRA_DEFAULT_citationHighConfidence="High confidence",LYRA_DEFAULT_citationLowConfidence="Low confidence",LYRA_DEFAULT_citationMediumConfidence="Medium confidence",LYRA_DEFAULT_citationUnverified="Unverified",LYRA_DEFAULT_citationVerified="Verified",LYRA_DEFAULT_citationWithCustomLabel="Citation {index}, {label}",LYRA_DEFAULT_citationWithStatus="Citation {index}, {status}",LYRA_DEFAULT_claimEvidenceClaimsLimit="Only the first {count} claims are shown.",LYRA_DEFAULT_claimEvidenceConfidence="{percent} confidence",LYRA_DEFAULT_claimEvidenceContradicted="Contradicted",LYRA_DEFAULT_claimEvidenceEmpty="No claim-level evidence available",LYRA_DEFAULT_claimEvidenceLabel="Claim evidence",LYRA_DEFAULT_claimEvidencePartiallySupported="Partially supported",LYRA_DEFAULT_claimEvidenceSupported="Supported",LYRA_DEFAULT_claimEvidenceUnsupported="Unsupported",LYRA_DEFAULT_communityDrillIn="Explore community",LYRA_DEFAULT_communityMemberCount="{count} members",LYRA_DEFAULT_embeddingExplorerEmpty="No embedding points",LYRA_DEFAULT_embeddingExplorerLabel="Embedding explorer",LYRA_DEFAULT_embeddingExplorerPoint="{label}, embedding point {index}",LYRA_DEFAULT_embeddingExplorerPointLimit="Showing {shown} of {total} points.",LYRA_DEFAULT_embeddingExplorerSpatialBin="{count} points in density region: {bounds}",LYRA_DEFAULT_embeddingExplorerSpatialBounds="{minX} to {maxX} horizontally; {minY} to {maxY} vertically",LYRA_DEFAULT_embeddingExplorerSpatialError="The spatial source or viewport is invalid or unavailable.",LYRA_DEFAULT_embeddingExplorerSpatialLoading="Loading spatial data…",LYRA_DEFAULT_embeddingExplorerSpatialSummary="{total} points in the full source ({global}). {matched} points in the viewport ({viewport}). Density regions count all matches; point overlays do not add to these counts.",LYRA_DEFAULT_entityChipWithType="{label}, {type}",LYRA_DEFAULT_entityCommunity="Community",LYRA_DEFAULT_entityDegree="Connections",LYRA_DEFAULT_focusInGraph="Focus in graph",LYRA_DEFAULT_graphCommunity="Community {label}, {count} nodes",LYRA_DEFAULT_graphCustomNodesError="Custom 3D nodes could not be displayed. Showing standard nodes.",LYRA_DEFAULT_graphCustomNodesUnavailable="Custom 3D nodes require the WebGL view. Showing standard nodes.",LYRA_DEFAULT_graphDataList="Graph data",LYRA_DEFAULT_graphDataListLimit="Showing {shown} of {total} graph items.",LYRA_DEFAULT_graphDiagram="Node-link diagram with {nodeCount} nodes and {linkCount} links",LYRA_DEFAULT_graphEdgeLimit="Showing {shown} of {total} links.",LYRA_DEFAULT_graphExpandableItem="{item}, expandable",LYRA_DEFAULT_graphExplorerAllTypesHidden="All configured node types are hidden.",LYRA_DEFAULT_graphExplorerClearTypes="Show all node types",LYRA_DEFAULT_graphExplorerFindPath="Find path",LYRA_DEFAULT_graphExplorerLabel="Knowledge graph explorer",LYRA_DEFAULT_graphExplorerPin="Pin",LYRA_DEFAULT_graphExplorerPinned="{label} pinned",LYRA_DEFAULT_graphExplorerPinnedHeading="Pinned",LYRA_DEFAULT_graphExplorerSearchLimit="Showing {shown} of {total} matches.",LYRA_DEFAULT_graphExplorerSearchPlaceholder="Search entities…",LYRA_DEFAULT_graphExplorerSearchResultsLabel="Search results",LYRA_DEFAULT_graphExplorerUnpin="Unpin",LYRA_DEFAULT_graphExplorerUnpinned="{label} unpinned",LYRA_DEFAULT_graphFit="Fit graph",LYRA_DEFAULT_graphGlowUnavailable="Glow requires the WebGL view.",LYRA_DEFAULT_graphItemAnnouncement="{item} ({index} of {total})",LYRA_DEFAULT_graphLegendLabel="Graph legend",LYRA_DEFAULT_graphLink="Link from {source} to {target}",LYRA_DEFAULT_graphMissingLibrary='This component needs the optional "d3" package installed to render the graph.',LYRA_DEFAULT_graphNode="Node {label}",LYRA_DEFAULT_graphNodeFocused="Centered on {label}",LYRA_DEFAULT_graphNodeLimit="Showing {shown} of {total} nodes.",LYRA_DEFAULT_graphNodesHidden="{hidden} of {total} nodes hidden",LYRA_DEFAULT_graphOrbitDown="Orbit down",LYRA_DEFAULT_graphOrbitLeft="Orbit left",LYRA_DEFAULT_graphOrbitRight="Orbit right",LYRA_DEFAULT_graphOrbitUp="Orbit up",LYRA_DEFAULT_graphSelectionCount="{count} selected",LYRA_DEFAULT_graphSpatialControls="Graph view and camera controls",LYRA_DEFAULT_graphSpatialInstructions="Drag to orbit; Shift-drag to pan. Use arrow keys to orbit, Shift-arrow keys to pan, plus or minus to zoom, and Home to fit. Use List view to explore and activate graph items.",LYRA_DEFAULT_graphSpatialPage="Graph items: {total}. Page {page} of {pages}.",LYRA_DEFAULT_graphSpatialUnavailable="The 3D drawing surface is unavailable. Graph items are available in List view.",LYRA_DEFAULT_graphTypedNode="{label} ({type})",LYRA_DEFAULT_graphView3d="3D view",LYRA_DEFAULT_graphViewList="List view",LYRA_DEFAULT_groundingSummaryCitationsLimit="Only the first {count} citations are shown.",LYRA_DEFAULT_groundingSummaryConfidenceLabel="Confidence",LYRA_DEFAULT_groundingSummaryCoverageLabel="Citation coverage",LYRA_DEFAULT_groundingSummaryEmpty="No grounding assessment available",LYRA_DEFAULT_groundingSummaryEvidenceHeading="Evidence",LYRA_DEFAULT_groundingSummaryEvidenceSpan="Characters {start}–{end}",LYRA_DEFAULT_groundingSummaryLabel="Grounding summary",LYRA_DEFAULT_groundingSummarySupportedLabel="Supported claims",LYRA_DEFAULT_groundingSummaryUnsupportedLabel="Unsupported claims",LYRA_DEFAULT_groundingSummaryWarningsHeading="Warnings",LYRA_DEFAULT_ingestionActionWithContext="{action} {label}",LYRA_DEFAULT_ingestionAttemptCount="Attempt {count}",LYRA_DEFAULT_ingestionCancelWithContext="Cancel {label}",LYRA_DEFAULT_ingestionChunkCount={one:"{count} chunk",other:"{count} chunks"},LYRA_DEFAULT_ingestionEmbeddedOfTotal="{embedded} of {total} chunks embedded",LYRA_DEFAULT_ingestionItemProgressLabel="{name} — {stage}",LYRA_DEFAULT_ingestionQueueActionLimit="Showing {count} of {total} actions for {label}.",LYRA_DEFAULT_ingestionQueueEmpty="No documents queued",LYRA_DEFAULT_ingestionQueueInputLimit="Only the first {count} of {total} queue items are retained.",LYRA_DEFAULT_ingestionQueueLabel="Ingestion queue",LYRA_DEFAULT_ingestionRetryWithContext="Retry {label}",LYRA_DEFAULT_ingestionStageCancelled="Cancelled",LYRA_DEFAULT_ingestionStageChunking="Chunking",LYRA_DEFAULT_ingestionStageDone="Done",LYRA_DEFAULT_ingestionStageEmbedding="Embedding",LYRA_DEFAULT_ingestionStageExtracting="Extracting text",LYRA_DEFAULT_ingestionStageFailed="Failed",LYRA_DEFAULT_ingestionStageIndexing="Indexing",LYRA_DEFAULT_ingestionStageQueued="Queued",LYRA_DEFAULT_ingestionStageUnknown="Unknown stage",LYRA_DEFAULT_ingestionStageUploading="Uploading",LYRA_DEFAULT_knowledgeBaseActionsColumn="Actions",LYRA_DEFAULT_knowledgeBaseAdminIngestionTab="Ingestion",LYRA_DEFAULT_knowledgeBaseAdminInputLimit="{collection}: only the first {count} of {total} entries are retained.",LYRA_DEFAULT_knowledgeBaseAdminLabel="Knowledge base administration",LYRA_DEFAULT_knowledgeBaseAdminSourcesTab="Sources",LYRA_DEFAULT_knowledgeBaseCreateSource="Add source",LYRA_DEFAULT_knowledgeBaseDeleteAction="Delete source",LYRA_DEFAULT_knowledgeBaseDocumentCount="{count} indexed",LYRA_DEFAULT_knowledgeBaseEmptyDescription="Add a source to start indexing content.",LYRA_DEFAULT_knowledgeBaseEmptyHeading="No knowledge sources yet",LYRA_DEFAULT_knowledgeBaseHeading="Knowledge base",LYRA_DEFAULT_knowledgeBaseHealthColumn="Indexing health",LYRA_DEFAULT_knowledgeBaseHealthDegraded="Degraded",LYRA_DEFAULT_knowledgeBaseHealthFailed="Failed",LYRA_DEFAULT_knowledgeBaseHealthHealthy="Healthy",LYRA_DEFAULT_knowledgeBaseHealthUnknown="Unknown",LYRA_DEFAULT_knowledgeBaseNameColumn="Source",LYRA_DEFAULT_knowledgeBaseNeedsAttention="Needs attention",LYRA_DEFAULT_knowledgeBaseNeverSynced="Never synced",LYRA_DEFAULT_knowledgeBasePauseAction="Pause sync",LYRA_DEFAULT_knowledgeBasePermissionColumn="Permission",LYRA_DEFAULT_knowledgeBasePermissionEditor="Editor",LYRA_DEFAULT_knowledgeBasePermissionOwner="Owner",LYRA_DEFAULT_knowledgeBasePermissionRestricted="Restricted",LYRA_DEFAULT_knowledgeBasePermissionViewer="Viewer",LYRA_DEFAULT_knowledgeBaseRowActionsLabel="Actions for {name}",LYRA_DEFAULT_knowledgeBaseSyncAction="Sync now",LYRA_DEFAULT_knowledgeBaseSyncColumn="Sync status",LYRA_DEFAULT_knowledgeBaseSyncError="Error",LYRA_DEFAULT_knowledgeBaseSyncIdle="Idle",LYRA_DEFAULT_knowledgeBaseSyncPaused="Paused",LYRA_DEFAULT_knowledgeBaseSyncSynced="Synced",LYRA_DEFAULT_knowledgeBaseSyncSyncing="Syncing",LYRA_DEFAULT_knowledgeBaseSyncedSources="Synced",LYRA_DEFAULT_knowledgeBaseSyncingSources="Syncing",LYRA_DEFAULT_knowledgeBaseTotalSources="Sources",LYRA_DEFAULT_memoryPanelAdd="Add to long-term memory",LYRA_DEFAULT_memoryPanelAddWithContext='Add "{label}" to long-term memory',LYRA_DEFAULT_memoryPanelConfirmAddHeading="Add this to long-term memory?",LYRA_DEFAULT_memoryPanelConfirmForgetBody="This permanently forgets all {count} long-term memories.",LYRA_DEFAULT_memoryPanelConfirmForgetHeading="Forget all long-term memories?",LYRA_DEFAULT_memoryPanelConfirmRemoveHeading="Remove this item?",LYRA_DEFAULT_memoryPanelForgetAll="Forget all",LYRA_DEFAULT_memoryPanelItemsLimit="Only the first {count} memory items are shown.",LYRA_DEFAULT_memoryPanelLabel="Memory",LYRA_DEFAULT_memoryPanelLongTermHeading="Long-term memories",LYRA_DEFAULT_memoryPanelShortTermHeading="Short-term context",LYRA_DEFAULT_mindMapCollapsed="{label} collapsed",LYRA_DEFAULT_mindMapExpanded="{label} expanded",LYRA_DEFAULT_mindMapInputLimit="Some topics were omitted because an input limit was reached.",LYRA_DEFAULT_mindMapLabel="Mind map",LYRA_DEFAULT_mindMapLeafStatus="{label}, level {level}",LYRA_DEFAULT_mindMapNodeLimit="Showing {shown} of {total} topics.",LYRA_DEFAULT_mindMapTopicStatus="{label}, level {level}, {count} subtopics",LYRA_DEFAULT_neighborExpand="Expand {label} in graph",LYRA_DEFAULT_neighborGroupHeader="{relation} ({count})",LYRA_DEFAULT_neighborListEmpty="No relationships",LYRA_DEFAULT_neighborListLabel="Relationships",LYRA_DEFAULT_neighborRowLabel="{label}, {relation}, {direction}",LYRA_DEFAULT_neighborSourceChoose="Select an entity to view its neighbors.",LYRA_DEFAULT_neighborSourceError="The neighbors could not be loaded.",LYRA_DEFAULT_neighborSourceSummary="Showing {shown} of {total} neighbors.",LYRA_DEFAULT_nodePaletteDragHint="Drag to the canvas, or press Enter to place",LYRA_DEFAULT_nodePaletteEmpty="No matching nodes.",LYRA_DEFAULT_nodePaletteLabel="Node palette",LYRA_DEFAULT_nodePalettePlaceholder="Search nodes…",LYRA_DEFAULT_nodePaletteResultCount={one:"{count} item",other:"{count} items"},LYRA_DEFAULT_pathNodeStatus="{label}, node {position} of {total}",LYRA_DEFAULT_pathRelationStatus="{relation}, relation",LYRA_DEFAULT_pathStripLabel="Path",LYRA_DEFAULT_provenanceChunks="Text chunks",LYRA_DEFAULT_provenanceCommunities="Communities",LYRA_DEFAULT_provenanceEmpty="No grounding data for this answer",LYRA_DEFAULT_provenancePanelLabel="Grounding",LYRA_DEFAULT_provenancePanelLimit="Only the first {count} items are shown.",LYRA_DEFAULT_provenanceRelationships="Relationships",LYRA_DEFAULT_ragAnswerCitations="Citations",LYRA_DEFAULT_ragAnswerEmpty="No answer yet",LYRA_DEFAULT_ragAnswerLabel="Grounded answer",LYRA_DEFAULT_ragAnswerRetry="Retry answer",LYRA_DEFAULT_ragAnswerSources="Sources",LYRA_DEFAULT_ragEvalDashboardAllSlices="All",LYRA_DEFAULT_ragEvalDashboardEmpty="No evaluation runs available",LYRA_DEFAULT_ragEvalDashboardInputLimit="Only the newest {count} of {total} evaluation runs are retained.",LYRA_DEFAULT_ragEvalDashboardLabel="RAG evaluation dashboard",LYRA_DEFAULT_ragEvalDashboardRuns="Evaluation runs",LYRA_DEFAULT_ragEvalDashboardSliceUnavailable="No evaluation runs are available for {slice}.",LYRA_DEFAULT_ragEvalDashboardSlices="Evaluation slices",LYRA_DEFAULT_ragEvalDashboardSlicesLimit="Showing {count} of {total} evaluation slices.",LYRA_DEFAULT_researchProgressEmpty="No research steps are available.",LYRA_DEFAULT_researchProgressLabel="Research progress",LYRA_DEFAULT_researchProgressLimit="Showing the first {count} research steps.",LYRA_DEFAULT_researchProgressSources={one:"{count} source",other:"{count} sources"},LYRA_DEFAULT_researchProgressStatusCompleted="Completed",LYRA_DEFAULT_researchProgressStatusFailed="Failed",LYRA_DEFAULT_researchProgressStatusPending="Pending",LYRA_DEFAULT_researchProgressStatusRunning="In progress",LYRA_DEFAULT_retrievalCompareDenseScore="Dense",LYRA_DEFAULT_retrievalCompareEmpty="No retrieval result sets to compare",LYRA_DEFAULT_retrievalCompareFinalScore="Final",LYRA_DEFAULT_retrievalCompareInputLimit="Some comparison sets or results were omitted because an input limit was reached.",LYRA_DEFAULT_retrievalCompareLabel="Retrieval comparison",LYRA_DEFAULT_retrievalCompareOverlap="Top-k overlap between {left} and {right}: {percent}",LYRA_DEFAULT_retrievalCompareRank="Rank {rank}",LYRA_DEFAULT_retrievalCompareRerankScore="Rerank",LYRA_DEFAULT_retrievalCompareResultLimit="Showing {shown} of {total} retained results in this set.",LYRA_DEFAULT_retrievalCompareSparseScore="Sparse",LYRA_DEFAULT_retrievalFilterChipLabel="{key}: {value}",LYRA_DEFAULT_retrievalFiltersLabel="Active filters",LYRA_DEFAULT_retrievalModeHybrid="Hybrid",LYRA_DEFAULT_retrievalModeKeyword="Keyword",LYRA_DEFAULT_retrievalModeLabel="Search mode",LYRA_DEFAULT_retrievalModeVector="Vector",LYRA_DEFAULT_retrievalResultsInputLimit="Only the first {count} of {total} retrieval results are retained.",LYRA_DEFAULT_retrievalResultsSelectRowOrdinal="Select result {index} of {total}, {label}",LYRA_DEFAULT_retrievalSearchEmptyDescription="Try a different search term or filters.",LYRA_DEFAULT_retrievalSearchLabel="Retrieval search",LYRA_DEFAULT_retrievalStageEmbed="Embed",LYRA_DEFAULT_retrievalStageFilter="Filter",LYRA_DEFAULT_retrievalStageKindUnknown="Unknown stage",LYRA_DEFAULT_retrievalStageQueryRewrite="Query rewrite",LYRA_DEFAULT_retrievalStageRerank="Rerank",LYRA_DEFAULT_retrievalStageRetrieve="Retrieve",LYRA_DEFAULT_retrievalTraceEmpty="No retrieval stages",LYRA_DEFAULT_retrievalTraceEvidenceToggle="{label} evidence",LYRA_DEFAULT_scoreTierHigh="High relevance",LYRA_DEFAULT_scoreTierLow="Low relevance",LYRA_DEFAULT_scoreTierMedium="Medium relevance",LYRA_DEFAULT_selectAllSources="Select all sources",LYRA_DEFAULT_showMore="Show more",LYRA_DEFAULT_sourcePageSuffix="{base} — p. {page}",LYRA_DEFAULT_sourcePickerMatches={one:"{count} source match",other:"{count} sources match"},LYRA_DEFAULT_sourcePickerSelection="{selected} of {total} selected",LYRA_DEFAULT_untitledCommunity="Untitled community",LYRA_DEFAULT_untitledEntity="Untitled entity",LYRA_DEFAULT_untitledSource="Untitled source",LYRA_DEFAULT_valueTruncated="…";export{LYRA_DEFAULT_chunkInspectorEmpty,LYRA_DEFAULT_chunkInspectorLabel,LYRA_DEFAULT_chunkInspectorOpenOrdinal,LYRA_DEFAULT_chunkScore,LYRA_DEFAULT_citation,LYRA_DEFAULT_citationHighConfidence,LYRA_DEFAULT_citationLowConfidence,LYRA_DEFAULT_citationMediumConfidence,LYRA_DEFAULT_citationUnverified,LYRA_DEFAULT_citationVerified,LYRA_DEFAULT_citationWithCustomLabel,LYRA_DEFAULT_citationWithStatus,LYRA_DEFAULT_claimEvidenceClaimsLimit,LYRA_DEFAULT_claimEvidenceConfidence,LYRA_DEFAULT_claimEvidenceContradicted,LYRA_DEFAULT_claimEvidenceEmpty,LYRA_DEFAULT_claimEvidenceLabel,LYRA_DEFAULT_claimEvidencePartiallySupported,LYRA_DEFAULT_claimEvidenceSupported,LYRA_DEFAULT_claimEvidenceUnsupported,LYRA_DEFAULT_communityDrillIn,LYRA_DEFAULT_communityMemberCount,LYRA_DEFAULT_embeddingExplorerEmpty,LYRA_DEFAULT_embeddingExplorerLabel,LYRA_DEFAULT_embeddingExplorerPoint,LYRA_DEFAULT_embeddingExplorerPointLimit,LYRA_DEFAULT_embeddingExplorerSpatialBin,LYRA_DEFAULT_embeddingExplorerSpatialBounds,LYRA_DEFAULT_embeddingExplorerSpatialError,LYRA_DEFAULT_embeddingExplorerSpatialLoading,LYRA_DEFAULT_embeddingExplorerSpatialSummary,LYRA_DEFAULT_entityChipWithType,LYRA_DEFAULT_entityCommunity,LYRA_DEFAULT_entityDegree,LYRA_DEFAULT_focusInGraph,LYRA_DEFAULT_graphCommunity,LYRA_DEFAULT_graphCustomNodesError,LYRA_DEFAULT_graphCustomNodesUnavailable,LYRA_DEFAULT_graphDataList,LYRA_DEFAULT_graphDataListLimit,LYRA_DEFAULT_graphDiagram,LYRA_DEFAULT_graphEdgeLimit,LYRA_DEFAULT_graphExpandableItem,LYRA_DEFAULT_graphExplorerAllTypesHidden,LYRA_DEFAULT_graphExplorerClearTypes,LYRA_DEFAULT_graphExplorerFindPath,LYRA_DEFAULT_graphExplorerLabel,LYRA_DEFAULT_graphExplorerPin,LYRA_DEFAULT_graphExplorerPinned,LYRA_DEFAULT_graphExplorerPinnedHeading,LYRA_DEFAULT_graphExplorerSearchLimit,LYRA_DEFAULT_graphExplorerSearchPlaceholder,LYRA_DEFAULT_graphExplorerSearchResultsLabel,LYRA_DEFAULT_graphExplorerUnpin,LYRA_DEFAULT_graphExplorerUnpinned,LYRA_DEFAULT_graphFit,LYRA_DEFAULT_graphGlowUnavailable,LYRA_DEFAULT_graphItemAnnouncement,LYRA_DEFAULT_graphLegendLabel,LYRA_DEFAULT_graphLink,LYRA_DEFAULT_graphMissingLibrary,LYRA_DEFAULT_graphNode,LYRA_DEFAULT_graphNodeFocused,LYRA_DEFAULT_graphNodeLimit,LYRA_DEFAULT_graphNodesHidden,LYRA_DEFAULT_graphOrbitDown,LYRA_DEFAULT_graphOrbitLeft,LYRA_DEFAULT_graphOrbitRight,LYRA_DEFAULT_graphOrbitUp,LYRA_DEFAULT_graphSelectionCount,LYRA_DEFAULT_graphSpatialControls,LYRA_DEFAULT_graphSpatialInstructions,LYRA_DEFAULT_graphSpatialPage,LYRA_DEFAULT_graphSpatialUnavailable,LYRA_DEFAULT_graphTypedNode,LYRA_DEFAULT_graphView3d,LYRA_DEFAULT_graphViewList,LYRA_DEFAULT_groundingSummaryCitationsLimit,LYRA_DEFAULT_groundingSummaryConfidenceLabel,LYRA_DEFAULT_groundingSummaryCoverageLabel,LYRA_DEFAULT_groundingSummaryEmpty,LYRA_DEFAULT_groundingSummaryEvidenceHeading,LYRA_DEFAULT_groundingSummaryEvidenceSpan,LYRA_DEFAULT_groundingSummaryLabel,LYRA_DEFAULT_groundingSummarySupportedLabel,LYRA_DEFAULT_groundingSummaryUnsupportedLabel,LYRA_DEFAULT_groundingSummaryWarningsHeading,LYRA_DEFAULT_ingestionActionWithContext,LYRA_DEFAULT_ingestionAttemptCount,LYRA_DEFAULT_ingestionCancelWithContext,LYRA_DEFAULT_ingestionChunkCount,LYRA_DEFAULT_ingestionEmbeddedOfTotal,LYRA_DEFAULT_ingestionItemProgressLabel,LYRA_DEFAULT_ingestionQueueActionLimit,LYRA_DEFAULT_ingestionQueueEmpty,LYRA_DEFAULT_ingestionQueueInputLimit,LYRA_DEFAULT_ingestionQueueLabel,LYRA_DEFAULT_ingestionRetryWithContext,LYRA_DEFAULT_ingestionStageCancelled,LYRA_DEFAULT_ingestionStageChunking,LYRA_DEFAULT_ingestionStageDone,LYRA_DEFAULT_ingestionStageEmbedding,LYRA_DEFAULT_ingestionStageExtracting,LYRA_DEFAULT_ingestionStageFailed,LYRA_DEFAULT_ingestionStageIndexing,LYRA_DEFAULT_ingestionStageQueued,LYRA_DEFAULT_ingestionStageUnknown,LYRA_DEFAULT_ingestionStageUploading,LYRA_DEFAULT_knowledgeBaseActionsColumn,LYRA_DEFAULT_knowledgeBaseAdminIngestionTab,LYRA_DEFAULT_knowledgeBaseAdminInputLimit,LYRA_DEFAULT_knowledgeBaseAdminLabel,LYRA_DEFAULT_knowledgeBaseAdminSourcesTab,LYRA_DEFAULT_knowledgeBaseCreateSource,LYRA_DEFAULT_knowledgeBaseDeleteAction,LYRA_DEFAULT_knowledgeBaseDocumentCount,LYRA_DEFAULT_knowledgeBaseEmptyDescription,LYRA_DEFAULT_knowledgeBaseEmptyHeading,LYRA_DEFAULT_knowledgeBaseHeading,LYRA_DEFAULT_knowledgeBaseHealthColumn,LYRA_DEFAULT_knowledgeBaseHealthDegraded,LYRA_DEFAULT_knowledgeBaseHealthFailed,LYRA_DEFAULT_knowledgeBaseHealthHealthy,LYRA_DEFAULT_knowledgeBaseHealthUnknown,LYRA_DEFAULT_knowledgeBaseNameColumn,LYRA_DEFAULT_knowledgeBaseNeedsAttention,LYRA_DEFAULT_knowledgeBaseNeverSynced,LYRA_DEFAULT_knowledgeBasePauseAction,LYRA_DEFAULT_knowledgeBasePermissionColumn,LYRA_DEFAULT_knowledgeBasePermissionEditor,LYRA_DEFAULT_knowledgeBasePermissionOwner,LYRA_DEFAULT_knowledgeBasePermissionRestricted,LYRA_DEFAULT_knowledgeBasePermissionViewer,LYRA_DEFAULT_knowledgeBaseRowActionsLabel,LYRA_DEFAULT_knowledgeBaseSyncAction,LYRA_DEFAULT_knowledgeBaseSyncColumn,LYRA_DEFAULT_knowledgeBaseSyncError,LYRA_DEFAULT_knowledgeBaseSyncIdle,LYRA_DEFAULT_knowledgeBaseSyncPaused,LYRA_DEFAULT_knowledgeBaseSyncSynced,LYRA_DEFAULT_knowledgeBaseSyncSyncing,LYRA_DEFAULT_knowledgeBaseSyncedSources,LYRA_DEFAULT_knowledgeBaseSyncingSources,LYRA_DEFAULT_knowledgeBaseTotalSources,LYRA_DEFAULT_memoryPanelAdd,LYRA_DEFAULT_memoryPanelAddWithContext,LYRA_DEFAULT_memoryPanelConfirmAddHeading,LYRA_DEFAULT_memoryPanelConfirmForgetBody,LYRA_DEFAULT_memoryPanelConfirmForgetHeading,LYRA_DEFAULT_memoryPanelConfirmRemoveHeading,LYRA_DEFAULT_memoryPanelForgetAll,LYRA_DEFAULT_memoryPanelItemsLimit,LYRA_DEFAULT_memoryPanelLabel,LYRA_DEFAULT_memoryPanelLongTermHeading,LYRA_DEFAULT_memoryPanelShortTermHeading,LYRA_DEFAULT_mindMapCollapsed,LYRA_DEFAULT_mindMapExpanded,LYRA_DEFAULT_mindMapInputLimit,LYRA_DEFAULT_mindMapLabel,LYRA_DEFAULT_mindMapLeafStatus,LYRA_DEFAULT_mindMapNodeLimit,LYRA_DEFAULT_mindMapTopicStatus,LYRA_DEFAULT_neighborExpand,LYRA_DEFAULT_neighborGroupHeader,LYRA_DEFAULT_neighborListEmpty,LYRA_DEFAULT_neighborListLabel,LYRA_DEFAULT_neighborRowLabel,LYRA_DEFAULT_neighborSourceChoose,LYRA_DEFAULT_neighborSourceError,LYRA_DEFAULT_neighborSourceSummary,LYRA_DEFAULT_nodePaletteDragHint,LYRA_DEFAULT_nodePaletteEmpty,LYRA_DEFAULT_nodePaletteLabel,LYRA_DEFAULT_nodePalettePlaceholder,LYRA_DEFAULT_nodePaletteResultCount,LYRA_DEFAULT_pathNodeStatus,LYRA_DEFAULT_pathRelationStatus,LYRA_DEFAULT_pathStripLabel,LYRA_DEFAULT_provenanceChunks,LYRA_DEFAULT_provenanceCommunities,LYRA_DEFAULT_provenanceEmpty,LYRA_DEFAULT_provenancePanelLabel,LYRA_DEFAULT_provenancePanelLimit,LYRA_DEFAULT_provenanceRelationships,LYRA_DEFAULT_ragAnswerCitations,LYRA_DEFAULT_ragAnswerEmpty,LYRA_DEFAULT_ragAnswerLabel,LYRA_DEFAULT_ragAnswerRetry,LYRA_DEFAULT_ragAnswerSources,LYRA_DEFAULT_ragEvalDashboardAllSlices,LYRA_DEFAULT_ragEvalDashboardEmpty,LYRA_DEFAULT_ragEvalDashboardInputLimit,LYRA_DEFAULT_ragEvalDashboardLabel,LYRA_DEFAULT_ragEvalDashboardRuns,LYRA_DEFAULT_ragEvalDashboardSliceUnavailable,LYRA_DEFAULT_ragEvalDashboardSlices,LYRA_DEFAULT_ragEvalDashboardSlicesLimit,LYRA_DEFAULT_researchProgressEmpty,LYRA_DEFAULT_researchProgressLabel,LYRA_DEFAULT_researchProgressLimit,LYRA_DEFAULT_researchProgressSources,LYRA_DEFAULT_researchProgressStatusCompleted,LYRA_DEFAULT_researchProgressStatusFailed,LYRA_DEFAULT_researchProgressStatusPending,LYRA_DEFAULT_researchProgressStatusRunning,LYRA_DEFAULT_retrievalCompareDenseScore,LYRA_DEFAULT_retrievalCompareEmpty,LYRA_DEFAULT_retrievalCompareFinalScore,LYRA_DEFAULT_retrievalCompareInputLimit,LYRA_DEFAULT_retrievalCompareLabel,LYRA_DEFAULT_retrievalCompareOverlap,LYRA_DEFAULT_retrievalCompareRank,LYRA_DEFAULT_retrievalCompareRerankScore,LYRA_DEFAULT_retrievalCompareResultLimit,LYRA_DEFAULT_retrievalCompareSparseScore,LYRA_DEFAULT_retrievalFilterChipLabel,LYRA_DEFAULT_retrievalFiltersLabel,LYRA_DEFAULT_retrievalModeHybrid,LYRA_DEFAULT_retrievalModeKeyword,LYRA_DEFAULT_retrievalModeLabel,LYRA_DEFAULT_retrievalModeVector,LYRA_DEFAULT_retrievalResultsInputLimit,LYRA_DEFAULT_retrievalResultsSelectRowOrdinal,LYRA_DEFAULT_retrievalSearchEmptyDescription,LYRA_DEFAULT_retrievalSearchLabel,LYRA_DEFAULT_retrievalStageEmbed,LYRA_DEFAULT_retrievalStageFilter,LYRA_DEFAULT_retrievalStageKindUnknown,LYRA_DEFAULT_retrievalStageQueryRewrite,LYRA_DEFAULT_retrievalStageRerank,LYRA_DEFAULT_retrievalStageRetrieve,LYRA_DEFAULT_retrievalTraceEmpty,LYRA_DEFAULT_retrievalTraceEvidenceToggle,LYRA_DEFAULT_scoreTierHigh,LYRA_DEFAULT_scoreTierLow,LYRA_DEFAULT_scoreTierMedium,LYRA_DEFAULT_selectAllSources,LYRA_DEFAULT_showMore,LYRA_DEFAULT_sourcePageSuffix,LYRA_DEFAULT_sourcePickerMatches,LYRA_DEFAULT_sourcePickerSelection,LYRA_DEFAULT_untitledCommunity,LYRA_DEFAULT_untitledEntity,LYRA_DEFAULT_untitledSource,LYRA_DEFAULT_valueTruncated};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{DOCUMENT_TOKEN_CSS,DOCUMENT_TOKEN_LAYER_ID,DOCUMENT_TOKEN_SCOPE_SELECTOR,DOCUMENT_TOKEN_SENTINEL}from"./document-tokens.generated.js";import{isRegisteredLyraElement}from"./prefix.js";const documentStates=new WeakMap,rootStates=new WeakMap,verifiedSinceCheckpoint=new WeakSet,carrierCache=new WeakMap,libraryRoots=new WeakMap,LAYER_NAME="lr-theme",MAX_SLOT_HOPS=8,mediaLists=new WeakMap;function onceSinceCheckpoint(scope){return verifiedSinceCheckpoint.has(scope)?!1:(verifiedSinceCheckpoint.add(scope),queueMicrotask(()=>verifiedSinceCheckpoint.delete(scope)),!0)}function styleDeclaresSentinel(rule){const style=rule?.style;return!!style&&style.getPropertyValue(DOCUMENT_TOKEN_SENTINEL).trim()===DOCUMENT_TOKEN_LAYER_ID}function declaresSentinel(rule,anywhere=!1){const nested=rule.cssRules;if(!nested)return styleDeclaresSentinel(rule);const count=anywhere?nested.length:Math.min(1,nested.length);for(let index=0;index<count;index++)if(styleDeclaresSentinel(nested[index]))return!0;return!1}function containsLayerBlock(rules,depth){for(let index=0;index<rules.length;index++){const rule=rules[index];if(!(rule.type!==0||typeof rule.name!="string"||!rule.cssRules)&&(rule.name===LAYER_NAME?declaresSentinel(rule,!0):depth<2&&containsLayerBlock(rule.cssRules,depth+1)))return!0}return!1}function
|
|
1
|
+
import{DOCUMENT_TOKEN_CSS,DOCUMENT_TOKEN_LAYER_ID,DOCUMENT_TOKEN_SCOPE_SELECTOR,DOCUMENT_TOKEN_SENTINEL}from"./document-tokens.generated.js";import{isRegisteredLyraElement}from"./prefix.js";const documentStates=new WeakMap,rootStates=new WeakMap,verifiedSinceCheckpoint=new WeakSet,carrierCache=new WeakMap,libraryRoots=new WeakMap,LAYER_NAME="lr-theme",MAX_SLOT_HOPS=8,mediaLists=new WeakMap;function onceSinceCheckpoint(scope){return verifiedSinceCheckpoint.has(scope)?!1:(verifiedSinceCheckpoint.add(scope),queueMicrotask(()=>verifiedSinceCheckpoint.delete(scope)),!0)}function styleDeclaresSentinel(rule){const style=rule?.style;return!!style&&style.getPropertyValue(DOCUMENT_TOKEN_SENTINEL).trim()===DOCUMENT_TOKEN_LAYER_ID}function declaresSentinel(rule,anywhere=!1){const nested=rule.cssRules;if(!nested)return styleDeclaresSentinel(rule);const count=anywhere?nested.length:Math.min(1,nested.length);for(let index=0;index<count;index++)if(styleDeclaresSentinel(nested[index]))return!0;return!1}function containsLayerBlock(rules,depth){for(let index=0;index<rules.length;index++){const rule=rules[index];if(!(rule.type!==0||typeof rule.name!="string"||!rule.cssRules)&&(rule.name===LAYER_NAME?declaresSentinel(rule,!0):depth<2&&containsLayerBlock(rule.cssRules,depth+1)))return!0}return!1}function layerProvider(sheet,view,thorough,depth=0,refresh=!1){if(refresh&&carrierCache.delete(sheet),sheet.disabled)return;const known=carrierCache.get(sheet);if(known===!0||known===!1||known==="tail"&&!thorough)return known===!0?sheet:void 0;let rules;try{rules=sheet.cssRules}catch{return}let found=!1;if(known!=="tail")for(let index=rules.length-1;!found&&index>=Math.max(0,rules.length-3);index--)found=declaresSentinel(rules[index]);let hasImports=!1;for(let index=0;!found&&depth<3&&index<rules.length;index++){const rule=rules[index];if(!(rule.type===0&&"nameList"in rule)){if(rule.type!==3)break;if(hasImports=!0,rule.styleSheet&&importApplies(rule,view)){const imported=layerProvider(rule.styleSheet,view,thorough,depth+1,refresh);if(imported)return imported}}}return!found&&thorough&&(found=containsLayerBlock(rules,0)),(found||!hasImports)&&carrierCache.set(sheet,found?!0:thorough?!1:"tail"),found?sheet:void 0}function topSheet(sheet){let current=sheet;for(;current.parentStyleSheet;)current=current.parentStyleSheet;return current}function mediaMatches(view,media){let lists=mediaLists.get(view);lists||mediaLists.set(view,lists=new Map);let list=lists.get(media);return list||lists.set(media,list=view.matchMedia(media)),list.matches}function importApplies(rule,view){const media=rule.media.mediaText.trim();return(media===""||media==="all"||mediaMatches(view,media))&&(!rule.supportsText||CSS.supports(`(${rule.supportsText})`))}function staticSheetApplies(sheet){if(sheet.disabled)return!1;const owner=sheet.ownerNode;if(!owner||!owner.isConnected||"sheet"in owner&&owner.sheet!==sheet)return!1;const media=sheet.media?.mediaText.trim()??"";if(media===""||media==="all")return!0;const view=owner.ownerDocument?.defaultView;return view&&typeof view.matchMedia=="function"?mediaMatches(view,media):/\bscreen\b/.test(media)}function providerApplies(scope,provider){const view=documentOf(scope).defaultView;let current=provider;for(;current.parentStyleSheet;){if(current.disabled||!importApplies(current.ownerRule,view))return!1;current=current.parentStyleSheet}const top=current;return top.ownerNode?staticSheetApplies(top):!top.disabled&&scope.adoptedStyleSheets.includes(top)}function findProvider(scope,own,thorough,refresh=!1){const view=documentOf(scope).defaultView,linked=scope.styleSheets;for(let index=linked.length-1;index>=0;index--){const sheet=linked[index];if(staticSheetApplies(sheet)){const provider=layerProvider(sheet,view,thorough,0,refresh);if(provider)return provider}}const adopted=scope.adoptedStyleSheets;for(let index=adopted.length-1;index>=0;index--){const sheet=adopted[index];if(sheet!==own){const provider=layerProvider(sheet,view,thorough,0,refresh);if(provider)return provider}}}function resolvedSentinel(doc){try{return doc.documentElement?doc.defaultView.getComputedStyle(doc.documentElement).getPropertyValue(DOCUMENT_TOKEN_SENTINEL).trim():""}catch{return""}}function layerState(doc){const known=documentStates.get(doc);if(known)return known;const view=doc.defaultView;if(!view||typeof view.CSSStyleSheet!="function"||!("adoptedStyleSheets"in doc))return;const state={unreadableProvider:!1,arrivedLate:!1};if(state.provider=findProvider(doc,void 0,!1),!state.provider){const found=resolvedSentinel(doc);found===DOCUMENT_TOKEN_LAYER_ID?(state.provider=findProvider(doc,void 0,!0),state.unreadableProvider=!state.provider):found&&(state.foreignLayer=found)}return documentStates.set(doc,state),doc.readyState!=="complete"&&view.addEventListener("load",()=>verifyDocument(doc,state,"load"),{once:!0}),state}function layerSheet(doc,state){if(!state.sheet){const sheet=new doc.defaultView.CSSStyleSheet;sheet.replaceSync(DOCUMENT_TOKEN_CSS),carrierCache.set(sheet,!0),state.sheet=sheet}return state.sheet}function shadowRootLayerCss(css){let text=css.replace(/@layer [^{;]*;/g,""),unwrapped="";const layerOpen=/@layer [^{;]*\{/y;for(let index=0;index<text.length;){layerOpen.lastIndex=index;const open=layerOpen.exec(text);if(!open){unwrapped+=text[index++];continue}let depth=1;const start=index+=open[0].length;for(;index<text.length&&depth;){const char=text[index++];char==="{"?depth++:char==="}"&&depth--}unwrapped+=text.slice(start,index-1)}const sentinel=`${DOCUMENT_TOKEN_SENTINEL}:${DOCUMENT_TOKEN_LAYER_ID}`;return text=unwrapped.replace(`:root{${sentinel}}`,"").replaceAll(":where(:root),","").replaceAll(":root,",""),text=text.replace(/(^|[{}\n])([^@{}\n][^{}]*)\{/g,(_,lead,selector)=>`${lead}:where(${selector.trim()}){`),`${text}
|
|
2
2
|
:where(:root){${sentinel}}
|
|
3
|
-
`}function rootLayerSheet(doc,state){if(!state.rootSheet){const sheet=new doc.defaultView.CSSStyleSheet;sheet.replaceSync(shadowRootLayerCss(DOCUMENT_TOKEN_CSS)),carrierCache.set(sheet,!0),state.rootSheet=sheet}return state.rootSheet}function adopt(root,...add){if(!add.length)return;const sheets=root.adoptedStyleSheets,missing=add.filter(sheet=>!sheets.includes(sheet));missing.length&&(root.adoptedStyleSheets=[...sheets,...missing])}function withdraw(root,sheet){if(!sheet)return!1;const sheets=root.adoptedStyleSheets;return sheets.includes(sheet)?(root.adoptedStyleSheets=sheets.filter(entry=>entry!==sheet),!0):!1}function rootKeySheet(doc,state){if(state.rootKey===void 0){const view=doc.defaultView,brands=view.navigator.userAgentData?.brands;if(state.rootKey=null,brands?.some(entry=>entry.brand==="Chromium")){const names=new Set(Array.from(DOCUMENT_TOKEN_CSS.matchAll(/var\((--(?:lr-theme-|_lr-)[\w-]+)/g),match=>match[1])),sheet=new view.CSSStyleSheet;sheet.replaceSync(`:root{--_lr-root-inputs:${Array.from(names,name=>`var(${name},0)`).join("")}}`),state.rootKey=sheet,(state.provider||state.unreadableProvider)&&awaitRootChange(doc,state,sheet)}}return state.rootKey}function awaitRootChange(doc,state,key){const view=doc.defaultView,root=doc.documentElement;if(!root||typeof view.MutationObserver!="function"){state.rootKeyLive=!0;return}const observer=new view.MutationObserver(()=>{observer.disconnect(),!state.rootKeyLive&&(state.rootKeyLive=!0,adopt(doc,key))});observer.observe(root,{attributes:!0})}function verifyDocument(doc,state,check){const key=rootKeySheet(doc,state),keyNow=key&&state.rootKeyLive&&check!=="connect"?[key]:[];if(state.provider&&!providerApplies(doc,state.provider)&&(state.provider=void 0),!state.provider&&check!=="connect"&&(state.provider=findProvider(doc,state.sheet,!0)),state.provider){state.unreadableProvider=!1,withdraw(doc,state.sheet)&&topSheet(state.provider).ownerNode&&(state.arrivedLate=!0),adopt(doc,...keyNow);return}if(state.unreadableProvider){if(check!=="explicit"||resolvedSentinel(doc)===DOCUMENT_TOKEN_LAYER_ID){adopt(doc,...keyNow);return}state.unreadableProvider=!1}key&&(state.rootKeyLive=!0),adopt(doc,layerSheet(doc,state),...key?[key]:[])}function verifyRoot(root,doc,state){let local=rootStates.get(root);local||rootStates.set(root,local={}),local.provider&&!providerApplies(root,local.provider)&&(local.provider=void 0),local.provider||(local.provider=findProvider(root,state.rootSheet,!0)),local.provider?withdraw(root,state.rootSheet):adopt(root,rootLayerSheet(doc,state))}function isShadowRoot(node){return node.nodeType===11&&"host"in node&&node.host!==null}function isLibraryRoot(root){let known=libraryRoots.get(root);return known===void 0&&(known=isRegisteredLyraElement(root.host),libraryRoots.set(root,known)),known}function ensureLyraTokens(element){shareAdopter();const doc=element.ownerDocument,state=layerState(doc);state&&(onceSinceCheckpoint(doc)&&verifyDocument(doc,state,"connect"),ensureAlongTrees(element,doc,state,0))}function ensureAlongTrees(start,doc,state,hops){let node=start;for(;;){const root=node.getRootNode(),shadow=isShadowRoot(root);if(shadow&&isLibraryRoot(root)||(followAssignedSlot(node,doc,state,hops),!shadow))return;!verifiedSinceCheckpoint.has(root)&&node.closest(DOCUMENT_TOKEN_SCOPE_SELECTOR)&&(onceSinceCheckpoint(root),verifyRoot(root,doc,state)),node=root.host}}function followAssignedSlot(node,doc,state,hops){const slotRoot=node.parentElement?.shadowRoot;if(!slotRoot||hops>=MAX_SLOT_HOPS||isLibraryRoot(slotRoot))return;const slot=node.assignedSlot;if(slot){ensureAlongTrees(slot,doc,state,hops+1);return}queueMicrotask(()=>{const late=node.isConnected&&node.ownerDocument===doc?node.assignedSlot:null;late&&ensureAlongTrees(late,doc,state,hops+1)})}let primed=!1;function primeLyraTokens(){if(primed||typeof document>"u")return;primed=!0;const doc=document,state=layerState(doc);state&&onceSinceCheckpoint(doc)&&verifyDocument(doc,state,"connect")}const ADOPTER_KEY=Symbol.for("@aceshooting/lyra-ui.adopt-lyra-tokens.v1");let adopterShared=!1;function shareAdopter(){if(adopterShared)return;adopterShared=!0;const scope=globalThis,existing=scope[ADOPTER_KEY];if(typeof existing=="function"&&existing.layerId===DOCUMENT_TOKEN_LAYER_ID)return;const adopter=Object.assign(root=>adoptLyraTokens(root),{layerId:DOCUMENT_TOKEN_LAYER_ID});try{Object.defineProperty(scope,ADOPTER_KEY,{configurable:!0,enumerable:!1,writable:!1,value:adopter})}catch{}}function documentOf(root){return root.nodeType===9?root:root.ownerDocument}function hasLyraTokens(root){const doc=documentOf(root),state=documentStates.get(doc);if(!state)return!1;const local=root===doc?state:rootStates.get(root);if(local?.provider&&providerApplies(root,local.provider)||root===doc&&state.unreadableProvider)return!0;const own=root===doc?state.sheet:state.rootSheet;return!!own&&root.adoptedStyleSheets.includes(own)}function adoptLyraTokens(root){if(typeof document>"u"||!root)return;const doc=documentOf(root),state=layerState(doc);state&&(root===doc?verifyDocument(doc,state,"explicit"):isShadowRoot(root)&&verifyRoot(root,doc,state))}function foreignLyraTokenLayer(doc){return documentStates.get(doc)?.foreignLayer}function lyraTokenLayerArrivedLate(doc){return documentStates.get(doc)?.arrivedLate??!1}export{adoptLyraTokens,ensureLyraTokens,foreignLyraTokenLayer,hasLyraTokens,lyraTokenLayerArrivedLate,primeLyraTokens};
|
|
3
|
+
`}function rootLayerSheet(doc,state){if(!state.rootSheet){const sheet=new doc.defaultView.CSSStyleSheet;sheet.replaceSync(shadowRootLayerCss(DOCUMENT_TOKEN_CSS)),carrierCache.set(sheet,!0),state.rootSheet=sheet}return state.rootSheet}function adopt(root,...add){if(!add.length)return;const sheets=root.adoptedStyleSheets,missing=add.filter(sheet=>!sheets.includes(sheet));missing.length&&(root.adoptedStyleSheets=[...sheets,...missing])}function withdraw(root,sheet){if(!sheet)return!1;const sheets=root.adoptedStyleSheets;return sheets.includes(sheet)?(root.adoptedStyleSheets=sheets.filter(entry=>entry!==sheet),!0):!1}function rootKeySheet(doc,state){if(state.rootKey===void 0){const view=doc.defaultView,brands=view.navigator.userAgentData?.brands;if(state.rootKey=null,brands?.some(entry=>entry.brand==="Chromium")){const names=new Set(Array.from(DOCUMENT_TOKEN_CSS.matchAll(/var\((--(?:lr-theme-|_lr-)[\w-]+)/g),match=>match[1])),sheet=new view.CSSStyleSheet;sheet.replaceSync(`:root{--_lr-root-inputs:${Array.from(names,name=>`var(${name},0)`).join("")}}`),state.rootKey=sheet,(state.provider||state.unreadableProvider)&&awaitRootChange(doc,state,sheet)}}return state.rootKey}function awaitRootChange(doc,state,key){const view=doc.defaultView,root=doc.documentElement;if(!root||typeof view.MutationObserver!="function"){state.rootKeyLive=!0;return}const observer=new view.MutationObserver(()=>{observer.disconnect(),!state.rootKeyLive&&(state.rootKeyLive=!0,adopt(doc,key))});observer.observe(root,{attributes:!0})}function verifyDocument(doc,state,check){const key=rootKeySheet(doc,state),keyNow=key&&state.rootKeyLive&&check!=="connect"?[key]:[];if(check==="explicit"&&(state.provider=void 0),state.provider&&!providerApplies(doc,state.provider)&&(state.provider=void 0),!state.provider&&check!=="connect"&&(state.provider=findProvider(doc,state.sheet,!0,check==="explicit")),state.provider){state.unreadableProvider=!1,withdraw(doc,state.sheet)&&topSheet(state.provider).ownerNode&&(state.arrivedLate=!0),adopt(doc,...keyNow);return}if(state.unreadableProvider){if(check!=="explicit"||resolvedSentinel(doc)===DOCUMENT_TOKEN_LAYER_ID){adopt(doc,...keyNow);return}state.unreadableProvider=!1}key&&(state.rootKeyLive=!0),adopt(doc,layerSheet(doc,state),...key?[key]:[])}function verifyRoot(root,doc,state,refresh=!1){let local=rootStates.get(root);local||rootStates.set(root,local={}),(refresh||local.provider&&!providerApplies(root,local.provider))&&(local.provider=void 0),local.provider||(local.provider=findProvider(root,state.rootSheet,!0,refresh)),local.provider?withdraw(root,state.rootSheet):adopt(root,rootLayerSheet(doc,state))}function isShadowRoot(node){return node.nodeType===11&&"host"in node&&node.host!==null}function isLibraryRoot(root){let known=libraryRoots.get(root);return known===void 0&&(known=isRegisteredLyraElement(root.host),libraryRoots.set(root,known)),known}function ensureLyraTokens(element){shareAdopter();const doc=element.ownerDocument,state=layerState(doc);state&&(onceSinceCheckpoint(doc)&&verifyDocument(doc,state,"connect"),ensureAlongTrees(element,doc,state,0))}function ensureAlongTrees(start,doc,state,hops){let node=start;for(;;){const root=node.getRootNode(),shadow=isShadowRoot(root);if(shadow&&isLibraryRoot(root)||(followAssignedSlot(node,doc,state,hops),!shadow))return;!verifiedSinceCheckpoint.has(root)&&node.closest(DOCUMENT_TOKEN_SCOPE_SELECTOR)&&(onceSinceCheckpoint(root),verifyRoot(root,doc,state)),node=root.host}}function followAssignedSlot(node,doc,state,hops){const slotRoot=node.parentElement?.shadowRoot;if(!slotRoot||hops>=MAX_SLOT_HOPS||isLibraryRoot(slotRoot))return;const slot=node.assignedSlot;if(slot){ensureAlongTrees(slot,doc,state,hops+1);return}queueMicrotask(()=>{const late=node.isConnected&&node.ownerDocument===doc?node.assignedSlot:null;late&&ensureAlongTrees(late,doc,state,hops+1)})}let primed=!1;function primeLyraTokens(){if(primed||typeof document>"u")return;primed=!0;const doc=document,state=layerState(doc);state&&onceSinceCheckpoint(doc)&&verifyDocument(doc,state,"connect")}const ADOPTER_KEY=Symbol.for("@aceshooting/lyra-ui.adopt-lyra-tokens.v1");let adopterShared=!1;function shareAdopter(){if(adopterShared)return;adopterShared=!0;const scope=globalThis,existing=scope[ADOPTER_KEY];if(typeof existing=="function"&&existing.layerId===DOCUMENT_TOKEN_LAYER_ID)return;const adopter=Object.assign(root=>adoptLyraTokens(root),{layerId:DOCUMENT_TOKEN_LAYER_ID});try{Object.defineProperty(scope,ADOPTER_KEY,{configurable:!0,enumerable:!1,writable:!1,value:adopter})}catch{}}function documentOf(root){return root.nodeType===9?root:root.ownerDocument}function hasLyraTokens(root){const doc=documentOf(root),state=documentStates.get(doc);if(!state)return!1;const local=root===doc?state:rootStates.get(root);if(local?.provider&&providerApplies(root,local.provider)||root===doc&&state.unreadableProvider)return!0;const own=root===doc?state.sheet:state.rootSheet;return!!own&&root.adoptedStyleSheets.includes(own)}function adoptLyraTokens(root){if(typeof document>"u"||!root)return;const doc=documentOf(root),state=layerState(doc);state&&(root===doc?verifyDocument(doc,state,"explicit"):isShadowRoot(root)&&verifyRoot(root,doc,state,!0))}function foreignLyraTokenLayer(doc){return documentStates.get(doc)?.foreignLayer}function lyraTokenLayerArrivedLate(doc){return documentStates.get(doc)?.arrivedLate??!1}export{adoptLyraTokens,ensureLyraTokens,foreignLyraTokenLayer,hasLyraTokens,lyraTokenLayerArrivedLate,primeLyraTokens};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const MAX_DROPPED_FOLDER_ENTRIES=1e4;function isFileValue(value){if(value===null||typeof value!="object")return!1;try{if(typeof File!="function")return!1;const nameGetter=Object.getOwnPropertyDescriptor(File.prototype,"name")?.get;if(!nameGetter)return!1;nameGetter.call(value);const candidate=value;return Object.prototype.toString.call(value)==="[object File]"&&typeof candidate.name=="string"&&typeof candidate.lastModified=="number"&&typeof candidate.size=="number"&&typeof candidate.type=="string"&&typeof candidate.slice=="function"}catch{return!1}}class DropSessionController{constructor(host,callbacks){this.host=host,this.callbacks=callbacks,this.counter=0,this.token=0,this.sessionState="default",this.onDragEnter=e=>{if(e.preventDefault(),this.callbacks.isDisabled())return;this.counter++;const items=e.dataTransfer?[...e.dataTransfer.items].filter(i=>i.kind==="file"):[];this.sessionState=items.length?this.callbacks.previewRejects(items)?"reject":"accept":"default",this.callbacks.onStateChange()},this.onDragOver=e=>{e.preventDefault()},this.onDragLeave=e=>{this.callbacks.isDisabled()||(e.preventDefault(),this.counter=Math.max(0,this.counter-1),this.counter===0&&(this.sessionState="default",this.callbacks.onStateChange()))},host.addController(this)}get state(){return this.sessionState}get dragging(){return this.sessionState!=="default"}hostDisconnected(){this.reset()}reset(){this.token++,this.counter=0,this.sessionState="default",this.callbacks.onStateChange()}beginDrop(e){if(e.preventDefault(),this.callbacks.isDisabled())return;this.reset();const token=this.token,files=readFileList(e.dataTransfer?.files),folders=[],items=e.dataTransfer?.items,itemCount=Math.min(items?.length??0,10001);for(let index=0;index<itemCount;index++){const entry=items?.[index]?.webkitGetAsEntry?.();entry?.isDirectory&&folders.push(entry)}const overLimit=(items?.length??0)>1e4;return{token,files,folders,overLimit}}isCurrent(token){return token===this.token&&this.host.isConnected&&!this.callbacks.isDisabled()}readDroppedFile(entry,isCurrent){return isCurrent()?new Promise(resolve=>{try{entry.file(file=>resolve(isCurrent()?{status:"complete",file}:{status:"cancelled"}),()=>resolve(isCurrent()?{status:"error"}:{status:"cancelled"}))}catch{resolve(isCurrent()?{status:"error"}:{status:"cancelled"})}}):Promise.resolve({status:"cancelled"})}readDroppedDirectoryBatch(reader,isCurrent){return isCurrent()?new Promise(resolve=>{try{reader.readEntries(entries=>resolve(isCurrent()?{status:"complete",entries}:{status:"cancelled"}),()=>resolve(isCurrent()?{status:"error"}:{status:"cancelled"}))}catch{resolve(isCurrent()?{status:"error"}:{status:"cancelled"})}}):Promise.resolve({status:"cancelled"})}async readFolders(folders,token){const isCurrent=()=>this.isCurrent(token),files=[],queue=[];let entryCount=0;const enqueue=entry=>entryCount>=1e4?!1:(entryCount++,queue.push(entry),!0);for(const folder of folders){if(!isCurrent())return{status:"cancelled"};if(!enqueue(folder))return{status:"limit",name:folder.name}}for(let index=0;index<queue.length;index++){if(!isCurrent())return{status:"cancelled"};const entry=queue[index];if(entry.isFile){const result=await this.readDroppedFile(entry,isCurrent);if(result.status==="cancelled"||!isCurrent())return{status:"cancelled"};if(result.status==="error")return{status:"error",name:entry.name};files.push(result.file);continue}if(!entry.isDirectory)continue;let reader;try{reader=entry.createReader()}catch{return{status:"error",name:entry.name}}for(;;){if(!isCurrent())return{status:"cancelled"};const batch=await this.readDroppedDirectoryBatch(reader,isCurrent);if(batch.status==="cancelled"||!isCurrent())return{status:"cancelled"};if(batch.status==="error")return{status:"error",name:entry.name};if(!batch.entries.length)break;for(const child of batch.entries){if(!isCurrent())return{status:"cancelled"};if(!enqueue(child))return{status:"limit",name:entry.name}}}}return{status:"complete",files}}}function readFileList(list){const files=[];if(!list)return files;for(let index=0;index<list.length;index++){const file=list[index];isFileValue(file)&&files.push(file)}return files}export{DropSessionController,isFileValue,readFileList};
|
|
1
|
+
const MAX_DROPPED_FOLDER_ENTRIES=1e4;function isFileValue(value){if(value===null||typeof value!="object")return!1;try{if(typeof File!="function")return!1;const nameGetter=Object.getOwnPropertyDescriptor(File.prototype,"name")?.get;if(!nameGetter)return!1;nameGetter.call(value);const candidate=value;return Object.prototype.toString.call(value)==="[object File]"&&typeof candidate.name=="string"&&typeof candidate.lastModified=="number"&&typeof candidate.size=="number"&&typeof candidate.type=="string"&&typeof candidate.slice=="function"}catch{return!1}}class DropSessionController{constructor(host,callbacks){this.host=host,this.callbacks=callbacks,this.counter=0,this.token=0,this.sessionState="default",this.onDragEnter=e=>{if(e.preventDefault(),this.callbacks.isDisabled())return;this.counter++;const items=e.dataTransfer?[...e.dataTransfer.items].filter(i=>i.kind==="file"):[];this.sessionState=items.length?this.callbacks.previewRejects(items)?"reject":"accept":"default",this.callbacks.onStateChange()},this.onDragOver=e=>{e.preventDefault()},this.onDragLeave=e=>{this.callbacks.isDisabled()||(e.preventDefault(),this.counter=Math.max(0,this.counter-1),this.counter===0&&(this.sessionState="default",this.callbacks.onStateChange()))},host.addController(this)}get state(){return this.sessionState}get dragging(){return this.sessionState!=="default"}hostDisconnected(){this.reset()}reset(){this.token++,this.counter=0,this.sessionState="default",this.callbacks.onStateChange()}beginDrop(e){if(e.preventDefault(),this.callbacks.isDisabled())return;this.reset();const token=this.token,files=readFileList(e.dataTransfer?.files),folders=[],items=e.dataTransfer?.items,itemCount=Math.min(items?.length??0,10001);for(let index=0;index<itemCount;index++){const entry=items?.[index]?.webkitGetAsEntry?.();entry?.isDirectory&&folders.push(entry)}const overLimit=(items?.length??0)>1e4;return{token,files,folders,overLimit}}isCurrent(token){return token===this.token&&this.host.isConnected&&!this.callbacks.isDisabled()}readDroppedFile(entry,isCurrent){return isCurrent()?new Promise(resolve=>{try{entry.file(file=>resolve(isCurrent()?{status:"complete",file}:{status:"cancelled"}),()=>resolve(isCurrent()?{status:"error"}:{status:"cancelled"}))}catch{resolve(isCurrent()?{status:"error"}:{status:"cancelled"})}}):Promise.resolve({status:"cancelled"})}readDroppedDirectoryBatch(reader,isCurrent){return isCurrent()?new Promise(resolve=>{try{reader.readEntries(entries=>resolve(isCurrent()?{status:"complete",entries}:{status:"cancelled"}),()=>resolve(isCurrent()?{status:"error"}:{status:"cancelled"}))}catch{resolve(isCurrent()?{status:"error"}:{status:"cancelled"})}}):Promise.resolve({status:"cancelled"})}async readFolders(folders,token){const isCurrent=()=>this.isCurrent(token),files=[],queue=[];let entryCount=0;const enqueue=entry=>entryCount>=1e4?!1:(entryCount++,queue.push(entry),!0);for(const folder of folders){if(!isCurrent())return{status:"cancelled"};if(!enqueue(folder))return{status:"limit",name:folder.name}}for(let index=0;index<queue.length;index++){if(!isCurrent())return{status:"cancelled"};const entry=queue[index];if(entry.isFile){const result=await this.readDroppedFile(entry,isCurrent);if(result.status==="cancelled"||!isCurrent())return{status:"cancelled"};if(result.status==="error")return{status:"error",name:entry.name};files.push(result.file);continue}if(!entry.isDirectory)continue;let reader;try{reader=entry.createReader()}catch{return isCurrent()?{status:"error",name:entry.name}:{status:"cancelled"}}for(;;){if(!isCurrent())return{status:"cancelled"};const batch=await this.readDroppedDirectoryBatch(reader,isCurrent);if(batch.status==="cancelled"||!isCurrent())return{status:"cancelled"};if(batch.status==="error")return{status:"error",name:entry.name};if(!batch.entries.length)break;for(const child of batch.entries){if(!isCurrent())return{status:"cancelled"};if(!enqueue(child))return{status:"limit",name:entry.name}}}}return{status:"complete",files}}}function readFileList(list){const files=[];if(!list)return files;for(let index=0;index<list.length;index++){const file=list[index];isFileValue(file)&&files.push(file)}return files}export{DropSessionController,isFileValue,readFileList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{literalSetConverter}from"./converters.js";import{LYRA_DEFAULT_engine3dContextLost,LYRA_DEFAULT_engine3dError,LYRA_DEFAULT_engine3dLoading,LYRA_DEFAULT_engine3dShowingBuiltin,LYRA_DEFAULT_engine3dShowingList,LYRA_DEFAULT_engine3dSoftwareRendering,LYRA_DEFAULT_engine3dUnavailable,LYRA_DEFAULT_engine3dUnsupported}from"./default-strings/shared.generated.js";const ENGINE_3D_PREFERENCE=literalSetConverter(["builtin","webgl"],"builtin"),ENGINE_3D_DEFAULT_STRINGS=Object.freeze({engine3dLoading:LYRA_DEFAULT_engine3dLoading,engine3dUnavailable:LYRA_DEFAULT_engine3dUnavailable,engine3dUnsupported:LYRA_DEFAULT_engine3dUnsupported,engine3dContextLost:LYRA_DEFAULT_engine3dContextLost,engine3dError:LYRA_DEFAULT_engine3dError,engine3dSoftwareRendering:LYRA_DEFAULT_engine3dSoftwareRendering,engine3dShowingBuiltin:LYRA_DEFAULT_engine3dShowingBuiltin,engine3dShowingList:LYRA_DEFAULT_engine3dShowingList}),ENGINE_3D_REASON_MESSAGE={unavailable:"engine3dUnavailable",unsupported:"engine3dUnsupported","context-lost":"engine3dContextLost",error:"engine3dError"},ENGINE_3D_SHOWING_MESSAGE={webgl:"engine3dShowingList",builtin:"engine3dShowingBuiltin",list:"engine3dShowingList"};function engine3dFallbackNotice(detail){return{reason:ENGINE_3D_REASON_MESSAGE[detail.reason],showing:ENGINE_3D_SHOWING_MESSAGE[detail.to]}}function engine3dFailureReason(error){return typeof error=="object"&&error!==null&&error.code==="webgl-unavailable"?"unsupported":"error"}function webgl2Available(createCanvas=()=>document.createElement("canvas")){try{const context=createCanvas().getContext("webgl2");return context?.getExtension("WEBGL_lose_context")?.loseContext(),context!==null}catch{return!1}}class Engine3dSelection{constructor(hasBuiltin){this.hasBuiltin=hasBuiltin,this.currentPreference="builtin",this.currentRenderer=hasBuiltin?"builtin":"list"}get preference(){return this.currentPreference}get renderer(){return this.currentRenderer}prefer(value){const preference=ENGINE_3D_PREFERENCE.normalize(value),previous=this.currentRenderer;return this.currentPreference=preference,this.currentRenderer=preference==="webgl"?"webgl":this.hasBuiltin?"builtin":"list",previous!==this.currentRenderer}fail(reason){const from=this.currentRenderer,to=from==="webgl"?this.hasBuiltin?"builtin":"list":from==="builtin"?"list":null;return to===null?null:(this.currentRenderer=to,Object.freeze({from,to,reason}))}restore(){return this.currentPreference!=="webgl"||this.currentRenderer==="webgl"?!1:(this.currentRenderer="webgl",!0)}}export{ENGINE_3D_DEFAULT_STRINGS,ENGINE_3D_PREFERENCE,ENGINE_3D_REASON_MESSAGE,ENGINE_3D_SHOWING_MESSAGE,Engine3dSelection,engine3dFailureReason,engine3dFallbackNotice,webgl2Available};
|
|
1
|
+
import{literalSetConverter}from"./converters.js";import{LYRA_DEFAULT_engine3dContextLost,LYRA_DEFAULT_engine3dError,LYRA_DEFAULT_engine3dLoading,LYRA_DEFAULT_engine3dShowingBuiltin,LYRA_DEFAULT_engine3dShowingList,LYRA_DEFAULT_engine3dSoftwareRendering,LYRA_DEFAULT_engine3dUnavailable,LYRA_DEFAULT_engine3dUnsupported}from"./default-strings/shared.generated.js";const ENGINE_3D_PREFERENCE=literalSetConverter(["builtin","webgl"],"builtin"),ENGINE_3D_DEFAULT_STRINGS=Object.freeze({engine3dLoading:LYRA_DEFAULT_engine3dLoading,engine3dUnavailable:LYRA_DEFAULT_engine3dUnavailable,engine3dUnsupported:LYRA_DEFAULT_engine3dUnsupported,engine3dContextLost:LYRA_DEFAULT_engine3dContextLost,engine3dError:LYRA_DEFAULT_engine3dError,engine3dSoftwareRendering:LYRA_DEFAULT_engine3dSoftwareRendering,engine3dShowingBuiltin:LYRA_DEFAULT_engine3dShowingBuiltin,engine3dShowingList:LYRA_DEFAULT_engine3dShowingList}),ENGINE_3D_REASON_MESSAGE={unavailable:"engine3dUnavailable",unsupported:"engine3dUnsupported","context-lost":"engine3dContextLost",error:"engine3dError"},ENGINE_3D_SHOWING_MESSAGE={webgl:"engine3dShowingList",builtin:"engine3dShowingBuiltin",list:"engine3dShowingList"};function engine3dFallbackNotice(detail){return{reason:ENGINE_3D_REASON_MESSAGE[detail.reason],showing:ENGINE_3D_SHOWING_MESSAGE[detail.to]}}function engine3dFailureReason(error){try{return typeof error=="object"&&error!==null&&error.code==="webgl-unavailable"?"unsupported":"error"}catch{return"error"}}function webgl2Available(createCanvas=()=>document.createElement("canvas")){try{const context=createCanvas().getContext("webgl2");return context?.getExtension("WEBGL_lose_context")?.loseContext(),context!==null}catch{return!1}}class Engine3dSelection{constructor(hasBuiltin){this.hasBuiltin=hasBuiltin,this.currentPreference="builtin",this.currentRenderer=hasBuiltin?"builtin":"list"}get preference(){return this.currentPreference}get renderer(){return this.currentRenderer}prefer(value){const preference=ENGINE_3D_PREFERENCE.normalize(value),previous=this.currentRenderer;return this.currentPreference=preference,this.currentRenderer=preference==="webgl"?"webgl":this.hasBuiltin?"builtin":"list",previous!==this.currentRenderer}fail(reason){const from=this.currentRenderer,to=from==="webgl"?this.hasBuiltin?"builtin":"list":from==="builtin"?"list":null;return to===null?null:(this.currentRenderer=to,Object.freeze({from,to,reason}))}restore(){return this.currentPreference!=="webgl"||this.currentRenderer==="webgl"?!1:(this.currentRenderer="webgl",!0)}}export{ENGINE_3D_DEFAULT_STRINGS,ENGINE_3D_PREFERENCE,ENGINE_3D_REASON_MESSAGE,ENGINE_3D_SHOWING_MESSAGE,Engine3dSelection,engine3dFailureReason,engine3dFallbackNotice,webgl2Available};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tag}from"./prefix.js";function isVisuallyHidden(element){if(element.localName===tag("visually-hidden"))return!0;const view=element.ownerDocument.defaultView;if(!view)return!1;const style=view.getComputedStyle(element);return style.display==="none"||style.visibility==="hidden"?!0:style.position==="absolute"&&style.clipPath.startsWith("inset(50%")}function hasIconOnlyDefaultContent(host){const childElements=host.children,elements=(childElements?Array.from(childElements):[]).filter(element=>!element.getAttribute("slot")).filter(element=>!isVisuallyHidden(element));if(elements.length!==1)return!1;const childNodes=host.childNodes;return(childNodes?Array.from(childNodes):[]).filter(node=>node.nodeType===3).map(node=>node.textContent??"").join("").trim()===""&&(elements[0]?.textContent??"").trim()===""}class IconOnlyLabelObserver{constructor(host,label,current,onChange){this.host=host,this.label=label,this.current=current,this.onChange=onChange}arm(){const label=this.label();if(!label||label===this.watched)return;const view=this.host.ownerDocument.defaultView,Ctor=view?.ResizeObserver;!view||!Ctor||(this.watched&&this.observer?.unobserve(this.watched),this.observer??=new Ctor(()=>{!this.host.isConnected||this.host.ownerDocument.defaultView!==view||(this.cancelFrame(),this.rafOwner=view,this.raf=view.requestAnimationFrame(()=>{if(this.raf=void 0,this.rafOwner=void 0,!this.host.isConnected||this.host.ownerDocument.defaultView!==view)return;const next=hasIconOnlyDefaultContent(this.host);next!==this.current()&&this.onChange(next)}))}),this.observer.observe(this.watched=label))}disarm(){this.observer?.disconnect(),this.observer=this.watched=void 0,this.cancelFrame()}cancelFrame(){this.raf!==void 0&&this.rafOwner?.cancelAnimationFrame(this.raf),this.raf=void 0,this.rafOwner=void 0}}export{IconOnlyLabelObserver,hasIconOnlyDefaultContent};
|
|
1
|
+
import{tag}from"./prefix.js";function isVisuallyHidden(element){if(element.localName===tag("visually-hidden"))return!0;const view=element.ownerDocument.defaultView;if(!view)return!1;const style=view.getComputedStyle(element);return style.display==="none"||style.visibility==="hidden"?!0:style.position==="absolute"&&style.clipPath.startsWith("inset(50%")}function hasIconOnlyDefaultContent(host){const childElements=host.children,elements=(childElements?Array.from(childElements):[]).filter(element=>!element.getAttribute("slot")).filter(element=>!isVisuallyHidden(element));if(elements.length!==1)return!1;const childNodes=host.childNodes;return(childNodes?Array.from(childNodes):[]).filter(node=>node.nodeType===3).map(node=>node.textContent??"").join("").trim()===""&&(elements[0]?.textContent??"").trim()===""}class IconOnlyLabelObserver{constructor(host,label,current,onChange){this.host=host,this.label=label,this.current=current,this.onChange=onChange}arm(){if(!this.host.isConnected)return;const label=this.label();if(!label||label===this.watched)return;const view=this.host.ownerDocument.defaultView,Ctor=view?.ResizeObserver;!view||!Ctor||(this.watched&&this.observer?.unobserve(this.watched),this.observer??=new Ctor(()=>{!this.host.isConnected||this.host.ownerDocument.defaultView!==view||(this.cancelFrame(),this.rafOwner=view,this.raf=view.requestAnimationFrame(()=>{if(this.raf=void 0,this.rafOwner=void 0,!this.host.isConnected||this.host.ownerDocument.defaultView!==view)return;const next=hasIconOnlyDefaultContent(this.host);next!==this.current()&&this.onChange(next)}))}),this.observer.observe(this.watched=label))}disarm(){this.observer?.disconnect(),this.observer=this.watched=void 0,this.cancelFrame()}cancelFrame(){this.raf!==void 0&&this.rafOwner?.cancelAnimationFrame(this.raf),this.raf=void 0,this.rafOwner=void 0}}export{IconOnlyLabelObserver,hasIconOnlyDefaultContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{finiteInteger}from"./numbers.js";function getOrInit(map,key,init){let value=map.get(key);return value===void 0&&(value=init(),map.set(key,value)),value}const DEFAULT_MAX_VIRTUAL_WAYPOINTS=1e4,MAX_LAYOUT_VALUE=Number.MAX_SAFE_INTEGER;function checkedLayoutValue(value,label){if(!Number.isFinite(value)||value<0||value>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} must be a finite, non-negative number no greater than Number.MAX_SAFE_INTEGER.`);return value}function checkedLayoutSum(label,...values){const result=values.reduce((sum,value)=>sum+value,0);if(!Number.isFinite(result)||result>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} exceeds the supported numeric range.`);return result}function nextRepresentableNumber(value){if(value===0)return Number.MIN_VALUE;const buffer=new ArrayBuffer(8),view=new DataView(buffer);return view.setFloat64(0,value),view.setBigUint64(0,view.getBigUint64(0)+1n),view.getFloat64(0)}function checkedGapAfter(edge,gap,label){let next=checkedLayoutSum(label,edge,gap);for(;next-edge<gap;)if(next=nextRepresentableNumber(next),!Number.isFinite(next)||next>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} exceeds the supported numeric range.`);return next}function checkedBoxFromStart(start,size,label){const half=size/2;let center=checkedLayoutSum(`${label} center`,start,half);for(;center-half<start;)if(center=nextRepresentableNumber(center),!Number.isFinite(center)||center>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} exceeds the supported numeric range.`);return Object.freeze({center,end:checkedLayoutSum(`${label} end`,center,half)})}function layeredLayout(input){const{edges}=input,gapX=checkedLayoutValue(input.options?.gapX??24,"options.gapX"),gapY=checkedLayoutValue(input.options?.gapY??100,"options.gapY"),nodes=input.nodes.map((node,index)=>({id:node.id,width:checkedLayoutValue(node.width,`nodes[${index}].width`),height:checkedLayoutValue(node.height,`nodes[${index}].height`)})),fixed=input.options?.fixedPositions?new Map([...input.options.fixedPositions].map(([id,position])=>[id,Object.freeze({x:checkedLayoutValue(position.x,`options.fixedPositions["${id}"].x`),y:checkedLayoutValue(position.y,`options.fixedPositions["${id}"].y`)})])):void 0,maxVirtualWaypoints=finiteInteger(input.options?.maxVirtualWaypoints??DEFAULT_MAX_VIRTUAL_WAYPOINTS,DEFAULT_MAX_VIRTUAL_WAYPOINTS,0),positions=new Map;if(!nodes.length)return Object.freeze({positions,truncated:!1,virtualWaypointCount:0});const nodeById=new Map(nodes.map(n=>[n.id,n])),order=nodes.map(n=>n.id);let fixedInlineRight;for(const node of nodes){const fixedPosition=fixed?.get(node.id);if(!fixedPosition)continue;const right=checkedLayoutSum(`fixed inline extent for "${node.id}"`,fixedPosition.x,node.width/2);checkedLayoutSum(`fixed block extent for "${node.id}"`,fixedPosition.y,node.height/2),fixedInlineRight=Math.max(fixedInlineRight??0,right)}const rawEdges=edges.filter(e=>nodeById.has(e.source)&&nodeById.has(e.target)&&e.source!==e.target),adjacency=new Map(order.map(id=>[id,[]]));for(const e of rawEdges)adjacency.get(e.source).push(e.target);const UNVISITED=0,ON_STACK=1,DONE=2,state=new Map(order.map(id=>[id,UNVISITED])),dagEdges=[],
|
|
1
|
+
import{finiteInteger}from"./numbers.js";function getOrInit(map,key,init){let value=map.get(key);return value===void 0&&(value=init(),map.set(key,value)),value}const DEFAULT_MAX_VIRTUAL_WAYPOINTS=1e4,MAX_LAYOUT_VALUE=Number.MAX_SAFE_INTEGER;function checkedLayoutValue(value,label){if(!Number.isFinite(value)||value<0||value>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} must be a finite, non-negative number no greater than Number.MAX_SAFE_INTEGER.`);return value}function checkedLayoutSum(label,...values){const result=values.reduce((sum,value)=>sum+value,0);if(!Number.isFinite(result)||result>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} exceeds the supported numeric range.`);return result}function nextRepresentableNumber(value){if(value===0)return Number.MIN_VALUE;const buffer=new ArrayBuffer(8),view=new DataView(buffer);return view.setFloat64(0,value),view.setBigUint64(0,view.getBigUint64(0)+1n),view.getFloat64(0)}function checkedGapAfter(edge,gap,label){let next=checkedLayoutSum(label,edge,gap);for(;next-edge<gap;)if(next=nextRepresentableNumber(next),!Number.isFinite(next)||next>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} exceeds the supported numeric range.`);return next}function checkedBoxFromStart(start,size,label){const half=size/2;let center=checkedLayoutSum(`${label} center`,start,half);for(;center-half<start;)if(center=nextRepresentableNumber(center),!Number.isFinite(center)||center>MAX_LAYOUT_VALUE)throw new RangeError(`layeredLayout(): ${label} exceeds the supported numeric range.`);return Object.freeze({center,end:checkedLayoutSum(`${label} end`,center,half)})}function layeredLayout(input){const{edges}=input,gapX=checkedLayoutValue(input.options?.gapX??24,"options.gapX"),gapY=checkedLayoutValue(input.options?.gapY??100,"options.gapY"),nodes=input.nodes.map((node,index)=>({id:node.id,width:checkedLayoutValue(node.width,`nodes[${index}].width`),height:checkedLayoutValue(node.height,`nodes[${index}].height`)})),fixed=input.options?.fixedPositions?new Map([...input.options.fixedPositions].map(([id,position])=>[id,Object.freeze({x:checkedLayoutValue(position.x,`options.fixedPositions["${id}"].x`),y:checkedLayoutValue(position.y,`options.fixedPositions["${id}"].y`)})])):void 0,maxVirtualWaypoints=finiteInteger(input.options?.maxVirtualWaypoints??DEFAULT_MAX_VIRTUAL_WAYPOINTS,DEFAULT_MAX_VIRTUAL_WAYPOINTS,0),positions=new Map;if(!nodes.length)return Object.freeze({positions,truncated:!1,virtualWaypointCount:0});const nodeById=new Map(nodes.map(n=>[n.id,n])),order=nodes.map(n=>n.id);let fixedInlineRight;for(const node of nodes){const fixedPosition=fixed?.get(node.id);if(!fixedPosition)continue;const right=checkedLayoutSum(`fixed inline extent for "${node.id}"`,fixedPosition.x,node.width/2);checkedLayoutSum(`fixed block extent for "${node.id}"`,fixedPosition.y,node.height/2),fixedInlineRight=Math.max(fixedInlineRight??0,right)}const rawEdges=edges.filter(e=>nodeById.has(e.source)&&nodeById.has(e.target)&&e.source!==e.target),adjacency=new Map(order.map(id=>[id,[]]));for(const e of rawEdges)adjacency.get(e.source).push(e.target);const UNVISITED=0,ON_STACK=1,DONE=2,state=new Map(order.map(id=>[id,UNVISITED])),dagEdges=[],dagTargets=new Map,addDagEdge=(source,target)=>{const targets=getOrInit(dagTargets,source,()=>new Set);targets.has(target)||(targets.add(target),dagEdges.push({source,target}))};for(const root of order){if(state.get(root)!==UNVISITED)continue;state.set(root,ON_STACK);const stack=[{id:root,nextTarget:0}];for(;stack.length>0;){const frame=stack[stack.length-1],target=(adjacency.get(frame.id)??[])[frame.nextTarget];if(target===void 0){state.set(frame.id,DONE),stack.pop();continue}frame.nextTarget+=1;const targetState=state.get(target);targetState===UNVISITED?(addDagEdge(frame.id,target),state.set(target,ON_STACK),stack.push({id:target,nextTarget:0})):targetState===ON_STACK?addDagEdge(target,frame.id):addDagEdge(frame.id,target)}}const dagAdjacency=new Map(order.map(id=>[id,[]])),indegree=new Map(order.map(id=>[id,0]));for(const e of dagEdges)dagAdjacency.get(e.source).push(e.target),indegree.set(e.target,(indegree.get(e.target)??0)+1);const layer=new Map(order.map(id=>[id,0])),remaining=new Map(indegree),queue=order.filter(id=>indegree.get(id)===0);for(let qi=0;qi<queue.length;qi++){const id=queue[qi];for(const target of dagAdjacency.get(id)??[]){layer.set(target,Math.max(layer.get(target)??0,(layer.get(id)??0)+1));const left=(remaining.get(target)??0)-1;remaining.set(target,left),left===0&&queue.push(target)}}let maxLayer=0;for(const id of order)maxLayer=Math.max(maxLayer,layer.get(id)??0);const layers=Array.from({length:maxLayer+1},()=>[]);for(const id of order){const node=nodeById.get(id);layers[layer.get(id)??0].push({id,virtual:!1,width:node.width,height:node.height})}let waypointCounter=0,truncated=!1;const waypointChains=new Map;for(const e of dagEdges){const sourceLayer=layer.get(e.source)??0,targetLayer=layer.get(e.target)??0,waypointCount=targetLayer-sourceLayer-1;if(waypointCount<=0)continue;if(waypointCounter+waypointCount>maxVirtualWaypoints){truncated=!0;continue}const chain=[];for(let l=sourceLayer+1;l<targetLayer;l++){const waypointId=Symbol(`waypoint-${waypointCounter++}`);layers[l].push({id:waypointId,virtual:!0,width:1,height:1}),chain.push(waypointId)}waypointChains.set(e,chain)}const orderingDown=new Map,orderingUp=new Map,addOrderingEdge=(a,b)=>{getOrInit(orderingDown,a,()=>[]).push(b),getOrInit(orderingUp,b,()=>[]).push(a)};for(const e of dagEdges){const span=(layer.get(e.target)??0)-(layer.get(e.source)??0);if(span===1)addOrderingEdge(e.source,e.target);else if(span>1){const hops=[e.source,...waypointChains.get(e)??[],e.target];for(let i=0;i<hops.length-1;i++)addOrderingEdge(hops[i],hops[i+1])}}const positionInLayer=new Map;layers.forEach(slots=>slots.forEach((s,i)=>positionInLayer.set(s.id,i)));function sweep(forward){const range=forward?Array.from({length:layers.length-1},(_,i)=>i+1):Array.from({length:layers.length-1},(_,i)=>layers.length-2-i),neighborsOf=forward?orderingUp:orderingDown;for(const l of range){const withBary=layers[l].map((slot,idx)=>{const neighborPositions=(neighborsOf.get(slot.id)??[]).map(id=>positionInLayer.get(id)).filter(p=>p!=null),bary=neighborPositions.length?neighborPositions.reduce((sum,p)=>sum+p,0)/neighborPositions.length:idx;return{slot,bary,idx}});withBary.sort((a,b)=>a.bary-b.bary||a.idx-b.idx),layers[l]=withBary.map(w=>w.slot),layers[l].forEach((s,i)=>positionInLayer.set(s.id,i))}}sweep(!0),sweep(!1),sweep(!0),sweep(!1);let previousLayerBottom;for(const slots of layers){let layerHeight=0,fixedLayerBottom=0;for(const slot of slots){const fixedPosition=slot.virtual?void 0:fixed?.get(slot.id);fixedPosition?fixedLayerBottom=Math.max(fixedLayerBottom,checkedLayoutSum(`fixed block extent for "${String(slot.id)}"`,fixedPosition.y,slot.height/2)):layerHeight=Math.max(layerHeight,slot.height)}const layerTop=previousLayerBottom===void 0?0:checkedGapAfter(previousLayerBottom,gapY,"layer block gap"),layerBox=checkedBoxFromStart(layerTop,layerHeight,"computed layer");let previousInlineRight=fixedInlineRight;for(const slot of slots){if(!slot.virtual){const fixedPos=fixed?.get(slot.id);if(fixedPos){positions.set(slot.id,Object.freeze({x:fixedPos.x,y:fixedPos.y}));continue}}const slotStart=previousInlineRight===void 0?0:checkedGapAfter(previousInlineRight,gapX,`inline gap before "${String(slot.id)}"`),slotBox=checkedBoxFromStart(slotStart,slot.width,`inline box for "${String(slot.id)}"`);slot.virtual||positions.set(slot.id,Object.freeze({x:slotBox.center,y:layerBox.center})),previousInlineRight=slotBox.end}previousLayerBottom=Math.max(layerBox.end,fixedLayerBottom)}return Object.freeze({positions,truncated,virtualWaypointCount:waypointCounter})}export{layeredLayout};
|