diff --git a/components/configurable-query/configurable-query.component.ts b/components/configurable-query/configurable-query.component.ts index 502a5f6f..a2b82cd2 100644 --- a/components/configurable-query/configurable-query.component.ts +++ b/components/configurable-query/configurable-query.component.ts @@ -49,9 +49,16 @@ export class NzxConfigurableQueryComponent /** 初始化时,主动查询 */ @Input() initQuery = false; - /** 查询重置时会触发抛出查询参数 */ + /** + * 下个版本即将废弃请使用 queryChange和resetChange + * + * 查询重置时会触发抛出查询参数 + * @deprecated + * */ @Output() queryParamsChange = new EventEmitter(); + /** 重置时会触发抛出查询参数 */ @Output() queryChange = new EventEmitter(); + /** 查询时会触发抛出查询参数 */ @Output() resetChange = new EventEmitter(); queryParams: NzxQueryParams = {}; diff --git a/components/package.json b/components/package.json index e931df47..4d7e42f1 100644 --- a/components/package.json +++ b/components/package.json @@ -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": [ diff --git a/components/trim/public-api.ts b/components/trim/public-api.ts index 34ab7d2b..e8b6dad8 100644 --- a/components/trim/public-api.ts +++ b/components/trim/public-api.ts @@ -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'; diff --git a/docs/changelog/chnagelog.md b/docs/changelog/chnagelog.md index 093fbbdc..d1f03431 100644 --- a/docs/changelog/chnagelog.md +++ b/docs/changelog/chnagelog.md @@ -11,4 +11,7 @@ order: 1 ### 新功能 -- 增加 trim 组件,支持去除输入框前后空格 +- 增加 nzxTrim 指令,支持去除输入框前后空格 +- 增加查询连接器指令,方便链接 nz-table 和查询组件进行查询,支持当前界面缓存 +- nzx-configurable-query 组件增加 queryChange 和 resetChange 事件区分查询和重置 +- util 包增加 trimObject 函数,用来清除对象中的空属性值 diff --git a/package.json b/package.json index fad9d6f9..637c2237 100644 --- a/package.json +++ b/package.json @@ -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": [