chrome-devtools-frontend 1.0.1023618 → 1.0.1025020
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/.eslintignore +1 -1
- package/.eslintrc.js +1 -0
- package/front_end/core/common/AppProvider.ts +1 -1
- package/front_end/core/common/Object.ts +7 -2
- package/front_end/core/common/SettingRegistration.ts +1 -1
- package/front_end/core/common/Settings.ts +2 -3
- package/front_end/core/host/InspectorFrontendHost.ts +13 -5
- package/front_end/core/host/ResourceLoader.ts +1 -1
- package/front_end/core/i18n/locales/en-US.json +15 -3
- package/front_end/core/i18n/locales/en-XL.json +15 -3
- package/front_end/core/platform/UserVisibleError.ts +1 -1
- package/front_end/core/sdk/AccessibilityModel.ts +3 -4
- package/front_end/core/sdk/CPUProfileDataModel.ts +1 -1
- package/front_end/core/sdk/CPUProfilerModel.ts +3 -3
- package/front_end/core/sdk/CPUThrottlingManager.ts +2 -2
- package/front_end/core/sdk/CSSContainerQuery.ts +2 -2
- package/front_end/core/sdk/CSSLayer.ts +1 -1
- package/front_end/core/sdk/CSSMatchedStyles.ts +10 -4
- package/front_end/core/sdk/CSSMedia.ts +1 -1
- package/front_end/core/sdk/CSSModel.ts +7 -7
- package/front_end/core/sdk/CSSProperty.ts +2 -2
- package/front_end/core/sdk/CSSQuery.ts +2 -3
- package/front_end/core/sdk/CSSRule.ts +2 -2
- package/front_end/core/sdk/CSSScope.ts +1 -1
- package/front_end/core/sdk/CSSStyleDeclaration.ts +3 -3
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +3 -3
- package/front_end/core/sdk/CSSSupports.ts +1 -1
- package/front_end/core/sdk/ChildTargetManager.ts +2 -2
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +1 -2
- package/front_end/core/sdk/ConsoleModel.ts +15 -12
- package/front_end/core/sdk/CookieModel.ts +4 -5
- package/front_end/core/sdk/DOMDebuggerModel.ts +7 -7
- package/front_end/core/sdk/DOMModel.ts +3 -3
- package/front_end/core/sdk/DebuggerModel.ts +5 -6
- package/front_end/core/sdk/EmulationModel.ts +2 -2
- package/front_end/core/sdk/EventBreakpointsModel.ts +4 -4
- package/front_end/core/sdk/FilmStripModel.ts +1 -2
- package/front_end/core/sdk/FrameAssociated.ts +1 -1
- package/front_end/core/sdk/FrameManager.ts +6 -6
- package/front_end/core/sdk/HeapProfilerModel.ts +4 -4
- package/front_end/core/sdk/IOModel.ts +2 -2
- package/front_end/core/sdk/IsolateManager.ts +3 -3
- package/front_end/core/sdk/IssuesModel.ts +1 -2
- package/front_end/core/sdk/LayerTreeBase.ts +3 -4
- package/front_end/core/sdk/LogModel.ts +1 -2
- package/front_end/core/sdk/NetworkManager.ts +18 -9
- package/front_end/core/sdk/NetworkRequest.ts +1 -2
- package/front_end/core/sdk/OverlayModel.ts +5 -5
- package/front_end/core/sdk/PageLoad.ts +1 -1
- package/front_end/core/sdk/PageResourceLoader.ts +3 -3
- package/front_end/core/sdk/PaintProfiler.ts +1 -2
- package/front_end/core/sdk/PerformanceMetricsModel.ts +1 -2
- package/front_end/core/sdk/ProfileTreeModel.ts +1 -1
- package/front_end/core/sdk/RemoteObject.ts +3 -3
- package/front_end/core/sdk/Resource.ts +2 -3
- package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
- package/front_end/core/sdk/RuntimeModel.ts +5 -5
- package/front_end/core/sdk/SDKModel.ts +1 -1
- package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
- package/front_end/core/sdk/Script.ts +5 -6
- package/front_end/core/sdk/SecurityOriginManager.ts +1 -2
- package/front_end/core/sdk/ServerTiming.ts +1 -1
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +3 -3
- package/front_end/core/sdk/ServiceWorkerManager.ts +3 -4
- package/front_end/core/sdk/SourceMap.ts +43 -6
- package/front_end/core/sdk/SourceMapManager.ts +5 -5
- package/front_end/core/sdk/StorageKeyManager.ts +1 -2
- package/front_end/core/sdk/Target.ts +1 -1
- package/front_end/core/sdk/TargetManager.ts +1 -1
- package/front_end/core/sdk/TracingManager.ts +2 -3
- package/front_end/core/sdk/TracingModel.ts +1 -1
- package/front_end/core/sdk/WebAuthnModel.ts +1 -2
- package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/CSSRuleParser.ts +1 -2
- package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
- package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/IdentityFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/JSONFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +2 -3
- package/front_end/entrypoints/formatter_worker/JavaScriptOutline.ts +1 -1
- package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotLoader.ts +3 -3
- package/front_end/models/bindings/BreakpointManager.ts +2 -2
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +5 -2
- package/front_end/models/bindings/CompilerScriptMapping.ts +5 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +6 -2
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +4 -4
- package/front_end/models/bindings/DefaultScriptMapping.ts +1 -1
- package/front_end/models/bindings/IgnoreListManager.ts +1 -1
- package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -2
- package/front_end/models/bindings/ResourceScriptMapping.ts +2 -4
- package/front_end/models/bindings/SASSSourceMapping.ts +2 -2
- package/front_end/models/bindings/StylesSourceMapping.ts +1 -1
- package/front_end/models/bindings/TempFile.ts +1 -2
- package/front_end/models/emulation/DeviceModeModel.ts +8 -2
- package/front_end/models/extensions/ExtensionPanel.ts +1 -1
- package/front_end/models/extensions/ExtensionServer.ts +3 -3
- package/front_end/models/extensions/ExtensionView.ts +1 -1
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +1 -1
- package/front_end/models/extensions/RecorderPluginManager.ts +1 -1
- package/front_end/models/formatter/SourceFormatter.ts +1 -2
- package/front_end/models/har/Importer.ts +1 -1
- package/front_end/models/har/Writer.ts +2 -2
- package/front_end/models/issues_manager/AttributionReportingIssue.ts +1 -1
- package/front_end/models/issues_manager/ClientHintIssue.ts +6 -2
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +6 -2
- package/front_end/models/issues_manager/CookieIssue.ts +6 -2
- package/front_end/models/issues_manager/CorsIssue.ts +1 -1
- package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +6 -2
- package/front_end/models/issues_manager/DeprecationIssue.ts +4 -4
- package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +6 -2
- package/front_end/models/issues_manager/GenericIssue.ts +6 -2
- package/front_end/models/issues_manager/HeavyAdIssue.ts +1 -1
- package/front_end/models/issues_manager/Issue.ts +1 -1
- package/front_end/models/issues_manager/IssueResolver.ts +2 -3
- package/front_end/models/issues_manager/IssuesManager.ts +1 -1
- package/front_end/models/issues_manager/LowTextContrastIssue.ts +1 -1
- package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
- package/front_end/models/issues_manager/NavigatorUserAgentIssue.ts +1 -1
- package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
- package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
- package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +1 -1
- package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +3 -3
- package/front_end/models/issues_manager/TrustedWebActivityIssue.ts +6 -2
- package/front_end/models/persistence/Automapping.ts +1 -2
- package/front_end/models/persistence/EditFileSystemView.ts +1 -1
- package/front_end/models/persistence/FileSystemWorkspaceBinding.ts +4 -4
- package/front_end/models/persistence/IsolatedFileSystem.ts +1 -2
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
- package/front_end/models/persistence/NetworkPersistenceManager.ts +1 -2
- package/front_end/models/persistence/PersistenceImpl.ts +1 -2
- package/front_end/models/persistence/PersistenceUtils.ts +1 -2
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -2
- package/front_end/models/text_utils/StaticContentProvider.ts +1 -1
- package/front_end/models/text_utils/TextRange.ts +6 -0
- package/front_end/models/timeline_model/TimelineFrameModel.ts +2 -2
- package/front_end/models/timeline_model/TimelineProfileTree.ts +1 -1
- package/front_end/models/timeline_model/TracingLayerTree.ts +1 -1
- package/front_end/models/workspace/UISourceCode.ts +1 -2
- package/front_end/models/workspace/WorkspaceImpl.ts +1 -2
- package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +1 -1
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
- package/front_end/panels/animation/AnimationTimeline.ts +7 -2
- package/front_end/panels/animation/AnimationUI.ts +3 -3
- package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
- package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -7
- package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
- package/front_end/panels/application/BackgroundServiceView.ts +1 -2
- package/front_end/panels/application/DatabaseQueryView.ts +1 -1
- package/front_end/panels/application/DatabaseTableView.ts +1 -1
- package/front_end/panels/application/IndexedDBViews.ts +9 -2
- package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
- package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
- package/front_end/panels/application/ResourcesPanel.ts +1 -1
- package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
- package/front_end/panels/application/components/FrameDetailsView.ts +9 -6
- package/front_end/panels/console/ConsoleFilter.ts +1 -1
- package/front_end/panels/console/ConsoleSidebar.ts +2 -3
- package/front_end/panels/console/ConsoleView.ts +2 -4
- package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
- package/front_end/panels/console/ConsoleViewport.ts +1 -1
- package/front_end/panels/coverage/CoverageDecorationManager.ts +1 -1
- package/front_end/panels/coverage/CoverageListView.ts +1 -2
- package/front_end/panels/coverage/CoverageView.ts +1 -2
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -5
- package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewModel.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +4 -5
- package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -2
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +3 -3
- package/front_end/panels/elements/ComputedStyleWidget.ts +3 -4
- package/front_end/panels/elements/ElementsPanel.ts +7 -4
- package/front_end/panels/elements/ElementsSidebarPane.ts +1 -2
- package/front_end/panels/elements/ElementsTreeElement.ts +3 -4
- package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
- package/front_end/panels/elements/PlatformFontsWidget.ts +1 -2
- package/front_end/panels/elements/StyleEditorWidget.ts +2 -2
- package/front_end/panels/elements/StylePropertiesSection.ts +1 -2
- package/front_end/panels/elements/StylePropertyHighlighter.ts +2 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -3
- package/front_end/panels/elements/StylesSidebarPane.ts +47 -16
- package/front_end/panels/elements/TopLayerContainer.ts +1 -1
- package/front_end/panels/elements/components/AdornerSettingsPane.ts +1 -1
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -3
- package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +1 -1
- package/front_end/panels/elements/components/LayoutPane.ts +1 -2
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -2
- package/front_end/panels/emulation/AdvancedApp.ts +2 -2
- package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
- package/front_end/panels/event_listeners/EventListenersView.ts +1 -2
- package/front_end/panels/issues/AffectedResourcesView.ts +2 -2
- package/front_end/panels/issues/CorsIssueDetailsView.ts +2 -2
- package/front_end/panels/issues/IssueView.ts +2 -2
- package/front_end/panels/issues/IssuesPane.ts +6 -2
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +8 -2
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
- package/front_end/panels/layer_viewer/Layers3DView.ts +9 -2
- package/front_end/panels/lighthouse/LighthouseController.ts +1 -1
- package/front_end/panels/lighthouse/LighthousePanel.ts +10 -6
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +5 -1
- package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -2
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +1 -2
- package/front_end/panels/lighthouse/LighthouseTimespanView.ts +1 -2
- package/front_end/panels/media/EventDisplayTable.ts +1 -1
- package/front_end/panels/media/EventTimelineView.ts +9 -3
- package/front_end/panels/media/MainView.ts +1 -2
- package/front_end/panels/media/PlayerDetailView.ts +4 -3
- package/front_end/panels/media/PlayerListView.ts +2 -2
- package/front_end/panels/media/PlayerMessagesView.ts +76 -0
- package/front_end/panels/media/playerMessagesView.css +15 -0
- package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +6 -2
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +1 -2
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +7 -4
- package/front_end/panels/network/NetworkDataGridNode.ts +1 -1
- package/front_end/panels/network/NetworkFrameGrouper.ts +1 -1
- package/front_end/panels/network/NetworkItemView.ts +1 -1
- package/front_end/panels/network/NetworkLogView.ts +10 -3
- package/front_end/panels/network/NetworkLogViewColumns.ts +7 -6
- package/front_end/panels/network/NetworkPanel.ts +3 -4
- package/front_end/panels/network/NetworkWaterfallColumn.ts +4 -4
- package/front_end/panels/network/RequestTimingView.ts +1 -2
- package/front_end/panels/performance_monitor/performanceMonitor.css +1 -4
- package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +2 -3
- package/front_end/panels/profiler/CPUProfileView.ts +3 -3
- package/front_end/panels/profiler/HeapProfileView.ts +4 -5
- package/front_end/panels/profiler/HeapProfilerPanel.ts +2 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +4 -4
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -7
- package/front_end/panels/profiler/HeapSnapshotProxy.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotView.ts +13 -8
- package/front_end/panels/profiler/ProfileLauncherView.ts +2 -2
- package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +6 -2
- package/front_end/panels/profiler/ProfileView.ts +6 -6
- package/front_end/panels/profiler/ProfilesPanel.ts +6 -2
- package/front_end/panels/profiler/TopDownProfileDataGrid.ts +1 -2
- package/front_end/panels/search/SearchResultsPane.ts +1 -1
- package/front_end/panels/search/SearchView.ts +1 -2
- package/front_end/panels/security/SecurityPanel.ts +43 -17
- package/front_end/panels/security/originView.css +14 -13
- package/front_end/panels/settings/SettingsScreen.ts +1 -1
- package/front_end/panels/settings/emulation/utils/UserAgentMetadata.ts +11 -2
- package/front_end/panels/sources/EditingLocationHistoryManager.ts +2 -2
- package/front_end/panels/sources/GoToLineQuickOpen.ts +1 -1
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +7 -2
- package/front_end/panels/sources/ScriptFormatterEditorAction.ts +7 -2
- package/front_end/panels/sources/SourcesNavigator.ts +1 -2
- package/front_end/panels/sources/SourcesPanel.ts +1 -1
- package/front_end/panels/sources/SourcesSearchScope.ts +3 -0
- package/front_end/panels/sources/SourcesView.ts +6 -2
- package/front_end/panels/sources/UISourceCodeFrame.ts +1 -1
- package/front_end/panels/timeline/CountersGraph.ts +2 -3
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +2 -2
- package/front_end/panels/timeline/ExtensionTracingSession.ts +3 -3
- package/front_end/panels/timeline/TimelineDetailsView.ts +6 -6
- package/front_end/panels/timeline/TimelineEventOverview.ts +3 -3
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -3
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartView.ts +6 -6
- package/front_end/panels/timeline/TimelineHistoryManager.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +5 -5
- package/front_end/panels/timeline/TimelineTreeView.ts +2 -2
- package/front_end/panels/timeline/UIDevtoolsController.ts +1 -2
- package/front_end/panels/timeline/components/WebVitalsLane.ts +9 -2
- package/front_end/panels/timeline/components/WebVitalsTimeline.ts +1 -1
- package/front_end/panels/web_audio/graph_visualizer/EdgeView.ts +1 -1
- package/front_end/panels/web_audio/graph_visualizer/GraphView.ts +9 -3
- package/front_end/panels/web_audio/graph_visualizer/NodeRendererUtility.ts +2 -1
- package/front_end/panels/web_audio/graph_visualizer/NodeView.ts +3 -1
- package/front_end/third_party/.clang-format +1 -1
- package/front_end/third_party/i18n/localized-string-set.ts +1 -1
- package/front_end/ui/components/buttons/Button.ts +30 -5
- package/front_end/ui/components/buttons/button.css +16 -0
- package/front_end/ui/components/data_grid/DataGrid.ts +5 -1
- package/front_end/ui/components/data_grid/DataGridContextMenuUtils.ts +2 -2
- package/front_end/ui/components/data_grid/DataGridController.ts +12 -5
- package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
- package/front_end/ui/components/data_grid/DataGridEvents.ts +1 -1
- package/front_end/ui/components/data_grid/DataGridRenderers.ts +1 -1
- package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +112 -0
- package/front_end/ui/components/docs/building-ui-documentation/README.md +19 -0
- package/front_end/ui/components/docs/button/basic.html +11 -0
- package/front_end/ui/components/docs/button/basic.ts +7 -0
- package/front_end/ui/components/icon_button/IconButton.ts +1 -3
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +27 -13
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +39 -8
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +11 -5
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +8 -7
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownImage.ts +1 -2
- package/front_end/ui/components/markdown_view/MarkdownView.ts +2 -4
- package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -1
- package/front_end/ui/legacy/ActionRegistry.ts +1 -2
- package/front_end/ui/legacy/Context.ts +1 -1
- package/front_end/ui/legacy/ContextMenu.ts +2 -2
- package/front_end/ui/legacy/Dialog.ts +4 -4
- package/front_end/ui/legacy/DockController.ts +4 -4
- package/front_end/ui/legacy/FilterBar.ts +3 -3
- package/front_end/ui/legacy/FilterSuggestionBuilder.ts +1 -1
- package/front_end/ui/legacy/GlassPane.ts +3 -3
- package/front_end/ui/legacy/Infobar.ts +1 -1
- package/front_end/ui/legacy/InspectorView.ts +10 -10
- package/front_end/ui/legacy/ListControl.ts +2 -2
- package/front_end/ui/legacy/Panel.ts +1 -1
- package/front_end/ui/legacy/ShortcutRegistry.ts +2 -3
- package/front_end/ui/legacy/SoftDropDown.ts +4 -4
- package/front_end/ui/legacy/SplitWidget.ts +2 -2
- package/front_end/ui/legacy/SuggestBox.ts +2 -2
- package/front_end/ui/legacy/TabbedPane.ts +2 -2
- package/front_end/ui/legacy/TextPrompt.ts +1 -2
- package/front_end/ui/legacy/Toolbar.ts +2 -3
- package/front_end/ui/legacy/Treeoutline.ts +3 -3
- package/front_end/ui/legacy/UIUtils.ts +2 -3
- package/front_end/ui/legacy/View.ts +4 -4
- package/front_end/ui/legacy/ViewManager.ts +8 -8
- package/front_end/ui/legacy/ViewRegistration.ts +2 -2
- package/front_end/ui/legacy/XLink.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +1 -2
- package/front_end/ui/legacy/components/color_picker/ContrastOverlay.ts +1 -2
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/SortableDataGrid.ts +1 -2
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -5
- package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -4
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +1 -2
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -3
- package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -2
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -2
- package/front_end/ui/legacy/inspectorSyntaxHighlight.css +0 -1
- package/front_end/ui/legacy/themeColors.css +2 -2
- package/inspector_overlay/css_grid_label_helpers.ts +1 -2
- package/inspector_overlay/highlight_common.ts +1 -1
- package/inspector_overlay/highlight_container_query.ts +3 -3
- package/inspector_overlay/highlight_flex_common.ts +12 -3
- package/inspector_overlay/highlight_grid_common.ts +3 -3
- package/inspector_overlay/highlight_isolated_element.ts +1 -1
- package/inspector_overlay/highlight_scroll_snap.ts +3 -3
- package/inspector_overlay/main.ts +6 -6
- package/inspector_overlay/tool_highlight.ts +26 -12
- package/inspector_overlay/tool_persistent.ts +13 -14
- package/inspector_overlay/tool_source_order.ts +3 -4
- package/package.json +1 -1
- package/scripts/protocol_typescript/protocol_dts_generator.ts +1 -1
@@ -7,8 +7,7 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
7
7
|
|
8
8
|
import cssOverviewProcessingViewStyles from './cssOverviewProcessingView.css.js';
|
9
9
|
|
10
|
-
import type
|
11
|
-
import {Events} from './CSSOverviewController.js';
|
10
|
+
import {Events, type OverviewController} from './CSSOverviewController.js';
|
12
11
|
|
13
12
|
const UIStrings = {
|
14
13
|
/**
|
@@ -9,9 +9,9 @@ import * as ColorPicker from '../../ui/legacy/components/color_picker/color_pick
|
|
9
9
|
import * as InlineEditor from '../../ui/legacy/components/inline_editor/inline_editor.js';
|
10
10
|
import * as UI from '../../ui/legacy/legacy.js';
|
11
11
|
|
12
|
-
import type
|
13
|
-
import type
|
14
|
-
import type
|
12
|
+
import {type StylePropertiesSection} from './StylePropertiesSection.js';
|
13
|
+
import {type StylePropertyTreeElement} from './StylePropertyTreeElement.js';
|
14
|
+
import {type StylesSidebarPane} from './StylesSidebarPane.js';
|
15
15
|
|
16
16
|
const UIStrings = {
|
17
17
|
/**
|
@@ -42,12 +42,11 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
42
42
|
import * as ElementsComponents from './components/components.js';
|
43
43
|
import computedStyleSidebarPaneStyles from './computedStyleSidebarPane.css.js';
|
44
44
|
|
45
|
-
import type
|
46
|
-
import {ComputedStyleModel, Events} from './ComputedStyleModel.js';
|
45
|
+
import {ComputedStyleModel, Events, type ComputedStyle} from './ComputedStyleModel.js';
|
47
46
|
import {ImagePreviewPopover} from './ImagePreviewPopover.js';
|
48
47
|
import {PlatformFontsWidget} from './PlatformFontsWidget.js';
|
49
|
-
|
50
|
-
import {categorizePropertyName, DefaultCategoryOrder} from './PropertyNameCategories.js';
|
48
|
+
|
49
|
+
import {categorizePropertyName, DefaultCategoryOrder, type Category} from './PropertyNameCategories.js';
|
51
50
|
import {StylePropertiesSection} from './StylePropertiesSection.js';
|
52
51
|
import {StylesSidebarPane, StylesSidebarPropertyRenderer} from './StylesSidebarPane.js';
|
53
52
|
import * as TreeOutline from '../../ui/components/tree_outline/tree_outline.js';
|
@@ -51,14 +51,17 @@ import {AccessibilityTreeView} from './AccessibilityTreeView.js';
|
|
51
51
|
import * as ElementsComponents from './components/components.js';
|
52
52
|
import {ComputedStyleWidget} from './ComputedStyleWidget.js';
|
53
53
|
|
54
|
-
import type
|
54
|
+
import {type ElementsTreeElement} from './ElementsTreeElement.js';
|
55
55
|
import {ElementsTreeElementHighlighter} from './ElementsTreeElementHighlighter.js';
|
56
56
|
import {ElementsTreeOutline} from './ElementsTreeOutline.js';
|
57
|
-
import type
|
57
|
+
import {type MarkerDecorator} from './MarkerDecorator.js';
|
58
58
|
import {MetricsSidebarPane} from './MetricsSidebarPane.js';
|
59
59
|
import {LayoutSidebarPane} from './LayoutSidebarPane.js';
|
60
|
-
import {
|
61
|
-
|
60
|
+
import {
|
61
|
+
Events as StylesSidebarPaneEvents,
|
62
|
+
StylesSidebarPane,
|
63
|
+
type StylesUpdateCompletedEvent,
|
64
|
+
} from './StylesSidebarPane.js';
|
62
65
|
|
63
66
|
const UIStrings = {
|
64
67
|
/**
|
@@ -6,8 +6,7 @@ import * as Common from '../../core/common/common.js';
|
|
6
6
|
import type * as SDK from '../../core/sdk/sdk.js';
|
7
7
|
import * as UI from '../../ui/legacy/legacy.js';
|
8
8
|
|
9
|
-
import type
|
10
|
-
import {ComputedStyleModel, Events} from './ComputedStyleModel.js';
|
9
|
+
import {ComputedStyleModel, Events, type ComputedStyleChangedEvent} from './ComputedStyleModel.js';
|
11
10
|
|
12
11
|
export class ElementsSidebarPane extends UI.Widget.VBox {
|
13
12
|
protected computedStyleModelInternal: ComputedStyleModel;
|
@@ -51,11 +51,10 @@ import * as ElementsComponents from './components/components.js';
|
|
51
51
|
import {canGetJSPath, cssPath, jsPath, xPath} from './DOMPath.js';
|
52
52
|
import {ElementsPanel} from './ElementsPanel.js';
|
53
53
|
|
54
|
-
import type
|
55
|
-
import {MappedCharToEntity} from './ElementsTreeOutline.js';
|
54
|
+
import {MappedCharToEntity, type ElementsTreeOutline, type UpdateRecord} from './ElementsTreeOutline.js';
|
56
55
|
import {ImagePreviewPopover} from './ImagePreviewPopover.js';
|
57
|
-
|
58
|
-
import {getRegisteredDecorators} from './MarkerDecorator.js';
|
56
|
+
|
57
|
+
import {getRegisteredDecorators, type MarkerDecorator, type MarkerDecoratorRegistration} from './MarkerDecorator.js';
|
59
58
|
|
60
59
|
const UIStrings = {
|
61
60
|
/**
|
@@ -47,7 +47,7 @@ import elementsTreeOutlineStyles from './elementsTreeOutline.css.js';
|
|
47
47
|
import {ImagePreviewPopover} from './ImagePreviewPopover.js';
|
48
48
|
import {TopLayerContainer} from './TopLayerContainer.js';
|
49
49
|
|
50
|
-
import type
|
50
|
+
import {type MarkerDecoratorRegistration} from './MarkerDecorator.js';
|
51
51
|
|
52
52
|
const UIStrings = {
|
53
53
|
/**
|
@@ -36,8 +36,7 @@ import type * as SDK from '../../core/sdk/sdk.js';
|
|
36
36
|
import * as UI from '../../ui/legacy/legacy.js';
|
37
37
|
import type * as Protocol from '../../generated/protocol.js';
|
38
38
|
|
39
|
-
import type
|
40
|
-
import {Events} from './ComputedStyleModel.js';
|
39
|
+
import {Events, type ComputedStyleModel} from './ComputedStyleModel.js';
|
41
40
|
|
42
41
|
const UIStrings = {
|
43
42
|
/**
|
@@ -6,9 +6,9 @@ import * as IconButton from '../../ui/components/icon_button/icon_button.js';
|
|
6
6
|
import * as UI from '../../ui/legacy/legacy.js';
|
7
7
|
import type * as ElementsComponents from './components/components.js';
|
8
8
|
|
9
|
-
import type
|
9
|
+
import {type StylePropertiesSection} from './StylePropertiesSection.js';
|
10
10
|
import {StylePropertyTreeElement} from './StylePropertyTreeElement.js';
|
11
|
-
import type
|
11
|
+
import {type StylesSidebarPane} from './StylesSidebarPane.js';
|
12
12
|
|
13
13
|
type PropertySelectedEvent = ElementsComponents.StylePropertyEditor.PropertySelectedEvent;
|
14
14
|
type PropertyDeselectedEvent = ElementsComponents.StylePropertyEditor.PropertyDeselectedEvent;
|
@@ -48,8 +48,7 @@ import {linkifyDeferredNodeReference} from './DOMLinkifier.js';
|
|
48
48
|
import {ElementsPanel} from './ElementsPanel.js';
|
49
49
|
import stylesSectionTreeStyles from './stylesSectionTree.css.js';
|
50
50
|
|
51
|
-
import type
|
52
|
-
import {StylePropertyTreeElement} from './StylePropertyTreeElement.js';
|
51
|
+
import {StylePropertyTreeElement, type Context} from './StylePropertyTreeElement.js';
|
53
52
|
import {StylesSidebarPane} from './StylesSidebarPane.js';
|
54
53
|
|
55
54
|
const UIStrings = {
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
import type * as SDK from '../../core/sdk/sdk.js';
|
6
6
|
|
7
|
-
import type
|
7
|
+
import {type StylePropertiesSection} from './StylePropertiesSection.js';
|
8
8
|
import {StylePropertyTreeElement} from './StylePropertyTreeElement.js';
|
9
|
-
import type
|
9
|
+
import {type StylesSidebarPane} from './StylesSidebarPane.js';
|
10
10
|
|
11
11
|
export class StylePropertyHighlighter {
|
12
12
|
private readonly styleSidebarPane: StylesSidebarPane;
|
@@ -18,11 +18,10 @@ import {BezierPopoverIcon, ColorSwatchPopoverIcon, ShadowSwatchPopoverHelper} fr
|
|
18
18
|
import * as ElementsComponents from './components/components.js';
|
19
19
|
import {ElementsPanel} from './ElementsPanel.js';
|
20
20
|
import {StyleEditorWidget} from './StyleEditorWidget.js';
|
21
|
-
import type
|
21
|
+
import {type StylePropertiesSection} from './StylePropertiesSection.js';
|
22
22
|
import {CSSPropertyPrompt, StylesSidebarPane, StylesSidebarPropertyRenderer} from './StylesSidebarPane.js';
|
23
23
|
import {getCssDeclarationAsJavascriptProperty} from './StylePropertyUtils.js';
|
24
|
-
import {cssRuleValidatorsMap} from './CSSRuleValidator.js';
|
25
|
-
import type {AuthoringHint} from './CSSRuleValidator.js';
|
24
|
+
import {cssRuleValidatorsMap, type AuthoringHint} from './CSSRuleValidator.js';
|
26
25
|
|
27
26
|
const FlexboxEditor = ElementsComponents.StylePropertyEditor.FlexboxEditor;
|
28
27
|
const GridEditor = ElementsComponents.StylePropertyEditor.GridEditor;
|
@@ -51,8 +51,8 @@ import * as Components from '../../ui/legacy/components/utils/utils.js';
|
|
51
51
|
import * as UI from '../../ui/legacy/legacy.js';
|
52
52
|
|
53
53
|
import * as ElementsComponents from './components/components.js';
|
54
|
-
|
55
|
-
import {ComputedStyleModel} from './ComputedStyleModel.js';
|
54
|
+
|
55
|
+
import {ComputedStyleModel, type ComputedStyleChangedEvent} from './ComputedStyleModel.js';
|
56
56
|
import {ElementsPanel} from './ElementsPanel.js';
|
57
57
|
import {ElementsSidebarPane} from './ElementsSidebarPane.js';
|
58
58
|
import {ImagePreviewPopover} from './ImagePreviewPopover.js';
|
@@ -60,7 +60,7 @@ import {StyleEditorWidget} from './StyleEditorWidget.js';
|
|
60
60
|
import {StylePropertyHighlighter} from './StylePropertyHighlighter.js';
|
61
61
|
import stylesSidebarPaneStyles from './stylesSidebarPane.css.js';
|
62
62
|
|
63
|
-
import type
|
63
|
+
import {type StylePropertyTreeElement} from './StylePropertyTreeElement.js';
|
64
64
|
import {
|
65
65
|
StylePropertiesSection,
|
66
66
|
BlankStylePropertiesSection,
|
@@ -216,6 +216,7 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
216
216
|
activeCSSAngle: InlineEditor.CSSAngle.CSSAngle|null;
|
217
217
|
#urlToChangeTracker: Map<Platform.DevToolsPath.UrlString, ChangeTracker> = new Map();
|
218
218
|
#copyChangesButton?: UI.Toolbar.ToolbarButton;
|
219
|
+
#updateAbortController?: AbortController;
|
219
220
|
|
220
221
|
static instance(): StylesSidebarPane {
|
221
222
|
if (!stylesSidebarPaneInstance) {
|
@@ -422,6 +423,7 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
422
423
|
forceUpdate(): void {
|
423
424
|
this.needsForceUpdate = true;
|
424
425
|
this.swatchPopoverHelperInternal.hide();
|
426
|
+
this.#updateAbortController?.abort();
|
425
427
|
this.resetCache();
|
426
428
|
this.update();
|
427
429
|
}
|
@@ -574,8 +576,17 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
574
576
|
}
|
575
577
|
|
576
578
|
async doUpdate(): Promise<void> {
|
579
|
+
this.#updateAbortController?.abort();
|
580
|
+
this.#updateAbortController = new AbortController();
|
581
|
+
await this.#innerDoUpdate(this.#updateAbortController.signal);
|
582
|
+
}
|
583
|
+
|
584
|
+
async #innerDoUpdate(signal: AbortSignal): Promise<void> {
|
577
585
|
if (!this.initialUpdateCompleted) {
|
578
586
|
window.setTimeout(() => {
|
587
|
+
if (signal.aborted) {
|
588
|
+
return;
|
589
|
+
}
|
579
590
|
if (!this.initialUpdateCompleted) {
|
580
591
|
// the spinner will get automatically removed when innerRebuildUpdate is called
|
581
592
|
this.sectionsContainer.createChild('span', 'spinner');
|
@@ -583,16 +594,28 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
583
594
|
}, 200 /* only spin for loading time > 200ms to avoid unpleasant render flashes */);
|
584
595
|
}
|
585
596
|
|
586
|
-
const
|
587
|
-
|
588
|
-
|
597
|
+
const matchedStyles = await this.fetchMatchedCascade();
|
598
|
+
|
599
|
+
if (signal.aborted) {
|
600
|
+
return;
|
601
|
+
}
|
602
|
+
|
603
|
+
const nodeId = this.node()?.id;
|
604
|
+
const parentNodeId = matchedStyles?.getParentLayoutNodeId();
|
589
605
|
|
590
606
|
const [computedStyles, parentsComputedStyles] =
|
591
|
-
await Promise.all([this.fetchComputedStylesFor(
|
607
|
+
await Promise.all([this.fetchComputedStylesFor(nodeId), this.fetchComputedStylesFor(parentNodeId)]);
|
592
608
|
|
593
|
-
|
609
|
+
if (signal.aborted) {
|
610
|
+
return;
|
611
|
+
}
|
612
|
+
|
613
|
+
await this.innerRebuildUpdate(signal, matchedStyles, computedStyles, parentsComputedStyles);
|
614
|
+
|
615
|
+
if (signal.aborted) {
|
616
|
+
return;
|
617
|
+
}
|
594
618
|
|
595
|
-
await this.innerRebuildUpdate(matchedStyles, computedStyles, parentsComputedStyles);
|
596
619
|
if (!this.initialUpdateCompleted) {
|
597
620
|
this.initialUpdateCompleted = true;
|
598
621
|
this.appendToolbarItem(this.createRenderingShortcuts());
|
@@ -604,14 +627,17 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
604
627
|
this.dispatchEventToListeners(Events.InitialUpdateCompleted);
|
605
628
|
}
|
606
629
|
|
630
|
+
this.nodeStylesUpdatedForTest((this.node() as SDK.DOMModel.DOMNode), true);
|
631
|
+
|
607
632
|
this.dispatchEventToListeners(Events.StylesUpdateCompleted, {hasMatchedStyles: this.hasMatchedStyles});
|
608
633
|
}
|
609
634
|
|
610
|
-
private async fetchComputedStylesFor(
|
611
|
-
|
635
|
+
private async fetchComputedStylesFor(nodeId: Protocol.DOM.NodeId|undefined): Promise<Map<string, string>|null> {
|
636
|
+
const node = this.node();
|
637
|
+
if (node === null || nodeId === undefined) {
|
612
638
|
return null;
|
613
639
|
}
|
614
|
-
return await node.domModel().cssModel().getComputedStyle(
|
640
|
+
return await node.domModel().cssModel().getComputedStyle(nodeId);
|
615
641
|
}
|
616
642
|
|
617
643
|
onResize(): void {
|
@@ -734,8 +760,8 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
734
760
|
}
|
735
761
|
|
736
762
|
private async innerRebuildUpdate(
|
737
|
-
matchedStyles: SDK.CSSMatchedStyles.CSSMatchedStyles|null,
|
738
|
-
parentsComputedStyles: Map<string, string>|null): Promise<void> {
|
763
|
+
signal: AbortSignal, matchedStyles: SDK.CSSMatchedStyles.CSSMatchedStyles|null,
|
764
|
+
computedStyles: Map<string, string>|null, parentsComputedStyles: Map<string, string>|null): Promise<void> {
|
739
765
|
// ElementsSidebarPane's throttler schedules this method. Usually,
|
740
766
|
// rebuild is suppressed while editing (see onCSSModelChanged()), but we need a
|
741
767
|
// 'force' flag since the currently running throttler process cannot be canceled.
|
@@ -759,9 +785,15 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
759
785
|
return;
|
760
786
|
}
|
761
787
|
|
762
|
-
|
788
|
+
const blocks = await this.rebuildSectionsForMatchedStyleRules(
|
763
789
|
(matchedStyles as SDK.CSSMatchedStyles.CSSMatchedStyles), computedStyles, parentsComputedStyles);
|
764
790
|
|
791
|
+
if (signal.aborted) {
|
792
|
+
return;
|
793
|
+
}
|
794
|
+
|
795
|
+
this.sectionBlocks = blocks;
|
796
|
+
|
765
797
|
// Style sections maybe re-created when flexbox editor is activated.
|
766
798
|
// With the following code we re-bind the flexbox editor to the new
|
767
799
|
// section with the same index as the previous section had.
|
@@ -813,7 +845,6 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
|
|
813
845
|
} else {
|
814
846
|
this.noMatchesElement.classList.toggle('hidden', this.sectionBlocks.length > 0);
|
815
847
|
}
|
816
|
-
this.nodeStylesUpdatedForTest((node as SDK.DOMModel.DOMNode), true);
|
817
848
|
if (this.lastRevealedProperty) {
|
818
849
|
this.decorator.highlightProperty(this.lastRevealedProperty);
|
819
850
|
this.lastRevealedProperty = null;
|
@@ -9,7 +9,7 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
9
9
|
import * as ElementsComponents from './components/components.js';
|
10
10
|
import * as ElementsTreeOutline from './ElementsTreeOutline.js';
|
11
11
|
|
12
|
-
import type
|
12
|
+
import {type ElementsTreeElement} from './ElementsTreeElement.js';
|
13
13
|
|
14
14
|
const UIStrings = {
|
15
15
|
/**
|
@@ -8,7 +8,7 @@ import * as Input from '../../../ui/components/input/input.js';
|
|
8
8
|
import * as LitHtml from '../../../ui/lit-html/lit-html.js';
|
9
9
|
import adornerSettingsPaneStyles from './adornerSettingsPane.css.js';
|
10
10
|
|
11
|
-
import type
|
11
|
+
import {type AdornerSettingsMap} from './AdornerManager.js';
|
12
12
|
|
13
13
|
const UIStrings = {
|
14
14
|
/**
|
@@ -9,10 +9,9 @@ import * as LitHtml from '../../../ui/lit-html/lit-html.js';
|
|
9
9
|
|
10
10
|
import elementsBreadcrumbsStyles from './elementsBreadcrumbs.css.js';
|
11
11
|
|
12
|
-
import type
|
13
|
-
import {crumbsToRender} from './ElementsBreadcrumbsUtils.js';
|
12
|
+
import {crumbsToRender, type UserScrollPosition} from './ElementsBreadcrumbsUtils.js';
|
14
13
|
import type * as SDK from '../../../core/sdk/sdk.js';
|
15
|
-
import type
|
14
|
+
import {type DOMNode} from './Helper.js';
|
16
15
|
|
17
16
|
import * as NodeText from '../../../ui/components/node_text/node_text.js';
|
18
17
|
|
@@ -7,8 +7,7 @@ import * as ComponentHelpers from '../../../ui/components/helpers/helpers.js';
|
|
7
7
|
import * as UI from '../../../ui/legacy/legacy.js';
|
8
8
|
import * as LitHtml from '../../../ui/lit-html/lit-html.js';
|
9
9
|
|
10
|
-
import type
|
11
|
-
import type {LayoutElement} from './LayoutPaneUtils.js';
|
10
|
+
import {type LayoutElement, type BooleanSetting, type EnumSetting, type Setting} from './LayoutPaneUtils.js';
|
12
11
|
|
13
12
|
import layoutPaneStyles from '../layoutPane.css.js';
|
14
13
|
import * as Input from '../../../ui/components/input/input.js';
|
@@ -8,7 +8,7 @@ import * as IconButton from '../../../ui/components/icon_button/icon_button.js';
|
|
8
8
|
import * as NodeText from '../../../ui/components/node_text/node_text.js';
|
9
9
|
import * as LitHtml from '../../../ui/lit-html/lit-html.js';
|
10
10
|
|
11
|
-
import type
|
11
|
+
import {type DOMNode} from './Helper.js';
|
12
12
|
import queryContainerStyles from './queryContainer.css.js';
|
13
13
|
|
14
14
|
const {render, html} = LitHtml;
|
@@ -8,8 +8,7 @@ import * as IconButton from '../../../ui/components/icon_button/icon_button.js';
|
|
8
8
|
import * as LitHtml from '../../../ui/lit-html/lit-html.js';
|
9
9
|
import stylePropertyEditorStyles from './stylePropertyEditor.css.js';
|
10
10
|
|
11
|
-
import type
|
12
|
-
import {findFlexContainerIcon, findGridContainerIcon} from './CSSPropertyIconResolver.js';
|
11
|
+
import {findFlexContainerIcon, findGridContainerIcon, type IconInfo} from './CSSPropertyIconResolver.js';
|
13
12
|
|
14
13
|
const UIStrings = {
|
15
14
|
/**
|
@@ -8,8 +8,8 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
8
8
|
import * as ThemeSupport from '../../ui/legacy/theme_support/theme_support.js';
|
9
9
|
|
10
10
|
import {DeviceModeWrapper} from './DeviceModeWrapper.js';
|
11
|
-
|
12
|
-
import {Events, InspectedPagePlaceholder} from './InspectedPagePlaceholder.js';
|
11
|
+
|
12
|
+
import {Events, InspectedPagePlaceholder, type Bounds} from './InspectedPagePlaceholder.js';
|
13
13
|
|
14
14
|
let appInstance: AdvancedApp;
|
15
15
|
|
@@ -10,7 +10,7 @@ import type * as Protocol from '../../generated/protocol.js';
|
|
10
10
|
import * as EmulationModel from '../../models/emulation/emulation.js';
|
11
11
|
|
12
12
|
import {DeviceModeView} from './DeviceModeView.js';
|
13
|
-
import type
|
13
|
+
import {type InspectedPagePlaceholder} from './InspectedPagePlaceholder.js';
|
14
14
|
|
15
15
|
let deviceModeWrapperInstance: DeviceModeWrapper;
|
16
16
|
|
@@ -15,8 +15,7 @@ import eventListenersViewStyles from './eventListenersView.css.js';
|
|
15
15
|
|
16
16
|
import type * as Protocol from '../../generated/protocol.js';
|
17
17
|
|
18
|
-
import type
|
19
|
-
import {frameworkEventListeners} from './EventListenersUtils.js';
|
18
|
+
import {frameworkEventListeners, type FrameworkEventListenersObject} from './EventListenersUtils.js';
|
20
19
|
|
21
20
|
const UIStrings = {
|
22
21
|
/**
|
@@ -16,8 +16,8 @@ import type * as NetworkForward from '../../panels/network/forward/forward.js';
|
|
16
16
|
import type * as Protocol from '../../generated/protocol.js';
|
17
17
|
import * as RequestLinkIcon from '../../ui/components/request_link_icon/request_link_icon.js';
|
18
18
|
|
19
|
-
import type
|
20
|
-
import type
|
19
|
+
import {type IssueView} from './IssueView.js';
|
20
|
+
import {type AggregatedIssue} from './IssueAggregator.js';
|
21
21
|
|
22
22
|
const UIStrings = {
|
23
23
|
/**
|
@@ -11,8 +11,8 @@ import * as NetworkForward from '../../panels/network/forward/forward.js';
|
|
11
11
|
|
12
12
|
import {AffectedItem, AffectedResourcesView} from './AffectedResourcesView.js';
|
13
13
|
|
14
|
-
import type
|
15
|
-
import type
|
14
|
+
import {type AggregatedIssue} from './IssueAggregator.js';
|
15
|
+
import {type IssueView} from './IssueView.js';
|
16
16
|
|
17
17
|
const UIStrings = {
|
18
18
|
/**
|
@@ -32,8 +32,8 @@ import {CorsIssueDetailsView} from './CorsIssueDetailsView.js';
|
|
32
32
|
import {GenericIssueDetailsView} from './GenericIssueDetailsView.js';
|
33
33
|
import {AttributionReportingIssueDetailsView} from './AttributionReportingIssueDetailsView.js';
|
34
34
|
|
35
|
-
import type
|
36
|
-
import type
|
35
|
+
import {type AggregatedIssue} from './IssueAggregator.js';
|
36
|
+
import {type HiddenIssuesMenuData} from './components/HideIssuesMenu.js';
|
37
37
|
|
38
38
|
const UIStrings = {
|
39
39
|
/**
|
@@ -13,8 +13,12 @@ import {HiddenIssuesRow} from './HiddenIssuesRow.js';
|
|
13
13
|
import issuesPaneStyles from './issuesPane.css.js';
|
14
14
|
import issuesTreeStyles from './issuesTree.css.js';
|
15
15
|
|
16
|
-
import
|
17
|
-
|
16
|
+
import {
|
17
|
+
Events as IssueAggregatorEvents,
|
18
|
+
IssueAggregator,
|
19
|
+
type AggregatedIssue,
|
20
|
+
type AggregationKey,
|
21
|
+
} from './IssueAggregator.js';
|
18
22
|
import {IssueView} from './IssueView.js';
|
19
23
|
import {IssueKindView, getGroupIssuesByKindSetting, issueKindViewSortPriority} from './IssueKindView.js';
|
20
24
|
|
@@ -38,8 +38,14 @@ import layerDetailsViewStyles from './layerDetailsView.css.js';
|
|
38
38
|
|
39
39
|
import type * as Protocol from '../../generated/protocol.js';
|
40
40
|
|
41
|
-
import
|
42
|
-
|
41
|
+
import {
|
42
|
+
ScrollRectSelection,
|
43
|
+
Type,
|
44
|
+
type LayerView,
|
45
|
+
type LayerViewHost,
|
46
|
+
type Selection,
|
47
|
+
type SnapshotSelection,
|
48
|
+
} from './LayerViewHost.js';
|
43
49
|
|
44
50
|
const UIStrings = {
|
45
51
|
/**
|
@@ -33,8 +33,13 @@ import * as i18n from '../../core/i18n/i18n.js';
|
|
33
33
|
import type * as SDK from '../../core/sdk/sdk.js';
|
34
34
|
import * as UI from '../../ui/legacy/legacy.js';
|
35
35
|
|
36
|
-
import
|
37
|
-
|
36
|
+
import {
|
37
|
+
LayerSelection,
|
38
|
+
type LayerView,
|
39
|
+
type LayerViewHost,
|
40
|
+
type Selection,
|
41
|
+
type SnapshotSelection,
|
42
|
+
} from './LayerViewHost.js';
|
38
43
|
|
39
44
|
const UIStrings = {
|
40
45
|
/**
|
@@ -39,8 +39,15 @@ import type * as Protocol from '../../generated/protocol.js';
|
|
39
39
|
import type * as SDK from '../../core/sdk/sdk.js';
|
40
40
|
import * as UI from '../../ui/legacy/legacy.js';
|
41
41
|
|
42
|
-
import
|
43
|
-
|
42
|
+
import {
|
43
|
+
LayerSelection,
|
44
|
+
Selection,
|
45
|
+
SnapshotSelection,
|
46
|
+
Type,
|
47
|
+
ScrollRectSelection,
|
48
|
+
type LayerView,
|
49
|
+
type LayerViewHost,
|
50
|
+
} from './LayerViewHost.js';
|
44
51
|
import {Events as TransformControllerEvents, TransformController} from './TransformController.js';
|
45
52
|
|
46
53
|
const UIStrings = {
|
@@ -8,7 +8,7 @@ import * as Platform from '../../core/platform/platform.js';
|
|
8
8
|
import * as SDK from '../../core/sdk/sdk.js';
|
9
9
|
import * as Protocol from '../../generated/protocol.js';
|
10
10
|
|
11
|
-
import type
|
11
|
+
import {type ProtocolService} from './LighthouseProtocolService.js';
|
12
12
|
|
13
13
|
const UIStrings = {
|
14
14
|
/**
|
@@ -11,14 +11,18 @@ import * as EmulationModel from '../../models/emulation/emulation.js';
|
|
11
11
|
import * as UI from '../../ui/legacy/legacy.js';
|
12
12
|
import * as Emulation from '../emulation/emulation.js';
|
13
13
|
|
14
|
-
import
|
15
|
-
|
16
|
-
|
14
|
+
import {
|
15
|
+
Events,
|
16
|
+
LighthouseController,
|
17
|
+
type AuditProgressChangedEvent,
|
18
|
+
type PageAuditabilityChangedEvent,
|
19
|
+
type PageWarningsChangedEvent,
|
20
|
+
} from './LighthouseController.js';
|
17
21
|
import lighthousePanelStyles from './lighthousePanel.css.js';
|
18
|
-
import type {LighthouseRun} from './LighthouseProtocolService.js';
|
19
|
-
import {ProtocolService} from './LighthouseProtocolService.js';
|
20
22
|
|
21
|
-
import
|
23
|
+
import {ProtocolService, type LighthouseRun} from './LighthouseProtocolService.js';
|
24
|
+
|
25
|
+
import {type ReportJSON, type RunnerResultArtifacts} from './LighthouseReporterTypes.js';
|
22
26
|
import * as LighthouseReport from '../../third_party/lighthouse/report/report.js';
|
23
27
|
import {LighthouseReportRenderer, LighthouseReportUIFeatures} from './LighthouseReportRenderer.js';
|
24
28
|
import {Item, ReportSelector} from './LighthouseReportSelector.js';
|
@@ -13,7 +13,11 @@ import * as Components from '../../ui/legacy/components/utils/utils.js';
|
|
13
13
|
import * as UI from '../../ui/legacy/legacy.js';
|
14
14
|
import * as ThemeSupport from '../../ui/legacy/theme_support/theme_support.js';
|
15
15
|
import * as Timeline from '../timeline/timeline.js';
|
16
|
-
import
|
16
|
+
import {
|
17
|
+
type RunnerResultArtifacts,
|
18
|
+
type NodeDetailsJSON,
|
19
|
+
type SourceLocationDetailsJSON,
|
20
|
+
} from './LighthouseReporterTypes.js';
|
17
21
|
|
18
22
|
const UIStrings = {
|
19
23
|
/**
|
@@ -7,8 +7,7 @@ import type * as Common from '../../core/common/common.js';
|
|
7
7
|
import * as i18n from '../../core/i18n/i18n.js';
|
8
8
|
import * as UI from '../../ui/legacy/legacy.js';
|
9
9
|
|
10
|
-
import type
|
11
|
-
import {Events, Presets, RuntimeSettings} from './LighthouseController.js';
|
10
|
+
import {Events, Presets, RuntimeSettings, type LighthouseController, type Preset} from './LighthouseController.js';
|
12
11
|
import {RadioSetting} from './RadioSetting.js';
|
13
12
|
|
14
13
|
const UIStrings = {
|
@@ -8,8 +8,7 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
8
8
|
|
9
9
|
import lighthouseDialogStyles from './lighthouseDialog.css.js';
|
10
10
|
|
11
|
-
import type
|
12
|
-
import {Events, RuntimeSettings} from './LighthouseController.js';
|
11
|
+
import {Events, RuntimeSettings, type LighthouseController} from './LighthouseController.js';
|
13
12
|
|
14
13
|
const UIStrings = {
|
15
14
|
/**
|
@@ -5,8 +5,7 @@
|
|
5
5
|
import * as i18n from '../../core/i18n/i18n.js';
|
6
6
|
import * as UI from '../../ui/legacy/legacy.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
import {Events} from './LighthouseController.js';
|
8
|
+
import {Events, type LighthouseController} from './LighthouseController.js';
|
10
9
|
import lighthouseDialogStyles from './lighthouseDialog.css.js';
|
11
10
|
|
12
11
|
const UIStrings = {
|