Skip to content

Commit 08f9142

Browse files
chore(module:pipes): remove nzSafeNull pipe (#8777)
1 parent dab4d66 commit 08f9142

File tree

8 files changed

+4
-156
lines changed

8 files changed

+4
-156
lines changed

components/pipes/demo/safe-null.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

components/pipes/demo/safe-null.ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

components/pipes/doc/index.en-US.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ import { NzPipesModule } from 'ng-zorro-antd/pipes';
2323

2424
## API
2525

26-
### **nzSafeNull**:standalone
27-
28-
| Property | Description | Type | Default |
29-
| --------- | ----------------- | -------- | ------- |
30-
| `replace` | Replace character | `string` | '' |
31-
3226
### **nzBytes**:standalone
3327

3428
| Property | Description | Type | Default |

components/pipes/doc/index.zh-CN.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ import { NzPipesModule } from 'ng-zorro-antd/pipes';
2323

2424
## API
2525

26-
### **nzSafeNull**:standalone
27-
28-
| 参数 | 说明 | 类型 | 默认值 |
29-
| --------- | -------- | -------- | ------ |
30-
| `replace` | 替换字符 | `string` | '' |
31-
3226
### **nzBytes**:standalone
3327

3428
| 参数 | 说明 | 类型 | 默认值 |

components/pipes/nz-pipes.module.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,10 @@ import { NzAggregatePipe } from './nz-aggregate.pipe';
99
import { NzBytesPipe } from './nz-bytes.pipe';
1010
import { NzToCssUnitPipe } from './nz-css-unit.pipe';
1111
import { NzEllipsisPipe } from './nz-ellipsis.pipe';
12-
import { NzSafeNullPipe } from './nz-safe-null.pipe';
1312
import { NzSanitizerPipe } from './nz-sanitizer.pipe';
1413
import { NzTrimPipe } from './nz-trim.pipe';
1514

16-
const pipes = [
17-
NzToCssUnitPipe,
18-
NzSafeNullPipe,
19-
NzSanitizerPipe,
20-
NzTrimPipe,
21-
NzBytesPipe,
22-
NzAggregatePipe,
23-
NzEllipsisPipe
24-
];
15+
const pipes = [NzToCssUnitPipe, NzSanitizerPipe, NzTrimPipe, NzBytesPipe, NzAggregatePipe, NzEllipsisPipe];
2516

2617
@NgModule({
2718
imports: [pipes],

components/pipes/nz-safe-null.pipe.spec.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.

components/pipes/nz-safe-null.pipe.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

components/pipes/public-api.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
44
*/
55

6-
export * from './nz-pipes.module';
7-
export * from './nz-css-unit.pipe';
6+
export * from './nz-aggregate.pipe';
87
export * from './nz-bytes.pipe';
8+
export * from './nz-css-unit.pipe';
99
export * from './nz-ellipsis.pipe';
10-
export * from './nz-aggregate.pipe';
11-
export * from './nz-safe-null.pipe';
10+
export * from './nz-pipes.module';
1211
export * from './nz-sanitizer.pipe';
1312
export * from './nz-trim.pipe';

0 commit comments

Comments
 (0)