fantasy-ngzorro 2.1.30 → 2.1.32

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.
@@ -7406,11 +7406,10 @@
7406
7406
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7407
7407
  */
7408
7408
  var HdTableComponent = /** @class */ (function () {
7409
- function HdTableComponent(cdr, commonSessionService, elementRef) {
7409
+ function HdTableComponent(cdr, commonSessionService) {
7410
7410
  var _this = this;
7411
7411
  this.cdr = cdr;
7412
7412
  this.commonSessionService = commonSessionService;
7413
- this.elementRef = elementRef;
7414
7413
  this.tableCols = [];
7415
7414
  this.showSelected = false;
7416
7415
  this.showOperateColWarpButton = false;
@@ -7470,11 +7469,6 @@
7470
7469
  * 可见列总宽,用于判断是否需要横向滚动
7471
7470
  */
7472
7471
  this.tableColWidthTotal = 0;
7473
- /**
7474
- * 监听列表容器尺寸变化,重新计算 scroll.y
7475
- */
7476
- this.resizeObserver = null;
7477
- this.resizeRaf = 0;
7478
7472
  this.trackByRow = (/**
7479
7473
  * @param {?} index
7480
7474
  * @param {?} data
@@ -7599,23 +7593,6 @@
7599
7593
  console.log("localforage加载异常step1", e);
7600
7594
  throw "localforage加载异常";
7601
7595
  }));
7602
- this.bindContainerResize();
7603
- };
7604
- /**
7605
- * @return {?}
7606
- */
7607
- HdTableComponent.prototype.ngOnDestroy = /**
7608
- * @return {?}
7609
- */
7610
- function () {
7611
- if (this.resizeRaf) {
7612
- cancelAnimationFrame(this.resizeRaf);
7613
- this.resizeRaf = 0;
7614
- }
7615
- if (this.resizeObserver) {
7616
- this.resizeObserver.disconnect();
7617
- this.resizeObserver = null;
7618
- }
7619
7596
  };
7620
7597
  /**
7621
7598
  * @param {?} changes
@@ -7750,11 +7727,6 @@
7750
7727
  var maxOffset = this.tableTotal ? 180 : 140;
7751
7728
  /** @type {?} */
7752
7729
  var estimatedHeight = rowCount * this.effectiveVirtualItemSize;
7753
- /** @type {?} */
7754
- var available = this.measureAvailableBodyHeight();
7755
- if (available > 0) {
7756
- return estimatedHeight > available;
7757
- }
7758
7730
  if (typeof window !== "undefined") {
7759
7731
  return estimatedHeight > window.innerHeight - maxOffset;
7760
7732
  }
@@ -7948,8 +7920,7 @@
7948
7920
  */
7949
7921
  function () {
7950
7922
  /** @type {?} */
7951
- var viewport = _this.nzTableComponent &&
7952
- _this.nzTableComponent.cdkVirtualScrollViewport;
7923
+ var viewport = _this.nzTableComponent && _this.nzTableComponent.cdkVirtualScrollViewport;
7953
7924
  if (!viewport) {
7954
7925
  _this.syncHorizontalScroll();
7955
7926
  return;
@@ -7988,17 +7959,14 @@
7988
7959
  */
7989
7960
  function (force) {
7990
7961
  if (force === void 0) { force = false; }
7991
- if (this.virtualItemSize != null &&
7992
- this.virtualItemSize > 0 &&
7993
- !force) {
7962
+ if (this.virtualItemSize != null && this.virtualItemSize > 0 && !force) {
7994
7963
  return false;
7995
7964
  }
7996
7965
  /** @type {?} */
7997
- var viewport = this.nzTableComponent &&
7998
- this.nzTableComponent.cdkVirtualScrollViewport;
7966
+ var viewport = this.nzTableComponent && this.nzTableComponent.cdkVirtualScrollViewport;
7999
7967
  /** @type {?} */
8000
7968
  var tableBody = this.nzTableComponent &&
8001
- (/** @type {?} */ (this.nzTableComponent.tableBodyNativeElement));
7969
+ ((/** @type {?} */ (this.nzTableComponent.tableBodyNativeElement)));
8002
7970
  /** @type {?} */
8003
7971
  var row = (viewport &&
8004
7972
  ((/** @type {?} */ (((/** @type {?} */ (viewport.elementRef.nativeElement))).querySelector("tr.hd-table-virtual-row"))))) ||
@@ -8418,7 +8386,9 @@
8418
8386
  * @return {?}
8419
8387
  */
8420
8388
  function () {
8421
- return !!(this.tableCacheOption && this.tableCacheOption.cols && this.tableCacheOption.cols.length > 0);
8389
+ return !!(this.tableCacheOption &&
8390
+ this.tableCacheOption.cols &&
8391
+ this.tableCacheOption.cols.length > 0);
8422
8392
  };
8423
8393
  /**
8424
8394
  * @return {?}
@@ -8560,123 +8530,22 @@
8560
8530
  }
8561
8531
  return !!btn.showConfirm;
8562
8532
  };
8563
- /** 虚拟滚动 / 表体纵向高度:优先按列表容器剩余空间测量 */
8533
+ /** 虚拟滚动开启时使用视口最大高度 */
8564
8534
  /**
8565
- * 虚拟滚动 / 表体纵向高度:优先按列表容器剩余空间测量
8535
+ * 虚拟滚动开启时使用视口最大高度
8566
8536
  * @private
8567
8537
  * @param {?} maxOffset
8568
8538
  * @return {?}
8569
8539
  */
8570
8540
  HdTableComponent.prototype.getVirtualScrollY = /**
8571
- * 虚拟滚动 / 表体纵向高度:优先按列表容器剩余空间测量
8541
+ * 虚拟滚动开启时使用视口最大高度
8572
8542
  * @private
8573
8543
  * @param {?} maxOffset
8574
8544
  * @return {?}
8575
8545
  */
8576
8546
  function (maxOffset) {
8577
- /** @type {?} */
8578
- var measured = this.measureAvailableBodyHeight();
8579
- if (measured >= 120) {
8580
- return measured + "px";
8581
- }
8582
8547
  return "calc(100vh - " + maxOffset + "px)";
8583
8548
  };
8584
- /** 列表容器内,表体可用高度(扣掉按钮区、表头、分页等) */
8585
- /**
8586
- * 列表容器内,表体可用高度(扣掉按钮区、表头、分页等)
8587
- * @private
8588
- * @return {?}
8589
- */
8590
- HdTableComponent.prototype.measureAvailableBodyHeight = /**
8591
- * 列表容器内,表体可用高度(扣掉按钮区、表头、分页等)
8592
- * @private
8593
- * @return {?}
8594
- */
8595
- function () {
8596
- if (typeof window === "undefined") {
8597
- return 0;
8598
- }
8599
- /** @type {?} */
8600
- var host = this.elementRef.nativeElement;
8601
- if (!host) {
8602
- return 0;
8603
- }
8604
- /** @type {?} */
8605
- var area = (/** @type {?} */ ((host.closest(".common-search-table-area") ||
8606
- host.parentElement)));
8607
- if (!area || area.clientHeight < 80) {
8608
- return 0;
8609
- }
8610
- /** @type {?} */
8611
- var areaRect = area.getBoundingClientRect();
8612
- /** @type {?} */
8613
- var hostTop = host.getBoundingClientRect().top;
8614
- /** @type {?} */
8615
- var padBottom = parseFloat(getComputedStyle(area).paddingBottom) || 0;
8616
- /** @type {?} */
8617
- var used = 0;
8618
- /** @type {?} */
8619
- var tableHost = (/** @type {?} */ (host.querySelector(".hd-table-container")));
8620
- if (tableHost) {
8621
- used += Math.max(0, tableHost.getBoundingClientRect().top - hostTop);
8622
- }
8623
- else {
8624
- used += this.tableTotal ? 100 : 52;
8625
- }
8626
- /** @type {?} */
8627
- var thead = (/** @type {?} */ (host.querySelector(".ant-table-thead")));
8628
- used += thead ? thead.getBoundingClientRect().height : 40;
8629
- /** @type {?} */
8630
- var pagination = (/** @type {?} */ (host.querySelector(".ant-table-pagination, .ant-pagination")));
8631
- used += pagination
8632
- ? pagination.getBoundingClientRect().height + 16
8633
- : 64;
8634
- return Math.floor(areaRect.bottom - padBottom - hostTop - used);
8635
- };
8636
- /**
8637
- * @private
8638
- * @return {?}
8639
- */
8640
- HdTableComponent.prototype.bindContainerResize = /**
8641
- * @private
8642
- * @return {?}
8643
- */
8644
- function () {
8645
- var _this = this;
8646
- /** @type {?} */
8647
- var ResizeObserverCtor = ((/** @type {?} */ (window))).ResizeObserver;
8648
- if (!ResizeObserverCtor) {
8649
- return;
8650
- }
8651
- /** @type {?} */
8652
- var host = this.elementRef.nativeElement;
8653
- /** @type {?} */
8654
- var area = (/** @type {?} */ ((host.closest(".common-search-table-area") ||
8655
- host.parentElement)));
8656
- if (!area) {
8657
- return;
8658
- }
8659
- this.resizeObserver = new ResizeObserverCtor((/**
8660
- * @return {?}
8661
- */
8662
- function () {
8663
- if (_this.resizeRaf) {
8664
- cancelAnimationFrame(_this.resizeRaf);
8665
- }
8666
- _this.resizeRaf = requestAnimationFrame((/**
8667
- * @return {?}
8668
- */
8669
- function () {
8670
- _this.resizeRaf = 0;
8671
- if (!_this.showTable) {
8672
- return;
8673
- }
8674
- _this.dealScroll();
8675
- _this.cdr.markForCheck();
8676
- }));
8677
- }));
8678
- this.resizeObserver.observe(area);
8679
- };
8680
8549
  /**
8681
8550
  * @private
8682
8551
  * @return {?}
@@ -8733,7 +8602,9 @@
8733
8602
  var scrollX = this.resolveScrollX(this.tableColWidthTotal);
8734
8603
  /** @type {?} */
8735
8604
  var currentY = this.scroll ? this.scroll.y : null;
8736
- if (this.scroll && this.scroll.x === scrollX && this.scroll.y === currentY) {
8605
+ if (this.scroll &&
8606
+ this.scroll.x === scrollX &&
8607
+ this.scroll.y === currentY) {
8737
8608
  return;
8738
8609
  }
8739
8610
  this.scroll = { x: scrollX, y: currentY };
@@ -8784,30 +8655,28 @@
8784
8655
  this.tableColWidthTotal = colWidth;
8785
8656
  /** @type {?} */
8786
8657
  var maxOffset = this.tableTotal ? 180 : 140;
8658
+ maxOffset += 204;
8787
8659
  /** @type {?} */
8788
8660
  var useVirtual = this.useVirtualScroll;
8789
8661
  /** @type {?} */
8790
8662
  var scrollX = this.resolveScrollX(colWidth);
8791
- /** @type {?} */
8792
- var scrollY = this.getVirtualScrollY(maxOffset);
8793
- // 有列表容器高度时始终限制表体高度,避免外侧出现滚动条
8794
8663
  if (this.virtualScroll && !useVirtual) {
8795
8664
  this.scroll = {
8796
8665
  x: scrollX,
8797
- y: scrollY,
8666
+ y: null,
8798
8667
  };
8799
8668
  return;
8800
8669
  }
8801
8670
  if (!this.virtualScroll) {
8802
8671
  this.scroll = {
8803
8672
  x: scrollX,
8804
- y: scrollY,
8673
+ y: "calc(100vh - " + maxOffset + "px)",
8805
8674
  };
8806
8675
  return;
8807
8676
  }
8808
8677
  this.scroll = {
8809
8678
  x: scrollX,
8810
- y: scrollY,
8679
+ y: this.getVirtualScrollY(maxOffset),
8811
8680
  };
8812
8681
  };
8813
8682
  // 表格勾选逻辑
@@ -8966,21 +8835,20 @@
8966
8835
  if (col.isState) {
8967
8836
  return (/** @type {?} */ (col.name));
8968
8837
  }
8969
- return col.stateField || 'state';
8838
+ return col.stateField || "state";
8970
8839
  };
8971
8840
  HdTableComponent.decorators = [
8972
8841
  { type: core.Component, args: [{
8973
8842
  selector: "hd-table",
8974
8843
  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]=\"getLeftSticky(col)\"\n [nzRight]=\"getRightSticky(col)\" 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]=\"getLeftSticky(col)\"\n [nzRight]=\"getRightSticky(col)\"\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",
8975
8844
  changeDetection: core.ChangeDetectionStrategy.OnPush,
8976
- 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}::ng-deep .hd-table-container .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-th-right-sticky{z-index:2;transform:translateZ(0)}::ng-deep .hd-table-container .ant-table-thead>tr>th.ant-table-th-right-sticky{background:#f5f8f6!important}::ng-deep .hd-table-container .ant-table-tbody>tr>td.ant-table-td-right-sticky{background:#fff}::ng-deep .hd-table-container .ant-table-tbody>tr:hover>td.ant-table-td-right-sticky{background:#e6f7ff!important}::ng-deep .hd-table-container .ant-table-scroll-position-left .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-left .ant-table-th-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-middle .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-middle .ant-table-th-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-right .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-right .ant-table-th-right-sticky{box-shadow:none!important}::ng-deep .hd-table-container .ant-table-fixed-right{right:0!important}: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-pagination-options .ant-select,::ng-deep .ant-pagination-options .ant-select-selection--single{min-width:100px}::ng-deep .ant-pagination-options-size-changer.ant-select{min-width:100px}::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}:host{display:block;height:100%;min-height:0;box-sizing:border-box}.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}::ng-deep .ant-table-th-right-sticky .nz-resizable-handle-right{right:0}.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}"]
8845
+ 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}::ng-deep .hd-table-container .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-th-right-sticky{z-index:2;transform:translateZ(0)}::ng-deep .hd-table-container .ant-table-thead>tr>th.ant-table-th-right-sticky{background:#f5f8f6!important}::ng-deep .hd-table-container .ant-table-tbody>tr>td.ant-table-td-right-sticky{background:#fff}::ng-deep .hd-table-container .ant-table-tbody>tr:hover>td.ant-table-td-right-sticky{background:#e6f7ff!important}::ng-deep .hd-table-container .ant-table-scroll-position-left .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-left .ant-table-th-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-middle .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-middle .ant-table-th-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-right .ant-table-td-right-sticky,::ng-deep .hd-table-container .ant-table-scroll-position-right .ant-table-th-right-sticky{box-shadow:none!important}::ng-deep .hd-table-container .ant-table-fixed-right{right:0!important}: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-pagination-options .ant-select,::ng-deep .ant-pagination-options .ant-select-selection--single{min-width:100px}::ng-deep .ant-pagination-options-size-changer.ant-select{min-width:100px}::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}::ng-deep .ant-table-th-right-sticky .nz-resizable-handle-right{right:0}.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}"]
8977
8846
  }] }
8978
8847
  ];
8979
8848
  /** @nocollapse */
8980
8849
  HdTableComponent.ctorParameters = function () { return [
8981
8850
  { type: core.ChangeDetectorRef },
8982
- { type: CommonSessionService },
8983
- { type: core.ElementRef }
8851
+ { type: CommonSessionService }
8984
8852
  ]; };
8985
8853
  HdTableComponent.propDecorators = {
8986
8854
  uuid: [{ type: core.Input }],
@@ -9148,17 +9016,6 @@
9148
9016
  * @private
9149
9017
  */
9150
9018
  HdTableComponent.prototype.tableColWidthTotal;
9151
- /**
9152
- * 监听列表容器尺寸变化,重新计算 scroll.y
9153
- * @type {?}
9154
- * @private
9155
- */
9156
- HdTableComponent.prototype.resizeObserver;
9157
- /**
9158
- * @type {?}
9159
- * @private
9160
- */
9161
- HdTableComponent.prototype.resizeRaf;
9162
9019
  /** @type {?} */
9163
9020
  HdTableComponent.prototype.nzTableComponent;
9164
9021
  /** @type {?} */
@@ -9182,11 +9039,6 @@
9182
9039
  * @private
9183
9040
  */
9184
9041
  HdTableComponent.prototype.commonSessionService;
9185
- /**
9186
- * @type {?}
9187
- * @private
9188
- */
9189
- HdTableComponent.prototype.elementRef;
9190
9042
  }
9191
9043
 
9192
9044
  /**