@progress/kendo-vue-scheduler 10.2.0-develop.12 → 10.2.0-develop.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codemods/v10/index.js +8 -0
- package/codemods/v10/scheduler-agenda-rendering-changes.js +12 -0
- package/codemods/v10/scheduler-date-format-changes.js +12 -0
- package/codemods/v10/scheduler-editor-title-message.js +8 -0
- package/codemods/v10/scheduler-form-rendering-changes.js +12 -0
- package/codemods/v10/scheduler-item-rendering-changes.js +12 -0
- package/codemods/v10/scheduler-more-events-changes.js +12 -0
- package/codemods/v10/scheduler-toolbar-rendering-changes.js +12 -0
- package/codemods/v10/utils.js +8 -0
- package/codemods/v9/index.js +8 -0
- package/codemods/v9/scheduler-rendering-changes.js +12 -0
- package/codemods/v9/utils.js +8 -0
- package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +73 -13
|
@@ -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-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;
|