_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-dialog.component.ts_0_554 | /**
* @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 {MatProgressBar} from '@angular/material/progress-bar';
@Component(... | {
"end_byte": 554,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-dialog.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline-controls.component.html_0_1923 | <div class="controls">
<div class="visual-controls">
<mat-form-field>
<mat-label>Filter</mat-label>
<input
matInput
class="filter-input"
(keyup)="filter.emit($event.target.value)"
placeholder="duration: >30 source: click"
/>
</mat-form-field>
<mat-form-f... | {
"end_byte": 1923,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline-controls.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/BUILD.bazel_0_2446 | 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"])
_STYLE_SRCS = [
"frame-selector.... | {
"end_byte": 2446,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline.component.scss_0_408 | :host {
font-size: 11px;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.info {
margin-top: 16px;
font-size: 1.2em;
text-align: center;
}
.hidden {
/*
intentionally using visibility: hidden
display: none breaks the virtual scroll
*/
visibility: hidden;
}
.timeline-w... | {
"end_byte": 408,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-modal.component.scss_0_317 | // todo(aleksanderbodurri): fix this for bazel build
// @use '/node_modules/@angular/cdk/overlay-prebuilt.css';
:host {
overflow: hidden;
display: block;
width: 100%;
height: 100%;
}
#recorder-wrapper {
position: relative;
overflow: hidden;
height: 100%;
display: flex;
justify-content: center;
}
| {
"end_byte": 317,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-modal.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/frame-selector.component.html_0_1122 | <mat-card class="bar-graph-container">
<p class="txt-frames" matTooltip="{{ selectionLabel() }} / {{ frameCount() }}">
{{ selectionLabel() }} / {{ frameCount() }}
</p>
<button
mat-icon-button
matTooltip="Select previous frame"
(click)="move(-1)"
[disabled]="disablePreviousFrameButton()"
>
... | {
"end_byte": 1122,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/frame-selector.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline.component.ts_0_5062 | /**
* @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, effect, input, output, signal} from '@angular/core';
import {ProfilerFrame} from 'proto... | {
"end_byte": 5062,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-modal.component.html_0_89 | <section id="recorder-wrapper">
<ng-recording-dialog></ng-recording-dialog>
</section>
| {
"end_byte": 89,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-modal.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/frame-selector.component.scss_0_1407 | .bar-graph-container {
padding: 2px;
height: 54px;
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: center;
align-items: center;
margin-bottom: 10px;
.txt-frames {
font-weight: 500;
line-height: 50px;
padding: 0px;
margin: 0px 10px;
width: 150px;
tex... | {
"end_byte": 1407,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/frame-selector.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline.component.html_0_984 | @if (!hasFrames() && !visualizing()) {
<ng-recording-modal/>
}
@if (!hasFrames() && visualizing()) {
<p class="info">There's no information to show.</p>
}
<div class="timeline-wrapper">
<ng-timeline-controls
[class.hidden]="!hasFrames()"
[record]="frame()"
[empty]="!hasFrames()"
[estimatedFrameRat... | {
"end_byte": 984,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline-controls.component.ts_0_1595 | /**
* @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, model, output} from '@angular/core';
import {ProfilerFrame} from 'protocol';
import {Visu... | {
"end_byte": 1595,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/timeline-controls.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/flamegraph-visualizer.component.ts_0_2457 | /**
* @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 {ChangeDetectionStrategy, Component, computed, inject, input, output} from '@angular/core';
import {Color, Ra... | {
"end_byte": 2457,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/flamegraph-visualizer.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bargraph-visualizer.component.scss_0_231 | :host {
width: 100%;
height: 100%;
display: flex;
-webkit-user-select: text;
-ms-user-select: text;
user-select: text;
overflow-y: auto;
}
.level-profile-wrapper {
height: 100%;
width: 100%;
cursor: pointer;
}
| {
"end_byte": 231,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bargraph-visualizer.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/timeline-visualizer.component.html_0_1511 | <as-split unit="percent" [gutterSize]="9">
<as-split-area size="75">
@switch (visualizationMode()) {
@case (cmpVisualizationModes.FlameGraph) {
<ng-flamegraph-visualizer
[frame]="frame()"
[changeDetection]="changeDetection()"
(nodeSelect)="handleNodeSelect($event)"
... | {
"end_byte": 1511,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/timeline-visualizer.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/timeline-visualizer.component.scss_0_958 | :host {
display: block;
overflow: auto;
height: 100%;
::ng-deep {
.as-split-gutter-icon {
display: none;
}
}
}
.selected-entry {
padding: 0px;
height: 100%;
mat-toolbar {
padding-left: 9px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
line-height: 2... | {
"end_byte": 958,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/timeline-visualizer.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bargraph-visualizer.component.html_0_155 | <div class="level-profile-wrapper">
<ng-bar-chart (barClick)="selectNode($event)" [color]="barColor()" [data]="profileRecords()"> </ng-bar-chart>
</div>
| {
"end_byte": 155,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bargraph-visualizer.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/flamegraph-visualizer.component.scss_0_684 | :host {
width: 100%;
height: 100%;
display: flex;
-webkit-user-select: text;
-ms-user-select: text;
user-select: text;
.level-profile-wrapper {
height: 100%;
width: 100%;
cursor: pointer;
overflow-y: auto;
}
::ng-deep {
.ngx-fg-label {
color: #000000de;
font-weight: 5... | {
"end_byte": 684,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/flamegraph-visualizer.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/execution-details.component.html_0_429 | <table>
<thead>
<th class="name">Directive</th>
<th class="method">Method</th>
<th class="value">Time</th>
</thead>
<tbody>
@for (entry of data(); track $index) {
<tr>
<td class="name">
{{ entry.directive }}
</td>
<td class="method">
{{ entry.metho... | {
"end_byte": 429,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/execution-details.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/tree-map-visualizer.component.ts_0_2523 | /**
* @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,
ChangeDetectionStrategy,
Component,
computed,
effect,
ElementRef,
inject,
... | {
"end_byte": 2523,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/tree-map-visualizer.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bar-chart.component.ts_0_1940 | /**
* @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,
animateChild,
query,
stagger,
style,
transition,
trigger,
} from '@angular/animation... | {
"end_byte": 1940,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bar-chart.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/execution-details.component.scss_0_166 | table {
border-collapse: collapse;
width: 100%;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
}
th,
td {
border-bottom: 1px solid #ddd;
}
| {
"end_byte": 166,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/execution-details.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/flamegraph-visualizer.component.html_0_207 | <div class="level-profile-wrapper">
<ngx-flamegraph
(frameClick)="selectFrame($event)"
[config]="{ data: profilerBars(), color: colors() }"
siblingLayout="equal"
>
</ngx-flamegraph>
</div>
| {
"end_byte": 207,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/flamegraph-visualizer.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/timeline-visualizer.component.ts_0_3306 | /**
* @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 {
ChangeDetectionStrategy,
Component,
computed,
effect,
input,
signal,
untracked,
} from '@angu... | {
"end_byte": 3306,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/timeline-visualizer.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/BUILD.bazel_0_2286 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
_STYLE_SRCS = [
"bar-chart.component.scss",
"bargraph-visualizer.component.scss",
"execution-details.component.scss",
"flamegraph-visualizer.... | {
"end_byte": 2286,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/profile-formatter.ts_0_1561 | /**
* @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} from 'protocol';
import {SelectedDirective} from './timeline-visualizer.component';
cons... | {
"end_byte": 1561,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/profile-formatter.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/tree-map-visualizer.component.scss_0_456 | .web-tree {
height: calc(100% - 25px);
width: calc(100% - 25px);
margin: auto;
}
:host {
::ng-deep {
.webtreemap-caption {
font-size: 0.9em;
}
.webtreemap-node:hover {
background: #ebf1fb;
}
}
}
:host-context(.dark-theme) {
::ng-deep {
.webtreemap-node {
background: #... | {
"end_byte": 456,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/tree-map-visualizer.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bar-chart.component.html_0_326 | <div class="wrapper" @stagger>
@for (bar of internalData(); track $index) {
<div
@appear
(click)="barClick.emit(data()[$index])"
class="bar"
[style.backgroundColor]="color()"
[style.width.%]="bar.width"
[matTooltip]="bar.text">
<span>{{ bar.text }}</span>
</div>
}
<... | {
"end_byte": 326,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bar-chart.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bar-chart.component.scss_0_575 | .bar {
width: 0%;
margin-bottom: 7px;
align-items: center;
display: flex;
padding-top: 3px;
padding-bottom: 3px;
opacity: 0.8;
cursor: pointer;
transition: opacity 0.3s ease-out, width 0.3s ease;
}
.bar span {
margin-left: 10px;
max-width: calc(100% - 20px);
display: inline-block;
white-space... | {
"end_byte": 575,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bar-chart.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/execution-details.component.ts_0_675 | /**
* @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 {ChangeDetectionStrategy, Component, input} from '@angular/core';
import {SelectedDirective} from './timelin... | {
"end_byte": 675,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/execution-details.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/tree-map-visualizer.component.html_0_38 | <div #webTree class="web-tree"></div>
| {
"end_byte": 38,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/tree-map-visualizer.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bargraph-visualizer.component.ts_0_1824 | /**
* @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 {ChangeDetectionStrategy, Component, computed, inject, input, output} from '@angular/core';
import {ProfilerF... | {
"end_byte": 1824,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/recording-visualizer/bargraph-visualizer.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter-spec-constants.ts_0_9158 | /**
* @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 {FlamegraphNode} from './flamegraph-formatter';
export const SIMPLE_RECORD = [
{
children: [
{
... | {
"end_byte": 9158,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter-spec-constants.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter-spec-constants.ts_9159_14527 | export const NESTED_FORMATTED_FLAMEGRAPH_RECORD: FlamegraphNode[] = [
{
value: 1,
label: 'AppComponent',
changeDetected: true,
children: [
{
value: 0,
label: '[RouterOutlet]',
changeDetected: false,
children: [
{
value: 1,
label: ... | {
"end_byte": 14527,
"start_byte": 9159,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter-spec-constants.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/frame-merger.spec.ts_0_3918 | /**
* @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 {ProfilerFrame} from 'protocol';
import {mergeFrames} from './frame-merger';
describe('mergeFrames', () => ... | {
"end_byte": 3918,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/frame-merger.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/BUILD.bazel_0_1437 | 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 = "record-formatter",
srcs = glob(
include = [
"*.ts",
],
exclude = ... | {
"end_byte": 1437,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter.spec.ts_0_5781 | /**
* @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, ElementProfile, ProfilerFrame} from 'protocol';
import {RecordFormatter} from './record-f... | {
"end_byte": 5781,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter.ts_0_1661 | /**
* @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, ElementProfile, ProfilerFrame} from 'protocol';
export interface TimelineView<T> {
time... | {
"end_byte": 1661,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/record-formatter.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/frame-merger.ts_0_2005 | /**
* @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, ElementProfile, LifecycleProfile, ProfilerFrame} from 'protocol';
const mergeProperty = (... | {
"end_byte": 2005,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/frame-merger.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/bargraph-formatter/BUILD.bazel_0_627 | load("//devtools/tools:typescript.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "bargraph-formatter",
srcs = glob(
include = [
"*.ts",
],
),
deps = [
"//devtools/projects/ng-devtools/src/lib:theme",
"//devtools/... | {
"end_byte": 627,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/bargraph-formatter/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/bargraph-formatter/index.ts_0_242 | /**
* @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 './bargraph-formatter';
| {
"end_byte": 242,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/bargraph-formatter/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/bargraph-formatter/bargraph-formatter.ts_0_2725 | /**
* @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, ElementProfile, ProfilerFrame} from 'protocol';
import {memo} from '../../../../../vendor... | {
"end_byte": 2725,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/bargraph-formatter/bargraph-formatter.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/flamegraph-formatter.spec.ts_0_1165 | /**
* @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 {AppEntry} from '../record-formatter';
import {
NESTED_FORMATTED_FLAMEGRAPH_RECORD,
NESTED_RECORD,
SIMP... | {
"end_byte": 1165,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/flamegraph-formatter.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/flamegraph-formatter.ts_0_2849 | /**
* @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 {ElementProfile, ProfilerFrame} from 'protocol';
import {Theme} from '../../../../../theme-service';
import ... | {
"end_byte": 2849,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/flamegraph-formatter.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/BUILD.bazel_0_1239 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("//devtools/tools:typescript.bzl", "ts_test_library")
load("//devtools/tools:defaults.bzl", "karma_web_test_suite")
package(default_visibility = ["//visibility:public"])
ng_module(
name = "flamegraph-formatter",
srcs = glob(
include = [
... | {
"end_byte": 1239,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/index.ts_0_244 | /**
* @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 './flamegraph-formatter';
| {
"end_byte": 244,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/flamegraph-formatter/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/tree-map-formatter.spec.ts_0_804 | /**
* @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 {AppEntry} from '../record-formatter';
import {SIMPLE_FORMATTED_TREE_MAP_RECORD, SIMPLE_RECORD} from '../reco... | {
"end_byte": 804,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/tree-map-formatter.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/tree-map-formatter.ts_0_1631 | /**
* @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 {ElementProfile, ProfilerFrame} from 'protocol';
import {memo} from '../../../../../vendor/memo-decorator';
... | {
"end_byte": 1631,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/tree-map-formatter.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/BUILD.bazel_0_1128 | 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 = "tree-map-formatter",
srcs = glob(
include = [
"*.ts",
],
exclude ... | {
"end_byte": 1128,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/index.ts_0_242 | /**
* @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 './tree-map-formatter';
| {
"end_byte": 242,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/record-formatter/tree-map-formatter/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/visualization-mode/BUILD.bazel_0_182 | load("//devtools/tools:typescript.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "visualization-mode",
srcs = ["index.ts"],
)
| {
"end_byte": 182,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/visualization-mode/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/visualization-mode/index.ts_0_275 | /**
* @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 enum VisualizationMode {
FlameGraph,
TreeMap,
BarGraph,
}
| {
"end_byte": 275,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/timeline/visualization-mode/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.scss_0_320 | :host {
height: 100%;
::ng-deep {
as-split-area {
overflow-y: hidden;
}
.as-split-gutter-icon {
display: none;
}
}
}
.prop-split {
display: flex;
flex-direction: column;
}
.property-tab-wrapper {
flex: 1;
overflow: auto;
width: 100%;
}
.hydration {
padding: 4px 8px;
} | {
"end_byte": 320,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts_0_2018 | /**
* @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,
Input,
input,
OnDestroy,
output,
signal,
... | {
"end_byte": 2018,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts_2020_10356 | @Component({
selector: 'ng-directive-explorer',
templateUrl: './directive-explorer.component.html',
styleUrls: ['./directive-explorer.component.scss'],
providers: [
{
provide: ElementPropertyResolver,
useClass: ElementPropertyResolver,
},
],
standalone: true,
imports: [
SplitCompon... | {
"end_byte": 10356,
"start_byte": 2020,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.html_0_1781 | <as-split unit="percent" [direction]="splitDirection()" [gutterSize]="9">
<as-split-area #directiveForestSplitArea size="60">
<as-split direction="vertical" [gutterSize]="9" unit="pixel" [disabled]="true">
<as-split-area size="*">
<ng-directive-forest
(selectNode)="handleNodeSelection($eve... | {
"end_byte": 1781,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/BUILD.bazel_0_2834 | 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 = "directive_e... | {
"end_byte": 2834,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts_0_7578 | /**
* @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 {ComponentFixture, TestBed} from '@angular/core/testing';
import {ApplicationOperations} from '../../applica... | {
"end_byte": 7578,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts_7582_14284 | describe('applicaton operations', () => {
describe('view source', () => {
it('should not call application operations view source if no frames are detected', () => {
const directiveName = 'test';
comp.currentSelectedElement.set({
directives: [{name: directiveName}],
position... | {
"end_byte": 14284,
"start_byte": 7582,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-explorer.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest-utils.ts_0_945 | /**
* @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 {FlatTreeControl} from '@angular/cdk/tree';
import {FlatNode} from './component-data-source';
export const ... | {
"end_byte": 945,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest-utils.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/BUILD.bazel_0_1407 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "directive_forest_component_styles",
src = "directive-forest.component.scss",
)
ng_module(
name = "directive-forest",
sr... | {
"end_byte": 1407,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.ts_0_1490 | /**
* @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 {
CdkVirtualScrollViewport,
CdkFixedSizeVirtualScroll,
CdkVirtualForOf,
} from '@angular/cdk/scrolling'... | {
"end_byte": 1490,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.ts_1491_9962 | class DirectiveForestComponent {
readonly forest = input<DevToolsNode[]>([]);
readonly showCommentNodes = input<boolean>(false);
readonly currentSelectedElement = input.required<IndexedNode>();
readonly selectNode = output<IndexedNode | null>();
readonly selectDomElement = output<IndexedNode>();
readonly s... | {
"end_byte": 9962,
"start_byte": 1491,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.ts_9966_12578 | handleFilter(filterText: string): void {
this.currentlyMatchedIndex = -1;
try {
this.filterRegex = new RegExp(filterText.toLowerCase() || '.^');
} catch {
this.filterRegex = new RegExp('.^');
}
}
stopPropagation(event: Event): void {
event.stopPropagation();
}
private _findMat... | {
"end_byte": 12578,
"start_byte": 9966,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.html_0_2768 | <ng-filter
[hasMatched]="hasMatched"
(filter)="handleFilter($event)"
(nextMatched)="nextMatched()"
(prevMatched)="prevMatched()"
>
</ng-filter>
<cdk-virtual-scroll-viewport class="tree-wrapper" [itemSize]="itemHeight">
<ng-container *cdkVirtualFor="let node of dataSource; let idx = index">
<div
[cla... | {
"end_byte": 2768,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.scss_0_3082 | :host {
width: 100%;
height: 100%;
overflow: auto;
.tree-node {
position: relative;
color: #8a1882;
cursor: default;
font-family: Menlo, monospace;
font-size: 11px;
line-height: 18px;
white-space: nowrap;
text-overflow: ellipsis;
.tree-node-info {
display: flex;
... | {
"end_byte": 3082,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/component-data-source/component-data-source.spec.ts_0_5665 | /**
* @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 {FlatTreeControl} from '@angular/cdk/tree';
import {DevToolsNode} from 'protocol';
import {ComponentDataSour... | {
"end_byte": 5665,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/component-data-source/component-data-source.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/component-data-source/BUILD.bazel_0_1144 | 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-data-source",
srcs = ["index.ts"],
deps = [
"//devtools/projects/ng-devtools/sr... | {
"end_byte": 1144,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/component-data-source/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/component-data-source/index.ts_0_6115 | /**
* @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 {CollectionViewer, DataSource} from '@angular/cdk/collections';
import {FlatTreeControl} from '@angular/cdk/t... | {
"end_byte": 6115,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/component-data-source/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/index-forest/index-forest.spec.ts_0_4030 | /**
* @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 {indexForest} from './';
describe('indexForest', () => {
it('should work with an empty forest', () => {
... | {
"end_byte": 4030,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/index-forest/index-forest.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/index-forest/BUILD.bazel_0_578 | 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 = "index-forest",
srcs = ["index.ts"],
deps = [
"//devtools/projects/protocol",
"@np... | {
"end_byte": 578,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/index-forest/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/index-forest/index.ts_0_900 | /**
* @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';
export interface IndexedNode extends DevToolsNode {
posit... | {
"end_byte": 900,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/index-forest/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/BUILD.bazel_0_593 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "filter_component_styles",
src = "filter.component.scss",
)
ng_module(
name = "filter",
srcs = [
"filter.compone... | {
"end_byte": 593,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/filter.component.ts_0_958 | /**
* @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, output} from '@angular/core';
import {MatIcon} from '@angular/material/icon';
import {MatC... | {
"end_byte": 958,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/filter.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/filter.component.scss_0_1186 | .filter {
display: flex;
padding: 0px;
border-radius: 0px;
box-shadow: none !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
label {
display: flex;
width: 100%;
.search-icon {
display: flex;
align-items: center;
padding-right: 5px;
margin-left: 8px;
margi... | {
"end_byte": 1186,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/filter.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/filter.component.html_0_794 | <mat-card class="filter">
<label>
<div class="search-icon">
<mat-icon color="primary">search</mat-icon>
</div>
<input
matInput
(input)="emitFilter($event)"
(keydown.enter)="emitNextMatched()"
(keydown.shift.enter)="emitPrevMatched()"
class="filter-input"
placehold... | {
"end_byte": 794,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/filter/filter.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/breadcrumbs.component.ts_0_2307 | /**
* @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,
effect,
ElementRef,
input,
output,
signal,
viewChild,
} from '@angular... | {
"end_byte": 2307,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/breadcrumbs.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/breadcrumbs.component.scss_0_1270 | .mdc-card.breadcrumb-card {
padding: 0;
width: 100%;
height: 24px;
display: flex;
flex-direction: row;
.scroll-button {
height: 100%;
background-color: rgb(243, 243, 243);
border: none;
cursor: pointer;
&.hidden {
visibility: hidden;
}
}
.breadcrumbs {
overflow-x: au... | {
"end_byte": 1270,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/breadcrumbs.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/breadcrumbs.component.html_0_807 | <mat-card class="breadcrumb-card">
<button class="scroll-button" [class.hidden]="!showScrollLeftButton()" (click)="scroll(-100)">
<mat-icon> more_horiz </mat-icon>
</button>
<div class="breadcrumbs" #breadcrumbs (scroll)="updateScrollButtonVisibility()">
@for (node of parents(); track $index) {
<but... | {
"end_byte": 807,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/breadcrumbs.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/BUILD.bazel_0_746 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "breadcrumbs_component_styles",
src = "breadcrumbs.component.scss",
)
ng_module(
name = "breadcrumbs",
srcs = [
... | {
"end_byte": 746,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/breadcrumbs/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/component-metadata.component.ts_0_1574 | /**
* @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 {ChangeDetectionStrategy, Component, computed, inject, input} from '@angular/core';
import {ComponentType} fr... | {
"end_byte": 1574,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/component-metadata.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab.component.ts_0_1019 | /**
* @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, output} from '@angular/core';
import {DirectivePosition} from 'protocol';
import {Indexed... | {
"end_byte": 1019,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-header.component.ts_0_878 | /**
* @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 {ChangeDetectionStrategy, Component, input} from '@angular/core';
import {IndexedNode} from '../directive-fo... | {
"end_byte": 878,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-header.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab.component.html_0_274 | <ng-property-tab-header [currentSelectedElement]="currentSelectedElement()">
</ng-property-tab-header>
<ng-property-tab-body (inspect)="inspect.emit($event)" (viewSource)="viewSource.emit($event)" [currentSelectedElement]="currentSelectedElement()">
</ng-property-tab-body>
| {
"end_byte": 274,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/component-metadata.component.html_0_590 | <div class="meta-data-container">
@if (viewEncapsulation()) {
<a
mat-button
color="primary"
href="https://angular.dev/api/core/ViewEncapsulation"
target="_blank"
>
View Encapsulation: <span class="meta-data">{{ viewEncapsulation() }}</span>
</a>
}
@if (changeDetectionSt... | {
"end_byte": 590,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/component-metadata.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-header.component.html_0_925 | @if (currentSelectedElement()) {
@let comp = currentSelectedElement().component;
@if (comp) {
<mat-accordion class="property-tab-header">
<div>
<mat-expansion-panel [hideToggle]="true">
<mat-expansion-panel-header collapsedHeight="32px" expandedHeight="32px">
<mat-panel-title... | {
"end_byte": 925,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-header.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-header.component.scss_0_775 | .element-header {
display: flex;
justify-content: space-between;
width: 100%;
align-items: center;
font-size: 11px;
.component-name {
margin-left: 10px;
font-weight: 700;
line-height: 25px;
}
.element-name {
margin-left: 10px;
line-height: 25px;
font-weight: 700;
}
}
::ng-de... | {
"end_byte": 775,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-header.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/component-metadata.component.scss_0_203 | .meta-data-container {
display: flex;
flex-direction: column;
}
.meta-data-container a {
width: 100%;
font-size: 11px;
height: 22px;
line-height: 22px;
}
.meta-data {
font-weight: 400;
}
| {
"end_byte": 203,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/component-metadata.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/BUILD.bazel_0_1419 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
_STYLE_SRCS = [
"component-metadata.component.scss",
"property-tab.component.scss",
"property-tab-header.component.scss",
]
_STYLE_LABELS = [
... | {
"end_byte": 1419,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab.component.scss_0_59 | ng-property-view-body {
width: 100%;
overflow: auto;
}
| {
"end_byte": 59,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-tab-body.component.html_0_267 | @if (currentSelectedElement()) {
@for (directive of currentDirectives(); track $index) {
<div class="explorer-panel">
<ng-property-view (inspect)="inspect.emit($event)" (viewSource)="viewSource.emit(directive)" [directive]="directive" />
</div>
}
}
| {
"end_byte": 267,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-tab-body.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.ts_0_6341 | /**
* @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 {CdkDragDrop, moveItemInArray, CdkDropList, CdkDrag} from '@angular/cdk/drag-drop';
import {Component, comput... | {
"end_byte": 6341,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-tree.component.html_0_1293 | @if (treeControl()) {
<mat-tree class="property-list" [dataSource]="dataSource()" [treeControl]="treeControl()">
<mat-tree-node matTreeNodePaddingIndent="14" *matTreeNodeDef="let node" matTreeNodePadding>
<span class="name non-expandable">{{ node.prop.name }}</span>:
@if (!node.prop.descriptor.e... | {
"end_byte": 1293,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-tree.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-tree.component.scss_0_953 | :host {
width: 100%;
display: block;
overflow: auto;
height: calc(100% - 24px);
mat-tree {
display: table;
}
::ng-deep {
.mat-tree-node {
min-height: 20px !important;
cursor: default;
font-family: Menlo, monospace;
.mat-icon {
font-size: 11px;
width: 8px;... | {
"end_byte": 953,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-tree.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-editor.component.scss_0_557 | .editor {
cursor: text;
border: none;
outline: none;
min-width: 100px;
white-space: pre;
width: fit-content;
}
.editor-input {
background-color: #bbddfb;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
input {
width: fit-content;
font-family: Menlo, monospace;
font-weight: 500;
font-size: 1em;
... | {
"end_byte": 557,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-editor.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-tree.component.ts_0_1877 | /**
* @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 {FlatTreeControl} from '@angular/cdk/tree';
import {Component, input, output} from '@angular/core';
import {... | {
"end_byte": 1877,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-tree.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view.component.ts_0_1477 | /**
* @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} from '@angular/core';
import {DirectivePosition} from 'protocol'... | {
"end_byte": 1477,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view.component.html_0_389 | <ng-property-view-header [directive]="directive()" (viewSource)="viewSource.emit()"></ng-property-view-header>
<ng-property-view-body
[controller]="controller()"
[directiveInputControls]="directiveInputControls()"
[directiveOutputControls]="directiveOutputControls()"
[directiveStateControls]="directiveStateCont... | {
"end_byte": 389,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-editor.component.ts_0_2332 | /**
* @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,
effect,
input,
output,
signal,
viewChild,
} from '@... | {
"end_byte": 2332,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-editor.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-editor.component.html_0_899 | <div class="editor" (click)="onClick()">
<span class="state-container">
@switch (currentPropertyState()) {
@case (readState) {
<span>
@switch(containerType()) {
@case('WritableSignal') {
<span class="editable">Signal({{valueToSubmit()}})</span>
... | {
"end_byte": 899,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-editor.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-header.component.html_0_164 | <mat-toolbar>
{{ directive() }}
<button matTooltip="Open source" (click)="handleViewSource($event)">
<mat-icon> code </mat-icon>
</button>
</mat-toolbar>
| {
"end_byte": 164,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-header.component.html"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.