From 36b386d8bfa5101c24726b90537acec73108e56c Mon Sep 17 00:00:00 2001 From: cipchk Date: Wed, 17 Jul 2024 14:12:46 +0800 Subject: [PATCH] feat(abc:result): will be removed in v20 --- packages/abc/result/index.en-US.md | 3 +++ packages/abc/result/index.zh-CN.md | 3 +++ packages/abc/result/result.component.ts | 3 +++ packages/abc/result/result.module.ts | 3 +++ 4 files changed, 12 insertions(+) diff --git a/packages/abc/result/index.en-US.md b/packages/abc/result/index.en-US.md index fdc11000d..c1be9d007 100644 --- a/packages/abc/result/index.en-US.md +++ b/packages/abc/result/index.en-US.md @@ -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 diff --git a/packages/abc/result/index.zh-CN.md b/packages/abc/result/index.zh-CN.md index bba5fb051..acdf01f2a 100644 --- a/packages/abc/result/index.zh-CN.md +++ b/packages/abc/result/index.zh-CN.md @@ -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 diff --git a/packages/abc/result/result.component.ts b/packages/abc/result/result.component.ts index 5a0e06700..ab165fc74 100644 --- a/packages/abc/result/result.component.ts +++ b/packages/abc/result/result.component.ts @@ -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', diff --git a/packages/abc/result/result.module.ts b/packages/abc/result/result.module.ts index e4e913f05..ab73d4696 100644 --- a/packages/abc/result/result.module.ts +++ b/packages/abc/result/result.module.ts @@ -8,6 +8,9 @@ import { ResultComponent } from './result.component'; const COMPONENTS = [ResultComponent]; +/** + * @deprecated Will be removed in v20, Please use `nz-result` instead. + */ @NgModule({ imports: [CommonModule, NzIconModule, NzOutletModule, ...COMPONENTS], exports: COMPONENTS