_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular/packages/core/test/strict_types/BUILD.bazel_0_538
package(default_visibility = ["//visibility:private"]) load("//tools:defaults.bzl", "jasmine_node_test", "ts_config", "ts_library") ts_config( name = "tsconfig", src = "tsconfig.json", deps = [ "//packages:tsconfig-test", ], ) ts_library( name = "strict_types_lib", testonly = True, ...
{ "end_byte": 538, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/strict_types/BUILD.bazel" }
angular/packages/core/test/bundling/README.md_0_381
# Bundle ## `js_expected_symbol_test` This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files; to do so use these scripts: ``` yarn run...
{ "end_byte": 381, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/README.md" }
angular/packages/core/test/bundling/core_all/BUILD.bazel_0_748
load("//tools:defaults.bzl", "app_bundle", "ts_library") load("@npm//@angular/build-tooling/bazel/map-size-tracking:index.bzl", "js_mapping_size_test") package(default_visibility = ["//visibility:public"]) ts_library( name = "core_all", srcs = ["index.ts"], tags = [], deps = [ "//packages/core...
{ "end_byte": 748, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/core_all/BUILD.bazel" }
angular/packages/core/test/bundling/core_all/index.ts_0_390
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import * as core from '@angular/core'; // We need to something with the "core" import in order to ensure // that al...
{ "end_byte": 390, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/core_all/index.ts" }
angular/packages/core/test/bundling/hello_world_i18n/index.html_0_1222
<!DOCTYPE html> <html> <head> <title>Angular Hello World Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <hello-world></hello-world> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug versi...
{ "end_byte": 1222, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world_i18n/index.html" }
angular/packages/core/test/bundling/hello_world_i18n/translations.ts_0_682
/** * @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 */ // Make the `$localize()` global function available to the compiled templates, and the direct calls // below. This wo...
{ "end_byte": 682, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world_i18n/translations.ts" }
angular/packages/core/test/bundling/hello_world_i18n/BUILD.bazel_0_748
load("//tools:defaults.bzl", "app_bundle", "ng_module") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "hello_world_i18n", srcs = [ "index.ts", "translations.ts", ], deps = [ "//packages/core", ...
{ "end_byte": 748, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world_i18n/BUILD.bazel" }
angular/packages/core/test/bundling/hello_world_i18n/index.ts_0_708
/** * @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 './translations'; import {Component, NgModule} from '@angular/core'; import {BrowserModule, platformBrowser} ...
{ "end_byte": 708, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world_i18n/index.ts" }
angular/packages/core/test/bundling/todo_i18n/todo.css_0_5839
html, body { margin: 0; padding: 0; } button { margin: 0; padding: 0; border: 0; background: none; font-size: 100%; vertical-align: baseline; font-family: inherit; font-weight: inherit; color: inherit; -webkit-appearance: none; appearance: none; } body { font: 14px 'Helvetica Neue', Helvetica, Arial, sa...
{ "end_byte": 5839, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/todo.css" }
angular/packages/core/test/bundling/todo_i18n/todo.css_5840_6227
dia screen and (-webkit-min-device-pixel-ratio:0) { .toggle-all, .todo-list li .toggle { background: none; } .todo-list li .toggle { height: 40px; } .toggle-all { -webkit-transform: rotate(90deg); transform: rotate(90deg); -webkit-appearance: none; appearance: none; } } @media (max-width: 430px) {...
{ "end_byte": 6227, "start_byte": 5840, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/todo.css" }
angular/packages/core/test/bundling/todo_i18n/index.html_0_1343
<!DOCTYPE html> <html> <head> <title>Angular Todo Example</title> <link rel="stylesheet" href="base.css"> <link rel="stylesheet" href="todo.css"> <style> .done { text-decoration: line-through; } </style> </head> <body> <!-- The Angular application will be bootstrapped into this element. -->...
{ "end_byte": 1343, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/index.html" }
angular/packages/core/test/bundling/todo_i18n/OUTSTANDING_WORK.md_0_1267
# Outstanding on the `Todo` app ## `Todo` app - [X] Clicking archive removes todo item. - [X] Update `Todo` app to match http://todomvc.com/. - [ ] Make it work with `[(ngModel)]`. - [ ] Make it work with `(keyup.Enter)`. ## Compiler - [X] Remove ` tslib_1.__decorate([core_1.Input(), tslib_1.__metadata("design:type",...
{ "end_byte": 1267, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/OUTSTANDING_WORK.md" }
angular/packages/core/test/bundling/todo_i18n/translations.ts_0_1589
/** * @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 */ // Make the `$localize()` global function available to the compiled templates, and the direct calls // below. This wo...
{ "end_byte": 1589, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/translations.ts" }
angular/packages/core/test/bundling/todo_i18n/BUILD.bazel_0_1326
load("//tools:defaults.bzl", "app_bundle", "http_server", "jasmine_node_test", "ng_module", "ts_library") package(default_visibility = ["//visibility:public"]) ng_module( name = "todo_i18n", srcs = [ "index.ts", "translations.ts", ], deps = [ "//packages/core", "//packa...
{ "end_byte": 1326, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/BUILD.bazel" }
angular/packages/core/test/bundling/todo_i18n/index.ts_0_5758
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ChangeDetectorRef, Component, Injectable, NgModule, ViewEncapsulation} from '@angular/core'; import {loadTra...
{ "end_byte": 5758, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/index.ts" }
angular/packages/core/test/bundling/todo_i18n/todo_e2e_spec.ts_0_1638
/** * @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 '@angular/localize/init'; import '@angular/compiler'; import {clearTranslations} from '@angular/localize'; im...
{ "end_byte": 1638, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/todo_e2e_spec.ts" }
angular/packages/core/test/bundling/todo_i18n/base.css_0_1817
hr { margin: 20px 0; border: 0; border-top: 1px dashed #c5c5c5; border-bottom: 1px dashed #f7f7f7; } .learn a { font-weight: normal; text-decoration: none; color: #b83f45; } .learn a:hover { text-decoration: underline; color: #787e7e; } .learn h3, .learn h4, .learn h5 { margin: 10px 0; font-weight: 500; ...
{ "end_byte": 1817, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo_i18n/base.css" }
angular/packages/core/test/bundling/hello_world/index.html_0_1228
<!DOCTYPE html> <html> <head> <title>Angular Hello World Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <hello-world></hello-world> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug versi...
{ "end_byte": 1228, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world/index.html" }
angular/packages/core/test/bundling/hello_world/treeshaking_spec.ts_0_941
/** * @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 '@angular/compiler'; import {runfiles} from '@bazel/runfiles'; import * as fs from 'fs'; import * as path fr...
{ "end_byte": 941, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world/treeshaking_spec.ts" }
angular/packages/core/test/bundling/hello_world/BUILD.bazel_0_1355
load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "hello_world", srcs = ["in...
{ "end_byte": 1355, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world/BUILD.bazel" }
angular/packages/core/test/bundling/hello_world/index.ts_0_579
/** * @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, NgModule} from '@angular/core'; import {platformBrowser} from '@angular/platform-browser'; @Compo...
{ "end_byte": 579, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hello_world/index.ts" }
angular/packages/core/test/bundling/hydration/index.html_0_1228
<!DOCTYPE html> <html> <head> <title>Angular Hello World Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <hello-world></hello-world> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug versi...
{ "end_byte": 1228, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hydration/index.html" }
angular/packages/core/test/bundling/hydration/treeshaking_spec.ts_0_1057
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import '@angular/compiler'; import {runfiles} from '@bazel/runfiles'; import * as fs from 'fs'; import * as path fr...
{ "end_byte": 1057, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hydration/treeshaking_spec.ts" }
angular/packages/core/test/bundling/hydration/BUILD.bazel_0_1358
load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "hydration", srcs = ["inde...
{ "end_byte": 1358, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hydration/BUILD.bazel" }
angular/packages/core/test/bundling/hydration/index.ts_0_521
/** * @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 {bootstrapApplication, provideClientHydration} from '@angular/platfo...
{ "end_byte": 521, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/hydration/index.ts" }
angular/packages/core/test/bundling/defer/index.html_0_1208
<!DOCTYPE html> <html> <head> <title>Defer Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <app-root></app-root> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug version of the script. ...
{ "end_byte": 1208, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/defer/index.html" }
angular/packages/core/test/bundling/defer/defer.component.ts_0_393
/** * @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'; @Component({ standalone: true, selector: 'defer-cmp', template: ` ...
{ "end_byte": 393, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/defer/defer.component.ts" }
angular/packages/core/test/bundling/defer/treeshaking_spec.ts_0_1053
/** * @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 '@angular/compiler'; import {runfiles} from '@bazel/runfiles'; import * as fs from 'fs'; import * as path fr...
{ "end_byte": 1053, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/defer/treeshaking_spec.ts" }
angular/packages/core/test/bundling/defer/BUILD.bazel_0_1394
load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "defer", srcs = [ ...
{ "end_byte": 1394, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/defer/BUILD.bazel" }
angular/packages/core/test/bundling/defer/index.ts_0_737
/** * @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 {bootstrapApplication} from '@angular/platform-browser'; import {De...
{ "end_byte": 737, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/defer/index.ts" }
angular/packages/core/test/bundling/standalone_bootstrap/index.html_0_1228
<!DOCTYPE html> <html> <head> <title>Angular Hello World Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <hello-world></hello-world> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug versi...
{ "end_byte": 1228, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/standalone_bootstrap/index.html" }
angular/packages/core/test/bundling/standalone_bootstrap/treeshaking_spec.ts_0_1068
/** * @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 '@angular/compiler'; import {runfiles} from '@bazel/runfiles'; import * as fs from 'fs'; import * as path fr...
{ "end_byte": 1068, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/standalone_bootstrap/treeshaking_spec.ts" }
angular/packages/core/test/bundling/standalone_bootstrap/BUILD.bazel_0_1379
load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "standalone_bootstrap", sr...
{ "end_byte": 1379, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/standalone_bootstrap/BUILD.bazel" }
angular/packages/core/test/bundling/standalone_bootstrap/index.ts_0_456
/** * @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 {bootstrapApplication} from '@angular/platform-browser'; @Component...
{ "end_byte": 456, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/standalone_bootstrap/index.ts" }
angular/packages/core/test/bundling/animation_world/animation_world.css_0_1104
html, body { padding:0; margin:0; font-family: Verdana; } animation-world { display:block; margin: 0 auto; max-width:1000px; border:2px solid black; } animation-world nav { padding:1em; border-bottom:2px solid black; background:#eee; } animation-world .list { display:grid; grid-template-colum...
{ "end_byte": 1104, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/animation_world/animation_world.css" }
angular/packages/core/test/bundling/animation_world/index.html_0_1411
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="base.css" /> <link rel="stylesheet" href="animation_world.css" /> <title>Angular Hello World Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <animation-world></animation-world> ...
{ "end_byte": 1411, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/animation_world/index.html" }
angular/packages/core/test/bundling/animation_world/BUILD.bazel_0_653
load("//tools:defaults.bzl", "app_bundle", "http_server", "ng_module") package(default_visibility = ["//visibility:public"]) ng_module( name = "animation_world", srcs = ["index.ts"], deps = [ "//packages/core", "//packages/platform-browser", ], ) app_bundle( name = "bundle", e...
{ "end_byte": 653, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/animation_world/BUILD.bazel" }
angular/packages/core/test/bundling/animation_world/index.ts_0_3767
/** * @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 { ApplicationRef, ChangeDetectorRef, Component, Directive, ElementRef, HostBinding, HostListene...
{ "end_byte": 3767, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/animation_world/index.ts" }
angular/packages/core/test/bundling/animation_world/base.css_0_1877
hr { margin: 20px 0; border: 0; border-top: 1px dashed #c5c5c5; border-bottom: 1px dashed #f7f7f7; } .learn a { font-weight: normal; text-decoration: none; color: #b83f45; } .learn a:hover { text-decoration: underline; color: #787e7e; } .learn h3, .learn h4, .learn h5 { margin: 10px 0; font-weight: 500; ...
{ "end_byte": 1877, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/animation_world/base.css" }
angular/packages/core/test/bundling/forms_reactive/index.html_0_1226
<!DOCTYPE html> <html> <head> <title>Angular Reactive Forms Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <app-root></app-root> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug version...
{ "end_byte": 1226, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_reactive/index.html" }
angular/packages/core/test/bundling/forms_reactive/forms_e2e_spec.ts_0_1804
/** * @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 '@angular/compiler'; import {withBody} from '@angular/private/testing'; import * as path from 'path'; const...
{ "end_byte": 1804, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_reactive/forms_e2e_spec.ts" }
angular/packages/core/test/bundling/forms_reactive/treeshaking_spec.ts_0_1062
/** * @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 '@angular/compiler'; import {runfiles} from '@bazel/runfiles'; import * as fs from 'fs'; import * as path fr...
{ "end_byte": 1062, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_reactive/treeshaking_spec.ts" }
angular/packages/core/test/bundling/forms_reactive/BUILD.bazel_0_1451
load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "forms_reactive", srcs = [...
{ "end_byte": 1451, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_reactive/BUILD.bazel" }
angular/packages/core/test/bundling/forms_reactive/index.ts_0_2647
/** * @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, NgModule} from '@angular/core'; import { FormArray, FormBuilder, FormControl, FormGroup, ...
{ "end_byte": 2647, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_reactive/index.ts" }
angular/packages/core/test/bundling/todo/todo.css_0_6124
html, body { margin: 0; padding: 0; } button { margin: 0; padding: 0; border: 0; background: none; font-size: 100%; vertical-align: baseline; font-family: inherit; font-weight: inherit; color: inherit; -webkit-appearance: none; appearance: none; } body { font: 14px 'Helvetica Neue', Helvetica, Arial, sa...
{ "end_byte": 6124, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo/todo.css" }
angular/packages/core/test/bundling/todo/index.html_0_1494
<!DOCTYPE html> <html> <head> <title>Angular Todo Example</title> <link rel="stylesheet" href="base.css" /> <link rel="stylesheet" href="todo.css" /> <style> .done { text-decoration: line-through; } </style> </head> <body> <!-- The Angular application will be bootstra...
{ "end_byte": 1494, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo/index.html" }
angular/packages/core/test/bundling/todo/BUILD.bazel_0_1592
load("//tools:defaults.bzl", "app_bundle", "http_server", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") package(default_visibility = ["//visibility:public"]) ng_module( name = "todo", srcs = ["index.ts"], deps = [ "//packages/...
{ "end_byte": 1592, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo/BUILD.bazel" }
angular/packages/core/test/bundling/todo/index.ts_0_5324
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {CommonModule} from '@angular/common'; import {Component, Injectable, NgModule} from '@angular/core'; import ...
{ "end_byte": 5324, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo/index.ts" }
angular/packages/core/test/bundling/todo/todo_e2e_spec.ts_0_1703
/** * @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 '@angular/compiler'; import {withBody} from '@angular/private/testing'; import * as path from 'path'; const...
{ "end_byte": 1703, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo/todo_e2e_spec.ts" }
angular/packages/core/test/bundling/todo/base.css_0_1817
hr { margin: 20px 0; border: 0; border-top: 1px dashed #c5c5c5; border-bottom: 1px dashed #f7f7f7; } .learn a { font-weight: normal; text-decoration: none; color: #b83f45; } .learn a:hover { text-decoration: underline; color: #787e7e; } .learn h3, .learn h4, .learn h5 { margin: 10px 0; font-weight: 500; ...
{ "end_byte": 1817, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/todo/base.css" }
angular/packages/core/test/bundling/image-directive/index.html_0_349
<!DOCTYPE html> <html> <head> <title>Image Directive Example</title> <base href="/"> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <app-root></app-root> <script src="angular/packages/zone.js/bundles/zone.umd.js"></script> <script src="bundle.js"...
{ "end_byte": 349, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/index.html" }
angular/packages/core/test/bundling/image-directive/README.md_0_475
* NgOptimizedImage directive testing This folder contains a simple application that can be used as a playground for the `NgOptimizedImage` directive testing. You can run the following command to start the dev server: ``` yarn ibazel run packages/core/test/bundling/image-directive:devserver ``` There is also a set of...
{ "end_byte": 475, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/README.md" }
angular/packages/core/test/bundling/image-directive/BUILD.bazel_0_2157
load("//tools:defaults.bzl", "esbuild", "http_server", "ng_module", "protractor_web_test_suite", "ts_library") package(default_visibility = ["//visibility:public"]) ng_module( name = "image-directive", srcs = [ "e2e/basic/basic.ts", "e2e/fill-mode/fill-mode.ts", "e2e/image-distortion/i...
{ "end_byte": 2157, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/BUILD.bazel" }
angular/packages/core/test/bundling/image-directive/index.ts_0_2777
/** * @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, importProvidersFrom} from '@angular/core'; import {bootstrapApplication, provideProtractorTesting...
{ "end_byte": 2777, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/index.ts" }
angular/packages/core/test/bundling/image-directive/playground.ts_0_1099
/** * @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 {NgOptimizedImage, provideImgixLoader} from '@angular/common'; import {Component} from '@angular/core'; @Com...
{ "end_byte": 1099, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/playground.ts" }
angular/packages/core/test/bundling/image-directive/e2e/browser-logs-util.ts_0_1139
/** * @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 */ /* tslint:disable:no-console */ import {browser} from 'protractor'; import {logging} from 'selenium-webdriver'; ex...
{ "end_byte": 1139, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/browser-logs-util.ts" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_0_2193
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="2000" version="1.0" viewBox="0 0 1500 1500"><path d="M720.3 22.3c-.4.7-3 1.8-5.8 2.4-4.8 1-14.9 4.4-19 6.4-1.1.5-4.7 1.8-8 2.8-6.9 2.2-11.8 3.9-16 5.7-5.9 2.4-19.1 7.2-23 8.4-2.2.6-5.3 1.6-7 2.2-1.6.5-4.1 1.2-5.5 1.5-1.4.3-3 .9-3.6 1.4-1.7 1.4-20.3 7.9-22.4 7...
{ "end_byte": 2193, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_2194_4317
.6 1.9 1.1 6.6 1.1 10.5.1 3.8.8 10.8 1.5 15.5.8 4.7 1.9 13.4 2.5 19.5 3.2 30.2 3.9 36.3 4.4 39.5.3 1.9 1.5 12 2.6 22.5 1.1 10.4 2.5 21.5 3 24.6.6 3 1 8.1 1 11.3 0 3.2.4 8.6 1 12 2.3 14.1 4.2 28.8 5 39.6.5 6.3 1.4 14.4 1.9 18 1.7 11 4.1 30 5.1 41 .6 5.8 1.2 12.3 1.5 14.5.3 2.2 1.5 12.7 2.7 23.2 1.2 10.6 2.6 19.3 3 19.3....
{ "end_byte": 4317, "start_byte": 2194, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_4318_6430
3.4 1.8.8.3 2.4 1 3.5 1.6 11.5 6.3 13.7 6.8 17.5 3.8 1.4-1.1 3.1-2 3.8-2 .6 0 1.2-.5 1.2-1 0-.6.6-1 1.4-1 .7 0 2.5-.9 3.9-2s3-2 3.5-2 4.6-2 9.1-4.5 8.6-4.3 9.1-4c.5.3 1.5-.3 2.2-1.2 1.5-2 2.5-2.7 12.3-7.8 3.9-2.1 7.7-4.4 8.6-5.1.8-.8 2.1-1.4 2.7-1.4.6 0 3.7-1.7 6.9-3.9 3.2-2.1 6.8-4.1 8.1-4.5 1.3-.4 5.1-2.4 8.5-4.3 3.4...
{ "end_byte": 6430, "start_byte": 4318, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_6431_8540
1.9-17.9 5-44.5.6-5.5 1.8-13.6 2.6-18s1.4-10.7 1.4-14c0-3.3.9-11 1.9-17 1-6.1 2.4-19.3 3.1-29.5.7-10.3 1.8-20.2 2.6-22.3.9-2.3 1.4-7.6 1.4-13.7 0-5.5.4-10 .8-10 .5 0 1.8-9.1 3.1-20.3 1.2-11.1 2.6-23.4 3.1-27.2.5-3.9 1.2-10.2 1.4-14 .3-3.9 1.2-12.1 2.1-18.3.8-6.1 2.2-16.1 3-22.1.8-6 1.5-13.8 1.5-17.3s.5-7.9 1-9.9c.6-2 1...
{ "end_byte": 8540, "start_byte": 6431, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_8541_10646
0-3.3-.8-5-1.8-1.7-1.1-5.7-2.4-8.8-3.1-3.2-.7-6-1.7-6.3-2.2-.4-.5-1.5-.9-2.5-.9s-3.5-.9-5.5-2.1c-1.9-1.2-5-2.5-6.8-2.9-4-1.1-12.6-4-14.9-5.1-1-.5-2.2-.9-2.8-.9-1.2 0-28-9.5-32.7-11.6-1.7-.8-3.8-1.4-4.6-1.4-.9 0-1.8-.4-2.1-.9-.4-.5-2.4-1.2-4.6-1.6-2.2-.4-4-1.1-4-1.6s-.9-.9-2-.9c-2 0-11.1-3.2-14.2-5-1-.6-2.4-1-3.2-1-.8 0...
{ "end_byte": 10646, "start_byte": 8541, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_10647_12726
6.4c0 .8.6 2.1 1.3 2.8 1.2 1.3 3.6 6.1 7.1 14 .9 2 2.1 4 2.6 4.3.6.3 1 1.5 1 2.5s.7 2.5 1.5 3.4c.8.8 1.5 2.5 1.5 3.8 0 1.3.7 3.3 1.5 4.4.8 1 1.5 2.6 1.5 3.4 0 .9.9 3.3 2 5.5s2 4.5 2 5.2c0 .6.6 1.6 1.4 2 .8.4 2.4 3.7 3.6 7.3 1.2 3.5 2.8 7.7 3.6 9.2.8 1.5 1.5 3.1 1.5 3.5.1.5.7 1.9 1.4 3.3s2.5 5.4 4.1 9c1.5 3.6 3.4 7.2 4 ...
{ "end_byte": 12726, "start_byte": 10647, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_12727_14850
0-1.2-.5-2.7-1.2-3.4-.7-.7-1.3-2.2-1.3-3.5v-2.2l-179.9-.3-179.9-.2-2.3 2c-1.2 1.2-2.4 3.9-2.8 6.1-.3 2.1-1.1 3.9-1.6 3.9-.6 0-1 .8-1 1.7 0 1-.6 2.9-1.3 4.3-.7 1.4-2.1 4.7-3.1 7.5-1.1 2.7-2.5 5.9-3.3 7-.7 1.1-1.3 2.7-1.3 3.7s-.9 3.5-2 5.5c-1.1 2.1-2 4.5-2 5.3 0 .9-.6 2.4-1.4 3.5-.7 1.1-1.7 3.6-2.1 5.5-.4 1.9-1.6 4.1-2.6...
{ "end_byte": 14850, "start_byte": 12727, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_14851_17010
1.5-3.3c.8-.8 1.5-2.3 1.5-3.3.1-2.9 4.6-12.5 6.4-13.5.9-.5 1.6-1.8 1.6-3 0-2 1.3-5.3 7.1-17.3 1.6-3.3 2.9-6.7 2.9-7.6 0-.9.7-2.2 1.5-2.9.8-.7 1.5-1.9 1.5-2.8 0-.8 1.7-5.1 3.9-9.6 9.5-20.1 11.1-23.8 11.1-25.9 0-1.2.9-2.8 2-3.5 1.1-.7 2-1.8 2-2.5 0-.6 1.1-3.4 2.5-6.1 1.4-2.7 2.5-5.6 2.5-6.4 0-.7.7-2.6 1.5-4 .8-1.5 2.6-5....
{ "end_byte": 17010, "start_byte": 14851, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg_17011_18535
1.1.1 1.9-.3 1.9-.5 0-1.6 2.1-2.6 4.7-1 2.7-2.3 5.7-3 6.8-.7 1.1-2.5 5.1-4 9-1.5 3.8-3.1 7.4-3.5 8-.5.5-.9 1.7-.9 2.6 0 1-1.1 3.9-2.4 6.6-1.4 2.6-2.8 6.1-3.2 7.8-.3 1.6-1.2 3.7-1.9 4.5-.7.8-1.6 2.6-2 4-.3 1.4-1.2 3.8-2 5.5-3.4 7.6-4.5 10.4-4.5 11.9 0 .9-.4 1.6-1 1.6-.5 0-1 .9-1 1.9 0 1.6-3.1 8.8-7.1 16.3-.5 1-.9 2.2-.9...
{ "end_byte": 18535, "start_byte": 17011, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/logo-1500w.svg" }
angular/packages/core/test/bundling/image-directive/e2e/start-server.js_0_709
/** * @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 protractorUtils = require('@bazel/protractor/protractor-utils'); const protractor = require('protractor'); /*...
{ "end_byte": 709, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/start-server.js" }
angular/packages/core/test/bundling/image-directive/e2e/preconnect-check/preconnect-check.e2e-spec.ts_0_1825
/** * @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 */ /* tslint:disable:no-console */ import {browser, by, element, ElementHelper} from 'protractor'; import {logging} fr...
{ "end_byte": 1825, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/preconnect-check/preconnect-check.e2e-spec.ts" }
angular/packages/core/test/bundling/image-directive/e2e/preconnect-check/preconnect-check.ts_0_1800
/** * @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, IMAGE_LOADER, NgOptimizedImage} from '@angular/common'; import {Component, Inject} from '@angular/...
{ "end_byte": 1800, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/preconnect-check/preconnect-check.ts" }
angular/packages/core/test/bundling/image-directive/e2e/oversized-image/oversized-image.ts_0_1478
/** * @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 {IMAGE_LOADER, ImageLoaderConfig, NgOptimizedImage} from '@angular/common'; import {Component} from '@angular...
{ "end_byte": 1478, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/oversized-image/oversized-image.ts" }
angular/packages/core/test/bundling/image-directive/e2e/oversized-image/oversized-image.e2e-spec.ts_0_1117
/** * @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 */ /* tslint:disable:no-console */ import {browser, by, element, ExpectedConditions} from 'protractor'; import {loggin...
{ "end_byte": 1117, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/oversized-image/oversized-image.e2e-spec.ts" }
angular/packages/core/test/bundling/image-directive/e2e/fill-mode/fill-mode.e2e-spec.ts_0_1933
/** * @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 */ /* tslint:disable:no-console */ import {browser} from 'protractor'; import {logging} from 'selenium-webdriver'; im...
{ "end_byte": 1933, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/fill-mode/fill-mode.e2e-spec.ts" }
angular/packages/core/test/bundling/image-directive/e2e/fill-mode/fill-mode.ts_0_939
/** * @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 {NgOptimizedImage} from '@angular/common'; import {Component} from '@angular/core'; @Component({ selector:...
{ "end_byte": 939, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/fill-mode/fill-mode.ts" }
angular/packages/core/test/bundling/image-directive/e2e/basic/basic.ts_0_649
/** * @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 {IMAGE_LOADER, NgOptimizedImage} from '@angular/common'; import {Component} from '@angular/core'; @Component...
{ "end_byte": 649, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/basic/basic.ts" }
angular/packages/core/test/bundling/image-directive/e2e/basic/basic.e2e-spec.ts_0_1003
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {browser, by, element} from 'protractor'; import {logging} from 'selenium-webdriver'; import {collectBrowser...
{ "end_byte": 1003, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/basic/basic.e2e-spec.ts" }
angular/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-lazy/image-perf-warnings-lazy.e2e-spec.ts_0_1367
/** * @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 */ /* tslint:disable:no-console */ import {browser, by, element} from 'protractor'; import {logging} from 'selenium-we...
{ "end_byte": 1367, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-lazy/image-perf-warnings-lazy.e2e-spec.ts" }
angular/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-lazy/image-perf-warnings-lazy.ts_0_694
/** * @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'; @Component({ selector: 'image-perf-warnings-lazy', standalone: true, ...
{ "end_byte": 694, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-lazy/image-perf-warnings-lazy.ts" }
angular/packages/core/test/bundling/image-directive/e2e/lcp-check/lcp-check.ts_0_1046
/** * @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 {NgOptimizedImage} from '@angular/common'; import {Component} from '@angular/core'; @Component({ selector:...
{ "end_byte": 1046, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/lcp-check/lcp-check.ts" }
angular/packages/core/test/bundling/image-directive/e2e/lcp-check/lcp-check.e2e-spec.ts_0_1534
/** * @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 */ /* tslint:disable:no-console */ import {browser, by, element} from 'protractor'; import {logging} from 'selenium-we...
{ "end_byte": 1534, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/lcp-check/lcp-check.e2e-spec.ts" }
angular/packages/core/test/bundling/image-directive/e2e/image-distortion/image-distortion.e2e-spec.ts_0_6225
/** * @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 */ /* tslint:disable:no-console */ import {browser} from 'protractor'; import {logging} from 'selenium-webdriver'; im...
{ "end_byte": 6225, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/image-distortion/image-distortion.e2e-spec.ts" }
angular/packages/core/test/bundling/image-directive/e2e/image-distortion/image-distortion.ts_0_5262
/** * @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 {NgOptimizedImage} from '@angular/common'; import {Component} from '@angular/core'; @Component({ selector:...
{ "end_byte": 5262, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/image-distortion/image-distortion.ts" }
angular/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-oversized/svg-no-perf-oversized-warnings.ts_0_575
/** * @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'; @Component({ selector: 'svg-no-perf-oversized-warnings', standalone: t...
{ "end_byte": 575, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-oversized/svg-no-perf-oversized-warnings.ts" }
angular/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-oversized/image-perf-warnings-oversized.ts_0_574
/** * @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'; @Component({ selector: 'image-perf-warnings-oversized', standalone: tr...
{ "end_byte": 574, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-oversized/image-perf-warnings-oversized.ts" }
angular/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-oversized/image-perf-warnings-oversized.e2e-spec.ts_0_1480
/** * @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 */ /* tslint:disable:no-console */ import {browser} from 'protractor'; import {logging} from 'selenium-webdriver'; im...
{ "end_byte": 1480, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/image-directive/e2e/image-perf-warnings-oversized/image-perf-warnings-oversized.e2e-spec.ts" }
angular/packages/core/test/bundling/cyclic_import/trigger.ts_0_366
/** * @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'; @Component({ selector: 'trigger', template: '<dep></dep>', standalon...
{ "end_byte": 366, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/cyclic_import/trigger.ts" }
angular/packages/core/test/bundling/cyclic_import/integration_spec.ts_0_1622
/** * @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 '@angular/compiler'; import {withBody} from '@angular/private/testing'; import {runfiles} from '@bazel/runfi...
{ "end_byte": 1622, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/cyclic_import/integration_spec.ts" }
angular/packages/core/test/bundling/cyclic_import/index.html_0_1190
<!DOCTYPE html> <html> <head> <title>Angular Cyclic Import Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <trigger></trigger> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug version of the script. ...
{ "end_byte": 1190, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/cyclic_import/index.html" }
angular/packages/core/test/bundling/cyclic_import/README.md_0_1165
# Purpose This test exists to validate that ngtsc, when compiling an application where Ivy would otherwise require a circular dependency, uses "remote scoping" via the `setComponentScope` function instead. # How it works There are two files, `index.ts` and `trigger.ts`. `index.ts` contains the NgModule and a simple ...
{ "end_byte": 1165, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/cyclic_import/README.md" }
angular/packages/core/test/bundling/cyclic_import/BUILD.bazel_0_1363
load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "cyclic_import", srcs = [ ...
{ "end_byte": 1363, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/cyclic_import/BUILD.bazel" }
angular/packages/core/test/bundling/cyclic_import/index.ts_0_734
/** * @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 {ApplicationRef, Component, NgModule} from '@angular/core'; import {BrowserModule, platformBrowser} from '@an...
{ "end_byte": 734, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/cyclic_import/index.ts" }
angular/packages/core/test/bundling/injection/usage.ts_0_942
/** * @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 { ɵcreateInjector as createInjector, ɵɵdefineInjectable, ɵɵdefineInjector, } from '@angular/core'; exp...
{ "end_byte": 942, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/injection/usage.ts" }
angular/packages/core/test/bundling/injection/treeshaking_spec.ts_0_495
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import '@angular/compiler'; import {INJECTOR, ScopedService} from './usage'; describe('functional test for injectio...
{ "end_byte": 495, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/injection/treeshaking_spec.ts" }
angular/packages/core/test/bundling/injection/BUILD.bazel_0_971
load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "injection", srcs = [ "index.ts", "usage.ts", ], deps = [ ...
{ "end_byte": 971, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/injection/BUILD.bazel" }
angular/packages/core/test/bundling/injection/index.ts_0_297
/** * @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, ScopedService} from './usage'; INJECTOR.get(ScopedService).doSomething();
{ "end_byte": 297, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/injection/index.ts" }
angular/packages/core/test/bundling/forms_template_driven/index.html_0_1233
<!DOCTYPE html> <html> <head> <title>Angular Template-driven Forms Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <app-root></app-root> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug ...
{ "end_byte": 1233, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_template_driven/index.html" }
angular/packages/core/test/bundling/forms_template_driven/forms_e2e_spec.ts_0_1715
/** * @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 '@angular/compiler'; import {withBody} from '@angular/private/testing'; import * as path from 'path'; const...
{ "end_byte": 1715, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_template_driven/forms_e2e_spec.ts" }
angular/packages/core/test/bundling/forms_template_driven/treeshaking_spec.ts_0_1069
/** * @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 '@angular/compiler'; import {runfiles} from '@bazel/runfiles'; import * as fs from 'fs'; import * as path fr...
{ "end_byte": 1069, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_template_driven/treeshaking_spec.ts" }
angular/packages/core/test/bundling/forms_template_driven/BUILD.bazel_0_1465
load("//tools:defaults.bzl", "app_bundle", "jasmine_node_test", "ng_module", "ts_library") load("//tools/symbol-extractor:index.bzl", "js_expected_symbol_test") load("@npm//http-server:index.bzl", "http_server") package(default_visibility = ["//visibility:public"]) ng_module( name = "forms_template_driven", s...
{ "end_byte": 1465, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_template_driven/BUILD.bazel" }
angular/packages/core/test/bundling/forms_template_driven/index.ts_0_1933
/** * @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, NgModule} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {BrowserModule,...
{ "end_byte": 1933, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/forms_template_driven/index.ts" }
angular/packages/core/test/bundling/animations-standalone/index.html_0_1220
<!DOCTYPE html> <html> <head> <title>Angular Animations Example</title> </head> <body> <!-- The Angular application will be bootstrapped into this element. --> <app-root></app-root> <!-- Script tag which bootstraps the application. Use `?debug` in URL to select the debug version of the ...
{ "end_byte": 1220, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/animations-standalone/index.html" }
angular/packages/core/test/bundling/animations-standalone/treeshaking_spec.ts_0_1069
/** * @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 '@angular/compiler'; import {runfiles} from '@bazel/runfiles'; import * as fs from 'fs'; import * as path fr...
{ "end_byte": 1069, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/test/bundling/animations-standalone/treeshaking_spec.ts" }