@brickclay-org/ui 0.1.43 → 0.1.44
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.
|
@@ -1658,15 +1658,16 @@ class BkCustomCalendar {
|
|
|
1658
1658
|
else if (this.startDate) {
|
|
1659
1659
|
this.keyboardFocusDate = new Date(this.startDate.getFullYear(), this.startDate.getMonth(), this.startDate.getDate());
|
|
1660
1660
|
}
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1661
|
+
// "Custom Range" returned above — here we only handle predefined presets.
|
|
1662
|
+
// Popup: quick-select preset → same as Apply (commit + close). Inline: keep prior emit / deferred rules.
|
|
1663
|
+
if (this.inline) {
|
|
1664
|
+
this.emitSelectionUnlessSingleDateDeferred();
|
|
1665
|
+
if (this.shouldDeferSingleDateCommit() && this.autoApply) {
|
|
1664
1666
|
this.apply();
|
|
1665
1667
|
}
|
|
1668
|
+
return;
|
|
1666
1669
|
}
|
|
1667
|
-
|
|
1668
|
-
this.close();
|
|
1669
|
-
}
|
|
1670
|
+
this.apply();
|
|
1670
1671
|
}
|
|
1671
1672
|
// emitSelection() {
|
|
1672
1673
|
// const selection: CalendarSelection = {
|