exploria-ui-mcp-server 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (608) hide show
  1. package/LICENSE +194 -0
  2. package/README.md +242 -0
  3. package/dist/README.md +633 -0
  4. package/dist/components/advanced/e_parallax_scrolling/Document.vue +23 -0
  5. package/dist/components/advanced/e_parallax_scrolling/Using.vue +20 -0
  6. package/dist/components/advanced/e_parallax_scrolling/img.png +0 -0
  7. package/dist/components/advanced/e_parallax_scrolling/img_1.png +0 -0
  8. package/dist/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
  9. package/dist/components/advanced/e_rolling_follow/Document.vue +21 -0
  10. package/dist/components/advanced/e_rolling_follow/Using.vue +54 -0
  11. package/dist/components/advanced/e_virtual_list/ComprehensiveCase.vue +209 -0
  12. package/dist/components/advanced/e_virtual_list/Document.vue +68 -0
  13. package/dist/components/advanced/e_virtual_list/DynamicData.vue +42 -0
  14. package/dist/components/advanced/e_virtual_list/Using.vue +32 -0
  15. package/dist/components/advanced/e_virtual_list/iconfont/iconfont.css +19 -0
  16. package/dist/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
  17. package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
  18. package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
  19. package/dist/components/advanced/e_virtual_list/img.png +0 -0
  20. package/dist/components/advanced/e_watermark/AutoSize.vue +89 -0
  21. package/dist/components/advanced/e_watermark/BasicUsing.vue +9 -0
  22. package/dist/components/advanced/e_watermark/CustomFont.vue +73 -0
  23. package/dist/components/advanced/e_watermark/CustomStyle.vue +76 -0
  24. package/dist/components/advanced/e_watermark/Dense.vue +28 -0
  25. package/dist/components/advanced/e_watermark/Document.vue +197 -0
  26. package/dist/components/advanced/e_watermark/HighZIndex.vue +105 -0
  27. package/dist/components/advanced/e_watermark/ImageWatermark.vue +31 -0
  28. package/dist/components/advanced/e_watermark/MultiLine.vue +29 -0
  29. package/dist/components/advanced/e_watermark/OpacityWatermark.vue +73 -0
  30. package/dist/components/ai/typing_effect/Document.vue +47 -0
  31. package/dist/components/ai/typing_effect/Using1.vue +189 -0
  32. package/dist/components/ai/typing_effect/Using2.vue +167 -0
  33. package/dist/components/basic/e_badge/BasicBadge.vue +31 -0
  34. package/dist/components/basic/e_badge/Document.vue +137 -0
  35. package/dist/components/basic/e_badge/DotBadge.vue +35 -0
  36. package/dist/components/basic/e_badge/MaxBadge.vue +33 -0
  37. package/dist/components/basic/e_badge/ShowZeroBadge.vue +30 -0
  38. package/dist/components/basic/e_badge/SizeBadge.vue +29 -0
  39. package/dist/components/basic/e_badge/TypeBadge.vue +36 -0
  40. package/dist/components/basic/e_button/CircleButtons.vue +30 -0
  41. package/dist/components/basic/e_button/DisabledButtons.vue +30 -0
  42. package/dist/components/basic/e_button/Document.vue +171 -0
  43. package/dist/components/basic/e_button/LoadingButtons.vue +30 -0
  44. package/dist/components/basic/e_button/NormalButtons.vue +30 -0
  45. package/dist/components/basic/e_button/PlainButtons.vue +30 -0
  46. package/dist/components/basic/e_button/RoundButtons.vue +30 -0
  47. package/dist/components/basic/e_button/RoundedRectangleButtons.vue +35 -0
  48. package/dist/components/basic/e_button/SizeButtons.vue +19 -0
  49. package/dist/components/basic/e_button/Using.vue +89 -0
  50. package/dist/components/basic/e_card/BasicCard.vue +9 -0
  51. package/dist/components/basic/e_card/BorderlessCard.vue +8 -0
  52. package/dist/components/basic/e_card/ComplexContentCard.vue +92 -0
  53. package/dist/components/basic/e_card/CustomHeaderCard.vue +24 -0
  54. package/dist/components/basic/e_card/Document.vue +131 -0
  55. package/dist/components/basic/e_card/FooterCard.vue +12 -0
  56. package/dist/components/basic/e_card/ShadowCard.vue +30 -0
  57. package/dist/components/basic/e_card/SizesCard.vue +29 -0
  58. package/dist/components/basic/e_svg_icon/Document.vue +38 -0
  59. package/dist/components/basic/e_svg_icon/Using.vue +7 -0
  60. package/dist/components/basic/e_underline/BaseUsing.vue +13 -0
  61. package/dist/components/basic/e_underline/Document.vue +27 -0
  62. package/dist/components/basic/e_underline/ImgUsing.vue +36 -0
  63. package/dist/components/data/e_calendar/Document.vue +41 -0
  64. package/dist/components/data/e_calendar/Using.vue +9 -0
  65. package/dist/components/data/e_calendar//346/227/245/345/216/206 +0 -0
  66. package/dist/components/data/e_carousel/Document.vue +143 -0
  67. package/dist/components/data/e_carousel/Using.vue +20 -0
  68. package/dist/components/data/e_carousel/Using1.vue +23 -0
  69. package/dist/components/data/e_carousel/Using2.vue +17 -0
  70. package/dist/components/data/e_carousel/Using3.vue +17 -0
  71. package/dist/components/data/e_collapse/Document.vue +40 -0
  72. package/dist/components/data/e_collapse/Using.vue +9 -0
  73. package/dist/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
  74. package/dist/components/data/e_image/Document.vue +71 -0
  75. package/dist/components/data/e_image/Using.vue +21 -0
  76. package/dist/components/data/e_image/img.png +0 -0
  77. package/dist/components/data/e_list/BasicUsage.vue +18 -0
  78. package/dist/components/data/e_list/CustomCheckboxUsage.vue +22 -0
  79. package/dist/components/data/e_list/CustomEmptyDataUsage.vue +38 -0
  80. package/dist/components/data/e_list/CustomRowUsage.vue +64 -0
  81. package/dist/components/data/e_list/DividerUsage.vue +20 -0
  82. package/dist/components/data/e_list/Document.vue +261 -0
  83. package/dist/components/data/e_list/EmptyDataUsage.vue +3 -0
  84. package/dist/components/data/e_list/EventUsage.vue +23 -0
  85. package/dist/components/data/e_list/MultipleSelectUsage.vue +22 -0
  86. package/dist/components/data/e_list/SingleSelectUsage.vue +21 -0
  87. package/dist/components/data/e_list/SizeUsage.vue +35 -0
  88. package/dist/components/data/e_media_viewer/Document.vue +39 -0
  89. package/dist/components/data/e_media_viewer/Using.vue +30 -0
  90. package/dist/components/data/e_media_viewer/img.png +0 -0
  91. package/dist/components/data/e_progress/BasicProgress.vue +21 -0
  92. package/dist/components/data/e_progress/CircleProgress.vue +23 -0
  93. package/dist/components/data/e_progress/CustomColorProgress.vue +63 -0
  94. package/dist/components/data/e_progress/Document.vue +179 -0
  95. package/dist/components/data/e_progress/IndeterminateProgress.vue +49 -0
  96. package/dist/components/data/e_progress/ProgressSize.vue +50 -0
  97. package/dist/components/data/e_progress/ProgressStatus.vue +21 -0
  98. package/dist/components/data/e_progress/ProgressText.vue +52 -0
  99. package/dist/components/data/e_rolling_pagination/Document.vue +21 -0
  100. package/dist/components/data/e_rolling_pagination/Using.vue +33 -0
  101. package/dist/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
  102. package/dist/components/data/e_skeleton/Document.vue +26 -0
  103. package/dist/components/data/e_skeleton/Using.vue +18 -0
  104. package/dist/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
  105. package/dist/components/data/e_table/Document.vue +85 -0
  106. package/dist/components/data/e_table/Using.vue +131 -0
  107. package/dist/components/data/e_timeline/Document.vue +90 -0
  108. package/dist/components/data/e_timeline/Using.vue +124 -0
  109. package/dist/components/feedback/e_dialog/AsyncUsing.vue +30 -0
  110. package/dist/components/feedback/e_dialog/BaseUsing.vue +15 -0
  111. package/dist/components/feedback/e_dialog/Document.vue +26 -0
  112. package/dist/components/feedback/e_drawer/BaseUsing.vue +35 -0
  113. package/dist/components/feedback/e_drawer/DirectionUsing.vue +93 -0
  114. package/dist/components/feedback/e_drawer/Document.vue +153 -0
  115. package/dist/components/feedback/e_drawer/LargeSizeDrawer.vue +29 -0
  116. package/dist/components/feedback/e_drawer/MediumSizeDrawer.vue +29 -0
  117. package/dist/components/feedback/e_drawer/SizeUsing.vue +67 -0
  118. package/dist/components/feedback/e_drawer/SmallSizeDrawer.vue +29 -0
  119. package/dist/components/feedback/e_message/Document.vue +18 -0
  120. package/dist/components/feedback/e_message/Using.vue +16 -0
  121. package/dist/components/feedback/e_message_box/BaseUsing.vue +11 -0
  122. package/dist/components/feedback/e_message_box/Document.vue +18 -0
  123. package/dist/components/feedback/e_message_box/intro.md +12 -0
  124. package/dist/components/feedback/e_notification/AllPositionsNotification.vue +35 -0
  125. package/dist/components/feedback/e_notification/BasicTypesNotification.vue +47 -0
  126. package/dist/components/feedback/e_notification/ClickableNotification.vue +18 -0
  127. package/dist/components/feedback/e_notification/Document.vue +147 -0
  128. package/dist/components/feedback/e_notification/ManualCloseNotification.vue +17 -0
  129. package/dist/components/feedback/e_notification/Using.vue +253 -0
  130. package/dist/components/feedback/e_popover/BasicUsage.vue +51 -0
  131. package/dist/components/feedback/e_popover/ContextmenuTrigger.vue +27 -0
  132. package/dist/components/feedback/e_popover/CustomContent.vue +43 -0
  133. package/dist/components/feedback/e_popover/CustomTrigger.vue +39 -0
  134. package/dist/components/feedback/e_popover/Document.vue +84 -0
  135. package/dist/components/feedback/e_popover/HoverTrigger.vue +29 -0
  136. package/dist/components/feedback/e_popover/SizeVariants.vue +36 -0
  137. package/dist/components/feedback/e_popover/Using.vue +177 -0
  138. package/dist/components/feedback/e_tooltip/Document.vue +42 -0
  139. package/dist/components/feedback/e_tooltip/SizeUsing.vue +28 -0
  140. package/dist/components/feedback/e_tooltip/Using.vue +44 -0
  141. package/dist/components/form/e_checkbox/Document.vue +88 -0
  142. package/dist/components/form/e_checkbox/Using.vue +10 -0
  143. package/dist/components/form/e_color_picker/Document.vue +55 -0
  144. package/dist/components/form/e_color_picker/Using.vue +10 -0
  145. package/dist/components/form/e_condition_group/Document.vue +52 -0
  146. package/dist/components/form/e_condition_group/Using.vue +165 -0
  147. package/dist/components/form/e_file_selector/Document.vue +50 -0
  148. package/dist/components/form/e_file_selector/Using.vue +44 -0
  149. package/dist/components/form/e_form/BaseUsage.vue +155 -0
  150. package/dist/components/form/e_form/Document.vue +93 -0
  151. package/dist/components/form/e_form/LoginForm.vue +150 -0
  152. package/dist/components/form/e_form/RegisterForm.vue +46 -0
  153. package/dist/components/form/e_form/iconfont/iconfont.css +67 -0
  154. package/dist/components/form/e_form/iconfont/iconfont.ttf +0 -0
  155. package/dist/components/form/e_form/iconfont/iconfont.woff +0 -0
  156. package/dist/components/form/e_form/iconfont/iconfont.woff2 +0 -0
  157. package/dist/components/form/e_input/BaseUsage.vue +16 -0
  158. package/dist/components/form/e_input/Clearable.vue +24 -0
  159. package/dist/components/form/e_input/Document.vue +111 -0
  160. package/dist/components/form/e_input/Number.vue +10 -0
  161. package/dist/components/form/e_input/Password.vue +52 -0
  162. package/dist/components/form/e_input/iconfont/iconfont.css +67 -0
  163. package/dist/components/form/e_input/iconfont/iconfont.ttf +0 -0
  164. package/dist/components/form/e_input/iconfont/iconfont.woff +0 -0
  165. package/dist/components/form/e_input/iconfont/iconfont.woff2 +0 -0
  166. package/dist/components/form/e_radio/Document.vue +88 -0
  167. package/dist/components/form/e_radio/Using.vue +14 -0
  168. package/dist/components/form/e_select/Document.vue +32 -0
  169. package/dist/components/form/e_select/Using.vue +24 -0
  170. package/dist/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
  171. package/dist/components/form/e_slider/BaseUsage.vue +10 -0
  172. package/dist/components/form/e_slider/CustomRange.vue +21 -0
  173. package/dist/components/form/e_slider/Disabled.vue +10 -0
  174. package/dist/components/form/e_slider/Document.vue +55 -0
  175. package/dist/components/form/e_slider/ShowValue.vue +10 -0
  176. package/dist/components/form/e_slider/Sizes.vue +47 -0
  177. package/dist/components/form/e_time_picker/Document.vue +58 -0
  178. package/dist/components/form/e_time_picker/Using.vue +13 -0
  179. package/dist/components/geometry/css_3d/Document.vue +17 -0
  180. package/dist/components/geometry/css_3d/Using.vue +9 -0
  181. package/dist/components/layout/e_scroll_x/Document.vue +39 -0
  182. package/dist/components/layout/e_scroll_x/Using.vue +38 -0
  183. package/dist/components/navigation/e_dropdown/BasicUsage.vue +64 -0
  184. package/dist/components/navigation/e_dropdown/Contextmenu.vue +41 -0
  185. package/dist/components/navigation/e_dropdown/Document.vue +72 -0
  186. package/dist/components/navigation/e_dropdown/HoverTrigger.vue +66 -0
  187. package/dist/components/navigation/e_dropdown/NestedDropdown.vue +143 -0
  188. package/dist/components/navigation/e_tabs/Document.vue +33 -0
  189. package/dist/components/navigation/e_tabs/Using.vue +40 -0
  190. package/dist/directives/e_uuid_util/Document.vue +15 -0
  191. package/dist/directives/e_uuid_util/Using.vue +13 -0
  192. package/dist/index.js +13708 -0
  193. package/dist/other/advanced/gsap/BasicUsing.vue +26 -0
  194. package/dist/other/advanced/gsap/Document.vue +45 -0
  195. package/dist/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
  196. package/dist/other/advanced/gsap/ScrollTrigger.vue +195 -0
  197. package/dist/other/advanced/gsap/ScrollX.vue +81 -0
  198. package/dist/other/advanced/gsap/Timeline.vue +30 -0
  199. package/dist/other/advanced/lottie/BasicUsing.vue +33 -0
  200. package/dist/other/advanced/lottie/Document.vue +30 -0
  201. package/dist/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
  202. package/dist/other/advanced/rich_text_editor/Document.vue +24 -0
  203. package/dist/other/advanced/rich_text_editor/RichTextEditor.vue +105 -0
  204. package/dist/other/advanced/rich_text_editor/wangeditor_style.css +684 -0
  205. package/dist/other/advanced/sortablejs/Document.vue +32 -0
  206. package/dist/other/advanced/sortablejs/ShuttleFrame.vue +181 -0
  207. package/dist/other/advanced/sortablejs/Using.vue +68 -0
  208. package/dist/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
  209. package/dist/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
  210. package/dist/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
  211. package/dist/other/advanced/spelling/Document.vue +17 -0
  212. package/dist/other/advanced/spelling/Using.vue +104 -0
  213. package/dist/other/advanced/svg/BasicUsing.vue +12 -0
  214. package/dist/other/advanced/svg/Document.vue +24 -0
  215. package/dist/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +30 -0
  216. package/dist/other/advanced/svg/FeDisplacementMap/example/Image.vue +41 -0
  217. 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
  218. 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
  219. package/dist/other/advanced/svg/FeTurbulence/FeTurbulence.vue +28 -0
  220. package/dist/other/advanced/svg/FeTurbulence/example/Image.vue +41 -0
  221. 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
  222. package/dist/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
  223. package/dist/other/canvas/base/Document.vue +15 -0
  224. package/dist/other/canvas/base/Using.vue +125 -0
  225. package/dist/other/canvas/burrow/Clip.vue +66 -0
  226. package/dist/other/canvas/burrow/Document.vue +36 -0
  227. package/dist/other/canvas/burrow/Erase.vue +58 -0
  228. package/dist/other/canvas/burrow/NonZeroSurroundRule.vue +70 -0
  229. package/dist/other/canvas/clip/Clip.vue +58 -0
  230. package/dist/other/canvas/clip/Document.vue +26 -0
  231. package/dist/other/canvas/definition/Document.vue +26 -0
  232. package/dist/other/canvas/definition/Using.vue +60 -0
  233. package/dist/other/echarts/basic/Document.vue +36 -0
  234. package/dist/other/echarts/basic/Label.vue +98 -0
  235. package/dist/other/echarts/data_zoom/Document.vue +38 -0
  236. package/dist/other/echarts/data_zoom/Using.vue +119 -0
  237. package/dist/other/echarts/data_zoom/img.svg +33 -0
  238. package/dist/other/echarts/gauge/Document.vue +38 -0
  239. package/dist/other/echarts/gauge/Gauge.vue +340 -0
  240. package/dist/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
  241. package/dist/other/echarts/liquidfill/Document.vue +46 -0
  242. package/dist/other/echarts/liquidfill/Using.vue +239 -0
  243. package/dist/other/git/sample_set/Document.vue +43 -0
  244. package/dist/other/git/sample_set/img/img.png +0 -0
  245. package/dist/other/git/sample_set/img/img_1.png +0 -0
  246. package/dist/other/git/sample_set/img/img_2.png +0 -0
  247. package/dist/other/layout/flex/Advanced.vue +104 -0
  248. package/dist/other/layout/flex/Advanced2.vue +181 -0
  249. package/dist/other/layout/flex/Base.vue +48 -0
  250. package/dist/other/layout/flex/Document.vue +57 -0
  251. package/dist/other/layout/flex/Grid.vue +54 -0
  252. package/dist/other/layout/flex/Height100.vue +35 -0
  253. package/dist/other/layout/flex/intro.md +1 -0
  254. package/dist/other/layout/grid/Base.vue +29 -0
  255. package/dist/other/layout/grid/Document.vue +54 -0
  256. package/dist/other/layout/grid/Grid.vue +28 -0
  257. package/dist/other/layout/grid/Height100.vue +35 -0
  258. package/dist/other/layout/grid/intro.md +1 -0
  259. package/dist/other/navigation/new_tab_page/Document.vue +18 -0
  260. package/dist/other/navigation/new_tab_page/OpenNewTabPage.vue +7 -0
  261. package/dist/other/navigation/new_tab_page/new-tab-page-demo.html +450 -0
  262. package/dist/other/network/sse/Document.vue +21 -0
  263. package/dist/other/network/sse/Using.vue +24 -0
  264. package/dist/other/network/sse/server/app.ts +62 -0
  265. package/dist/other/network/sse/server/static/text.md +99 -0
  266. package/dist/other/network/sse/server/utils/sleep.ts +5 -0
  267. package/dist/other/observer/mutation_observer/Document.vue +15 -0
  268. package/dist/other/observer/mutation_observer/Using.vue +46 -0
  269. package/dist/other/optimize/Document.vue +19 -0
  270. package/dist/other/optimize/HeavyComp.vue +19 -0
  271. package/dist/other/optimize/Using.vue +14 -0
  272. package/dist/other/optimize/useDefer.ts +28 -0
  273. package/dist/other/svg/base/BasicUsing.vue +12 -0
  274. package/dist/other/svg/base/Document.vue +24 -0
  275. package/dist/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +30 -0
  276. package/dist/other/svg/base/FeDisplacementMap/example/Image.vue +41 -0
  277. 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
  278. 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
  279. package/dist/other/svg/base/FeTurbulence/FeTurbulence.vue +28 -0
  280. package/dist/other/svg/base/FeTurbulence/example/Image.vue +41 -0
  281. 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
  282. package/dist/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
  283. package/dist/other/threejs/base/Document.vue +17 -0
  284. package/dist/other/threejs/base/Using.vue +127 -0
  285. package/dist/other/threejs/controller_sync/Document.vue +15 -0
  286. package/dist/other/threejs/controller_sync/Using.vue +347 -0
  287. 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
  288. 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
  289. package/dist/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
  290. package/dist/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
  291. package/dist/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
  292. package/dist/other/threejs/phoenix/Document.vue +17 -0
  293. package/dist/other/threejs/phoenix/Using.vue +79 -0
  294. package/dist/other/vue/life_cycle/Child.vue +43 -0
  295. package/dist/other/vue/life_cycle/Document.vue +15 -0
  296. package/dist/other/vue/life_cycle/Using.vue +16 -0
  297. package/dist/utils/e_echarts_util/Document.vue +14 -0
  298. package/dist/utils/e_echarts_util/Using.vue +81 -0
  299. package/dist/utils/e_image_util/Document.vue +15 -0
  300. package/dist/utils/e_image_util/Using.vue +24 -0
  301. package/dist/utils/e_image_util/author_avatar.png +0 -0
  302. package/dist/utils/e_uuid_util/Document.vue +15 -0
  303. package/dist/utils/e_uuid_util/Using.vue +13 -0
  304. package/dist/utils/type_utils/Document.vue +16 -0
  305. package/dist/utils/type_utils/TupleType.vue +16 -0
  306. package/package.json +33 -0
  307. package/public/README.md +633 -0
  308. package/public/components/advanced/e_parallax_scrolling/Document.vue +23 -0
  309. package/public/components/advanced/e_parallax_scrolling/Using.vue +20 -0
  310. package/public/components/advanced/e_parallax_scrolling/img.png +0 -0
  311. package/public/components/advanced/e_parallax_scrolling/img_1.png +0 -0
  312. package/public/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
  313. package/public/components/advanced/e_rolling_follow/Document.vue +21 -0
  314. package/public/components/advanced/e_rolling_follow/Using.vue +54 -0
  315. package/public/components/advanced/e_virtual_list/ComprehensiveCase.vue +209 -0
  316. package/public/components/advanced/e_virtual_list/Document.vue +68 -0
  317. package/public/components/advanced/e_virtual_list/DynamicData.vue +42 -0
  318. package/public/components/advanced/e_virtual_list/Using.vue +32 -0
  319. package/public/components/advanced/e_virtual_list/iconfont/iconfont.css +19 -0
  320. package/public/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
  321. package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
  322. package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
  323. package/public/components/advanced/e_virtual_list/img.png +0 -0
  324. package/public/components/advanced/e_watermark/AutoSize.vue +89 -0
  325. package/public/components/advanced/e_watermark/BasicUsing.vue +9 -0
  326. package/public/components/advanced/e_watermark/CustomFont.vue +73 -0
  327. package/public/components/advanced/e_watermark/CustomStyle.vue +76 -0
  328. package/public/components/advanced/e_watermark/Dense.vue +28 -0
  329. package/public/components/advanced/e_watermark/Document.vue +197 -0
  330. package/public/components/advanced/e_watermark/HighZIndex.vue +105 -0
  331. package/public/components/advanced/e_watermark/ImageWatermark.vue +31 -0
  332. package/public/components/advanced/e_watermark/MultiLine.vue +29 -0
  333. package/public/components/advanced/e_watermark/OpacityWatermark.vue +73 -0
  334. package/public/components/ai/typing_effect/Document.vue +47 -0
  335. package/public/components/ai/typing_effect/Using1.vue +189 -0
  336. package/public/components/ai/typing_effect/Using2.vue +167 -0
  337. package/public/components/basic/e_badge/BasicBadge.vue +31 -0
  338. package/public/components/basic/e_badge/Document.vue +137 -0
  339. package/public/components/basic/e_badge/DotBadge.vue +35 -0
  340. package/public/components/basic/e_badge/MaxBadge.vue +33 -0
  341. package/public/components/basic/e_badge/ShowZeroBadge.vue +30 -0
  342. package/public/components/basic/e_badge/SizeBadge.vue +29 -0
  343. package/public/components/basic/e_badge/TypeBadge.vue +36 -0
  344. package/public/components/basic/e_button/CircleButtons.vue +30 -0
  345. package/public/components/basic/e_button/DisabledButtons.vue +30 -0
  346. package/public/components/basic/e_button/Document.vue +171 -0
  347. package/public/components/basic/e_button/LoadingButtons.vue +30 -0
  348. package/public/components/basic/e_button/NormalButtons.vue +30 -0
  349. package/public/components/basic/e_button/PlainButtons.vue +30 -0
  350. package/public/components/basic/e_button/RoundButtons.vue +30 -0
  351. package/public/components/basic/e_button/RoundedRectangleButtons.vue +35 -0
  352. package/public/components/basic/e_button/SizeButtons.vue +19 -0
  353. package/public/components/basic/e_button/Using.vue +89 -0
  354. package/public/components/basic/e_card/BasicCard.vue +9 -0
  355. package/public/components/basic/e_card/BorderlessCard.vue +8 -0
  356. package/public/components/basic/e_card/ComplexContentCard.vue +92 -0
  357. package/public/components/basic/e_card/CustomHeaderCard.vue +24 -0
  358. package/public/components/basic/e_card/Document.vue +131 -0
  359. package/public/components/basic/e_card/FooterCard.vue +12 -0
  360. package/public/components/basic/e_card/ShadowCard.vue +30 -0
  361. package/public/components/basic/e_card/SizesCard.vue +29 -0
  362. package/public/components/basic/e_svg_icon/Document.vue +38 -0
  363. package/public/components/basic/e_svg_icon/Using.vue +7 -0
  364. package/public/components/basic/e_underline/BaseUsing.vue +13 -0
  365. package/public/components/basic/e_underline/Document.vue +27 -0
  366. package/public/components/basic/e_underline/ImgUsing.vue +36 -0
  367. package/public/components/data/e_calendar/Document.vue +41 -0
  368. package/public/components/data/e_calendar/Using.vue +9 -0
  369. package/public/components/data/e_calendar//346/227/245/345/216/206 +0 -0
  370. package/public/components/data/e_carousel/Document.vue +143 -0
  371. package/public/components/data/e_carousel/Using.vue +20 -0
  372. package/public/components/data/e_carousel/Using1.vue +23 -0
  373. package/public/components/data/e_carousel/Using2.vue +17 -0
  374. package/public/components/data/e_carousel/Using3.vue +17 -0
  375. package/public/components/data/e_collapse/Document.vue +40 -0
  376. package/public/components/data/e_collapse/Using.vue +9 -0
  377. package/public/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
  378. package/public/components/data/e_image/Document.vue +71 -0
  379. package/public/components/data/e_image/Using.vue +21 -0
  380. package/public/components/data/e_image/img.png +0 -0
  381. package/public/components/data/e_list/BasicUsage.vue +18 -0
  382. package/public/components/data/e_list/CustomCheckboxUsage.vue +22 -0
  383. package/public/components/data/e_list/CustomEmptyDataUsage.vue +38 -0
  384. package/public/components/data/e_list/CustomRowUsage.vue +64 -0
  385. package/public/components/data/e_list/DividerUsage.vue +20 -0
  386. package/public/components/data/e_list/Document.vue +261 -0
  387. package/public/components/data/e_list/EmptyDataUsage.vue +3 -0
  388. package/public/components/data/e_list/EventUsage.vue +23 -0
  389. package/public/components/data/e_list/MultipleSelectUsage.vue +22 -0
  390. package/public/components/data/e_list/SingleSelectUsage.vue +21 -0
  391. package/public/components/data/e_list/SizeUsage.vue +35 -0
  392. package/public/components/data/e_media_viewer/Document.vue +39 -0
  393. package/public/components/data/e_media_viewer/Using.vue +30 -0
  394. package/public/components/data/e_media_viewer/img.png +0 -0
  395. package/public/components/data/e_progress/BasicProgress.vue +21 -0
  396. package/public/components/data/e_progress/CircleProgress.vue +23 -0
  397. package/public/components/data/e_progress/CustomColorProgress.vue +63 -0
  398. package/public/components/data/e_progress/Document.vue +179 -0
  399. package/public/components/data/e_progress/IndeterminateProgress.vue +49 -0
  400. package/public/components/data/e_progress/ProgressSize.vue +50 -0
  401. package/public/components/data/e_progress/ProgressStatus.vue +21 -0
  402. package/public/components/data/e_progress/ProgressText.vue +52 -0
  403. package/public/components/data/e_rolling_pagination/Document.vue +21 -0
  404. package/public/components/data/e_rolling_pagination/Using.vue +33 -0
  405. package/public/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
  406. package/public/components/data/e_skeleton/Document.vue +26 -0
  407. package/public/components/data/e_skeleton/Using.vue +18 -0
  408. package/public/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
  409. package/public/components/data/e_table/Document.vue +85 -0
  410. package/public/components/data/e_table/Using.vue +131 -0
  411. package/public/components/data/e_timeline/Document.vue +90 -0
  412. package/public/components/data/e_timeline/Using.vue +124 -0
  413. package/public/components/feedback/e_dialog/AsyncUsing.vue +30 -0
  414. package/public/components/feedback/e_dialog/BaseUsing.vue +15 -0
  415. package/public/components/feedback/e_dialog/Document.vue +26 -0
  416. package/public/components/feedback/e_drawer/BaseUsing.vue +35 -0
  417. package/public/components/feedback/e_drawer/DirectionUsing.vue +93 -0
  418. package/public/components/feedback/e_drawer/Document.vue +153 -0
  419. package/public/components/feedback/e_drawer/LargeSizeDrawer.vue +29 -0
  420. package/public/components/feedback/e_drawer/MediumSizeDrawer.vue +29 -0
  421. package/public/components/feedback/e_drawer/SizeUsing.vue +67 -0
  422. package/public/components/feedback/e_drawer/SmallSizeDrawer.vue +29 -0
  423. package/public/components/feedback/e_message/Document.vue +18 -0
  424. package/public/components/feedback/e_message/Using.vue +16 -0
  425. package/public/components/feedback/e_message_box/BaseUsing.vue +11 -0
  426. package/public/components/feedback/e_message_box/Document.vue +18 -0
  427. package/public/components/feedback/e_message_box/intro.md +12 -0
  428. package/public/components/feedback/e_notification/AllPositionsNotification.vue +35 -0
  429. package/public/components/feedback/e_notification/BasicTypesNotification.vue +47 -0
  430. package/public/components/feedback/e_notification/ClickableNotification.vue +18 -0
  431. package/public/components/feedback/e_notification/Document.vue +147 -0
  432. package/public/components/feedback/e_notification/ManualCloseNotification.vue +17 -0
  433. package/public/components/feedback/e_notification/Using.vue +253 -0
  434. package/public/components/feedback/e_popover/BasicUsage.vue +51 -0
  435. package/public/components/feedback/e_popover/ContextmenuTrigger.vue +27 -0
  436. package/public/components/feedback/e_popover/CustomContent.vue +43 -0
  437. package/public/components/feedback/e_popover/CustomTrigger.vue +39 -0
  438. package/public/components/feedback/e_popover/Document.vue +84 -0
  439. package/public/components/feedback/e_popover/HoverTrigger.vue +29 -0
  440. package/public/components/feedback/e_popover/SizeVariants.vue +36 -0
  441. package/public/components/feedback/e_popover/Using.vue +177 -0
  442. package/public/components/feedback/e_tooltip/Document.vue +42 -0
  443. package/public/components/feedback/e_tooltip/SizeUsing.vue +28 -0
  444. package/public/components/feedback/e_tooltip/Using.vue +44 -0
  445. package/public/components/form/e_checkbox/Document.vue +88 -0
  446. package/public/components/form/e_checkbox/Using.vue +10 -0
  447. package/public/components/form/e_color_picker/Document.vue +55 -0
  448. package/public/components/form/e_color_picker/Using.vue +10 -0
  449. package/public/components/form/e_condition_group/Document.vue +52 -0
  450. package/public/components/form/e_condition_group/Using.vue +165 -0
  451. package/public/components/form/e_file_selector/Document.vue +50 -0
  452. package/public/components/form/e_file_selector/Using.vue +44 -0
  453. package/public/components/form/e_form/BaseUsage.vue +155 -0
  454. package/public/components/form/e_form/Document.vue +93 -0
  455. package/public/components/form/e_form/LoginForm.vue +150 -0
  456. package/public/components/form/e_form/RegisterForm.vue +46 -0
  457. package/public/components/form/e_form/iconfont/iconfont.css +67 -0
  458. package/public/components/form/e_form/iconfont/iconfont.ttf +0 -0
  459. package/public/components/form/e_form/iconfont/iconfont.woff +0 -0
  460. package/public/components/form/e_form/iconfont/iconfont.woff2 +0 -0
  461. package/public/components/form/e_input/BaseUsage.vue +16 -0
  462. package/public/components/form/e_input/Clearable.vue +24 -0
  463. package/public/components/form/e_input/Document.vue +111 -0
  464. package/public/components/form/e_input/Number.vue +10 -0
  465. package/public/components/form/e_input/Password.vue +52 -0
  466. package/public/components/form/e_input/iconfont/iconfont.css +67 -0
  467. package/public/components/form/e_input/iconfont/iconfont.ttf +0 -0
  468. package/public/components/form/e_input/iconfont/iconfont.woff +0 -0
  469. package/public/components/form/e_input/iconfont/iconfont.woff2 +0 -0
  470. package/public/components/form/e_radio/Document.vue +88 -0
  471. package/public/components/form/e_radio/Using.vue +14 -0
  472. package/public/components/form/e_select/Document.vue +32 -0
  473. package/public/components/form/e_select/Using.vue +24 -0
  474. package/public/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
  475. package/public/components/form/e_slider/BaseUsage.vue +10 -0
  476. package/public/components/form/e_slider/CustomRange.vue +21 -0
  477. package/public/components/form/e_slider/Disabled.vue +10 -0
  478. package/public/components/form/e_slider/Document.vue +55 -0
  479. package/public/components/form/e_slider/ShowValue.vue +10 -0
  480. package/public/components/form/e_slider/Sizes.vue +47 -0
  481. package/public/components/form/e_time_picker/Document.vue +58 -0
  482. package/public/components/form/e_time_picker/Using.vue +13 -0
  483. package/public/components/geometry/css_3d/Document.vue +17 -0
  484. package/public/components/geometry/css_3d/Using.vue +9 -0
  485. package/public/components/layout/e_scroll_x/Document.vue +39 -0
  486. package/public/components/layout/e_scroll_x/Using.vue +38 -0
  487. package/public/components/navigation/e_dropdown/BasicUsage.vue +64 -0
  488. package/public/components/navigation/e_dropdown/Contextmenu.vue +41 -0
  489. package/public/components/navigation/e_dropdown/Document.vue +72 -0
  490. package/public/components/navigation/e_dropdown/HoverTrigger.vue +66 -0
  491. package/public/components/navigation/e_dropdown/NestedDropdown.vue +143 -0
  492. package/public/components/navigation/e_tabs/Document.vue +33 -0
  493. package/public/components/navigation/e_tabs/Using.vue +40 -0
  494. package/public/directives/e_uuid_util/Document.vue +15 -0
  495. package/public/directives/e_uuid_util/Using.vue +13 -0
  496. package/public/other/advanced/gsap/BasicUsing.vue +26 -0
  497. package/public/other/advanced/gsap/Document.vue +45 -0
  498. package/public/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
  499. package/public/other/advanced/gsap/ScrollTrigger.vue +195 -0
  500. package/public/other/advanced/gsap/ScrollX.vue +81 -0
  501. package/public/other/advanced/gsap/Timeline.vue +30 -0
  502. package/public/other/advanced/lottie/BasicUsing.vue +33 -0
  503. package/public/other/advanced/lottie/Document.vue +30 -0
  504. package/public/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
  505. package/public/other/advanced/rich_text_editor/Document.vue +24 -0
  506. package/public/other/advanced/rich_text_editor/RichTextEditor.vue +105 -0
  507. package/public/other/advanced/rich_text_editor/wangeditor_style.css +684 -0
  508. package/public/other/advanced/sortablejs/Document.vue +32 -0
  509. package/public/other/advanced/sortablejs/ShuttleFrame.vue +181 -0
  510. package/public/other/advanced/sortablejs/Using.vue +68 -0
  511. package/public/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
  512. package/public/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
  513. package/public/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
  514. package/public/other/advanced/spelling/Document.vue +17 -0
  515. package/public/other/advanced/spelling/Using.vue +104 -0
  516. package/public/other/advanced/svg/BasicUsing.vue +12 -0
  517. package/public/other/advanced/svg/Document.vue +24 -0
  518. package/public/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +30 -0
  519. package/public/other/advanced/svg/FeDisplacementMap/example/Image.vue +41 -0
  520. 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
  521. 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
  522. package/public/other/advanced/svg/FeTurbulence/FeTurbulence.vue +28 -0
  523. package/public/other/advanced/svg/FeTurbulence/example/Image.vue +41 -0
  524. 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
  525. package/public/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
  526. package/public/other/canvas/base/Document.vue +15 -0
  527. package/public/other/canvas/base/Using.vue +125 -0
  528. package/public/other/canvas/burrow/Clip.vue +66 -0
  529. package/public/other/canvas/burrow/Document.vue +36 -0
  530. package/public/other/canvas/burrow/Erase.vue +58 -0
  531. package/public/other/canvas/burrow/NonZeroSurroundRule.vue +70 -0
  532. package/public/other/canvas/clip/Clip.vue +58 -0
  533. package/public/other/canvas/clip/Document.vue +26 -0
  534. package/public/other/canvas/definition/Document.vue +26 -0
  535. package/public/other/canvas/definition/Using.vue +60 -0
  536. package/public/other/echarts/basic/Document.vue +36 -0
  537. package/public/other/echarts/basic/Label.vue +98 -0
  538. package/public/other/echarts/data_zoom/Document.vue +38 -0
  539. package/public/other/echarts/data_zoom/Using.vue +119 -0
  540. package/public/other/echarts/data_zoom/img.svg +33 -0
  541. package/public/other/echarts/gauge/Document.vue +38 -0
  542. package/public/other/echarts/gauge/Gauge.vue +340 -0
  543. package/public/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
  544. package/public/other/echarts/liquidfill/Document.vue +46 -0
  545. package/public/other/echarts/liquidfill/Using.vue +239 -0
  546. package/public/other/git/sample_set/Document.vue +43 -0
  547. package/public/other/git/sample_set/img/img.png +0 -0
  548. package/public/other/git/sample_set/img/img_1.png +0 -0
  549. package/public/other/git/sample_set/img/img_2.png +0 -0
  550. package/public/other/layout/flex/Advanced.vue +104 -0
  551. package/public/other/layout/flex/Advanced2.vue +181 -0
  552. package/public/other/layout/flex/Base.vue +48 -0
  553. package/public/other/layout/flex/Document.vue +57 -0
  554. package/public/other/layout/flex/Grid.vue +54 -0
  555. package/public/other/layout/flex/Height100.vue +35 -0
  556. package/public/other/layout/flex/intro.md +1 -0
  557. package/public/other/layout/grid/Base.vue +29 -0
  558. package/public/other/layout/grid/Document.vue +54 -0
  559. package/public/other/layout/grid/Grid.vue +28 -0
  560. package/public/other/layout/grid/Height100.vue +35 -0
  561. package/public/other/layout/grid/intro.md +1 -0
  562. package/public/other/navigation/new_tab_page/Document.vue +18 -0
  563. package/public/other/navigation/new_tab_page/OpenNewTabPage.vue +7 -0
  564. package/public/other/navigation/new_tab_page/new-tab-page-demo.html +450 -0
  565. package/public/other/network/sse/Document.vue +21 -0
  566. package/public/other/network/sse/Using.vue +24 -0
  567. package/public/other/network/sse/server/app.ts +62 -0
  568. package/public/other/network/sse/server/static/text.md +99 -0
  569. package/public/other/network/sse/server/utils/sleep.ts +5 -0
  570. package/public/other/observer/mutation_observer/Document.vue +15 -0
  571. package/public/other/observer/mutation_observer/Using.vue +46 -0
  572. package/public/other/optimize/Document.vue +19 -0
  573. package/public/other/optimize/HeavyComp.vue +19 -0
  574. package/public/other/optimize/Using.vue +14 -0
  575. package/public/other/optimize/useDefer.ts +28 -0
  576. package/public/other/svg/base/BasicUsing.vue +12 -0
  577. package/public/other/svg/base/Document.vue +24 -0
  578. package/public/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +30 -0
  579. package/public/other/svg/base/FeDisplacementMap/example/Image.vue +41 -0
  580. 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
  581. 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
  582. package/public/other/svg/base/FeTurbulence/FeTurbulence.vue +28 -0
  583. package/public/other/svg/base/FeTurbulence/example/Image.vue +41 -0
  584. 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
  585. package/public/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
  586. package/public/other/threejs/base/Document.vue +17 -0
  587. package/public/other/threejs/base/Using.vue +127 -0
  588. package/public/other/threejs/controller_sync/Document.vue +15 -0
  589. package/public/other/threejs/controller_sync/Using.vue +347 -0
  590. 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
  591. 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
  592. package/public/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
  593. package/public/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
  594. package/public/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
  595. package/public/other/threejs/phoenix/Document.vue +17 -0
  596. package/public/other/threejs/phoenix/Using.vue +79 -0
  597. package/public/other/vue/life_cycle/Child.vue +43 -0
  598. package/public/other/vue/life_cycle/Document.vue +15 -0
  599. package/public/other/vue/life_cycle/Using.vue +16 -0
  600. package/public/utils/e_echarts_util/Document.vue +14 -0
  601. package/public/utils/e_echarts_util/Using.vue +81 -0
  602. package/public/utils/e_image_util/Document.vue +15 -0
  603. package/public/utils/e_image_util/Using.vue +24 -0
  604. package/public/utils/e_image_util/author_avatar.png +0 -0
  605. package/public/utils/e_uuid_util/Document.vue +15 -0
  606. package/public/utils/e_uuid_util/Using.vue +13 -0
  607. package/public/utils/type_utils/Document.vue +16 -0
  608. package/public/utils/type_utils/TupleType.vue +16 -0
package/LICENSE ADDED
@@ -0,0 +1,194 @@
1
+ 木兰宽松许可证,第2版
2
+
3
+ 木兰宽松许可证,第2版
4
+
5
+ 2020年1月 http://license.coscl.org.cn/MulanPSL2
6
+
7
+ 您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:
8
+
9
+ 0. 定义
10
+
11
+ “软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
12
+
13
+ “贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
14
+
15
+ “贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
16
+
17
+ “法人实体” 是指提交贡献的机构及其“关联实体”。
18
+
19
+ “关联实体” 是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是
20
+ 指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
21
+
22
+ 1. 授予版权许可
23
+
24
+ 每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可
25
+ 以复制、使用、修改、分发其“贡献”,不论修改与否。
26
+
27
+ 2. 授予专利许可
28
+
29
+ 每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定
30
+ 撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡
31
+ 献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软
32
+ 件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“
33
+ 关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或
34
+ 其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权
35
+ 行动之日终止。
36
+
37
+ 3. 无商标许可
38
+
39
+ “本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可,但您为满足第4条规定
40
+ 的声明义务而必须使用除外。
41
+
42
+ 4. 分发限制
43
+
44
+ 您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“
45
+ 本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
46
+
47
+ 5. 免责声明与责任限制
48
+
49
+ “软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对
50
+ 任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于
51
+ 何种法律理论,即使其曾被建议有此种损失的可能性。
52
+
53
+ 6. 语言
54
+
55
+ “本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文
56
+ 版为准。
57
+
58
+ 条款结束
59
+
60
+ 如何将木兰宽松许可证,第2版,应用到您的软件
61
+
62
+ 如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
63
+
64
+ 1, 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
65
+
66
+ 2, 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;
67
+
68
+ 3, 请将如下声明文本放入每个源文件的头部注释中。
69
+
70
+ Copyright (c) [Year] [name of copyright holder]
71
+ [Software Name] is licensed under Mulan PSL v2.
72
+ You can use this software according to the terms and conditions of the Mulan
73
+ PSL v2.
74
+ You may obtain a copy of Mulan PSL v2 at:
75
+ http://license.coscl.org.cn/MulanPSL2
76
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
77
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
78
+ NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
79
+ See the Mulan PSL v2 for more details.
80
+
81
+ Mulan Permissive Software License,Version 2
82
+
83
+ Mulan Permissive Software License,Version 2 (Mulan PSL v2)
84
+
85
+ January 2020 http://license.coscl.org.cn/MulanPSL2
86
+
87
+ Your reproduction, use, modification and distribution of the Software shall
88
+ be subject to Mulan PSL v2 (this License) with the following terms and
89
+ conditions:
90
+
91
+ 0. Definition
92
+
93
+ Software means the program and related documents which are licensed under
94
+ this License and comprise all Contribution(s).
95
+
96
+ Contribution means the copyrightable work licensed by a particular
97
+ Contributor under this License.
98
+
99
+ Contributor means the Individual or Legal Entity who licenses its
100
+ copyrightable work under this License.
101
+
102
+ Legal Entity means the entity making a Contribution and all its
103
+ Affiliates.
104
+
105
+ Affiliates means entities that control, are controlled by, or are under
106
+ common control with the acting entity under this License, ‘control’ means
107
+ direct or indirect ownership of at least fifty percent (50%) of the voting
108
+ power, capital or other securities of controlled or commonly controlled
109
+ entity.
110
+
111
+ 1. Grant of Copyright License
112
+
113
+ Subject to the terms and conditions of this License, each Contributor hereby
114
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
115
+ irrevocable copyright license to reproduce, use, modify, or distribute its
116
+ Contribution, with modification or not.
117
+
118
+ 2. Grant of Patent License
119
+
120
+ Subject to the terms and conditions of this License, each Contributor hereby
121
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
122
+ irrevocable (except for revocation under this Section) patent license to
123
+ make, have made, use, offer for sale, sell, import or otherwise transfer its
124
+ Contribution, where such patent license is only limited to the patent claims
125
+ owned or controlled by such Contributor now or in future which will be
126
+ necessarily infringed by its Contribution alone, or by combination of the
127
+ Contribution with the Software to which the Contribution was contributed.
128
+ The patent license shall not apply to any modification of the Contribution,
129
+ and any other combination which includes the Contribution. If you or your
130
+ Affiliates directly or indirectly institute patent litigation (including a
131
+ cross claim or counterclaim in a litigation) or other patent enforcement
132
+ activities against any individual or entity by alleging that the Software or
133
+ any Contribution in it infringes patents, then any patent license granted to
134
+ you under this License for the Software shall terminate as of the date such
135
+ litigation or activity is filed or taken.
136
+
137
+ 3. No Trademark License
138
+
139
+ No trademark license is granted to use the trade names, trademarks, service
140
+ marks, or product names of Contributor, except as required to fulfill notice
141
+ requirements in section 4.
142
+
143
+ 4. Distribution Restriction
144
+
145
+ You may distribute the Software in any medium with or without modification,
146
+ whether in source or executable forms, provided that you provide recipients
147
+ with a copy of this License and retain copyright, patent, trademark and
148
+ disclaimer statements in the Software.
149
+
150
+ 5. Disclaimer of Warranty and Limitation of Liability
151
+
152
+ THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
153
+ KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
154
+ COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
155
+ LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
156
+ FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
157
+ MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
158
+ THE POSSIBILITY OF SUCH DAMAGES.
159
+
160
+ 6. Language
161
+
162
+ THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
163
+ AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
164
+ DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
165
+ SHALL PREVAIL.
166
+
167
+ END OF THE TERMS AND CONDITIONS
168
+
169
+ How to Apply the Mulan Permissive Software License,Version 2
170
+ (Mulan PSL v2) to Your Software
171
+
172
+ To apply the Mulan PSL v2 to your work, for easy identification by
173
+ recipients, you are suggested to complete following three steps:
174
+
175
+ i. Fill in the blanks in following statement, including insert your software
176
+ name, the year of the first publication of your software, and your name
177
+ identified as the copyright owner;
178
+
179
+ ii. Create a file named "LICENSE" which contains the whole context of this
180
+ License in the first directory of your software package;
181
+
182
+ iii. Attach the statement to the appropriate annotated syntax at the
183
+ beginning of each source file.
184
+
185
+ Copyright (c) [Year] [name of copyright holder]
186
+ [Software Name] is licensed under Mulan PSL v2.
187
+ You can use this software according to the terms and conditions of the Mulan
188
+ PSL v2.
189
+ You may obtain a copy of Mulan PSL v2 at:
190
+ http://license.coscl.org.cn/MulanPSL2
191
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
192
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
193
+ NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
194
+ See the Mulan PSL v2 for more details.
package/README.md ADDED
@@ -0,0 +1,242 @@
1
+ # Exploria UI MCP Server
2
+
3
+ Exploria UI MCP Server 是一个基于 MCP(Model Context Protocol)协议的服务,允许 AI 客户端(如 Cursor、Trae IDE)访问和查询 Exploria UI 组件库的文档和信息。
4
+
5
+ ## 1. MCP 协议简介
6
+
7
+ ### 1.1 什么是 MCP?
8
+
9
+ MCP(Model Context Protocol)是 AI 工具世界的「USB 标准」,它允许 AI 应用(如 Cursor、Trae IDE)通过统一的接口访问自定义数据和功能。
10
+
11
+ ### 1.2 核心设计理念
12
+
13
+ - **统一接口**:为所有 AI 工具提供统一的访问方式,避免为每个 AI 工具单独开发适配层
14
+ - **轻量通信**:默认使用标准输入输出(stdio)进行通信,无需网络端口
15
+ - **自动管理**:由 AI 客户端自动启动、管理和停止,无需手动干预
16
+ - **安全可靠**:通过管道通信,避免网络安全风险
17
+
18
+ ### 1.3 通信原理
19
+
20
+ MCP Server 与 AI IDE 的通信流程:
21
+
22
+ 1. AI IDE(如 Cursor/Trae)启动时读取配置文件
23
+ 2. 根据配置中的 `mcpServers` 自动启动 MCP Server 作为子进程
24
+ 3. 通过标准输入输出(stdio)与 MCP Server 通信
25
+ 4. 发送初始化指令,获取可用工具列表
26
+ 5. 在需要时调用相应工具,获取结果
27
+ 6. IDE 关闭时,自动终止 MCP Server 进程
28
+
29
+ **关键特点**:
30
+
31
+ - Cursor/Trae 是 MCP Server 的父进程
32
+ - 通信方式:标准输入输出(stdio),不是网络通信
33
+ - 无端口、无 TCP、无 HTTP
34
+ - 所有消息通过 JSON 格式管道传输
35
+
36
+ ## 2. 快速开始
37
+
38
+ ### 2.1 安装依赖
39
+
40
+ ```bash
41
+ pnpm install
42
+ ```
43
+
44
+ ### 2.2 Cursor 配置
45
+
46
+ 1. 打开 Cursor 配置文件:`%APPDATA%\Cursor\cursor_config.json`
47
+ 2. 添加以下配置:
48
+
49
+ ```json
50
+ {
51
+ "mcpServers": {
52
+ "exploria-ui-mcp": {
53
+ "command": "pnpm",
54
+ "args": ["serve"],
55
+ "cwd": "C:\\Users\\YYWD4\\Desktop\\exploria-ui-document\\mcp-server"
56
+ }
57
+ }
58
+ }
59
+ ```
60
+
61
+ **注意**:请将 `cwd` 路径替换为您实际的项目路径。
62
+
63
+ 3. 重启 Cursor,它会自动启动并连接到 MCP Server
64
+
65
+ ### 2.3 Trae IDE 配置
66
+
67
+ 1. 打开 Trae IDE MCP 配置文件:`.cursor/mcp.json`(位于项目根目录)
68
+ 2. 添加以下配置:
69
+
70
+ ```json
71
+ {
72
+ "servers": [
73
+ {
74
+ "id": "exploria-ui-mcp",
75
+ "name": "Exploria UI MCP Server",
76
+ "command": "pnpm",
77
+ "args": ["serve"],
78
+ "cwd": "mcp-server",
79
+ "env": {},
80
+ "enabled": true
81
+ }
82
+ ]
83
+ }
84
+ ```
85
+
86
+ **注意**:
87
+
88
+ - `cwd` 路径为相对于项目根目录的路径
89
+ - 确保 `enabled` 字段设置为 `true` 以启用该服务器
90
+
91
+ 3. 重启 Trae IDE 或重新加载配置,它会自动启动并连接到 MCP Server
92
+
93
+ ### 2.4 验证配置
94
+
95
+ 配置完成后,在 AI IDE 中输入类似以下的查询,验证 MCP Server 是否正常工作:
96
+
97
+ ```
98
+ 帮我查一下 button 组件的文档
99
+ ```
100
+
101
+ ## 3. 核心功能
102
+
103
+ ### 3.1 工具(Tools)
104
+
105
+ | 工具名称 | 描述 | 参数 | 返回值 |
106
+ | ------------------------ | ------------------------- | --------------------------------- | -------------------------------------- |
107
+ | `search_documents` | 搜索 Exploria UI 组件文档 | `query: string` | 匹配的组件列表 |
108
+ | `get_component_list` | 获取所有组件列表 | 无 | 所有组件的基本信息 |
109
+ | `get_component_details` | 获取指定组件的详细信息 | `componentName: string` | 组件的详细信息,包括属性、事件、插槽等 |
110
+ | `search_and_get_details` | 搜索并获取组件详情 | `query: string`, `limit?: number` | 匹配的组件列表,包含详细信息 |
111
+
112
+ ### 3.2 资源(Resources)
113
+
114
+ | 资源 URI | 描述 | 返回值 |
115
+ | ------------------------------- | -------------- | -------------------------------- |
116
+ | `status://exploria-ui-server` | 服务器状态信息 | 服务器运行状态、版本、运行时间等 |
117
+ | `docs://exploria-ui-api` | API 文档 | 完整的 API 文档 |
118
+ | `components://exploria-ui-list` | 组件列表资源 | 所有组件的基本信息 |
119
+
120
+ ### 3.3 提示(Prompts)
121
+
122
+ | 提示名称 | 描述 | 参数 | 返回值 |
123
+ | ------------------------- | ---------------- | -------------------------------------------- | ---------------- |
124
+ | `component_documentation` | 生成组件文档模板 | `componentName: string` | 组件文档模板 |
125
+ | `usage_example` | 生成组件使用示例 | `componentName: string`, `scenario?: string` | 组件使用示例代码 |
126
+
127
+ ## 4. 项目架构
128
+
129
+ ### 4.1 核心模块
130
+
131
+ | 模块 | 功能 |
132
+ | ------------- | -------------------------------------- |
133
+ | **Tools** | 可执行功能,如搜索文档、获取组件详情 |
134
+ | **Resources** | 提供只读数据,如服务器状态、API 文档 |
135
+ | **Prompts** | 预定义模板,用于生成组件文档和使用示例 |
136
+ | **Utils** | 工具类,如文档解析器 |
137
+
138
+ ### 4.2 项目结构
139
+
140
+ ```
141
+ src/
142
+ ├── index.ts # 入口文件,启动 MCP Server
143
+ ├── tools/ # 工具模块
144
+ │ ├── index.ts # 工具注册入口
145
+ │ ├── searchDocuments.ts # 搜索文档工具
146
+ │ ├── getComponentList.ts # 获取组件列表工具
147
+ │ ├── getComponentDetails.ts # 获取组件详情工具
148
+ │ └── searchAndGetDetails.ts # 搜索并获取组件详情工具
149
+ ├── resources/ # 资源模块
150
+ │ ├── index.ts # 资源注册入口
151
+ │ ├── serverStatus.ts # 服务器状态资源
152
+ │ ├── apiDocs.ts # API 文档资源
153
+ │ └── componentList.ts # 组件列表资源
154
+ ├── prompts/ # 提示模块
155
+ │ ├── index.ts # 提示注册入口
156
+ │ ├── componentDocumentation.ts # 生成组件文档模板
157
+ │ └── usageExample.ts # 生成组件使用示例
158
+ └── utils/ # 工具类
159
+ └── documentParser.ts # 文档解析器,处理组件文档
160
+ ```
161
+
162
+ ## 5. 开发与调试
163
+
164
+ ### 5.1 构建项目
165
+
166
+ ```bash
167
+ pnpm build
168
+ ```
169
+
170
+ ### 5.2 本地运行(仅开发阶段)
171
+
172
+ **注意**:在生产环境中,MCP Server 由 AI IDE 自动启动和管理,无需手动运行。以下命令仅用于开发和调试阶段。
173
+
174
+ ```bash
175
+ # 使用 tsx 直接运行 TypeScript 代码(开发模式)
176
+ pnpm serve
177
+
178
+ # 运行构建后的代码(生产模式测试)
179
+ pnpm start
180
+ ```
181
+
182
+ ### 5.3 使用 MCP Dev 工具
183
+
184
+ 安装 MCP Dev 工具进行调试:
185
+
186
+ ```bash
187
+ npm install -g @modelcontextprotocol/dev
188
+ ```
189
+
190
+ 然后在项目目录中运行:
191
+
192
+ ```bash
193
+ mcp dev src/index.ts
194
+ ```
195
+
196
+ 这会模拟 AI IDE 启动和调用流程,便于调试。
197
+
198
+ ## 6. 扩展指南
199
+
200
+ ### 6.1 添加新工具
201
+
202
+ 1. 在 `src/tools/` 目录下创建新的工具文件,如 `newTool.ts`
203
+ 2. 实现工具函数并注册到 MCP Server
204
+ 3. 在 `src/tools/index.ts` 中导入并注册新工具
205
+
206
+ ### 6.2 添加新资源
207
+
208
+ 1. 在 `src/resources/` 目录下创建新的资源文件,如 `newResource.ts`
209
+ 2. 实现资源函数并注册到 MCP Server
210
+ 3. 在 `src/resources/index.ts` 中导入并注册新资源
211
+
212
+ ### 6.3 添加新提示
213
+
214
+ 1. 在 `src/prompts/` 目录下创建新的提示文件,如 `newPrompt.ts`
215
+ 2. 实现提示函数并注册到 MCP Server
216
+ 3. 在 `src/prompts/index.ts` 中导入并注册新提示
217
+
218
+ ## 7. 技术栈
219
+
220
+ | 技术 | 用途 |
221
+ | --------------------------- | ---------------------------- |
222
+ | `@modelcontextprotocol/sdk` | 官方 MCP TypeScript SDK |
223
+ | `zod` | 用于工具参数的运行时类型校验 |
224
+ | `tsx` | 直接运行 TypeScript 代码 |
225
+ | `typescript` | 类型安全 |
226
+ | `pnpm` | 包管理 |
227
+
228
+ ## 8. 协议兼容性
229
+
230
+ - 支持 MCP 协议 v1.0+
231
+ - 兼容 Cursor、Trae IDE、Claude Desktop 等支持 MCP 的 AI 客户端
232
+ - 使用标准输入输出(stdio)通信,无需网络端口
233
+
234
+ ## 9. 安全特性
235
+
236
+ - 无网络通信,所有数据通过管道传输
237
+ - 由 AI 客户端自动管理,无需手动暴露服务
238
+ - 支持工具级别的权限控制(通过 MCP SDK 实现)
239
+
240
+ ## 10. 许可证
241
+
242
+ MIT