@datorama/core 22.0.4-rc.2 → 22.0.5-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.
- package/bundles/datorama-core.umd.js +15 -8
- 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/progress-bar/progress-bar.component.js +3 -2
- package/esm2015/lib/select/select.component.js +12 -7
- package/esm2015/lib/version.js +2 -2
- package/esm5/lib/progress-bar/progress-bar.component.js +3 -2
- package/esm5/lib/select/select.component.js +13 -7
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +14 -8
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +15 -8
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/select/select.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8747,8 +8747,8 @@
|
|
|
8747
8747
|
}
|
|
8748
8748
|
}
|
|
8749
8749
|
this.onChange(this._model);
|
|
8750
|
-
this.datoOverlay.scheduleUpdate();
|
|
8751
8750
|
this.cdr.markForCheck();
|
|
8751
|
+
this.asyncUpdateDropdownPosition();
|
|
8752
8752
|
};
|
|
8753
8753
|
DatoSelectComponent.prototype.reorderOptions = function (newOrder) {
|
|
8754
8754
|
this._model = newOrder;
|
|
@@ -8768,9 +8768,7 @@
|
|
|
8768
8768
|
this.limitSelectedTo && this.updateDisabledState();
|
|
8769
8769
|
this.onChange(this._model);
|
|
8770
8770
|
this.cdr.markForCheck();
|
|
8771
|
-
|
|
8772
|
-
this.datoOverlay.scheduleUpdate();
|
|
8773
|
-
}
|
|
8771
|
+
this.asyncUpdateDropdownPosition();
|
|
8774
8772
|
};
|
|
8775
8773
|
DatoSelectComponent.prototype.preventBodyScroll = function (event) {
|
|
8776
8774
|
if (isArrowUpDown(event)) {
|
|
@@ -9025,7 +9023,7 @@
|
|
|
9025
9023
|
_this.searchTerm = value;
|
|
9026
9024
|
_this.keyManager.setActiveItem(-1);
|
|
9027
9025
|
_this.cdr.markForCheck();
|
|
9028
|
-
_this.
|
|
9026
|
+
_this.asyncUpdateDropdownPosition();
|
|
9029
9027
|
});
|
|
9030
9028
|
};
|
|
9031
9029
|
/**
|
|
@@ -9126,7 +9124,7 @@
|
|
|
9126
9124
|
this.limitSelectedTo && this.updateDisabledState();
|
|
9127
9125
|
this.onChange(this._model);
|
|
9128
9126
|
this.cdr.markForCheck();
|
|
9129
|
-
this.
|
|
9127
|
+
this.asyncUpdateDropdownPosition();
|
|
9130
9128
|
};
|
|
9131
9129
|
DatoSelectComponent.prototype.activateInfiniteScroll = function () {
|
|
9132
9130
|
var _this = this;
|
|
@@ -9179,6 +9177,14 @@
|
|
|
9179
9177
|
finally { if (e_9) throw e_9.error; }
|
|
9180
9178
|
}
|
|
9181
9179
|
};
|
|
9180
|
+
// Make sure the overlay will be update AFTER Change Detection was done
|
|
9181
|
+
// So the items in the input (and its height) is update
|
|
9182
|
+
DatoSelectComponent.prototype.asyncUpdateDropdownPosition = function () {
|
|
9183
|
+
var _this = this;
|
|
9184
|
+
if (this.datoOverlay && this.datoOverlay.attached) {
|
|
9185
|
+
setTimeout(function () { return _this.datoOverlay.scheduleUpdate(); }, 0);
|
|
9186
|
+
}
|
|
9187
|
+
};
|
|
9182
9188
|
DatoSelectComponent.ctorParameters = function () { return [
|
|
9183
9189
|
{ type: core.ChangeDetectorRef },
|
|
9184
9190
|
{ type: DatoTranslateService },
|
|
@@ -24698,7 +24704,8 @@
|
|
|
24698
24704
|
this.thresholds = [33, 66];
|
|
24699
24705
|
}
|
|
24700
24706
|
DatoProgressBarComponent.prototype.ngOnInit = function () {
|
|
24701
|
-
if (!this.parts
|
|
24707
|
+
if (!this.parts) {
|
|
24708
|
+
this.percent = this.percent || 0;
|
|
24702
24709
|
this.isByPercent = true;
|
|
24703
24710
|
this.hasInitialColor = !!this.color;
|
|
24704
24711
|
this.initSinglePart();
|
|
@@ -25365,7 +25372,7 @@
|
|
|
25365
25372
|
};
|
|
25366
25373
|
}
|
|
25367
25374
|
|
|
25368
|
-
window.coreVersion = '22.1.
|
|
25375
|
+
window.coreVersion = '22.1.4-rc.';
|
|
25369
25376
|
|
|
25370
25377
|
exports.APP_TRANSLATE = APP_TRANSLATE;
|
|
25371
25378
|
exports.AceService = AceService;
|