@datorama/core 22.9.2-rc.6 → 22.10.3-rc.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.
- package/bundles/datorama-core.umd.js +14 -10
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +3 -3
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +2 -2
- package/esm2015/lib/icon/icon.types.js +1 -1
- package/esm2015/lib/select/select.component.js +10 -9
- package/esm2015/lib/version.js +2 -2
- package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +5 -2
- package/esm5/lib/icon/icon.types.js +1 -1
- package/esm5/lib/select/select.component.js +10 -9
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +11 -10
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +14 -10
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/icon/icon.types.d.ts +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -8352,7 +8352,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8352
8352
|
this.limitSelectedTo = limitSelectedTo;
|
|
8353
8353
|
if (this.options) {
|
|
8354
8354
|
this.updateDisabledState();
|
|
8355
|
-
this.cdr.markForCheck();
|
|
8356
8355
|
}
|
|
8357
8356
|
},
|
|
8358
8357
|
enumerable: true,
|
|
@@ -8582,16 +8581,18 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8582
8581
|
});
|
|
8583
8582
|
this.datoOverlay.attach({ placement: this.placement }, this._dropdownClass);
|
|
8584
8583
|
this.toggle();
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8584
|
+
if (this.hasValue) {
|
|
8585
|
+
/**
|
|
8586
|
+
* When we first open the dropdown we need to mark the
|
|
8587
|
+
* FormControl values as actives
|
|
8588
|
+
*/
|
|
8589
|
+
if (this._initialOpen) {
|
|
8590
|
+
this.markAsActive(this._model);
|
|
8591
|
+
this._initialOpen = false;
|
|
8592
|
+
}
|
|
8591
8593
|
if (this.limitSelectedTo) {
|
|
8592
8594
|
this.updateDisabledState();
|
|
8593
8595
|
}
|
|
8594
|
-
this._initialOpen = false;
|
|
8595
8596
|
}
|
|
8596
8597
|
if (this._withInfiniteScroll) {
|
|
8597
8598
|
this.activateInfiniteScroll();
|
|
@@ -12743,7 +12744,10 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
12743
12744
|
this.listOptions = rawValues.map(mapToListItem);
|
|
12744
12745
|
}
|
|
12745
12746
|
else {
|
|
12746
|
-
var columnValues = this.getColumnValues()
|
|
12747
|
+
var columnValues = this.getColumnValues().filter(function (_a) {
|
|
12748
|
+
var value = _a.value;
|
|
12749
|
+
return !isNil(value);
|
|
12750
|
+
});
|
|
12747
12751
|
this.columnValues = columnValues.map(function (_a) {
|
|
12748
12752
|
var value = _a.value;
|
|
12749
12753
|
return !isNil(_this.pivotColumn) && value ? value[_this.colField] : value;
|
|
@@ -25295,7 +25299,7 @@ function fixNgLeaks() {
|
|
|
25295
25299
|
};
|
|
25296
25300
|
}
|
|
25297
25301
|
|
|
25298
|
-
window.coreVersion = '22.10.
|
|
25302
|
+
window.coreVersion = '22.10.3-rc.';
|
|
25299
25303
|
|
|
25300
25304
|
/**
|
|
25301
25305
|
* @license
|