@progress/kendo-react-scheduler 9.0.0-develop.2 → 9.0.0-develop.4
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/README.md +28 -28
- package/Scheduler.mjs +42 -65
- package/components/BaseView.mjs +1 -10
- package/components/CurrentTimeMarket.mjs +31 -46
- package/components/DateHeaderCell.mjs +2 -8
- package/components/SchedulerForm.js +1 -1
- package/components/SchedulerForm.mjs +46 -24
- package/components/SchedulerOccurrenceDialog.mjs +5 -7
- package/components/SchedulerRemoveDialog.mjs +42 -31
- package/components/ShowMoreItemsButton.mjs +30 -32
- package/components/TimeHeaderCell.mjs +2 -8
- package/components/footer/SchedulerFooter.mjs +18 -20
- package/components/footer/bussiness-hours/BussinessHours.mjs +15 -16
- package/components/header/SchedulerHeader.mjs +18 -19
- package/components/header/navigation/NavigationDatePicker.mjs +12 -43
- package/components/header/navigation/SchedulerNavigation.mjs +15 -16
- package/components/header/view-selector/SchedulerViewSelector.mjs +15 -16
- package/components/header/view-selector/ViewSelectorItem.mjs +3 -6
- package/components/header/view-selector/ViewSelectorList.mjs +4 -7
- package/context/SchedulerContext.mjs +10 -2
- package/context/SchedulerEditItemContext.mjs +20 -4
- package/context/SchedulerEditSlotContext.mjs +4 -6
- package/context/SchedulerEditTaskContext.mjs +3 -1
- package/dist/cdn/js/kendo-react-scheduler.js +1 -1
- package/editors/FilterableComboBox.mjs +4 -10
- package/editors/SchedulerFormEditor.mjs +218 -297
- package/editors/ZonedDateTime.mjs +14 -27
- package/hooks/use-items-focus.mjs +2 -12
- package/hooks/use-items-selection.mjs +2 -12
- package/hooks/use-slots-focus.mjs +9 -1
- package/hooks/useCellSync.js +1 -1
- package/hooks/useCellSync.mjs +8 -9
- package/hooks/useRowSync.js +1 -1
- package/hooks/useRowSync.mjs +7 -5
- package/hooks/useSchedulerItem.mjs +8 -10
- package/hooks/useSchedulerSlot.mjs +8 -10
- package/hooks/useSlotExpand.mjs +14 -21
- package/index.d.mts +83 -41
- package/index.d.ts +83 -41
- package/items/SchedulerEditItem.mjs +576 -471
- package/items/SchedulerItem.mjs +294 -304
- package/items/SchedulerItemContent.mjs +6 -10
- package/items/SchedulerProportionalViewItem.mjs +100 -96
- package/items/SchedulerViewItem.mjs +97 -93
- package/items/hooks/use-show-occurrence-dialog.mjs +5 -1
- package/package-metadata.mjs +1 -1
- package/package.json +10 -10
- package/recurrence/RecurrenceEditor.js +1 -1
- package/recurrence/RecurrenceEditor.mjs +57 -76
- package/recurrence/RecurrenceFrequencyEditor.mjs +10 -18
- package/recurrence/RecurrenceRepeatOnWeekEditor.js +1 -1
- package/recurrence/RecurrenceRepeatOnWeekEditor.mjs +7 -4
- package/recurrence/common.js +1 -1
- package/recurrence/common.mjs +38 -30
- package/services/itemsService.mjs +8 -9
- package/services/occurrenceService.mjs +1 -3
- package/slots/SchedulerEditSlot.mjs +111 -133
- package/slots/SchedulerSlot.mjs +148 -154
- package/slots/SchedulerViewSlot.mjs +7 -5
- package/tasks/SchedulerEditTask.mjs +108 -129
- package/tasks/SchedulerTask.mjs +39 -47
- package/tasks/SchedulerViewTask.mjs +8 -6
- package/utils/index.js +1 -1
- package/utils/index.mjs +99 -96
- package/views/agenda/AgendaView.mjs +50 -66
- package/views/common/HorizontalResourceIterator.mjs +33 -3
- package/views/common/VerticalResourceIterator.mjs +8 -1
- package/views/common/utils.js +1 -1
- package/views/common/utils.mjs +35 -34
- package/views/day/DayViewRowContent.mjs +3 -6
- package/views/day/MultiDayView.js +1 -1
- package/views/day/MultiDayView.mjs +156 -187
- package/views/month/MonthView.mjs +18 -28
- package/views/time/MultiDayTimelineView.js +1 -1
- package/views/time/MultiDayTimelineView.mjs +41 -90
- package/views/time/TimelineViewAllEventsRowContent.mjs +8 -1
- package/views/week/WeekView.mjs +1 -8
- package/views/week/WorkWeekView.mjs +1 -8
|
@@ -21,24 +21,14 @@ const f = (E) => {
|
|
|
21
21
|
case "ITEMS_SELECT_SELECT_NEXT": {
|
|
22
22
|
if (!e.item || !e.item.current || !E)
|
|
23
23
|
return;
|
|
24
|
-
const t = m(
|
|
25
|
-
e.item,
|
|
26
|
-
E,
|
|
27
|
-
e.ignoreIsAllDay,
|
|
28
|
-
!1
|
|
29
|
-
);
|
|
24
|
+
const t = m(e.item, E, e.ignoreIsAllDay, !1);
|
|
30
25
|
t && (S.preventDefault(), r([t]));
|
|
31
26
|
break;
|
|
32
27
|
}
|
|
33
28
|
case "ITEMS_SELECT_SELECT_PREV": {
|
|
34
29
|
if (!e.item || !e.item.current || !E)
|
|
35
30
|
return;
|
|
36
|
-
const t = m(
|
|
37
|
-
e.item,
|
|
38
|
-
E,
|
|
39
|
-
e.ignoreIsAllDay,
|
|
40
|
-
!0
|
|
41
|
-
);
|
|
31
|
+
const t = m(e.item, E, e.ignoreIsAllDay, !0);
|
|
42
32
|
t && (S.preventDefault(), r([t]));
|
|
43
33
|
break;
|
|
44
34
|
}
|
|
@@ -38,7 +38,15 @@ const f = (r) => [[], (e, c) => {
|
|
|
38
38
|
break;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
}], o = (r, u) => u.find(
|
|
41
|
+
}], o = (r, u) => u.find(
|
|
42
|
+
(e) => e.current !== null && r.current !== null && e.current.props.row === r.current.props.row - 1 && e.current.props.col === r.current.props.col
|
|
43
|
+
), l = (r, u) => u.find(
|
|
44
|
+
(e) => e.current !== null && r.current !== null && e.current.props.row === r.current.props.row && e.current.props.col === r.current.props.col - 1
|
|
45
|
+
), p = (r, u) => u.find(
|
|
46
|
+
(e) => e.current !== null && r.current !== null && e.current.props.row === r.current.props.row && e.current.props.col === r.current.props.col + 1
|
|
47
|
+
), s = (r, u) => u.find(
|
|
48
|
+
(e) => e.current !== null && r.current !== null && e.current.props.row === r.current.props.row + 1 && e.current.props.col === r.current.props.col
|
|
49
|
+
);
|
|
42
50
|
export {
|
|
43
51
|
t as SLOTS_FOCUS_ACTION,
|
|
44
52
|
s as findDownSlot,
|
package/hooks/useCellSync.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../views/common/utils.js"),h=require("@progress/kendo-react-common"),p=(e,b)=>{const{element:u}=e,g=()=>{if(!u||!u.current)return;
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../views/common/utils.js"),h=require("@progress/kendo-react-common"),p=(e,b)=>{const{element:u}=e,g=()=>{if(!u||!u.current)return;const o=[],c=[],r=[],s=u.current.querySelectorAll(e.selector);s.forEach(n=>{const i=n.getBoundingClientRect().width,t=e.explicitDepth&&e.attribute!==void 0?n.getAttribute(e.attribute):0,l=f.getPadding(n,!0),d=f.getBorders(n,!0);t!==null&&((!r[t]||d>r[t])&&(r[t]=d),(!c[t]||l>c[t])&&(c[t]=l),(!o[t]||i>o[t])&&(o[t]=i))}),s.forEach(n=>{const i=e.explicitDepth?n.getAttribute(e.attribute):0;i!==null&&(n.style.minWidth=`${o[i]-c[i]-r[i]}px`)})};h.useIsomorphicLayoutEffect(g,b)};exports.useCellSync=p;
|
package/hooks/useCellSync.mjs
CHANGED
|
@@ -9,18 +9,17 @@
|
|
|
9
9
|
import { getPadding as h, getBorders as p } from "../views/common/utils.mjs";
|
|
10
10
|
import { useIsomorphicLayoutEffect as b } from "@progress/kendo-react-common";
|
|
11
11
|
const x = (e, f) => {
|
|
12
|
-
const { element:
|
|
12
|
+
const { element: u } = e;
|
|
13
13
|
b(() => {
|
|
14
|
-
if (!
|
|
14
|
+
if (!u || !u.current)
|
|
15
15
|
return;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}), u.forEach((i) => {
|
|
16
|
+
const o = [], r = [], c = [], s = u.current.querySelectorAll(e.selector);
|
|
17
|
+
s.forEach((i) => {
|
|
18
|
+
const n = i.getBoundingClientRect().width, t = e.explicitDepth && e.attribute !== void 0 ? i.getAttribute(e.attribute) : 0, d = h(i, !0), l = p(i, !0);
|
|
19
|
+
t !== null && ((!c[t] || l > c[t]) && (c[t] = l), (!r[t] || d > r[t]) && (r[t] = d), (!o[t] || n > o[t]) && (o[t] = n));
|
|
20
|
+
}), s.forEach((i) => {
|
|
22
21
|
const n = e.explicitDepth ? i.getAttribute(e.attribute) : 0;
|
|
23
|
-
n !== null && (i.style.minWidth = `${
|
|
22
|
+
n !== null && (i.style.minWidth = `${o[n] - r[n] - c[n]}px`);
|
|
24
23
|
});
|
|
25
24
|
}, f);
|
|
26
25
|
};
|
package/hooks/useRowSync.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react"),s=require("../views/common/utils.js"),y=require("../constants/index.js");function b(t){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react"),s=require("../views/common/utils.js"),y=require("../constants/index.js");function b(t){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const c in t)if(c!=="default"){const u=Object.getOwnPropertyDescriptor(t,c);Object.defineProperty(i,c,u.get?u:{enumerable:!0,get:()=>t[c]})}}return i.default=t,Object.freeze(i)}const g=b(f),h=t=>t.slice(1,t.length),d=(t,i)=>{const{element:c}=t,u=()=>{if(!c||!t.syncHeight)return;const o=[[]];Array.from(c.querySelectorAll(t.selector)).filter(e=>!e.classList.contains(h(t.applyTo))).forEach(e=>{const l=e.clientHeight,n=e.getAttribute(t.horizontalAttribute),r=e.getAttribute(t.verticalAttribute);n===null||r===null||(o[n]||(o[n]=[]),(!o[n][r]||l>o[n][r])&&(o[n][r]=l-y.BORDER_WIDTH))}),Array.from(c.querySelectorAll(t.applyTo)).forEach(e=>{const l=e.getAttribute(t.horizontalAttribute),n=e.getAttribute(t.verticalAttribute);if(l===null||n===null)return;const r=s.getPadding(e),a=o[l][n]-r;s.setRect(e,{height:a},!0)})};g.useEffect(u,i)};exports.useRowSync=d;
|
package/hooks/useRowSync.mjs
CHANGED
|
@@ -13,15 +13,17 @@ const A = (t) => t.slice(1, t.length), R = (t, l) => {
|
|
|
13
13
|
const { element: c } = t, s = () => {
|
|
14
14
|
if (!c || !t.syncHeight)
|
|
15
15
|
return;
|
|
16
|
-
|
|
17
|
-
Array.from(c.querySelectorAll(t.selector)).filter(
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
const n = [[]];
|
|
17
|
+
Array.from(c.querySelectorAll(t.selector)).filter(
|
|
18
|
+
(e) => !e.classList.contains(A(t.applyTo))
|
|
19
|
+
).forEach((e) => {
|
|
20
|
+
const r = e.clientHeight, o = e.getAttribute(t.horizontalAttribute), i = e.getAttribute(t.verticalAttribute);
|
|
21
|
+
o === null || i === null || (n[o] || (n[o] = []), (!n[o][i] || r > n[o][i]) && (n[o][i] = r - y));
|
|
20
22
|
}), Array.from(c.querySelectorAll(t.applyTo)).forEach((e) => {
|
|
21
23
|
const r = e.getAttribute(t.horizontalAttribute), o = e.getAttribute(t.verticalAttribute);
|
|
22
24
|
if (r === null || o === null)
|
|
23
25
|
return;
|
|
24
|
-
const
|
|
26
|
+
const i = h(e), u = n[r][o] - i;
|
|
25
27
|
m(e, { height: u }, !0);
|
|
26
28
|
});
|
|
27
29
|
};
|
|
@@ -11,17 +11,15 @@ import { useIsomorphicLayoutEffect as a, COLLECTION_ACTION as m } from "@progres
|
|
|
11
11
|
import { useSchedulerViewItemsContext as i } from "../context/SchedulerViewContext.mjs";
|
|
12
12
|
const I = (r, s) => {
|
|
13
13
|
const { _ref: c, itemRef: o } = r, e = t.useRef(null), n = t.useRef(null), [, u] = i();
|
|
14
|
-
return t.useImperativeHandle(e, () => ({ element: n.current, props: r })), t.useImperativeHandle(s, () => e.current), t.useImperativeHandle(c, () => e.current), t.useImperativeHandle(o, () => e.current), a(
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
return t.useImperativeHandle(e, () => ({ element: n.current, props: r })), t.useImperativeHandle(s, () => e.current), t.useImperativeHandle(c, () => e.current), t.useImperativeHandle(o, () => e.current), a(() => (u({
|
|
15
|
+
type: m.add,
|
|
16
|
+
item: e
|
|
17
|
+
}), () => {
|
|
18
|
+
u({
|
|
19
|
+
type: m.remove,
|
|
17
20
|
item: e
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
type: m.remove,
|
|
21
|
-
item: e
|
|
22
|
-
});
|
|
23
|
-
})
|
|
24
|
-
), {
|
|
21
|
+
});
|
|
22
|
+
})), {
|
|
25
23
|
item: e,
|
|
26
24
|
element: n
|
|
27
25
|
};
|
|
@@ -11,17 +11,15 @@ import { COLLECTION_ACTION as u } from "@progress/kendo-react-common";
|
|
|
11
11
|
import { useSchedulerViewSlotsContext as c } from "../context/SchedulerViewContext.mjs";
|
|
12
12
|
const a = (r, o) => {
|
|
13
13
|
const { _ref: l } = r, e = t.useRef(null), n = t.useRef(null), [, s] = c();
|
|
14
|
-
return t.useImperativeHandle(e, () => ({ element: n.current, props: r })), t.useImperativeHandle(o, () => e.current), t.useImperativeHandle(l, () => e.current), t.useEffect(
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
return t.useImperativeHandle(e, () => ({ element: n.current, props: r })), t.useImperativeHandle(o, () => e.current), t.useImperativeHandle(l, () => e.current), t.useEffect(() => (s({
|
|
15
|
+
type: u.add,
|
|
16
|
+
item: e
|
|
17
|
+
}), () => {
|
|
18
|
+
s({
|
|
19
|
+
type: u.remove,
|
|
17
20
|
item: e
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
type: u.remove,
|
|
21
|
-
item: e
|
|
22
|
-
});
|
|
23
|
-
})
|
|
24
|
-
), {
|
|
21
|
+
});
|
|
22
|
+
})), {
|
|
25
23
|
slot: e,
|
|
26
24
|
element: n
|
|
27
25
|
};
|
package/hooks/useSlotExpand.mjs
CHANGED
|
@@ -33,34 +33,27 @@ const z = (e, t) => {
|
|
|
33
33
|
r += g;
|
|
34
34
|
});
|
|
35
35
|
const c = i.length * _ * 2 + r - (u || 0) + (typeof t == "object" && t.offsetTop ? t.offsetTop : 0) + (typeof t == "object" && t.offsetBottom ? t.offsetBottom : 0);
|
|
36
|
-
i.length ? c > p.current - u && E(
|
|
37
|
-
n,
|
|
38
|
-
{ height: c },
|
|
39
|
-
!0
|
|
40
|
-
) : n && (n.style.minHeight = "");
|
|
36
|
+
i.length ? c > p.current - u && E(n, { height: c }, !0) : n && (n.style.minHeight = "");
|
|
41
37
|
}, [t, e]), l = s.useCallback(() => {
|
|
42
38
|
f.current !== void 0 && window.cancelAnimationFrame(f.current), f.current = window.requestAnimationFrame(() => {
|
|
43
39
|
m();
|
|
44
40
|
});
|
|
45
41
|
}, [m]);
|
|
46
|
-
w(d, []), s.useEffect(m, [e, e.current && e.current.props, t]), s.useEffect(
|
|
47
|
-
()
|
|
48
|
-
|
|
42
|
+
w(d, []), s.useEffect(m, [e, e.current && e.current.props, t]), s.useEffect(() => {
|
|
43
|
+
if (!e.current)
|
|
44
|
+
return;
|
|
45
|
+
const u = e.current.props.items.filter((r) => r._ref.current).map((r) => {
|
|
46
|
+
if (!r._ref.current || !r._ref.current.element || !a.current)
|
|
49
47
|
return;
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const i = window.ResizeObserver, c = i && new i(l);
|
|
54
|
-
return c && c.observe(r._ref.current.element), () => {
|
|
55
|
-
c && c.disconnect();
|
|
56
|
-
};
|
|
57
|
-
});
|
|
58
|
-
return () => {
|
|
59
|
-
u.forEach((r) => r && r());
|
|
48
|
+
const i = window.ResizeObserver, c = i && new i(l);
|
|
49
|
+
return c && c.observe(r._ref.current.element), () => {
|
|
50
|
+
c && c.disconnect();
|
|
60
51
|
};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
52
|
+
});
|
|
53
|
+
return () => {
|
|
54
|
+
u.forEach((r) => r && r());
|
|
55
|
+
};
|
|
56
|
+
}, [l, a, e]);
|
|
64
57
|
};
|
|
65
58
|
export {
|
|
66
59
|
z as useSlotExpand
|
package/index.d.mts
CHANGED
|
@@ -1265,7 +1265,7 @@ export declare const schedulerEditItemDefaultProps: {
|
|
|
1265
1265
|
};
|
|
1266
1266
|
onOccurrenceClickAction: (_event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction[];
|
|
1267
1267
|
onSeriesClickAction: (_event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction[];
|
|
1268
|
-
onKeyDownAction: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps) => SchedulerEditItemAction |
|
|
1268
|
+
onKeyDownAction: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1269
1269
|
onFormSubmitAction: (event: SchedulerFormStateChangeEvent<DataItem | null>) => SchedulerEditItemAction[];
|
|
1270
1270
|
onRemoveConfirmAction: () => SchedulerEditItemAction[];
|
|
1271
1271
|
onCancelAction: () => SchedulerEditItemAction[];
|
|
@@ -1281,11 +1281,15 @@ export declare const SchedulerEditItemDragItemContext: React_2.Context<Scheduler
|
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Specifies the result of the [useSchedulerEditItemDragItemContext]({% slug api_scheduler_usescheduleredititemdragitemcontext %}) and [SchedulerEditItemDragItemContext]({% slug api_scheduler_scheduleredititemdragitemcontext %}).
|
|
1283
1283
|
*/
|
|
1284
|
-
export declare type SchedulerEditItemDragItemContextType = [
|
|
1284
|
+
export declare type SchedulerEditItemDragItemContextType = [
|
|
1285
|
+
DataItem | null,
|
|
1286
|
+
(newValue?: DataItem | null, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1285
1287
|
preventDefault: any;
|
|
1286
|
-
}) => void,
|
|
1288
|
+
}) => void,
|
|
1289
|
+
(action: SchedulerItemFormItemAction, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1287
1290
|
preventDefault: any;
|
|
1288
|
-
}) => void
|
|
1291
|
+
}) => void
|
|
1292
|
+
];
|
|
1289
1293
|
|
|
1290
1294
|
/**
|
|
1291
1295
|
* A [React Context](https://react.dev/reference/react/hooks#context-hooks) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `formItem` state.
|
|
@@ -1297,11 +1301,15 @@ export declare const SchedulerEditItemFormItemContext: React_2.Context<Scheduler
|
|
|
1297
1301
|
/**
|
|
1298
1302
|
* Specifies the result of the [useSchedulerEditItemFormItemContext]({% slug api_scheduler_usescheduleredititemformitemcontext %}) and [SchedulerEditItemFormItemContext]({% slug api_scheduler_scheduleredititemformitemcontext %}).
|
|
1299
1303
|
*/
|
|
1300
|
-
export declare type SchedulerEditItemFormItemContextType = [
|
|
1304
|
+
export declare type SchedulerEditItemFormItemContextType = [
|
|
1305
|
+
DataItem | null,
|
|
1306
|
+
(newValue: DataItem | null, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1301
1307
|
preventDefault: any;
|
|
1302
|
-
}) => void,
|
|
1308
|
+
}) => void,
|
|
1309
|
+
(action: SchedulerItemFormItemAction, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1303
1310
|
preventDefault: any;
|
|
1304
|
-
}) => void
|
|
1311
|
+
}) => void
|
|
1312
|
+
];
|
|
1305
1313
|
|
|
1306
1314
|
/**
|
|
1307
1315
|
* Represents the object which is returned from the `ref` callback of the [SchedulerEditItem]({% slug api_scheduler_scheduleredititem %}).
|
|
@@ -1430,7 +1438,7 @@ export declare interface SchedulerEditItemProps extends SchedulerViewItemProps {
|
|
|
1430
1438
|
*
|
|
1431
1439
|
* Internal state change will be triggered depending on the specific action types.
|
|
1432
1440
|
*/
|
|
1433
|
-
onOccurrenceClickAction?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1441
|
+
onOccurrenceClickAction?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1434
1442
|
/**
|
|
1435
1443
|
* Called whenever the `series` option is selected from the `OccurrenceDialog`.
|
|
1436
1444
|
*/
|
|
@@ -1440,7 +1448,7 @@ export declare interface SchedulerEditItemProps extends SchedulerViewItemProps {
|
|
|
1440
1448
|
*
|
|
1441
1449
|
* Internal state change will be triggered depending on the specific action types.
|
|
1442
1450
|
*/
|
|
1443
|
-
onSeriesClickAction?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1451
|
+
onSeriesClickAction?: (event: SchedulerOccurrenceDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1444
1452
|
/**
|
|
1445
1453
|
* Called whenever the `confirm` option is selected from the `RemoveDialog`.
|
|
1446
1454
|
*/
|
|
@@ -1450,7 +1458,7 @@ export declare interface SchedulerEditItemProps extends SchedulerViewItemProps {
|
|
|
1450
1458
|
*
|
|
1451
1459
|
* Internal state change will be triggered depending on the specific action types.
|
|
1452
1460
|
*/
|
|
1453
|
-
onRemoveConfirmAction?: (event: SchedulerRemoveDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1461
|
+
onRemoveConfirmAction?: (event: SchedulerRemoveDialogStateChangeEvent<any>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1454
1462
|
/**
|
|
1455
1463
|
* Called whenever the `form` is submitted.
|
|
1456
1464
|
*/
|
|
@@ -1460,7 +1468,7 @@ export declare interface SchedulerEditItemProps extends SchedulerViewItemProps {
|
|
|
1460
1468
|
*
|
|
1461
1469
|
* Internal state change will be triggered depending on the specific action types.
|
|
1462
1470
|
*/
|
|
1463
|
-
onFormSubmitAction?: (event: SchedulerFormStateChangeEvent<DataItem | null>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1471
|
+
onFormSubmitAction?: (event: SchedulerFormStateChangeEvent<DataItem | null>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1464
1472
|
/**
|
|
1465
1473
|
* Called whenever the current edit is canceled.
|
|
1466
1474
|
*/
|
|
@@ -1470,103 +1478,103 @@ export declare interface SchedulerEditItemProps extends SchedulerViewItemProps {
|
|
|
1470
1478
|
*
|
|
1471
1479
|
* Internal state change will be triggered depending on the specific action types.
|
|
1472
1480
|
*/
|
|
1473
|
-
onCancelAction?: (event: SchedulerFormStateChangeEvent<null> | SchedulerOccurrenceDialogStateChangeEvent<null>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1481
|
+
onCancelAction?: (event: SchedulerFormStateChangeEvent<null> | SchedulerOccurrenceDialogStateChangeEvent<null>, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1474
1482
|
/**
|
|
1475
1483
|
* An action callback. Used to define the component behavior on click.
|
|
1476
1484
|
*
|
|
1477
1485
|
* Internal state change will be triggered depending on the specific action types.
|
|
1478
1486
|
*/
|
|
1479
|
-
onClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1487
|
+
onClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1480
1488
|
/**
|
|
1481
1489
|
* An action callback. Used to define the component behavior on mouse down.
|
|
1482
1490
|
*
|
|
1483
1491
|
* Internal state change will be triggered depending on the specific action types.
|
|
1484
1492
|
*/
|
|
1485
|
-
onMouseDownAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1493
|
+
onMouseDownAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1486
1494
|
/**
|
|
1487
1495
|
* An action callback. Used to define the component behavior on mouse up.
|
|
1488
1496
|
*
|
|
1489
1497
|
* Internal state change will be triggered depending on the specific action types.
|
|
1490
1498
|
*/
|
|
1491
|
-
onMouseUpAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1499
|
+
onMouseUpAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1492
1500
|
/**
|
|
1493
1501
|
* An action callback. Used to define the component behavior on double click.
|
|
1494
1502
|
*
|
|
1495
1503
|
* Internal state change will be triggered depending on the specific action types.
|
|
1496
1504
|
*/
|
|
1497
|
-
onDoubleClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1505
|
+
onDoubleClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1498
1506
|
/**
|
|
1499
1507
|
* An action callback. Used to define the component behavior on remove click.
|
|
1500
1508
|
*
|
|
1501
1509
|
* Internal state change will be triggered depending on the specific action types.
|
|
1502
1510
|
*/
|
|
1503
|
-
onRemoveClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1511
|
+
onRemoveClickAction?: (event: SchedulerItemMouseEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1504
1512
|
/**
|
|
1505
1513
|
* An action callback. Used to define the component behavior on key down.
|
|
1506
1514
|
*
|
|
1507
1515
|
* Internal state change will be triggered depending on the specific action types.
|
|
1508
1516
|
*/
|
|
1509
|
-
onKeyDownAction?: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1517
|
+
onKeyDownAction?: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1510
1518
|
/**
|
|
1511
1519
|
* An action callback. Used to define the component behavior on key up.
|
|
1512
1520
|
*
|
|
1513
1521
|
* Internal state change will be triggered depending on the specific action types.
|
|
1514
1522
|
*/
|
|
1515
|
-
onKeyUpAction?: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1523
|
+
onKeyUpAction?: (event: SchedulerItemKeyboardEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1516
1524
|
/**
|
|
1517
1525
|
* An action callback. Used to define the component behavior on focus.
|
|
1518
1526
|
*
|
|
1519
1527
|
* Internal state change will be triggered depending on the specific action types.
|
|
1520
1528
|
*/
|
|
1521
|
-
onFocusAction?: (event: SchedulerItemFocusEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1529
|
+
onFocusAction?: (event: SchedulerItemFocusEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1522
1530
|
/**
|
|
1523
1531
|
* An action callback. Used to define the component behavior on blur.
|
|
1524
1532
|
*
|
|
1525
1533
|
* Internal state change will be triggered depending on the specific action types.
|
|
1526
1534
|
*/
|
|
1527
|
-
onBlurAction?: (event: SchedulerItemFocusEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1535
|
+
onBlurAction?: (event: SchedulerItemFocusEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1528
1536
|
/**
|
|
1529
1537
|
* An action callback. Used to define the component behavior on press.
|
|
1530
1538
|
*
|
|
1531
1539
|
* Internal state change will be triggered depending on the specific action types.
|
|
1532
1540
|
*/
|
|
1533
|
-
onPressAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1541
|
+
onPressAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1534
1542
|
/**
|
|
1535
1543
|
* An action callback. Used to define the component behavior on drag.
|
|
1536
1544
|
*
|
|
1537
1545
|
* Internal state change will be triggered depending on the specific action types.
|
|
1538
1546
|
*/
|
|
1539
|
-
onDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1547
|
+
onDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1540
1548
|
/**
|
|
1541
1549
|
* An action callback. Used to define the component behavior on release.
|
|
1542
1550
|
*
|
|
1543
1551
|
* Internal state change will be triggered depending on the specific action types.
|
|
1544
1552
|
*/
|
|
1545
|
-
onReleaseAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1553
|
+
onReleaseAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1546
1554
|
/**
|
|
1547
1555
|
* An action callback. Used to define the component behavior on resize press.
|
|
1548
1556
|
*
|
|
1549
1557
|
* Internal state change will be triggered depending on the specific action types.
|
|
1550
1558
|
*/
|
|
1551
|
-
onResizePressAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1559
|
+
onResizePressAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1552
1560
|
/**
|
|
1553
1561
|
* An action callback. Used to define the component behavior on resize start drag.
|
|
1554
1562
|
*
|
|
1555
1563
|
* Internal state change will be triggered depending on the specific action types.
|
|
1556
1564
|
*/
|
|
1557
|
-
onResizeStartDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1565
|
+
onResizeStartDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1558
1566
|
/**
|
|
1559
1567
|
* An action callback. Used to define the component behavior on resize end drag.
|
|
1560
1568
|
*
|
|
1561
1569
|
* Internal state change will be triggered depending on the specific action types.
|
|
1562
1570
|
*/
|
|
1563
|
-
onResizeEndDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1571
|
+
onResizeEndDragAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1564
1572
|
/**
|
|
1565
1573
|
* An action callback. Used to define the component behavior on resize release.
|
|
1566
1574
|
*
|
|
1567
1575
|
* Internal state change will be triggered depending on the specific action types.
|
|
1568
1576
|
*/
|
|
1569
|
-
onResizeReleaseAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction |
|
|
1577
|
+
onResizeReleaseAction?: (event: SchedulerItemDragEvent, props: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction | SchedulerEditItemAction[];
|
|
1570
1578
|
}
|
|
1571
1579
|
|
|
1572
1580
|
/**
|
|
@@ -1591,11 +1599,15 @@ export declare const SchedulerEditItemRemoveItemContext: React_2.Context<Schedul
|
|
|
1591
1599
|
/**
|
|
1592
1600
|
* Specifies the result of the [useSchedulerEditItemRemoveItemContext]({% slug api_scheduler_usescheduleredititemremoveitemcontext %}) and [SchedulerEditItemRemoveItemContext]({% slug api_scheduler_scheduleredititemremoveitemcontext %}).
|
|
1593
1601
|
*/
|
|
1594
|
-
export declare type SchedulerEditItemRemoveItemContextType = [
|
|
1602
|
+
export declare type SchedulerEditItemRemoveItemContextType = [
|
|
1603
|
+
DataItem | null,
|
|
1604
|
+
(newValue?: any, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1595
1605
|
preventDefault: any;
|
|
1596
|
-
}) => void,
|
|
1606
|
+
}) => void,
|
|
1607
|
+
(action: SchedulerItemFormItemAction, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1597
1608
|
preventDefault: any;
|
|
1598
|
-
}) => void
|
|
1609
|
+
}) => void
|
|
1610
|
+
];
|
|
1599
1611
|
|
|
1600
1612
|
/**
|
|
1601
1613
|
* A [React Context](https://react.dev/reference/react/hooks#context-hooks) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `resizeItem` state.
|
|
@@ -1607,11 +1619,15 @@ export declare const SchedulerEditItemResizeItemContext: React_2.Context<Schedul
|
|
|
1607
1619
|
/**
|
|
1608
1620
|
* Specifies the result of the [useSchedulerEditItemResizeItemContext]({% slug api_scheduler_usescheduleredititemresizeitemcontext %}) and [SchedulerEditItemResizeItemContext]({% slug api_scheduler_scheduleredititemresizeitemcontext %}).
|
|
1609
1621
|
*/
|
|
1610
|
-
export declare type SchedulerEditItemResizeItemContextType = [
|
|
1622
|
+
export declare type SchedulerEditItemResizeItemContextType = [
|
|
1623
|
+
DataItem | null,
|
|
1624
|
+
(newValue?: DataItem | null, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1611
1625
|
preventDefault: any;
|
|
1612
|
-
}) => void,
|
|
1626
|
+
}) => void,
|
|
1627
|
+
(action: SchedulerItemFormItemAction, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1613
1628
|
preventDefault: any;
|
|
1614
|
-
}) => void
|
|
1629
|
+
}) => void
|
|
1630
|
+
];
|
|
1615
1631
|
|
|
1616
1632
|
/**
|
|
1617
1633
|
* A [React Context](https://react.dev/reference/react/hooks#context-hooks) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showOccurrenceDialog` state.
|
|
@@ -1623,11 +1639,15 @@ export declare const SchedulerEditItemShowOccurrenceDialogContext: React_2.Conte
|
|
|
1623
1639
|
/**
|
|
1624
1640
|
* Specifies the result of the [useSchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_usescheduleredititemshowoccurrencedialogcontext %}) and [SchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_scheduleredititemshowoccurrencedialogcontext %}).
|
|
1625
1641
|
*/
|
|
1626
|
-
export declare type SchedulerEditItemShowOccurrenceDialogContextType = [
|
|
1642
|
+
export declare type SchedulerEditItemShowOccurrenceDialogContextType = [
|
|
1643
|
+
boolean,
|
|
1644
|
+
(newValue?: boolean, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1627
1645
|
preventDefault: any;
|
|
1628
|
-
}) => void,
|
|
1646
|
+
}) => void,
|
|
1647
|
+
(action: SchedulerItemFormItemAction, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1629
1648
|
preventDefault: any;
|
|
1630
|
-
}) => void
|
|
1649
|
+
}) => void
|
|
1650
|
+
];
|
|
1631
1651
|
|
|
1632
1652
|
/**
|
|
1633
1653
|
* A [React Context](https://react.dev/reference/react/hooks#context-hooks) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showRemoveDialog` state.
|
|
@@ -1639,11 +1659,15 @@ export declare const SchedulerEditItemShowRemoveDialogContext: React_2.Context<S
|
|
|
1639
1659
|
/**
|
|
1640
1660
|
* Specifies the result of the [useSchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_usescheduleredititemshowremovedialogcontext %}) and [SchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_scheduleredititemshowremovedialogcontext %}).
|
|
1641
1661
|
*/
|
|
1642
|
-
export declare type SchedulerEditItemShowRemoveDialogContextType = [
|
|
1662
|
+
export declare type SchedulerEditItemShowRemoveDialogContextType = [
|
|
1663
|
+
boolean,
|
|
1664
|
+
(newValue?: boolean, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1643
1665
|
preventDefault: any;
|
|
1644
|
-
}) => void,
|
|
1666
|
+
}) => void,
|
|
1667
|
+
(action: SchedulerItemFormItemAction, event?: React_2.SyntheticEvent | BaseEvent_2<any> | {
|
|
1645
1668
|
preventDefault: any;
|
|
1646
|
-
}) => void
|
|
1669
|
+
}) => void
|
|
1670
|
+
];
|
|
1647
1671
|
|
|
1648
1672
|
/**
|
|
1649
1673
|
* Represents the internal `state` of the `SchedulerEditItem`.
|
|
@@ -1889,6 +1913,9 @@ export declare const schedulerFormEditorDefaultProps: {
|
|
|
1889
1913
|
};
|
|
1890
1914
|
titleError: {
|
|
1891
1915
|
(props: ErrorProps): JSX_2.Element;
|
|
1916
|
+
/**
|
|
1917
|
+
* Specifies the `tabIndex` attribute of the root element.
|
|
1918
|
+
*/
|
|
1892
1919
|
propTypes: {
|
|
1893
1920
|
id: Requireable<string>;
|
|
1894
1921
|
direction: Requireable<string>;
|
|
@@ -1917,6 +1944,9 @@ export declare const schedulerFormEditorDefaultProps: {
|
|
|
1917
1944
|
};
|
|
1918
1945
|
startError: {
|
|
1919
1946
|
(props: ErrorProps): JSX_2.Element;
|
|
1947
|
+
/**
|
|
1948
|
+
* Specifies the `tabIndex` attribute of the root element.
|
|
1949
|
+
*/
|
|
1920
1950
|
propTypes: {
|
|
1921
1951
|
id: Requireable<string>;
|
|
1922
1952
|
direction: Requireable<string>;
|
|
@@ -1945,6 +1975,9 @@ export declare const schedulerFormEditorDefaultProps: {
|
|
|
1945
1975
|
};
|
|
1946
1976
|
startTimezoneError: {
|
|
1947
1977
|
(props: ErrorProps): JSX_2.Element;
|
|
1978
|
+
/**
|
|
1979
|
+
* Specifies the `tabIndex` attribute of the root element.
|
|
1980
|
+
*/
|
|
1948
1981
|
propTypes: {
|
|
1949
1982
|
id: Requireable<string>;
|
|
1950
1983
|
direction: Requireable<string>;
|
|
@@ -1990,6 +2023,9 @@ export declare const schedulerFormEditorDefaultProps: {
|
|
|
1990
2023
|
};
|
|
1991
2024
|
endError: {
|
|
1992
2025
|
(props: ErrorProps): JSX_2.Element;
|
|
2026
|
+
/**
|
|
2027
|
+
* Specifies the `tabIndex` attribute of the root element.
|
|
2028
|
+
*/
|
|
1993
2029
|
propTypes: {
|
|
1994
2030
|
id: Requireable<string>;
|
|
1995
2031
|
direction: Requireable<string>;
|
|
@@ -2018,6 +2054,9 @@ export declare const schedulerFormEditorDefaultProps: {
|
|
|
2018
2054
|
};
|
|
2019
2055
|
endTimezoneError: {
|
|
2020
2056
|
(props: ErrorProps): JSX_2.Element;
|
|
2057
|
+
/**
|
|
2058
|
+
* Specifies the `tabIndex` attribute of the root element.
|
|
2059
|
+
*/
|
|
2021
2060
|
propTypes: {
|
|
2022
2061
|
id: Requireable<string>;
|
|
2023
2062
|
direction: Requireable<string>;
|
|
@@ -2082,6 +2121,9 @@ export declare const schedulerFormEditorDefaultProps: {
|
|
|
2082
2121
|
descriptionEditor: React_2.ForwardRefExoticComponent<TextAreaProps & React_2.RefAttributes<TextAreaHandle | null>>;
|
|
2083
2122
|
descriptionError: {
|
|
2084
2123
|
(props: ErrorProps): JSX_2.Element;
|
|
2124
|
+
/**
|
|
2125
|
+
* Specifies the `tabIndex` attribute of the root element.
|
|
2126
|
+
*/
|
|
2085
2127
|
propTypes: {
|
|
2086
2128
|
id: Requireable<string>;
|
|
2087
2129
|
direction: Requireable<string>;
|
|
@@ -4230,7 +4272,7 @@ export declare interface WorkWeekViewProps extends WeekViewProps {
|
|
|
4230
4272
|
/**
|
|
4231
4273
|
* @hidden
|
|
4232
4274
|
*/
|
|
4233
|
-
declare type ZonedDateTimeProps = Omit_2<
|
|
4275
|
+
declare type ZonedDateTimeProps = Omit_2<DatePickerProps | DateTimePickerProps, 'onChange' | 'calendar'> & {
|
|
4234
4276
|
as?: React_2.ComponentType<DatePickerProps | DateTimePickerProps>;
|
|
4235
4277
|
onChange?: (args: {
|
|
4236
4278
|
value: Date | null;
|