fantasy-ngzorro 2.1.15 → 2.1.16

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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ng-zorro-antd'), require('@angular/cdk/drag-drop'), require('ng-zorro-antd/table'), require('lodash'), require('ng-zorro-antd/core'), require('rxjs'), require('rxjs/operators'), require('ng-zorro-antd/modal'), require('ng-zorro-antd/dropdown'), require('ng-zorro-antd/icon'), require('ng-zorro-antd/popconfirm'), require('ng-zorro-antd/resizable'), require('ng-zorro-antd/tooltip'), require('ng-zorro-antd/tree'), require('localforage'), require('@angular/router')) :
3
- typeof define === 'function' && define.amd ? define('fantasy-ngzorro', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'ng-zorro-antd', '@angular/cdk/drag-drop', 'ng-zorro-antd/table', 'lodash', 'ng-zorro-antd/core', 'rxjs', 'rxjs/operators', 'ng-zorro-antd/modal', 'ng-zorro-antd/dropdown', 'ng-zorro-antd/icon', 'ng-zorro-antd/popconfirm', 'ng-zorro-antd/resizable', 'ng-zorro-antd/tooltip', 'ng-zorro-antd/tree', 'localforage', '@angular/router'], factory) :
4
- (global = global || self, factory(global['fantasy-ngzorro'] = {}, global.ng.core, global.ng.common, global.ng.forms, global.ngZorroAntd, global.ng.cdk['drag-drop'], global.table, global.lodash, global.core$1, global.rxjs, global.rxjs.operators, global.modal, global.dropdown, global.icon, global.popconfirm, global.resizable, global.tooltip, global.tree, global.localforage, global.ng.router));
5
- }(this, (function (exports, core, common, forms, ngZorroAntd, dragDrop, table, lodash, core$1, rxjs, operators, modal, dropdown, icon, popconfirm, resizable, tooltip, tree, localforage, router) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ng-zorro-antd'), require('@angular/cdk/drag-drop'), require('ng-zorro-antd/table'), require('lodash'), require('ng-zorro-antd/core'), require('rxjs'), require('rxjs/operators'), require('ng-zorro-antd/modal'), require('ng-zorro-antd/dropdown'), require('ng-zorro-antd/icon'), require('ng-zorro-antd/popconfirm'), require('ng-zorro-antd/resizable'), require('ng-zorro-antd/tree'), require('localforage'), require('@angular/router')) :
3
+ typeof define === 'function' && define.amd ? define('fantasy-ngzorro', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'ng-zorro-antd', '@angular/cdk/drag-drop', 'ng-zorro-antd/table', 'lodash', 'ng-zorro-antd/core', 'rxjs', 'rxjs/operators', 'ng-zorro-antd/modal', 'ng-zorro-antd/dropdown', 'ng-zorro-antd/icon', 'ng-zorro-antd/popconfirm', 'ng-zorro-antd/resizable', 'ng-zorro-antd/tree', 'localforage', '@angular/router'], factory) :
4
+ (global = global || self, factory(global['fantasy-ngzorro'] = {}, global.ng.core, global.ng.common, global.ng.forms, global.ngZorroAntd, global.ng.cdk['drag-drop'], global.table, global.lodash, global.core$1, global.rxjs, global.rxjs.operators, global.modal, global.dropdown, global.icon, global.popconfirm, global.resizable, global.tree, global.localforage, global.ng.router));
5
+ }(this, (function (exports, core, common, forms, ngZorroAntd, dragDrop, table, lodash, core$1, rxjs, operators, modal, dropdown, icon, popconfirm, resizable, tree, localforage, router) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -6746,6 +6746,81 @@
6746
6746
  return CommonSessionService;
6747
6747
  }());
6748
6748
 
6749
+ /**
6750
+ * @fileoverview added by tsickle
6751
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6752
+ */
6753
+ /**
6754
+ * @record
6755
+ */
6756
+ function HdTableCellView() { }
6757
+ if (false) {
6758
+ /** @type {?} */
6759
+ HdTableCellView.prototype.display;
6760
+ /** @type {?} */
6761
+ HdTableCellView.prototype.title;
6762
+ /** @type {?} */
6763
+ HdTableCellView.prototype.isEmpty;
6764
+ }
6765
+ var HdTableCellPipe = /** @class */ (function () {
6766
+ function HdTableCellPipe() {
6767
+ }
6768
+ /**
6769
+ * @param {?} data
6770
+ * @param {?} col
6771
+ * @return {?}
6772
+ */
6773
+ HdTableCellPipe.prototype.transform = /**
6774
+ * @param {?} data
6775
+ * @param {?} col
6776
+ * @return {?}
6777
+ */
6778
+ function (data, col) {
6779
+ if (!data || !col) {
6780
+ return { display: "<空>", title: null, isEmpty: true };
6781
+ }
6782
+ /** @type {?} */
6783
+ var raw = getHdTableCellRaw(data, col);
6784
+ /** @type {?} */
6785
+ var isEmpty = !(raw || raw === 0);
6786
+ /** @type {?} */
6787
+ var display = isEmpty ? "<空>" : raw;
6788
+ /** @type {?} */
6789
+ var title = null;
6790
+ if (!isEmpty && col.width) {
6791
+ /** @type {?} */
6792
+ var str = String(raw);
6793
+ if (str.length * 8 + 15 >= col.width) {
6794
+ title = str;
6795
+ }
6796
+ }
6797
+ return { display: display, title: title, isEmpty: isEmpty };
6798
+ };
6799
+ HdTableCellPipe.decorators = [
6800
+ { type: core.Pipe, args: [{ name: "hdTableCell", pure: true },] }
6801
+ ];
6802
+ return HdTableCellPipe;
6803
+ }());
6804
+ /**
6805
+ * @param {?} data
6806
+ * @param {?} col
6807
+ * @return {?}
6808
+ */
6809
+ function getHdTableCellRaw(data, col) {
6810
+ if (col.render) {
6811
+ return col.render(data);
6812
+ }
6813
+ /** @type {?} */
6814
+ var name = col.name;
6815
+ if (typeof name === "function") {
6816
+ return name(data);
6817
+ }
6818
+ if (typeof name === "string") {
6819
+ return data[name];
6820
+ }
6821
+ return undefined;
6822
+ }
6823
+
6749
6824
  /**
6750
6825
  * @fileoverview added by tsickle
6751
6826
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -6953,12 +7028,6 @@
6953
7028
  this.mapOfCheckList = {};
6954
7029
  // 合计参数
6955
7030
  this.tableTotalOptionList = [];
6956
- /**
6957
- * 单元格展示缓存,避免大页量时重复 render / DOM 测宽
6958
- */
6959
- this.cellContextCache = new Map();
6960
- this.selectEmitTimer = null;
6961
- this.overflowCharWidth = 8;
6962
7031
  // 缓存信息
6963
7032
  this.tableCacheOption = new TableCacheOption();
6964
7033
  this.tableColsCache = [];
@@ -7088,10 +7157,6 @@
7088
7157
  */
7089
7158
  function (changes) {
7090
7159
  var _this = this;
7091
- if (changes && changes["tableData"] && changes["tableData"]["currentValue"]) {
7092
- this.clearCellContextCache();
7093
- }
7094
- // 数据改变时,重置勾选状态
7095
7160
  if (changes &&
7096
7161
  changes["tableData"] &&
7097
7162
  changes["tableData"]["currentValue"] &&
@@ -7133,140 +7198,74 @@
7133
7198
  }
7134
7199
  };
7135
7200
  /**
7136
- * @param {?} index
7137
- * @param {?} data
7138
7201
  * @return {?}
7139
7202
  */
7140
- HdTableComponent.prototype.trackByRow = /**
7141
- * @param {?} index
7142
- * @param {?} data
7203
+ HdTableComponent.prototype.deleteHideItem = /**
7143
7204
  * @return {?}
7144
7205
  */
7145
- function (index, data) {
7146
- /** @type {?} */
7147
- var key = data && data[this.selectField];
7148
- return key != null ? key : index;
7206
+ function () {
7207
+ // 首先把isShow为false数据剔除掉
7208
+ this.tableCols = this.tableCols.filter((/**
7209
+ * @param {?} item
7210
+ * @return {?}
7211
+ */
7212
+ function (item) {
7213
+ // 如果对象没有 isShow 属性,则默认为 true,保留该对象
7214
+ if (!item.hasOwnProperty("isShow")) {
7215
+ return true;
7216
+ }
7217
+ // 如果对象有 isShow 属性,则检查其值是否为 true
7218
+ return item.isShow === true;
7219
+ }));
7149
7220
  };
7150
7221
  /**
7151
- * @param {?} _index
7152
- * @param {?} col
7222
+ * @param {?} sort
7153
7223
  * @return {?}
7154
7224
  */
7155
- HdTableComponent.prototype.trackByCol = /**
7156
- * @param {?} _index
7157
- * @param {?} col
7225
+ HdTableComponent.prototype.sort = /**
7226
+ * @param {?} sort
7158
7227
  * @return {?}
7159
7228
  */
7160
- function (_index, col) {
7161
- return col.title;
7229
+ function (sort) {
7230
+ this.sortEvent.emit(sort);
7162
7231
  };
7163
7232
  /**
7164
- * @private
7165
7233
  * @return {?}
7166
7234
  */
7167
- HdTableComponent.prototype.clearCellContextCache = /**
7168
- * @private
7235
+ HdTableComponent.prototype.toggleShowDetail = /**
7169
7236
  * @return {?}
7170
7237
  */
7171
7238
  function () {
7172
- this.cellContextCache.clear();
7173
- };
7174
- /**
7175
- * 用字符宽度估算是否溢出,替代模板内频繁 DOM 测宽
7176
- */
7177
- /**
7178
- * 用字符宽度估算是否溢出,替代模板内频繁 DOM 测宽
7179
- * @param {?} text
7180
- * @param {?} maxWidth
7181
- * @return {?}
7182
- */
7183
- HdTableComponent.prototype.shouldShowTooltip = /**
7184
- * 用字符宽度估算是否溢出,替代模板内频繁 DOM 测宽
7185
- * @param {?} text
7186
- * @param {?} maxWidth
7187
- * @return {?}
7188
- */
7189
- function (text, maxWidth) {
7190
- if (!text || !maxWidth) {
7191
- return false;
7192
- }
7193
- return text.length * this.overflowCharWidth + 15 >= maxWidth;
7239
+ this.showDetail = !this.showDetail;
7240
+ this.cdr.markForCheck();
7194
7241
  };
7195
7242
  /**
7196
- * @param {?} col
7243
+ * @param {?} index
7197
7244
  * @param {?} data
7198
7245
  * @return {?}
7199
7246
  */
7200
- HdTableComponent.prototype.getCellContext = /**
7201
- * @param {?} col
7247
+ HdTableComponent.prototype.trackByRow = /**
7248
+ * @param {?} index
7202
7249
  * @param {?} data
7203
7250
  * @return {?}
7204
7251
  */
7205
- function (col, data) {
7206
- /** @type {?} */
7207
- var rowKey = data && data[this.selectField];
7208
- /** @type {?} */
7209
- var cacheKey = rowKey + "|" + col.title;
7210
- /** @type {?} */
7211
- var cached = this.cellContextCache.get(cacheKey);
7212
- if (cached) {
7213
- return cached;
7214
- }
7215
- /** @type {?} */
7216
- var raw;
7217
- if (col.name === "state" || col.isState) {
7218
- raw = data[this.getStateField(col)];
7219
- }
7220
- else {
7221
- /** @type {?} */
7222
- var fieldName = typeof col.name === "string" ? col.name : "";
7223
- raw = col.render ? col.render(data) : fieldName ? data[fieldName] : null;
7224
- }
7225
- /** @type {?} */
7226
- var rawStr = raw == null || raw === "" ? "" : String(raw);
7227
- /** @type {?} */
7228
- var display = this.judgeColEmpty(raw);
7252
+ function (index, data) {
7229
7253
  /** @type {?} */
7230
- var ctx = {
7231
- raw: rawStr,
7232
- display: display,
7233
- showTooltip: this.shouldShowTooltip(rawStr, col.width),
7234
- isEmpty: display === "<空>",
7235
- };
7236
- this.cellContextCache.set(cacheKey, ctx);
7237
- return ctx;
7238
- };
7239
- /**
7240
- * @return {?}
7241
- */
7242
- HdTableComponent.prototype.deleteHideItem = /**
7243
- * @return {?}
7244
- */
7245
- function () {
7246
- // 首先把isShow为false数据剔除掉
7247
- this.tableCols = this.tableCols.filter((/**
7248
- * @param {?} item
7249
- * @return {?}
7250
- */
7251
- function (item) {
7252
- // 如果对象没有 isShow 属性,则默认为 true,保留该对象
7253
- if (!item.hasOwnProperty("isShow")) {
7254
- return true;
7255
- }
7256
- // 如果对象有 isShow 属性,则检查其值是否为 true
7257
- return item.isShow === true;
7258
- }));
7254
+ var key = data && data[this.selectField];
7255
+ return key != null ? key : index;
7259
7256
  };
7260
7257
  /**
7261
- * @param {?} sort
7258
+ * @param {?} _index
7259
+ * @param {?} col
7262
7260
  * @return {?}
7263
7261
  */
7264
- HdTableComponent.prototype.sort = /**
7265
- * @param {?} sort
7262
+ HdTableComponent.prototype.trackByCol = /**
7263
+ * @param {?} _index
7264
+ * @param {?} col
7266
7265
  * @return {?}
7267
7266
  */
7268
- function (sort) {
7269
- this.sortEvent.emit(sort);
7267
+ function (_index, col) {
7268
+ return col.title;
7270
7269
  };
7271
7270
  /**
7272
7271
  * @return {?}
@@ -7337,6 +7336,7 @@
7337
7336
  this.dealScroll();
7338
7337
  this.dealOperateBtn();
7339
7338
  this.showTable = true;
7339
+ this.cdr.markForCheck();
7340
7340
  }
7341
7341
  };
7342
7342
  // 设置列点击取消
@@ -7353,6 +7353,7 @@
7353
7353
  this.isDropdownVisible = false;
7354
7354
  this.hideListNodes = JSON.parse(JSON.stringify(this.cancelHideListNodes));
7355
7355
  this.nowListNodes = JSON.parse(JSON.stringify(this.cancelNowListNodes));
7356
+ this.cdr.markForCheck();
7356
7357
  };
7357
7358
  // 点击触发设置列
7358
7359
  // 点击触发设置列
@@ -7369,6 +7370,7 @@
7369
7370
  this.cancelHideListNodes = JSON.parse(JSON.stringify(this.hideListNodes));
7370
7371
  this.cancelNowListNodes = JSON.parse(JSON.stringify(this.nowListNodes));
7371
7372
  this.isDropdownVisible = true;
7373
+ this.cdr.markForCheck();
7372
7374
  };
7373
7375
  /**
7374
7376
  * @return {?}
@@ -7389,6 +7391,7 @@
7389
7391
  this.saveTableCacheOption();
7390
7392
  this.initTable();
7391
7393
  this.isDropdownVisible = false;
7394
+ this.cdr.markForCheck();
7392
7395
  };
7393
7396
  // 从缓存设置列
7394
7397
  // 从缓存设置列
@@ -7619,6 +7622,7 @@
7619
7622
  return item.title !== event.node.origin.title;
7620
7623
  }));
7621
7624
  }
7625
+ this.cdr.markForCheck();
7622
7626
  };
7623
7627
  // 防止未选择的数组顺序因为push方法而改变,从初始数据获取隐藏未显示的字段列表
7624
7628
  // 防止未选择的数组顺序因为push方法而改变,从初始数据获取隐藏未显示的字段列表
@@ -7802,6 +7806,7 @@
7802
7806
  return e.title === col.title ? __assign({}, e, { width: tempWidth }) : e;
7803
7807
  }));
7804
7808
  this.dealScroll();
7809
+ this.cdr.markForCheck();
7805
7810
  };
7806
7811
  /**
7807
7812
  * @return {?}
@@ -7918,22 +7923,6 @@
7918
7923
  };
7919
7924
  }
7920
7925
  };
7921
- /** @deprecated 大页量场景请用 shouldShowTooltip,避免 DOM 测宽 */
7922
- /**
7923
- * @deprecated 大页量场景请用 shouldShowTooltip,避免 DOM 测宽
7924
- * @param {?} text
7925
- * @param {?} maxWidth
7926
- * @return {?}
7927
- */
7928
- HdTableComponent.prototype.isTextOverflow = /**
7929
- * @deprecated 大页量场景请用 shouldShowTooltip,避免 DOM 测宽
7930
- * @param {?} text
7931
- * @param {?} maxWidth
7932
- * @return {?}
7933
- */
7934
- function (text, maxWidth) {
7935
- return this.shouldShowTooltip(text == null ? "" : String(text), maxWidth);
7936
- };
7937
7926
  // 表格勾选逻辑
7938
7927
  // 表格勾选逻辑
7939
7928
  /**
@@ -7952,6 +7941,7 @@
7952
7941
  if (!this.isCrossPageSelectLocal) {
7953
7942
  this.resetStatus();
7954
7943
  }
7944
+ this.cdr.markForCheck();
7955
7945
  };
7956
7946
  /**
7957
7947
  * @param {?} reset
@@ -7986,6 +7976,7 @@
7986
7976
  this.mapOfCheckedId = {};
7987
7977
  this.mapOfCheckList = {};
7988
7978
  this.selectEvent.emit([]);
7979
+ this.cdr.markForCheck();
7989
7980
  };
7990
7981
  /**
7991
7982
  * @param {?=} event
@@ -8020,11 +8011,17 @@
8020
8011
  * @return {?}
8021
8012
  */
8022
8013
  function (item) { return _this.mapOfCheckedId[item[_this.selectField]]; })) && !this.isAllDisplayDataChecked;
8023
- this.scheduleSelectEmit();
8014
+ // 触发select事件
8015
+ if (this.selectEvent) {
8016
+ /** @type {?} */
8017
+ var selectedList = Object.values(this.mapOfCheckList);
8018
+ this.selectEvent.emit(selectedList);
8019
+ }
8024
8020
  // 如果数据为空,则清空勾选标识
8025
8021
  if (this.tableData.content.length === 0) {
8026
8022
  this.isAllDisplayDataChecked = false;
8027
8023
  }
8024
+ this.cdr.markForCheck();
8028
8025
  };
8029
8026
  /**
8030
8027
  * @param {?} value
@@ -8052,6 +8049,7 @@
8052
8049
  _this.mapOfCheckedId[item[_this.selectField]] = value;
8053
8050
  }));
8054
8051
  this.refreshStatus();
8052
+ this.cdr.markForCheck();
8055
8053
  };
8056
8054
  /**
8057
8055
  * @param {?} str
@@ -8081,40 +8079,14 @@
8081
8079
  if (col.isState) {
8082
8080
  return (/** @type {?} */ (col.name));
8083
8081
  }
8084
- return col.stateField || "state";
8085
- };
8086
- /** 勾选批量操作时合并 emit,减少父组件重复刷新 */
8087
- /**
8088
- * 勾选批量操作时合并 emit,减少父组件重复刷新
8089
- * @private
8090
- * @return {?}
8091
- */
8092
- HdTableComponent.prototype.scheduleSelectEmit = /**
8093
- * 勾选批量操作时合并 emit,减少父组件重复刷新
8094
- * @private
8095
- * @return {?}
8096
- */
8097
- function () {
8098
- var _this = this;
8099
- if (!this.selectEvent) {
8100
- return;
8101
- }
8102
- if (this.selectEmitTimer) {
8103
- clearTimeout(this.selectEmitTimer);
8104
- }
8105
- this.selectEmitTimer = setTimeout((/**
8106
- * @return {?}
8107
- */
8108
- function () {
8109
- _this.selectEmitTimer = null;
8110
- _this.selectEvent.emit(Object.values(_this.mapOfCheckList));
8111
- }), 0);
8082
+ return col.stateField || 'state';
8112
8083
  };
8113
8084
  HdTableComponent.decorators = [
8114
8085
  { type: core.Component, args: [{
8115
8086
  selector: "hd-table",
8116
- 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)=\"showDetail = !showDetail\">{{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\" nzShowSizeChanger\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\">\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 <tr *ngFor=\"let data of hdTable.data; trackBy: trackByRow; index as i\">\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 <ng-container *ngIf=\"getCellContext(col, data) as cell\">\n <hd-status [status]=\"data[getStateField(col)]\">{{ cell.display }}</hd-status>\n </ng-container>\n </ng-container>\n <ng-template #otherTemplate>\n <ng-container *ngIf=\"getCellContext(col, data) as cell\">\n <ng-container *ngIf=\"col.click;else noClickTemplate\">\n <a *ngIf=\"cell.showTooltip\" nz-tooltip [nzTooltipTitle]=\"cell.raw\"\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.showTooltip\"\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-template #noClickTemplate>\n <span *ngIf=\"cell.showTooltip\" nz-tooltip [nzTooltipTitle]=\"cell.raw\"\n [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{ cell.display }}</span>\n <span *ngIf=\"!cell.showTooltip\"\n [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{ cell.display }}</span>\n </ng-template>\n </ng-container>\n </ng-template>\n </ng-template>\n </td>\n </ng-container>\n </tr>\n <!-- \u5408\u8BA1\u6240\u6709\u6570\u636E\u533A\u57DF \u9700\u8981\u540E\u7AEF\u63A5\u53E3\u914D\u5408 -->\n <tr *ngIf=\"showTableTotal\" 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 </tbody>\n <ng-template #tableTotalTemplate>\n \u5171 {{tableData.totalElements}} \u6761\u6570\u636E\n </ng-template>\n </nz-table>\n</ng-container>\n",
8117
- 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;content-visibility:auto;contain-intrinsic-size:auto 40px}.hd-table-container ::ng-deep .hd-table-total>td{border:0!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}"]
8087
+ 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\" nzShowSizeChanger\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\">\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 <tr *ngFor=\"let data of hdTable.data; trackBy: trackByRow; index as i\">\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\">{{ cell.display }}</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 [attr.title]=\"cell.title\"\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 [attr.title]=\"cell.title\" [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 </tr>\n <!-- \u5408\u8BA1\u6240\u6709\u6570\u636E\u533A\u57DF \u9700\u8981\u540E\u7AEF\u63A5\u53E3\u914D\u5408 -->\n <tr *ngIf=\"showTableTotal\" 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 </tbody>\n <ng-template #tableTotalTemplate>\n \u5171 {{tableData.totalElements}} \u6761\u6570\u636E\n </ng-template>\n </nz-table>\n</ng-container>\n",
8088
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
8089
+ 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}::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}"]
8118
8090
  }] }
8119
8091
  ];
8120
8092
  /** @nocollapse */
@@ -8223,22 +8195,6 @@
8223
8195
  HdTableComponent.prototype.mapOfCheckList;
8224
8196
  /** @type {?} */
8225
8197
  HdTableComponent.prototype.tableTotalOptionList;
8226
- /**
8227
- * 单元格展示缓存,避免大页量时重复 render / DOM 测宽
8228
- * @type {?}
8229
- * @private
8230
- */
8231
- HdTableComponent.prototype.cellContextCache;
8232
- /**
8233
- * @type {?}
8234
- * @private
8235
- */
8236
- HdTableComponent.prototype.selectEmitTimer;
8237
- /**
8238
- * @type {?}
8239
- * @private
8240
- */
8241
- HdTableComponent.prototype.overflowCharWidth;
8242
8198
  /** @type {?} */
8243
8199
  HdTableComponent.prototype.tableCacheOption;
8244
8200
  /** @type {?} */
@@ -8285,20 +8241,6 @@
8285
8241
  * @private
8286
8242
  */
8287
8243
  HdTableComponent.prototype.commonSessionService;
8288
- }
8289
- /**
8290
- * @record
8291
- */
8292
- function HdTableCellContext() { }
8293
- if (false) {
8294
- /** @type {?} */
8295
- HdTableCellContext.prototype.raw;
8296
- /** @type {?} */
8297
- HdTableCellContext.prototype.display;
8298
- /** @type {?} */
8299
- HdTableCellContext.prototype.showTooltip;
8300
- /** @type {?} */
8301
- HdTableCellContext.prototype.isEmpty;
8302
8244
  }
8303
8245
 
8304
8246
  /**
@@ -8317,14 +8259,13 @@
8317
8259
  HdStatusModule,
8318
8260
  HdButtonModule,
8319
8261
  HdButtonGroupModule,
8320
- tooltip.NzToolTipModule,
8321
8262
  popconfirm.NzPopconfirmModule,
8322
8263
  resizable.NzResizableModule,
8323
8264
  dropdown.NzDropDownModule,
8324
8265
  tree.NzTreeModule,
8325
8266
  icon.NzIconModule
8326
8267
  ],
8327
- declarations: [HdTableComponent],
8268
+ declarations: [HdTableComponent, HdTableCellPipe],
8328
8269
  providers: [CommonSessionService],
8329
8270
  exports: [HdTableComponent],
8330
8271
  schemas: [core.NO_ERRORS_SCHEMA]
@@ -9083,11 +9024,12 @@
9083
9024
  exports.ɵa = HdComponentModule;
9084
9025
  exports.ɵb = HdButtonModule;
9085
9026
  exports.ɵba = CommonSessionService;
9086
- exports.ɵbb = HdTipModule;
9087
- exports.ɵbc = HdTipComponent;
9088
- exports.ɵbd = HdPopconfirmModule;
9089
- exports.ɵbe = HdPopconfirmComponent;
9090
- exports.ɵbf = HdLogModule;
9027
+ exports.ɵbb = HdTableCellPipe;
9028
+ exports.ɵbc = HdTipModule;
9029
+ exports.ɵbd = HdTipComponent;
9030
+ exports.ɵbe = HdPopconfirmModule;
9031
+ exports.ɵbf = HdPopconfirmComponent;
9032
+ exports.ɵbg = HdLogModule;
9091
9033
  exports.ɵc = HdButtonComponent;
9092
9034
  exports.ɵd = HdButtonGroupModule;
9093
9035
  exports.ɵe = HdButtonGroupComponent;