chrome-devtools-frontend 1.0.1689415 → 1.0.1690116
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/eslint.config.mjs +8 -2
- package/front_end/core/common/Object.ts +10 -4
- package/front_end/core/i18n/collect-ui-strings.js +5 -5
- package/front_end/core/i18n/generate-locales-js.js +1 -1
- package/front_end/core/i18n/i18n.ts +6 -0
- package/front_end/core/root/Runtime.ts +0 -5
- package/front_end/core/sdk/CSSMetadata.ts +3 -5
- package/front_end/core/sdk/DOMModel.ts +46 -11
- package/front_end/core/sdk/EmulationModel.ts +18 -0
- package/front_end/core/sdk/SDKSettings.ts +9 -0
- package/front_end/core/sdk/Script.ts +0 -1
- package/front_end/core/sdk/SecurityOrigin.ts +135 -25
- package/front_end/core/sdk/Target.ts +1 -5
- package/front_end/models/ai_assistance/AiUtils.ts +0 -10
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +6 -10
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +0 -1
- package/front_end/models/ai_assistance/injected.ts +0 -2
- package/front_end/models/javascript_metadata/NativeFunctions.ts +1 -1
- package/front_end/models/trace/insights/CLSCulprits.ts +1 -2
- package/front_end/models/trace/insights/Cache.ts +1 -3
- package/front_end/models/trace/insights/CharacterSet.ts +1 -3
- package/front_end/models/trace/insights/DOMSize.ts +1 -3
- package/front_end/models/trace/insights/DocumentLatency.ts +1 -3
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -3
- package/front_end/models/trace/insights/FontDisplay.ts +1 -2
- package/front_end/models/trace/insights/ForcedReflow.ts +1 -2
- package/front_end/models/trace/insights/INPBreakdown.ts +1 -3
- package/front_end/models/trace/insights/ImageDelivery.ts +1 -3
- package/front_end/models/trace/insights/LCPBreakdown.ts +1 -3
- package/front_end/models/trace/insights/LCPDiscovery.ts +1 -3
- package/front_end/models/trace/insights/LegacyJavaScript.ts +1 -3
- package/front_end/models/trace/insights/ModernHTTP.ts +1 -2
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +1 -2
- package/front_end/models/trace/insights/RenderBlocking.ts +1 -3
- package/front_end/models/trace/insights/SlowCSSSelector.ts +1 -3
- package/front_end/models/trace/insights/ThirdParties.ts +1 -3
- package/front_end/models/trace/insights/Viewport.ts +1 -2
- package/front_end/panels/accessibility/ARIAAttributesView.ts +1 -1
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +3 -3
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +1 -2
- package/front_end/panels/accessibility/AccessibilityStrings.ts +7 -3
- package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +2 -2
- package/front_end/panels/ai_assistance/components/AccessibilityAgentMarkdownRenderer.ts +1 -3
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
- package/front_end/panels/animation/AnimationTimeline.ts +1 -1
- package/front_end/panels/animation/AnimationUI.ts +1 -1
- package/front_end/panels/application/AppManifestView.ts +6 -2
- package/front_end/panels/application/ApplicationPanelSidebar.ts +2 -4
- package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +1 -1
- package/front_end/panels/application/FrameDetailsView.ts +1 -1
- package/front_end/panels/application/IndexedDBViews.ts +3 -2
- package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
- package/front_end/panels/application/ReportingApiView.ts +2 -2
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +1 -1
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
- package/front_end/panels/application/StorageItemsToolbar.ts +6 -2
- package/front_end/panels/application/StorageView.ts +9 -8
- package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
- package/front_end/panels/application/WebMCPView.ts +2 -1
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +1 -1
- package/front_end/panels/application/components/CrashReportContextGrid.ts +1 -1
- package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.ts +1 -1
- package/front_end/panels/application/components/TrustTokensView.ts +1 -1
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +1 -1
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +1 -1
- package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -2
- package/front_end/panels/application/serviceWorkerUpdateCycleView.css +2 -0
- package/front_end/panels/autofill/AutofillView.ts +2 -2
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +2 -3
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/changes/ChangesSidebar.ts +56 -15
- package/front_end/panels/changes/ChangesView.ts +1 -1
- package/front_end/panels/console/ConsolePrompt.ts +6 -2
- package/front_end/panels/console/ConsoleSidebar.ts +6 -2
- package/front_end/panels/elements/ElementsTreeElement.ts +12 -0
- package/front_end/panels/elements/ElementsTreeOutline.ts +400 -128
- package/front_end/panels/elements/PropertyRenderer.ts +22 -15
- package/front_end/panels/elements/StandaloneStylesContainer.ts +6 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +75 -26
- package/front_end/panels/elements/StylesSidebarPane.ts +6 -2
- package/front_end/panels/elements/elementsTreeOutline.css +4 -0
- package/front_end/panels/emulation/DeviceModeView.ts +6 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +6 -2
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +6 -2
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
- package/front_end/panels/layer_viewer/Layers3DView.ts +8 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +6 -2
- package/front_end/panels/lighthouse/lighthousePanel.css +5 -5
- package/front_end/panels/lighthouse/lighthouseStartView.css +13 -13
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +6 -2
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +6 -2
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +6 -2
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +25 -54
- package/front_end/panels/network/NetworkLogView.ts +8 -3
- package/front_end/panels/network/components/RequestHeadersView.css +5 -0
- package/front_end/panels/network/networkLogView.css +4 -0
- package/front_end/panels/network/requestInitiatorViewTree.css +2 -0
- package/front_end/panels/performance_monitor/performanceMonitor.css +3 -3
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +7 -2
- package/front_end/panels/profiler/HeapProfileView.ts +7 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +8 -4
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +8 -4
- package/front_end/panels/profiler/HeapSnapshotView.ts +15 -6
- package/front_end/panels/profiler/HeapTimelineOverview.ts +6 -2
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +12 -5
- package/front_end/panels/profiler/ProfileLauncherView.ts +6 -2
- package/front_end/panels/profiler/profilesPanel.css +8 -9
- package/front_end/panels/profiler/profilesSidebarTree.css +13 -13
- package/front_end/panels/protocol_monitor/JSONEditor.css +2 -2
- package/front_end/panels/protocol_monitor/JSONEditor.ts +6 -1
- package/front_end/panels/protocol_monitor/protocolMonitor.css +2 -2
- package/front_end/panels/sources/SourcesView.ts +7 -2
- package/front_end/panels/sources/TabbedEditorContainer.ts +6 -2
- package/front_end/panels/sources/UISourceCodeFrame.ts +10 -3
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/AnnotationHelpers.ts +9 -9
- package/front_end/panels/timeline/CountersGraph.ts +8 -8
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +3 -3
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +1 -1
- package/front_end/panels/timeline/GPUTrackAppender.ts +1 -1
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/IsolateSelector.ts +2 -2
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +3 -3
- package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -1
- package/front_end/panels/timeline/StatusDialog.ts +5 -6
- package/front_end/panels/timeline/ThirdPartyTreeView.ts +4 -4
- package/front_end/panels/timeline/ThreadAppender.ts +12 -14
- package/front_end/panels/timeline/TimelineController.ts +5 -8
- package/front_end/panels/timeline/TimelineDetailsView.ts +13 -9
- package/front_end/panels/timeline/TimelineEventOverview.ts +4 -4
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +17 -17
- package/front_end/panels/timeline/TimelineFlameChartView.ts +8 -3
- package/front_end/panels/timeline/TimelineHistoryManager.ts +8 -8
- package/front_end/panels/timeline/TimelineLoader.ts +1 -1
- package/front_end/panels/timeline/TimelineMiniMap.ts +7 -2
- package/front_end/panels/timeline/TimelinePanel.ts +57 -59
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +27 -27
- package/front_end/panels/timeline/TimelineTreeView.ts +46 -44
- package/front_end/panels/timeline/TimelineUIUtils.ts +142 -116
- package/front_end/panels/timeline/TimingsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/TrackConfigBanner.ts +4 -4
- package/front_end/panels/timeline/UIDevtoolsUtils.ts +15 -15
- package/front_end/panels/timeline/components/insights/Table.ts +1 -1
- package/front_end/panels/timeline/enable-easter-egg.js +1 -1
- package/front_end/panels/timeline/timeline-meta.ts +30 -30
- package/front_end/panels/timeline/timelineFlameChartView.css +10 -10
- package/front_end/panels/timeline/timelineFlamechartPopover.css +5 -5
- package/front_end/panels/timeline/timelineHistoryManager.css +7 -7
- package/front_end/panels/timeline/timelinePaintProfiler.css +2 -2
- package/front_end/panels/timeline/utils/IgnoreList.ts +4 -4
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +12 -3
- package/front_end/ui/comments/CommentOverlayManager.ts +9 -1
- package/front_end/ui/components/buttons/Button.docs.ts +1 -1
- package/front_end/ui/components/buttons/button.css +21 -0
- package/front_end/ui/components/report_view/ReportView.docs.ts +1 -1
- package/front_end/ui/components/snackbars/Snackbars.docs.ts +1 -1
- package/front_end/ui/components/spinners/Spinner.ts +1 -1
- package/front_end/ui/components/spinners/Spinners.docs.ts +1 -1
- package/front_end/ui/components/suggestion_input/SuggestionInput.ts +1 -2
- package/front_end/ui/components/switch/Switch.docs.ts +1 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +10 -8
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +2 -1
- package/front_end/ui/components/text_editor/ExecutionPositionHighlighter.ts +2 -2
- package/front_end/ui/components/text_editor/TextEditor.ts +19 -0
- package/front_end/ui/components/text_editor/config.ts +109 -96
- package/front_end/ui/components/text_editor/cursor_tooltip.ts +1 -1
- package/front_end/ui/components/text_editor/theme.ts +1 -1
- package/front_end/ui/components/tooltips/Tooltip.docs.ts +1 -1
- package/front_end/ui/components/tooltips/Tooltip.ts +1 -1
- package/front_end/ui/components/tree_outline/TreeOutlineUtils.ts +4 -1
- package/front_end/ui/kit/cards/Card.ts +1 -1
- package/front_end/ui/kit/icons/Icon.ts +1 -1
- package/front_end/ui/kit/link/Link.docs.ts +1 -1
- package/front_end/ui/kit/link/Link.ts +1 -1
- package/front_end/ui/legacy/ContextMenu.docs.ts +1 -1
- package/front_end/ui/legacy/Dialog.ts +10 -2
- package/front_end/ui/legacy/FilterBar.ts +6 -1
- package/front_end/ui/legacy/RadioButton.docs.ts +1 -1
- package/front_end/ui/legacy/SelectMenu.docs.ts +1 -1
- package/front_end/ui/legacy/Slider.docs.ts +1 -1
- package/front_end/ui/legacy/SplitWidget.ts +5 -1
- package/front_end/ui/legacy/TabbedPane.ts +5 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +6 -1
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +6 -2
- package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +6 -1
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +6 -2
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -0
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +6 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +6 -2
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +8 -4
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +8 -3
- package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +6 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +7 -2
- package/package.json +2 -2
|
@@ -14,7 +14,12 @@ import bezierEditorStyles from './bezierEditor.css.js';
|
|
|
14
14
|
|
|
15
15
|
const PREVIEW_ANIMATION_DEBOUNCE_DELAY = 300;
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
const BezierEditorBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
|
|
18
|
+
Common.ObjectWrapper.eventMixin(
|
|
19
|
+
UI.Widget.VBox,
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export class BezierEditor extends BezierEditorBase {
|
|
18
23
|
private model: AnimationTimingModel;
|
|
19
24
|
private previewElement: HTMLElement;
|
|
20
25
|
private readonly previewOnion: HTMLElement;
|
|
@@ -92,8 +92,12 @@ export class CSSLength {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
const CSSShadowEditorBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
|
|
96
|
+
Common.ObjectWrapper.eventMixin(
|
|
97
|
+
UI.Widget.VBox,
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
export class CSSShadowEditor extends CSSShadowEditorBase {
|
|
97
101
|
private readonly typeField: HTMLElement;
|
|
98
102
|
private readonly outsetButton: HTMLElement;
|
|
99
103
|
private readonly insetButton: HTMLElement;
|
|
@@ -90,6 +90,8 @@ li.object-properties-section {
|
|
|
90
90
|
|
|
91
91
|
.tree-outline.hide-selection-when-blurred .selected:focus-visible {
|
|
92
92
|
background: none;
|
|
93
|
+
outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);
|
|
94
|
+
outline-offset: calc(-1 * var(--sys-size-2));
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
.tree-outline.hide-selection-when-blurred .selected:focus-visible ::slotted(*),
|
|
@@ -37,7 +37,12 @@ const UIStrings = {
|
|
|
37
37
|
} as const;
|
|
38
38
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/perf_ui/FilmStripView.ts', UIStrings);
|
|
39
39
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
40
|
-
|
|
40
|
+
const FilmStripViewBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.HBox> =
|
|
41
|
+
Common.ObjectWrapper.eventMixin(
|
|
42
|
+
UI.Widget.HBox,
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export class FilmStripView extends FilmStripViewBase {
|
|
41
46
|
private statusLabel: HTMLElement;
|
|
42
47
|
private zeroTime: Trace.Types.Timing.Milli = Trace.Types.Timing.Milli(0);
|
|
43
48
|
#filmStrip: Trace.Extras.FilmStrip.Data|null = null;
|
|
@@ -245,8 +245,12 @@ export type DrawOverride =
|
|
|
245
245
|
(context: CanvasRenderingContext2D, x: number, y: number, width: number, height: number,
|
|
246
246
|
timeToPosition: (time: number) => number, transformColor: (color: string) => string) => PositionOverride;
|
|
247
247
|
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
const FlameChartBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
|
|
249
|
+
Common.ObjectWrapper.eventMixin(
|
|
250
|
+
UI.Widget.VBox,
|
|
251
|
+
);
|
|
252
|
+
|
|
253
|
+
export class FlameChart extends FlameChartBase implements NetworkTimeCalculator.Calculator, ChartViewportDelegate {
|
|
250
254
|
private readonly flameChartDelegate: FlameChartDelegate;
|
|
251
255
|
private chartViewport: ChartViewport;
|
|
252
256
|
private dataProvider: FlameChartDataProvider;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import * as Common from '../../../../core/common/common.js';
|
|
7
7
|
import * as Trace from '../../../../models/trace/trace.js';
|
|
8
8
|
import * as TraceBounds from '../../../../services/trace_bounds/trace_bounds.js';
|
|
9
|
-
import * as
|
|
9
|
+
import * as VisualLogging from '../../../visual_logging/visual_logging.js';
|
|
10
10
|
import * as UI from '../../legacy.js';
|
|
11
11
|
import * as ThemeSupport from '../../theme_support/theme_support.js';
|
|
12
12
|
|
|
@@ -14,8 +14,12 @@ import {Events as OverviewGridEvents, OverviewGrid, type WindowChangedWithPositi
|
|
|
14
14
|
import {TimelineOverviewCalculator} from './TimelineOverviewCalculator.js';
|
|
15
15
|
import timelineOverviewInfoStyles from './timelineOverviewInfo.css.js';
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
const TimelineOverviewPaneBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
|
|
18
|
+
Common.ObjectWrapper.eventMixin(
|
|
19
|
+
UI.Widget.VBox,
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export class TimelineOverviewPane extends TimelineOverviewPaneBase {
|
|
19
23
|
readonly overviewCalculator: TimelineOverviewCalculator;
|
|
20
24
|
private readonly overviewGrid: OverviewGrid;
|
|
21
25
|
private readonly cursorArea: HTMLElement;
|
|
@@ -41,7 +45,7 @@ export class TimelineOverviewPane extends Common.ObjectWrapper.eventMixin<EventT
|
|
|
41
45
|
this.overviewCalculator = new TimelineOverviewCalculator();
|
|
42
46
|
this.overviewGrid = new OverviewGrid(prefix, this.overviewCalculator);
|
|
43
47
|
this.overviewGrid.element.setAttribute(
|
|
44
|
-
'jslog', `${
|
|
48
|
+
'jslog', `${VisualLogging.timeline(`${prefix}-overview`).track({click: true, drag: true, hover: true})}`);
|
|
45
49
|
this.element.appendChild(this.overviewGrid.element);
|
|
46
50
|
this.cursorArea = this.overviewGrid.element.createChild('div', 'overview-grid-cursor-area');
|
|
47
51
|
this.cursorElement = this.overviewGrid.element.createChild('div', 'overview-grid-cursor-position');
|
|
@@ -44,8 +44,12 @@ const UIStrings = {
|
|
|
44
44
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/quick_open/FilteredListWidget.ts', UIStrings);
|
|
45
45
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
const FilteredListWidgetBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
|
|
48
|
+
Common.ObjectWrapper.eventMixin(
|
|
49
|
+
UI.Widget.VBox,
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
export class FilteredListWidget extends FilteredListWidgetBase implements UI.ListControl.ListDelegate<number> {
|
|
49
53
|
private promptHistory: string[];
|
|
50
54
|
private scoringTimer: number;
|
|
51
55
|
private filterTimer: number;
|
|
@@ -154,8 +158,9 @@ export class FilteredListWidget extends Common.ObjectWrapper.eventMixin<EventTyp
|
|
|
154
158
|
this.inputBoxElement.setSuggestion(suggestion);
|
|
155
159
|
}
|
|
156
160
|
|
|
157
|
-
setHintElement(hint: string): void {
|
|
161
|
+
setHintElement(hint: string, accessibleName: string): void {
|
|
158
162
|
this.hintElement.textContent = hint;
|
|
163
|
+
UI.ARIAUtils.setLabel(this.hintElement, accessibleName);
|
|
159
164
|
}
|
|
160
165
|
|
|
161
166
|
showAsDialog(dialogTitle?: string): void {
|
|
@@ -17,6 +17,10 @@ const UIStrings = {
|
|
|
17
17
|
* @description Hint text displayed below the quick open input prompt.
|
|
18
18
|
*/
|
|
19
19
|
typeToSeeAvailableCommands: 'Type ? to see available commands',
|
|
20
|
+
/**
|
|
21
|
+
* @description Accessible text for the hint displayed below the quick open input prompt.
|
|
22
|
+
*/
|
|
23
|
+
typeQuestionMarkToSeeAvailableCommands: 'Type question mark to see available commands',
|
|
20
24
|
} as const;
|
|
21
25
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/quick_open/QuickOpen.ts', UIStrings);
|
|
22
26
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -42,7 +46,8 @@ export class QuickOpenImpl {
|
|
|
42
46
|
const quickOpen = new this();
|
|
43
47
|
const filteredListWidget = new FilteredListWidget(null, history, quickOpen.queryChanged.bind(quickOpen));
|
|
44
48
|
quickOpen.filteredListWidget = filteredListWidget;
|
|
45
|
-
filteredListWidget.setHintElement(i18nString(UIStrings.typeToSeeAvailableCommands)
|
|
49
|
+
filteredListWidget.setHintElement(i18nString(UIStrings.typeToSeeAvailableCommands),
|
|
50
|
+
i18nString(UIStrings.typeQuestionMarkToSeeAvailableCommands));
|
|
46
51
|
filteredListWidget.showAsDialog();
|
|
47
52
|
filteredListWidget.setQuery(query);
|
|
48
53
|
}
|
|
@@ -117,8 +117,13 @@ export const LINE_NUMBER_FORMATTER = CodeMirror.Facet.define<FormatFn, FormatFn>
|
|
|
117
117
|
},
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
const SourceFrameImplBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.View.SimpleView> =
|
|
121
|
+
Common.ObjectWrapper.eventMixin(
|
|
122
|
+
UI.View.SimpleView,
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
export class SourceFrameImpl extends SourceFrameImplBase implements UI.SearchableView.Searchable,
|
|
126
|
+
UI.SearchableView.Replaceable, Transformer {
|
|
122
127
|
private readonly lazyContent: () => Promise<TextUtils.ContentData.ContentDataOrError>;
|
|
123
128
|
private prettyInternal: boolean;
|
|
124
129
|
private rawContent: string|CodeMirror.Text|null;
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"chai": "6.2.2",
|
|
55
55
|
"cssnano": "8.0.2",
|
|
56
56
|
"cssnano-preset-lite": "5.0.1",
|
|
57
|
-
"esbuild": "0.
|
|
57
|
+
"esbuild": "0.28.2",
|
|
58
58
|
"eslint": "9.39.5",
|
|
59
59
|
"eslint-plugin-eslint-plugin": "7.4.2",
|
|
60
60
|
"eslint-plugin-import": "2.32.0",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"webidl2": "24.5.0",
|
|
93
93
|
"yargs": "17.7.2"
|
|
94
94
|
},
|
|
95
|
-
"version": "1.0.
|
|
95
|
+
"version": "1.0.1690116"
|
|
96
96
|
}
|