Skip to content

Commit

Permalink
feat(abc:result): will be removed in v20
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jul 17, 2024
1 parent bafe3ab commit 36b386d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/abc/result/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ title: result
subtitle: Result
cols: 1
module: import { ResultModule } from '@delon/abc/result';
deprecated: 20.0.0
---

# Will be removed in v20, Please use `nz-result` instead.

Used to feedback the processing results of a series of tasks performed by the user.

## API
Expand Down
3 changes: 3 additions & 0 deletions packages/abc/result/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ title: result
subtitle: 处理结果
cols: 1
module: import { ResultModule } from '@delon/abc/result';
deprecated: 20.0.0
---

# Will be removed in v20, Please use `nz-result` instead.

结果页用于对用户进行的一系列任务处理结果进行反馈。

## API
Expand Down
3 changes: 3 additions & 0 deletions packages/abc/result/result.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { NzStringTemplateOutletDirective } from 'ng-zorro-antd/core/outlet';
import { NzIconDirective } from 'ng-zorro-antd/icon';

/**
* @deprecated Will be removed in v20, Please use `nz-result` instead.
*/
@Component({
selector: 'result',
exportAs: 'result',
Expand Down
3 changes: 3 additions & 0 deletions packages/abc/result/result.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import { ResultComponent } from './result.component';

const COMPONENTS = [ResultComponent];

Check warning on line 9 in packages/abc/result/result.module.ts

View workflow job for this annotation

GitHub Actions / lint

'ResultComponent' is deprecated. Will be removed in v20, Please use `nz-result` instead

/**
* @deprecated Will be removed in v20, Please use `nz-result` instead.
*/
@NgModule({
imports: [CommonModule, NzIconModule, NzOutletModule, ...COMPONENTS],
exports: COMPONENTS
Expand Down

0 comments on commit 36b386d

Please sign in to comment.