_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-header.component.scss_0_518 | mat-toolbar {
padding-left: 10px;
justify-content: space-between;
text-overflow: ellipsis;
overflow: hidden;
line-height: 25px;
font-size: 11px;
font-weight: 500;
height: auto;
}
.mat-icon-button {
font-size:16px;
line-height: 10px;
}
button {
padding: 0;
background: none;
border: none;
he... | {
"end_byte": 518,
"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.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/BUILD.bazel_0_2224 | load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
_STYLE_SRCS = [
"property-editor.component.scss",
"property-preview.component.scss",
"property-tab-body.component.scss",
"property-view.compo... | {
"end_byte": 2224,
"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/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-preview.component.html_0_151 | <span class="value" [class.function]="isClickableProp()" (click)="isClickableProp() && inspect.emit()">
{{ node().prop.descriptor.preview }}
</span>
| {
"end_byte": 151,
"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-preview.component.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.html_0_2104 | @if (controlsLoaded()) {
<mat-accordion cdkDropList (cdkDropListDropped)="drop($event)" [multi]="true">
@if (controller().directiveMetadata?.dependencies.length > 0) {
<div class="mat-accordion-content">
<mat-expansion-panel [expanded]="true">
<mat-expansion-panel-header collapsedHeight="2... | {
"end_byte": 2104,
"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.html"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-tab-body.component.ts_0_1292 | /**
* @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, input, output} from '@angular/core';
import {DirectivePosition} from 'protocol';
impor... | {
"end_byte": 1292,
"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.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-preview.component.ts_0_897 | /**
* @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, input, output} from '@angular/core';
import {PropType} from 'protocol';
import {FlatNo... | {
"end_byte": 897,
"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-preview.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.scss_0_986 | :host {
::ng-deep {
mat-expansion-panel {
border-radius: unset !important;
}
.mat-expansion-panel-body {
padding: 0;
}
.mat-expansion-panel-spacing {
margin: 0;
}
.mat-expansion-panel-header {
padding: 0 15px;
.documentation {
display: flex;
... | {
"end_byte": 986,
"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.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-preview.component.scss_0_93 | .function {
&:hover {
background: #4da1ff;
color: #fff;
cursor: pointer;
}
}
| {
"end_byte": 93,
"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-preview.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-header.component.ts_0_925 | /**
* @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 {MatT... | {
"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-view/property-view-header.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/property-data-source.spec.ts_0_1617 | /**
* @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 {PropType} from 'protocol';
import {FlatNode} from './ele... | {
"end_byte": 1617,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/property-data-source.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/element-property-resolver.ts_0_2781 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Injectable} from '@angular/core';
import {
ComponentExplorerViewProperties,
Descriptor,
DirectivePosit... | {
"end_byte": 2781,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/element-property-resolver.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/directive-property-resolver.spec.ts_0_3755 | /**
* @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 {Properties, PropType} from 'protocol';
import {DirectivePropertyResolver} from './directive-property-resolv... | {
"end_byte": 3755,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/directive-property-resolver.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/arrayify-props.ts_0_765 | /**
* @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 {Descriptor} from 'protocol';
import {Property} from './element-property-resolver';
export const arrayifyPr... | {
"end_byte": 765,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/arrayify-props.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/BUILD.bazel_0_1716 | 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 = "property-resolver",
srcs = [
"arrayify-props.ts",
... | {
"end_byte": 1716,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/property-expanded-directive-properties.ts_0_1330 | /**
* @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 {Descriptor, NestedProp, PropType} from 'protocol';
import {FlatNode} from './element-property-resolver';
e... | {
"end_byte": 1330,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/property-expanded-directive-properties.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/flatten.ts_0_1386 | /**
* @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 {MatTreeFlattener} from '@angular/material/tree';
import {Descriptor, PropType} from 'protocol';
import {Obse... | {
"end_byte": 1386,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/flatten.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/element-property-resolver.spec.ts_0_3278 | /**
* @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 {Properties, PropType} from 'protocol';
import {IndexedNode} from '../directive-forest/index-forest';
impor... | {
"end_byte": 3278,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/element-property-resolver.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/directive-property-resolver.ts_0_5078 | /**
* @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 {ViewEncapsulation} from '@angular/core';
import {
Descr... | {
"end_byte": 5078,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/directive-property-resolver.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/arrayify-props.spec.ts_0_2123 | /**
* @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 {arrayifyProps} from './arrayify-props';
describe('arrayify', () => {
... | {
"end_byte": 2123,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/arrayify-props.spec.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/property-data-source.ts_0_4353 | /**
* @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, SelectionChange} from '@angular/cdk/collections';
import {FlatTreeControl} fro... | {
"end_byte": 4353,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-resolver/property-data-source.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/injector-tree-visualizer.ts_0_2021 | /**
* @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 d3 from 'd3';
import {SerializedInjector} from 'protocol';
let arrowDefId = 0;
const injectorTypeToCla... | {
"end_byte": 2021,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/injector-tree-visualizer.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/injector-tree-visualizer.ts_2023_8951 | export class InjectorTreeVisualizer extends GraphRenderer<InjectorTreeNode, InjectorTreeD3Node> {
public config: InjectorTreeVisualizerConfig;
constructor(
private _containerElement: HTMLElement,
private _graphElement: HTMLElement,
{
orientation = 'horizontal',
nodeSize = [200, 500],
... | {
"end_byte": 8951,
"start_byte": 2023,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/injector-tree-visualizer.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/BUILD.bazel_0_671 | load("//devtools/tools:typescript.bzl", "ts_library")
load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
ng_module(
name = "resolution_path",
srcs = ["resolution-path.component.ts"],
deps = [
":injector_tree_visualizer",
"//devtools/pr... | {
"end_byte": 671,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/resolution-path.component.ts_0_2582 | /**
* @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,
computed,
effect,
ElementRef,
input,
OnDestroy,
viewChild,
} fr... | {
"end_byte": 2582,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/devtools-tabs/dependency-injection/resolution-path.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/application-operations/BUILD.bazel_0_270 | load("//devtools/tools:typescript.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "application-operations",
srcs = ["index.ts"],
deps = [
"//devtools/projects/protocol",
"@npm//@types",
],
)
| {
"end_byte": 270,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/application-operations/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/application-operations/index.ts_0_585 | /**
* @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 {DirectivePosition, ElementPosition} from 'protocol';
export abstract class ApplicationOperations {
abstra... | {
"end_byte": 585,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/application-operations/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/memo-decorator/README.md_0_2288 | [](https://travis-ci.org/mgechev/memo-decorator)
# Memo Decorator
This decorator applies memoization to a method of a class.
## Usage
Apply the decorator to a method of a class. The cache is local for the method but shared among all inst... | {
"end_byte": 2288,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/memo-decorator/README.md"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/memo-decorator/BUILD.bazel_0_177 | load("//devtools/tools:typescript.bzl", "ts_library")
package(default_visibility = ["//:__subpackages__"])
ts_library(
name = "memo-decorator",
srcs = ["index.ts"],
)
| {
"end_byte": 177,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/memo-decorator/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/memo-decorator/index.ts_0_1299 | export type Resolver = (...args: any[]) => any;
export interface MapLike<K = unknown, V = unknown> {
set(key: K, v: V): MapLike<K, V>;
get(key: K): V;
has(key: K): boolean;
}
export interface Config {
resolver?: Resolver;
cache?: MapLike;
}
function memoize(func: Function, resolver: Resolver, cache: MapLik... | {
"end_byte": 1299,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/memo-decorator/index.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/LICENSE_0_10173 |
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | {
"end_byte": 10173,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/LICENSE"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/LICENSE_10175_11357 | APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in t... | {
"end_byte": 11357,
"start_byte": 10175,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/LICENSE"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/README.md_0_1919 | # webtreemap
> **New 2017-Oct-16**: master is now webtreemap v2, a complete rewrite with
> bug fixes, more features, and a different (simpler) API. If you're looking
> for the old webtreemap, see the [v1] branch.
[v1]: https://github.com/evmar/webtreemap/tree/v1
A simple treemap implementation using web technologies... | {
"end_byte": 1919,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/README.md"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/treemap.ts_0_3525 | /**
* Copyright 2019 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | {
"end_byte": 3525,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/treemap.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/treemap.ts_3527_11271 | export class TreeMap {
readonly options: Options;
constructor(
public node: Node,
options: Partial<Options>,
) {
this.options = defaultOptions(options);
}
/** Creates the DOM for a single node if it doesn't have one already. */
ensureDOM(node: Node): HTMLElement {
if (node.dom) return node.... | {
"end_byte": 11271,
"start_byte": 3527,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/treemap.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/BUILD.bazel_0_209 | load("//devtools/tools:typescript.bzl", "ts_library")
package(default_visibility = ["//:__subpackages__"])
ts_library(
name = "webtreemap",
srcs = [
"tree.ts",
"treemap.ts",
],
)
| {
"end_byte": 209,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/tree.ts_0_2967 | /**
* Copyright 2019 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | {
"end_byte": 2967,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/webtreemap/tree.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/LICENSE_0_10172 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | {
"end_byte": 10172,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/LICENSE"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/LICENSE_10174_11347 | APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in t... | {
"end_byte": 11347,
"start_byte": 10174,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/LICENSE"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/BUILD.bazel_0_440 | load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
ng_module(
name = "angular-split",
srcs = ["public_api.ts"],
deps = [
"//devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib",
"//devtools/projects/ng-devtools/src/lib/vendo... | {
"end_byte": 440,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/public_api.ts_0_201 | // tslint:disable
/*
* Public API Surface of angular-split
*/
export {SplitComponent} from './lib/component/split.component';
export {SplitAreaDirective} from './lib/component/splitArea.directive';
| {
"end_byte": 201,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/public_api.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/BUILD.bazel_0_428 | load("//devtools/tools:ng_module.bzl", "ng_module")
package(default_visibility = ["//visibility:public"])
ng_module(
name = "lib",
srcs = glob(
include = [
"*.ts",
],
),
deps = [
"//devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component:split",
... | {
"end_byte": 428,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/BUILD.bazel"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts_0_3686 | // tslint:disable
import {
AfterViewInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,
EventEmitter,
Input,
NgZone,
OnDestroy,
Output,
QueryList,
Renderer2,
ViewChildren,
} from '@angular/core';
import {Observable, Subject, Subscriber} from 'rxjs';
import {debounceTime} f... | {
"end_byte": 3686,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts_3687_10903 | class SplitComponent implements AfterViewInit, OnDestroy {
private _direction: 'horizontal' | 'vertical' = 'horizontal';
@Input()
set direction(v: 'horizontal' | 'vertical') {
this._direction = v === 'vertical' ? 'vertical' : 'horizontal';
this.renderer.addClass(this.elRef.nativeElement, `as-${this._dir... | {
"end_byte": 10903,
"start_byte": 3687,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts_10907_17037 | private build(resetOrders: boolean, resetSizes: boolean): void {
this.stopDragging();
// ¤ AREAS ORDER
if (resetOrders === true) {
// If user provided 'order' for each area, use it to sort them.
if (this.displayedAreas.every((a) => a.component.order !== null)) {
this.displayedAreas.sor... | {
"end_byte": 17037,
"start_byte": 10907,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts_17041_25048 | blic startDragging(
event: MouseEvent | TouchEvent,
gutterOrder: number,
gutterNum: number,
): void {
event.preventDefault();
event.stopPropagation();
this.startPoint = getPointFromEvent(event);
if (this.startPoint === null || this.disabled === true) {
return;
}
this.snapsh... | {
"end_byte": 25048,
"start_byte": 17041,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts_25052_25985 | blic notify(
type: 'start' | 'progress' | 'end' | 'click' | 'dblclick' | 'transitionEnd',
gutterNum: number,
): void {
const sizes = this.getVisibleAreaSizes();
if (type === 'start') {
this.dragStart.emit({gutterNum, sizes});
} else if (type === 'end') {
this.dragEnd.emit({gutterNum, ... | {
"end_byte": 25985,
"start_byte": 25052,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/splitArea.directive.ts_0_4500 | // tslint:disable
import {Directive, ElementRef, Input, NgZone, OnDestroy, OnInit, Renderer2} from '@angular/core';
import {SplitComponent} from '../component/split.component';
import {getInputBoolean, getInputPositiveNumber} from './utils';
@Directive({
selector: 'as-split-area, [as-split-area]',
exportAs: 'as... | {
"end_byte": 4500,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/splitArea.directive.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.scss_0_3399 | :host {
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: stretch;
overflow: hidden;
width: 100%;
height: 100%;
& > .as-split-gutter {
flex-grow: 0;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
// Transparent gutter to m... | {
"end_byte": 3399,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/split.component.scss"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/utils.ts_0_6062 | // tslint:disable
import {ElementRef} from '@angular/core';
import {
IArea,
IAreaAbsorptionCapacity,
IAreaSnapshot,
IPoint,
ISplitSideAbsorptionCapacity,
} from './interface';
export function getPointFromEvent(event: MouseEvent | TouchEvent): IPoint | null {
// TouchEvent
if (
(<TouchEvent>event).ch... | {
"end_byte": 6062,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/utils.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/utils.ts_6064_8159 | function getAreaAbsorptionCapacityPixel(
areaSnapshot: IAreaSnapshot,
pixels: number,
containerSizePixel: number,
): IAreaAbsorptionCapacity | undefined | void {
const tempPixelSize = areaSnapshot.sizePixelAtStart + pixels;
// ENLARGE AREA
if (pixels > 0) {
// If maxSize & newSize bigger than it > abs... | {
"end_byte": 8159,
"start_byte": 6064,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/utils.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/interface.ts_0_1131 | // tslint:disable
import {SplitAreaDirective} from './splitArea.directive';
export interface IPoint {
x: number;
y: number;
}
export interface IArea {
component: SplitAreaDirective;
order: number;
size: number | null;
minSize: number | null;
maxSize: number | null;
}
// CREATED ON DRAG START
export i... | {
"end_byte": 1131,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/interface.ts"
} |
angular/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/BUILD.bazel_0_553 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
package(default_visibility = ["//:__subpackages__"])
sass_binary(
name = "split_styles",
src = "split.component.scss",
)
ng_module(
name = "split",
srcs = [
"interface.ts",
"spli... | {
"end_byte": 553,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/projects/ng-devtools/src/lib/vendor/angular-split/lib/component/BUILD.bazel"
} |
angular/devtools/docs/overview.md_0_8921 | - [DevTools Overview](#devtools-overview)
- [Bug reports](#bug-reports)
- [Debug your application](#debug-your-application)
- [Explore the application structure](#explore-the-application-structure)
- [View properties](#view-properties)
- [Navigate to the host node](#navigate-to-the-host-node)
- [Nav... | {
"end_byte": 8921,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/docs/overview.md"
} |
angular/devtools/docs/safari.md_0_1154 | # Installing Angular DevTools in Safari (experimental)
### Requirements
- Xcode 13+
To install Angular DevTools in Safari follow the steps:
* Open Safari and make sure the checkbox in `Safari -> Preferences -> Advanced -> Show develop menu in menu bar` is checked.
* Make sure the flag in `Develop -> Experimental F... | {
"end_byte": 1154,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/docs/safari.md"
} |
angular/devtools/docs/firefox.md_0_982 | # Installing Angular DevTools in Firefox
To install Angular DevTools in Firefox follow the steps:
* Open menu item from top bar `Tools -> Browser Tools -> Remote Debugging`.
* After clicking `Remote Debugging` click on `This Firefox` option from left navigation. You will see the below screen with list of extensions.... | {
"end_byte": 982,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/docs/firefox.md"
} |
angular/devtools/docs/release.md_0_3793 | # Publish Angular DevTools
Publishing Angular DevTools is a five step process:
1. Sync and update workspace.
1. Update extension version numbers.
1. Publish to Chrome.
1. Publish to Firefox.
1. Commit and merge the updated version numbers.
## 1. Sync workspace
Before starting anything, make sure your workspace ... | {
"end_byte": 3793,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/docs/release.md"
} |
angular/devtools/src/zone-unaware-iframe-message-bus.ts_0_1766 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Events, MessageBus, Parameters} from 'protocol';
import {IFrameMessageBus} from './iframe-message-bus';
ty... | {
"end_byte": 1766,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/zone-unaware-iframe-message-bus.ts"
} |
angular/devtools/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/src/index.html"
} |
angular/devtools/src/main.ts_0_396 | /**
* @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 {platformBrowser} from '@angular/platform-browser';
import {AppModule} from './app/app.module';
platformBro... | {
"end_byte": 396,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/main.ts"
} |
angular/devtools/src/styles.scss_0_35 | @use '../styles.scss' as devtools;
| {
"end_byte": 35,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/styles.scss"
} |
angular/devtools/src/iframe-message-bus.ts_0_2852 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Events, MessageBus, Parameters} from 'protocol';
type AnyEventCallback<Ev> = <E extends keyof Ev>(topic: E,... | {
"end_byte": 2852,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/iframe-message-bus.ts"
} |
angular/devtools/src/demo-application-operations.ts_0_1003 | /**
* @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 {ApplicationOperations} from 'ng-devtools';
import {DirectivePosition, ElementPosition} from 'protocol';
exp... | {
"end_byte": 1003,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/demo-application-operations.ts"
} |
angular/devtools/src/BUILD.bazel_0_3092 | 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": 3092,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/BUILD.bazel"
} |
angular/devtools/src/demo-application-environment.ts_0_506 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ApplicationEnvironment, Environment} from 'ng-devtools';
import {environment} from './environments/environm... | {
"end_byte": 506,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/demo-application-environment.ts"
} |
angular/devtools/src/app/app.component.html_0_32 | <router-outlet></router-outlet>
| {
"end_byte": 32,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/app.component.html"
} |
angular/devtools/src/app/app.module.ts_0_1350 | /**
* @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 {BrowserAnimationsModule} from '@angular/platform-browser/animations'... | {
"end_byte": 1350,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/app.module.ts"
} |
angular/devtools/src/app/app.component.ts_0_495 | /**
* @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} from '@angular/router';
@Component({
selector: 'app-root... | {
"end_byte": 495,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/app.component.ts"
} |
angular/devtools/src/app/BUILD.bazel_0_842 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "app_component_styles",
src = "app.component.scss",
)
ng_module(
name = "app",
srcs = [
"app.component.ts",
... | {
"end_byte": 842,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/BUILD.bazel"
} |
angular/devtools/src/app/devtools-app/devtools-app.module.ts_0_1384 | /**
* @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 {NgModule} from '@angular/core';
import {RouterModule} from '@a... | {
"end_byte": 1384,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/devtools-app/devtools-app.module.ts"
} |
angular/devtools/src/app/devtools-app/devtools-app.component.ts_0_665 | /**
* @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 {IFrameMessageBus} from '../../iframe-messag... | {
"end_byte": 665,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/devtools-app/devtools-app.component.ts"
} |
angular/devtools/src/app/devtools-app/devtools-app.component.scss_0_110 | iframe {
height: 339px;
width: 100%;
border: 0;
}
.devtools-wrapper {
height: calc(100vh - 344px);
}
| {
"end_byte": 110,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/devtools-app/devtools-app.component.scss"
} |
angular/devtools/src/app/devtools-app/devtools-app.component.html_0_157 | <iframe #ref src="demo-app/todos/app" id="sample-app" title="todos-app"></iframe>
<br />
<div class="devtools-wrapper">
<ng-devtools></ng-devtools>
</div>
| {
"end_byte": 157,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/devtools-app/devtools-app.component.html"
} |
angular/devtools/src/app/devtools-app/BUILD.bazel_0_804 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "devtools_app_component_styles",
src = "devtools-app.component.scss",
)
ng_module(
name = "devtools-app",
srcs = [
... | {
"end_byte": 804,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/devtools-app/BUILD.bazel"
} |
angular/devtools/src/app/demo-app/zippy.component.ts_0_475 | /**
* @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',
templateUrl: './zippy.compo... | {
"end_byte": 475,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/zippy.component.ts"
} |
angular/devtools/src/app/demo-app/demo-app.module.ts_0_1536 | /**
* @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 {CUSTOM_ELEMENTS_SCHEMA, Injector, NgModule} from '@angular/core';
import {createCustomElement} from '@angula... | {
"end_byte": 1536,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/demo-app.module.ts"
} |
angular/devtools/src/app/demo-app/heavy.component.ts_0_840 | /**
* @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": 840,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/heavy.component.ts"
} |
angular/devtools/src/app/demo-app/heavy.component.html_0_27 | <h1>{{ calculate() }}</h1>
| {
"end_byte": 27,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/heavy.component.html"
} |
angular/devtools/src/app/demo-app/BUILD.bazel_0_1488 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary", "sass_library")
package(default_visibility = ["//visibility:public"])
_STYLE_SRCS = [
"heavy.component.scss",
"zippy.component.scss",
]
_STYLE_LABELS = [
src[:-len(".component.scss")].replace("-", "... | {
"end_byte": 1488,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/BUILD.bazel"
} |
angular/devtools/src/app/demo-app/demo-app.component.html_0_208 | <router-outlet></router-outlet>
<app-zippy [title]="getTitle()">This is my content</app-zippy>
<app-heavy></app-heavy>
<div #elementReference>HTMLElement</div>
<app-sample-properties></app-sample-properties>
| {
"end_byte": 208,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/demo-app.component.html"
} |
angular/devtools/src/app/demo-app/zippy.component.scss_0_295 | :host {
user-select: none;
}
header {
max-width: 120px;
border: 1px solid #ccc;
padding-left: 10px;
padding-right: 10px;
cursor: pointer;
}
div {
max-width: 120px;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding: 10px;
}
| {
"end_byte": 295,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/zippy.component.scss"
} |
angular/devtools/src/app/demo-app/demo-app.component.ts_0_1412 | /**
* @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,
ElementRef,
EventEmitter,
Input,
Output,
signal,
ViewChild,
ViewEnca... | {
"end_byte": 1412,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/demo-app.component.ts"
} |
angular/devtools/src/app/demo-app/sample.service.ts_0_1144 | /**
* @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 {computed, Injectable, signal} from '@angular/core';
@Injectable({providedIn: 'root'})
export class SampleSe... | {
"end_byte": 1144,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/sample.service.ts"
} |
angular/devtools/src/app/demo-app/sample-properties.component.ts_0_1492 | /**
* @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, ElementRef, inject, signal, ViewChild} from '@angular/core';
import {SIGNAL} from '@ang... | {
"end_byte": 1492,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/sample-properties.component.ts"
} |
angular/devtools/src/app/demo-app/zippy.component.html_0_149 | <section>
<header (click)="visible = !visible">{{ title }}</header>
<div [hidden]="!visible">
<ng-content> </ng-content>
</div>
</section>
| {
"end_byte": 149,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/zippy.component.html"
} |
angular/devtools/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/src/app/demo-app/demo-app.component.scss"
} |
angular/devtools/src/app/demo-app/todo/app-todo.component.ts_0_1051 | /**
* @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, Injectable} from '@angular/core';
import {MatDialog} from '@angular/material/dialog';
import {Di... | {
"end_byte": 1051,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/app-todo.component.ts"
} |
angular/devtools/src/app/demo-app/todo/app-todo.component.html_0_224 | <nav>
<a routerLink="/demo-app/todos/app">Todos</a>
<a routerLink="/demo-app/todos/about">About</a>
</nav>
<button class="dialog-open-button" (click)="openDialog()">Open dialog</button>
<router-outlet></router-outlet>
| {
"end_byte": 224,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/app-todo.component.html"
} |
angular/devtools/src/app/demo-app/todo/app.module.ts_0_1519 | /**
* @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 {NgModule} from '@angular/core';
import {FormsModule} from '@an... | {
"end_byte": 1519,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/app.module.ts"
} |
angular/devtools/src/app/demo-app/todo/app-todo.component.scss_0_205 | nav {
padding-top: 20px;
padding-bottom: 10px;
a {
margin-right: 15px;
text-decoration: none;
}
}
.dialog-open-button {
border: 1px solid #ccc;
padding: 10px;
margin-right: 20px;
}
| {
"end_byte": 205,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/app-todo.component.scss"
} |
angular/devtools/src/app/demo-app/todo/dialog.component.ts_0_1123 | /**
* @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 {
MAT_DIALOG_DATA,
MatDialogRef,
MatDialogTitle,
Mat... | {
"end_byte": 1123,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/dialog.component.ts"
} |
angular/devtools/src/app/demo-app/todo/BUILD.bazel_0_800 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "app_todo_component_styles",
src = "app-todo.component.scss",
)
ng_module(
name = "todo",
srcs = [
"app.module.t... | {
"end_byte": 800,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/BUILD.bazel"
} |
angular/devtools/src/app/demo-app/todo/dialog.component.html_0_422 | <h1 mat-dialog-title>Hi {{ data.name }}</h1>
<div mat-dialog-content>
<p>What's your favorite animal?</p>
<mat-form-field>
<mat-label>Favorite Animal</mat-label>
<input matInput [(ngModel)]="data.animal" />
</mat-form-field>
</div>
<div mat-dialog-actions>
<button mat-button (click)="onNoClick()">No Tha... | {
"end_byte": 422,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/dialog.component.html"
} |
angular/devtools/src/app/demo-app/todo/home/todo.ts_0_283 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export interface Todo {
id: string;
completed: boolean;
label: string;
}
| {
"end_byte": 283,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/todo.ts"
} |
angular/devtools/src/app/demo-app/todo/home/todos.component.html_0_1467 | <a [routerLink]="">Home</a>
<a [routerLink]="">Home</a>
<a [routerLink]="">Home</a>
<p>{{ 'Sample text processed by a pipe' | sample }}</p>
<section class="todoapp">
<header class="header">
<h1>todos</h1>
<input (keydown.enter)="addTodo(input)" #input class="new-todo" placeholder="What needs to be done?" auto... | {
"end_byte": 1467,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/todos.component.html"
} |
angular/devtools/src/app/demo-app/todo/home/home.module.ts_0_909 | /**
* @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 {NgModule} from '@angular/core';
import {RouterModule} from '@a... | {
"end_byte": 909,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/home.module.ts"
} |
angular/devtools/src/app/demo-app/todo/home/todo.component.ts_0_1057 | /**
* @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, EventEmitter, Input, Output} from '@angular/core';
import {Todo} from '... | {
"end_byte": 1057,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/todo.component.ts"
} |
angular/devtools/src/app/demo-app/todo/home/tooltip.directive.ts_0_759 | /**
* @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,... | {
"end_byte": 759,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/tooltip.directive.ts"
} |
angular/devtools/src/app/demo-app/todo/home/todos.pipe.ts_0_880 | /**
* @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 {Pipe, PipeTransform} from '@angular/core';
import {Todo} from './todo';
export const enum TodoFilter {
A... | {
"end_byte": 880,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/todos.pipe.ts"
} |
angular/devtools/src/app/demo-app/todo/home/BUILD.bazel_0_727 | load("//devtools/tools:ng_module.bzl", "ng_module")
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "home_styles",
src = "todo.component.scss",
)
ng_module(
name = "home",
srcs = [
"home.module.ts",
"samp... | {
"end_byte": 727,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/BUILD.bazel"
} |
angular/devtools/src/app/demo-app/todo/home/sample.pipe.ts_0_546 | /**
* @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... | {
"end_byte": 546,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/devtools/src/app/demo-app/todo/home/sample.pipe.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.