@acorex/components 22.4.11 → 22.4.13
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/fesm2022/acorex-components-calendar.mjs +10 -13
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +15 -4
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +15 -2
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-text-editor.mjs +4 -4
- package/fesm2022/acorex-components-text-editor.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-drawer.d.ts +2 -2
- package/types/acorex-components-lookup.d.ts +2 -0
- package/types/acorex-components-text-editor.d.ts +1 -1
|
@@ -626,22 +626,19 @@ class AXCalendarComponent extends classes((MXValueComponent), MXInteractiveCompo
|
|
|
626
626
|
//
|
|
627
627
|
// const focused = d.dayOfMonth == this._footPrint.day && d.monthOfYear == this._footPrint.month && d.year == this._footPrint.year;
|
|
628
628
|
//
|
|
629
|
+
r.cssClass = {};
|
|
630
|
+
if (d.compare(monthStart, 'day') === 0) {
|
|
631
|
+
const columnStart = ((d.weekdayIndex - startsOn + 7) % 7) + 1;
|
|
632
|
+
r.cssClass[`ax-column-start-${columnStart}`] = true;
|
|
633
|
+
}
|
|
629
634
|
if (r.disabled) {
|
|
630
|
-
r.cssClass =
|
|
631
|
-
'ax-state-disabled': true,
|
|
632
|
-
};
|
|
635
|
+
r.cssClass['ax-state-disabled'] = true;
|
|
633
636
|
}
|
|
634
637
|
else {
|
|
635
|
-
r.cssClass =
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
// 'ax-state-focused': focused,
|
|
640
|
-
};
|
|
641
|
-
if (d.compare(monthStart, 'day') === 0) {
|
|
642
|
-
const columnStart = ((d.weekdayIndex - startsOn + 7) % 7) + 1;
|
|
643
|
-
r.cssClass[`ax-column-start-${columnStart}`] = true;
|
|
644
|
-
}
|
|
638
|
+
r.cssClass['ax-state-today'] = r.today;
|
|
639
|
+
r.cssClass['ax-state-selected'] = r.selected;
|
|
640
|
+
r.cssClass['ax-state-holiday'] = r.holiday;
|
|
641
|
+
// 'ax-state-focused': focused,
|
|
645
642
|
if (holidayInfo?.cssClass) {
|
|
646
643
|
holidayInfo.cssClass.split(' ').forEach((c) => {
|
|
647
644
|
if (c)
|