@opentiny/tiny-vue-mcp 0.0.5 → 0.0.6-alpha.1
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/dist/index.js +293 -289
- package/dist/{index.d.ts → packages/mcp/index.d.ts} +2 -2
- package/dist/packages/mcp/src/utils/__tests__/webmcp.test.d.ts +1 -0
- package/dist/{src → packages/mcp/src}/utils/defineTool.d.ts +13 -2
- package/dist/packages/mcp/vitest.config.d.ts +2 -0
- package/dist/src/utils/defineTool.js +41 -4
- package/index.ts +9 -3
- package/package.json +11 -2
- package/src/utils/__tests__/webmcp.test.ts +153 -0
- package/src/utils/defineTool.ts +112 -41
- package/vite.config.ts +29 -29
- package/vitest.config.ts +8 -0
- /package/dist/{src → packages/mcp/src}/action-menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/alert/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/amount/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/anchor/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/area/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/autocomplete/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/avatar/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/badge/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/base-select/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/breadcrumb/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/bulletin-board/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/button/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/button-group/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/calendar/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/calendar-view/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/card/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/card-group/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/card-template/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/carousel/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/cascader/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/cascader-panel/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/chart/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/checkbox/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/checkbox-button/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/checkbox-group/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/collapse/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/color-picker/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/color-select-panel/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/company/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/country/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/crop/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/currency/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/date-panel/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/date-picker/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/date-range/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/date-table/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/dept/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/dialog-box/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/dialog-select/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/divider/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/drawer/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/drop-roles/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/drop-times/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/dropdown/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/dropdown-item/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/dropdown-menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/dynamic-scroller/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/empty/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/espace/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/exception/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/fall-menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/file-upload/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/filter-panel/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/float-button/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/floatbar/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/flowchart/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/fluent-editor/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/footer/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/form/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/form-item/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/fullscreen/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/grid/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/grid-select/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/guide/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/header/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/hrapprover/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/image/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/image-viewer/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/infinite-scroll/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/input/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/ip-address/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/lang/en.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/lang/zh-CN.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/layout/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/link/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/link-menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/loading/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/locales/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/logon-user/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/logout/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/message/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/message-box/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/milestone/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/mind-map/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/modal/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/month-table/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/nav-menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/notification/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/notify/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/number-animation/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/numeric/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/option-group/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/pager/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/pagination/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/pop-upload/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/popconfirm/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/popeditor/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/popover/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/progress/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/qr-code/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/query-builder/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/radio/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/rate/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/recycle-scroller/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/result/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/rich-text/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/rich-text-editor/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/roles/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/scroll-bar/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/scroll-text/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/search/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/select/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/select-dropdown/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/select-wrapper/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/side/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/skeleton/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/slider/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/space/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/spin/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/split/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/statistic/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/steps/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/sticky/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/switch/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/table/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/tabs/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/tag/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/tag-group/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/text-popup/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/time-line/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/time-panel/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/time-picker/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/time-range/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/time-select/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/time-spinner/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/toggle-menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/tooltip/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/transfer/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/tree/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/tree-menu/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/tree-select/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/upload/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/user/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/user-account/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/user-contact/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/user-head/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/user-link/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/utils/defineComponentTool.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/utils/locale.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/virtual-scroll-box/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/virtual-tree/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/watermark/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/wizard/index.d.ts +0 -0
- /package/dist/{src → packages/mcp/src}/year-table/index.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,300 +1,304 @@
|
|
|
1
|
-
import { defineTool as m } from "./src/utils/defineTool.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { getGridConfig as
|
|
5
|
-
import { getTreeConfig as
|
|
6
|
-
import { getBaseSelectConfig as
|
|
1
|
+
import { defineTool as m, ensureWebMcp as g } from "./src/utils/defineTool.js";
|
|
2
|
+
import { default as Bi } from "./src/lang/zh-CN.js";
|
|
3
|
+
import { default as hi } from "./src/lang/en.js";
|
|
4
|
+
import { getGridConfig as f } from "./src/grid/index.js";
|
|
5
|
+
import { getTreeConfig as n } from "./src/tree/index.js";
|
|
6
|
+
import { getBaseSelectConfig as p } from "./src/base-select/index.js";
|
|
7
7
|
import { i18n as r } from "./src/utils/locale.js";
|
|
8
|
-
import { getButtonConfig as
|
|
9
|
-
import { getFormConfig as
|
|
10
|
-
import { getAlertConfig as
|
|
11
|
-
import { getModalConfig as
|
|
12
|
-
import { getInputConfig as
|
|
8
|
+
import { getButtonConfig as C } from "./src/button/index.js";
|
|
9
|
+
import { getFormConfig as a } from "./src/form/index.js";
|
|
10
|
+
import { getAlertConfig as l } from "./src/alert/index.js";
|
|
11
|
+
import { getModalConfig as c } from "./src/modal/index.js";
|
|
12
|
+
import { getInputConfig as u } from "./src/input/index.js";
|
|
13
13
|
import { getSelectConfig as d } from "./src/select/index.js";
|
|
14
|
-
import { getCheckboxConfig as
|
|
15
|
-
import { getRadioConfig as
|
|
16
|
-
import { getTableConfig as
|
|
17
|
-
import { getDatePickerConfig as
|
|
18
|
-
import { getTabsConfig as
|
|
19
|
-
import { getUploadConfig as
|
|
20
|
-
import { getDrawerConfig as
|
|
21
|
-
import { getDialogBoxConfig as
|
|
22
|
-
import { getStepsConfig as
|
|
23
|
-
import { getTooltipConfig as
|
|
24
|
-
import { getPopoverConfig as
|
|
25
|
-
import { getProgressConfig as
|
|
26
|
-
import { getCollapseConfig as
|
|
14
|
+
import { getCheckboxConfig as s } from "./src/checkbox/index.js";
|
|
15
|
+
import { getRadioConfig as S } from "./src/radio/index.js";
|
|
16
|
+
import { getTableConfig as T } from "./src/table/index.js";
|
|
17
|
+
import { getDatePickerConfig as D } from "./src/date-picker/index.js";
|
|
18
|
+
import { getTabsConfig as M } from "./src/tabs/index.js";
|
|
19
|
+
import { getUploadConfig as P } from "./src/upload/index.js";
|
|
20
|
+
import { getDrawerConfig as x } from "./src/drawer/index.js";
|
|
21
|
+
import { getDialogBoxConfig as k } from "./src/dialog-box/index.js";
|
|
22
|
+
import { getStepsConfig as b } from "./src/steps/index.js";
|
|
23
|
+
import { getTooltipConfig as y } from "./src/tooltip/index.js";
|
|
24
|
+
import { getPopoverConfig as B } from "./src/popover/index.js";
|
|
25
|
+
import { getProgressConfig as F } from "./src/progress/index.js";
|
|
26
|
+
import { getCollapseConfig as h } from "./src/collapse/index.js";
|
|
27
27
|
import { getCarouselConfig as R } from "./src/carousel/index.js";
|
|
28
|
-
import { getCascaderConfig as
|
|
29
|
-
import { getDateRangeConfig as
|
|
30
|
-
import { getTimePickerConfig as
|
|
31
|
-
import { getRateConfig as
|
|
32
|
-
import { getSwitchConfig as
|
|
33
|
-
import { getSliderConfig as
|
|
34
|
-
import { getBadgeConfig as
|
|
35
|
-
import { getTagConfig as
|
|
36
|
-
import { getDividerConfig as
|
|
37
|
-
import { getLoadingConfig as
|
|
38
|
-
import { getSearchConfig as
|
|
28
|
+
import { getCascaderConfig as U } from "./src/cascader/index.js";
|
|
29
|
+
import { getDateRangeConfig as L } from "./src/date-range/index.js";
|
|
30
|
+
import { getTimePickerConfig as w } from "./src/time-picker/index.js";
|
|
31
|
+
import { getRateConfig as G } from "./src/rate/index.js";
|
|
32
|
+
import { getSwitchConfig as I } from "./src/switch/index.js";
|
|
33
|
+
import { getSliderConfig as v } from "./src/slider/index.js";
|
|
34
|
+
import { getBadgeConfig as N } from "./src/badge/index.js";
|
|
35
|
+
import { getTagConfig as A } from "./src/tag/index.js";
|
|
36
|
+
import { getDividerConfig as E } from "./src/divider/index.js";
|
|
37
|
+
import { getLoadingConfig as V } from "./src/loading/index.js";
|
|
38
|
+
import { getSearchConfig as W } from "./src/search/index.js";
|
|
39
39
|
import { getPagerConfig as H } from "./src/pager/index.js";
|
|
40
|
-
import { getImageConfig as
|
|
41
|
-
import { getFileUploadConfig as
|
|
42
|
-
import { getCalendarConfig as
|
|
43
|
-
import { getBreadcrumbConfig as
|
|
44
|
-
import { getMenuConfig as
|
|
45
|
-
import { getTreeMenuConfig as
|
|
46
|
-
import { getNavMenuConfig as
|
|
47
|
-
import { getPaginationConfig as
|
|
48
|
-
import { getLayoutConfig as
|
|
49
|
-
import { getHeaderConfig as
|
|
50
|
-
import { getFooterConfig as
|
|
51
|
-
import { getSideConfig as
|
|
52
|
-
import { getNotificationConfig as
|
|
53
|
-
import { getMessageConfig as
|
|
54
|
-
import { getMessageBoxConfig as
|
|
55
|
-
import { getEmptyConfig as
|
|
56
|
-
import { getSkeletonConfig as
|
|
57
|
-
import { getResultConfig as
|
|
58
|
-
import { getAvatarConfig as
|
|
59
|
-
import { getLinkConfig as
|
|
60
|
-
import { getSpinConfig as
|
|
61
|
-
import { getWatermarkConfig as
|
|
62
|
-
import { getTransferConfig as
|
|
63
|
-
import { getTreeSelectConfig as
|
|
64
|
-
import { getVirtualTreeConfig as
|
|
65
|
-
import { getColorPickerConfig as
|
|
66
|
-
import { getRichTextEditorConfig as
|
|
67
|
-
import { getPopconfirmConfig as
|
|
68
|
-
import { getFilterPanelConfig as
|
|
69
|
-
import { getMonthTableConfig as
|
|
70
|
-
import { getYearTableConfig as
|
|
71
|
-
import { getCardGroupConfig as
|
|
72
|
-
import { getCardConfig as
|
|
73
|
-
import { getCardTemplateConfig as
|
|
74
|
-
import { getTimeRangeConfig as
|
|
75
|
-
import { getTimeSelectConfig as
|
|
76
|
-
import { getFormItemConfig as
|
|
77
|
-
import { getOptionGroupConfig as
|
|
78
|
-
import { getFlowchartConfig as
|
|
79
|
-
import { getMindMapConfig as
|
|
40
|
+
import { getImageConfig as Q } from "./src/image/index.js";
|
|
41
|
+
import { getFileUploadConfig as z } from "./src/file-upload/index.js";
|
|
42
|
+
import { getCalendarConfig as O } from "./src/calendar/index.js";
|
|
43
|
+
import { getBreadcrumbConfig as Y } from "./src/breadcrumb/index.js";
|
|
44
|
+
import { getMenuConfig as j } from "./src/menu/index.js";
|
|
45
|
+
import { getTreeMenuConfig as q } from "./src/tree-menu/index.js";
|
|
46
|
+
import { getNavMenuConfig as J } from "./src/nav-menu/index.js";
|
|
47
|
+
import { getPaginationConfig as K } from "./src/pagination/index.js";
|
|
48
|
+
import { getLayoutConfig as X } from "./src/layout/index.js";
|
|
49
|
+
import { getHeaderConfig as Z } from "./src/header/index.js";
|
|
50
|
+
import { getFooterConfig as _ } from "./src/footer/index.js";
|
|
51
|
+
import { getSideConfig as $ } from "./src/side/index.js";
|
|
52
|
+
import { getNotificationConfig as oo } from "./src/notification/index.js";
|
|
53
|
+
import { getMessageConfig as ro } from "./src/message/index.js";
|
|
54
|
+
import { getMessageBoxConfig as eo } from "./src/message-box/index.js";
|
|
55
|
+
import { getEmptyConfig as to } from "./src/empty/index.js";
|
|
56
|
+
import { getSkeletonConfig as io } from "./src/skeleton/index.js";
|
|
57
|
+
import { getResultConfig as mo } from "./src/result/index.js";
|
|
58
|
+
import { getAvatarConfig as go } from "./src/avatar/index.js";
|
|
59
|
+
import { getLinkConfig as fo } from "./src/link/index.js";
|
|
60
|
+
import { getSpinConfig as no } from "./src/spin/index.js";
|
|
61
|
+
import { getWatermarkConfig as po } from "./src/watermark/index.js";
|
|
62
|
+
import { getTransferConfig as Co } from "./src/transfer/index.js";
|
|
63
|
+
import { getTreeSelectConfig as ao } from "./src/tree-select/index.js";
|
|
64
|
+
import { getVirtualTreeConfig as lo } from "./src/virtual-tree/index.js";
|
|
65
|
+
import { getColorPickerConfig as co } from "./src/color-picker/index.js";
|
|
66
|
+
import { getRichTextEditorConfig as uo } from "./src/rich-text-editor/index.js";
|
|
67
|
+
import { getPopconfirmConfig as so } from "./src/popconfirm/index.js";
|
|
68
|
+
import { getFilterPanelConfig as So } from "./src/filter-panel/index.js";
|
|
69
|
+
import { getMonthTableConfig as To } from "./src/month-table/index.js";
|
|
70
|
+
import { getYearTableConfig as Do } from "./src/year-table/index.js";
|
|
71
|
+
import { getCardGroupConfig as Mo } from "./src/card-group/index.js";
|
|
72
|
+
import { getCardConfig as Po } from "./src/card/index.js";
|
|
73
|
+
import { getCardTemplateConfig as xo } from "./src/card-template/index.js";
|
|
74
|
+
import { getTimeRangeConfig as ko } from "./src/time-range/index.js";
|
|
75
|
+
import { getTimeSelectConfig as bo } from "./src/time-select/index.js";
|
|
76
|
+
import { getFormItemConfig as yo } from "./src/form-item/index.js";
|
|
77
|
+
import { getOptionGroupConfig as Bo } from "./src/option-group/index.js";
|
|
78
|
+
import { getFlowchartConfig as Fo } from "./src/flowchart/index.js";
|
|
79
|
+
import { getMindMapConfig as ho } from "./src/mind-map/index.js";
|
|
80
80
|
import { getQueryBuilderConfig as Ro } from "./src/query-builder/index.js";
|
|
81
|
-
import { getImageViewerConfig as
|
|
82
|
-
import { getDropdownConfig as
|
|
83
|
-
import { getDropdownItemConfig as
|
|
84
|
-
import { getDropdownMenuConfig as
|
|
85
|
-
import { getDatePanelConfig as
|
|
86
|
-
import { getDateTableConfig as
|
|
87
|
-
import { getTimePanelConfig as
|
|
88
|
-
import { getTimeSpinnerConfig as
|
|
89
|
-
import { getRichTextConfig as
|
|
90
|
-
import { getScrollTextConfig as
|
|
91
|
-
import { getSelectDropdownConfig as
|
|
81
|
+
import { getImageViewerConfig as Uo } from "./src/image-viewer/index.js";
|
|
82
|
+
import { getDropdownConfig as Lo } from "./src/dropdown/index.js";
|
|
83
|
+
import { getDropdownItemConfig as wo } from "./src/dropdown-item/index.js";
|
|
84
|
+
import { getDropdownMenuConfig as Go } from "./src/dropdown-menu/index.js";
|
|
85
|
+
import { getDatePanelConfig as Io } from "./src/date-panel/index.js";
|
|
86
|
+
import { getDateTableConfig as vo } from "./src/date-table/index.js";
|
|
87
|
+
import { getTimePanelConfig as No } from "./src/time-panel/index.js";
|
|
88
|
+
import { getTimeSpinnerConfig as Ao } from "./src/time-spinner/index.js";
|
|
89
|
+
import { getRichTextConfig as Eo } from "./src/rich-text/index.js";
|
|
90
|
+
import { getScrollTextConfig as Vo } from "./src/scroll-text/index.js";
|
|
91
|
+
import { getSelectDropdownConfig as Wo } from "./src/select-dropdown/index.js";
|
|
92
92
|
import { getDynamicScrollerConfig as Ho } from "./src/dynamic-scroller/index.js";
|
|
93
|
-
import { getRecycleScrollerConfig as
|
|
94
|
-
import { getVirtualScrollBoxConfig as
|
|
95
|
-
import { getScrollBarConfig as
|
|
96
|
-
import { getStatisticConfig as
|
|
97
|
-
import { getSpaceConfig as
|
|
98
|
-
import { getSplitConfig as
|
|
99
|
-
import { getStickyConfig as
|
|
100
|
-
import { getCheckboxButtonConfig as
|
|
101
|
-
import { getCheckboxGroupConfig as
|
|
102
|
-
import { getColorSelectPanelConfig as
|
|
103
|
-
import { getCompanyConfig as
|
|
104
|
-
import { getCountryConfig as
|
|
105
|
-
import { getCropConfig as
|
|
106
|
-
import { getCurrencyConfig as
|
|
107
|
-
import { getDeptConfig as
|
|
108
|
-
import { getDialogSelectConfig as
|
|
109
|
-
import { getDropRolesConfig as
|
|
110
|
-
import { getDropTimesConfig as
|
|
111
|
-
import { getEspaceConfig as
|
|
112
|
-
import { getExceptionConfig as
|
|
113
|
-
import { getFallMenuConfig as
|
|
114
|
-
import { getFloatButtonConfig as
|
|
115
|
-
import { getFloatbarConfig as
|
|
116
|
-
import { getFluentEditorConfig as
|
|
117
|
-
import { getFullscreenConfig as
|
|
118
|
-
import { getGridSelectConfig as
|
|
119
|
-
import { getGuideConfig as
|
|
93
|
+
import { getRecycleScrollerConfig as Qo } from "./src/recycle-scroller/index.js";
|
|
94
|
+
import { getVirtualScrollBoxConfig as zo } from "./src/virtual-scroll-box/index.js";
|
|
95
|
+
import { getScrollBarConfig as Oo } from "./src/scroll-bar/index.js";
|
|
96
|
+
import { getStatisticConfig as Yo } from "./src/statistic/index.js";
|
|
97
|
+
import { getSpaceConfig as jo } from "./src/space/index.js";
|
|
98
|
+
import { getSplitConfig as qo } from "./src/split/index.js";
|
|
99
|
+
import { getStickyConfig as Jo } from "./src/sticky/index.js";
|
|
100
|
+
import { getCheckboxButtonConfig as Ko } from "./src/checkbox-button/index.js";
|
|
101
|
+
import { getCheckboxGroupConfig as Xo } from "./src/checkbox-group/index.js";
|
|
102
|
+
import { getColorSelectPanelConfig as Zo } from "./src/color-select-panel/index.js";
|
|
103
|
+
import { getCompanyConfig as _o } from "./src/company/index.js";
|
|
104
|
+
import { getCountryConfig as $o } from "./src/country/index.js";
|
|
105
|
+
import { getCropConfig as or } from "./src/crop/index.js";
|
|
106
|
+
import { getCurrencyConfig as rr } from "./src/currency/index.js";
|
|
107
|
+
import { getDeptConfig as er } from "./src/dept/index.js";
|
|
108
|
+
import { getDialogSelectConfig as tr } from "./src/dialog-select/index.js";
|
|
109
|
+
import { getDropRolesConfig as ir } from "./src/drop-roles/index.js";
|
|
110
|
+
import { getDropTimesConfig as mr } from "./src/drop-times/index.js";
|
|
111
|
+
import { getEspaceConfig as gr } from "./src/espace/index.js";
|
|
112
|
+
import { getExceptionConfig as fr } from "./src/exception/index.js";
|
|
113
|
+
import { getFallMenuConfig as nr } from "./src/fall-menu/index.js";
|
|
114
|
+
import { getFloatButtonConfig as pr } from "./src/float-button/index.js";
|
|
115
|
+
import { getFloatbarConfig as Cr } from "./src/floatbar/index.js";
|
|
116
|
+
import { getFluentEditorConfig as ar } from "./src/fluent-editor/index.js";
|
|
117
|
+
import { getFullscreenConfig as lr } from "./src/fullscreen/index.js";
|
|
118
|
+
import { getGridSelectConfig as cr } from "./src/grid-select/index.js";
|
|
119
|
+
import { getGuideConfig as ur } from "./src/guide/index.js";
|
|
120
120
|
import { getHrapproverConfig as dr } from "./src/hrapprover/index.js";
|
|
121
|
-
import { getInfiniteScrollConfig as
|
|
122
|
-
import { getIpAddressConfig as
|
|
123
|
-
import { getLinkMenuConfig as
|
|
124
|
-
import { getLocalesConfig as
|
|
125
|
-
import { getLogonUserConfig as
|
|
126
|
-
import { getLogoutConfig as
|
|
127
|
-
import { getMilestoneConfig as
|
|
128
|
-
import { getNotifyConfig as
|
|
129
|
-
import { getNumberAnimationConfig as
|
|
130
|
-
import { getNumericConfig as
|
|
131
|
-
import { getPopUploadConfig as
|
|
132
|
-
import { getPopeditorConfig as
|
|
133
|
-
import { getQrCodeConfig as
|
|
121
|
+
import { getInfiniteScrollConfig as sr } from "./src/infinite-scroll/index.js";
|
|
122
|
+
import { getIpAddressConfig as Sr } from "./src/ip-address/index.js";
|
|
123
|
+
import { getLinkMenuConfig as Tr } from "./src/link-menu/index.js";
|
|
124
|
+
import { getLocalesConfig as Dr } from "./src/locales/index.js";
|
|
125
|
+
import { getLogonUserConfig as Mr } from "./src/logon-user/index.js";
|
|
126
|
+
import { getLogoutConfig as Pr } from "./src/logout/index.js";
|
|
127
|
+
import { getMilestoneConfig as xr } from "./src/milestone/index.js";
|
|
128
|
+
import { getNotifyConfig as kr } from "./src/notify/index.js";
|
|
129
|
+
import { getNumberAnimationConfig as br } from "./src/number-animation/index.js";
|
|
130
|
+
import { getNumericConfig as yr } from "./src/numeric/index.js";
|
|
131
|
+
import { getPopUploadConfig as Br } from "./src/pop-upload/index.js";
|
|
132
|
+
import { getPopeditorConfig as Fr } from "./src/popeditor/index.js";
|
|
133
|
+
import { getQrCodeConfig as hr } from "./src/qr-code/index.js";
|
|
134
134
|
import { getRolesConfig as Rr } from "./src/roles/index.js";
|
|
135
|
-
import { getSelectWrapperConfig as
|
|
136
|
-
import { getTagGroupConfig as
|
|
137
|
-
import { getTextPopupConfig as
|
|
138
|
-
import { getTimeLineConfig as
|
|
139
|
-
import { getToggleMenuConfig as
|
|
140
|
-
import { getUserConfig as
|
|
141
|
-
import { getUserAccountConfig as
|
|
142
|
-
import { getUserContactConfig as
|
|
143
|
-
import { getUserHeadConfig as
|
|
144
|
-
import { getUserLinkConfig as
|
|
145
|
-
import { getWizardConfig as
|
|
146
|
-
const
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
version: "0.0.1",
|
|
151
|
-
components: {
|
|
152
|
-
Grid: g(),
|
|
153
|
-
Tree: f(),
|
|
154
|
-
BaseSelect: n(),
|
|
155
|
-
Button: p(),
|
|
156
|
-
Form: C(),
|
|
157
|
-
Alert: a(),
|
|
158
|
-
Modal: l(),
|
|
159
|
-
Input: c(),
|
|
160
|
-
Select: d(),
|
|
161
|
-
Checkbox: u(),
|
|
162
|
-
Radio: s(),
|
|
163
|
-
Table: S(),
|
|
164
|
-
DatePicker: T(),
|
|
165
|
-
Tabs: D(),
|
|
166
|
-
Upload: M(),
|
|
167
|
-
Drawer: P(),
|
|
168
|
-
DialogBox: x(),
|
|
169
|
-
Steps: k(),
|
|
170
|
-
Tooltip: b(),
|
|
171
|
-
Popover: y(),
|
|
172
|
-
Progress: B(),
|
|
173
|
-
Collapse: F(),
|
|
174
|
-
Carousel: R(),
|
|
175
|
-
Cascader: h(),
|
|
176
|
-
DateRange: U(),
|
|
177
|
-
TimePicker: L(),
|
|
178
|
-
Rate: w(),
|
|
179
|
-
Switch: G(),
|
|
180
|
-
Slider: I(),
|
|
181
|
-
Badge: v(),
|
|
182
|
-
Tag: N(),
|
|
183
|
-
Divider: A(),
|
|
184
|
-
Loading: E(),
|
|
185
|
-
Search: V(),
|
|
186
|
-
Pager: H(),
|
|
187
|
-
Image: W(),
|
|
188
|
-
FileUpload: Q(),
|
|
189
|
-
Calendar: z(),
|
|
190
|
-
Breadcrumb: O(),
|
|
191
|
-
Menu: Y(),
|
|
192
|
-
TreeMenu: j(),
|
|
193
|
-
NavMenu: q(),
|
|
194
|
-
Pagination: J(),
|
|
195
|
-
Layout: K(),
|
|
196
|
-
Header: X(),
|
|
197
|
-
Footer: Z(),
|
|
198
|
-
Side: _(),
|
|
199
|
-
Notification: $(),
|
|
200
|
-
Message: oo(),
|
|
201
|
-
MessageBox: ro(),
|
|
202
|
-
Empty: eo(),
|
|
203
|
-
Skeleton: to(),
|
|
204
|
-
Result: io(),
|
|
205
|
-
Avatar: mo(),
|
|
206
|
-
Link: go(),
|
|
207
|
-
Spin: fo(),
|
|
208
|
-
Watermark: no(),
|
|
209
|
-
Transfer: po(),
|
|
210
|
-
TreeSelect: Co(),
|
|
211
|
-
VirtualTree: ao(),
|
|
212
|
-
ColorPicker: lo(),
|
|
213
|
-
RichTextEditor: co(),
|
|
214
|
-
Popconfirm: uo(),
|
|
215
|
-
FilterPanel: so(),
|
|
216
|
-
MonthTable: So(),
|
|
217
|
-
YearTable: To(),
|
|
218
|
-
CardGroup: Do(),
|
|
219
|
-
Card: Mo(),
|
|
220
|
-
CardTemplate: Po(),
|
|
221
|
-
TimeRange: xo(),
|
|
222
|
-
TimeSelect: ko(),
|
|
223
|
-
FormItem: bo(),
|
|
224
|
-
OptionGroup: yo(),
|
|
225
|
-
Flowchart: Bo(),
|
|
226
|
-
MindMap: Fo(),
|
|
227
|
-
QueryBuilder: Ro(),
|
|
228
|
-
ImageViewer: ho(),
|
|
229
|
-
Dropdown: Uo(),
|
|
230
|
-
DropdownItem: Lo(),
|
|
231
|
-
DropdownMenu: wo(),
|
|
232
|
-
DatePanel: Go(),
|
|
233
|
-
DateTable: Io(),
|
|
234
|
-
TimePanel: vo(),
|
|
235
|
-
TimeSpinner: No(),
|
|
236
|
-
RichText: Ao(),
|
|
237
|
-
ScrollText: Eo(),
|
|
238
|
-
SelectDropdown: Vo(),
|
|
239
|
-
DynamicScroller: Ho(),
|
|
240
|
-
RecycleScroller: Wo(),
|
|
241
|
-
VirtualScrollBox: Qo(),
|
|
242
|
-
ScrollBar: zo(),
|
|
243
|
-
Statistic: Oo(),
|
|
244
|
-
Space: Yo(),
|
|
245
|
-
Split: jo(),
|
|
246
|
-
Sticky: qo(),
|
|
247
|
-
CheckboxButton: Jo(),
|
|
248
|
-
CheckboxGroup: Ko(),
|
|
249
|
-
ColorSelectPanel: Xo(),
|
|
250
|
-
Company: Zo(),
|
|
251
|
-
Country: _o(),
|
|
252
|
-
Crop: $o(),
|
|
253
|
-
Currency: or(),
|
|
254
|
-
Dept: rr(),
|
|
255
|
-
DialogSelect: er(),
|
|
256
|
-
DropRoles: tr(),
|
|
257
|
-
DropTimes: ir(),
|
|
258
|
-
Espace: mr(),
|
|
259
|
-
Exception: gr(),
|
|
260
|
-
FallMenu: fr(),
|
|
261
|
-
FloatButton: nr(),
|
|
262
|
-
Floatbar: pr(),
|
|
263
|
-
FluentEditor: Cr(),
|
|
264
|
-
Fullscreen: ar(),
|
|
265
|
-
GridSelect: lr(),
|
|
266
|
-
Guide: cr(),
|
|
267
|
-
Hrapprover: dr(),
|
|
268
|
-
InfiniteScroll: ur(),
|
|
269
|
-
IpAddress: sr(),
|
|
270
|
-
LinkMenu: Sr(),
|
|
271
|
-
Locales: Tr(),
|
|
272
|
-
LogonUser: Dr(),
|
|
273
|
-
Logout: Mr(),
|
|
274
|
-
Milestone: Pr(),
|
|
275
|
-
Notify: xr(),
|
|
276
|
-
NumberAnimation: kr(),
|
|
277
|
-
Numeric: br(),
|
|
278
|
-
PopUpload: yr(),
|
|
279
|
-
Popeditor: Br(),
|
|
280
|
-
QrCode: Fr(),
|
|
281
|
-
Roles: Rr(),
|
|
282
|
-
SelectWrapper: hr(),
|
|
283
|
-
TagGroup: Ur(),
|
|
284
|
-
TextPopup: Lr(),
|
|
285
|
-
TimeLine: wr(),
|
|
286
|
-
ToggleMenu: Gr(),
|
|
287
|
-
User: Ir(),
|
|
288
|
-
UserAccount: vr(),
|
|
289
|
-
UserContact: Nr(),
|
|
290
|
-
UserHead: Ar(),
|
|
291
|
-
UserLink: Er(),
|
|
292
|
-
Wizard: Vr()
|
|
135
|
+
import { getSelectWrapperConfig as Ur } from "./src/select-wrapper/index.js";
|
|
136
|
+
import { getTagGroupConfig as Lr } from "./src/tag-group/index.js";
|
|
137
|
+
import { getTextPopupConfig as wr } from "./src/text-popup/index.js";
|
|
138
|
+
import { getTimeLineConfig as Gr } from "./src/time-line/index.js";
|
|
139
|
+
import { getToggleMenuConfig as Ir } from "./src/toggle-menu/index.js";
|
|
140
|
+
import { getUserConfig as vr } from "./src/user/index.js";
|
|
141
|
+
import { getUserAccountConfig as Nr } from "./src/user-account/index.js";
|
|
142
|
+
import { getUserContactConfig as Ar } from "./src/user-contact/index.js";
|
|
143
|
+
import { getUserHeadConfig as Er } from "./src/user-head/index.js";
|
|
144
|
+
import { getUserLinkConfig as Vr } from "./src/user-link/index.js";
|
|
145
|
+
import { getWizardConfig as Wr } from "./src/wizard/index.js";
|
|
146
|
+
const xi = (o, { server: e, business: t }, i) => m({ business: t, componentMcpConfig: i, instance: o, server: e }), ki = ({ t: o } = {}) => {
|
|
147
|
+
try {
|
|
148
|
+
g();
|
|
149
|
+
} catch {
|
|
293
150
|
}
|
|
294
|
-
|
|
151
|
+
return r && o && (r.t = o), {
|
|
152
|
+
name: "tiny-vue-mcp",
|
|
153
|
+
version: "0.0.1",
|
|
154
|
+
components: {
|
|
155
|
+
Grid: f(),
|
|
156
|
+
Tree: n(),
|
|
157
|
+
BaseSelect: p(),
|
|
158
|
+
Button: C(),
|
|
159
|
+
Form: a(),
|
|
160
|
+
Alert: l(),
|
|
161
|
+
Modal: c(),
|
|
162
|
+
Input: u(),
|
|
163
|
+
Select: d(),
|
|
164
|
+
Checkbox: s(),
|
|
165
|
+
Radio: S(),
|
|
166
|
+
Table: T(),
|
|
167
|
+
DatePicker: D(),
|
|
168
|
+
Tabs: M(),
|
|
169
|
+
Upload: P(),
|
|
170
|
+
Drawer: x(),
|
|
171
|
+
DialogBox: k(),
|
|
172
|
+
Steps: b(),
|
|
173
|
+
Tooltip: y(),
|
|
174
|
+
Popover: B(),
|
|
175
|
+
Progress: F(),
|
|
176
|
+
Collapse: h(),
|
|
177
|
+
Carousel: R(),
|
|
178
|
+
Cascader: U(),
|
|
179
|
+
DateRange: L(),
|
|
180
|
+
TimePicker: w(),
|
|
181
|
+
Rate: G(),
|
|
182
|
+
Switch: I(),
|
|
183
|
+
Slider: v(),
|
|
184
|
+
Badge: N(),
|
|
185
|
+
Tag: A(),
|
|
186
|
+
Divider: E(),
|
|
187
|
+
Loading: V(),
|
|
188
|
+
Search: W(),
|
|
189
|
+
Pager: H(),
|
|
190
|
+
Image: Q(),
|
|
191
|
+
FileUpload: z(),
|
|
192
|
+
Calendar: O(),
|
|
193
|
+
Breadcrumb: Y(),
|
|
194
|
+
Menu: j(),
|
|
195
|
+
TreeMenu: q(),
|
|
196
|
+
NavMenu: J(),
|
|
197
|
+
Pagination: K(),
|
|
198
|
+
Layout: X(),
|
|
199
|
+
Header: Z(),
|
|
200
|
+
Footer: _(),
|
|
201
|
+
Side: $(),
|
|
202
|
+
Notification: oo(),
|
|
203
|
+
Message: ro(),
|
|
204
|
+
MessageBox: eo(),
|
|
205
|
+
Empty: to(),
|
|
206
|
+
Skeleton: io(),
|
|
207
|
+
Result: mo(),
|
|
208
|
+
Avatar: go(),
|
|
209
|
+
Link: fo(),
|
|
210
|
+
Spin: no(),
|
|
211
|
+
Watermark: po(),
|
|
212
|
+
Transfer: Co(),
|
|
213
|
+
TreeSelect: ao(),
|
|
214
|
+
VirtualTree: lo(),
|
|
215
|
+
ColorPicker: co(),
|
|
216
|
+
RichTextEditor: uo(),
|
|
217
|
+
Popconfirm: so(),
|
|
218
|
+
FilterPanel: So(),
|
|
219
|
+
MonthTable: To(),
|
|
220
|
+
YearTable: Do(),
|
|
221
|
+
CardGroup: Mo(),
|
|
222
|
+
Card: Po(),
|
|
223
|
+
CardTemplate: xo(),
|
|
224
|
+
TimeRange: ko(),
|
|
225
|
+
TimeSelect: bo(),
|
|
226
|
+
FormItem: yo(),
|
|
227
|
+
OptionGroup: Bo(),
|
|
228
|
+
Flowchart: Fo(),
|
|
229
|
+
MindMap: ho(),
|
|
230
|
+
QueryBuilder: Ro(),
|
|
231
|
+
ImageViewer: Uo(),
|
|
232
|
+
Dropdown: Lo(),
|
|
233
|
+
DropdownItem: wo(),
|
|
234
|
+
DropdownMenu: Go(),
|
|
235
|
+
DatePanel: Io(),
|
|
236
|
+
DateTable: vo(),
|
|
237
|
+
TimePanel: No(),
|
|
238
|
+
TimeSpinner: Ao(),
|
|
239
|
+
RichText: Eo(),
|
|
240
|
+
ScrollText: Vo(),
|
|
241
|
+
SelectDropdown: Wo(),
|
|
242
|
+
DynamicScroller: Ho(),
|
|
243
|
+
RecycleScroller: Qo(),
|
|
244
|
+
VirtualScrollBox: zo(),
|
|
245
|
+
ScrollBar: Oo(),
|
|
246
|
+
Statistic: Yo(),
|
|
247
|
+
Space: jo(),
|
|
248
|
+
Split: qo(),
|
|
249
|
+
Sticky: Jo(),
|
|
250
|
+
CheckboxButton: Ko(),
|
|
251
|
+
CheckboxGroup: Xo(),
|
|
252
|
+
ColorSelectPanel: Zo(),
|
|
253
|
+
Company: _o(),
|
|
254
|
+
Country: $o(),
|
|
255
|
+
Crop: or(),
|
|
256
|
+
Currency: rr(),
|
|
257
|
+
Dept: er(),
|
|
258
|
+
DialogSelect: tr(),
|
|
259
|
+
DropRoles: ir(),
|
|
260
|
+
DropTimes: mr(),
|
|
261
|
+
Espace: gr(),
|
|
262
|
+
Exception: fr(),
|
|
263
|
+
FallMenu: nr(),
|
|
264
|
+
FloatButton: pr(),
|
|
265
|
+
Floatbar: Cr(),
|
|
266
|
+
FluentEditor: ar(),
|
|
267
|
+
Fullscreen: lr(),
|
|
268
|
+
GridSelect: cr(),
|
|
269
|
+
Guide: ur(),
|
|
270
|
+
Hrapprover: dr(),
|
|
271
|
+
InfiniteScroll: sr(),
|
|
272
|
+
IpAddress: Sr(),
|
|
273
|
+
LinkMenu: Tr(),
|
|
274
|
+
Locales: Dr(),
|
|
275
|
+
LogonUser: Mr(),
|
|
276
|
+
Logout: Pr(),
|
|
277
|
+
Milestone: xr(),
|
|
278
|
+
Notify: kr(),
|
|
279
|
+
NumberAnimation: br(),
|
|
280
|
+
Numeric: yr(),
|
|
281
|
+
PopUpload: Br(),
|
|
282
|
+
Popeditor: Fr(),
|
|
283
|
+
QrCode: hr(),
|
|
284
|
+
Roles: Rr(),
|
|
285
|
+
SelectWrapper: Ur(),
|
|
286
|
+
TagGroup: Lr(),
|
|
287
|
+
TextPopup: wr(),
|
|
288
|
+
TimeLine: Gr(),
|
|
289
|
+
ToggleMenu: Ir(),
|
|
290
|
+
User: vr(),
|
|
291
|
+
UserAccount: Nr(),
|
|
292
|
+
UserContact: Ar(),
|
|
293
|
+
UserHead: Er(),
|
|
294
|
+
UserLink: Vr(),
|
|
295
|
+
Wizard: Wr()
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
};
|
|
295
299
|
export {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
+
xi as createMcpTools,
|
|
301
|
+
hi as enUS,
|
|
302
|
+
ki as getTinyVueMcpConfig,
|
|
303
|
+
Bi as zhCN
|
|
300
304
|
};
|
|
@@ -3,9 +3,9 @@ import { Business, ComponentMcpConfig } from './src/utils/defineTool';
|
|
|
3
3
|
import { default as zhCN } from './src/lang/zh-CN';
|
|
4
4
|
import { default as enUS } from './src/lang/en';
|
|
5
5
|
export declare const createMcpTools: (instance: any, { server, business }: {
|
|
6
|
-
server
|
|
6
|
+
server?: McpServer;
|
|
7
7
|
business: Business;
|
|
8
|
-
}, componentMcpConfig: ComponentMcpConfig) => void;
|
|
8
|
+
}, componentMcpConfig: ComponentMcpConfig) => (() => void) | undefined;
|
|
9
9
|
export declare const getTinyVueMcpConfig: ({ t }?: {
|
|
10
10
|
t?: ((path: string) => string) | null;
|
|
11
11
|
}) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
+
export declare const ensureWebMcp: () => {
|
|
3
|
+
registerTool: (tool: {
|
|
4
|
+
name: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
inputSchema: Record<string, unknown>;
|
|
8
|
+
execute: (args: Record<string, unknown>) => Promise<unknown>;
|
|
9
|
+
}, options: {
|
|
10
|
+
signal: AbortSignal;
|
|
11
|
+
}) => void | Promise<void>;
|
|
12
|
+
} | undefined;
|
|
2
13
|
/** 开发人员传入的业务信息 id要保证唯一性 */
|
|
3
14
|
export interface Business {
|
|
4
15
|
id: string;
|
|
@@ -15,7 +26,7 @@ export interface DefineToolOptions {
|
|
|
15
26
|
componentMcpConfig: ComponentMcpConfig;
|
|
16
27
|
/** tool 可操纵的上下文的变量和方法集合 */
|
|
17
28
|
instance: any;
|
|
18
|
-
server
|
|
29
|
+
server?: McpServer;
|
|
19
30
|
business: Business;
|
|
20
31
|
}
|
|
21
32
|
/**
|
|
@@ -25,4 +36,4 @@ export interface DefineToolOptions {
|
|
|
25
36
|
* @param server MCP 服务器实例
|
|
26
37
|
* @param business 业务信息
|
|
27
38
|
*/
|
|
28
|
-
export declare const defineTool: ({ componentMcpConfig, instance, server, business }: DefineToolOptions) => void;
|
|
39
|
+
export declare const defineTool: ({ componentMcpConfig, instance, server, business }: DefineToolOptions) => (() => void) | undefined;
|