@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,135 @@
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 { McpColumnInfo } from '../mcp-types';
9
+ /**
10
+ * Command constants for the TreeList component.
11
+ * These commands allow AI agents to filter, sort, page, select rows, manage columns, and expand/collapse hierarchical rows.
12
+ */
13
+ export declare const TreeListCommands: {
14
+ /**
15
+ * Applies a filter to the TreeList data based on column field values.
16
+ *
17
+ * Parameters:
18
+ * - `field` *(string, required)* — The field name to filter by.
19
+ * - `operator` *(string, required)* — The filter operator (e.g. "contains", "eq").
20
+ * - `value` *(any, required)* — The value to filter for.
21
+ */
22
+ readonly Filter: "TreeListFilter";
23
+ /**
24
+ * Clears all active filters from the TreeList.
25
+ */
26
+ readonly ClearFilter: "TreeListClearFilter";
27
+ /**
28
+ * Sorts the TreeList data by a specified field.
29
+ *
30
+ * Parameters:
31
+ * - `field` *(string, required)* — The field name to sort by.
32
+ * - `dir` *(string, required)* — Sort direction: "asc" or "desc".
33
+ */
34
+ readonly Sort: "TreeListSort";
35
+ /**
36
+ * Clears all active sorting from the TreeList.
37
+ */
38
+ readonly ClearSort: "TreeListClearSort";
39
+ /**
40
+ * Selects rows in the TreeList matching the specified field criteria.
41
+ *
42
+ * Parameters:
43
+ * - `field` *(string, required)* — The field name to match against.
44
+ * - `value` *(any, required)* — The value to match for selection.
45
+ */
46
+ readonly Select: "TreeListSelect";
47
+ /**
48
+ * Clears all selected rows in the TreeList.
49
+ */
50
+ readonly ClearSelect: "TreeListClearSelect";
51
+ /**
52
+ * Navigates the TreeList to a specific page.
53
+ *
54
+ * Parameters:
55
+ * - `page` *(number, required)* — The 1-based page number to navigate to.
56
+ */
57
+ readonly Page: "TreeListPage";
58
+ /**
59
+ * Changes the number of rows displayed per page.
60
+ *
61
+ * Parameters:
62
+ * - `pageSize` *(number, required)* — The number of rows per page.
63
+ */
64
+ readonly PageSize: "TreeListPageSize";
65
+ /**
66
+ * Moves a column to a new position in the TreeList.
67
+ *
68
+ * Parameters:
69
+ * - `columnId` *(string, required)* — The ID of the column to move.
70
+ * - `targetIndex` *(number, required)* — The target position index.
71
+ */
72
+ readonly ColumnReorder: "TreeListColumnReorder";
73
+ /**
74
+ * Resizes a column to a specified width.
75
+ *
76
+ * Parameters:
77
+ * - `columnId` *(string, required)* — The ID of the column to resize.
78
+ * - `width` *(number, required)* — The new width in pixels.
79
+ */
80
+ readonly ColumnResize: "TreeListColumnResize";
81
+ /**
82
+ * Shows a hidden column by its ID.
83
+ *
84
+ * Parameters:
85
+ * - `columnId` *(string, required)* — The ID of the column to show.
86
+ */
87
+ readonly ColumnShow: "TreeListColumnShow";
88
+ /**
89
+ * Hides a visible column by its ID.
90
+ *
91
+ * Parameters:
92
+ * - `columnId` *(string, required)* — The ID of the column to hide.
93
+ */
94
+ readonly ColumnHide: "TreeListColumnHide";
95
+ /**
96
+ * Locks (freezes) a column so it stays visible during horizontal scrolling.
97
+ *
98
+ * Parameters:
99
+ * - `columnId` *(string, required)* — The ID of the column to lock.
100
+ */
101
+ readonly ColumnLock: "TreeListColumnLock";
102
+ /**
103
+ * Unlocks a previously locked column.
104
+ *
105
+ * Parameters:
106
+ * - `columnId` *(string, required)* — The ID of the column to unlock.
107
+ */
108
+ readonly ColumnUnlock: "TreeListColumnUnlock";
109
+ /**
110
+ * Expands a hierarchical row to show its children.
111
+ *
112
+ * Parameters:
113
+ * - `field` *(string, required)* — The field name used to identify the row.
114
+ * - `value` *(any, required)* — The field value of the row to expand.
115
+ */
116
+ readonly Expand: "TreeListExpand";
117
+ /**
118
+ * Collapses a hierarchical row to hide its children.
119
+ *
120
+ * Parameters:
121
+ * - `field` *(string, required)* — The field name used to identify the row.
122
+ * - `value` *(any, required)* — The field value of the row to collapse.
123
+ */
124
+ readonly Collapse: "TreeListCollapse";
125
+ /**
126
+ * Expands all hierarchical rows in the TreeList.
127
+ */
128
+ readonly ExpandAll: "TreeListExpandAll";
129
+ /**
130
+ * Collapses all hierarchical rows in the TreeList.
131
+ */
132
+ readonly CollapseAll: "TreeListCollapseAll";
133
+ };
134
+ /** @hidden */
135
+ export declare function getTreeListToolSchema(commandType: string, columns: McpColumnInfo[], pageSizes?: number[]): 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 t=require("../schemas/common.js"),r=require("../schemas/table.js"),e={Filter:"TreeListFilter",ClearFilter:"TreeListClearFilter",Sort:"TreeListSort",ClearSort:"TreeListClearSort",Select:"TreeListSelect",ClearSelect:"TreeListClearSelect",Page:"TreeListPage",PageSize:"TreeListPageSize",ColumnReorder:"TreeListColumnReorder",ColumnResize:"TreeListColumnResize",ColumnShow:"TreeListColumnShow",ColumnHide:"TreeListColumnHide",ColumnLock:"TreeListColumnLock",ColumnUnlock:"TreeListColumnUnlock",Expand:"TreeListExpand",Collapse:"TreeListCollapse",ExpandAll:"TreeListExpandAll",CollapseAll:"TreeListCollapseAll"};function m(s,n,c=[]){const a=n.map(o=>o.field).filter(Boolean),l=n.map(o=>o.id).filter(Boolean);switch(s){case e.Filter:return t.getFilterSchema(a);case e.ClearFilter:return t.getEmptySchema();case e.Sort:return t.getSortSchema(a);case e.ClearSort:return t.getEmptySchema();case e.Select:return r.getRowMatchSchema(a);case e.ClearSelect:return t.getEmptySchema();case e.Page:return t.getPageSchema();case e.PageSize:return t.getPageSizeSchema(c);case e.ColumnReorder:return r.getColumnReorderSchema(l);case e.ColumnResize:return r.getColumnResizeSchema(l);case e.ColumnShow:return r.getColumnIdSchema(l);case e.ColumnHide:return r.getColumnIdSchema(l);case e.ColumnLock:return r.getColumnIdSchema(l);case e.ColumnUnlock:return r.getColumnIdSchema(l);case e.Expand:return t.getExpandCollapseSchema(a);case e.Collapse:return t.getExpandCollapseSchema(a);case e.ExpandAll:return t.getEmptySchema();case e.CollapseAll:return t.getEmptySchema();default:return t.getEmptySchema()}}exports.TreeListCommands=e;exports.getTreeListToolSchema=m;
@@ -0,0 +1,177 @@
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 { getEmptySchema as t, getExpandCollapseSchema as s, getPageSizeSchema as u, getPageSchema as m, getSortSchema as C, getFilterSchema as S } from "../schemas/common.mjs";
9
+ import { getColumnIdSchema as a, getColumnResizeSchema as L, getColumnReorderSchema as d, getRowMatchSchema as T } from "../schemas/table.mjs";
10
+ const e = {
11
+ /**
12
+ * Applies a filter to the TreeList data based on column field values.
13
+ *
14
+ * Parameters:
15
+ * - `field` *(string, required)* — The field name to filter by.
16
+ * - `operator` *(string, required)* — The filter operator (e.g. "contains", "eq").
17
+ * - `value` *(any, required)* — The value to filter for.
18
+ */
19
+ Filter: "TreeListFilter",
20
+ /**
21
+ * Clears all active filters from the TreeList.
22
+ */
23
+ ClearFilter: "TreeListClearFilter",
24
+ /**
25
+ * Sorts the TreeList data by a specified field.
26
+ *
27
+ * Parameters:
28
+ * - `field` *(string, required)* — The field name to sort by.
29
+ * - `dir` *(string, required)* — Sort direction: "asc" or "desc".
30
+ */
31
+ Sort: "TreeListSort",
32
+ /**
33
+ * Clears all active sorting from the TreeList.
34
+ */
35
+ ClearSort: "TreeListClearSort",
36
+ /**
37
+ * Selects rows in the TreeList matching the specified field criteria.
38
+ *
39
+ * Parameters:
40
+ * - `field` *(string, required)* — The field name to match against.
41
+ * - `value` *(any, required)* — The value to match for selection.
42
+ */
43
+ Select: "TreeListSelect",
44
+ /**
45
+ * Clears all selected rows in the TreeList.
46
+ */
47
+ ClearSelect: "TreeListClearSelect",
48
+ /**
49
+ * Navigates the TreeList to a specific page.
50
+ *
51
+ * Parameters:
52
+ * - `page` *(number, required)* — The 1-based page number to navigate to.
53
+ */
54
+ Page: "TreeListPage",
55
+ /**
56
+ * Changes the number of rows displayed per page.
57
+ *
58
+ * Parameters:
59
+ * - `pageSize` *(number, required)* — The number of rows per page.
60
+ */
61
+ PageSize: "TreeListPageSize",
62
+ /**
63
+ * Moves a column to a new position in the TreeList.
64
+ *
65
+ * Parameters:
66
+ * - `columnId` *(string, required)* — The ID of the column to move.
67
+ * - `targetIndex` *(number, required)* — The target position index.
68
+ */
69
+ ColumnReorder: "TreeListColumnReorder",
70
+ /**
71
+ * Resizes a column to a specified width.
72
+ *
73
+ * Parameters:
74
+ * - `columnId` *(string, required)* — The ID of the column to resize.
75
+ * - `width` *(number, required)* — The new width in pixels.
76
+ */
77
+ ColumnResize: "TreeListColumnResize",
78
+ /**
79
+ * Shows a hidden column by its ID.
80
+ *
81
+ * Parameters:
82
+ * - `columnId` *(string, required)* — The ID of the column to show.
83
+ */
84
+ ColumnShow: "TreeListColumnShow",
85
+ /**
86
+ * Hides a visible column by its ID.
87
+ *
88
+ * Parameters:
89
+ * - `columnId` *(string, required)* — The ID of the column to hide.
90
+ */
91
+ ColumnHide: "TreeListColumnHide",
92
+ /**
93
+ * Locks (freezes) a column so it stays visible during horizontal scrolling.
94
+ *
95
+ * Parameters:
96
+ * - `columnId` *(string, required)* — The ID of the column to lock.
97
+ */
98
+ ColumnLock: "TreeListColumnLock",
99
+ /**
100
+ * Unlocks a previously locked column.
101
+ *
102
+ * Parameters:
103
+ * - `columnId` *(string, required)* — The ID of the column to unlock.
104
+ */
105
+ ColumnUnlock: "TreeListColumnUnlock",
106
+ /**
107
+ * Expands a hierarchical row to show its children.
108
+ *
109
+ * Parameters:
110
+ * - `field` *(string, required)* — The field name used to identify the row.
111
+ * - `value` *(any, required)* — The field value of the row to expand.
112
+ */
113
+ Expand: "TreeListExpand",
114
+ /**
115
+ * Collapses a hierarchical row to hide its children.
116
+ *
117
+ * Parameters:
118
+ * - `field` *(string, required)* — The field name used to identify the row.
119
+ * - `value` *(any, required)* — The field value of the row to collapse.
120
+ */
121
+ Collapse: "TreeListCollapse",
122
+ /**
123
+ * Expands all hierarchical rows in the TreeList.
124
+ */
125
+ ExpandAll: "TreeListExpandAll",
126
+ /**
127
+ * Collapses all hierarchical rows in the TreeList.
128
+ */
129
+ CollapseAll: "TreeListCollapseAll"
130
+ };
131
+ function h(i, n, c = []) {
132
+ const l = n.map((o) => o.field).filter(Boolean), r = n.map((o) => o.id).filter(Boolean);
133
+ switch (i) {
134
+ case e.Filter:
135
+ return S(l);
136
+ case e.ClearFilter:
137
+ return t();
138
+ case e.Sort:
139
+ return C(l);
140
+ case e.ClearSort:
141
+ return t();
142
+ case e.Select:
143
+ return T(l);
144
+ case e.ClearSelect:
145
+ return t();
146
+ case e.Page:
147
+ return m();
148
+ case e.PageSize:
149
+ return u(c);
150
+ case e.ColumnReorder:
151
+ return d(r);
152
+ case e.ColumnResize:
153
+ return L(r);
154
+ case e.ColumnShow:
155
+ return a(r);
156
+ case e.ColumnHide:
157
+ return a(r);
158
+ case e.ColumnLock:
159
+ return a(r);
160
+ case e.ColumnUnlock:
161
+ return a(r);
162
+ case e.Expand:
163
+ return s(l);
164
+ case e.Collapse:
165
+ return s(l);
166
+ case e.ExpandAll:
167
+ return t();
168
+ case e.CollapseAll:
169
+ return t();
170
+ default:
171
+ return t();
172
+ }
173
+ }
174
+ export {
175
+ e as TreeListCommands,
176
+ h as getTreeListToolSchema
177
+ };
@@ -0,0 +1,44 @@
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
+ /**
9
+ * Command constants for the TreeView component.
10
+ * These commands allow AI agents to expand, collapse, select, and check nodes in the tree.
11
+ */
12
+ export declare const TreeViewCommands: {
13
+ /**
14
+ * Expands a tree node to show its children.
15
+ *
16
+ * Parameters:
17
+ * - `nodeText` *(string, required)* — The text of the tree node to expand.
18
+ */
19
+ readonly Expand: "TreeViewExpand";
20
+ /**
21
+ * Collapses a tree node to hide its children.
22
+ *
23
+ * Parameters:
24
+ * - `nodeText` *(string, required)* — The text of the tree node to collapse.
25
+ */
26
+ readonly Collapse: "TreeViewCollapse";
27
+ /**
28
+ * Selects a tree node by its text.
29
+ *
30
+ * Parameters:
31
+ * - `nodeText` *(string, required)* — The text of the tree node to select.
32
+ */
33
+ readonly Select: "TreeViewSelect";
34
+ /**
35
+ * Checks or unchecks a tree node (for checkbox-enabled trees).
36
+ *
37
+ * Parameters:
38
+ * - `nodeText` *(string, required)* — The text of the tree node to check or uncheck.
39
+ * - `checkChildren` *(boolean, optional)* — When true, also checks/unchecks all child nodes recursively.
40
+ */
41
+ readonly Check: "TreeViewCheck";
42
+ };
43
+ /** @hidden */
44
+ export declare function getTreeViewToolSchema(commandType: 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"});const e={Expand:"TreeViewExpand",Collapse:"TreeViewCollapse",Select:"TreeViewSelect",Check:"TreeViewCheck"};function r(t){switch(t){case e.Expand:return{type:"object",properties:{nodeText:{type:"string",description:"The text of the tree node to expand"}},required:["nodeText"]};case e.Collapse:return{type:"object",properties:{nodeText:{type:"string",description:"The text of the tree node to collapse"}},required:["nodeText"]};case e.Select:return{type:"object",properties:{nodeText:{type:"string",description:"The text of the tree node to select"}},required:["nodeText"]};case e.Check:return{type:"object",properties:{nodeText:{type:"string",description:"The text of the tree node to check or uncheck"},checkChildren:{type:"boolean",description:"When true, also checks or unchecks all child nodes recursively. Defaults to false."}},required:["nodeText"]};default:return{type:"object",properties:{}}}}exports.TreeViewCommands=e;exports.getTreeViewToolSchema=r;
@@ -0,0 +1,84 @@
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 = {
9
+ /**
10
+ * Expands a tree node to show its children.
11
+ *
12
+ * Parameters:
13
+ * - `nodeText` *(string, required)* — The text of the tree node to expand.
14
+ */
15
+ Expand: "TreeViewExpand",
16
+ /**
17
+ * Collapses a tree node to hide its children.
18
+ *
19
+ * Parameters:
20
+ * - `nodeText` *(string, required)* — The text of the tree node to collapse.
21
+ */
22
+ Collapse: "TreeViewCollapse",
23
+ /**
24
+ * Selects a tree node by its text.
25
+ *
26
+ * Parameters:
27
+ * - `nodeText` *(string, required)* — The text of the tree node to select.
28
+ */
29
+ Select: "TreeViewSelect",
30
+ /**
31
+ * Checks or unchecks a tree node (for checkbox-enabled trees).
32
+ *
33
+ * Parameters:
34
+ * - `nodeText` *(string, required)* — The text of the tree node to check or uncheck.
35
+ * - `checkChildren` *(boolean, optional)* — When true, also checks/unchecks all child nodes recursively.
36
+ */
37
+ Check: "TreeViewCheck"
38
+ };
39
+ function r(t) {
40
+ switch (t) {
41
+ case e.Expand:
42
+ return {
43
+ type: "object",
44
+ properties: {
45
+ nodeText: { type: "string", description: "The text of the tree node to expand" }
46
+ },
47
+ required: ["nodeText"]
48
+ };
49
+ case e.Collapse:
50
+ return {
51
+ type: "object",
52
+ properties: {
53
+ nodeText: { type: "string", description: "The text of the tree node to collapse" }
54
+ },
55
+ required: ["nodeText"]
56
+ };
57
+ case e.Select:
58
+ return {
59
+ type: "object",
60
+ properties: {
61
+ nodeText: { type: "string", description: "The text of the tree node to select" }
62
+ },
63
+ required: ["nodeText"]
64
+ };
65
+ case e.Check:
66
+ return {
67
+ type: "object",
68
+ properties: {
69
+ nodeText: { type: "string", description: "The text of the tree node to check or uncheck" },
70
+ checkChildren: {
71
+ type: "boolean",
72
+ description: "When true, also checks or unchecks all child nodes recursively. Defaults to false."
73
+ }
74
+ },
75
+ required: ["nodeText"]
76
+ };
77
+ default:
78
+ return { type: "object", properties: {} };
79
+ }
80
+ }
81
+ export {
82
+ e as TreeViewCommands,
83
+ r as getTreeViewToolSchema
84
+ };
@@ -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
+ /**
9
+ * Command constants for the Upload component.
10
+ * These commands allow AI agents to clear the file list in the Upload widget.
11
+ */
12
+ export declare const UploadCommands: {
13
+ /**
14
+ * Clears all files from the Upload file list.
15
+ */
16
+ readonly Clear: "UploadClear";
17
+ };
18
+ /** @hidden */
19
+ export declare function getUploadToolSchema(_commandType: 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"});const o=require("../schemas/common.js"),e={Clear:"UploadClear"};function a(t){return o.getEmptySchema()}exports.UploadCommands=e;exports.getUploadToolSchema=a;
@@ -0,0 +1,21 @@
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 { getEmptySchema as o } from "../schemas/common.mjs";
9
+ const m = {
10
+ /**
11
+ * Clears all files from the Upload file list.
12
+ */
13
+ Clear: "UploadClear"
14
+ };
15
+ function t(a) {
16
+ return o();
17
+ }
18
+ export {
19
+ m as UploadCommands,
20
+ t as getUploadToolSchema
21
+ };
@@ -0,0 +1,35 @@
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
+ /**
9
+ * Command constants for the Window component.
10
+ * These commands allow AI agents to open, close, minimize, maximize, and restore the floating Window.
11
+ */
12
+ export declare const WindowCommands: {
13
+ /**
14
+ * Opens the Window, making it visible.
15
+ */
16
+ readonly Open: "WindowOpen";
17
+ /**
18
+ * Closes the Window, hiding it from view.
19
+ */
20
+ readonly Close: "WindowClose";
21
+ /**
22
+ * Minimizes the Window to the taskbar or a collapsed state.
23
+ */
24
+ readonly Minimize: "WindowMinimize";
25
+ /**
26
+ * Maximizes the Window to fill the available viewport.
27
+ */
28
+ readonly Maximize: "WindowMaximize";
29
+ /**
30
+ * Restores the Window to its previous size and position after being minimized or maximized.
31
+ */
32
+ readonly Restore: "WindowRestore";
33
+ };
34
+ /** @hidden */
35
+ export declare function getWindowToolSchema(commandType: 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"});const o=require("../schemas/common.js"),e={Open:"WindowOpen",Close:"WindowClose",Minimize:"WindowMinimize",Maximize:"WindowMaximize",Restore:"WindowRestore"};function n(i){switch(i){case e.Open:case e.Close:case e.Minimize:case e.Maximize:case e.Restore:default:return o.getEmptySchema()}}exports.WindowCommands=e;exports.getWindowToolSchema=n;
@@ -0,0 +1,45 @@
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 { getEmptySchema as o } from "../schemas/common.mjs";
9
+ const e = {
10
+ /**
11
+ * Opens the Window, making it visible.
12
+ */
13
+ Open: "WindowOpen",
14
+ /**
15
+ * Closes the Window, hiding it from view.
16
+ */
17
+ Close: "WindowClose",
18
+ /**
19
+ * Minimizes the Window to the taskbar or a collapsed state.
20
+ */
21
+ Minimize: "WindowMinimize",
22
+ /**
23
+ * Maximizes the Window to fill the available viewport.
24
+ */
25
+ Maximize: "WindowMaximize",
26
+ /**
27
+ * Restores the Window to its previous size and position after being minimized or maximized.
28
+ */
29
+ Restore: "WindowRestore"
30
+ };
31
+ function s(i) {
32
+ switch (i) {
33
+ case e.Open:
34
+ case e.Close:
35
+ case e.Minimize:
36
+ case e.Maximize:
37
+ case e.Restore:
38
+ default:
39
+ return o();
40
+ }
41
+ }
42
+ export {
43
+ e as WindowCommands,
44
+ s as getWindowToolSchema
45
+ };