@datorama/core 22.12.3-rc.3 → 22.12.4-rc.1

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.
@@ -13415,10 +13415,12 @@
13415
13415
  DatoGridFilterComponent.prototype.updateDateInput = function (_a) {
13416
13416
  var inRange = _a.inRange, index = _a.index;
13417
13417
  var control = this.conditions.at(index).get('value');
13418
- if (control.dirty) {
13419
- var value = control.value;
13420
- var newValue = inRange ? { from: value, to: value } : value.from;
13421
- control.patchValue(newValue);
13418
+ var value = control.value;
13419
+ if (inRange && typeof value === 'string') {
13420
+ control.patchValue({ from: value, to: value, id: 'CUSTOM' });
13421
+ }
13422
+ else if (!inRange && value && typeof value === 'object') {
13423
+ control.patchValue(value.from);
13422
13424
  }
13423
13425
  };
13424
13426
  DatoGridFilterComponent.prototype.updateNumberInput = function (_a) {
@@ -25711,7 +25713,7 @@
25711
25713
  };
25712
25714
  }
25713
25715
 
25714
- window.coreVersion = '22.13.2-rc.';
25716
+ window.coreVersion = '22.13.3-rc.';
25715
25717
 
25716
25718
  exports.APP_TRANSLATE = APP_TRANSLATE;
25717
25719
  exports.AceService = AceService;