_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular/adev/src/app/core/services/theme-manager.service.ts_0_3240 | /*!
* @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 {Injectable, PLATFORM_ID, inject, signal} from '... | {
"end_byte": 3240,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/theme-manager.service.ts"
} |
angular/adev/src/app/core/services/theme-manager.service.spec.ts_0_1879 | /*!
* @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 {ThemeManager} from './theme-manager.service';
import {LOCAL_... | {
"end_byte": 1879,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/theme-manager.service.spec.ts"
} |
angular/adev/src/app/core/services/example-content-loader.service.ts_0_532 | /*!
* @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, Type, inject} from '@angular/core';
import {PREVIEWS_COMPONENTS} from '@angular/docs';
@Injecta... | {
"end_byte": 532,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/example-content-loader.service.ts"
} |
angular/adev/src/app/core/services/header.service.spec.ts_0_863 | /*!
* @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 {HeaderService} from './header.service';
describe('HeaderSer... | {
"end_byte": 863,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/header.service.spec.ts"
} |
angular/adev/src/app/core/services/header.service.ts_0_983 | import {DOCUMENT} from '@angular/common';
import {Injectable, inject} from '@angular/core';
const ANGULAR_DEV = 'https://angular.dev';
/**
* Information about the deployment of this application.
*/
@Injectable({providedIn: 'root'})
export class HeaderService {
private readonly document = inject(DOCUMENT);
/**
... | {
"end_byte": 983,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/header.service.ts"
} |
angular/adev/src/app/core/services/content-loader.service.ts_0_1402 | /*!
* @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 {HttpClient} from '@angular/common/http';
import {Injectable, inject} from '@angular/core';
import {DocConten... | {
"end_byte": 1402,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/content-loader.service.ts"
} |
angular/adev/src/app/core/services/version-manager.service.ts_0_3821 | /*!
* @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, computed, inject, signal} from '@angular/core';
import {VERSIONS_CONFIG} from '../constants/vers... | {
"end_byte": 3821,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/version-manager.service.ts"
} |
angular/adev/src/app/core/services/a-dev-title-strategy.ts_0_1522 | /*!
* @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 {NavigationItem} from '@angular/docs';
import {Title} from '@angula... | {
"end_byte": 1522,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/a-dev-title-strategy.ts"
} |
angular/adev/src/app/core/services/inject-async.ts_0_2558 | /*!
* @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": 2558,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/inject-async.ts"
} |
angular/adev/src/app/core/services/version-manager.service.spec.ts_0_1820 | /*!
* @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 {INITIAL_ADEV_DOCS_VERSION, VersionManager} from './version-m... | {
"end_byte": 1820,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/version-manager.service.spec.ts"
} |
angular/adev/src/app/core/services/a-dev-title-strategy.spec.ts_0_2854 | /*!
* @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 {TITLE_SUFFIX, ADevTitleStrategy, DEFAULT_PAGE_TITLE} from '.... | {
"end_byte": 2854,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/a-dev-title-strategy.spec.ts"
} |
angular/adev/src/app/core/services/content-loader.service.spec.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
*/
import {TestBed} from '@angular/core/testing';
import {ContentLoader} from './content-loader.service';
import {Http... | {
"end_byte": 716,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/content-loader.service.spec.ts"
} |
angular/adev/src/app/core/services/errors-handling/error-handler.ts_0_1948 | /*!
* @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, isPlatformServer} from '@angular/common';
import {ErrorHandler, PLATFORM_ID, inject} from '@angula... | {
"end_byte": 1948,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/errors-handling/error-handler.ts"
} |
angular/adev/src/app/core/services/errors-handling/error-snack-bar.ts_0_1257 | /*!
* @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, inject} from '@angular/core';
import {MAT_SNACK_BAR_DATA, MatSna... | {
"end_byte": 1257,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/errors-handling/error-snack-bar.ts"
} |
angular/adev/src/app/core/services/analytics/analytics-format-error.ts_0_1597 | /*!
* @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
*/
/**
* Formats an `ErrorEvent` to a human-readable string that can
* be sent to Google Analytics.
*/
export functi... | {
"end_byte": 1597,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/analytics/analytics-format-error.ts"
} |
angular/adev/src/app/core/services/analytics/reporting-error-handler.ts_0_2057 | /*!
* @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 {ErrorHandler, Injectable, VERSION} from '@angular/core';
import {formatErrorForAnalytics} from './analytics-... | {
"end_byte": 2057,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/analytics/reporting-error-handler.ts"
} |
angular/adev/src/app/core/services/analytics/analytics.service.spec.ts_0_2750 | /*!
* @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 {Injector} from '@angular/core';
import {ENVIRONMENT, WINDOW, LOCAL_STORAGE} from '@angular/docs';
import {An... | {
"end_byte": 2750,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/analytics/analytics.service.spec.ts"
} |
angular/adev/src/app/core/services/analytics/analytics.service.ts_0_3678 | /*!
* @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 {inject, Injectable} from '@angular/core';
import {WINDOW, ENVIRONMENT, LOCAL_STORAGE, STORAGE_KEY, setCooki... | {
"end_byte": 3678,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/analytics/analytics.service.ts"
} |
angular/adev/src/app/core/services/analytics/reporting-error-handler.spec.ts_0_4284 | /*!
* @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 {ErrorHandler, Injector, VERSION} from '@angular/core';
import {ReportingErrorHandler} from './reporting-err... | {
"end_byte": 4284,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/core/services/analytics/reporting-error-handler.spec.ts"
} |
angular/adev/src/app/features/home/home.component.ts_0_4256 | /*!
* @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 {
AfterViewInit,
ChangeDetectionStrategy,
... | {
"end_byte": 4256,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.ts"
} |
angular/adev/src/app/features/home/home.component.html_0_854 | <div class="adev-home" #home>
<div class="adev-top">
<div class="adev-top-content">
<!-- Banner(s) can be edited here! -->
<a href="https://goo.gle/angular-v18" class="adev-banner" target="_blank">
<h1 tabindex="-1">Angular v18 is now available!</h1>
<p class="adev-banner-cta">Read abo... | {
"end_byte": 854,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.html"
} |
angular/adev/src/app/features/home/home.component.html_0_3154 | M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.603 64.311h-44.432Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.31... | {
"end_byte": 3154,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.html"
} |
angular/adev/src/app/features/home/home.component.html_3155_5294 | .045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.619 9.... | {
"end_byte": 5294,
"start_byte": 3155,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.html"
} |
angular/adev/src/app/features/home/home.component.html_0_3154 | M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.603 64.311h-44.432Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.31... | {
"end_byte": 3154,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.html"
} |
angular/adev/src/app/features/home/home.component.html_3155_4350 | 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.091 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-... | {
"end_byte": 4350,
"start_byte": 3155,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.html"
} |
angular/adev/src/app/features/home/home.component.html_9644_13334 | "
/>
</g>
<defs>
<radialGradient
id="wordmark_c"
cx="0"
cy="0"
r="1"
gradientTransform="rotate(118.122 171.182 60.81) scale(205.794)"
gradientUnits="userSpaceOnUse"
>
... | {
"end_byte": 13334,
"start_byte": 9644,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.html"
} |
angular/adev/src/app/features/home/home.component.scss_0_2504 | @use '@angular/docs/styles/media-queries' as mq;
:host {
width: 100%;
// While editor is loading, display an svg of the editor
.docs-dark-mode & {
.adev-editor-scroll-container img {
content: url('../../../assets/images/editor-dark-horizontal.svg');
@include mq.for-tablet-down {
content:... | {
"end_byte": 2504,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.scss"
} |
angular/adev/src/app/features/home/home.component.scss_2506_7894 | .adev-home {
img,
svg {
user-select: none;
}
h2,
p {
position: relative;
}
h2 {
font-size: 4vw;
font-weight: 600;
white-space: nowrap;
margin-top: 0;
margin-bottom: 0.5em;
@media screen and (max-width: 1000px) {
font-size: 2rem;
}
}
p {
font-weight: 40... | {
"end_byte": 7894,
"start_byte": 2506,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.scss"
} |
angular/adev/src/app/features/home/home-animation-constants.ts_0_1249 | /*!
* @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
*/
// Defines one breakpoint (in px) between mobile and desktop sizing.
export const BREAKPOINT = 1000;
// Defines max... | {
"end_byte": 1249,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home-animation-constants.ts"
} |
angular/adev/src/app/features/home/home.component.spec.ts_0_1381 | /*!
* @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 Home from './home.component';
// impo... | {
"end_byte": 1381,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/home.component.spec.ts"
} |
angular/adev/src/app/features/home/utils/math.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 function toRadians(degrees: number): number {
return degrees * (Math.PI / 180);
}
| {
"end_byte": 295,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/utils/math.ts"
} |
angular/adev/src/app/features/home/utils/ogl.ts_0_637 | /*!
* @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 {OGLRenderingContext, Texture, TextureLoader} from 'ogl';
/**
* Load a texture.
* @example
* const textur... | {
"end_byte": 637,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/utils/ogl.ts"
} |
angular/adev/src/app/features/home/components/canvas.ts_0_719 | /*!
* @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 {
Camera,
Color,
Mesh,
OGLRenderingContext,
RenderTarget,
Renderer,
Transform,
Triangle,
} fr... | {
"end_byte": 719,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/canvas.ts"
} |
angular/adev/src/app/features/home/components/canvas.ts_720_8925 | export class Canvas {
private renderer!: Renderer;
private gl!: OGLRenderingContext;
private gradientScene!: Transform;
private gradientCamera!: Camera;
private angularScene!: Transform;
private angularCamera!: Camera;
private linesScene!: Transform;
private linesCamera!: Camera;
private buildScene!: ... | {
"end_byte": 8925,
"start_byte": 720,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/canvas.ts"
} |
angular/adev/src/app/features/home/components/home-editor.component.ts_0_1408 | /*!
* @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,
ChangeDetectorRef,
Component,
EnvironmentInjector,
inject,
Input,
On... | {
"end_byte": 1408,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/home-editor.component.ts"
} |
angular/adev/src/app/features/home/components/programs/line-glyph-program.ts_0_1425 | /*!
* @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 {Color, OGLRenderingContext, Program, Texture} from 'ogl';
import LineGlyphShader from '../shaders/line-glyp... | {
"end_byte": 1425,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/programs/line-glyph-program.ts"
} |
angular/adev/src/app/features/home/components/programs/basic-program.ts_0_1004 | /*!
* @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 {OGLRenderingContext, Program, Texture} from 'ogl';
import BasicShader from '../shaders/basic-shader';
cons... | {
"end_byte": 1004,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/programs/basic-program.ts"
} |
angular/adev/src/app/features/home/components/programs/glyph-program.ts_0_1449 | /*!
* @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 {Color, OGLRenderingContext, Program, Texture} from 'ogl';
import GlyphShader from '../shaders/glyph-shader'... | {
"end_byte": 1449,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/programs/glyph-program.ts"
} |
angular/adev/src/app/features/home/components/programs/logo-program.ts_0_1013 | /*!
* @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 {Color, OGLRenderingContext, Program} from 'ogl';
import LogoShader from '../shaders/logo-shader';
const {v... | {
"end_byte": 1013,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/programs/logo-program.ts"
} |
angular/adev/src/app/features/home/components/programs/mask-program.ts_0_1212 | /*!
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {OGLRenderingContext, Program} from 'ogl';
import MaskShader from '../shaders/mask-shader';
const {vertex10... | {
"end_byte": 1212,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/programs/mask-program.ts"
} |
angular/adev/src/app/features/home/components/programs/gradient-program.ts_0_1202 | /*!
* @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 {Color, OGLRenderingContext, Program, Texture} from 'ogl';
import GradientShader from '../shaders/gradient-s... | {
"end_byte": 1202,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/programs/gradient-program.ts"
} |
angular/adev/src/app/features/home/components/shaders/basic-shader.ts_0_1098 | /*!
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
const vertex = /* glsl */ `
attribute vec3 position;
attribute vec2 uv;
uniform mat4 modelViewMatrix;
uniform mat4 ... | {
"end_byte": 1098,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/basic-shader.ts"
} |
angular/adev/src/app/features/home/components/shaders/line-glyph-shader.ts_0_2422 | /*!
* @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 msdf from './modules/msdf/msdf.glsl';
const vertex = /* glsl */ `
attribute vec3 position;
attribute vec2 uv... | {
"end_byte": 2422,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/line-glyph-shader.ts"
} |
angular/adev/src/app/features/home/components/shaders/logo-shader.ts_0_2727 | /*!
* @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 sdPolygon from './modules/sdf-primitives/sd-polygon.glsl';
const vertex = /* glsl */ `
attribute vec3 positi... | {
"end_byte": 2727,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/logo-shader.ts"
} |
angular/adev/src/app/features/home/components/shaders/mask-shader.ts_0_1151 | /*!
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
const vertex = /* glsl */ `
attribute vec3 position;
attribute vec2 uv;
varying vec2 vUv;
void main() {
vUv = uv... | {
"end_byte": 1151,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/mask-shader.ts"
} |
angular/adev/src/app/features/home/components/shaders/gradient-shader.ts_0_2503 | /*!
* @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 sineInOut from './modules/easing/sine-in-out.glsl';
const vertex = /* glsl */ `
attribute vec3 position;
att... | {
"end_byte": 2503,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/gradient-shader.ts"
} |
angular/adev/src/app/features/home/components/shaders/glyph-shader.ts_0_1255 | /*!
* @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 msdf from './modules/msdf/msdf.glsl';
const vertex = /* glsl */ `
attribute vec3 position;
attribute vec2 uv... | {
"end_byte": 1255,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/glyph-shader.ts"
} |
angular/adev/src/app/features/home/components/shaders/modules/easing/sine-in-out.glsl.ts_0_349 | /*!
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export default /* glsl */ `
#ifndef PI
#define PI 3.141592653589793
#endif
float sineInOut(float t) {
return -0.5... | {
"end_byte": 349,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/modules/easing/sine-in-out.glsl.ts"
} |
angular/adev/src/app/features/home/components/shaders/modules/sdf-primitives/sd-polygon.glsl.ts_0_750 | /*!
* @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 /* glsl */ `
#ifndef MAX_NUM_VERTICES
#define MAX_NUM_VERTICES 5
#endif
float sdPolygon(vec2 p, vec2... | {
"end_byte": 750,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/modules/sdf-primitives/sd-polygon.glsl.ts"
} |
angular/adev/src/app/features/home/components/shaders/modules/msdf/msdf.glsl.ts_0_469 | /*!
* @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 /* glsl */ `
float msdf(sampler2D image, vec2 uv) {
vec3 tex = texture2D(image, uv).rgb;
float si... | {
"end_byte": 469,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/shaders/modules/msdf/msdf.glsl.ts"
} |
angular/adev/src/app/features/home/components/views/build-text.ts_0_3360 | /*!
* @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 {Color, Mesh, OGLRenderingContext, Plane} from 'ogl';
import {View} from './view';
import {GlyphProgram} fro... | {
"end_byte": 3360,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/build-text.ts"
} |
angular/adev/src/app/features/home/components/views/line-object.ts_0_1561 | /*!
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Mesh, Vec3} from 'ogl';
import {View} from './view';
import {toRadians} from '../../utils/math';
/**
* A... | {
"end_byte": 1561,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/line-object.ts"
} |
angular/adev/src/app/features/home/components/views/build-view.ts_0_2125 | /*!
* @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 {OGLRenderingContext, Vec2} from 'ogl';
import {View} from './view';
import {BuildText} from './build-text';... | {
"end_byte": 2125,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/build-view.ts"
} |
angular/adev/src/app/features/home/components/views/lines-view.ts_0_1399 | /*!
* @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 {isMobile} from '@angular/docs';
import type {OGLRenderingContext} from 'ogl';
import {View} from './view';
... | {
"end_byte": 1399,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/lines-view.ts"
} |
angular/adev/src/app/features/home/components/views/gradient-view.ts_0_2533 | /*!
* @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 {OGLRenderingContext, Vec2} from 'ogl';
import {View} from './view';
import {Gradient} from './gradient';
i... | {
"end_byte": 2533,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/gradient-view.ts"
} |
angular/adev/src/app/features/home/components/views/view.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 {Transform} from 'ogl';
/**
* An OGL `Transform` used as a base class for implementing views.
*/
export cl... | {
"end_byte": 1412,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/view.ts"
} |
angular/adev/src/app/features/home/components/views/lines.ts_0_4079 | /*!
* @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 {InstancedMesh, OGLRenderingContext, Plane, Transform} from 'ogl';
import {View} from './view';
import {Line... | {
"end_byte": 4079,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/lines.ts"
} |
angular/adev/src/app/features/home/components/views/angular-glyph.ts_0_2609 | /*!
* @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 {Color, Mesh, OGLRenderingContext, Plane, Texture, Vec2} from 'ogl';
import {View} from './view';
import {Gl... | {
"end_byte": 2609,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/angular-glyph.ts"
} |
angular/adev/src/app/features/home/components/views/gradient.ts_0_3700 | /*!
* @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 {Mesh, OGLRenderingContext, Plane} from 'ogl';
import {View} from './view';
import {GradientProgram} from '.... | {
"end_byte": 3700,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/gradient.ts"
} |
angular/adev/src/app/features/home/components/views/angular-view.ts_0_1289 | /*!
* @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 {OGLRenderingContext} from 'ogl';
import {View} from './view';
import {Angular} from './angular';
/**
... | {
"end_byte": 1289,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/angular-view.ts"
} |
angular/adev/src/app/features/home/components/views/angular-logo.ts_0_2646 | /*!
* @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 {Color, Mesh, OGLRenderingContext, Plane, Vec2} from 'ogl';
import {View} from './view';
import {LogoProgram... | {
"end_byte": 2646,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/angular-logo.ts"
} |
angular/adev/src/app/features/home/components/views/angular.ts_0_3124 | /*!
* @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 {Color, OGLRenderingContext, Vec2} from 'ogl';
import {AngularGlyph} from './angular-glyph';
import {Angular... | {
"end_byte": 3124,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/components/views/angular.ts"
} |
angular/adev/src/app/features/home/services/home-animation.service.ts_0_1503 | /*!
* @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 {DestroyRef, Injectable, inject} from '@angular/core';
import {take... | {
"end_byte": 1503,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/services/home-animation.service.ts"
} |
angular/adev/src/app/features/home/services/home-animation.service.ts_1504_9385 | @Injectable()
export class HomeAnimation {
private readonly destroyRef = inject(DestroyRef);
private readonly document = inject(DOCUMENT);
private readonly window = inject(WINDOW);
private readonly themeManager = inject(ThemeManager);
private scale = 1;
private progress = 0;
private logoMovement = 0;
p... | {
"end_byte": 9385,
"start_byte": 1504,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/services/home-animation.service.ts"
} |
angular/adev/src/app/features/home/services/home-animation.service.ts_9388_15010 | private setLovedByMillionsAnimation(): gsap.core.Animation {
const linesTextAnimation = gsap.timeline({
scrollTrigger: {
trigger: SCALE_DIV,
start: 'bottom bottom',
end: () => `bottom+=${this.document.body.clientHeight * 2} bottom`,
scrub: 0.5,
},
});
linesTextAn... | {
"end_byte": 15010,
"start_byte": 9388,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/home/services/home-animation.service.ts"
} |
angular/adev/src/app/features/tutorial/tutorial.component.ts_0_8784 | /*!
* @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 {isPlatformBrowser, NgComponentOutlet, NgTemplateOutlet} from '@angular/common';
import {
AfterViewInit,
... | {
"end_byte": 8784,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/tutorial.component.ts"
} |
angular/adev/src/app/features/tutorial/tutorial.component.spec.ts_0_6210 | /*!
* @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 {DOCS_VIEWER_SELECTOR, DocViewer, WINDOW} from '@angular/docs';
import {Component, Input, signal} from '@ang... | {
"end_byte": 6210,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/tutorial.component.spec.ts"
} |
angular/adev/src/app/features/tutorial/tutorials-route-reuse-strategy.ts_0_1306 | /*!
* @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 {ActivatedRouteSnapshot, BaseRouteReuseStrategy} from '@angular/router';
// Match tutorial pages, apart of /... | {
"end_byte": 1306,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/tutorials-route-reuse-strategy.ts"
} |
angular/adev/src/app/features/tutorial/tutorial-navigation.scss_0_3247 | @use '@angular/docs/styles/media-queries' as mq;
// horizontal tutorial nav bar
.adev-tutorial-nav-container {
position: sticky;
top: 0;
@include mq.for-tablet-landscape-down {
top: 60px;
}
@include mq.for-phone-only {
top: 55px;
}
width: 100%;
background-color: var(--page-background);
paddi... | {
"end_byte": 3247,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/tutorial-navigation.scss"
} |
angular/adev/src/app/features/tutorial/tutorial.component.html_0_4809 | <div class="adev-page-content" [class.adev-nav-open]="showNavigationDropdown()">
<ng-container *ngTemplateOutlet="tutorialNav" />
@if (shouldRenderContent()) {
<div
#content
class="docs-tutorial-content"
[class.adev-nav-open]="showNavigationDropdown()"
>
<!-- Tutorial Nav... | {
"end_byte": 4809,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/tutorial.component.html"
} |
angular/adev/src/app/features/tutorial/tutorial.component.scss_0_3141 | @use '@angular/docs/styles/media-queries' as mq;
$resizer-width: 0.0625rem;
$column-width: calc(50% - #{$resizer-width} - var(--layout-padding));
.adev-page-content {
display: flex;
align-items: flex-start;
flex-direction: row;
position: relative;
padding: 0 var(--layout-padding) var(--layout-padding);
ma... | {
"end_byte": 3141,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/tutorial.component.scss"
} |
angular/adev/src/app/features/tutorial/split-resizer-handler.service.ts_0_6662 | /*!
* @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 {FocusMonitor} from '@angular/cdk/a11y';
import {DOCUMENT} from '@angular/common';
import {DestroyRef, Elemen... | {
"end_byte": 6662,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/split-resizer-handler.service.ts"
} |
angular/adev/src/app/features/tutorial/tutorial-navigation-list.scss_0_1665 | @use '@angular/docs/styles/media-queries' as mq;
.adev-tutorial-nav-list-dropdown {
background-color: var(--page-background);
border: 1px solid var(--senary-contrast);
border-radius: 0.25rem;
z-index: var(--z-index-nav);
margin-top: 1rem;
width: 100%;
box-shadow: 10px 4px 40px 0 rgba(0, 0, 0, 0.05);
di... | {
"end_byte": 1665,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/tutorial/tutorial-navigation-list.scss"
} |
angular/adev/src/app/features/update/update.component.scss_0_1880 | .page {
padding: var(--layout-padding);
max-width: var(--page-width);
container: update-guide-page / inline-size;
}
h3,
h4 {
margin-block-start: 2em;
}
.wizard {
padding-inline: 1rem;
.show-button {
display: block;
margin-block-start: 2rem;
}
}
.adev-version-selector {
display: flex;
gap: ... | {
"end_byte": 1880,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/update.component.scss"
} |
angular/adev/src/app/features/update/update.component.html_0_6159 | <div class="page docs-viewer">
<h1 tabindex="-1">Update Guide</h1>
<div class="wizard">
<div>
<h2>Select the options that match your update</h2>
<h3>Angular versions</h3>
<div class="adev-version-selector">
<span class="adev-template-select">
From v.
<button [cdk... | {
"end_byte": 6159,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/update.component.html"
} |
angular/adev/src/app/features/update/recommendations.ts_0_352 | export enum ApplicationComplexity {
Basic = 1,
Medium = 2,
Advanced = 3,
}
export interface Step {
step: string;
action: string;
possibleIn: number;
necessaryAsOf: number;
level: ApplicationComplexity;
angularCLI?: boolean;
ngUpgrade?: boolean;
pwa?: boolean;
material?: boolean;
renderedStep?... | {
"end_byte": 352,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_354_7669 | export const RECOMMENDATIONS: Step[] = [
{
possibleIn: 200,
necessaryAsOf: 400,
level: ApplicationComplexity.Basic,
step: 'Extends OnInit',
action:
"Ensure you don't use `extends OnInit`, or use `extends` with any lifecycle event. Instead use `implements <lifecycle event>.`",
},
{
po... | {
"end_byte": 7669,
"start_byte": 354,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_7672_15014 |
possibleIn: 600,
necessaryAsOf: 600,
level: ApplicationComplexity.Basic,
windows: false,
step: 'Update to CLI v6',
action:
'Update your Angular CLI, and migrate the configuration to the <a href="https://github.com/angular/angular-cli/wiki/angular-workspace" target="_blank">new angular.jso... | {
"end_byte": 15014,
"start_byte": 7672,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_15017_22555 |
possibleIn: 700,
necessaryAsOf: 700,
level: ApplicationComplexity.Basic,
windows: false,
material: true,
step: 'v7 material update',
action:
'Update Angular Material to v7 by running `NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@7 update @angular/material@7` in your terminal. You shoul... | {
"end_byte": 22555,
"start_byte": 15017,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_22558_29862 |
possibleIn: 900,
necessaryAsOf: 900,
level: ApplicationComplexity.Basic,
step: 'node 10.13',
action:
'Make sure you are using <a href="http://www.hostingadvice.com/how-to/update-node-js-latest-version/" target="_blank">Node 10.13 or later</a>.',
},
{
possibleIn: 900,
necessaryAsOf... | {
"end_byte": 29862,
"start_byte": 22558,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_29865_37335 |
possibleIn: 900,
necessaryAsOf: 1000,
level: ApplicationComplexity.Medium,
step: 'debug',
action:
'With Angular 9 Ivy is now the default rendering engine, for any compatibility problems that might arise, read the [Ivy compatibility guide](https://v9.angular.io/guide/ivy-compatibility).',
},... | {
"end_byte": 37335,
"start_byte": 29865,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_37338_45322 |
possibleIn: 1000,
necessaryAsOf: 1000,
level: ApplicationComplexity.Medium,
step: 'expression-changed-after-checked-new',
action:
'You may see `ExpressionChangedAfterItHasBeenChecked` errors that were not detected before when using the `async` pipe. The error could previously have gone undete... | {
"end_byte": 45322,
"start_byte": 37338,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_45325_52931 |
possibleIn: 1100,
necessaryAsOf: 1100,
level: ApplicationComplexity.Advanced,
step: 'v11 slice pipe typing',
action:
'The `slice` pipe now returns null for the undefined input value, which is consistent with the behavior of most pipes.',
},
{
possibleIn: 1100,
necessaryAsOf: 1100,... | {
"end_byte": 52931,
"start_byte": 45325,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_52934_60217 |
possibleIn: 1200,
necessaryAsOf: 1200,
level: ApplicationComplexity.Medium,
step: 'v12 deprecates `emitDistinctChangesOnly`',
action:
'If you are using `emitDistinctChangesOnly` to configure `@ContentChildren` and `@ViewChildren` queries, you may need to update its value to `false` to align w... | {
"end_byte": 60217,
"start_byte": 52934,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_60220_67517 |
possibleIn: 1300,
necessaryAsOf: 1300,
level: ApplicationComplexity.Advanced,
step: 'v13 spy location',
action:
'`SpyLocation` no longer emits the `popstate` event when `location.go` is called. In addition, `simulateHashChange` now triggers both `haschange` and `popstate`. Tests that rely on ... | {
"end_byte": 67517,
"start_byte": 60220,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_67520_74978 |
possibleIn: 1400,
necessaryAsOf: 1400,
level: ApplicationComplexity.Advanced,
step: 'v14 router scheduling',
action:
'The router does no longer schedule redirect navigation within a `setTimeout`. Make sure your tests do not rely on this behavior.',
},
{
possibleIn: 1400,
necessary... | {
"end_byte": 74978,
"start_byte": 67520,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_74981_82410 |
possibleIn: 1500,
necessaryAsOf: 1500,
level: ApplicationComplexity.Medium,
step: 'v15 iframe',
action:
"Existing `<iframe>` instances might have security-sensitive attributes applied to them as an attribute or property binding. These security-sensitive attributes can occur in a template or i... | {
"end_byte": 82410,
"start_byte": 74981,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_82413_89911 |
possibleIn: 1600,
necessaryAsOf: 1600,
level: ApplicationComplexity.Medium,
step: 'v16 withServerTransition',
action:
"If you're running multiple Angular apps on the same page and you're using `BrowserModule.withServerTransition({ appId: 'serverApp' })` make sure you set the `APP_ID` instead ... | {
"end_byte": 89911,
"start_byte": 82413,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_89914_97539 |
possibleIn: 1700,
necessaryAsOf: 1700,
level: ApplicationComplexity.Advanced,
step: 'v17 ngDoCheck dynamic components',
action:
'For dynamically instantiated components we now execute `ngDoCheck` during change detection if the component is marked as dirty. You may need to update your tests or... | {
"end_byte": 97539,
"start_byte": 89914,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/recommendations.ts_97542_101136 | possibleIn: 1800,
necessaryAsOf: 1800,
level: ApplicationComplexity.Advanced,
step: '18.0.0: Update Node.js URL parsing in `ServerPlatformLocation`',
action:
'In `@angular/platform-server` now `pathname` is always suffixed with `/` and the default ports for http: and https: respectively are 80 ... | {
"end_byte": 101136,
"start_byte": 97542,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts"
} |
angular/adev/src/app/features/update/update.component.ts_0_7235 | import {ChangeDetectionStrategy, Component, HostListener, inject} from '@angular/core';
import {Step, RECOMMENDATIONS} from './recommendations';
import {Clipboard} from '@angular/cdk/clipboard';
import {CdkMenuModule} from '@angular/cdk/menu';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatInp... | {
"end_byte": 7235,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/update.component.ts"
} |
angular/adev/src/app/features/update/update.component.ts_7239_9753 | private async renderPreV6Instructions(): Promise<void> {
let upgradeStep: Step;
const additionalDeps = this.getAdditionalDependencies(this.to.number);
const angularVersion = this.getAngularVersion(this.to.number);
const angularPackages = [
'animations',
'common',
'compiler',
'com... | {
"end_byte": 9753,
"start_byte": 7239,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/update/update.component.ts"
} |
angular/adev/src/app/features/playground/playground.component.ts_0_2881 | /*!
* @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 {isPlatformBrowser, NgComponentOutlet} from '@angular/common';
import {
AfterViewInit,
ChangeDetectionStr... | {
"end_byte": 2881,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/playground/playground.component.ts"
} |
angular/adev/src/app/features/playground/playground.component.html_0_784 | <div class="adev-playground-header">
<header>
<h1 tabindex="-1">Angular Playground</h1>
</header>
<div class="adev-template-select">
<label for="playgroundTemplate">Select a template</label>
<button [cdkMenuTriggerFor]="templatesMenu">
<span>{{ selectedTemplate.label }}</span>
<docs-icon>e... | {
"end_byte": 784,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/playground/playground.component.html"
} |
angular/adev/src/app/features/playground/playground.component.scss_0_1818 | :host {
display: block;
padding: var(--layout-padding);
padding-block-end: 100px;
height: 100vh;
width: 100%;
box-sizing: border-box;
header {
display: flex;
gap: 1rem;
h1 {
margin-block: 0;
}
}
}
.adev-playground-header {
display: flex;
justify-content: space-between;
ali... | {
"end_byte": 1818,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/playground/playground.component.scss"
} |
angular/adev/src/app/features/playground/playground.component.spec.ts_0_1669 | /*!
* @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 {ComponentFixture, TestBed} from '@angular/core/testing';
import {
... | {
"end_byte": 1669,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/playground/playground.component.spec.ts"
} |
angular/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.html_0_339 | <div class="adev-header-and-tabs adev-cli-content docs-scroll-track-transparent">
<docs-viewer [docContent]="mainContentInnerHtml()" />
</div>
<docs-viewer
class="adev-cli-members-container"
[docContent]="cardsInnerHtml()"
(contentLoaded)="contentLoaded()"
/>
<div id="jump-msg" class="cdk-visually-hidden">Jum... | {
"end_byte": 339,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.html"
} |
angular/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.scss_0_2602 | @use '@angular/docs/styles/media-queries' as mq;
// Note: cli-reference-details-page is receiving page styles
// from api-reference-details-page.component.scss
// stylelint-disable-next-line
::ng-deep {
.adev-ref-content {
display: flex;
padding-block: 1rem;
gap: 1rem;
&:not(:last-of-type) {
bo... | {
"end_byte": 2602,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.scss"
} |
angular/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.ts_0_2920 | /*!
* @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,
DestroyRef,
OnInit,
... | {
"end_byte": 2920,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.ts"
} |
angular/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.spec.ts_0_2120 | /*!
* @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 CliReferenceDetailsPage from './cli-reference-details-page.co... | {
"end_byte": 2120,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/adev/src/app/features/references/cli-reference-details-page/cli-reference-details-page.component.spec.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.