_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_15514_23369 | "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: interpolation_complex.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.greeting = '';
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<h2>{{ greeting + " " + name }}</h2>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<h2>{{ greeting + " " + name }}</h2>',
standalone: false
}]
}] });
//# sourceMappingURL=interpolation_complex.js.map
/****************************************************************************************************
* PARTIAL FILE: interpolation_complex.js.map
****************************************************************************************************/
{"version":3,"file":"interpolation_complex.js","sourceRoot":"","sources":["../interpolation_complex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,aAAQ,GAAW,EAAE,CAAC;QACtB,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAHY,OAAO;mGAAP,OAAO,qEAHN,sCAAsC;sGAGvC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,sCAAsC;oBAChD,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: interpolation_complex.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
greeting: string;
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: interpolation_properties.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div id="{{name}}"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div id="{{name}}"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=interpolation_properties.js.map
/****************************************************************************************************
* PARTIAL FILE: interpolation_properties.js.map
****************************************************************************************************/
{"version":3,"file":"interpolation_properties.js","sourceRoot":"","sources":["../interpolation_properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,2BAA2B;sGAG5B,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,2BAA2B;oBACrC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: interpolation_properties.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: interpolation_properties.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div id="{{name}}"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div id="{{name}}"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=interpolation_properties.js.map
/****************************************************************************************************
* PARTIAL FILE: interpolation_properties.js.map
****************************************************************************************************/
{"version":3,"file":"interpolation_properties.js","sourceRoot":"","sources":["../interpolation_properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,2BAA2B;sGAG5B,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,2BAA2B;oBACrC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: interpolation_properties.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: interpolation_with_pipe.js
****************************************************************************************************/
import { Component, NgModule, Pipe } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, | {
"end_byte": 23369,
"start_byte": 15514,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_23370_29900 | template: '<div>{{200.3 | percent : 2 }}</div>', isInline: true, dependencies: [{ kind: "pipe", type: i0.forwardRef(() => PercentPipe), name: "percent" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div>{{200.3 | percent : 2 }}</div>',
standalone: false
}]
}] });
export class PercentPipe {
transform() { }
}
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PercentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PercentPipe, isStandalone: false, name: "percent" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PercentPipe, decorators: [{
type: Pipe,
args: [{
name: 'percent',
standalone: false
}]
}] });
export class AppModule {
}
AppModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
AppModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, declarations: [TestCmp, PercentPipe] });
AppModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, decorators: [{
type: NgModule,
args: [{ declarations: [TestCmp, PercentPipe] }]
}] });
//# sourceMappingURL=interpolation_with_pipe.js.map
/****************************************************************************************************
* PARTIAL FILE: interpolation_with_pipe.js.map
****************************************************************************************************/
{"version":3,"file":"interpolation_with_pipe.js","sourceRoot":"","sources":["../interpolation_with_pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;;AAOvE,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,qCAAqC,2EAUtC,WAAW;sGAPX,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,qCAAqC;oBAC/C,UAAU,EAAE,KAAK;iBACpB;;AAQD,MAAM,OAAO,WAAW;IACtB,SAAS,KAAI,CAAC;;mHADH,WAAW;iHAAX,WAAW;sGAAX,WAAW;kBAJvB,IAAI;mBAAC;oBACF,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,KAAK;iBACpB;;AAMD,MAAM,OAAO,SAAS;;iHAAT,SAAS;kHAAT,SAAS,iBAZT,OAAO,EAOP,WAAW;kHAKX,SAAS;sGAAT,SAAS;kBADrB,QAAQ;mBAAC,EAAC,YAAY,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC,EAAC"}
/****************************************************************************************************
* PARTIAL FILE: interpolation_with_pipe.d.ts
****************************************************************************************************/
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
export declare class PercentPipe implements PipeTransform {
transform(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PercentPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<PercentPipe, "percent", false>;
}
export declare class AppModule {
static ɵfac: i0.ɵɵFactoryDeclaration<AppModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<AppModule, [typeof TestCmp, typeof PercentPipe], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<AppModule>;
}
/****************************************************************************************************
* PARTIAL FILE: interpolation_with_pipe.js
****************************************************************************************************/
import { Component, NgModule, Pipe } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div>{{200.3 | percent : 2 }}</div>', isInline: true, dependencies: [{ kind: "pipe", type: i0.forwardRef(() => PercentPipe), name: "percent" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div>{{200.3 | percent : 2 }}</div>',
standalone: false
}]
}] });
export class PercentPipe {
transform() { }
}
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PercentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PercentPipe, isStandalone: false, name: "percent" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PercentPipe, decorators: [{
type: Pipe,
args: [{
name: 'percent',
standalone: false
}]
}] });
export class AppModule {
}
AppModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
AppModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, declarations: [TestCmp, PercentPipe] });
AppModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, decorators: [{
type: NgModule,
args: [{ declarations: [TestCmp, PercentPipe] }]
}] });
//# sourceMa | {
"end_byte": 29900,
"start_byte": 23370,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_29901_37221 | pingURL=interpolation_with_pipe.js.map
/****************************************************************************************************
* PARTIAL FILE: interpolation_with_pipe.js.map
****************************************************************************************************/
{"version":3,"file":"interpolation_with_pipe.js","sourceRoot":"","sources":["../interpolation_with_pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;;AAOvE,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,qCAAqC,2EAUtC,WAAW;sGAPX,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,qCAAqC;oBAC/C,UAAU,EAAE,KAAK;iBACpB;;AAQD,MAAM,OAAO,WAAW;IACtB,SAAS,KAAI,CAAC;;mHADH,WAAW;iHAAX,WAAW;sGAAX,WAAW;kBAJvB,IAAI;mBAAC;oBACF,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,KAAK;iBACpB;;AAMD,MAAM,OAAO,SAAS;;iHAAT,SAAS;kHAAT,SAAS,iBAZT,OAAO,EAOP,WAAW;kHAKX,SAAS;sGAAT,SAAS;kBADrB,QAAQ;mBAAC,EAAC,YAAY,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC,EAAC"}
/****************************************************************************************************
* PARTIAL FILE: interpolation_with_pipe.d.ts
****************************************************************************************************/
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
export declare class PercentPipe implements PipeTransform {
transform(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PercentPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<PercentPipe, "percent", false>;
}
export declare class AppModule {
static ɵfac: i0.ɵɵFactoryDeclaration<AppModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<AppModule, [typeof TestCmp, typeof PercentPipe], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<AppModule>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div [title]="name"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div [title]="name"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_simple.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_simple.js","sourceRoot":"","sources":["../input_binding_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,4BAA4B;sGAG7B,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,4BAA4B;oBACtC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div [title]="name"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div [title]="name"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_simple.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_simple.js","sourceRoot":"","sources":["../input_binding_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,4BAA4B;sGAG7B,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,4BAA4B;oBACtC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_complex.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.greeting = '';
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, | {
"end_byte": 37221,
"start_byte": 29901,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_37222_45225 | selector: "test-cmp", ngImport: i0, template: '<div [title]="greeting + name"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div [title]="greeting + name"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_complex.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_complex.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_complex.js","sourceRoot":"","sources":["../input_binding_complex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,aAAQ,GAAW,EAAE,CAAC;QACtB,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAHY,OAAO;mGAAP,OAAO,qEAHN,uCAAuC;sGAGxC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,uCAAuC;oBACjD,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_complex.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
greeting: string;
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_complex.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.greeting = '';
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div [title]="greeting + name"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div [title]="greeting + name"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_complex.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_complex.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_complex.js","sourceRoot":"","sources":["../input_binding_complex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,aAAQ,GAAW,EAAE,CAAC;QACtB,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAHY,OAAO;mGAAP,OAAO,qEAHN,uCAAuC;sGAGxC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,uCAAuC;oBACjD,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_complex.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
greeting: string;
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_longhand.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div bind-title="name"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div bind-title="name"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_longhand.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_longhand.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_longhand.js","sourceRoot":"","sources":["../input_binding_longhand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,+BAA+B;sGAGhC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,+BAA+B;oBACzC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_longhand.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_longhand.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div bind-title="name"></div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div bind-title="name"></div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_longhand.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_longhand.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_longhand.js","sourceRoot":"","sources":["../input_binding_longhand.ts" | {
"end_byte": 45225,
"start_byte": 37222,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_45226_52958 | ,"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,+BAA+B;sGAGhC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,+BAA+B;oBACzC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_longhand.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: output_binding_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
doSomething() { }
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<button (click)="doSomething()">Do it</button>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<button (click)="doSomething()">Do it</button>',
standalone: false
}]
}] });
//# sourceMappingURL=output_binding_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: output_binding_simple.js.map
****************************************************************************************************/
{"version":3,"file":"output_binding_simple.js","sourceRoot":"","sources":["../output_binding_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IAClB,WAAW,KAAI,CAAC;;+GADL,OAAO;mGAAP,OAAO,qEAHN,gDAAgD;sGAGjD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gDAAgD;oBAC1D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: output_binding_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
doSomething(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: output_binding_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
doSomething() { }
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<button (click)="doSomething()">Do it</button>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<button (click)="doSomething()">Do it</button>',
standalone: false
}]
}] });
//# sourceMappingURL=output_binding_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: output_binding_simple.js.map
****************************************************************************************************/
{"version":3,"file":"output_binding_simple.js","sourceRoot":"","sources":["../output_binding_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IAClB,WAAW,KAAI,CAAC;;+GADL,OAAO;mGAAP,OAAO,qEAHN,gDAAgD;sGAGjD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gDAAgD;oBAC1D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: output_binding_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
doSomething(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: output_binding_complex.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.items = [];
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `<button (click)="items.push('item' + items.length)">Add Item</button>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `<button (click)="items.push('item' + items.length)">Add Item</button>`,
standalone: false
}]
}] });
//# sourceMappingURL=output_binding_complex.js.map
/****************************************************************************************************
* PARTIAL FILE: output_binding_complex.js.map
****************************************************************************************************/
{"version":3,"file":"output_binding_complex.js","sourceRoot":"","sources":["../output_binding_complex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,UAAK,GAAa,EAAE,CAAC;KACtB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,uEAAuE;sGAGxE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,uEAAuE;oBACjF,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: output_binding_complex.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
items: string[];
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
stat | {
"end_byte": 52958,
"start_byte": 45226,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_52959_60382 | c ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: output_binding_complex.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.items = [];
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `<button (click)="items.push('item' + items.length)">Add Item</button>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `<button (click)="items.push('item' + items.length)">Add Item</button>`,
standalone: false
}]
}] });
//# sourceMappingURL=output_binding_complex.js.map
/****************************************************************************************************
* PARTIAL FILE: output_binding_complex.js.map
****************************************************************************************************/
{"version":3,"file":"output_binding_complex.js","sourceRoot":"","sources":["../output_binding_complex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,UAAK,GAAa,EAAE,CAAC;KACtB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,uEAAuE;sGAGxE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,uEAAuE;oBACjF,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: output_binding_complex.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
items: string[];
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: output_binding_longhand.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
doSomething() { }
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<button on-click="doSomething()">Do it</button>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<button on-click="doSomething()">Do it</button>',
standalone: false
}]
}] });
//# sourceMappingURL=output_binding_longhand.js.map
/****************************************************************************************************
* PARTIAL FILE: output_binding_longhand.js.map
****************************************************************************************************/
{"version":3,"file":"output_binding_longhand.js","sourceRoot":"","sources":["../output_binding_longhand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IAClB,WAAW,KAAI,CAAC;;+GADL,OAAO;mGAAP,OAAO,qEAHN,iDAAiD;sGAGlD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,iDAAiD;oBAC3D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: output_binding_longhand.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
doSomething(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: output_binding_longhand.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
doSomething() { }
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<button on-click="doSomething()">Do it</button>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<button on-click="doSomething()">Do it</button>',
standalone: false
}]
}] });
//# sourceMappingURL=output_binding_longhand.js.map
/****************************************************************************************************
* PARTIAL FILE: output_binding_longhand.js.map
****************************************************************************************************/
{"version":3,"file":"output_binding_longhand.js","sourceRoot":"","sources":["../output_binding_longhand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IAClB,WAAW,KAAI,CAAC;;+GADL,OAAO;mGAAP,OAAO,qEAHN,iDAAiD;sGAGlD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,iDAAiD;oBAC3D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: output_binding_longhand.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
doSomething(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_simple.js
********************************************************************************** | {
"end_byte": 60382,
"start_byte": 52959,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_60383_66772 | *****************/
import { Component, Directive, EventEmitter, Input, NgModule, Output } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: 'Name: <input [(ngModel)]="name">', isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => NgModelDirective), selector: "[ngModel]", inputs: ["ngModel"], outputs: ["ngModelChanges"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: 'Name: <input [(ngModel)]="name">',
standalone: false
}]
}] });
export class NgModelDirective {
constructor() {
this.ngModel = '';
this.ngModelChanges = new EventEmitter();
}
}
NgModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
NgModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: NgModelDirective, isStandalone: false, selector: "[ngModel]", inputs: { ngModel: "ngModel" }, outputs: { ngModelChanges: "ngModelChanges" }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, decorators: [{
type: Directive,
args: [{
selector: '[ngModel]',
standalone: false
}]
}], propDecorators: { ngModel: [{
type: Input
}], ngModelChanges: [{
type: Output
}] } });
export class AppModule {
}
AppModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
AppModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, declarations: [TestCmp, NgModelDirective] });
AppModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, decorators: [{
type: NgModule,
args: [{ declarations: [TestCmp, NgModelDirective] }]
}] });
//# sourceMappingURL=two_way_binding_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_simple.js.map
****************************************************************************************************/
{"version":3,"file":"two_way_binding_simple.js","sourceRoot":"","sources":["../two_way_binding_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;;AAO1F,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,kCAAkC,gFAWnC,gBAAgB;sGARhB,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,kCAAkC;oBAC5C,UAAU,EAAE,KAAK;iBACpB;;AASD,MAAM,OAAO,gBAAgB;IAJ7B;QAKW,YAAO,GAAW,EAAE,CAAC;QACpB,mBAAc,GAAyB,IAAI,YAAY,EAAE,CAAC;KACrE;;wHAHY,gBAAgB;4GAAhB,gBAAgB;sGAAhB,gBAAgB;kBAJ5B,SAAS;mBAAC;oBACP,QAAQ,EAAE,WAAW;oBACrB,UAAU,EAAE,KAAK;iBACpB;8BAEU,OAAO;sBAAf,KAAK;gBACI,cAAc;sBAAvB,MAAM;;AAIT,MAAM,OAAO,SAAS;;iHAAT,SAAS;kHAAT,SAAS,iBAdT,OAAO,EAQP,gBAAgB;kHAMhB,SAAS;sGAAT,SAAS;kBADrB,QAAQ;mBAAC,EAAC,YAAY,EAAE,CAAC,OAAO,EAAE,gBAAgB,CAAC,EAAC"}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_simple.d.ts
****************************************************************************************************/
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
export declare class NgModelDirective {
ngModel: string;
ngModelChanges: EventEmitter<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<NgModelDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgModelDirective, "[ngModel]", never, { "ngModel": { "alias": "ngModel"; "required": false; }; }, { "ngModelChanges": "ngModelChanges"; }, never, never, false, never>;
}
export declare class AppModule {
static ɵfac: i0.ɵɵFactoryDeclaration<AppModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<AppModule, [typeof TestCmp, typeof NgModelDirective], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<AppModule>;
}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_simple.js
****************************************************************************************************/
import { Component, Directive, EventEmitter, Input, NgModule, Output } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: 'Name: <input [(ngModel)]="name">', isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => NgModelDirective), selector: "[ngModel]", inputs: ["ngModel"], outputs: ["ngModelChanges"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
| {
"end_byte": 66772,
"start_byte": 60383,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_66773_73389 | type: Component,
args: [{
selector: 'test-cmp',
template: 'Name: <input [(ngModel)]="name">',
standalone: false
}]
}] });
export class NgModelDirective {
constructor() {
this.ngModel = '';
this.ngModelChanges = new EventEmitter();
}
}
NgModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
NgModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: NgModelDirective, isStandalone: false, selector: "[ngModel]", inputs: { ngModel: "ngModel" }, outputs: { ngModelChanges: "ngModelChanges" }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, decorators: [{
type: Directive,
args: [{
selector: '[ngModel]',
standalone: false
}]
}], propDecorators: { ngModel: [{
type: Input
}], ngModelChanges: [{
type: Output
}] } });
export class AppModule {
}
AppModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
AppModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, declarations: [TestCmp, NgModelDirective] });
AppModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, decorators: [{
type: NgModule,
args: [{ declarations: [TestCmp, NgModelDirective] }]
}] });
//# sourceMappingURL=two_way_binding_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_simple.js.map
****************************************************************************************************/
{"version":3,"file":"two_way_binding_simple.js","sourceRoot":"","sources":["../two_way_binding_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;;AAO1F,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,kCAAkC,gFAWnC,gBAAgB;sGARhB,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,kCAAkC;oBAC5C,UAAU,EAAE,KAAK;iBACpB;;AASD,MAAM,OAAO,gBAAgB;IAJ7B;QAKW,YAAO,GAAW,EAAE,CAAC;QACpB,mBAAc,GAAyB,IAAI,YAAY,EAAE,CAAC;KACrE;;wHAHY,gBAAgB;4GAAhB,gBAAgB;sGAAhB,gBAAgB;kBAJ5B,SAAS;mBAAC;oBACP,QAAQ,EAAE,WAAW;oBACrB,UAAU,EAAE,KAAK;iBACpB;8BAEU,OAAO;sBAAf,KAAK;gBACI,cAAc;sBAAvB,MAAM;;AAIT,MAAM,OAAO,SAAS;;iHAAT,SAAS;kHAAT,SAAS,iBAdT,OAAO,EAQP,gBAAgB;kHAMhB,SAAS;sGAAT,SAAS;kBADrB,QAAQ;mBAAC,EAAC,YAAY,EAAE,CAAC,OAAO,EAAE,gBAAgB,CAAC,EAAC"}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_simple.d.ts
****************************************************************************************************/
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
export declare class NgModelDirective {
ngModel: string;
ngModelChanges: EventEmitter<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<NgModelDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgModelDirective, "[ngModel]", never, { "ngModel": { "alias": "ngModel"; "required": false; }; }, { "ngModelChanges": "ngModelChanges"; }, never, never, false, never>;
}
export declare class AppModule {
static ɵfac: i0.ɵɵFactoryDeclaration<AppModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<AppModule, [typeof TestCmp, typeof NgModelDirective], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<AppModule>;
}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_longhand.js
****************************************************************************************************/
import { Component, Directive, EventEmitter, Input, NgModule, Output } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: 'Name: <input bindon-ngModel="name">', isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => NgModelDirective), selector: "[ngModel]", inputs: ["ngModel"], outputs: ["ngModelChanges"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: 'Name: <input bindon-ngModel="name">',
standalone: false
}]
}] });
export class NgModelDirective {
constructor() {
this.ngModel = '';
this.ngModelChanges = new EventEmitter();
}
}
NgModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
NgModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: NgModelDirective, isStandalone: false, selector: "[ngModel]", inputs: { ngModel: "ngModel" }, outputs: { ngModelChanges: "ngModelChanges" }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, decorators: [{
type: Directive,
args: [{
selector: '[ngModel]',
standalone: false
}]
}], propDecorators: { n | {
"end_byte": 73389,
"start_byte": 66773,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_73390_80028 | Model: [{
type: Input
}], ngModelChanges: [{
type: Output
}] } });
export class AppModule {
}
AppModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
AppModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, declarations: [TestCmp, NgModelDirective] });
AppModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, decorators: [{
type: NgModule,
args: [{ declarations: [TestCmp, NgModelDirective] }]
}] });
//# sourceMappingURL=two_way_binding_longhand.js.map
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_longhand.js.map
****************************************************************************************************/
{"version":3,"file":"two_way_binding_longhand.js","sourceRoot":"","sources":["../two_way_binding_longhand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;;AAO1F,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,qCAAqC,gFAWtC,gBAAgB;sGARhB,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,qCAAqC;oBAC/C,UAAU,EAAE,KAAK;iBACpB;;AASD,MAAM,OAAO,gBAAgB;IAJ7B;QAKW,YAAO,GAAW,EAAE,CAAC;QACpB,mBAAc,GAAyB,IAAI,YAAY,EAAE,CAAC;KACrE;;wHAHY,gBAAgB;4GAAhB,gBAAgB;sGAAhB,gBAAgB;kBAJ5B,SAAS;mBAAC;oBACP,QAAQ,EAAE,WAAW;oBACrB,UAAU,EAAE,KAAK;iBACpB;8BAEU,OAAO;sBAAf,KAAK;gBACI,cAAc;sBAAvB,MAAM;;AAIT,MAAM,OAAO,SAAS;;iHAAT,SAAS;kHAAT,SAAS,iBAdT,OAAO,EAQP,gBAAgB;kHAMhB,SAAS;sGAAT,SAAS;kBADrB,QAAQ;mBAAC,EAAC,YAAY,EAAE,CAAC,OAAO,EAAE,gBAAgB,CAAC,EAAC"}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_longhand.d.ts
****************************************************************************************************/
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
export declare class NgModelDirective {
ngModel: string;
ngModelChanges: EventEmitter<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<NgModelDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgModelDirective, "[ngModel]", never, { "ngModel": { "alias": "ngModel"; "required": false; }; }, { "ngModelChanges": "ngModelChanges"; }, never, never, false, never>;
}
export declare class AppModule {
static ɵfac: i0.ɵɵFactoryDeclaration<AppModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<AppModule, [typeof TestCmp, typeof NgModelDirective], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<AppModule>;
}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_longhand.js
****************************************************************************************************/
import { Component, Directive, EventEmitter, Input, NgModule, Output } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: 'Name: <input bindon-ngModel="name">', isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => NgModelDirective), selector: "[ngModel]", inputs: ["ngModel"], outputs: ["ngModelChanges"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: 'Name: <input bindon-ngModel="name">',
standalone: false
}]
}] });
export class NgModelDirective {
constructor() {
this.ngModel = '';
this.ngModelChanges = new EventEmitter();
}
}
NgModelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
NgModelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: NgModelDirective, isStandalone: false, selector: "[ngModel]", inputs: { ngModel: "ngModel" }, outputs: { ngModelChanges: "ngModelChanges" }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: NgModelDirective, decorators: [{
type: Directive,
args: [{
selector: '[ngModel]',
standalone: false
}]
}], propDecorators: { ngModel: [{
type: Input
}], ngModelChanges: [{
type: Output
}] } });
export class AppModule {
}
AppModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
AppModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, declarations: [TestCmp, NgModelDirective] });
AppModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: AppModule, decorators: [{
type: NgModule,
args: [{ declarations: [TestCmp, NgModelDirective] }]
}] });
//# sourceMappingURL=two_way_binding_longhand.js.map
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_longhand.js.map
******************************************************************************* | {
"end_byte": 80028,
"start_byte": 73390,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_80029_87011 | ********************/
{"version":3,"file":"two_way_binding_longhand.js","sourceRoot":"","sources":["../two_way_binding_longhand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;;AAO1F,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,qCAAqC,gFAWtC,gBAAgB;sGARhB,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,qCAAqC;oBAC/C,UAAU,EAAE,KAAK;iBACpB;;AASD,MAAM,OAAO,gBAAgB;IAJ7B;QAKW,YAAO,GAAW,EAAE,CAAC;QACpB,mBAAc,GAAyB,IAAI,YAAY,EAAE,CAAC;KACrE;;wHAHY,gBAAgB;4GAAhB,gBAAgB;sGAAhB,gBAAgB;kBAJ5B,SAAS;mBAAC;oBACP,QAAQ,EAAE,WAAW;oBACrB,UAAU,EAAE,KAAK;iBACpB;8BAEU,OAAO;sBAAf,KAAK;gBACI,cAAc;sBAAvB,MAAM;;AAIT,MAAM,OAAO,SAAS;;iHAAT,SAAS;kHAAT,SAAS,iBAdT,OAAO,EAQP,gBAAgB;kHAMhB,SAAS;sGAAT,SAAS;kBADrB,QAAQ;mBAAC,EAAC,YAAY,EAAE,CAAC,OAAO,EAAE,gBAAgB,CAAC,EAAC"}
/****************************************************************************************************
* PARTIAL FILE: two_way_binding_longhand.d.ts
****************************************************************************************************/
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
export declare class NgModelDirective {
ngModel: string;
ngModelChanges: EventEmitter<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<NgModelDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgModelDirective, "[ngModel]", never, { "ngModel": { "alias": "ngModel"; "required": false; }; }, { "ngModelChanges": "ngModelChanges"; }, never, never, false, never>;
}
export declare class AppModule {
static ɵfac: i0.ɵɵFactoryDeclaration<AppModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<AppModule, [typeof TestCmp, typeof NgModelDirective], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<AppModule>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_class.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.isInitial = true;
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div [class.initial]="isInitial">Message</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div [class.initial]="isInitial">Message</div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_class.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_class.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_class.js","sourceRoot":"","sources":["../input_binding_class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,cAAS,GAAY,IAAI,CAAC;KAC3B;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,gDAAgD;sGAGjD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gDAAgD;oBAC1D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_class.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
isInitial: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: input_binding_class.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.isInitial = true;
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div [class.initial]="isInitial">Message</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div [class.initial]="isInitial">Message</div>',
standalone: false
}]
}] });
//# sourceMappingURL=input_binding_class.js.map
/****************************************************************************************************
* PARTIAL FILE: input_binding_class.js.map
****************************************************************************************************/
{"version":3,"file":"input_binding_class.js","sourceRoot":"","sources":["../input_binding_class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,cAAS,GAAY,IAAI,CAAC;KAC3B;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,gDAAgD;sGAGjD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gDAAgD;oBAC1D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: input_binding_class.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
isInitial: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_if_simple.js
********************************************************* | {
"end_byte": 87011,
"start_byte": 80029,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_87012_94639 | ******************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div *ngIf="showMessage()">{{ name }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div *ngIf="showMessage()">{{ name }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=ng_if_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_if_simple.js.map
****************************************************************************************************/
{"version":3,"file":"ng_if_simple.js","sourceRoot":"","sources":["../ng_if_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,6CAA6C;sGAG9C,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,6CAA6C;oBACvD,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_if_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_if_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div *ngIf="showMessage()">{{ name }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div *ngIf="showMessage()">{{ name }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=ng_if_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_if_simple.js.map
****************************************************************************************************/
{"version":3,"file":"ng_if_simple.js","sourceRoot":"","sources":["../ng_if_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,6CAA6C;sGAG9C,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,6CAA6C;oBACvD,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_if_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_if_templated.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `
<ng-template [ngIf]="showMessage()">
<div>{{ name }}</div>
<hr>
</ng-template>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `
<ng-template [ngIf]="showMessage()">
<div>{{ name }}</div>
<hr>
</ng-template>`,
standalone: false
}]
}] });
//# sourceMappingURL=ng_if_templated.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_if_templated.js.map
****************************************************************************************************/
{"version":3,"file":"ng_if_templated.js","sourceRoot":"","sources":["../ng_if_templated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAWxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAPN;;;;mBAIK;sGAGN,OAAO;kBATnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE;;;;mBAIK;oBACf,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_if_templated.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_if_templated.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `
<ng-template [ngIf]="showMessage()">
<div>{{ name }}</div>
<hr>
</ng-template>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `
<ng-template [ngIf]="showMessage( | {
"end_byte": 94639,
"start_byte": 87012,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_94640_102456 | ">
<div>{{ name }}</div>
<hr>
</ng-template>`,
standalone: false
}]
}] });
//# sourceMappingURL=ng_if_templated.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_if_templated.js.map
****************************************************************************************************/
{"version":3,"file":"ng_if_templated.js","sourceRoot":"","sources":["../ng_if_templated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAWxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAPN;;;;mBAIK;sGAGN,OAAO;kBATnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE;;;;mBAIK;oBACf,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_if_templated.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_for_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div *ngFor="let item of items; index as i; trackBy: trackByFn">{{ item }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div *ngFor="let item of items; index as i; trackBy: trackByFn">{{ item }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=ng_for_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_for_simple.js.map
****************************************************************************************************/
{"version":3,"file":"ng_for_simple.js","sourceRoot":"","sources":["../ng_for_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,kFAAkF;sGAGnF,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,kFAAkF;oBAC5F,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_for_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_for_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div *ngFor="let item of items; index as i; trackBy: trackByFn">{{ item }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div *ngFor="let item of items; index as i; trackBy: trackByFn">{{ item }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=ng_for_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_for_simple.js.map
****************************************************************************************************/
{"version":3,"file":"ng_for_simple.js","sourceRoot":"","sources":["../ng_for_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,kFAAkF;sGAGnF,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,kFAAkF;oBAC5F,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_for_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_for_templated.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `<ng-template ngFor [ngForOf]="items" let-item>{{ item }}</ng-template>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `<ng-template ngFor [ngForOf]="items" let-item>{{ item }}</ng-template>`,
standalone: false
}]
}] });
//# sourceMappingURL=ng_for_templated.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_for_templated.js.map
****************************************************************************************************/
{"version":3,"file":"ng_for_templated.js","sourceRoot":"","sources":["../ng_for_templated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,wEAAwE;sGAGzE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,wEAAwE;oBAClF,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_for_templated.d.ts
****************************************************************************************************/
i | {
"end_byte": 102456,
"start_byte": 94640,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_102457_110200 | port * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: ng_for_templated.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `<ng-template ngFor [ngForOf]="items" let-item>{{ item }}</ng-template>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `<ng-template ngFor [ngForOf]="items" let-item>{{ item }}</ng-template>`,
standalone: false
}]
}] });
//# sourceMappingURL=ng_for_templated.js.map
/****************************************************************************************************
* PARTIAL FILE: ng_for_templated.js.map
****************************************************************************************************/
{"version":3,"file":"ng_for_templated.js","sourceRoot":"","sources":["../ng_for_templated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,wEAAwE;sGAGzE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,wEAAwE;oBAClF,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: ng_for_templated.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: projection.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `
<h3><ng-content select="title"></ng-content></h3>
<div><ng-content></ng-content></div>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `
<h3><ng-content select="title"></ng-content></h3>
<div><ng-content></ng-content></div>`,
standalone: false
}]
}] });
//# sourceMappingURL=projection.js.map
/****************************************************************************************************
* PARTIAL FILE: projection.js.map
****************************************************************************************************/
{"version":3,"file":"projection.js","sourceRoot":"","sources":["../projection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AASxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEALN;;uCAEyB;sGAG1B,OAAO;kBAPnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE;;uCAEyB;oBACnC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: projection.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, ["title", "*"], false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: projection.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: `
<h3><ng-content select="title"></ng-content></h3>
<div><ng-content></ng-content></div>`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: `
<h3><ng-content select="title"></ng-content></h3>
<div><ng-content></ng-content></div>`,
standalone: false
}]
}] });
//# sourceMappingURL=projection.js.map
/****************************************************************************************************
* PARTIAL FILE: projection.js.map
****************************************************************************************************/
{"version":3,"file":"projection.js","sourceRoot":"","sources":["../projection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AASxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEALN;;uCAEyB;sGAG1B,OAAO;kBAPnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE;;uCAEyB;oBACnC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: projection.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, ["title", "*"], false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, se | {
"end_byte": 110200,
"start_byte": 102457,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_110201_117815 | ector: "test-cmp", ngImport: i0, template: '<div i18n>Hello, World!</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Hello, World!</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_simple.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_simple.js","sourceRoot":"","sources":["../i18n_message_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,+BAA+B;sGAGhC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,+BAA+B;oBACzC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_simple.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>Hello, World!</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Hello, World!</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_simple.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_simple.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_simple.js","sourceRoot":"","sources":["../i18n_message_simple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,+BAA+B;sGAGhC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,+BAA+B;oBACzC,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_simple.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>Hello, {{name}}!</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Hello, {{name}}!</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_placeholder.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_placeholder.js","sourceRoot":"","sources":["../i18n_message_placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,kCAAkC;sGAGnC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,kCAAkC;oBAC5C,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.name = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>Hello, {{name}}!</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Hello, {{name}}!</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_placeholder.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_m | {
"end_byte": 117815,
"start_byte": 110201,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_117816_125344 | ssage_placeholder.js","sourceRoot":"","sources":["../i18n_message_placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,SAAI,GAAW,EAAE,CAAC;KACnB;;+GAFY,OAAO;mGAAP,OAAO,qEAHN,kCAAkC;sGAGnC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,kCAAkC;oBAC5C,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder_entities.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.one = 1;
this.two = 2;
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>Interpolation: {{ one }} Interpolation: {{ two }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Interpolation: {{ one }} Interpolation: {{ two }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_placeholder_entities.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder_entities.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_placeholder_entities.js","sourceRoot":"","sources":["../i18n_message_placeholder_entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,QAAG,GAAG,CAAC,CAAC;QACR,QAAG,GAAG,CAAC,CAAC;KACT;;+GAHY,OAAO;mGAAP,OAAO,qEAHN,wEAAwE;sGAGzE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,wEAAwE;oBAClF,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder_entities.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
one: number;
two: number;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder_entities.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.one = 1;
this.two = 2;
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>Interpolation: {{ one }} Interpolation: {{ two }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Interpolation: {{ one }} Interpolation: {{ two }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_placeholder_entities.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder_entities.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_placeholder_entities.js","sourceRoot":"","sources":["../i18n_message_placeholder_entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,QAAG,GAAG,CAAC,CAAC;QACR,QAAG,GAAG,CAAC,CAAC;KACT;;+GAHY,OAAO;mGAAP,OAAO,qEAHN,wEAAwE;sGAGzE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,wEAAwE;oBAClF,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_placeholder_entities.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
one: number;
two: number;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_interpolation_whitespace.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.titleValue = '';
this.bodyValue = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n title=" pre-title {{titleValue}} post-title" i18n-title> pre-body {{bodyValue}} post-body</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n title=" pre-title {{titleValue}} post-title" i18n-title> pre-body {{bodyValue}} post-body</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_interpolation_whitespace.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_interpolation_whitespace.js.ma | {
"end_byte": 125344,
"start_byte": 117816,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_125345_132995 |
****************************************************************************************************/
{"version":3,"file":"i18n_message_interpolation_whitespace.js","sourceRoot":"","sources":["../i18n_message_interpolation_whitespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,eAAU,GAAW,EAAE,CAAC;QACxB,cAAS,GAAW,EAAE,CAAC;KACxB;;+GAHY,OAAO;mGAAP,OAAO,qEAHN,+GAA+G;sGAGhH,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,+GAA+G;oBACzH,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_interpolation_whitespace.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
titleValue: string;
bodyValue: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_interpolation_whitespace.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
constructor() {
this.titleValue = '';
this.bodyValue = '';
}
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n title=" pre-title {{titleValue}} post-title" i18n-title> pre-body {{bodyValue}} post-body</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n title=" pre-title {{titleValue}} post-title" i18n-title> pre-body {{bodyValue}} post-body</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_interpolation_whitespace.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_interpolation_whitespace.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_interpolation_whitespace.js","sourceRoot":"","sources":["../i18n_message_interpolation_whitespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;IALpB;QAME,eAAU,GAAW,EAAE,CAAC;QACxB,cAAS,GAAW,EAAE,CAAC;KACxB;;+GAHY,OAAO;mGAAP,OAAO,qEAHN,+GAA+G;sGAGhH,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,+GAA+G;oBACzH,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_interpolation_whitespace.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
titleValue: string;
bodyValue: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_element_whitespace.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>\n pre-p\n <p>\n in-p\n </p>\n post-p\n</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>\n pre-p\n <p>\n in-p\n </p>\n post-p\n</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_element_whitespace.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_element_whitespace.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_element_whitespace.js","sourceRoot":"","sources":["../i18n_message_element_whitespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,gEAAgE;sGAGjE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gEAAgE;oBAC1E,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_element_whitespace.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_element_whitespace.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>\n pre-p\n <p>\n in-p\n </p>\n post-p\n</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>\n pre-p\n <p>\n in-p\n </p>\n post-p\n</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_element_whitespace.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_element_whitespace.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_element_whitesp | {
"end_byte": 132995,
"start_byte": 125345,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_132996_140805 | ce.js","sourceRoot":"","sources":["../i18n_message_element_whitespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,gEAAgE;sGAGjE,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gEAAgE;oBAC1E,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_element_whitespace.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_container_tag.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>Hello, <b>World</b>!</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Hello, <b>World</b>!</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_container_tag.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_container_tag.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_container_tag.js","sourceRoot":"","sources":["../i18n_message_container_tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,sCAAsC;sGAGvC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,sCAAsC;oBAChD,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_container_tag.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_container_tag.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div i18n>Hello, <b>World</b>!</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div i18n>Hello, <b>World</b>!</div>',
standalone: false
}]
}] });
//# sourceMappingURL=i18n_message_container_tag.js.map
/****************************************************************************************************
* PARTIAL FILE: i18n_message_container_tag.js.map
****************************************************************************************************/
{"version":3,"file":"i18n_message_container_tag.js","sourceRoot":"","sources":["../i18n_message_container_tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,sCAAsC;sGAGvC,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,sCAAsC;oBAChD,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: i18n_message_container_tag.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: update_mode.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div>this is a test</div><div>{{ 1 + 2 }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div>this is a test</div><div>{{ 1 + 2 }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=update_mode.js.map
/****************************************************************************************************
* PARTIAL FILE: update_mode.js.map
****************************************************************************************************/
{"version":3,"file":"update_mode.js","sourceRoot":"","sources":["../update_mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,iDAAiD;sGAGlD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,iDAAiD;oBAC3D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: update_mode.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: update_mode.js
****************************************************************************************************/
import { Component } from '@angular/core';
i | {
"end_byte": 140805,
"start_byte": 132996,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js_140806_148296 | port * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div>this is a test</div><div>{{ 1 + 2 }}</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div>this is a test</div><div>{{ 1 + 2 }}</div>',
standalone: false
}]
}] });
//# sourceMappingURL=update_mode.js.map
/****************************************************************************************************
* PARTIAL FILE: update_mode.js.map
****************************************************************************************************/
{"version":3,"file":"update_mode.js","sourceRoot":"","sources":["../update_mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,iDAAiD;sGAGlD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,iDAAiD;oBAC3D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: update_mode.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: escape_sequences.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div class=\"some-class\">this is a test</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div class=\"some-class\">this is a test</div>',
standalone: false
}]
}] });
//# sourceMappingURL=escape_sequences.js.map
/****************************************************************************************************
* PARTIAL FILE: escape_sequences.js.map
****************************************************************************************************/
{"version":3,"file":"escape_sequences.js","sourceRoot":"","sources":["../escape_sequences.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,gDAAgD;sGAGjD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gDAAgD;oBAC1D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: escape_sequences.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: escape_sequences.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class TestCmp {
}
TestCmp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, deps: [], target: i0.ɵɵFactoryTarget.Component });
TestCmp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: TestCmp, isStandalone: false, selector: "test-cmp", ngImport: i0, template: '<div class=\"some-class\">this is a test</div>', isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: TestCmp, decorators: [{
type: Component,
args: [{
selector: 'test-cmp',
template: '<div class=\"some-class\">this is a test</div>',
standalone: false
}]
}] });
//# sourceMappingURL=escape_sequences.js.map
/****************************************************************************************************
* PARTIAL FILE: escape_sequences.js.map
****************************************************************************************************/
{"version":3,"file":"escape_sequences.js","sourceRoot":"","sources":["../escape_sequences.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAOxC,MAAM,OAAO,OAAO;;+GAAP,OAAO;mGAAP,OAAO,qEAHN,gDAAgD;sGAGjD,OAAO;kBALnB,SAAS;mBAAC;oBACP,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,gDAAgD;oBAC1D,UAAU,EAAE,KAAK;iBACpB"}
/****************************************************************************************************
* PARTIAL FILE: escape_sequences.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class TestCmp {
static ɵfac: i0.ɵɵFactoryDeclaration<TestCmp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TestCmp, "test-cmp", never, {}, {}, never, never, false, never>;
}
| {
"end_byte": 148296,
"start_byte": 140806,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_interpolation_whitespace_partial_template.pipeline.js_0_766 | $localize ` pre-title ${
"\uFFFD0\uFFFD" // SOURCE: "/i18n_message_interpolation_whitespace.ts" "{{titleValue}}"
}:INTERPOLATION: post-title` // SOURCE: "/i18n_message_interpolation_whitespace.ts" " post-title\" i18n-title>"
…
$localize ` pre-body ${
"\uFFFD0\uFFFD" // SOURCE: "/i18n_message_interpolation_whitespace.ts" "{{bodyValue}}"
}:INTERPOLATION: post-body` // SOURCE: "/i18n_message_interpolation_whitespace.ts" " post-body"
…
.ɵɵelementStart(0, "div", 2) // SOURCE: "/i18n_message_interpolation_whitespace.ts" "<div i18n title=\""
…
// TODO: Work out how to fix the broken segment for the last item in a template
.ɵɵelementEnd() // SOURCE: "/i18n_message_interpolation_whitespace.ts" "</div>'"
| {
"end_byte": 766,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_interpolation_whitespace_partial_template.pipeline.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_simple.js_0_451 | …
i0.ɵɵelementStart(1, "input", 0) // SOURCE: "/two_way_binding_simple.ts" "<input "
…
// TODO: improve mappings here
i0.ɵɵtwoWayListener("ngModelChange", function TestCmp_Template_input_ngModelChange_1_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.name, $event) || (ctx.name = $event); return $event; }) // SOURCE: "/two_way_binding_simple.ts" "[(ngModel)]=\"name\""
…
i0.ɵɵelementEnd() // SOURCE: "/two_way_binding_simple.ts" "<input "
| {
"end_byte": 451,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_simple.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder_entities_partial.js_0_463 | $localize`Interpolation: ${ // SOURCE: "/i18n_message_placeholder_entities.ts" "Interpolation: "
…
"\uFFFD0\uFFFD" // SOURCE: "/i18n_message_placeholder_entities.ts" "{{ one }}"
…
}:INTERPOLATION: Interpolation: ${ // SOURCE: "/i18n_message_placeholder_entities.ts" " Interpolation: "
…
"\uFFFD1\uFFFD" // SOURCE: "/i18n_message_placeholder_entities.ts" "{{ two }}"
…
}:INTERPOLATION_1:` // SOURCE: "/i18n_message_placeholder_entities.ts" "</div>'"
| {
"end_byte": 463,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder_entities_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_longhand.js_0_325 | …
i0.ɵɵelementStart(0, "button", 0) // SOURCE: "/output_binding_longhand.ts" "<button "
…
ctx.doSomething() // SOURCE: "/output_binding_longhand.ts" "doSomething()"
…
i0.ɵɵtext(1, "Do it") // SOURCE: "/output_binding_longhand.ts" "Do it"
…
i0.ɵɵelementEnd() // SOURCE: "/output_binding_longhand.ts" "</button>"
| {
"end_byte": 325,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_longhand.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_longhand_partial.js_0_398 | …
.ɵɵelementStart(0, "button", 0) // SOURCE: "/output_binding_longhand.ts" "<button "
…
ctx.doSomething() // SOURCE: "/output_binding_longhand.ts" "doSomething()\">"
…
.ɵɵtext(1, "Do it") // SOURCE: "/output_binding_longhand.ts" "Do it"
…
// TODO: Work out how to fix the broken segment for the last item in a template
.ɵɵelement // SOURCE: "/output_binding_longhand.ts" "</button>'"
| {
"end_byte": 398,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_longhand_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_with_pipe.ts_0_418 | import {Component, NgModule, Pipe, PipeTransform} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div>{{200.3 | percent : 2 }}</div>',
standalone: false
})
export class TestCmp {
}
@Pipe({
name: 'percent',
standalone: false
})
export class PercentPipe implements PipeTransform {
transform() {}
}
@NgModule({declarations: [TestCmp, PercentPipe]})
export class AppModule {
} | {
"end_byte": 418,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_with_pipe.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_simple.js_0_170 | i0.ɵɵelement(0, "div", 0) // SOURCE: "/input_binding_simple.ts" "<div "
…
i0.ɵɵproperty("title", ctx.name) // SOURCE: "/input_binding_simple.ts" "[title]=\"name\""
| {
"end_byte": 170,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_simple.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/void_element.js_0_60 | i0.ɵɵelement(0, "hr") // SOURCE: "/void_element.ts" "<hr>" | {
"end_byte": 60,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/void_element.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/update_mode_partial.js_0_587 | // NOTE: Creation mode
.ɵɵelementStart(0, "div") // SOURCE: "/update_mode.ts" "<div>"
…
.ɵɵtext(1, "this is a test") // SOURCE: "/update_mode.ts" "this is a test"
…
.ɵɵelementEnd() // SOURCE: "/update_mode.ts" "</div>"
…
.ɵɵelementStart(2, "div") // SOURCE: "/update_mode.ts" "<div>"
…
.ɵɵtext(3) // SOURCE: "/update_mode.ts" "{{ 1 + 2 }}"
…
// TODO: Work out how to fix the broken segment for the last item in a template
.ɵɵelem // SOURCE: "/update_mode.ts" "</div>'"
…
// NOTE: Update mode
.ɵɵtextInterpolate(1 + 2) // SOURCE: "/update_mode.ts" "{{ 1 + 2 }}"
| {
"end_byte": 587,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/update_mode_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_interpolation_whitespace_template.pipeline.js_0_671 | $localize ` pre-title ${
"\uFFFD0\uFFFD" // SOURCE: "/i18n_message_interpolation_whitespace.ts" "{{titleValue}}"
}:INTERPOLATION: post-title` // SOURCE: "/i18n_message_interpolation_whitespace.ts" " post-title"
…
$localize ` pre-body ${
"\uFFFD0\uFFFD" // SOURCE: "/i18n_message_interpolation_whitespace.ts" "{{bodyValue}}"
}:INTERPOLATION: post-body` // SOURCE: "/i18n_message_interpolation_whitespace.ts" " post-body"
…
i0.ɵɵelementStart(0, "div", 2) // SOURCE: "/i18n_message_interpolation_whitespace.ts" "<div i18n title=\""
…
i0.ɵɵelementEnd() // SOURCE: "/i18n_message_interpolation_whitespace.ts" "</div>"
| {
"end_byte": 671,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_interpolation_whitespace_template.pipeline.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/simple_element.ts_0_167 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<h1>Heading 1</h1>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 167,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/simple_element.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_if_simple.ts_0_192 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div *ngIf="showMessage()">{{ name }}</div>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 192,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_if_simple.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_element_whitespace_partial.js_0_932 | $localize` pre-p ${ // SOURCE: "/i18n_message_element_whitespace.ts" "\\n pre-p\\n "
…
"\uFFFD#2\uFFFD" // SOURCE: "/i18n_message_element_whitespace.ts" "<p>"
…
}:START_PARAGRAPH: in-p ${ // SOURCE: "/i18n_message_element_whitespace.ts" "\\n in-p\\n "
…
"\uFFFD/#2\uFFFD" // SOURCE: "/i18n_message_element_whitespace.ts" "</p>"
…
}:CLOSE_PARAGRAPH: post-p\n // SOURCE: "/i18n_message_element_whitespace.ts" "\\n post-p\\n"
`…
.ɵɵelementStart(0, "div") // SOURCE: "/i18n_message_element_whitespace.ts" "<div i18n>"
…
.ɵɵi18nStart(1, 0) // SOURCE: "/i18n_message_element_whitespace.ts" "<div i18n>"
…
.ɵɵelement(2, "p") // SOURCE: "/i18n_message_element_whitespace.ts" "<p>"
…
.ɵɵi18nEnd() // SOURCE: "/i18n_message_element_whitespace.ts" "</div>'"
…
// TODO: Work out how to fix the broken segment for the last item in a template
.ɵɵelem // SOURCE: "/i18n_message_element_whitespace.ts" "</div>'"
| {
"end_byte": 932,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_element_whitespace_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder_partial.js_0_375 | $localize`Hello, ${ // SOURCE: "/i18n_message_placeholder.ts" "Hello, "
…
"\uFFFD0\uFFFD" // SOURCE: "/i18n_message_placeholder.ts" "{{name}}"
…
}:INTERPOLATION:!` // SOURCE: "/i18n_message_placeholder.ts" "!"
…
.ɵɵelementStart(0, "div") // SOURCE: "/i18n_message_placeholder.ts" "<div i18n>"
…
.ɵɵelementEnd() // SOURCE: "/i18n_message_placeholder.ts" "</div>'"
| {
"end_byte": 375,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_for_simple.ts_0_229 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div *ngFor="let item of items; index as i; trackBy: trackByFn">{{ item }}</div>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 229,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_for_simple.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/projection.js_0_437 | i0.ɵɵelementStart(0, "h3") // SOURCE: "/projection.ts" "<h3>"
…
i0.ɵɵprojection(1) // SOURCE: "/projection.ts" "<ng-content select=\"title\"></ng-content>"
…
i0.ɵɵelementEnd() // SOURCE: "/projection.ts" "</h3>"
…
i0.ɵɵelementStart(2, "div") // SOURCE: "/projection.ts" "<div>"
…
i0.ɵɵprojection(3, 1) // SOURCE: "/projection.ts" "<ng-content></ng-content>"
…
i0.ɵɵelementEnd() // SOURCE: "/projection.ts" "</div>"
| {
"end_byte": 437,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/projection.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_complex.ts_0_232 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div [title]="greeting + name"></div>',
standalone: false
})
export class TestCmp {
greeting: string = '';
name: string = '';
}
| {
"end_byte": 232,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_complex.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_basic.js_0_250 | i0.ɵɵelementStart(0, "h3") // SOURCE: "/interpolation_basic.ts" "<h3>"
…
i0.ɵɵelementEnd() // SOURCE: "/interpolation_basic.ts" "</h3>"
…
i0.ɵɵtextInterpolate1("Hello ", ctx.name, "") // SOURCE: "/interpolation_basic.ts" "Hello {{ name }}"
| {
"end_byte": 250,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_basic.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/escape_sequences.ts_0_195 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div class=\"some-class\">this is a test</div>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 195,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/escape_sequences.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_simple.ts_0_178 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div i18n>Hello, World!</div>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 178,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_simple.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_for_templated.js_0_178 | i0.ɵɵtext(0) // SOURCE: "/ng_for_templated.ts" "{{ item }}"
…
// TODO - map the bindings better
i0.ɵɵtextInterpolate(item_r1) // SOURCE: "/ng_for_templated.ts" "{{ item }}" | {
"end_byte": 178,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_for_templated.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder_entities.ts_0_241 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div i18n>Interpolation: {{ one }} Interpolation: {{ two }}</div>',
standalone: false
})
export class TestCmp {
one = 1;
two = 2;
}
| {
"end_byte": 241,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder_entities.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/update_mode.ts_0_196 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div>this is a test</div><div>{{ 1 + 2 }}</div>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 196,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/update_mode.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_complex.js_0_463 | i0.ɵɵelementStart(0, "button", 0) // SOURCE: "/output_binding_complex.ts" "<button "
…
ctx.items.push( // SOURCE: "/output_binding_complex.ts" "items.push("
…
"item" // SOURCE: "/output_binding_complex.ts" "'item'"
…
+ ctx.items.length) // SOURCE: "/output_binding_complex.ts" " + items.length)"
…
i0.ɵɵtext(1, "Add Item") // SOURCE: "/output_binding_complex.ts" "Add Item"
…
i0.ɵɵelementEnd() // SOURCE: "/output_binding_complex.ts" "</button>"
| {
"end_byte": 463,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_complex.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_properties.ts_0_195 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div id="{{name}}"></div>',
standalone: false
})
export class TestCmp {
name: string = '';
}
| {
"end_byte": 195,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_properties.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_if_templated.js_0_394 | i0.ɵɵelementStart(0, "div") // SOURCE: "/ng_if_templated.ts" "<div>"
…
// TODO - map the bindings better
i0.ɵɵelementEnd() // SOURCE: "/ng_if_templated.ts" "</div>"
…
// TODO: the `ctx_r...` appears to be dependent upon previous tests!!!
// TODO: expectMapping(mappings, { source: '{{ name }}', generated: 'i0.ɵɵtextInterpolate(ctx_r0.name)', sourceUrl: '../ng_if_templated.ts'});
| {
"end_byte": 394,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_if_templated.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_simple.ts_0_214 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<button (click)="doSomething()">Do it</button>',
standalone: false
})
export class TestCmp {
doSomething() {}
}
| {
"end_byte": 214,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_simple.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_container_tag_partial.js_0_610 | $localize`Hello, ${ // SOURCE: "/i18n_message_container_tag.ts" "Hello, "
…
"\uFFFD#2\uFFFD" // SOURCE: "/i18n_message_container_tag.ts" "<b>"
…
}:START_BOLD_TEXT:World${ // SOURCE: "/i18n_message_container_tag.ts" "World"
…
"\uFFFD/#2\uFFFD" // SOURCE: "/i18n_message_container_tag.ts" "</b>"
…
}:CLOSE_BOLD_TEXT:!` // SOURCE: "/i18n_message_container_tag.ts" "!"
…
.ɵɵelementStart(0, "div") // SOURCE: "/i18n_message_container_tag.ts" "<div i18n>"
…
// TODO: Work out how to fix the broken segment for the last item in a template
.ɵɵelem // SOURCE: "/i18n_message_container_tag.ts" "</div>'"
| {
"end_byte": 610,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_container_tag_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_simple_partial.js_0_160 | $localize`Hello, World!` // SOURCE: "/i18n_message_simple.ts" "Hello, World!"
…
.ɵɵelementStart(0, "div") // SOURCE: "/i18n_message_simple.ts" "<div i18n>"
| {
"end_byte": 160,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_simple_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_simple_partial.js_0_373 | …
.ɵɵelementStart(1, "input", 0) // SOURCE: "/two_way_binding_simple.ts" "<input "
…
// TODO: improve mappings here
.ɵɵtwoWayListener("ngModelChange", function TestCmp_Template_input_ngModelChange_1_listener($event) {\n // SOURCE: "/two_way_binding_simple.ts" "[(ngModel)]=\"name\">'"
…
.ɵɵelementEnd() // SOURCE: "/two_way_binding_simple.ts" "<input "
| {
"end_byte": 373,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_simple_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_with_pipe.js_0_282 | i0.ɵɵelementStart(0, "div") // SOURCE: "/interpolation_with_pipe.ts" "<div>"
…
i0.ɵɵelementEnd() // SOURCE: "/interpolation_with_pipe.ts" "</div>"
…
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, 200.3, 2)) // SOURCE: "/interpolation_with_pipe.ts" "{{200.3 | percent : 2 }}"
| {
"end_byte": 282,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_with_pipe.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/void_element.ts_0_153 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<hr>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 153,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/void_element.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_simple.ts_0_196 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div [title]="name"></div>',
standalone: false
})
export class TestCmp {
name: string = '';
}
| {
"end_byte": 196,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_simple.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/simple_element.js_0_207 | i0.ɵɵelementStart(0, "h1") // SOURCE: "/simple_element.ts" "<h1>"
…
i0.ɵɵtext(1, "Heading 1") // SOURCE: "/simple_element.ts" "Heading 1"
…
i0.ɵɵelementEnd() // SOURCE: "/simple_element.ts" "</h1>" | {
"end_byte": 207,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/simple_element.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_if_simple.js_0_479 | i0.ɵɵelementStart(0, "div") // SOURCE: "/ng_if_simple.ts" "<div *"
…
i0.ɵɵtext(1) // SOURCE: "/ng_if_simple.ts" "{{ name }}"
…
i0.ɵɵelementEnd() // SOURCE: "/ng_if_simple.ts" "</div>"
…
i0.ɵɵtextInterpolate(ctx_r0.name) // SOURCE: "/ng_if_simple.ts" "{{ name }}"
…
i0.ɵɵtemplate(0, TestCmp_div_0_Template, 2, 1, "div", 0) // SOURCE: "/ng_if_simple.ts" "<div *"
…
i0.ɵɵproperty("ngIf", ctx.showMessage()) // SOURCE: "/ng_if_simple.ts" "ngIf=\"showMessage()"
| {
"end_byte": 479,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/ng_if_simple.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_element_whitespace.ts_0_211 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div i18n>\n pre-p\n <p>\n in-p\n </p>\n post-p\n</div>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 211,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_element_whitespace.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_longhand.ts_0_542 | import {Component, Directive, EventEmitter, Input, NgModule, Output} from '@angular/core';
@Component({
selector: 'test-cmp',
template: 'Name: <input bindon-ngModel="name">',
standalone: false
})
export class TestCmp {
name: string = '';
}
@Directive({
selector: '[ngModel]',
standalone: false
})
export class NgModelDirective {
@Input() ngModel: string = '';
@Output() ngModelChanges: EventEmitter<string> = new EventEmitter();
}
@NgModule({declarations: [TestCmp, NgModelDirective]})
export class AppModule {
}
| {
"end_byte": 542,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_longhand.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_longhand.ts_0_199 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div bind-title="name"></div>',
standalone: false
})
export class TestCmp {
name: string = '';
}
| {
"end_byte": 199,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_longhand.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder.ts_0_202 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div i18n>Hello, {{name}}!</div>',
standalone: false
})
export class TestCmp {
name: string = '';
}
| {
"end_byte": 202,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_placeholder.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_container_tag.ts_0_185 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<div i18n>Hello, <b>World</b>!</div>',
standalone: false
})
export class TestCmp {
}
| {
"end_byte": 185,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/i18n_message_container_tag.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/void_element_partial.js_0_125 | // TODO: Work out how to fix the broken segment for the last item in a template
.ɵɵel // SOURCE: "/void_element.ts" "<hr>'" | {
"end_byte": 125,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/void_element_partial.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_class.js_0_337 | i0.ɵɵelementStart(0, "div") // SOURCE: "/input_binding_class.ts" "<div "
…
i0.ɵɵtext(1, "Message") // SOURCE: "/input_binding_class.ts" "Message"
…
i0.ɵɵelementEnd() // SOURCE: "/input_binding_class.ts" "</div>"
…
i0.ɵɵclassProp("initial", ctx.isInitial) // SOURCE: "/input_binding_class.ts" "[class.initial]=\"isInitial\"" | {
"end_byte": 337,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/input_binding_class.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_complex.js_0_275 | i0.ɵɵelementStart(0, "h2") // SOURCE: "/interpolation_complex.ts" "<h2>"
…
i0.ɵɵelementEnd() // SOURCE: "/interpolation_complex.ts" "</h2>"
…
i0.ɵɵtextInterpolate(ctx.greeting + " " + ctx.name) // SOURCE: "/interpolation_complex.ts" "{{ greeting + \" \" + name }}"
| {
"end_byte": 275,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/interpolation_complex.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_simple.ts_0_539 | import {Component, Directive, EventEmitter, Input, NgModule, Output} from '@angular/core';
@Component({
selector: 'test-cmp',
template: 'Name: <input [(ngModel)]="name">',
standalone: false
})
export class TestCmp {
name: string = '';
}
@Directive({
selector: '[ngModel]',
standalone: false
})
export class NgModelDirective {
@Input() ngModel: string = '';
@Output() ngModelChanges: EventEmitter<string> = new EventEmitter();
}
@NgModule({declarations: [TestCmp, NgModelDirective]})
export class AppModule {
}
| {
"end_byte": 539,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/two_way_binding_simple.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_longhand.ts_0_215 | import {Component} from '@angular/core';
@Component({
selector: 'test-cmp',
template: '<button on-click="doSomething()">Do it</button>',
standalone: false
})
export class TestCmp {
doSomething() {}
}
| {
"end_byte": 215,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/source_mapping/inline_templates/output_binding_longhand.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/multiple_pipes.js_0_1771 | consts: () => {
__i18nMsg__('{$interpolation} and {$interpolation_1}', [['interpolation', String.raw`\uFFFD0\uFFFD`], ['interpolation_1', String.raw`\uFFFD1\uFFFD`]], {original_code: {'interpolation': '{{ valueA | pipeA }}', 'interpolation_1': '{{ valueB | pipeB }}'}}, {})
__i18nMsg__('{$startTagSpan}{$interpolation}{$closeTagSpan} and {$interpolation_1} {$startTagSpan}and {$interpolation_2}{$closeTagSpan}', [['closeTagSpan', String.raw`[\uFFFD/#6\uFFFD|\uFFFD/#9\uFFFD]`], ['interpolation', String.raw`\uFFFD0\uFFFD`], ['interpolation_1', String.raw`\uFFFD1\uFFFD`], ['interpolation_2', String.raw`\uFFFD2\uFFFD`], ['startTagSpan', String.raw`[\uFFFD#6\uFFFD|\uFFFD#9\uFFFD]`]], {original_code: {'closeTagSpan': '</span>', 'interpolation': '{{ valueA | pipeA }}', 'interpolation_1': '{{ valueB | pipeB }}', 'interpolation_2': '{{ valueC | pipeC }}', 'startTagSpan': '<span>'}}, {})
…
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18n(1, 0);
$r3$.ɵɵpipe(2, "pipeA");
$r3$.ɵɵpipe(3, "pipeB");
$r3$.ɵɵelementEnd();
$r3$.ɵɵelementStart(4, "div");
$r3$.ɵɵi18nStart(5, 1);
$r3$.ɵɵelement(6, "span");
$r3$.ɵɵpipe(7, "pipeA");
$r3$.ɵɵpipe(8, "pipeB");
$r3$.ɵɵelement(9, "span");
$r3$.ɵɵpipe(10, "pipeC");
$r3$.ɵɵi18nEnd();
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
$r3$.ɵɵadvance(3);
$r3$.ɵɵi18nExp($r3$.ɵɵpipeBind1(2, …, ctx.valueA))($r3$.ɵɵpipeBind1(3, …, ctx.valueB));
$r3$.ɵɵi18nApply(1);
$r3$.ɵɵadvance(7);
$r3$.ɵɵi18nExp($r3$.ɵɵpipeBind1(7, …, ctx.valueA))($r3$.ɵɵpipeBind1(8, …, ctx.valueB))($r3$.ɵɵpipeBind1(10, …, ctx.valueC));
$r3$.ɵɵi18nApply(5);
}
}
| {
"end_byte": 1771,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/multiple_pipes.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/GOLDEN_PARTIAL.js_0_6695 | /****************************************************************************************************
* PARTIAL FILE: repeated_placeholder.js
****************************************************************************************************/
import { Component, NgModule } from '@angular/core';
import * as i0 from "@angular/core";
export class MyComponent {
}
MyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: MyComponent, isStandalone: false, selector: "my-component", ngImport: i0, template: `
<div i18n>Hello, {{ placeholder }}! You are a very good {{ placeholder }}.</div>
<div i18n>Hello, {{ placeholder // i18n(ph = "ph") }}! Hello again {{ placeholder // i18n(ph = "ph") }}.</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, decorators: [{
type: Component,
args: [{
selector: 'my-component',
template: `
<div i18n>Hello, {{ placeholder }}! You are a very good {{ placeholder }}.</div>
<div i18n>Hello, {{ placeholder // i18n(ph = "ph") }}! Hello again {{ placeholder // i18n(ph = "ph") }}.</div>
`,
standalone: false
}]
}] });
export class MyModule {
}
MyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
MyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, declarations: [MyComponent] });
MyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, decorators: [{
type: NgModule,
args: [{ declarations: [MyComponent] }]
}] });
/****************************************************************************************************
* PARTIAL FILE: repeated_placeholder.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyComponent {
placeholder: any;
static ɵfac: i0.ɵɵFactoryDeclaration<MyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyComponent, "my-component", never, {}, {}, never, never, false, never>;
}
export declare class MyModule {
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
}
/****************************************************************************************************
* PARTIAL FILE: multiple_pipes.js
****************************************************************************************************/
import { Component, NgModule, Pipe } from '@angular/core';
import * as i0 from "@angular/core";
export class MyComponent {
}
MyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: MyComponent, isStandalone: false, selector: "my-component", ngImport: i0, template: `
<div i18n>{{ valueA | pipeA }} and {{ valueB | pipeB }}</div>
<div i18n><span>{{ valueA | pipeA }}</span> and {{ valueB | pipeB }} <span>and {{ valueC | pipeC }}</span></div>
`, isInline: true, dependencies: [{ kind: "pipe", type: i0.forwardRef(() => PipeA), name: "pipeA" }, { kind: "pipe", type: i0.forwardRef(() => PipeB), name: "pipeB" }, { kind: "pipe", type: i0.forwardRef(() => PipeC), name: "pipeC" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, decorators: [{
type: Component,
args: [{
selector: 'my-component',
template: `
<div i18n>{{ valueA | pipeA }} and {{ valueB | pipeB }}</div>
<div i18n><span>{{ valueA | pipeA }}</span> and {{ valueB | pipeB }} <span>and {{ valueC | pipeC }}</span></div>
`,
standalone: false
}]
}] });
export class PipeA {
transform() {
return null;
}
}
PipeA.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeA, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
PipeA.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeA, isStandalone: false, name: "pipeA" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeA, decorators: [{
type: Pipe,
args: [{
name: 'pipeA',
standalone: false
}]
}] });
export class PipeB {
transform() {
return null;
}
}
PipeB.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeB, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
PipeB.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeB, isStandalone: false, name: "pipeB" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeB, decorators: [{
type: Pipe,
args: [{
name: 'pipeB',
standalone: false
}]
}] });
export class PipeC {
transform() {
return null;
}
}
PipeC.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeC, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
PipeC.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeC, isStandalone: false, name: "pipeC" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: PipeC, decorators: [{
type: Pipe,
args: [{
name: 'pipeC',
standalone: false
}]
}] });
export class MyModule {
}
MyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0 | {
"end_byte": 6695,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/GOLDEN_PARTIAL.js_6696_10794 | PLACEHOLDER", ngImport: i0, type: MyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
MyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, declarations: [MyComponent, PipeA, PipeB, PipeC] });
MyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, decorators: [{
type: NgModule,
args: [{ declarations: [MyComponent, PipeA, PipeB, PipeC] }]
}] });
/****************************************************************************************************
* PARTIAL FILE: multiple_pipes.d.ts
****************************************************************************************************/
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class MyComponent {
valueA: 0;
valueB: 0;
valueC: 0;
static ɵfac: i0.ɵɵFactoryDeclaration<MyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyComponent, "my-component", never, {}, {}, never, never, false, never>;
}
export declare class PipeA implements PipeTransform {
transform(): null;
static ɵfac: i0.ɵɵFactoryDeclaration<PipeA, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<PipeA, "pipeA", false>;
}
export declare class PipeB implements PipeTransform {
transform(): null;
static ɵfac: i0.ɵɵFactoryDeclaration<PipeB, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<PipeB, "pipeB", false>;
}
export declare class PipeC implements PipeTransform {
transform(): null;
static ɵfac: i0.ɵɵFactoryDeclaration<PipeC, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<PipeC, "pipeC", false>;
}
export declare class MyModule {
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent, typeof PipeA, typeof PipeB, typeof PipeC], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
}
/****************************************************************************************************
* PARTIAL FILE: icu_and_i18n.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class MyComponent {
}
MyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: MyComponent, isStandalone: true, selector: "my-component", ngImport: i0, template: `
<div i18n>
<div *ngFor="let diskView of disks">
{{diskView.name}} has {diskView.length, plural, =1 {VM} other {VMs}}
</div>
</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, decorators: [{
type: Component,
args: [{
selector: 'my-component',
template: `
<div i18n>
<div *ngFor="let diskView of disks">
{{diskView.name}} has {diskView.length, plural, =1 {VM} other {VMs}}
</div>
</div>
`,
}]
}] });
/****************************************************************************************************
* PARTIAL FILE: icu_and_i18n.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyComponent {
disks: any;
static ɵfac: i0.ɵɵFactoryDeclaration<MyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyComponent, "my-component", never, {}, {}, never, never, true, never>;
}
| {
"end_byte": 10794,
"start_byte": 6696,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/repeated_placeholder.js_0_431 | consts: () => {
__i18nMsgWithPostprocess__('Hello, {$interpolation}! You are a very good {$interpolation}.', [['interpolation', String.raw`[\uFFFD0\uFFFD|\uFFFD1\uFFFD]`]], {original_code: {'interpolation': '{{ placeholder }}'}}, {}, [])
__i18nMsgWithPostprocess__('Hello, {$ph}! Hello again {$ph}.', [['ph', String.raw`[\uFFFD0\uFFFD|\uFFFD1\uFFFD]`]], {original_code: {'ph': '{{ placeholder // i18n(ph = "ph") }}'}}, {}, [])
| {
"end_byte": 431,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/repeated_placeholder.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_and_i18n.ts_0_307 | import {Component} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>
<div *ngFor="let diskView of disks">
{{diskView.name}} has {diskView.length, plural, =1 {VM} other {VMs}}
</div>
</div>
`,
})
export class MyComponent {
disks: any;
}
| {
"end_byte": 307,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_and_i18n.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/repeated_placeholder.ts_0_458 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>Hello, {{ placeholder }}! You are a very good {{ placeholder }}.</div>
<div i18n>Hello, {{ placeholder // i18n(ph = "ph") }}! Hello again {{ placeholder // i18n(ph = "ph") }}.</div>
`,
standalone: false
})
export class MyComponent {
placeholder: any;
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
}
| {
"end_byte": 458,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/repeated_placeholder.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_and_i18n.js_0_711 | function MyComponent_div_2_Template(rf, ctx) {
if (rf & 1) {
i0.ɵɵi18nStart(0, 0, 1);
i0.ɵɵelement(1, "div");
i0.ɵɵi18nEnd();
} if (rf & 2) {
const diskView_r1 = ctx.$implicit;
i0.ɵɵadvance();
i0.ɵɵi18nExp(diskView_r1.name)(diskView_r1.length);
i0.ɵɵi18nApply(0);
}
}
…
function MyComponent_Template(rf, ctx) {
if (rf & 1) {
i0.ɵɵelementStart(0, "div");
i0.ɵɵi18nStart(1, 0);
i0.ɵɵtemplate(2, MyComponent_div_2_Template, 2, 2, "div", 1);
i0.ɵɵi18nEnd();
i0.ɵɵelementEnd();
} if (rf & 2) {
i0.ɵɵadvance(2);
i0.ɵɵproperty("ngForOf", ctx.disks);
}
}
| {
"end_byte": 711,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_and_i18n.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/multiple_pipes.ts_0_910 | import {Component, NgModule, Pipe, PipeTransform} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>{{ valueA | pipeA }} and {{ valueB | pipeB }}</div>
<div i18n><span>{{ valueA | pipeA }}</span> and {{ valueB | pipeB }} <span>and {{ valueC | pipeC }}</span></div>
`,
standalone: false
})
export class MyComponent {
valueA: 0;
valueB: 0;
valueC: 0;
}
@Pipe({
name: 'pipeA',
standalone: false
})
export class PipeA implements PipeTransform {
transform() {
return null;
}
}
@Pipe({
name: 'pipeB',
standalone: false
})
export class PipeB implements PipeTransform {
transform() {
return null;
}
}
@Pipe({
name: 'pipeC',
standalone: false
})
export class PipeC implements PipeTransform {
transform() {
return null;
}
}
@NgModule({declarations: [MyComponent, PipeA, PipeB, PipeC]})
export class MyModule {
}
| {
"end_byte": 910,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/multiple_pipes.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/defer_template.js_0_4160 | function MyApp_Defer_2_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 1);
$r3$.ɵɵelement(1, "span");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_DeferLoading_3_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 2);
$r3$.ɵɵelement(1, "button");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_DeferPlaceholder_4_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 3);
$r3$.ɵɵelement(1, "div");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_DeferError_5_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 4);
$r3$.ɵɵelement(1, "h1");
$r3$.ɵɵi18nEnd();
}
}
…
MyApp.ɵcmp = /*@__PURE__*/ $r3$.ɵɵdefineComponent({
…
consts: () => {
let i18n_0;
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
/**
* @suppress {msgDescriptions}
*/
const $MSG_ID_WITH_SUFFIX$ = goog.getMsg(" Content: {$startBlockDefer} before{$startTagSpan}middle{$closeTagSpan}after {$closeBlockDefer}{$startBlockPlaceholder} before{$startTagDiv}placeholder{$closeTagDiv}after {$closeBlockPlaceholder}{$startBlockLoading} before{$startTagButton}loading{$closeTagButton}after {$closeBlockLoading}{$startBlockError} before{$startHeadingLevel1}error{$closeHeadingLevel1}after {$closeBlockError}", {
"closeBlockDefer": "\uFFFD/*2:1\uFFFD",
"closeBlockError": "\uFFFD/*5:4\uFFFD",
"closeBlockLoading": "\uFFFD/*3:2\uFFFD",
"closeBlockPlaceholder": "\uFFFD/*4:3\uFFFD",
"closeHeadingLevel1": "\uFFFD/#1:4\uFFFD",
"closeTagButton": "\uFFFD/#1:2\uFFFD",
"closeTagDiv": "\uFFFD/#1:3\uFFFD",
"closeTagSpan": "\uFFFD/#1:1\uFFFD",
"startBlockDefer": "\uFFFD*2:1\uFFFD",
"startBlockError": "\uFFFD*5:4\uFFFD",
"startBlockLoading": "\uFFFD*3:2\uFFFD",
"startBlockPlaceholder": "\uFFFD*4:3\uFFFD",
"startHeadingLevel1": "\uFFFD#1:4\uFFFD",
"startTagButton": "\uFFFD#1:2\uFFFD",
"startTagDiv": "\uFFFD#1:3\uFFFD",
"startTagSpan": "\uFFFD#1:1\uFFFD"
}, {
original_code: {
"closeBlockDefer": "}",
"closeBlockError": "}",
"closeBlockLoading": "}",
"closeBlockPlaceholder": "}",
"closeHeadingLevel1": "</h1>",
"closeTagButton": "</button>",
"closeTagDiv": "</div>",
"closeTagSpan": "</span>",
"startBlockDefer": "@defer (when isLoaded) {",
"startBlockError": "@error {",
"startBlockLoading": "@loading {",
"startBlockPlaceholder": "@placeholder {",
"startHeadingLevel1": "<h1>",
"startTagButton": "<button>",
"startTagDiv": "<div>",
"startTagSpan": "<span>"
}
});
i18n_0 = $MSG_ID_WITH_SUFFIX$;
} else {
i18n_0 = $localize ` Content: ${"\uFFFD*2:1\uFFFD"}:START_BLOCK_DEFER: before${"\uFFFD#1:1\uFFFD"}:START_TAG_SPAN:middle${"\uFFFD/#1:1\uFFFD"}:CLOSE_TAG_SPAN:after ${"\uFFFD/*2:1\uFFFD"}:CLOSE_BLOCK_DEFER:${"\uFFFD*4:3\uFFFD"}:START_BLOCK_PLACEHOLDER: before${"\uFFFD#1:3\uFFFD"}:START_TAG_DIV:placeholder${"\uFFFD/#1:3\uFFFD"}:CLOSE_TAG_DIV:after ${"\uFFFD/*4:3\uFFFD"}:CLOSE_BLOCK_PLACEHOLDER:${"\uFFFD*3:2\uFFFD"}:START_BLOCK_LOADING: before${"\uFFFD#1:2\uFFFD"}:START_TAG_BUTTON:loading${"\uFFFD/#1:2\uFFFD"}:CLOSE_TAG_BUTTON:after ${"\uFFFD/*3:2\uFFFD"}:CLOSE_BLOCK_LOADING:${"\uFFFD*5:4\uFFFD"}:START_BLOCK_ERROR: before${"\uFFFD#1:4\uFFFD"}:START_HEADING_LEVEL1:error${"\uFFFD/#1:4\uFFFD"}:CLOSE_HEADING_LEVEL1:after ${"\uFFFD/*5:4\uFFFD"}:CLOSE_BLOCK_ERROR:`;
}
return [i18n_0];
},
template: function MyApp_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18nStart(1, 0);
$r3$.ɵɵtemplate(2, MyApp_Defer_2_Template, 2, 0)(3, MyApp_DeferLoading_3_Template, 2, 0)(4, MyApp_DeferPlaceholder_4_Template, 2, 0)(5, MyApp_DeferError_5_Template, 2, 0);
$r3$.ɵɵdefer(6, 2, null, 3, 4, 5);
$r3$.ɵɵi18nEnd();
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
$r3$.ɵɵadvance(6);
$r3$.ɵɵdeferWhen(ctx.isLoaded);
}
},
…
});
| {
"end_byte": 4160,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/defer_template.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/switch_template.js_0_3270 | function MyApp_Case_2_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 1);
$r3$.ɵɵelement(1, "span");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_Case_3_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 2);
$r3$.ɵɵelement(1, "div");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_Case_4_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 3);
$r3$.ɵɵelement(1, "button");
$r3$.ɵɵi18nEnd();
}
}
…
MyApp.ɵcmp = /*@__PURE__*/ $r3$.ɵɵdefineComponent({
…
consts: () => {
let i18n_0;
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
/**
* @suppress {msgDescriptions}
*/
const $MSG_ID_WITH_SUFFIX$ = goog.getMsg(" Content: {$startBlockCase}before{$startTagSpan}zero{$closeTagSpan}after{$closeBlockCase}{$startBlockCase_1}before{$startTagDiv}one{$closeTagDiv}after{$closeBlockCase}{$startBlockDefault}before{$startTagButton}otherwise{$closeTagButton}after{$closeBlockDefault}", {
"closeBlockCase": "[\uFFFD/*2:1\uFFFD|\uFFFD/*3:2\uFFFD]",
"closeBlockDefault": "\uFFFD/*4:3\uFFFD",
"closeTagButton": "\uFFFD/#1:3\uFFFD",
"closeTagDiv": "\uFFFD/#1:2\uFFFD",
"closeTagSpan": "\uFFFD/#1:1\uFFFD",
"startBlockCase": "\uFFFD*2:1\uFFFD",
"startBlockCase_1": "\uFFFD*3:2\uFFFD",
"startBlockDefault": "\uFFFD*4:3\uFFFD",
"startTagButton": "\uFFFD#1:3\uFFFD",
"startTagDiv": "\uFFFD#1:2\uFFFD",
"startTagSpan": "\uFFFD#1:1\uFFFD"
}, {
original_code: {
"closeBlockCase": "}",
"closeBlockDefault": "}",
"closeTagButton": "</button>",
"closeTagDiv": "</div>",
"closeTagSpan": "</span>",
"startBlockCase": "@case (0) {",
"startBlockCase_1": "@case (1) {",
"startBlockDefault": "@default {",
"startTagButton": "<button>",
"startTagDiv": "<div>",
"startTagSpan": "<span>"
}
});
i18n_0 = $MSG_ID_WITH_SUFFIX$;
} else {
i18n_0 = $localize` Content: ${"\uFFFD*2:1\uFFFD"}:START_BLOCK_CASE:before${"\uFFFD#1:1\uFFFD"}:START_TAG_SPAN:zero${"\uFFFD/#1:1\uFFFD"}:CLOSE_TAG_SPAN:after${"[\uFFFD/*2:1\uFFFD|\uFFFD/*3:2\uFFFD]"}:CLOSE_BLOCK_CASE:${"\uFFFD*3:2\uFFFD"}:START_BLOCK_CASE_1:before${"\uFFFD#1:2\uFFFD"}:START_TAG_DIV:one${"\uFFFD/#1:2\uFFFD"}:CLOSE_TAG_DIV:after${"[\uFFFD/*2:1\uFFFD|\uFFFD/*3:2\uFFFD]"}:CLOSE_BLOCK_CASE:${"\uFFFD*4:3\uFFFD"}:START_BLOCK_DEFAULT:before${"\uFFFD#1:3\uFFFD"}:START_TAG_BUTTON:otherwise${"\uFFFD/#1:3\uFFFD"}:CLOSE_TAG_BUTTON:after${"\uFFFD/*4:3\uFFFD"}:CLOSE_BLOCK_DEFAULT:`;
}
i18n_0 = $r3$.ɵɵi18nPostprocess(i18n_0);
return [i18n_0];
},
template: function MyApp_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18nStart(1, 0);
$r3$.ɵɵtemplate(2, MyApp_Case_2_Template, 2, 0)(3, MyApp_Case_3_Template, 2, 0)(4, MyApp_Case_4_Template, 2, 0);
$r3$.ɵɵi18nEnd();
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
let $MyApp_contFlowTmp$;
$r3$.ɵɵadvance(2);
$r3$.ɵɵconditional(($MyApp_contFlowTmp$ = ctx.count) === 0 ? 2 : $MyApp_contFlowTmp$ === 1 ? 3 : 4);
}
},
…
});
| {
"end_byte": 3270,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/switch_template.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/conditional.ts_0_452 | import {Component} from '@angular/core';
@Component({
template: `
<div i18n>
Content:
@if (count === 0) {
before<span>zero</span>after
} @else if (count === 1) {
before<div>one</div>after
} @else {
before<button>otherwise</button>after
}!
@if (count === 7) {
before<span>seven</span>after
}
</div>
`,
standalone: false
})
export class MyApp {
count = 0;
}
| {
"end_byte": 452,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/conditional.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/for.ts_0_328 | import {Component} from '@angular/core';
@Component({
template: `
<div i18n>
Content:
@for (item of items; track item) {
before<span>middle</span>after
} @empty {
before<div>empty</div>after
}!
</div>
`,
standalone: false
})
export class MyApp {
items = [1, 2, 3];
}
| {
"end_byte": 328,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/for.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/defer.ts_0_442 | import {Component} from '@angular/core';
@Component({
template: `
<div i18n>
Content:
@defer (when isLoaded) {
before<span>middle</span>after
} @placeholder {
before<div>placeholder</div>after
} @loading {
before<button>loading</button>after
} @error {
before<h1>error</h1>after
}
</div>
`,
standalone: false
})
export class MyApp {
isLoaded = false;
}
| {
"end_byte": 442,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/defer.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/GOLDEN_PARTIAL.js_0_8229 | /****************************************************************************************************
* PARTIAL FILE: conditional.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class MyApp {
constructor() {
this.count = 0;
}
}
MyApp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyApp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "0.0.0-PLACEHOLDER", type: MyApp, isStandalone: false, selector: "ng-component", ngImport: i0, template: `
<div i18n>
Content:
@if (count === 0) {
before<span>zero</span>after
} @else if (count === 1) {
before<div>one</div>after
} @else {
before<button>otherwise</button>after
}!
@if (count === 7) {
before<span>seven</span>after
}
</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, decorators: [{
type: Component,
args: [{
template: `
<div i18n>
Content:
@if (count === 0) {
before<span>zero</span>after
} @else if (count === 1) {
before<div>one</div>after
} @else {
before<button>otherwise</button>after
}!
@if (count === 7) {
before<span>seven</span>after
}
</div>
`,
standalone: false
}]
}] });
/****************************************************************************************************
* PARTIAL FILE: conditional.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyApp {
count: number;
static ɵfac: i0.ɵɵFactoryDeclaration<MyApp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyApp, "ng-component", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: switch.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class MyApp {
constructor() {
this.count = 0;
}
}
MyApp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyApp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "0.0.0-PLACEHOLDER", type: MyApp, isStandalone: false, selector: "ng-component", ngImport: i0, template: `
<div i18n>
Content:
@switch (count) {
@case (0) {before<span>zero</span>after}
@case (1) {before<div>one</div>after}
@default {before<button>otherwise</button>after}
}
</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, decorators: [{
type: Component,
args: [{
template: `
<div i18n>
Content:
@switch (count) {
@case (0) {before<span>zero</span>after}
@case (1) {before<div>one</div>after}
@default {before<button>otherwise</button>after}
}
</div>
`,
standalone: false
}]
}] });
/****************************************************************************************************
* PARTIAL FILE: switch.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyApp {
count: number;
static ɵfac: i0.ɵɵFactoryDeclaration<MyApp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyApp, "ng-component", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: for.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class MyApp {
constructor() {
this.items = [1, 2, 3];
}
}
MyApp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyApp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "0.0.0-PLACEHOLDER", type: MyApp, isStandalone: false, selector: "ng-component", ngImport: i0, template: `
<div i18n>
Content:
@for (item of items; track item) {
before<span>middle</span>after
} @empty {
before<div>empty</div>after
}!
</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, decorators: [{
type: Component,
args: [{
template: `
<div i18n>
Content:
@for (item of items; track item) {
before<span>middle</span>after
} @empty {
before<div>empty</div>after
}!
</div>
`,
standalone: false
}]
}] });
/****************************************************************************************************
* PARTIAL FILE: for.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyApp {
items: number[];
static ɵfac: i0.ɵɵFactoryDeclaration<MyApp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyApp, "ng-component", never, {}, {}, never, never, false, never>;
}
/****************************************************************************************************
* PARTIAL FILE: defer.js
****************************************************************************************************/
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
export class MyApp {
constructor() {
this.isLoaded = false;
}
}
MyApp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyApp.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "0.0.0-PLACEHOLDER", type: MyApp, isStandalone: false, selector: "ng-component", ngImport: i0, template: `
<div i18n>
Content:
@defer (when isLoaded) {
before<span>middle</span>after
} @placeholder {
before<div>placeholder</div>after
} @loading {
before<button>loading</button>after
} @error {
before<h1>error</h1>after
}
</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyApp, decorators: [{
type: Component,
args: [{
template: `
<div i18n>
Content:
@defer (when isLoaded) {
before<span>middle</span>after
} @placeholder {
before<div>placeholder</div>after
} @loading {
before<button>loading</button>after
} @error {
before<h1>error</h1>after
}
</div>
`,
standalone: false
}]
}] });
/****************************************************************************************************
* PARTIAL FILE: defer.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyApp {
isLoaded: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<MyApp, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyApp, "ng-component", never, {}, {}, never, never, false, never>;
}
| {
"end_byte": 8229,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/switch.ts_0_362 | import {Component} from '@angular/core';
@Component({
template: `
<div i18n>
Content:
@switch (count) {
@case (0) {before<span>zero</span>after}
@case (1) {before<div>one</div>after}
@default {before<button>otherwise</button>after}
}
</div>
`,
standalone: false
})
export class MyApp {
count = 0;
}
| {
"end_byte": 362,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/switch.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/conditional_template.js_0_4077 | function MyApp_Conditional_2_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 1);
$r3$.ɵɵelement(1, "span");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_Conditional_3_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 2);
$r3$.ɵɵelement(1, "div");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_Conditional_4_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 3);
$r3$.ɵɵelement(1, "button");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_Conditional_5_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 4);
$r3$.ɵɵelement(1, "span");
$r3$.ɵɵi18nEnd();
}
}
…
MyApp.ɵcmp = /*@__PURE__*/ $r3$.ɵɵdefineComponent({
…
consts: () => {
let i18n_0;
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
/**
* @suppress {msgDescriptions}
*/
const $MSG_ID_WITH_SUFFIX$ = goog.getMsg(" Content: {$startBlockIf} before{$startTagSpan}zero{$closeTagSpan}after {$closeBlockIf}{$startBlockElseIf} before{$startTagDiv}one{$closeTagDiv}after {$closeBlockElseIf}{$startBlockElse} before{$startTagButton}otherwise{$closeTagButton}after {$closeBlockElse}! {$startBlockIf_1} before{$startTagSpan}seven{$closeTagSpan}after {$closeBlockIf}", {
"closeBlockElse": "\uFFFD/*4:3\uFFFD",
"closeBlockElseIf": "\uFFFD/*3:2\uFFFD",
"closeBlockIf": "[\uFFFD/*2:1\uFFFD|\uFFFD/*5:4\uFFFD]",
"closeTagButton": "\uFFFD/#1:3\uFFFD",
"closeTagDiv": "\uFFFD/#1:2\uFFFD",
"closeTagSpan": "[\uFFFD/#1:1\uFFFD|\uFFFD/#1:4\uFFFD]",
"startBlockElse": "\uFFFD*4:3\uFFFD",
"startBlockElseIf": "\uFFFD*3:2\uFFFD",
"startBlockIf": "\uFFFD*2:1\uFFFD",
"startBlockIf_1": "\uFFFD*5:4\uFFFD",
"startTagButton": "\uFFFD#1:3\uFFFD",
"startTagDiv": "\uFFFD#1:2\uFFFD",
"startTagSpan": "[\uFFFD#1:1\uFFFD|\uFFFD#1:4\uFFFD]"
}, {
original_code: {
"closeBlockElse": "}",
"closeBlockElseIf": "}",
"closeBlockIf": "}",
"closeTagButton": "</button>",
"closeTagDiv": "</div>",
"closeTagSpan": "</span>",
"startBlockElse": "@else {",
"startBlockElseIf": "@else if (count === 1) {",
"startBlockIf": "@if (count === 0) {",
"startBlockIf_1": "@if (count === 7) {",
"startTagButton": "<button>",
"startTagDiv": "<div>",
"startTagSpan": "<span>"
}
});
i18n_0 = $MSG_ID_WITH_SUFFIX$;
} else {
i18n_0 = $localize` Content: ${"\uFFFD*2:1\uFFFD"}:START_BLOCK_IF: before${"[\uFFFD#1:1\uFFFD|\uFFFD#1:4\uFFFD]"}:START_TAG_SPAN:zero${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:4\uFFFD]"}:CLOSE_TAG_SPAN:after ${"[\uFFFD/*2:1\uFFFD|\uFFFD/*5:4\uFFFD]"}:CLOSE_BLOCK_IF:${"\uFFFD*3:2\uFFFD"}:START_BLOCK_ELSE_IF: before${"\uFFFD#1:2\uFFFD"}:START_TAG_DIV:one${"\uFFFD/#1:2\uFFFD"}:CLOSE_TAG_DIV:after ${"\uFFFD/*3:2\uFFFD"}:CLOSE_BLOCK_ELSE_IF:${"\uFFFD*4:3\uFFFD"}:START_BLOCK_ELSE: before${"\uFFFD#1:3\uFFFD"}:START_TAG_BUTTON:otherwise${"\uFFFD/#1:3\uFFFD"}:CLOSE_TAG_BUTTON:after ${"\uFFFD/*4:3\uFFFD"}:CLOSE_BLOCK_ELSE:! ${"\uFFFD*5:4\uFFFD"}:START_BLOCK_IF_1: before${"[\uFFFD#1:1\uFFFD|\uFFFD#1:4\uFFFD]"}:START_TAG_SPAN:seven${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:4\uFFFD]"}:CLOSE_TAG_SPAN:after ${"[\uFFFD/*2:1\uFFFD|\uFFFD/*5:4\uFFFD]"}:CLOSE_BLOCK_IF:`;
}
i18n_0 = $r3$.ɵɵi18nPostprocess(i18n_0);
return [i18n_0];
},
template: function MyApp_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18nStart(1, 0);
$r3$.ɵɵtemplate(2, MyApp_Conditional_2_Template, 2, 0)(3, MyApp_Conditional_3_Template, 2, 0)(4, MyApp_Conditional_4_Template, 2, 0)(5, MyApp_Conditional_5_Template, 2, 0);
$r3$.ɵɵi18nEnd();
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
$r3$.ɵɵadvance(2);
$r3$.ɵɵconditional(ctx.count === 0 ? 2 : ctx.count === 1 ? 3 : 4);
$r3$.ɵɵadvance(3);
$r3$.ɵɵconditional(ctx.count === 7 ? 5 : -1);
}
},
…
});
| {
"end_byte": 4077,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/conditional_template.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/for_template.js_0_2412 | function MyApp_For_3_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 1);
$r3$.ɵɵelement(1, "span");
$r3$.ɵɵi18nEnd();
}
}
function MyApp_ForEmpty_4_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18nStart(0, 0, 2);
$r3$.ɵɵelement(1, "div");
$r3$.ɵɵi18nEnd();
}
}
…
MyApp.ɵcmp = /*@__PURE__*/ $r3$.ɵɵdefineComponent({
…
consts: () => {
let i18n_0;
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
/**
* @suppress {msgDescriptions}
*/
const $MSG_ID_WITH_SUFFIX$ = goog.getMsg(" Content: {$startBlockFor} before{$startTagSpan}middle{$closeTagSpan}after {$closeBlockFor}{$startBlockEmpty} before{$startTagDiv}empty{$closeTagDiv}after {$closeBlockEmpty}! ", {
"closeBlockEmpty": "\uFFFD/*4:2\uFFFD",
"closeBlockFor": "\uFFFD/*3:1\uFFFD",
"closeTagDiv": "\uFFFD/#1:2\uFFFD",
"closeTagSpan": "\uFFFD/#1:1\uFFFD",
"startBlockEmpty": "\uFFFD*4:2\uFFFD",
"startBlockFor": "\uFFFD*3:1\uFFFD",
"startTagDiv": "\uFFFD#1:2\uFFFD",
"startTagSpan": "\uFFFD#1:1\uFFFD"
}, {
original_code: {
"closeBlockEmpty": "}",
"closeBlockFor": "}",
"closeTagDiv": "</div>",
"closeTagSpan": "</span>",
"startBlockEmpty": "@empty {",
"startBlockFor": "@for (item of items; track item) {",
"startTagDiv": "<div>",
"startTagSpan": "<span>"
}
});
i18n_0 = $MSG_ID_WITH_SUFFIX$;
} else {
i18n_0 = $localize` Content: ${"\uFFFD*3:1\uFFFD"}:START_BLOCK_FOR: before${"\uFFFD#1:1\uFFFD"}:START_TAG_SPAN:middle${"\uFFFD/#1:1\uFFFD"}:CLOSE_TAG_SPAN:after ${"\uFFFD/*3:1\uFFFD"}:CLOSE_BLOCK_FOR:${"\uFFFD*4:2\uFFFD"}:START_BLOCK_EMPTY: before${"\uFFFD#1:2\uFFFD"}:START_TAG_DIV:empty${"\uFFFD/#1:2\uFFFD"}:CLOSE_TAG_DIV:after ${"\uFFFD/*4:2\uFFFD"}:CLOSE_BLOCK_EMPTY:! `;
}
return [i18n_0];
},
template: function MyApp_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18nStart(1, 0);
$r3$.ɵɵrepeaterCreate(2, MyApp_For_3_Template, 2, 0, null, null, $r3$.ɵɵrepeaterTrackByIdentity, false, MyApp_ForEmpty_4_Template, 2, 0);
$r3$.ɵɵi18nEnd();
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
$r3$.ɵɵadvance(2);
$r3$.ɵɵrepeater(ctx.items);
}
},
…
});
| {
"end_byte": 2412,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/blocks/for_template.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/text_only_content.js_0_256 | consts: () => {
__i18nMsg__('My i18n block #1', [], {}, {})
return [
$i18n_0$
];
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18n(1, 0);
$r3$.ɵɵelementEnd();
}
}
| {
"end_byte": 256,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/text_only_content.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/icu_only.js_0_457 | decls: 2,
vars: 1,
consts: () => {
__i18nIcuMsg__('{VAR_SELECT, select, 10 {ten} 20 {twenty} other {other}}', [['VAR_SELECT', String.raw`\uFFFD0\uFFFD`]], {})
return [
$i18n_0$
];
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18n(1, 0);
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
$r3$.ɵɵadvance();
$r3$.ɵɵi18nExp(ctx.age);
$r3$.ɵɵi18nApply(1);
}
}
| {
"end_byte": 457,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/icu_only.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/styles.ts_0_330 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<span i18n class="myClass">Text #1</span>
<span i18n style="padding: 10px;">Text #2</span>
`,
standalone: false
})
export class MyComponent {
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
} | {
"end_byte": 330,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/styles.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/ng-container_ng-template.ts_0_339 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<ng-template i18n>My i18n block #1</ng-template>
<ng-container i18n>My i18n block #2</ng-container>
`,
standalone: false
})
export class MyComponent {
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
} | {
"end_byte": 339,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/ng-container_ng-template.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/GOLDEN_PARTIAL.js_0_7176 | /****************************************************************************************************
* PARTIAL FILE: text_only_content.js
****************************************************************************************************/
import { Component, NgModule } from '@angular/core';
import * as i0 from "@angular/core";
export class MyComponent {
}
MyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: MyComponent, isStandalone: false, selector: "my-component", ngImport: i0, template: `
<div i18n>My i18n block #1</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, decorators: [{
type: Component,
args: [{
selector: 'my-component',
template: `
<div i18n>My i18n block #1</div>
`,
standalone: false
}]
}] });
export class MyModule {
}
MyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
MyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, declarations: [MyComponent] });
MyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, decorators: [{
type: NgModule,
args: [{ declarations: [MyComponent] }]
}] });
/****************************************************************************************************
* PARTIAL FILE: text_only_content.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<MyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyComponent, "my-component", never, {}, {}, never, never, false, never>;
}
export declare class MyModule {
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
}
/****************************************************************************************************
* PARTIAL FILE: icu_only.js
****************************************************************************************************/
import { Component, NgModule } from '@angular/core';
import * as i0 from "@angular/core";
export class MyComponent {
constructor() {
this.age = 1;
}
}
MyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: MyComponent, isStandalone: false, selector: "my-component", ngImport: i0, template: `
<div i18n>{age, select, 10 {ten} 20 {twenty} other {other}}</div>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, decorators: [{
type: Component,
args: [{
selector: 'my-component',
template: `
<div i18n>{age, select, 10 {ten} 20 {twenty} other {other}}</div>
`,
standalone: false
}]
}] });
export class MyModule {
}
MyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
MyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, declarations: [MyComponent] });
MyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, decorators: [{
type: NgModule,
args: [{ declarations: [MyComponent] }]
}] });
/****************************************************************************************************
* PARTIAL FILE: icu_only.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyComponent {
age: number;
static ɵfac: i0.ɵɵFactoryDeclaration<MyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyComponent, "my-component", never, {}, {}, never, never, false, never>;
}
export declare class MyModule {
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
}
/****************************************************************************************************
* PARTIAL FILE: ng-container_ng-template.js
****************************************************************************************************/
import { Component, NgModule } from '@angular/core';
import * as i0 from "@angular/core";
export class MyComponent {
}
MyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: MyComponent, isStandalone: false, selector: "my-component", ngImport: i0, template: `
<ng-template i18n>My i18n block #1</ng-template>
<ng-container i18n>My i18n block #2</ng-container>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, decorators: [{
type: Component,
args: [{
selector: 'my-component',
template: `
<ng-template i18n>My i18n block #1</ng-template>
<ng-container i18n>My i18n block #2</ng-container>
`,
standalone: false
}]
}] });
export class MyModule {
}
MyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
MyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, declarations: [MyComponent] });
MyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, | {
"end_byte": 7176,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/GOLDEN_PARTIAL.js_7177_10881 | ype: MyModule, decorators: [{
type: NgModule,
args: [{ declarations: [MyComponent] }]
}] });
/****************************************************************************************************
* PARTIAL FILE: ng-container_ng-template.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<MyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyComponent, "my-component", never, {}, {}, never, never, false, never>;
}
export declare class MyModule {
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
}
/****************************************************************************************************
* PARTIAL FILE: styles.js
****************************************************************************************************/
import { Component, NgModule } from '@angular/core';
import * as i0 from "@angular/core";
export class MyComponent {
}
MyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", type: MyComponent, isStandalone: false, selector: "my-component", ngImport: i0, template: `
<span i18n class="myClass">Text #1</span>
<span i18n style="padding: 10px;">Text #2</span>
`, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyComponent, decorators: [{
type: Component,
args: [{
selector: 'my-component',
template: `
<span i18n class="myClass">Text #1</span>
<span i18n style="padding: 10px;">Text #2</span>
`,
standalone: false
}]
}] });
export class MyModule {
}
MyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
MyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, declarations: [MyComponent] });
MyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDER", ngImport: i0, type: MyModule, decorators: [{
type: NgModule,
args: [{ declarations: [MyComponent] }]
}] });
/****************************************************************************************************
* PARTIAL FILE: styles.d.ts
****************************************************************************************************/
import * as i0 from "@angular/core";
export declare class MyComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<MyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MyComponent, "my-component", never, {}, {}, never, never, false, never>;
}
export declare class MyModule {
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
}
| {
"end_byte": 10881,
"start_byte": 7177,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/GOLDEN_PARTIAL.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/icu_only.ts_0_317 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>{age, select, 10 {ten} 20 {twenty} other {other}}</div>
`,
standalone: false
})
export class MyComponent {
age = 1;
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
}
| {
"end_byte": 317,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/icu_only.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/text_only_content.ts_0_272 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>My i18n block #1</div>
`,
standalone: false
})
export class MyComponent {
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
} | {
"end_byte": 272,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/text_only_content.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/styles.pipeline.js_0_513 | decls: 4,
vars: 0,
consts: () => {
__i18nMsg__('Text #1', [], {}, {})
__i18nMsg__('Text #2', [], {}, {})
return [
$i18n_0$,
$i18n_1$,
[__AttributeMarker.Classes__, "myClass"],
[__AttributeMarker.Styles__, "padding", "10px"]
];
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "span", 2);
$r3$.ɵɵi18n(1, 0);
$r3$.ɵɵelementEnd();
$r3$.ɵɵelementStart(2, "span", 3);
$r3$.ɵɵi18n(3, 1);
$r3$.ɵɵelementEnd();
}
}
| {
"end_byte": 513,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/styles.pipeline.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/ng-container_ng-template.js_0_516 | function MyComponent_ng_template_0_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18n(0, 1);
}
}
…
consts: () => {
__i18nMsg__('My i18n block #2', [], {}, {})
__i18nMsg__('My i18n block #1', [], {}, {})
return [
$i18n_0$,
$i18n_1$
];
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵtemplate(0, MyComponent_ng_template_0_Template, 1, 0, "ng-template");
$r3$.ɵɵelementContainerStart(1);
$r3$.ɵɵi18n(2, 0);
$r3$.ɵɵelementContainerEnd();
}
}
| {
"end_byte": 516,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/self-closing_i18n_instructions/ng-container_ng-template.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/multiple_icus.ts_0_418 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>
{gender, select, male {male} female {female} other {other}}
{age, select, 10 {ten} 20 {twenty} 30 {thirty} other {other}}
</div>
`,
standalone: false
})
export class MyComponent {
gender = 'male';
age = 1;
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
}
| {
"end_byte": 418,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/multiple_icus.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/nested_icus.ts_0_445 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>
{gender, select,
male {male of age: {age, select, 10 {ten} 20 {twenty} 30 {thirty} other {other}}}
female {female}
other {other}
}
</div>
`,
standalone: false
})
export class MyComponent {
age = 1;
gender = 'male';
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
}
| {
"end_byte": 445,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/nested_icus.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/expressions.js_0_569 | decls: 2,
vars: 2,
consts: () => {
__i18nIcuMsg__('{VAR_SELECT, select, male {male of age: {INTERPOLATION}} female {female} other {other}}', [['INTERPOLATION', String.raw`\uFFFD1\uFFFD`], ['VAR_SELECT', String.raw`\uFFFD0\uFFFD`]], {})
return [
$i18n_0$
];
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18n(1, 0);
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
$r3$.ɵɵadvance();
$r3$.ɵɵi18nExp(ctx.gender)(ctx.ageA + ctx.ageB + ctx.ageC);
$r3$.ɵɵi18nApply(1);
}
}
| {
"end_byte": 569,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/expressions.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/keyword_spaces.ts_0_376 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>
{count, select , 1 {one} other {more than one}}
{count, plural , =1 {one} other {more than one}}
</div>
`,
standalone: false
})
export class MyComponent {
count = 0;
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
}
| {
"end_byte": 376,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/keyword_spaces.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/icu_with_interpolations.ts_0_521 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>
{gender, select, male {male {{ weight }}} female {female {{ height }}} other {other}}
<span *ngIf="ageVisible">
{age, select, 10 {ten} 20 {twenty} 30 {thirty} other {other: {{ otherAge }}}}
</span>
</div>
`,
standalone: false
})
export class MyComponent {
gender = 'male';
weight = 1;
height = 1;
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
}
| {
"end_byte": 521,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/icu_with_interpolations.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/custom_interpolation.js_0_505 | consts: () => {
__i18nIcuMsg__('{VAR_SELECT, select, 10 {ten} 20 {twenty} other {{INTERPOLATION}}}', [['INTERPOLATION', String.raw`\uFFFD1\uFFFD`], ['VAR_SELECT', String.raw`\uFFFD0\uFFFD`]], {})
return [
$i18n_0$
];
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵelementStart(0, "div");
$r3$.ɵɵi18n(1, 0);
$r3$.ɵɵelementEnd();
}
if (rf & 2) {
$r3$.ɵɵadvance();
$r3$.ɵɵi18nExp(ctx.age)(ctx.other);
$r3$.ɵɵi18nApply(1);
}
}
| {
"end_byte": 505,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/custom_interpolation.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/escape_quotes.js_0_574 | let $I18N_0$;
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
/**
* @suppress {msgDescriptions}
*/
const $MSG_EXTERNAL_4166854826696768832$$APP_SPEC_TS_0$ = goog.getMsg("{VAR_SELECT, select, single {'single quotes'} double {\"double quotes\"} other {other}}");
$I18N_0$ = $MSG_EXTERNAL_4166854826696768832$$APP_SPEC_TS_0$;
}
else {
$I18N_0$ = $localize `{VAR_SELECT, select, single {'single quotes'} double {"double quotes"} other {other}}`;
}
$I18N_0$ = $r3$.ɵɵi18nPostprocess($I18N_0$, {
"VAR_SELECT": "\uFFFD0\uFFFD"
}); | {
"end_byte": 574,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/escape_quotes.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/icu_only.js_0_369 | decls: 1,
vars: 1,
consts: () => {
__i18nIcuMsg__('{VAR_SELECT, select, 10 {ten} 20 {twenty} other {other}}', [['VAR_SELECT', String.raw`\uFFFD0\uFFFD`]], {})
return [
$i18n_0$
];
},
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵɵi18n(0, 0);
}
if (rf & 2) {
$r3$.ɵɵi18nExp(ctx.age);
$r3$.ɵɵi18nApply(0);
}
}
| {
"end_byte": 369,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/icu_only.js"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/different_contexts.ts_0_443 | import {Component, NgModule} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<div i18n>
{gender, select, male {male} female {female} other {other}}
<span *ngIf="ageVisible">
{age, select, 10 {ten} 20 {twenty} 30 {thirty} other {other}}
</span>
</div>
`,
standalone: false
})
export class MyComponent {
gender = 'female';
}
@NgModule({declarations: [MyComponent]})
export class MyModule {
}
| {
"end_byte": 443,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/different_contexts.ts"
} |
angular/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/root_icu_with_elements.ts_0_406 | import {Component} from '@angular/core';
@Component({
selector: 'my-component',
template: `
<span i18n="someText1">{
someField,
select,
WEBSITE {
<strong>someText</strong>
}
}</span>
<span>
{
someField,
select,
WEBSITE {
<strong>someText</strong>
}
}
</span>
`,
})
export class MyComponent {
someField!: any;
} | {
"end_byte": 406,
"start_byte": 0,
"url": "https://github.com/angular/angular/blob/main/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/icu_logic/root_icu_with_elements.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.