exploria-ui-mcp-server 2.1.4 → 2.2.5
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/README.md +169 -109
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/dist/README.md +0 -633
- package/dist/components/advanced/e_parallax_scrolling/Document.vue +0 -23
- package/dist/components/advanced/e_parallax_scrolling/Using.vue +0 -20
- package/dist/components/advanced/e_parallax_scrolling/img.png +0 -0
- package/dist/components/advanced/e_parallax_scrolling/img_1.png +0 -0
- package/dist/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
- package/dist/components/advanced/e_rolling_follow/Document.vue +0 -21
- package/dist/components/advanced/e_rolling_follow/Using.vue +0 -54
- package/dist/components/advanced/e_virtual_list/ComprehensiveCase.vue +0 -209
- package/dist/components/advanced/e_virtual_list/Document.vue +0 -68
- package/dist/components/advanced/e_virtual_list/DynamicData.vue +0 -42
- package/dist/components/advanced/e_virtual_list/Using.vue +0 -32
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.css +0 -19
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
- package/dist/components/advanced/e_virtual_list/img.png +0 -0
- package/dist/components/advanced/e_watermark/AutoSize.vue +0 -89
- package/dist/components/advanced/e_watermark/BasicUsing.vue +0 -9
- package/dist/components/advanced/e_watermark/CustomFont.vue +0 -73
- package/dist/components/advanced/e_watermark/CustomStyle.vue +0 -76
- package/dist/components/advanced/e_watermark/Dense.vue +0 -28
- package/dist/components/advanced/e_watermark/Document.vue +0 -197
- package/dist/components/advanced/e_watermark/HighZIndex.vue +0 -105
- package/dist/components/advanced/e_watermark/ImageWatermark.vue +0 -31
- package/dist/components/advanced/e_watermark/MultiLine.vue +0 -29
- package/dist/components/advanced/e_watermark/OpacityWatermark.vue +0 -73
- package/dist/components/ai/typing_effect/Document.vue +0 -47
- package/dist/components/ai/typing_effect/Using1.vue +0 -189
- package/dist/components/ai/typing_effect/Using2.vue +0 -167
- package/dist/components/basic/e_badge/BasicBadge.vue +0 -31
- package/dist/components/basic/e_badge/Document.vue +0 -137
- package/dist/components/basic/e_badge/DotBadge.vue +0 -35
- package/dist/components/basic/e_badge/MaxBadge.vue +0 -33
- package/dist/components/basic/e_badge/ShowZeroBadge.vue +0 -30
- package/dist/components/basic/e_badge/SizeBadge.vue +0 -29
- package/dist/components/basic/e_badge/TypeBadge.vue +0 -36
- package/dist/components/basic/e_button/CircleButtons.vue +0 -30
- package/dist/components/basic/e_button/DisabledButtons.vue +0 -30
- package/dist/components/basic/e_button/Document.vue +0 -171
- package/dist/components/basic/e_button/LoadingButtons.vue +0 -30
- package/dist/components/basic/e_button/NormalButtons.vue +0 -30
- package/dist/components/basic/e_button/PlainButtons.vue +0 -30
- package/dist/components/basic/e_button/RoundButtons.vue +0 -30
- package/dist/components/basic/e_button/RoundedRectangleButtons.vue +0 -35
- package/dist/components/basic/e_button/SizeButtons.vue +0 -19
- package/dist/components/basic/e_button/Using.vue +0 -89
- package/dist/components/basic/e_card/BasicCard.vue +0 -9
- package/dist/components/basic/e_card/BorderlessCard.vue +0 -8
- package/dist/components/basic/e_card/ComplexContentCard.vue +0 -92
- package/dist/components/basic/e_card/CustomHeaderCard.vue +0 -24
- package/dist/components/basic/e_card/Document.vue +0 -131
- package/dist/components/basic/e_card/FooterCard.vue +0 -12
- package/dist/components/basic/e_card/ShadowCard.vue +0 -30
- package/dist/components/basic/e_card/SizesCard.vue +0 -29
- package/dist/components/basic/e_svg_icon/Document.vue +0 -38
- package/dist/components/basic/e_svg_icon/Using.vue +0 -7
- package/dist/components/basic/e_underline/BaseUsing.vue +0 -13
- package/dist/components/basic/e_underline/Document.vue +0 -27
- package/dist/components/basic/e_underline/ImgUsing.vue +0 -36
- package/dist/components/data/e_calendar/Document.vue +0 -41
- package/dist/components/data/e_calendar/Using.vue +0 -9
- package/dist/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/dist/components/data/e_carousel/Document.vue +0 -143
- package/dist/components/data/e_carousel/Using.vue +0 -20
- package/dist/components/data/e_carousel/Using1.vue +0 -23
- package/dist/components/data/e_carousel/Using2.vue +0 -17
- package/dist/components/data/e_carousel/Using3.vue +0 -17
- package/dist/components/data/e_collapse/Document.vue +0 -40
- package/dist/components/data/e_collapse/Using.vue +0 -9
- package/dist/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
- package/dist/components/data/e_image/Document.vue +0 -71
- package/dist/components/data/e_image/Using.vue +0 -21
- package/dist/components/data/e_image/img.png +0 -0
- package/dist/components/data/e_list/BasicUsage.vue +0 -18
- package/dist/components/data/e_list/CustomCheckboxUsage.vue +0 -22
- package/dist/components/data/e_list/CustomEmptyDataUsage.vue +0 -38
- package/dist/components/data/e_list/CustomRowUsage.vue +0 -64
- package/dist/components/data/e_list/DividerUsage.vue +0 -20
- package/dist/components/data/e_list/Document.vue +0 -261
- package/dist/components/data/e_list/EmptyDataUsage.vue +0 -3
- package/dist/components/data/e_list/EventUsage.vue +0 -23
- package/dist/components/data/e_list/MultipleSelectUsage.vue +0 -22
- package/dist/components/data/e_list/SingleSelectUsage.vue +0 -21
- package/dist/components/data/e_list/SizeUsage.vue +0 -35
- package/dist/components/data/e_media_viewer/Document.vue +0 -39
- package/dist/components/data/e_media_viewer/Using.vue +0 -30
- package/dist/components/data/e_media_viewer/img.png +0 -0
- package/dist/components/data/e_progress/BasicProgress.vue +0 -21
- package/dist/components/data/e_progress/CircleProgress.vue +0 -23
- package/dist/components/data/e_progress/CustomColorProgress.vue +0 -63
- package/dist/components/data/e_progress/Document.vue +0 -179
- package/dist/components/data/e_progress/IndeterminateProgress.vue +0 -49
- package/dist/components/data/e_progress/ProgressSize.vue +0 -50
- package/dist/components/data/e_progress/ProgressStatus.vue +0 -21
- package/dist/components/data/e_progress/ProgressText.vue +0 -52
- package/dist/components/data/e_rolling_pagination/Document.vue +0 -21
- package/dist/components/data/e_rolling_pagination/Using.vue +0 -33
- package/dist/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
- package/dist/components/data/e_skeleton/Document.vue +0 -26
- package/dist/components/data/e_skeleton/Using.vue +0 -18
- package/dist/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/dist/components/data/e_table/Document.vue +0 -85
- package/dist/components/data/e_table/Using.vue +0 -131
- package/dist/components/data/e_timeline/Document.vue +0 -90
- package/dist/components/data/e_timeline/Using.vue +0 -124
- package/dist/components/feedback/e_dialog/AsyncUsing.vue +0 -30
- package/dist/components/feedback/e_dialog/BaseUsing.vue +0 -15
- package/dist/components/feedback/e_dialog/Document.vue +0 -26
- package/dist/components/feedback/e_drawer/BaseUsing.vue +0 -35
- package/dist/components/feedback/e_drawer/DirectionUsing.vue +0 -93
- package/dist/components/feedback/e_drawer/Document.vue +0 -153
- package/dist/components/feedback/e_drawer/LargeSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_drawer/MediumSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_drawer/SizeUsing.vue +0 -67
- package/dist/components/feedback/e_drawer/SmallSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_message/Document.vue +0 -18
- package/dist/components/feedback/e_message/Using.vue +0 -16
- package/dist/components/feedback/e_message_box/BaseUsing.vue +0 -11
- package/dist/components/feedback/e_message_box/Document.vue +0 -18
- package/dist/components/feedback/e_message_box/intro.md +0 -12
- package/dist/components/feedback/e_notification/AllPositionsNotification.vue +0 -35
- package/dist/components/feedback/e_notification/BasicTypesNotification.vue +0 -47
- package/dist/components/feedback/e_notification/ClickableNotification.vue +0 -18
- package/dist/components/feedback/e_notification/Document.vue +0 -147
- package/dist/components/feedback/e_notification/ManualCloseNotification.vue +0 -17
- package/dist/components/feedback/e_notification/Using.vue +0 -253
- package/dist/components/feedback/e_popover/BasicUsage.vue +0 -51
- package/dist/components/feedback/e_popover/ContextmenuTrigger.vue +0 -27
- package/dist/components/feedback/e_popover/CustomContent.vue +0 -43
- package/dist/components/feedback/e_popover/CustomTrigger.vue +0 -39
- package/dist/components/feedback/e_popover/Document.vue +0 -84
- package/dist/components/feedback/e_popover/HoverTrigger.vue +0 -29
- package/dist/components/feedback/e_popover/SizeVariants.vue +0 -36
- package/dist/components/feedback/e_popover/Using.vue +0 -177
- package/dist/components/feedback/e_tooltip/Document.vue +0 -42
- package/dist/components/feedback/e_tooltip/SizeUsing.vue +0 -28
- package/dist/components/feedback/e_tooltip/Using.vue +0 -44
- package/dist/components/form/e_checkbox/Document.vue +0 -88
- package/dist/components/form/e_checkbox/Using.vue +0 -10
- package/dist/components/form/e_color_picker/Document.vue +0 -55
- package/dist/components/form/e_color_picker/Using.vue +0 -10
- package/dist/components/form/e_condition_group/Document.vue +0 -52
- package/dist/components/form/e_condition_group/Using.vue +0 -165
- package/dist/components/form/e_file_selector/Document.vue +0 -50
- package/dist/components/form/e_file_selector/Using.vue +0 -44
- package/dist/components/form/e_form/BaseUsage.vue +0 -155
- package/dist/components/form/e_form/Document.vue +0 -93
- package/dist/components/form/e_form/LoginForm.vue +0 -150
- package/dist/components/form/e_form/RegisterForm.vue +0 -46
- package/dist/components/form/e_form/iconfont/iconfont.css +0 -67
- package/dist/components/form/e_form/iconfont/iconfont.ttf +0 -0
- package/dist/components/form/e_form/iconfont/iconfont.woff +0 -0
- package/dist/components/form/e_form/iconfont/iconfont.woff2 +0 -0
- package/dist/components/form/e_input/BaseUsage.vue +0 -16
- package/dist/components/form/e_input/Clearable.vue +0 -24
- package/dist/components/form/e_input/Document.vue +0 -111
- package/dist/components/form/e_input/Number.vue +0 -10
- package/dist/components/form/e_input/Password.vue +0 -52
- package/dist/components/form/e_input/iconfont/iconfont.css +0 -67
- package/dist/components/form/e_input/iconfont/iconfont.ttf +0 -0
- package/dist/components/form/e_input/iconfont/iconfont.woff +0 -0
- package/dist/components/form/e_input/iconfont/iconfont.woff2 +0 -0
- package/dist/components/form/e_radio/Document.vue +0 -88
- package/dist/components/form/e_radio/Using.vue +0 -14
- package/dist/components/form/e_select/Document.vue +0 -32
- package/dist/components/form/e_select/Using.vue +0 -24
- package/dist/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
- package/dist/components/form/e_slider/BaseUsage.vue +0 -10
- package/dist/components/form/e_slider/CustomRange.vue +0 -21
- package/dist/components/form/e_slider/Disabled.vue +0 -10
- package/dist/components/form/e_slider/Document.vue +0 -55
- package/dist/components/form/e_slider/ShowValue.vue +0 -10
- package/dist/components/form/e_slider/Sizes.vue +0 -47
- package/dist/components/form/e_time_picker/Document.vue +0 -58
- package/dist/components/form/e_time_picker/Using.vue +0 -13
- package/dist/components/geometry/css_3d/Document.vue +0 -17
- package/dist/components/geometry/css_3d/Using.vue +0 -9
- package/dist/components/layout/e_scroll_x/Document.vue +0 -39
- package/dist/components/layout/e_scroll_x/Using.vue +0 -38
- package/dist/components/navigation/e_dropdown/BasicUsage.vue +0 -64
- package/dist/components/navigation/e_dropdown/Contextmenu.vue +0 -41
- package/dist/components/navigation/e_dropdown/Document.vue +0 -72
- package/dist/components/navigation/e_dropdown/HoverTrigger.vue +0 -66
- package/dist/components/navigation/e_dropdown/NestedDropdown.vue +0 -143
- package/dist/components/navigation/e_tabs/Document.vue +0 -33
- package/dist/components/navigation/e_tabs/Using.vue +0 -40
- package/dist/directives/e_uuid_util/Document.vue +0 -15
- package/dist/directives/e_uuid_util/Using.vue +0 -13
- package/dist/other/advanced/gsap/BasicUsing.vue +0 -26
- package/dist/other/advanced/gsap/Document.vue +0 -45
- package/dist/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/gsap/ScrollTrigger.vue +0 -195
- package/dist/other/advanced/gsap/ScrollX.vue +0 -81
- package/dist/other/advanced/gsap/Timeline.vue +0 -30
- package/dist/other/advanced/lottie/BasicUsing.vue +0 -33
- package/dist/other/advanced/lottie/Document.vue +0 -30
- package/dist/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/rich_text_editor/Document.vue +0 -24
- package/dist/other/advanced/rich_text_editor/RichTextEditor.vue +0 -105
- package/dist/other/advanced/rich_text_editor/wangeditor_style.css +0 -684
- package/dist/other/advanced/sortablejs/Document.vue +0 -32
- package/dist/other/advanced/sortablejs/ShuttleFrame.vue +0 -181
- package/dist/other/advanced/sortablejs/Using.vue +0 -68
- package/dist/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
- package/dist/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
- package/dist/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
- package/dist/other/advanced/spelling/Document.vue +0 -17
- package/dist/other/advanced/spelling/Using.vue +0 -104
- package/dist/other/advanced/svg/BasicUsing.vue +0 -12
- package/dist/other/advanced/svg/Document.vue +0 -24
- package/dist/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/dist/other/advanced/svg/FeDisplacementMap/example/Image.vue +0 -41
- package/dist/other/advanced/svg/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/advanced/svg/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/dist/other/advanced/svg/FeTurbulence/FeTurbulence.vue +0 -28
- package/dist/other/advanced/svg/FeTurbulence/example/Image.vue +0 -41
- package/dist/other/advanced/svg/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/dist/other/canvas/base/Document.vue +0 -15
- package/dist/other/canvas/base/Using.vue +0 -125
- package/dist/other/canvas/burrow/Clip.vue +0 -66
- package/dist/other/canvas/burrow/Document.vue +0 -36
- package/dist/other/canvas/burrow/Erase.vue +0 -58
- package/dist/other/canvas/burrow/NonZeroSurroundRule.vue +0 -70
- package/dist/other/canvas/clip/Clip.vue +0 -58
- package/dist/other/canvas/clip/Document.vue +0 -26
- package/dist/other/canvas/definition/Document.vue +0 -26
- package/dist/other/canvas/definition/Using.vue +0 -60
- package/dist/other/echarts/basic/Document.vue +0 -36
- package/dist/other/echarts/basic/Label.vue +0 -98
- package/dist/other/echarts/data_zoom/Document.vue +0 -38
- package/dist/other/echarts/data_zoom/Using.vue +0 -119
- package/dist/other/echarts/data_zoom/img.svg +0 -33
- package/dist/other/echarts/gauge/Document.vue +0 -38
- package/dist/other/echarts/gauge/Gauge.vue +0 -340
- package/dist/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/dist/other/echarts/liquidfill/Document.vue +0 -46
- package/dist/other/echarts/liquidfill/Using.vue +0 -239
- package/dist/other/git/sample_set/Document.vue +0 -43
- package/dist/other/git/sample_set/img/img.png +0 -0
- package/dist/other/git/sample_set/img/img_1.png +0 -0
- package/dist/other/git/sample_set/img/img_2.png +0 -0
- package/dist/other/layout/flex/Advanced.vue +0 -104
- package/dist/other/layout/flex/Advanced2.vue +0 -181
- package/dist/other/layout/flex/Base.vue +0 -48
- package/dist/other/layout/flex/Document.vue +0 -57
- package/dist/other/layout/flex/Grid.vue +0 -54
- package/dist/other/layout/flex/Height100.vue +0 -35
- package/dist/other/layout/flex/intro.md +0 -1
- package/dist/other/layout/grid/Base.vue +0 -29
- package/dist/other/layout/grid/Document.vue +0 -54
- package/dist/other/layout/grid/Grid.vue +0 -28
- package/dist/other/layout/grid/Height100.vue +0 -35
- package/dist/other/layout/grid/intro.md +0 -1
- package/dist/other/navigation/new_tab_page/Document.vue +0 -18
- package/dist/other/navigation/new_tab_page/OpenNewTabPage.vue +0 -7
- package/dist/other/navigation/new_tab_page/new-tab-page-demo.html +0 -450
- package/dist/other/network/sse/Document.vue +0 -21
- package/dist/other/network/sse/Using.vue +0 -24
- package/dist/other/network/sse/server/app.ts +0 -62
- package/dist/other/network/sse/server/static/text.md +0 -99
- package/dist/other/network/sse/server/utils/sleep.ts +0 -5
- package/dist/other/observer/mutation_observer/Document.vue +0 -15
- package/dist/other/observer/mutation_observer/Using.vue +0 -46
- package/dist/other/optimize/Document.vue +0 -19
- package/dist/other/optimize/HeavyComp.vue +0 -19
- package/dist/other/optimize/Using.vue +0 -14
- package/dist/other/optimize/useDefer.ts +0 -28
- package/dist/other/svg/base/BasicUsing.vue +0 -12
- package/dist/other/svg/base/Document.vue +0 -24
- package/dist/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/dist/other/svg/base/FeDisplacementMap/example/Image.vue +0 -41
- package/dist/other/svg/base/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/svg/base/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/dist/other/svg/base/FeTurbulence/FeTurbulence.vue +0 -28
- package/dist/other/svg/base/FeTurbulence/example/Image.vue +0 -41
- package/dist/other/svg/base/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/dist/other/threejs/base/Document.vue +0 -17
- package/dist/other/threejs/base/Using.vue +0 -127
- package/dist/other/threejs/controller_sync/Document.vue +0 -15
- package/dist/other/threejs/controller_sync/Using.vue +0 -347
- package/dist/other/threejs/controller_sync/bone//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/dist/other/threejs/controller_sync/motion//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/dist/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
- package/dist/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
- package/dist/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
- package/dist/other/threejs/phoenix/Document.vue +0 -17
- package/dist/other/threejs/phoenix/Using.vue +0 -79
- package/dist/other/vue/life_cycle/Child.vue +0 -43
- package/dist/other/vue/life_cycle/Document.vue +0 -15
- package/dist/other/vue/life_cycle/Using.vue +0 -16
- package/dist/utils/e_echarts_util/Document.vue +0 -14
- package/dist/utils/e_echarts_util/Using.vue +0 -81
- package/dist/utils/e_image_util/Document.vue +0 -15
- package/dist/utils/e_image_util/Using.vue +0 -24
- package/dist/utils/e_image_util/author_avatar.png +0 -0
- package/dist/utils/e_uuid_util/Document.vue +0 -15
- package/dist/utils/e_uuid_util/Using.vue +0 -13
- package/dist/utils/type_utils/Document.vue +0 -16
- package/dist/utils/type_utils/TupleType.vue +0 -16
- package/public/README.md +0 -633
- package/public/components/advanced/e_parallax_scrolling/Document.vue +0 -23
- package/public/components/advanced/e_parallax_scrolling/Using.vue +0 -20
- package/public/components/advanced/e_parallax_scrolling/img.png +0 -0
- package/public/components/advanced/e_parallax_scrolling/img_1.png +0 -0
- package/public/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
- package/public/components/advanced/e_rolling_follow/Document.vue +0 -21
- package/public/components/advanced/e_rolling_follow/Using.vue +0 -54
- package/public/components/advanced/e_virtual_list/ComprehensiveCase.vue +0 -209
- package/public/components/advanced/e_virtual_list/Document.vue +0 -68
- package/public/components/advanced/e_virtual_list/DynamicData.vue +0 -42
- package/public/components/advanced/e_virtual_list/Using.vue +0 -32
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.css +0 -19
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
- package/public/components/advanced/e_virtual_list/img.png +0 -0
- package/public/components/advanced/e_watermark/AutoSize.vue +0 -89
- package/public/components/advanced/e_watermark/BasicUsing.vue +0 -9
- package/public/components/advanced/e_watermark/CustomFont.vue +0 -73
- package/public/components/advanced/e_watermark/CustomStyle.vue +0 -76
- package/public/components/advanced/e_watermark/Dense.vue +0 -28
- package/public/components/advanced/e_watermark/Document.vue +0 -197
- package/public/components/advanced/e_watermark/HighZIndex.vue +0 -105
- package/public/components/advanced/e_watermark/ImageWatermark.vue +0 -31
- package/public/components/advanced/e_watermark/MultiLine.vue +0 -29
- package/public/components/advanced/e_watermark/OpacityWatermark.vue +0 -73
- package/public/components/ai/typing_effect/Document.vue +0 -47
- package/public/components/ai/typing_effect/Using1.vue +0 -189
- package/public/components/ai/typing_effect/Using2.vue +0 -167
- package/public/components/basic/e_badge/BasicBadge.vue +0 -31
- package/public/components/basic/e_badge/Document.vue +0 -137
- package/public/components/basic/e_badge/DotBadge.vue +0 -35
- package/public/components/basic/e_badge/MaxBadge.vue +0 -33
- package/public/components/basic/e_badge/ShowZeroBadge.vue +0 -30
- package/public/components/basic/e_badge/SizeBadge.vue +0 -29
- package/public/components/basic/e_badge/TypeBadge.vue +0 -36
- package/public/components/basic/e_button/CircleButtons.vue +0 -30
- package/public/components/basic/e_button/DisabledButtons.vue +0 -30
- package/public/components/basic/e_button/Document.vue +0 -171
- package/public/components/basic/e_button/LoadingButtons.vue +0 -30
- package/public/components/basic/e_button/NormalButtons.vue +0 -30
- package/public/components/basic/e_button/PlainButtons.vue +0 -30
- package/public/components/basic/e_button/RoundButtons.vue +0 -30
- package/public/components/basic/e_button/RoundedRectangleButtons.vue +0 -35
- package/public/components/basic/e_button/SizeButtons.vue +0 -19
- package/public/components/basic/e_button/Using.vue +0 -89
- package/public/components/basic/e_card/BasicCard.vue +0 -9
- package/public/components/basic/e_card/BorderlessCard.vue +0 -8
- package/public/components/basic/e_card/ComplexContentCard.vue +0 -92
- package/public/components/basic/e_card/CustomHeaderCard.vue +0 -24
- package/public/components/basic/e_card/Document.vue +0 -131
- package/public/components/basic/e_card/FooterCard.vue +0 -12
- package/public/components/basic/e_card/ShadowCard.vue +0 -30
- package/public/components/basic/e_card/SizesCard.vue +0 -29
- package/public/components/basic/e_svg_icon/Document.vue +0 -38
- package/public/components/basic/e_svg_icon/Using.vue +0 -7
- package/public/components/basic/e_underline/BaseUsing.vue +0 -13
- package/public/components/basic/e_underline/Document.vue +0 -27
- package/public/components/basic/e_underline/ImgUsing.vue +0 -36
- package/public/components/data/e_calendar/Document.vue +0 -41
- package/public/components/data/e_calendar/Using.vue +0 -9
- package/public/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/public/components/data/e_carousel/Document.vue +0 -143
- package/public/components/data/e_carousel/Using.vue +0 -20
- package/public/components/data/e_carousel/Using1.vue +0 -23
- package/public/components/data/e_carousel/Using2.vue +0 -17
- package/public/components/data/e_carousel/Using3.vue +0 -17
- package/public/components/data/e_collapse/Document.vue +0 -40
- package/public/components/data/e_collapse/Using.vue +0 -9
- package/public/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
- package/public/components/data/e_image/Document.vue +0 -71
- package/public/components/data/e_image/Using.vue +0 -21
- package/public/components/data/e_image/img.png +0 -0
- package/public/components/data/e_list/BasicUsage.vue +0 -18
- package/public/components/data/e_list/CustomCheckboxUsage.vue +0 -22
- package/public/components/data/e_list/CustomEmptyDataUsage.vue +0 -38
- package/public/components/data/e_list/CustomRowUsage.vue +0 -64
- package/public/components/data/e_list/DividerUsage.vue +0 -20
- package/public/components/data/e_list/Document.vue +0 -261
- package/public/components/data/e_list/EmptyDataUsage.vue +0 -3
- package/public/components/data/e_list/EventUsage.vue +0 -23
- package/public/components/data/e_list/MultipleSelectUsage.vue +0 -22
- package/public/components/data/e_list/SingleSelectUsage.vue +0 -21
- package/public/components/data/e_list/SizeUsage.vue +0 -35
- package/public/components/data/e_media_viewer/Document.vue +0 -39
- package/public/components/data/e_media_viewer/Using.vue +0 -30
- package/public/components/data/e_media_viewer/img.png +0 -0
- package/public/components/data/e_progress/BasicProgress.vue +0 -21
- package/public/components/data/e_progress/CircleProgress.vue +0 -23
- package/public/components/data/e_progress/CustomColorProgress.vue +0 -63
- package/public/components/data/e_progress/Document.vue +0 -179
- package/public/components/data/e_progress/IndeterminateProgress.vue +0 -49
- package/public/components/data/e_progress/ProgressSize.vue +0 -50
- package/public/components/data/e_progress/ProgressStatus.vue +0 -21
- package/public/components/data/e_progress/ProgressText.vue +0 -52
- package/public/components/data/e_rolling_pagination/Document.vue +0 -21
- package/public/components/data/e_rolling_pagination/Using.vue +0 -33
- package/public/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
- package/public/components/data/e_skeleton/Document.vue +0 -26
- package/public/components/data/e_skeleton/Using.vue +0 -18
- package/public/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/public/components/data/e_table/Document.vue +0 -85
- package/public/components/data/e_table/Using.vue +0 -131
- package/public/components/data/e_timeline/Document.vue +0 -90
- package/public/components/data/e_timeline/Using.vue +0 -124
- package/public/components/feedback/e_dialog/AsyncUsing.vue +0 -30
- package/public/components/feedback/e_dialog/BaseUsing.vue +0 -15
- package/public/components/feedback/e_dialog/Document.vue +0 -26
- package/public/components/feedback/e_drawer/BaseUsing.vue +0 -35
- package/public/components/feedback/e_drawer/DirectionUsing.vue +0 -93
- package/public/components/feedback/e_drawer/Document.vue +0 -153
- package/public/components/feedback/e_drawer/LargeSizeDrawer.vue +0 -29
- package/public/components/feedback/e_drawer/MediumSizeDrawer.vue +0 -29
- package/public/components/feedback/e_drawer/SizeUsing.vue +0 -67
- package/public/components/feedback/e_drawer/SmallSizeDrawer.vue +0 -29
- package/public/components/feedback/e_message/Document.vue +0 -18
- package/public/components/feedback/e_message/Using.vue +0 -16
- package/public/components/feedback/e_message_box/BaseUsing.vue +0 -11
- package/public/components/feedback/e_message_box/Document.vue +0 -18
- package/public/components/feedback/e_message_box/intro.md +0 -12
- package/public/components/feedback/e_notification/AllPositionsNotification.vue +0 -35
- package/public/components/feedback/e_notification/BasicTypesNotification.vue +0 -47
- package/public/components/feedback/e_notification/ClickableNotification.vue +0 -18
- package/public/components/feedback/e_notification/Document.vue +0 -147
- package/public/components/feedback/e_notification/ManualCloseNotification.vue +0 -17
- package/public/components/feedback/e_notification/Using.vue +0 -253
- package/public/components/feedback/e_popover/BasicUsage.vue +0 -51
- package/public/components/feedback/e_popover/ContextmenuTrigger.vue +0 -27
- package/public/components/feedback/e_popover/CustomContent.vue +0 -43
- package/public/components/feedback/e_popover/CustomTrigger.vue +0 -39
- package/public/components/feedback/e_popover/Document.vue +0 -84
- package/public/components/feedback/e_popover/HoverTrigger.vue +0 -29
- package/public/components/feedback/e_popover/SizeVariants.vue +0 -36
- package/public/components/feedback/e_popover/Using.vue +0 -177
- package/public/components/feedback/e_tooltip/Document.vue +0 -42
- package/public/components/feedback/e_tooltip/SizeUsing.vue +0 -28
- package/public/components/feedback/e_tooltip/Using.vue +0 -44
- package/public/components/form/e_checkbox/Document.vue +0 -88
- package/public/components/form/e_checkbox/Using.vue +0 -10
- package/public/components/form/e_color_picker/Document.vue +0 -55
- package/public/components/form/e_color_picker/Using.vue +0 -10
- package/public/components/form/e_condition_group/Document.vue +0 -52
- package/public/components/form/e_condition_group/Using.vue +0 -165
- package/public/components/form/e_file_selector/Document.vue +0 -50
- package/public/components/form/e_file_selector/Using.vue +0 -44
- package/public/components/form/e_form/BaseUsage.vue +0 -155
- package/public/components/form/e_form/Document.vue +0 -93
- package/public/components/form/e_form/LoginForm.vue +0 -150
- package/public/components/form/e_form/RegisterForm.vue +0 -46
- package/public/components/form/e_form/iconfont/iconfont.css +0 -67
- package/public/components/form/e_form/iconfont/iconfont.ttf +0 -0
- package/public/components/form/e_form/iconfont/iconfont.woff +0 -0
- package/public/components/form/e_form/iconfont/iconfont.woff2 +0 -0
- package/public/components/form/e_input/BaseUsage.vue +0 -16
- package/public/components/form/e_input/Clearable.vue +0 -24
- package/public/components/form/e_input/Document.vue +0 -111
- package/public/components/form/e_input/Number.vue +0 -10
- package/public/components/form/e_input/Password.vue +0 -52
- package/public/components/form/e_input/iconfont/iconfont.css +0 -67
- package/public/components/form/e_input/iconfont/iconfont.ttf +0 -0
- package/public/components/form/e_input/iconfont/iconfont.woff +0 -0
- package/public/components/form/e_input/iconfont/iconfont.woff2 +0 -0
- package/public/components/form/e_radio/Document.vue +0 -88
- package/public/components/form/e_radio/Using.vue +0 -14
- package/public/components/form/e_select/Document.vue +0 -32
- package/public/components/form/e_select/Using.vue +0 -24
- package/public/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
- package/public/components/form/e_slider/BaseUsage.vue +0 -10
- package/public/components/form/e_slider/CustomRange.vue +0 -21
- package/public/components/form/e_slider/Disabled.vue +0 -10
- package/public/components/form/e_slider/Document.vue +0 -55
- package/public/components/form/e_slider/ShowValue.vue +0 -10
- package/public/components/form/e_slider/Sizes.vue +0 -47
- package/public/components/form/e_time_picker/Document.vue +0 -58
- package/public/components/form/e_time_picker/Using.vue +0 -13
- package/public/components/geometry/css_3d/Document.vue +0 -17
- package/public/components/geometry/css_3d/Using.vue +0 -9
- package/public/components/layout/e_scroll_x/Document.vue +0 -39
- package/public/components/layout/e_scroll_x/Using.vue +0 -38
- package/public/components/navigation/e_dropdown/BasicUsage.vue +0 -64
- package/public/components/navigation/e_dropdown/Contextmenu.vue +0 -41
- package/public/components/navigation/e_dropdown/Document.vue +0 -72
- package/public/components/navigation/e_dropdown/HoverTrigger.vue +0 -66
- package/public/components/navigation/e_dropdown/NestedDropdown.vue +0 -143
- package/public/components/navigation/e_tabs/Document.vue +0 -33
- package/public/components/navigation/e_tabs/Using.vue +0 -40
- package/public/directives/e_uuid_util/Document.vue +0 -15
- package/public/directives/e_uuid_util/Using.vue +0 -13
- package/public/other/advanced/gsap/BasicUsing.vue +0 -26
- package/public/other/advanced/gsap/Document.vue +0 -45
- package/public/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/public/other/advanced/gsap/ScrollTrigger.vue +0 -195
- package/public/other/advanced/gsap/ScrollX.vue +0 -81
- package/public/other/advanced/gsap/Timeline.vue +0 -30
- package/public/other/advanced/lottie/BasicUsing.vue +0 -33
- package/public/other/advanced/lottie/Document.vue +0 -30
- package/public/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/public/other/advanced/rich_text_editor/Document.vue +0 -24
- package/public/other/advanced/rich_text_editor/RichTextEditor.vue +0 -105
- package/public/other/advanced/rich_text_editor/wangeditor_style.css +0 -684
- package/public/other/advanced/sortablejs/Document.vue +0 -32
- package/public/other/advanced/sortablejs/ShuttleFrame.vue +0 -181
- package/public/other/advanced/sortablejs/Using.vue +0 -68
- package/public/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
- package/public/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
- package/public/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
- package/public/other/advanced/spelling/Document.vue +0 -17
- package/public/other/advanced/spelling/Using.vue +0 -104
- package/public/other/advanced/svg/BasicUsing.vue +0 -12
- package/public/other/advanced/svg/Document.vue +0 -24
- package/public/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/public/other/advanced/svg/FeDisplacementMap/example/Image.vue +0 -41
- package/public/other/advanced/svg/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/advanced/svg/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/public/other/advanced/svg/FeTurbulence/FeTurbulence.vue +0 -28
- package/public/other/advanced/svg/FeTurbulence/example/Image.vue +0 -41
- package/public/other/advanced/svg/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/public/other/canvas/base/Document.vue +0 -15
- package/public/other/canvas/base/Using.vue +0 -125
- package/public/other/canvas/burrow/Clip.vue +0 -66
- package/public/other/canvas/burrow/Document.vue +0 -36
- package/public/other/canvas/burrow/Erase.vue +0 -58
- package/public/other/canvas/burrow/NonZeroSurroundRule.vue +0 -70
- package/public/other/canvas/clip/Clip.vue +0 -58
- package/public/other/canvas/clip/Document.vue +0 -26
- package/public/other/canvas/definition/Document.vue +0 -26
- package/public/other/canvas/definition/Using.vue +0 -60
- package/public/other/echarts/basic/Document.vue +0 -36
- package/public/other/echarts/basic/Label.vue +0 -98
- package/public/other/echarts/data_zoom/Document.vue +0 -38
- package/public/other/echarts/data_zoom/Using.vue +0 -119
- package/public/other/echarts/data_zoom/img.svg +0 -33
- package/public/other/echarts/gauge/Document.vue +0 -38
- package/public/other/echarts/gauge/Gauge.vue +0 -340
- package/public/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/public/other/echarts/liquidfill/Document.vue +0 -46
- package/public/other/echarts/liquidfill/Using.vue +0 -239
- package/public/other/git/sample_set/Document.vue +0 -43
- package/public/other/git/sample_set/img/img.png +0 -0
- package/public/other/git/sample_set/img/img_1.png +0 -0
- package/public/other/git/sample_set/img/img_2.png +0 -0
- package/public/other/layout/flex/Advanced.vue +0 -104
- package/public/other/layout/flex/Advanced2.vue +0 -181
- package/public/other/layout/flex/Base.vue +0 -48
- package/public/other/layout/flex/Document.vue +0 -57
- package/public/other/layout/flex/Grid.vue +0 -54
- package/public/other/layout/flex/Height100.vue +0 -35
- package/public/other/layout/flex/intro.md +0 -1
- package/public/other/layout/grid/Base.vue +0 -29
- package/public/other/layout/grid/Document.vue +0 -54
- package/public/other/layout/grid/Grid.vue +0 -28
- package/public/other/layout/grid/Height100.vue +0 -35
- package/public/other/layout/grid/intro.md +0 -1
- package/public/other/navigation/new_tab_page/Document.vue +0 -18
- package/public/other/navigation/new_tab_page/OpenNewTabPage.vue +0 -7
- package/public/other/navigation/new_tab_page/new-tab-page-demo.html +0 -450
- package/public/other/network/sse/Document.vue +0 -21
- package/public/other/network/sse/Using.vue +0 -24
- package/public/other/network/sse/server/app.ts +0 -62
- package/public/other/network/sse/server/static/text.md +0 -99
- package/public/other/network/sse/server/utils/sleep.ts +0 -5
- package/public/other/observer/mutation_observer/Document.vue +0 -15
- package/public/other/observer/mutation_observer/Using.vue +0 -46
- package/public/other/optimize/Document.vue +0 -19
- package/public/other/optimize/HeavyComp.vue +0 -19
- package/public/other/optimize/Using.vue +0 -14
- package/public/other/optimize/useDefer.ts +0 -28
- package/public/other/svg/base/BasicUsing.vue +0 -12
- package/public/other/svg/base/Document.vue +0 -24
- package/public/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/public/other/svg/base/FeDisplacementMap/example/Image.vue +0 -41
- package/public/other/svg/base/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/svg/base/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/public/other/svg/base/FeTurbulence/FeTurbulence.vue +0 -28
- package/public/other/svg/base/FeTurbulence/example/Image.vue +0 -41
- package/public/other/svg/base/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/public/other/threejs/base/Document.vue +0 -17
- package/public/other/threejs/base/Using.vue +0 -127
- package/public/other/threejs/controller_sync/Document.vue +0 -15
- package/public/other/threejs/controller_sync/Using.vue +0 -347
- package/public/other/threejs/controller_sync/bone//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/public/other/threejs/controller_sync/motion//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/public/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
- package/public/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
- package/public/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
- package/public/other/threejs/phoenix/Document.vue +0 -17
- package/public/other/threejs/phoenix/Using.vue +0 -79
- package/public/other/vue/life_cycle/Child.vue +0 -43
- package/public/other/vue/life_cycle/Document.vue +0 -15
- package/public/other/vue/life_cycle/Using.vue +0 -16
- package/public/utils/e_echarts_util/Document.vue +0 -14
- package/public/utils/e_echarts_util/Using.vue +0 -81
- package/public/utils/e_image_util/Document.vue +0 -15
- package/public/utils/e_image_util/Using.vue +0 -24
- package/public/utils/e_image_util/author_avatar.png +0 -0
- package/public/utils/e_uuid_util/Document.vue +0 -15
- package/public/utils/e_uuid_util/Using.vue +0 -13
- package/public/utils/type_utils/Document.vue +0 -16
- package/public/utils/type_utils/TupleType.vue +0 -16
package/README.md
CHANGED
|
@@ -1,40 +1,97 @@
|
|
|
1
1
|
# Exploria UI MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 1. 项目概述
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### 1.1 项目定位
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Exploria UI MCP Server 是基于 MCP(Model Context Protocol)协议的服务,作为 AI IDE(如 Cursor、Trae IDE)与 Exploria UI 组件库之间的关键桥梁,允许 AI 客户端无缝访问和查询 Exploria UI 组件库的文档和信息。
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### 1.2 核心价值
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- **连接 AI 工作流与组件库**:为 AI IDE 提供直接访问 Exploria UI 组件库文档的能力
|
|
12
|
+
- **提升开发效率**:AI 可以直接获取组件详细信息,生成代码示例和文档
|
|
13
|
+
- **统一访问接口**:基于 MCP 协议,为所有 AI IDE 提供标准化的访问方式
|
|
14
|
+
- **增强 AI 能力**:为 AI 模型提供准确的组件信息,生成更优质的代码和解决方案
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
- **轻量通信**:使用标准输入输出(stdio)通信,无需网络端口
|
|
15
|
-
- **自动管理**:由 AI 客户端自动启动、管理和停止
|
|
16
|
-
- **安全可靠**:通过管道通信,避免网络安全风险
|
|
16
|
+
## 2. Exploria UI 组件库
|
|
17
17
|
|
|
18
|
-
### 1
|
|
18
|
+
### 2.1 设计理念
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
2. 根据 `mcpServers` 配置自动启动 MCP Server 子进程
|
|
22
|
-
3. 通过 stdio 与 MCP Server 通信
|
|
23
|
-
4. 发送初始化指令,获取可用工具列表
|
|
24
|
-
5. 按需调用工具,获取结果
|
|
25
|
-
6. IDE 关闭时自动终止 MCP Server 进程
|
|
20
|
+
Exploria UI 是一套现代化、高性能的 UI 组件库,专注于提供优雅的设计和出色的用户体验。其设计理念包括:
|
|
26
21
|
|
|
27
|
-
|
|
22
|
+
- **模块化设计**:组件高度模块化,便于组合和扩展
|
|
23
|
+
- **响应式布局**:适配各种屏幕尺寸,提供一致的用户体验
|
|
24
|
+
- **可定制性**:支持主题定制和样式覆盖
|
|
25
|
+
- **高性能**:优化渲染性能,确保流畅的交互体验
|
|
28
26
|
|
|
29
|
-
### 2.
|
|
27
|
+
### 2.2 核心组件类别
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
Exploria UI 组件库包含丰富的组件,按功能分为以下几类:
|
|
30
|
+
|
|
31
|
+
| 类别 | 描述 | 示例组件 |
|
|
32
|
+
| ------------ | ------------------------ | ------------------------ |
|
|
33
|
+
| 基础组件 | 构建 UI 的基础元素 | Button, Input, Icon |
|
|
34
|
+
| 布局组件 | 用于页面布局的组件 | Layout, Grid, Space |
|
|
35
|
+
| 表单组件 | 用于数据收集和验证的组件 | Form, Select, DatePicker |
|
|
36
|
+
| 数据展示组件 | 用于展示数据的组件 | Table, List, Card |
|
|
37
|
+
| 反馈组件 | 用于用户反馈的组件 | Modal, Message, Loading |
|
|
38
|
+
| 导航组件 | 用于页面导航的组件 | Menu, Tabs, Breadcrumb |
|
|
39
|
+
| 高级组件 | 复杂功能的组合组件 | Pagination, Upload, Tree |
|
|
40
|
+
| AI 相关组件 | 集成 AI 功能的组件 | AI Assistant, Chatbot |
|
|
41
|
+
|
|
42
|
+
### 2.3 文档体系
|
|
43
|
+
|
|
44
|
+
Exploria UI 拥有完整的文档体系,包括:
|
|
45
|
+
|
|
46
|
+
- **组件文档**:详细的组件使用说明、属性列表、事件和插槽
|
|
47
|
+
- **API 文档**:完整的 API 参考
|
|
48
|
+
- **使用示例**:丰富的代码示例和最佳实践
|
|
49
|
+
- **设计指南**:设计原则和样式规范
|
|
50
|
+
|
|
51
|
+
## 3. MCP Server 核心架构
|
|
52
|
+
|
|
53
|
+
### 3.1 架构定位
|
|
54
|
+
|
|
55
|
+
MCP Server 在项目架构中扮演着核心角色,作为 AI IDE 与 Exploria UI 组件库文档之间的中间层,负责:
|
|
56
|
+
|
|
57
|
+
1. **协议转换**:将 AI IDE 的 MCP 请求转换为对 Exploria UI 文档的查询
|
|
58
|
+
2. **文档检索**:高效搜索和检索组件文档
|
|
59
|
+
3. **响应生成**:将文档信息转换为 AI 可理解的格式
|
|
60
|
+
4. **服务管理**:处理服务的启动、运行和关闭
|
|
61
|
+
|
|
62
|
+
### 3.2 核心组件
|
|
63
|
+
|
|
64
|
+
| 组件名称 | 功能描述 |
|
|
65
|
+
| ------------------------ | ----------------------------------------------------------------------- |
|
|
66
|
+
| **ExploriaUIMCPServer** | 主服务器类,负责协调所有组件,处理服务生命周期管理 |
|
|
67
|
+
| **McpServer** | 来自 @modelcontextprotocol/sdk 的核心 MCP 服务器实例,处理 MCP 协议通信 |
|
|
68
|
+
| **StdioServerTransport** | 标准输入输出传输层,用于与 AI IDE 通信 |
|
|
69
|
+
| **DocumentParser** | 文档解析器,负责解析和处理 Exploria UI 文档 |
|
|
70
|
+
|
|
71
|
+
### 3.3 注册模块
|
|
34
72
|
|
|
35
|
-
|
|
73
|
+
MCP Server 启动时会注册三类核心模块:
|
|
36
74
|
|
|
37
|
-
|
|
75
|
+
1. **工具模块 (Tools)**
|
|
76
|
+
- 提供 AI IDE 可调用的各种工具函数
|
|
77
|
+
- 包括文档搜索、组件列表获取、组件详情查询等功能
|
|
78
|
+
- 注册入口:`./tools/index.js`
|
|
79
|
+
|
|
80
|
+
2. **资源模块 (Resources)**
|
|
81
|
+
- 提供项目相关的资源支持
|
|
82
|
+
- 包括服务器状态、API 文档、组件清单等
|
|
83
|
+
- 注册入口:`./resources/index.js`
|
|
84
|
+
|
|
85
|
+
3. **提示模块 (Prompts)**
|
|
86
|
+
- 提供指导 AI 模型生成更准确响应的提示模板
|
|
87
|
+
- 包括组件文档模板生成、使用示例生成等
|
|
88
|
+
- 注册入口:`./prompts/index.js`
|
|
89
|
+
|
|
90
|
+
## 4. 快速开始
|
|
91
|
+
|
|
92
|
+
### 4.1 AI IDE 配置
|
|
93
|
+
|
|
94
|
+
所有 AI IDE 使用统一配置格式,在配置文件中添加以下内容:
|
|
38
95
|
|
|
39
96
|
```json
|
|
40
97
|
{
|
|
@@ -47,15 +104,7 @@ pnpm install
|
|
|
47
104
|
}
|
|
48
105
|
```
|
|
49
106
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
| IDE | 配置文件位置 | 操作步骤 |
|
|
53
|
-
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
|
54
|
-
| Cursor | `%APPDATA%\Cursor\cursor_config.json` | 1. 打开配置文件<br>2. 添加上述配置<br>3. 重启 Cursor |
|
|
55
|
-
| Trae IDE | `.trae/mcp.json`(项目根目录) | 1. 打开配置文件<br>2. 添加上述配置<br>3. 重启 Trae IDE |
|
|
56
|
-
| 其他支持 MCP 的 IDE | 参考官方文档 | 1. 找到 MCP 配置文件<br>2. 添加上述配置<br>3. 重启 IDE |
|
|
57
|
-
|
|
58
|
-
### 2.3 验证配置
|
|
107
|
+
### 4.2 验证配置
|
|
59
108
|
|
|
60
109
|
在 AI IDE 中输入查询验证服务是否正常:
|
|
61
110
|
|
|
@@ -63,9 +112,9 @@ pnpm install
|
|
|
63
112
|
帮我查一下 button 组件的文档
|
|
64
113
|
```
|
|
65
114
|
|
|
66
|
-
##
|
|
115
|
+
## 5. 核心功能详解
|
|
67
116
|
|
|
68
|
-
###
|
|
117
|
+
### 5.1 工具 (Tools)
|
|
69
118
|
|
|
70
119
|
| 工具名称 | 描述 | 参数 | 返回值 |
|
|
71
120
|
| ------------------------ | ------------------ | --------------------------------- | ---------------------------------- |
|
|
@@ -74,7 +123,7 @@ pnpm install
|
|
|
74
123
|
| `get_component_details` | 获取组件详情 | `componentName: string` | 组件详细信息(属性、事件、插槽等) |
|
|
75
124
|
| `search_and_get_details` | 搜索并获取组件详情 | `query: string`, `limit?: number` | 匹配的组件列表(含详情) |
|
|
76
125
|
|
|
77
|
-
###
|
|
126
|
+
### 5.2 资源 (Resources)
|
|
78
127
|
|
|
79
128
|
| 资源 URI | 描述 | 返回值 |
|
|
80
129
|
| ------------------------------- | ---------- | -------------------------- |
|
|
@@ -82,25 +131,39 @@ pnpm install
|
|
|
82
131
|
| `docs://exploria-ui-api` | API 文档 | 完整 API 文档 |
|
|
83
132
|
| `components://exploria-ui-list` | 组件列表 | 所有组件基本信息 |
|
|
84
133
|
|
|
85
|
-
###
|
|
134
|
+
### 5.3 提示 (Prompts)
|
|
86
135
|
|
|
87
136
|
| 提示名称 | 描述 | 参数 | 返回值 |
|
|
88
137
|
| ------------------------- | ---------------- | -------------------------------------------- | ---------------- |
|
|
89
138
|
| `component_documentation` | 生成组件文档模板 | `componentName: string` | 组件文档模板 |
|
|
90
139
|
| `usage_example` | 生成组件使用示例 | `componentName: string`, `scenario?: string` | 组件使用示例代码 |
|
|
91
140
|
|
|
92
|
-
##
|
|
141
|
+
## 6. 技术实现
|
|
93
142
|
|
|
94
|
-
###
|
|
143
|
+
### 6.1 构建流程
|
|
95
144
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
| **Utils** | 工具类(文档解析器等) |
|
|
145
|
+
1. 项目基于 Vite 构建工具进行打包
|
|
146
|
+
2. 打包过程结束后,通过自定义 Vite 插件自动执行文件复制操作
|
|
147
|
+
3. 插件将 `../src/views/document/pages` 目录下的所有文件复制到 `mcp-server/dist/knowledge` 目录
|
|
148
|
+
4. 同时将项目根目录的 README.md 复制到 `mcp-server/dist/public/README.md`
|
|
149
|
+
5. 最终构建产物包含完整的 MCP Server 实现和所需的知识文件
|
|
102
150
|
|
|
103
|
-
###
|
|
151
|
+
### 6.2 NPM 包结构
|
|
152
|
+
|
|
153
|
+
当项目打包完成并上传至 NPM 仓库后,生成的 NPM 包包含以下目录和文件结构:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
mcp-server/
|
|
157
|
+
├── dist/
|
|
158
|
+
│ ├── index.js
|
|
159
|
+
│ └── knowledge/ # 来自 ../src/views/document/pages
|
|
160
|
+
│ ├── ...
|
|
161
|
+
│ └── README.md
|
|
162
|
+
├── package.json
|
|
163
|
+
└── README.md
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### 6.3 项目结构
|
|
104
167
|
|
|
105
168
|
```
|
|
106
169
|
src/
|
|
@@ -124,47 +187,61 @@ src/
|
|
|
124
187
|
└── documentParser.ts # 文档解析器
|
|
125
188
|
```
|
|
126
189
|
|
|
127
|
-
|
|
190
|
+
### 6.4 技术栈
|
|
128
191
|
|
|
129
|
-
|
|
192
|
+
| 技术 | 用途 |
|
|
193
|
+
| --------------------------- | ------------------------ |
|
|
194
|
+
| `@modelcontextprotocol/sdk` | 官方 MCP TypeScript SDK |
|
|
195
|
+
| `zod` | 工具参数运行时类型校验 |
|
|
196
|
+
| `tsx` | 直接运行 TypeScript 代码 |
|
|
197
|
+
| `typescript` | 类型安全 |
|
|
198
|
+
| `pnpm` | 包管理 |
|
|
130
199
|
|
|
131
|
-
|
|
132
|
-
pnpm build
|
|
133
|
-
```
|
|
200
|
+
## 7. MCP 协议详解
|
|
134
201
|
|
|
135
|
-
###
|
|
202
|
+
### 7.1 传输协议
|
|
136
203
|
|
|
137
|
-
|
|
204
|
+
MCP Server 与 AI IDE 之间支持三种传输协议:
|
|
138
205
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
206
|
+
1. **标准输入输出 (stdio)**
|
|
207
|
+
- 轻量级通信方式,无需网络端口
|
|
208
|
+
- 通过管道传输数据,安全可靠
|
|
209
|
+
- 由 AI 客户端自动启动、管理和停止
|
|
210
|
+
- 本项目采用此协议作为主要通信方式
|
|
142
211
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
212
|
+
2. **Server-Sent Events (SSE)**
|
|
213
|
+
- 基于 HTTP 的单向实时通信协议
|
|
214
|
+
- 适合服务器向客户端推送数据的场景
|
|
215
|
+
- 支持事件驱动的通信模式
|
|
146
216
|
|
|
147
|
-
|
|
217
|
+
3. **流式 HTTP (Streaming HTTP)**
|
|
218
|
+
- 基于 HTTP 长连接的双向通信
|
|
219
|
+
- 支持服务器和客户端之间的连续数据传输
|
|
220
|
+
- 适合需要持续交互的场景
|
|
148
221
|
|
|
149
|
-
|
|
150
|
-
# 开发模式
|
|
151
|
-
pnpm mcp:dev
|
|
222
|
+
### 7.2 服务启动机制
|
|
152
223
|
|
|
153
|
-
|
|
154
|
-
|
|
224
|
+
1. AI 相关 IDE 通过 MCP 协议连接并请求启动 MCP Server
|
|
225
|
+
2. IDE 实际调用的是 NPM 包中 package.json 定义的可执行命令
|
|
226
|
+
3. 可执行命令指向 `dist/index.js` 文件,该文件会实例化并启动 ExploriaUIMCPServer 类
|
|
227
|
+
4. ExploriaUIMCPServer 类初始化流程:
|
|
228
|
+
- 加载 package.json 获取配置信息
|
|
229
|
+
- 设置事件处理器(错误处理、信号处理等)
|
|
230
|
+
- 初始化 McpServer 实例
|
|
231
|
+
- 注册所有工具、资源和提示模块
|
|
232
|
+
- 创建并连接 StdioServerTransport
|
|
233
|
+
5. 连接建立后,服务器通过 MCP 协议与 IDE 进行通信,提供各项功能
|
|
155
234
|
|
|
156
|
-
|
|
157
|
-
pnpm mcp:start
|
|
158
|
-
```
|
|
235
|
+
## 8. 调试
|
|
159
236
|
|
|
160
|
-
###
|
|
237
|
+
### 8.1 使用 MCP Inspector 调试
|
|
161
238
|
|
|
162
239
|
```bash
|
|
163
240
|
# 使用 MCP Inspector 启动服务,方便调试
|
|
164
241
|
npx -y @modelcontextprotocol/inspector node dist/index.js
|
|
165
242
|
```
|
|
166
243
|
|
|
167
|
-
###
|
|
244
|
+
### 8.2 故障排除
|
|
168
245
|
|
|
169
246
|
1. **连接失败或 "Command not found" 错误**:
|
|
170
247
|
- 确保已正确构建项目:`pnpm run build`
|
|
@@ -179,73 +256,56 @@ npx -y @modelcontextprotocol/inspector node dist/index.js
|
|
|
179
256
|
- 确保文档已正确复制到 `public` 目录
|
|
180
257
|
- 检查 `docsRoot` 配置是否正确
|
|
181
258
|
|
|
182
|
-
##
|
|
259
|
+
## 9. 扩展指南
|
|
183
260
|
|
|
184
|
-
###
|
|
261
|
+
### 9.1 添加新工具
|
|
185
262
|
|
|
186
263
|
1. 在 `src/tools/` 目录下创建新工具文件(如 `newTool.ts`)
|
|
187
264
|
2. 实现工具函数并注册到 MCP Server
|
|
188
265
|
3. 在 `src/tools/index.ts` 中导入并注册新工具
|
|
189
266
|
|
|
190
|
-
###
|
|
267
|
+
### 9.2 添加新资源
|
|
191
268
|
|
|
192
269
|
1. 在 `src/resources/` 目录下创建新资源文件
|
|
193
270
|
2. 实现资源函数并注册到 MCP Server
|
|
194
271
|
3. 在 `src/resources/index.ts` 中导入并注册新资源
|
|
195
272
|
|
|
196
|
-
###
|
|
273
|
+
### 9.3 添加新提示
|
|
197
274
|
|
|
198
275
|
1. 在 `src/prompts/` 目录下创建新提示文件
|
|
199
276
|
2. 实现提示函数并注册到 MCP Server
|
|
200
277
|
3. 在 `src/prompts/index.ts` 中导入并注册新提示
|
|
201
278
|
|
|
202
|
-
##
|
|
203
|
-
|
|
204
|
-
| 技术 | 用途 |
|
|
205
|
-
| --------------------------- | ------------------------ |
|
|
206
|
-
| `@modelcontextprotocol/sdk` | 官方 MCP TypeScript SDK |
|
|
207
|
-
| `zod` | 工具参数运行时类型校验 |
|
|
208
|
-
| `tsx` | 直接运行 TypeScript 代码 |
|
|
209
|
-
| `typescript` | 类型安全 |
|
|
210
|
-
| `pnpm` | 包管理 |
|
|
279
|
+
## 10. 安全与兼容性
|
|
211
280
|
|
|
212
|
-
|
|
281
|
+
### 10.1 安全特性
|
|
213
282
|
|
|
214
|
-
-
|
|
215
|
-
- 兼容 Cursor、Trae IDE、Claude Desktop 等
|
|
216
|
-
- 使用 stdio 通信,无需网络端口
|
|
217
|
-
|
|
218
|
-
## 9. 安全特性
|
|
219
|
-
|
|
220
|
-
- 无网络通信,所有数据通过管道传输
|
|
283
|
+
- 无网络通信,所有数据通过管道传输,避免网络安全风险
|
|
221
284
|
- 由 AI 客户端自动管理,无需手动暴露服务
|
|
222
285
|
- 支持工具级别的权限控制
|
|
286
|
+
- 数据传输过程中不涉及敏感信息
|
|
287
|
+
|
|
288
|
+
### 10.2 协议兼容性
|
|
289
|
+
|
|
290
|
+
- 支持 MCP 协议 v1.0+
|
|
291
|
+
- 兼容 Cursor、Trae IDE、Claude Desktop 等主流 AI IDE
|
|
292
|
+
- 使用 stdio 通信,无需网络端口,减少配置复杂度
|
|
223
293
|
|
|
224
|
-
##
|
|
294
|
+
## 11. 知识库
|
|
225
295
|
|
|
226
|
-
###
|
|
296
|
+
### 11.1 知识库位置
|
|
227
297
|
|
|
228
|
-
位于 `
|
|
298
|
+
位于 `dist/knowledge` 文件夹下,包含所有组件、指令、工具函数的详细文档和使用示例。这些文件是在构建过程中从 `../src/views/document/pages` 目录复制而来的。
|
|
229
299
|
|
|
230
|
-
###
|
|
300
|
+
### 11.2 知识库结构
|
|
231
301
|
|
|
232
302
|
```
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
│ ├── basic/ # 基础组件
|
|
238
|
-
│ ├── data/ # 数据展示组件
|
|
239
|
-
│ ├── feedback/ # 反馈组件
|
|
240
|
-
│ ├── form/ # 表单组件
|
|
241
|
-
│ ├── geometry/ # 几何相关组件
|
|
242
|
-
│ ├── layout/ # 布局组件
|
|
243
|
-
│ └── navigation/ # 导航组件
|
|
244
|
-
├── directives/ # 指令文档
|
|
245
|
-
├── other/ # 其他功能文档
|
|
246
|
-
└── utils/ # 工具函数文档
|
|
303
|
+
dist/
|
|
304
|
+
└── knowledge/ # 来自 ../src/views/document/pages
|
|
305
|
+
├── ... # 多个 Markdown 知识文件
|
|
306
|
+
└── README.md # 项目说明文档
|
|
247
307
|
```
|
|
248
308
|
|
|
249
|
-
##
|
|
309
|
+
## 12. 许可证
|
|
250
310
|
|
|
251
311
|
MIT
|
package/dist/index.js
CHANGED
|
@@ -13482,7 +13482,7 @@ function Im(n) {
|
|
|
13482
13482
|
}
|
|
13483
13483
|
//#endregion
|
|
13484
13484
|
//#region src/utils/documentParser.ts
|
|
13485
|
-
var Lm = t.join(process.cwd(), "public"), Rm = new class {
|
|
13485
|
+
var Lm = e.existsSync(t.join(process.cwd(), "dist/knowledge")) ? t.join(process.cwd(), "dist/knowledge") : e.existsSync(t.join(process.cwd(), "knowledge")) ? t.join(process.cwd(), "knowledge") : t.join(process.cwd(), "public"), Rm = new class {
|
|
13486
13486
|
docsRoot;
|
|
13487
13487
|
componentListCache = null;
|
|
13488
13488
|
componentDetailsCache = /* @__PURE__ */ new Map();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exploria-ui-mcp-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.5",
|
|
4
4
|
"description": "MCP Server for Exploria UI Component Library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
12
|
+
"package.json",
|
|
13
|
+
"README.md"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@modelcontextprotocol/sdk": "^1.27.1",
|