@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.
- package/LICENSE.md +11 -0
- package/NOTICE.txt +383 -0
- package/README.md +72 -0
- package/WebMcpProvider.d.ts +49 -0
- package/WebMcpProvider.js +8 -0
- package/WebMcpProvider.mjs +138 -0
- package/adapters/aiprompt.d.ts +15 -0
- package/adapters/aiprompt.js +8 -0
- package/adapters/aiprompt.mjs +63 -0
- package/adapters/autocomplete.d.ts +18 -0
- package/adapters/autocomplete.js +8 -0
- package/adapters/autocomplete.mjs +69 -0
- package/adapters/button.d.ts +18 -0
- package/adapters/button.js +8 -0
- package/adapters/button.mjs +46 -0
- package/adapters/calendar.d.ts +16 -0
- package/adapters/calendar.js +8 -0
- package/adapters/calendar.mjs +61 -0
- package/adapters/chart.d.ts +29 -0
- package/adapters/chart.js +8 -0
- package/adapters/chart.mjs +95 -0
- package/adapters/chat.d.ts +16 -0
- package/adapters/chat.js +8 -0
- package/adapters/chat.mjs +66 -0
- package/adapters/colorpicker.d.ts +16 -0
- package/adapters/colorpicker.js +8 -0
- package/adapters/colorpicker.mjs +60 -0
- package/adapters/combobox.d.ts +20 -0
- package/adapters/combobox.js +8 -0
- package/adapters/combobox.mjs +87 -0
- package/adapters/dashboard.d.ts +18 -0
- package/adapters/dashboard.js +8 -0
- package/adapters/dashboard.mjs +41 -0
- package/adapters/datepicker.d.ts +17 -0
- package/adapters/datepicker.js +8 -0
- package/adapters/datepicker.mjs +59 -0
- package/adapters/daterangepicker.d.ts +19 -0
- package/adapters/daterangepicker.js +8 -0
- package/adapters/daterangepicker.mjs +70 -0
- package/adapters/datetimepicker.d.ts +16 -0
- package/adapters/datetimepicker.js +8 -0
- package/adapters/datetimepicker.mjs +59 -0
- package/adapters/dialog.d.ts +15 -0
- package/adapters/dialog.js +8 -0
- package/adapters/dialog.mjs +58 -0
- package/adapters/drawer.d.ts +33 -0
- package/adapters/drawer.js +8 -0
- package/adapters/drawer.mjs +86 -0
- package/adapters/dropdownlist.d.ts +19 -0
- package/adapters/dropdownlist.js +8 -0
- package/adapters/dropdownlist.mjs +74 -0
- package/adapters/dropdowntree.d.ts +22 -0
- package/adapters/dropdowntree.js +8 -0
- package/adapters/dropdowntree.mjs +108 -0
- package/adapters/editor.d.ts +30 -0
- package/adapters/editor.js +8 -0
- package/adapters/editor.mjs +109 -0
- package/adapters/form.d.ts +20 -0
- package/adapters/form.js +10 -0
- package/adapters/form.mjs +115 -0
- package/adapters/gantt.d.ts +65 -0
- package/adapters/gantt.js +8 -0
- package/adapters/gantt.mjs +370 -0
- package/adapters/grid.d.ts +102 -0
- package/adapters/grid.js +8 -0
- package/adapters/grid.mjs +692 -0
- package/adapters/listbox.d.ts +18 -0
- package/adapters/listbox.js +8 -0
- package/adapters/listbox.mjs +87 -0
- package/adapters/listview.d.ts +22 -0
- package/adapters/listview.js +8 -0
- package/adapters/listview.mjs +80 -0
- package/adapters/map.d.ts +32 -0
- package/adapters/map.js +8 -0
- package/adapters/map.mjs +88 -0
- package/adapters/maskedtextbox.d.ts +17 -0
- package/adapters/maskedtextbox.js +8 -0
- package/adapters/maskedtextbox.mjs +57 -0
- package/adapters/menu.d.ts +16 -0
- package/adapters/menu.js +8 -0
- package/adapters/menu.mjs +50 -0
- package/adapters/multiselect.d.ts +19 -0
- package/adapters/multiselect.js +8 -0
- package/adapters/multiselect.mjs +75 -0
- package/adapters/notification.d.ts +17 -0
- package/adapters/notification.js +8 -0
- package/adapters/notification.mjs +57 -0
- package/adapters/numerictextbox.d.ts +19 -0
- package/adapters/numerictextbox.js +8 -0
- package/adapters/numerictextbox.mjs +78 -0
- package/adapters/panelbar.d.ts +17 -0
- package/adapters/panelbar.js +8 -0
- package/adapters/panelbar.mjs +66 -0
- package/adapters/pivotgrid.d.ts +16 -0
- package/adapters/pivotgrid.js +8 -0
- package/adapters/pivotgrid.mjs +126 -0
- package/adapters/rangeslider.d.ts +21 -0
- package/adapters/rangeslider.js +8 -0
- package/adapters/rangeslider.mjs +55 -0
- package/adapters/rating.d.ts +16 -0
- package/adapters/rating.js +8 -0
- package/adapters/rating.mjs +60 -0
- package/adapters/scheduler.d.ts +45 -0
- package/adapters/scheduler.js +8 -0
- package/adapters/scheduler.mjs +165 -0
- package/adapters/scrollview.d.ts +21 -0
- package/adapters/scrollview.js +8 -0
- package/adapters/scrollview.mjs +74 -0
- package/adapters/signature.d.ts +16 -0
- package/adapters/signature.js +8 -0
- package/adapters/signature.mjs +47 -0
- package/adapters/slider.d.ts +19 -0
- package/adapters/slider.js +8 -0
- package/adapters/slider.mjs +47 -0
- package/adapters/sortable.d.ts +17 -0
- package/adapters/sortable.js +8 -0
- package/adapters/sortable.mjs +67 -0
- package/adapters/spreadsheet.d.ts +32 -0
- package/adapters/spreadsheet.js +8 -0
- package/adapters/spreadsheet.mjs +256 -0
- package/adapters/stepper.d.ts +23 -0
- package/adapters/stepper.js +8 -0
- package/adapters/stepper.mjs +47 -0
- package/adapters/switch.d.ts +17 -0
- package/adapters/switch.js +8 -0
- package/adapters/switch.mjs +48 -0
- package/adapters/tabstrip.d.ts +19 -0
- package/adapters/tabstrip.js +8 -0
- package/adapters/tabstrip.mjs +47 -0
- package/adapters/taskboard.d.ts +20 -0
- package/adapters/taskboard.js +8 -0
- package/adapters/taskboard.mjs +104 -0
- package/adapters/textarea.d.ts +16 -0
- package/adapters/textarea.js +8 -0
- package/adapters/textarea.mjs +57 -0
- package/adapters/textbox.d.ts +19 -0
- package/adapters/textbox.js +8 -0
- package/adapters/textbox.mjs +61 -0
- package/adapters/timepicker.d.ts +16 -0
- package/adapters/timepicker.js +8 -0
- package/adapters/timepicker.mjs +59 -0
- package/adapters/treelist.d.ts +81 -0
- package/adapters/treelist.js +8 -0
- package/adapters/treelist.mjs +403 -0
- package/adapters/treeview.d.ts +25 -0
- package/adapters/treeview.js +9 -0
- package/adapters/treeview.mjs +212 -0
- package/adapters/upload.d.ts +15 -0
- package/adapters/upload.js +8 -0
- package/adapters/upload.mjs +52 -0
- package/adapters/utils.d.ts +16 -0
- package/adapters/utils.js +8 -0
- package/adapters/utils.mjs +25 -0
- package/adapters/window.d.ts +17 -0
- package/adapters/window.js +8 -0
- package/adapters/window.mjs +99 -0
- package/commands/aiprompt.d.ts +30 -0
- package/commands/aiprompt.js +8 -0
- package/commands/aiprompt.mjs +54 -0
- package/commands/autocomplete.d.ts +26 -0
- package/commands/autocomplete.js +8 -0
- package/commands/autocomplete.mjs +36 -0
- package/commands/button.d.ts +19 -0
- package/commands/button.js +8 -0
- package/commands/button.mjs +21 -0
- package/commands/calendar.d.ts +29 -0
- package/commands/calendar.js +8 -0
- package/commands/calendar.mjs +52 -0
- package/commands/chart.d.ts +27 -0
- package/commands/chart.js +8 -0
- package/commands/chart.mjs +43 -0
- package/commands/chat.d.ts +22 -0
- package/commands/chat.js +8 -0
- package/commands/chat.mjs +30 -0
- package/commands/checkbox.d.ts +26 -0
- package/commands/checkbox.js +8 -0
- package/commands/checkbox.mjs +36 -0
- package/commands/colorpicker.d.ts +26 -0
- package/commands/colorpicker.js +8 -0
- package/commands/colorpicker.mjs +36 -0
- package/commands/combobox.d.ts +34 -0
- package/commands/combobox.js +8 -0
- package/commands/combobox.mjs +48 -0
- package/commands/dashboard.d.ts +19 -0
- package/commands/dashboard.js +8 -0
- package/commands/dashboard.mjs +21 -0
- package/commands/datepicker.d.ts +26 -0
- package/commands/datepicker.js +8 -0
- package/commands/datepicker.mjs +36 -0
- package/commands/daterangepicker.d.ts +27 -0
- package/commands/daterangepicker.js +8 -0
- package/commands/daterangepicker.mjs +37 -0
- package/commands/datetimepicker.d.ts +26 -0
- package/commands/datetimepicker.js +8 -0
- package/commands/datetimepicker.mjs +36 -0
- package/commands/dialog.d.ts +23 -0
- package/commands/dialog.js +8 -0
- package/commands/dialog.mjs +25 -0
- package/commands/drawer.d.ts +30 -0
- package/commands/drawer.js +8 -0
- package/commands/drawer.mjs +38 -0
- package/commands/dropdownlist.d.ts +30 -0
- package/commands/dropdownlist.js +8 -0
- package/commands/dropdownlist.mjs +42 -0
- package/commands/dropdowntree.d.ts +34 -0
- package/commands/dropdowntree.js +8 -0
- package/commands/dropdowntree.mjs +48 -0
- package/commands/editor.d.ts +26 -0
- package/commands/editor.js +8 -0
- package/commands/editor.mjs +36 -0
- package/commands/form.d.ts +34 -0
- package/commands/form.js +8 -0
- package/commands/form.mjs +54 -0
- package/commands/gantt.d.ts +119 -0
- package/commands/gantt.js +8 -0
- package/commands/gantt.mjs +156 -0
- package/commands/grid.d.ts +209 -0
- package/commands/grid.js +8 -0
- package/commands/grid.mjs +280 -0
- package/commands/index.d.ts +58 -0
- package/commands/listbox.d.ts +31 -0
- package/commands/listbox.js +8 -0
- package/commands/listbox.mjs +69 -0
- package/commands/listview.d.ts +22 -0
- package/commands/listview.js +8 -0
- package/commands/listview.mjs +29 -0
- package/commands/map.d.ts +43 -0
- package/commands/map.js +8 -0
- package/commands/map.mjs +77 -0
- package/commands/maskedtextbox.d.ts +26 -0
- package/commands/maskedtextbox.js +8 -0
- package/commands/maskedtextbox.mjs +36 -0
- package/commands/menu.d.ts +22 -0
- package/commands/menu.js +8 -0
- package/commands/menu.mjs +30 -0
- package/commands/multicolumncombobox.d.ts +34 -0
- package/commands/multicolumncombobox.js +8 -0
- package/commands/multicolumncombobox.mjs +48 -0
- package/commands/multiselect.d.ts +41 -0
- package/commands/multiselect.js +8 -0
- package/commands/multiselect.mjs +57 -0
- package/commands/notification.d.ts +27 -0
- package/commands/notification.js +8 -0
- package/commands/notification.mjs +46 -0
- package/commands/numerictextbox.d.ts +34 -0
- package/commands/numerictextbox.js +8 -0
- package/commands/numerictextbox.mjs +48 -0
- package/commands/panelbar.d.ts +29 -0
- package/commands/panelbar.js +8 -0
- package/commands/panelbar.mjs +43 -0
- package/commands/pivotgrid.d.ts +56 -0
- package/commands/pivotgrid.js +8 -0
- package/commands/pivotgrid.mjs +87 -0
- package/commands/rangeslider.d.ts +23 -0
- package/commands/rangeslider.js +8 -0
- package/commands/rangeslider.mjs +25 -0
- package/commands/rating.d.ts +26 -0
- package/commands/rating.js +8 -0
- package/commands/rating.mjs +36 -0
- package/commands/scheduler.d.ts +45 -0
- package/commands/scheduler.js +8 -0
- package/commands/scheduler.mjs +59 -0
- package/commands/scrollview.d.ts +30 -0
- package/commands/scrollview.js +8 -0
- package/commands/scrollview.mjs +46 -0
- package/commands/signature.d.ts +19 -0
- package/commands/signature.js +8 -0
- package/commands/signature.mjs +21 -0
- package/commands/slider.d.ts +22 -0
- package/commands/slider.js +8 -0
- package/commands/slider.mjs +24 -0
- package/commands/sortable.d.ts +23 -0
- package/commands/sortable.js +8 -0
- package/commands/sortable.mjs +32 -0
- package/commands/spreadsheet.d.ts +92 -0
- package/commands/spreadsheet.js +8 -0
- package/commands/spreadsheet.mjs +181 -0
- package/commands/stepper.d.ts +22 -0
- package/commands/stepper.js +8 -0
- package/commands/stepper.mjs +35 -0
- package/commands/switch.d.ts +26 -0
- package/commands/switch.js +8 -0
- package/commands/switch.mjs +36 -0
- package/commands/tabstrip.d.ts +23 -0
- package/commands/tabstrip.js +8 -0
- package/commands/tabstrip.mjs +30 -0
- package/commands/taskboard.d.ts +48 -0
- package/commands/taskboard.js +8 -0
- package/commands/taskboard.mjs +90 -0
- package/commands/textarea.d.ts +26 -0
- package/commands/textarea.js +8 -0
- package/commands/textarea.mjs +36 -0
- package/commands/textbox.d.ts +26 -0
- package/commands/textbox.js +8 -0
- package/commands/textbox.mjs +36 -0
- package/commands/timepicker.d.ts +26 -0
- package/commands/timepicker.js +8 -0
- package/commands/timepicker.mjs +36 -0
- package/commands/treelist.d.ts +135 -0
- package/commands/treelist.js +8 -0
- package/commands/treelist.mjs +177 -0
- package/commands/treeview.d.ts +44 -0
- package/commands/treeview.js +8 -0
- package/commands/treeview.mjs +84 -0
- package/commands/upload.d.ts +19 -0
- package/commands/upload.js +8 -0
- package/commands/upload.mjs +21 -0
- package/commands/window.d.ts +35 -0
- package/commands/window.js +8 -0
- package/commands/window.mjs +45 -0
- package/dist/cdn/js/kendo-react-webmcp.js +15 -0
- package/grid-mcp-tools.d.ts +26 -0
- package/grid-mcp-tools.js +8 -0
- package/grid-mcp-tools.mjs +75 -0
- package/index.d.mts +68 -0
- package/index.d.ts +68 -0
- package/index.js +8 -0
- package/index.mjs +308 -0
- package/mcp-types.d.ts +12 -0
- package/package.json +64 -0
- package/schemas/common.d.ts +27 -0
- package/schemas/common.js +8 -0
- package/schemas/common.mjs +113 -0
- package/schemas/gantt.d.ts +10 -0
- package/schemas/gantt.js +8 -0
- package/schemas/gantt.mjs +51 -0
- package/schemas/grid.d.ts +10 -0
- package/schemas/grid.js +8 -0
- package/schemas/grid.mjs +46 -0
- package/schemas/index.d.ts +13 -0
- package/schemas/input.d.ts +19 -0
- package/schemas/input.js +8 -0
- package/schemas/input.mjs +137 -0
- package/schemas/scheduler.d.ts +11 -0
- package/schemas/scheduler.js +8 -0
- package/schemas/scheduler.mjs +58 -0
- package/schemas/table.d.ts +12 -0
- package/schemas/table.js +8 -0
- package/schemas/table.mjs +87 -0
- 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 r=require("../schemas/common.js"),e={Open:"DrawerOpen",Close:"DrawerClose",SelectItem:"DrawerSelectItem"};function o(t){return t===e.SelectItem?{type:"object",properties:{text:{type:"string",description:"The text label of the drawer item to select"}},required:["text"]}:r.getEmptySchema()}exports.DrawerCommands=e;exports.getDrawerToolSchema=o;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 } from "../schemas/common.mjs";
|
|
9
|
+
const r = {
|
|
10
|
+
/**
|
|
11
|
+
* Opens the Drawer sidebar panel.
|
|
12
|
+
*/
|
|
13
|
+
Open: "DrawerOpen",
|
|
14
|
+
/**
|
|
15
|
+
* Closes the Drawer sidebar panel.
|
|
16
|
+
*/
|
|
17
|
+
Close: "DrawerClose",
|
|
18
|
+
/**
|
|
19
|
+
* Selects a navigation item within the Drawer by its text label.
|
|
20
|
+
*
|
|
21
|
+
* Parameters:
|
|
22
|
+
* - `text` *(string, required)* — The text label of the drawer item to select.
|
|
23
|
+
*/
|
|
24
|
+
SelectItem: "DrawerSelectItem"
|
|
25
|
+
};
|
|
26
|
+
function m(e) {
|
|
27
|
+
return e === r.SelectItem ? {
|
|
28
|
+
type: "object",
|
|
29
|
+
properties: {
|
|
30
|
+
text: { type: "string", description: "The text label of the drawer item to select" }
|
|
31
|
+
},
|
|
32
|
+
required: ["text"]
|
|
33
|
+
} : t();
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
r as DrawerCommands,
|
|
37
|
+
m as getDrawerToolSchema
|
|
38
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 DropDownList component.
|
|
10
|
+
* These commands allow AI agents to select values and control the dropdown popup.
|
|
11
|
+
*/
|
|
12
|
+
export declare const DropDownListCommands: {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the selected value of the DropDownList.
|
|
15
|
+
*
|
|
16
|
+
* Parameters:
|
|
17
|
+
* - `value` *(string, required)* — The value to select from the available options.
|
|
18
|
+
*/
|
|
19
|
+
readonly SetValue: "DropDownListSetValue";
|
|
20
|
+
/**
|
|
21
|
+
* Opens the DropDownList popup to display available options.
|
|
22
|
+
*/
|
|
23
|
+
readonly Open: "DropDownListOpen";
|
|
24
|
+
/**
|
|
25
|
+
* Closes the DropDownList popup.
|
|
26
|
+
*/
|
|
27
|
+
readonly Close: "DropDownListClose";
|
|
28
|
+
};
|
|
29
|
+
/** @hidden */
|
|
30
|
+
export declare function getDropDownListToolSchema(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 t=require("../schemas/common.js"),n=require("../schemas/input.js"),e={SetValue:"DropDownListSetValue",Open:"DropDownListOpen",Close:"DropDownListClose"};function r(o){switch(o){case e.SetValue:return n.getDropDownValueSchema();case e.Open:return t.getEmptySchema();case e.Close:return t.getEmptySchema();default:return t.getEmptySchema()}}exports.DropDownListCommands=e;exports.getDropDownListToolSchema=r;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 e } from "../schemas/common.mjs";
|
|
9
|
+
import { getDropDownValueSchema as r } from "../schemas/input.mjs";
|
|
10
|
+
const o = {
|
|
11
|
+
/**
|
|
12
|
+
* Sets the selected value of the DropDownList.
|
|
13
|
+
*
|
|
14
|
+
* Parameters:
|
|
15
|
+
* - `value` *(string, required)* — The value to select from the available options.
|
|
16
|
+
*/
|
|
17
|
+
SetValue: "DropDownListSetValue",
|
|
18
|
+
/**
|
|
19
|
+
* Opens the DropDownList popup to display available options.
|
|
20
|
+
*/
|
|
21
|
+
Open: "DropDownListOpen",
|
|
22
|
+
/**
|
|
23
|
+
* Closes the DropDownList popup.
|
|
24
|
+
*/
|
|
25
|
+
Close: "DropDownListClose"
|
|
26
|
+
};
|
|
27
|
+
function p(t) {
|
|
28
|
+
switch (t) {
|
|
29
|
+
case o.SetValue:
|
|
30
|
+
return r();
|
|
31
|
+
case o.Open:
|
|
32
|
+
return e();
|
|
33
|
+
case o.Close:
|
|
34
|
+
return e();
|
|
35
|
+
default:
|
|
36
|
+
return e();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
o as DropDownListCommands,
|
|
41
|
+
p as getDropDownListToolSchema
|
|
42
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
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 DropDownTree component.
|
|
10
|
+
* These commands allow AI agents to select values, clear the selection, and control the dropdown popup.
|
|
11
|
+
*/
|
|
12
|
+
export declare const DropDownTreeCommands: {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the selected value of the DropDownTree.
|
|
15
|
+
*
|
|
16
|
+
* Parameters:
|
|
17
|
+
* - `value` *(string, required)* — The value to select from the hierarchical tree options.
|
|
18
|
+
*/
|
|
19
|
+
readonly SetValue: "DropDownTreeSetValue";
|
|
20
|
+
/**
|
|
21
|
+
* Clears the current selection of the DropDownTree.
|
|
22
|
+
*/
|
|
23
|
+
readonly Clear: "DropDownTreeClear";
|
|
24
|
+
/**
|
|
25
|
+
* Opens the DropDownTree popup to display the tree of options.
|
|
26
|
+
*/
|
|
27
|
+
readonly Open: "DropDownTreeOpen";
|
|
28
|
+
/**
|
|
29
|
+
* Closes the DropDownTree popup.
|
|
30
|
+
*/
|
|
31
|
+
readonly Close: "DropDownTreeClose";
|
|
32
|
+
};
|
|
33
|
+
/** @hidden */
|
|
34
|
+
export declare function getDropDownTreeToolSchema(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 r=require("../schemas/common.js"),t=require("../schemas/input.js"),e={SetValue:"DropDownTreeSetValue",Clear:"DropDownTreeClear",Open:"DropDownTreeOpen",Close:"DropDownTreeClose"};function n(o){switch(o){case e.SetValue:return t.getDropDownValueSchema();case e.Clear:return r.getEmptySchema();case e.Open:return r.getEmptySchema();case e.Close:return r.getEmptySchema();default:return r.getEmptySchema()}}exports.DropDownTreeCommands=e;exports.getDropDownTreeToolSchema=n;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 e } from "../schemas/common.mjs";
|
|
9
|
+
import { getDropDownValueSchema as n } from "../schemas/input.mjs";
|
|
10
|
+
const r = {
|
|
11
|
+
/**
|
|
12
|
+
* Sets the selected value of the DropDownTree.
|
|
13
|
+
*
|
|
14
|
+
* Parameters:
|
|
15
|
+
* - `value` *(string, required)* — The value to select from the hierarchical tree options.
|
|
16
|
+
*/
|
|
17
|
+
SetValue: "DropDownTreeSetValue",
|
|
18
|
+
/**
|
|
19
|
+
* Clears the current selection of the DropDownTree.
|
|
20
|
+
*/
|
|
21
|
+
Clear: "DropDownTreeClear",
|
|
22
|
+
/**
|
|
23
|
+
* Opens the DropDownTree popup to display the tree of options.
|
|
24
|
+
*/
|
|
25
|
+
Open: "DropDownTreeOpen",
|
|
26
|
+
/**
|
|
27
|
+
* Closes the DropDownTree popup.
|
|
28
|
+
*/
|
|
29
|
+
Close: "DropDownTreeClose"
|
|
30
|
+
};
|
|
31
|
+
function p(o) {
|
|
32
|
+
switch (o) {
|
|
33
|
+
case r.SetValue:
|
|
34
|
+
return n();
|
|
35
|
+
case r.Clear:
|
|
36
|
+
return e();
|
|
37
|
+
case r.Open:
|
|
38
|
+
return e();
|
|
39
|
+
case r.Close:
|
|
40
|
+
return e();
|
|
41
|
+
default:
|
|
42
|
+
return e();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
r as DropDownTreeCommands,
|
|
47
|
+
p as getDropDownTreeToolSchema
|
|
48
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
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 Editor (rich text) component.
|
|
10
|
+
* These commands allow AI agents to get or set the HTML content of the Editor.
|
|
11
|
+
*/
|
|
12
|
+
export declare const EditorCommands: {
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the current HTML content of the Editor.
|
|
15
|
+
*/
|
|
16
|
+
readonly GetValue: "EditorGetValue";
|
|
17
|
+
/**
|
|
18
|
+
* Sets the HTML content of the Editor, replacing any existing content.
|
|
19
|
+
*
|
|
20
|
+
* Parameters:
|
|
21
|
+
* - `value` *(string, required)* — The HTML string to set as the Editor content.
|
|
22
|
+
*/
|
|
23
|
+
readonly SetValue: "EditorSetValue";
|
|
24
|
+
};
|
|
25
|
+
/** @hidden */
|
|
26
|
+
export declare function getEditorToolSchema(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 t=require("../schemas/common.js"),r=require("../schemas/input.js"),e={GetValue:"EditorGetValue",SetValue:"EditorSetValue"};function a(o){switch(o){case e.SetValue:return r.getStringValueSchema();case e.GetValue:return t.getEmptySchema();default:return t.getEmptySchema()}}exports.EditorCommands=e;exports.getEditorToolSchema=a;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 e } from "../schemas/common.mjs";
|
|
9
|
+
import { getStringValueSchema as a } from "../schemas/input.mjs";
|
|
10
|
+
const t = {
|
|
11
|
+
/**
|
|
12
|
+
* Retrieves the current HTML content of the Editor.
|
|
13
|
+
*/
|
|
14
|
+
GetValue: "EditorGetValue",
|
|
15
|
+
/**
|
|
16
|
+
* Sets the HTML content of the Editor, replacing any existing content.
|
|
17
|
+
*
|
|
18
|
+
* Parameters:
|
|
19
|
+
* - `value` *(string, required)* — The HTML string to set as the Editor content.
|
|
20
|
+
*/
|
|
21
|
+
SetValue: "EditorSetValue"
|
|
22
|
+
};
|
|
23
|
+
function m(r) {
|
|
24
|
+
switch (r) {
|
|
25
|
+
case t.SetValue:
|
|
26
|
+
return a();
|
|
27
|
+
case t.GetValue:
|
|
28
|
+
return e();
|
|
29
|
+
default:
|
|
30
|
+
return e();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
t as EditorCommands,
|
|
35
|
+
m as getEditorToolSchema
|
|
36
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
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 Form component.
|
|
10
|
+
* These commands allow AI agents to fill form fields, validate, submit, or reset the form.
|
|
11
|
+
*/
|
|
12
|
+
export declare const FormCommands: {
|
|
13
|
+
/**
|
|
14
|
+
* Fills one or more form fields with the specified values.
|
|
15
|
+
*
|
|
16
|
+
* Parameters:
|
|
17
|
+
* - `values` *(object, required)* — Key-value pairs of field names to values.
|
|
18
|
+
*/
|
|
19
|
+
readonly Fill: "FormFill";
|
|
20
|
+
/**
|
|
21
|
+
* Triggers form validation, highlighting any invalid fields.
|
|
22
|
+
*/
|
|
23
|
+
readonly Validate: "FormValidate";
|
|
24
|
+
/**
|
|
25
|
+
* Submits the form, triggering the form’s submit handler.
|
|
26
|
+
*/
|
|
27
|
+
readonly Submit: "FormSubmit";
|
|
28
|
+
/**
|
|
29
|
+
* Resets all form fields to their initial values.
|
|
30
|
+
*/
|
|
31
|
+
readonly Reset: "FormReset";
|
|
32
|
+
};
|
|
33
|
+
/** @hidden */
|
|
34
|
+
export declare function getFormToolSchema(commandType: string, fieldNames?: string[]): object;
|
package/commands/form.js
ADDED
|
@@ -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={Fill:"FormFill",Validate:"FormValidate",Submit:"FormSubmit",Reset:"FormReset"};function a(r,t){switch(r){case e.Fill:return{type:"object",properties:{values:{type:"object",description:`Key-value pairs of field names to values.${t&&t.length>0?` Available fields: ${t.join(", ")}.`:""}`}},required:["values"]};case e.Validate:case e.Submit:case e.Reset:return o.getEmptySchema();default:return o.getEmptySchema()}}exports.FormCommands=e;exports.getFormToolSchema=a;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* Fills one or more form fields with the specified values.
|
|
12
|
+
*
|
|
13
|
+
* Parameters:
|
|
14
|
+
* - `values` *(object, required)* — Key-value pairs of field names to values.
|
|
15
|
+
*/
|
|
16
|
+
Fill: "FormFill",
|
|
17
|
+
/**
|
|
18
|
+
* Triggers form validation, highlighting any invalid fields.
|
|
19
|
+
*/
|
|
20
|
+
Validate: "FormValidate",
|
|
21
|
+
/**
|
|
22
|
+
* Submits the form, triggering the form’s submit handler.
|
|
23
|
+
*/
|
|
24
|
+
Submit: "FormSubmit",
|
|
25
|
+
/**
|
|
26
|
+
* Resets all form fields to their initial values.
|
|
27
|
+
*/
|
|
28
|
+
Reset: "FormReset"
|
|
29
|
+
};
|
|
30
|
+
function a(i, t) {
|
|
31
|
+
switch (i) {
|
|
32
|
+
case e.Fill:
|
|
33
|
+
return {
|
|
34
|
+
type: "object",
|
|
35
|
+
properties: {
|
|
36
|
+
values: {
|
|
37
|
+
type: "object",
|
|
38
|
+
description: `Key-value pairs of field names to values.${t && t.length > 0 ? ` Available fields: ${t.join(", ")}.` : ""}`
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
required: ["values"]
|
|
42
|
+
};
|
|
43
|
+
case e.Validate:
|
|
44
|
+
case e.Submit:
|
|
45
|
+
case e.Reset:
|
|
46
|
+
return o();
|
|
47
|
+
default:
|
|
48
|
+
return o();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
e as FormCommands,
|
|
53
|
+
a as getFormToolSchema
|
|
54
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
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 Gantt component.
|
|
11
|
+
* These commands allow AI agents to filter, sort, expand/collapse tasks, reorder columns, switch views, and manage tasks.
|
|
12
|
+
*/
|
|
13
|
+
export declare const GanttCommands: {
|
|
14
|
+
/**
|
|
15
|
+
* Applies a filter to the Gantt 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: "GanttFilter";
|
|
23
|
+
/**
|
|
24
|
+
* Clears all active filters from the Gantt.
|
|
25
|
+
*/
|
|
26
|
+
readonly ClearFilter: "GanttClearFilter";
|
|
27
|
+
/**
|
|
28
|
+
* Sorts the Gantt 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: "GanttSort";
|
|
35
|
+
/**
|
|
36
|
+
* Clears all active sorting from the Gantt.
|
|
37
|
+
*/
|
|
38
|
+
readonly ClearSort: "GanttClearSort";
|
|
39
|
+
/**
|
|
40
|
+
* Moves a column to a new position in the Gantt.
|
|
41
|
+
*
|
|
42
|
+
* Parameters:
|
|
43
|
+
* - `columnId` *(string, required)* — The ID of the column to move.
|
|
44
|
+
* - `targetIndex` *(number, required)* — The target position index.
|
|
45
|
+
*/
|
|
46
|
+
readonly ColumnReorder: "GanttColumnReorder";
|
|
47
|
+
/**
|
|
48
|
+
* Resizes a column to a specified width.
|
|
49
|
+
*
|
|
50
|
+
* Parameters:
|
|
51
|
+
* - `columnId` *(string, required)* — The ID of the column to resize.
|
|
52
|
+
* - `width` *(number, required)* — The new width in pixels.
|
|
53
|
+
*/
|
|
54
|
+
readonly ColumnResize: "GanttColumnResize";
|
|
55
|
+
/**
|
|
56
|
+
* Shows a hidden column by its ID.
|
|
57
|
+
*
|
|
58
|
+
* Parameters:
|
|
59
|
+
* - `columnId` *(string, required)* — The ID of the column to show.
|
|
60
|
+
*/
|
|
61
|
+
readonly ColumnShow: "GanttColumnShow";
|
|
62
|
+
/**
|
|
63
|
+
* Hides a visible column by its ID.
|
|
64
|
+
*
|
|
65
|
+
* Parameters:
|
|
66
|
+
* - `columnId` *(string, required)* — The ID of the column to hide.
|
|
67
|
+
*/
|
|
68
|
+
readonly ColumnHide: "GanttColumnHide";
|
|
69
|
+
/**
|
|
70
|
+
* Expands a task row to show its children.
|
|
71
|
+
*
|
|
72
|
+
* Parameters:
|
|
73
|
+
* - `field` *(string, required)* — The field name used to identify the row.
|
|
74
|
+
* - `value` *(any, required)* — The field value of the row to expand.
|
|
75
|
+
*/
|
|
76
|
+
readonly Expand: "GanttExpand";
|
|
77
|
+
/**
|
|
78
|
+
* Collapses a task row to hide its children.
|
|
79
|
+
*
|
|
80
|
+
* Parameters:
|
|
81
|
+
* - `field` *(string, required)* — The field name used to identify the row.
|
|
82
|
+
* - `value` *(any, required)* — The field value of the row to collapse.
|
|
83
|
+
*/
|
|
84
|
+
readonly Collapse: "GanttCollapse";
|
|
85
|
+
/**
|
|
86
|
+
* Expands all task rows in the Gantt.
|
|
87
|
+
*/
|
|
88
|
+
readonly ExpandAll: "GanttExpandAll";
|
|
89
|
+
/**
|
|
90
|
+
* Collapses all task rows in the Gantt.
|
|
91
|
+
*/
|
|
92
|
+
readonly CollapseAll: "GanttCollapseAll";
|
|
93
|
+
/**
|
|
94
|
+
* Switches the Gantt to a different timeline view.
|
|
95
|
+
*
|
|
96
|
+
* Parameters:
|
|
97
|
+
* - `view` *(string, required)* — The view to switch to (e.g. "day", "week", "month", "year").
|
|
98
|
+
*/
|
|
99
|
+
readonly ChangeView: "GanttChangeView";
|
|
100
|
+
/**
|
|
101
|
+
* Creates a new task in the Gantt.
|
|
102
|
+
*
|
|
103
|
+
* Parameters:
|
|
104
|
+
* - `title` *(string, required)* — The task title.
|
|
105
|
+
* - `start` *(string, required)* — Start date (ISO 8601).
|
|
106
|
+
* - `end` *(string, required)* — End date (ISO 8601).
|
|
107
|
+
*/
|
|
108
|
+
readonly CreateTask: "GanttCreateTask";
|
|
109
|
+
/**
|
|
110
|
+
* Deletes a task from the Gantt.
|
|
111
|
+
*
|
|
112
|
+
* Parameters:
|
|
113
|
+
* - `field` *(string, required)* — The field used to identify the task.
|
|
114
|
+
* - `value` *(any, required)* — The field value of the task to delete.
|
|
115
|
+
*/
|
|
116
|
+
readonly DeleteTask: "GanttDeleteTask";
|
|
117
|
+
};
|
|
118
|
+
/** @hidden */
|
|
119
|
+
export declare function getGanttToolSchema(commandType: string, columns: McpColumnInfo[]): 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"),o=require("../schemas/gantt.js"),e={Filter:"GanttFilter",ClearFilter:"GanttClearFilter",Sort:"GanttSort",ClearSort:"GanttClearSort",ColumnReorder:"GanttColumnReorder",ColumnResize:"GanttColumnResize",ColumnShow:"GanttColumnShow",ColumnHide:"GanttColumnHide",Expand:"GanttExpand",Collapse:"GanttCollapse",ExpandAll:"GanttExpandAll",CollapseAll:"GanttCollapseAll",ChangeView:"GanttChangeView",CreateTask:"GanttCreateTask",DeleteTask:"GanttDeleteTask"};function c(s,m){const a=m.map(l=>l.field).filter(Boolean),n=m.map(l=>l.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.ColumnReorder:return r.getColumnReorderSchema(n);case e.ColumnResize:return r.getColumnResizeSchema(n);case e.ColumnShow:return r.getColumnIdSchema(n);case e.ColumnHide:return r.getColumnIdSchema(n);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();case e.ChangeView:return o.getChangeViewSchema();case e.CreateTask:return o.getCreateTaskSchema();case e.DeleteTask:return o.getDeleteTaskSchema(a);default:return t.getEmptySchema()}}exports.GanttCommands=e;exports.getGanttToolSchema=c;
|