_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular/devtools/cypress/integration/node-search.e2e.js_0_2980
/** * @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 */ function checkSearchedNodesLength(type, length) { cy.get(`.tree-wrapper:first ${type}`).its('length').should('eq',...
{ "end_byte": 2980, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/cypress/integration/node-search.e2e.js" }
angular/devtools/cypress/integration/base.e2e.js_0_998
/** * @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 */ require('cypress-iframe'); describe('Testing the Todo app Demo', () => { beforeEach(() => { cy.visit('/'); ...
{ "end_byte": 998, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/cypress/integration/base.e2e.js" }
angular/devtools/cypress/integration/view-component-metadata.e2e.js_0_2286
/** * @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 prepareHeaderExpansionPanelForAssertions = (selector) => { cy.get('.tree-wrapper').find(selector).first().cl...
{ "end_byte": 2286, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/cypress/integration/view-component-metadata.e2e.js" }
angular/devtools/cypress/integration/node-selection.e2e.js_0_4793
/** * @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 */ require('cypress-iframe'); describe('node selection', () => { beforeEach(() => { cy.visit('/'); }); desc...
{ "end_byte": 4793, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/cypress/integration/node-selection.e2e.js" }
angular/devtools/cypress/integration/comment-nodes.e2e.js_0_813
/** * @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 */ function showComments() { cy.get('#nav-buttons > button:nth-child(2)').click(); cy.get('#mat-slide-toggle-3 > la...
{ "end_byte": 813, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/cypress/integration/comment-nodes.e2e.js" }
angular/devtools/cypress/support/index.js_0_875
/** * @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 */ // *********************************************************** // This example support/index.js is processed and // ...
{ "end_byte": 875, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/cypress/support/index.js" }
angular/devtools/cypress/support/commands.js_0_1042
/** * @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 */ // *********************************************** // This example commands.js shows you how to // create various cu...
{ "end_byte": 1042, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/cypress/support/commands.js" }
angular/devtools/projects/ng-devtools-backend/README.md_0_206
# Angular DevTools Backend This directory contains the "backend" of Angular DevTools. This module interacts with the framework debugging APIs and responses to requests from the Angular DevTools extension.
{ "end_byte": 206, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/README.md" }
angular/devtools/projects/ng-devtools-backend/BUILD.bazel_0_452
load("@build_bazel_rules_nodejs//:index.bzl", "js_library") load("//devtools/tools:typescript.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "ng_devtools_backend_ts", srcs = ["index.ts"], deps = [ "//devtools/projects/ng-devtools-backend/src", ], )...
{ "end_byte": 452, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/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-backend/index.ts" }
angular/devtools/projects/ng-devtools-backend/src/public-api.ts_0_349
/** * @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-backend */ export * from './lib'; export {findNodeFromSerializedPosition} ...
{ "end_byte": 349, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/public-api.ts" }
angular/devtools/projects/ng-devtools-backend/src/BUILD.bazel_0_325
load("//devtools/tools:typescript.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "src", srcs = ["public-api.ts"], deps = [ "//devtools/projects/ng-devtools-backend/src/lib", "//devtools/projects/ng-devtools-backend/src/lib:component_tree", ...
{ "end_byte": 325, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/component-tree.ts_0_7318
/** * @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 { ComponentExplorerViewQuery, DirectiveMetadata, DirectivesProperties, ElementPosition, PropertyQuer...
{ "end_byte": 7318, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/component-tree.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/component-tree.ts_7320_15768
DependenciesForDirective = ( injector: Injector, resolutionPath: {injector: Injector; providers: ProviderRecord[]}[], directive: any, ): SerializedInjectedService[] => { if (!ngDebugApiIsSupported('ɵgetDependenciesFromInjectable')) { return []; } let dependencies = ngDebugClient().ɵgetDependenciesF...
{ "end_byte": 15768, "start_byte": 7320, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/component-tree.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/component-tree.ts_15770_18674
t findNodeInForest = ( position: ElementPosition, forest: ComponentTreeNode[], ): HTMLElement | null => { const foundComponent: ComponentTreeNode | null = queryDirectiveForest(position, forest); return foundComponent ? (foundComponent.nativeElement as HTMLElement) : null; }; export const findNodeFromSerialized...
{ "end_byte": 18674, "start_byte": 15770, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/component-tree.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.ts_0_8758
/** * @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 { ComponentExplorerViewQuery, ComponentType, DevToolsNode, DirectivePosition, DirectiveType, Elem...
{ "end_byte": 8758, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.ts_8759_14028
// and leave the component name. const prepareForestForSerialization = ( roots: ComponentTreeNode[], includeResolutionPath = false, ): SerializableComponentTreeNode[] => { const serializedNodes: SerializableComponentTreeNode[] = []; for (const node of roots) { const serializedNode: SerializableComponentTree...
{ "end_byte": 14028, "start_byte": 8759, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/highlighter.ts_0_5499
/** * @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 type {ɵGlobalDevModeUtils as GlobalDevModeUtils, Type} from '@angular/core'; import {HydrationStatus} from 'p...
{ "end_byte": 5499, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/highlighter.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/highlighter.ts_5501_9969
unction addHighlightForElement( el: Node, color: RgbColor = COLORS.blue, overlayType?: NonNullable<HydrationStatus>['status'], ): HTMLElement | null { const cmp = findComponentAndHost(el).component; const rect = getComponentRect(el); if (rect?.height === 0 || rect?.width === 0) { // display nothing in c...
{ "end_byte": 9969, "start_byte": 5501, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/highlighter.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/set-console-reference.ts_0_2087
/** * @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 {ElementPosition} from 'protocol'; import {arrayEquals} from 'shared-utils'; import {ComponentTreeNode} from...
{ "end_byte": 2087, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/set-console-reference.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/utils.ts_0_1693
/** * @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 ngDebug = () => (window as any).ng; export const runOutsideAngular = (f: () => void): void => { cons...
{ "end_byte": 1693, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/utils.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/highlighter.spec.ts_0_7634
/** * @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 * as highlighter from './highlighter'; describe('highlighter', () => { describe('findComponentAndHost', ()...
{ "end_byte": 7634, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/highlighter.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/router-tree.ts_0_2246
/** * @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 {Route} from 'protocol'; // todo(aleksanderbodurri): type these properly type AngularRoute = any; type Route...
{ "end_byte": 2246, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/router-tree.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/BUILD.bazel_0_3827
load("//devtools/tools:defaults.bzl", "karma_web_test_suite") load("//devtools/tools:typescript.bzl", "ts_library", "ts_test_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "lib", srcs = ["index.ts"], deps = [ ":client_event_subscribers", "//devtools/proj...
{ "end_byte": 3827, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/index.ts_0_435
/** * @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 {subscribeToClientEvents} from './client-event-subscribers'; e...
{ "end_byte": 435, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/index.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/version.ts_0_584
/** * @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 versionElement = document.querySelector('[ng-version]'); const versionRe = /(\d+\.\d+\.\d+(-(next|rc)\.\d+)?)/...
{ "end_byte": 584, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/version.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/router-tree.spec.ts_0_4320
/** * @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 {parseRoutes} from './router-tree'; describe('parseRoutes', () => { it('should work without any routes', (...
{ "end_byte": 4320, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/router-tree.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.spec.ts_0_2527
/** * @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 {subscribeToClientEvents} from './client-event-subscribers'; imp...
{ "end_byte": 2527, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/interfaces.ts_0_705
/** * @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} from 'protocol'; export interface DebuggingAPI { getComponent(node: Node): any; getDirect...
{ "end_byte": 705, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/interfaces.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/directive-forest/render-tree.ts_0_3295
/** * @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'; import {HydrationStatus} from 'protocol'; import {Com...
{ "end_byte": 3295, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/directive-forest/render-tree.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/directive-forest/render-tree.spec.ts_0_3824
/** * @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 {RTreeStrategy} from './render-tree'; describe('render tree extraction', () => { let treeStrategy: RTreeSt...
{ "end_byte": 3824, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/directive-forest/render-tree.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/directive-forest/ltree.ts_0_4290
/** * @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 {SemVerDSL} from 'semver-dsl'; import {getDirectiveName} from '../highlighter'; import {ComponentInstanceTyp...
{ "end_byte": 4290, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/directive-forest/ltree.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/directive-forest/BUILD.bazel_0_1168
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 = "directive-forest", srcs = glob( include = ["*.ts"], exclude = ["*.spec.ts"], ), ...
{ "end_byte": 1168, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/directive-forest/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/directive-forest/index.ts_0_1020
/** * @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 {LTreeStrategy} from './ltree'; import {RTreeStrategy} from './render-tree'; export { getDirectiveHostElem...
{ "end_byte": 1020, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/directive-forest/index.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/ng-debug-api/BUILD.bazel_0_336
# load("//devtools/tools:typescript.bzl", "ts_library") load("//devtools/tools:ng_module.bzl", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "ng-debug-api", srcs = glob( include = ["*.ts"], exclude = ["*.spec.ts"], ), deps = [ "//packages/...
{ "end_byte": 336, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/ng-debug-api/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts_0_1248
/** * @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 type {ɵGlobalDevModeUtils as GlobalDevModeUtils} from '@angular/core'; /** * Returns a handle to window.ng ...
{ "end_byte": 1248, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/capture.ts_0_8191
/** * @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 { DirectiveProfile, ElementPosition, ElementProfile, LifecycleProfile, ProfilerFrame, } from 'proto...
{ "end_byte": 8191, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/capture.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/capture.ts_8193_10921
const prepareInitialFrame = (source: string, duration: number) => { const frame: ProfilerFrame = { source, duration, directives: [], }; const directiveForestHooks = initializeOrGetDirectiveForestHooks(); const directiveForest = directiveForestHooks.getIndexedDirectiveForest(); const traverse = (no...
{ "end_byte": 10921, "start_byte": 8193, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/capture.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/BUILD.bazel_0_942
load("//devtools/tools:typescript.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "hooks", srcs = glob( include = ["*.ts"], exclude = [ "*.spec.ts", "identity-tracker.ts", ], ), deps = [ ":identity_tra...
{ "end_byte": 942, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/index.ts_0_3493
/** * @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 {LifecycleProfile} from 'protocol'; import {getDirectiveName} from '../highlighter'; import {DirectiveFores...
{ "end_byte": 3493, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/index.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/identity-tracker.ts_0_4506
/** * @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, ElementPosition} from 'protocol'; import {buildDirectiveForest} from '../component-tree'; imp...
{ "end_byte": 4506, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/identity-tracker.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/hooks.ts_0_1785
/** * @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 {ElementPosition} from 'protocol'; import {ComponentTreeNode} from '../interfaces'; import {IdentityTracker...
{ "end_byte": 1785, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/hooks.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/polyfill.ts_0_5365
/** * @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 { getDirectiveHostElement, getLViewFromDirectiveOrElementInstance, METADATA_PROPERTY_NAME, } from '../....
{ "end_byte": 5365, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/polyfill.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/shared.ts_0_5913
/** * @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 {ElementPosition, LifecycleProfile} from 'protocol'; import {Subject} from 'rxjs'; import {NodeArray} from '...
{ "end_byte": 5913, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/shared.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/native.ts_0_6247
/** * @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 {ɵProfilerEvent} from '@angular/core'; import {getDirectiveHostElement} from '../../directive-forest'; impor...
{ "end_byte": 6247, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/native.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/BUILD.bazel_0_636
load("//devtools/tools:typescript.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "profiler", srcs = glob( include = ["*.ts"], exclude = ["*.spec.ts"], ), deps = [ "//devtools/projects/ng-devtools-backend/src/lib:utils", "//d...
{ "end_byte": 636, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/index.ts_0_770
/** * @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 {ngDebugClient} from '../../ng-debug-api/ng-debug-api'; import {NgProfiler} from './native'; import {Patchin...
{ "end_byte": 770, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/hooks/profiler/index.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/component-inspector/component-inspector.ts_0_5408
/** * @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 {ElementPosition, HydrationStatus} from 'protocol'; import {findNodeInForest} from '../component-tree'; impo...
{ "end_byte": 5408, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/component-inspector/component-inspector.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/component-inspector/component-inspector.spec.ts_0_2160
/** * @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 {initializeOrGetDirectiveForestHooks} from '../hooks'; import {ComponentInspector} from './component-inspecto...
{ "end_byte": 2160, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/component-inspector/component-inspector.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/component-inspector/BUILD.bazel_0_1278
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 = "component-inspector", srcs = ["component-inspector.ts"], deps = [ "//devtools/projects/ng...
{ "end_byte": 1278, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/component-inspector/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/object-utils.ts_0_1760
/** * @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 {unwrapSignal} from '../utils'; // Intentionally do not include all the prototype (Except for getters and se...
{ "end_byte": 1760, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/object-utils.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.ts_0_4195
/** * @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 {ContainerType, Descriptor, NestedProp, PropType} from 'protocol'; import type {Signal} from '@angular/core';...
{ "end_byte": 4195, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/prop-type.spec.ts_0_2068
/** * @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 {PropType} from 'protocol'; import {getPropType} from './prop-type'; describe('getPropType', () => { cons...
{ "end_byte": 2068, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/prop-type.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/prop-type.ts_0_1520
/** * @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 {PropType} from 'protocol'; import {isSignal} from '../utils'; const commonTypes = { boolean: PropType.Bo...
{ "end_byte": 1520, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/prop-type.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/serialized-descriptor-factory.ts_0_7459
/** * @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 {ContainerType, Descriptor, NestedProp, PropType} from 'protocol'; import {isSignal, unwrapSignal} from '../...
{ "end_byte": 7459, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/serialized-descriptor-factory.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/serialized-descriptor-factory.ts_7461_9552
function getNestedDescriptorValue( propData: CompositeType, levelOptions: LevelOptions, nodes: NestedProp[], nestedSerializer: NestedSerializerFn, ) { const {type, prop} = propData; const {currentLevel} = levelOptions; const value = unwrapSignal(prop); switch (type) { case PropType.Array: ret...
{ "end_byte": 9552, "start_byte": 7461, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/serialized-descriptor-factory.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/BUILD.bazel_0_820
load("//devtools/tools:typescript.bzl", "ts_test_library") load("//devtools/tools:ng_module.bzl", "ng_module") load("//devtools/tools:defaults.bzl", "karma_web_test_suite") package(default_visibility = ["//visibility:public"]) ng_module( name = "state-serializer", srcs = glob( include = ["*.ts"], ...
{ "end_byte": 820, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/BUILD.bazel" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.spec.ts_0_1355
/** * @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 {PropType} from 'protocol'; import {getDescriptor, getKeys} from './object-utils'; import {deeplySerializeSe...
{ "end_byte": 1355, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.spec.ts_1357_10778
describe('deeplySerializeSelectedProperties', () => { it('should work with empty queries', () => { const result = deeplySerializeSelectedProperties(dir1, QUERY_1_1); expect(result).toEqual({ one: { type: PropType.Number, expandable: false, editable: true, preview: '1', ...
{ "end_byte": 10778, "start_byte": 1357, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.spec.ts" }
angular/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.spec.ts_10782_13063
it('getDescriptor should get the descriptors for both getters and setters correctly from the prototype', () => { const instance = { __proto__: { get foo(): number { return 42; }, set bar(newNum: number) {}, get baz(): number { return 42; }, s...
{ "end_byte": 13063, "start_byte": 10782, "url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools-backend/src/lib/state-serializer/state-serializer.spec.ts" }
angular/devtools/projects/demo-no-zone/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/demo-no-zone/BUILD.bazel" }
angular/devtools/projects/demo-no-zone/src/index.html_0_400
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Demo No Zone</title> <base href="/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> </head> <body> <app-root></app-root> <script src="./angular/packages/zone.js/bundles/zone.umd.js"></scrip...
{ "end_byte": 400, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/index.html" }
angular/devtools/projects/demo-no-zone/src/main.ts_0_445
/** * @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 {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; import {AppModule} from './app/app.module...
{ "end_byte": 445, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/main.ts" }
angular/devtools/projects/demo-no-zone/src/styles.css_0_80
/* You can add global styles to this file, and also import other style files */
{ "end_byte": 80, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/styles.css" }
angular/devtools/projects/demo-no-zone/src/BUILD.bazel_0_1302
load("//devtools/tools:ng_module.bzl", "ng_module") load("@build_bazel_rules_nodejs//:index.bzl", "pkg_web") load("//tools:defaults.bzl", "esbuild", "http_server") package(default_visibility = ["//:__subpackages__"]) ng_module( name = "src", srcs = ["main.ts"], deps = [ "//devtools/projects/demo-n...
{ "end_byte": 1302, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/BUILD.bazel" }
angular/devtools/projects/demo-no-zone/src/app/app.component.html_0_73
<h1>{{ counter }}</h1> <button (click)="increment()">Increment</button>
{ "end_byte": 73, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/app/app.component.html" }
angular/devtools/projects/demo-no-zone/src/app/app.module.ts_0_496
/** * @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} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {AppCompone...
{ "end_byte": 496, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/app/app.module.ts" }
angular/devtools/projects/demo-no-zone/src/app/app.component.ts_0_537
/** * @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} from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './...
{ "end_byte": 537, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/app/app.component.ts" }
angular/devtools/projects/demo-no-zone/src/app/BUILD.bazel_0_373
load("//devtools/tools:ng_module.bzl", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "app", srcs = glob( include = ["*.ts"], ), angular_assets = ["app.component.html"], deps = [ "//packages/common", "//packages/core", "//packag...
{ "end_byte": 373, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-no-zone/src/app/BUILD.bazel" }
angular/devtools/projects/demo-standalone/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/demo-standalone/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/index.html_0_635
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>AngularDevtools</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 href="https://fonts.googleapis.com/ico...
{ "end_byte": 635, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/index.html" }
angular/devtools/projects/demo-standalone/src/main.ts_0_1318
/** * @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 {bootstrapApplication} from '@angular/platform-browser'; import {provideAnimations} from '@angular/platform-b...
{ "end_byte": 1318, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/main.ts" }
angular/devtools/projects/demo-standalone/src/styles.scss_0_41
@use '../../../styles.scss' as devtools;
{ "end_byte": 41, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/styles.scss" }
angular/devtools/projects/demo-standalone/src/BUILD.bazel_0_2023
load("//devtools/tools:ng_module.bzl", "ng_module") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") load("@build_bazel_rules_nodejs//:index.bzl", "pkg_web") load("//tools:defaults.bzl", "esbuild", "http_server") load("//devtools/tools/esbuild:index.bzl", "LINKER_PROCESSED_FW_PACKAGES") package(default_visibilit...
{ "end_byte": 2023, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/app/app.component.ts_0_504
/** * @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 {Router, RouterOutlet} from '@angular/router'; @Component({ selec...
{ "end_byte": 504, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/app.component.ts" }
angular/devtools/projects/demo-standalone/src/app/BUILD.bazel_0_527
load("//devtools/tools:ng_module.bzl", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "app", srcs = [ "app.component.ts", ], deps = [ "//devtools/projects/demo-standalone/src/app/demo-app", "//devtools/projects/demo-standalone/src/app/devto...
{ "end_byte": 527, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/app/devtools-app/devtools-app.component.ts_0_1625
/** * @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, ElementRef, ViewChild} from '@angular/core'; import {Events, MessageBus, PriorityAwareMessageBus}...
{ "end_byte": 1625, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/devtools-app/devtools-app.component.ts" }
angular/devtools/projects/demo-standalone/src/app/devtools-app/BUILD.bazel_0_488
load("//devtools/tools:ng_module.bzl", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "devtools-app", srcs = ["devtools-app.component.ts"], deps = [ "//devtools/projects/ng-devtools", "//devtools/projects/ng-devtools/src/lib:frame_manager", "//...
{ "end_byte": 488, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/devtools-app/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/app/demo-app/zippy.component.ts_0_1010
/** * @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, Input} from '@angular/core'; @Component({ selector: 'app-zippy', standalone: true, styles:...
{ "end_byte": 1010, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/zippy.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/heavy.component.ts_0_790
/** * @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, Input} from '@angular/core'; const fib = (n: number): number => { if (n === 1 || n === 2) { ...
{ "end_byte": 790, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/heavy.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/BUILD.bazel_0_1022
load("//devtools/tools:ng_module.bzl", "ng_module") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary", "sass_library") package(default_visibility = ["//visibility:public"]) sass_library( name = "todo_mvc", srcs = [ "@npm//:node_modules/todomvc-app-css/index.css", "@npm//:node_modules/todom...
{ "end_byte": 1022, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/app/demo-app/demo-app.component.html_0_393
<router-outlet></router-outlet> <app-zippy [title]="getTitle()">This is my content</app-zippy> <app-heavy></app-heavy> <div #elementReference>HTMLElement</div> <hr/> <h2>Signals</h2> <div>Object Signal: {{objectSignal()|json}}</div> <div>Object Computed: {{objectComputed()|json}}</div> <div>Editable Signal: {{primitiv...
{ "end_byte": 393, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/demo-app.component.html" }
angular/devtools/projects/demo-standalone/src/app/demo-app/demo-app.component.ts_0_2451
/** * @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 {JsonPipe} from '@angular/common'; import { Component, computed, CUSTOM_ELEMENTS_SCHEMA, ElementRef, ...
{ "end_byte": 2451, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/demo-app.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/demo-app.component.scss_0_118
@use 'external/npm/node_modules/todomvc-app-css/index.css'; @use 'external/npm/node_modules/todomvc-common/base.css';
{ "end_byte": 118, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/demo-app.component.scss" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/dialog.component.ts_0_1358
/** * @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, Inject} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {MAT_DIALOG_DATA...
{ "end_byte": 1358, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/dialog.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/BUILD.bazel_0_541
load("//devtools/tools:ng_module.bzl", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "todo", srcs = [ "dialog.component.ts", "todo-app.component.ts", ], deps = [ "//devtools/projects/demo-standalone/src/app/demo-app/todo/about", "/...
{ "end_byte": 541, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/todo-app.component.ts_0_2257
/** * @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 {FormsModule} from '@angular/forms'; import {MatDialog, MatDialogMod...
{ "end_byte": 2257, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/todo-app.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/home/todo.component.ts_0_1805
/** * @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 {CommonModule} from '@angular/common'; import {ChangeDetectionStrategy, Component, EventEmitter, Input, Outpu...
{ "end_byte": 1805, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/home/todo.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/home/tooltip.directive.ts_0_752
/** * @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 {Directive, HostListener} from '@angular/core'; @Directive({selector: '[appTooltip]', standalone: true}) exp...
{ "end_byte": 752, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/home/tooltip.directive.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/home/BUILD.bazel_0_382
load("//devtools/tools:ng_module.bzl", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "home", srcs = [ "sample.pipe.ts", "todo.component.ts", "todos.component.ts", "tooltip.directive.ts", ], deps = [ "//packages/common", ...
{ "end_byte": 382, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/home/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/home/sample.pipe.ts_0_537
/** * @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 {OnDestroy, Pipe, PipeTransform} from '@angular/core'; @Pipe({name: 'sample', pure: false, standalone: true}...
{ "end_byte": 537, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/home/sample.pipe.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/home/todos.component.ts_0_4452
/** * @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 {NgForOf} from '@angular/common'; import { ChangeDetectorRef, Component, EventEmitter, OnDestroy, O...
{ "end_byte": 4452, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/home/todos.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/about/about.component.ts_0_542
/** * @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 {RouterLink} from '@angular/router'; @Component({ selector: 'app-...
{ "end_byte": 542, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/about/about.component.ts" }
angular/devtools/projects/demo-standalone/src/app/demo-app/todo/about/BUILD.bazel_0_252
load("//devtools/tools:ng_module.bzl", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "about", srcs = ["about.component.ts"], deps = [ "//packages/core", "//packages/router", ], )
{ "end_byte": 252, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/app/demo-app/todo/about/BUILD.bazel" }
angular/devtools/projects/demo-standalone/src/environments/environment.ts_0_257
/** * @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: false, };
{ "end_byte": 257, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/environments/environment.ts" }
angular/devtools/projects/demo-standalone/src/environments/BUILD.bazel_0_256
load("//devtools/tools:typescript.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "environments", srcs = [ "environment.ts", ], deps = [ "//packages/platform-browser", ], )
{ "end_byte": 256, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/demo-standalone/src/environments/BUILD.bazel" }
angular/devtools/projects/demo-standalone/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/demo-standalone/src/styles/chrome_styles.scss" }
angular/devtools/projects/demo-standalone/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/demo-standalone/src/styles/firefox_styles.scss" }
angular/devtools/projects/protocol/README.md_0_1154
# Angular DevTools Communication Protocol Angular DevTools injects scripts in the user application page that interact with the framework debugging APIs. The injected scripts interact with the extension via message passing using a statically typed protocol. This subdirectory contains: - Declaration of a statically typ...
{ "end_byte": 1154, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/README.md" }
angular/devtools/projects/protocol/BUILD.bazel_0_1083
load("//devtools/tools:typescript.bzl", "ts_library", "ts_test_library") load("@build_bazel_rules_nodejs//:index.bzl", "js_library") load("//devtools/tools:defaults.bzl", "karma_web_test_suite") package(default_visibility = ["//visibility:public"]) exports_files([ "tsconfig.lib.json", "tsconfig.spec.json", ])...
{ "end_byte": 1083, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/devtools/projects/protocol/BUILD.bazel" }