@progress/kendo-react-scheduler 9.2.0-develop.8 → 9.2.0-develop.9

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.
@@ -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 se=require("react"),Ee=require("@progress/kendo-date-math"),i=require("@progress/kendo-react-labels"),ue=require("@progress/kendo-react-intl"),a=require("@progress/kendo-react-form"),b=require("@progress/kendo-react-inputs"),h=require("@progress/kendo-react-dateinputs"),n=require("../messages/index.js"),C=require("./FilterableComboBox.js"),be=require("@progress/kendo-react-common"),Te=require("../recurrence/RecurrenceEditor.js"),ke=require("./ResourceEditor.js"),S=require("./ZonedDateTime.js"),D=require("../context/SchedulerContext.js");function ze(r){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const m in r)if(m!=="default"){const E=Object.getOwnPropertyDescriptor(r,m);Object.defineProperty(c,m,E.get?E:{enumerable:!0,get:()=>r[m]})}}return c.default=r,Object.freeze(c)}const e=ze(se),N=e.forwardRef((r,c)=>{const m=e.useRef(null),E=e.useRef(null),L=Ee.timezoneNames(),d=ue.useLocalization(),t=D.useSchedulerFieldsContext(),{resources:p,timezone:T}=D.useSchedulerPropsContext();e.useImperativeHandle(E,()=>({element:m.current&&m.current.element?m.current.element:m.current,props:r})),e.useImperativeHandle(c,()=>E.current);const{as:v=o.as,...y}=r,{titleLabel:R=o.titleLabel,titleError:x=o.titleError,titleEditor:q=o.titleEditor,startLabel:Z=o.startLabel,startError:w=o.startError,startEditor:I=o.startEditor,startTimezoneLabel:A=o.startTimezoneLabel,startTimezoneError:P=o.startTimezoneError,startTimezoneEditor:W=o.startTimezoneEditor,startTimezoneCheckedLabel:g=o.startTimezoneCheckedLabel,startTimezoneCheckedEditor:G=o.startTimezoneCheckedEditor,endLabel:M=o.endLabel,endError:O=o.endError,endEditor:j=o.endEditor,endTimezoneLabel:B=o.endTimezoneLabel,endTimezoneError:V=o.endTimezoneError,endTimezoneEditor:_=o.endTimezoneEditor,endTimezoneCheckedLabel:H=o.endTimezoneCheckedLabel,endTimezoneCheckedEditor:K=o.endTimezoneCheckedEditor,allDayLabel:J=o.allDayLabel,allDayEditor:Q=o.allDayEditor,recurrenceEditor:U=o.recurrenceEditor,descriptionLabel:X=o.descriptionLabel,descriptionEditor:Y=o.descriptionEditor,descriptionError:$=o.descriptionError,resourceLabel:ee=o.resourceLabel,resourceEditor:te=o.resourceEditor}=r,re=r.valueGetter(t.start)||new Date,ae=r.valueGetter(t.startTimezone)||T||"",ne=r.valueGetter(t.endTimezone)||T||"",f=e.useMemo(()=>d.toLanguageString(n.editorValidationRequired,n.messages[n.editorValidationRequired]),[d]),[s,oe]=e.useState(!!r.valueGetter(t.startTimezone)),[k,F]=e.useState(!!r.valueGetter(t.endTimezone)),le=e.useCallback(l=>{l.value||(r.onChange(t.startTimezone,{value:null}),r.onChange(t.endTimezone,{value:null}),F(l.value)),oe(l.value)},[r.onChange,t.startTimezone,t.endTimezone]),ie=e.useCallback(l=>{l.value||r.onChange(t.endTimezone,{value:null}),F(l.value)},[r.onChange]),u=e.useCallback(l=>l?void 0:f,[f]),de=e.useCallback((l,z)=>s?u(z(t.startTimezone)):void 0,[u,s,t.startTimezone]),me=e.useCallback((l,z)=>s&&k?u(z(t.endTimezone))||u(z(t.startTimezone)):void 0,[u,s,k,t.startTimezone,t.endTimezone]),ce=e.useMemo(()=>be.classNames("k-scheduler-edit-form",r.className),[r.className]);return e.createElement(v,{ref:v===o.as?m:void 0,...y,className:ce},e.createElement(e.Fragment,null,e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.title,component:R,editorId:"k-scheduler-editor-title",className:"k-form-label"},d.toLanguageString(n.editorEventTitle,n.messages[n.editorEventTitle])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-scheduler-editor-title",name:t.title,field:t.title,component:q}),r.errors[t.title]&&e.createElement(a.Field,{name:t.title,component:x},r.errors[t.title]))),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.start,component:Z,editorId:"k-scheduler-editor-start",className:"k-form-label"},d.toLanguageString(n.editorEventStart,n.messages[n.editorEventStart])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-scheduler-editor-start",name:t.start,width:"auto",component:I,as:r.valueGetter(t.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:T}),r.errors[t.start]&&e.createElement(a.Field,{name:t.start,component:w},r.errors[t.start]))),e.createElement(a.FieldWrapper,null,e.createElement(g,{className:"k-form-label"}),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(G,{id:"k-scheduler-editor-set-start-timezone",onChange:le,value:s}),e.createElement(g,{className:"k-checkbox-label",editorId:"k-scheduler-editor-set-start-timezone"},d.toLanguageString(n.editorEventTimeZone,n.messages[n.editorEventTimeZone])))),s&&e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.start,component:A,className:"k-form-label"},d.toLanguageString(n.editorEventStartTimeZone,n.messages[n.editorEventStartTimeZone])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{component:W,value:ae,validator:de,data:L,name:t.startTimezone}),r.errors[t.startTimezone]&&e.createElement(a.Field,{name:t.startTimezone,component:P},r.errors[t.startTimezone]))),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.end,component:M,editorId:"k-scheduler-editor-end",className:"k-form-label"},d.toLanguageString(n.editorEventEnd,n.messages[n.editorEventEnd])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-scheduler-editor-end",name:t.end,width:"auto",component:j,as:r.valueGetter(t.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:T}),r.errors[t.end]&&e.createElement(a.Field,{name:t.end,component:O},r.errors[t.end]))),s&&e.createElement(a.FieldWrapper,null,e.createElement("div",{className:"k-form-field-wrap"},e.createElement(K,{id:"k-scheduler-editor-set-end-timezone",onChange:ie,value:k})),e.createElement(H,{editorId:"k-scheduler-editor-set-end-timezone",className:"k-form-label"},d.toLanguageString(n.editorEventSeparateTimeZones,n.messages[n.editorEventSeparateTimeZones]))),k&&e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.endTimezone,component:B,className:"k-form-label"},d.toLanguageString(n.editorEventEndTimeZone,n.messages[n.editorEventEndTimeZone])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{value:ne,data:L,validator:me,component:_,name:t.endTimezone}),r.errors[t.endTimezone]&&e.createElement(a.Field,{name:t.endTimezone,component:V},r.errors[t.endTimezone]))),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.isAllDay,component:i.Label,className:"k-form-label"}),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-is-allday-checkbox",name:t.isAllDay,component:Q}),e.createElement(a.Field,{name:t.isAllDay,field:t.isAllDay,editorId:"k-is-allday-checkbox",className:"k-checkbox-label",component:J},d.toLanguageString(n.editorEventAllDay,n.messages[n.editorEventAllDay])))),e.createElement("div",{className:"k-recurrence-editor"},e.createElement(a.Field,{component:U,field:t.recurrenceRule,name:t.recurrenceRule,start:re})),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.description,component:X,className:"k-form-label"},d.toLanguageString(n.editorEventDescription,n.messages[n.editorEventDescription])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{component:Y,name:t.description,rows:1,id:"k-event-description"}),r.errors[t.description]&&e.createElement(a.Field,{name:t.description,component:$},r.errors[t.description]))),(p||[]).map(l=>e.createElement(a.FieldWrapper,{key:l.field},e.createElement(a.Field,{name:l.field,component:ee,className:"k-form-label"}),e.createElement(i.Label,{className:"k-form-label"},l.name),e.createElement(a.Field,{name:l.field,component:te,resource:l,multiple:l.multiple,data:l.data,textField:l.textField,valueField:l.valueField,colorField:l.colorField})))))}),o={as:e.forwardRef((r,c)=>e.createElement(a.FormElement,{ref:c,id:r.id,style:r.style,tabIndex:r.tabIndex,className:r.className,horizontal:r.horizontal,children:r.children})),titleLabel:i.Label,titleError:i.Error,titleEditor:b.Input,startLabel:i.Label,startError:i.Error,startEditor:S.ZonedDateTime,startTimezoneLabel:i.Label,startTimezoneError:i.Error,startTimezoneEditor:C.FilterableComboBox,startTimezoneCheckedLabel:i.Label,startTimezoneCheckedEditor:b.Checkbox,endLabel:i.Label,endError:i.Error,endEditor:S.ZonedDateTime,endTimezoneLabel:i.Label,endTimezoneError:i.Error,endTimezoneEditor:C.FilterableComboBox,endTimezoneCheckedLabel:i.Label,endTimezoneCheckedEditor:b.Checkbox,allDayLabel:i.Label,allDayEditor:b.Checkbox,recurrenceEditor:Te.RecurrenceEditor,descriptionLabel:i.Label,descriptionEditor:b.TextArea,descriptionError:i.Error,resourceLabel:i.Label,resourceEditor:ke.ResourceEditor};N.displayName="KendoReactSchedulerFormEditor";exports.SchedulerFormEditor=N;exports.schedulerFormEditorDefaultProps=o;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const se=require("react"),Ee=require("@progress/kendo-date-math"),i=require("@progress/kendo-react-labels"),ue=require("@progress/kendo-react-intl"),a=require("@progress/kendo-react-form"),b=require("@progress/kendo-react-inputs"),h=require("@progress/kendo-react-dateinputs"),n=require("../messages/index.js"),C=require("./FilterableComboBox.js"),be=require("@progress/kendo-react-common"),Te=require("../recurrence/RecurrenceEditor.js"),ke=require("./ResourceEditor.js"),S=require("./ZonedDateTime.js"),D=require("../context/SchedulerContext.js");function ze(r){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const m in r)if(m!=="default"){const E=Object.getOwnPropertyDescriptor(r,m);Object.defineProperty(c,m,E.get?E:{enumerable:!0,get:()=>r[m]})}}return c.default=r,Object.freeze(c)}const e=ze(se),N=e.forwardRef((r,c)=>{const m=e.useRef(null),E=e.useRef(null),L=Ee.timezoneNames(),d=ue.useLocalization(),t=D.useSchedulerFieldsContext(),{resources:p,timezone:T}=D.useSchedulerPropsContext();e.useImperativeHandle(E,()=>{var l;return{element:(l=m.current)!=null&&l.element?m.current.element:m.current,props:r}}),e.useImperativeHandle(c,()=>E.current);const{as:v=o.as,...y}=r,{titleLabel:R=o.titleLabel,titleError:x=o.titleError,titleEditor:q=o.titleEditor,startLabel:Z=o.startLabel,startError:w=o.startError,startEditor:I=o.startEditor,startTimezoneLabel:A=o.startTimezoneLabel,startTimezoneError:P=o.startTimezoneError,startTimezoneEditor:W=o.startTimezoneEditor,startTimezoneCheckedLabel:g=o.startTimezoneCheckedLabel,startTimezoneCheckedEditor:G=o.startTimezoneCheckedEditor,endLabel:M=o.endLabel,endError:O=o.endError,endEditor:j=o.endEditor,endTimezoneLabel:B=o.endTimezoneLabel,endTimezoneError:V=o.endTimezoneError,endTimezoneEditor:_=o.endTimezoneEditor,endTimezoneCheckedLabel:H=o.endTimezoneCheckedLabel,endTimezoneCheckedEditor:K=o.endTimezoneCheckedEditor,allDayLabel:J=o.allDayLabel,allDayEditor:Q=o.allDayEditor,recurrenceEditor:U=o.recurrenceEditor,descriptionLabel:X=o.descriptionLabel,descriptionEditor:Y=o.descriptionEditor,descriptionError:$=o.descriptionError,resourceLabel:ee=o.resourceLabel,resourceEditor:te=o.resourceEditor}=r,re=r.valueGetter(t.start)||new Date,ae=r.valueGetter(t.startTimezone)||T||"",ne=r.valueGetter(t.endTimezone)||T||"",f=e.useMemo(()=>d.toLanguageString(n.editorValidationRequired,n.messages[n.editorValidationRequired]),[d]),[s,oe]=e.useState(!!r.valueGetter(t.startTimezone)),[k,F]=e.useState(!!r.valueGetter(t.endTimezone)),le=e.useCallback(l=>{l.value||(r.onChange(t.startTimezone,{value:null}),r.onChange(t.endTimezone,{value:null}),F(l.value)),oe(l.value)},[r.onChange,t.startTimezone,t.endTimezone]),ie=e.useCallback(l=>{l.value||r.onChange(t.endTimezone,{value:null}),F(l.value)},[r.onChange]),u=e.useCallback(l=>l?void 0:f,[f]),de=e.useCallback((l,z)=>s?u(z(t.startTimezone)):void 0,[u,s,t.startTimezone]),me=e.useCallback((l,z)=>s&&k?u(z(t.endTimezone))||u(z(t.startTimezone)):void 0,[u,s,k,t.startTimezone,t.endTimezone]),ce=e.useMemo(()=>be.classNames("k-scheduler-edit-form",r.className),[r.className]);return e.createElement(v,{ref:v===o.as?m:void 0,...y,className:ce},e.createElement(e.Fragment,null,e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.title,component:R,editorId:"k-scheduler-editor-title",className:"k-form-label"},d.toLanguageString(n.editorEventTitle,n.messages[n.editorEventTitle])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-scheduler-editor-title",name:t.title,field:t.title,component:q}),r.errors[t.title]&&e.createElement(a.Field,{name:t.title,component:x},r.errors[t.title]))),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.start,component:Z,editorId:"k-scheduler-editor-start",className:"k-form-label"},d.toLanguageString(n.editorEventStart,n.messages[n.editorEventStart])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-scheduler-editor-start",name:t.start,width:"auto",component:I,as:r.valueGetter(t.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:T}),r.errors[t.start]&&e.createElement(a.Field,{name:t.start,component:w},r.errors[t.start]))),e.createElement(a.FieldWrapper,null,e.createElement(g,{className:"k-form-label"}),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(G,{id:"k-scheduler-editor-set-start-timezone",onChange:le,value:s}),e.createElement(g,{className:"k-checkbox-label",editorId:"k-scheduler-editor-set-start-timezone"},d.toLanguageString(n.editorEventTimeZone,n.messages[n.editorEventTimeZone])))),s&&e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.start,component:A,className:"k-form-label"},d.toLanguageString(n.editorEventStartTimeZone,n.messages[n.editorEventStartTimeZone])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{component:W,value:ae,validator:de,data:L,name:t.startTimezone}),r.errors[t.startTimezone]&&e.createElement(a.Field,{name:t.startTimezone,component:P},r.errors[t.startTimezone]))),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.end,component:M,editorId:"k-scheduler-editor-end",className:"k-form-label"},d.toLanguageString(n.editorEventEnd,n.messages[n.editorEventEnd])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-scheduler-editor-end",name:t.end,width:"auto",component:j,as:r.valueGetter(t.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:T}),r.errors[t.end]&&e.createElement(a.Field,{name:t.end,component:O},r.errors[t.end]))),s&&e.createElement(a.FieldWrapper,null,e.createElement("div",{className:"k-form-field-wrap"},e.createElement(K,{id:"k-scheduler-editor-set-end-timezone",onChange:ie,value:k})),e.createElement(H,{editorId:"k-scheduler-editor-set-end-timezone",className:"k-form-label"},d.toLanguageString(n.editorEventSeparateTimeZones,n.messages[n.editorEventSeparateTimeZones]))),k&&e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.endTimezone,component:B,className:"k-form-label"},d.toLanguageString(n.editorEventEndTimeZone,n.messages[n.editorEventEndTimeZone])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{value:ne,data:L,validator:me,component:_,name:t.endTimezone}),r.errors[t.endTimezone]&&e.createElement(a.Field,{name:t.endTimezone,component:V},r.errors[t.endTimezone]))),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.isAllDay,component:i.Label,className:"k-form-label"}),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{id:"k-is-allday-checkbox",name:t.isAllDay,component:Q}),e.createElement(a.Field,{name:t.isAllDay,field:t.isAllDay,editorId:"k-is-allday-checkbox",className:"k-checkbox-label",component:J},d.toLanguageString(n.editorEventAllDay,n.messages[n.editorEventAllDay])))),e.createElement("div",{className:"k-recurrence-editor"},e.createElement(a.Field,{component:U,field:t.recurrenceRule,name:t.recurrenceRule,start:re})),e.createElement(a.FieldWrapper,null,e.createElement(a.Field,{name:t.description,component:X,className:"k-form-label"},d.toLanguageString(n.editorEventDescription,n.messages[n.editorEventDescription])),e.createElement("div",{className:"k-form-field-wrap"},e.createElement(a.Field,{component:Y,name:t.description,rows:1,id:"k-event-description"}),r.errors[t.description]&&e.createElement(a.Field,{name:t.description,component:$},r.errors[t.description]))),(p||[]).map(l=>e.createElement(a.FieldWrapper,{key:l.field},e.createElement(a.Field,{name:l.field,component:ee,className:"k-form-label"}),e.createElement(i.Label,{className:"k-form-label"},l.name),e.createElement(a.Field,{name:l.field,component:te,resource:l,multiple:l.multiple,data:l.data,textField:l.textField,valueField:l.valueField,colorField:l.colorField})))))}),o={as:e.forwardRef((r,c)=>e.createElement(a.FormElement,{ref:c,id:r.id,style:r.style,tabIndex:r.tabIndex,className:r.className,horizontal:r.horizontal,children:r.children})),titleLabel:i.Label,titleError:i.Error,titleEditor:b.Input,startLabel:i.Label,startError:i.Error,startEditor:S.ZonedDateTime,startTimezoneLabel:i.Label,startTimezoneError:i.Error,startTimezoneEditor:C.FilterableComboBox,startTimezoneCheckedLabel:i.Label,startTimezoneCheckedEditor:b.Checkbox,endLabel:i.Label,endError:i.Error,endEditor:S.ZonedDateTime,endTimezoneLabel:i.Label,endTimezoneError:i.Error,endTimezoneEditor:C.FilterableComboBox,endTimezoneCheckedLabel:i.Label,endTimezoneCheckedEditor:b.Checkbox,allDayLabel:i.Label,allDayEditor:b.Checkbox,recurrenceEditor:Te.RecurrenceEditor,descriptionLabel:i.Label,descriptionEditor:b.TextArea,descriptionError:i.Error,resourceLabel:i.Label,resourceEditor:ke.ResourceEditor};N.displayName="KendoReactSchedulerFormEditor";exports.SchedulerFormEditor=N;exports.schedulerFormEditorDefaultProps=o;
@@ -10,7 +10,7 @@ import * as e from "react";
10
10
  import { timezoneNames as ge } from "@progress/kendo-date-math";
11
11
  import { Label as l, Error as s } from "@progress/kendo-react-labels";
12
12
  import { useLocalization as Ce } from "@progress/kendo-react-intl";
13
- import { FieldWrapper as m, Field as n, FormElement as Ne } from "@progress/kendo-react-form";
13
+ import { FieldWrapper as m, Field as o, FormElement as Ne } from "@progress/kendo-react-form";
14
14
  import { Input as Se, Checkbox as h, TextArea as De } from "@progress/kendo-react-inputs";
15
15
  import { DatePicker as S, DateTimePicker as D } from "@progress/kendo-react-dateinputs";
16
16
  import { editorValidationRequired as y, messages as d, editorEventTitle as x, editorEventStart as p, editorEventTimeZone as w, editorEventStartTimeZone as F, editorEventEnd as R, editorEventSeparateTimeZones as I, editorEventEndTimeZone as Z, editorEventAllDay as A, editorEventDescription as G } from "../messages/index.mjs";
@@ -22,11 +22,14 @@ import { ZonedDateTime as V } from "./ZonedDateTime.mjs";
22
22
  import { useSchedulerFieldsContext as we, useSchedulerPropsContext as Fe } from "../context/SchedulerContext.mjs";
23
23
  const Re = e.forwardRef(
24
24
  (r, b) => {
25
- const E = e.useRef(null), f = e.useRef(null), L = ge(), i = Ce(), t = we(), { resources: q, timezone: z } = Fe();
26
- e.useImperativeHandle(f, () => ({
27
- element: E.current && E.current.element ? E.current.element : E.current,
28
- props: r
29
- })), e.useImperativeHandle(
25
+ const u = e.useRef(null), f = e.useRef(null), L = ge(), i = Ce(), t = we(), { resources: q, timezone: z } = Fe();
26
+ e.useImperativeHandle(f, () => {
27
+ var n;
28
+ return {
29
+ element: (n = u.current) != null && n.element ? u.current.element : u.current,
30
+ props: r
31
+ };
32
+ }), e.useImperativeHandle(
30
33
  b,
31
34
  () => f.current
32
35
  );
@@ -64,34 +67,34 @@ const Re = e.forwardRef(
64
67
  ), [c, ke] = e.useState(
65
68
  !!r.valueGetter(t.startTimezone)
66
69
  ), [T, N] = e.useState(!!r.valueGetter(t.endTimezone)), be = e.useCallback(
67
- (o) => {
68
- o.value || (r.onChange(t.startTimezone, { value: null }), r.onChange(t.endTimezone, { value: null }), N(o.value)), ke(o.value);
70
+ (n) => {
71
+ n.value || (r.onChange(t.startTimezone, { value: null }), r.onChange(t.endTimezone, { value: null }), N(n.value)), ke(n.value);
69
72
  },
70
73
  [r.onChange, t.startTimezone, t.endTimezone]
71
74
  ), he = e.useCallback(
72
- (o) => {
73
- o.value || r.onChange(t.endTimezone, { value: null }), N(o.value);
75
+ (n) => {
76
+ n.value || r.onChange(t.endTimezone, { value: null }), N(n.value);
74
77
  },
75
78
  [r.onChange]
76
- ), u = e.useCallback(
77
- (o) => o ? void 0 : C,
79
+ ), E = e.useCallback(
80
+ (n) => n ? void 0 : C,
78
81
  [C]
79
82
  ), fe = e.useCallback(
80
- (o, k) => c ? u(k(t.startTimezone)) : void 0,
81
- [u, c, t.startTimezone]
83
+ (n, k) => c ? E(k(t.startTimezone)) : void 0,
84
+ [E, c, t.startTimezone]
82
85
  ), Le = e.useCallback(
83
- (o, k) => c && T ? u(k(t.endTimezone)) || u(k(t.startTimezone)) : void 0,
84
- [u, c, T, t.startTimezone, t.endTimezone]
86
+ (n, k) => c && T ? E(k(t.endTimezone)) || E(k(t.startTimezone)) : void 0,
87
+ [E, c, T, t.startTimezone, t.endTimezone]
85
88
  ), ve = e.useMemo(() => ye("k-scheduler-edit-form", r.className), [r.className]);
86
89
  return /* @__PURE__ */ e.createElement(
87
90
  v,
88
91
  {
89
- ref: v === a.as ? E : void 0,
92
+ ref: v === a.as ? u : void 0,
90
93
  ...B,
91
94
  className: ve
92
95
  },
93
96
  /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(
94
- n,
97
+ o,
95
98
  {
96
99
  name: t.title,
97
100
  component: M,
@@ -100,15 +103,15 @@ const Re = e.forwardRef(
100
103
  },
101
104
  i.toLanguageString(x, d[x])
102
105
  ), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
103
- n,
106
+ o,
104
107
  {
105
108
  id: "k-scheduler-editor-title",
106
109
  name: t.title,
107
110
  field: t.title,
108
111
  component: _
109
112
  }
110
- ), r.errors[t.title] && /* @__PURE__ */ e.createElement(n, { name: t.title, component: H }, r.errors[t.title]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(
111
- n,
113
+ ), r.errors[t.title] && /* @__PURE__ */ e.createElement(o, { name: t.title, component: H }, r.errors[t.title]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(
114
+ o,
112
115
  {
113
116
  name: t.start,
114
117
  component: K,
@@ -117,7 +120,7 @@ const Re = e.forwardRef(
117
120
  },
118
121
  i.toLanguageString(p, d[p])
119
122
  ), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
120
- n,
123
+ o,
121
124
  {
122
125
  id: "k-scheduler-editor-start",
123
126
  name: t.start,
@@ -126,7 +129,7 @@ const Re = e.forwardRef(
126
129
  as: r.valueGetter(t.isAllDay) ? S : D,
127
130
  timezone: z
128
131
  }
129
- ), r.errors[t.start] && /* @__PURE__ */ e.createElement(n, { name: t.start, component: W }, r.errors[t.start]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(g, { className: "k-form-label" }), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
132
+ ), r.errors[t.start] && /* @__PURE__ */ e.createElement(o, { name: t.start, component: W }, r.errors[t.start]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(g, { className: "k-form-label" }), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
130
133
  U,
131
134
  {
132
135
  id: "k-scheduler-editor-set-start-timezone",
@@ -140,11 +143,11 @@ const Re = e.forwardRef(
140
143
  editorId: "k-scheduler-editor-set-start-timezone"
141
144
  },
142
145
  i.toLanguageString(w, d[w])
143
- ))), c && /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(n, { name: t.start, component: J, className: "k-form-label" }, i.toLanguageString(
146
+ ))), c && /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(o, { name: t.start, component: J, className: "k-form-label" }, i.toLanguageString(
144
147
  F,
145
148
  d[F]
146
149
  )), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
147
- n,
150
+ o,
148
151
  {
149
152
  component: Q,
150
153
  value: ze,
@@ -152,8 +155,8 @@ const Re = e.forwardRef(
152
155
  data: L,
153
156
  name: t.startTimezone
154
157
  }
155
- ), r.errors[t.startTimezone] && /* @__PURE__ */ e.createElement(n, { name: t.startTimezone, component: O }, r.errors[t.startTimezone]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(
156
- n,
158
+ ), r.errors[t.startTimezone] && /* @__PURE__ */ e.createElement(o, { name: t.startTimezone, component: O }, r.errors[t.startTimezone]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(
159
+ o,
157
160
  {
158
161
  name: t.end,
159
162
  component: X,
@@ -162,7 +165,7 @@ const Re = e.forwardRef(
162
165
  },
163
166
  i.toLanguageString(R, d[R])
164
167
  ), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
165
- n,
168
+ o,
166
169
  {
167
170
  id: "k-scheduler-editor-end",
168
171
  name: t.end,
@@ -171,7 +174,7 @@ const Re = e.forwardRef(
171
174
  as: r.valueGetter(t.isAllDay) ? S : D,
172
175
  timezone: z
173
176
  }
174
- ), r.errors[t.end] && /* @__PURE__ */ e.createElement(n, { name: t.end, component: Y }, r.errors[t.end]))), c && /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
177
+ ), r.errors[t.end] && /* @__PURE__ */ e.createElement(o, { name: t.end, component: Y }, r.errors[t.end]))), c && /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
175
178
  ne,
176
179
  {
177
180
  id: "k-scheduler-editor-set-end-timezone",
@@ -188,11 +191,11 @@ const Re = e.forwardRef(
188
191
  I,
189
192
  d[I]
190
193
  )
191
- )), T && /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(n, { name: t.endTimezone, component: ee, className: "k-form-label" }, i.toLanguageString(
194
+ )), T && /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(o, { name: t.endTimezone, component: ee, className: "k-form-label" }, i.toLanguageString(
192
195
  Z,
193
196
  d[Z]
194
197
  )), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
195
- n,
198
+ o,
196
199
  {
197
200
  value: Te,
198
201
  data: L,
@@ -200,8 +203,8 @@ const Re = e.forwardRef(
200
203
  component: re,
201
204
  name: t.endTimezone
202
205
  }
203
- ), r.errors[t.endTimezone] && /* @__PURE__ */ e.createElement(n, { name: t.endTimezone, component: te }, r.errors[t.endTimezone]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(n, { name: t.isAllDay, component: l, className: "k-form-label" }), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(n, { id: "k-is-allday-checkbox", name: t.isAllDay, component: le }), /* @__PURE__ */ e.createElement(
204
- n,
206
+ ), r.errors[t.endTimezone] && /* @__PURE__ */ e.createElement(o, { name: t.endTimezone, component: te }, r.errors[t.endTimezone]))), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(o, { name: t.isAllDay, component: l, className: "k-form-label" }), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(o, { id: "k-is-allday-checkbox", name: t.isAllDay, component: le }), /* @__PURE__ */ e.createElement(
207
+ o,
205
208
  {
206
209
  name: t.isAllDay,
207
210
  field: t.isAllDay,
@@ -211,32 +214,32 @@ const Re = e.forwardRef(
211
214
  },
212
215
  i.toLanguageString(A, d[A])
213
216
  ))), /* @__PURE__ */ e.createElement("div", { className: "k-recurrence-editor" }, /* @__PURE__ */ e.createElement(
214
- n,
217
+ o,
215
218
  {
216
219
  component: ie,
217
220
  field: t.recurrenceRule,
218
221
  name: t.recurrenceRule,
219
222
  start: ue
220
223
  }
221
- )), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(n, { name: t.description, component: me, className: "k-form-label" }, i.toLanguageString(G, d[G])), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
222
- n,
224
+ )), /* @__PURE__ */ e.createElement(m, null, /* @__PURE__ */ e.createElement(o, { name: t.description, component: me, className: "k-form-label" }, i.toLanguageString(G, d[G])), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ e.createElement(
225
+ o,
223
226
  {
224
227
  component: de,
225
228
  name: t.description,
226
229
  rows: 1,
227
230
  id: "k-event-description"
228
231
  }
229
- ), r.errors[t.description] && /* @__PURE__ */ e.createElement(n, { name: t.description, component: ce }, r.errors[t.description]))), (q || []).map((o) => /* @__PURE__ */ e.createElement(m, { key: o.field }, /* @__PURE__ */ e.createElement(n, { name: o.field, component: se, className: "k-form-label" }), /* @__PURE__ */ e.createElement(l, { className: "k-form-label" }, o.name), /* @__PURE__ */ e.createElement(
230
- n,
232
+ ), r.errors[t.description] && /* @__PURE__ */ e.createElement(o, { name: t.description, component: ce }, r.errors[t.description]))), (q || []).map((n) => /* @__PURE__ */ e.createElement(m, { key: n.field }, /* @__PURE__ */ e.createElement(o, { name: n.field, component: se, className: "k-form-label" }), /* @__PURE__ */ e.createElement(l, { className: "k-form-label" }, n.name), /* @__PURE__ */ e.createElement(
233
+ o,
231
234
  {
232
- name: o.field,
235
+ name: n.field,
233
236
  component: Ee,
234
- resource: o,
235
- multiple: o.multiple,
236
- data: o.data,
237
- textField: o.textField,
238
- valueField: o.valueField,
239
- colorField: o.colorField
237
+ resource: n,
238
+ multiple: n.multiple,
239
+ data: n.data,
240
+ textField: n.textField,
241
+ valueField: n.valueField,
242
+ colorField: n.colorField
240
243
  }
241
244
  ))))
242
245
  );
package/index.d.mts CHANGED
@@ -13,6 +13,7 @@ import { DateFormatOptions } from '@progress/kendo-react-intl';
13
13
  import { DatePickerCloseEvent } from '@progress/kendo-react-dateinputs';
14
14
  import { DatePickerOpenEvent } from '@progress/kendo-react-dateinputs';
15
15
  import { DatePickerProps } from '@progress/kendo-react-dateinputs';
16
+ import { DateRange as DateRange_2 } from '../..';
16
17
  import { DateTimePickerCloseEvent } from '@progress/kendo-react-dateinputs';
17
18
  import { DateTimePickerOpenEvent } from '@progress/kendo-react-dateinputs';
18
19
  import { DateTimePickerProps } from '@progress/kendo-react-dateinputs';
@@ -36,10 +37,27 @@ import { LocalizationService } from '@progress/kendo-react-intl';
36
37
  import { MultiSelectProps } from '@progress/kendo-react-dropdowns';
37
38
  import * as React_2 from 'react';
38
39
  import { ReactNodeLike } from 'prop-types';
40
+ import { RecurrenceEditorProps } from '../recurrence/RecurrenceEditor';
39
41
  import { Requireable } from 'prop-types';
42
+ import { ResourceEditorProps } from './ResourceEditor';
43
+ import { SchedulerFooterHandle as SchedulerFooterHandle_2 } from './components/footer/SchedulerFooter';
44
+ import { SchedulerFormHandle as SchedulerFormHandle_2 } from '../components/SchedulerForm';
45
+ import { SchedulerHeaderHandle as SchedulerHeaderHandle_2 } from './components/header/SchedulerHeader';
46
+ import { SchedulerItemHandle as SchedulerItemHandle_2 } from '../../items/SchedulerItem';
47
+ import { SchedulerNavigationHandle } from './components/header/navigation/SchedulerNavigation';
48
+ import { SchedulerNavigationProps } from './components/header/navigation/SchedulerNavigation';
49
+ import { SchedulerOccurrenceDialogHandle as SchedulerOccurrenceDialogHandle_2 } from '../components/SchedulerOccurrenceDialog';
50
+ import { SchedulerRemoveDialogHandle as SchedulerRemoveDialogHandle_2 } from '../components/SchedulerRemoveDialog';
51
+ import { SchedulerTaskHandle as SchedulerTaskHandle_2 } from './SchedulerTask';
52
+ import { SchedulerViewDateRangeArgs as SchedulerViewDateRangeArgs_2 } from '../..';
53
+ import { SchedulerViewItemHandle as SchedulerViewItemHandle_2 } from '../../items/SchedulerViewItem';
54
+ import { SchedulerViewItemHandle as SchedulerViewItemHandle_3 } from './SchedulerViewItem';
55
+ import { SchedulerViewSelectorHandle } from './components/header/view-selector/SchedulerViewSelector';
56
+ import { SchedulerViewSelectorProps } from './components/header/view-selector/SchedulerViewSelector';
57
+ import { SchedulerViewSlotHandle as SchedulerViewSlotHandle_2 } from './SchedulerViewSlot';
58
+ import { SchedulerViewTaskHandle as SchedulerViewTaskHandle_2 } from './SchedulerViewTask';
40
59
  import { TextAreaHandle } from '@progress/kendo-react-inputs';
41
60
  import { TextAreaProps } from '@progress/kendo-react-inputs';
42
- import { ToolbarItemProps } from '@progress/kendo-react-buttons';
43
61
  import { ToolbarProps } from '@progress/kendo-react-buttons';
44
62
  import { ZonedDate } from '@progress/kendo-date-math';
45
63
 
@@ -248,7 +266,7 @@ export declare const dayViewDefaultProps: {
248
266
  selectedDateFormat: string;
249
267
  selectedShortDateFormat: string;
250
268
  currentTimeMarker: boolean;
251
- dateRange: ({ date, numberOfDays, timezone }: SchedulerViewDateRangeArgs) => DateRange;
269
+ dateRange: ({ date, numberOfDays, timezone }: SchedulerViewDateRangeArgs_2) => DateRange_2;
252
270
  startTime: string;
253
271
  endTime: string;
254
272
  isWorkDayStart: string;
@@ -890,16 +908,6 @@ declare interface Range_2 {
890
908
  }
891
909
  export { Range_2 as Range }
892
910
 
893
- /** @hidden */
894
- declare interface RecurrenceEditorProps {
895
- value: string;
896
- start: Date;
897
- timezone: string;
898
- onChange: ({ value }: {
899
- value: string | null;
900
- }) => void;
901
- }
902
-
903
911
  /**
904
912
  * Represents the available `action` types for the `SchedulerItemRemoveItemAction` objects.
905
913
  *
@@ -951,17 +959,6 @@ export declare interface Resource {
951
959
  multiple?: boolean;
952
960
  }
953
961
 
954
- /** @hidden */
955
- declare interface ResourceEditorProps extends FieldRenderProps {
956
- resource: SchedulerResource;
957
- data: any[];
958
- textField: string;
959
- valueField: string;
960
- colorField?: string;
961
- multiple?: boolean;
962
- validationMessage: string;
963
- }
964
-
965
962
  /**
966
963
  * Represents the [KendoReact Scheduler component]({% slug overview_scheduler %})
967
964
  *
@@ -1111,8 +1108,8 @@ export declare const schedulerDefaultProps: {
1111
1108
  tabIndex: number;
1112
1109
  editable: boolean;
1113
1110
  defaultDate: Date;
1114
- header: React_2.ForwardRefExoticComponent<SchedulerHeaderProps & React_2.RefAttributes<SchedulerHeaderHandle>>;
1115
- footer: React_2.ForwardRefExoticComponent<SchedulerFooterProps & React_2.RefAttributes<SchedulerFooterHandle>>;
1111
+ header: React_2.ForwardRefExoticComponent<SchedulerHeaderProps & React_2.RefAttributes<SchedulerHeaderHandle_2>>;
1112
+ footer: React_2.ForwardRefExoticComponent<SchedulerFooterProps & React_2.RefAttributes<SchedulerFooterHandle_2>>;
1116
1113
  navigation: React_2.ForwardRefExoticComponent<SchedulerNavigationProps & React_2.RefAttributes<SchedulerNavigationHandle>>;
1117
1114
  viewSelector: React_2.ForwardRefExoticComponent<SchedulerViewSelectorProps & React_2.RefAttributes<SchedulerViewSelectorHandle>>;
1118
1115
  };
@@ -1123,8 +1120,8 @@ export declare const schedulerDefaultProps: {
1123
1120
  export declare const SchedulerDrag: React_2.FunctionComponent<SchedulerDragProps>;
1124
1121
 
1125
1122
  export declare const schedulerDragDefaultProps: {
1126
- viewItem: React_2.ForwardRefExoticComponent<SchedulerViewItemProps & React_2.RefAttributes<SchedulerViewItemHandle>>;
1127
- item: React_2.ForwardRefExoticComponent<SchedulerItemProps & React_2.RefAttributes<SchedulerItemHandle>>;
1123
+ viewItem: React_2.ForwardRefExoticComponent<SchedulerViewItemProps & React_2.RefAttributes<SchedulerViewItemHandle_2>>;
1124
+ item: React_2.ForwardRefExoticComponent<SchedulerItemProps & React_2.RefAttributes<SchedulerItemHandle_2>>;
1128
1125
  };
1129
1126
 
1130
1127
  /**
@@ -1185,12 +1182,12 @@ export declare const SchedulerEditItem: React_2.ForwardRefExoticComponent<Schedu
1185
1182
  export declare type SchedulerEditItemAction = SchedulerItemFormItemAction | SchedulerItemDragItemAction | SchedulerItemResizeItemAction | SchedulerItemRemoveItemAction | SchedulerItemShowRemoveDialogAction | SchedulerItemShowOccurrenceDialogAction | SchedulerItemSeriesAction | SchedulerItemsFocusAction | SchedulerItemsSelectAction | SchedulerSlotsFocusAction | SchedulerSlotsSelectAction | null | false | undefined;
1186
1183
 
1187
1184
  export declare const schedulerEditItemDefaultProps: {
1188
- viewItem: React_2.ForwardRefExoticComponent<SchedulerViewItemProps & React_2.RefAttributes<SchedulerViewItemHandle>>;
1185
+ viewItem: React_2.ForwardRefExoticComponent<SchedulerViewItemProps & React_2.RefAttributes<SchedulerViewItemHandle_3>>;
1189
1186
  drag: React_2.FunctionComponent<SchedulerDragProps>;
1190
1187
  resize: React_2.FunctionComponent<SchedulerResizeProps>;
1191
- form: React_2.ForwardRefExoticComponent<SchedulerFormProps & React_2.RefAttributes<SchedulerFormHandle | null>>;
1192
- occurrenceDialog: React_2.ForwardRefExoticComponent<SchedulerOccurrenceDialogProps & React_2.RefAttributes<SchedulerOccurrenceDialogHandle | null>>;
1193
- removeDialog: React_2.ForwardRefExoticComponent<SchedulerRemoveDialogProps & React_2.RefAttributes<SchedulerRemoveDialogHandle | null>>;
1188
+ form: React_2.ForwardRefExoticComponent<SchedulerFormProps & React_2.RefAttributes<SchedulerFormHandle_2 | null>>;
1189
+ occurrenceDialog: React_2.ForwardRefExoticComponent<SchedulerOccurrenceDialogProps & React_2.RefAttributes<SchedulerOccurrenceDialogHandle_2 | null>>;
1190
+ removeDialog: React_2.ForwardRefExoticComponent<SchedulerRemoveDialogProps & React_2.RefAttributes<SchedulerRemoveDialogHandle_2 | null>>;
1194
1191
  onClickAction: (event: SchedulerItemMouseEvent, _: SchedulerEditItemProps, state: SchedulerEditItemState) => SchedulerEditItemAction[];
1195
1192
  onDoubleClickAction: (_: any, props: SchedulerEditItemProps) => (false | {
1196
1193
  type: FORM_ITEM_ACTION;
@@ -1696,8 +1693,8 @@ export declare interface SchedulerEditItemStateChangeEvent<T> {
1696
1693
  export declare const SchedulerEditSlot: React_2.ForwardRefExoticComponent<SchedulerEditSlotProps & React_2.RefAttributes<SchedulerEditSlotHandle>>;
1697
1694
 
1698
1695
  export declare const schedulerEditSlotDefaultProps: {
1699
- viewSlot: React_2.ForwardRefExoticComponent<SchedulerViewSlotProps & React_2.RefAttributes<SchedulerViewSlotHandle>>;
1700
- form: React_2.ForwardRefExoticComponent<SchedulerFormProps & React_2.RefAttributes<SchedulerFormHandle | null>>;
1696
+ viewSlot: React_2.ForwardRefExoticComponent<SchedulerViewSlotProps & React_2.RefAttributes<SchedulerViewSlotHandle_2>>;
1697
+ form: React_2.ForwardRefExoticComponent<SchedulerFormProps & React_2.RefAttributes<SchedulerFormHandle_2 | null>>;
1701
1698
  };
1702
1699
 
1703
1700
  /**
@@ -1771,9 +1768,9 @@ export declare type SchedulerEditSlotPropsContextType = SchedulerEditSlotProps;
1771
1768
  export declare const SchedulerEditTask: React_2.ForwardRefExoticComponent<SchedulerEditTaskProps & React_2.RefAttributes<SchedulerEditTaskHandle>>;
1772
1769
 
1773
1770
  export declare const schedulerEditTaskDefaultProps: {
1774
- viewTask: React_2.ForwardRefExoticComponent<SchedulerViewTaskProps & React_2.RefAttributes<SchedulerViewTaskHandle>>;
1775
- occurrenceDialog: React_2.ForwardRefExoticComponent<SchedulerOccurrenceDialogProps & React_2.RefAttributes<SchedulerOccurrenceDialogHandle | null>>;
1776
- removeDialog: React_2.ForwardRefExoticComponent<SchedulerRemoveDialogProps & React_2.RefAttributes<SchedulerRemoveDialogHandle | null>>;
1771
+ viewTask: React_2.ForwardRefExoticComponent<SchedulerViewTaskProps & React_2.RefAttributes<SchedulerViewTaskHandle_2>>;
1772
+ occurrenceDialog: React_2.ForwardRefExoticComponent<SchedulerOccurrenceDialogProps & React_2.RefAttributes<SchedulerOccurrenceDialogHandle_2 | null>>;
1773
+ removeDialog: React_2.ForwardRefExoticComponent<SchedulerRemoveDialogProps & React_2.RefAttributes<SchedulerRemoveDialogHandle_2 | null>>;
1777
1774
  };
1778
1775
 
1779
1776
  /**
@@ -1901,8 +1898,8 @@ export declare const schedulerFormEditorDefaultProps: {
1901
1898
  propTypes: {
1902
1899
  id: Requireable<string>;
1903
1900
  editorId: Requireable<string>;
1904
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
1905
- current: Requireable<any>;
1901
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
1902
+ current: Requireable<any>;
1906
1903
  }> | null | undefined>>;
1907
1904
  editorValid: Requireable<boolean>;
1908
1905
  editorDisabled: Requireable<boolean>;
@@ -1932,8 +1929,8 @@ export declare const schedulerFormEditorDefaultProps: {
1932
1929
  propTypes: {
1933
1930
  id: Requireable<string>;
1934
1931
  editorId: Requireable<string>;
1935
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
1936
- current: Requireable<any>;
1932
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
1933
+ current: Requireable<any>;
1937
1934
  }> | null | undefined>>;
1938
1935
  editorValid: Requireable<boolean>;
1939
1936
  editorDisabled: Requireable<boolean>;
@@ -1963,8 +1960,8 @@ export declare const schedulerFormEditorDefaultProps: {
1963
1960
  propTypes: {
1964
1961
  id: Requireable<string>;
1965
1962
  editorId: Requireable<string>;
1966
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
1967
- current: Requireable<any>;
1963
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
1964
+ current: Requireable<any>;
1968
1965
  }> | null | undefined>>;
1969
1966
  editorValid: Requireable<boolean>;
1970
1967
  editorDisabled: Requireable<boolean>;
@@ -1994,8 +1991,8 @@ export declare const schedulerFormEditorDefaultProps: {
1994
1991
  propTypes: {
1995
1992
  id: Requireable<string>;
1996
1993
  editorId: Requireable<string>;
1997
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
1998
- current: Requireable<any>;
1994
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
1995
+ current: Requireable<any>;
1999
1996
  }> | null | undefined>>;
2000
1997
  editorValid: Requireable<boolean>;
2001
1998
  editorDisabled: Requireable<boolean>;
@@ -2011,8 +2008,8 @@ export declare const schedulerFormEditorDefaultProps: {
2011
2008
  propTypes: {
2012
2009
  id: Requireable<string>;
2013
2010
  editorId: Requireable<string>;
2014
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
2015
- current: Requireable<any>;
2011
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
2012
+ current: Requireable<any>;
2016
2013
  }> | null | undefined>>;
2017
2014
  editorValid: Requireable<boolean>;
2018
2015
  editorDisabled: Requireable<boolean>;
@@ -2042,8 +2039,8 @@ export declare const schedulerFormEditorDefaultProps: {
2042
2039
  propTypes: {
2043
2040
  id: Requireable<string>;
2044
2041
  editorId: Requireable<string>;
2045
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
2046
- current: Requireable<any>;
2042
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
2043
+ current: Requireable<any>;
2047
2044
  }> | null | undefined>>;
2048
2045
  editorValid: Requireable<boolean>;
2049
2046
  editorDisabled: Requireable<boolean>;
@@ -2073,8 +2070,8 @@ export declare const schedulerFormEditorDefaultProps: {
2073
2070
  propTypes: {
2074
2071
  id: Requireable<string>;
2075
2072
  editorId: Requireable<string>;
2076
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
2077
- current: Requireable<any>;
2073
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
2074
+ current: Requireable<any>;
2078
2075
  }> | null | undefined>>;
2079
2076
  editorValid: Requireable<boolean>;
2080
2077
  editorDisabled: Requireable<boolean>;
@@ -2090,8 +2087,8 @@ export declare const schedulerFormEditorDefaultProps: {
2090
2087
  propTypes: {
2091
2088
  id: Requireable<string>;
2092
2089
  editorId: Requireable<string>;
2093
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
2094
- current: Requireable<any>;
2090
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
2091
+ current: Requireable<any>;
2095
2092
  }> | null | undefined>>;
2096
2093
  editorValid: Requireable<boolean>;
2097
2094
  editorDisabled: Requireable<boolean>;
@@ -2108,8 +2105,8 @@ export declare const schedulerFormEditorDefaultProps: {
2108
2105
  propTypes: {
2109
2106
  id: Requireable<string>;
2110
2107
  editorId: Requireable<string>;
2111
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
2112
- current: Requireable<any>;
2108
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
2109
+ current: Requireable<any>;
2113
2110
  }> | null | undefined>>;
2114
2111
  editorValid: Requireable<boolean>;
2115
2112
  editorDisabled: Requireable<boolean>;
@@ -2139,8 +2136,8 @@ export declare const schedulerFormEditorDefaultProps: {
2139
2136
  propTypes: {
2140
2137
  id: Requireable<string>;
2141
2138
  editorId: Requireable<string>;
2142
- editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps<{
2143
- current: Requireable<any>;
2139
+ editorRef: Requireable<NonNullable<((...args: any[]) => any) | InferProps< {
2140
+ current: Requireable<any>;
2144
2141
  }> | null | undefined>>;
2145
2142
  editorValid: Requireable<boolean>;
2146
2143
  editorDisabled: Requireable<boolean>;
@@ -2330,7 +2327,7 @@ export declare interface SchedulerFormEditorProps extends Omit_2<FormElementProp
2330
2327
  *
2331
2328
  * For more information, please refer to the [`Scheduler Form Editor Customization`]({% slug overview_customization_form_editor_scheduler %}) article.
2332
2329
  */
2333
- recurrenceEditor?: React_2.ComponentType<TargetlessChangeEvent<any & FieldProps, string>>;
2330
+ recurrenceEditor?: React_2.ComponentType<TargetlessChangeEvent<FieldProps, string>>;
2334
2331
  /**
2335
2332
  * Overrides the component used for visualizing the `description` field label.
2336
2333
  * The [KendoReact Label]({% slug label_labels %}) component is used, by default.
@@ -2876,25 +2873,6 @@ export declare interface SchedulerModelFields {
2876
2873
  recurrenceExceptions?: string;
2877
2874
  }
2878
2875
 
2879
- /**
2880
- * Represents the object which is returned from the `ref` callback of the [SchedulerNavigation]({% slug api_scheduler_schedulernavigation %}).
2881
- *
2882
- * For more information about Refs, refer to the [React Refs & Dom](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) article.
2883
- */
2884
- /** @hidden */
2885
- declare interface SchedulerNavigationHandle {
2886
- props: SchedulerNavigationProps;
2887
- element: HTMLSpanElement | null;
2888
- }
2889
-
2890
- /**
2891
- * Represents the props of the KendoReact [SchedulerNavigation]({% slug api_scheduler_schedulernavigation %}) component.
2892
- */
2893
- /** @hidden */
2894
- declare interface SchedulerNavigationProps extends ToolbarItemProps {
2895
- children?: React_2.ReactNode;
2896
- }
2897
-
2898
2876
  /**
2899
2877
  * Represents the default `occurrenceDialog` component rendered by the [KendoReact SchedulerEditItem component]({% slug api_scheduler_scheduleredititem %}).
2900
2878
  */
@@ -3244,8 +3222,8 @@ export declare interface SchedulerRemoveDialogStateChangeEvent<T> {
3244
3222
  export declare const SchedulerResize: React_2.FunctionComponent<SchedulerResizeProps>;
3245
3223
 
3246
3224
  export declare const schedulerResizeDefaultProps: {
3247
- viewItem: React_2.ForwardRefExoticComponent<SchedulerViewItemProps & React_2.RefAttributes<SchedulerViewItemHandle>>;
3248
- item: React_2.ForwardRefExoticComponent<SchedulerItemProps & React_2.RefAttributes<SchedulerItemHandle>>;
3225
+ viewItem: React_2.ForwardRefExoticComponent<SchedulerViewItemProps & React_2.RefAttributes<SchedulerViewItemHandle_2>>;
3226
+ item: React_2.ForwardRefExoticComponent<SchedulerItemProps & React_2.RefAttributes<SchedulerItemHandle_2>>;
3249
3227
  };
3250
3228
 
3251
3229
  /**
@@ -3684,25 +3662,6 @@ export declare const SchedulerViewsContext: React_2.Context<SchedulerViewsContex
3684
3662
  */
3685
3663
  export declare type SchedulerViewsContextType = SchedulerView[];
3686
3664
 
3687
- /**
3688
- * Represents the object which is returned from the `ref` callback of the [SchedulerViewSelector]({% slug api_scheduler_schedulerviewselector %}).
3689
- *
3690
- * For more information about Refs, refer to the [React Refs & Dom](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) article.
3691
- */
3692
- /** @hidden */
3693
- declare interface SchedulerViewSelectorHandle {
3694
- element: HTMLSpanElement | null;
3695
- props: SchedulerViewSelectorProps;
3696
- }
3697
-
3698
- /**
3699
- * Represents the props of the KendoReact [SchedulerViewSelector]({% slug api_scheduler_schedulerviewselector %}) component.
3700
- */
3701
- /** @hidden */
3702
- declare interface SchedulerViewSelectorProps extends ToolbarItemProps {
3703
- children?: React_2.ReactNode;
3704
- }
3705
-
3706
3665
  /**
3707
3666
  * Represents the default `viewSlot` component rendered by the [KendoReact Scheduler component]({% slug overview_scheduler %}).
3708
3667
  *
@@ -3750,7 +3709,7 @@ export declare interface SchedulerViewSlotProps extends SchedulerSlotProps {
3750
3709
  export declare const SchedulerViewTask: React_2.ForwardRefExoticComponent<SchedulerViewTaskProps & React_2.RefAttributes<SchedulerViewTaskHandle>>;
3751
3710
 
3752
3711
  export declare const schedulerViewTaskDefaultProps: {
3753
- task: React_2.ForwardRefExoticComponent<SchedulerTaskProps & React_2.RefAttributes<SchedulerTaskHandle>>;
3712
+ task: React_2.ForwardRefExoticComponent<SchedulerTaskProps & React_2.RefAttributes<SchedulerTaskHandle_2>>;
3754
3713
  };
3755
3714
 
3756
3715
  /**
@@ -3973,7 +3932,7 @@ export declare const timeLineViewDefaultProps: {
3973
3932
  selectedDateFormat: string;
3974
3933
  selectedShortDateFormat: string;
3975
3934
  currentTimeMarker: boolean;
3976
- dateRange: ({ date, numberOfDays, timezone }: SchedulerViewDateRangeArgs) => DateRange;
3935
+ dateRange: ({ date, numberOfDays, timezone }: SchedulerViewDateRangeArgs_2) => DateRange_2;
3977
3936
  startTime: string;
3978
3937
  endTime: string;
3979
3938
  isWorkDayStart: string;