chrome-devtools-frontend 1.0.1023618 → 1.0.1024166
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 -0
- package/front_end/core/i18n/locales/en-XL.json +15 -0
- 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 +3 -3
- package/front_end/core/sdk/CSSMedia.ts +1 -1
- package/front_end/core/sdk/CSSModel.ts +6 -6
- 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 +2 -2
- 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 +2 -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 +2 -2
- 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/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 +39 -8
- 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/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 +7 -2
- 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 +9 -4
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +10 -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/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
@@ -6,7 +6,6 @@ import * as ComponentHelpers from '../../../components/helpers/helpers.js';
|
|
6
6
|
import * as LitHtml from '../../../lit-html/lit-html.js';
|
7
7
|
import cssAngleStyles from './cssAngle.css.js';
|
8
8
|
|
9
|
-
import type {Angle} from './CSSAngleUtils.js';
|
10
9
|
import {
|
11
10
|
AngleUnit,
|
12
11
|
convertAngleUnit,
|
@@ -14,13 +13,13 @@ import {
|
|
14
13
|
getNextUnit,
|
15
14
|
parseText,
|
16
15
|
roundAngleByUnit,
|
16
|
+
type Angle,
|
17
17
|
} from './CSSAngleUtils.js';
|
18
18
|
import {ValueChangedEvent} from './InlineEditorUtils.js';
|
19
19
|
|
20
|
-
import type
|
21
|
-
|
22
|
-
import type
|
23
|
-
import {CSSAngleSwatch} from './CSSAngleSwatch.js';
|
20
|
+
import {CSSAngleEditor, type CSSAngleEditorData} from './CSSAngleEditor.js';
|
21
|
+
|
22
|
+
import {CSSAngleSwatch, type CSSAngleSwatchData} from './CSSAngleSwatch.js';
|
24
23
|
|
25
24
|
const {render, html} = LitHtml;
|
26
25
|
const styleMap = LitHtml.Directives.styleMap;
|
@@ -7,13 +7,13 @@ import * as ComponentHelpers from '../../../components/helpers/helpers.js';
|
|
7
7
|
import * as LitHtml from '../../../lit-html/lit-html.js';
|
8
8
|
import cssAngleEditorStyles from './cssAngleEditor.css.js';
|
9
9
|
|
10
|
-
import type {Angle} from './CSSAngleUtils.js';
|
11
10
|
import {
|
12
11
|
AngleUnit,
|
13
12
|
get2DTranslationsForAngle,
|
14
13
|
getAngleFromRadians,
|
15
14
|
getNewAngleFromEvent,
|
16
15
|
getRadiansFromAngle,
|
16
|
+
type Angle,
|
17
17
|
} from './CSSAngleUtils.js';
|
18
18
|
|
19
19
|
const {render, html} = LitHtml;
|
@@ -6,8 +6,7 @@ import * as ComponentHelpers from '../../../components/helpers/helpers.js';
|
|
6
6
|
import * as LitHtml from '../../../lit-html/lit-html.js';
|
7
7
|
import cssAngleSwatchStyles from './cssAngleSwatch.css.js';
|
8
8
|
|
9
|
-
import type
|
10
|
-
import {AngleUnit, get2DTranslationsForAngle} from './CSSAngleUtils.js';
|
9
|
+
import {AngleUnit, get2DTranslationsForAngle, type Angle} from './CSSAngleUtils.js';
|
11
10
|
|
12
11
|
const {render, html} = LitHtml;
|
13
12
|
const styleMap = LitHtml.Directives.styleMap;
|
@@ -6,8 +6,7 @@ import * as ComponentHelpers from '../../../components/helpers/helpers.js';
|
|
6
6
|
import * as LitHtml from '../../../lit-html/lit-html.js';
|
7
7
|
import cssLengthStyles from './cssLength.css.js';
|
8
8
|
|
9
|
-
import type
|
10
|
-
import {LengthUnit, LENGTH_UNITS, parseText} from './CSSLengthUtils.js';
|
9
|
+
import {LengthUnit, LENGTH_UNITS, parseText, type Length} from './CSSLengthUtils.js';
|
11
10
|
import {ValueChangedEvent} from './InlineEditorUtils.js';
|
12
11
|
|
13
12
|
const {render, html} = LitHtml;
|
@@ -7,8 +7,7 @@ import * as i18n from '../../../../core/i18n/i18n.js';
|
|
7
7
|
import * as Platform from '../../../../core/platform/platform.js';
|
8
8
|
import * as UI from '../../legacy.js';
|
9
9
|
|
10
|
-
import type
|
11
|
-
import {CSSLength} from './CSSShadowModel.js';
|
10
|
+
import {CSSLength, type CSSShadowModel} from './CSSShadowModel.js';
|
12
11
|
import cssShadowEditorStyles from './cssShadowEditor.css.js';
|
13
12
|
|
14
13
|
const UIStrings = {
|
@@ -7,7 +7,7 @@ import * as TextUtils from '../../../../models/text_utils/text_utils.js';
|
|
7
7
|
import * as UI from '../../legacy.js';
|
8
8
|
|
9
9
|
import {ColorSwatch, FormatChangedEvent} from './ColorSwatch.js';
|
10
|
-
import type
|
10
|
+
import {type CSSShadowModel} from './CSSShadowModel.js';
|
11
11
|
import bezierSwatchStyles from './bezierSwatch.css.js';
|
12
12
|
import cssShadowSwatchStyles from './cssShadowSwatch.css.js';
|
13
13
|
|
@@ -38,10 +38,9 @@ import type * as TimelineModel from '../../../../models/timeline_model/timeline_
|
|
38
38
|
import * as UI from '../../legacy.js';
|
39
39
|
import * as ThemeSupport from '../../theme_support/theme_support.js';
|
40
40
|
|
41
|
-
import type
|
42
|
-
|
43
|
-
import type
|
44
|
-
import {TimelineGrid} from './TimelineGrid.js';
|
41
|
+
import {ChartViewport, type ChartViewportDelegate} from './ChartViewport.js';
|
42
|
+
|
43
|
+
import {TimelineGrid, type Calculator} from './TimelineGrid.js';
|
45
44
|
import flameChartStyles from './flameChart.css.legacy.js';
|
46
45
|
|
47
46
|
const UIStrings = {
|
@@ -34,8 +34,7 @@ import * as Platform from '../../../../core/platform/platform.js';
|
|
34
34
|
import * as UI from '../../legacy.js';
|
35
35
|
import * as ThemeSupport from '../../theme_support/theme_support.js';
|
36
36
|
|
37
|
-
import type
|
38
|
-
import {TimelineGrid} from './TimelineGrid.js';
|
37
|
+
import {TimelineGrid, type Calculator} from './TimelineGrid.js';
|
39
38
|
import overviewGridStyles from './overviewGrid.css.legacy.js';
|
40
39
|
|
41
40
|
const UIStrings = {
|
@@ -33,9 +33,8 @@ import type * as SDK from '../../../../core/sdk/sdk.js';
|
|
33
33
|
import * as UI from '../../legacy.js';
|
34
34
|
import * as i18n from '../../../../core/i18n/i18n.js';
|
35
35
|
|
36
|
-
import type
|
37
|
-
import {
|
38
|
-
import type {Calculator} from './TimelineGrid.js';
|
36
|
+
import {Events as OverviewGridEvents, OverviewGrid, type WindowChangedWithPositionEvent} from './OverviewGrid.js';
|
37
|
+
import {type Calculator} from './TimelineGrid.js';
|
39
38
|
import timelineOverviewInfoStyles from './timelineOverviewInfo.css.js';
|
40
39
|
|
41
40
|
export class TimelineOverviewPane extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.VBox>(
|
@@ -5,8 +5,7 @@
|
|
5
5
|
import * as i18n from '../../../../core/i18n/i18n.js';
|
6
6
|
import type * as UI from '../../legacy.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
import {FilteredListWidget, getRegisteredProviders} from './FilteredListWidget.js';
|
8
|
+
import {FilteredListWidget, getRegisteredProviders, type Provider} from './FilteredListWidget.js';
|
10
9
|
|
11
10
|
const UIStrings = {
|
12
11
|
/**
|
@@ -35,8 +35,7 @@ import * as i18n from '../../../../core/i18n/i18n.js';
|
|
35
35
|
import type * as TextUtils from '../../../../models/text_utils/text_utils.js';
|
36
36
|
import * as UI from '../../legacy.js';
|
37
37
|
|
38
|
-
import type
|
39
|
-
import {SourceFrameImpl} from './SourceFrame.js';
|
38
|
+
import {SourceFrameImpl, type SourceFrameOptions} from './SourceFrame.js';
|
40
39
|
import resourceSourceFrameStyles from './resourceSourceFrame.css.legacy.js';
|
41
40
|
|
42
41
|
const UIStrings = {
|
@@ -4,8 +4,7 @@
|
|
4
4
|
|
5
5
|
import {luminance} from '../front_end/core/common/ColorUtils.js'; // eslint-disable-line rulesdir/es_modules_import
|
6
6
|
|
7
|
-
import type
|
8
|
-
import {createChild} from './common.js';
|
7
|
+
import {createChild, type AreaBounds, type Bounds, type Position} from './common.js';
|
9
8
|
import {applyMatrixToPoint, parseHexa} from './highlight_common.js';
|
10
9
|
|
11
10
|
/**
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
import {rgbaToHsla, rgbaToHwba} from '../front_end/core/common/ColorUtils.js'; // eslint-disable-line rulesdir/es_modules_import
|
32
32
|
|
33
|
-
import type
|
33
|
+
import {type Bounds, type PathCommands, type Quad} from './common.js';
|
34
34
|
|
35
35
|
export type PathBounds = Bounds&{
|
36
36
|
leftmostXForY: {[key: string]: number},
|
@@ -2,9 +2,9 @@
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
4
|
|
5
|
-
import type
|
6
|
-
|
7
|
-
import {buildPath, drawPathWithLineStyle, emptyBounds} from './highlight_common.js';
|
5
|
+
import {type PathCommands} from './common.js';
|
6
|
+
|
7
|
+
import {buildPath, drawPathWithLineStyle, emptyBounds, type LineStyle} from './highlight_common.js';
|
8
8
|
|
9
9
|
interface QueryingDescendantData {
|
10
10
|
descendantBorder: PathCommands;
|
@@ -2,9 +2,18 @@
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
4
|
|
5
|
-
import type
|
6
|
-
|
7
|
-
import {
|
5
|
+
import {type PathCommands, type Position, type Quad} from './common.js';
|
6
|
+
|
7
|
+
import {
|
8
|
+
buildPath,
|
9
|
+
createPathForQuad,
|
10
|
+
drawPathWithLineStyle,
|
11
|
+
emptyBounds,
|
12
|
+
fillPathWithBoxStyle,
|
13
|
+
hatchFillPath,
|
14
|
+
type BoxStyle,
|
15
|
+
type LineStyle,
|
16
|
+
} from './highlight_common.js';
|
8
17
|
|
9
18
|
type FlexLinesData = FlexItemData[][];
|
10
19
|
|
@@ -28,9 +28,9 @@
|
|
28
28
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
29
29
|
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
30
|
|
31
|
-
import type
|
32
|
-
|
33
|
-
import {drawGridLabels} from './css_grid_label_helpers.js';
|
31
|
+
import {type AreaBounds, type Bounds} from './common.js';
|
32
|
+
|
33
|
+
import {drawGridLabels, type GridLabelState} from './css_grid_label_helpers.js';
|
34
34
|
import {applyMatrixToPoint, buildPath, emptyBounds, hatchFillPath} from './highlight_common.js';
|
35
35
|
|
36
36
|
// TODO(alexrudenko): Grid label unit tests depend on this style so it cannot be extracted yet.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
4
|
|
5
|
-
import type
|
5
|
+
import {type PathCommands} from './common.js';
|
6
6
|
import {buildPath, emptyBounds, fillPathWithBoxStyle} from './highlight_common.js';
|
7
7
|
|
8
8
|
export interface IsolatedElementHighlight {
|
@@ -3,9 +3,9 @@
|
|
3
3
|
// Use of this source code is governed by a BSD-style license that can be
|
4
4
|
// found in the LICENSE file.
|
5
5
|
|
6
|
-
import type
|
7
|
-
|
8
|
-
import {drawPath, emptyBounds} from './highlight_common.js';
|
6
|
+
import {type Bounds, type PathCommands, type Position} from './common.js';
|
7
|
+
|
8
|
+
import {drawPath, emptyBounds, type LineStyle, type PathBounds} from './highlight_common.js';
|
9
9
|
|
10
10
|
type SnapAlignment = 'none'|'start'|'end'|'center';
|
11
11
|
export interface ScrollSnapHighlight {
|
@@ -14,14 +14,14 @@ import highlightStyle from './tool_highlight.css'; // eslint-disable-line rulesd
|
|
14
14
|
import {HighlightOverlay} from './tool_highlight.js';
|
15
15
|
// @ts-ignore Importing CSS is handled in Rollup.
|
16
16
|
import pausedStyle from './tool_paused.css'; // eslint-disable-line rulesdir/es_modules_import
|
17
|
-
|
18
|
-
import {PausedOverlay} from './tool_paused.js';
|
19
|
-
|
20
|
-
import {PersistentOverlay} from './tool_persistent.js';
|
17
|
+
|
18
|
+
import {PausedOverlay, type PausedToolMessage} from './tool_paused.js';
|
19
|
+
|
20
|
+
import {PersistentOverlay, type PersistentToolMessage} from './tool_persistent.js';
|
21
21
|
// @ts-ignore Importing CSS is handled in Rollup.
|
22
22
|
import screenshotStyle from './tool_screenshot.css'; // eslint-disable-line rulesdir/es_modules_import
|
23
|
-
import {ScreenshotOverlay} from './tool_screenshot.js';
|
24
|
-
|
23
|
+
import {ScreenshotOverlay, type ScreenshotToolMessage} from './tool_screenshot.js';
|
24
|
+
|
25
25
|
// @ts-ignore Importing CSS is handled in Rollup.
|
26
26
|
import sourceOrderStyle from './tool_source_order.css'; // eslint-disable-line rulesdir/es_modules_import
|
27
27
|
import {SourceOrderOverlay} from './tool_source_order.js';
|
@@ -30,18 +30,32 @@
|
|
30
30
|
|
31
31
|
import {contrastRatio, contrastRatioAPCA, getAPCAThreshold, getContrastThreshold} from '../front_end/core/common/ColorUtils.js'; // eslint-disable-line rulesdir/es_modules_import
|
32
32
|
|
33
|
-
import
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
33
|
+
import {
|
34
|
+
constrainNumber,
|
35
|
+
createChild,
|
36
|
+
createElement,
|
37
|
+
createTextChild,
|
38
|
+
ellipsify,
|
39
|
+
Overlay,
|
40
|
+
type Bounds,
|
41
|
+
type PathCommands,
|
42
|
+
type ResetData,
|
43
|
+
} from './common.js';
|
44
|
+
|
45
|
+
import {drawPath, emptyBounds, formatColor, formatRgba, parseHexa, type PathBounds} from './highlight_common.js';
|
46
|
+
|
47
|
+
import {
|
48
|
+
drawLayoutFlexContainerHighlight,
|
49
|
+
drawLayoutFlexItemHighlight,
|
50
|
+
type FlexContainerHighlight,
|
51
|
+
type FlexItemHighlight,
|
52
|
+
} from './highlight_flex_common.js';
|
53
|
+
|
54
|
+
import {drawLayoutGridHighlight, type GridHighlight} from './highlight_grid_common.js';
|
55
|
+
import {type ScrollSnapHighlight} from './highlight_scroll_snap.js';
|
56
|
+
|
57
|
+
import {drawContainerQueryHighlight, type ContainerQueryHighlight} from './highlight_container_query.js';
|
58
|
+
import {type IsolatedElementHighlight} from './highlight_isolated_element.js';
|
45
59
|
import {PersistentOverlay} from './tool_persistent.js';
|
46
60
|
|
47
61
|
interface Path {
|
@@ -28,20 +28,19 @@
|
|
28
28
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
29
29
|
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
30
|
|
31
|
-
import type
|
32
|
-
|
33
|
-
import type
|
34
|
-
|
35
|
-
import type
|
36
|
-
|
37
|
-
import type
|
38
|
-
|
39
|
-
import type
|
40
|
-
|
41
|
-
import type
|
42
|
-
|
43
|
-
import type
|
44
|
-
import {drawScrollSnapHighlight} from './highlight_scroll_snap.js';
|
31
|
+
import {Overlay, type ResetData} from './common.js';
|
32
|
+
|
33
|
+
import {DragResizeHandler, ResizerType, type Delegate} from './drag_resize_handler.js';
|
34
|
+
|
35
|
+
import {drawContainerQueryHighlight, type ContainerQueryHighlight} from './highlight_container_query.js';
|
36
|
+
|
37
|
+
import {drawLayoutFlexContainerHighlight, type FlexContainerHighlight} from './highlight_flex_common.js';
|
38
|
+
|
39
|
+
import {drawLayoutGridHighlight, type GridHighlight} from './highlight_grid_common.js';
|
40
|
+
|
41
|
+
import {drawIsolatedElementHighlight, type IsolatedElementHighlight} from './highlight_isolated_element.js';
|
42
|
+
|
43
|
+
import {drawScrollSnapHighlight, type ScrollSnapHighlight} from './highlight_scroll_snap.js';
|
45
44
|
|
46
45
|
export type PersistentToolMessage = {
|
47
46
|
highlightType: string,
|
@@ -28,10 +28,9 @@
|
|
28
28
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
29
29
|
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
30
|
|
31
|
-
import type
|
32
|
-
|
33
|
-
import type
|
34
|
-
import {buildPath, emptyBounds} from './highlight_common.js';
|
31
|
+
import {createChild, Overlay, type Bounds, type ResetData} from './common.js';
|
32
|
+
|
33
|
+
import {buildPath, emptyBounds, type PathBounds} from './highlight_common.js';
|
35
34
|
|
36
35
|
interface Path {
|
37
36
|
path: Array<string|number>;
|
package/package.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
import * as fs from 'fs';
|
10
10
|
import * as path from 'path';
|
11
11
|
|
12
|
-
import type
|
12
|
+
import {type Protocol} from './protocol_schema.js';
|
13
13
|
|
14
14
|
const PROTOCOL_JSON_PATH = path.resolve(
|
15
15
|
__dirname, path.join('..', '..', 'third_party', 'blink', 'public', 'devtools_protocol', 'browser_protocol.json'));
|