Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {
ChangeDetectionStrategy,
Component,
computed,
inject,
input,
output,
signal,
} from '@angular/core';
import {Component, computed, inject, input, output, signal} from '@angular/core';
import {MatIcon} from '@angular/material/icon';
import {MatMenu, MatMenuItem, MatMenuTrigger} from '@angular/material/menu';
import {MatSlideToggle} from '@angular/material/slide-toggle';
Expand Down Expand Up @@ -67,7 +59,6 @@ type Tab = 'Components' | 'Profiler' | 'Router Tree' | 'Injector Tree' | 'Transf
ButtonComponent,
],
providers: [TabUpdate],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DevToolsTabsComponent {
public readonly frameManager = inject(FrameManager);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
output,
signal,
viewChild,
ChangeDetectionStrategy,
computed,
DestroyRef,
} from '@angular/core';
Expand All @@ -37,7 +36,7 @@ import {FrameManager} from '../../application-services/frame_manager';
import {BreadcrumbsComponent} from './directive-forest/breadcrumbs/breadcrumbs.component';
import {FlatNode} from './directive-forest/component-data-source';
import {DirectiveForestComponent} from './directive-forest/directive-forest.component';
import {findNodeByPosition, IndexedNode, indexForest} from './directive-forest/index-forest';
import {IndexedNode} from './directive-forest/index-forest';
import {constructPathOfKeysToPropertyValue} from './property-resolver/directive-property-resolver';
import {ElementPropertyResolver} from './property-resolver/element-property-resolver';
import {FlatNode as PropertyFlatNode} from '../../shared/object-tree-explorer/object-tree-types';
Expand Down Expand Up @@ -99,7 +98,6 @@ const sameDirectives = (a: IndexedNode, b: IndexedNode) => {
SignalGraphPaneComponent,
ResponsiveSplitDirective,
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DirectiveExplorerComponent {
readonly showCommentNodes = input(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import {
ChangeDetectionStrategy,
Component,
computed,
effect,
Expand All @@ -26,7 +25,6 @@ import {MatIcon} from '@angular/material/icon';
templateUrl: './breadcrumbs.component.html',
styleUrls: ['./breadcrumbs.component.scss'],
imports: [MatIcon],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BreadcrumbsComponent {
readonly parents = input.required<FlatNode[]>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
import {FlatTreeControl} from '@angular/cdk/tree';
import {
afterRenderEffect,
ChangeDetectionStrategy,
Component,
computed,
DestroyRef,
Expand Down Expand Up @@ -45,7 +44,6 @@ const RESIZE_OBSERVER_DEBOUNCE = 250; // ms
selector: 'ng-directive-forest',
templateUrl: './directive-forest.component.html',
styleUrls: ['./directive-forest.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
FilterComponent,
CdkVirtualScrollViewport,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {
ChangeDetectionStrategy,
Component,
ElementRef,
input,
output,
viewChild,
} from '@angular/core';
import {Component, ElementRef, input, output, viewChild} from '@angular/core';
import {MatIcon} from '@angular/material/icon';
import {MatTooltip} from '@angular/material/tooltip';

Expand Down Expand Up @@ -52,7 +45,6 @@ const genericSearchGenerator: FilterFnGenerator = (filter: string) => {
templateUrl: './filter.component.html',
styleUrls: ['./filter.component.scss'],
imports: [MatIcon, MatTooltip],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FilterComponent {
protected readonly input = viewChild.required<ElementRef>('input');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import {
afterRenderEffect,
ChangeDetectionStrategy,
Component,
computed,
ElementRef,
Expand Down Expand Up @@ -39,7 +38,6 @@ export type NodeTextMatch = {
selector: 'ng-tree-node',
templateUrl: './tree-node.component.html',
styleUrls: ['./tree-node.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [MatIcon, MatTooltip],
host: {
'[style.padding-left]': 'paddingLeft()',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, computed, input} from '@angular/core';
import {Component, computed, input} from '@angular/core';
import {MatToolbar} from '@angular/material/toolbar';
import {DeferBlock} from '../../../../../../../protocol';

Expand All @@ -15,7 +15,6 @@ import {DeferBlock} from '../../../../../../../protocol';
selector: 'ng-defer-view',
styleUrls: ['./defer-view.component.scss', '../styles/view-tab.scss'],
imports: [MatToolbar],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DeferViewComponent {
readonly defer = input.required<NonNullable<DeferBlock>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, computed, input} from '@angular/core';
import {Component, computed, input} from '@angular/core';
import {MatExpansionModule} from '@angular/material/expansion';
import {ForLoopBlock} from '../../../../../../../protocol';
import {ObjectTreeExplorerComponent} from '../../../../shared/object-tree-explorer/object-tree-explorer.component';
Expand All @@ -19,7 +19,6 @@ import {MatToolbar} from '@angular/material/toolbar';
selector: 'ng-for-loop-view',
styleUrls: ['./for-loop-view.component.scss', '../styles/view-tab.scss'],
imports: [MatExpansionModule, ObjectTreeExplorerComponent, MatToolbar],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ForLoopViewComponent {
protected readonly forLoop = input.required<NonNullable<ForLoopBlock>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {
ChangeDetectionStrategy,
Component,
ɵFramework as Framework,
computed,
inject,
input,
} from '@angular/core';
import {Component, ɵFramework as Framework, computed, inject, input} from '@angular/core';

import {
AcxDirectiveMetadata,
Expand All @@ -29,7 +22,6 @@ import {ElementPropertyResolver} from '../../../property-resolver/element-proper
templateUrl: './component-metadata.component.html',
styleUrls: ['./component-metadata.component.scss'],
imports: [DocsRefButtonComponent],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ComponentMetadataComponent {
readonly currentSelectedComponent = input.required<ComponentType>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, input, output, signal, inject} from '@angular/core';
import {Component, input, output, signal, inject} from '@angular/core';
import {MatExpansionModule} from '@angular/material/expansion';
import {MatIcon} from '@angular/material/icon';

Expand All @@ -19,7 +19,6 @@ import {SUPPORTED_APIS} from '../../../../application-providers/supported_apis';
templateUrl: './property-pane-header.component.html',
selector: 'ng-property-pane-header',
styleUrls: ['./property-pane-header.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [MatExpansionModule, MatIcon, ComponentMetadataComponent, ButtonComponent],
})
export class PropertyPaneHeaderComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, computed, input, output} from '@angular/core';
import {Component, computed, input, output} from '@angular/core';
import {DirectivePosition} from '../../../../../../protocol';

import {IndexedNode} from '../directive-forest/index-forest';
Expand All @@ -28,7 +28,6 @@ import {BlockType} from '../../../shared/utils/control-flow';
DeferViewComponent,
ForLoopViewComponent,
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PropertyPaneComponent {
readonly currentSelectedElement = input.required<IndexedNode | null>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, input} from '@angular/core';
import {Component, input} from '@angular/core';
import {SerializedInjectedService} from '../../../../../../../../../protocol';
import {ResolutionPathComponent} from './resolution-path/resolution-path.component';
import {MatTooltip} from '@angular/material/tooltip';
Expand All @@ -17,7 +17,6 @@ import {MatExpansionModule} from '@angular/material/expansion';
templateUrl: './dependency-viewer.component.html',
styleUrl: './dependency-viewer.component.scss',
imports: [MatExpansionModule, MatTooltip, ResolutionPathComponent],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DependencyViewerComponent {
readonly dependency = input.required<SerializedInjectedService>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, computed, input} from '@angular/core';
import {Component, computed, input} from '@angular/core';
import {SerializedInjector} from '../../../../../../../../../../protocol';

export const NODE_TYPE_CLASS_MAP: {[key in SerializedInjector['type']]: string} = {
Expand All @@ -21,7 +21,6 @@ export const NODE_TYPE_CLASS_MAP: {[key in SerializedInjector['type']]: string}
selector: 'ng-resolution-path',
templateUrl: './resolution-path.component.html',
styleUrl: './resolution-path.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ResolutionPathComponent {
readonly path = input<SerializedInjector[]>([]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import {
afterRenderEffect,
AfterRenderRef,
ChangeDetectionStrategy,
Component,
computed,
effect,
Expand Down Expand Up @@ -83,7 +82,6 @@ interface AvailableActions {
templateUrl: './prop-actions-menu.component.html',
styleUrl: './prop-actions-menu.component.scss',
imports: [MatTooltip, MatIcon, Menu, MenuContent, MenuItem, MenuTrigger, CdkConnectedOverlay],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PropActionsMenuComponent {
private readonly signalGraph = inject(SignalGraphManager);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {
ChangeDetectionStrategy,
Component,
ɵFramework as Framework,
computed,
input,
output,
signal,
} from '@angular/core';
import {Component, ɵFramework as Framework, computed, input, output, signal} from '@angular/core';
import {MatExpansionModule} from '@angular/material/expansion';

import {DirectivePosition} from '../../../../../../../../protocol';
Expand All @@ -40,7 +32,6 @@ import {PropActionsMenuComponent} from './prop-actions-menu/prop-actions-menu.co
ObjectTreeExplorerComponent,
PropActionsMenuComponent,
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PropertyViewBodyComponent {
readonly controller = input.required<DirectivePropertyResolver>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, computed, inject, input, output} from '@angular/core';
import {Component, computed, inject, input, output} from '@angular/core';
import {MatIcon} from '@angular/material/icon';
import {MatTooltip} from '@angular/material/tooltip';
import {MatToolbar} from '@angular/material/toolbar';
Expand All @@ -18,7 +18,6 @@ import {FrameManager} from '../../../../../application-services/frame_manager';
templateUrl: './property-view-header.component.html',
styleUrls: ['./property-view-header.component.scss'],
imports: [MatToolbar, MatTooltip, MatIcon],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PropertyViewHeaderComponent {
readonly directive = input.required<string>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, computed, inject, input, output} from '@angular/core';
import {Component, computed, inject, input, output} from '@angular/core';
import {DirectivePosition} from '../../../../../../../protocol';

import {ElementPropertyResolver} from '../../property-resolver/element-property-resolver';
Expand All @@ -20,7 +20,6 @@ import {DevtoolsSignalGraphNode} from '../../../../shared/signal-graph';
templateUrl: './property-view.component.html',
styleUrls: ['./property-view.component.scss'],
imports: [PropertyViewHeaderComponent, PropertyViewBodyComponent],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PropertyViewComponent {
readonly directive = input.required<{name: string}>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import {
ChangeDetectionStrategy,
Component,
computed,
inject,
Expand Down Expand Up @@ -38,7 +37,6 @@ type SelectedNodeSource = {
selector: 'ng-signal-graph-pane',
styleUrl: './signal-graph-pane.component.scss',
imports: [SignalsVisualizerComponent, SignalDetailsComponent, MatIcon, ButtonComponent],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class SignalGraphPaneComponent {
protected readonly visualizer = viewChild.required<SignalsVisualizerComponent>('visualizer');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {
ChangeDetectionStrategy,
Component,
computed,
inject,
input,
output,
signal,
} from '@angular/core';
import {Component, computed, inject, input, output, signal} from '@angular/core';
import {MatIcon} from '@angular/material/icon';
import {MatTableModule} from '@angular/material/table';
import {MatTooltip} from '@angular/material/tooltip';
Expand All @@ -31,7 +23,6 @@ import {ButtonComponent} from '../../../shared/button/button.component';
templateUrl: './injector-providers.component.html',
styleUrl: './injector-providers.component.scss',
imports: [MatTableModule, MatIcon, MatTooltip, ButtonComponent],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class InjectorProvidersComponent {
readonly injector = input.required<SerializedInjector>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import {
afterRenderEffect,
ChangeDetectionStrategy,
Component,
computed,
inject,
Expand Down Expand Up @@ -78,7 +77,6 @@ const SNAP_ZOOM_SCALE = 0.8;
host: {
'[hidden]': 'hidden()',
},
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class InjectorTreeComponent {
private readonly elementTree = viewChild<InjectorTreeVisualizer>('elementTree');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {Component, inject} from '@angular/core';
import {MAT_DIALOG_DATA, MatDialogRef, MatDialogClose} from '@angular/material/dialog';
import {ButtonComponent} from '../../../shared/button/button.component';

Expand All @@ -22,7 +22,6 @@ interface DialogData {
templateUrl: './profiler-import-dialog.component.html',
styleUrls: ['./profiler-import-dialog.component.scss'],
imports: [MatDialogClose, ButtonComponent],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ProfilerImportDialogComponent {
public dialogRef = inject<MatDialogRef<ProfilerImportDialogComponent>>(MatDialogRef);
Expand Down
Loading
Loading