chrome-devtools-frontend 1.0.1684555 → 1.0.1689415
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/.agents/skills/gerrit-cli/SKILL.md +29 -8
- package/.agents/skills/gerrit-cli/references/commands.md +51 -18
- package/.agents/skills/gerrit-cli/references/workflows.md +6 -6
- package/.agents/skills/gerrit-cli/scripts/import_upstream.py +43 -70
- package/config/typescript/tsconfig.base.json +1 -0
- package/config/typescript/tsconfig.eslint.json +9 -0
- package/docs/contributing/issues.md +1 -1
- package/docs/styleguide/ux/writing.md +2 -2
- package/eslint.config.mjs +18 -10
- package/front_end/core/common/Base64.ts +1 -1
- package/front_end/core/common/Color.ts +28 -6
- package/front_end/core/common/ColorConverter.ts +12 -0
- package/front_end/core/common/Console.ts +2 -1
- package/front_end/core/common/Object.ts +2 -2
- package/front_end/core/common/ResourceType.ts +12 -13
- package/front_end/core/common/Revealer.ts +1 -1
- package/front_end/core/common/Settings.ts +2 -2
- package/front_end/core/common/TextDictionary.ts +2 -2
- package/front_end/core/common/Throttler.ts +1 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +2 -2
- package/front_end/core/host/UserMetrics.ts +51 -37
- package/front_end/core/host/host.ts +1 -1
- package/front_end/core/i18n/i18nImpl.ts +1 -1
- package/front_end/core/platform/HostRuntime.ts +3 -3
- package/front_end/core/platform/KeyboardUtilities.ts +1 -1
- package/front_end/core/protocol_client/InspectorBackend.ts +7 -6
- package/front_end/core/root/Runtime.ts +4 -2
- package/front_end/core/sdk/AnimationModel.ts +1 -1
- package/front_end/core/sdk/CPUThrottlingManager.ts +198 -0
- package/front_end/core/sdk/CSSMetadata.ts +11 -6
- package/front_end/core/sdk/CSSPropertyParser.ts +5 -3
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +90 -59
- package/front_end/core/sdk/ConsoleModel.ts +1 -1
- package/front_end/core/sdk/DOMModel.ts +3 -3
- package/front_end/core/sdk/DebuggerModel.ts +1 -1
- package/front_end/core/sdk/EmulationModel.ts +5 -0
- package/front_end/core/sdk/LayerTreeBase.ts +1 -1
- package/front_end/core/sdk/NetworkManager.ts +1 -1
- package/front_end/core/sdk/README.md +40 -0
- package/front_end/core/sdk/RehydratingConnection.ts +1 -1
- package/front_end/core/sdk/RemoteObject.ts +1 -1
- package/front_end/core/sdk/ResourceTreeModel.ts +2 -2
- package/front_end/core/sdk/SDKModel.ts +1 -1
- package/front_end/core/sdk/SDKSettings.ts +6 -0
- package/front_end/core/sdk/Script.ts +2 -1
- package/front_end/core/sdk/SecurityOrigin.ts +48 -0
- package/front_end/core/sdk/ServiceWorkerManager.ts +75 -17
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/core/text_utils/ContentData.ts +1 -1
- package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.ts +3 -1
- package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
- package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
- package/front_end/entrypoints/formatter_worker/Substitute.ts +1 -1
- package/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.ts +1 -1
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -1
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +1 -1
- package/front_end/entrypoints/inspector_main/nodeIcon.css +1 -1
- package/front_end/entrypoints/inspector_main/outermostTargetSelector.css +3 -3
- package/front_end/entrypoints/inspector_main/renderingOptions.css +3 -3
- package/front_end/entrypoints/js_app/js_app.ts +25 -9
- package/front_end/entrypoints/node_app/app/nodeConnectionsPanel.css +5 -5
- package/front_end/entrypoints/node_app/node_app.ts +1 -1
- package/front_end/generated/ARIAProperties.ts +39 -1
- package/front_end/generated/InspectorBackendCommands.ts +2 -1
- package/front_end/generated/SupportedCSSProperties.ts +60 -119
- package/front_end/generated/protocol-mapping.d.ts +9 -0
- package/front_end/generated/protocol-proxy-api.d.ts +7 -0
- package/front_end/generated/protocol.ts +12 -2
- package/front_end/models/ai_assistance/AiAgent2.ts +13 -7
- package/front_end/models/ai_assistance/AiConversation.ts +8 -17
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +2 -2
- package/front_end/models/ai_assistance/AiUtils.ts +16 -0
- package/front_end/models/ai_assistance/EvaluateAction.ts +1 -1
- package/front_end/models/ai_assistance/README.md +1 -1
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +2 -3
- package/front_end/models/ai_assistance/agents/AiAgent.ts +29 -6
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +4 -3
- package/front_end/models/ai_assistance/agents/FileAgent.ts +2 -2
- package/front_end/models/ai_assistance/agents/NetworkAgent.ts +2 -2
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1 -1
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +7 -5
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +9 -7
- package/front_end/models/ai_assistance/ai_assistance.ts +8 -0
- package/front_end/models/ai_assistance/contexts/AccessibilityContext.ts +16 -1
- package/front_end/models/ai_assistance/contexts/FileContext.ts +6 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +150 -325
- package/front_end/models/ai_assistance/injected.ts +5 -3
- package/front_end/models/ai_assistance/performance/AIContext.ts +1 -1
- package/front_end/models/ai_assistance/skills/README.md +1 -1
- package/front_end/models/ai_assistance/skills/accessibility.md +19 -10
- package/front_end/models/ai_assistance/skills/network.md +13 -7
- package/front_end/models/ai_assistance/skills/performance.md +22 -16
- package/front_end/models/ai_assistance/skills/sources.md +13 -7
- package/front_end/models/ai_assistance/skills/storage.md +19 -18
- package/front_end/models/ai_assistance/skills/styling.md +30 -37
- package/front_end/models/ai_assistance/tools/CookieUtils.ts +120 -0
- package/front_end/models/ai_assistance/tools/DOMStorageUtils.ts +53 -4
- package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +8 -32
- package/front_end/models/ai_assistance/tools/GetCookieValues.ts +146 -0
- package/front_end/models/ai_assistance/tools/GetDetailedCallTree.ts +11 -9
- package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +17 -5
- package/front_end/models/ai_assistance/tools/GetFunctionCode.ts +12 -11
- package/front_end/models/ai_assistance/tools/GetInsightDetails.ts +11 -11
- package/front_end/models/ai_assistance/tools/GetLighthouseAudits.ts +3 -2
- package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +3 -3
- package/front_end/models/ai_assistance/tools/GetResourceContent.ts +12 -12
- package/front_end/models/ai_assistance/tools/GetSourceContent.ts +3 -2
- package/front_end/models/ai_assistance/tools/GetStorageBreakdown.ts +132 -0
- package/front_end/models/ai_assistance/tools/GetStorageValues.ts +17 -4
- package/front_end/models/ai_assistance/tools/GetStyles.ts +3 -3
- package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +9 -8
- package/front_end/models/ai_assistance/tools/GetTraceMainThreadSummary.ts +13 -14
- package/front_end/models/ai_assistance/tools/GetTraceNetworkSummary.ts +12 -10
- package/front_end/models/ai_assistance/tools/ListCookies.ts +93 -0
- package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +15 -6
- package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +3 -3
- package/front_end/models/ai_assistance/tools/ListSources.ts +5 -3
- package/front_end/models/ai_assistance/tools/ListStorageKeys.ts +16 -4
- package/front_end/models/ai_assistance/tools/RecordPerformanceTrace.ts +3 -2
- package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +4 -3
- package/front_end/models/ai_assistance/tools/RunLighthouse.ts +9 -9
- package/front_end/models/ai_assistance/tools/SelectTraceEventByKey.ts +9 -8
- package/front_end/models/ai_assistance/tools/Tool.ts +21 -11
- package/front_end/models/ai_assistance/tools/ToolRegistry.ts +41 -8
- package/front_end/models/badges/AiExplorerBadge.ts +3 -3
- package/front_end/models/badges/CodeWhispererBadge.ts +2 -2
- package/front_end/models/badges/DOMDetectiveBadge.ts +3 -3
- package/front_end/models/badges/SpeedsterBadge.ts +3 -3
- package/front_end/models/badges/StarterBadge.ts +4 -4
- package/front_end/models/bindings/CompilerScriptMapping.ts +11 -2
- package/front_end/models/bindings/ContentProviderBasedProject.ts +3 -2
- package/front_end/models/breakpoints/BreakpointManager.ts +1 -1
- package/front_end/models/emulation/EmulatedDevices.ts +2 -2
- package/front_end/models/formatter/FormatterWorkerPool.ts +2 -2
- package/front_end/models/formatter/ScriptFormatter.ts +1 -2
- package/front_end/models/geometry/GeometryImpl.ts +2 -2
- package/front_end/models/heap_snapshot/HeapSnapshotModel.ts +1 -1
- package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +3 -2
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +5 -5
- package/front_end/models/issues_manager/GenericIssue.ts +18 -18
- package/front_end/models/issues_manager/StylesheetLoadingIssue.ts +1 -1
- package/front_end/models/javascript_metadata/{NativeFunctions.js → NativeFunctions.ts} +25 -9
- package/front_end/models/live-metrics/LiveMetrics.ts +9 -3
- package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +58 -6
- package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +2 -62
- package/front_end/models/network_time_calculator/RequestTimeRanges.ts +2 -2
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +5 -0
- package/front_end/models/persistence/IsolatedFileSystem.ts +1 -1
- package/front_end/models/persistence/NetworkPersistenceManager.ts +35 -6
- package/front_end/models/stack_trace/StackTraceImpl.ts +2 -2
- package/front_end/models/trace/LanternComputationData.ts +2 -3
- package/front_end/models/trace/extras/StackTraceForEvent.ts +3 -2
- package/front_end/models/trace/extras/ThirdParties.ts +9 -9
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.ts +7 -4
- package/front_end/models/trace/handlers/FramesHandler.ts +3 -3
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +2 -2
- package/front_end/models/trace/handlers/SamplesHandler.ts +4 -2
- package/front_end/models/trace/handlers/UserInteractionsHandler.ts +1 -1
- package/front_end/models/trace/handlers/WarningsHandler.ts +2 -2
- package/front_end/models/trace/helpers/Network.ts +3 -3
- package/front_end/models/trace/helpers/Trace.ts +1 -1
- package/front_end/models/trace/insights/CLSCulprits.ts +2 -1
- package/front_end/models/trace/insights/Cache.ts +3 -1
- package/front_end/models/trace/insights/CharacterSet.ts +3 -1
- package/front_end/models/trace/insights/DOMSize.ts +3 -1
- package/front_end/models/trace/insights/DocumentLatency.ts +3 -1
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +3 -1
- package/front_end/models/trace/insights/FontDisplay.ts +2 -1
- package/front_end/models/trace/insights/ForcedReflow.ts +2 -1
- package/front_end/models/trace/insights/INPBreakdown.ts +3 -1
- package/front_end/models/trace/insights/ImageDelivery.ts +3 -1
- package/front_end/models/trace/insights/LCPBreakdown.ts +3 -1
- package/front_end/models/trace/insights/LCPDiscovery.ts +3 -1
- package/front_end/models/trace/insights/LegacyJavaScript.ts +3 -1
- package/front_end/models/trace/insights/ModernHTTP.ts +2 -1
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +2 -1
- package/front_end/models/trace/insights/RenderBlocking.ts +5 -4
- package/front_end/models/trace/insights/SlowCSSSelector.ts +3 -1
- package/front_end/models/trace/insights/ThirdParties.ts +5 -3
- package/front_end/models/trace/insights/Viewport.ts +2 -1
- package/front_end/models/trace/lantern/simulation/Constants.ts +34 -2
- package/front_end/models/trace/lantern/simulation/DNSCache.ts +1 -1
- package/front_end/models/trace/types/TraceEvents.ts +8 -3
- package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +2 -1
- package/front_end/models/workspace/WorkspaceImpl.ts +18 -2
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +686 -2
- package/front_end/panels/accessibility/accessibilityNode.css +4 -4
- package/front_end/panels/accessibility/accessibilityProperties.css +1 -1
- package/front_end/panels/accessibility/accessibilitySidebarView.css +2 -2
- package/front_end/panels/accessibility/axBreadcrumbs.css +13 -13
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +14 -14
- package/front_end/panels/ai_assistance/ExternalHandler.ts +1 -1
- package/front_end/panels/ai_assistance/aiAssistancePanel.css +1 -1
- package/front_end/panels/ai_assistance/components/ChatInput.ts +3 -2
- package/front_end/panels/ai_assistance/components/ChatView.ts +1 -1
- package/front_end/panels/ai_assistance/components/DisabledWidget.ts +1 -1
- package/front_end/panels/ai_assistance/components/ExploreWidget.ts +1 -1
- package/front_end/panels/ai_assistance/components/chatInput.css +12 -12
- package/front_end/panels/ai_assistance/components/chatMessage.css +16 -16
- package/front_end/panels/ai_assistance/components/chatView.css +2 -2
- package/front_end/panels/ai_assistance/components/exploreWidget.css +1 -1
- package/front_end/panels/ai_assistance/components/exportForAgentsDialog.css +4 -0
- package/front_end/panels/ai_assistance/components/walkthroughView.css +6 -6
- package/front_end/panels/animation/animationTimeline.css +62 -62
- package/front_end/panels/application/ApplicationPanelSidebar.ts +6 -1
- package/front_end/panels/application/BackgroundServiceView.ts +290 -252
- package/front_end/panels/application/WebMCPView.ts +15 -7
- package/front_end/panels/application/appManifestView.css +5 -5
- package/front_end/panels/application/backgroundServiceView.css +18 -2
- package/front_end/panels/application/components/AdsView.ts +100 -4
- package/front_end/panels/application/components/adsView.css +8 -5
- package/front_end/panels/application/components/backForwardCacheView.css +5 -5
- package/front_end/panels/application/components/bounceTrackingMitigationsView.css +1 -1
- package/front_end/panels/application/components/endpointsGrid.css +1 -1
- package/front_end/panels/application/components/permissionsPolicySection.css +1 -1
- package/front_end/panels/application/components/protocolHandlersView.css +6 -6
- package/front_end/panels/application/components/reportsGrid.css +1 -1
- package/front_end/panels/application/components/serviceWorkerRouterView.css +4 -4
- package/front_end/panels/application/components/trustTokensView.css +7 -7
- package/front_end/panels/application/cookieItemsView.css +3 -3
- package/front_end/panels/application/deviceBoundSessionsView.css +3 -3
- package/front_end/panels/application/frameDetailsReportView.css +11 -11
- package/front_end/panels/application/indexedDBViews.css +7 -7
- package/front_end/panels/application/originTrialTokenRows.css +2 -2
- package/front_end/panels/application/originTrialTreeView.css +3 -3
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.css +2 -2
- package/front_end/panels/application/preloading/components/preloadingDetailsReportView.css +1 -1
- package/front_end/panels/application/preloading/components/preloadingDisabledInfobar.css +2 -2
- package/front_end/panels/application/preloading/components/preloadingGrid.css +2 -2
- package/front_end/panels/application/preloading/components/usedPreloadingView.css +7 -7
- package/front_end/panels/application/preloading/preloadingView.css +1 -1
- package/front_end/panels/application/preloading/preloadingViewDropDown.css +3 -3
- package/front_end/panels/application/serviceWorkerCacheViews.css +5 -5
- package/front_end/panels/application/serviceWorkerUpdateCycleView.css +12 -12
- package/front_end/panels/application/serviceWorkersView.css +15 -16
- package/front_end/panels/application/storageView.css +5 -5
- package/front_end/panels/application/webMCPView.css +9 -9
- package/front_end/panels/autofill/autofillView.css +4 -4
- package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +4 -4
- package/front_end/panels/browser_debugger/domBreakpointsSidebarPane.css +5 -3
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +4 -4
- package/front_end/panels/changes/changesSidebar.css +1 -1
- package/front_end/panels/changes/changesView.css +1 -1
- package/front_end/panels/changes/combinedDiffView.css +1 -1
- package/front_end/panels/common/CPUThrottlingOption.ts +5 -10
- package/front_end/panels/common/badgeNotification.css +2 -2
- package/front_end/panels/common/domLinkifier.css +1 -1
- package/front_end/panels/common/gdpSignUpDialog.css +3 -3
- package/front_end/panels/common/geminiRebrandPromoDialog.css +1 -1
- package/front_end/panels/console/ConsolePrompt.ts +6 -3
- package/front_end/panels/console/ConsoleView.ts +6 -3
- package/front_end/panels/console/ConsoleViewMessage.ts +3 -1
- package/front_end/panels/console/console-meta.ts +5 -24
- package/front_end/panels/console/consoleContextSelector.css +2 -2
- package/front_end/panels/console/consolePinPane.css +9 -9
- package/front_end/panels/console/consolePrompt.css +5 -5
- package/front_end/panels/console/consoleView.css +39 -39
- package/front_end/panels/coverage/coverageListView.css +2 -2
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +34 -34
- package/front_end/panels/css_overview/cssOverviewProcessingView.css +5 -5
- package/front_end/panels/css_overview/cssOverviewSidebarPanel.css +1 -1
- package/front_end/panels/css_overview/cssOverviewStartView.css +17 -17
- package/front_end/panels/elements/AdoptedStyleSheetTreeElement.ts +209 -62
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +4 -4
- package/front_end/panels/elements/DOMTreeContextMenu.ts +59 -54
- package/front_end/panels/elements/ElementsPanel.ts +1 -1
- package/front_end/panels/elements/ElementsTreeElement.ts +130 -94
- package/front_end/panels/elements/ElementsTreeOutline.ts +1751 -363
- package/front_end/panels/elements/ShortcutTreeElement.ts +6 -3
- package/front_end/panels/elements/StylePropertiesSection.ts +65 -8
- package/front_end/panels/elements/StylePropertyTreeElement.ts +6 -0
- package/front_end/panels/elements/StylesSidebarPane.ts +143 -8
- package/front_end/panels/elements/classesPaneWidget.css +6 -6
- package/front_end/panels/elements/components/stylePropertyEditor.css +7 -7
- package/front_end/panels/elements/computedStyleWidget.css +1 -1
- package/front_end/panels/elements/elementStatePaneWidget.css +8 -8
- package/front_end/panels/elements/elements-meta.ts +14 -0
- package/front_end/panels/elements/elementsPanel.css +4 -4
- package/front_end/panels/elements/elementsTreeOutline.css +222 -38
- package/front_end/panels/elements/layersWidget.css +4 -4
- package/front_end/panels/elements/layoutPane.css +18 -18
- package/front_end/panels/elements/metricsSidebarPane.css +11 -11
- package/front_end/panels/elements/platformFontsWidget.css +5 -5
- package/front_end/panels/elements/propertiesWidget.css +2 -2
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +20 -20
- package/front_end/panels/elements/stylesSidebarPane.css +37 -20
- package/front_end/panels/emulation/deviceModeView.css +49 -49
- package/front_end/panels/emulation/mediaQueryInspector.css +18 -18
- package/front_end/panels/event_listeners/eventListenersView.css +1 -1
- package/front_end/panels/explain/components/consoleInsight.css +29 -29
- package/front_end/panels/issues/components/elementsPanelLink.css +2 -2
- package/front_end/panels/issues/components/hideIssuesMenu.css +1 -1
- package/front_end/panels/issues/issuesPane.css +2 -2
- package/front_end/panels/issues/issuesTree.css +50 -50
- package/front_end/panels/layer_viewer/Layers3DView.ts +9 -10
- package/front_end/panels/layer_viewer/layerDetailsView.css +1 -1
- package/front_end/panels/layer_viewer/layerTreeOutline.css +2 -2
- package/front_end/panels/layer_viewer/layers3DView.css +1 -1
- package/front_end/panels/layer_viewer/paintProfiler.css +1 -1
- package/front_end/panels/lighthouse/LighthouseReportSelector.ts +2 -2
- package/front_end/panels/media/playerListView.css +9 -9
- package/front_end/panels/media/playerMessagesView.css +8 -8
- package/front_end/panels/media/playerPropertiesView.css +6 -6
- package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +1 -1
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +9 -9
- package/front_end/panels/network/NetworkDataGridNode.ts +1 -0
- package/front_end/panels/network/NetworkPanel.ts +9 -4
- package/front_end/panels/network/RequestConditionsDrawer.ts +12 -12
- package/front_end/panels/network/RequestPayloadView.ts +78 -26
- package/front_end/panels/network/binaryResourceView.css +1 -1
- package/front_end/panels/network/components/EditableSpan.css +3 -3
- package/front_end/panels/network/components/HeaderSectionRow.css +14 -14
- package/front_end/panels/network/components/RequestHeaderSection.css +7 -7
- package/front_end/panels/network/components/RequestHeadersView.css +18 -18
- package/front_end/panels/network/components/RequestTrustTokensView.css +1 -1
- package/front_end/panels/network/network-meta.ts +9 -9
- package/front_end/panels/network/networkConfigView.css +11 -11
- package/front_end/panels/network/networkLogView.css +35 -35
- package/front_end/panels/network/networkManageCustomHeadersView.css +1 -1
- package/front_end/panels/network/networkPanel.css +7 -7
- package/front_end/panels/network/networkTimingTable.css +13 -13
- package/front_end/panels/network/requestConditionsDrawer.css +4 -4
- package/front_end/panels/network/requestCookiesView.css +5 -5
- package/front_end/panels/network/requestDeviceBoundSessionsView.css +1 -1
- package/front_end/panels/network/requestHTMLView.css +1 -1
- package/front_end/panels/network/requestHeadersTree.css +19 -19
- package/front_end/panels/network/requestInitiatorView.css +1 -1
- package/front_end/panels/network/requestInitiatorViewTree.css +3 -3
- package/front_end/panels/network/requestPayloadTree.css +5 -5
- package/front_end/panels/network/requestPayloadView.css +1 -1
- package/front_end/panels/network/resourceChunkView.css +3 -3
- package/front_end/panels/network/signedExchangeInfoTree.css +6 -6
- package/front_end/panels/profiler/heapProfiler.css +15 -15
- package/front_end/panels/profiler/profileLauncherView.css +10 -10
- package/front_end/panels/recorder/RecordingView.ts +1 -1
- package/front_end/panels/recorder/StepEditor.ts +86 -7
- package/front_end/panels/recorder/TimelineSection.ts +2 -1
- package/front_end/panels/recorder/createRecordingView.css +17 -17
- package/front_end/panels/recorder/extensionView.css +5 -5
- package/front_end/panels/recorder/injected/RecordingClient.ts +1 -1
- package/front_end/panels/recorder/models/SchemaUtils.ts +2 -2
- package/front_end/panels/recorder/models/ScreenshotStorage.ts +1 -1
- package/front_end/panels/recorder/recorderPanel.css +7 -7
- package/front_end/panels/recorder/recordingListView.css +12 -12
- package/front_end/panels/recorder/recordingView.css +47 -47
- package/front_end/panels/recorder/stepEditor.css +2 -2
- package/front_end/panels/recorder/stepView.css +20 -20
- package/front_end/panels/recorder/timelineSection.css +9 -9
- package/front_end/panels/screencast/screencastView.css +12 -12
- package/front_end/panels/search/searchResultsPane.css +10 -10
- package/front_end/panels/search/searchView.css +9 -9
- package/front_end/panels/security/SecurityPanel.ts +84 -54
- package/front_end/panels/security/mainView.css +26 -26
- package/front_end/panels/security/originView.css +15 -15
- package/front_end/panels/sensors/locationsSettingsTab.css +6 -6
- package/front_end/panels/sensors/sensors.css +28 -28
- package/front_end/panels/settings/components/syncSection.css +5 -5
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +13 -13
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +16 -16
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +2 -2
- package/front_end/panels/settings/keybindsSettingsTab.css +2 -2
- package/front_end/panels/settings/settingsScreen.css +5 -5
- package/front_end/panels/sources/UISourceCodeFrame.ts +1 -1
- package/front_end/panels/sources/breakpointEditDialog.css +9 -9
- package/front_end/panels/sources/breakpointsView.css +25 -25
- package/front_end/panels/sources/callStackSidebarPane.css +10 -10
- package/front_end/panels/sources/components/HeadersView.css +6 -6
- package/front_end/panels/sources/debuggerPausedMessage.css +4 -4
- package/front_end/panels/sources/dialog.css +2 -2
- package/front_end/panels/sources/navigatorTree.css +2 -2
- package/front_end/panels/sources/navigatorView.css +2 -2
- package/front_end/panels/sources/scopeChainSidebarPane.css +1 -1
- package/front_end/panels/sources/sourcesNavigator.css +1 -1
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/sources/sourcesView.css +1 -1
- package/front_end/panels/sources/threadsSidebarPane.css +5 -5
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +8 -8
- package/front_end/panels/timeline/TimelineDetailsView.ts +9 -21
- package/front_end/panels/timeline/TimelineFlameChartView.ts +3 -5
- package/front_end/panels/timeline/TimelineMiniMap.ts +3 -3
- package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
- package/front_end/panels/timeline/components/breadcrumbsUI.css +3 -3
- package/front_end/panels/timeline/components/exportTraceOptions.css +1 -1
- package/front_end/panels/timeline/components/fieldSettingsDialog.css +13 -13
- package/front_end/panels/timeline/components/ignoreListSetting.css +3 -3
- package/front_end/panels/timeline/components/liveMetricsView.css +39 -39
- package/front_end/panels/timeline/components/metricCard.css +20 -20
- package/front_end/panels/timeline/components/networkRequestDetails.css +9 -9
- package/front_end/panels/timeline/components/networkRequestTooltip.css +14 -14
- package/front_end/panels/timeline/components/networkTrackWidget.css +2 -2
- package/front_end/panels/timeline/components/originMap.css +4 -4
- package/front_end/panels/timeline/components/relatedInsightChips.css +1 -1
- package/front_end/panels/timeline/components/sidebarAnnotationsTab.css +4 -4
- package/front_end/panels/timeline/components/sidebarInsightsTab.css +5 -5
- package/front_end/panels/timeline/components/sidebarSingleInsightSet.css +1 -1
- package/front_end/panels/timeline/components/timelineSummary.css +4 -4
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +4 -4
- package/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts +1 -1
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +6 -6
- package/front_end/panels/timeline/overlays/components/TimeRangeOverlay.ts +1 -1
- package/front_end/panels/timeline/thirdPartyTreeView.css +5 -5
- package/front_end/panels/timeline/timeline-meta.ts +0 -6
- package/front_end/panels/timeline/timelineDetailsView.css +11 -11
- package/front_end/panels/timeline/timelinePanel.css +20 -20
- package/front_end/panels/timeline/timelineTreeView.css +8 -8
- package/front_end/panels/webauthn/webauthnPane.css +6 -6
- package/front_end/panels/whats_new/ReleaseNoteText.ts +2 -2
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/i18n/i18n-impl.ts +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +15 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +42 -8
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js +15 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts +14 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js +23 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.js +77 -6
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +15 -1
- package/front_end/third_party/puppeteer/package/package.json +2 -2
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +16 -2
- package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +36 -1
- package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/injected/Poller.ts +86 -6
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/web-vitals/README.chromium +2 -2
- package/front_end/third_party/web-vitals/package/README.md +22 -7
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +6 -2
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.d.ts +2 -2
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.js +30 -3
- package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.d.ts +14 -0
- package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.js +19 -13
- package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/doubleRAF.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +3 -3
- package/front_end/third_party/web-vitals/package/dist/modules/lib/softNavs.js +3 -1
- package/front_end/third_party/web-vitals/package/dist/modules/types/lcp.d.ts +15 -1
- package/front_end/third_party/web-vitals/package/package.json +1 -2
- package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +9 -2
- package/front_end/third_party/web-vitals/package/src/attribution/onLCP.ts +36 -5
- package/front_end/third_party/web-vitals/package/src/lib/InteractionManager.ts +21 -15
- package/front_end/third_party/web-vitals/package/src/lib/doubleRAF.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/softNavs.ts +4 -1
- package/front_end/third_party/web-vitals/package/src/types/lcp.ts +16 -1
- package/front_end/third_party/web-vitals/rebuild.sh +3 -3
- package/front_end/ui/comments/CommentAnchorResolver.ts +15 -4
- package/front_end/ui/comments/commentsOverlay.css +6 -5
- package/front_end/ui/components/adorners/Adorner.ts +1 -1
- package/front_end/ui/components/adorners/adorner.css +6 -6
- package/front_end/ui/components/buttons/FloatingButton.ts +1 -1
- package/front_end/ui/components/buttons/button.css +9 -9
- package/front_end/ui/components/buttons/floatingButton.css +2 -2
- package/front_end/ui/components/buttons/textButton.css +12 -12
- package/front_end/ui/components/dialogs/Dialog.ts +1 -1
- package/front_end/ui/components/dialogs/dialog.css +1 -1
- package/front_end/ui/components/diff_view/diffView.css +3 -3
- package/front_end/ui/components/expandable_list/expandableList.css +9 -9
- package/front_end/ui/components/highlighting/HighlightElement.ts +1 -1
- package/front_end/ui/components/highlighting/HighlightManager.ts +4 -0
- package/front_end/ui/components/icon_button/iconButton.css +2 -2
- package/front_end/ui/components/input/checkbox.css +8 -8
- package/front_end/ui/components/input/textInput.css +3 -3
- package/front_end/ui/components/issue_counter/issueLinkIcon.css +2 -2
- package/front_end/ui/components/linkifier/linkifierImpl.css +1 -1
- package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +1 -1
- package/front_end/ui/components/markdown_view/codeBlock.css +2 -2
- package/front_end/ui/components/markdown_view/markdownView.css +7 -7
- package/front_end/ui/components/menus/menuGroup.css +2 -2
- package/front_end/ui/components/menus/menuItem.css +2 -2
- package/front_end/ui/components/menus/selectMenu.css +2 -2
- package/front_end/ui/components/menus/selectMenuButton.css +4 -4
- package/front_end/ui/components/panel_feedback/panelFeedback.css +15 -15
- package/front_end/ui/components/panel_feedback/previewToggle.css +2 -2
- package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +7 -7
- package/front_end/ui/components/report_view/report.css +3 -3
- package/front_end/ui/components/report_view/reportSectionDivider.css +1 -1
- package/front_end/ui/components/report_view/reportValue.css +1 -1
- package/front_end/ui/components/request_link_icon/requestLinkIcon.css +2 -2
- package/front_end/ui/components/settings/settingCheckbox.css +6 -6
- package/front_end/ui/components/text_editor/TextEditor.ts +3 -1
- package/front_end/ui/components/text_editor/config.ts +16 -4
- package/front_end/ui/kit/icons/icon.css +4 -4
- package/front_end/ui/kit/link/link.css +1 -1
- package/front_end/ui/legacy/ActionRegistration.ts +23 -23
- package/front_end/ui/legacy/Dialog.ts +1 -1
- package/front_end/ui/legacy/DockController.ts +3 -3
- package/front_end/ui/legacy/EmptyWidget.ts +13 -34
- package/front_end/ui/legacy/FilterBar.ts +4 -4
- package/front_end/ui/legacy/Infobar.ts +2 -2
- package/front_end/ui/legacy/InspectorDrawerView.ts +6 -6
- package/front_end/ui/legacy/InspectorView.ts +19 -26
- package/front_end/ui/legacy/ListWidget.ts +7 -7
- package/front_end/ui/legacy/PlusButton.ts +1 -3
- package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +6 -6
- package/front_end/ui/legacy/SearchableView.ts +16 -16
- package/front_end/ui/legacy/SoftContextMenu.ts +8 -8
- package/front_end/ui/legacy/SoftDropDown.ts +1 -1
- package/front_end/ui/legacy/SuggestBox.ts +2 -2
- package/front_end/ui/legacy/TabbedPane.ts +10 -10
- package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -2
- package/front_end/ui/legacy/Toolbar.ts +5 -5
- package/front_end/ui/legacy/Treeoutline.ts +1 -1
- package/front_end/ui/legacy/UIUtils.ts +80 -20
- package/front_end/ui/legacy/ViewManager.ts +1 -1
- package/front_end/ui/legacy/ViewRegistration.ts +7 -7
- package/front_end/ui/legacy/Widget.ts +5 -5
- package/front_end/ui/legacy/checkboxTextLabel.css +3 -3
- package/front_end/ui/legacy/components/color_picker/ColorFormatSpec.ts +16 -0
- package/front_end/ui/legacy/components/color_picker/FormatPickerContextMenu.ts +1 -0
- package/front_end/ui/legacy/components/color_picker/spectrum.css +90 -90
- package/front_end/ui/legacy/components/cookie_table/cookiesTable.css +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +26 -28
- package/front_end/ui/legacy/components/data_grid/ShowMoreDataGridNode.ts +3 -7
- package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +13 -13
- package/front_end/ui/legacy/components/inline_editor/colorSwatch.css +7 -7
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +5 -5
- package/front_end/ui/legacy/components/inline_editor/cssShadowEditor.css +18 -18
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +104 -86
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +8 -6
- package/front_end/ui/legacy/components/object_ui/objectPopover.css +4 -4
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +6 -6
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +28 -11
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +0 -4
- package/front_end/ui/legacy/components/perf_ui/chartViewport.css +4 -4
- package/front_end/ui/legacy/components/perf_ui/filmStripView.css +6 -6
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +7 -7
- package/front_end/ui/legacy/components/perf_ui/overviewGrid.css +11 -11
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +6 -6
- package/front_end/ui/legacy/components/perf_ui/timelineGrid.css +5 -5
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +3 -3
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
- package/front_end/ui/legacy/components/source_frame/jsonView.css +1 -1
- package/front_end/ui/legacy/components/source_frame/resourceSourceFrame.css +1 -1
- package/front_end/ui/legacy/components/source_frame/xmlTree.css +3 -3
- package/front_end/ui/legacy/components/utils/imagePreview.css +1 -1
- package/front_end/ui/legacy/components/utils/jsUtils.css +10 -10
- package/front_end/ui/legacy/dropTarget.css +2 -2
- package/front_end/ui/legacy/emptyWidget.css +6 -0
- package/front_end/ui/legacy/filter.css +19 -19
- package/front_end/ui/legacy/infobar.css +2 -2
- package/front_end/ui/legacy/inspectorCommon.css +67 -67
- package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +1 -1
- package/front_end/ui/legacy/listWidget.css +5 -5
- package/front_end/ui/legacy/progressIndicator.css +4 -4
- package/front_end/ui/legacy/reportView.css +7 -7
- package/front_end/ui/legacy/searchableView.css +5 -5
- package/front_end/ui/legacy/smallBubble.css +3 -3
- package/front_end/ui/legacy/softContextMenu.css +4 -4
- package/front_end/ui/legacy/softDropDownButton.css +1 -1
- package/front_end/ui/legacy/splitWidget.css +9 -31
- package/front_end/ui/legacy/suggestBox.css +4 -4
- package/front_end/ui/legacy/tabbedPane.css +17 -17
- package/front_end/ui/legacy/textPrompt.css +2 -2
- package/front_end/ui/legacy/toolbar.css +4 -4
- package/front_end/ui/legacy/treeoutline.css +14 -14
- package/front_end/ui/legacy/viewContainers.css +6 -6
- package/front_end/ui/settings/ConsoleSettings.ts +34 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +12 -0
- package/inspector_overlay/common.ts +12 -12
- package/inspector_overlay/css_grid_label_helpers.ts +16 -17
- package/inspector_overlay/drag_resize_handler.ts +2 -2
- package/inspector_overlay/highlight_common.ts +11 -13
- package/inspector_overlay/highlight_container_query.ts +2 -2
- package/inspector_overlay/highlight_flex_common.ts +6 -7
- package/inspector_overlay/highlight_grid_common.ts +3 -3
- package/inspector_overlay/highlight_isolated_element.ts +12 -3
- package/inspector_overlay/highlight_scroll_snap.ts +2 -2
- package/inspector_overlay/loadCSS.rollup.js +0 -1
- package/inspector_overlay/testing/InspectorOverlayHelpers.ts +13 -13
- package/inspector_overlay/tool_green_dev_anchors.ts +3 -3
- package/inspector_overlay/tool_highlight.ts +9 -9
- package/inspector_overlay/tool_paused.ts +4 -4
- package/inspector_overlay/tool_persistent.ts +11 -11
- package/inspector_overlay/tool_screenshot.ts +7 -7
- package/inspector_overlay/tool_source_order.ts +4 -4
- package/inspector_overlay/tool_viewport_size.ts +3 -3
- package/inspector_overlay/tool_window_controls.ts +4 -4
- package/mcp/mcp.ts +1 -0
- package/package.json +2 -2
- package/front_end/generated/protocol-tsconfig.json +0 -10
- package/front_end/panels/js_timeline/DIR_METADATA +0 -3
- package/front_end/panels/js_timeline/js_timeline-meta.ts +0 -193
- package/front_end/panels/js_timeline/js_timeline.ts +0 -1
- /package/front_end/entrypoints/{formatter_worker/FormatterActions.ts → formatter_actions/formatter_actions.ts} +0 -0
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
input {
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
15
|
-
min-height:
|
|
16
|
-
min-width:
|
|
17
|
-
margin:
|
|
13
|
+
height: var(--sys-size-6);
|
|
14
|
+
width: var(--sys-size-6);
|
|
15
|
+
min-height: var(--sys-size-6);
|
|
16
|
+
min-width: var(--sys-size-6);
|
|
17
|
+
margin: var(--sys-size-4);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
label {
|
|
@@ -25,7 +25,7 @@ label {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
p {
|
|
28
|
-
margin:
|
|
28
|
+
margin: var(--sys-size-4) 0;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.info-icon {
|
|
@@ -161,7 +161,9 @@ export class TextEditor extends HTMLElement {
|
|
|
161
161
|
this.#activeEditor.dispatch({effects: change});
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
|
-
const setting =
|
|
164
|
+
const setting = typeof dynamicSetting.setting === 'string' ?
|
|
165
|
+
Common.Settings.Settings.instance().moduleSetting(dynamicSetting.setting) :
|
|
166
|
+
Common.Settings.Settings.instance().resolve(dynamicSetting.setting);
|
|
165
167
|
setting.addChangeListener(handler);
|
|
166
168
|
this.#activeSettingListeners.push([setting, handler]);
|
|
167
169
|
}
|
|
@@ -47,15 +47,23 @@ export const dynamicSetting = CM.Facet.define<DynamicSetting<unknown>>();
|
|
|
47
47
|
|
|
48
48
|
export class DynamicSetting<T> {
|
|
49
49
|
compartment = new CM.Compartment();
|
|
50
|
+
readonly setting: string|Common.Settings.SettingDescriptor<T>;
|
|
50
51
|
|
|
51
52
|
constructor(
|
|
52
|
-
|
|
53
|
+
setting: string|Common.Settings.SettingDescriptor<T>,
|
|
53
54
|
private readonly getExtension: (value: T) => CM.Extension,
|
|
54
55
|
) {
|
|
56
|
+
this.setting = setting;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
get settingName(): string {
|
|
60
|
+
return typeof this.setting === 'string' ? this.setting : this.setting.name;
|
|
55
61
|
}
|
|
56
62
|
|
|
57
63
|
settingValue(): T {
|
|
58
|
-
return Common.Settings.Settings.instance().moduleSetting(this.
|
|
64
|
+
return (typeof this.setting === 'string' ? Common.Settings.Settings.instance().moduleSetting(this.setting) :
|
|
65
|
+
Common.Settings.Settings.instance().resolve<unknown>(this.setting))
|
|
66
|
+
.get() as T;
|
|
59
67
|
}
|
|
60
68
|
|
|
61
69
|
instance(): CM.Extension {
|
|
@@ -71,8 +79,12 @@ export class DynamicSetting<T> {
|
|
|
71
79
|
return cur === needed ? null : this.compartment.reconfigure(needed);
|
|
72
80
|
}
|
|
73
81
|
|
|
74
|
-
static bool(
|
|
75
|
-
|
|
82
|
+
static bool(
|
|
83
|
+
setting: string|Common.Settings.SettingDescriptor<boolean>,
|
|
84
|
+
enabled: CM.Extension,
|
|
85
|
+
disabled: CM.Extension = empty,
|
|
86
|
+
): DynamicSetting<boolean> {
|
|
87
|
+
return new DynamicSetting<boolean>(setting, val => val ? enabled : disabled);
|
|
76
88
|
}
|
|
77
89
|
|
|
78
90
|
static none: ReadonlyArray<DynamicSetting<unknown>> = [];
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
flex-grow: 0;
|
|
9
9
|
flex-shrink: 0;
|
|
10
10
|
display: inline-block;
|
|
11
|
-
width:
|
|
12
|
-
height:
|
|
11
|
+
width: var(--sys-size-9);
|
|
12
|
+
height: var(--sys-size-9);
|
|
13
13
|
color: var(--icon-default);
|
|
14
14
|
vertical-align: sub;
|
|
15
15
|
position: relative;
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
:host([name="triangle-down"]),
|
|
97
97
|
:host([name="triangle-left"]),
|
|
98
98
|
:host([name="triangle-right"]) {
|
|
99
|
-
width:
|
|
100
|
-
height:
|
|
99
|
+
width: var(--sys-size-7);
|
|
100
|
+
height: var(--sys-size-7);
|
|
101
101
|
vertical-align: baseline;
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
:host(:focus-visible) {
|
|
22
22
|
outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);
|
|
23
|
-
outline-offset:
|
|
23
|
+
outline-offset: var(--sys-size-2);
|
|
24
24
|
/* stylelint-disable-next-line declaration-no-important */
|
|
25
25
|
outline-style: solid !important;
|
|
26
26
|
border-radius: var(--sys-shape-corner-extra-small);
|
|
@@ -11,87 +11,87 @@ import {Context} from './Context.js';
|
|
|
11
11
|
|
|
12
12
|
const UIStrings = {
|
|
13
13
|
/**
|
|
14
|
-
* @description Title of the
|
|
14
|
+
* @description Title of the Elements shortcut category in the shortcuts tab in the Settings panel.
|
|
15
15
|
*/
|
|
16
16
|
elements: 'Elements',
|
|
17
17
|
/**
|
|
18
|
-
* @description Title of the
|
|
18
|
+
* @description Title of the Screenshot shortcut category in the shortcuts tab in the Settings panel.
|
|
19
19
|
*/
|
|
20
20
|
screenshot: 'Screenshot',
|
|
21
21
|
/**
|
|
22
|
-
* @description Title of the
|
|
22
|
+
* @description Title of the Network shortcut category in the shortcuts tab in the Settings panel.
|
|
23
23
|
*/
|
|
24
24
|
network: 'Network',
|
|
25
25
|
/**
|
|
26
|
-
* @description Title of the
|
|
26
|
+
* @description Title of the Memory shortcut category in the shortcuts tab in the Settings panel.
|
|
27
27
|
*/
|
|
28
28
|
memory: 'Memory',
|
|
29
29
|
/**
|
|
30
|
-
* @description Title of the
|
|
30
|
+
* @description Title of the JavaScript profiler shortcut category in the shortcuts tab in the Settings panel.
|
|
31
31
|
*/
|
|
32
|
-
javascript_profiler: 'JavaScript
|
|
32
|
+
javascript_profiler: 'JavaScript profiler',
|
|
33
33
|
/**
|
|
34
|
-
* @description Title of the
|
|
34
|
+
* @description Title of the Console shortcut category in the shortcuts tab in the Settings panel.
|
|
35
35
|
*/
|
|
36
36
|
console: 'Console',
|
|
37
37
|
/**
|
|
38
|
-
* @description Title of the
|
|
38
|
+
* @description Title of the Performance shortcut category in the shortcuts tab in the Settings panel.
|
|
39
39
|
*/
|
|
40
40
|
performance: 'Performance',
|
|
41
41
|
/**
|
|
42
|
-
* @description Title of the
|
|
42
|
+
* @description Title of the Mobile shortcut category in the shortcuts tab in the Settings panel.
|
|
43
43
|
*/
|
|
44
44
|
mobile: 'Mobile',
|
|
45
45
|
/**
|
|
46
|
-
* @description Title of the
|
|
46
|
+
* @description Title of the Help shortcut category in the shortcuts tab in the Settings panel.
|
|
47
47
|
*/
|
|
48
48
|
help: 'Help',
|
|
49
49
|
/**
|
|
50
|
-
* @description Title of the
|
|
50
|
+
* @description Title of the Layers shortcut category in the shortcuts tab in the Settings panel.
|
|
51
51
|
*/
|
|
52
52
|
layers: 'Layers',
|
|
53
53
|
/**
|
|
54
|
-
* @description Title of the
|
|
54
|
+
* @description Title of the Navigation shortcut category in the shortcuts tab in the Settings panel.
|
|
55
55
|
*/
|
|
56
56
|
navigation: 'Navigation',
|
|
57
57
|
/**
|
|
58
|
-
* @description Title of the
|
|
58
|
+
* @description Title of the Drawer shortcut category in the shortcuts tab in the Settings panel.
|
|
59
59
|
*/
|
|
60
60
|
drawer: 'Drawer',
|
|
61
61
|
/**
|
|
62
|
-
* @description Title of the
|
|
62
|
+
* @description Title of the Global shortcut category in the shortcuts tab in the Settings panel.
|
|
63
63
|
*/
|
|
64
64
|
global: 'Global',
|
|
65
65
|
/**
|
|
66
|
-
* @description Title of the
|
|
66
|
+
* @description Title of the Resources shortcut category in the shortcuts tab in the Settings panel.
|
|
67
67
|
*/
|
|
68
68
|
resources: 'Resources',
|
|
69
69
|
/**
|
|
70
|
-
* @description Title of the
|
|
70
|
+
* @description Title of the Background services shortcut category in the shortcuts tab in the Settings panel.
|
|
71
71
|
*/
|
|
72
|
-
background_services: 'Background
|
|
72
|
+
background_services: 'Background services',
|
|
73
73
|
/**
|
|
74
|
-
* @description Title of the
|
|
74
|
+
* @description Title of the Settings shortcut category in the shortcuts tab in the Settings panel.
|
|
75
75
|
*/
|
|
76
76
|
settings: 'Settings',
|
|
77
77
|
/**
|
|
78
|
-
* @description Title of the
|
|
78
|
+
* @description Title of the Debugger shortcut category in the shortcuts tab in the Settings panel.
|
|
79
79
|
*/
|
|
80
80
|
debugger: 'Debugger',
|
|
81
81
|
/**
|
|
82
|
-
* @description Title of the
|
|
82
|
+
* @description Title of the Sources shortcut category in the shortcuts tab in the Settings panel.
|
|
83
83
|
*/
|
|
84
84
|
sources: 'Sources',
|
|
85
85
|
/**
|
|
86
|
-
* @description Title of the
|
|
86
|
+
* @description Title of the Rendering shortcut category in the shortcuts tab in the Settings panel.
|
|
87
87
|
*/
|
|
88
88
|
rendering: 'Rendering',
|
|
89
89
|
/**
|
|
90
|
-
* @description Title of the
|
|
90
|
+
* @description Title of the Recorder shortcut category in the shortcuts tab in the Settings panel.
|
|
91
91
|
*/
|
|
92
92
|
recorder: 'Recorder',
|
|
93
93
|
/**
|
|
94
|
-
* @description Title of the
|
|
94
|
+
* @description Title of the Changes shortcut category in the shortcuts tab in the Settings panel.
|
|
95
95
|
*/
|
|
96
96
|
changes: 'Changes',
|
|
97
97
|
} as const;
|
|
@@ -15,15 +15,15 @@ import {type Provider, ToolbarButton, type ToolbarItem} from './Toolbar.js';
|
|
|
15
15
|
|
|
16
16
|
const UIStrings = {
|
|
17
17
|
/**
|
|
18
|
-
* @description
|
|
18
|
+
* @description Tooltip text for the close DevTools button in the main toolbar.
|
|
19
19
|
*/
|
|
20
20
|
close: 'Close',
|
|
21
21
|
/**
|
|
22
|
-
* @description
|
|
22
|
+
* @description Announcement text for screen readers when DevTools is undocked.
|
|
23
23
|
*/
|
|
24
24
|
devtoolsUndocked: 'DevTools is undocked',
|
|
25
25
|
/**
|
|
26
|
-
* @description
|
|
26
|
+
* @description Announcement text for screen readers when DevTools is docked to a side of the browser window.
|
|
27
27
|
* @example {bottom} PH1
|
|
28
28
|
*/
|
|
29
29
|
devToolsDockedTo: 'DevTools is docked to {PH1}',
|
|
@@ -6,7 +6,7 @@ import '../../ui/kit/kit.js';
|
|
|
6
6
|
|
|
7
7
|
import * as i18n from '../../core/i18n/i18n.js';
|
|
8
8
|
import type * as Platform from '../../core/platform/platform.js';
|
|
9
|
-
import {
|
|
9
|
+
import {html, render} from '../lit/lit.js';
|
|
10
10
|
import * as VisualLogging from '../visual_logging/visual_logging.js';
|
|
11
11
|
|
|
12
12
|
import emptyWidgetStyles from './emptyWidget.css.js';
|
|
@@ -15,40 +15,33 @@ import {VBox} from './Widget.js';
|
|
|
15
15
|
|
|
16
16
|
const UIStrings = {
|
|
17
17
|
/**
|
|
18
|
-
* @description
|
|
18
|
+
* @description Link text in an empty state view leading to external documentation.
|
|
19
19
|
*/
|
|
20
20
|
learnMore: 'Learn more',
|
|
21
21
|
} as const;
|
|
22
22
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/EmptyWidget.ts', UIStrings);
|
|
23
23
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
24
|
-
const {ref} = Directives;
|
|
25
24
|
|
|
26
|
-
interface
|
|
25
|
+
interface ViewInput {
|
|
27
26
|
header: string;
|
|
28
27
|
text: string;
|
|
29
28
|
link?: Platform.DevToolsPath.UrlString|null;
|
|
30
|
-
extraElements?: Element[];
|
|
31
29
|
}
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
contentElement?: Element;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
type View = (input: EmptyWidgetInput, output: EmptyWidgetOutput, target: HTMLElement) => void;
|
|
31
|
+
type View = (input: ViewInput, output: undefined, target: HTMLElement) => void;
|
|
38
32
|
|
|
39
|
-
const DEFAULT_VIEW: View = (input,
|
|
33
|
+
const DEFAULT_VIEW: View = (input, _output, target) => {
|
|
40
34
|
// clang-format off
|
|
41
35
|
render(html`
|
|
42
36
|
<style>${inspectorCommonStyles}</style>
|
|
43
37
|
<style>${emptyWidgetStyles}</style>
|
|
44
|
-
<div class="empty-state" jslog=${VisualLogging.section('empty-view')}
|
|
45
|
-
${ref(e => {output.contentElement = e;})}>
|
|
38
|
+
<div class="empty-state" jslog=${VisualLogging.section('empty-view')}>
|
|
46
39
|
<div class="empty-state-header">${input.header}</div>
|
|
47
40
|
<div class="empty-state-description">
|
|
48
41
|
<span>${input.text}</span>
|
|
49
42
|
${input.link ? html`<devtools-link href=${input.link} jslogContext=${'learn-more'}>${i18nString(UIStrings.learnMore)}</devtools-link>` : ''}
|
|
50
43
|
</div>
|
|
51
|
-
|
|
44
|
+
<slot></slot>
|
|
52
45
|
</div>`, target, {container: {classes: ['empty-view-scroller']}});
|
|
53
46
|
// clang-format on
|
|
54
47
|
};
|
|
@@ -58,54 +51,40 @@ export class EmptyWidget extends VBox {
|
|
|
58
51
|
#text: string;
|
|
59
52
|
#link: Platform.DevToolsPath.UrlString|undefined|null;
|
|
60
53
|
#view: View;
|
|
61
|
-
#firstUpdate = true;
|
|
62
|
-
#extraElements: Element[] = [];
|
|
63
54
|
|
|
64
55
|
constructor(headerOrElement: string|HTMLElement, text = '', element?: HTMLElement, view = DEFAULT_VIEW) {
|
|
65
56
|
const header = typeof headerOrElement === 'string' ? headerOrElement : '';
|
|
66
57
|
if (!element && headerOrElement instanceof HTMLElement) {
|
|
67
58
|
element = headerOrElement;
|
|
68
59
|
}
|
|
69
|
-
super(element);
|
|
60
|
+
super(element, {useShadowDom: true, classes: ['empty-widget-container']});
|
|
70
61
|
this.#header = header;
|
|
71
62
|
this.#text = text;
|
|
72
63
|
this.#link = undefined;
|
|
73
64
|
this.#view = view;
|
|
65
|
+
// TODO: migrate to `requestUpdate()` once callers don't manipulate DOM directly and synchronously anymore.
|
|
74
66
|
this.performUpdate();
|
|
75
67
|
}
|
|
76
68
|
|
|
77
69
|
set link(link: Platform.DevToolsPath.UrlString|undefined|null) {
|
|
78
70
|
this.#link = link;
|
|
71
|
+
// TODO: migrate to `requestUpdate()` once callers don't manipulate DOM directly and synchronously anymore.
|
|
79
72
|
this.performUpdate();
|
|
80
73
|
}
|
|
81
74
|
|
|
82
75
|
set text(text: string) {
|
|
83
76
|
this.#text = text;
|
|
77
|
+
// TODO: migrate to `requestUpdate()` once callers don't manipulate DOM directly and synchronously anymore.
|
|
84
78
|
this.performUpdate();
|
|
85
79
|
}
|
|
86
80
|
|
|
87
81
|
set header(header: string) {
|
|
88
82
|
this.#header = header;
|
|
83
|
+
// TODO: migrate to `requestUpdate()` once callers don't manipulate DOM directly and synchronously anymore.
|
|
89
84
|
this.performUpdate();
|
|
90
85
|
}
|
|
91
86
|
|
|
92
|
-
set extraElements(elements: HTMLElement[]) {
|
|
93
|
-
this.#extraElements = elements;
|
|
94
|
-
this.#firstUpdate = false;
|
|
95
|
-
this.requestUpdate();
|
|
96
|
-
}
|
|
97
|
-
|
|
98
87
|
override performUpdate(): void {
|
|
99
|
-
|
|
100
|
-
this.#extraElements = [...this.element.children];
|
|
101
|
-
this.#firstUpdate = false;
|
|
102
|
-
}
|
|
103
|
-
const output: EmptyWidgetOutput = {};
|
|
104
|
-
this.#view(
|
|
105
|
-
{header: this.#header, text: this.#text, link: this.#link, extraElements: this.#extraElements}, output,
|
|
106
|
-
this.element);
|
|
107
|
-
if (output.contentElement) {
|
|
108
|
-
this.contentElement = output.contentElement as HTMLElement;
|
|
109
|
-
}
|
|
88
|
+
this.#view({header: this.#header, text: this.#text, link: this.#link}, undefined, this.contentElement);
|
|
110
89
|
}
|
|
111
90
|
}
|
|
@@ -25,20 +25,20 @@ export {filterStyles};
|
|
|
25
25
|
|
|
26
26
|
const UIStrings = {
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description Tooltip text for the filter toggle button in the filter bar.
|
|
29
29
|
*/
|
|
30
30
|
filter: 'Filter',
|
|
31
31
|
/**
|
|
32
|
-
* @description
|
|
32
|
+
* @description Placeholder text for the search input in the filter bar.
|
|
33
33
|
*/
|
|
34
34
|
egSmalldUrlacomb: 'e.g. `/small[\d]+/ url:a.com/b`',
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description Tooltip text for the filter buttons in the filter bar.
|
|
37
37
|
* @example {Ctrl + } PH1
|
|
38
38
|
*/
|
|
39
39
|
sclickToSelectMultipleTypes: '{PH1}Click to select multiple types',
|
|
40
40
|
/**
|
|
41
|
-
* @description
|
|
41
|
+
* @description Label for the option to show all types in a filter bar.
|
|
42
42
|
*/
|
|
43
43
|
allStrings: 'All',
|
|
44
44
|
} as const;
|
|
@@ -17,11 +17,11 @@ import type {Widget} from './Widget.js';
|
|
|
17
17
|
|
|
18
18
|
const UIStrings = {
|
|
19
19
|
/**
|
|
20
|
-
* @description
|
|
20
|
+
* @description Button text to permanently dismiss an infobar and prevent it from appearing again.
|
|
21
21
|
*/
|
|
22
22
|
dontShowAgain: 'Don’t show again',
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description Accessible label for the close button in an infobar.
|
|
25
25
|
*/
|
|
26
26
|
close: 'Close',
|
|
27
27
|
} as const;
|
|
@@ -42,23 +42,23 @@ class DrawerTabbedPane extends TabbedPane {
|
|
|
42
42
|
|
|
43
43
|
const UIStrings = {
|
|
44
44
|
/**
|
|
45
|
-
* @description Title
|
|
45
|
+
* @description Title and tooltip text for the more tools menu button in the drawer.
|
|
46
46
|
*/
|
|
47
|
-
moreTools: 'More
|
|
47
|
+
moreTools: 'More tools',
|
|
48
48
|
/**
|
|
49
|
-
* @description
|
|
49
|
+
* @description Tooltip text for the minimize button in the drawer.
|
|
50
50
|
*/
|
|
51
51
|
minimizeDrawer: 'Minimize drawer',
|
|
52
52
|
/**
|
|
53
|
-
* @description
|
|
53
|
+
* @description Tooltip text for the expand button in the drawer.
|
|
54
54
|
*/
|
|
55
55
|
expandDrawer: 'Expand drawer',
|
|
56
56
|
/**
|
|
57
|
-
* @description
|
|
57
|
+
* @description Tooltip text for the close button in the drawer.
|
|
58
58
|
*/
|
|
59
59
|
closeDrawer: 'Close drawer',
|
|
60
60
|
/**
|
|
61
|
-
* @description
|
|
61
|
+
* @description Tooltip text for the toggle orientation button in the drawer.
|
|
62
62
|
*/
|
|
63
63
|
toggleDrawerOrientation: 'Toggle drawer orientation',
|
|
64
64
|
} as const;
|
|
@@ -35,84 +35,77 @@ import {VBox, type Widget, WidgetFocusRestorer} from './Widget.js';
|
|
|
35
35
|
|
|
36
36
|
const UIStrings = {
|
|
37
37
|
/**
|
|
38
|
-
* @description
|
|
38
|
+
* @description Announcement text for screen readers when the drawer is minimized.
|
|
39
39
|
*/
|
|
40
40
|
drawerMinimized: 'Drawer minimized',
|
|
41
41
|
/**
|
|
42
|
-
* @description
|
|
42
|
+
* @description Announcement text for screen readers when the drawer is expanded.
|
|
43
43
|
*/
|
|
44
44
|
drawerExpanded: 'Drawer expanded',
|
|
45
45
|
/**
|
|
46
|
-
* @description
|
|
46
|
+
* @description Accessible label for the main tab bar that contains panels.
|
|
47
47
|
*/
|
|
48
48
|
panels: 'Panels',
|
|
49
49
|
/**
|
|
50
|
-
* @description
|
|
50
|
+
* @description Button text in an infobar to reload the inspected page.
|
|
51
51
|
*/
|
|
52
52
|
reloadDebuggedTab: 'Reload page',
|
|
53
53
|
/**
|
|
54
|
-
* @description
|
|
54
|
+
* @description Button text in an infobar to reload DevTools.
|
|
55
55
|
*/
|
|
56
56
|
reloadDevtools: 'Reload DevTools',
|
|
57
57
|
/**
|
|
58
|
-
* @description
|
|
58
|
+
* @description Button text in an infobar to restart Chrome.
|
|
59
59
|
*/
|
|
60
60
|
restartChrome: 'Restart Chrome',
|
|
61
61
|
/**
|
|
62
|
-
* @description Confirmation
|
|
62
|
+
* @description Confirmation prompt text when restarting Chrome.
|
|
63
63
|
*/
|
|
64
64
|
areYouSureYouWantToRestartChrome: 'Are you sure you want to restart Chrome?',
|
|
65
65
|
/**
|
|
66
|
-
* @description
|
|
66
|
+
* @description Context menu item to move a tab to the main tab bar.
|
|
67
67
|
*/
|
|
68
68
|
moveToMainTabBar: 'Move to main tab bar',
|
|
69
69
|
/**
|
|
70
|
-
* @description
|
|
70
|
+
* @description Context menu item to move a tab to the drawer.
|
|
71
71
|
*/
|
|
72
72
|
moveToDrawer: 'Move to drawer',
|
|
73
73
|
/**
|
|
74
|
-
* @description
|
|
75
|
-
* currently selected DevTools locale does not match Chrome's locale.
|
|
76
|
-
* The placeholder is the current Chrome language.
|
|
74
|
+
* @description Infobar message shown when the DevTools language does not match the browser language.
|
|
77
75
|
* @example {German} PH1
|
|
78
76
|
*/
|
|
79
77
|
devToolsLanguageMissmatch: 'DevTools is now available in {PH1}',
|
|
80
78
|
/**
|
|
81
|
-
* @description
|
|
82
|
-
* is configured with a different locale than Chrome. This option means DevTools will
|
|
83
|
-
* always try and display the DevTools UI in the same language as Chrome.
|
|
79
|
+
* @description Button text in an infobar to configure DevTools to match the browser language.
|
|
84
80
|
*/
|
|
85
81
|
setToBrowserLanguage: 'Always match Chrome’s language',
|
|
86
82
|
/**
|
|
87
|
-
* @description
|
|
88
|
-
* is configured with a different locale than Chrome. This option means DevTools UI
|
|
89
|
-
* will be switched to the language specified in the placeholder.
|
|
83
|
+
* @description Button text in an infobar to switch DevTools to a specific language.
|
|
90
84
|
* @example {German} PH1
|
|
91
85
|
*/
|
|
92
86
|
setToSpecificLanguage: 'Switch DevTools to {PH1}',
|
|
93
87
|
/**
|
|
94
|
-
* @description
|
|
88
|
+
* @description Accessible label for the main toolbar.
|
|
95
89
|
*/
|
|
96
90
|
mainToolbar: 'Main toolbar',
|
|
97
91
|
/**
|
|
98
|
-
* @description
|
|
92
|
+
* @description Accessible label for the drawer.
|
|
99
93
|
*/
|
|
100
|
-
drawer: '
|
|
94
|
+
drawer: 'Drawer',
|
|
101
95
|
/**
|
|
102
|
-
* @description
|
|
96
|
+
* @description Announcement text for screen readers when the drawer is shown.
|
|
103
97
|
*/
|
|
104
98
|
drawerShown: 'Drawer shown',
|
|
105
99
|
/**
|
|
106
|
-
* @description
|
|
100
|
+
* @description Announcement text for screen readers when the drawer is hidden.
|
|
107
101
|
*/
|
|
108
102
|
drawerHidden: 'Drawer hidden',
|
|
109
103
|
/**
|
|
110
|
-
* @description
|
|
111
|
-
* to store local overrides in.
|
|
104
|
+
* @description Infobar message prompting the user to select a folder for local overrides.
|
|
112
105
|
*/
|
|
113
106
|
selectOverrideFolder: 'Select a folder to store override files in',
|
|
114
107
|
/**
|
|
115
|
-
* @description
|
|
108
|
+
* @description Button text in an infobar to open a folder picker for local overrides.
|
|
116
109
|
*/
|
|
117
110
|
selectFolder: 'Select folder',
|
|
118
111
|
} as const;
|
|
@@ -20,31 +20,31 @@ import {VBox} from './Widget.js';
|
|
|
20
20
|
|
|
21
21
|
const UIStrings = {
|
|
22
22
|
/**
|
|
23
|
-
* @description
|
|
23
|
+
* @description Tooltip text for the edit button in a list widget.
|
|
24
24
|
*/
|
|
25
25
|
editString: 'Edit',
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Tooltip text for the remove button in a list widget.
|
|
28
28
|
*/
|
|
29
29
|
removeString: 'Remove',
|
|
30
30
|
/**
|
|
31
|
-
* @description
|
|
31
|
+
* @description Button text to save changes when editing an item in a list widget.
|
|
32
32
|
*/
|
|
33
33
|
saveString: 'Save',
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description Button text to add a new item in a list widget.
|
|
36
36
|
*/
|
|
37
37
|
addString: 'Add',
|
|
38
38
|
/**
|
|
39
|
-
* @description
|
|
39
|
+
* @description Button text to cancel editing an item in a list widget.
|
|
40
40
|
*/
|
|
41
41
|
cancelString: 'Cancel',
|
|
42
42
|
/**
|
|
43
|
-
* @description
|
|
43
|
+
* @description Announcement text for screen readers when changes to a list widget item are saved.
|
|
44
44
|
*/
|
|
45
45
|
changesSaved: 'Changes to item have been saved',
|
|
46
46
|
/**
|
|
47
|
-
* @description
|
|
47
|
+
* @description Announcement text for screen readers when a list widget item is removed.
|
|
48
48
|
*/
|
|
49
49
|
removedItem: 'Item has been removed',
|
|
50
50
|
} as const;
|
|
@@ -17,9 +17,7 @@ import {ViewLocationValues} from './ViewRegistration.js';
|
|
|
17
17
|
|
|
18
18
|
const UIStrings = {
|
|
19
19
|
/**
|
|
20
|
-
* @description Default tooltip
|
|
21
|
-
* after the visible tabs in a tab strip. Clicking it opens a menu listing
|
|
22
|
-
* tools that are not currently shown as a visible tab.
|
|
20
|
+
* @description Default tooltip and accessible name for the plus button shown in a tab strip.
|
|
23
21
|
*/
|
|
24
22
|
moreTools: 'More tools',
|
|
25
23
|
} as const;
|