_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular/devtools/projects/protocol/index.ts_0_238 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './src/public-api';
| {
"end_byte": 238,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/index.ts"
} |
angular/devtools/projects/protocol/src/public-api.ts_0_363 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/*
* Public API Surface of protocol
*/
export * from './lib/messages';
export * from './lib/message-bus';
export ... | {
"end_byte": 363,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/src/public-api.ts"
} |
angular/devtools/projects/protocol/src/lib/priority-aware-message-bus.ts_0_2819 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {MessageBus} from './message-bus';
import {Events, Topic} from './messages';
type ThrottleTopicDuration = {
... | {
"end_byte": 2819,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/src/lib/priority-aware-message-bus.ts"
} |
angular/devtools/projects/protocol/src/lib/messages.ts_0_7144 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {InjectionToken, InjectOptions, Injector, Type, ViewEncapsulation} from '@angular/core';
export interface Di... | {
"end_byte": 7144,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/src/lib/messages.ts"
} |
angular/devtools/projects/protocol/src/lib/message-bus.ts_0_552 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export type Parameters<F> = F extends (...args: infer T) => any ? T : never;
export abstract class MessageBus<T> {
... | {
"end_byte": 552,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/src/lib/message-bus.ts"
} |
angular/devtools/projects/protocol/src/lib/priority-aware-message-bus.spec.ts_0_2122 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {MessageBus} from './message-bus';
import {Events, Topic} from './messages';
import {PriorityAwareMessageBus}... | {
"end_byte": 2122,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/src/lib/priority-aware-message-bus.spec.ts"
} |
angular/devtools/projects/shared-utils/README.md_0_105 | # Shared Utilities
This directory contains shared utilities between different Angular DevTools modules.
| {
"end_byte": 105,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/README.md"
} |
angular/devtools/projects/shared-utils/BUILD.bazel_0_978 | load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
load("//devtools/tools:typescript.bzl", "ts_library", "ts_test_library")
load("//devtools/tools:defaults.bzl", "karma_web_test_suite")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "shared_utils_ts",
srcs = glob(
["... | {
"end_byte": 978,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/BUILD.bazel"
} |
angular/devtools/projects/shared-utils/index.ts_0_238 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './src/public-api';
| {
"end_byte": 238,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/index.ts"
} |
angular/devtools/projects/shared-utils/src/public-api.ts_0_323 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/*
* Public API Surface of shared-utils
*/
export * from './lib/shared-utils';
export * from './lib/angular-check... | {
"end_byte": 323,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/src/public-api.ts"
} |
angular/devtools/projects/shared-utils/src/lib/angular-check.spec.ts_0_3134 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
appIsAngular,
appIsAngularInDevMode,
appIsAngularIvy,
appIsSupportedAngularVersion,
getAngularVer... | {
"end_byte": 3134,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/src/lib/angular-check.spec.ts"
} |
angular/devtools/projects/shared-utils/src/lib/shared-utils.spec.ts_0_1960 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {arrayEquals} from 'shared-utils';
describe('arrayEquals', () => {
let a: any;
let b: any;
describe('... | {
"end_byte": 1960,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/src/lib/shared-utils.spec.ts"
} |
angular/devtools/projects/shared-utils/src/lib/shared-utils.ts_0_666 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
// works with arrays of string, numbers and booleans
export const arrayEquals = (
a: (string | number | boolean)[]... | {
"end_byte": 666,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/src/lib/shared-utils.ts"
} |
angular/devtools/projects/shared-utils/src/lib/angular-check.ts_0_1984 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ɵHydratedNode as HydrationNode} from '@angular/core';
declare const ng: any;
export const appIsAngularInDe... | {
"end_byte": 1984,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shared-utils/src/lib/angular-check.ts"
} |
angular/devtools/projects/shell-browser/set-version.js_0_1715 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
const chalk = require('chalk');
const {createInterface} = require('readline');
const semver = require('semver');
con... | {
"end_byte": 1715,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/set-version.js"
} |
angular/devtools/projects/shell-browser/BUILD.bazel_0_54 | package(default_visibility = ["//visibility:public"])
| {
"end_byte": 54,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/BUILD.bazel"
} |
angular/devtools/projects/shell-browser/src/index.html_0_621 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ShellChrome</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="assets/icon16.png" />
<link rel="stylesheet" href="./third_party/githu... | {
"end_byte": 621,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/index.html"
} |
angular/devtools/projects/shell-browser/src/main.ts_0_482 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {enableProdMode} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynami... | {
"end_byte": 482,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/main.ts"
} |
angular/devtools/projects/shell-browser/src/devtools.html_0_320 | <!DOCTYPE html>
<html lang="en">
<head>
<title>DevTools</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
</head>
<body>
<script src="devtools_bundle.js"></script>
</body>
</html>
| {
"end_byte": 320,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/devtools.html"
} |
angular/devtools/projects/shell-browser/src/devtools.ts_0_316 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/// <reference types="chrome"/>
chrome.devtools.panels.create('Angular', 'assets/icon-bw16.png', 'index.html');
| {
"end_byte": 316,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/devtools.ts"
} |
angular/devtools/projects/shell-browser/src/styles.scss_0_72 | @use '../../../styles.scss' as devtools;
body,
html {
height: 100%;
} | {
"end_byte": 72,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/styles.scss"
} |
angular/devtools/projects/shell-browser/src/BUILD.bazel_0_4637 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_web")
load("//devtools/tools:ng_module.bzl", "ng_module")
load("//devtools/tools:typescript.bzl", "ts_library")
load("//tools:defaults.bzl", "esbuild")
load("//devtools/tools/esbuild:index.bzl", "LINK... | {
"end_byte": 4637,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/BUILD.bazel"
} |
angular/devtools/projects/shell-browser/src/app/app.component.html_0_28 | <ng-devtools></ng-devtools>
| {
"end_byte": 28,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/app.component.html"
} |
angular/devtools/projects/shell-browser/src/app/same-page-message-bus.ts_0_2539 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Events, MessageBus, Parameters} from 'protocol';
type AnyEventCallback<Ev> = <E extends keyof Ev>(topic: E,... | {
"end_byte": 2539,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/same-page-message-bus.ts"
} |
angular/devtools/projects/shell-browser/src/app/chrome-application-environment.ts_0_509 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ApplicationEnvironment, Environment} from 'ng-devtools';
import {environment} from '../environments/environ... | {
"end_byte": 509,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/chrome-application-environment.ts"
} |
angular/devtools/projects/shell-browser/src/app/tab_manager_spec.ts_0_1856 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {DevToolsConnection, TabManager, Tabs} from './tab_manager';
interface MockSender {
url: string;
tab: {
... | {
"end_byte": 1856,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/tab_manager_spec.ts"
} |
angular/devtools/projects/shell-browser/src/app/tab_manager_spec.ts_1858_9380 | describe('Tab Manager - ', () => {
let tabs: Tabs;
const tabId = 12345;
let chromeRuntime: jasmine.SpyObj<typeof chrome.runtime>;
let tabManager: TabManager;
let tab: DevToolsConnection;
let chromeRuntimeOnConnectListeners: ((port: MockPort) => void)[] = [];
function connectToChromeRuntime(port: MockPort... | {
"end_byte": 9380,
"start_byte": 1858,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/tab_manager_spec.ts"
} |
angular/devtools/projects/shell-browser/src/app/tab_manager_spec.ts_9384_16818 | describe('Multiple Frames', () => {
const topLevelFrameId = 0;
const childFrameId = 1;
function createTopLevelContentScriptPort() {
const port = new MockPort({
name: 'Top level content script',
sender: {
url: 'TEST_URL',
tab: {
id: tabId,
},
... | {
"end_byte": 16818,
"start_byte": 9384,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/tab_manager_spec.ts"
} |
angular/devtools/projects/shell-browser/src/app/content-script.ts_0_3051 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ChromeMessageBus} from './chrome-message-bus';
import {SamePageMessageBus} from './same-page-message-bus';
... | {
"end_byte": 3051,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/content-script.ts"
} |
angular/devtools/projects/shell-browser/src/app/tab_manager.ts_0_7899 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/// <reference types="chrome"/>
import {Events, Topic} from 'protocol';
export interface ContentScriptConnection {... | {
"end_byte": 7899,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/tab_manager.ts"
} |
angular/devtools/projects/shell-browser/src/app/app.component.spec.ts_0_1035 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {TestBed, waitForAsync} from '@angular/core/testing';
import {RouterModule} from '@angular/router';
import {A... | {
"end_byte": 1035,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/app.component.spec.ts"
} |
angular/devtools/projects/shell-browser/src/app/app.module.ts_0_1702 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {NgModule, NgZone} from '@angular/core';
import {MatSelect} from '@angular/material/select';
import {BrowserA... | {
"end_byte": 1702,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/app.module.ts"
} |
angular/devtools/projects/shell-browser/src/app/app.component.ts_0_1572 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ChangeDetectorRef, Component, inject, OnInit} from '@angular/core';
import {Events, MessageBus} from 'protoc... | {
"end_byte": 1572,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/app.component.ts"
} |
angular/devtools/projects/shell-browser/src/app/chrome-message-bus.ts_0_2430 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/// <reference types="chrome"/>
import {Events, MessageBus, Parameters} from 'protocol';
interface ChromeMessage<T... | {
"end_byte": 2430,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/chrome-message-bus.ts"
} |
angular/devtools/projects/shell-browser/src/app/background.ts_0_2176 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/// <reference types="chrome"/>
import {AngularDetection} from 'protocol';
import {TabManager, Tabs} from './tab_ma... | {
"end_byte": 2176,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/background.ts"
} |
angular/devtools/projects/shell-browser/src/app/chrome-window-extensions.ts_0_3118 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {findNodeFromSerializedPosition} from 'ng-devtools-backend';
import {
buildDirectiveForest,
queryDirecti... | {
"end_byte": 3118,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/chrome-window-extensions.ts"
} |
angular/devtools/projects/shell-browser/src/app/BUILD.bazel_0_6207 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:ng_module.bzl", "ng_module")
load("//devtools/tools:typescript.bzl", "ts_library", "ts_test_library")
load("//tools:defaults.bzl", "esbuild")
load("//devtools/tools:defaults.bzl", "karma_web_test_suite")
package(default_visibility = ["//visi... | {
"end_byte": 6207,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/BUILD.bazel"
} |
angular/devtools/projects/shell-browser/src/app/chrome-application-operations.ts_0_1414 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/// <reference types="chrome"/>
import {ApplicationOperations} from 'ng-devtools';
import {DirectivePosition, Eleme... | {
"end_byte": 1414,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/chrome-application-operations.ts"
} |
angular/devtools/projects/shell-browser/src/app/ng-validate.ts_0_519 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/// <reference types="chrome"/>
if (document.contentType === 'text/html') {
const script = document.createElement... | {
"end_byte": 519,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/ng-validate.ts"
} |
angular/devtools/projects/shell-browser/src/app/zone-aware-chrome-message-bus.ts_0_1353 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {NgZone} from '@angular/core';
import {Events, MessageBus, Parameters} from 'protocol';
import {ChromeMessag... | {
"end_byte": 1353,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/zone-aware-chrome-message-bus.ts"
} |
angular/devtools/projects/shell-browser/src/app/backend.ts_0_1389 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {initializeMessageBus} from 'ng-devtools-backend';
import {unHighlight} from '../../../ng-devtools-backend/s... | {
"end_byte": 1389,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/backend.ts"
} |
angular/devtools/projects/shell-browser/src/app/detect-angular-for-extension-icon.ts_0_1374 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {AngularDetection} from 'protocol';
import {
appIsAngular,
appIsAngularInDevMode,
appIsAngularIvy,
ap... | {
"end_byte": 1374,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/app/detect-angular-for-extension-icon.ts"
} |
angular/devtools/projects/shell-browser/src/environments/environment.ts_0_256 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export const environment = {
production: true,
};
| {
"end_byte": 256,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/environments/environment.ts"
} |
angular/devtools/projects/shell-browser/src/environments/BUILD.bazel_0_283 | load("//devtools/tools:typescript.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "environment",
srcs = [
"environment.ts",
],
deps = [
"//devtools/projects/ng-devtools",
"@npm//@types",
],
)
| {
"end_byte": 283,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/environments/BUILD.bazel"
} |
angular/devtools/projects/shell-browser/src/manifest/BUILD.bazel_0_131 | package(default_visibility = ["//visibility:public"])
exports_files([
"manifest.chrome.json",
"manifest.firefox.json",
])
| {
"end_byte": 131,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/manifest/BUILD.bazel"
} |
angular/devtools/projects/shell-browser/src/styles/chrome_styles.scss_0_42 | /** Specific style for Chrome browser */
| {
"end_byte": 42,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/styles/chrome_styles.scss"
} |
angular/devtools/projects/shell-browser/src/styles/firefox_styles.scss_0_43 | /** Specific style for Firefox browser */
| {
"end_byte": 43,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/styles/firefox_styles.scss"
} |
angular/devtools/projects/shell-browser/src/popups/not-angular.html_0_1065 | <html>
<head>
<link href="../third_party/github.com/google/material-design-icons/material-icons.css" rel="stylesheet" />
<style>
* {
margin: 0;
padding: 0;
}
.header-text {
margin: 0px;
text-align: center;
padding-bottom: 8px;
}
.modal-content {
min... | {
"end_byte": 1065,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/popups/not-angular.html"
} |
angular/devtools/projects/shell-browser/src/popups/unsupported.html_0_1251 | <html>
<head>
<link href="../third_party/github.com/google/material-design-icons/material-icons.css" rel="stylesheet" />
<style>
* {
margin: 0;
padding: 0;
}
.header-text {
margin: 0px;
text-align: center;
padding-bottom: 8px;
}
.modal-content {
min... | {
"end_byte": 1251,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/popups/unsupported.html"
} |
angular/devtools/projects/shell-browser/src/popups/production.html_0_1272 | <html>
<head>
<link href="../third_party/github.com/google/material-design-icons/material-icons.css" rel="stylesheet" />
<style>
* {
margin: 0;
padding: 0;
}
.header-text {
margin: 0px;
text-align: center;
padding-bottom: 8px;
}
.modal-content {
min... | {
"end_byte": 1272,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/popups/production.html"
} |
angular/devtools/projects/shell-browser/src/popups/BUILD.bazel_0_118 | package(default_visibility = ["//visibility:public"])
filegroup(
name = "popups",
srcs = glob(["*.html"]),
)
| {
"end_byte": 118,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/popups/BUILD.bazel"
} |
angular/devtools/projects/shell-browser/src/popups/supported.html_0_1432 | <html>
<head>
<link href="../third_party/github.com/google/material-design-icons/material-icons.css" rel="stylesheet" />
<style>
* {
margin: 0;
padding: 0;
}
.header-text {
margin: 0px;
text-align: center;
padding-bottom: 8px;
}
.modal-content {
min... | {
"end_byte": 1432,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/popups/supported.html"
} |
angular/devtools/projects/shell-browser/src/assets/BUILD.bazel_0_316 | package(default_visibility = ["//:__subpackages__"])
filegroup(
name = "assets",
srcs = glob([
"*.svg",
"**/*.png",
"*.css",
]) + [
"//third_party/github.com/google/material-design-icons",
"//third_party/github.com/google/material-design-icons:LICENSE",
],
)
| {
"end_byte": 316,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/shell-browser/src/assets/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/README.md_0_259 | # Angular DevTools UI
This module exports the Angular DevTools component. We render the `DevToolsComponent` within an Angular application running in Chrome or Firefox DevTools. This module of the application communicates with the Angular DevTools "backend".
| {
"end_byte": 259,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/README.md"
} |
angular/devtools/projects/ng-devtools/BUILD.bazel_0_874 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
package(default_visibility = ["//visibility:public"])
exports_files(["tsconfig.lib.json"])
ng_module(
name = "ng_devtools_ts",
srcs = ["index.ts"],
deps = [
"//devtools/projects/ng-devt... | {
"end_byte": 874,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/index.ts_0_238 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './src/public-api';
| {
"end_byte": 238,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/index.ts"
} |
angular/devtools/projects/ng-devtools/src/public-api.ts_0_402 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/*
* Public API Surface of ng-devtools
*/
export {DevToolsComponent} from './lib/devtools.component';
export * fr... | {
"end_byte": 402,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/public-api.ts"
} |
angular/devtools/projects/ng-devtools/src/BUILD.bazel_0_389 | load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
ng_module(
name = "src",
srcs = ["public-api.ts"],
deps = [
"//devtools/projects/ng-devtools/src/lib",
"//devtools/projects/ng-devtools/src/lib/application-environment",
"//dev... | {
"end_byte": 389,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools.component.scss_0_3841 | @keyframes pulse {
0% {
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
}
100% {
box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
}
}
@keyframes darkmode-pulse {
0% {
box-shadow: 0 0 0 0px rgb(126, 40, 40);
}
100% {
box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
}
}
:host {
width: 100%;
height: 100%;
... | {
"end_byte": 3841,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools.component.html_0_4535 | <div class="devtools mat-typography mat-app-background" style="height: 100%;">
@switch (angularStatus) {
@case (AngularStatus.EXISTS) {
@if (angularIsInDevMode) {
@if (supportedVersion()) {
<div class="devtools-wrapper noselect" [@enterAnimation]>
<ng-devtools-tabs (frameSelect... | {
"end_byte": 4535,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/frame_manager_spec.ts_0_8698 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Events, MessageBus} from 'protocol';
import {FrameManager} from './frame_manager';
import {TestBed} from '@a... | {
"end_byte": 8698,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/frame_manager_spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools_spec.ts_0_3440 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Component, signal} from '@angular/core';
import {ComponentFixture, TestBed} from '@angular/core/testing';
im... | {
"end_byte": 3440,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools_spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools.component.ts_0_4348 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {animate, style, transition, trigger} from '@angular/animations';
import {Platform} from '@angular/cdk/platfo... | {
"end_byte": 4348,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/BUILD.bazel_0_2405 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:typescript.bzl", "ts_test_library")
load("//devtools/tools:defaults.bzl", "karma_web_test_suite")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "devtools_co... | {
"end_byte": 2405,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/frame_manager.ts_0_4187 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Injectable, inject} from '@angular/core';
import {Events, MessageBus} from 'protocol';
import {Frame, TOP_L... | {
"end_byte": 4187,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/frame_manager.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/theme-service.ts_0_1322 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Injectable, Renderer2, RendererFactory2, signal} from '@angular/core';
export type Theme = 'dark-theme' | '... | {
"end_byte": 1322,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/theme-service.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/application-environment/BUILD.bazel_0_271 | load("//devtools/tools:typescript.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "application-environment",
srcs = ["index.ts"],
deps = [
"//devtools/projects/protocol",
"@npm//@types",
],
)
| {
"end_byte": 271,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/application-environment/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/application-environment/index.ts_0_503 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export interface Environment {
production: boolean;
}
export const TOP_LEVEL_FRAME_ID = 0;
export interface Fram... | {
"end_byte": 503,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/application-environment/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss_0_2150 | :host {
position: relative;
width: 100%;
height: 100%;
display: block;
}
.hidden {
display: none;
}
ng-injector-tree.hidden {
display: block;
visibility: hidden;
position: absolute;
top: 0;
}
.tab-content {
position: relative;
height: calc(100% - 31px);
}
#nav-buttons {
display: flex;
but... | {
"end_byte": 2150,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.html_0_3914 | <nav class="devtools-nav" #navBar mat-tab-nav-bar mat-stretch-tabs="false" [disablePagination]="true" [color]="'accent'" [tabPanel]="tabPanel">
<div id="nav-buttons">
<button (click)="toggleInspector()" matTooltip="Inspect element">
<mat-icon [class.inspector-active]="inspectorRunning()"> pin_end </mat-icon... | {
"end_byte": 3914,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.spec.ts_0_3710 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Component} from '@angular/core';
import {TestBed} from '@angular/core/testing';
import {MatMenuModule} from ... | {
"end_byte": 3710,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.ts_0_4369 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Component, computed, inject, input, output, signal} from '@angular/core';
import {MatIcon} from '@angular/ma... | {
"end_byte": 4369,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/BUILD.bazel_0_2330 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:typescript.bzl", "ts_test_library")
load("//devtools/tools:defaults.bzl", "karma_web_test_suite")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "devtools_ta... | {
"end_byte": 2330,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.ts_0_1212 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
afterNextRender,
Component,
ElementRef,
inject,
NgZone,
signal,
viewChild,
} from '@angular/c... | {
"end_byte": 1212,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.ts_1214_9086 | @Component({
standalone: true,
selector: 'ng-injector-tree',
imports: [
SplitComponent,
SplitAreaDirective,
InjectorProvidersComponent,
MatIcon,
MatTooltip,
MatCheckbox,
],
templateUrl: `./injector-tree.component.html`,
styleUrls: ['./injector-tree.component.scss'],
})
export class I... | {
"end_byte": 9086,
"start_byte": 1214,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.ts_9090_12058 | highlightPathFromSelectedInjector(): void {
this.unhighlightAllEdges(this.elementG());
this.unhighlightAllNodes(this.elementG());
this.unhighlightAllEdges(this.g());
this.unhighlightAllNodes(this.g());
this.checkIfSelectedNodeStillExists();
if (this.selectedNode() === null) {
return;
... | {
"end_byte": 12058,
"start_byte": 9090,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.scss_0_3442 | :host {
width: 100%;
height: 100%;
overflow: auto;
position: relative;
}
.hidden {
visibility: hidden;
}
.not-supported {
margin-top: 16px;
}
::ng-deep {
.as-split-gutter-icon {
display: none;
}
}
as-split-area {
overflow: auto !important;
}
:host {
::ng-deep {
.mat-tab-label {... | {
"end_byte": 3442,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.html_0_2454 | @if (!diDebugAPIsAvailable()) {
<p class="not-supported">
This feature is only available on version 17.0.0 or higher of Angular.
</p>
}
<as-split [class.hidden]="!diDebugAPIsAvailable()" unit="pixel" direction="vertical" [gutterSize]="9" [disabled]="true">
<as-split-area size="50">
<mat-checkbox
(ch... | {
"end_byte": 2454,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.ts_0_6124 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {DevToolsNode, SerializedInjector} from 'protocol';
import {
InjectorTreeD3Node,
InjectorTreeNode,
} fro... | {
"end_byte": 6124,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-providers.component.ts_0_6056 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Component, computed, inject, input, signal} from '@angular/core';
import {MatOption} from '@angular/material... | {
"end_byte": 6056,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-providers.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_0_2728 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ComponentType, DevToolsNode} from 'protocol';
import {
InjectorTreeD3Node,
InjectorTreeNode,
} from '../... | {
"end_byte": 2728,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_2730_8983 | describe('transformInjectorResolutionPathsIntoTree', () => {
it('should be able to transform injector paths to a d3 tree', () => {
const injectorPaths: InjectorPath[] = [
{
'node': {
'element': 'app-root',
'component': {'name': 'app-root', 'isElement': false, 'id': 0},
... | {
"end_byte": 8983,
"start_byte": 2730,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_9004_17671 | {
'element': 'app-todos',
'component': {'name': 'app-todos', 'isElement': false, 'id': 8},
'hydration': null,
'directives': [],
'children': [
{
'element': 'a',
... | {
"end_byte": 17671,
"start_byte": 9004,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_17696_25960 | {
'element': 'app-todo',
'component': {'name': 'app-todo', 'isElement': false, 'id': 15},
'directives': [{'name': '_TooltipDirective', 'id': 16}],
'hydration': null,
'children': [
... | {
"end_byte": 25960,
"start_byte": 17696,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_25975_32546 | 'resolutionPath': [
{'id': '6', 'type': 'element', 'name': '_DemoAppComponent'},
{'id': '0', 'type': 'element', 'name': '_RouterOutlet'},
{'id': '1', 'type': 'element', 'name': '_AppComponent'},
{'id': '7', 'type': 'environment', 'name': '_DemoAppModule'},... | {
"end_byte": 32546,
"start_byte": 25975,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_32563_40734 | {
'element': 'app-todos',
'component': {'name': 'app-todos', 'isElement': false, 'id': 8},
'hydration': null,
'directives': [],
'children': [
{
'element': 'a',
'compo... | {
"end_byte": 40734,
"start_byte": 32563,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_40755_48536 | {
'element': 'app-todo',
'component': {'name': 'app-todo', 'isElement': false, 'id': 15},
'directives': [{'name': '_TooltipDirective', 'id': 16}],
'hydration': null,
'children': [
{
... | {
"end_byte": 48536,
"start_byte": 40755,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_48547_53774 | 'resolutionPath': [
{'id': '6', 'type': 'element', 'name': '_DemoAppComponent'},
{'id': '0', 'type': 'element', 'name': '_RouterOutlet'},
{'id': '1', 'type': 'element', 'name': '_AppComponent'},
{'id': '7', 'type': 'environment', 'name': '_DemoAppModule'},
{'i... | {
"end_byte": 53774,
"start_byte": 48547,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_53787_61462 | {
'element': 'app-todos',
'component': {'name': 'app-todos', 'isElement': false, 'id': 8},
'directives': [],
'hydration': null,
'children': [
{
'element': 'a',
'component': null,
'... | {
"end_byte": 61462,
"start_byte": 53787,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_61479_68189 | {
'element': 'app-todo',
'component': {'name': 'app-todo', 'isElement': false, 'id': 15},
'directives': [{'name': '_TooltipDirective', 'id': 16}],
'hydration': null,
'children': [
{
'eleme... | {
"end_byte": 68189,
"start_byte": 61479,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_68196_72023 | {
'node': {
'element': 'a',
'component': null,
'hydration': null,
'directives': [{'name': '_RouterLink', 'id': 5}],
'children': [],
'resolutionPath': [
{'id': '8', 'type': 'element', 'name': '_RouterLink'},
{'id': '9', 'type': '... | {
"end_byte": 72023,
"start_byte": 68196,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_72030_79227 | {
'node': {
'element': 'app-todos',
'component': {'name': 'app-todos', 'isElement': false, 'id': 8},
'directives': [],
'hydration': null,
'children': [
{
'element': 'a',
'component': null,
'hydration': null,
... | {
"end_byte": 79227,
"start_byte": 72030,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_79240_86446 | {
'element': 'app-todo',
'component': {'name': 'app-todo', 'isElement': false, 'id': 15},
'directives': [{'name': '_TooltipDirective', 'id': 16}],
'hydration': null,
'children': [
{
'element': 'div',
... | {
"end_byte": 86446,
"start_byte": 79240,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_86453_92802 | {
'node': {
'element': 'a',
'component': null,
'hydration': null,
'directives': [{'name': '_RouterLink', 'id': 10}],
'children': [],
'resolutionPath': [
{'id': '16', 'type': 'element', 'name': '_RouterLink'},
{'id': '14', 'type'... | {
"end_byte": 92802,
"start_byte": 86453,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_92809_99740 | {
'node': {
'element': 'div',
'component': null,
'hydration': null,
'directives': [{'name': '_TooltipDirective', 'id': 14}],
'children': [],
'resolutionPath': [
{'id': '18', 'type': 'element', 'name': '_TooltipDirective'},
{'id'... | {
"end_byte": 99740,
"start_byte": 92809,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_99747_102392 | {
'node': {
'element': '#comment',
'component': null,
'hydration': null,
'directives': [{'name': '_NgForOf', 'id': 18}],
'children': [],
'resolutionPath': [
{'id': '20', 'type': 'element', 'name': '_NgForOf'},
{'id': '14', 'type... | {
"end_byte": 102392,
"start_byte": 99747,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_102398_109147 | const expected: InjectorTreeNode = {
'injector': {'name': '', 'type': 'hidden', 'id': 'N/A'},
'children': [
{
'injector': {
'id': '1',
'type': 'element',
'name': '_AppComponent',
'node': {
'element': 'app-root',
'h... | {
"end_byte": 109147,
"start_byte": 102398,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_109172_118335 | {
'element': 'app-todos',
'component': {'name': 'app-todos', 'isElement': false, 'id': 8},
'directives': [],
'hydration': null,
'children': [
{
... | {
"end_byte": 118335,
"start_byte": 109172,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_118364_127112 | {
'element': 'app-todo',
'component': {'name': 'app-todo', 'isElement': false, 'id': 15},
'directives': [{'name': '_TooltipDirective', 'id': 16}],
'hydration': null,
'chi... | {
"end_byte": 127112,
"start_byte": 118364,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts_127131_133880 | 'resolutionPath': [
{'id': '6', 'type': 'element', 'name': '_DemoAppComponent'},
{'id': '0', 'type': 'element', 'name': '_RouterOutlet'},
{'id': '1', 'type': 'element', 'name': '_AppComponent'},
{'id': '7', 'type': 'environment', 'name': '_... | {
"end_byte": 133880,
"start_byte": 127131,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/injector-tree/injector-tree-fns.spec.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.