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.
Files changed (344) hide show
  1. package/.eslintignore +1 -1
  2. package/.eslintrc.js +1 -0
  3. package/front_end/core/common/AppProvider.ts +1 -1
  4. package/front_end/core/common/Object.ts +7 -2
  5. package/front_end/core/common/SettingRegistration.ts +1 -1
  6. package/front_end/core/common/Settings.ts +2 -3
  7. package/front_end/core/host/InspectorFrontendHost.ts +13 -5
  8. package/front_end/core/host/ResourceLoader.ts +1 -1
  9. package/front_end/core/i18n/locales/en-US.json +15 -0
  10. package/front_end/core/i18n/locales/en-XL.json +15 -0
  11. package/front_end/core/platform/UserVisibleError.ts +1 -1
  12. package/front_end/core/sdk/AccessibilityModel.ts +3 -4
  13. package/front_end/core/sdk/CPUProfileDataModel.ts +1 -1
  14. package/front_end/core/sdk/CPUProfilerModel.ts +3 -3
  15. package/front_end/core/sdk/CPUThrottlingManager.ts +2 -2
  16. package/front_end/core/sdk/CSSContainerQuery.ts +2 -2
  17. package/front_end/core/sdk/CSSLayer.ts +1 -1
  18. package/front_end/core/sdk/CSSMatchedStyles.ts +3 -3
  19. package/front_end/core/sdk/CSSMedia.ts +1 -1
  20. package/front_end/core/sdk/CSSModel.ts +6 -6
  21. package/front_end/core/sdk/CSSProperty.ts +2 -2
  22. package/front_end/core/sdk/CSSQuery.ts +2 -3
  23. package/front_end/core/sdk/CSSRule.ts +2 -2
  24. package/front_end/core/sdk/CSSScope.ts +1 -1
  25. package/front_end/core/sdk/CSSStyleDeclaration.ts +3 -3
  26. package/front_end/core/sdk/CSSStyleSheetHeader.ts +3 -3
  27. package/front_end/core/sdk/CSSSupports.ts +1 -1
  28. package/front_end/core/sdk/ChildTargetManager.ts +2 -2
  29. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +1 -2
  30. package/front_end/core/sdk/ConsoleModel.ts +15 -12
  31. package/front_end/core/sdk/CookieModel.ts +4 -5
  32. package/front_end/core/sdk/DOMDebuggerModel.ts +7 -7
  33. package/front_end/core/sdk/DOMModel.ts +3 -3
  34. package/front_end/core/sdk/DebuggerModel.ts +5 -6
  35. package/front_end/core/sdk/EmulationModel.ts +2 -2
  36. package/front_end/core/sdk/EventBreakpointsModel.ts +4 -4
  37. package/front_end/core/sdk/FilmStripModel.ts +1 -2
  38. package/front_end/core/sdk/FrameAssociated.ts +1 -1
  39. package/front_end/core/sdk/FrameManager.ts +6 -6
  40. package/front_end/core/sdk/HeapProfilerModel.ts +4 -4
  41. package/front_end/core/sdk/IOModel.ts +2 -2
  42. package/front_end/core/sdk/IsolateManager.ts +3 -3
  43. package/front_end/core/sdk/IssuesModel.ts +1 -2
  44. package/front_end/core/sdk/LayerTreeBase.ts +3 -4
  45. package/front_end/core/sdk/LogModel.ts +1 -2
  46. package/front_end/core/sdk/NetworkManager.ts +18 -9
  47. package/front_end/core/sdk/NetworkRequest.ts +1 -2
  48. package/front_end/core/sdk/OverlayModel.ts +5 -5
  49. package/front_end/core/sdk/PageLoad.ts +1 -1
  50. package/front_end/core/sdk/PageResourceLoader.ts +3 -3
  51. package/front_end/core/sdk/PaintProfiler.ts +1 -2
  52. package/front_end/core/sdk/PerformanceMetricsModel.ts +1 -2
  53. package/front_end/core/sdk/ProfileTreeModel.ts +1 -1
  54. package/front_end/core/sdk/RemoteObject.ts +3 -3
  55. package/front_end/core/sdk/Resource.ts +2 -3
  56. package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
  57. package/front_end/core/sdk/RuntimeModel.ts +5 -5
  58. package/front_end/core/sdk/SDKModel.ts +1 -1
  59. package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
  60. package/front_end/core/sdk/Script.ts +5 -6
  61. package/front_end/core/sdk/SecurityOriginManager.ts +1 -2
  62. package/front_end/core/sdk/ServerTiming.ts +1 -1
  63. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +3 -3
  64. package/front_end/core/sdk/ServiceWorkerManager.ts +3 -4
  65. package/front_end/core/sdk/SourceMap.ts +2 -2
  66. package/front_end/core/sdk/SourceMapManager.ts +5 -5
  67. package/front_end/core/sdk/StorageKeyManager.ts +1 -2
  68. package/front_end/core/sdk/Target.ts +1 -1
  69. package/front_end/core/sdk/TargetManager.ts +1 -1
  70. package/front_end/core/sdk/TracingManager.ts +2 -3
  71. package/front_end/core/sdk/TracingModel.ts +1 -1
  72. package/front_end/core/sdk/WebAuthnModel.ts +1 -2
  73. package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +1 -1
  74. package/front_end/entrypoints/formatter_worker/CSSRuleParser.ts +1 -2
  75. package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
  76. package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +1 -1
  77. package/front_end/entrypoints/formatter_worker/IdentityFormatter.ts +1 -1
  78. package/front_end/entrypoints/formatter_worker/JSONFormatter.ts +1 -1
  79. package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +2 -3
  80. package/front_end/entrypoints/formatter_worker/JavaScriptOutline.ts +1 -1
  81. package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
  82. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
  83. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotLoader.ts +3 -3
  84. package/front_end/models/bindings/BreakpointManager.ts +2 -2
  85. package/front_end/models/bindings/CSSWorkspaceBinding.ts +5 -2
  86. package/front_end/models/bindings/CompilerScriptMapping.ts +5 -1
  87. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +2 -2
  88. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +4 -4
  89. package/front_end/models/bindings/DefaultScriptMapping.ts +1 -1
  90. package/front_end/models/bindings/IgnoreListManager.ts +1 -1
  91. package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -2
  92. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -4
  93. package/front_end/models/bindings/SASSSourceMapping.ts +2 -2
  94. package/front_end/models/bindings/StylesSourceMapping.ts +1 -1
  95. package/front_end/models/bindings/TempFile.ts +1 -2
  96. package/front_end/models/emulation/DeviceModeModel.ts +8 -2
  97. package/front_end/models/extensions/ExtensionPanel.ts +1 -1
  98. package/front_end/models/extensions/ExtensionServer.ts +3 -3
  99. package/front_end/models/extensions/ExtensionView.ts +1 -1
  100. package/front_end/models/extensions/LanguageExtensionEndpoint.ts +1 -1
  101. package/front_end/models/extensions/RecorderPluginManager.ts +1 -1
  102. package/front_end/models/formatter/SourceFormatter.ts +1 -2
  103. package/front_end/models/har/Importer.ts +1 -1
  104. package/front_end/models/har/Writer.ts +2 -2
  105. package/front_end/models/issues_manager/AttributionReportingIssue.ts +1 -1
  106. package/front_end/models/issues_manager/ClientHintIssue.ts +6 -2
  107. package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +6 -2
  108. package/front_end/models/issues_manager/CookieIssue.ts +6 -2
  109. package/front_end/models/issues_manager/CorsIssue.ts +1 -1
  110. package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +6 -2
  111. package/front_end/models/issues_manager/DeprecationIssue.ts +2 -2
  112. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +6 -2
  113. package/front_end/models/issues_manager/GenericIssue.ts +6 -2
  114. package/front_end/models/issues_manager/HeavyAdIssue.ts +1 -1
  115. package/front_end/models/issues_manager/Issue.ts +1 -1
  116. package/front_end/models/issues_manager/IssueResolver.ts +2 -3
  117. package/front_end/models/issues_manager/IssuesManager.ts +1 -1
  118. package/front_end/models/issues_manager/LowTextContrastIssue.ts +1 -1
  119. package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
  120. package/front_end/models/issues_manager/NavigatorUserAgentIssue.ts +1 -1
  121. package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
  122. package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
  123. package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +1 -1
  124. package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +3 -3
  125. package/front_end/models/issues_manager/TrustedWebActivityIssue.ts +6 -2
  126. package/front_end/models/persistence/Automapping.ts +1 -2
  127. package/front_end/models/persistence/EditFileSystemView.ts +1 -1
  128. package/front_end/models/persistence/FileSystemWorkspaceBinding.ts +4 -4
  129. package/front_end/models/persistence/IsolatedFileSystem.ts +1 -2
  130. package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
  131. package/front_end/models/persistence/NetworkPersistenceManager.ts +1 -2
  132. package/front_end/models/persistence/PersistenceImpl.ts +1 -2
  133. package/front_end/models/persistence/PersistenceUtils.ts +1 -2
  134. package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -2
  135. package/front_end/models/text_utils/StaticContentProvider.ts +1 -1
  136. package/front_end/models/timeline_model/TimelineFrameModel.ts +2 -2
  137. package/front_end/models/timeline_model/TimelineProfileTree.ts +1 -1
  138. package/front_end/models/timeline_model/TracingLayerTree.ts +1 -1
  139. package/front_end/models/workspace/UISourceCode.ts +1 -2
  140. package/front_end/models/workspace/WorkspaceImpl.ts +1 -2
  141. package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +1 -1
  142. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
  143. package/front_end/panels/animation/AnimationTimeline.ts +7 -2
  144. package/front_end/panels/animation/AnimationUI.ts +3 -3
  145. package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
  146. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -7
  147. package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
  148. package/front_end/panels/application/BackgroundServiceView.ts +1 -2
  149. package/front_end/panels/application/DatabaseQueryView.ts +1 -1
  150. package/front_end/panels/application/DatabaseTableView.ts +1 -1
  151. package/front_end/panels/application/IndexedDBViews.ts +9 -2
  152. package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
  153. package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
  154. package/front_end/panels/application/ResourcesPanel.ts +1 -1
  155. package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
  156. package/front_end/panels/application/components/FrameDetailsView.ts +9 -6
  157. package/front_end/panels/console/ConsoleFilter.ts +1 -1
  158. package/front_end/panels/console/ConsoleSidebar.ts +2 -3
  159. package/front_end/panels/console/ConsoleView.ts +2 -4
  160. package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
  161. package/front_end/panels/console/ConsoleViewport.ts +1 -1
  162. package/front_end/panels/coverage/CoverageDecorationManager.ts +1 -1
  163. package/front_end/panels/coverage/CoverageListView.ts +1 -2
  164. package/front_end/panels/coverage/CoverageView.ts +1 -2
  165. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -5
  166. package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
  167. package/front_end/panels/css_overview/CSSOverviewModel.ts +3 -3
  168. package/front_end/panels/css_overview/CSSOverviewPanel.ts +4 -5
  169. package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -2
  170. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +3 -3
  171. package/front_end/panels/elements/ComputedStyleWidget.ts +3 -4
  172. package/front_end/panels/elements/ElementsPanel.ts +7 -4
  173. package/front_end/panels/elements/ElementsSidebarPane.ts +1 -2
  174. package/front_end/panels/elements/ElementsTreeElement.ts +3 -4
  175. package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
  176. package/front_end/panels/elements/PlatformFontsWidget.ts +1 -2
  177. package/front_end/panels/elements/StyleEditorWidget.ts +2 -2
  178. package/front_end/panels/elements/StylePropertiesSection.ts +1 -2
  179. package/front_end/panels/elements/StylePropertyHighlighter.ts +2 -2
  180. package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -3
  181. package/front_end/panels/elements/StylesSidebarPane.ts +39 -8
  182. package/front_end/panels/elements/TopLayerContainer.ts +1 -1
  183. package/front_end/panels/elements/components/AdornerSettingsPane.ts +1 -1
  184. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -3
  185. package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +1 -1
  186. package/front_end/panels/elements/components/LayoutPane.ts +1 -2
  187. package/front_end/panels/elements/components/QueryContainer.ts +1 -1
  188. package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -2
  189. package/front_end/panels/emulation/AdvancedApp.ts +2 -2
  190. package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
  191. package/front_end/panels/event_listeners/EventListenersView.ts +1 -2
  192. package/front_end/panels/issues/AffectedResourcesView.ts +2 -2
  193. package/front_end/panels/issues/CorsIssueDetailsView.ts +2 -2
  194. package/front_end/panels/issues/IssueView.ts +2 -2
  195. package/front_end/panels/issues/IssuesPane.ts +6 -2
  196. package/front_end/panels/layer_viewer/LayerDetailsView.ts +8 -2
  197. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
  198. package/front_end/panels/layer_viewer/Layers3DView.ts +9 -2
  199. package/front_end/panels/lighthouse/LighthouseController.ts +1 -1
  200. package/front_end/panels/lighthouse/LighthousePanel.ts +10 -6
  201. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +5 -1
  202. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -2
  203. package/front_end/panels/lighthouse/LighthouseStatusView.ts +1 -2
  204. package/front_end/panels/lighthouse/LighthouseTimespanView.ts +1 -2
  205. package/front_end/panels/media/EventDisplayTable.ts +1 -1
  206. package/front_end/panels/media/EventTimelineView.ts +9 -3
  207. package/front_end/panels/media/MainView.ts +1 -2
  208. package/front_end/panels/media/PlayerDetailView.ts +4 -3
  209. package/front_end/panels/media/PlayerListView.ts +2 -2
  210. package/front_end/panels/media/PlayerMessagesView.ts +76 -0
  211. package/front_end/panels/media/playerMessagesView.css +15 -0
  212. package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +6 -2
  213. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +1 -2
  214. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +7 -4
  215. package/front_end/panels/network/NetworkDataGridNode.ts +1 -1
  216. package/front_end/panels/network/NetworkFrameGrouper.ts +1 -1
  217. package/front_end/panels/network/NetworkItemView.ts +1 -1
  218. package/front_end/panels/network/NetworkLogView.ts +10 -3
  219. package/front_end/panels/network/NetworkLogViewColumns.ts +7 -6
  220. package/front_end/panels/network/NetworkPanel.ts +3 -4
  221. package/front_end/panels/network/NetworkWaterfallColumn.ts +4 -4
  222. package/front_end/panels/network/RequestTimingView.ts +1 -2
  223. package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +2 -3
  224. package/front_end/panels/profiler/CPUProfileView.ts +3 -3
  225. package/front_end/panels/profiler/HeapProfileView.ts +4 -5
  226. package/front_end/panels/profiler/HeapProfilerPanel.ts +2 -2
  227. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +4 -4
  228. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -7
  229. package/front_end/panels/profiler/HeapSnapshotProxy.ts +1 -1
  230. package/front_end/panels/profiler/HeapSnapshotView.ts +13 -8
  231. package/front_end/panels/profiler/ProfileLauncherView.ts +2 -2
  232. package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +6 -2
  233. package/front_end/panels/profiler/ProfileView.ts +6 -6
  234. package/front_end/panels/profiler/ProfilesPanel.ts +6 -2
  235. package/front_end/panels/profiler/TopDownProfileDataGrid.ts +1 -2
  236. package/front_end/panels/search/SearchResultsPane.ts +1 -1
  237. package/front_end/panels/search/SearchView.ts +1 -2
  238. package/front_end/panels/security/SecurityPanel.ts +7 -2
  239. package/front_end/panels/settings/SettingsScreen.ts +1 -1
  240. package/front_end/panels/settings/emulation/utils/UserAgentMetadata.ts +11 -2
  241. package/front_end/panels/sources/EditingLocationHistoryManager.ts +2 -2
  242. package/front_end/panels/sources/GoToLineQuickOpen.ts +1 -1
  243. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +7 -2
  244. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +7 -2
  245. package/front_end/panels/sources/SourcesNavigator.ts +1 -2
  246. package/front_end/panels/sources/SourcesPanel.ts +1 -1
  247. package/front_end/panels/sources/SourcesSearchScope.ts +3 -0
  248. package/front_end/panels/sources/SourcesView.ts +6 -2
  249. package/front_end/panels/sources/UISourceCodeFrame.ts +1 -1
  250. package/front_end/panels/timeline/CountersGraph.ts +2 -3
  251. package/front_end/panels/timeline/EventsTimelineTreeView.ts +2 -2
  252. package/front_end/panels/timeline/ExtensionTracingSession.ts +3 -3
  253. package/front_end/panels/timeline/TimelineDetailsView.ts +6 -6
  254. package/front_end/panels/timeline/TimelineEventOverview.ts +3 -3
  255. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -3
  256. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +1 -1
  257. package/front_end/panels/timeline/TimelineFlameChartView.ts +6 -6
  258. package/front_end/panels/timeline/TimelineHistoryManager.ts +1 -1
  259. package/front_end/panels/timeline/TimelinePanel.ts +5 -5
  260. package/front_end/panels/timeline/TimelineTreeView.ts +2 -2
  261. package/front_end/panels/timeline/UIDevtoolsController.ts +1 -2
  262. package/front_end/panels/timeline/components/WebVitalsLane.ts +9 -2
  263. package/front_end/panels/timeline/components/WebVitalsTimeline.ts +1 -1
  264. package/front_end/panels/web_audio/graph_visualizer/EdgeView.ts +1 -1
  265. package/front_end/panels/web_audio/graph_visualizer/GraphView.ts +9 -3
  266. package/front_end/panels/web_audio/graph_visualizer/NodeRendererUtility.ts +2 -1
  267. package/front_end/panels/web_audio/graph_visualizer/NodeView.ts +3 -1
  268. package/front_end/third_party/.clang-format +1 -1
  269. package/front_end/third_party/i18n/localized-string-set.ts +1 -1
  270. package/front_end/ui/components/buttons/Button.ts +30 -5
  271. package/front_end/ui/components/buttons/button.css +16 -0
  272. package/front_end/ui/components/data_grid/DataGrid.ts +5 -1
  273. package/front_end/ui/components/data_grid/DataGridContextMenuUtils.ts +2 -2
  274. package/front_end/ui/components/data_grid/DataGridController.ts +12 -5
  275. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  276. package/front_end/ui/components/data_grid/DataGridEvents.ts +1 -1
  277. package/front_end/ui/components/data_grid/DataGridRenderers.ts +1 -1
  278. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +112 -0
  279. package/front_end/ui/components/docs/building-ui-documentation/README.md +19 -0
  280. package/front_end/ui/components/docs/button/basic.html +11 -0
  281. package/front_end/ui/components/docs/button/basic.ts +7 -0
  282. package/front_end/ui/components/icon_button/IconButton.ts +1 -3
  283. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +27 -13
  284. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +9 -4
  285. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +10 -5
  286. package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +8 -7
  287. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +1 -1
  288. package/front_end/ui/components/markdown_view/MarkdownImage.ts +1 -2
  289. package/front_end/ui/components/markdown_view/MarkdownView.ts +2 -4
  290. package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -1
  291. package/front_end/ui/legacy/ActionRegistry.ts +1 -2
  292. package/front_end/ui/legacy/Context.ts +1 -1
  293. package/front_end/ui/legacy/ContextMenu.ts +2 -2
  294. package/front_end/ui/legacy/Dialog.ts +4 -4
  295. package/front_end/ui/legacy/DockController.ts +4 -4
  296. package/front_end/ui/legacy/FilterBar.ts +3 -3
  297. package/front_end/ui/legacy/FilterSuggestionBuilder.ts +1 -1
  298. package/front_end/ui/legacy/GlassPane.ts +3 -3
  299. package/front_end/ui/legacy/Infobar.ts +1 -1
  300. package/front_end/ui/legacy/InspectorView.ts +10 -10
  301. package/front_end/ui/legacy/ListControl.ts +2 -2
  302. package/front_end/ui/legacy/Panel.ts +1 -1
  303. package/front_end/ui/legacy/ShortcutRegistry.ts +2 -3
  304. package/front_end/ui/legacy/SoftDropDown.ts +4 -4
  305. package/front_end/ui/legacy/SplitWidget.ts +2 -2
  306. package/front_end/ui/legacy/SuggestBox.ts +2 -2
  307. package/front_end/ui/legacy/TabbedPane.ts +2 -2
  308. package/front_end/ui/legacy/TextPrompt.ts +1 -2
  309. package/front_end/ui/legacy/Toolbar.ts +2 -3
  310. package/front_end/ui/legacy/Treeoutline.ts +3 -3
  311. package/front_end/ui/legacy/UIUtils.ts +2 -3
  312. package/front_end/ui/legacy/View.ts +4 -4
  313. package/front_end/ui/legacy/ViewManager.ts +8 -8
  314. package/front_end/ui/legacy/ViewRegistration.ts +2 -2
  315. package/front_end/ui/legacy/XLink.ts +1 -1
  316. package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +1 -2
  317. package/front_end/ui/legacy/components/color_picker/ContrastOverlay.ts +1 -2
  318. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +1 -1
  319. package/front_end/ui/legacy/components/data_grid/SortableDataGrid.ts +1 -2
  320. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +1 -2
  321. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -5
  322. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +1 -1
  323. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +1 -2
  324. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +1 -2
  325. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -2
  326. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -1
  327. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -4
  328. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +1 -2
  329. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -3
  330. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -2
  331. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -2
  332. package/inspector_overlay/css_grid_label_helpers.ts +1 -2
  333. package/inspector_overlay/highlight_common.ts +1 -1
  334. package/inspector_overlay/highlight_container_query.ts +3 -3
  335. package/inspector_overlay/highlight_flex_common.ts +12 -3
  336. package/inspector_overlay/highlight_grid_common.ts +3 -3
  337. package/inspector_overlay/highlight_isolated_element.ts +1 -1
  338. package/inspector_overlay/highlight_scroll_snap.ts +3 -3
  339. package/inspector_overlay/main.ts +6 -6
  340. package/inspector_overlay/tool_highlight.ts +26 -12
  341. package/inspector_overlay/tool_persistent.ts +13 -14
  342. package/inspector_overlay/tool_source_order.ts +3 -4
  343. package/package.json +1 -1
  344. package/scripts/protocol_typescript/protocol_dts_generator.ts +1 -1
@@ -9,25 +9,39 @@ import linearMemoryInspectorStyles from './linearMemoryInspector.css.js';
9
9
 
10
10
  const {render, html} = LitHtml;
11
11
 
12
- import type {
13
- AddressInputChangedEvent, HistoryNavigationEvent, LinearMemoryNavigatorData, PageNavigationEvent} from
14
- './LinearMemoryNavigator.js';
15
- import {Mode, Navigation, LinearMemoryNavigator} from './LinearMemoryNavigator.js';
16
- import type {
17
- EndiannessChangedEvent, LinearMemoryValueInterpreterData, ValueTypeToggledEvent} from
18
- './LinearMemoryValueInterpreter.js';
19
- import {LinearMemoryValueInterpreter} from './LinearMemoryValueInterpreter.js';
20
- import type {ByteSelectedEvent, LinearMemoryViewerData, ResizeEvent} from './LinearMemoryViewer.js';
21
- import type {ValueType, ValueTypeMode} from './ValueInterpreterDisplayUtils.js';
12
+ import {
13
+ Mode,
14
+ Navigation,
15
+ LinearMemoryNavigator,
16
+ type AddressInputChangedEvent,
17
+ type HistoryNavigationEvent,
18
+ type LinearMemoryNavigatorData,
19
+ type PageNavigationEvent,
20
+ } from './LinearMemoryNavigator.js';
21
+
22
+ import {
23
+ LinearMemoryValueInterpreter,
24
+ type EndiannessChangedEvent,
25
+ type LinearMemoryValueInterpreterData,
26
+ type ValueTypeToggledEvent,
27
+ } from './LinearMemoryValueInterpreter.js';
28
+
22
29
  import {
23
30
  VALUE_INTEPRETER_MAX_NUM_BYTES,
24
31
  Endianness,
25
32
  getDefaultValueTypeMapping,
33
+ type ValueType,
34
+ type ValueTypeMode,
26
35
  } from './ValueInterpreterDisplayUtils.js';
27
36
  import {formatAddress, parseAddress} from './LinearMemoryInspectorUtils.js';
28
- import type {JumpToPointerAddressEvent, ValueTypeModeChangedEvent} from './ValueInterpreterDisplay.js';
29
- import {LinearMemoryViewer} from './LinearMemoryViewer.js';
30
- import type {HighlightInfo} from './LinearMemoryViewerUtils.js';
37
+ import {type JumpToPointerAddressEvent, type ValueTypeModeChangedEvent} from './ValueInterpreterDisplay.js';
38
+ import {
39
+ LinearMemoryViewer,
40
+ type ByteSelectedEvent,
41
+ type LinearMemoryViewerData,
42
+ type ResizeEvent,
43
+ } from './LinearMemoryViewer.js';
44
+ import {type HighlightInfo} from './LinearMemoryViewerUtils.js';
31
45
 
32
46
  import * as i18n from '../../../core/i18n/i18n.js';
33
47
  const UIStrings = {
@@ -9,12 +9,17 @@ import * as SDK from '../../../core/sdk/sdk.js';
9
9
  import * as Protocol from '../../../generated/protocol.js';
10
10
  import * as UI from '../../legacy/legacy.js';
11
11
 
12
- import type {Settings} from './LinearMemoryInspector.js';
12
+ import {type Settings} from './LinearMemoryInspector.js';
13
13
  import {Events as LmiEvents, LinearMemoryInspectorPaneImpl} from './LinearMemoryInspectorPane.js';
14
- import type {ValueType, ValueTypeMode} from './ValueInterpreterDisplayUtils.js';
15
- import {Endianness, getDefaultValueTypeMapping} from './ValueInterpreterDisplayUtils.js';
14
+
15
+ import {
16
+ Endianness,
17
+ getDefaultValueTypeMapping,
18
+ type ValueType,
19
+ type ValueTypeMode,
20
+ } from './ValueInterpreterDisplayUtils.js';
16
21
  import * as Bindings from '../../../models/bindings/bindings.js';
17
- import type {HighlightInfo} from './LinearMemoryViewerUtils.js';
22
+ import {type HighlightInfo} from './LinearMemoryViewerUtils.js';
18
23
 
19
24
  const UIStrings = {
20
25
  /**
@@ -6,11 +6,16 @@ import * as Common from '../../../core/common/common.js';
6
6
  import * as i18n from '../../../core/i18n/i18n.js';
7
7
  import * as UI from '../../legacy/legacy.js';
8
8
 
9
- import type {AddressChangedEvent, MemoryRequestEvent, Settings, SettingsChangedEvent} from './LinearMemoryInspector.js';
10
- import {LinearMemoryInspector} from './LinearMemoryInspector.js';
11
- import type {LazyUint8Array} from './LinearMemoryInspectorController.js';
12
- import {LinearMemoryInspectorController} from './LinearMemoryInspectorController.js';
13
- import type {HighlightInfo} from './LinearMemoryViewerUtils.js';
9
+ import {
10
+ LinearMemoryInspector,
11
+ type AddressChangedEvent,
12
+ type MemoryRequestEvent,
13
+ type Settings,
14
+ type SettingsChangedEvent,
15
+ } from './LinearMemoryInspector.js';
16
+
17
+ import {LinearMemoryInspectorController, type LazyUint8Array} from './LinearMemoryInspectorController.js';
18
+ import {type HighlightInfo} from './LinearMemoryViewerUtils.js';
14
19
 
15
20
  const UIStrings = {
16
21
  /**
@@ -7,13 +7,14 @@ import * as ComponentHelpers from '../helpers/helpers.js';
7
7
  import * as IconButton from '../icon_button/icon_button.js';
8
8
  import linearMemoryValueInterpreterStyles from './linearMemoryValueInterpreter.css.js';
9
9
 
10
- import {ValueInterpreterDisplay} from './ValueInterpreterDisplay.js';
11
- import {ValueInterpreterSettings} from './ValueInterpreterSettings.js';
12
-
13
- import type {ValueDisplayData} from './ValueInterpreterDisplay.js';
14
- import type {ValueType, ValueTypeMode} from './ValueInterpreterDisplayUtils.js';
15
- import {Endianness} from './ValueInterpreterDisplayUtils.js';
16
- import type {TypeToggleEvent, ValueInterpreterSettingsData} from './ValueInterpreterSettings.js';
10
+ import {ValueInterpreterDisplay, type ValueDisplayData} from './ValueInterpreterDisplay.js';
11
+ import {
12
+ ValueInterpreterSettings,
13
+ type TypeToggleEvent,
14
+ type ValueInterpreterSettingsData,
15
+ } from './ValueInterpreterSettings.js';
16
+
17
+ import {Endianness, type ValueType, type ValueTypeMode} from './ValueInterpreterDisplayUtils.js';
17
18
 
18
19
  import * as i18n from '../../../core/i18n/i18n.js';
19
20
 
@@ -4,7 +4,7 @@
4
4
  import * as LitHtml from '../../lit-html/lit-html.js';
5
5
  import * as ComponentHelpers from '../helpers/helpers.js';
6
6
 
7
- import type {HighlightInfo} from './LinearMemoryViewerUtils.js';
7
+ import {type HighlightInfo} from './LinearMemoryViewerUtils.js';
8
8
  import {toHexString} from './LinearMemoryInspectorUtils.js';
9
9
  import linearMemoryViewerStyles from './linearMemoryViewer.css.js';
10
10
 
@@ -7,8 +7,7 @@ import * as IconButton from '../../components/icon_button/icon_button.js';
7
7
  import * as LitHtml from '../../lit-html/lit-html.js';
8
8
  import markdownImageStyles from './markdownImage.css.js';
9
9
 
10
- import type {ImageData} from './MarkdownImagesMap.js';
11
- import {getMarkdownImage} from './MarkdownImagesMap.js';
10
+ import {getMarkdownImage, type ImageData} from './MarkdownImagesMap.js';
12
11
 
13
12
  export interface MarkdownImageData {
14
13
  key: string;
@@ -7,10 +7,8 @@ import type * as Marked from '../../../third_party/marked/marked.js';
7
7
  import * as ComponentHelpers from '../../components/helpers/helpers.js';
8
8
  import markdownViewStyles from './markdownView.css.js';
9
9
 
10
- import type {MarkdownImageData} from './MarkdownImage.js';
11
- import type {MarkdownLinkData} from './MarkdownLink.js';
12
- import {MarkdownLink} from './MarkdownLink.js';
13
- import {MarkdownImage} from './MarkdownImage.js';
10
+ import {MarkdownLink, type MarkdownLinkData} from './MarkdownLink.js';
11
+ import {MarkdownImage, type MarkdownImageData} from './MarkdownImage.js';
14
12
 
15
13
  const html = LitHtml.html;
16
14
  const render = LitHtml.render;
@@ -10,13 +10,15 @@ import * as Coordinator from '../render_coordinator/render_coordinator.js';
10
10
 
11
11
  import treeOutlineStyles from './treeOutline.css.js';
12
12
 
13
- import type {TreeNodeId, TreeNode, TreeNodeWithChildren} from './TreeOutlineUtils.js';
14
13
  import {
15
14
  findNextNodeForTreeOutlineKeyboardNavigation,
16
15
  getNodeChildren,
17
16
  getPathToTreeNode,
18
17
  isExpandableNode,
19
18
  trackDOMNodeToTreeNode,
19
+ type TreeNodeId,
20
+ type TreeNode,
21
+ type TreeNodeWithChildren,
20
22
  } from './TreeOutlineUtils.js';
21
23
 
22
24
  const coordinator = Coordinator.RenderCoordinator.RenderCoordinator.instance();
@@ -2,8 +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 {Action} from './ActionRegistration.js';
6
- import {getRegisteredActionExtensions} from './ActionRegistration.js';
5
+ import {getRegisteredActionExtensions, type Action} from './ActionRegistration.js';
7
6
  import {Context} from './Context.js';
8
7
 
9
8
  let actionRegistryInstance: ActionRegistry|undefined;
@@ -5,7 +5,7 @@
5
5
  import * as Common from '../../core/common/common.js';
6
6
  import * as Root from '../../core/root/root.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
7
7
 
8
- import type {ContextFlavorListener} from './ContextFlavorListener.js';
8
+ import {type ContextFlavorListener} from './ContextFlavorListener.js';
9
9
 
10
10
  let contextInstance: Context;
11
11
 
@@ -34,8 +34,8 @@ import * as Root from '../../core/root/root.js';
34
34
 
35
35
  import {ActionRegistry} from './ActionRegistry.js';
36
36
  import {ShortcutRegistry} from './ShortcutRegistry.js';
37
- import type {SoftContextMenuDescriptor} from './SoftContextMenu.js';
38
- import {SoftContextMenu} from './SoftContextMenu.js';
37
+
38
+ import {SoftContextMenu, type SoftContextMenuDescriptor} from './SoftContextMenu.js';
39
39
  import {deepElementFromEvent} from './UIUtils.js';
40
40
 
41
41
  export class Item {
@@ -34,10 +34,10 @@ import * as ARIAUtils from './ARIAUtils.js';
34
34
  import {GlassPane, PointerEventsBehavior} from './GlassPane.js';
35
35
  import {InspectorView} from './InspectorView.js';
36
36
  import {KeyboardShortcut, Keys} from './KeyboardShortcut.js';
37
- import type {SplitWidget} from './SplitWidget.js';
38
- import type {DevToolsCloseButton} from './UIUtils.js';
39
- import type {WidgetElement} from './Widget.js';
40
- import {WidgetFocusRestorer} from './Widget.js';
37
+ import {type SplitWidget} from './SplitWidget.js';
38
+ import {type DevToolsCloseButton} from './UIUtils.js';
39
+
40
+ import {WidgetFocusRestorer, type WidgetElement} from './Widget.js';
41
41
 
42
42
  import dialogStyles from './dialog.css.legacy.js';
43
43
 
@@ -33,10 +33,10 @@ import * as Host from '../../core/host/host.js';
33
33
  import * as i18n from '../../core/i18n/i18n.js';
34
34
  import * as Platform from '../../core/platform/platform.js';
35
35
 
36
- import type {ActionDelegate} from './ActionRegistration.js';
37
- import type {Context} from './Context.js';
38
- import type {Provider, ToolbarItem} from './Toolbar.js';
39
- import {ToolbarButton} from './Toolbar.js';
36
+ import {type ActionDelegate} from './ActionRegistration.js';
37
+ import {type Context} from './Context.js';
38
+
39
+ import {ToolbarButton, type Provider, type ToolbarItem} from './Toolbar.js';
40
40
 
41
41
  const UIStrings = {
42
42
  /**
@@ -36,10 +36,10 @@ import * as ARIAUtils from './ARIAUtils.js';
36
36
  import {Icon} from './Icon.js';
37
37
  import {KeyboardShortcut, Modifiers} from './KeyboardShortcut.js';
38
38
  import {bindCheckbox} from './SettingsUI.js';
39
- import type {Suggestions} from './SuggestBox.js';
39
+ import {type Suggestions} from './SuggestBox.js';
40
40
  import {Events, TextPrompt} from './TextPrompt.js';
41
- import type {ToolbarButton} from './Toolbar.js';
42
- import {ToolbarSettingToggle} from './Toolbar.js';
41
+
42
+ import {ToolbarSettingToggle, type ToolbarButton} from './Toolbar.js';
43
43
  import {Tooltip} from './Tooltip.js';
44
44
  import {CheckboxLabel, createTextChild} from './UIUtils.js';
45
45
  import {HBox} from './Widget.js';
@@ -4,7 +4,7 @@
4
4
 
5
5
  import * as Platform from '../../core/platform/platform.js';
6
6
 
7
- import type {Suggestion} from './SuggestBox.js';
7
+ import {type Suggestion} from './SuggestBox.js';
8
8
 
9
9
  export class FilterSuggestionBuilder {
10
10
  private readonly keys: string[];
@@ -5,11 +5,11 @@
5
5
  import * as Platform from '../../core/platform/platform.js';
6
6
  import * as Utils from './utils/utils.js';
7
7
 
8
- import type {Size} from './Geometry.js';
8
+ import {type Size} from './Geometry.js';
9
9
  import {Icon} from './Icon.js';
10
10
  import {deepElementFromEvent} from './UIUtils.js';
11
- import type {WidgetElement} from './Widget.js';
12
- import {Widget} from './Widget.js';
11
+
12
+ import {Widget, type WidgetElement} from './Widget.js';
13
13
  import glassPaneStyles from './glassPane.css.legacy.js';
14
14
 
15
15
  export class GlassPane {
@@ -9,7 +9,7 @@ import * as Utils from './utils/utils.js';
9
9
  import * as ARIAUtils from './ARIAUtils.js';
10
10
  import {Keys} from './KeyboardShortcut.js';
11
11
  import {createTextButton} from './UIUtils.js';
12
- import type {Widget} from './Widget.js';
12
+ import {type Widget} from './Widget.js';
13
13
  import infobarStyles from './infobar.css.legacy.js';
14
14
 
15
15
  const UIStrings = {
@@ -33,24 +33,24 @@ import * as Host from '../../core/host/host.js';
33
33
  import * as i18n from '../../core/i18n/i18n.js';
34
34
  import * as Root from '../../core/root/root.js';
35
35
 
36
- import type {ActionDelegate as ActionDelegateInterface} from './ActionRegistration.js';
37
- import type {Context} from './Context.js';
38
- import type {ContextMenu} from './ContextMenu.js';
36
+ import {type ActionDelegate as ActionDelegateInterface} from './ActionRegistration.js';
37
+ import {type Context} from './Context.js';
38
+ import {type ContextMenu} from './ContextMenu.js';
39
39
  import {Dialog} from './Dialog.js';
40
40
  import {DockController, DockState} from './DockController.js';
41
41
  import {GlassPane} from './GlassPane.js';
42
- import type {Icon} from './Icon.js';
42
+ import {type Icon} from './Icon.js';
43
43
  import {Infobar, Type as InfobarType} from './Infobar.js';
44
44
  import {KeyboardShortcut} from './KeyboardShortcut.js';
45
- import type {Panel} from './Panel.js';
45
+ import {type Panel} from './Panel.js';
46
46
  import {SplitWidget} from './SplitWidget.js';
47
- import {Events as TabbedPaneEvents} from './TabbedPane.js';
48
- import type {EventData, TabbedPane, TabbedPaneTabDelegate} from './TabbedPane.js';
47
+ import {Events as TabbedPaneEvents, type EventData, type TabbedPane, type TabbedPaneTabDelegate} from './TabbedPane.js';
48
+
49
49
  import {ToolbarButton} from './Toolbar.js';
50
- import type {TabbedViewLocation, View, ViewLocation, ViewLocationResolver} from './View.js';
50
+ import {type TabbedViewLocation, type View, type ViewLocation, type ViewLocationResolver} from './View.js';
51
51
  import {ViewManager} from './ViewManager.js';
52
- import type {Widget} from './Widget.js';
53
- import {VBox, WidgetFocusRestorer} from './Widget.js';
52
+
53
+ import {VBox, WidgetFocusRestorer, type Widget} from './Widget.js';
54
54
  import * as ARIAUtils from './ARIAUtils.js';
55
55
  import inspectorViewTabbedPaneStyles from './inspectorViewTabbedPane.css.legacy.js';
56
56
 
@@ -6,8 +6,8 @@ import type * as Common from '../../core/common/common.js';
6
6
  import * as Platform from '../../core/platform/platform.js';
7
7
 
8
8
  import * as ARIAUtils from './ARIAUtils.js';
9
- import type {ItemsReplacedEvent, ListModel} from './ListModel.js';
10
- import {Events as ListModelEvents} from './ListModel.js';
9
+
10
+ import {Events as ListModelEvents, type ItemsReplacedEvent, type ListModel} from './ListModel.js';
11
11
  import {measurePreferredSize} from './UIUtils.js';
12
12
 
13
13
  export interface ListDelegate<T> {
@@ -30,7 +30,7 @@
30
30
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
31
  */
32
32
 
33
- import type {SearchableView} from './SearchableView.js';
33
+ import {type SearchableView} from './SearchableView.js';
34
34
  import {SplitWidget} from './SplitWidget.js';
35
35
  import {VBox} from './Widget.js';
36
36
 
@@ -7,9 +7,8 @@ import * as Host from '../../core/host/host.js';
7
7
  import * as Platform from '../../core/platform/platform.js';
8
8
  import * as Root from '../../core/root/root.js';
9
9
 
10
- import type {Action} from './ActionRegistration.js';
11
- import {getRegisteredActionExtensions, KeybindSet} from './ActionRegistration.js';
12
- import type {ActionRegistry} from './ActionRegistry.js';
10
+ import {getRegisteredActionExtensions, KeybindSet, type Action} from './ActionRegistration.js';
11
+ import {type ActionRegistry} from './ActionRegistry.js';
13
12
  import {Context} from './Context.js';
14
13
  import {Dialog} from './Dialog.js';
15
14
  import {KeyboardShortcut, Modifiers, Type} from './KeyboardShortcut.js';
@@ -11,10 +11,10 @@ import * as ARIAUtils from './ARIAUtils.js';
11
11
  import {Size} from './Geometry.js';
12
12
  import {AnchorBehavior, GlassPane, MarginBehavior, PointerEventsBehavior} from './GlassPane.js';
13
13
  import {Icon} from './Icon.js';
14
- import type {ListDelegate} from './ListControl.js';
15
- import {ListControl, ListMode} from './ListControl.js';
16
- import type {ItemsReplacedEvent, ListModel} from './ListModel.js';
17
- import {Events as ListModelEvents} from './ListModel.js';
14
+
15
+ import {ListControl, ListMode, type ListDelegate} from './ListControl.js';
16
+
17
+ import {Events as ListModelEvents, type ItemsReplacedEvent, type ListModel} from './ListModel.js';
18
18
  import softDropDownStyles from './softDropDown.css.legacy.js';
19
19
  import softDropDownButtonStyles from './softDropDownButton.css.legacy.js';
20
20
 
@@ -33,8 +33,8 @@ import * as Platform from '../../core/platform/platform.js';
33
33
 
34
34
  import * as ARIAUtils from './ARIAUtils.js';
35
35
  import {Constraints} from './Geometry.js';
36
- import type {ResizeUpdatePositionEvent} from './ResizerWidget.js';
37
- import {Events as ResizerWidgetEvents, SimpleResizerWidget} from './ResizerWidget.js';
36
+
37
+ import {Events as ResizerWidgetEvents, SimpleResizerWidget, type ResizeUpdatePositionEvent} from './ResizerWidget.js';
38
38
  import {ToolbarButton} from './Toolbar.js';
39
39
  import {Widget} from './Widget.js';
40
40
  import {Events as ZoomManagerEvents, ZoomManager} from './ZoomManager.js';
@@ -37,8 +37,8 @@ import * as ARIAUtils from './ARIAUtils.js';
37
37
  import {Size} from './Geometry.js';
38
38
  import {AnchorBehavior, GlassPane} from './GlassPane.js';
39
39
  import {Icon} from './Icon.js';
40
- import type {ListDelegate} from './ListControl.js';
41
- import {ListControl, ListMode} from './ListControl.js';
40
+
41
+ import {ListControl, ListMode, type ListDelegate} from './ListControl.js';
42
42
  import {ListModel} from './ListModel.js';
43
43
  import {measurePreferredSize} from './UIUtils.js';
44
44
  import suggestBoxStyles from './suggestBox.css.legacy.js';
@@ -40,8 +40,8 @@ import {Icon} from './Icon.js';
40
40
  import {Toolbar} from './Toolbar.js';
41
41
  import {Tooltip} from './Tooltip.js';
42
42
  import {installDragHandle, invokeOnceAfterBatchUpdate} from './UIUtils.js';
43
- import type {Widget} from './Widget.js';
44
- import {VBox} from './Widget.js';
43
+
44
+ import {VBox, type Widget} from './Widget.js';
45
45
  import {Events as ZoomManagerEvents, ZoomManager} from './ZoomManager.js';
46
46
  import tabbedPaneStyles from './tabbedPane.css.legacy.js';
47
47
 
@@ -39,8 +39,7 @@ import * as TextUtils from '../../models/text_utils/text_utils.js';
39
39
  import * as ARIAUtils from './ARIAUtils.js';
40
40
  import * as ThemeSupport from './theme_support/theme_support.js';
41
41
 
42
- import type {SuggestBoxDelegate, Suggestion} from './SuggestBox.js';
43
- import {SuggestBox} from './SuggestBox.js';
42
+ import {SuggestBox, type SuggestBoxDelegate, type Suggestion} from './SuggestBox.js';
44
43
  import {Tooltip} from './Tooltip.js';
45
44
  import {ElementFocusRestorer} from './UIUtils.js';
46
45
  import textPromptStyles from './textPrompt.css.legacy.js';
@@ -34,15 +34,14 @@ import * as i18n from '../../core/i18n/i18n.js';
34
34
  import * as Root from '../../core/root/root.js';
35
35
  import * as Utils from './utils/utils.js';
36
36
 
37
- import type {Action} from './ActionRegistration.js';
38
- import {Events as ActionEvents} from './ActionRegistration.js';
37
+ import {Events as ActionEvents, type Action} from './ActionRegistration.js';
39
38
  import {ActionRegistry} from './ActionRegistry.js';
40
39
  import * as ARIAUtils from './ARIAUtils.js';
41
40
  import {ContextMenu} from './ContextMenu.js';
42
41
  import {GlassPane, PointerEventsBehavior} from './GlassPane.js';
43
42
  import {Icon} from './Icon.js';
44
43
  import {bindCheckbox} from './SettingsUI.js';
45
- import type {Suggestion} from './SuggestBox.js';
44
+ import {type Suggestion} from './SuggestBox.js';
46
45
  import {Events as TextPromptEvents, TextPrompt} from './TextPrompt.js';
47
46
  import {Tooltip} from './Tooltip.js';
48
47
  import {CheckboxLabel, LongClickController} from './UIUtils.js';
@@ -41,9 +41,9 @@ import * as ThemeSupport from './theme_support/theme_support.js';
41
41
  import * as Utils from './utils/utils.js';
42
42
 
43
43
  import type * as IconButton from '../components/icon_button/icon_button.js';
44
- import type {Icon} from './Icon.js';
45
- import type {Config} from './InplaceEditor.js';
46
- import {InplaceEditor} from './InplaceEditor.js';
44
+ import {type Icon} from './Icon.js';
45
+
46
+ import {InplaceEditor, type Config} from './InplaceEditor.js';
47
47
  import {Keys} from './KeyboardShortcut.js';
48
48
  import {Tooltip} from './Tooltip.js';
49
49
  import {deepElementFromPoint, enclosingNodeOrSelfWithNodeNameInArray, isEditing} from './UIUtils.js';
@@ -47,10 +47,9 @@ import {Icon} from './Icon.js';
47
47
  import {KeyboardShortcut} from './KeyboardShortcut.js';
48
48
  import * as Utils from './utils/utils.js';
49
49
 
50
- import type {ToolbarButton} from './Toolbar.js';
51
- import {Toolbar} from './Toolbar.js';
50
+ import {Toolbar, type ToolbarButton} from './Toolbar.js';
52
51
  import {Tooltip} from './Tooltip.js';
53
- import type {TreeOutline} from './Treeoutline.js';
52
+ import {type TreeOutline} from './Treeoutline.js';
54
53
  import checkboxTextLabelStyles from './checkboxTextLabel.css.legacy.js';
55
54
  import closeButtonStyles from './closeButton.css.legacy.js';
56
55
  import confirmDialogStyles from './confirmDialog.css.legacy.js';
@@ -4,11 +4,11 @@
4
4
 
5
5
  import type * as Platform from '../../core/platform/platform.js';
6
6
 
7
- import type {TabbedPane} from './TabbedPane.js';
8
- import type {ToolbarItem, ToolbarMenuButton} from './Toolbar.js';
7
+ import {type TabbedPane} from './TabbedPane.js';
8
+ import {type ToolbarItem, type ToolbarMenuButton} from './Toolbar.js';
9
9
  import {ViewManager} from './ViewManager.js';
10
- import type {Widget} from './Widget.js';
11
- import {VBox} from './Widget.js';
10
+
11
+ import {VBox, type Widget} from './Widget.js';
12
12
 
13
13
  export interface View {
14
14
  viewId(): string;
@@ -7,14 +7,14 @@ import * as Host from '../../core/host/host.js';
7
7
  import * as i18n from '../../core/i18n/i18n.js';
8
8
 
9
9
  import * as ARIAUtils from './ARIAUtils.js';
10
- import type {ContextMenu} from './ContextMenu.js';
10
+ import {type ContextMenu} from './ContextMenu.js';
11
11
  import {Icon} from './Icon.js';
12
- import type {EventData} from './TabbedPane.js';
13
- import {Events as TabbedPaneEvents, TabbedPane} from './TabbedPane.js';
14
- import type {ToolbarItem} from './Toolbar.js';
15
- import {Toolbar, ToolbarMenuButton} from './Toolbar.js';
12
+
13
+ import {Events as TabbedPaneEvents, TabbedPane, type EventData} from './TabbedPane.js';
14
+
15
+ import {Toolbar, ToolbarMenuButton, type ToolbarItem} from './Toolbar.js';
16
16
  import {createTextChild} from './UIUtils.js';
17
- import type {TabbedViewLocation, View, ViewLocation, ViewLocationResolver} from './View.js';
17
+ import {type TabbedViewLocation, type View, type ViewLocation, type ViewLocationResolver} from './View.js';
18
18
  import {
19
19
  getRegisteredLocationResolvers,
20
20
  getRegisteredViewExtensions,
@@ -27,8 +27,8 @@ import {
27
27
  type ViewRegistration,
28
28
  resetViewRegistration,
29
29
  } from './ViewRegistration.js';
30
- import type {Widget, WidgetElement} from './Widget.js';
31
- import {VBox} from './Widget.js';
30
+
31
+ import {VBox, type Widget, type WidgetElement} from './Widget.js';
32
32
  import viewContainersStyles from './viewContainers.css.legacy.js';
33
33
 
34
34
  const UIStrings = {
@@ -5,10 +5,10 @@
5
5
  import * as Platform from '../../core/platform/platform.js';
6
6
  import * as Root from '../../core/root/root.js';
7
7
 
8
- import type {ViewLocationResolver} from './View.js';
8
+ import {type ViewLocationResolver} from './View.js';
9
9
  import {PreRegisteredView} from './ViewManager.js';
10
10
 
11
- import type {Widget} from './Widget.js';
11
+ import {type Widget} from './Widget.js';
12
12
 
13
13
  const registeredViewExtensions: Array<PreRegisteredView> = [];
14
14
 
@@ -8,7 +8,7 @@ import * as ComponentHelpers from '../components/helpers/helpers.js';
8
8
  import * as LitHtml from '../lit-html/lit-html.js';
9
9
 
10
10
  import * as ARIAUtils from './ARIAUtils.js';
11
- import type {ContextMenu, Provider} from './ContextMenu.js';
11
+ import {type ContextMenu, type Provider} from './ContextMenu.js';
12
12
  import {html} from './Fragment.js';
13
13
  import {Tooltip} from './Tooltip.js';
14
14
  import {
@@ -9,8 +9,7 @@ import * as Platform from '../../../../core/platform/platform.js';
9
9
  import * as Root from '../../../../core/root/root.js';
10
10
  import * as UI from '../../legacy.js';
11
11
 
12
- import type {ContrastInfo} from './ContrastInfo.js';
13
- import {Events as ContrastInfoEvents} from './ContrastInfo.js';
12
+ import {Events as ContrastInfoEvents, type ContrastInfo} from './ContrastInfo.js';
14
13
 
15
14
  const UIStrings = {
16
15
  /**
@@ -6,8 +6,7 @@ import * as Common from '../../../../core/common/common.js';
6
6
  import * as Root from '../../../../core/root/root.js';
7
7
  import * as UI from '../../legacy.js';
8
8
 
9
- import type {ContrastInfo} from './ContrastInfo.js';
10
- import {Events} from './ContrastInfo.js';
9
+ import {Events, type ContrastInfo} from './ContrastInfo.js';
11
10
 
12
11
  export class ContrastOverlay {
13
12
  private contrastInfo: ContrastInfo;
@@ -41,7 +41,7 @@ import * as UI from '../../legacy.js';
41
41
 
42
42
  import {ContrastDetails, Events as ContrastDetailsEvents} from './ContrastDetails.js';
43
43
 
44
- import type {ContrastInfo} from './ContrastInfo.js';
44
+ import {type ContrastInfo} from './ContrastInfo.js';
45
45
  import {ContrastOverlay} from './ContrastOverlay.js';
46
46
  import spectrumStyles from './spectrum.css.js';
47
47
 
@@ -6,8 +6,7 @@
6
6
 
7
7
  import * as Platform from '../../../../core/platform/platform.js';
8
8
 
9
- import type {ColumnDescriptor, DataGridData, Parameters} from './DataGrid.js';
10
- import {Events} from './DataGrid.js';
9
+ import {Events, type ColumnDescriptor, type DataGridData, type Parameters} from './DataGrid.js';
11
10
  import {ViewportDataGrid, ViewportDataGridNode} from './ViewportDataGrid.js';
12
11
 
13
12
  export class SortableDataGrid<T> extends ViewportDataGrid<SortableDataGridNode<T>> {
@@ -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 {DataGridData, Parameters} from './DataGrid.js';
11
- import {DataGridImpl, DataGridNode} from './DataGrid.js';
10
+ import {DataGridImpl, DataGridNode, type DataGridData, type Parameters} from './DataGrid.js';
12
11
 
13
12
  const UIStrings = {
14
13
  /**