Skip to content

Commit

Permalink
chore: 文档
Browse files Browse the repository at this point in the history
  • Loading branch information
EnochGao committed Apr 28, 2023
1 parent 7bc7c32 commit 3764af3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,16 @@ export class NzxConfigurableQueryComponent
/** 初始化时,主动查询 */
@Input() initQuery = false;

/** 查询重置时会触发抛出查询参数 */
/**
* 下个版本即将废弃请使用 queryChange和resetChange
*
* 查询重置时会触发抛出查询参数
* @deprecated
* */
@Output() queryParamsChange = new EventEmitter<NzxQueryParams>();
/** 重置时会触发抛出查询参数 */
@Output() queryChange = new EventEmitter<NzxQueryParams>();
/** 查询时会触发抛出查询参数 */
@Output() resetChange = new EventEmitter<NzxQueryParams>();

queryParams: NzxQueryParams = {};
Expand Down
2 changes: 1 addition & 1 deletion components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-zorro-antd-extension",
"version": "15.1.0",
"version": "15.2.0",
"license": "MIT",
"description": "An extension based on ng-zorro-antd",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions components/trim/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/

export * from './trim.directive';
export * from './trim.module';
5 changes: 4 additions & 1 deletion docs/changelog/chnagelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ order: 1

### 新功能

- 增加 trim 组件,支持去除输入框前后空格
- 增加 nzxTrim 指令,支持去除输入框前后空格
- 增加查询连接器指令,方便链接 nz-table 和查询组件进行查询,支持当前界面缓存
- nzx-configurable-query 组件增加 queryChange 和 resetChange 事件区分查询和重置
- util 包增加 trimObject 函数,用来清除对象中的空属性值
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-zorro-antd-extension",
"version": "15.1.0",
"version": "15.2.0",
"license": "MIT",
"description": "An extension based on ng-zorro-antd",
"keywords": [
Expand Down

0 comments on commit 3764af3

Please sign in to comment.