fantasy-ngzorro 2.2.19 → 2.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/bundles/fantasy-ngzorro.umd.js +70 -9
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-detail-lines/hd-detail-lines.component.js +3 -3
- package/esm2015/hd-filter/hd-filter.component.js +42 -5
- package/esm2015/hd-form-lines/hd-form-lines.component.js +3 -3
- package/esm2015/hd-table/hd-table.component.js +16 -2
- package/esm5/hd-detail-lines/hd-detail-lines.component.js +3 -3
- package/esm5/hd-filter/hd-filter.component.js +52 -5
- package/esm5/hd-form-lines/hd-form-lines.component.js +3 -3
- package/esm5/hd-table/hd-table.component.js +16 -2
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +60 -9
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +70 -9
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-filter/hd-filter.component.d.ts +4 -0
- package/hd-table/hd-table.component.d.ts +2 -0
- package/package.json +2 -2
|
@@ -54,6 +54,10 @@ export declare class HdFilterComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
54
54
|
/** 有 onOpenChangeEvent 时展开下拉先清空选项,由业务回调再写入新数据 */
|
|
55
55
|
private clearSelectOptionsOnOpen;
|
|
56
56
|
triggerEvent(fn: any, event: any, selectOption?: any): void;
|
|
57
|
+
/** 当前展示的筛选项数量(尊重 item.show,与展开/收起一致) */
|
|
58
|
+
getVisibleFilterCount(): number;
|
|
59
|
+
/** 少条件时加宽字段列:1→18、2→9、≥3→6 */
|
|
60
|
+
getFilterColSpan(): number;
|
|
57
61
|
computeOffset(): number;
|
|
58
62
|
private checkList;
|
|
59
63
|
submitForm(): void;
|
|
@@ -16,6 +16,8 @@ export declare class HdTableComponent implements OnInit, OnDestroy {
|
|
|
16
16
|
tableData: Page<any>;
|
|
17
17
|
showSelected: boolean;
|
|
18
18
|
showOperateColWarpButton: boolean;
|
|
19
|
+
/** 是否展示列设置(齿轮),默认开启;弹窗等场景可传 false 关闭 */
|
|
20
|
+
showColSettings: boolean;
|
|
19
21
|
virtualScroll: boolean;
|
|
20
22
|
/** 手动指定行高;不传则在首屏渲染后自动测量 */
|
|
21
23
|
virtualItemSize: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fantasy-ngzorro",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.2.21",
|
|
4
|
+
"description": "feat:hd-table showColSettings;hd-filter 少条件加宽;hd-form-lines 搜索与左侧按钮同区布局",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"moment": "^2.24.0",
|
|
7
7
|
"ng-zorro-antd": "^8.5.2",
|