@datorama/core 22.12.3 → 22.12.4
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.
- package/bundles/datorama-core.umd.js +7 -5
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +2 -2
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +7 -5
- package/esm2015/lib/version.js +2 -2
- package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +7 -5
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +7 -5
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +7 -5
- package/fesm5/datorama-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -13221,10 +13221,12 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
13221
13221
|
DatoGridFilterComponent.prototype.updateDateInput = function (_a) {
|
|
13222
13222
|
var inRange = _a.inRange, index = _a.index;
|
|
13223
13223
|
var control = this.conditions.at(index).get('value');
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
|
|
13227
|
-
|
|
13224
|
+
var value = control.value;
|
|
13225
|
+
if (inRange && typeof value === 'string') {
|
|
13226
|
+
control.patchValue({ from: value, to: value, id: 'CUSTOM' });
|
|
13227
|
+
}
|
|
13228
|
+
else if (!inRange && value && typeof value === 'object') {
|
|
13229
|
+
control.patchValue(value.from);
|
|
13228
13230
|
}
|
|
13229
13231
|
};
|
|
13230
13232
|
DatoGridFilterComponent.prototype.updateNumberInput = function (_a) {
|
|
@@ -25483,7 +25485,7 @@ function fixNgLeaks() {
|
|
|
25483
25485
|
};
|
|
25484
25486
|
}
|
|
25485
25487
|
|
|
25486
|
-
window.coreVersion = '22.12.
|
|
25488
|
+
window.coreVersion = '22.12.4';
|
|
25487
25489
|
|
|
25488
25490
|
/**
|
|
25489
25491
|
* @license
|