_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular/adev/shared-docs/components/top-level-banner/BUILD.bazel_0_1091
load("//tools:defaults.bzl", "karma_web_test_suite", "ng_module", "ts_library") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") package(default_visibility = ["//visibility:private"]) ng_module( name = "top-level-banner", srcs = [ "top-level-banner.component.ts", ], assets = [ ":...
{ "end_byte": 1091, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/top-level-banner/BUILD.bazel" }
angular/adev/shared-docs/components/text-field/text-field.component.spec.ts_0_862
/*! * @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 {TextField} from './text-field.component'; ...
{ "end_byte": 862, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/text-field/text-field.component.spec.ts" }
angular/adev/shared-docs/components/text-field/text-field.component.html_0_259
@if (!hideIcon) { <docs-icon class="docs-icon_high-contrast">search</docs-icon> } <input #inputRef type="text" [attr.placeholder]="placeholder" [attr.name]="name" [ngModel]="value()" (ngModelChange)="setValue($event)" class="docs-text-field" />
{ "end_byte": 259, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/text-field/text-field.component.html" }
angular/adev/shared-docs/components/text-field/text-field.component.ts_0_2295
/*! * @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, ElementRef, Input, ViewChild, afterNextRender, forwardRef...
{ "end_byte": 2295, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/text-field/text-field.component.ts" }
angular/adev/shared-docs/components/text-field/text-field.component.scss_0_151
// search field .docs-text-field { font-size: 1.125rem; } // filter field on api reference list docs-icon + .docs-text-field { font-size: 1rem; }
{ "end_byte": 151, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/text-field/text-field.component.scss" }
angular/adev/shared-docs/components/text-field/BUILD.bazel_0_1025
load("//tools:defaults.bzl", "karma_web_test_suite", "ng_module", "ts_library") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") package(default_visibility = ["//visibility:private"]) ng_module( name = "text-field", srcs = [ "text-field.component.ts", ], assets = [ ":text-field.c...
{ "end_byte": 1025, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/text-field/BUILD.bazel" }
angular/adev/shared-docs/components/select/select.component.html_0_220
<select [attr.id]="id" [attr.name]="name" [ngModel]="selectedOption()" (ngModelChange)="setOption($event)"> @for (item of options; track item) { <option [value]="item.value">{{ item.label }}</option> } </select>
{ "end_byte": 220, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/select/select.component.html" }
angular/adev/shared-docs/components/select/select.component.ts_0_2168
/*! * @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 {ControlValueAccessor, NG_VALUE_ACCESSOR, FormsModule} from '@angular/forms'; import {ChangeDetectionStrategy...
{ "end_byte": 2168, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/select/select.component.ts" }
angular/adev/shared-docs/components/select/BUILD.bazel_0_892
load("//tools:defaults.bzl", "karma_web_test_suite", "ng_module", "ts_library") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") package(default_visibility = ["//visibility:private"]) ng_module( name = "select", srcs = [ "select.component.ts", ], assets = [ ":select.component.css...
{ "end_byte": 892, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/select/BUILD.bazel" }
angular/adev/shared-docs/components/select/select.component.spec.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 {ComponentFixture, TestBed} from '@angular/core/testing'; import {Select} from './select.component'; import ...
{ "end_byte": 840, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/select/select.component.spec.ts" }
angular/adev/shared-docs/components/breadcrumb/breadcrumb.component.spec.ts_0_2534
/*! * @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 {Breadcrumb} from './breadcrumb.component';...
{ "end_byte": 2534, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/breadcrumb/breadcrumb.component.spec.ts" }
angular/adev/shared-docs/components/breadcrumb/breadcrumb.component.html_0_390
@for (breadcrumb of breadcrumbItems(); track breadcrumb) { <div class="docs-breadcrumb"> @if (breadcrumb.path) { @if (breadcrumb.isExternal) { <a [href]="breadcrumb.path">{{ breadcrumb.label }}</a> } @else { <a [routerLink]="'/' + breadcrumb.path">{{ breadcrumb.label }}</a> } ...
{ "end_byte": 390, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/breadcrumb/breadcrumb.component.html" }
angular/adev/shared-docs/components/breadcrumb/breadcrumb.component.ts_0_1368
/*! * @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, OnInit, inject, signal} from '@angular/core'; import {NavigationState} f...
{ "end_byte": 1368, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/breadcrumb/breadcrumb.component.ts" }
angular/adev/shared-docs/components/breadcrumb/breadcrumb.component.scss_0_432
:host { display: flex; align-items: center; padding-block-end: 1.5rem; } .docs-breadcrumb { span { color: var(--quaternary-contrast); font-size: 0.875rem; display: flex; align-items: center; } &:not(:last-child) { span { &::after { content: 'chevron_right'; font-f...
{ "end_byte": 432, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/breadcrumb/breadcrumb.component.scss" }
angular/adev/shared-docs/components/breadcrumb/BUILD.bazel_0_1239
load("//tools:defaults.bzl", "karma_web_test_suite", "ng_module", "ts_library") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") package(default_visibility = ["//visibility:private"]) ng_module( name = "breadcrumb", srcs = [ "breadcrumb.component.ts", ], assets = [ ":breadcrumb.c...
{ "end_byte": 1239, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/breadcrumb/BUILD.bazel" }
angular/adev/shared-docs/components/icon/icon.component.ts_0_1447
/*! * @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 {DOCUMENT} from '@angular/common'; import { ChangeDetectionStrategy, Component, afterNextRender, comp...
{ "end_byte": 1447, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/icon/icon.component.ts" }
angular/adev/shared-docs/components/icon/BUILD.bazel_0_927
load("//tools:defaults.bzl", "ng_module") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") package(default_visibility = ["//visibility:private"]) ng_module( name = "icon", srcs = [ "icon.component.ts", ], assets = [ ":icon.component.css", "icon.component.html", ], ...
{ "end_byte": 927, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/icon/BUILD.bazel" }
angular/adev/shared-docs/components/icon/icon.component.html_0_26
<ng-content></ng-content>
{ "end_byte": 26, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/icon/icon.component.html" }
angular/adev/shared-docs/components/icon/icon.component.scss_0_63
.docs-icon_high-contrast { color: var(--primary-contrast); }
{ "end_byte": 63, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/icon/icon.component.scss" }
angular/adev/shared-docs/components/cookie-popup/cookie-popup.component.scss_0_785
:host { position: fixed; bottom: 0.5rem; right: 0.5rem; z-index: var(--z-index-cookie-consent); opacity: 0; visibility: hidden; animation: 1s linear forwards 0.5s fadeIn; } .docs-cookies-popup { padding: 1rem; background-color: var(--page-background); border: 1px solid var(--senary-contrast); bor...
{ "end_byte": 785, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/cookie-popup/cookie-popup.component.scss" }
angular/adev/shared-docs/components/cookie-popup/cookie-popup.component.html_0_610
@if (!hasAccepted()) { <div class="docs-cookies-popup docs-invert-mode"> <p>This site uses cookies from Google to deliver its services and to analyze traffic.</p> <div> <a href="https://policies.google.com/technologies/cookies" target="_blank" rel="noopener"> <button class="docs-primary-btn" [attr.text]=...
{ "end_byte": 610, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/cookie-popup/cookie-popup.component.html" }
angular/adev/shared-docs/components/cookie-popup/cookie-popup.component.spec.ts_0_2130
/*! * @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 {CookiePopup, STORAGE_KEY} from './cookie-p...
{ "end_byte": 2130, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/cookie-popup/cookie-popup.component.spec.ts" }
angular/adev/shared-docs/components/cookie-popup/cookie-popup.component.ts_0_1573
/*! * @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, inject, signal} from '@angular/core'; import {LOCAL_STORAGE} from '../.....
{ "end_byte": 1573, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/cookie-popup/cookie-popup.component.ts" }
angular/adev/shared-docs/components/cookie-popup/BUILD.bazel_0_1054
load("//tools:defaults.bzl", "karma_web_test_suite", "ng_module", "ts_library") load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") package(default_visibility = ["//visibility:private"]) ng_module( name = "cookie-popup", srcs = [ "cookie-popup.component.ts", ], assets = [ ":cookie-p...
{ "end_byte": 1054, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/components/cookie-popup/BUILD.bazel" }
angular/adev/shared-docs/icons/chevron.svg_0_239
<svg width="10" height="7" viewBox="0 0 10 7" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M-5.09966e-08 1.83341L1.16667 0.666748L5 4.50008L8.83333 0.666748L10 1.83341L5 6.83341L-5.09966e-08 1.83341Z" fill="#746E7C"/> </svg>
{ "end_byte": 239, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/icons/chevron.svg" }
angular/adev/shared-docs/icons/github.svg_0_1383
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M7.59948 19.0428C7.59948 18.8069 7.59118 18.182 7.58656 17.3526C4.89071 17.9526 4.32164 16.0201 4.32164 16.0201C3.88087 14.8718 3.24533 14.5663 3.24533 14.5663C2.36518 13.9492...
{ "end_byte": 1383, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/icons/github.svg" }
angular/adev/shared-docs/icons/youtube.svg_0_782
<svg width="20" height="15" viewBox="0 0 20 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M18.7556 2.94783C18.5803 1.98018 17.745 1.27549 16.7756 1.05549C15.325 0.747832 12.6403 0.527832 9.73563 0.527832C6.83266 0.527832 4.105 0.747832 2.65266 1.05549C1.685 1.27549 0.847969 1.93549 0.672656 2.94783C0.495...
{ "end_byte": 782, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/icons/youtube.svg" }
angular/adev/shared-docs/icons/BUILD.bazel_0_196
package(default_visibility = ["//visibility:private"]) filegroup( name = "icons", srcs = glob([ "*.svg", ]), visibility = [ "//adev/shared-docs:__pkg__", ], )
{ "end_byte": 196, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/icons/BUILD.bazel" }
angular/adev/shared-docs/icons/twitter.svg_0_367
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0.04145 0.04432l6.56351 8.77603L0 15.95564h1.48651l5.78263-6.24705 4.6722 6.24705h5.05865l-6.9328-9.26967L16.21504.04432h-1.48651l-5.32552 5.75341L5.1001.04432H.04145Zm2.18602 1.09497h2.32396l10.26221 13.72122h-2.3...
{ "end_byte": 367, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/icons/twitter.svg" }
angular/adev/shared-docs/services/table-of-contents-loader.service.ts_0_3238
/*! * @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 {DOCUMENT, isPlatformBrowser} from '@angular/common'; import {inject, signal, Injectable, PLATFORM_ID} from '...
{ "end_byte": 3238, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/table-of-contents-loader.service.ts" }
angular/adev/shared-docs/services/table-of-contents-loader.service.spec.ts_0_4242
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {TestBed} from '@angular/core/testing'; import {TOC_SKIP_CONTENT_MARKER, TableOfContentsLoader} from './tabl...
{ "end_byte": 4242, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/table-of-contents-loader.service.spec.ts" }
angular/adev/shared-docs/services/navigation-state.service.ts_0_3875
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Injectable, inject, signal} from '@angular/core'; import {NavigationItem} from '../interfaces/index'; import...
{ "end_byte": 3875, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/navigation-state.service.ts" }
angular/adev/shared-docs/services/search.service.ts_0_4306
/*! * @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, afterNextRender, inject, signal} from '@angular/core'; import {ENVIRONMENT} from '../providers/i...
{ "end_byte": 4306, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/search.service.ts" }
angular/adev/shared-docs/services/inject-async.service.ts_0_2464
/*! * @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 { DestroyRef, ENVIRONMENT_INITIALIZER, EnvironmentInjector, Injectable, Injector, Provider, Pro...
{ "end_byte": 2464, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/inject-async.service.ts" }
angular/adev/shared-docs/services/BUILD.bazel_0_1229
load("//tools:defaults.bzl", "karma_web_test_suite", "ng_module", "ts_library") package(default_visibility = ["//visibility:private"]) ts_library( name = "services", srcs = [ "index.ts", ], visibility = ["//adev/shared-docs:__subpackages__"], deps = [ ":lib", ], ) ng_module( ...
{ "end_byte": 1229, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/BUILD.bazel" }
angular/adev/shared-docs/services/index.ts_0_502
/*! * @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 './navigation-state.service'; export {TOC_SKIP_CONTENT_MARKER, TableOfContentsLoader} from './table-of...
{ "end_byte": 502, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/index.ts" }
angular/adev/shared-docs/services/table-of-contents-scroll-spy.service.spec.ts_0_4188
/*! * @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 {DestroyRef} from '@angular/core'; import {DOCUMENT, ViewportScroller} from '@angular/common'; import {TestBe...
{ "end_byte": 4188, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/table-of-contents-scroll-spy.service.spec.ts" }
angular/adev/shared-docs/services/table-of-contents-scroll-spy.service.ts_0_6347
/*! * @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 {DOCUMENT, ViewportScroller} from '@angular/common'; import { DestroyRef, EnvironmentInjector, Injectab...
{ "end_byte": 6347, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/services/table-of-contents-scroll-spy.service.ts" }
angular/adev/shared-docs/interfaces/code-example.ts_0_1229
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Type} from '@angular/core'; /** * Map of the examples, values are functions which returns the promise of t...
{ "end_byte": 1229, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/code-example.ts" }
angular/adev/shared-docs/interfaces/table-of-contents-item.ts_0_599
/*! * @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 TableOfContentsLevel { H2 = 'h2', H3 = 'h3', } /** Represents a table of content item. */ export in...
{ "end_byte": 599, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/table-of-contents-item.ts" }
angular/adev/shared-docs/interfaces/navigation-item.ts_0_423
/*! * @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 NavigationItem { label?: string; path?: string; children?: NavigationItem[]; isExternal?: b...
{ "end_byte": 423, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/navigation-item.ts" }
angular/adev/shared-docs/interfaces/environment.ts_0_364
/*! * @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 {AlgoliaConfig} from './algolia-config'; export interface Environment { production: boolean; algolia: Al...
{ "end_byte": 364, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/environment.ts" }
angular/adev/shared-docs/interfaces/search-results.ts_0_1585
/*! * @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 SnippetResult { value: string; matchLevel: 'none' | 'full' | string; } /* The interface repres...
{ "end_byte": 1585, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/search-results.ts" }
angular/adev/shared-docs/interfaces/algolia-config.ts_0_295
/*! * @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 AlgoliaConfig { apiKey: string; appId: string; indexName: string; }
{ "end_byte": 295, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/algolia-config.ts" }
angular/adev/shared-docs/interfaces/example-viewer-content-loader.ts_0_493
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Type} from '@angular/core'; /** The service responsible for fetching the type of Component to display in th...
{ "end_byte": 493, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/example-viewer-content-loader.ts" }
angular/adev/shared-docs/interfaces/docs-content-loader.ts_0_421
/*! * @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 {DocContent} from './doc-content'; /** The service responsible for fetching static content for docs pages */...
{ "end_byte": 421, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/docs-content-loader.ts" }
angular/adev/shared-docs/interfaces/BUILD.bazel_0_567
load("//tools:defaults.bzl", "ts_library") package(default_visibility = ["//visibility:private"]) ts_library( name = "interfaces", srcs = [ "index.ts", ], visibility = ["//adev/shared-docs:__subpackages__"], deps = [ ":lib", ], ) ts_library( name = "lib", srcs = glob( ...
{ "end_byte": 567, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/BUILD.bazel" }
angular/adev/shared-docs/interfaces/index.ts_0_525
/*! * @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 './code-example'; export * from './doc-content'; export * from './docs-content-loader'; export * from ...
{ "end_byte": 525, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/index.ts" }
angular/adev/shared-docs/interfaces/tutorial.ts_0_4525
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import type {FileSystemTree} from '@webcontainer/api'; import {NavigationItem} from './navigation-item'; /** the st...
{ "end_byte": 4525, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/tutorial.ts" }
angular/adev/shared-docs/interfaces/doc-content.ts_0_481
/*! * @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 */ /** Represents a documentation page data. */ export interface DocContent { /** The unique identifier for this docu...
{ "end_byte": 481, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/shared-docs/interfaces/doc-content.ts" }
angular/adev/scripts/update-cli-help/README.md_0_218
# Generating data for `angular.dev/cli` This script updates the Angular CLI help JSON files stored in `adev/src/content/cli/help`. This files are used to generate the [angular.dev CLI](https://angular.dev/cli) pages.
{ "end_byte": 218, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/scripts/update-cli-help/README.md" }
angular/adev/scripts/update-cli-help/index.mjs_0_4729
import {execSync} from 'node:child_process'; import {readFile, writeFile, readdir, mkdtemp, realpath, copyFile, unlink} from 'node:fs/promises'; import {tmpdir} from 'node:os'; import {get} from 'node:https'; import {dirname, resolve as resolvePath, posix, join} from 'node:path'; import {fileURLToPath} from 'node:url';...
{ "end_byte": 4729, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/scripts/update-cli-help/index.mjs" }
angular/adev/src/index.html_0_4215
<!doctype html> <!-- We set all theme classes to allow critters to inline the theme styles and prevent flickering --> <html lang="en" class="docs-dark-mode docs-light-mode"> <head> <script> // This logic must execute early, so that we set the necessary // CSS classes to the document node and avoid uns...
{ "end_byte": 4215, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/index.html" }
angular/adev/src/main.ts_0_445
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {bootstrapApplication} from '@angular/platform-browser'; import {appConfig} from './app/app.config'; import {...
{ "end_byte": 445, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/main.ts" }
angular/adev/src/main.server.ts_0_462
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {bootstrapApplication} from '@angular/platform-browser'; import {AppComponent} from './app/app.component'; im...
{ "end_byte": 462, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/main.server.ts" }
angular/adev/src/local-styles.scss_0_26
@import './styles/xterm';
{ "end_byte": 26, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/local-styles.scss" }
angular/adev/src/robots.txt_0_88
# Allow all URLs (see https://www.robotstxt.org/robotstxt.html) User-agent: * Disallow:
{ "end_byte": 88, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/robots.txt" }
angular/adev/src/app/app.component.html_0_923
@defer (when isBrowser) { <adev-progress-bar /> <docs-top-level-banner expiry="2024-09-27" id="ng-survey-2024" link="https://goo.gle/angular-survey-2024" text="Take the 2024 Angular Developer Survey today!" /> } <button (click)="focusFirstHeading()" class="adev-skip">Skip to main content</button> <div class="adev...
{ "end_byte": 923, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/app.component.html" }
angular/adev/src/app/routes.ts_0_6391
/*! * @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 {contentResolver, flatNavigationData, mapNavigationItemsToRoutes} from '@angular/docs'; import {Route} from '...
{ "end_byte": 6391, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/routes.ts" }
angular/adev/src/app/sub-navigation-data.ts_0_2943
/*! * @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 {NavigationItem} from '@angular/docs'; // These 2 imports are expected to be red because they are generated ...
{ "end_byte": 2943, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/sub-navigation-data.ts" }
angular/adev/src/app/sub-navigation-data.ts_2946_12432
label: 'In-depth Guides', children: [ { label: 'Components', children: [ { label: 'Anatomy of components', path: 'guide/components', contentPath: 'guide/components/anatomy-of-components', }, { label: 'Importing an...
{ "end_byte": 12432, "start_byte": 2946, "url": "https://github.com/angular/angular/blob/main/adev/src/app/sub-navigation-data.ts" }
angular/adev/src/app/sub-navigation-data.ts_12439_20082
label: 'Forms', children: [ { label: 'Overview', path: 'guide/forms', contentPath: 'guide/forms/overview', }, { label: 'Reactive forms', path: 'guide/forms/reactive-forms', contentPath: 'guide/forms/reac...
{ "end_byte": 20082, "start_byte": 12439, "url": "https://github.com/angular/angular/blob/main/adev/src/app/sub-navigation-data.ts" }
angular/adev/src/app/sub-navigation-data.ts_20085_27829
label: 'Developer Tools', children: [ { label: 'Angular CLI', children: [ { label: 'Overview', path: 'tools/cli', contentPath: 'tools/cli/overview', }, { label: 'Local set-up', path: 'tools/cli/setup-l...
{ "end_byte": 27829, "start_byte": 20085, "url": "https://github.com/angular/angular/blob/main/adev/src/app/sub-navigation-data.ts" }
angular/adev/src/app/sub-navigation-data.ts_27831_32638
st REFERENCE_SUB_NAVIGATION_DATA: NavigationItem[] = [ { label: 'Roadmap', path: 'roadmap', contentPath: 'reference/roadmap', }, { label: 'Get involved', path: 'https://github.com/angular/angular/blob/main/CONTRIBUTING.md', }, { label: 'API Reference', children: [ { l...
{ "end_byte": 32638, "start_byte": 27831, "url": "https://github.com/angular/angular/blob/main/adev/src/app/sub-navigation-data.ts" }
angular/adev/src/app/sub-navigation-data.ts_32641_38918
label: 'Error Encyclopedia', children: [ { label: 'Overview', path: 'errors', contentPath: 'reference/errors/overview', }, { label: 'NG0100: Expression Changed After Checked', path: 'errors/NG0100', contentPath: 'reference/errors/NG0100', },...
{ "end_byte": 38918, "start_byte": 32641, "url": "https://github.com/angular/angular/blob/main/adev/src/app/sub-navigation-data.ts" }
angular/adev/src/app/sub-navigation-data.ts_38921_46264
label: 'Extended Diagnostics', children: [ { label: 'Overview', path: 'extended-diagnostics', contentPath: 'reference/extended-diagnostics/overview', }, { label: 'NG8101: Invalid Banana-in-Box', path: 'extended-diagnostics/NG8101', contentPath: 'r...
{ "end_byte": 46264, "start_byte": 38921, "url": "https://github.com/angular/angular/blob/main/adev/src/app/sub-navigation-data.ts" }
angular/adev/src/app/app.config.server.ts_0_699
/*! * @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 {mergeApplicationConfig, ApplicationConfig} from '@angular/core'; import {provideServerRendering} from '@angu...
{ "end_byte": 699, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/app.config.server.ts" }
angular/adev/src/app/app.component.scss_0_2466
@use '@angular/docs/styles/media-queries' as mq; :host { max-width: 2560px; margin-inline: auto; display: flex; flex-direction: row; align-items: flex-start; min-height: 100vh; // Display top level banner below the navigation. docs-top-level-banner { @include mq.for-tablet { top: 4.6875rem; ...
{ "end_byte": 2466, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/app.component.scss" }
angular/adev/src/app/environment.ts_0_582
/*! * @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 default { production: true, // Those values are publicly visible in the search request headers, and prese...
{ "end_byte": 582, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/environment.ts" }
angular/adev/src/app/app.component.spec.ts_0_1205
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {TestBed} from '@angular/core/testing'; import {AppComponent} from './app.component'; import {provideRouter} ...
{ "end_byte": 1205, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/app.component.spec.ts" }
angular/adev/src/app/app.component.ts_0_3655
/*! * @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 {DOCUMENT, isPlatformBrowser} from '@angular/common'; import { ChangeDetectionStrategy, Component, inje...
{ "end_byte": 3655, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/app.component.ts" }
angular/adev/src/app/app.config.ts_0_3553
/*! * @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 {DOCUMENT} from '@angular/common'; import {provideHttpClient, withFetch} from '@angular/common/http'; import ...
{ "end_byte": 3553, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/app.config.ts" }
angular/adev/src/app/app-scroller.ts_0_2563
/*! * @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 {ViewportScroller} from '@angular/common'; import { Injectable, inject, ApplicationRef, afterNextRende...
{ "end_byte": 2563, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/app-scroller.ts" }
angular/adev/src/app/core/layout/footer/footer.component.ts_0_800
/*! * @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} from '@angular/core'; import {ExternalLink} from '@angular/docs'; import...
{ "end_byte": 800, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/footer/footer.component.ts" }
angular/adev/src/app/core/layout/footer/footer.component.spec.ts_0_1012
/*! * @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 {WINDOW} from '@angular/docs'; import {Rout...
{ "end_byte": 1012, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/footer/footer.component.spec.ts" }
angular/adev/src/app/core/layout/footer/footer.component.scss_0_1269
.adev-footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; @container footer (max-width: 600px) { grid-template-columns: repeat(2, 1fr) !important; } } .adev-footer-container { container: footer / inline-size; position: relative; justify-content: center; padding: var...
{ "end_byte": 1269, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/footer/footer.component.scss" }
angular/adev/src/app/core/layout/footer/footer.component.html_0_3518
<div class="adev-footer-container"> <div class="adev-footer-columns"> <div> <h2>Social Media</h2> <ul> <li> <a [href]="MEDIUM" title="Angular blog">Blog</a> </li> <li> <a [href]="X" title="X (formerly Twitter)">X (formerly Twitter)</a> </li> ...
{ "end_byte": 3518, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/footer/footer.component.html" }
angular/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.ts_0_7615
/*! * @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, DestroyRef, OnInit, PLATFORM_ID, computed, inject, sign...
{ "end_byte": 7615, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.ts" }
angular/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.spec.ts_0_1023
/*! * @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 {SecondaryNavigation} from './secondary-nav...
{ "end_byte": 1023, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.spec.ts" }
angular/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.html_0_1168
<div [attr.id]="SECONDARY_NAV_ID" class="adev-secondary-nav-mask" [class.docs-nav-secondary--open]="isSecondaryNavVisible()" (docsClickOutside)="close()" [docsClickOutsideIgnore]="[PRIMARY_NAV_ID]"> <div class="docs-nav-secondary docs-scroll-track-transparent" [style.transform]="translateX()" [style.transition]="tran...
{ "end_byte": 1168, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.html" }
angular/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.scss_0_1654
@use '@angular/docs/styles/media-queries' as mq; :host { z-index: 100; @include mq.for-tablet-landscape-up { position: sticky; top: 0; } @include mq.for-tablet-landscape-down { position: fixed; } @include mq.for-phone-only { transform: translateX(0); transition: transform 0.3s ease; ...
{ "end_byte": 1654, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/secondary-navigation/secondary-navigation.component.scss" }
angular/adev/src/app/core/layout/progress-bar/progress-bar.component.spec.ts_0_1261
/*! * @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 {PROGRESS_BAR_DELAY, ProgressBarComponent} ...
{ "end_byte": 1261, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/progress-bar/progress-bar.component.spec.ts" }
angular/adev/src/app/core/layout/progress-bar/progress-bar.component.ts_0_2592
/*! * @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, inject, OnInit, PLATFORM_ID, ViewChild, } from '@angular/co...
{ "end_byte": 2592, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/progress-bar/progress-bar.component.ts" }
angular/adev/src/app/core/layout/navigation/navigation.component.ts_0_8153
/*! * @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 {CdkMenu, CdkMenuItem, CdkMenuTrigger} from '@angular/cdk/menu'; import {DOCUMENT, Location, isPlatformBrowse...
{ "end_byte": 8153, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.ts" }
angular/adev/src/app/core/layout/navigation/nav-item.scss_0_2137
@use '@angular/docs/styles/media-queries' as mq; .adev-nav-item { color: var(--quaternary-contrast); position: relative; width: 6.875rem; @include mq.for-phone-only { width: 5.05rem; } @include mq.for-tablet { display: flex; align-items: center; justify-content: center; width: auto; ...
{ "end_byte": 2137, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/nav-item.scss" }
angular/adev/src/app/core/layout/navigation/navigation.component.spec.ts_0_3154
/*! * @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 {Navigation} from './navigation.component';...
{ "end_byte": 3154, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.spec.ts" }
angular/adev/src/app/core/layout/navigation/navigation.component.scss_0_6722
@use '@angular/docs/styles/media-queries' as mq; // primary nav :host { display: flex; position: sticky; top: 0; z-index: var(--z-index-nav); .adev-mobile-nav-button { display: flex; align-items: center; gap: 0.75rem; } // render tablet primary nav under blur when secondary is open @inclu...
{ "end_byte": 6722, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.scss" }
angular/adev/src/app/core/layout/navigation/navigation.component.html_0_2217
<!-- Primary Nav --> <div [attr.id]="PRIMARY_NAV_ID" (docsClickOutside)="closeMobileNav()" [docsClickOutsideIgnore]="[SECONDARY_NAV_ID]" > <!-- Mobile nav bar --> <div class="adev-mobile-nav-bar"> <!-- Logo icon --> <button type="button" class="adev-mobile-nav-button" aria-label="Tog...
{ "end_byte": 2217, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.html" }
angular/adev/src/app/core/layout/navigation/navigation.component.html_2221_8094
<nav class="adev-nav-primary docs-scroll-hide" [class.adev-nav-primary--open]="isMobileNavigationOpened()" [class.adev-nav-primary--rc]="currentDocsVersionMode === 'rc'" [class.adev-nav-primary--next]="currentDocsVersionMode === 'next'" [class.adev-nav-primary--deprecated]="currentDocsVersionMode ==...
{ "end_byte": 8094, "start_byte": 2221, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.html" }
angular/adev/src/app/core/layout/navigation/navigation.component.html_8101_12012
<li class="adev-nav-item" [class.adev-nav-item--active]="activeRouteItem() === DOCS_ROUTE"> <a [routerLink]="DOCS_ROUTE"> <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="14" height="18" fill="inherit" > ...
{ "end_byte": 12012, "start_byte": 8101, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.html" }
angular/adev/src/app/core/layout/navigation/navigation.component.html_12019_17045
<div class="adev-nav-item" [class.adev-nav-item--active]="openedMenu === 'social'"> <button type="button" [cdkMenuTriggerFor]="socialMiniMenu" [cdkMenuPosition]="miniMenuPositions" aria-label="Open social media links" (cdkMenuClosed)="closeMenu()" (cdk...
{ "end_byte": 17045, "start_byte": 12019, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.html" }
angular/adev/src/app/core/layout/navigation/navigation.component.html_17058_20895
<li> <a [href]="DISCORD" cdkMenuItem title="Angular Discord" target="_blank" rel="noopener"> <!-- Discord Icon --> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36" width="20" h...
{ "end_byte": 20895, "start_byte": 17058, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/navigation.component.html" }
angular/adev/src/app/core/layout/navigation/mini-menu.scss_0_1826
@use '@angular/docs/styles/media-queries' as mq; // Dark/Light mode switcher & social media icon buttons // ul .adev-mini-menu { padding: 0; color: var(--primary-contrast); background-color: var(--page-background); border: 1px solid var(--senary-contrast); border-radius: 0.25rem; z-index: var(--z-index-min...
{ "end_byte": 1826, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/layout/navigation/mini-menu.scss" }
angular/adev/src/app/core/constants/versions.ts_0_1474
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export const VERSIONS_CONFIG = { aDevVersionsLinkPattern: 'https://{{prefix}}{{version}}angular.dev', aioVersion...
{ "end_byte": 1474, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/constants/versions.ts" }
angular/adev/src/app/core/constants/links.ts_0_467
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export const GITHUB = 'https://github.com/angular/angular'; export const X = 'https://x.com/angular'; export const M...
{ "end_byte": 467, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/constants/links.ts" }
angular/adev/src/app/core/constants/keys.ts_0_343
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export const COMMAND = 'Command'; export const CONTROL = 'Control'; export const ESCAPE = 'Escape'; export const SEA...
{ "end_byte": 343, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/constants/keys.ts" }
angular/adev/src/app/core/constants/element-ids.ts_0_296
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export const PRIMARY_NAV_ID = 'primaryNav'; export const SECONDARY_NAV_ID = 'secondaryNav';
{ "end_byte": 296, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/constants/element-ids.ts" }
angular/adev/src/app/core/providers/current-version.ts_0_137
import {InjectionToken} from '@angular/core'; export const CURRENT_MAJOR_VERSION = new InjectionToken<number>('CURRENT_MAJOR_VERSION');
{ "end_byte": 137, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/providers/current-version.ts" }
angular/adev/src/app/core/enums/pages.ts_0_716
/*! * @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 */ // File contains the enums used across whole application. // The enum with the prefixes of the main routes export e...
{ "end_byte": 716, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/enums/pages.ts" }
angular/adev/src/app/core/services/example-content-loader.service.spec.ts_0_744
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {TestBed} from '@angular/core/testing'; import {ExampleContentLoader} from './example-content-loader.service...
{ "end_byte": 744, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/example-content-loader.service.spec.ts" }