@progress/kendo-react-webmcp 15.0.0-develop.2

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 (340) hide show
  1. package/LICENSE.md +11 -0
  2. package/NOTICE.txt +383 -0
  3. package/README.md +72 -0
  4. package/WebMcpProvider.d.ts +49 -0
  5. package/WebMcpProvider.js +8 -0
  6. package/WebMcpProvider.mjs +138 -0
  7. package/adapters/aiprompt.d.ts +15 -0
  8. package/adapters/aiprompt.js +8 -0
  9. package/adapters/aiprompt.mjs +63 -0
  10. package/adapters/autocomplete.d.ts +18 -0
  11. package/adapters/autocomplete.js +8 -0
  12. package/adapters/autocomplete.mjs +69 -0
  13. package/adapters/button.d.ts +18 -0
  14. package/adapters/button.js +8 -0
  15. package/adapters/button.mjs +46 -0
  16. package/adapters/calendar.d.ts +16 -0
  17. package/adapters/calendar.js +8 -0
  18. package/adapters/calendar.mjs +61 -0
  19. package/adapters/chart.d.ts +29 -0
  20. package/adapters/chart.js +8 -0
  21. package/adapters/chart.mjs +95 -0
  22. package/adapters/chat.d.ts +16 -0
  23. package/adapters/chat.js +8 -0
  24. package/adapters/chat.mjs +66 -0
  25. package/adapters/colorpicker.d.ts +16 -0
  26. package/adapters/colorpicker.js +8 -0
  27. package/adapters/colorpicker.mjs +60 -0
  28. package/adapters/combobox.d.ts +20 -0
  29. package/adapters/combobox.js +8 -0
  30. package/adapters/combobox.mjs +87 -0
  31. package/adapters/dashboard.d.ts +18 -0
  32. package/adapters/dashboard.js +8 -0
  33. package/adapters/dashboard.mjs +41 -0
  34. package/adapters/datepicker.d.ts +17 -0
  35. package/adapters/datepicker.js +8 -0
  36. package/adapters/datepicker.mjs +59 -0
  37. package/adapters/daterangepicker.d.ts +19 -0
  38. package/adapters/daterangepicker.js +8 -0
  39. package/adapters/daterangepicker.mjs +70 -0
  40. package/adapters/datetimepicker.d.ts +16 -0
  41. package/adapters/datetimepicker.js +8 -0
  42. package/adapters/datetimepicker.mjs +59 -0
  43. package/adapters/dialog.d.ts +15 -0
  44. package/adapters/dialog.js +8 -0
  45. package/adapters/dialog.mjs +58 -0
  46. package/adapters/drawer.d.ts +33 -0
  47. package/adapters/drawer.js +8 -0
  48. package/adapters/drawer.mjs +86 -0
  49. package/adapters/dropdownlist.d.ts +19 -0
  50. package/adapters/dropdownlist.js +8 -0
  51. package/adapters/dropdownlist.mjs +74 -0
  52. package/adapters/dropdowntree.d.ts +22 -0
  53. package/adapters/dropdowntree.js +8 -0
  54. package/adapters/dropdowntree.mjs +108 -0
  55. package/adapters/editor.d.ts +30 -0
  56. package/adapters/editor.js +8 -0
  57. package/adapters/editor.mjs +109 -0
  58. package/adapters/form.d.ts +20 -0
  59. package/adapters/form.js +10 -0
  60. package/adapters/form.mjs +115 -0
  61. package/adapters/gantt.d.ts +65 -0
  62. package/adapters/gantt.js +8 -0
  63. package/adapters/gantt.mjs +370 -0
  64. package/adapters/grid.d.ts +102 -0
  65. package/adapters/grid.js +8 -0
  66. package/adapters/grid.mjs +692 -0
  67. package/adapters/listbox.d.ts +18 -0
  68. package/adapters/listbox.js +8 -0
  69. package/adapters/listbox.mjs +87 -0
  70. package/adapters/listview.d.ts +22 -0
  71. package/adapters/listview.js +8 -0
  72. package/adapters/listview.mjs +80 -0
  73. package/adapters/map.d.ts +32 -0
  74. package/adapters/map.js +8 -0
  75. package/adapters/map.mjs +88 -0
  76. package/adapters/maskedtextbox.d.ts +17 -0
  77. package/adapters/maskedtextbox.js +8 -0
  78. package/adapters/maskedtextbox.mjs +57 -0
  79. package/adapters/menu.d.ts +16 -0
  80. package/adapters/menu.js +8 -0
  81. package/adapters/menu.mjs +50 -0
  82. package/adapters/multiselect.d.ts +19 -0
  83. package/adapters/multiselect.js +8 -0
  84. package/adapters/multiselect.mjs +75 -0
  85. package/adapters/notification.d.ts +17 -0
  86. package/adapters/notification.js +8 -0
  87. package/adapters/notification.mjs +57 -0
  88. package/adapters/numerictextbox.d.ts +19 -0
  89. package/adapters/numerictextbox.js +8 -0
  90. package/adapters/numerictextbox.mjs +78 -0
  91. package/adapters/panelbar.d.ts +17 -0
  92. package/adapters/panelbar.js +8 -0
  93. package/adapters/panelbar.mjs +66 -0
  94. package/adapters/pivotgrid.d.ts +16 -0
  95. package/adapters/pivotgrid.js +8 -0
  96. package/adapters/pivotgrid.mjs +126 -0
  97. package/adapters/rangeslider.d.ts +21 -0
  98. package/adapters/rangeslider.js +8 -0
  99. package/adapters/rangeslider.mjs +55 -0
  100. package/adapters/rating.d.ts +16 -0
  101. package/adapters/rating.js +8 -0
  102. package/adapters/rating.mjs +60 -0
  103. package/adapters/scheduler.d.ts +45 -0
  104. package/adapters/scheduler.js +8 -0
  105. package/adapters/scheduler.mjs +165 -0
  106. package/adapters/scrollview.d.ts +21 -0
  107. package/adapters/scrollview.js +8 -0
  108. package/adapters/scrollview.mjs +74 -0
  109. package/adapters/signature.d.ts +16 -0
  110. package/adapters/signature.js +8 -0
  111. package/adapters/signature.mjs +47 -0
  112. package/adapters/slider.d.ts +19 -0
  113. package/adapters/slider.js +8 -0
  114. package/adapters/slider.mjs +47 -0
  115. package/adapters/sortable.d.ts +17 -0
  116. package/adapters/sortable.js +8 -0
  117. package/adapters/sortable.mjs +67 -0
  118. package/adapters/spreadsheet.d.ts +32 -0
  119. package/adapters/spreadsheet.js +8 -0
  120. package/adapters/spreadsheet.mjs +256 -0
  121. package/adapters/stepper.d.ts +23 -0
  122. package/adapters/stepper.js +8 -0
  123. package/adapters/stepper.mjs +47 -0
  124. package/adapters/switch.d.ts +17 -0
  125. package/adapters/switch.js +8 -0
  126. package/adapters/switch.mjs +48 -0
  127. package/adapters/tabstrip.d.ts +19 -0
  128. package/adapters/tabstrip.js +8 -0
  129. package/adapters/tabstrip.mjs +47 -0
  130. package/adapters/taskboard.d.ts +20 -0
  131. package/adapters/taskboard.js +8 -0
  132. package/adapters/taskboard.mjs +104 -0
  133. package/adapters/textarea.d.ts +16 -0
  134. package/adapters/textarea.js +8 -0
  135. package/adapters/textarea.mjs +57 -0
  136. package/adapters/textbox.d.ts +19 -0
  137. package/adapters/textbox.js +8 -0
  138. package/adapters/textbox.mjs +61 -0
  139. package/adapters/timepicker.d.ts +16 -0
  140. package/adapters/timepicker.js +8 -0
  141. package/adapters/timepicker.mjs +59 -0
  142. package/adapters/treelist.d.ts +81 -0
  143. package/adapters/treelist.js +8 -0
  144. package/adapters/treelist.mjs +403 -0
  145. package/adapters/treeview.d.ts +25 -0
  146. package/adapters/treeview.js +9 -0
  147. package/adapters/treeview.mjs +212 -0
  148. package/adapters/upload.d.ts +15 -0
  149. package/adapters/upload.js +8 -0
  150. package/adapters/upload.mjs +52 -0
  151. package/adapters/utils.d.ts +16 -0
  152. package/adapters/utils.js +8 -0
  153. package/adapters/utils.mjs +25 -0
  154. package/adapters/window.d.ts +17 -0
  155. package/adapters/window.js +8 -0
  156. package/adapters/window.mjs +99 -0
  157. package/commands/aiprompt.d.ts +30 -0
  158. package/commands/aiprompt.js +8 -0
  159. package/commands/aiprompt.mjs +54 -0
  160. package/commands/autocomplete.d.ts +26 -0
  161. package/commands/autocomplete.js +8 -0
  162. package/commands/autocomplete.mjs +36 -0
  163. package/commands/button.d.ts +19 -0
  164. package/commands/button.js +8 -0
  165. package/commands/button.mjs +21 -0
  166. package/commands/calendar.d.ts +29 -0
  167. package/commands/calendar.js +8 -0
  168. package/commands/calendar.mjs +52 -0
  169. package/commands/chart.d.ts +27 -0
  170. package/commands/chart.js +8 -0
  171. package/commands/chart.mjs +43 -0
  172. package/commands/chat.d.ts +22 -0
  173. package/commands/chat.js +8 -0
  174. package/commands/chat.mjs +30 -0
  175. package/commands/checkbox.d.ts +26 -0
  176. package/commands/checkbox.js +8 -0
  177. package/commands/checkbox.mjs +36 -0
  178. package/commands/colorpicker.d.ts +26 -0
  179. package/commands/colorpicker.js +8 -0
  180. package/commands/colorpicker.mjs +36 -0
  181. package/commands/combobox.d.ts +34 -0
  182. package/commands/combobox.js +8 -0
  183. package/commands/combobox.mjs +48 -0
  184. package/commands/dashboard.d.ts +19 -0
  185. package/commands/dashboard.js +8 -0
  186. package/commands/dashboard.mjs +21 -0
  187. package/commands/datepicker.d.ts +26 -0
  188. package/commands/datepicker.js +8 -0
  189. package/commands/datepicker.mjs +36 -0
  190. package/commands/daterangepicker.d.ts +27 -0
  191. package/commands/daterangepicker.js +8 -0
  192. package/commands/daterangepicker.mjs +37 -0
  193. package/commands/datetimepicker.d.ts +26 -0
  194. package/commands/datetimepicker.js +8 -0
  195. package/commands/datetimepicker.mjs +36 -0
  196. package/commands/dialog.d.ts +23 -0
  197. package/commands/dialog.js +8 -0
  198. package/commands/dialog.mjs +25 -0
  199. package/commands/drawer.d.ts +30 -0
  200. package/commands/drawer.js +8 -0
  201. package/commands/drawer.mjs +38 -0
  202. package/commands/dropdownlist.d.ts +30 -0
  203. package/commands/dropdownlist.js +8 -0
  204. package/commands/dropdownlist.mjs +42 -0
  205. package/commands/dropdowntree.d.ts +34 -0
  206. package/commands/dropdowntree.js +8 -0
  207. package/commands/dropdowntree.mjs +48 -0
  208. package/commands/editor.d.ts +26 -0
  209. package/commands/editor.js +8 -0
  210. package/commands/editor.mjs +36 -0
  211. package/commands/form.d.ts +34 -0
  212. package/commands/form.js +8 -0
  213. package/commands/form.mjs +54 -0
  214. package/commands/gantt.d.ts +119 -0
  215. package/commands/gantt.js +8 -0
  216. package/commands/gantt.mjs +156 -0
  217. package/commands/grid.d.ts +209 -0
  218. package/commands/grid.js +8 -0
  219. package/commands/grid.mjs +280 -0
  220. package/commands/index.d.ts +58 -0
  221. package/commands/listbox.d.ts +31 -0
  222. package/commands/listbox.js +8 -0
  223. package/commands/listbox.mjs +69 -0
  224. package/commands/listview.d.ts +22 -0
  225. package/commands/listview.js +8 -0
  226. package/commands/listview.mjs +29 -0
  227. package/commands/map.d.ts +43 -0
  228. package/commands/map.js +8 -0
  229. package/commands/map.mjs +77 -0
  230. package/commands/maskedtextbox.d.ts +26 -0
  231. package/commands/maskedtextbox.js +8 -0
  232. package/commands/maskedtextbox.mjs +36 -0
  233. package/commands/menu.d.ts +22 -0
  234. package/commands/menu.js +8 -0
  235. package/commands/menu.mjs +30 -0
  236. package/commands/multicolumncombobox.d.ts +34 -0
  237. package/commands/multicolumncombobox.js +8 -0
  238. package/commands/multicolumncombobox.mjs +48 -0
  239. package/commands/multiselect.d.ts +41 -0
  240. package/commands/multiselect.js +8 -0
  241. package/commands/multiselect.mjs +57 -0
  242. package/commands/notification.d.ts +27 -0
  243. package/commands/notification.js +8 -0
  244. package/commands/notification.mjs +46 -0
  245. package/commands/numerictextbox.d.ts +34 -0
  246. package/commands/numerictextbox.js +8 -0
  247. package/commands/numerictextbox.mjs +48 -0
  248. package/commands/panelbar.d.ts +29 -0
  249. package/commands/panelbar.js +8 -0
  250. package/commands/panelbar.mjs +43 -0
  251. package/commands/pivotgrid.d.ts +56 -0
  252. package/commands/pivotgrid.js +8 -0
  253. package/commands/pivotgrid.mjs +87 -0
  254. package/commands/rangeslider.d.ts +23 -0
  255. package/commands/rangeslider.js +8 -0
  256. package/commands/rangeslider.mjs +25 -0
  257. package/commands/rating.d.ts +26 -0
  258. package/commands/rating.js +8 -0
  259. package/commands/rating.mjs +36 -0
  260. package/commands/scheduler.d.ts +45 -0
  261. package/commands/scheduler.js +8 -0
  262. package/commands/scheduler.mjs +59 -0
  263. package/commands/scrollview.d.ts +30 -0
  264. package/commands/scrollview.js +8 -0
  265. package/commands/scrollview.mjs +46 -0
  266. package/commands/signature.d.ts +19 -0
  267. package/commands/signature.js +8 -0
  268. package/commands/signature.mjs +21 -0
  269. package/commands/slider.d.ts +22 -0
  270. package/commands/slider.js +8 -0
  271. package/commands/slider.mjs +24 -0
  272. package/commands/sortable.d.ts +23 -0
  273. package/commands/sortable.js +8 -0
  274. package/commands/sortable.mjs +32 -0
  275. package/commands/spreadsheet.d.ts +92 -0
  276. package/commands/spreadsheet.js +8 -0
  277. package/commands/spreadsheet.mjs +181 -0
  278. package/commands/stepper.d.ts +22 -0
  279. package/commands/stepper.js +8 -0
  280. package/commands/stepper.mjs +35 -0
  281. package/commands/switch.d.ts +26 -0
  282. package/commands/switch.js +8 -0
  283. package/commands/switch.mjs +36 -0
  284. package/commands/tabstrip.d.ts +23 -0
  285. package/commands/tabstrip.js +8 -0
  286. package/commands/tabstrip.mjs +30 -0
  287. package/commands/taskboard.d.ts +48 -0
  288. package/commands/taskboard.js +8 -0
  289. package/commands/taskboard.mjs +90 -0
  290. package/commands/textarea.d.ts +26 -0
  291. package/commands/textarea.js +8 -0
  292. package/commands/textarea.mjs +36 -0
  293. package/commands/textbox.d.ts +26 -0
  294. package/commands/textbox.js +8 -0
  295. package/commands/textbox.mjs +36 -0
  296. package/commands/timepicker.d.ts +26 -0
  297. package/commands/timepicker.js +8 -0
  298. package/commands/timepicker.mjs +36 -0
  299. package/commands/treelist.d.ts +135 -0
  300. package/commands/treelist.js +8 -0
  301. package/commands/treelist.mjs +177 -0
  302. package/commands/treeview.d.ts +44 -0
  303. package/commands/treeview.js +8 -0
  304. package/commands/treeview.mjs +84 -0
  305. package/commands/upload.d.ts +19 -0
  306. package/commands/upload.js +8 -0
  307. package/commands/upload.mjs +21 -0
  308. package/commands/window.d.ts +35 -0
  309. package/commands/window.js +8 -0
  310. package/commands/window.mjs +45 -0
  311. package/dist/cdn/js/kendo-react-webmcp.js +15 -0
  312. package/grid-mcp-tools.d.ts +26 -0
  313. package/grid-mcp-tools.js +8 -0
  314. package/grid-mcp-tools.mjs +75 -0
  315. package/index.d.mts +68 -0
  316. package/index.d.ts +68 -0
  317. package/index.js +8 -0
  318. package/index.mjs +308 -0
  319. package/mcp-types.d.ts +12 -0
  320. package/package.json +64 -0
  321. package/schemas/common.d.ts +27 -0
  322. package/schemas/common.js +8 -0
  323. package/schemas/common.mjs +113 -0
  324. package/schemas/gantt.d.ts +10 -0
  325. package/schemas/gantt.js +8 -0
  326. package/schemas/gantt.mjs +51 -0
  327. package/schemas/grid.d.ts +10 -0
  328. package/schemas/grid.js +8 -0
  329. package/schemas/grid.mjs +46 -0
  330. package/schemas/index.d.ts +13 -0
  331. package/schemas/input.d.ts +19 -0
  332. package/schemas/input.js +8 -0
  333. package/schemas/input.mjs +137 -0
  334. package/schemas/scheduler.d.ts +11 -0
  335. package/schemas/scheduler.js +8 -0
  336. package/schemas/scheduler.mjs +58 -0
  337. package/schemas/table.d.ts +12 -0
  338. package/schemas/table.js +8 -0
  339. package/schemas/table.mjs +87 -0
  340. package/types.d.ts +39 -0
@@ -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("./common.js");function r(){return{type:"object",properties:{view:{type:"string",description:"The Gantt view to switch to",enum:["Day","Week","Month","Year"]}},required:["view"]}}function i(){return{type:"object",properties:{title:{type:"string",description:"The title of the new task"},start:{type:"string",format:"date-time",description:"The start date of the task (ISO 8601 format)"},end:{type:"string",format:"date-time",description:"The end date of the task (ISO 8601 format)"}},required:["title"]}}function a(e){return t.getFilterSchema(e)}exports.getChangeViewSchema=r;exports.getCreateTaskSchema=i;exports.getDeleteTaskSchema=a;
@@ -0,0 +1,51 @@
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 { getFilterSchema as t } from "./common.mjs";
9
+ function i() {
10
+ return {
11
+ type: "object",
12
+ properties: {
13
+ view: {
14
+ type: "string",
15
+ description: "The Gantt view to switch to",
16
+ enum: ["Day", "Week", "Month", "Year"]
17
+ }
18
+ },
19
+ required: ["view"]
20
+ };
21
+ }
22
+ function a() {
23
+ return {
24
+ type: "object",
25
+ properties: {
26
+ title: {
27
+ type: "string",
28
+ description: "The title of the new task"
29
+ },
30
+ start: {
31
+ type: "string",
32
+ format: "date-time",
33
+ description: "The start date of the task (ISO 8601 format)"
34
+ },
35
+ end: {
36
+ type: "string",
37
+ format: "date-time",
38
+ description: "The end date of the task (ISO 8601 format)"
39
+ }
40
+ },
41
+ required: ["title"]
42
+ };
43
+ }
44
+ function n(e) {
45
+ return t(e);
46
+ }
47
+ export {
48
+ i as getChangeViewSchema,
49
+ a as getCreateTaskSchema,
50
+ n as getDeleteTaskSchema
51
+ };
@@ -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
+ export declare function getGroupSchema(columnFields: string[]): object;
9
+ export declare function getAggregateSchema(columnFields: string[]): object;
10
+ export declare function getGroupExpandSchema(columnFields: string[]): object;
@@ -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"});function t(e){return{type:"object",properties:{field:{type:"string",enum:e,description:"Column field name to group by"},dir:{type:"string",enum:["asc","desc"],description:"Sort direction within the group"}},required:["field"]}}function r(e){return{type:"object",properties:{field:{type:"string",enum:e,description:"Column field name to aggregate"},aggregate:{type:"string",enum:["sum","average","count","min","max"],description:"Aggregate function to apply"}},required:["field","aggregate"]}}function i(e){return{type:"object",properties:{field:{type:"string",enum:e,description:"The grouped field name"},value:{type:"string",description:"The group value to expand or collapse"}},required:["field","value"]}}exports.getAggregateSchema=r;exports.getGroupExpandSchema=i;exports.getGroupSchema=t;
@@ -0,0 +1,46 @@
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
+ function t(e) {
9
+ return {
10
+ type: "object",
11
+ properties: {
12
+ field: { type: "string", enum: e, description: "Column field name to group by" },
13
+ dir: { type: "string", enum: ["asc", "desc"], description: "Sort direction within the group" }
14
+ },
15
+ required: ["field"]
16
+ };
17
+ }
18
+ function r(e) {
19
+ return {
20
+ type: "object",
21
+ properties: {
22
+ field: { type: "string", enum: e, description: "Column field name to aggregate" },
23
+ aggregate: {
24
+ type: "string",
25
+ enum: ["sum", "average", "count", "min", "max"],
26
+ description: "Aggregate function to apply"
27
+ }
28
+ },
29
+ required: ["field", "aggregate"]
30
+ };
31
+ }
32
+ function i(e) {
33
+ return {
34
+ type: "object",
35
+ properties: {
36
+ field: { type: "string", enum: e, description: "The grouped field name" },
37
+ value: { type: "string", description: "The group value to expand or collapse" }
38
+ },
39
+ required: ["field", "value"]
40
+ };
41
+ }
42
+ export {
43
+ r as getAggregateSchema,
44
+ i as getGroupExpandSchema,
45
+ t as getGroupSchema
46
+ };
@@ -0,0 +1,13 @@
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
+ export { FILTER_OPERATORS, getEmptySchema, getFilterSchema, getSortSchema, getPageSchema, getPageSizeSchema, getExportSchema, buildFilterPayload, buildSortPayload, getExpandCollapseSchema, buildExpandCollapsePayload } from './common.js';
9
+ export { getStringValueSchema, getNumberValueSchema, getBooleanValueSchema, getDateValueSchema, getTimeValueSchema, getDateTimeValueSchema, getDateRangeValueSchema, getNumericRangeValueSchema, getColorValueSchema, getDropDownValueSchema, getMultiSelectAddValueSchema, getMultiSelectRemoveValueSchema } from './input.js';
10
+ export { getGroupSchema, getAggregateSchema, getGroupExpandSchema } from './grid.js';
11
+ export { getColumnIdSchema, getColumnReorderSchema, getColumnResizeSchema, getRowMatchSchema, buildRowMatchPayload } from './table.js';
12
+ export { getCreateSchema as getSchedulerCreateSchema, getDeleteSchema as getSchedulerDeleteSchema, getNavigateSchema as getSchedulerNavigateSchema, getViewSchema as getSchedulerViewSchema } from './scheduler.js';
13
+ export { getChangeViewSchema as getGanttChangeViewSchema, getCreateTaskSchema as getGanttCreateTaskSchema, getDeleteTaskSchema as getGanttDeleteTaskSchema } from './gantt.js';
@@ -0,0 +1,19 @@
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
+ export declare function getStringValueSchema(): object;
9
+ export declare function getNumberValueSchema(): object;
10
+ export declare function getBooleanValueSchema(): object;
11
+ export declare function getDateValueSchema(): object;
12
+ export declare function getTimeValueSchema(): object;
13
+ export declare function getDateTimeValueSchema(): object;
14
+ export declare function getDateRangeValueSchema(): object;
15
+ export declare function getNumericRangeValueSchema(): object;
16
+ export declare function getColorValueSchema(): object;
17
+ export declare function getDropDownValueSchema(): object;
18
+ export declare function getMultiSelectAddValueSchema(): object;
19
+ export declare function getMultiSelectRemoveValueSchema(): object;
@@ -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"});function e(){return{type:"object",properties:{value:{type:"string",description:"The text value to set."}},required:["value"]}}function t(){return{type:"object",properties:{value:{type:"number",description:"The numeric value to set."}},required:["value"]}}function r(){return{type:"object",properties:{value:{type:"boolean",description:"The boolean value to set (true or false)."}},required:["value"]}}function a(){return{type:"object",properties:{value:{type:"string",description:'The date value in ISO 8601 format (e.g. "2026-04-23").'}},required:["value"]}}function u(){return{type:"object",properties:{value:{type:"string",description:'The time value in ISO 8601 format (e.g. "14:30:00").'}},required:["value"]}}function i(){return{type:"object",properties:{value:{type:"string",description:'The date and time value in ISO 8601 format (e.g. "2026-04-23T14:30:00").'}},required:["value"]}}function o(){return{type:"object",properties:{startValue:{type:"string",description:'The start date in ISO 8601 format (e.g. "2026-04-01").'},endValue:{type:"string",description:'The end date in ISO 8601 format (e.g. "2026-04-30").'}},required:["startValue","endValue"]}}function n(){return{type:"object",properties:{startValue:{type:"number",description:"The start value of the range."},endValue:{type:"number",description:"The end value of the range."}},required:["startValue","endValue"]}}function l(){return{type:"object",properties:{value:{type:"string",description:'The color value as a hex string (e.g. "#ff6358") or named CSS color.'}},required:["value"]}}function c(){return{type:"object",properties:{value:{type:"string",description:"The value to select from the available options."}},required:["value"]}}function p(){return{type:"object",properties:{value:{type:"string",description:"The value to add to the selection."}},required:["value"]}}function s(){return{type:"object",properties:{value:{type:"string",description:"The value to remove from the selection."}},required:["value"]}}exports.getBooleanValueSchema=r;exports.getColorValueSchema=l;exports.getDateRangeValueSchema=o;exports.getDateTimeValueSchema=i;exports.getDateValueSchema=a;exports.getDropDownValueSchema=c;exports.getMultiSelectAddValueSchema=p;exports.getMultiSelectRemoveValueSchema=s;exports.getNumberValueSchema=t;exports.getNumericRangeValueSchema=n;exports.getStringValueSchema=e;exports.getTimeValueSchema=u;
@@ -0,0 +1,137 @@
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
+ function e() {
9
+ return {
10
+ type: "object",
11
+ properties: {
12
+ value: { type: "string", description: "The text value to set." }
13
+ },
14
+ required: ["value"]
15
+ };
16
+ }
17
+ function t() {
18
+ return {
19
+ type: "object",
20
+ properties: {
21
+ value: { type: "number", description: "The numeric value to set." }
22
+ },
23
+ required: ["value"]
24
+ };
25
+ }
26
+ function r() {
27
+ return {
28
+ type: "object",
29
+ properties: {
30
+ value: { type: "boolean", description: "The boolean value to set (true or false)." }
31
+ },
32
+ required: ["value"]
33
+ };
34
+ }
35
+ function a() {
36
+ return {
37
+ type: "object",
38
+ properties: {
39
+ value: { type: "string", description: 'The date value in ISO 8601 format (e.g. "2026-04-23").' }
40
+ },
41
+ required: ["value"]
42
+ };
43
+ }
44
+ function u() {
45
+ return {
46
+ type: "object",
47
+ properties: {
48
+ value: { type: "string", description: 'The time value in ISO 8601 format (e.g. "14:30:00").' }
49
+ },
50
+ required: ["value"]
51
+ };
52
+ }
53
+ function i() {
54
+ return {
55
+ type: "object",
56
+ properties: {
57
+ value: {
58
+ type: "string",
59
+ description: 'The date and time value in ISO 8601 format (e.g. "2026-04-23T14:30:00").'
60
+ }
61
+ },
62
+ required: ["value"]
63
+ };
64
+ }
65
+ function n() {
66
+ return {
67
+ type: "object",
68
+ properties: {
69
+ startValue: { type: "string", description: 'The start date in ISO 8601 format (e.g. "2026-04-01").' },
70
+ endValue: { type: "string", description: 'The end date in ISO 8601 format (e.g. "2026-04-30").' }
71
+ },
72
+ required: ["startValue", "endValue"]
73
+ };
74
+ }
75
+ function o() {
76
+ return {
77
+ type: "object",
78
+ properties: {
79
+ startValue: { type: "number", description: "The start value of the range." },
80
+ endValue: { type: "number", description: "The end value of the range." }
81
+ },
82
+ required: ["startValue", "endValue"]
83
+ };
84
+ }
85
+ function l() {
86
+ return {
87
+ type: "object",
88
+ properties: {
89
+ value: {
90
+ type: "string",
91
+ description: 'The color value as a hex string (e.g. "#ff6358") or named CSS color.'
92
+ }
93
+ },
94
+ required: ["value"]
95
+ };
96
+ }
97
+ function p() {
98
+ return {
99
+ type: "object",
100
+ properties: {
101
+ value: { type: "string", description: "The value to select from the available options." }
102
+ },
103
+ required: ["value"]
104
+ };
105
+ }
106
+ function c() {
107
+ return {
108
+ type: "object",
109
+ properties: {
110
+ value: { type: "string", description: "The value to add to the selection." }
111
+ },
112
+ required: ["value"]
113
+ };
114
+ }
115
+ function s() {
116
+ return {
117
+ type: "object",
118
+ properties: {
119
+ value: { type: "string", description: "The value to remove from the selection." }
120
+ },
121
+ required: ["value"]
122
+ };
123
+ }
124
+ export {
125
+ r as getBooleanValueSchema,
126
+ l as getColorValueSchema,
127
+ n as getDateRangeValueSchema,
128
+ i as getDateTimeValueSchema,
129
+ a as getDateValueSchema,
130
+ p as getDropDownValueSchema,
131
+ c as getMultiSelectAddValueSchema,
132
+ s as getMultiSelectRemoveValueSchema,
133
+ t as getNumberValueSchema,
134
+ o as getNumericRangeValueSchema,
135
+ e as getStringValueSchema,
136
+ u as getTimeValueSchema
137
+ };
@@ -0,0 +1,11 @@
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
+ export declare function getCreateSchema(): object;
9
+ export declare function getDeleteSchema(): object;
10
+ export declare function getNavigateSchema(): object;
11
+ export declare function getViewSchema(): object;
@@ -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=["Day","MultiDay","Week","Month","Timeline","Agenda"];function t(){return{type:"object",properties:{title:{type:"string",description:"Title of the new event"},start:{type:"string",description:'Start date and time in ISO 8601 format (e.g. "2026-04-08T09:00:00")'},end:{type:"string",description:'End date and time in ISO 8601 format (e.g. "2026-04-08T10:00:00")'},isAllDay:{type:"boolean",description:"Whether the event spans the entire day"},description:{type:"string",description:"Optional description of the event"}},required:["title","start","end"]}}function i(){return{type:"object",properties:{title:{type:"string",description:"Title of the event to delete"},start:{type:"string",description:"Start date/time of the event to identify it (ISO 8601)"}},required:["title"]}}function r(){return{type:"object",properties:{date:{type:"string",description:'Date to navigate to in ISO 8601 format (e.g. "2026-04-15")'}},required:["date"]}}function n(){return{type:"object",properties:{view:{type:"string",enum:e,description:"The scheduler view to switch to"}},required:["view"]}}exports.getCreateSchema=t;exports.getDeleteSchema=i;exports.getNavigateSchema=r;exports.getViewSchema=n;
@@ -0,0 +1,58 @@
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
+ const e = ["Day", "MultiDay", "Week", "Month", "Timeline", "Agenda"];
9
+ function t() {
10
+ return {
11
+ type: "object",
12
+ properties: {
13
+ title: { type: "string", description: "Title of the new event" },
14
+ start: {
15
+ type: "string",
16
+ description: 'Start date and time in ISO 8601 format (e.g. "2026-04-08T09:00:00")'
17
+ },
18
+ end: { type: "string", description: 'End date and time in ISO 8601 format (e.g. "2026-04-08T10:00:00")' },
19
+ isAllDay: { type: "boolean", description: "Whether the event spans the entire day" },
20
+ description: { type: "string", description: "Optional description of the event" }
21
+ },
22
+ required: ["title", "start", "end"]
23
+ };
24
+ }
25
+ function i() {
26
+ return {
27
+ type: "object",
28
+ properties: {
29
+ title: { type: "string", description: "Title of the event to delete" },
30
+ start: { type: "string", description: "Start date/time of the event to identify it (ISO 8601)" }
31
+ },
32
+ required: ["title"]
33
+ };
34
+ }
35
+ function n() {
36
+ return {
37
+ type: "object",
38
+ properties: {
39
+ date: { type: "string", description: 'Date to navigate to in ISO 8601 format (e.g. "2026-04-15")' }
40
+ },
41
+ required: ["date"]
42
+ };
43
+ }
44
+ function r() {
45
+ return {
46
+ type: "object",
47
+ properties: {
48
+ view: { type: "string", enum: e, description: "The scheduler view to switch to" }
49
+ },
50
+ required: ["view"]
51
+ };
52
+ }
53
+ export {
54
+ t as getCreateSchema,
55
+ i as getDeleteSchema,
56
+ n as getNavigateSchema,
57
+ r as getViewSchema
58
+ };
@@ -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
+ export declare function getColumnIdSchema(columnIds: string[]): object;
9
+ export declare function getColumnReorderSchema(columnIds: string[]): object;
10
+ export declare function getColumnResizeSchema(columnIds: string[]): object;
11
+ export declare function getRowMatchSchema(columnFields: string[]): object;
12
+ export declare function buildRowMatchPayload(args: Record<string, unknown>): object | null;
@@ -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 o=require("./common.js");function n(e){return{type:"object",properties:{id:{type:"string",description:"Column identifier",...e.length>0?{enum:e}:{}}},required:["id"]}}function l(e){return{type:"object",properties:{id:{type:"string",description:"Column identifier to move",...e.length>0?{enum:e}:{}},position:{type:"number",description:"Target position index (0-based)"}},required:["id","position"]}}function d(e){return{type:"object",properties:{id:{type:"string",description:"Column identifier to resize",...e.length>0?{enum:e}:{}},size:{type:"string",description:'New column width (e.g. "200px")'}},required:["id","size"]}}function p(e){return{type:"object",properties:{field:{type:"string",enum:e,description:"Column field name to match"},operator:{type:"string",enum:o.FILTER_OPERATORS,description:"Filter operator"},value:{description:"Filter value (string, number, or boolean depending on column type)"},cells:{type:"array",items:{type:"string",enum:e},description:"Optional list of column fields to target. When provided, only the specified cells in matching rows are affected instead of entire rows."}},required:["field","operator","value"]}}function u(e){if(!e.field||!e.operator)return null;const t={logic:"and",filters:[{field:e.field,operator:e.operator,value:e.value}]};return e.cells&&(t.cells=e.cells.reduce((i,r)=>(i[r]=!0,i),{})),t}exports.buildRowMatchPayload=u;exports.getColumnIdSchema=n;exports.getColumnReorderSchema=l;exports.getColumnResizeSchema=d;exports.getRowMatchSchema=p;
@@ -0,0 +1,87 @@
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 { FILTER_OPERATORS as n } from "./common.mjs";
9
+ function p(e) {
10
+ return {
11
+ type: "object",
12
+ properties: {
13
+ id: {
14
+ type: "string",
15
+ description: "Column identifier",
16
+ ...e.length > 0 ? { enum: e } : {}
17
+ }
18
+ },
19
+ required: ["id"]
20
+ };
21
+ }
22
+ function l(e) {
23
+ return {
24
+ type: "object",
25
+ properties: {
26
+ id: {
27
+ type: "string",
28
+ description: "Column identifier to move",
29
+ ...e.length > 0 ? { enum: e } : {}
30
+ },
31
+ position: { type: "number", description: "Target position index (0-based)" }
32
+ },
33
+ required: ["id", "position"]
34
+ };
35
+ }
36
+ function d(e) {
37
+ return {
38
+ type: "object",
39
+ properties: {
40
+ id: {
41
+ type: "string",
42
+ description: "Column identifier to resize",
43
+ ...e.length > 0 ? { enum: e } : {}
44
+ },
45
+ size: { type: "string", description: 'New column width (e.g. "200px")' }
46
+ },
47
+ required: ["id", "size"]
48
+ };
49
+ }
50
+ function u(e) {
51
+ return {
52
+ type: "object",
53
+ properties: {
54
+ field: { type: "string", enum: e, description: "Column field name to match" },
55
+ operator: { type: "string", enum: n, description: "Filter operator" },
56
+ value: { description: "Filter value (string, number, or boolean depending on column type)" },
57
+ cells: {
58
+ type: "array",
59
+ items: { type: "string", enum: e },
60
+ description: "Optional list of column fields to target. When provided, only the specified cells in matching rows are affected instead of entire rows."
61
+ }
62
+ },
63
+ required: ["field", "operator", "value"]
64
+ };
65
+ }
66
+ function c(e) {
67
+ if (!e.field || !e.operator)
68
+ return null;
69
+ const t = {
70
+ logic: "and",
71
+ filters: [
72
+ {
73
+ field: e.field,
74
+ operator: e.operator,
75
+ value: e.value
76
+ }
77
+ ]
78
+ };
79
+ return e.cells && (t.cells = e.cells.reduce((i, r) => (i[r] = !0, i), {})), t;
80
+ }
81
+ export {
82
+ c as buildRowMatchPayload,
83
+ p as getColumnIdSchema,
84
+ l as getColumnReorderSchema,
85
+ d as getColumnResizeSchema,
86
+ u as getRowMatchSchema
87
+ };
package/types.d.ts ADDED
@@ -0,0 +1,39 @@
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 { WebMcpToolRegistration, WebMcpModelContext } from '@progress/kendo-react-common';
9
+ /** Configuration passed from the provider to every adapter. */
10
+ export interface WebMcpConfig {
11
+ /** Human-readable data name exposed to AI agents. */
12
+ dataName: string;
13
+ /** Tool name prefix — `${dataName}_${componentSuffix}` by default. */
14
+ groupName: string;
15
+ }
16
+ /**
17
+ * A tool adapter creates a set of Web MCP tool registrations for a
18
+ * specific KendoReact component type.
19
+ *
20
+ * The provider calls `createTools` once the child component is mounted
21
+ * and its ref (imperative handle) is available.
22
+ */
23
+ export interface ToolAdapter<THandle = unknown, TProps = unknown> {
24
+ /** Component-type suffix used to build the default tool name prefix (e.g. 'textbox', 'grid'). */
25
+ componentSuffix: string;
26
+ /**
27
+ * Create MCP tool registrations for a component instance.
28
+ *
29
+ * @param handle - The component's imperative handle (snapshot from registration time).
30
+ * @param propsRef - A ref to the component's current props. Read `.current` inside tool
31
+ * execute callbacks for live values.
32
+ * @param config - Resolved MCP configuration (dataName, groupName).
33
+ * @param mc - The browser's `navigator.modelContext` surface.
34
+ * @returns An array of tool registrations (each has `.unregister()`).
35
+ */
36
+ createTools(handle: THandle | null, propsRef: {
37
+ current: TProps;
38
+ }, config: WebMcpConfig, mc: WebMcpModelContext): WebMcpToolRegistration[];
39
+ }