@progress/kendo-vue-scheduler 10.2.0-develop.9 → 11.0.0

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.
Files changed (176) hide show
  1. package/NOTICE.txt +17 -17
  2. package/Scheduler.d.ts +157 -56
  3. package/Scheduler.js +1 -1
  4. package/Scheduler.mjs +242 -214
  5. package/codemods/v10/index.js +8 -0
  6. package/codemods/v10/scheduler-agenda-rendering-changes.js +12 -0
  7. package/codemods/v10/scheduler-date-format-changes.js +12 -0
  8. package/codemods/v10/scheduler-editor-title-message.js +8 -0
  9. package/codemods/v10/scheduler-form-rendering-changes.js +12 -0
  10. package/codemods/v10/scheduler-item-rendering-changes.js +12 -0
  11. package/codemods/v10/scheduler-more-events-changes.js +12 -0
  12. package/codemods/v10/scheduler-toolbar-rendering-changes.js +12 -0
  13. package/codemods/v10/utils.js +8 -0
  14. package/codemods/v11/index.js +8 -0
  15. package/codemods/v11/scheduler-data-action-prop-rename.js +12 -0
  16. package/codemods/v11/scheduler-default-behavior-changes.js +12 -0
  17. package/codemods/v11/scheduler-event-rendering-changes.js +14 -0
  18. package/codemods/v11/scheduler-recurrence-template-deprecation.js +10 -0
  19. package/codemods/v9/index.js +8 -0
  20. package/codemods/v9/scheduler-rendering-changes.js +12 -0
  21. package/codemods/v9/utils.js +8 -0
  22. package/components/EventOverviewPopover.d.ts +62 -0
  23. package/components/EventOverviewPopover.js +8 -0
  24. package/components/EventOverviewPopover.mjs +191 -0
  25. package/components/MoreEventsPopover.d.ts +3 -1
  26. package/components/MoreEventsPopover.js +1 -1
  27. package/components/MoreEventsPopover.mjs +31 -27
  28. package/components/SchedulerActionButtons.js +1 -1
  29. package/components/SchedulerActionButtons.mjs +1 -0
  30. package/components/SchedulerForm.d.ts +412 -2
  31. package/components/SchedulerForm.js +1 -1
  32. package/components/SchedulerForm.mjs +162 -60
  33. package/components/SchedulerQuickCreateForm.d.ts +118 -0
  34. package/components/SchedulerQuickCreateForm.js +8 -0
  35. package/components/SchedulerQuickCreateForm.mjs +249 -0
  36. package/constants/main.d.ts +2 -0
  37. package/constants/main.js +1 -1
  38. package/constants/main.mjs +10 -9
  39. package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
  40. package/editors/KeepResetCustomEventsDialog.d.ts +31 -0
  41. package/editors/KeepResetCustomEventsDialog.js +8 -0
  42. package/editors/KeepResetCustomEventsDialog.mjs +72 -0
  43. package/editors/SchedulerFormEditor.d.ts +170 -44
  44. package/editors/SchedulerFormEditor.js +1 -1
  45. package/editors/SchedulerFormEditor.mjs +199 -144
  46. package/editors/SchedulerRecurrenceDialog.d.ts +2 -2
  47. package/editors/SchedulerRecurrenceDialog.js +1 -1
  48. package/editors/SchedulerRecurrenceDialog.mjs +126 -131
  49. package/editors/ZonedSplitDateTime.d.ts +32 -3
  50. package/editors/ZonedSplitDateTime.js +1 -1
  51. package/editors/ZonedSplitDateTime.mjs +112 -47
  52. package/hooks/useCloseOnAnchorScrollOut.d.ts +10 -0
  53. package/hooks/useCloseOnAnchorScrollOut.js +8 -0
  54. package/hooks/useCloseOnAnchorScrollOut.mjs +43 -0
  55. package/hooks/useCustomEventsConfirmation.d.ts +20 -0
  56. package/hooks/useCustomEventsConfirmation.js +8 -0
  57. package/hooks/useCustomEventsConfirmation.mjs +48 -0
  58. package/hooks/useDeferredClick.d.ts +12 -0
  59. package/hooks/useDeferredClick.js +8 -0
  60. package/hooks/useDeferredClick.mjs +22 -0
  61. package/hooks/useExclusivePopover.d.ts +26 -0
  62. package/hooks/useExclusivePopover.js +8 -0
  63. package/hooks/useExclusivePopover.mjs +30 -0
  64. package/hooks/useRecurrenceSummary.d.ts +3 -0
  65. package/hooks/useRecurrenceSummary.js +1 -1
  66. package/hooks/useRecurrenceSummary.mjs +72 -41
  67. package/index.d.mts +4 -2
  68. package/index.d.ts +4 -2
  69. package/index.js +1 -1
  70. package/index.mjs +83 -78
  71. package/items/SchedulerEditItem.d.ts +116 -12
  72. package/items/SchedulerEditItem.js +1 -1
  73. package/items/SchedulerEditItem.mjs +212 -131
  74. package/items/SchedulerItem.d.ts +2 -1
  75. package/items/SchedulerItem.js +1 -1
  76. package/items/SchedulerItem.mjs +28 -23
  77. package/items/SchedulerProportionalViewItem.d.ts +1 -0
  78. package/items/SchedulerProportionalViewItem.js +1 -1
  79. package/items/SchedulerProportionalViewItem.mjs +83 -68
  80. package/items/SchedulerViewItem.d.ts +1 -0
  81. package/items/SchedulerViewItem.js +1 -1
  82. package/items/SchedulerViewItem.mjs +84 -75
  83. package/items/hooks/use-drag-item.js +1 -1
  84. package/items/hooks/use-drag-item.mjs +49 -48
  85. package/items/hooks/use-form-item.d.ts +1 -1
  86. package/items/hooks/use-remove-item.d.ts +1 -1
  87. package/items/hooks/use-resize-item.js +1 -1
  88. package/items/hooks/use-resize-item.mjs +74 -65
  89. package/messages/main.d.ts +42 -0
  90. package/messages/main.js +1 -1
  91. package/messages/main.mjs +303 -275
  92. package/models/InternalDataAction.d.ts +13 -0
  93. package/models/SchedulerView.d.ts +1 -1
  94. package/package-metadata.js +1 -1
  95. package/package-metadata.mjs +2 -2
  96. package/package.json +99 -13
  97. package/recurrence/RecurrenceEditor.js +1 -1
  98. package/recurrence/RecurrenceEditor.mjs +42 -42
  99. package/recurrence/common.d.ts +10 -0
  100. package/recurrence/common.js +1 -1
  101. package/recurrence/common.mjs +39 -35
  102. package/services/itemsService.d.ts +5 -2
  103. package/services/itemsService.js +1 -1
  104. package/services/itemsService.mjs +46 -33
  105. package/services/occurrenceService.js +1 -1
  106. package/services/occurrenceService.mjs +18 -18
  107. package/slots/SchedulerEditSlot.d.ts +70 -8
  108. package/slots/SchedulerEditSlot.js +1 -1
  109. package/slots/SchedulerEditSlot.mjs +222 -141
  110. package/slots/SchedulerSlot.js +1 -1
  111. package/slots/SchedulerSlot.mjs +20 -16
  112. package/slots/SchedulerViewSlot.d.ts +3 -0
  113. package/slots/SchedulerViewSlot.js +1 -1
  114. package/slots/SchedulerViewSlot.mjs +21 -15
  115. package/tasks/SchedulerEditTask.d.ts +13 -2
  116. package/tasks/SchedulerEditTask.js +1 -1
  117. package/tasks/SchedulerEditTask.mjs +45 -30
  118. package/utils/main.d.ts +27 -0
  119. package/utils/main.js +1 -1
  120. package/utils/main.mjs +128 -92
  121. package/views/agenda/AgendaView.d.ts +6 -2
  122. package/views/agenda/AgendaView.js +1 -1
  123. package/views/agenda/AgendaView.mjs +31 -29
  124. package/views/agenda/AgendaViewBody.d.ts +3 -3
  125. package/views/agenda/AgendaViewBody.js +1 -1
  126. package/views/agenda/AgendaViewBody.mjs +31 -29
  127. package/views/common/SchedulerDrag.d.ts +4 -2
  128. package/views/common/SchedulerDrag.js +1 -1
  129. package/views/common/SchedulerDrag.mjs +8 -7
  130. package/views/common/SchedulerResize.d.ts +4 -2
  131. package/views/common/SchedulerResize.js +1 -1
  132. package/views/common/SchedulerResize.mjs +14 -12
  133. package/views/common/VerticalResourceIterator.d.ts +3 -3
  134. package/views/common/VerticalResourceIterator.js +1 -1
  135. package/views/common/VerticalResourceIterator.mjs +34 -33
  136. package/views/day/DayView.d.ts +2 -0
  137. package/views/day/DayView.js +1 -1
  138. package/views/day/DayView.mjs +9 -7
  139. package/views/day/DayViewAllDaySlots.d.ts +7 -5
  140. package/views/day/DayViewAllDaySlots.js +1 -1
  141. package/views/day/DayViewAllDaySlots.mjs +24 -21
  142. package/views/day/DayViewMiddleRow.d.ts +7 -5
  143. package/views/day/DayViewMiddleRow.js +1 -1
  144. package/views/day/DayViewMiddleRow.mjs +18 -13
  145. package/views/day/DayViewVerticalRow.d.ts +7 -5
  146. package/views/day/DayViewVerticalRow.js +1 -1
  147. package/views/day/DayViewVerticalRow.mjs +23 -17
  148. package/views/day/DayViewVerticalSlotsRow.d.ts +7 -5
  149. package/views/day/DayViewVerticalSlotsRow.js +1 -1
  150. package/views/day/DayViewVerticalSlotsRow.mjs +34 -29
  151. package/views/day/MultiDayView.d.ts +13 -7
  152. package/views/day/MultiDayView.js +1 -1
  153. package/views/day/MultiDayView.mjs +108 -95
  154. package/views/month/MonthView.d.ts +15 -4
  155. package/views/month/MonthView.js +1 -1
  156. package/views/month/MonthView.mjs +105 -68
  157. package/views/month/MonthViewBody.d.ts +3 -3
  158. package/views/month/MonthViewBody.js +1 -1
  159. package/views/month/MonthViewBody.mjs +18 -16
  160. package/views/time/MultiDayTimelineView.d.ts +6 -4
  161. package/views/time/MultiDayTimelineView.js +1 -1
  162. package/views/time/MultiDayTimelineView.mjs +64 -63
  163. package/views/time/TimelineView.d.ts +2 -0
  164. package/views/time/TimelineView.js +1 -1
  165. package/views/time/TimelineView.mjs +5 -3
  166. package/views/time/TimelineViewBody.d.ts +7 -5
  167. package/views/time/TimelineViewBody.js +1 -1
  168. package/views/time/TimelineViewBody.mjs +29 -27
  169. package/views/week/WeekView.d.ts +2 -0
  170. package/views/week/WeekView.js +1 -1
  171. package/views/week/WeekView.mjs +11 -10
  172. package/views/week/WorkWeekView.d.ts +2 -0
  173. package/views/week/WorkWeekView.js +1 -1
  174. package/views/week/WorkWeekView.mjs +17 -16
  175. package/EULA.pdf +0 -0
  176. package/EULA.rtf +0 -2730
@@ -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-item-rendering-changes.js"),r=require("./scheduler-toolbar-rendering-changes.js"),n=require("./scheduler-form-rendering-changes.js"),d=require("./scheduler-agenda-rendering-changes.js"),s=require("./scheduler-date-format-changes.js"),t=require("./scheduler-more-events-changes.js"),a=require("./scheduler-editor-title-message.js");exports.SchedulerItemRenderingChanges=e.default;exports.SchedulerToolbarRenderingChanges=r.default;exports.SchedulerFormRenderingChanges=n.default;exports.SchedulerAgendaRenderingChanges=d.default;exports.SchedulerDateFormatChanges=s.default;exports.SchedulerMoreEventsChanges=t.default;exports.SchedulerEditorTitleMessage=a;
@@ -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 a=require("@progress/kendo-vue-common/codemods"),d=require("./utils.js"),r=`The Scheduler AgendaView renders table semantics with ARIA roles, and the date header cells of the other views render different markup.
9
+ Review your stylesheets, tests and any code that references the AgendaView markup (k-scheduler-body, k-scheduler-datecolumn, k-scheduler-agendaday, k-group-cell), the roles of the agenda elements, the DateHeaderCell markup, or the role of the view layout.
10
+ Before: the agenda elements have no table roles, the k-scheduler-body wrapper is rendered by the agenda body, and the event column header has no k-group-cell class. DateHeaderCell does not render the k-scheduler-date-day and k-nav-day spans.
11
+ After: the agenda elements have the rowgroup, row, columnheader, rowheader, gridcell and presentation roles; the k-scheduler-body wrapper (role="rowgroup") is rendered by AgendaView instead of the agenda body; the event column header also has the k-group-cell class. DateHeaderCell renders a span.k-scheduler-date-day and a span.k-link.k-nav-day. The view layout role changed from presentation to none.
12
+ Update CSS selectors, test queries and accessibility assertions that depend on the old agenda wrapper, roles or date header structure.`,n={imports:["AgendaView","DateHeaderCell"],classes:["k-scheduler-agendaday","k-scheduler-datecolumn"]};function s(e,t){return a.isRenderingChangeTarget(e.path)&&d.detectSchedulerChange(e,t,n)&&a.writeInstructionMarker(r,__filename,e.path),e.source}exports.aiInstructions=r;exports.default=s;
@@ -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"),a=require("./utils.js"),s=`The default date formats of the Scheduler views changed. Views that set selectedDateFormat and selectedShortDateFormat explicitly are not affected.
9
+ Review the views (AgendaView, DayView, WeekView, WorkWeekView, MonthView, TimelineView) that rely on the default formats, and the tests, screenshots and localized texts that assert the selected date label.
10
+ Before: DayView and TimelineView default to selectedDateFormat '{0:D}' and selectedShortDateFormat '{0:d}'; AgendaView, WeekView and WorkWeekView default to the ranges '{0:D} - {1:D}' and '{0:d} - {1:d}'; MultiDayTimelineView defaults to the ranges '{0:D} - {1:D}' and '{0:d} - {1:d}'; MonthView defaults to selectedShortDateFormat '{0:Y}'.
11
+ After: DayView and TimelineView default to selectedDateFormat '{0:M}' and selectedShortDateFormat '{0:m}'; AgendaView, WeekView and WorkWeekView default to the ranges '{0:M} - {1:M}' and '{0:m} - {1:m}'; MultiDayTimelineView defaults to the single dates '{0:M}' and '{0:m}'; MonthView defaults to selectedShortDateFormat '{0:y}' (its selectedDateFormat is unchanged).
12
+ If the previous labels must be kept, set selectedDateFormat and selectedShortDateFormat explicitly to the view-specific old values listed above; otherwise update the expectations that assert the selected date label.`,d={imports:a.VIEW_COMPONENTS,patterns:[/selected(?:-?short)?-?date-?format/i]};function o(e,i){return t.isRenderingChangeTarget(e.path)&&a.detectSchedulerChange(e,i,d)&&t.writeInstructionMarker(s,__filename,e.path),e.source}exports.aiInstructions=s;exports.default=o;
@@ -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";const S=require("node:path"),N=require("@progress/kendo-vue-common/codemods/sfc");function T(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=T(S),f="editorTitle",O=["editorNewEvent","editorEditEvent"],h="scheduler.",b=[".ts",".tsx",".js",".jsx",".vue"],p="const messages = ",l=e=>e?.type==="ObjectProperty"||e?.type==="Property";function d(e){const t=e.key;if(!(e.computed||!t))return t.type==="Identifier"?t.name:t.type==="StringLiteral"||t.type==="Literal"&&typeof t.value=="string"?t.value:void 0}function a(e){switch(e?.type){case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"Literal":case"Identifier":case"ThisExpression":return!0;case"TemplateLiteral":return e.expressions.every(a);case"BinaryExpression":case"LogicalExpression":return a(e.left)&&a(e.right);case"ConditionalExpression":return[e.test,e.consequent,e.alternate].every(a);case"TSAsExpression":case"TSNonNullExpression":return a(e.expression);default:return!1}}function j(e,t,r,s){const n=t.key.type==="Identifier"?s:e(t.key).toSource().replace(r,s),o=e(t.value).toSource();return e(`({ ${n}: ${o} })`).find(e.ObjectExpression).get().node.properties[0]}function m(e,t,r){t.find(e.ObjectExpression).forEach(s=>{const n=s.node,o=s.parent?.node,y=l(o)&&o.value===n&&d(o)==="scheduler",E=y?f:h+f,x=O.map(i=>y?i:h+i),v=new Set(n.properties.filter(l).map(d));for(let i=n.properties.length-1;i>=0;i--){const c=n.properties[i];if(!l(c)||c.method||c.kind&&c.kind!=="init"||d(c)!==E)continue;if(!a(c.value)){r();continue}const g=x.filter(u=>!v.has(u));n.properties.splice(i,1,...g.map(u=>j(e,c,E,u)))}})}function k(e,t,r){const s=t.jscodeshift,n=s(p+e.source);m(s,n,r);const o=n.toSource();return o.startsWith(p)?o.slice(p.length):e.source}function P(e,t){const r=L.extname(e.path);if(!e.source.includes(f)||r!==".json"&&!b.includes(r))return e.source;const s=()=>t.report(`${e.path}: the 'scheduler.editorTitle' value is an expression with possible side effects. Move it to 'scheduler.editorNewEvent' and 'scheduler.editorEditEvent' manually.`);try{return r===".json"?k(e,t,s):N.transformFile(e,t,{script:(n,o)=>m(n,o,s)})}catch{return e.source}}module.exports=P;
@@ -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 r=require("@progress/kendo-vue-common/codemods"),d=require("./utils.js"),t=`The Scheduler create/edit form (SchedulerForm, SchedulerFormEditor, SchedulerActionButtons) was redesigned: the markup, the footer, the dialog title and the editor components changed.
9
+ Review your stylesheets, tests, localization messages and any code that customizes the form: the form prop of the Scheduler, startEditor, endEditor, recurrenceEditor and the k-scheduler-edit-form class.
10
+ Before: the footer k-form-buttons are aligned to the start; the dialog title comes from the 'scheduler.editorTitle' message; the recurrenceEditor is not rendered inside a dialog.
11
+ After: the form is rebuilt around the k-scheduler-edit-form class with the new k-scheduler-edit-dialog, k-scheduler-edit-form-row, k-scheduler-datetime-section, k-scheduler-datetime-grid, k-scheduler-datetime-label, k-scheduler-recurrence-button and k-scheduler-weekday-picker classes. The footer k-form-buttons are aligned to the end, in the order Delete (existing events only), Cancel, Save. The dialog title comes from the 'scheduler.editorNewEvent' and 'scheduler.editorEditEvent' messages ('scheduler.editorTitle' is no longer used). The default startEditor and endEditor are ZonedSplitDateTime. Custom startEditor and endEditor components receive the extra props isAllDay, connector, fieldError, ariaLabel, timeAriaLabel and timezone. The recurrenceEditor renders inside the new SchedulerRecurrenceDialog. SchedulerFormEditor has the new recurrenceButtonTextTemplate and recurrenceSummaryTemplate props; it forwards recurrenceSummaryTemplate to the dialog, while recurrenceButtonTextTemplate is not a SchedulerRecurrenceDialog prop. SchedulerForm has a new onDelete event.
12
+ Update CSS selectors and test queries that depend on the old form structure and button order, and make custom startEditor, endEditor and recurrenceEditor components compatible with the new props and the dialog.`,n={imports:["SchedulerForm","SchedulerFormEditor","SchedulerActionButtons","SchedulerRecurrenceDialog"],props:[{components:["SchedulerForm","SchedulerFormEditor"],names:["startEditor","endEditor","recurrenceEditor"]},{components:["Scheduler"],names:["form"]}],classes:["k-scheduler-edit-form"]};function i(e,o){return r.isRenderingChangeTarget(e.path)&&d.detectSchedulerChange(e,o,n)&&r.writeInstructionMarker(t,__filename,e.path),e.source}exports.aiInstructions=t;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 o=require("@progress/kendo-vue-common/codemods"),n=require("./utils.js"),s=`The Scheduler events (SchedulerItem, SchedulerEditItem, SchedulerViewItem and SchedulerProportionalViewItem) no longer render an inline delete icon, and read-only events get a new state marker.
9
+ Review your stylesheets, tests, custom item components and any code that references the k-event-delete or k-event-actions classes or handles the removeclick event (onRemoveClick, onRemoveclick, @removeclick, @remove-click) of the scheduler items. The task components (SchedulerTask, SchedulerEditTask, SchedulerViewTask) are not affected, so keep the selectors that target them.
10
+ Before: <div class="k-event"> ... <span class="k-event-actions"><a class="k-link k-event-delete">...</a></span></div>; clicking the icon emitted removeclick.
11
+ After: the span.k-event-actions > a.k-link.k-event-delete element is not rendered and nothing in the item UI emits removeclick (the removeclick emit and the onRemoveClick/onRemoveclick props still exist). Read-only events get the k-readonly class and aria-disabled="true". Deleting an event is done from the edit form: the Delete button of SchedulerActionButtons and the onDelete event of SchedulerForm.
12
+ Remove the CSS rules, test queries and simulated clicks that target .k-event-delete and .k-event-actions on items, move custom delete flows to the edit form (onDelete), and use .k-readonly for styling read-only events.`,r={imports:n.ITEM_COMPONENTS,classes:["k-event-delete","k-event-actions"],gatedPatterns:[new RegExp("(?<![A-Za-z0-9_])(?:on-?)?remove-?click(?![A-Za-z0-9_])","i")],excludeGatedPatterns:e=>!e.namespace&&!n.ITEM_COMPONENTS.some(t=>e.imports.has(t))&&n.TASK_COMPONENTS.some(t=>e.imports.has(t))};function a(e,t){return o.isRenderingChangeTarget(e.path)&&n.detectSchedulerChange(e,t,r)&&o.writeInstructionMarker(s,__filename,e.path),e.source}exports.aiInstructions=s;exports.default=a;
@@ -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"),n=require("./utils.js"),o=`The "more" button of the Scheduler MonthView opens a popover with the events of the slot instead of switching to the Day view.
9
+ Review your code that handles the showmoreitems event (onShowmoreitems, @showmoreitems, @show-more-items), custom ShowMoreItemsButton usage, and the tests and stylesheets that reference the k-more-events class or expect the Day view after clicking it.
10
+ Before: clicking the k-more-events button switched the Scheduler to the Day view.
11
+ After: clicking the button opens the MoreEventsPopover (popover class k-scheduler-popover) with the events of the slot, and the click event target of the ShowMoreItemsButton is now { element, slot }.
12
+ Update the handlers, tests and styles that rely on the view switch or on the old event target, and style the new k-scheduler-popover if needed.`,r={imports:["MonthView"],classes:["k-more-events"],gatedPatterns:[new RegExp("(?<![A-Za-z0-9_])(?:on-?)?show-?more-?items(?![A-Za-z0-9_])","i")]};function h(e,s){return t.isRenderingChangeTarget(e.path)&&n.detectSchedulerChange(e,s,r)&&t.writeInstructionMarker(o,__filename,e.path),e.source}exports.aiInstructions=o;exports.default=h;
@@ -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("./utils.js"),s=`The Scheduler toolbar was redesigned: the view selector, the collapsed toolbar and the BusinessHours button render different markup.
9
+ Review your stylesheets, tests and any code that references the k-views-dropdown class, the select used to switch views, the k-scheduler-navigation class around BusinessHours, or a custom SchedulerHeader, SchedulerFooter, SchedulerViewSelector or BusinessHours. SchedulerHeader also accepts a new optional ariaLabel prop.
10
+ Before: the view selector is a select.k-views-dropdown.k-dropdown.k-picker; BusinessHours is wrapped in a ToolbarItem with the k-scheduler-navigation class and its button has the font icon name 'clock' in addition to the clock SVG icon.
11
+ After: the view selector is a SegmentedControl with the k-scheduler-views class; the collapsed toolbar renders a DropDownButton with the k-toolbar-menu-button class whose popup has the k-scheduler-toolbar class; BusinessHours renders a button with the k-toolbar-button k-scheduler-fullday classes and the clock SVG icon, without the font icon name and without the k-scheduler-navigation wrapper (SchedulerNavigation still uses k-scheduler-navigation).
12
+ Update CSS selectors, test queries (for example select.k-views-dropdown) and custom toolbar code that depend on the removed elements and classes.`,a={imports:["Scheduler","SchedulerHeader","SchedulerFooter","SchedulerNavigation","SchedulerViewSelector","BusinessHours"],classes:["k-views-dropdown"]};function n(e,o){return t.isRenderingChangeTarget(e.path)&&r.detectSchedulerChange(e,o,a)&&t.writeInstructionMarker(s,__filename,e.path),e.source}exports.aiInstructions=s;exports.default=n;
@@ -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 h=require("vue/compiler-sfc"),I=require("@progress/kendo-vue-common/codemods"),d=require("@progress/kendo-vue-common/codemods/sfc"),l="@progress/kendo-vue-scheduler",T=["SchedulerItem","SchedulerEditItem","SchedulerViewItem","SchedulerProportionalViewItem"],w=["SchedulerTask","SchedulerEditTask","SchedulerViewTask"],N=["AgendaView","DayView","WeekView","WorkWeekView","MonthView","TimelineView"],O=/\.(?:css|scss|sass|less)$/,S=t=>d.camelize(t).toLowerCase(),P=(t,p)=>t.namespace||p.some(r=>t.imports.has(r));function y(t){return O.test(t)}function C(t){if(t.type===6)return t.name;if(t.arg?.isStatic)return t.name==="bind"||t.name==="model"?t.arg.content:t.name==="on"?`on${t.arg.content}`:void 0}function M(t,p,r,o){const c=new Map,a=new Set;if(p.find(t.ImportDeclaration,{source:{value:l}}).forEach(e=>{const i=e.node;if(i.importKind!=="type")for(const n of i.specifiers??[])if(n.type==="ImportSpecifier"&&n.importKind!=="type"){const m=n.imported.name;c.set(n.local?.name??m,m),r.imports.add(m)}else n.type==="ImportNamespaceSpecifier"&&n.local&&(a.add(n.local.name),r.namespace=!0)}),!c.size&&!a.size)return;const s=e=>{if(e.type==="JSXIdentifier")return c.get(e.name);if(e.type==="JSXMemberExpression"&&e.object.type==="JSXIdentifier"&&a.has(e.object.name))return e.property.name},f=e=>{if(e?.type==="Identifier")return c.get(e.name);if(e?.type==="MemberExpression"&&!e.computed&&e.object.type==="Identifier"&&a.has(e.object.name)&&e.property.type==="Identifier")return e.property.name};p.find(t.JSXOpeningElement).forEach(e=>{const i=s(e.node.name);if(i)for(const n of e.node.attributes??[])n.type==="JSXAttribute"&&n.name.type==="JSXIdentifier"&&o(i,n.name.name)}),p.find(t.CallExpression).forEach(e=>{const{callee:i,arguments:n}=e.node;if(i.type!=="Identifier"||!["h","createVNode"].includes(i.name))return;const m=f(n[0]);if(!(!m||n[1]?.type!=="ObjectExpression"))for(const E of n[1].properties){const u=E.key;u?.type==="Identifier"?o(m,u.name):(u?.type==="StringLiteral"||u?.type==="Literal")&&o(m,String(u.value))}})}function b(t,p,r){const o={imports:new Set,namespace:!1,props:new Set},c=(a,s)=>{o.props.add(`${a}:${S(s)}`)};try{d.transformFile(t,p,{script:(a,s)=>M(a,s,o,c),template:a=>{for(const s of r)for(const f of a.findElements(s,l))for(const e of f.props){const i=C(e);i&&c(s,i)}}})}catch{}return o}function V(t){try{return h.parse(t.source,{filename:t.path}).descriptor.styles.map(p=>p.content)}catch{return[]}}function k(t,p,r){const o=t.source,c=r.classes?.length?I.makePattern(r.classes):void 0;if(y(t.path))return!!c?.test(o);if(r.patterns?.some(e=>e.test(o))||c&&d.isVueFile(t.path)&&V(t).some(e=>c.test(e)))return!0;if(!o.includes(l))return!1;const a=[...new Set((r.props??[]).flatMap(e=>e.components))],s=b(t,p,a);return!s.namespace&&!s.imports.size?!1:r.imports&&P(s,r.imports)||r.props?.some(({components:e,names:i})=>e.some(n=>i.some(m=>s.props.has(`${n}:${S(m)}`))))||c?.test(o)?!0:!r.excludeGatedPatterns?.(s)&&!!r.gatedPatterns?.some(e=>e.test(o))}exports.ITEM_COMPONENTS=T;exports.SCHEDULER_PACKAGE=l;exports.TASK_COMPONENTS=w;exports.VIEW_COMPONENTS=N;exports.detectSchedulerChange=k;exports.isStylesheet=y;
@@ -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"),a=require("./scheduler-recurrence-template-deprecation.js");exports.SchedulerEventRenderingChanges=e.default;exports.SchedulerDefaultBehaviorChanges=r.default;exports.SchedulerDataActionPropRename=t.default;exports.SchedulerRecurrenceTemplateDeprecation=a.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=_;
@@ -0,0 +1,10 @@
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 I=require("@progress/kendo-vue-common/codemods/sfc"),h="@progress/kendo-vue-scheduler",d="recurrenceButtonTextTemplate",l="recurrenceSummaryTemplate",m="RecurrenceButtonTextTemplateProps",y="RecurrenceSummaryTemplateProps",b=`The recurrenceButtonTextTemplate prop was renamed to recurrenceSummaryTemplate, and RecurrenceButtonTextTemplateProps was renamed to RecurrenceSummaryTemplateProps.
9
+ The new template customizes the recurrence summary below the button and inside the recurrence dialog. It receives non-null recurrenceRule, text and parsedRule values, and is rendered only when a recurrence rule exists. The recurrence button always displays the localized 'Make recurring' or 'Edit recurrence' label.
10
+ Review templates that previously customized the button label or handled nullable payload values. If the old template only customized action labels, customize the scheduler.editorRecurrenceMakeRecurring and scheduler.editorRecurrenceEdit localization messages instead. If both template props were set, the existing recurrenceSummaryTemplate is preserved and the deprecated prop is removed.`,v=e=>e.replace(/-(\w)/g,(r,n)=>n.toUpperCase()),T=e=>e.replace(/\B([A-Z])/g,"-$1").toLowerCase(),u=e=>v(e);function E(e){const r=e.findIndex(i=>i.type==="JSXAttribute"&&i.name.type==="JSXIdentifier"&&u(i.name.name)===d);if(r<0)return;if(e.findIndex(i=>i.type==="JSXAttribute"&&i.name.type==="JSXIdentifier"&&u(i.name.name)===l)>=0){e.splice(r,1);return}const o=e[r];o.name.name=o.name.name.includes("-")?T(l):l}function S(e){const r=c=>{if(!(c.type!=="ObjectProperty"&&c.type!=="Property")){if(c.key.type==="Identifier")return c.key.name;if(c.key.type==="StringLiteral"||c.key.type==="Literal")return String(c.key.value)}},n=e.findIndex(c=>{const t=r(c);return t!==void 0&&u(t)===d});if(n<0)return;if(e.some(c=>{const t=r(c);return t!==void 0&&u(t)===l})){e.splice(n,1);return}const o=e[n],s=r(o).includes("-")?T(l):l;o.key.type==="Identifier"?(o.key.name=s,o.shorthand&&(o.shorthand=!1)):o.key.value=s}function g(e,r){const n=new Map,o=new Set;return r.find(e.ImportDeclaration,{source:{value:h}}).forEach(({node:i})=>{if(i.importKind!=="type")for(const s of i.specifiers??[])s.type==="ImportSpecifier"?n.set(s.local?.name??s.imported.name,s.imported.name):s.type==="ImportNamespaceSpecifier"&&s.local&&o.add(s.local.name)}),{locals:n,namespaces:o}}function x(e,r,n){if(e?.type==="Identifier")return r.get(e.name);if(e?.type==="MemberExpression"&&!e.computed&&e.object.type==="Identifier"&&n.has(e.object.name)&&e.property.type==="Identifier")return e.property.name}function w(e,r){const{locals:n,namespaces:o}=g(e,r),i=new Set,s=t=>{if(t.type==="JSXIdentifier")return n.get(t.name);if(t.type==="JSXMemberExpression"&&t.object.type==="JSXIdentifier"&&o.has(t.object.name))return t.property.name};r.find(e.JSXOpeningElement).forEach(({node:t})=>{s(t.name)==="SchedulerFormEditor"&&E(t.attributes)}),r.find(e.CallExpression).forEach(({node:t})=>{const a=t.callee;a.type!=="Identifier"||!["h","createVNode"].includes(a.name)||x(t.arguments[0],n,o)!=="SchedulerFormEditor"||t.arguments[1]?.type!=="ObjectExpression"||S(t.arguments[1].properties)});const c=new Set;r.find(e.ImportDeclaration,{source:{value:h}}).forEach(({node:t})=>{for(const a of t.specifiers??[]){if(a.type!=="ImportSpecifier")continue;const p=a.imported.name,f=a.local?.name??p;p===m?(c.add(f),a.imported.name=y,f===m&&a.local&&(a.local.name=y)):p==="SchedulerFormEditorProps"&&i.add(f)}}),c.has(m)&&r.find(e.Identifier,{name:m}).forEach(({node:t})=>{t.name=y}),i.size&&(r.find(e.TSIndexedAccessType).forEach(({node:t})=>{const a=t.objectType,p=t.indexType;a.type==="TSTypeReference"&&a.typeName.type==="Identifier"&&i.has(a.typeName.name)&&p.type==="TSLiteralType"&&p.literal.type==="StringLiteral"&&p.literal.value===d&&(p.literal.value=l)}),r.find(e.VariableDeclarator).forEach(({node:t})=>{const a=t.id.type==="Identifier"?t.id.typeAnnotation?.typeAnnotation:void 0,p=a?.type==="TSTypeReference"?a.typeName:void 0;p?.type==="Identifier"&&i.has(p.name)&&t.init?.type==="ObjectExpression"&&S(t.init.properties)}))}function P(e){for(const r of e.findElements("SchedulerFormEditor",h)){const n=e.getAttribute(r,d);n&&(e.getAttribute(r,l)?e.removeAttribute(n):e.renameAttribute(n,l))}}function R(e,r){try{return I.transformFile(e,r,{script:w,template:P})}catch(n){if(n instanceof SyntaxError)return e.source;throw n}}exports.aiInstructions=b;exports.default=R;
@@ -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-rendering-changes.js");exports.SchedulerRenderingChanges=e.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 t=require("@progress/kendo-vue-common/codemods"),s=require("@progress/kendo-vue-common/codemods/detect"),r=require("./utils.js"),n=`The Scheduler view selector, its navigation and event arrow icons, and the MonthView item positioning changed.
9
+ Review your stylesheets, tests and any code that references the k-scheduler-views view selector (or the buttons inside it), the caret-alt-left and caret-alt-right icons of the navigation buttons, the Agenda view and the event continuation arrows (k-i-* font classes, k-svg-i-* SVG classes), the k-nav-day element of the MonthView, or the inline transform of MonthView events.
10
+ Before: on desktop the view selector is a ButtonGroup with the k-button-group k-toolbar-button-group k-scheduler-views classes and a k-toolbar-button button per view; the previous/next navigation buttons, the Agenda head/tail arrows and the SchedulerItem continuation arrows use the caret-alt-left and caret-alt-right icons (the mirrored pair in RTL); MonthView events are rendered with an inline transform: translateY(30px).
11
+ After: on desktop the view selector is a SegmentedControl with the k-segmented-control k-scheduler-views classes (k-toolbar-button-group is no longer applied) and a k-segmented-control-button per view, the selected one marked with k-selected; the collapsed (mobile) dropdown is unchanged; the navigation buttons, Agenda arrows and event continuation arrows use chevron-left and chevron-right; MonthView events no longer set the inline transform and their offset is computed from the .k-nav-day element of the slot.
12
+ Update CSS selectors, test queries and snapshots that depend on the ButtonGroup markup, the previous icon classes or the fixed 30px MonthView offset.`,a=["caret-alt-left","caret-alt-right"],i={classes:["k-scheduler-views","k-nav-day",...a.flatMap(e=>[`k-i-${e}`,`k-svg-i-${e}`])],gatedPatterns:[/translateY\(\s*30px\s*\)/]};function h(e,o){return t.isRenderingChangeTarget(e.path)&&s.detectChange(e,o,r.SCHEDULER_PACKAGE,i)&&t.writeInstructionMarker(n,__filename,e.path),e.source}exports.aiInstructions=n;exports.default=h;
@@ -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="@progress/kendo-vue-scheduler";exports.SCHEDULER_PACKAGE=e;
@@ -0,0 +1,62 @@
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
+ import { PropType } from 'vue';
9
+ import { DataItem } from '../models/main';
10
+ import { Fields } from '../models/Fields';
11
+ /** @hidden */
12
+ export interface EventOverviewPopoverProps {
13
+ show: boolean;
14
+ anchor: HTMLElement | null;
15
+ dataItem: DataItem;
16
+ fields: Fields;
17
+ isRecurring: boolean;
18
+ canEdit: boolean;
19
+ canRemove: boolean;
20
+ }
21
+ /** @hidden */
22
+ export declare const EventOverviewPopover: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
23
+ show: PropType<boolean>;
24
+ anchor: PropType<HTMLElement>;
25
+ dataItem: {
26
+ type: PropType<any>;
27
+ required: true;
28
+ };
29
+ fields: {
30
+ type: PropType<Fields>;
31
+ required: true;
32
+ };
33
+ isRecurring: BooleanConstructor;
34
+ canEdit: BooleanConstructor;
35
+ canRemove: BooleanConstructor;
36
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
+ close: () => true;
38
+ edit: (series?: boolean) => boolean;
39
+ delete: (series?: boolean) => boolean;
40
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
41
+ show: PropType<boolean>;
42
+ anchor: PropType<HTMLElement>;
43
+ dataItem: {
44
+ type: PropType<any>;
45
+ required: true;
46
+ };
47
+ fields: {
48
+ type: PropType<Fields>;
49
+ required: true;
50
+ };
51
+ isRecurring: BooleanConstructor;
52
+ canEdit: BooleanConstructor;
53
+ canRemove: BooleanConstructor;
54
+ }>> & Readonly<{
55
+ onClose?: () => any;
56
+ onDelete?: (series?: boolean) => any;
57
+ onEdit?: (series?: boolean) => any;
58
+ }>, {
59
+ isRecurring: boolean;
60
+ canEdit: boolean;
61
+ canRemove: boolean;
62
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -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 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;
@@ -0,0 +1,191 @@
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
+ 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
+ function A(e) {
21
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !F(e);
22
+ }
23
+ const ee = "360px", te = {
24
+ horizontal: H,
25
+ vertical: 0
26
+ }, ve = /* @__PURE__ */ j({
27
+ name: "KendoSchedulerEventOverviewPopover",
28
+ props: {
29
+ show: Boolean,
30
+ anchor: Object,
31
+ dataItem: {
32
+ type: Object,
33
+ required: !0
34
+ },
35
+ fields: {
36
+ type: Object,
37
+ required: !0
38
+ },
39
+ isRecurring: Boolean,
40
+ canEdit: Boolean,
41
+ canRemove: Boolean
42
+ },
43
+ // `series` is set only for recurring events: `false` for the occurrence, `true` for the series.
44
+ emits: {
45
+ close: () => !0,
46
+ edit: (e) => e === void 0 || typeof e == "boolean",
47
+ delete: (e) => e === void 0 || typeof e == "boolean"
48
+ },
49
+ inject: {
50
+ kendoIntlService: {
51
+ default: null
52
+ },
53
+ kendoLocalizationService: {
54
+ default: null
55
+ }
56
+ },
57
+ setup(e, {
58
+ emit: s
59
+ }) {
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
+ };
64
+ E(() => e.show, (o, i, w) => {
65
+ if (!o || typeof document == "undefined")
66
+ return;
67
+ const u = (n) => {
68
+ var f;
69
+ const a = n.target, l = I(), m = Array.from((l == null ? void 0 : l.querySelectorAll("[aria-controls]")) || []).some((k) => {
70
+ var r;
71
+ const v = k.getAttribute("aria-controls");
72
+ return v ? (r = document.getElementById(v)) == null ? void 0 : r.contains(a) : !1;
73
+ });
74
+ !(l != null && l.contains(a)) && !((f = e.anchor) != null && f.contains(a)) && !m && y();
75
+ };
76
+ document.addEventListener("mousedown", u), w(() => document.removeEventListener("mousedown", u));
77
+ }, {
78
+ immediate: !0
79
+ }), W(() => e.show, () => e.anchor, y);
80
+ const x = () => {
81
+ if (e.show && (e.canEdit || e.canRemove)) {
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
+ }
85
+ };
86
+ return E(() => [e.show, e.canEdit, e.canRemove], () => L(x), {
87
+ immediate: !0,
88
+ flush: "post"
89
+ }), () => {
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
+ scope: "occurrence"
94
+ }, {
95
+ text: n(Y),
96
+ scope: "series"
97
+ }], v = [{
98
+ text: n(J),
99
+ scope: "occurrence"
100
+ }, {
101
+ text: n(Q),
102
+ scope: "series"
103
+ }];
104
+ return t(q, {
105
+ anchor: e.anchor,
106
+ show: e.show,
107
+ position: "right",
108
+ collision: {
109
+ horizontal: "fit",
110
+ vertical: "fit"
111
+ },
112
+ margin: te,
113
+ callout: !1,
114
+ title: d(e.dataItem, e.fields.title) || n(Z),
115
+ style: {
116
+ width: ee
117
+ },
118
+ autoFocus: !1,
119
+ animate: {
120
+ openDuration: 1,
121
+ closeDuration: 1
122
+ },
123
+ onOpen: x,
124
+ onKeydown: y
125
+ }, {
126
+ default: () => [t(p, {
127
+ ref: g,
128
+ horizontal: !0,
129
+ class: "k-scheduler-edit-form"
130
+ }, {
131
+ default: () => [t(P, null, {
132
+ default: () => [t(R, {
133
+ class: "k-form-label"
134
+ }, {
135
+ default: () => [t(O, {
136
+ icon: T,
137
+ size: "xlarge"
138
+ }, null)]
139
+ }), t("div", {
140
+ class: "k-form-field-wrap"
141
+ }, [t("div", {
142
+ class: "k-scheduler-edit-form-row k-color-subtle"
143
+ }, [f])])]
144
+ }), m ? t(P, null, {
145
+ default: () => [t(R, {
146
+ class: "k-form-label"
147
+ }, {
148
+ default: () => [t(O, {
149
+ icon: G,
150
+ size: "xlarge"
151
+ }, null)]
152
+ }), t("div", {
153
+ class: "k-form-field-wrap"
154
+ }, [t("div", {
155
+ class: "k-scheduler-edit-form-row"
156
+ }, [m])])]
157
+ }) : null]
158
+ }), e.canEdit || e.canRemove ? t(V, {
159
+ alignment: "end"
160
+ }, {
161
+ default: () => [e.canRemove ? e.isRecurring ? t(S, {
162
+ text: n(D),
163
+ items: v,
164
+ textField: "text",
165
+ onItemclick: (r) => s("delete", r.item.scope === "series")
166
+ }, null) : t(b, {
167
+ type: "button",
168
+ onClick: () => s("delete")
169
+ }, A(o = n(D)) ? o : {
170
+ default: () => [o]
171
+ }) : null, e.canEdit ? e.isRecurring ? t(S, {
172
+ text: n(z),
173
+ themeColor: "primary",
174
+ items: k,
175
+ textField: "text",
176
+ onItemclick: (r) => s("edit", r.item.scope === "series")
177
+ }, null) : t(b, {
178
+ type: "button",
179
+ themeColor: "primary",
180
+ onClick: () => s("edit")
181
+ }, A(i = n(z)) ? i : {
182
+ default: () => [i]
183
+ }) : null]
184
+ }) : null]
185
+ });
186
+ };
187
+ }
188
+ });
189
+ export {
190
+ ve as EventOverviewPopover
191
+ };
@@ -17,6 +17,7 @@ export interface MoreEventsPopoverProps {
17
17
  items: Item[];
18
18
  itemsPerSlot: number;
19
19
  onDayClick?: (slot: Slot) => void;
20
+ onItemDoubleClick?: (item: Item) => void;
20
21
  onClose?: () => void;
21
22
  }
22
23
  /**
@@ -43,7 +44,7 @@ declare const MoreEventsPopover: import('vue').DefineComponent<import('vue').Ext
43
44
  type: PropType<number>;
44
45
  default: number;
45
46
  };
46
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "dayclick")[], "close" | "dayclick", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "dayclick" | "itemdoubleclick")[], "close" | "dayclick" | "itemdoubleclick", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
48
  show: {
48
49
  type: PropType<boolean>;
49
50
  default: boolean;
@@ -67,6 +68,7 @@ declare const MoreEventsPopover: import('vue').DefineComponent<import('vue').Ext
67
68
  }>> & Readonly<{
68
69
  onClose?: (...args: any[]) => any;
69
70
  onDayclick?: (...args: any[]) => any;
71
+ onItemdoubleclick?: (...args: any[]) => any;
70
72
  }>, {
71
73
  slot: Slot;
72
74
  anchor: HTMLElement;
@@ -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 e=require("vue"),N=require("@progress/kendo-vue-tooltip"),m=require("@progress/kendo-vue-intl"),s=require("../messages/main.js"),T={skeleton:"MMM"},V={skeleton:"dd"},D="t",L=e.defineComponent({name:"KendoSchedulerMoreEventsPopover",props:{show:{type:Boolean,default:!1},anchor:{type:Object,default:null},slot:{type:Object,default:null},items:{type:Array,default:()=>[]},itemsPerSlot:{type:Number,default:2}},emits:["dayclick","close"],inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup(o,{emit:d}){const t=l=>{const r=l.target,a=document.querySelector(".k-scheduler-popover");a&&!a.contains(r)&&o.anchor&&!o.anchor.contains(r)&&d("close")};return e.watch(()=>o.show,l=>{l?document.addEventListener("mousedown",t,!0):document.removeEventListener("mousedown",t,!0)},{immediate:!0}),e.onUnmounted(()=>{document.removeEventListener("mousedown",t,!0)}),{}},render(){const o=m.provideIntlService(this),d=m.provideLocalizationService(this);if(!this.$props.show||!this.$props.slot)return null;const t=this.$props.slot,l=this.$props.itemsPerSlot,r=t.items?t.items.filter((n,p)=>p>=l):[],a=new Date(t.zonedEnd.getTime()-(t.zonedEnd.getTime()-t.zonedStart.getTime())/2),k=o.formatDate(a,T),f=o.formatDate(a,V),y=d.toLanguageString(s.noEvents,s.messages[s.noEvents]),g=d.toLanguageString(s.popoverEvents,s.messages[s.popoverEvents]),E=n=>{n.preventDefault(),this.$emit("dayclick",t)},S=()=>{this.$emit("close")},w=e.createVNode("div",{class:"k-popover-header"},[e.createVNode("div",{class:"k-month"},[k]),e.createVNode("div",{class:"k-link k-day",onClick:E},[f])]);return e.createVNode(N.Popover,{anchor:this.$props.anchor,show:this.$props.show,popoverClass:"k-scheduler-popover",position:"right",collision:{horizontal:"flip",vertical:"flip"},animate:!1,onKeydown:S},{default:()=>[w,e.createVNode("div",{class:"k-scheduler-more-events-content",style:{minWidth:"220px"}},[r.length>0?e.createVNode("div",{class:"k-popover-events",role:"list","aria-label":g},[r.map((n,p)=>{var v,h;const i=(h=(v=n.group)==null?void 0:v.resources)==null?void 0:h.find(c=>!!(c.colorField&&c[c.colorField]!==""&&c[c.colorField]!==void 0)),u=(i==null?void 0:i.colorField)&&i[i.colorField],M=u?{"--kendo-scheduler-event-color":u}:void 0;return e.createVNode("div",{key:n.uid||p,class:"k-popover-event k-event",role:"listitem",style:M},[e.createVNode("div",{class:"k-event-title"},[n.title||""]),e.createVNode("span",{class:"k-event-time"},[o.formatDate(n.zonedStart,D)])])})]):e.createVNode("span",{class:"k-no-data"},[y])])]})}});exports.MoreEventsPopover=L;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),N=require("@progress/kendo-vue-tooltip"),h=require("@progress/kendo-vue-intl"),l=require("../messages/main.js"),T={skeleton:"MMM"},V={skeleton:"dd"},b="t",D=e.defineComponent({name:"KendoSchedulerMoreEventsPopover",props:{show:{type:Boolean,default:!1},anchor:{type:Object,default:null},slot:{type:Object,default:null},items:{type:Array,default:()=>[]},itemsPerSlot:{type:Number,default:2}},emits:["dayclick","itemdoubleclick","close"],inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup(n,{emit:d}){const t=r=>{const i=r.target,c=document.querySelector(".k-scheduler-popover");c&&!c.contains(i)&&n.anchor&&!n.anchor.contains(i)&&d("close")};return e.watch(()=>n.show,r=>{r?document.addEventListener("mousedown",t,!0):document.removeEventListener("mousedown",t,!0)},{immediate:!0}),e.onUnmounted(()=>{document.removeEventListener("mousedown",t,!0)}),{}},render(){const n=h.provideIntlService(this),d=h.provideLocalizationService(this);if(!this.$props.show||!this.$props.slot)return null;const t=this.$props.slot,r=this.$props.itemsPerSlot,i=t.items?t.items.filter((o,p)=>p>=r):[],c=new Date(t.zonedEnd.getTime()-(t.zonedEnd.getTime()-t.zonedStart.getTime())/2),k=n.formatDate(c,T),f=n.formatDate(c,V),y=d.toLanguageString(l.noEvents,l.messages[l.noEvents]),g=d.toLanguageString(l.popoverEvents,l.messages[l.popoverEvents]),E=o=>{o.preventDefault(),this.$emit("dayclick",t)},S=()=>{this.$emit("close")},w=e.createVNode("div",{class:"k-popover-header"},[e.createVNode("div",{class:"k-month"},[k]),e.createVNode("div",{class:"k-link k-day",onClick:E},[f])]);return e.createVNode(N.Popover,{anchor:this.$props.anchor,show:this.$props.show,popoverClass:"k-scheduler-popover",position:"right",callout:!1,collision:{horizontal:"flip",vertical:"flip"},animate:!1,onKeydown:S},{default:()=>[w,e.createVNode("div",{class:"k-scheduler-more-events-content",style:{minWidth:"220px"}},[i.length>0?e.createVNode("div",{class:"k-popover-events",role:"list","aria-label":g},[i.map((o,p)=>{var v,m;const a=(m=(v=o.group)==null?void 0:v.resources)==null?void 0:m.find(s=>!!(s.colorField&&s[s.colorField]!==""&&s[s.colorField]!==void 0)),u=(a==null?void 0:a.colorField)&&a[a.colorField],M=u?{"--kendo-scheduler-event-color":u}:void 0;return e.createVNode("div",{key:o.uid||p,class:"k-popover-event k-event",role:"listitem",style:M,onDblclick:s=>{s.stopPropagation(),this.$emit("itemdoubleclick",o)}},[e.createVNode("div",{class:"k-event-title"},[o.title||""]),e.createVNode("span",{class:"k-event-time"},[n.formatDate(o.zonedStart,b)])])})]):e.createVNode("span",{class:"k-no-data"},[y])])]})}});exports.MoreEventsPopover=D;