@aceshooting/lyra-ui 32.1.0 → 33.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +247 -1576
- package/README.md +15 -2
- package/custom-elements.slim.json +1 -0
- package/dist/accent-roles.css +1 -0
- package/dist/cli/migrate-wa.mjs +50 -48
- package/dist/cli/migration-contract.json.gz +0 -0
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +1 -1
- package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +10 -0
- package/dist/components/conversation/code-block/code-block-base.class.d.ts +3 -1
- package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-core.class.d.ts +1 -1
- package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
- package/dist/components/conversation/code-block/code-block.class.d.ts +3 -2
- package/dist/components/conversation/code-block/code-block.class.js +1 -1
- package/dist/components/conversation/code-block/code-grammar-registry.d.ts +35 -0
- package/dist/components/conversation/code-block/code-grammar-registry.js +1 -0
- package/dist/components/conversation/model-select/model-select.class.d.ts +8 -7
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +1 -1
- package/dist/components/conversation/usage-badge/usage-badge.class.d.ts +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +8 -7
- package/dist/components/data/table/table-support.d.ts +2 -3
- package/dist/components/data/table/table.class.d.ts +2 -1
- package/dist/components/data/timeline/timeline.class.d.ts +17 -6
- package/dist/components/data/timeline/timeline.class.js +2 -2
- package/dist/components/data/timeline/timeline.styles.js +1 -1
- package/dist/components/forms/catalog-picker-base.d.ts +14 -1
- package/dist/components/forms/checkbox/checkbox.class.js +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +4 -5
- package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +14 -5
- package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
- package/dist/components/forms/color-picker/color-picker.class.d.ts +18 -7
- package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
- package/dist/components/forms/combobox/combobox-option-html.js +1 -0
- package/dist/components/forms/combobox/combobox.class.d.ts +30 -9
- package/dist/components/forms/combobox/combobox.class.js +110 -21
- package/dist/components/forms/combobox/combobox.styles.js +1 -1
- package/dist/components/forms/country-picker/country-picker.class.d.ts +4 -5
- package/dist/components/forms/currency-picker/currency-picker.class.d.ts +4 -5
- package/dist/components/forms/date-picker/date-input.class.d.ts +14 -5
- package/dist/components/forms/date-picker/date-input.class.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +10 -0
- package/dist/components/forms/emoji-picker/emoji-picker.class.js +1 -1
- package/dist/components/forms/icon-button/icon-button.class.d.ts +2 -1
- package/dist/components/forms/input/input-shared.d.ts +14 -5
- package/dist/components/forms/input/time-input.class.d.ts +15 -6
- package/dist/components/forms/input/time-input.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +8 -7
- package/dist/components/forms/otp-input/otp-input.class.d.ts +4 -5
- package/dist/components/forms/otp-input/otp-input.styles.js +1 -1
- package/dist/components/forms/phone-input/phone-input.class.d.ts +14 -5
- package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +4 -5
- package/dist/components/forms/radio/radio-group.styles.js +1 -1
- package/dist/components/forms/radio/radio.class.js +2 -2
- package/dist/components/forms/select/select.class.d.ts +5 -6
- package/dist/components/forms/signature-pad/signature-pad.class.d.ts +4 -5
- package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +6 -5
- package/dist/components/forms/slider/slider.styles.js +1 -1
- package/dist/components/forms/textarea/textarea.class.d.ts +14 -5
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +4 -5
- package/dist/components/forms/token-input/token-input.class.d.ts +10 -10
- package/dist/components/forms/token-input/token-input.class.js +1 -1
- package/dist/components/forms/token-input/token-input.styles.js +1 -1
- package/dist/components/forms/unit-picker/unit-picker.class.d.ts +4 -5
- package/dist/components/layout/command-palette/command-palette.class.d.ts +1 -1
- package/dist/components/layout/menu/menu.class.d.ts +1 -1
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.d.ts +1 -1
- package/dist/components/layout/segmented/segmented.class.d.ts +2 -2
- package/dist/components/layout/stepper/step.class.d.ts +14 -1
- package/dist/components/layout/stepper/step.class.js +2 -2
- package/dist/components/lr-map-anchor.d.ts +1 -1
- package/dist/components/media/file-input/file-input.class.d.ts +2 -1
- package/dist/components/media/file-input/file-input.class.js +1 -1
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/lightbox/lightbox-item.class.d.ts +10 -0
- package/dist/components/media/lightbox/lightbox-item.class.js +1 -1
- package/dist/components/media/lightbox/lightbox-source.js +1 -1
- package/dist/components/media/lightbox/lightbox-types.d.ts +4 -1
- package/dist/components/media/lightbox/lightbox.class.d.ts +42 -19
- package/dist/components/media/lightbox/lightbox.class.js +4 -3
- package/dist/components/media/lightbox/lightbox.styles.js +1 -1
- package/dist/components/media/map/map-anchor-avoid.js +1 -1
- package/dist/components/media/map/map-anchor-options.d.ts +9 -0
- package/dist/components/media/map/map.class.d.ts +19 -5
- package/dist/components/media/map/map.class.js +3 -3
- package/dist/components/overlays/context-menu/context-menu.class.d.ts +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +19 -3
- package/dist/components/overlays/dialog/dialog.class.js +1 -1
- package/dist/components/overlays/dialog/dialog.styles.js +1 -1
- package/dist/components/overlays/drawer/drawer.class.d.ts +8 -2
- package/dist/components/overlays/drawer/drawer.class.js +1 -1
- package/dist/components/overlays/overlay/dropdown.class.d.ts +1 -1
- package/dist/components/overlays/overlay/overlay.styles.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +1 -1
- package/dist/components/overlays/overlay/popover.class.js +1 -1
- package/dist/components/overlays/overlay/tooltip.class.d.ts +5 -0
- package/dist/components/overlays/overlay/tooltip.class.js +2 -2
- package/dist/components/overlays/toast/toast-item.class.d.ts +2 -2
- package/dist/components/overlays/toast/toast-item.styles.js +1 -1
- package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +1 -1
- package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +1 -1
- package/dist/components/utility/copy-button/copy-button.class.d.ts +2 -1
- package/dist/components/utility/copy-button/copy-button.class.js +1 -1
- package/dist/components/utility/export-button/export-button.class.d.ts +1 -1
- package/dist/components/utility/icon/icon-library-bootstrap.d.ts +50 -0
- package/dist/components/utility/icon/icon-library-bootstrap.js +1 -0
- package/dist/components/utility/icon/icon-library-font-awesome.d.ts +68 -0
- package/dist/components/utility/icon/icon-library-font-awesome.js +1 -0
- package/dist/components/utility/known-date/known-date.class.d.ts +10 -0
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +1 -1
- package/dist/components/utility/number-ticker/number-ticker.class.d.ts +10 -2
- package/dist/components/utility/number-ticker/number-ticker.class.js +1 -1
- package/dist/components/utility/tour/tour.class.d.ts +1 -1
- package/dist/framework-types.d.ts +1 -1
- package/dist/internal/accessibility-visibility.js +1 -1
- package/dist/internal/autoloader-manifest.js +1 -1
- package/dist/internal/declarative-overlay-action.js +1 -0
- package/dist/internal/default-strings/forms.generated.js +1 -1
- package/dist/internal/document-token-css.generated.js +10 -0
- package/dist/internal/document-tokens.generated.js +2 -11
- package/dist/internal/document-tokens.js +2 -2
- package/dist/internal/dom-guards.js +1 -1
- package/dist/internal/external-label-association.js +1 -0
- package/dist/internal/focus-navigation.js +1 -1
- package/dist/internal/form-control/chrome.styles.js +1 -1
- package/dist/internal/form-control-labels.js +1 -1
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +1 -1
- package/dist/internal/lyra-element.d.ts +12 -3
- package/dist/internal/lyra-element.js +2 -2
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/theme-observation.js +1 -1
- package/dist/lyra.d.ts +1 -1
- package/dist/lyra.js +1 -1
- package/dist/ssr.d.ts +1 -1
- package/dist/styles/tokens-root.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/theme-core.css +1 -1
- package/dist/theme.css +1 -1
- package/llms/components/lr-button.md +4 -0
- package/llms/components/lr-card.md +2 -0
- package/llms/components/lr-checkbox-group.md +2 -2
- package/llms/components/lr-citation-badge.md +1 -1
- package/llms/components/lr-code-block-core.md +3 -1
- package/llms/components/lr-code-block.md +14 -0
- package/llms/components/lr-code-editor.md +2 -2
- package/llms/components/lr-color-picker.md +4 -4
- package/llms/components/lr-combobox.md +21 -5
- package/llms/components/lr-context-menu.md +1 -1
- package/llms/components/lr-copy-button.md +4 -3
- package/llms/components/lr-country-picker.md +2 -2
- package/llms/components/lr-currency-picker.md +2 -2
- package/llms/components/lr-date-input.md +1 -1
- package/llms/components/lr-date-picker.md +1 -1
- package/llms/components/lr-dialog.md +30 -2
- package/llms/components/lr-drawer.md +7 -1
- package/llms/components/lr-entity-chip.md +1 -1
- package/llms/components/lr-export-button.md +1 -1
- package/llms/components/lr-file-input.md +1 -1
- package/llms/components/lr-icon.md +96 -0
- package/llms/components/lr-input.md +2 -2
- package/llms/components/lr-lightbox.md +43 -17
- package/llms/components/lr-locale-picker.md +2 -2
- package/llms/components/lr-map.md +16 -1
- package/llms/components/lr-mention-popover.md +1 -1
- package/llms/components/lr-menu.md +1 -1
- package/llms/components/lr-model-select.md +4 -4
- package/llms/components/lr-native-time-input.md +2 -2
- package/llms/components/lr-number-input.md +2 -2
- package/llms/components/lr-number-ticker.md +7 -2
- package/llms/components/lr-otp-input.md +2 -2
- package/llms/components/lr-phone-input.md +2 -2
- package/llms/components/lr-popover.md +1 -1
- package/llms/components/lr-radio-group.md +2 -2
- package/llms/components/lr-segmented.md +1 -1
- package/llms/components/lr-select.md +3 -3
- package/llms/components/lr-selection-toolbar.md +1 -1
- package/llms/components/lr-signature-pad.md +2 -2
- package/llms/components/lr-slider.md +1 -1
- package/llms/components/lr-step.md +7 -1
- package/llms/components/lr-textarea.md +2 -2
- package/llms/components/lr-time-input.md +3 -3
- package/llms/components/lr-time-zone-picker.md +2 -2
- package/llms/components/lr-timeline.md +12 -5
- package/llms/components/lr-toast.md +1 -1
- package/llms/components/lr-token-input.md +10 -9
- package/llms/components/lr-tool-call-chip.md +1 -1
- package/llms/components/lr-tooltip.md +5 -0
- package/llms/components/lr-unit-picker.md +2 -2
- package/llms/components/lr-usage-badge.md +1 -1
- package/llms/components/lr-voice-picker.md +4 -3
- package/llms/index.md +128 -128
- package/llms/migration.md +87 -8
- package/llms/peers.md +2 -2
- package/llms/shared/events-and-types.md +1 -1
- package/llms/shared/forms-and-accessibility.md +4 -1
- package/llms/shared/frameworks-and-ssr.md +47 -1
- package/llms/shared/imports-and-registration.md +8 -1
- package/llms/shared/localization-and-rtl.md +5 -0
- package/llms/shared/native-styles-and-utilities.md +85 -8
- package/llms/shared/styles-and-tokens.md +58 -4
- package/llms/shared/testing-and-utilities.md +9 -0
- package/llms/shared.md +217 -16
- package/locales.json +1 -1
- package/package.json +15 -6
- package/registrations.json +1 -1
- package/skills/compose-lyra-interfaces/SKILL.md +1 -1
- package/skills/lyra-ui/SKILL.md +1 -1
- package/skills/lyra-ui/commands/migrate.md +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{resolveLyraString as resolveRuntimeLyraString}from"./localization-runtime.js";const DEFAULT_STRINGS={connectorManagerLabel:"Connectors",connectorManagerEmpty:"No connectors are available.",connectorManagerLimit:"Showing the first {count} connectors.",connectorManagerKindMcp:"MCP server",connectorManagerKindConnector:"Connector",connectorManagerStatusDisconnected:"Disconnected",connectorManagerStatusConnecting:"Connecting",connectorManagerStatusConnected:"Connected",connectorManagerConnect:"Connect",connectorManagerDisconnect:"Disconnect",connectorManagerConnectFor:"Connect {name}",connectorManagerDisconnectFor:"Disconnect {name}",connectorManagerRetryFor:"Retry connection for {name}",connectorManagerStatusChanged:"{name}: {status}",backgroundRunsLabel:"Background runs",backgroundRunsEmpty:"No background runs are available.",backgroundRunsLimit:"Showing the first {count} background runs.",backgroundRunsStatusCompleted:"Completed",backgroundRunsStatusFailed:"Failed",backgroundRunsOpenFor:"Open {label}",backgroundRunsCancelFor:"Cancel {label}",researchProgressLabel:"Research progress",researchProgressEmpty:"No research steps are available.",researchProgressLimit:"Showing the first {count} research steps.",researchProgressStatusPending:"Pending",researchProgressStatusRunning:"In progress",researchProgressStatusCompleted:"Completed",researchProgressStatusFailed:"Failed",researchProgressSources:{one:"{count} source",other:"{count} sources"},budgetMeterLabel:"Budget",budgetMeterUnavailable:"Budget unavailable",budgetMeterExceeded:"Budget exceeded",budgetMeterValue:"{used} of {limit} {unit}",budgetMeterPercent:"{percent} used",toolParamMinLength:"Use at least {count} characters.",toolParamMaxLength:"Use at most {count} characters.",toolParamMinimum:"Enter a value of at least {value}.",toolParamMaximum:"Enter a value of at most {value}.",toolParamFormat:"Enter a valid {format} value.",toolParamMinItems:"Select at least {count} options.",toolParamMaxItems:"Select at most {count} options.",toolParamInvalidConstraint:"This field has an invalid constraint.",toolParamInvalidSelection:"Select only available options, without duplicates.",permissionRulesLabel:"Permission rules",permissionRulesEmpty:"No permission rules are available.",permissionRulesLimit:"Showing the first {count} permission rules.",permissionRulesDecisionFor:"Decision for {label}",permissionRulesScope:"Scope: {scope}",permissionRulesAllow:"Allow",permissionRulesAsk:"Ask every time",permissionGrantLabel:"Permission request",permissionGrantScopeLabel:"Requested scope",permissionGrantAllowOnce:"Allow once",permissionGrantAllowSession:"Allow for this session",agentQuestionUnsupported:"This question uses an unsupported form schema.",changeReviewLabel:"Review changes",changeReviewEmpty:"No changes to review",changeReviewKeep:"Keep",changeReviewKeepHunk:"Keep {label}",changeReviewDiscard:"Discard",changeReviewPending:"Pending",changeReviewKept:"Kept",changeReviewDiscarded:"Discarded",changeReviewDiscardHunk:"Discard {label}",changeReviewHunk:"Change {index}",changeReviewHunkInFile:"Change {index} in {file}",changeReviewLimit:"Only the first {count} changes are shown.",agentQuestionLabel:"Agent question",agentQuestionAccept:"Submit response",agentQuestionDecline:"Decline",agentQuestionSubmitted:"Response submitted",agentQuestionFormLoadFailed:"This component could not be loaded.",streamInterrupted:"Stream interrupted",streamResume:"Resume",genViewEmpty:"No generated view to display.",genViewInvalid:"This generated view cannot be displayed.",genViewLoading:"Loading component…",genViewLoadFailed:"This component could not be loaded.",genViewInvalidState:"This field value cannot be used.",genViewActionDenied:"This action is not available.",genViewConfirmationRequired:"This action needs confirmation from the application.",noData:"No data",graphDataListLimit:"Showing {shown} of {total} graph items.",graphLegendLabel:"Graph legend",legendTypeShown:"{label} shown",legendTypeHidden:"{label} hidden",entityChipWithType:"{label}, {type}",jumpToLatest:"Jump to latest",terminalLabel:"Terminal output",terminalDownload:"Download log",terminalHighlightLine:"Line {line}",terminalOutputTruncated:"Some output was omitted because it exceeded the size limit.",schemaViewerIssueLimit:"Only the first {count} validation issues are shown.",schemaViewerIssueError:"Error:",schemaViewerIssueWarning:"Warning:",schemaViewerIssueInfo:"Note:",toolParamMissingProperty:"Required key “{key}” has no matching schema property.",toolParamBooleanUnset:"Not set",toolParamBooleanTrue:"True",toolParamBooleanFalse:"False",toolParamSchemaLimit:"Tool parameter schemas support at most {fields} fields and {options} choices per field.",testResultsLimit:"Only the first {count} test results are shown.",toolTimelineLimit:"At most {count} tool calls are shown.",toolTimelineLoadError:"Could not load the tool view.",toolSelectLimit:"Only the first {count} tools are shown.",sequenceStripEmpty:"No items",sequenceStripSourceError:"Unable to load sequence data.",sequenceStripSourceItemUnavailable:"Sequence item unavailable.",sequenceStripSourceItemLabel:"{label}, item {index} of {total}",sequenceStripSourceRangeDetails:"{label}, items {start} to {end}; {enabled} of {total} enabled; {markers} marked.",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.",sequenceStripCategoryCount:"{label}: {count}",sequenceStripCellKeyboardHelp:"Press Enter or Space to activate this item.",sequenceStripUnnamedCategory:"Unnamed category",sequenceStripBucketLabel:"{label}, items {start} to {end}",sequenceStripBucketSummary:"{items} in {ranges}",sequenceStripItemCount:{one:"{count} item",other:"{count} items"},sequenceStripRangeCount:{one:"{count} range",other:"{count} ranges"},noColumns:"No columns configured",dataGridColumnMenu:"Options for {label}",dataGridPinStart:"Pin {label} to start",dataGridPinEnd:"Pin {label} to end",dataGridUnpin:"Unpin {label}",dataGridRowsPerPage:"Rows per page",dataGridTreeLimitReached:"Additional nested rows were omitted because the data-grid tree limit was reached.",loadMore:"Load more",viewerSearchMatchCount:{one:"{count} match",other:"{count} matches"},viewerSearchNoMatches:"No matches",viewerSearchActiveMatch:"Match {current} of {total}",viewerHighlightLabel:"Highlight",tableRowTotal:"Total",tableFilterLabel:"Filter rows",tableFilterPlaceholder:"Filter rows",tableLoading:"Loading rows",tableLoadingMore:"Loading more rows",tableLoadFailed:"Could not load data",tableEditCell:"Edit {column}",tableEditCellInRow:"Edit {column}, row {row}",carousel:"carousel",carouselLabel:"Carousel",carouselSlide:"slide",carouselSlidePosition:"Slide {index} of {total}",carouselSlideAnnouncement:"{position}: {content}",carouselSlideAnnouncementSeparator:". ",carouselIndicators:"Carousel slides",carouselGoTo:"Go to slide {index}",carouselPauseRotation:"Pause rotation",carouselResumeRotation:"Resume rotation",carouselViewport:"Slides",imageComparerLabel:"Image comparison",zoomableFrameLabel:"Zoomable content",zoomControls:"Zoom controls",zoomOut:"Zoom out",zoomIn:"Zoom in",lightboxLabel:"Image viewer",lightboxImagePosition:"Image {index} of {total}",scrollerLabel:"Scrollable content",chatViewportLabel:"Conversation",newMessagesCount:{one:"{count} new message",other:"{count} new messages"},newMessages:"New messages",scrollPrevious:"Scroll backward",scrollNext:"Scroll forward",showAllColumns:"Show all columns",dataGridColumns:"Columns",showFewerColumns:"Show fewer columns",clear:"Clear",openCalendar:"Open calendar",open:"Open",close:"Close",toggleNavigation:"Toggle navigation",resizeNavigation:"Resize navigation",appRailPin:"Pin navigation",appRailItemToggle:"Toggle {label}",appRailGroupToggle:"Navigation group",resizeColumn:"Resize {label} column",resizeValuePixels:"{value} pixels",resizeValuePercent:"{value} percent",copy:"Copy",copyJson:"Copy JSON to clipboard",copied:"Copied!",expand:"Expand",collapse:"Collapse",toggleMessage:"Toggle message",messageActionsLabel:"Message actions",regenerateResponse:"Regenerate response",editMessage:"Edit message",showMore:"Show more",showMoreCount:"Show {count} more",showLess:"Show less",retry:"Retry",remove:"Remove",removeWithContext:"Remove {label}",playWithContext:"Play {name}",pauseWithContext:"Pause {name}",loading:"Loading…",loadingDocument:"Loading document…",calendarPreviousMonth:"Previous month",calendarNextMonth:"Next month",noMatches:"No matches",previous:"Previous",next:"Next",paginationLabel:"Pagination",paginationPage:"Page",paginationJumpToPage:"Jump to page {page}",paginationPageSize:"Items per page",paginationPageSizeOption:"{count} per page",paginationInvalidPage:"Enter a page from 1 to {max}.",paginationInvalidPageUnknownTotal:"Enter a whole page number of 1 or more.",branchPickerLabel:"Response versions",branchPrevious:"Previous version",branchNext:"Next version",branchPosition:"Version {index} of {total}",paginationSummary:"{start}–{end} of {total} {itemLabel}",paginationEmptySummary:"{total} {itemLabel}",paginationApplied:"Page {page} of {totalPages}",paginationAppliedUnknownTotal:"Page {page}",cancel:"Cancel",confirm:"Confirm",search:"Search",circularReference:"Circular reference",items:{one:"item",other:"items"},item:"item",trendOf:{one:"Trend of {count} value, last {value}",other:"Trend of {count} values, last {value}"},wordCloud:{one:"Word cloud of {count} word",other:"Word cloud of {count} words"},wordCloudWordLimit:{one:"{start}–{end} of {total} word",other:"{start}–{end} of {total} words"},wordCloudLegend:"Word cloud color key",wordCloudWordAnnouncement:"{text}, {weight}",wordCloudPreparedSummary:"Word summary: {retainedCount} of {validCount} valid words retained ({invalidCount} invalid); retained weight {retainedWeight} of {totalWeight}.",wordCloudPreparedUnavailable:"The prepared word summary is unavailable.",avPlayerWaveformUnavailable:"Waveform data is unavailable or does not match this media.",avPlayerTranscriptUnavailable:"Transcript data is unavailable.",histogramDistributionSummary:"{validCount} valid samples in the full distribution; {belowCount} below and {aboveCount} above the displayed bins; {invalidCount} invalid samples.",histogramDistributionRange:"Observed sample range: {min} to {max}.",graphSourceRecords:"Graph records",graphSourceNodes:"Nodes",graphSourceEdges:"Edges",graphSourceAllRecords:"All records",graphSourceIncidentEdges:"Incident edges for {label}",graphSourceDirection:"Direction",graphSourceBothDirections:"Both directions",graphSourceTotals:"Graph contains {nodes} and {edges}.",graphSourceCoverageComplete:"Complete graph: {nodes} and {edges}.",graphSourceCoverageNeighborhood:"Neighborhood: showing {nodes} and {edges}.",graphSourceCoverageAggregate:"Summary: showing {nodes} and {edges}.",graphSourceNodeCount:{one:"{count} node",other:"{count} nodes"},graphSourceEdgeCount:{one:"{count} edge",other:"{count} edges"},graphSourceShownNodes:{one:"{shown} of {count} node",other:"{shown} of {count} nodes"},graphSourceShownEdges:{one:"{shown} of {count} edge",other:"{shown} of {count} edges"},graphSourceRecordsError:"Graph records could not be loaded.",graphSourceSceneError:"The graph view could not be loaded.",graphSourceRecordMissing:"This graph record is unavailable.",heatmapSourceError:"Unable to load matrix data.",heatmapSourceSummary:"{rows} × {cols} source cells; rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd} shown as {tiles} aggregate tiles.",heatmapSourceRangeLabel:"Rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}: {valid} of {count} cells with data; minimum {min}, maximum {max}, {reducer} {value}.",heatmapSourceExactWindow:"Exact cells: rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}.",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.",heatmapSourceMean:"mean",heatmapSourceMin:"minimum",heatmapSourceMax:"maximum",testResultsInputTooLarge:"Test result details exceed the display limit.",embeddingExplorerSpatialBounds:"{minX} to {maxX} horizontally; {minY} to {maxY} vertically",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.",embeddingExplorerSpatialBin:"{count} points in density region: {bounds}",embeddingExplorerSpatialError:"The spatial source or viewport is invalid or unavailable.",embeddingExplorerSpatialLoading:"Loading spatial data…",comboboxLoadError:"Could not load options.",comboboxSelectedOverflow:"+{n} more",promptQueueItemLabel:"Queued prompt {index}",promptQueueActionLabel:"{action}, queued prompt {index}",notInCatalog:"not in catalog",sendMessage:"Send message",stopGenerating:"Stop generating",dropzoneReleaseToAdd:"Release to add the file.",dropzoneRejectedType:"This file type is not accepted.",chartCategory:"Category",chartTotal:"Total",chartAxisTotal:"{axis} total",chartPrimaryAxis:"Primary axis",chartSecondaryAxis:"Secondary axis",chartPointLabel:"Point {n}",chartPointCoordinates:"x {x}, y {y}",chartBubblePointCoordinates:"x {x}, y {y}, radius {radius}",chartBandRange:"{lower} to {upper}",chartLabeledPoint:"{label}: {coordinates}",chartLegend:"Chart legend",resetZoom:"Reset zoom",chatSending:"Sending…",chatResponding:"Responding…",chatFailedToSend:"Failed to send",chatFailedAnnounce:"Message failed to send.",chatCompleteAnnounce:"Message complete.",showMoreCollapsed:"+{count}",showMoreOverflowLabel:"{visible} Show {count} more",countAtLeast:"≥{count}",copyCode:"Copy code",copyCodeIndexed:"Copy code {index}",copiedToClipboard:"Copied to clipboard",codeRegion:"Code",codeRegionIndexed:"Code {index}",codeRegionWithLanguage:"{language} code",codeRegionWithLanguageIndexed:"{language} code {index}",markdownTableRegion:"Table",markdownTableRegionIndexed:"Table {index}",codeBlockLineLabel:"Line {line}",copyDiff:"Copy diff",diffViewOldLabel:"Original",diffViewNewLabel:"Modified",diffViewHiddenLines:{one:"{count} unchanged line",other:"{count} unchanged lines"},diffViewTooLarge:"Diff is too large to display.",jsonArray:"array",jsonObject:"object",jsonValue:"value",jsonCopyLabel:"Copy {label}",jsonToggleLabel:"Toggle {label}",jsonItemCount:{one:"{count} item",other:"{count} items"},jsonKeyCount:{one:"{count} key",other:"{count} keys"},jsonViewerLimit:"Only the first {count} JSON nodes and {depth} nesting levels are shown and searched.",jsonViewerLabel:"JSON",untitledSource:"Untitled source",sourcePageSuffix:"{base} — p. {page}",toolCall:"Tool call",statusPending:"Pending",statusRunning:"Running",statusSuccess:"Success",statusError:"Error",statusDenied:"Denied",statusIncomplete:"Incomplete",maximize:"Maximize",restore:"Restore",promptStudioVariableName:"Variable {index} name",promptStudioVariableValue:"Variable {index} value",schemaViewerLimit:"Only the first {count} schema nodes are shown.",subagentPanelLimit:"Only the first {count} subagent runs are shown.",pollPause:"Pause",pollResume:"Resume",pollRefresh:"Refresh now",pollInactive:"Inactive",pollRefreshing:"Refreshing…",pollPaused:"Paused",pollPausedAnnounce:"Paused.",pollResumedAnnounce:"Resumed.",pollRefreshingAnnounce:"Refreshing now.",randomContentPause:"Pause rotation",randomContentResume:"Resume rotation",randomContentNext:"Show another",attachmentAdd:"Add attachment",attachmentTriggerFiles:"Attach files",attachmentTriggerImage:"Attach an image",attachmentTriggerCamera:"Use camera",attachmentMenuFiles:"Upload files",attachmentMenuImage:"Upload a photo",attachmentMenuCamera:"Take a photo",checkboxRequired:"Please check this box if you want to continue.",checkboxGroupRequired:"Select at least one option.",tokenInputRequired:"Enter at least one value.",tokenInputTooFew:{one:"Enter at least {count} value.",other:"Enter at least {count} values."},tokenInputTooMany:{one:"Enter no more than {count} value.",other:"Enter no more than {count} values."},tokenInputEditWithContext:"Edit {label}",tokenInputLabel:"Tokens",commandPaletteLabel:"Command palette",commandPalettePlaceholder:"Search commands…",commandPaletteEmpty:"No matching commands.",commandPaletteResults:"Commands",iconButtonLabel:"Button",codeEditorLabel:"Code editor",calendarLabel:"Calendar",calendarEmpty:"No events this month.",calendarEventsOverflow:"+{n} more",switchRequired:"Please turn this on.",citationHighConfidence:"High confidence",citationMediumConfidence:"Medium confidence",citationLowConfidence:"Low confidence",citationVerified:"Verified",citationUnverified:"Unverified",contextMeterUsed:"{used} used",contextMeterUsedOfTotal:"{used} of {total} used",contextMeterSegmentLabel:"{label}: {count}",contextMeterInputLimit:"Showing {count} of {total} segments.",gaugeLabel:"Gauge",gaugeValueLabel:"{label}: {value}",untitledConversation:"Untitled conversation",panelToggle:"Toggle panel",dockPanelResize:"Resize panel",documentPreviewAlt:"Document preview",documentPreviewUrlNotAllowed:"Document URL is not allowed.",documentPreviewFailedToLoad:"Failed to load document.",documentPreviewResourceTooLarge:"This document is too large to preview.",documentPreviewGenericError:"Something went wrong.",ebookViewerLoadError:"Failed to load the ebook.",ebookViewerLocationChanged:"Moved to a new location",ebookViewerMissingLibrary:"EPUB preview is unavailable because epubjs is not installed.",ebookViewerRegionLabel:"Ebook content",ebookViewerPreviousChapter:"Previous chapter",ebookViewerNextChapter:"Next chapter",ebookViewerShowingChapter:"Showing {chapter}",fileTypeFile:"File",fileTypePdf:"PDF",fileTypeWord:"Word document",fileTypeSpreadsheet:"Spreadsheet",fileTypePresentation:"Presentation",fileTypeText:"Text file",fileTypeCode:"Code file",fileTypeArchive:"Archive",fileTypeImage:"Image",fileTypeAudio:"Audio",fileTypeVideo:"Video",fileTypeWithSize:"{label} ({size})",pptxViewerLabel:"Presentation viewer",pptxViewerFidelityNotice:"Some slide content may not display.",pptxViewerRenderError:"Failed to render this presentation.",pptxViewerMissingLibrary:"Presentation preview is unavailable because @aiden0z/pptx-renderer is not installed.",pptxViewerPreviousSlide:"Previous slide",pptxViewerNextSlide:"Next slide",pptxViewerSlideOf:"Slide {current} of {total}",documentViewerLabel:"Document viewer",attachmentPreviewName:"Preview {name}",attachmentPreviewFile:"Preview file",documentViewerMissingSanitizer:'This viewer needs the optional "dompurify" package installed to render safely.',docxViewerLabel:"Word document",docxViewerMissingConverter:'This viewer needs the optional "mammoth" package installed to convert this document.',svgViewerLabel:"SVG image",htmlViewerLabel:"HTML document",datasetViewerMissingParser:'This viewer needs the optional "papaparse" package installed to parse this file.',datasetViewerEmpty:"This dataset has no rows.",datasetViewerLabel:"Dataset",datasetViewerCaption:"{count} rows",datasetViewerCaptionNamed:"{name}: {count} rows",contactViewerLabel:"Contact viewer",contactViewerNoContacts:"No contacts found in this file.",contactViewerUnnamedContact:"Unnamed contact",contactViewerPhoneLabel:"Phone",contactViewerEmailLabel:"Email",contactViewerAddressLabel:"Address",contactViewerOrganization:"Organization: {value}",contactViewerTypedValue:"{value} ({types})",contactViewerAddressFormat:`{poBox}
|
|
1
|
+
import{resolveLyraString as resolveRuntimeLyraString}from"./localization-runtime.js";const DEFAULT_STRINGS={connectorManagerLabel:"Connectors",connectorManagerEmpty:"No connectors are available.",connectorManagerLimit:"Showing the first {count} connectors.",connectorManagerKindMcp:"MCP server",connectorManagerKindConnector:"Connector",connectorManagerStatusDisconnected:"Disconnected",connectorManagerStatusConnecting:"Connecting",connectorManagerStatusConnected:"Connected",connectorManagerConnect:"Connect",connectorManagerDisconnect:"Disconnect",connectorManagerConnectFor:"Connect {name}",connectorManagerDisconnectFor:"Disconnect {name}",connectorManagerRetryFor:"Retry connection for {name}",connectorManagerStatusChanged:"{name}: {status}",backgroundRunsLabel:"Background runs",backgroundRunsEmpty:"No background runs are available.",backgroundRunsLimit:"Showing the first {count} background runs.",backgroundRunsStatusCompleted:"Completed",backgroundRunsStatusFailed:"Failed",backgroundRunsOpenFor:"Open {label}",backgroundRunsCancelFor:"Cancel {label}",researchProgressLabel:"Research progress",researchProgressEmpty:"No research steps are available.",researchProgressLimit:"Showing the first {count} research steps.",researchProgressStatusPending:"Pending",researchProgressStatusRunning:"In progress",researchProgressStatusCompleted:"Completed",researchProgressStatusFailed:"Failed",researchProgressSources:{one:"{count} source",other:"{count} sources"},budgetMeterLabel:"Budget",budgetMeterUnavailable:"Budget unavailable",budgetMeterExceeded:"Budget exceeded",budgetMeterValue:"{used} of {limit} {unit}",budgetMeterPercent:"{percent} used",toolParamMinLength:"Use at least {count} characters.",toolParamMaxLength:"Use at most {count} characters.",toolParamMinimum:"Enter a value of at least {value}.",toolParamMaximum:"Enter a value of at most {value}.",toolParamFormat:"Enter a valid {format} value.",toolParamMinItems:"Select at least {count} options.",toolParamMaxItems:"Select at most {count} options.",toolParamInvalidConstraint:"This field has an invalid constraint.",toolParamInvalidSelection:"Select only available options, without duplicates.",permissionRulesLabel:"Permission rules",permissionRulesEmpty:"No permission rules are available.",permissionRulesLimit:"Showing the first {count} permission rules.",permissionRulesDecisionFor:"Decision for {label}",permissionRulesScope:"Scope: {scope}",permissionRulesAllow:"Allow",permissionRulesAsk:"Ask every time",permissionGrantLabel:"Permission request",permissionGrantScopeLabel:"Requested scope",permissionGrantAllowOnce:"Allow once",permissionGrantAllowSession:"Allow for this session",agentQuestionUnsupported:"This question uses an unsupported form schema.",changeReviewLabel:"Review changes",changeReviewEmpty:"No changes to review",changeReviewKeep:"Keep",changeReviewKeepHunk:"Keep {label}",changeReviewDiscard:"Discard",changeReviewPending:"Pending",changeReviewKept:"Kept",changeReviewDiscarded:"Discarded",changeReviewDiscardHunk:"Discard {label}",changeReviewHunk:"Change {index}",changeReviewHunkInFile:"Change {index} in {file}",changeReviewLimit:"Only the first {count} changes are shown.",agentQuestionLabel:"Agent question",agentQuestionAccept:"Submit response",agentQuestionDecline:"Decline",agentQuestionSubmitted:"Response submitted",agentQuestionFormLoadFailed:"This component could not be loaded.",streamInterrupted:"Stream interrupted",streamResume:"Resume",genViewEmpty:"No generated view to display.",genViewInvalid:"This generated view cannot be displayed.",genViewLoading:"Loading component…",genViewLoadFailed:"This component could not be loaded.",genViewInvalidState:"This field value cannot be used.",genViewActionDenied:"This action is not available.",genViewConfirmationRequired:"This action needs confirmation from the application.",noData:"No data",graphDataListLimit:"Showing {shown} of {total} graph items.",graphLegendLabel:"Graph legend",legendTypeShown:"{label} shown",legendTypeHidden:"{label} hidden",entityChipWithType:"{label}, {type}",jumpToLatest:"Jump to latest",terminalLabel:"Terminal output",terminalDownload:"Download log",terminalHighlightLine:"Line {line}",terminalOutputTruncated:"Some output was omitted because it exceeded the size limit.",schemaViewerIssueLimit:"Only the first {count} validation issues are shown.",schemaViewerIssueError:"Error:",schemaViewerIssueWarning:"Warning:",schemaViewerIssueInfo:"Note:",toolParamMissingProperty:"Required key “{key}” has no matching schema property.",toolParamBooleanUnset:"Not set",toolParamBooleanTrue:"True",toolParamBooleanFalse:"False",toolParamSchemaLimit:"Tool parameter schemas support at most {fields} fields and {options} choices per field.",testResultsLimit:"Only the first {count} test results are shown.",toolTimelineLimit:"At most {count} tool calls are shown.",toolTimelineLoadError:"Could not load the tool view.",toolSelectLimit:"Only the first {count} tools are shown.",sequenceStripEmpty:"No items",sequenceStripSourceError:"Unable to load sequence data.",sequenceStripSourceItemUnavailable:"Sequence item unavailable.",sequenceStripSourceItemLabel:"{label}, item {index} of {total}",sequenceStripSourceRangeDetails:"{label}, items {start} to {end}; {enabled} of {total} enabled; {markers} marked.",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.",sequenceStripCategoryCount:"{label}: {count}",sequenceStripCellKeyboardHelp:"Press Enter or Space to activate this item.",sequenceStripUnnamedCategory:"Unnamed category",sequenceStripBucketLabel:"{label}, items {start} to {end}",sequenceStripBucketSummary:"{items} in {ranges}",sequenceStripItemCount:{one:"{count} item",other:"{count} items"},sequenceStripRangeCount:{one:"{count} range",other:"{count} ranges"},noColumns:"No columns configured",dataGridColumnMenu:"Options for {label}",dataGridPinStart:"Pin {label} to start",dataGridPinEnd:"Pin {label} to end",dataGridUnpin:"Unpin {label}",dataGridRowsPerPage:"Rows per page",dataGridTreeLimitReached:"Additional nested rows were omitted because the data-grid tree limit was reached.",loadMore:"Load more",viewerSearchMatchCount:{one:"{count} match",other:"{count} matches"},viewerSearchNoMatches:"No matches",viewerSearchActiveMatch:"Match {current} of {total}",viewerHighlightLabel:"Highlight",tableRowTotal:"Total",tableFilterLabel:"Filter rows",tableFilterPlaceholder:"Filter rows",tableLoading:"Loading rows",tableLoadingMore:"Loading more rows",tableLoadFailed:"Could not load data",tableEditCell:"Edit {column}",tableEditCellInRow:"Edit {column}, row {row}",carousel:"carousel",carouselLabel:"Carousel",carouselSlide:"slide",carouselSlidePosition:"Slide {index} of {total}",carouselSlideAnnouncement:"{position}: {content}",carouselSlideAnnouncementSeparator:". ",carouselIndicators:"Carousel slides",carouselGoTo:"Go to slide {index}",carouselPauseRotation:"Pause rotation",carouselResumeRotation:"Resume rotation",carouselViewport:"Slides",imageComparerLabel:"Image comparison",zoomableFrameLabel:"Zoomable content",zoomControls:"Zoom controls",zoomOut:"Zoom out",zoomIn:"Zoom in",lightboxLabel:"Image viewer",lightboxImagePosition:"Image {index} of {total}",scrollerLabel:"Scrollable content",chatViewportLabel:"Conversation",newMessagesCount:{one:"{count} new message",other:"{count} new messages"},newMessages:"New messages",scrollPrevious:"Scroll backward",scrollNext:"Scroll forward",showAllColumns:"Show all columns",dataGridColumns:"Columns",showFewerColumns:"Show fewer columns",clear:"Clear",openCalendar:"Open calendar",open:"Open",close:"Close",toggleNavigation:"Toggle navigation",resizeNavigation:"Resize navigation",appRailPin:"Pin navigation",appRailItemToggle:"Toggle {label}",appRailGroupToggle:"Navigation group",resizeColumn:"Resize {label} column",resizeValuePixels:"{value} pixels",resizeValuePercent:"{value} percent",copy:"Copy",copyJson:"Copy JSON to clipboard",copied:"Copied!",expand:"Expand",collapse:"Collapse",toggleMessage:"Toggle message",messageActionsLabel:"Message actions",regenerateResponse:"Regenerate response",editMessage:"Edit message",showMore:"Show more",showMoreCount:"Show {count} more",showLess:"Show less",retry:"Retry",remove:"Remove",removeWithContext:"Remove {label}",playWithContext:"Play {name}",pauseWithContext:"Pause {name}",loading:"Loading…",loadingDocument:"Loading document…",calendarPreviousMonth:"Previous month",calendarNextMonth:"Next month",noMatches:"No matches",previous:"Previous",next:"Next",paginationLabel:"Pagination",paginationPage:"Page",paginationJumpToPage:"Jump to page {page}",paginationPageSize:"Items per page",paginationPageSizeOption:"{count} per page",paginationInvalidPage:"Enter a page from 1 to {max}.",paginationInvalidPageUnknownTotal:"Enter a whole page number of 1 or more.",branchPickerLabel:"Response versions",branchPrevious:"Previous version",branchNext:"Next version",branchPosition:"Version {index} of {total}",paginationSummary:"{start}–{end} of {total} {itemLabel}",paginationEmptySummary:"{total} {itemLabel}",paginationApplied:"Page {page} of {totalPages}",paginationAppliedUnknownTotal:"Page {page}",cancel:"Cancel",confirm:"Confirm",search:"Search",circularReference:"Circular reference",items:{one:"item",other:"items"},item:"item",trendOf:{one:"Trend of {count} value, last {value}",other:"Trend of {count} values, last {value}"},wordCloud:{one:"Word cloud of {count} word",other:"Word cloud of {count} words"},wordCloudWordLimit:{one:"{start}–{end} of {total} word",other:"{start}–{end} of {total} words"},wordCloudLegend:"Word cloud color key",wordCloudWordAnnouncement:"{text}, {weight}",wordCloudPreparedSummary:"Word summary: {retainedCount} of {validCount} valid words retained ({invalidCount} invalid); retained weight {retainedWeight} of {totalWeight}.",wordCloudPreparedUnavailable:"The prepared word summary is unavailable.",avPlayerWaveformUnavailable:"Waveform data is unavailable or does not match this media.",avPlayerTranscriptUnavailable:"Transcript data is unavailable.",histogramDistributionSummary:"{validCount} valid samples in the full distribution; {belowCount} below and {aboveCount} above the displayed bins; {invalidCount} invalid samples.",histogramDistributionRange:"Observed sample range: {min} to {max}.",graphSourceRecords:"Graph records",graphSourceNodes:"Nodes",graphSourceEdges:"Edges",graphSourceAllRecords:"All records",graphSourceIncidentEdges:"Incident edges for {label}",graphSourceDirection:"Direction",graphSourceBothDirections:"Both directions",graphSourceTotals:"Graph contains {nodes} and {edges}.",graphSourceCoverageComplete:"Complete graph: {nodes} and {edges}.",graphSourceCoverageNeighborhood:"Neighborhood: showing {nodes} and {edges}.",graphSourceCoverageAggregate:"Summary: showing {nodes} and {edges}.",graphSourceNodeCount:{one:"{count} node",other:"{count} nodes"},graphSourceEdgeCount:{one:"{count} edge",other:"{count} edges"},graphSourceShownNodes:{one:"{shown} of {count} node",other:"{shown} of {count} nodes"},graphSourceShownEdges:{one:"{shown} of {count} edge",other:"{shown} of {count} edges"},graphSourceRecordsError:"Graph records could not be loaded.",graphSourceSceneError:"The graph view could not be loaded.",graphSourceRecordMissing:"This graph record is unavailable.",heatmapSourceError:"Unable to load matrix data.",heatmapSourceSummary:"{rows} × {cols} source cells; rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd} shown as {tiles} aggregate tiles.",heatmapSourceRangeLabel:"Rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}: {valid} of {count} cells with data; minimum {min}, maximum {max}, {reducer} {value}.",heatmapSourceExactWindow:"Exact cells: rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}.",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.",heatmapSourceMean:"mean",heatmapSourceMin:"minimum",heatmapSourceMax:"maximum",testResultsInputTooLarge:"Test result details exceed the display limit.",embeddingExplorerSpatialBounds:"{minX} to {maxX} horizontally; {minY} to {maxY} vertically",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.",embeddingExplorerSpatialBin:"{count} points in density region: {bounds}",embeddingExplorerSpatialError:"The spatial source or viewport is invalid or unavailable.",embeddingExplorerSpatialLoading:"Loading spatial data…",comboboxLoadError:"Could not load options.",comboboxRichContentUnavailable:"Formatted option content is unavailable. Showing plain labels.",comboboxSelectedOverflow:"+{n} more",promptQueueItemLabel:"Queued prompt {index}",promptQueueActionLabel:"{action}, queued prompt {index}",notInCatalog:"not in catalog",sendMessage:"Send message",stopGenerating:"Stop generating",dropzoneReleaseToAdd:"Release to add the file.",dropzoneRejectedType:"This file type is not accepted.",chartCategory:"Category",chartTotal:"Total",chartAxisTotal:"{axis} total",chartPrimaryAxis:"Primary axis",chartSecondaryAxis:"Secondary axis",chartPointLabel:"Point {n}",chartPointCoordinates:"x {x}, y {y}",chartBubblePointCoordinates:"x {x}, y {y}, radius {radius}",chartBandRange:"{lower} to {upper}",chartLabeledPoint:"{label}: {coordinates}",chartLegend:"Chart legend",resetZoom:"Reset zoom",chatSending:"Sending…",chatResponding:"Responding…",chatFailedToSend:"Failed to send",chatFailedAnnounce:"Message failed to send.",chatCompleteAnnounce:"Message complete.",showMoreCollapsed:"+{count}",showMoreOverflowLabel:"{visible} Show {count} more",countAtLeast:"≥{count}",copyCode:"Copy code",copyCodeIndexed:"Copy code {index}",copiedToClipboard:"Copied to clipboard",codeRegion:"Code",codeRegionIndexed:"Code {index}",codeRegionWithLanguage:"{language} code",codeRegionWithLanguageIndexed:"{language} code {index}",markdownTableRegion:"Table",markdownTableRegionIndexed:"Table {index}",codeBlockLineLabel:"Line {line}",copyDiff:"Copy diff",diffViewOldLabel:"Original",diffViewNewLabel:"Modified",diffViewHiddenLines:{one:"{count} unchanged line",other:"{count} unchanged lines"},diffViewTooLarge:"Diff is too large to display.",jsonArray:"array",jsonObject:"object",jsonValue:"value",jsonCopyLabel:"Copy {label}",jsonToggleLabel:"Toggle {label}",jsonItemCount:{one:"{count} item",other:"{count} items"},jsonKeyCount:{one:"{count} key",other:"{count} keys"},jsonViewerLimit:"Only the first {count} JSON nodes and {depth} nesting levels are shown and searched.",jsonViewerLabel:"JSON",untitledSource:"Untitled source",sourcePageSuffix:"{base} — p. {page}",toolCall:"Tool call",statusPending:"Pending",statusRunning:"Running",statusSuccess:"Success",statusError:"Error",statusDenied:"Denied",statusIncomplete:"Incomplete",maximize:"Maximize",restore:"Restore",promptStudioVariableName:"Variable {index} name",promptStudioVariableValue:"Variable {index} value",schemaViewerLimit:"Only the first {count} schema nodes are shown.",subagentPanelLimit:"Only the first {count} subagent runs are shown.",pollPause:"Pause",pollResume:"Resume",pollRefresh:"Refresh now",pollInactive:"Inactive",pollRefreshing:"Refreshing…",pollPaused:"Paused",pollPausedAnnounce:"Paused.",pollResumedAnnounce:"Resumed.",pollRefreshingAnnounce:"Refreshing now.",randomContentPause:"Pause rotation",randomContentResume:"Resume rotation",randomContentNext:"Show another",attachmentAdd:"Add attachment",attachmentTriggerFiles:"Attach files",attachmentTriggerImage:"Attach an image",attachmentTriggerCamera:"Use camera",attachmentMenuFiles:"Upload files",attachmentMenuImage:"Upload a photo",attachmentMenuCamera:"Take a photo",checkboxRequired:"Please check this box if you want to continue.",checkboxGroupRequired:"Select at least one option.",tokenInputRequired:"Enter at least one value.",tokenInputTooFew:{one:"Enter at least {count} value.",other:"Enter at least {count} values."},tokenInputTooMany:{one:"Enter no more than {count} value.",other:"Enter no more than {count} values."},tokenInputEditWithContext:"Edit {label}",tokenInputLabel:"Tokens",commandPaletteLabel:"Command palette",commandPalettePlaceholder:"Search commands…",commandPaletteEmpty:"No matching commands.",commandPaletteResults:"Commands",iconButtonLabel:"Button",codeEditorLabel:"Code editor",calendarLabel:"Calendar",calendarEmpty:"No events this month.",calendarEventsOverflow:"+{n} more",switchRequired:"Please turn this on.",citationHighConfidence:"High confidence",citationMediumConfidence:"Medium confidence",citationLowConfidence:"Low confidence",citationVerified:"Verified",citationUnverified:"Unverified",contextMeterUsed:"{used} used",contextMeterUsedOfTotal:"{used} of {total} used",contextMeterSegmentLabel:"{label}: {count}",contextMeterInputLimit:"Showing {count} of {total} segments.",gaugeLabel:"Gauge",gaugeValueLabel:"{label}: {value}",untitledConversation:"Untitled conversation",panelToggle:"Toggle panel",dockPanelResize:"Resize panel",documentPreviewAlt:"Document preview",documentPreviewUrlNotAllowed:"Document URL is not allowed.",documentPreviewFailedToLoad:"Failed to load document.",documentPreviewResourceTooLarge:"This document is too large to preview.",documentPreviewGenericError:"Something went wrong.",ebookViewerLoadError:"Failed to load the ebook.",ebookViewerLocationChanged:"Moved to a new location",ebookViewerMissingLibrary:"EPUB preview is unavailable because epubjs is not installed.",ebookViewerRegionLabel:"Ebook content",ebookViewerPreviousChapter:"Previous chapter",ebookViewerNextChapter:"Next chapter",ebookViewerShowingChapter:"Showing {chapter}",fileTypeFile:"File",fileTypePdf:"PDF",fileTypeWord:"Word document",fileTypeSpreadsheet:"Spreadsheet",fileTypePresentation:"Presentation",fileTypeText:"Text file",fileTypeCode:"Code file",fileTypeArchive:"Archive",fileTypeImage:"Image",fileTypeAudio:"Audio",fileTypeVideo:"Video",fileTypeWithSize:"{label} ({size})",pptxViewerLabel:"Presentation viewer",pptxViewerFidelityNotice:"Some slide content may not display.",pptxViewerRenderError:"Failed to render this presentation.",pptxViewerMissingLibrary:"Presentation preview is unavailable because @aiden0z/pptx-renderer is not installed.",pptxViewerPreviousSlide:"Previous slide",pptxViewerNextSlide:"Next slide",pptxViewerSlideOf:"Slide {current} of {total}",documentViewerLabel:"Document viewer",attachmentPreviewName:"Preview {name}",attachmentPreviewFile:"Preview file",documentViewerMissingSanitizer:'This viewer needs the optional "dompurify" package installed to render safely.',docxViewerLabel:"Word document",docxViewerMissingConverter:'This viewer needs the optional "mammoth" package installed to convert this document.',svgViewerLabel:"SVG image",htmlViewerLabel:"HTML document",datasetViewerMissingParser:'This viewer needs the optional "papaparse" package installed to parse this file.',datasetViewerEmpty:"This dataset has no rows.",datasetViewerLabel:"Dataset",datasetViewerCaption:"{count} rows",datasetViewerCaptionNamed:"{name}: {count} rows",contactViewerLabel:"Contact viewer",contactViewerNoContacts:"No contacts found in this file.",contactViewerUnnamedContact:"Unnamed contact",contactViewerPhoneLabel:"Phone",contactViewerEmailLabel:"Email",contactViewerAddressLabel:"Address",contactViewerOrganization:"Organization: {value}",contactViewerTypedValue:"{value} ({types})",contactViewerAddressFormat:`{poBox}
|
|
2
2
|
{extendedAddress}
|
|
3
3
|
{streetAddress}
|
|
4
4
|
{locality} {region} {postalCode}
|
|
@@ -88,7 +88,7 @@ locale:string;private stringsValue;private stringsSource?;
|
|
|
88
88
|
* Assignment snapshots own data-string/plural entries; malformed/accessor entries are omitted
|
|
89
89
|
* and later caller mutation cannot alter rendered copy without a new assignment.
|
|
90
90
|
*/
|
|
91
|
-
get strings():LyraLocaleStrings;set strings(value:LyraLocaleStrings);private stopLocaleSubscription?;private localeSubscriptionNeeded;private lastLocalizedCatalogVersion?;private lastLocalizedLocale?;private pendingLoadController?;private pendingLoadInterrupted;private afterUpdateCallbacks?;private deferredAfterUpdate?;private pendingFocusOptions?;private queuedFocusOrigin?;private replayingFocus;private stopInheritedContextObservation?;private hydratingServerShadow?;private deferredFirstRenderSeeds?;constructor();private componentStylesAreInline;private installedComponentSheets?;
|
|
91
|
+
get strings():LyraLocaleStrings;set strings(value:LyraLocaleStrings);private stopLocaleSubscription?;private localeSubscriptionNeeded;private lastLocalizedCatalogVersion?;private lastLocalizedLocale?;private pendingLoadController?;private pendingLoadInterrupted;private afterUpdateCallbacks?;private deferredAfterUpdate?;private pendingFocusOptions?;private queuedFocusOrigin?;private replayingFocus;private stopInheritedContextObservation?;private hydratingServerShadow?;private staleServerNodes?;private deferredFirstRenderSeeds?;constructor();private componentStylesAreInline;private installedComponentSheets?;
|
|
92
92
|
/**
|
|
93
93
|
* Lit caches one constructed `CSSStyleSheet` per class, built in this realm's global document.
|
|
94
94
|
* A shadow root created in another document (an element adopted into an iframe, or a child an
|
|
@@ -97,7 +97,13 @@ get strings():LyraLocaleStrings;set strings(value:LyraLocaleStrings);private sto
|
|
|
97
97
|
* fallback Lit itself takes where constructed stylesheets are unsupported. Every other root
|
|
98
98
|
* keeps the shared sheets.
|
|
99
99
|
*/
|
|
100
|
-
protected createRenderRoot():HTMLElement|DocumentFragment;private restoreAdoptedComponentStyles;connectedCallback():void;
|
|
100
|
+
protected createRenderRoot():HTMLElement|DocumentFragment;private restoreAdoptedComponentStyles;connectedCallback():void;
|
|
101
|
+
/**
|
|
102
|
+
* Holds the first update while this copy's fallback token sheet waits for the layer text (no
|
|
103
|
+
* `theme.css` or `tokens-root.css` on the page), so a component never paints without its tokens.
|
|
104
|
+
* Beside a static provider nothing is pending and the update runs synchronously, as before.
|
|
105
|
+
*/
|
|
106
|
+
protected scheduleUpdate():void|Promise<unknown>;disconnectedCallback():void;
|
|
101
107
|
/**
|
|
102
108
|
* Shared adoption hook for components that retain owner-realm resources. Subclasses override
|
|
103
109
|
* this callback and call `super.adoptedCallback()` just as they do for connect/disconnect; the
|
|
@@ -200,8 +206,11 @@ protected scheduleAfterUpdate(callback:()=>void,key?:string):void;
|
|
|
200
206
|
protected localize(key:string,fallback?:string,values?:Record<string,string|number>):string;
|
|
201
207
|
/** The canonical public locale used for message-catalog lookup and propagation to child controls.*/
|
|
202
208
|
protected get effectiveMessageLocale():string;
|
|
209
|
+
/** The message locale to hand a composed child control while rendering: during a hydrating
|
|
210
|
+
* first render it is the locale the server rendered with, so the child's adopted text matches. */
|
|
211
|
+
protected get renderMessageLocale():string;
|
|
203
212
|
/** The canonical, structurally valid locale used for locale-sensitive platform APIs.*/
|
|
204
|
-
protected get effectiveLocale():string;
|
|
213
|
+
protected get effectiveLocale():string;private hydratingRenderLocale;
|
|
205
214
|
/** Formats `value` in the effective locale through the shared formatter cache; non-finite prints as 0.*/
|
|
206
215
|
protected formatLocaleNumber(value:number,options?:Intl.NumberFormatOptions):string;
|
|
207
216
|
/** Explicit alias for helpers whose locale role would otherwise be ambiguous.*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{LitElement}from"lit";import{property}from"lit/decorators.js";import{hostTokens}from"./host-tokens.styles.js";import{ensureLyraTokens,primeLyraTokens}from"./document-tokens.js";import{DOCUMENT_TOKEN_SCOPE_ATTRIBUTES}from"./document-tokens.generated.js";import{resolveIntlLocale}from"./intl-cache.js";import{formatLocaleNumber}from"./locale-number.js";import{claimDocumentRuntime}from"./runtime-diagnostics.js";import{DEV_DIAGNOSTICS,devWarnOnce,warnThemeScopeUsage,warnUnknownAttributes}from"./dev-mode-attribute-warning.js";import{createLyraEvent}from"./lyra-event.js";let deprecatedAliasSyncHook,deprecatedAliasAttributeHook;function registerDeprecatedAliasSupport(sync,attribute){deprecatedAliasSyncHook=sync,deprecatedAliasAttributeHook=attribute}const FORM_CONTROL_LABEL_FACTORY=Symbol("lr-form-control-label-factory");let formInternalsHook,externalLabelFactory;function registerFormControlLabelSupport(hook,factory){formInternalsHook=hook,factory&&(externalLabelFactory=factory)}import{observeInheritedContext,beginInheritedContextUpdate,finishInheritedContextUpdate,markInheritedContextUpdateRendered,queueInheritedDirectionChange,recordInheritedDirectionRead,recordInheritedLocaleRead}from"./inherited-context-observer.js";import{requestContextUpdate}from"./context-update.js";import{emptyLyraLocaleStrings,enableLyraLocaleCache,invalidateLyraLocaleCache,lyraLocaleCatalogVersion,peekLyraLocale,recordLyraOwnerDocumentConnection,resolveLyraDirection,resolveLyraLocaleWithHostOverride,resolveLyraServerLocale,resolveLyraStringWithLocale,resolveLyraLocale,snapshotLyraLocaleStrings,subscribeLyraLocaleForHost,trustedLyraDefaultStrings}from"./localization-runtime.js";import{trackInputModality}from"./focus-modality.js";const collectionSupportByPrototype=new WeakMap;function collectionSupportFor(host){const start=Object.getPrototypeOf(host);if(!start)return;const known=collectionSupportByPrototype.get(start);if(known!==void 0)return known??void 0;let found=null;for(let prototype=start;prototype&&prototype!==LitElement.prototype;){const constructor=Object.getOwnPropertyDescriptor(prototype,"constructor")?.value;if(typeof constructor=="function"){const support=constructor.collectionSupport;if(support){found=support;break}}prototype=Object.getPrototypeOf(prototype)}return collectionSupportByPrototype.set(start,found),found??void 0}const SEED_FIRST_RENDER_STATE=Symbol("lr-seed-first-render-state"),SLOT_PRESENCE_UNRESOLVED=Symbol("lr-slot-presence-unresolved"),rerenderAfterHydration=()=>{},REACTIVE_HOST_ATTRIBUTES=["aria-label","aria-describedby","lang","dir"],DIRECTION_HOST_ATTRIBUTES=["class","style","slot"],SCOPE_HOST_ATTRIBUTES=[...DOCUMENT_TOKEN_SCOPE_ATTRIBUTES,"class"],adoptedComponentSheets=new WeakMap;function isCrossDocumentStyleSheetRejection(error){return typeof error=="object"&&error!==null&&error.name==="NotAllowedError"}function hasOwnAutofocusAccessor(host){let prototype=Object.getPrototypeOf(host);for(;prototype&&prototype!==HTMLElement.prototype;){if(Object.getOwnPropertyDescriptor(prototype,"autofocus"))return!0;prototype=Object.getPrototypeOf(prototype)}return!1}class LyraElement extends LitElement{static{this.styles=[hostTokens]}static{this.ownedCollectionProperties=Object.freeze([])}static{this.identityCollectionProperties=Object.freeze([])}static{this.identityCollectionObjectProperties=Object.freeze([])}static{this.immutableEventDetails=Object.freeze([])}static{this.identityEventDetailProperties=Object.freeze({})}static{this.identityEventDetailCollectionItems=Object.freeze({})}static{this.defaultStrings=Object.freeze({})}static get observedAttributes(){const attributes=[...new Set([...super.observedAttributes,...REACTIVE_HOST_ATTRIBUTES,...DIRECTION_HOST_ATTRIBUTES,...SCOPE_HOST_ATTRIBUTES])];return this.collectionSupport?.installProperties(this),primeLyraTokens(),DEV_DIAGNOSTICS&&Object.hasOwn(this,"deprecatedAliases")&&this.deprecatedAliases&&!deprecatedAliasSyncHook&&devWarnOnce(`lyra-deprecated-alias-installer:${this.name}`,`${this.name} declares deprecatedAliases; call installDeprecatedAliases() in a static block.`),attributes}get strings(){return this.stringsValue}set strings(value){if(value===this.stringsSource||value===this.stringsValue)return;const previous=this.stringsValue;this.stringsSource=value,this.stringsValue=snapshotLyraLocaleStrings(value),this.requestUpdate("strings",previous)}constructor(){if(super(),this.locale="",this.stringsValue=emptyLyraLocaleStrings(),this.localeSubscriptionNeeded=!1,this.pendingLoadInterrupted=!1,this.replayingFocus=!1,this.componentStylesAreInline=!1,this.constructor.formAssociated){const controller=(this.constructor[FORM_CONTROL_LABEL_FACTORY]??externalLabelFactory)?.(this);controller&&this.addController(controller)}}attachInternals(){const internals=super.attachInternals();return formInternalsHook?.(this,internals),internals}createRenderRoot(){try{return super.createRenderRoot()}catch(error){if(!isCrossDocumentStyleSheetRejection(error))throw error;const constructor=this.constructor,renderRoot=this.shadowRoot??this.attachShadow(constructor.shadowRootOptions),owner=this.ownerDocument;for(const style of constructor.elementStyles){const element=owner.createElement("style");element.textContent=style instanceof CSSStyleSheet?Array.from(style.cssRules,rule=>rule.cssText).join(`
|
|
1
|
+
import{__decorate}from"tslib";import{LitElement}from"lit";import{property}from"lit/decorators.js";import{hostTokens}from"./host-tokens.styles.js";import{ensureLyraTokens,lyraTokenLayerPending,primeLyraTokens}from"./document-tokens.js";import{DOCUMENT_TOKEN_SCOPE_ATTRIBUTES}from"./document-tokens.generated.js";import{resolveIntlLocale}from"./intl-cache.js";import{formatLocaleNumber}from"./locale-number.js";import{claimDocumentRuntime}from"./runtime-diagnostics.js";import{DEV_DIAGNOSTICS,devWarnOnce,warnThemeScopeUsage,warnUnknownAttributes}from"./dev-mode-attribute-warning.js";import{createLyraEvent}from"./lyra-event.js";let deprecatedAliasSyncHook,deprecatedAliasAttributeHook;function registerDeprecatedAliasSupport(sync,attribute){deprecatedAliasSyncHook=sync,deprecatedAliasAttributeHook=attribute}const FORM_CONTROL_LABEL_FACTORY=Symbol("lr-form-control-label-factory");let formInternalsHook,externalLabelFactory;function registerFormControlLabelSupport(hook,factory){formInternalsHook=hook,factory&&(externalLabelFactory=factory)}import{observeInheritedContext,beginInheritedContextUpdate,finishInheritedContextUpdate,markInheritedContextUpdateRendered,queueInheritedDirectionChange,recordInheritedDirectionRead,recordInheritedLocaleRead}from"./inherited-context-observer.js";import{requestContextUpdate}from"./context-update.js";import{emptyLyraLocaleStrings,enableLyraLocaleCache,invalidateLyraLocaleCache,lyraLocaleCatalogVersion,peekLyraLocale,recordLyraOwnerDocumentConnection,resolveLyraDirection,resolveLyraLocaleWithHostOverride,resolveLyraServerLocale,resolveLyraStringWithLocale,resolveLyraLocale,snapshotLyraLocaleStrings,subscribeLyraLocaleForHost,trustedLyraDefaultStrings}from"./localization-runtime.js";import{trackInputModality}from"./focus-modality.js";const collectionSupportByPrototype=new WeakMap;function collectionSupportFor(host){const start=Object.getPrototypeOf(host);if(!start)return;const known=collectionSupportByPrototype.get(start);if(known!==void 0)return known??void 0;let found=null;for(let prototype=start;prototype&&prototype!==LitElement.prototype;){const constructor=Object.getOwnPropertyDescriptor(prototype,"constructor")?.value;if(typeof constructor=="function"){const support=constructor.collectionSupport;if(support){found=support;break}}prototype=Object.getPrototypeOf(prototype)}return collectionSupportByPrototype.set(start,found),found??void 0}const SEED_FIRST_RENDER_STATE=Symbol("lr-seed-first-render-state"),SLOT_PRESENCE_UNRESOLVED=Symbol("lr-slot-presence-unresolved"),rerenderAfterHydration=()=>{},REACTIVE_HOST_ATTRIBUTES=["aria-label","aria-describedby","lang","dir"],DIRECTION_HOST_ATTRIBUTES=["class","style","slot"],SCOPE_HOST_ATTRIBUTES=[...DOCUMENT_TOKEN_SCOPE_ATTRIBUTES,"class"],adoptedComponentSheets=new WeakMap;function isCrossDocumentStyleSheetRejection(error){return typeof error=="object"&&error!==null&&error.name==="NotAllowedError"}function hasOwnAutofocusAccessor(host){let prototype=Object.getPrototypeOf(host);for(;prototype&&prototype!==HTMLElement.prototype;){if(Object.getOwnPropertyDescriptor(prototype,"autofocus"))return!0;prototype=Object.getPrototypeOf(prototype)}return!1}class LyraElement extends LitElement{static{this.styles=[hostTokens]}static{this.ownedCollectionProperties=Object.freeze([])}static{this.identityCollectionProperties=Object.freeze([])}static{this.identityCollectionObjectProperties=Object.freeze([])}static{this.immutableEventDetails=Object.freeze([])}static{this.identityEventDetailProperties=Object.freeze({})}static{this.identityEventDetailCollectionItems=Object.freeze({})}static{this.defaultStrings=Object.freeze({})}static get observedAttributes(){const attributes=[...new Set([...super.observedAttributes,...REACTIVE_HOST_ATTRIBUTES,...DIRECTION_HOST_ATTRIBUTES,...SCOPE_HOST_ATTRIBUTES])];return this.collectionSupport?.installProperties(this),primeLyraTokens(),DEV_DIAGNOSTICS&&Object.hasOwn(this,"deprecatedAliases")&&this.deprecatedAliases&&!deprecatedAliasSyncHook&&devWarnOnce(`lyra-deprecated-alias-installer:${this.name}`,`${this.name} declares deprecatedAliases; call installDeprecatedAliases() in a static block.`),attributes}get strings(){return this.stringsValue}set strings(value){if(value===this.stringsSource||value===this.stringsValue)return;const previous=this.stringsValue;this.stringsSource=value,this.stringsValue=snapshotLyraLocaleStrings(value),this.requestUpdate("strings",previous)}constructor(){if(super(),this.locale="",this.stringsValue=emptyLyraLocaleStrings(),this.localeSubscriptionNeeded=!1,this.pendingLoadInterrupted=!1,this.replayingFocus=!1,this.componentStylesAreInline=!1,this.constructor.formAssociated){const controller=(this.constructor[FORM_CONTROL_LABEL_FACTORY]??externalLabelFactory)?.(this);controller&&this.addController(controller)}}attachInternals(){const internals=super.attachInternals();return formInternalsHook?.(this,internals),internals}createRenderRoot(){Object.hasOwn(LitElement,"observedAttributes")||(this.staleServerNodes=this.shadowRoot?.childNodes.length);try{return super.createRenderRoot()}catch(error){if(!isCrossDocumentStyleSheetRejection(error))throw error;const constructor=this.constructor,renderRoot=this.shadowRoot??this.attachShadow(constructor.shadowRootOptions),owner=this.ownerDocument;for(const style of constructor.elementStyles){const element=owner.createElement("style");element.textContent=style instanceof CSSStyleSheet?Array.from(style.cssRules,rule=>rule.cssText).join(`
|
|
2
2
|
`):style.cssText,renderRoot.appendChild(element)}return this.componentStylesAreInline=!0,this.renderOptions.renderBefore??=renderRoot.firstChild,renderRoot}}restoreAdoptedComponentStyles(){const root=this.renderRoot,owner=this.ownerDocument,Sheet=owner?.defaultView?.CSSStyleSheet;if(!root||this.componentStylesAreInline||!Sheet||!("adoptedStyleSheets"in root))return;const originals=this.constructor.elementStyles.map(style=>"cssRules"in style?style:style.styleSheet);if(originals.some(sheet=>!sheet))return;const componentSheets=originals,retained=root.adoptedStyleSheets.filter(sheet=>!componentSheets.includes(sheet)&&!this.installedComponentSheets?.includes(sheet));try{root.adoptedStyleSheets=[...componentSheets,...retained],this.installedComponentSheets=componentSheets}catch(error){if(!isCrossDocumentStyleSheetRejection(error))throw error;let cache=adoptedComponentSheets.get(owner);cache||adoptedComponentSheets.set(owner,cache=new WeakMap);const replacements=componentSheets.map(original=>{let sheet=cache.get(original);return sheet||(sheet=new Sheet({disabled:original.disabled,media:original.media.mediaText}),sheet.replaceSync(Array.from(original.cssRules,rule=>rule.cssText).join(`
|
|
3
|
-
`)),cache.set(original,sheet)),sheet});root.adoptedStyleSheets=[...replacements,...retained],this.installedComponentSheets=replacements}}connectedCallback(){claimDocumentRuntime(this.ownerDocument),this.hydratingServerShadow??=!this.hasUpdated&&this.shadowRoot!==null,ensureLyraTokens(this),super.connectedCallback(),DEV_DIAGNOSTICS&&(warnUnknownAttributes(this),warnThemeScopeUsage(this)),recordLyraOwnerDocumentConnection(this),trackInputModality(this.ownerDocument),enableLyraLocaleCache(this),invalidateLyraLocaleCache(this),this.stopInheritedContextObservation?.(),this.stopInheritedContextObservation=observeInheritedContext(this),this.localeSubscriptionNeeded&&this.ensureLocaleSubscription(),this.lastLocalizedCatalogVersion!==void 0&&lyraLocaleCatalogVersion(resolveLyraLocale(this))!==this.lastLocalizedCatalogVersion&&requestContextUpdate(this);const deferred=this.deferredAfterUpdate;if(deferred){this.deferredAfterUpdate=void 0;for(const[key,callback]of deferred)this.scheduleAfterUpdate(callback,key)}this.pendingLoadInterrupted&&(this.pendingLoadInterrupted=!1,this.resumeInterruptedLoad())}disconnectedCallback(){this.cancelDeferredFocus(),this.pendingLoadController&&(this.pendingLoadInterrupted=!0),this.pendingLoadController?.abort(),this.pendingLoadController=void 0,this.lastLocalizedLocale!==void 0&&(this.lastLocalizedCatalogVersion=lyraLocaleCatalogVersion(this.lastLocalizedLocale)),this.stopLocaleSubscription?.(),this.stopLocaleSubscription=void 0,this.stopInheritedContextObservation?.(),this.stopInheritedContextObservation=void 0,invalidateLyraLocaleCache(this),super.disconnectedCallback()}adoptedCallback(){this.restoreAdoptedComponentStyles(),this.stopLocaleSubscription?.(),this.stopLocaleSubscription=void 0,invalidateLyraLocaleCache(this),this.isConnected&&this.localeSubscriptionNeeded&&this.ensureLocaleSubscription()}firstUpdated(changedProperties){super.firstUpdated(changedProperties),!(typeof Node>"u")&&this.autofocus&&(hasOwnAutofocusAccessor(this)||this.focus!==HTMLElement.prototype.focus&&this.scheduleAfterUpdate(()=>this.focus(),"lr-global-autofocus"))}deferFocusUntilRendered(options){if(this.hasUpdated||!this.isConnected||this.hydratingServerShadow||this.replayingFocus)return!1;const queued=this.pendingFocusOptions!==void 0;if(this.pendingFocusOptions=options??{},this.queuedFocusOrigin=document.activeElement,!queued){this.interceptBlurWhileFocusPending();const replay=()=>{const pending=this.pendingFocusOptions,origin=this.queuedFocusOrigin;if(this.cancelDeferredFocus(),!pending)return;const active=document.activeElement;if(!(active!==origin&&active!==null&&active!==document.body)){this.replayingFocus=!0;try{this.focus(pending)}finally{this.replayingFocus=!1}}};this.updateComplete.then(replay,()=>this.cancelDeferredFocus()).catch(error=>{typeof globalThis.reportError=="function"&&globalThis.reportError(error)})}return!0}interceptBlurWhileFocusPending(){if(Object.prototype.hasOwnProperty.call(this,"blur"))return;Object.defineProperty(this,"blur",{configurable:!0,writable:!0,value:function(){this.cancelDeferredFocus(),Object.getPrototypeOf(this).blur.call(this)}})}cancelDeferredFocus(){this.pendingFocusOptions=void 0,this.queuedFocusOrigin=void 0;const own=Object.getOwnPropertyDescriptor(this,"blur");own?.value!==void 0&&own.value.name==="cancelThenBlur"&&delete this.blur}requestUpdate(...args){invalidateLyraLocaleCache(this),super.requestUpdate(...args),deprecatedAliasSyncHook?.(this,args[0],args[1])}performUpdate(){beginInheritedContextUpdate(this);try{super.performUpdate()}finally{finishInheritedContextUpdate(this)}}update(changedProperties){super.update(changedProperties),markInheritedContextUpdateRendered(this)}ensureLocaleSubscription(){this.localeSubscriptionNeeded=!0,!(!this.isConnected||this.stopLocaleSubscription)&&(this.stopLocaleSubscription=subscribeLyraLocaleForHost(this))}attributeChangedCallback(name,oldValue,value){const directionHostAttribute=oldValue!==value&&DIRECTION_HOST_ATTRIBUTES.includes(name);directionHostAttribute&&queueInheritedDirectionChange(this,name==="slot"),oldValue!==value&&this.isConnected&&SCOPE_HOST_ATTRIBUTES.includes(name)&&ensureLyraTokens(this);const finishAliasWarning=oldValue!==value?deprecatedAliasAttributeHook?.(this,name):void 0;super.attributeChangedCallback(name,oldValue,value),finishAliasWarning?.(),oldValue!==value&&REACTIVE_HOST_ATTRIBUTES.includes(name)?requestContextUpdate(this):directionHostAttribute&&invalidateLyraLocaleCache(this)}seedFirstRenderState(seed){this.hasUpdated||this[SEED_FIRST_RENDER_STATE](seed)}[SEED_FIRST_RENDER_STATE](seed){if(typeof Node>"u")return;if(!this.hydratingServerShadow){seed();return}const pending=this.deferredFirstRenderSeeds??=new Set;pending.add(seed),!(pending.size>1)&&this.updateComplete.then(()=>{setTimeout(()=>{this.hydratingServerShadow=!1;const seeds=this.deferredFirstRenderSeeds;this.deferredFirstRenderSeeds=void 0;for(const deferred of seeds??[])deferred();requestContextUpdate(this)},0)},()=>{this.hydratingServerShadow=!1,this.deferredFirstRenderSeeds=void 0})}updateBrowserDerivedState(update){this[SEED_FIRST_RENDER_STATE](update)}renderSlotPresence(present){return present||this[SLOT_PRESENCE_UNRESOLVED]()}[SLOT_PRESENCE_UNRESOLVED](){return typeof Node>"u"||this.hydratingServerShadow===!0}resumeInterruptedLoad(){}endAbortableLoad(signal){signal&&this.pendingLoadController?.signal===signal&&(this.pendingLoadController=void 0)}beginAbortableLoad(){this.pendingLoadController?.abort(),this.pendingLoadController=void 0,this.pendingLoadInterrupted=!1;const AbortControllerCtor=this.ownerDocument?.defaultView?.AbortController;if(AbortControllerCtor)return this.pendingLoadController=new AbortControllerCtor,this.pendingLoadController.signal}scheduleAfterUpdate(callback,key="load"){const pending=this.afterUpdateCallbacks??=new Map;pending.has(key)||(pending.set(key,callback),!(pending.size>1)&&queueMicrotask(()=>{const due=this.afterUpdateCallbacks;if(this.afterUpdateCallbacks=void 0,!due)return;if(this.isConnected){const errors=[];for(const due_callback of due.values())try{due_callback()}catch(error){errors.push(error)}if(errors.length===1)throw errors[0];if(errors.length>1)throw new AggregateError(errors,`${errors.length} after-update callbacks failed.`);return}const held=this.deferredAfterUpdate??=new Map;for(const[heldKey,heldCallback]of due)held.has(heldKey)||held.set(heldKey,heldCallback)}))}localize(key,fallback,values){let effectiveLocale;const
|
|
3
|
+
`)),cache.set(original,sheet)),sheet});root.adoptedStyleSheets=[...replacements,...retained],this.installedComponentSheets=replacements}}connectedCallback(){claimDocumentRuntime(this.ownerDocument),this.hydratingServerShadow??=!this.hasUpdated&&this.shadowRoot!==null,ensureLyraTokens(this),super.connectedCallback(),DEV_DIAGNOSTICS&&(warnUnknownAttributes(this),warnThemeScopeUsage(this)),recordLyraOwnerDocumentConnection(this),trackInputModality(this.ownerDocument),enableLyraLocaleCache(this),invalidateLyraLocaleCache(this),this.stopInheritedContextObservation?.(),this.stopInheritedContextObservation=observeInheritedContext(this),this.localeSubscriptionNeeded&&this.ensureLocaleSubscription(),this.lastLocalizedCatalogVersion!==void 0&&lyraLocaleCatalogVersion(resolveLyraLocale(this))!==this.lastLocalizedCatalogVersion&&requestContextUpdate(this);const deferred=this.deferredAfterUpdate;if(deferred){this.deferredAfterUpdate=void 0;for(const[key,callback]of deferred)this.scheduleAfterUpdate(callback,key)}this.pendingLoadInterrupted&&(this.pendingLoadInterrupted=!1,this.resumeInterruptedLoad())}scheduleUpdate(){const pending=this.hasUpdated?void 0:lyraTokenLayerPending();return pending?pending.then(()=>super.scheduleUpdate()):super.scheduleUpdate()}disconnectedCallback(){this.cancelDeferredFocus(),this.pendingLoadController&&(this.pendingLoadInterrupted=!0),this.pendingLoadController?.abort(),this.pendingLoadController=void 0,this.lastLocalizedLocale!==void 0&&(this.lastLocalizedCatalogVersion=lyraLocaleCatalogVersion(this.lastLocalizedLocale)),this.stopLocaleSubscription?.(),this.stopLocaleSubscription=void 0,this.stopInheritedContextObservation?.(),this.stopInheritedContextObservation=void 0,invalidateLyraLocaleCache(this),super.disconnectedCallback()}adoptedCallback(){this.restoreAdoptedComponentStyles(),this.stopLocaleSubscription?.(),this.stopLocaleSubscription=void 0,invalidateLyraLocaleCache(this),this.isConnected&&this.localeSubscriptionNeeded&&this.ensureLocaleSubscription()}firstUpdated(changedProperties){super.firstUpdated(changedProperties),!(typeof Node>"u")&&this.autofocus&&(hasOwnAutofocusAccessor(this)||this.focus!==HTMLElement.prototype.focus&&this.scheduleAfterUpdate(()=>this.focus(),"lr-global-autofocus"))}deferFocusUntilRendered(options){if(this.hasUpdated||!this.isConnected||this.hydratingServerShadow||this.replayingFocus)return!1;const queued=this.pendingFocusOptions!==void 0;if(this.pendingFocusOptions=options??{},this.queuedFocusOrigin=document.activeElement,!queued){this.interceptBlurWhileFocusPending();const replay=()=>{const pending=this.pendingFocusOptions,origin=this.queuedFocusOrigin;if(this.cancelDeferredFocus(),!pending)return;const active=document.activeElement;if(!(active!==origin&&active!==null&&active!==document.body)){this.replayingFocus=!0;try{this.focus(pending)}finally{this.replayingFocus=!1}}};this.updateComplete.then(replay,()=>this.cancelDeferredFocus()).catch(error=>{typeof globalThis.reportError=="function"&&globalThis.reportError(error)})}return!0}interceptBlurWhileFocusPending(){if(Object.prototype.hasOwnProperty.call(this,"blur"))return;Object.defineProperty(this,"blur",{configurable:!0,writable:!0,value:function(){this.cancelDeferredFocus(),Object.getPrototypeOf(this).blur.call(this)}})}cancelDeferredFocus(){this.pendingFocusOptions=void 0,this.queuedFocusOrigin=void 0;const own=Object.getOwnPropertyDescriptor(this,"blur");own?.value!==void 0&&own.value.name==="cancelThenBlur"&&delete this.blur}requestUpdate(...args){invalidateLyraLocaleCache(this),super.requestUpdate(...args),deprecatedAliasSyncHook?.(this,args[0],args[1])}performUpdate(){beginInheritedContextUpdate(this);try{super.performUpdate()}finally{finishInheritedContextUpdate(this)}}update(changedProperties){let stale=this.staleServerNodes;if(stale){this.staleServerNodes=0,DEV_DIAGNOSTICS&&devWarnOnce("lyra-hydration:unpatched",`<${this.localName}>: Lit loaded before @aceshooting/lyra-ui/hydration.js, so server markup was re-rendered, not hydrated.`);const root=this.renderRoot;for(;stale--;)root.firstChild?.remove();this.renderOptions.renderBefore=root.firstChild;for(const name of this.getAttributeNames())name.startsWith("hydrate-internals-")&&(this.removeAttribute(name.slice(18)),this.removeAttribute(name))}super.update(changedProperties),markInheritedContextUpdateRendered(this)}ensureLocaleSubscription(){this.localeSubscriptionNeeded=!0,!(!this.isConnected||this.stopLocaleSubscription)&&(this.stopLocaleSubscription=subscribeLyraLocaleForHost(this))}attributeChangedCallback(name,oldValue,value){const directionHostAttribute=oldValue!==value&&DIRECTION_HOST_ATTRIBUTES.includes(name);directionHostAttribute&&queueInheritedDirectionChange(this,name==="slot"),oldValue!==value&&this.isConnected&&SCOPE_HOST_ATTRIBUTES.includes(name)&&ensureLyraTokens(this);const finishAliasWarning=oldValue!==value?deprecatedAliasAttributeHook?.(this,name):void 0;super.attributeChangedCallback(name,oldValue,value),finishAliasWarning?.(),oldValue!==value&&REACTIVE_HOST_ATTRIBUTES.includes(name)?requestContextUpdate(this):directionHostAttribute&&invalidateLyraLocaleCache(this)}seedFirstRenderState(seed){this.hasUpdated||this[SEED_FIRST_RENDER_STATE](seed)}[SEED_FIRST_RENDER_STATE](seed){if(typeof Node>"u")return;if(!this.hydratingServerShadow){seed();return}const pending=this.deferredFirstRenderSeeds??=new Set;pending.add(seed),!(pending.size>1)&&this.updateComplete.then(()=>{setTimeout(()=>{this.hydratingServerShadow=!1;const seeds=this.deferredFirstRenderSeeds;this.deferredFirstRenderSeeds=void 0;for(const deferred of seeds??[])deferred();requestContextUpdate(this)},0)},()=>{this.hydratingServerShadow=!1,this.deferredFirstRenderSeeds=void 0})}updateBrowserDerivedState(update){this[SEED_FIRST_RENDER_STATE](update)}renderSlotPresence(present){return present||this[SLOT_PRESENCE_UNRESOLVED]()}[SLOT_PRESENCE_UNRESOLVED](){return typeof Node>"u"||this.hydratingServerShadow===!0}resumeInterruptedLoad(){}endAbortableLoad(signal){signal&&this.pendingLoadController?.signal===signal&&(this.pendingLoadController=void 0)}beginAbortableLoad(){this.pendingLoadController?.abort(),this.pendingLoadController=void 0,this.pendingLoadInterrupted=!1;const AbortControllerCtor=this.ownerDocument?.defaultView?.AbortController;if(AbortControllerCtor)return this.pendingLoadController=new AbortControllerCtor,this.pendingLoadController.signal}scheduleAfterUpdate(callback,key="load"){const pending=this.afterUpdateCallbacks??=new Map;pending.has(key)||(pending.set(key,callback),!(pending.size>1)&&queueMicrotask(()=>{const due=this.afterUpdateCallbacks;if(this.afterUpdateCallbacks=void 0,!due)return;if(this.isConnected){const errors=[];for(const due_callback of due.values())try{due_callback()}catch(error){errors.push(error)}if(errors.length===1)throw errors[0];if(errors.length>1)throw new AggregateError(errors,`${errors.length} after-update callbacks failed.`);return}const held=this.deferredAfterUpdate??=new Map;for(const[heldKey,heldCallback]of due)held.has(heldKey)||held.set(heldKey,heldCallback)}))}localize(key,fallback,values){let effectiveLocale;const resolveLocale=()=>effectiveLocale??=this.effectiveMessageLocale,message=resolveLyraStringWithLocale(()=>this.hydratingRenderLocale(resolveLocale()),key,this.strings,fallback,values,trustedLyraDefaultStrings(this.constructor.defaultStrings)),locale=effectiveLocale??peekLyraLocale(this);return(effectiveLocale===void 0||this.locale)&&recordInheritedLocaleRead(this,locale),locale!==void 0&&(this.lastLocalizedLocale=locale,this.isConnected||(this.lastLocalizedCatalogVersion=lyraLocaleCatalogVersion(locale)),this.ensureLocaleSubscription()),message}get effectiveMessageLocale(){const locale=resolveLyraLocaleWithHostOverride(this,this.locale);return this.locale||(recordInheritedLocaleRead(this,locale),this.ensureLocaleSubscription()),locale}get renderMessageLocale(){return this.hydratingRenderLocale(this.effectiveMessageLocale)}get effectiveLocale(){return resolveIntlLocale(this.hydratingRenderLocale(this.effectiveMessageLocale))}hydratingRenderLocale(locale){if(this.hydratingServerShadow!==!0||this.hasUpdated||this.locale)return locale;const server=resolveLyraServerLocale(this);return server!==locale&&this[SEED_FIRST_RENDER_STATE](rerenderAfterHydration),server}formatLocaleNumber(value,options){return formatLocaleNumber(this.effectiveLocale,value,options)}get effectiveIntlLocale(){return this.effectiveLocale}get effectiveDirection(){const direction=resolveLyraDirection(this);return recordInheritedDirectionRead(this,direction),direction}addEventListener(type,listener,options){super.addEventListener(type,listener,options)}removeEventListener(type,listener,options){super.removeEventListener(type,listener,options)}emit(name,...args){const[detail,options]=args,ownerDocument=this.ownerDocument;let CustomEventCtor=ownerDocument?.defaultView?.CustomEvent;if(!CustomEventCtor&&ownerDocument)try{const candidate=ownerDocument.createEvent("CustomEvent").constructor;typeof candidate=="function"&&(CustomEventCtor=candidate)}catch{}CustomEventCtor??=globalThis.CustomEvent;const support=collectionSupportFor(this),event=createLyraEvent(CustomEventCtor,name,detail===void 0?null:support?support.snapshotEvent(this,name,detail):detail,options);return this.dispatchEvent(event),event}}__decorate([property({reflect:!0})],LyraElement.prototype,"locale",void 0),__decorate([property({attribute:!1})],LyraElement.prototype,"strings",null);export{FORM_CONTROL_LABEL_FACTORY,LyraElement,SEED_FIRST_RENDER_STATE,SLOT_PRESENCE_UNRESOLVED,registerDeprecatedAliasSupport,registerFormControlLabelSupport};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const LYRA_PACKAGE_NAME="@aceshooting/lyra-ui",LYRA_PACKAGE_VERSION="
|
|
1
|
+
const LYRA_PACKAGE_NAME="@aceshooting/lyra-ui",LYRA_PACKAGE_VERSION="33.1.0";export{LYRA_PACKAGE_NAME,LYRA_PACKAGE_VERSION};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const THEME_ATTRIBUTES=["class","style","data-lr-theme","data-lr-mode","data-lr-look","data-lr-surface","data-lr-density","data-lr-accent","data-lr-theme-scope","data-lr-contrast","data-lr-motion","data-lr-design-token-mode","data-theme","data-color-scheme"];import{flattenedParentElement}from"./composed-tree.js";export{THEME_ATTRIBUTES,flattenedParentElement as flattenedThemeParent};
|
|
1
|
+
const THEME_ATTRIBUTES=["class","style","data-lr-theme","data-lr-mode","data-lr-look","data-lr-surface","data-lr-density","data-lr-accent","data-lr-accent-neutral","data-lr-accent-success","data-lr-accent-warning","data-lr-accent-danger","data-lr-theme-scope","data-lr-contrast","data-lr-motion","data-lr-design-token-mode","data-theme","data-color-scheme"];import{flattenedParentElement}from"./composed-tree.js";export{THEME_ATTRIBUTES,flattenedParentElement as flattenedThemeParent};
|