myrta-ui 1.1.98 → 1.1.99
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/esm2020/lib/components/form/input-date/input-date.component.mjs +7 -3
- package/fesm2015/myrta-ui.mjs +6 -2
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +6 -2
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/lib/components/form/input-date/input-date.component.d.ts +2 -1
- package/package.json +1 -1
package/fesm2020/myrta-ui.mjs
CHANGED
|
@@ -9746,6 +9746,7 @@ class InputDateComponent {
|
|
|
9746
9746
|
this.invalid = false;
|
|
9747
9747
|
this.invalidMessage = '';
|
|
9748
9748
|
this.checkInvalid = null;
|
|
9749
|
+
this.scrollStrategy = 'reposition';
|
|
9749
9750
|
this.changed = new EventEmitter();
|
|
9750
9751
|
this.modelChange = new EventEmitter();
|
|
9751
9752
|
this.blurred = new EventEmitter();
|
|
@@ -9897,7 +9898,8 @@ class InputDateComponent {
|
|
|
9897
9898
|
.withPositions(PositionStrategyEnum[this.popupPosition]);
|
|
9898
9899
|
this._overlayRef = this._overlay.create({
|
|
9899
9900
|
positionStrategy,
|
|
9900
|
-
hasBackdrop: false
|
|
9901
|
+
hasBackdrop: false,
|
|
9902
|
+
scrollStrategy: this.scrollStrategy === 'reposition' ? this._overlay.scrollStrategies.reposition() : this._overlay.scrollStrategies.close(),
|
|
9901
9903
|
});
|
|
9902
9904
|
const portal = new ComponentPortal(DateCalendarComponent);
|
|
9903
9905
|
const componentRef = this._overlayRef.attach(portal);
|
|
@@ -9952,7 +9954,7 @@ class InputDateComponent {
|
|
|
9952
9954
|
}
|
|
9953
9955
|
}
|
|
9954
9956
|
InputDateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: InputDateComponent, deps: [{ token: i1$2.Overlay }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9955
|
-
InputDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: InputDateComponent, selector: "mrx-input-date", inputs: { fields: "fields", format: "format", minDate: "minDate", maxDate: "maxDate", isSilentValidation: "isSilentValidation", isManualInput: "isManualInput", closeAfterSelect: "closeAfterSelect", required: "required", size: "size", customClasses: "customClasses", disabled: "disabled", readonly: "readonly", placeholder: "placeholder", popupPosition: "popupPosition", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid" }, outputs: { changed: "changed", modelChange: "modelChange", blurred: "blurred" }, providers: [
|
|
9957
|
+
InputDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: InputDateComponent, selector: "mrx-input-date", inputs: { fields: "fields", format: "format", minDate: "minDate", maxDate: "maxDate", isSilentValidation: "isSilentValidation", isManualInput: "isManualInput", closeAfterSelect: "closeAfterSelect", required: "required", size: "size", customClasses: "customClasses", disabled: "disabled", readonly: "readonly", placeholder: "placeholder", popupPosition: "popupPosition", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", scrollStrategy: "scrollStrategy" }, outputs: { changed: "changed", modelChange: "modelChange", blurred: "blurred" }, providers: [
|
|
9956
9958
|
{
|
|
9957
9959
|
provide: NG_VALUE_ACCESSOR,
|
|
9958
9960
|
useExisting: forwardRef(() => InputDateComponent),
|
|
@@ -10002,6 +10004,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
10002
10004
|
type: Input
|
|
10003
10005
|
}], checkInvalid: [{
|
|
10004
10006
|
type: Input
|
|
10007
|
+
}], scrollStrategy: [{
|
|
10008
|
+
type: Input
|
|
10005
10009
|
}], changed: [{
|
|
10006
10010
|
type: Output
|
|
10007
10011
|
}], modelChange: [{
|