@acorex/components 20.2.0-next.0 → 20.2.0-next.2
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/data-table/index.d.ts +16 -2
- package/datetime-box/index.d.ts +1 -0
- package/fesm2022/acorex-components-button.mjs +11 -8
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +16 -1
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +35 -43
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +29 -12
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +15 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +30 -1
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +293 -0
- package/fesm2022/acorex-components-rrule.mjs.map +1 -0
- package/fesm2022/acorex-components-scheduler.mjs +44 -18
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +6 -5
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +1 -1
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/package.json +7 -2
- package/popover/index.d.ts +10 -2
- package/rrule/README.md +3 -0
- package/rrule/index.d.ts +80 -0
- package/scheduler/index.d.ts +5 -1
- package/select-box/index.d.ts +1 -1
@@ -258,6 +258,12 @@ class AXCalendarComponent extends classes((MXValueComponent), MXInteractiveCompo
|
|
258
258
|
this.typeChange.pipe(unsubscriber.takeUntilDestroy).subscribe((value) => {
|
259
259
|
this.calendar.set(value);
|
260
260
|
});
|
261
|
+
this.minValueChange.subscribe((e) => {
|
262
|
+
if (this._viewStartDate.isBefore(e)) {
|
263
|
+
this._viewStartDate = this.calendarService.create(e, this.calendar());
|
264
|
+
this.render();
|
265
|
+
}
|
266
|
+
});
|
261
267
|
}
|
262
268
|
/**
|
263
269
|
* @ignore
|
@@ -271,7 +277,13 @@ class AXCalendarComponent extends classes((MXValueComponent), MXInteractiveCompo
|
|
271
277
|
*/
|
272
278
|
ngAfterViewInit() {
|
273
279
|
if (!this.value) {
|
274
|
-
this.
|
280
|
+
if (this.minValue && this._viewStartDate.isBefore(this.minValue)) {
|
281
|
+
this._viewStartDate = this.calendarService.create(this.minValue, this.calendar());
|
282
|
+
this.render();
|
283
|
+
}
|
284
|
+
else {
|
285
|
+
this.goToday();
|
286
|
+
}
|
275
287
|
}
|
276
288
|
}
|
277
289
|
/**
|
@@ -567,6 +579,9 @@ class AXCalendarComponent extends classes((MXValueComponent), MXInteractiveCompo
|
|
567
579
|
val.compare(this.displayRange.startTime, this.activeView) == -1 ||
|
568
580
|
val.compare(this.displayRange.endTime, this.activeView) == 1) {
|
569
581
|
this._viewStartDate = this.calendarService.create(value, this.calendar());
|
582
|
+
if (this.minValue && this._viewStartDate.isBefore(this.minValue)) {
|
583
|
+
this._viewStartDate = this.calendarService.create(this.minValue, this.calendar());
|
584
|
+
}
|
570
585
|
}
|
571
586
|
this._footPrint.year = val.year;
|
572
587
|
this._footPrint.month = val.monthOfYear;
|