@progress/kendo-vue-scheduler 10.2.0-develop.17 → 10.2.0-develop.18

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./scheduler-event-rendering-changes.js"),r=require("./scheduler-default-behavior-changes.js"),t=require("./scheduler-data-action-prop-rename.js");exports.SchedulerEventRenderingChanges=e.default;exports.SchedulerDefaultBehaviorChanges=r.default;exports.SchedulerDataActionPropRename=t.default;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@progress/kendo-vue-common/codemods"),a=`The callback that the Scheduler passes to its views was renamed from onDataaction to onDataAction. The dataaction event that the views, items, slots and tasks emit is not changed.
9
+ Review the custom views that the Scheduler renders, and the code and tests that read the onDataaction prop of a view, SchedulerEditItem, SchedulerEditTask or SchedulerEditSlot, or the onDataaction field of the SchedulerView model.
10
+ Before: the Scheduler passed the callback to the active view as the onDataaction prop. A custom view could read it from its props, or emit the dataaction event, which the Scheduler received through the same name.
11
+ After: the Scheduler passes the callback as the onDataAction prop. A custom view that still reads onDataaction gets undefined, and a custom view that only emits dataaction no longer reaches the Scheduler, so its data actions are not applied. The built-in views, items, slots and tasks still emit the dataaction event, so the @dataaction and onDataaction listeners that you attach to them keep working and need no change.
12
+ In a custom view, read the callback from the onDataAction prop and call it with the data action, and rename onDataaction to onDataAction in the related types and tests. If the file only attaches an onDataaction or @dataaction listener to a built-in component, no change is required.`,n=[/\bonDataaction\b/,/['"`]dataaction['"`]/,/\bdataaction\??\s*:/];function i(t){return e.isRenderingChangeTarget(t.path)&&n.some(o=>o.test(t.source))&&e.writeInstructionMarker(a,__filename,t.path),t.source}exports.aiInstructions=a;exports.default=i;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("@progress/kendo-vue-common/codemods"),r=require("../v10/utils.js"),o=`The Scheduler has new default behavior: clicking an event opens an overview popover, clicking an empty slot opens a quick-create popover, and editing or removing recurring series handles the exceptions of the series.
9
+ Review the Scheduler usages, the tests and any code that relies on a click on an event or on an empty slot, on the full editor opening directly, on the recurrence exceptions of an edited series, or on the k-scheduler-mobile class.
10
+ Before: there are no overview and quick-create popovers; pressing Enter on a focused event or on a focused empty slot (with editable.add) opens the full editor directly; changing or removing the master event of a recurring series keeps its exceptions untouched; the root element renders the k-scheduler-mobile class on mobile devices.
11
+ After: the new eventOverview prop (default true) opens an overview popover with edit and delete actions when an event is clicked or Enter is pressed on it, and the new quickCreate prop (default true, requires editable.add, not available in the Agenda view) opens a title popover when an empty slot is clicked or Enter is pressed on a focused slot. The popovers open about 200 ms after a click so that a double click can still open the full editor, which keeps opening on double click and through the edit action of the popovers. Because of that delay, a test that clicks and asserts the popover immediately has to wait for it. Pressing Enter no longer opens the full editor directly while the popovers are enabled, and with both props set to false it opens it as before. Editing or removing the master of a series with custom exceptions shows the KeepResetCustomEventsDialog. When the series is edited, resetting removes the exceptions and reports them in the deleted collection of the data change event, while keeping them leaves them linked to the series and does not report them. When the series or its recurrence is removed, resetting reports the exceptions in the deleted collection and keeping converts them to standalone events reported in the updated collection. The k-scheduler-mobile class is no longer rendered on the root element.
12
+ To keep the previous behavior set :event-overview="false" and :quick-create="false" on the Scheduler. Update tests that click events or slots, handlers of the datachange event that do not expect extra deleted or updated exception items, and CSS selectors that use k-scheduler-mobile.`,s={imports:["Scheduler"],classes:["k-scheduler-mobile"]};function i(e,n){return t.isRenderingChangeTarget(e.path)&&r.detectSchedulerChange(e,n,s)&&t.writeInstructionMarker(o,__filename,e.path),e.source}exports.aiInstructions=o;exports.default=i;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("@progress/kendo-vue-common/codemods"),i=require("../v10/utils.js"),k=`The Scheduler events apply the resource color through a CSS variable, and the drag, all-day and multi-day event rendering changed.
9
+ Review your stylesheets, tests and custom item components that read or override the inline borderColor and backgroundColor of the events, the k-marquee-color element of the resize hints, or the k-event-drag-hint, k-selected and k-event-all-day classes. The task components (SchedulerTask, SchedulerEditTask and SchedulerViewTask) are flagged only for the k-scheduler-mark: it keeps its inline color and backgroundColor and does not use the variable, but the color value is now resolved through the theme, so it can differ from the configured resource color. Update the assertions and selectors that compare the mark color with the configured one; the drag, all-day and resize hint changes below do not apply to the tasks.
10
+ Before: SchedulerItem and the other item components set the inline borderColor and backgroundColor styles to the resolved resource color; the resize hint k-marquee-color element sets the same inline styles; the k-event-drag-hint class is rendered on the drag hint; timed events that span multiple days render only in the time slots.
11
+ After: the resolved resource color is set as the --kendo-scheduler-event-color inline CSS variable (--kendo-marquee-color for resize hints) and no inline borderColor and backgroundColor are set, so a Kendo theme that consumes the variable is required; the k-event-drag-hint class is rendered on the original item while it is dragged and the k-selected class is rendered on the drag hint; multi-day timed events render in the all-day area with the k-event-all-day class and k-event-all-day-time spans for the start and end time; the k-marquee-color and k-marquee-text elements of the resize hint have keys and no inline color.
12
+ Update CSS selectors, test queries and style assertions (for example expect(el.style.backgroundColor)) that rely on the old inline colors or the old drag hint classes. Custom components that need the color should read the --kendo-scheduler-event-color variable.`,S={imports:[...i.ITEM_COMPONENTS,...i.TASK_COMPONENTS],classes:["k-event-drag-hint","k-marquee-color","k-event-all-day","k-scheduler-mark"]},p=e=>[new RegExp(String.raw`\.k-(?:scheduler|event)(?![\w-])${e}\.k-selected(?![\w-])`),new RegExp(String.raw`\.k-selected(?![\w-])${e}\.k-event(?![\w-])`),new RegExp(String.raw`\.k-event(?![\w-])${e}\[\s*style[^\]]*(?:color|background|border)[^\]]*\]`,"i")],y=p("[^{},]*"),b=p("[^{}]*"),C=e=>Array.from(e.matchAll(/<style([^>]*)>([\s\S]*?)<\/style>/g),t=>({css:t[2],indented:/\blang\s*=\s*["']sass["']/.test(t[1])})),f=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/^\s*\/\/.*$/gm,"").replace(/#\{[^}]*\}/g,""),w=e=>{const t=[];let s=0,r="";for(const o of e)"([".includes(o)?s++:")]".includes(o)&&s--,o===","&&s===0?(t.push(r.trim()),r=""):r+=o;return t.push(r.trim()),t.filter(Boolean)},v=(e,t)=>w(t).flatMap(s=>e.length?e.map(r=>s.includes("&")?s.replace(/&/g,r):`${r} ${s}`):[s]),E=()=>{let e="",t=!1,s=0;return r=>{if(e)return t?t=!1:r==="\\"?t=!0:(r===e||r===`
13
+ `)&&(e=""),!0;if(r==='"'||r==="'")e=r;else if("([".includes(r))s++;else if(")]".includes(r))s=Math.max(0,s-1);else return s>0;return!0}},T=e=>{const t=[],s=[[]],r=E();let o="";for(const n of f(e))if(r(n))o+=n;else if(n==="{"){const a=o.trim(),l=s[s.length-1];if(o="",a.startsWith("@")){s.push(l);continue}const c=v(l,a);t.push(...c),s.push(c)}else n==="}"?(o="",s.length>1&&s.pop()):n===";"?o="":o+=n;return t},q=e=>{const t=f(e).split(`
14
+ `).filter(n=>n.trim()),s=n=>n.length-n.trimStart().length,r=[],o=[];return t.forEach((n,a)=>{const l=s(n);for(;o.length&&o[o.length-1].indent>=l;)o.pop();if(a+1>=t.length||s(t[a+1])<=l)return;const c=o.length?o[o.length-1].selectors:[],d=n.trim(),h=d.startsWith("@")?c:v(c,d);r.push(...h),o.push({indent:l,selectors:h})}),r},m=(e,t)=>t?q(e):T(e),A=e=>y.some(t=>t.test(e)),g=e=>b.some(t=>t.test(e)),M=/\.k-event(?![\w-])/,O=/\b(?:backgroundColor|borderColor)\b|background-color|border-color/,P=e=>M.test(e)&&O.test(e),R=e=>i.isStylesheet(e.path)?m(e.source,e.path.endsWith(".sass")).some(g):e.path.endsWith(".vue")&&C(e.source).some(({css:s,indented:r})=>m(s,r).some(g))||e.source.includes(i.SCHEDULER_PACKAGE)&&(A(e.source)||P(e.source));function _(e,t){return u.isRenderingChangeTarget(e.path)&&(i.detectSchedulerChange(e,t,S)||R(e))&&u.writeInstructionMarker(k,__filename,e.path),e.source}exports.aiInstructions=k;exports.default=_;
@@ -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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),b=require("@progress/kendo-vue-tooltip"),E=require("@progress/kendo-vue-common"),g=require("@progress/kendo-vue-buttons"),y=require("@progress/kendo-vue-form"),N=require("@progress/kendo-vue-labels"),q=require("@progress/kendo-vue-intl"),x=require("@progress/kendo-svg-icons"),D=require("../constants/main.js"),u=require("../utils/main.js"),R=require("../hooks/useCloseOnAnchorScrollOut.js"),r=require("../messages/main.js");function P(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const F="360px",B={horizontal:D.SCHEDULER_POPOVER_GAP,vertical:0},A=t.defineComponent({name:"KendoSchedulerEventOverviewPopover",props:{show:Boolean,anchor:Object,dataItem:{type:Object,required:!0},fields:{type:Object,required:!0},isRecurring:Boolean,canEdit:Boolean,canRemove:Boolean},emits:{close:()=>!0,edit:e=>e===void 0||typeof e=="boolean",delete:e=>e===void 0||typeof e=="boolean"},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup(e,{emit:s}){const a=t.getCurrentInstance(),I=t.ref(null),k=()=>s("close"),O=()=>{var o,c;return(c=(o=I.value)==null?void 0:o.$el)==null?void 0:c.closest(".k-popover")};t.watch(()=>e.show,(o,c,w)=>{if(!o||typeof document=="undefined")return;const m=n=>{var f;const d=n.target,l=O(),v=Array.from((l==null?void 0:l.querySelectorAll("[aria-controls]"))||[]).some(V=>{var i;const h=V.getAttribute("aria-controls");return h?(i=document.getElementById(h))==null?void 0:i.contains(d):!1});!(l!=null&&l.contains(d))&&!((f=e.anchor)!=null&&f.contains(d))&&!v&&k()};document.addEventListener("mousedown",m),w(()=>document.removeEventListener("mousedown",m))},{immediate:!0}),R.useCloseOnAnchorScrollOut(()=>e.show,()=>e.anchor,k);const S=()=>{if(e.show&&(e.canEdit||e.canRemove)){const o=O(),c=(o==null?void 0:o.querySelector(".k-popover-actions .k-button-primary"))||(o==null?void 0:o.querySelector(".k-popover-actions .k-button"));c==null||c.focus()}};return t.watch(()=>[e.show,e.canEdit,e.canRemove],()=>t.nextTick(S),{immediate:!0,flush:"post"}),()=>{let o,c;const w=q.provideIntlService(a==null?void 0:a.proxy),m=q.provideLocalizationService(a==null?void 0:a.proxy),n=i=>m.toLanguageString(i,r.messages[i]),d=u.getField(e.dataItem,e.fields.start),l=u.getField(e.dataItem,e.fields.end),v=u.getField(e.dataItem,e.fields.description),f=d&&l?u.formatEventSummary(w,d,l,!!u.getField(e.dataItem,e.fields.isAllDay),n(r.allDay)):"",V=[{text:n(r.editorOccurrence),scope:"occurrence"},{text:n(r.editorSeries),scope:"series"}],h=[{text:n(r.deleteOccurrence),scope:"occurrence"},{text:n(r.deleteSeries),scope:"series"}];return t.createVNode(b.Popover,{anchor:e.anchor,show:e.show,position:"right",collision:{horizontal:"fit",vertical:"fit"},margin:B,callout:!1,title:u.getField(e.dataItem,e.fields.title)||n(r.eventTitle),style:{width:F},autoFocus:!1,animate:{openDuration:1,closeDuration:1},onOpen:S,onKeydown:k},{default:()=>[t.createVNode(y.FormElement,{ref:I,horizontal:!0,class:"k-scheduler-edit-form"},{default:()=>[t.createVNode(y.FieldWrapper,null,{default:()=>[t.createVNode(N.Label,{class:"k-form-label"},{default:()=>[t.createVNode(E.SvgIcon,{icon:x.clockIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap"},[t.createVNode("div",{class:"k-scheduler-edit-form-row k-color-subtle"},[f])])]}),v?t.createVNode(y.FieldWrapper,null,{default:()=>[t.createVNode(N.Label,{class:"k-form-label"},{default:()=>[t.createVNode(E.SvgIcon,{icon:x.commentIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap"},[t.createVNode("div",{class:"k-scheduler-edit-form-row"},[v])])]}):null]}),e.canEdit||e.canRemove?t.createVNode(b.PopoverActionsBar,{alignment:"end"},{default:()=>[e.canRemove?e.isRecurring?t.createVNode(g.DropDownButton,{text:n(r.overviewPopoverDelete),items:h,textField:"text",onItemclick:i=>s("delete",i.item.scope==="series")},null):t.createVNode(g.Button,{type:"button",onClick:()=>s("delete")},P(o=n(r.overviewPopoverDelete))?o:{default:()=>[o]}):null,e.canEdit?e.isRecurring?t.createVNode(g.DropDownButton,{text:n(r.overviewPopoverEdit),themeColor:"primary",items:V,textField:"text",onItemclick:i=>s("edit",i.item.scope==="series")},null):t.createVNode(g.Button,{type:"button",themeColor:"primary",onClick:()=>s("edit")},P(c=n(r.overviewPopoverEdit))?c:{default:()=>[c]}):null]}):null]})}}});exports.EventOverviewPopover=A;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),E=require("@progress/kendo-vue-tooltip"),N=require("@progress/kendo-vue-common"),h=require("@progress/kendo-vue-buttons"),I=require("@progress/kendo-vue-form"),q=require("@progress/kendo-vue-labels"),x=require("@progress/kendo-vue-intl"),P=require("@progress/kendo-svg-icons"),R=require("../constants/main.js"),s=require("../utils/main.js"),F=require("../hooks/useCloseOnAnchorScrollOut.js"),r=require("../messages/main.js");function D(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const B="360px",A={horizontal:R.SCHEDULER_POPOVER_GAP,vertical:0},C=t.defineComponent({name:"KendoSchedulerEventOverviewPopover",props:{show:Boolean,anchor:Object,dataItem:{type:Object,required:!0},fields:{type:Object,required:!0},isRecurring:Boolean,canEdit:Boolean,canRemove:Boolean},emits:{close:()=>!0,edit:e=>e===void 0||typeof e=="boolean",delete:e=>e===void 0||typeof e=="boolean"},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup(e,{emit:u}){const a=t.getCurrentInstance(),k=t.inject("ks",null),O=t.ref(null),w=()=>u("close"),S=()=>{var o,c;return(c=(o=O.value)==null?void 0:o.$el)==null?void 0:c.closest(".k-popover")};t.watch(()=>e.show,(o,c,V)=>{if(!o||typeof document=="undefined")return;const m=n=>{var f;const d=n.target,i=S(),v=Array.from((i==null?void 0:i.querySelectorAll("[aria-controls]"))||[]).some(y=>{var l;const g=y.getAttribute("aria-controls");return g?(l=document.getElementById(g))==null?void 0:l.contains(d):!1});!(i!=null&&i.contains(d))&&!((f=e.anchor)!=null&&f.contains(d))&&!v&&w()};document.addEventListener("mousedown",m),V(()=>document.removeEventListener("mousedown",m))},{immediate:!0}),F.useCloseOnAnchorScrollOut(()=>e.show,()=>e.anchor,w);const b=()=>{if(e.show&&(e.canEdit||e.canRemove)){const o=S(),c=(o==null?void 0:o.querySelector(".k-popover-actions .k-button-primary"))||(o==null?void 0:o.querySelector(".k-popover-actions .k-button"));c==null||c.focus()}};return t.watch(()=>[e.show,e.canEdit,e.canRemove],()=>t.nextTick(b),{immediate:!0,flush:"post"}),()=>{let o,c;const V=x.provideIntlService(a==null?void 0:a.proxy),m=x.provideLocalizationService(a==null?void 0:a.proxy),n=l=>m.toLanguageString(l,r.messages[l]),d=s.getField(e.dataItem,e.fields.start),i=s.getField(e.dataItem,e.fields.end),v=s.getField(e.dataItem,e.fields.description),f=d&&i?s.formatEventSummary(V,d,i,!!s.getField(e.dataItem,e.fields.isAllDay),n(r.allDay),k==null?void 0:k.timezone):"",y=[{text:n(r.editorOccurrence),scope:"occurrence"},{text:n(r.editorSeries),scope:"series"}],g=[{text:n(r.deleteOccurrence),scope:"occurrence"},{text:n(r.deleteSeries),scope:"series"}];return t.createVNode(E.Popover,{anchor:e.anchor,show:e.show,position:"right",collision:{horizontal:"fit",vertical:"fit"},margin:A,callout:!1,title:s.getField(e.dataItem,e.fields.title)||n(r.eventTitle),style:{width:B},autoFocus:!1,animate:{openDuration:1,closeDuration:1},onOpen:b,onKeydown:w},{default:()=>[t.createVNode(I.FormElement,{ref:O,horizontal:!0,class:"k-scheduler-edit-form"},{default:()=>[t.createVNode(I.FieldWrapper,null,{default:()=>[t.createVNode(q.Label,{class:"k-form-label"},{default:()=>[t.createVNode(N.SvgIcon,{icon:P.clockIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap"},[t.createVNode("div",{class:"k-scheduler-edit-form-row k-color-subtle"},[f])])]}),v?t.createVNode(I.FieldWrapper,null,{default:()=>[t.createVNode(q.Label,{class:"k-form-label"},{default:()=>[t.createVNode(N.SvgIcon,{icon:P.commentIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap"},[t.createVNode("div",{class:"k-scheduler-edit-form-row"},[v])])]}):null]}),e.canEdit||e.canRemove?t.createVNode(E.PopoverActionsBar,{alignment:"end"},{default:()=>[e.canRemove?e.isRecurring?t.createVNode(h.DropDownButton,{text:n(r.overviewPopoverDelete),items:g,textField:"text",onItemclick:l=>u("delete",l.item.scope==="series")},null):t.createVNode(h.Button,{type:"button",onClick:()=>u("delete")},D(o=n(r.overviewPopoverDelete))?o:{default:()=>[o]}):null,e.canEdit?e.isRecurring?t.createVNode(h.DropDownButton,{text:n(r.overviewPopoverEdit),themeColor:"primary",items:y,textField:"text",onItemclick:l=>u("edit",l.item.scope==="series")},null):t.createVNode(h.Button,{type:"button",themeColor:"primary",onClick:()=>u("edit")},D(c=n(r.overviewPopoverEdit))?c:{default:()=>[c]}):null]}):null]})}}});exports.EventOverviewPopover=C;
@@ -5,25 +5,25 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as z, getCurrentInstance as B, ref as C, watch as x, nextTick as _, createVNode as t, isVNode as j } from "vue";
9
- import { Popover as L, PopoverActionsBar as F } from "@progress/kendo-vue-tooltip";
10
- import { SvgIcon as E } from "@progress/kendo-vue-common";
11
- import { DropDownButton as O, Button as S } from "@progress/kendo-vue-buttons";
12
- import { FormElement as q, FieldWrapper as b } from "@progress/kendo-vue-form";
13
- import { Label as P } from "@progress/kendo-vue-labels";
14
- import { provideIntlService as V, provideLocalizationService as p } from "@progress/kendo-vue-intl";
15
- import { clockIcon as M, commentIcon as N } from "@progress/kendo-svg-icons";
16
- import { SCHEDULER_POPOVER_GAP as T } from "../constants/main.mjs";
17
- import { getField as s, formatEventSummary as G } from "../utils/main.mjs";
18
- import { useCloseOnAnchorScrollOut as H } from "../hooks/useCloseOnAnchorScrollOut.mjs";
19
- import { messages as K, allDay as W, deleteOccurrence as U, deleteSeries as $, editorOccurrence as J, editorSeries as Q, eventTitle as X, overviewPopoverDelete as R, overviewPopoverEdit as D } from "../messages/main.mjs";
8
+ import { defineComponent as j, getCurrentInstance as B, inject as C, ref as _, watch as E, nextTick as L, createVNode as t, isVNode as F } from "vue";
9
+ import { Popover as q, PopoverActionsBar as V } from "@progress/kendo-vue-tooltip";
10
+ import { SvgIcon as O } from "@progress/kendo-vue-common";
11
+ import { DropDownButton as S, Button as b } from "@progress/kendo-vue-buttons";
12
+ import { FormElement as p, FieldWrapper as P } from "@progress/kendo-vue-form";
13
+ import { Label as R } from "@progress/kendo-vue-labels";
14
+ import { provideIntlService as M, provideLocalizationService as N } from "@progress/kendo-vue-intl";
15
+ import { clockIcon as T, commentIcon as G } from "@progress/kendo-svg-icons";
16
+ import { SCHEDULER_POPOVER_GAP as H } from "../constants/main.mjs";
17
+ import { getField as d, formatEventSummary as K } from "../utils/main.mjs";
18
+ import { useCloseOnAnchorScrollOut as W } from "../hooks/useCloseOnAnchorScrollOut.mjs";
19
+ import { messages as U, allDay as $, deleteOccurrence as J, deleteSeries as Q, editorOccurrence as X, editorSeries as Y, eventTitle as Z, overviewPopoverDelete as D, overviewPopoverEdit as z } from "../messages/main.mjs";
20
20
  function A(e) {
21
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !j(e);
21
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !F(e);
22
22
  }
23
- const Y = "360px", Z = {
24
- horizontal: T,
23
+ const ee = "360px", te = {
24
+ horizontal: H,
25
25
  vertical: 0
26
- }, me = /* @__PURE__ */ z({
26
+ }, ve = /* @__PURE__ */ j({
27
27
  name: "KendoSchedulerEventOverviewPopover",
28
28
  props: {
29
29
  show: Boolean,
@@ -55,53 +55,53 @@ const Y = "360px", Z = {
55
55
  }
56
56
  },
57
57
  setup(e, {
58
- emit: d
58
+ emit: s
59
59
  }) {
60
- const c = B(), g = C(null), h = () => d("close"), k = () => {
61
- var o, l;
62
- return (l = (o = g.value) == null ? void 0 : o.$el) == null ? void 0 : l.closest(".k-popover");
60
+ const c = B(), h = C("ks", null), g = _(null), y = () => s("close"), I = () => {
61
+ var o, i;
62
+ return (i = (o = g.value) == null ? void 0 : o.$el) == null ? void 0 : i.closest(".k-popover");
63
63
  };
64
- x(() => e.show, (o, l, y) => {
64
+ E(() => e.show, (o, i, w) => {
65
65
  if (!o || typeof document == "undefined")
66
66
  return;
67
67
  const u = (n) => {
68
68
  var f;
69
- const a = n.target, i = k(), m = Array.from((i == null ? void 0 : i.querySelectorAll("[aria-controls]")) || []).some((w) => {
69
+ const a = n.target, l = I(), m = Array.from((l == null ? void 0 : l.querySelectorAll("[aria-controls]")) || []).some((k) => {
70
70
  var r;
71
- const v = w.getAttribute("aria-controls");
71
+ const v = k.getAttribute("aria-controls");
72
72
  return v ? (r = document.getElementById(v)) == null ? void 0 : r.contains(a) : !1;
73
73
  });
74
- !(i != null && i.contains(a)) && !((f = e.anchor) != null && f.contains(a)) && !m && h();
74
+ !(l != null && l.contains(a)) && !((f = e.anchor) != null && f.contains(a)) && !m && y();
75
75
  };
76
- document.addEventListener("mousedown", u), y(() => document.removeEventListener("mousedown", u));
76
+ document.addEventListener("mousedown", u), w(() => document.removeEventListener("mousedown", u));
77
77
  }, {
78
78
  immediate: !0
79
- }), H(() => e.show, () => e.anchor, h);
80
- const I = () => {
79
+ }), W(() => e.show, () => e.anchor, y);
80
+ const x = () => {
81
81
  if (e.show && (e.canEdit || e.canRemove)) {
82
- const o = k(), l = (o == null ? void 0 : o.querySelector(".k-popover-actions .k-button-primary")) || (o == null ? void 0 : o.querySelector(".k-popover-actions .k-button"));
83
- l == null || l.focus();
82
+ const o = I(), i = (o == null ? void 0 : o.querySelector(".k-popover-actions .k-button-primary")) || (o == null ? void 0 : o.querySelector(".k-popover-actions .k-button"));
83
+ i == null || i.focus();
84
84
  }
85
85
  };
86
- return x(() => [e.show, e.canEdit, e.canRemove], () => _(I), {
86
+ return E(() => [e.show, e.canEdit, e.canRemove], () => L(x), {
87
87
  immediate: !0,
88
88
  flush: "post"
89
89
  }), () => {
90
- let o, l;
91
- const y = V(c == null ? void 0 : c.proxy), u = p(c == null ? void 0 : c.proxy), n = (r) => u.toLanguageString(r, K[r]), a = s(e.dataItem, e.fields.start), i = s(e.dataItem, e.fields.end), m = s(e.dataItem, e.fields.description), f = a && i ? G(y, a, i, !!s(e.dataItem, e.fields.isAllDay), n(W)) : "", w = [{
92
- text: n(J),
90
+ let o, i;
91
+ const w = M(c == null ? void 0 : c.proxy), u = N(c == null ? void 0 : c.proxy), n = (r) => u.toLanguageString(r, U[r]), a = d(e.dataItem, e.fields.start), l = d(e.dataItem, e.fields.end), m = d(e.dataItem, e.fields.description), f = a && l ? K(w, a, l, !!d(e.dataItem, e.fields.isAllDay), n($), h == null ? void 0 : h.timezone) : "", k = [{
92
+ text: n(X),
93
93
  scope: "occurrence"
94
94
  }, {
95
- text: n(Q),
95
+ text: n(Y),
96
96
  scope: "series"
97
97
  }], v = [{
98
- text: n(U),
98
+ text: n(J),
99
99
  scope: "occurrence"
100
100
  }, {
101
- text: n($),
101
+ text: n(Q),
102
102
  scope: "series"
103
103
  }];
104
- return t(L, {
104
+ return t(q, {
105
105
  anchor: e.anchor,
106
106
  show: e.show,
107
107
  position: "right",
@@ -109,31 +109,31 @@ const Y = "360px", Z = {
109
109
  horizontal: "fit",
110
110
  vertical: "fit"
111
111
  },
112
- margin: Z,
112
+ margin: te,
113
113
  callout: !1,
114
- title: s(e.dataItem, e.fields.title) || n(X),
114
+ title: d(e.dataItem, e.fields.title) || n(Z),
115
115
  style: {
116
- width: Y
116
+ width: ee
117
117
  },
118
118
  autoFocus: !1,
119
119
  animate: {
120
120
  openDuration: 1,
121
121
  closeDuration: 1
122
122
  },
123
- onOpen: I,
124
- onKeydown: h
123
+ onOpen: x,
124
+ onKeydown: y
125
125
  }, {
126
- default: () => [t(q, {
126
+ default: () => [t(p, {
127
127
  ref: g,
128
128
  horizontal: !0,
129
129
  class: "k-scheduler-edit-form"
130
130
  }, {
131
- default: () => [t(b, null, {
132
- default: () => [t(P, {
131
+ default: () => [t(P, null, {
132
+ default: () => [t(R, {
133
133
  class: "k-form-label"
134
134
  }, {
135
- default: () => [t(E, {
136
- icon: M,
135
+ default: () => [t(O, {
136
+ icon: T,
137
137
  size: "xlarge"
138
138
  }, null)]
139
139
  }), t("div", {
@@ -141,12 +141,12 @@ const Y = "360px", Z = {
141
141
  }, [t("div", {
142
142
  class: "k-scheduler-edit-form-row k-color-subtle"
143
143
  }, [f])])]
144
- }), m ? t(b, null, {
145
- default: () => [t(P, {
144
+ }), m ? t(P, null, {
145
+ default: () => [t(R, {
146
146
  class: "k-form-label"
147
147
  }, {
148
- default: () => [t(E, {
149
- icon: N,
148
+ default: () => [t(O, {
149
+ icon: G,
150
150
  size: "xlarge"
151
151
  }, null)]
152
152
  }), t("div", {
@@ -155,31 +155,31 @@ const Y = "360px", Z = {
155
155
  class: "k-scheduler-edit-form-row"
156
156
  }, [m])])]
157
157
  }) : null]
158
- }), e.canEdit || e.canRemove ? t(F, {
158
+ }), e.canEdit || e.canRemove ? t(V, {
159
159
  alignment: "end"
160
160
  }, {
161
- default: () => [e.canRemove ? e.isRecurring ? t(O, {
162
- text: n(R),
161
+ default: () => [e.canRemove ? e.isRecurring ? t(S, {
162
+ text: n(D),
163
163
  items: v,
164
164
  textField: "text",
165
- onItemclick: (r) => d("delete", r.item.scope === "series")
166
- }, null) : t(S, {
165
+ onItemclick: (r) => s("delete", r.item.scope === "series")
166
+ }, null) : t(b, {
167
167
  type: "button",
168
- onClick: () => d("delete")
169
- }, A(o = n(R)) ? o : {
168
+ onClick: () => s("delete")
169
+ }, A(o = n(D)) ? o : {
170
170
  default: () => [o]
171
- }) : null, e.canEdit ? e.isRecurring ? t(O, {
172
- text: n(D),
171
+ }) : null, e.canEdit ? e.isRecurring ? t(S, {
172
+ text: n(z),
173
173
  themeColor: "primary",
174
- items: w,
174
+ items: k,
175
175
  textField: "text",
176
- onItemclick: (r) => d("edit", r.item.scope === "series")
177
- }, null) : t(S, {
176
+ onItemclick: (r) => s("edit", r.item.scope === "series")
177
+ }, null) : t(b, {
178
178
  type: "button",
179
179
  themeColor: "primary",
180
- onClick: () => d("edit")
181
- }, A(l = n(D)) ? l : {
182
- default: () => [l]
180
+ onClick: () => s("edit")
181
+ }, A(i = n(z)) ? i : {
182
+ default: () => [i]
183
183
  }) : null]
184
184
  }) : null]
185
185
  });
@@ -187,5 +187,5 @@ const Y = "360px", Z = {
187
187
  }
188
188
  });
189
189
  export {
190
- me as EventOverviewPopover
190
+ ve as EventOverviewPopover
191
191
  };
@@ -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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),P=require("@progress/kendo-date-math"),E=require("@progress/kendo-vue-tooltip"),F=require("@progress/kendo-vue-common"),C=require("@progress/kendo-vue-buttons"),B=require("@progress/kendo-vue-inputs"),v=require("@progress/kendo-vue-form"),q=require("@progress/kendo-vue-labels"),I=require("@progress/kendo-vue-intl"),O=require("@progress/kendo-svg-icons"),D=require("../constants/main.js"),g=require("../utils/main.js"),T=require("../hooks/useCloseOnAnchorScrollOut.js"),s=require("../messages/main.js");function w(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const _="360px",x=t.defineComponent({name:"KendoSchedulerQuickCreateTitleEditor",inheritAttrs:!1,props:{value:[String,Number],valid:{type:Boolean,default:!0},placeholder:String,ariaLabel:String},emits:["change","focus","blur"],setup(e,{emit:u}){return()=>{var r;return t.createVNode(B.TextBox,{value:(r=e.value)!=null?r:"",valid:e.valid,placeholder:e.placeholder,ariaLabel:e.ariaLabel,inputAttributes:{autocomplete:"off"},onInput:o=>u("change",o),onChange:o=>u("change",o),onFocus:()=>u("focus"),onBlur:()=>u("blur")},null)}}}),z=t.defineComponent({name:"KendoSchedulerQuickCreateForm",props:{dataItem:{type:Object,required:!0},show:Boolean,anchor:Object,validator:Function},emits:{submit:e=>!!e,moreoptions:e=>!!e,cancel:e=>!!e},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup(e,{emit:u}){const r=t.getCurrentInstance(),o=t.inject("ks");if(!o)throw new Error("SchedulerQuickCreateForm must be rendered inside a Scheduler.");const p=t.ref(null),k=a=>u("cancel",{value:null,event:a}),y=()=>{var a,i;e.show&&((i=(a=p.value)==null?void 0:a.$el.querySelector("input"))==null||i.focus())};t.watch(()=>e.show,()=>t.nextTick(y),{immediate:!0,flush:"post"});const S=t.computed(()=>{const a=Math.max(1,Math.round((o.dateRange.end.getTime()-o.dateRange.start.getTime())/P.MS_PER_DAY)),i=o.orientation==="horizontal"?Math.max(1,o.groups.length):1;return o.activeViewName.toLowerCase()!=="timeline"&&a*i<=1?{position:"top",collision:{horizontal:"fit",vertical:"flip"},margin:{horizontal:0,vertical:D.SCHEDULER_POPOVER_GAP}}:{position:"right",collision:{horizontal:"flip",vertical:"fit"},margin:{horizontal:D.SCHEDULER_POPOVER_GAP,vertical:0}}});t.watch([()=>e.show,()=>e.anchor],([a],i,n)=>{var b;if(!a||typeof document=="undefined")return;const d=((b=e.anchor)==null?void 0:b.ownerDocument)||document,h=l=>{var f;const c=(f=p.value)==null?void 0:f.$el.closest(".k-popover");c!=null&&c.contains(l.target)||k()};d.addEventListener("mousedown",h),n(()=>d.removeEventListener("mousedown",h))},{immediate:!0}),T.useCloseOnAnchorScrollOut(()=>e.show,()=>e.anchor||null,()=>k());const L=(a,i)=>{const n={...e.dataItem};g.setField(n,o.fields.title,a.valueGetter(o.fields.title)),u("moreoptions",{value:n,event:i})};return()=>{const a=I.provideIntlService(r==null?void 0:r.proxy),i=I.provideLocalizationService(r==null?void 0:r.proxy),n=l=>i.toLanguageString(l,s.messages[l]),d=g.getField(e.dataItem,o.fields.start),h=g.getField(e.dataItem,o.fields.end),b=d&&h?g.formatEventSummary(a,d,h,!!g.getField(e.dataItem,o.fields.isAllDay),n(s.allDay)):"";return t.createVNode(v.Form,{key:d==null?void 0:d.getTime(),initialValues:e.dataItem,validator:e.validator,ignoreModified:!0,onSubmit:(l,c)=>u("submit",{value:l,event:c}),renderForm:l=>{let c,f,V;return t.createVNode(E.Popover,{anchor:e.anchor,show:e.show,position:S.value.position,collision:S.value.collision,margin:S.value.margin,callout:!1,title:n(s.editorNewEvent),style:{width:_},autoFocus:!1,animate:{openDuration:1,closeDuration:1},onOpen:y,onKeydown:()=>k()},{default:()=>[t.createVNode(v.FormElement,{ref:p,horizontal:!0,class:"k-scheduler-edit-form"},{default:()=>[t.createVNode(v.FieldWrapper,null,{default:()=>[t.createVNode(q.Label,{class:"k-form-label"},{default:()=>[t.createVNode(F.SvgIcon,{icon:O.rightDoubleQuotesIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap",onKeydown:m=>{var N;m.key==="Enter"&&(m.preventDefault(),(N=l.onSubmit)==null||N.call(l,m))}},[t.createVNode(v.Field,{name:o.fields.title,component:x,ariaLabel:n(s.editorEventTitle),placeholder:n(s.editorNewEvent)},null)])]}),t.createVNode(v.FieldWrapper,null,{default:()=>[t.createVNode(q.Label,{class:"k-form-label"},{default:()=>[t.createVNode(F.SvgIcon,{icon:O.clockIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap"},[t.createVNode("div",{class:"k-scheduler-edit-form-row k-color-subtle"},[b])])]})]}),t.createVNode(E.PopoverActionsBar,null,{default:()=>[t.createVNode(C.Button,{type:"button",fillMode:"flat",themeColor:"primary",onClick:m=>L(l,m)},w(c=n(s.quickCreateMoreOptions))?c:{default:()=>[c]}),t.createVNode("span",{class:"k-spacer"},null),t.createVNode(C.Button,{type:"button",onClick:m=>k(m)},w(f=n(s.quickCreateCancel))?f:{default:()=>[f]}),t.createVNode(C.Button,{type:"button",themeColor:"primary",disabled:!l.allowSubmit,onClick:l.onSubmit},w(V=n(s.quickCreateSave))?V:{default:()=>[V]})]})]})}},null)}}}),M={};exports.SchedulerQuickCreateForm=z;exports.schedulerQuickCreateFormDefaultProps=M;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),P=require("@progress/kendo-date-math"),E=require("@progress/kendo-vue-tooltip"),F=require("@progress/kendo-vue-common"),C=require("@progress/kendo-vue-buttons"),z=require("@progress/kendo-vue-inputs"),v=require("@progress/kendo-vue-form"),q=require("@progress/kendo-vue-labels"),I=require("@progress/kendo-vue-intl"),O=require("@progress/kendo-svg-icons"),D=require("../constants/main.js"),g=require("../utils/main.js"),B=require("../hooks/useCloseOnAnchorScrollOut.js"),s=require("../messages/main.js");function w(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const T="360px",_=t.defineComponent({name:"KendoSchedulerQuickCreateTitleEditor",inheritAttrs:!1,props:{value:[String,Number],valid:{type:Boolean,default:!0},placeholder:String,ariaLabel:String},emits:["change","focus","blur"],setup(e,{emit:u}){return()=>{var r;return t.createVNode(z.TextBox,{value:(r=e.value)!=null?r:"",valid:e.valid,placeholder:e.placeholder,ariaLabel:e.ariaLabel,inputAttributes:{autocomplete:"off"},onInput:o=>u("change",o),onChange:o=>u("change",o),onFocus:()=>u("focus"),onBlur:()=>u("blur")},null)}}}),x=t.defineComponent({name:"KendoSchedulerQuickCreateForm",props:{dataItem:{type:Object,required:!0},show:Boolean,anchor:Object,validator:Function},emits:{submit:e=>!!e,moreoptions:e=>!!e,cancel:e=>!!e},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup(e,{emit:u}){const r=t.getCurrentInstance(),o=t.inject("ks");if(!o)throw new Error("SchedulerQuickCreateForm must be rendered inside a Scheduler.");const p=t.ref(null),k=a=>u("cancel",{value:null,event:a}),y=()=>{var a,i;e.show&&((i=(a=p.value)==null?void 0:a.$el.querySelector("input"))==null||i.focus())};t.watch(()=>e.show,()=>t.nextTick(y),{immediate:!0,flush:"post"});const S=t.computed(()=>{const a=Math.max(1,Math.round((o.dateRange.end.getTime()-o.dateRange.start.getTime())/P.MS_PER_DAY)),i=o.orientation==="horizontal"?Math.max(1,o.groups.length):1;return o.activeViewName.toLowerCase()!=="timeline"&&a*i<=1?{position:"top",collision:{horizontal:"fit",vertical:"flip"},margin:{horizontal:0,vertical:D.SCHEDULER_POPOVER_GAP}}:{position:"right",collision:{horizontal:"flip",vertical:"fit"},margin:{horizontal:D.SCHEDULER_POPOVER_GAP,vertical:0}}});t.watch([()=>e.show,()=>e.anchor],([a],i,n)=>{var b;if(!a||typeof document=="undefined")return;const d=((b=e.anchor)==null?void 0:b.ownerDocument)||document,h=l=>{var f;const c=(f=p.value)==null?void 0:f.$el.closest(".k-popover");c!=null&&c.contains(l.target)||k()};d.addEventListener("mousedown",h),n(()=>d.removeEventListener("mousedown",h))},{immediate:!0}),B.useCloseOnAnchorScrollOut(()=>e.show,()=>e.anchor||null,()=>k());const L=(a,i)=>{const n={...e.dataItem};g.setField(n,o.fields.title,a.valueGetter(o.fields.title)),u("moreoptions",{value:n,event:i})};return()=>{const a=I.provideIntlService(r==null?void 0:r.proxy),i=I.provideLocalizationService(r==null?void 0:r.proxy),n=l=>i.toLanguageString(l,s.messages[l]),d=g.getField(e.dataItem,o.fields.start),h=g.getField(e.dataItem,o.fields.end),b=d&&h?g.formatEventSummary(a,d,h,!!g.getField(e.dataItem,o.fields.isAllDay),n(s.allDay),o.timezone):"";return t.createVNode(v.Form,{key:d==null?void 0:d.getTime(),initialValues:e.dataItem,validator:e.validator,ignoreModified:!0,onSubmit:(l,c)=>u("submit",{value:l,event:c}),renderForm:l=>{let c,f,V;return t.createVNode(E.Popover,{anchor:e.anchor,show:e.show,position:S.value.position,collision:S.value.collision,margin:S.value.margin,callout:!1,title:n(s.editorNewEvent),style:{width:T},autoFocus:!1,animate:{openDuration:1,closeDuration:1},onOpen:y,onKeydown:()=>k()},{default:()=>[t.createVNode(v.FormElement,{ref:p,horizontal:!0,class:"k-scheduler-edit-form"},{default:()=>[t.createVNode(v.FieldWrapper,null,{default:()=>[t.createVNode(q.Label,{class:"k-form-label"},{default:()=>[t.createVNode(F.SvgIcon,{icon:O.rightDoubleQuotesIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap",onKeydown:m=>{var N;m.key==="Enter"&&(m.preventDefault(),(N=l.onSubmit)==null||N.call(l,m))}},[t.createVNode(v.Field,{name:o.fields.title,component:_,ariaLabel:n(s.editorEventTitle),placeholder:n(s.editorNewEvent)},null)])]}),t.createVNode(v.FieldWrapper,null,{default:()=>[t.createVNode(q.Label,{class:"k-form-label"},{default:()=>[t.createVNode(F.SvgIcon,{icon:O.clockIcon,size:"xlarge"},null)]}),t.createVNode("div",{class:"k-form-field-wrap"},[t.createVNode("div",{class:"k-scheduler-edit-form-row k-color-subtle"},[b])])]})]}),t.createVNode(E.PopoverActionsBar,null,{default:()=>[t.createVNode(C.Button,{type:"button",fillMode:"flat",themeColor:"primary",onClick:m=>L(l,m)},w(c=n(s.quickCreateMoreOptions))?c:{default:()=>[c]}),t.createVNode("span",{class:"k-spacer"},null),t.createVNode(C.Button,{type:"button",onClick:m=>k(m)},w(f=n(s.quickCreateCancel))?f:{default:()=>[f]}),t.createVNode(C.Button,{type:"button",themeColor:"primary",disabled:!l.allowSubmit,onClick:l.onSubmit},w(V=n(s.quickCreateSave))?V:{default:()=>[V]})]})]})}},null)}}}),M={};exports.SchedulerQuickCreateForm=x;exports.schedulerQuickCreateFormDefaultProps=M;
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as L, getCurrentInstance as T, inject as _, ref as B, watch as E, nextTick as P, computed as M, createVNode as t, isVNode as j } from "vue";
8
+ import { defineComponent as z, getCurrentInstance as T, inject as _, ref as B, watch as E, nextTick as P, computed as M, createVNode as t, isVNode as j } from "vue";
9
9
  import { MS_PER_DAY as A } from "@progress/kendo-date-math";
10
10
  import { Popover as Q, PopoverActionsBar as R } from "@progress/kendo-vue-tooltip";
11
11
  import { SvgIcon as F } from "@progress/kendo-vue-common";
@@ -22,7 +22,7 @@ import { messages as X, allDay as Z, editorNewEvent as x, editorEventTitle as ee
22
22
  function w(e) {
23
23
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !j(e);
24
24
  }
25
- const ne = "360px", ie = /* @__PURE__ */ L({
25
+ const ne = "360px", ie = /* @__PURE__ */ z({
26
26
  name: "KendoSchedulerQuickCreateTitleEditor",
27
27
  inheritAttrs: !1,
28
28
  props: {
@@ -55,7 +55,7 @@ const ne = "360px", ie = /* @__PURE__ */ L({
55
55
  }, null);
56
56
  };
57
57
  }
58
- }), Se = /* @__PURE__ */ L({
58
+ }), Se = /* @__PURE__ */ z({
59
59
  name: "KendoSchedulerQuickCreateForm",
60
60
  props: {
61
61
  dataItem: {
@@ -133,7 +133,7 @@ const ne = "360px", ie = /* @__PURE__ */ L({
133
133
  }, {
134
134
  immediate: !0
135
135
  }), J(() => e.show, () => e.anchor || null, () => h());
136
- const z = (i, r) => {
136
+ const L = (i, r) => {
137
137
  const l = {
138
138
  ...e.dataItem
139
139
  };
@@ -143,7 +143,7 @@ const ne = "360px", ie = /* @__PURE__ */ L({
143
143
  });
144
144
  };
145
145
  return () => {
146
- const i = G(a == null ? void 0 : a.proxy), r = H(a == null ? void 0 : a.proxy), l = (n) => r.toLanguageString(n, X[n]), s = S(e.dataItem, o.fields.start), f = S(e.dataItem, o.fields.end), p = s && f ? U(i, s, f, !!S(e.dataItem, o.fields.isAllDay), l(Z)) : "";
146
+ const i = G(a == null ? void 0 : a.proxy), r = H(a == null ? void 0 : a.proxy), l = (n) => r.toLanguageString(n, X[n]), s = S(e.dataItem, o.fields.start), f = S(e.dataItem, o.fields.end), p = s && f ? U(i, s, f, !!S(e.dataItem, o.fields.isAllDay), l(Z), o.timezone) : "";
147
147
  return t(q, {
148
148
  key: s == null ? void 0 : s.getTime(),
149
149
  initialValues: e.dataItem,
@@ -218,7 +218,7 @@ const ne = "360px", ie = /* @__PURE__ */ L({
218
218
  type: "button",
219
219
  fillMode: "flat",
220
220
  themeColor: "primary",
221
- onClick: (d) => z(n, d)
221
+ onClick: (d) => L(n, d)
222
222
  }, w(u = l(te)) ? u : {
223
223
  default: () => [u]
224
224
  }), t("span", {