Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(module:core): make no-animation standalone #8257

Merged
merged 4 commits into from
Dec 11, 2023
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
6 changes: 3 additions & 3 deletions components/auto-complete/autocomplete.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ import {
ViewChildren,
ViewEncapsulation
} from '@angular/core';
import { Observable, Subject, Subscription, defer, merge } from 'rxjs';
import { defer, merge, Observable, Subject, Subscription } from 'rxjs';
import { filter, switchMap, take, takeUntil } from 'rxjs/operators';

import { slideMotion } from 'ng-zorro-antd/core/animation';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { BooleanInput, CompareWith, NzSafeAny } from 'ng-zorro-antd/core/types';
import { InputBoolean } from 'ng-zorro-antd/core/util';

Expand Down Expand Up @@ -66,7 +66,7 @@ function normalizeDataSource(value: AutocompleteDataSource): AutocompleteDataSou
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [NgClass, NgFor, NgStyle, NgTemplateOutlet, NzAutocompleteOptionComponent, NzNoAnimationModule],
imports: [NgClass, NgFor, NgStyle, NgTemplateOutlet, NzAutocompleteOptionComponent, NzNoAnimationDirective],
template: `
<ng-template>
<div
Expand Down
4 changes: 2 additions & 2 deletions components/badge/badge-sup.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from '@angular/core';

import { zoomBadgeMotion } from 'ng-zorro-antd/core/animation';
import { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzSafeAny, NzSizeDSType } from 'ng-zorro-antd/core/types';

@Component({
Expand All @@ -27,7 +27,7 @@ import { NzSafeAny, NzSizeDSType } from 'ng-zorro-antd/core/types';
changeDetection: ChangeDetectionStrategy.OnPush,
animations: [zoomBadgeMotion],
standalone: true,
imports: [NgFor, NgIf, NzNoAnimationModule],
imports: [NgFor, NgIf, NzNoAnimationDirective],
template: `
<ng-container *ngIf="count <= nzOverflowCount; else overflowTemplate">
<span
Expand Down
4 changes: 2 additions & 2 deletions components/badge/badge.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testin
import { By } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NgStyleInterface, NzSizeDSType } from 'ng-zorro-antd/core/types';

import { NzBadgeComponent } from './badge.component';
Expand All @@ -13,7 +13,7 @@ import { NzBadgeModule } from './badge.module';
describe('badge', () => {
beforeEach(fakeAsync(() => {
TestBed.configureTestingModule({
imports: [BidiModule, NzBadgeModule, NzNoAnimationModule, BrowserAnimationsModule],
imports: [BidiModule, NzBadgeModule, NzNoAnimationDirective, BrowserAnimationsModule],
declarations: [NzTestBadgeBasicComponent, NzTestBadgeRtlComponent]
});
TestBed.compileComponents();
Expand Down
12 changes: 6 additions & 6 deletions components/cascader/cascader.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
Component,
ElementRef,
EventEmitter,
forwardRef,
Host,
HostListener,
Input,
Expand All @@ -28,17 +29,16 @@ import {
TemplateRef,
ViewChild,
ViewChildren,
ViewEncapsulation,
forwardRef
ViewEncapsulation
} from '@angular/core';
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
import { BehaviorSubject, EMPTY, Observable, fromEvent, of as observableOf } from 'rxjs';
import { BehaviorSubject, EMPTY, fromEvent, Observable, of as observableOf } from 'rxjs';
import { distinctUntilChanged, map, startWith, switchMap, takeUntil, withLatestFrom } from 'rxjs/operators';

import { slideMotion } from 'ng-zorro-antd/core/animation';
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzFormNoStatusService, NzFormPatchModule, NzFormStatusService } from 'ng-zorro-antd/core/form';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { DEFAULT_CASCADER_POSITIONS, NzOverlayModule } from 'ng-zorro-antd/core/overlay';
import { NzDestroyService } from 'ng-zorro-antd/core/services';
import {
Expand All @@ -50,7 +50,7 @@ import {
NzStatus,
NzValidateStatus
} from 'ng-zorro-antd/core/types';
import { InputBoolean, getStatusClassNames, toArray } from 'ng-zorro-antd/core/util';
import { getStatusClassNames, InputBoolean, toArray } from 'ng-zorro-antd/core/util';
import { NzEmptyModule } from 'ng-zorro-antd/empty';
import { NzCascaderI18nInterface, NzI18nService } from 'ng-zorro-antd/i18n';
import { NzIconModule } from 'ng-zorro-antd/icon';
Expand Down Expand Up @@ -233,7 +233,7 @@ const defaultDisplayRender = (labels: string[]): string => labels.join(' / ');
NzIconModule,
NzFormPatchModule,
NzOverlayModule,
NzNoAnimationModule,
NzNoAnimationDirective,
NgClass,
NgStyle,
NzEmptyModule,
Expand Down
12 changes: 6 additions & 6 deletions components/date-picker/date-picker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
Component,
ElementRef,
EventEmitter,
forwardRef,
Host,
Inject,
Input,
Expand All @@ -36,8 +37,7 @@ import {
TemplateRef,
ViewChild,
ViewChildren,
ViewEncapsulation,
forwardRef
ViewEncapsulation
} from '@angular/core';
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
import { fromEvent, of as observableOf } from 'rxjs';
Expand All @@ -47,11 +47,11 @@ import { NzResizeObserver } from 'ng-zorro-antd/cdk/resize-observer';
import { slideMotion } from 'ng-zorro-antd/core/animation';
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzFormNoStatusService, NzFormPatchModule, NzFormStatusService } from 'ng-zorro-antd/core/form';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzOutletModule } from 'ng-zorro-antd/core/outlet';
import { DATE_PICKER_POSITION_MAP, DEFAULT_DATE_PICKER_POSITIONS, NzOverlayModule } from 'ng-zorro-antd/core/overlay';
import { NzDestroyService } from 'ng-zorro-antd/core/services';
import { CandyDate, CompatibleValue, cloneDate, wrongSortOrder } from 'ng-zorro-antd/core/time';
import { CandyDate, cloneDate, CompatibleValue, wrongSortOrder } from 'ng-zorro-antd/core/time';
import {
BooleanInput,
FunctionProp,
Expand All @@ -62,7 +62,7 @@ import {
OnChangeType,
OnTouchedType
} from 'ng-zorro-antd/core/types';
import { InputBoolean, getStatusClassNames, toBoolean, valueFunctionProp } from 'ng-zorro-antd/core/util';
import { getStatusClassNames, InputBoolean, toBoolean, valueFunctionProp } from 'ng-zorro-antd/core/util';
import {
DateHelperService,
NzDatePickerI18nInterface,
Expand Down Expand Up @@ -264,7 +264,7 @@ export type NzPlacement = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
DateRangePopupComponent,
CdkConnectedOverlay,
NzOverlayModule,
NzNoAnimationModule
NzNoAnimationDirective
],
standalone: true
})
Expand Down
4 changes: 2 additions & 2 deletions components/drawer/drawer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { Observable, Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';

import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzOutletModule } from 'ng-zorro-antd/core/outlet';
import { BooleanInput, NgStyleInterface, NzSafeAny } from 'ng-zorro-antd/core/types';
import { InputBoolean, toCssPixel } from 'ng-zorro-antd/core/util';
Expand Down Expand Up @@ -140,7 +140,7 @@ const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'drawer';
`,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [NzNoAnimationModule, NgIf, NgStyle, NzOutletModule, NzIconModule, PortalModule, NgTemplateOutlet],
imports: [NzNoAnimationDirective, NgIf, NgStyle, NzOutletModule, NzIconModule, PortalModule, NgTemplateOutlet],
standalone: true
})
export class NzDrawerComponent<T extends {} = NzSafeAny, R = NzSafeAny, D extends Partial<T> = NzSafeAny>
Expand Down
4 changes: 2 additions & 2 deletions components/drawer/drawer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Component, Inject, Input, TemplateRef, ViewChild } from '@angular/core'
import { ComponentFixture, fakeAsync, inject, TestBed, tick, waitForAsync } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';

import { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { dispatchKeyboardEvent } from 'ng-zorro-antd/core/testing';
import { NZ_DRAWER_DATA } from 'ng-zorro-antd/drawer/drawer-options';

Expand All @@ -18,7 +18,7 @@ describe('NzDrawerComponent', () => {
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
imports: [BidiModule, NzDrawerModule, NoopAnimationsModule, NzNoAnimationModule],
imports: [BidiModule, NzDrawerModule, NoopAnimationsModule, NzNoAnimationDirective],
declarations: [NzTestDrawerComponent, NzTestDrawerRtlComponent]
}).compileComponents();
})
Expand Down
4 changes: 2 additions & 2 deletions components/dropdown/dropdown-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { BehaviorSubject, Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';

import { slideMotion } from 'ng-zorro-antd/core/animation';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { IndexableObject, NzSafeAny } from 'ng-zorro-antd/core/types';
import { MenuService, NzIsMenuInsideDropDownToken } from 'ng-zorro-antd/menu';

Expand Down Expand Up @@ -66,7 +66,7 @@ export type NzPlacementType = 'bottomLeft' | 'bottomCenter' | 'bottomRight' | 't
preserveWhitespaces: false,
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [NgClass, NgStyle, NzNoAnimationModule],
imports: [NgClass, NgStyle, NzNoAnimationDirective],
standalone: true
})
export class NzDropdownMenuComponent implements AfterContentInit, OnDestroy, OnInit {
Expand Down
4 changes: 2 additions & 2 deletions components/graph/demo/module
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { NzGraphModule } from 'ng-zorro-antd/graph';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';

export const moduleList = [ NzGraphModule, NzButtonModule, NzIconModule, NzRadioModule, NzNoAnimationModule ];
export const moduleList = [ NzGraphModule, NzButtonModule, NzIconModule, NzRadioModule, NzNoAnimationDirective ];
4 changes: 2 additions & 2 deletions components/menu/submenu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
import { combineLatest, merge, Subject } from 'rxjs';
import { map, startWith, switchMap, takeUntil } from 'rxjs/operators';

import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { getPlacementName, POSITION_MAP, POSITION_TYPE_HORIZONTAL } from 'ng-zorro-antd/core/overlay';
import { BooleanInput } from 'ng-zorro-antd/core/types';
import { InputBoolean } from 'ng-zorro-antd/core/util';
Expand Down Expand Up @@ -149,7 +149,7 @@ const listOfHorizontalPositions = [
NzSubMenuTitleComponent,
NzSubmenuInlineChildComponent,
NgIf,
NzNoAnimationModule,
NzNoAnimationDirective,
NzSubmenuNoneInlineChildComponent,
OverlayModule
],
Expand Down
4 changes: 2 additions & 2 deletions components/popconfirm/popconfirm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { finalize, first, takeUntil } from 'rxjs/operators';
import { NzButtonModule, NzButtonType } from 'ng-zorro-antd/button';
import { zoomBigMotion } from 'ng-zorro-antd/core/animation';
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzOutletModule } from 'ng-zorro-antd/core/outlet';
import { NzOverlayModule } from 'ng-zorro-antd/core/overlay';
import { BooleanInput, NgStyleInterface, NzSafeAny, NzTSType } from 'ng-zorro-antd/core/types';
Expand Down Expand Up @@ -220,7 +220,7 @@ export class NzPopconfirmDirective extends NzTooltipBaseDirective {
A11yModule,
NgClass,
NgStyle,
NzNoAnimationModule,
NzNoAnimationDirective,
NgIf,
NzOutletModule,
NzIconModule,
Expand Down
4 changes: 2 additions & 2 deletions components/popover/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {

import { zoomBigMotion } from 'ng-zorro-antd/core/animation';
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzOutletModule } from 'ng-zorro-antd/core/outlet';
import { NzOverlayModule } from 'ng-zorro-antd/core/overlay';
import { BooleanInput, NgStyleInterface, NzTSType } from 'ng-zorro-antd/core/types';
Expand Down Expand Up @@ -140,7 +140,7 @@ export class NzPopoverDirective extends NzTooltipBaseDirective {
</div>
</ng-template>
`,
imports: [OverlayModule, NzOverlayModule, NgClass, NgStyle, NzNoAnimationModule, NgIf, NzOutletModule],
imports: [OverlayModule, NzOverlayModule, NgClass, NgStyle, NzNoAnimationDirective, NgIf, NzOutletModule],
standalone: true
})
export class NzPopoverComponent extends NzToolTipComponent {
Expand Down
4 changes: 2 additions & 2 deletions components/select/select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import { distinctUntilChanged, map, startWith, switchMap, takeUntil, withLatestF
import { slideMotion } from 'ng-zorro-antd/core/animation';
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzFormNoStatusService, NzFormPatchModule, NzFormStatusService } from 'ng-zorro-antd/core/form';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { getPlacementName, NzOverlayModule, POSITION_MAP, POSITION_TYPE } from 'ng-zorro-antd/core/overlay';
import { cancelRequestAnimationFrame, reqAnimFrame } from 'ng-zorro-antd/core/polyfill';
import { NzDestroyService } from 'ng-zorro-antd/core/services';
Expand Down Expand Up @@ -203,7 +203,7 @@ export type NzSelectSizeType = 'large' | 'default' | 'small';
imports: [
NzSelectTopControlComponent,
CdkOverlayOrigin,
NzNoAnimationModule,
NzNoAnimationDirective,
NzSelectArrowComponent,
NgIf,
NzFormPatchModule,
Expand Down
4 changes: 2 additions & 2 deletions components/tooltip/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {

import { zoomBigMotion } from 'ng-zorro-antd/core/animation';
import { isPresetColor, NzPresetColor } from 'ng-zorro-antd/core/color';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzOutletModule } from 'ng-zorro-antd/core/outlet';
import { NzOverlayModule } from 'ng-zorro-antd/core/overlay';
import { BooleanInput, NgStyleInterface, NzTSType } from 'ng-zorro-antd/core/types';
Expand Down Expand Up @@ -130,7 +130,7 @@ export class NzTooltipDirective extends NzTooltipBaseDirective {
</ng-template>
`,
preserveWhitespaces: false,
imports: [OverlayModule, NgClass, NgStyle, NzNoAnimationModule, NzOutletModule, NzOverlayModule],
imports: [OverlayModule, NgClass, NgStyle, NzNoAnimationDirective, NzOutletModule, NzOverlayModule],
standalone: true
})
export class NzToolTipComponent extends NzTooltipBaseComponent {
Expand Down
4 changes: 2 additions & 2 deletions components/tree-select/tree-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import { distinctUntilChanged, filter, map, takeUntil, tap, withLatestFrom } fro
import { slideMotion } from 'ng-zorro-antd/core/animation';
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzFormNoStatusService, NzFormPatchModule, NzFormStatusService } from 'ng-zorro-antd/core/form';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzOverlayModule, POSITION_MAP } from 'ng-zorro-antd/core/overlay';
import { reqAnimFrame } from 'ng-zorro-antd/core/polyfill';
import {
Expand Down Expand Up @@ -239,7 +239,7 @@ const listOfPositions = [
NzOverlayModule,
CdkConnectedOverlay,
NgClass,
NzNoAnimationModule,
NzNoAnimationDirective,
NgStyle,
NzTreeModule,
NgIf,
Expand Down
4 changes: 2 additions & 2 deletions components/tree-view/demo/module
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
import { NzHighlightModule } from 'ng-zorro-antd/core/highlight';
import { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzSwitchModule } from 'ng-zorro-antd/switch';
import { NzTreeViewModule } from 'ng-zorro-antd/tree-view';

export const moduleList = [ NzTreeViewModule, NzIconModule, NzCheckboxModule, NzInputModule, NzSwitchModule, NzButtonModule, NzNoAnimationModule, NzHighlightModule ];
export const moduleList = [ NzTreeViewModule, NzIconModule, NzCheckboxModule, NzInputModule, NzSwitchModule, NzButtonModule, NzNoAnimationDirective, NzHighlightModule ];
14 changes: 7 additions & 7 deletions components/tree/tree.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import {
Component,
ContentChild,
EventEmitter,
forwardRef,
Host,
inject,
Input,
OnChanges,
OnDestroy,
Expand All @@ -22,27 +24,25 @@ import {
Output,
SimpleChange,
TemplateRef,
ViewChild,
forwardRef,
inject
ViewChild
} from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
import { Observable, Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';

import { treeCollapseMotion } from 'ng-zorro-antd/core/animation';
import { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';
import { NzNoAnimationDirective, NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import {
flattenTreeData,
NzFormatBeforeDropEvent,
NzFormatEmitEvent,
NzTreeBase,
NzTreeBaseService,
NzTreeHigherOrderServiceToken,
NzTreeNode,
NzTreeNodeKey,
NzTreeNodeOptions,
flattenTreeData
NzTreeNodeOptions
} from 'ng-zorro-antd/core/tree';
import { BooleanInput, NzSafeAny } from 'ng-zorro-antd/core/types';
import { InputBoolean } from 'ng-zorro-antd/core/util';
Expand Down Expand Up @@ -176,7 +176,7 @@ const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'tree';
NgIf,
CdkVirtualForOf,
NgTemplateOutlet,
NzNoAnimationModule,
NzNoAnimationDirective,
NgForOf,
NzTreeNodeBuiltinComponent
],
Expand Down