jsl-ui 9.27.0 → 9.28.0

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.
@@ -81,12 +81,14 @@ var InputComponent = /** @class */ (function () {
81
81
  };
82
82
  InputComponent.prototype.getValue = function () {
83
83
  if (this.currentDom == null) {
84
- return "";
84
+ return this.options.value || "";
85
+ // return "";
85
86
  }
86
87
  return this.currentDom.value;
87
88
  };
88
89
  InputComponent.prototype.setValue = function (value) {
89
90
  var _a;
91
+ this.options.value = value;
90
92
  if (this.currentDom != null) {
91
93
  this.currentDom.value = value;
92
94
  }
@@ -123,7 +123,7 @@ var DateRangeFilter = /** @class */ (function () {
123
123
  var min = dateRangeComp.getMin();
124
124
  var max = dateRangeComp.getMax();
125
125
  _this.grid.clearFilter(col.id, true);
126
- if (min.getDate() !== minVal.getDate() || max.getDate() !== maxVal.getDate()) {
126
+ if (min.getDate() !== minVal.getDate() || min.getFullYear() !== minVal.getFullYear() || max.getDate() !== maxVal.getDate() || max.getFullYear() !== maxVal.getFullYear()) {
127
127
  var filterObject = {
128
128
  field: col.field, columnId: col.id, match: mode === "server" ? function () { return true; } : function (item, field) {
129
129
  return _this.grid.getDataItemValueForColumn(item, col) >= min && _this.grid.getDataItemValueForColumn(item, col) <= max;