fantasy-ngzorro 1.4.13 → 1.4.15

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.
@@ -4913,6 +4913,7 @@
4913
4913
  this.showDetail = false;
4914
4914
  this.localforage = null;
4915
4915
  this.localtionTmp = '';
4916
+ this.isFirstEntrySearchLocal = true;
4916
4917
  // 拖拽操作
4917
4918
  this.beforeDrop = (/**
4918
4919
  * @param {?} arg
@@ -4968,6 +4969,9 @@
4968
4969
  */
4969
4970
  function () {
4970
4971
  var _this = this;
4972
+ if (this.isFirstEntrySearch === false) {
4973
+ this.isFirstEntrySearchLocal = this.isFirstEntrySearch;
4974
+ }
4971
4975
  this.localtionTmp = location.pathname;
4972
4976
  if (this.localtionTmp) {
4973
4977
  this.localtionTmp = this.localtionTmp.replace(/\//g, "_");
@@ -5086,7 +5090,6 @@
5086
5090
  _this.tableCacheOption = value;
5087
5091
  if (_this.tableCacheOption.pageSize && _this.tableCacheOption.pageSize > 10) {
5088
5092
  _this.tablePageSize = _this.tableCacheOption.pageSize;
5089
- _this.tablePageSizeChange.emit(_this.tablePageSize);
5090
5093
  }
5091
5094
  if (!_this.tableCacheOption.colWidths) {
5092
5095
  _this.tableCacheOption.colWidths = new Map();
@@ -5095,8 +5098,13 @@
5095
5098
  else {
5096
5099
  _this.tableCacheOption = new TableCacheOption();
5097
5100
  _this.tableCacheOption.pageSize = _this.tablePageSize;
5101
+ }
5102
+ if (_this.isFirstEntrySearchLocal) {
5098
5103
  _this.tablePageSizeChange.emit(_this.tablePageSize);
5099
5104
  }
5105
+ else {
5106
+ _this.isFirstEntrySearchLocal = true;
5107
+ }
5100
5108
  _this.initTable();
5101
5109
  })).catch((/**
5102
5110
  * @param {?} err
@@ -5827,6 +5835,7 @@
5827
5835
  tableLoading: [{ type: core.Input }],
5828
5836
  tablePageIndex: [{ type: core.Input }],
5829
5837
  tablePageSize: [{ type: core.Input }],
5838
+ isFirstEntrySearch: [{ type: core.Input }],
5830
5839
  tablePageIndexChange: [{ type: core.Output }],
5831
5840
  tablePageSizeChange: [{ type: core.Output }],
5832
5841
  tableTotal: [{ type: core.ContentChild, args: ["tableTotal", { static: false },] }],
@@ -5877,6 +5886,8 @@
5877
5886
  /** @type {?} */
5878
5887
  HdTableComponent.prototype.tablePageSize;
5879
5888
  /** @type {?} */
5889
+ HdTableComponent.prototype.isFirstEntrySearch;
5890
+ /** @type {?} */
5880
5891
  HdTableComponent.prototype.tablePageIndexChange;
5881
5892
  /** @type {?} */
5882
5893
  HdTableComponent.prototype.tablePageSizeChange;
@@ -5940,6 +5951,8 @@
5940
5951
  /** @type {?} */
5941
5952
  HdTableComponent.prototype.localtionTmp;
5942
5953
  /** @type {?} */
5954
+ HdTableComponent.prototype.isFirstEntrySearchLocal;
5955
+ /** @type {?} */
5943
5956
  HdTableComponent.prototype.beforeDrop;
5944
5957
  /**
5945
5958
  * @type {?}