_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
components/src/material/schematics/ng-update/data/output-names.ts_0_354 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {OutputNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';
export const outputNames: VersionCha... | {
"end_byte": 354,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/output-names.ts"
} |
components/src/material/schematics/ng-update/data/property-names.ts_0_360 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {PropertyNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';
export const propertyNames: Versio... | {
"end_byte": 360,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/property-names.ts"
} |
components/src/material/schematics/ng-update/data/attribute-selectors.ts_0_375 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {AttributeSelectorUpgradeData, VersionChanges} from '@angular/cdk/schematics';
export const attributeSelecto... | {
"end_byte": 375,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/attribute-selectors.ts"
} |
components/src/material/schematics/ng-update/data/class-names.ts_0_351 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ClassNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';
export const classNames: VersionChang... | {
"end_byte": 351,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/class-names.ts"
} |
components/src/material/schematics/ng-update/data/method-call-checks.ts_0_359 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {MethodCallUpgradeData, VersionChanges} from '@angular/cdk/schematics';
export const methodCallChecks: Versi... | {
"end_byte": 359,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/method-call-checks.ts"
} |
components/src/material/schematics/ng-update/data/css-tokens.ts_0_847 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {VersionChanges} from '@angular/cdk/schematics';
export interface MaterialCssTokenData {
/** The CSS selec... | {
"end_byte": 847,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/css-tokens.ts"
} |
components/src/material/schematics/ng-update/data/element-selectors.ts_0_369 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ElementSelectorUpgradeData, VersionChanges} from '@angular/cdk/schematics';
export const elementSelectors: ... | {
"end_byte": 369,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/element-selectors.ts"
} |
components/src/material/schematics/ng-update/data/constructor-checks.ts_0_608 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ConstructorChecksUpgradeData, VersionChanges} from '@angular/cdk/schematics';
/**
* List of class names fo... | {
"end_byte": 608,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/constructor-checks.ts"
} |
components/src/material/schematics/ng-update/data/css-selectors.ts_0_856 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {VersionChanges} from '@angular/cdk/schematics';
export interface MaterialCssSelectorData {
/** The CSS se... | {
"end_byte": 856,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/css-selectors.ts"
} |
components/src/material/schematics/ng-update/data/index.ts_0_581 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './attribute-selectors';
export * from './class-names';
export * from './constructor-checks';
export *... | {
"end_byte": 581,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/index.ts"
} |
components/src/material/schematics/ng-update/data/input-names.ts_0_351 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {InputNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';
export const inputNames: VersionChang... | {
"end_byte": 351,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-update/data/input-names.ts"
} |
components/src/material/schematics/ng-generate/tree/schema.ts_0_336 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Schema as ComponentSchema} from '@schematics/angular/component/schema';
export interface Schema extends Com... | {
"end_byte": 336,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/schema.ts"
} |
components/src/material/schematics/ng-generate/tree/index.spec.ts_0_6365 | import {SchematicTestRunner} from '@angular-devkit/schematics/testing';
import {createTestApp, getFileContent} from '@angular/cdk/schematics/testing';
import {COLLECTION_PATH} from '../../paths';
import {Schema} from './schema';
describe('Material tree schematic', () => {
let runner: SchematicTestRunner;
const ba... | {
"end_byte": 6365,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/index.spec.ts"
} |
components/src/material/schematics/ng-generate/tree/index.ts_0_1587 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {chain, noop, Rule, Tree} from '@angular-devkit/schematics';
import {
addModuleImportToModule,
buildCompo... | {
"end_byte": 1587,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/index.ts"
} |
components/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template_0_54 | .type-icon {
color: #757575;
margin-right: 5px;
}
| {
"end_byte": 54,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template"
} |
components/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template_0_909 | <mat-tree [dataSource]="dataSource" [treeControl]="treeControl">
<mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle matTreeNodePadding>
<button mat-icon-button disabled></button>
<mat-icon class="type-icon" [attr.aria-label]="node.type + 'icon'">
{{ node.type === 'file' ? 'description' : 'folde... | {
"end_byte": 909,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template"
} |
components/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template_0_1101 | import { <% if(!standalone) { %>waitForAsync, <% } %>ComponentFixture, TestBed } from '@angular/core/testing';<% if(!standalone) { %>
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatTreeModule } from '@angular/material/tree';<% } %>
import... | {
"end_byte": 1101,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template"
} |
components/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template_0_3263 | import { Component<% if (!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if (changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
import { <% if(standalone) { %>MatTreeModule, <% } %>MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
import { FlatTreeCont... | {
"end_byte": 3263,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template"
} |
components/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/example-data.ts.template_0_968 | /** Example file/folder data. */
export const files = [
{
name: 'components',
type: 'folder',
children: [
{
name: 'src',
type: 'folder',
children: [
{
name: 'cdk',
type: 'folder',
children: [
{ name: 'package.json', ... | {
"end_byte": 968,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/example-data.ts.template"
} |
components/src/material/schematics/ng-generate/address-form/schema.ts_0_336 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Schema as ComponentSchema} from '@schematics/angular/component/schema';
export interface Schema extends Com... | {
"end_byte": 336,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/address-form/schema.ts"
} |
components/src/material/schematics/ng-generate/address-form/index.spec.ts_0_6972 | import {SchematicTestRunner} from '@angular-devkit/schematics/testing';
import {createTestApp, getFileContent} from '@angular/cdk/schematics/testing';
import {COLLECTION_PATH} from '../../paths';
import {Schema} from './schema';
describe('Material address-form schematic', () => {
let runner: SchematicTestRunner;
... | {
"end_byte": 6972,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/address-form/index.spec.ts"
} |
components/src/material/schematics/ng-generate/address-form/index.ts_0_1870 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {chain, noop, Rule, Tree} from '@angular-devkit/schematics';
import {
addModuleImportToModule,
buildCompo... | {
"end_byte": 1870,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/address-form/index.ts"
} |
components/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template_0_283 | .full-width {
width: 100%;
}
.shipping-card {
min-width: 120px;
margin: 20px auto;
}
.mat-radio-button {
display: block;
margin: 5px 0;
}
.row {
display: flex;
flex-direction: row;
}
.col {
flex: 1;
margin-right: 20px;
}
.col:last-child {
margin-right: 0;
}
| {
"end_byte": 283,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template"
} |
components/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template_0_3919 | <form [formGroup]="addressForm" novalidate (ngSubmit)="onSubmit()">
<mat-card class="shipping-card">
<mat-card-header>
<mat-card-title>Shipping Information</mat-card-title>
</mat-card-header>
<mat-card-content>
<div class="row">
<div class="col">
<mat-form-field class="full-w... | {
"end_byte": 3919,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template"
} |
components/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template_0_1482 | import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';<% if(!standalone) { %>
import { ReactiveFormsModule } from '@angular/forms';
import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } ... | {
"end_byte": 1482,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template"
} |
components/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template_0_4777 | import { Component, inject<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
<% if(standalone) { %>
import { ReactiveFormsModule, FormBuilder, Validators } from '@angular/forms';
import { MatInputModule } from '@angula... | {
"end_byte": 4777,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template"
} |
components/src/material/schematics/ng-generate/navigation/schema.ts_0_336 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Schema as ComponentSchema} from '@schematics/angular/component/schema';
export interface Schema extends Com... | {
"end_byte": 336,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/navigation/schema.ts"
} |
components/src/material/schematics/ng-generate/navigation/index.spec.ts_0_8438 | import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing';
import {createTestApp, getFileContent} from '@angular/cdk/schematics/testing';
import {COLLECTION_PATH} from '../../paths';
import {Schema} from './schema';
describe('material-navigation-schematic', () => {
let runner: SchematicTe... | {
"end_byte": 8438,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/navigation/index.spec.ts"
} |
components/src/material/schematics/ng-generate/navigation/index.ts_0_1787 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {chain, noop, Rule, Tree} from '@angular-devkit/schematics';
import {
addModuleImportToModule,
buildCompo... | {
"end_byte": 1787,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/navigation/index.ts"
} |
components/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template_0_193 | .sidenav-container {
height: 100%;
}
.sidenav {
width: 200px;
}
.sidenav .mat-toolbar {
background: inherit;
}
.mat-toolbar.mat-primary {
position: sticky;
top: 0;
z-index: 1;
}
| {
"end_byte": 193,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template"
} |
components/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template_0_1071 | <mat-sidenav-container class="sidenav-container">
<mat-sidenav #drawer class="sidenav" fixedInViewport
[attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'"
[mode]="(isHandset$ | async) ? 'over' : 'side'"
[opened]="(isHandset$ | async) === false">
<mat-toolbar>Menu</mat-toolbar>
<mat-... | {
"end_byte": 1071,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template"
} |
components/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template_0_1405 | import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';<% if(!standalone) { %>
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule ... | {
"end_byte": 1405,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template"
} |
components/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template_0_1776 | import { Component, inject<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';<% if(standalone) { %>
import { AsyncPipe } from '@angular/common';
imp... | {
"end_byte": 1776,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template"
} |
components/src/material/schematics/ng-generate/dashboard/schema.ts_0_336 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Schema as ComponentSchema} from '@schematics/angular/component/schema';
export interface Schema extends Com... | {
"end_byte": 336,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/dashboard/schema.ts"
} |
components/src/material/schematics/ng-generate/dashboard/index.spec.ts_0_7145 | import {SchematicTestRunner} from '@angular-devkit/schematics/testing';
import {createTestApp, getFileContent} from '@angular/cdk/schematics/testing';
import {COLLECTION_PATH} from '../../paths';
import {Schema} from './schema';
describe('material-dashboard-schematic', () => {
let runner: SchematicTestRunner;
con... | {
"end_byte": 7145,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/dashboard/index.spec.ts"
} |
components/src/material/schematics/ng-generate/dashboard/index.ts_0_1783 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {chain, noop, Rule, Tree} from '@angular-devkit/schematics';
import {
addModuleImportToModule,
buildCompo... | {
"end_byte": 1783,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/dashboard/index.ts"
} |
components/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template_0_255 | .grid-container {
margin: 20px;
}
.dashboard-card {
position: absolute;
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
}
.more-button {
position: absolute;
top: 5px;
right: 10px;
}
.dashboard-card-content {
text-align: center;
}
| {
"end_byte": 255,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template"
} |
components/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template_0_992 | <div class="grid-container">
<h1 class="mat-h1">Dashboard</h1>
<mat-grid-list cols="2" rowHeight="350px">
@for (card of cards | async; track card) {
<mat-grid-tile [colspan]="card.cols" [rowspan]="card.rows">
<mat-card class="dashboard-card">
<mat-card-header>
<mat-card-title... | {
"end_byte": 992,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template"
} |
components/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template_0_1400 | import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';<% if(!standalone) { %>
import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatGridListMod... | {
"end_byte": 1400,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template"
} |
components/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template_0_2208 | import { Component, inject<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
import { map } from 'rxjs/operators';<% if(standalone) { %>
import { A... | {
"end_byte": 2208,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template"
} |
components/src/material/schematics/ng-generate/table/schema.ts_0_336 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Schema as ComponentSchema} from '@schematics/angular/component/schema';
export interface Schema extends Com... | {
"end_byte": 336,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/schema.ts"
} |
components/src/material/schematics/ng-generate/table/index.spec.ts_0_7189 | import {SchematicTestRunner} from '@angular-devkit/schematics/testing';
import {createTestApp, getFileContent} from '@angular/cdk/schematics/testing';
import {COLLECTION_PATH} from '../../paths';
import {Schema} from './schema';
describe('material-table-schematic', () => {
let runner: SchematicTestRunner;
const b... | {
"end_byte": 7189,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/index.spec.ts"
} |
components/src/material/schematics/ng-generate/table/index.ts_0_1639 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {chain, noop, Rule, Tree} from '@angular-devkit/schematics';
import {
addModuleImportToModule,
buildCompo... | {
"end_byte": 1639,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/index.ts"
} |
components/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template_0_37 | .full-width-table {
width: 100%;
}
| {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template"
} |
components/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template_0_882 | <div class="mat-elevation-z2">
<table mat-table class="full-width-table" matSort aria-label="Elements">
<!-- Id Column -->
<ng-container matColumnDef="id">
<th mat-header-cell *matHeaderCellDef mat-sort-header>Id</th>
<td mat-cell *matCellDef="let row">{{row.id}}</td>
</ng-container>
<!--... | {
"end_byte": 882,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template"
} |
components/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template_0_1241 | import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';<% if(!standalone) { %>
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatSortModule } from '@angular/material/sort';
import { MatTable... | {
"end_byte": 1241,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template"
} |
components/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template_0_1915 | import { AfterViewInit, Component, ViewChild<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
import { <% if(standalone) { %>MatTableModule, <% } %>MatTable } from '@angular/material/table';
import { <% if(standalone)... | {
"end_byte": 1915,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template"
} |
components/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__-datasource.ts.template_0_3775 | import { DataSource } from '@angular/cdk/collections';
import { MatPaginator } from '@angular/material/paginator';
import { MatSort } from '@angular/material/sort';
import { map } from 'rxjs/operators';
import { Observable, of as observableOf, merge } from 'rxjs';
// TODO: Replace this with your own data model type
ex... | {
"end_byte": 3775,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__-datasource.ts.template"
} |
components/src/material/schematics/ng-generate/theme-color/index.spec.ts_0_7750 | import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing';
import {createTestApp} from '@angular/cdk/schematics/testing';
import {runfiles} from '@bazel/runfiles';
import {compileString} from 'sass';
import * as path from 'path';
import {createLocalAngularPackageImporter} from '../../../../.... | {
"end_byte": 7750,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/index.spec.ts"
} |
components/src/material/schematics/ng-generate/theme-color/index.spec.ts_7754_12160 | it('should be able to generate high contrast themes overrides when provided a primary color', async () => {
const tree = await runM3ThemeSchematic(runner, {
primaryColor: '#984061',
includeHighContrast: true,
});
const generatedCSS = transpileTheme(tree.readText('_theme-colors.scss'));
// ... | {
"end_byte": 12160,
"start_byte": 7754,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/index.spec.ts"
} |
components/src/material/schematics/ng-generate/theme-color/index.spec.ts_12162_14718 | function getTestTheme() {
return `// This file was generated by running 'ng generate @angular/material:theme-color'.
// Proceed with caution if making changes to this file.
@use 'sass:map';
@use '@angular/material' as mat;
// Note: Color palettes are generated from primary: #984061
$_palettes: (
primary: (
0:... | {
"end_byte": 14718,
"start_byte": 12162,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/index.spec.ts"
} |
components/src/material/schematics/ng-generate/theme-color/index.spec.ts_14720_18073 | function getPaletteMap() {
// Hue maps created from https://m3.material.io/theme-builder#/custom (using
// #984061 as source color). Not using predefined M3 palettes since some neutral
// hues are slightly off from generated theme.
return new Map([
[
'primary',
new Map<number, string>([
... | {
"end_byte": 18073,
"start_byte": 14720,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/index.spec.ts"
} |
components/src/material/schematics/ng-generate/theme-color/README.md_0_5108 | # Material 3 Custom Theme schematic
```shell
ng generate @angular/material:theme-color
```
This schematic allows users to create new Material 3 theme palettes based
on custom colors by using [Material Color Utilities](https://github.com/material-foundation/material-color-utilities).
The generated [color palettes](ht... | {
"end_byte": 5108,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/README.md"
} |
components/src/material/schematics/ng-generate/theme-color/BUILD.bazel_0_2917 | load("@build_bazel_rules_nodejs//:index.bzl", "copy_to_bin")
load("//tools:defaults.bzl", "esbuild", "jasmine_node_test", "pkg_npm", "spec_bundle", "ts_library")
package(default_visibility = ["//visibility:public"])
STATIC_ASSETS = [
"schema.json",
]
ts_library(
name = "m3_theme_lib",
srcs = glob(
... | {
"end_byte": 2917,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/BUILD.bazel"
} |
components/src/material/schematics/ng-generate/theme-color/schema.d.ts_0_922 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export interface Schema {
/**
* Color to generate M3 theme, represents the primary color palette.
*/
prima... | {
"end_byte": 922,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/schema.d.ts"
} |
components/src/material/schematics/ng-generate/theme-color/index.ts_0_6916 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Rule, SchematicContext, Tree} from '@angular-devkit/schematics';
import {Schema} from './schema';
import {
... | {
"end_byte": 6916,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/index.ts"
} |
components/src/material/schematics/ng-generate/theme-color/index.ts_6917_14228 | function getHighContrastOverides(
primaryPalette: TonalPalette,
secondaryPalette: TonalPalette,
tertiaryPalette: TonalPalette,
neutralPalette: TonalPalette,
neutralVariantPalette: TonalPalette,
isDark: boolean,
): Map<string, string> {
const scheme = getMaterialDynamicScheme(
primaryPalette,
secon... | {
"end_byte": 14228,
"start_byte": 6917,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/index.ts"
} |
components/src/material/schematics/ng-generate/theme-color/index.ts_14230_17477 | export default function (options: Schema): Rule {
return async (tree: Tree, context: SchematicContext) => {
let colorComment = 'Color palettes are generated from primary: ' + options.primaryColor;
// Create tonal palettes for each color and custom color overrides if applicable. Used for both
// standard ... | {
"end_byte": 17477,
"start_byte": 14230,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/index.ts"
} |
components/src/material/schematics/ng-add/schema.ts_0_625 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export interface Schema {
/** Name of the project. */
project: string;
/** Whether the Angular browser animat... | {
"end_byte": 625,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/schema.ts"
} |
components/src/material/schematics/ng-add/index.spec.ts_0_666 | import {normalize, workspaces, logging} from '@angular-devkit/core';
import {Tree} from '@angular-devkit/schematics';
import {SchematicTestRunner} from '@angular-devkit/schematics/testing';
import {
getProjectFromWorkspace,
getProjectIndexFiles,
getProjectStyleFile,
getProjectTargetOptions,
} from '@angular/cdk... | {
"end_byte": 666,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/index.spec.ts"
} |
components/src/material/schematics/ng-add/index.spec.ts_668_9503 | describe('ng-add schematic', () => {
const baseOptions = {project: 'material'};
let runner: SchematicTestRunner;
let appTree: Tree;
let errorOutput: string[];
let warnOutput: string[];
beforeEach(async () => {
runner = new SchematicTestRunner('schematics', COLLECTION_PATH);
appTree = await createTe... | {
"end_byte": 9503,
"start_byte": 668,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/index.spec.ts"
} |
components/src/material/schematics/ng-add/index.spec.ts_9507_19084 | it("should add the provideAnimationAsync('noop') to the project module if animations are disabled", async () => {
const tree = await runner.runSchematic(
'ng-add-setup-project',
{...baseOptions, animations: 'disabled'},
appTree,
);
const fileContent = getFileContent(tree, '/projects/materi... | {
"end_byte": 19084,
"start_byte": 9507,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/index.spec.ts"
} |
components/src/material/schematics/ng-add/index.spec.ts_19088_28573 | it('should not add the global typography class if the user did not opt into it', async () => {
appTree.overwrite(
'projects/material/src/index.html',
`
<html>
<head></head>
<body class="one two"></body>
</html>
`,
);
const tree = await runner.runSchematic(
... | {
"end_byte": 28573,
"start_byte": 19088,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/index.spec.ts"
} |
components/src/material/schematics/ng-add/package-config.ts_0_1762 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Tree} from '@angular-devkit/schematics';
interface PackageJson {
dependencies: Record<string, string>;
}
... | {
"end_byte": 1762,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/package-config.ts"
} |
components/src/material/schematics/ng-add/index.ts_0_3276 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Rule, SchematicContext, Tree} from '@angular-devkit/schematics';
import {NodePackageInstallTask, RunSchemati... | {
"end_byte": 3276,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/index.ts"
} |
components/src/material/schematics/ng-add/setup-project.ts_0_4487 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {chain, noop, Rule, SchematicContext, Tree, callRule} from '@angular-devkit/schematics';
import {getProjectFr... | {
"end_byte": 4487,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/setup-project.ts"
} |
components/src/material/schematics/ng-add/theming/create-custom-theme.ts_0_1396 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/** Create custom theme for the given application configuration. */
export function createCustomTheme(name: string =... | {
"end_byte": 1396,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/theming/create-custom-theme.ts"
} |
components/src/material/schematics/ng-add/theming/theming.ts_0_7966 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {normalize, logging, workspaces} from '@angular-devkit/core';
import {
chain,
noop,
Rule,
SchematicCo... | {
"end_byte": 7966,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/theming/theming.ts"
} |
components/src/material/schematics/ng-add/fonts/material-fonts.ts_0_1346 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Rule, SchematicsException, Tree} from '@angular-devkit/schematics';
import {
appendHtmlElementToHead,
ge... | {
"end_byte": 1346,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/schematics/ng-add/fonts/material-fonts.ts"
} |
components/src/material/prebuilt-themes/BUILD.bazel_0_1705 | package(default_visibility = ["//visibility:public"])
# We use these genrules to put the prebuilt themes into the bazel-generated npm
# package in the right spot. The *right* thing to do would be to move them, but
# we would need to update references for Google apps.
## **NOTE**: When adding/removing prebuilt themes ... | {
"end_byte": 1705,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/prebuilt-themes/BUILD.bazel"
} |
components/src/material/badge/badge.scss_0_4347 | @use 'sass:color';
@use '@angular/cdk';
@use '../core/tokens/m2/mat/badge' as tokens-mat-badge;
@use '../core/tokens/token-utils';
$default-size: 22px !default;
$small-size: $default-size - 6;
$large-size: $default-size + 6;
@mixin _badge-size($size) {
@include token-utils.use-tokens(tokens-mat-badge.$prefix, token... | {
"end_byte": 4347,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge.scss"
} |
components/src/material/badge/badge.spec.ts_0_10017 | import {ComponentFixture, TestBed} from '@angular/core/testing';
import {Component, DebugElement, ViewEncapsulation, ViewChild, signal} from '@angular/core';
import {By} from '@angular/platform-browser';
import {MatBadge, MatBadgeModule} from './index';
import {ThemePalette} from '@angular/material/core';
describe('Ma... | {
"end_byte": 10017,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge.spec.ts"
} |
components/src/material/badge/badge.spec.ts_10018_11901 | @Component({
// Explicitly set the view encapsulation since we have a test that checks for it.
encapsulation: ViewEncapsulation.Emulated,
styles: 'button { color: hotpink; }',
template: `
<button [matBadge]="badgeContent()"
[matBadgeColor]="badgeColor()"
[matBadgePosition]="badgeDire... | {
"end_byte": 11901,
"start_byte": 10018,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge.spec.ts"
} |
components/src/material/badge/public-api.ts_0_302 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './badge-module';
export {MatBadge, MatBadgePosition, MatBadgeSize} from './badge';
| {
"end_byte": 302,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/public-api.ts"
} |
components/src/material/badge/badge.ts_0_1948 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {AriaDescriber, InteractivityChecker} from '@angular/cdk/a11y';
import {DOCUMENT} from '@angular/common';
imp... | {
"end_byte": 1948,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge.ts"
} |
components/src/material/badge/badge.ts_1949_10672 | class MatBadge implements OnInit, OnDestroy {
private _ngZone = inject(NgZone);
private _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);
private _ariaDescriber = inject(AriaDescriber);
private _renderer = inject(Renderer2);
private _animationMode = inject(ANIMATION_MODULE_TYPE, {optional: true});
... | {
"end_byte": 10672,
"start_byte": 1949,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge.ts"
} |
components/src/material/badge/badge.ts_10676_12095 | private _updateInlineDescription() {
// Create the inline description element if it doesn't exist
if (!this._inlineBadgeDescription) {
this._inlineBadgeDescription = this._document.createElement('span');
this._inlineBadgeDescription.classList.add('cdk-visually-hidden');
}
this._inlineBadgeD... | {
"end_byte": 12095,
"start_byte": 10676,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge.ts"
} |
components/src/material/badge/_badge-theme.scss_0_4624 | @use 'sass:color';
@use '../core/theming/theming';
@use '../core/theming/inspection';
@use '../core/theming/validation';
@use '../core/typography/typography';
@use '../core/tokens/m2/mat/badge' as tokens-mat-badge;
@use '../core/tokens/token-utils';
@use '../core/style/sass-utils';
/// Outputs base theme styles (style... | {
"end_byte": 4624,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/_badge-theme.scss"
} |
components/src/material/badge/BUILD.bazel_0_1588 | load(
"//tools:defaults.bzl",
"extract_tokens",
"markdown_to_html",
"ng_module",
"ng_test_library",
"ng_web_test_suite",
"sass_binary",
"sass_library",
)
package(default_visibility = ["//visibility:public"])
ng_module(
name = "badge",
srcs = glob(
["**/*.ts"],
e... | {
"end_byte": 1588,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/BUILD.bazel"
} |
components/src/material/badge/index.ts_0_234 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './public-api';
| {
"end_byte": 234,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/index.ts"
} |
components/src/material/badge/badge-module.ts_0_673 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {NgModule} from '@angular/core';
import {MatCommonModule} from '@angular/material/core';
import {A11yModule} ... | {
"end_byte": 673,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge-module.ts"
} |
components/src/material/badge/badge.md_0_2593 | Badges are small status descriptors for UI elements. A badge consists of a small circle,
typically containing a number or other short set of characters, that appears in proximity to
another object.
Badges must always be applied to [block-level elements][block-level].
[block-level]: https://developer.mozilla.org/en-US... | {
"end_byte": 2593,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/badge.md"
} |
components/src/material/badge/testing/badge-harness.spec.ts_0_5201 | import {HarnessLoader} from '@angular/cdk/testing';
import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed';
import {Component} from '@angular/core';
import {ComponentFixture, TestBed} from '@angular/core/testing';
import {MatBadgeModule, MatBadgePosition, MatBadgeSize} from '@angular/material/badge';
im... | {
"end_byte": 5201,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/testing/badge-harness.spec.ts"
} |
components/src/material/badge/testing/badge-harness-filters.ts_0_356 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {BaseHarnessFilters} from '@angular/cdk/testing';
export interface BadgeHarnessFilters extends BaseHarnessFi... | {
"end_byte": 356,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/testing/badge-harness-filters.ts"
} |
components/src/material/badge/testing/badge-harness.ts_0_2659 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';
import {MatBadgePosition, MatBadgeSize} fro... | {
"end_byte": 2659,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/testing/badge-harness.ts"
} |
components/src/material/badge/testing/public-api.ts_0_278 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './badge-harness';
export * from './badge-harness-filters';
| {
"end_byte": 278,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/testing/public-api.ts"
} |
components/src/material/badge/testing/BUILD.bazel_0_752 | load("//tools:defaults.bzl", "ng_test_library", "ng_web_test_suite", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "testing",
srcs = glob(
["**/*.ts"],
exclude = ["**/*.spec.ts"],
),
deps = [
"//src/cdk/testing",
"//src/material/... | {
"end_byte": 752,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/testing/BUILD.bazel"
} |
components/src/material/badge/testing/index.ts_0_234 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export * from './public-api';
| {
"end_byte": 234,
"start_byte": 0,
"url": "https://github.com/angular/components/blob/main/src/material/badge/testing/index.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.