cx 26.2.4 → 26.3.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/build/charts/helpers/ValueAtFinder.d.ts +2 -2
- package/build/charts/helpers/ValueAtFinder.d.ts.map +1 -1
- package/build/widgets/form/Calendar.d.ts +1 -0
- package/build/widgets/form/Calendar.d.ts.map +1 -1
- package/build/widgets/form/Calendar.js +14 -22
- package/dist/manifest.js +841 -841
- package/dist/widgets.js +5 -1
- package/package.json +1 -1
- package/src/widgets/form/Calendar.tsx +772 -862
package/dist/widgets.js
CHANGED
|
@@ -7933,6 +7933,7 @@ const validationCheck = (date, data, disabledDaysOfWeek) => {
|
|
|
7933
7933
|
};
|
|
7934
7934
|
class CalendarCmp extends VDOM.Component {
|
|
7935
7935
|
el = null;
|
|
7936
|
+
unsubscribeWheel;
|
|
7936
7937
|
constructor(props) {
|
|
7937
7938
|
super(props);
|
|
7938
7939
|
let { data } = props.instance;
|
|
@@ -8111,7 +8112,9 @@ class CalendarCmp extends VDOM.Component {
|
|
|
8111
8112
|
if (calendarWidget.autoFocus && this.el) this.el.focus();
|
|
8112
8113
|
if (this.el) {
|
|
8113
8114
|
tooltipParentDidMount$1(this.el, ...getFieldTooltip(this.props.instance));
|
|
8114
|
-
this.el
|
|
8115
|
+
this.unsubscribeWheel = addEventListenerWithOptions(this.el, "wheel", (e) => this.handleWheel(e), {
|
|
8116
|
+
passive: false,
|
|
8117
|
+
});
|
|
8115
8118
|
}
|
|
8116
8119
|
}
|
|
8117
8120
|
UNSAFE_componentWillReceiveProps(props) {
|
|
@@ -8127,6 +8130,7 @@ class CalendarCmp extends VDOM.Component {
|
|
|
8127
8130
|
componentWillUnmount() {
|
|
8128
8131
|
offFocusOut(this);
|
|
8129
8132
|
tooltipParentWillUnmount$1(this.props.instance);
|
|
8133
|
+
this.unsubscribeWheel?.();
|
|
8130
8134
|
}
|
|
8131
8135
|
showYearDropdown() {
|
|
8132
8136
|
if (this.el && this.el.firstChild) {
|