fantasy-ngzorro 2.1.19 → 2.1.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 +1 -1
- package/bundles/fantasy-ngzorro.umd.js +251 -66
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +2 -2
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-table/hd-table-cell.pipe.js +26 -5
- package/esm2015/hd-table/hd-table.component.js +155 -22
- package/esm2015/hd-table/hd-table.module.js +3 -1
- package/esm5/hd-table/hd-table-cell.pipe.js +26 -5
- package/esm5/hd-table/hd-table.component.js +186 -22
- package/esm5/hd-table/hd-table.module.js +3 -1
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +217 -62
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +248 -62
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-table/hd-table-cell.pipe.d.ts +1 -0
- package/hd-table/hd-table.component.d.ts +12 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
|
|
|
14
14
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
15
15
|
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
|
|
16
16
|
import { NzResizableModule } from 'ng-zorro-antd/resizable';
|
|
17
|
+
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
|
|
17
18
|
import { NzTreeModule } from 'ng-zorro-antd/tree';
|
|
18
19
|
import { createInstance, INDEXEDDB } from 'localforage';
|
|
19
20
|
import { NavigationStart, Router } from '@angular/router';
|
|
@@ -5486,6 +5487,43 @@ CommonSessionService.decorators = [
|
|
|
5486
5487
|
{ type: Injectable }
|
|
5487
5488
|
];
|
|
5488
5489
|
|
|
5490
|
+
/**
|
|
5491
|
+
* @fileoverview added by tsickle
|
|
5492
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5493
|
+
*/
|
|
5494
|
+
/** @type {?} */
|
|
5495
|
+
const ColWidth = {
|
|
5496
|
+
tableImageColWidth: 25,
|
|
5497
|
+
// 表格小图标宽度
|
|
5498
|
+
tableTwoImageColWidth: 40,
|
|
5499
|
+
// 表格小图标宽度
|
|
5500
|
+
billNumberColWidth: 150,
|
|
5501
|
+
// 单据单号列宽度
|
|
5502
|
+
nameColWidth: 150,
|
|
5503
|
+
// 基本资料名称列宽度
|
|
5504
|
+
codeColWidth: 100,
|
|
5505
|
+
// 基本资料代码列宽度
|
|
5506
|
+
codeNameColWidth: 200,
|
|
5507
|
+
// 用于门店、货主、供应商以“[code]name“格式展示时固定宽度
|
|
5508
|
+
enumColWidth: 100,
|
|
5509
|
+
// 枚举列宽度
|
|
5510
|
+
dateColWidth: 100,
|
|
5511
|
+
// 单个日期
|
|
5512
|
+
dateTimeColWidth: 150,
|
|
5513
|
+
// 单个日期带时间
|
|
5514
|
+
dateRangeWidth: 200,
|
|
5515
|
+
// 日期范围
|
|
5516
|
+
operateColWidth: 150,
|
|
5517
|
+
// 操作列宽度
|
|
5518
|
+
numberColWidth: 100,
|
|
5519
|
+
// 数字列
|
|
5520
|
+
remarkColWidth: 250,
|
|
5521
|
+
// 备注列
|
|
5522
|
+
fixColWidth: 150,
|
|
5523
|
+
// 不属于以上内容的列统一使用该宽度,增加超长省略
|
|
5524
|
+
maxColWidth: 350 // 用于展示订单内容,需要缩略、展开显示的列
|
|
5525
|
+
};
|
|
5526
|
+
|
|
5489
5527
|
/**
|
|
5490
5528
|
* @fileoverview added by tsickle
|
|
5491
5529
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -5501,6 +5539,8 @@ if (false) {
|
|
|
5501
5539
|
HdTableCellView.prototype.title;
|
|
5502
5540
|
/** @type {?} */
|
|
5503
5541
|
HdTableCellView.prototype.isEmpty;
|
|
5542
|
+
/** @type {?} */
|
|
5543
|
+
HdTableCellView.prototype.overflow;
|
|
5504
5544
|
}
|
|
5505
5545
|
class HdTableCellPipe {
|
|
5506
5546
|
/**
|
|
@@ -5510,7 +5550,7 @@ class HdTableCellPipe {
|
|
|
5510
5550
|
*/
|
|
5511
5551
|
transform(data, col) {
|
|
5512
5552
|
if (!data || !col) {
|
|
5513
|
-
return { display: "<空>", title: null, isEmpty: true };
|
|
5553
|
+
return { display: "<空>", title: null, isEmpty: true, overflow: false };
|
|
5514
5554
|
}
|
|
5515
5555
|
/** @type {?} */
|
|
5516
5556
|
const raw = getHdTableCellRaw(data, col);
|
|
@@ -5519,20 +5559,38 @@ class HdTableCellPipe {
|
|
|
5519
5559
|
/** @type {?} */
|
|
5520
5560
|
const display = isEmpty ? "<空>" : raw;
|
|
5521
5561
|
/** @type {?} */
|
|
5562
|
+
const maxWidth = col.width || ColWidth.fixColWidth;
|
|
5563
|
+
/** @type {?} */
|
|
5564
|
+
let overflow = false;
|
|
5565
|
+
/** @type {?} */
|
|
5522
5566
|
let title = null;
|
|
5523
|
-
if (!isEmpty
|
|
5567
|
+
if (!isEmpty) {
|
|
5524
5568
|
/** @type {?} */
|
|
5525
5569
|
const str = String(raw);
|
|
5526
|
-
|
|
5570
|
+
overflow = estimateTextWidth(str) >= maxWidth;
|
|
5571
|
+
if (overflow) {
|
|
5527
5572
|
title = str;
|
|
5528
5573
|
}
|
|
5529
5574
|
}
|
|
5530
|
-
return { display, title, isEmpty };
|
|
5575
|
+
return { display, title, isEmpty, overflow };
|
|
5531
5576
|
}
|
|
5532
5577
|
}
|
|
5533
5578
|
HdTableCellPipe.decorators = [
|
|
5534
5579
|
{ type: Pipe, args: [{ name: "hdTableCell", pure: true },] }
|
|
5535
5580
|
];
|
|
5581
|
+
/**
|
|
5582
|
+
* 估算文本像素宽度(中文约 14px,英文约 8px)
|
|
5583
|
+
* @param {?} str
|
|
5584
|
+
* @return {?}
|
|
5585
|
+
*/
|
|
5586
|
+
function estimateTextWidth(str) {
|
|
5587
|
+
/** @type {?} */
|
|
5588
|
+
let width = 15;
|
|
5589
|
+
for (let i = 0; i < str.length; i++) {
|
|
5590
|
+
width += str.charCodeAt(i) > 255 ? 14 : 8;
|
|
5591
|
+
}
|
|
5592
|
+
return width;
|
|
5593
|
+
}
|
|
5536
5594
|
/**
|
|
5537
5595
|
* @param {?} data
|
|
5538
5596
|
* @param {?} col
|
|
@@ -5553,43 +5611,6 @@ function getHdTableCellRaw(data, col) {
|
|
|
5553
5611
|
return undefined;
|
|
5554
5612
|
}
|
|
5555
5613
|
|
|
5556
|
-
/**
|
|
5557
|
-
* @fileoverview added by tsickle
|
|
5558
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5559
|
-
*/
|
|
5560
|
-
/** @type {?} */
|
|
5561
|
-
const ColWidth = {
|
|
5562
|
-
tableImageColWidth: 25,
|
|
5563
|
-
// 表格小图标宽度
|
|
5564
|
-
tableTwoImageColWidth: 40,
|
|
5565
|
-
// 表格小图标宽度
|
|
5566
|
-
billNumberColWidth: 150,
|
|
5567
|
-
// 单据单号列宽度
|
|
5568
|
-
nameColWidth: 150,
|
|
5569
|
-
// 基本资料名称列宽度
|
|
5570
|
-
codeColWidth: 100,
|
|
5571
|
-
// 基本资料代码列宽度
|
|
5572
|
-
codeNameColWidth: 200,
|
|
5573
|
-
// 用于门店、货主、供应商以“[code]name“格式展示时固定宽度
|
|
5574
|
-
enumColWidth: 100,
|
|
5575
|
-
// 枚举列宽度
|
|
5576
|
-
dateColWidth: 100,
|
|
5577
|
-
// 单个日期
|
|
5578
|
-
dateTimeColWidth: 150,
|
|
5579
|
-
// 单个日期带时间
|
|
5580
|
-
dateRangeWidth: 200,
|
|
5581
|
-
// 日期范围
|
|
5582
|
-
operateColWidth: 150,
|
|
5583
|
-
// 操作列宽度
|
|
5584
|
-
numberColWidth: 100,
|
|
5585
|
-
// 数字列
|
|
5586
|
-
remarkColWidth: 250,
|
|
5587
|
-
// 备注列
|
|
5588
|
-
fixColWidth: 150,
|
|
5589
|
-
// 不属于以上内容的列统一使用该宽度,增加超长省略
|
|
5590
|
-
maxColWidth: 350 // 用于展示订单内容,需要缩略、展开显示的列
|
|
5591
|
-
};
|
|
5592
|
-
|
|
5593
5614
|
/**
|
|
5594
5615
|
* @fileoverview added by tsickle
|
|
5595
5616
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -5777,6 +5798,14 @@ class HdTableComponent {
|
|
|
5777
5798
|
* 自动测量前的兜底行高,测量完成后会更新
|
|
5778
5799
|
*/
|
|
5779
5800
|
this.measuredVirtualItemSize = 47;
|
|
5801
|
+
/**
|
|
5802
|
+
* 记录当前是否处于虚拟滚动模式,用于切换 pageSize 时重建表格
|
|
5803
|
+
*/
|
|
5804
|
+
this.virtualScrollActive = null;
|
|
5805
|
+
/**
|
|
5806
|
+
* 可见列总宽,用于判断是否需要横向滚动
|
|
5807
|
+
*/
|
|
5808
|
+
this.tableColWidthTotal = 0;
|
|
5780
5809
|
this.trackByRow = (/**
|
|
5781
5810
|
* @param {?} index
|
|
5782
5811
|
* @param {?} data
|
|
@@ -5912,8 +5941,7 @@ class HdTableComponent {
|
|
|
5912
5941
|
changes["tableData"]["currentValue"]["pageNumber"] !==
|
|
5913
5942
|
changes["tableData"]["previousValue"]["pageNumber"]) {
|
|
5914
5943
|
if (this.virtualScroll) {
|
|
5915
|
-
this.
|
|
5916
|
-
this.refreshVirtualScrollViewport(true);
|
|
5944
|
+
this.applyTableScrollMode(true);
|
|
5917
5945
|
}
|
|
5918
5946
|
return;
|
|
5919
5947
|
}
|
|
@@ -5922,8 +5950,7 @@ class HdTableComponent {
|
|
|
5922
5950
|
}
|
|
5923
5951
|
}
|
|
5924
5952
|
if (changes["tableData"] && this.virtualScroll) {
|
|
5925
|
-
this.
|
|
5926
|
-
this.refreshVirtualScrollViewport(true);
|
|
5953
|
+
this.applyTableScrollMode(true);
|
|
5927
5954
|
}
|
|
5928
5955
|
if (changes["tableCols"] &&
|
|
5929
5956
|
JSON.stringify(changes["tableCols"].currentValue) !==
|
|
@@ -6076,11 +6103,60 @@ class HdTableComponent {
|
|
|
6076
6103
|
if (this.judgeRepeatCols()) {
|
|
6077
6104
|
this.dealCols();
|
|
6078
6105
|
this.setCols();
|
|
6079
|
-
this.dealScroll();
|
|
6080
6106
|
this.dealOperateBtn();
|
|
6081
|
-
this.
|
|
6107
|
+
this.virtualScrollActive = null;
|
|
6108
|
+
this.applyTableScrollMode(true);
|
|
6109
|
+
}
|
|
6110
|
+
}
|
|
6111
|
+
/**
|
|
6112
|
+
* 虚拟/普通模式切换时重建表格,避免残留滚动容器
|
|
6113
|
+
* @param {?=} forceRemount
|
|
6114
|
+
* @return {?}
|
|
6115
|
+
*/
|
|
6116
|
+
applyTableScrollMode(forceRemount = false) {
|
|
6117
|
+
/** @type {?} */
|
|
6118
|
+
const useVirtual = this.useVirtualScroll;
|
|
6119
|
+
/** @type {?} */
|
|
6120
|
+
const modeChanged = this.virtualScrollActive !== null &&
|
|
6121
|
+
this.virtualScrollActive !== useVirtual;
|
|
6122
|
+
this.virtualScrollActive = useVirtual;
|
|
6123
|
+
if (forceRemount || modeChanged) {
|
|
6124
|
+
this.showTable = false;
|
|
6082
6125
|
this.cdr.markForCheck();
|
|
6126
|
+
setTimeout((/**
|
|
6127
|
+
* @return {?}
|
|
6128
|
+
*/
|
|
6129
|
+
() => {
|
|
6130
|
+
this.showTable = true;
|
|
6131
|
+
this.cdr.markForCheck();
|
|
6132
|
+
setTimeout((/**
|
|
6133
|
+
* @return {?}
|
|
6134
|
+
*/
|
|
6135
|
+
() => {
|
|
6136
|
+
this.dealScroll();
|
|
6137
|
+
this.cdr.markForCheck();
|
|
6138
|
+
this.afterTableRender(useVirtual);
|
|
6139
|
+
}));
|
|
6140
|
+
}));
|
|
6141
|
+
return;
|
|
6142
|
+
}
|
|
6143
|
+
this.dealScroll();
|
|
6144
|
+
this.cdr.markForCheck();
|
|
6145
|
+
this.afterTableRender(useVirtual);
|
|
6146
|
+
}
|
|
6147
|
+
/**
|
|
6148
|
+
* @private
|
|
6149
|
+
* @param {?} useVirtual
|
|
6150
|
+
* @return {?}
|
|
6151
|
+
*/
|
|
6152
|
+
afterTableRender(useVirtual) {
|
|
6153
|
+
if (useVirtual) {
|
|
6083
6154
|
this.refreshVirtualScrollViewport(true);
|
|
6155
|
+
return;
|
|
6156
|
+
}
|
|
6157
|
+
if (this.virtualScroll) {
|
|
6158
|
+
this.measureVirtualItemSize(true);
|
|
6159
|
+
this.syncHorizontalScroll();
|
|
6084
6160
|
}
|
|
6085
6161
|
}
|
|
6086
6162
|
/**
|
|
@@ -6631,6 +6707,70 @@ class HdTableComponent {
|
|
|
6631
6707
|
getVirtualScrollY(maxOffset) {
|
|
6632
6708
|
return `calc(100vh - ${maxOffset}px)`;
|
|
6633
6709
|
}
|
|
6710
|
+
/**
|
|
6711
|
+
* @private
|
|
6712
|
+
* @return {?}
|
|
6713
|
+
*/
|
|
6714
|
+
getTableViewportWidth() {
|
|
6715
|
+
if (!this.nzTableComponent || !this.nzTableComponent.tableMainElement) {
|
|
6716
|
+
return 0;
|
|
6717
|
+
}
|
|
6718
|
+
/** @type {?} */
|
|
6719
|
+
const tableMain = (/** @type {?} */ (this.nzTableComponent.tableMainElement
|
|
6720
|
+
.nativeElement));
|
|
6721
|
+
/** @type {?} */
|
|
6722
|
+
const wrapper = (/** @type {?} */ (tableMain.closest(".ant-table-wrapper")));
|
|
6723
|
+
if (wrapper && wrapper.clientWidth > 0) {
|
|
6724
|
+
return wrapper.clientWidth;
|
|
6725
|
+
}
|
|
6726
|
+
/** @type {?} */
|
|
6727
|
+
const host = (/** @type {?} */ (tableMain.closest(".hd-table-container")));
|
|
6728
|
+
if (host && host.clientWidth > 0) {
|
|
6729
|
+
return host.clientWidth;
|
|
6730
|
+
}
|
|
6731
|
+
return 0;
|
|
6732
|
+
}
|
|
6733
|
+
/**
|
|
6734
|
+
* 列总宽超出外层容器才启用横向 scroll(不能用 table 自身宽度,会被 scroll.x 撑宽)
|
|
6735
|
+
* @private
|
|
6736
|
+
* @param {?} colWidth
|
|
6737
|
+
* @param {?} useVirtual
|
|
6738
|
+
* @return {?}
|
|
6739
|
+
*/
|
|
6740
|
+
resolveScrollX(colWidth, useVirtual) {
|
|
6741
|
+
if (colWidth <= 0) {
|
|
6742
|
+
return useVirtual ? "1px" : null;
|
|
6743
|
+
}
|
|
6744
|
+
if (useVirtual) {
|
|
6745
|
+
return `${colWidth}px`;
|
|
6746
|
+
}
|
|
6747
|
+
/** @type {?} */
|
|
6748
|
+
const viewportWidth = this.getTableViewportWidth();
|
|
6749
|
+
if (viewportWidth > 0) {
|
|
6750
|
+
return colWidth > viewportWidth ? `${colWidth}px` : null;
|
|
6751
|
+
}
|
|
6752
|
+
if (typeof window !== "undefined" && colWidth > window.innerWidth - 32) {
|
|
6753
|
+
return `${colWidth}px`;
|
|
6754
|
+
}
|
|
6755
|
+
return null;
|
|
6756
|
+
}
|
|
6757
|
+
/**
|
|
6758
|
+
* 表格渲染后按实际容器宽度校正横向 scroll
|
|
6759
|
+
* @private
|
|
6760
|
+
* @return {?}
|
|
6761
|
+
*/
|
|
6762
|
+
syncHorizontalScroll() {
|
|
6763
|
+
if (!this.virtualScroll || this.useVirtualScroll) {
|
|
6764
|
+
return;
|
|
6765
|
+
}
|
|
6766
|
+
/** @type {?} */
|
|
6767
|
+
const scrollX = this.resolveScrollX(this.tableColWidthTotal, false);
|
|
6768
|
+
if (this.scroll && this.scroll.x === scrollX && this.scroll.y === null) {
|
|
6769
|
+
return;
|
|
6770
|
+
}
|
|
6771
|
+
this.scroll = { x: scrollX, y: null };
|
|
6772
|
+
this.cdr.markForCheck();
|
|
6773
|
+
}
|
|
6634
6774
|
/**
|
|
6635
6775
|
* @return {?}
|
|
6636
6776
|
*/
|
|
@@ -6653,26 +6793,28 @@ class HdTableComponent {
|
|
|
6653
6793
|
colWidth += item.width;
|
|
6654
6794
|
}
|
|
6655
6795
|
}));
|
|
6796
|
+
this.tableColWidthTotal = colWidth;
|
|
6656
6797
|
/** @type {?} */
|
|
6657
6798
|
const maxOffset = this.tableTotal ? 180 : 140;
|
|
6658
6799
|
/** @type {?} */
|
|
6659
6800
|
const useVirtual = this.useVirtualScroll;
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
scrollY = this.getVirtualScrollY(maxOffset);
|
|
6801
|
+
if (this.virtualScroll && !useVirtual) {
|
|
6802
|
+
this.scroll = {
|
|
6803
|
+
x: this.resolveScrollX(colWidth, false),
|
|
6804
|
+
y: null,
|
|
6805
|
+
};
|
|
6806
|
+
return;
|
|
6667
6807
|
}
|
|
6668
|
-
|
|
6669
|
-
|
|
6808
|
+
if (!this.virtualScroll) {
|
|
6809
|
+
this.scroll = {
|
|
6810
|
+
x: "1px",
|
|
6811
|
+
y: `calc(100vh - ${maxOffset}px)`,
|
|
6812
|
+
};
|
|
6813
|
+
return;
|
|
6670
6814
|
}
|
|
6671
|
-
/** @type {?} */
|
|
6672
|
-
const scrollX = useVirtual && colWidth > 0 ? `${colWidth}px` : "1px";
|
|
6673
6815
|
this.scroll = {
|
|
6674
|
-
x:
|
|
6675
|
-
y:
|
|
6816
|
+
x: this.resolveScrollX(colWidth, true),
|
|
6817
|
+
y: this.getVirtualScrollY(maxOffset),
|
|
6676
6818
|
};
|
|
6677
6819
|
}
|
|
6678
6820
|
// 表格勾选逻辑
|
|
@@ -6802,9 +6944,9 @@ class HdTableComponent {
|
|
|
6802
6944
|
HdTableComponent.decorators = [
|
|
6803
6945
|
{ type: Component, args: [{
|
|
6804
6946
|
selector: "hd-table",
|
|
6805
|
-
template: "<ng-container>\n <hd-button-group>\n <ng-template #buttonGroupLeft>\n <ng-container *ngTemplateOutlet=\"tableLeftButton\"></ng-container>\n <hd-button *ngIf=\"showOperateColWarpButton\" type=\"default\" (click)=\"toggleShowDetail()\">{{showDetail ?\n '\u7F29\u7565\u663E\u793A': '\u5C55\u5F00\u663E\u793A'}}</hd-button>\n </ng-template>\n <ng-template #buttonGroupRight>\n <ng-container *ngTemplateOutlet=\"tableRightButton\"></ng-container>\n <hd-button type=\"primary\" nz-dropdown nzTrigger=\"click\" [nzDropdownMenu]=\"menu\" (clickAction)=\"confirmDropdown()\"\n [nzVisible]=\"isDropdownVisible\">\u8BBE\u7F6E\u5217</hd-button>\n <nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <div style=\"max-height: 400px;overflow-y: scroll;\">\n <div *ngIf=\"showListNodes && nowListNodes.length > 0\" nz-menu style=\"padding: 5px 10px;\">\n <nz-tree *ngIf=\"showListNodes\" [nzData]=\"nowListNodes\" nzCheckable nzDraggable nzBlockNode\n nzShowExpand=\"false\" (nzCheckBoxChange)=\"checkAction($event)\" [nzBeforeDrop]=\"beforeDrop\"\n [nzTreeTemplate]=\"nzTreeTemplate\">\n </nz-tree>\n <ng-template #nzTreeTemplate let-node>\n <span\n class=\"ng-tns-c31-110 draggable ng-star-inserted ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close\"\n [title]=\"node.key\" draggable=\"true\" aria-grabbed=\"true\">\n <span class=\"ant-tree-title\">\n <div class=\"hd-table-tree-node\">\n <span>{{node.key}}</span>\n <div *ngIf=\"!node.origin.disabled\" class=\"hd-table-tree-node-img\">\n <i nz-icon nzType=\"caret-up\" nzTheme=\"outline\"></i>\n <i nz-icon nzType=\"caret-down\" nzTheme=\"outline\"></i>\n </div>\n </div>\n </span>\n </span>\n </ng-template>\n </div>\n <div *ngIf=\"showListNodes && hideListNodes.length > 0\" nz-menu style=\"padding: 5px 10px;\">\n <nz-tree *ngIf=\"showListNodes\" [nzData]=\"hideListNodes\" nzCheckable nzShowExpand=\"false\"\n (nzCheckBoxChange)=\"checkAction($event)\">\n </nz-tree>\n </div>\n </div>\n <div style=\"text-align: right;background: #fff;padding: 4px;\">\n <hd-button style=\"margin-right: 4px;\" type=\"default\" size=\"small\" (clickAction)=\"cancelDropdown()\">\u53D6\u6D88\n </hd-button>\n <hd-button type=\"primary\" size=\"small\" (clickAction)=\"submitGrids()\">\u5B8C\u6210</hd-button>\n </div>\n </nz-dropdown-menu>\n </ng-template>\n </hd-button-group>\n <hd-space type=\"row\" size=\"12\"></hd-space>\n <ng-container *ngTemplateOutlet=\"tableTotal\"></ng-container>\n <hd-space *ngIf=\"tableTotal\" type=\"row\" size=\"12\"></hd-space>\n <nz-table *ngIf=\"showTable\" #hdTable class=\"hd-table-container\" [nzScroll]=\"scroll\"
|
|
6947
|
+
template: "<ng-container>\n <hd-button-group>\n <ng-template #buttonGroupLeft>\n <ng-container *ngTemplateOutlet=\"tableLeftButton\"></ng-container>\n <hd-button *ngIf=\"showOperateColWarpButton\" type=\"default\" (click)=\"toggleShowDetail()\">{{showDetail ?\n '\u7F29\u7565\u663E\u793A': '\u5C55\u5F00\u663E\u793A'}}</hd-button>\n </ng-template>\n <ng-template #buttonGroupRight>\n <ng-container *ngTemplateOutlet=\"tableRightButton\"></ng-container>\n <hd-button type=\"primary\" nz-dropdown nzTrigger=\"click\" [nzDropdownMenu]=\"menu\" (clickAction)=\"confirmDropdown()\"\n [nzVisible]=\"isDropdownVisible\">\u8BBE\u7F6E\u5217</hd-button>\n <nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <div style=\"max-height: 400px;overflow-y: scroll;\">\n <div *ngIf=\"showListNodes && nowListNodes.length > 0\" nz-menu style=\"padding: 5px 10px;\">\n <nz-tree *ngIf=\"showListNodes\" [nzData]=\"nowListNodes\" nzCheckable nzDraggable nzBlockNode\n nzShowExpand=\"false\" (nzCheckBoxChange)=\"checkAction($event)\" [nzBeforeDrop]=\"beforeDrop\"\n [nzTreeTemplate]=\"nzTreeTemplate\">\n </nz-tree>\n <ng-template #nzTreeTemplate let-node>\n <span\n class=\"ng-tns-c31-110 draggable ng-star-inserted ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close\"\n [title]=\"node.key\" draggable=\"true\" aria-grabbed=\"true\">\n <span class=\"ant-tree-title\">\n <div class=\"hd-table-tree-node\">\n <span>{{node.key}}</span>\n <div *ngIf=\"!node.origin.disabled\" class=\"hd-table-tree-node-img\">\n <i nz-icon nzType=\"caret-up\" nzTheme=\"outline\"></i>\n <i nz-icon nzType=\"caret-down\" nzTheme=\"outline\"></i>\n </div>\n </div>\n </span>\n </span>\n </ng-template>\n </div>\n <div *ngIf=\"showListNodes && hideListNodes.length > 0\" nz-menu style=\"padding: 5px 10px;\">\n <nz-tree *ngIf=\"showListNodes\" [nzData]=\"hideListNodes\" nzCheckable nzShowExpand=\"false\"\n (nzCheckBoxChange)=\"checkAction($event)\">\n </nz-tree>\n </div>\n </div>\n <div style=\"text-align: right;background: #fff;padding: 4px;\">\n <hd-button style=\"margin-right: 4px;\" type=\"default\" size=\"small\" (clickAction)=\"cancelDropdown()\">\u53D6\u6D88\n </hd-button>\n <hd-button type=\"primary\" size=\"small\" (clickAction)=\"submitGrids()\">\u5B8C\u6210</hd-button>\n </div>\n </nz-dropdown-menu>\n </ng-template>\n </hd-button-group>\n <hd-space type=\"row\" size=\"12\"></hd-space>\n <ng-container *ngTemplateOutlet=\"tableTotal\"></ng-container>\n <hd-space *ngIf=\"tableTotal\" type=\"row\" size=\"12\"></hd-space>\n <nz-table *ngIf=\"showTable\" #hdTable class=\"hd-table-container\" [class.hd-table--virtual]=\"useVirtualScroll\" [nzScroll]=\"scroll\"\n nzShowSizeChanger nzShowQuickJumper nzFrontPagination=\"false\" nzSize=\"middle\" [nzData]=\"tableData.content\"\n [nzTotal]=\"tableData.totalElements\" [(nzPageIndex)]=\"tablePageIndex\" [nzLoading]=\"tableLoading\"\n [nzPageSizeOptions]=\"[ 10, 50, 100, 200, 500, 1000 ]\" [(nzPageSize)]=\"tablePageSize\" (nzPageSizeChange)=\"search(true)\"\n (nzPageIndexChange)=\"search(false)\" (nzCurrentPageDataChange)=\"showSelected ? currentPageDataChange($event) : null\"\n [nzShowTotal]=\"tableTotalTemplate\" [nzVirtualScroll]=\"useVirtualScroll\" [nzVirtualItemSize]=\"useVirtualScroll ? effectiveVirtualItemSize : 0\"\n [nzVirtualForTrackBy]=\"virtualTrackByRow\">\n <thead (nzSortChange)=\"sort($event)\" nzSingleSort>\n <tr>\n <th nzWidth=\"40px\" nzLeft=\"0px\" *ngIf=\"showSelected\" nzShowCheckbox [(nzChecked)]=\"isAllDisplayDataChecked\"\n [nzIndeterminate]=\"isIndeterminate\" (nzCheckedChange)=\"checkAll($event)\"></th>\n <ng-container *ngFor=\"let col of tableCols\">\n <th *ngIf=\"col.isShow\" [nzWidth]=\"col.width + 'px'\" [nzAlign]=\"col.align\"\n [nzLeft]=\"col.fixed === 'left' ? col.fixedWidth + 'px' : null\"\n [nzRight]=\"col.fixed === 'right' ? 0 + 'px' : null\" nz-resizable nzBounds=\"window\" nzPreview\n (nzResizeEnd)=\"onResize($event, col)\" [nzShowSort]=\"col.canSort\" [nzSortKey]=\"col.name\">\n {{ col.title }}\n <nz-resize-handle nzDirection=\"right\">\n <div class=\"resize-trigger\"></div>\n </nz-resize-handle>\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <ng-template *ngIf=\"useVirtualScroll\" nz-virtual-scroll let-data let-index=\"index\">\n <tr class=\"hd-table-virtual-row\">\n <ng-container *ngTemplateOutlet=\"tableCells; context: { $implicit: data, index: index }\"></ng-container>\n </tr>\n </ng-template>\n <ng-container *ngIf=\"!useVirtualScroll\">\n <tr *ngFor=\"let data of hdTable.data; trackBy: trackByRow; index as i\">\n <ng-container *ngTemplateOutlet=\"tableCells; context: { $implicit: data, index: i }\"></ng-container>\n </tr>\n </ng-container>\n </tbody>\n <tfoot *ngIf=\"showTableTotal\">\n <tr class=\"hd-table-total\">\n <td>\u5408\u8BA1</td>\n <ng-container *ngFor=\"let tableTotalOption of tableTotalOptionList\">\n <td>{{ tableTotalOption }}</td>\n </ng-container>\n </tr>\n </tfoot>\n <ng-template #tableTotalTemplate>\n \u5171 {{tableData.totalElements}} \u6761\u6570\u636E\n </ng-template>\n </nz-table>\n</ng-container>\n\n<ng-template #tableCells let-data let-index=\"index\">\n <td nzLeft=\"0px\" *ngIf=\"showSelected\" nzShowCheckbox [nzChecked]=\"mapOfCheckedId[data[selectField]]\"\n (nzCheckedChange)=\"refreshStatus($event, data)\"></td>\n <ng-container *ngFor=\"let col of tableCols; trackBy: trackByCol\">\n <td *ngIf=\"col.isShow\" [ngStyle]=\"{'max-width': col.width + 'px'}\" [nzAlign]=\"col.align\"\n [nzLeft]=\"col.fixed === 'left' ? col.fixedWidth + 'px' : null\"\n [nzRight]=\"col.fixed === 'right' ? 0 + 'px' : null\"\n [ngClass]=\"(col.canWarp && showDetail) ? 'common-td-wrap' : ''\">\n <ng-container *ngIf=\"col.title === '\u64CD\u4F5C';else notOperateTemplate\">\n <div class=\"common-btn-group\">\n <ng-container *ngFor=\"let btn of col.btnList\">\n <ng-container *ngIf=\"!needShowConfirm(btn, data);else showConfirmTemplate\">\n <a *ngIf=\"btn.permission ? btn.permission(data) : true\"\n [class]=\"btn.name === '\u5220\u9664' ? 'common-danger-btn': ''\"\n (click)=\"triggerEvent(btn.click || null, data)\">{{ btn.name }}</a>\n </ng-container>\n <ng-template #showConfirmTemplate>\n <a *ngIf=\"btn.permission ? btn.permission(data) : true\"\n [class]=\"btn.name === '\u5220\u9664' ? 'common-danger-btn': ''\" nz-popconfirm\n [nzPopconfirmTitle]=\"'\u786E\u8BA4\u8981' + btn.name + '\u5417?'\"\n (nzOnConfirm)=\"triggerEvent(btn.click || null, data)\">{{\n btn.name }}</a>\n </ng-template>\n </ng-container>\n </div>\n </ng-container>\n <ng-template #notOperateTemplate>\n <ng-container *ngIf=\"col.name === 'state' || col.isState;else otherTemplate\">\n <hd-status [status]=\"data[getStateField(col)]\">\n <ng-container *ngIf=\"(data | hdTableCell:col) as cell\">\n <span *ngIf=\"cell.overflow && !(col.canWarp && showDetail)\" nz-tooltip [nzTooltipTitle]=\"cell.title\">{{ cell.display }}</span>\n <span *ngIf=\"!cell.overflow || (col.canWarp && showDetail)\">{{ cell.display }}</span>\n </ng-container>\n </hd-status>\n </ng-container>\n <ng-template #otherTemplate>\n <ng-container *ngIf=\"col.click;else noClickTemplate\">\n <ng-container *ngIf=\"(data | hdTableCell:col) as cell\">\n <a *ngIf=\"cell.overflow && !(col.canWarp && showDetail)\" nz-tooltip [nzTooltipTitle]=\"cell.title\"\n [ngStyle]=\"{'color': cell.isEmpty ? '#2A3634' : (col?.color ? col.color : null)}\"\n (click)=\"triggerEvent(col.click || null, data)\">{{ cell.display }}</a>\n <a *ngIf=\"!cell.overflow || (col.canWarp && showDetail)\"\n [ngStyle]=\"{'color': cell.isEmpty ? '#2A3634' : (col?.color ? col.color : null)}\"\n (click)=\"triggerEvent(col.click || null, data)\">{{ cell.display }}</a>\n </ng-container>\n </ng-container>\n <ng-template #noClickTemplate>\n <ng-container *ngIf=\"(data | hdTableCell:col) as cell\">\n <span *ngIf=\"cell.overflow && !(col.canWarp && showDetail)\" nz-tooltip [nzTooltipTitle]=\"cell.title\"\n [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{ cell.display }}</span>\n <span *ngIf=\"!cell.overflow || (col.canWarp && showDetail)\"\n [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{ cell.display }}</span>\n </ng-container>\n </ng-template>\n </ng-template>\n </ng-template>\n </td>\n </ng-container>\n</ng-template>\n",
|
|
6806
6948
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6807
|
-
styles: ["::ng-deep .common-btn-group>a{font-size:14px;font-weight:400;color:#20b95d!important;white-space:nowrap}::ng-deep .common-btn-group .common-danger-btn:hover{color:#f05b24!important}::ng-deep .common-btn-group>a:hover{color:#20bd62!important}::ng-deep .common-btn-group>a:not(:last-child)::after{content:'';margin:0 2px}::ng-deep .common-billNumber>a{color:#3b77e3}button{box-shadow:unset;text-shadow:unset;padding:0 6px!important}::ng-deep .ant-form-item-label>label{color:#4b504e;font-size:14px}::ng-deep .ant-input-number-input{height:32px}::ng-deep .ant-input-number{height:32px}textarea.ant-input{height:auto;min-height:32px}::ng-deep .ant-select-selection--multiple{min-height:32px}::ng-deep .ant-select-selection__rendered>ul>li{height:26px!important;margin-top:3px!important;line-height:26px!important}::ng-deep .ant-advanced-search-form .ant-form-item{margin-bottom:0!important}::ng-deep .ant-select-selection--single{height:32px!important}::ng-deep .ant-input{height:32px}::ng-deep .ant-input[disabled]:hover{border-color:#d9d9d9!important}::ng-deep .ant-select-selection__rendered{line-height:32px!important}::ng-deep .ant-calendar-range-picker-input{text-align:left!important}::ng-deep .ant-calendar-picker{width:100%!important}::ng-deep .ant-row{margin-right:0!important;margin-left:0!important}::ng-deep .ant-col-6{padding-left:12px;padding-right:12px}::ng-deep .ant-col-12{padding-left:12px;padding-right:12px}::ng-deep .ant-col-18{padding-left:12px;padding-right:12px}::ng-deep .ant-col-24{padding-left:12px;padding-right:12px}::ng-deep .ant-alert-info{background-color:#f5f8f6;border:1px solid #cfe3d4}:host ::ng-deep th{background:#f5f8f6!important;font-weight:700!important;white-space:nowrap;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#2a3634;padding:8px!important;box-sizing:border-box}:host ::ng-deep td{font-weight:400;font-style:normal;font-size:14px;color:#2a3634;text-align:left;white-space:nowrap;padding:8px!important;box-sizing:border-box}::ng-deep .ant-pagination-options{display:inline-flex;align-items:center}::ng-deep .ant-time-picker{width:100%}.ant-input-number-disabled,.ant-input[disabled],.ant-select-disabled{color:#4b504e}.nz-resizable-preview{position:absolute;top:0;left:0;z-index:8;border:1px dashed #d1d1d1}.nz-resizable-handle{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:9}.nz-resizable-handle-top{width:100%;height:10px;top:-5px;left:0}.nz-resizable-handle-right{height:100%}.nz-resizable-handle-bottom{width:100%;height:10px;bottom:-5px;left:0}.nz-resizable-handle-left{width:10px;height:100%;top:0;left:-5px}.nz-resizable-handle-topRight{width:20px;height:20px;top:-5px;right:-5px;z-index:10}.nz-resizable-handle-bottomRight{width:20px;height:20px;right:-5px;bottom:-5px;z-index:10}.nz-resizable-handle-bottomLeft{width:20px;height:20px;bottom:-5px;left:-5px;z-index:10}.nz-resizable-handle-topLeft{width:20px;height:20px;top:-5px;left:-5px;z-index:10}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-bottom,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-top{cursor:row-resize}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-left,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-right{cursor:col-resize}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-bottomRight,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-topLeft{cursor:nwse-resize}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-bottomLeft,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-topRight{cursor:nesw-resize}.hd-table-container ::ng-deep .ant-pagination-options-quick-jumper input{border-radius:2px;border:1px solid #d9d9d9}.hd-table-container ::ng-deep .ant-pagination-options .ant-select-selection{border-radius:2px}.hd-table-container ::ng-deep .ant-table-thead>tr>th{border-bottom:1px solid #ecf1ed;white-space:nowrap;text-overflow:ellipsis}.hd-table-container ::ng-deep .ant-table-tbody>tr>td{border-bottom:1px solid #ecf1ed;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hd-table-container ::ng-deep .hd-table-total>td{border:0!important}.hd-table-container ::ng-deep cdk-virtual-scroll-viewport.ant-table-body .hd-table-virtual-row>td{box-sizing:border-box}::ng-deep .ant-dropdown-menu{border-radius:0}::ng-deep .ant-dropdown{margin-top:8px!important}.common-td-wrap{white-space:normal!important;word-break:break-all}.nz-resizable-preview{border-width:0 1px 0 0}.resize-trigger{width:10px;height:15px;position:relative;top:calc((100% - 15px)/ 2)}.resize-trigger::after{position:absolute;top:calc((100% - 15px)/ 2);left:0;background:#d5d5d5;content:'';width:1px;height:15px;z-index:1}.nz-resizable-handle-right{position:absolute;width:10px;top:0;right:-5px;z-index:inherit}.hd-table-tree-node{display:inline-flex;align-items:center;padding-right:10px}.hd-table-tree-node .hd-table-tree-node-img{display:flex;flex-direction:column;position:absolute;right:0;margin-top:-2.5px}.hd-table-tree-node .hd-table-tree-node-img i{opacity:.3}.hd-table-tree-node .hd-table-tree-node-img i:last-child{margin-top:-5px}img{width:20px;height:20px}.ant-table-th-left-sticky{z-index:2}::ng-deep .ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters>:not(.ant-table-column-sorter){position:unset}"]
|
|
6949
|
+
styles: ["::ng-deep .common-btn-group>a{font-size:14px;font-weight:400;color:#20b95d!important;white-space:nowrap}::ng-deep .common-btn-group .common-danger-btn:hover{color:#f05b24!important}::ng-deep .common-btn-group>a:hover{color:#20bd62!important}::ng-deep .common-btn-group>a:not(:last-child)::after{content:'';margin:0 2px}::ng-deep .common-billNumber>a{color:#3b77e3}button{box-shadow:unset;text-shadow:unset;padding:0 6px!important}::ng-deep .ant-form-item-label>label{color:#4b504e;font-size:14px}::ng-deep .ant-input-number-input{height:32px}::ng-deep .ant-input-number{height:32px}textarea.ant-input{height:auto;min-height:32px}::ng-deep .ant-select-selection--multiple{min-height:32px}::ng-deep .ant-select-selection__rendered>ul>li{height:26px!important;margin-top:3px!important;line-height:26px!important}::ng-deep .ant-advanced-search-form .ant-form-item{margin-bottom:0!important}::ng-deep .ant-select-selection--single{height:32px!important}::ng-deep .ant-input{height:32px}::ng-deep .ant-input[disabled]:hover{border-color:#d9d9d9!important}::ng-deep .ant-select-selection__rendered{line-height:32px!important}::ng-deep .ant-calendar-range-picker-input{text-align:left!important}::ng-deep .ant-calendar-picker{width:100%!important}::ng-deep .ant-row{margin-right:0!important;margin-left:0!important}::ng-deep .ant-col-6{padding-left:12px;padding-right:12px}::ng-deep .ant-col-12{padding-left:12px;padding-right:12px}::ng-deep .ant-col-18{padding-left:12px;padding-right:12px}::ng-deep .ant-col-24{padding-left:12px;padding-right:12px}::ng-deep .ant-alert-info{background-color:#f5f8f6;border:1px solid #cfe3d4}:host ::ng-deep th{background:#f5f8f6!important;font-weight:700!important;white-space:nowrap;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#2a3634;padding:8px!important;box-sizing:border-box}:host ::ng-deep td{font-weight:400;font-style:normal;font-size:14px;color:#2a3634;text-align:left;white-space:nowrap;padding:8px!important;box-sizing:border-box}::ng-deep .ant-pagination-options{display:inline-flex;align-items:center}::ng-deep .ant-time-picker{width:100%}.ant-input-number-disabled,.ant-input[disabled],.ant-select-disabled{color:#4b504e}.nz-resizable-preview{position:absolute;top:0;left:0;z-index:8;border:1px dashed #d1d1d1}.nz-resizable-handle{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:9}.nz-resizable-handle-top{width:100%;height:10px;top:-5px;left:0}.nz-resizable-handle-right{height:100%}.nz-resizable-handle-bottom{width:100%;height:10px;bottom:-5px;left:0}.nz-resizable-handle-left{width:10px;height:100%;top:0;left:-5px}.nz-resizable-handle-topRight{width:20px;height:20px;top:-5px;right:-5px;z-index:10}.nz-resizable-handle-bottomRight{width:20px;height:20px;right:-5px;bottom:-5px;z-index:10}.nz-resizable-handle-bottomLeft{width:20px;height:20px;bottom:-5px;left:-5px;z-index:10}.nz-resizable-handle-topLeft{width:20px;height:20px;top:-5px;left:-5px;z-index:10}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-bottom,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-top{cursor:row-resize}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-left,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-right{cursor:col-resize}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-bottomRight,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-topLeft{cursor:nwse-resize}.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-bottomLeft,.nz-resizable:not(.nz-resizable-resizing) .nz-resizable-handle-topRight{cursor:nesw-resize}.hd-table-container ::ng-deep .ant-pagination-options-quick-jumper input{border-radius:2px;border:1px solid #d9d9d9}.hd-table-container ::ng-deep .ant-pagination-options .ant-select-selection{border-radius:2px}.hd-table-container ::ng-deep .ant-table-thead>tr>th{border-bottom:1px solid #ecf1ed;white-space:nowrap;text-overflow:ellipsis}.hd-table-container ::ng-deep .ant-table-tbody>tr>td{border-bottom:1px solid #ecf1ed;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hd-table-container ::ng-deep .hd-table-total>td{border:0!important}.hd-table-container ::ng-deep cdk-virtual-scroll-viewport.ant-table-body .hd-table-virtual-row>td{box-sizing:border-box}.hd-table-container:not(.hd-table--virtual) ::ng-deep .ant-table-body{max-height:none!important;overflow-y:visible!important}::ng-deep .ant-dropdown-menu{border-radius:0}::ng-deep .ant-dropdown{margin-top:8px!important}.common-td-wrap{white-space:normal!important;word-break:break-all}.nz-resizable-preview{border-width:0 1px 0 0}.resize-trigger{width:10px;height:15px;position:relative;top:calc((100% - 15px)/ 2)}.resize-trigger::after{position:absolute;top:calc((100% - 15px)/ 2);left:0;background:#d5d5d5;content:'';width:1px;height:15px;z-index:1}.nz-resizable-handle-right{position:absolute;width:10px;top:0;right:-5px;z-index:inherit}.hd-table-tree-node{display:inline-flex;align-items:center;padding-right:10px}.hd-table-tree-node .hd-table-tree-node-img{display:flex;flex-direction:column;position:absolute;right:0;margin-top:-2.5px}.hd-table-tree-node .hd-table-tree-node-img i{opacity:.3}.hd-table-tree-node .hd-table-tree-node-img i:last-child{margin-top:-5px}img{width:20px;height:20px}.ant-table-th-left-sticky{z-index:2}::ng-deep .ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters>:not(.ant-table-column-sorter){position:unset}"]
|
|
6808
6950
|
}] }
|
|
6809
6951
|
];
|
|
6810
6952
|
/** @nocollapse */
|
|
@@ -6964,6 +7106,18 @@ if (false) {
|
|
|
6964
7106
|
* @type {?}
|
|
6965
7107
|
*/
|
|
6966
7108
|
HdTableComponent.prototype.measuredVirtualItemSize;
|
|
7109
|
+
/**
|
|
7110
|
+
* 记录当前是否处于虚拟滚动模式,用于切换 pageSize 时重建表格
|
|
7111
|
+
* @type {?}
|
|
7112
|
+
* @private
|
|
7113
|
+
*/
|
|
7114
|
+
HdTableComponent.prototype.virtualScrollActive;
|
|
7115
|
+
/**
|
|
7116
|
+
* 可见列总宽,用于判断是否需要横向滚动
|
|
7117
|
+
* @type {?}
|
|
7118
|
+
* @private
|
|
7119
|
+
*/
|
|
7120
|
+
HdTableComponent.prototype.tableColWidthTotal;
|
|
6967
7121
|
/** @type {?} */
|
|
6968
7122
|
HdTableComponent.prototype.nzTableComponent;
|
|
6969
7123
|
/** @type {?} */
|
|
@@ -7004,6 +7158,7 @@ HdTableModule.decorators = [
|
|
|
7004
7158
|
HdStatusModule,
|
|
7005
7159
|
HdButtonModule,
|
|
7006
7160
|
HdButtonGroupModule,
|
|
7161
|
+
NzToolTipModule,
|
|
7007
7162
|
NzPopconfirmModule,
|
|
7008
7163
|
NzResizableModule,
|
|
7009
7164
|
NzDropDownModule,
|