@easyquery/enterprise 7.2.2-rc01 → 7.2.2-rc02

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.
@@ -2412,7 +2412,8 @@ var meta_entity_MetaEntityAttr = /** @class */ (function () {
2412
2412
  this.lookupEntity = dto.lent;
2413
2413
  this.dataAttr = dto.dattr;
2414
2414
  this.lookupDataAttr = dto.ldattr;
2415
- this.defaultValue = dto.defVal;
2415
+ var isDataType = utils_utils.getDateDataTypes().indexOf(this.dataType);
2416
+ this.defaultValue = dto.defVal && isDataType ? new Date(dto.defVal) : dto.defVal;
2416
2417
  this.isNullable = utils_utils.getIfDefined(dto.nul, this.isNullable);
2417
2418
  this.isEditable = utils_utils.getIfDefined(dto.ied, this.isEditable);
2418
2419
  this.showOnView = utils_utils.getIfDefined(dto.ivis || dto.sov, this.showOnView);
@@ -4815,7 +4816,7 @@ var CellRendererType;
4815
4816
  })(CellRendererType || (CellRendererType = {}));
4816
4817
  var StringCellRendererDefault = function (value, column, cellValueElement, rowElement) {
4817
4818
  var text = value ? value.toString().replace(/\n/g, '\u21B5 ') : '';
4818
- cellValueElement.innerHTML = text;
4819
+ cellValueElement.innerText = text;
4819
4820
  cellValueElement.title = text;
4820
4821
  if (column.align == GridColumnAlign.NONE) {
4821
4822
  cellValueElement.classList.add(cssPrefix + "-cell-value-align-left");
@@ -4834,7 +4835,7 @@ var NumberCellRendererDefault = function (value, column, cellValueElement, rowEl
4834
4835
  strValue = value.toLocaleString();
4835
4836
  }
4836
4837
  }
4837
- cellValueElement.innerHTML = strValue;
4838
+ cellValueElement.innerText = strValue;
4838
4839
  cellValueElement.title = strValue;
4839
4840
  if (column.align == GridColumnAlign.NONE) {
4840
4841
  cellValueElement.classList.add(cssPrefix + "-cell-value-align-right");
@@ -4866,7 +4867,7 @@ var DateTimeCellRendererDefault = function (value, column, cellValueElement, row
4866
4867
  }
4867
4868
  }
4868
4869
  }
4869
- cellValueElement.innerHTML = strValue;
4870
+ cellValueElement.innerText = strValue;
4870
4871
  cellValueElement.title = strValue;
4871
4872
  if (column.align == GridColumnAlign.NONE) {
4872
4873
  cellValueElement.classList.add(cssPrefix + "-cell-value-align-right");