chrome-devtools-frontend 1.0.925655 → 1.0.927419
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/.stylelintignore +1 -0
- package/AUTHORS +1 -0
- package/config/gni/devtools_grd_files.gni +10 -3
- package/front_end/core/common/Color.ts +6 -0
- package/front_end/core/common/SettingRegistration.ts +8 -0
- package/front_end/core/host/InspectorFrontendHost.ts +3 -0
- package/front_end/core/host/InspectorFrontendHostAPI.ts +3 -0
- package/front_end/core/host/UserMetrics.ts +7 -3
- package/front_end/core/i18n/locales/en-US.json +71 -14
- package/front_end/core/i18n/locales/en-XL.json +71 -14
- package/front_end/core/platform/keyboard-utilities.ts +1 -0
- package/front_end/core/root/Runtime.ts +1 -0
- package/front_end/core/sdk/ConsoleModel.ts +3 -0
- package/front_end/core/sdk/DebuggerModel.ts +2 -0
- package/front_end/core/sdk/NetworkManager.ts +12 -2
- package/front_end/core/sdk/NetworkRequest.ts +20 -5
- package/front_end/core/sdk/OverlayModel.ts +21 -0
- package/front_end/core/sdk/OverlayPersistentHighlighter.ts +55 -3
- package/front_end/devtools_compatibility.js +11 -1
- package/front_end/entrypoints/main/MainImpl.ts +4 -2
- package/front_end/entrypoints/main/main-meta.ts +16 -0
- package/front_end/generated/InspectorBackendCommands.js +8 -7
- package/front_end/generated/SupportedCSSProperties.js +7 -1
- package/front_end/generated/protocol-mapping.d.ts +5 -24
- package/front_end/generated/protocol-proxy-api.d.ts +6 -29
- package/front_end/generated/protocol.d.ts +51 -46
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +0 -6
- package/front_end/models/issues_manager/CorsIssue.ts +4 -0
- package/front_end/models/logs/LogManager.ts +1 -0
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +6 -4
- package/front_end/models/persistence/workspaceSettingsTab.css +18 -18
- package/front_end/models/timeline_model/TimelineFrameModel.ts +107 -28
- package/front_end/panels/application/ReportingApiReportsView.ts +89 -0
- package/front_end/panels/application/ReportingApiTreeElement.ts +3 -3
- package/front_end/panels/application/ReportingApiView.ts +27 -0
- package/front_end/panels/application/application.ts +2 -0
- package/front_end/panels/application/components/EndpointsGrid.ts +55 -0
- package/front_end/panels/application/components/ReportsGrid.ts +144 -0
- package/front_end/panels/application/components/components.ts +4 -2
- package/front_end/panels/application/components/reportingApiGrid.css +35 -0
- package/front_end/panels/application/reportingApiReportsView.css +13 -0
- package/front_end/panels/console/ConsoleView.ts +17 -0
- package/front_end/panels/console/console-meta.ts +26 -0
- package/front_end/panels/elements/ElementsTreeElement.ts +19 -0
- package/front_end/panels/elements/PropertiesWidget.ts +1 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +28 -0
- package/front_end/panels/elements/StylePropertyUtils.ts +13 -0
- package/front_end/panels/elements/components/nodeText.css +4 -4
- package/front_end/panels/elements/elements.ts +2 -0
- package/front_end/panels/elements/layoutPane.css +1 -1
- package/front_end/panels/issues/CorsIssueDetailsView.ts +4 -2
- package/front_end/panels/network/RequestCookiesView.ts +13 -4
- package/front_end/panels/screencast/screencastView.css +2 -6
- package/front_end/panels/search/SearchResultsPane.ts +1 -1
- package/front_end/panels/settings/SettingsScreen.ts +3 -0
- package/front_end/panels/snippets/SnippetsQuickOpen.ts +8 -3
- package/front_end/panels/sources/CallStackSidebarPane.ts +1 -10
- package/front_end/panels/sources/GoToLineQuickOpen.ts +50 -10
- package/front_end/panels/sources/UISourceCodeFrame.ts +0 -13
- package/front_end/panels/sources/sources-legacy.ts +0 -11
- package/front_end/panels/sources/sources-meta.ts +22 -20
- package/front_end/panels/sources/sources.ts +0 -2
- package/front_end/third_party/codemirror.next/LICENSE +21 -0
- package/front_end/third_party/codemirror.next/README.chromium +18 -0
- package/front_end/third_party/codemirror.next/bundle-tsconfig.json +21 -0
- package/front_end/third_party/codemirror.next/bundle.ts +87 -0
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -0
- package/front_end/third_party/codemirror.next/chunk/cpp.js +2 -0
- package/front_end/third_party/codemirror.next/chunk/css.js +2 -0
- package/front_end/third_party/codemirror.next/chunk/html.js +4 -0
- package/front_end/third_party/codemirror.next/chunk/java.js +2 -0
- package/front_end/third_party/codemirror.next/chunk/javascript.js +2 -0
- package/front_end/third_party/codemirror.next/chunk/json.js +2 -0
- package/front_end/third_party/codemirror.next/chunk/legacy.js +1 -0
- package/front_end/third_party/codemirror.next/chunk/markdown.js +6 -0
- package/front_end/third_party/codemirror.next/chunk/php.js +6 -0
- package/front_end/third_party/codemirror.next/chunk/python.js +2 -0
- package/front_end/third_party/codemirror.next/chunk/wast.js +2 -0
- package/front_end/third_party/codemirror.next/chunk/xml.js +2 -0
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +5467 -0
- package/front_end/third_party/codemirror.next/codemirror.next.js +2 -0
- package/front_end/third_party/codemirror.next/package.json +39 -0
- package/front_end/third_party/codemirror.next/rebuild.sh +6 -0
- package/front_end/third_party/codemirror.next/rollup.config.js +45 -0
- package/front_end/ui/components/buttons/Button.ts +33 -5
- package/front_end/ui/components/buttons/button.css +32 -2
- package/front_end/ui/components/code_highlighter/CodeHighlighter.ts +137 -0
- package/front_end/ui/components/code_highlighter/codeHighlighter.css +51 -0
- package/front_end/ui/components/code_highlighter/code_highlighter.ts +11 -0
- package/front_end/ui/components/docs/button/basic.html +1 -0
- package/front_end/ui/components/docs/button/basic.ts +47 -4
- package/front_end/ui/components/docs/text_editor/basic.html +28 -0
- package/front_end/ui/components/docs/text_editor/basic.ts +14 -0
- package/front_end/ui/components/docs/text_prompt/basic.html +35 -0
- package/front_end/ui/components/docs/text_prompt/basic.ts +19 -0
- package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +17 -0
- package/front_end/ui/components/text_editor/TextEditor.ts +161 -0
- package/front_end/ui/components/text_editor/config.ts +264 -0
- package/front_end/ui/components/text_editor/text_editor.ts +6 -0
- package/front_end/ui/components/text_editor/theme.ts +113 -0
- package/front_end/ui/components/text_prompt/TextPrompt.ts +144 -0
- package/front_end/ui/components/text_prompt/textPrompt.css +33 -0
- package/front_end/ui/components/text_prompt/text_prompt.ts +9 -0
- package/front_end/ui/legacy/UIUtils.ts +9 -1
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +8 -3
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +39 -39
- package/front_end/ui/legacy/components/quick_open/HelpQuickOpen.ts +10 -4
- package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +31 -14
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +7 -8
- package/front_end/ui/legacy/components/source_frame/source_frame-legacy.ts +0 -6
- package/front_end/ui/legacy/components/source_frame/source_frame.ts +0 -2
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +11 -9
- package/front_end/ui/legacy/filter.css +1 -0
- package/front_end/ui/legacy/inspectorSyntaxHighlight.css +3 -8
- package/front_end/ui/legacy/inspectorSyntaxHighlightDark.css +11 -16
- package/front_end/ui/legacy/themeColors.css +60 -0
- package/inspector_overlay/debug/tool_persistent_isolated_element.html +75 -0
- package/inspector_overlay/drag_resize_handler.ts +142 -0
- package/inspector_overlay/highlight_isolated_element.ts +62 -0
- package/inspector_overlay/main.ts +4 -1
- package/inspector_overlay/tool_highlight.ts +6 -0
- package/inspector_overlay/tool_paused.ts +2 -0
- package/inspector_overlay/tool_persistent.ts +110 -0
- package/inspector_overlay/tool_screenshot.ts +8 -1
- package/package.json +1 -1
- package/front_end/panels/application/components/ReportingApiView.ts +0 -24
- package/front_end/panels/sources/GutterDiffPlugin.ts +0 -282
- package/front_end/ui/legacy/components/source_frame/SourceCodeDiff.ts +0 -140
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Name: CodeMirror.next
|
|
2
|
+
Short Name: CodeMirror.next
|
|
3
|
+
URL: https://github.com/codemirror/CodeMirror.next/
|
|
4
|
+
Version: 0.19.0
|
|
5
|
+
License: MIT
|
|
6
|
+
License File: LICENSE
|
|
7
|
+
Security Critical: no
|
|
8
|
+
|
|
9
|
+
Description:
|
|
10
|
+
CodeMirror is a code editor for the browser.
|
|
11
|
+
|
|
12
|
+
To update this package, adjust the version ranges in package.json if necessary, and run the following command:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
./rebuild.sh
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
It will use npm to locally install the necessary packages and their dependencies, and bundle them into a single file (codemirror.js and codemirror.d.ts) with rollup.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"composite": true
|
|
4
|
+
},
|
|
5
|
+
"files": [
|
|
6
|
+
"codemirror.next.js",
|
|
7
|
+
"chunk/codemirror.js",
|
|
8
|
+
"chunk/cpp.js",
|
|
9
|
+
"chunk/css.js",
|
|
10
|
+
"chunk/html.js",
|
|
11
|
+
"chunk/java.js",
|
|
12
|
+
"chunk/javascript.js",
|
|
13
|
+
"chunk/json.js",
|
|
14
|
+
"chunk/legacy.js",
|
|
15
|
+
"chunk/markdown.js",
|
|
16
|
+
"chunk/php.js",
|
|
17
|
+
"chunk/python.js",
|
|
18
|
+
"chunk/wast.js",
|
|
19
|
+
"chunk/xml.js",
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// Base script used with Rollup to bundle the necessary CodeMirror
|
|
2
|
+
// components.
|
|
3
|
+
//
|
|
4
|
+
// Note that this file is also used as a TypeScript source to bundle
|
|
5
|
+
// the .d.ts files.
|
|
6
|
+
|
|
7
|
+
import {StreamLanguage} from '@codemirror/stream-parser';
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
acceptCompletion, autocompletion, completeAnyWord, Completion, CompletionContext,
|
|
11
|
+
CompletionResult, CompletionSource, currentCompletions, ifNotIn
|
|
12
|
+
} from '@codemirror/autocomplete';
|
|
13
|
+
export {closeBrackets, closeBracketsKeymap} from '@codemirror/closebrackets';
|
|
14
|
+
export {
|
|
15
|
+
cursorMatchingBracket, cursorSubwordBackward, cursorSubwordForward,
|
|
16
|
+
indentLess, indentMore, selectMatchingBracket, selectSubwordBackward, selectSubwordForward,
|
|
17
|
+
standardKeymap
|
|
18
|
+
} from '@codemirror/commands';
|
|
19
|
+
export {toggleComment} from '@codemirror/comment';
|
|
20
|
+
export {codeFolding, foldGutter, foldKeymap} from '@codemirror/fold';
|
|
21
|
+
export { gutter, GutterMarker, gutters,lineNumbers} from '@codemirror/gutter';
|
|
22
|
+
export {HighlightStyle, highlightTree, Tag, tags, TagStyle} from '@codemirror/highlight';
|
|
23
|
+
export {history, historyKeymap, redo, redoSelection, undo, undoSelection} from '@codemirror/history';
|
|
24
|
+
export { indentOnInput, indentUnit,Language, LanguageSupport, syntaxTree} from '@codemirror/language';
|
|
25
|
+
export {bracketMatching} from '@codemirror/matchbrackets';
|
|
26
|
+
export {Range, RangeSet, RangeSetBuilder} from '@codemirror/rangeset';
|
|
27
|
+
export {selectNextOccurrence} from '@codemirror/search';
|
|
28
|
+
export {
|
|
29
|
+
Annotation, AnnotationType, Compartment, EditorSelection,
|
|
30
|
+
EditorState, EditorStateConfig, Extension, Facet, Prec, SelectionRange,
|
|
31
|
+
StateEffect, StateEffectType, StateField, Transaction, TransactionSpec
|
|
32
|
+
} from '@codemirror/state';
|
|
33
|
+
export {StreamLanguage, StreamParser, StringStream} from '@codemirror/stream-parser';
|
|
34
|
+
export {Line, Text, TextIterator} from '@codemirror/text';
|
|
35
|
+
export {showTooltip, Tooltip, tooltips, TooltipView} from '@codemirror/tooltip';
|
|
36
|
+
export {
|
|
37
|
+
Command, Decoration, DecorationSet, drawSelection, EditorView,
|
|
38
|
+
highlightSpecialChars, KeyBinding, keymap, MatchDecorator, placeholder,
|
|
39
|
+
scrollPastEnd, ViewPlugin, ViewUpdate, WidgetType,
|
|
40
|
+
} from '@codemirror/view';
|
|
41
|
+
export {
|
|
42
|
+
NodeProp, NodeSet, NodeType, Parser, SyntaxNode, Tree, TreeCursor
|
|
43
|
+
} from '@lezer/common';
|
|
44
|
+
export {LRParser} from '@lezer/lr';
|
|
45
|
+
|
|
46
|
+
export async function clojure() {
|
|
47
|
+
return StreamLanguage.define((await import('@codemirror/legacy-modes/mode/clojure')).clojure);
|
|
48
|
+
}
|
|
49
|
+
export async function coffeescript() {
|
|
50
|
+
return StreamLanguage.define((await import('@codemirror/legacy-modes/mode/coffeescript')).coffeeScript);
|
|
51
|
+
}
|
|
52
|
+
export function cpp() {
|
|
53
|
+
return import('@codemirror/lang-cpp');
|
|
54
|
+
}
|
|
55
|
+
export function css() {
|
|
56
|
+
return import('@codemirror/lang-css');
|
|
57
|
+
}
|
|
58
|
+
export function html() {
|
|
59
|
+
return import('@codemirror/lang-html');
|
|
60
|
+
}
|
|
61
|
+
export function java() {
|
|
62
|
+
return import('@codemirror/lang-java');
|
|
63
|
+
}
|
|
64
|
+
export function javascript() {
|
|
65
|
+
return import('@codemirror/lang-javascript');
|
|
66
|
+
}
|
|
67
|
+
export function json() {
|
|
68
|
+
return import('@codemirror/lang-json');
|
|
69
|
+
}
|
|
70
|
+
export function markdown() {
|
|
71
|
+
return import('@codemirror/lang-markdown');
|
|
72
|
+
}
|
|
73
|
+
export function php() {
|
|
74
|
+
return import('@codemirror/lang-php');
|
|
75
|
+
}
|
|
76
|
+
export function python() {
|
|
77
|
+
return import('@codemirror/lang-python');
|
|
78
|
+
}
|
|
79
|
+
export async function shell() {
|
|
80
|
+
return StreamLanguage.define((await import('@codemirror/legacy-modes/mode/shell')).shell);
|
|
81
|
+
}
|
|
82
|
+
export function wast() {
|
|
83
|
+
return import('@codemirror/lang-wast');
|
|
84
|
+
}
|
|
85
|
+
export function xml() {
|
|
86
|
+
return import('@codemirror/lang-xml');
|
|
87
|
+
}
|