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.
- package/LICENSE +194 -0
- package/README.md +242 -0
- package/dist/README.md +633 -0
- package/dist/components/advanced/e_parallax_scrolling/Document.vue +23 -0
- package/dist/components/advanced/e_parallax_scrolling/Using.vue +20 -0
- 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 +21 -0
- package/dist/components/advanced/e_rolling_follow/Using.vue +54 -0
- package/dist/components/advanced/e_virtual_list/ComprehensiveCase.vue +209 -0
- package/dist/components/advanced/e_virtual_list/Document.vue +68 -0
- package/dist/components/advanced/e_virtual_list/DynamicData.vue +42 -0
- package/dist/components/advanced/e_virtual_list/Using.vue +32 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.css +19 -0
- 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 +89 -0
- package/dist/components/advanced/e_watermark/BasicUsing.vue +9 -0
- package/dist/components/advanced/e_watermark/CustomFont.vue +73 -0
- package/dist/components/advanced/e_watermark/CustomStyle.vue +76 -0
- package/dist/components/advanced/e_watermark/Dense.vue +28 -0
- package/dist/components/advanced/e_watermark/Document.vue +197 -0
- package/dist/components/advanced/e_watermark/HighZIndex.vue +105 -0
- package/dist/components/advanced/e_watermark/ImageWatermark.vue +31 -0
- package/dist/components/advanced/e_watermark/MultiLine.vue +29 -0
- package/dist/components/advanced/e_watermark/OpacityWatermark.vue +73 -0
- package/dist/components/ai/typing_effect/Document.vue +47 -0
- package/dist/components/ai/typing_effect/Using1.vue +189 -0
- package/dist/components/ai/typing_effect/Using2.vue +167 -0
- package/dist/components/basic/e_badge/BasicBadge.vue +31 -0
- package/dist/components/basic/e_badge/Document.vue +137 -0
- package/dist/components/basic/e_badge/DotBadge.vue +35 -0
- package/dist/components/basic/e_badge/MaxBadge.vue +33 -0
- package/dist/components/basic/e_badge/ShowZeroBadge.vue +30 -0
- package/dist/components/basic/e_badge/SizeBadge.vue +29 -0
- package/dist/components/basic/e_badge/TypeBadge.vue +36 -0
- package/dist/components/basic/e_button/CircleButtons.vue +30 -0
- package/dist/components/basic/e_button/DisabledButtons.vue +30 -0
- package/dist/components/basic/e_button/Document.vue +171 -0
- package/dist/components/basic/e_button/LoadingButtons.vue +30 -0
- package/dist/components/basic/e_button/NormalButtons.vue +30 -0
- package/dist/components/basic/e_button/PlainButtons.vue +30 -0
- package/dist/components/basic/e_button/RoundButtons.vue +30 -0
- package/dist/components/basic/e_button/RoundedRectangleButtons.vue +35 -0
- package/dist/components/basic/e_button/SizeButtons.vue +19 -0
- package/dist/components/basic/e_button/Using.vue +89 -0
- package/dist/components/basic/e_card/BasicCard.vue +9 -0
- package/dist/components/basic/e_card/BorderlessCard.vue +8 -0
- package/dist/components/basic/e_card/ComplexContentCard.vue +92 -0
- package/dist/components/basic/e_card/CustomHeaderCard.vue +24 -0
- package/dist/components/basic/e_card/Document.vue +131 -0
- package/dist/components/basic/e_card/FooterCard.vue +12 -0
- package/dist/components/basic/e_card/ShadowCard.vue +30 -0
- package/dist/components/basic/e_card/SizesCard.vue +29 -0
- package/dist/components/basic/e_svg_icon/Document.vue +38 -0
- package/dist/components/basic/e_svg_icon/Using.vue +7 -0
- package/dist/components/basic/e_underline/BaseUsing.vue +13 -0
- package/dist/components/basic/e_underline/Document.vue +27 -0
- package/dist/components/basic/e_underline/ImgUsing.vue +36 -0
- package/dist/components/data/e_calendar/Document.vue +41 -0
- package/dist/components/data/e_calendar/Using.vue +9 -0
- package/dist/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/dist/components/data/e_carousel/Document.vue +143 -0
- package/dist/components/data/e_carousel/Using.vue +20 -0
- package/dist/components/data/e_carousel/Using1.vue +23 -0
- package/dist/components/data/e_carousel/Using2.vue +17 -0
- package/dist/components/data/e_carousel/Using3.vue +17 -0
- package/dist/components/data/e_collapse/Document.vue +40 -0
- package/dist/components/data/e_collapse/Using.vue +9 -0
- 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 +71 -0
- package/dist/components/data/e_image/Using.vue +21 -0
- package/dist/components/data/e_image/img.png +0 -0
- package/dist/components/data/e_list/BasicUsage.vue +18 -0
- package/dist/components/data/e_list/CustomCheckboxUsage.vue +22 -0
- package/dist/components/data/e_list/CustomEmptyDataUsage.vue +38 -0
- package/dist/components/data/e_list/CustomRowUsage.vue +64 -0
- package/dist/components/data/e_list/DividerUsage.vue +20 -0
- package/dist/components/data/e_list/Document.vue +261 -0
- package/dist/components/data/e_list/EmptyDataUsage.vue +3 -0
- package/dist/components/data/e_list/EventUsage.vue +23 -0
- package/dist/components/data/e_list/MultipleSelectUsage.vue +22 -0
- package/dist/components/data/e_list/SingleSelectUsage.vue +21 -0
- package/dist/components/data/e_list/SizeUsage.vue +35 -0
- package/dist/components/data/e_media_viewer/Document.vue +39 -0
- package/dist/components/data/e_media_viewer/Using.vue +30 -0
- package/dist/components/data/e_media_viewer/img.png +0 -0
- package/dist/components/data/e_progress/BasicProgress.vue +21 -0
- package/dist/components/data/e_progress/CircleProgress.vue +23 -0
- package/dist/components/data/e_progress/CustomColorProgress.vue +63 -0
- package/dist/components/data/e_progress/Document.vue +179 -0
- package/dist/components/data/e_progress/IndeterminateProgress.vue +49 -0
- package/dist/components/data/e_progress/ProgressSize.vue +50 -0
- package/dist/components/data/e_progress/ProgressStatus.vue +21 -0
- package/dist/components/data/e_progress/ProgressText.vue +52 -0
- package/dist/components/data/e_rolling_pagination/Document.vue +21 -0
- package/dist/components/data/e_rolling_pagination/Using.vue +33 -0
- 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 +26 -0
- package/dist/components/data/e_skeleton/Using.vue +18 -0
- package/dist/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/dist/components/data/e_table/Document.vue +85 -0
- package/dist/components/data/e_table/Using.vue +131 -0
- package/dist/components/data/e_timeline/Document.vue +90 -0
- package/dist/components/data/e_timeline/Using.vue +124 -0
- package/dist/components/feedback/e_dialog/AsyncUsing.vue +30 -0
- package/dist/components/feedback/e_dialog/BaseUsing.vue +15 -0
- package/dist/components/feedback/e_dialog/Document.vue +26 -0
- package/dist/components/feedback/e_drawer/BaseUsing.vue +35 -0
- package/dist/components/feedback/e_drawer/DirectionUsing.vue +93 -0
- package/dist/components/feedback/e_drawer/Document.vue +153 -0
- package/dist/components/feedback/e_drawer/LargeSizeDrawer.vue +29 -0
- package/dist/components/feedback/e_drawer/MediumSizeDrawer.vue +29 -0
- package/dist/components/feedback/e_drawer/SizeUsing.vue +67 -0
- package/dist/components/feedback/e_drawer/SmallSizeDrawer.vue +29 -0
- package/dist/components/feedback/e_message/Document.vue +18 -0
- package/dist/components/feedback/e_message/Using.vue +16 -0
- package/dist/components/feedback/e_message_box/BaseUsing.vue +11 -0
- package/dist/components/feedback/e_message_box/Document.vue +18 -0
- package/dist/components/feedback/e_message_box/intro.md +12 -0
- package/dist/components/feedback/e_notification/AllPositionsNotification.vue +35 -0
- package/dist/components/feedback/e_notification/BasicTypesNotification.vue +47 -0
- package/dist/components/feedback/e_notification/ClickableNotification.vue +18 -0
- package/dist/components/feedback/e_notification/Document.vue +147 -0
- package/dist/components/feedback/e_notification/ManualCloseNotification.vue +17 -0
- package/dist/components/feedback/e_notification/Using.vue +253 -0
- package/dist/components/feedback/e_popover/BasicUsage.vue +51 -0
- package/dist/components/feedback/e_popover/ContextmenuTrigger.vue +27 -0
- package/dist/components/feedback/e_popover/CustomContent.vue +43 -0
- package/dist/components/feedback/e_popover/CustomTrigger.vue +39 -0
- package/dist/components/feedback/e_popover/Document.vue +84 -0
- package/dist/components/feedback/e_popover/HoverTrigger.vue +29 -0
- package/dist/components/feedback/e_popover/SizeVariants.vue +36 -0
- package/dist/components/feedback/e_popover/Using.vue +177 -0
- package/dist/components/feedback/e_tooltip/Document.vue +42 -0
- package/dist/components/feedback/e_tooltip/SizeUsing.vue +28 -0
- package/dist/components/feedback/e_tooltip/Using.vue +44 -0
- package/dist/components/form/e_checkbox/Document.vue +88 -0
- package/dist/components/form/e_checkbox/Using.vue +10 -0
- package/dist/components/form/e_color_picker/Document.vue +55 -0
- package/dist/components/form/e_color_picker/Using.vue +10 -0
- package/dist/components/form/e_condition_group/Document.vue +52 -0
- package/dist/components/form/e_condition_group/Using.vue +165 -0
- package/dist/components/form/e_file_selector/Document.vue +50 -0
- package/dist/components/form/e_file_selector/Using.vue +44 -0
- package/dist/components/form/e_form/BaseUsage.vue +155 -0
- package/dist/components/form/e_form/Document.vue +93 -0
- package/dist/components/form/e_form/LoginForm.vue +150 -0
- package/dist/components/form/e_form/RegisterForm.vue +46 -0
- package/dist/components/form/e_form/iconfont/iconfont.css +67 -0
- 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 +16 -0
- package/dist/components/form/e_input/Clearable.vue +24 -0
- package/dist/components/form/e_input/Document.vue +111 -0
- package/dist/components/form/e_input/Number.vue +10 -0
- package/dist/components/form/e_input/Password.vue +52 -0
- package/dist/components/form/e_input/iconfont/iconfont.css +67 -0
- 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 +88 -0
- package/dist/components/form/e_radio/Using.vue +14 -0
- package/dist/components/form/e_select/Document.vue +32 -0
- package/dist/components/form/e_select/Using.vue +24 -0
- 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 +10 -0
- package/dist/components/form/e_slider/CustomRange.vue +21 -0
- package/dist/components/form/e_slider/Disabled.vue +10 -0
- package/dist/components/form/e_slider/Document.vue +55 -0
- package/dist/components/form/e_slider/ShowValue.vue +10 -0
- package/dist/components/form/e_slider/Sizes.vue +47 -0
- package/dist/components/form/e_time_picker/Document.vue +58 -0
- package/dist/components/form/e_time_picker/Using.vue +13 -0
- package/dist/components/geometry/css_3d/Document.vue +17 -0
- package/dist/components/geometry/css_3d/Using.vue +9 -0
- package/dist/components/layout/e_scroll_x/Document.vue +39 -0
- package/dist/components/layout/e_scroll_x/Using.vue +38 -0
- package/dist/components/navigation/e_dropdown/BasicUsage.vue +64 -0
- package/dist/components/navigation/e_dropdown/Contextmenu.vue +41 -0
- package/dist/components/navigation/e_dropdown/Document.vue +72 -0
- package/dist/components/navigation/e_dropdown/HoverTrigger.vue +66 -0
- package/dist/components/navigation/e_dropdown/NestedDropdown.vue +143 -0
- package/dist/components/navigation/e_tabs/Document.vue +33 -0
- package/dist/components/navigation/e_tabs/Using.vue +40 -0
- package/dist/directives/e_uuid_util/Document.vue +15 -0
- package/dist/directives/e_uuid_util/Using.vue +13 -0
- package/dist/index.js +13708 -0
- package/dist/other/advanced/gsap/BasicUsing.vue +26 -0
- package/dist/other/advanced/gsap/Document.vue +45 -0
- package/dist/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/gsap/ScrollTrigger.vue +195 -0
- package/dist/other/advanced/gsap/ScrollX.vue +81 -0
- package/dist/other/advanced/gsap/Timeline.vue +30 -0
- package/dist/other/advanced/lottie/BasicUsing.vue +33 -0
- package/dist/other/advanced/lottie/Document.vue +30 -0
- package/dist/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/rich_text_editor/Document.vue +24 -0
- package/dist/other/advanced/rich_text_editor/RichTextEditor.vue +105 -0
- package/dist/other/advanced/rich_text_editor/wangeditor_style.css +684 -0
- package/dist/other/advanced/sortablejs/Document.vue +32 -0
- package/dist/other/advanced/sortablejs/ShuttleFrame.vue +181 -0
- package/dist/other/advanced/sortablejs/Using.vue +68 -0
- 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 +17 -0
- package/dist/other/advanced/spelling/Using.vue +104 -0
- package/dist/other/advanced/svg/BasicUsing.vue +12 -0
- package/dist/other/advanced/svg/Document.vue +24 -0
- package/dist/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/dist/other/advanced/svg/FeDisplacementMap/example/Image.vue +41 -0
- 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 +28 -0
- package/dist/other/advanced/svg/FeTurbulence/example/Image.vue +41 -0
- 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 +15 -0
- package/dist/other/canvas/base/Using.vue +125 -0
- package/dist/other/canvas/burrow/Clip.vue +66 -0
- package/dist/other/canvas/burrow/Document.vue +36 -0
- package/dist/other/canvas/burrow/Erase.vue +58 -0
- package/dist/other/canvas/burrow/NonZeroSurroundRule.vue +70 -0
- package/dist/other/canvas/clip/Clip.vue +58 -0
- package/dist/other/canvas/clip/Document.vue +26 -0
- package/dist/other/canvas/definition/Document.vue +26 -0
- package/dist/other/canvas/definition/Using.vue +60 -0
- package/dist/other/echarts/basic/Document.vue +36 -0
- package/dist/other/echarts/basic/Label.vue +98 -0
- package/dist/other/echarts/data_zoom/Document.vue +38 -0
- package/dist/other/echarts/data_zoom/Using.vue +119 -0
- package/dist/other/echarts/data_zoom/img.svg +33 -0
- package/dist/other/echarts/gauge/Document.vue +38 -0
- package/dist/other/echarts/gauge/Gauge.vue +340 -0
- package/dist/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/dist/other/echarts/liquidfill/Document.vue +46 -0
- package/dist/other/echarts/liquidfill/Using.vue +239 -0
- package/dist/other/git/sample_set/Document.vue +43 -0
- 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 +104 -0
- package/dist/other/layout/flex/Advanced2.vue +181 -0
- package/dist/other/layout/flex/Base.vue +48 -0
- package/dist/other/layout/flex/Document.vue +57 -0
- package/dist/other/layout/flex/Grid.vue +54 -0
- package/dist/other/layout/flex/Height100.vue +35 -0
- package/dist/other/layout/flex/intro.md +1 -0
- package/dist/other/layout/grid/Base.vue +29 -0
- package/dist/other/layout/grid/Document.vue +54 -0
- package/dist/other/layout/grid/Grid.vue +28 -0
- package/dist/other/layout/grid/Height100.vue +35 -0
- package/dist/other/layout/grid/intro.md +1 -0
- package/dist/other/navigation/new_tab_page/Document.vue +18 -0
- package/dist/other/navigation/new_tab_page/OpenNewTabPage.vue +7 -0
- package/dist/other/navigation/new_tab_page/new-tab-page-demo.html +450 -0
- package/dist/other/network/sse/Document.vue +21 -0
- package/dist/other/network/sse/Using.vue +24 -0
- package/dist/other/network/sse/server/app.ts +62 -0
- package/dist/other/network/sse/server/static/text.md +99 -0
- package/dist/other/network/sse/server/utils/sleep.ts +5 -0
- package/dist/other/observer/mutation_observer/Document.vue +15 -0
- package/dist/other/observer/mutation_observer/Using.vue +46 -0
- package/dist/other/optimize/Document.vue +19 -0
- package/dist/other/optimize/HeavyComp.vue +19 -0
- package/dist/other/optimize/Using.vue +14 -0
- package/dist/other/optimize/useDefer.ts +28 -0
- package/dist/other/svg/base/BasicUsing.vue +12 -0
- package/dist/other/svg/base/Document.vue +24 -0
- package/dist/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/dist/other/svg/base/FeDisplacementMap/example/Image.vue +41 -0
- 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 +28 -0
- package/dist/other/svg/base/FeTurbulence/example/Image.vue +41 -0
- 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 +17 -0
- package/dist/other/threejs/base/Using.vue +127 -0
- package/dist/other/threejs/controller_sync/Document.vue +15 -0
- package/dist/other/threejs/controller_sync/Using.vue +347 -0
- 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 +17 -0
- package/dist/other/threejs/phoenix/Using.vue +79 -0
- package/dist/other/vue/life_cycle/Child.vue +43 -0
- package/dist/other/vue/life_cycle/Document.vue +15 -0
- package/dist/other/vue/life_cycle/Using.vue +16 -0
- package/dist/utils/e_echarts_util/Document.vue +14 -0
- package/dist/utils/e_echarts_util/Using.vue +81 -0
- package/dist/utils/e_image_util/Document.vue +15 -0
- package/dist/utils/e_image_util/Using.vue +24 -0
- package/dist/utils/e_image_util/author_avatar.png +0 -0
- package/dist/utils/e_uuid_util/Document.vue +15 -0
- package/dist/utils/e_uuid_util/Using.vue +13 -0
- package/dist/utils/type_utils/Document.vue +16 -0
- package/dist/utils/type_utils/TupleType.vue +16 -0
- package/package.json +33 -0
- package/public/README.md +633 -0
- package/public/components/advanced/e_parallax_scrolling/Document.vue +23 -0
- package/public/components/advanced/e_parallax_scrolling/Using.vue +20 -0
- 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 +21 -0
- package/public/components/advanced/e_rolling_follow/Using.vue +54 -0
- package/public/components/advanced/e_virtual_list/ComprehensiveCase.vue +209 -0
- package/public/components/advanced/e_virtual_list/Document.vue +68 -0
- package/public/components/advanced/e_virtual_list/DynamicData.vue +42 -0
- package/public/components/advanced/e_virtual_list/Using.vue +32 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.css +19 -0
- 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 +89 -0
- package/public/components/advanced/e_watermark/BasicUsing.vue +9 -0
- package/public/components/advanced/e_watermark/CustomFont.vue +73 -0
- package/public/components/advanced/e_watermark/CustomStyle.vue +76 -0
- package/public/components/advanced/e_watermark/Dense.vue +28 -0
- package/public/components/advanced/e_watermark/Document.vue +197 -0
- package/public/components/advanced/e_watermark/HighZIndex.vue +105 -0
- package/public/components/advanced/e_watermark/ImageWatermark.vue +31 -0
- package/public/components/advanced/e_watermark/MultiLine.vue +29 -0
- package/public/components/advanced/e_watermark/OpacityWatermark.vue +73 -0
- package/public/components/ai/typing_effect/Document.vue +47 -0
- package/public/components/ai/typing_effect/Using1.vue +189 -0
- package/public/components/ai/typing_effect/Using2.vue +167 -0
- package/public/components/basic/e_badge/BasicBadge.vue +31 -0
- package/public/components/basic/e_badge/Document.vue +137 -0
- package/public/components/basic/e_badge/DotBadge.vue +35 -0
- package/public/components/basic/e_badge/MaxBadge.vue +33 -0
- package/public/components/basic/e_badge/ShowZeroBadge.vue +30 -0
- package/public/components/basic/e_badge/SizeBadge.vue +29 -0
- package/public/components/basic/e_badge/TypeBadge.vue +36 -0
- package/public/components/basic/e_button/CircleButtons.vue +30 -0
- package/public/components/basic/e_button/DisabledButtons.vue +30 -0
- package/public/components/basic/e_button/Document.vue +171 -0
- package/public/components/basic/e_button/LoadingButtons.vue +30 -0
- package/public/components/basic/e_button/NormalButtons.vue +30 -0
- package/public/components/basic/e_button/PlainButtons.vue +30 -0
- package/public/components/basic/e_button/RoundButtons.vue +30 -0
- package/public/components/basic/e_button/RoundedRectangleButtons.vue +35 -0
- package/public/components/basic/e_button/SizeButtons.vue +19 -0
- package/public/components/basic/e_button/Using.vue +89 -0
- package/public/components/basic/e_card/BasicCard.vue +9 -0
- package/public/components/basic/e_card/BorderlessCard.vue +8 -0
- package/public/components/basic/e_card/ComplexContentCard.vue +92 -0
- package/public/components/basic/e_card/CustomHeaderCard.vue +24 -0
- package/public/components/basic/e_card/Document.vue +131 -0
- package/public/components/basic/e_card/FooterCard.vue +12 -0
- package/public/components/basic/e_card/ShadowCard.vue +30 -0
- package/public/components/basic/e_card/SizesCard.vue +29 -0
- package/public/components/basic/e_svg_icon/Document.vue +38 -0
- package/public/components/basic/e_svg_icon/Using.vue +7 -0
- package/public/components/basic/e_underline/BaseUsing.vue +13 -0
- package/public/components/basic/e_underline/Document.vue +27 -0
- package/public/components/basic/e_underline/ImgUsing.vue +36 -0
- package/public/components/data/e_calendar/Document.vue +41 -0
- package/public/components/data/e_calendar/Using.vue +9 -0
- package/public/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/public/components/data/e_carousel/Document.vue +143 -0
- package/public/components/data/e_carousel/Using.vue +20 -0
- package/public/components/data/e_carousel/Using1.vue +23 -0
- package/public/components/data/e_carousel/Using2.vue +17 -0
- package/public/components/data/e_carousel/Using3.vue +17 -0
- package/public/components/data/e_collapse/Document.vue +40 -0
- package/public/components/data/e_collapse/Using.vue +9 -0
- 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 +71 -0
- package/public/components/data/e_image/Using.vue +21 -0
- package/public/components/data/e_image/img.png +0 -0
- package/public/components/data/e_list/BasicUsage.vue +18 -0
- package/public/components/data/e_list/CustomCheckboxUsage.vue +22 -0
- package/public/components/data/e_list/CustomEmptyDataUsage.vue +38 -0
- package/public/components/data/e_list/CustomRowUsage.vue +64 -0
- package/public/components/data/e_list/DividerUsage.vue +20 -0
- package/public/components/data/e_list/Document.vue +261 -0
- package/public/components/data/e_list/EmptyDataUsage.vue +3 -0
- package/public/components/data/e_list/EventUsage.vue +23 -0
- package/public/components/data/e_list/MultipleSelectUsage.vue +22 -0
- package/public/components/data/e_list/SingleSelectUsage.vue +21 -0
- package/public/components/data/e_list/SizeUsage.vue +35 -0
- package/public/components/data/e_media_viewer/Document.vue +39 -0
- package/public/components/data/e_media_viewer/Using.vue +30 -0
- package/public/components/data/e_media_viewer/img.png +0 -0
- package/public/components/data/e_progress/BasicProgress.vue +21 -0
- package/public/components/data/e_progress/CircleProgress.vue +23 -0
- package/public/components/data/e_progress/CustomColorProgress.vue +63 -0
- package/public/components/data/e_progress/Document.vue +179 -0
- package/public/components/data/e_progress/IndeterminateProgress.vue +49 -0
- package/public/components/data/e_progress/ProgressSize.vue +50 -0
- package/public/components/data/e_progress/ProgressStatus.vue +21 -0
- package/public/components/data/e_progress/ProgressText.vue +52 -0
- package/public/components/data/e_rolling_pagination/Document.vue +21 -0
- package/public/components/data/e_rolling_pagination/Using.vue +33 -0
- 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 +26 -0
- package/public/components/data/e_skeleton/Using.vue +18 -0
- package/public/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/public/components/data/e_table/Document.vue +85 -0
- package/public/components/data/e_table/Using.vue +131 -0
- package/public/components/data/e_timeline/Document.vue +90 -0
- package/public/components/data/e_timeline/Using.vue +124 -0
- package/public/components/feedback/e_dialog/AsyncUsing.vue +30 -0
- package/public/components/feedback/e_dialog/BaseUsing.vue +15 -0
- package/public/components/feedback/e_dialog/Document.vue +26 -0
- package/public/components/feedback/e_drawer/BaseUsing.vue +35 -0
- package/public/components/feedback/e_drawer/DirectionUsing.vue +93 -0
- package/public/components/feedback/e_drawer/Document.vue +153 -0
- package/public/components/feedback/e_drawer/LargeSizeDrawer.vue +29 -0
- package/public/components/feedback/e_drawer/MediumSizeDrawer.vue +29 -0
- package/public/components/feedback/e_drawer/SizeUsing.vue +67 -0
- package/public/components/feedback/e_drawer/SmallSizeDrawer.vue +29 -0
- package/public/components/feedback/e_message/Document.vue +18 -0
- package/public/components/feedback/e_message/Using.vue +16 -0
- package/public/components/feedback/e_message_box/BaseUsing.vue +11 -0
- package/public/components/feedback/e_message_box/Document.vue +18 -0
- package/public/components/feedback/e_message_box/intro.md +12 -0
- package/public/components/feedback/e_notification/AllPositionsNotification.vue +35 -0
- package/public/components/feedback/e_notification/BasicTypesNotification.vue +47 -0
- package/public/components/feedback/e_notification/ClickableNotification.vue +18 -0
- package/public/components/feedback/e_notification/Document.vue +147 -0
- package/public/components/feedback/e_notification/ManualCloseNotification.vue +17 -0
- package/public/components/feedback/e_notification/Using.vue +253 -0
- package/public/components/feedback/e_popover/BasicUsage.vue +51 -0
- package/public/components/feedback/e_popover/ContextmenuTrigger.vue +27 -0
- package/public/components/feedback/e_popover/CustomContent.vue +43 -0
- package/public/components/feedback/e_popover/CustomTrigger.vue +39 -0
- package/public/components/feedback/e_popover/Document.vue +84 -0
- package/public/components/feedback/e_popover/HoverTrigger.vue +29 -0
- package/public/components/feedback/e_popover/SizeVariants.vue +36 -0
- package/public/components/feedback/e_popover/Using.vue +177 -0
- package/public/components/feedback/e_tooltip/Document.vue +42 -0
- package/public/components/feedback/e_tooltip/SizeUsing.vue +28 -0
- package/public/components/feedback/e_tooltip/Using.vue +44 -0
- package/public/components/form/e_checkbox/Document.vue +88 -0
- package/public/components/form/e_checkbox/Using.vue +10 -0
- package/public/components/form/e_color_picker/Document.vue +55 -0
- package/public/components/form/e_color_picker/Using.vue +10 -0
- package/public/components/form/e_condition_group/Document.vue +52 -0
- package/public/components/form/e_condition_group/Using.vue +165 -0
- package/public/components/form/e_file_selector/Document.vue +50 -0
- package/public/components/form/e_file_selector/Using.vue +44 -0
- package/public/components/form/e_form/BaseUsage.vue +155 -0
- package/public/components/form/e_form/Document.vue +93 -0
- package/public/components/form/e_form/LoginForm.vue +150 -0
- package/public/components/form/e_form/RegisterForm.vue +46 -0
- package/public/components/form/e_form/iconfont/iconfont.css +67 -0
- 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 +16 -0
- package/public/components/form/e_input/Clearable.vue +24 -0
- package/public/components/form/e_input/Document.vue +111 -0
- package/public/components/form/e_input/Number.vue +10 -0
- package/public/components/form/e_input/Password.vue +52 -0
- package/public/components/form/e_input/iconfont/iconfont.css +67 -0
- 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 +88 -0
- package/public/components/form/e_radio/Using.vue +14 -0
- package/public/components/form/e_select/Document.vue +32 -0
- package/public/components/form/e_select/Using.vue +24 -0
- 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 +10 -0
- package/public/components/form/e_slider/CustomRange.vue +21 -0
- package/public/components/form/e_slider/Disabled.vue +10 -0
- package/public/components/form/e_slider/Document.vue +55 -0
- package/public/components/form/e_slider/ShowValue.vue +10 -0
- package/public/components/form/e_slider/Sizes.vue +47 -0
- package/public/components/form/e_time_picker/Document.vue +58 -0
- package/public/components/form/e_time_picker/Using.vue +13 -0
- package/public/components/geometry/css_3d/Document.vue +17 -0
- package/public/components/geometry/css_3d/Using.vue +9 -0
- package/public/components/layout/e_scroll_x/Document.vue +39 -0
- package/public/components/layout/e_scroll_x/Using.vue +38 -0
- package/public/components/navigation/e_dropdown/BasicUsage.vue +64 -0
- package/public/components/navigation/e_dropdown/Contextmenu.vue +41 -0
- package/public/components/navigation/e_dropdown/Document.vue +72 -0
- package/public/components/navigation/e_dropdown/HoverTrigger.vue +66 -0
- package/public/components/navigation/e_dropdown/NestedDropdown.vue +143 -0
- package/public/components/navigation/e_tabs/Document.vue +33 -0
- package/public/components/navigation/e_tabs/Using.vue +40 -0
- package/public/directives/e_uuid_util/Document.vue +15 -0
- package/public/directives/e_uuid_util/Using.vue +13 -0
- package/public/other/advanced/gsap/BasicUsing.vue +26 -0
- package/public/other/advanced/gsap/Document.vue +45 -0
- package/public/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/public/other/advanced/gsap/ScrollTrigger.vue +195 -0
- package/public/other/advanced/gsap/ScrollX.vue +81 -0
- package/public/other/advanced/gsap/Timeline.vue +30 -0
- package/public/other/advanced/lottie/BasicUsing.vue +33 -0
- package/public/other/advanced/lottie/Document.vue +30 -0
- package/public/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/public/other/advanced/rich_text_editor/Document.vue +24 -0
- package/public/other/advanced/rich_text_editor/RichTextEditor.vue +105 -0
- package/public/other/advanced/rich_text_editor/wangeditor_style.css +684 -0
- package/public/other/advanced/sortablejs/Document.vue +32 -0
- package/public/other/advanced/sortablejs/ShuttleFrame.vue +181 -0
- package/public/other/advanced/sortablejs/Using.vue +68 -0
- 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 +17 -0
- package/public/other/advanced/spelling/Using.vue +104 -0
- package/public/other/advanced/svg/BasicUsing.vue +12 -0
- package/public/other/advanced/svg/Document.vue +24 -0
- package/public/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/public/other/advanced/svg/FeDisplacementMap/example/Image.vue +41 -0
- 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 +28 -0
- package/public/other/advanced/svg/FeTurbulence/example/Image.vue +41 -0
- 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 +15 -0
- package/public/other/canvas/base/Using.vue +125 -0
- package/public/other/canvas/burrow/Clip.vue +66 -0
- package/public/other/canvas/burrow/Document.vue +36 -0
- package/public/other/canvas/burrow/Erase.vue +58 -0
- package/public/other/canvas/burrow/NonZeroSurroundRule.vue +70 -0
- package/public/other/canvas/clip/Clip.vue +58 -0
- package/public/other/canvas/clip/Document.vue +26 -0
- package/public/other/canvas/definition/Document.vue +26 -0
- package/public/other/canvas/definition/Using.vue +60 -0
- package/public/other/echarts/basic/Document.vue +36 -0
- package/public/other/echarts/basic/Label.vue +98 -0
- package/public/other/echarts/data_zoom/Document.vue +38 -0
- package/public/other/echarts/data_zoom/Using.vue +119 -0
- package/public/other/echarts/data_zoom/img.svg +33 -0
- package/public/other/echarts/gauge/Document.vue +38 -0
- package/public/other/echarts/gauge/Gauge.vue +340 -0
- package/public/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/public/other/echarts/liquidfill/Document.vue +46 -0
- package/public/other/echarts/liquidfill/Using.vue +239 -0
- package/public/other/git/sample_set/Document.vue +43 -0
- 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 +104 -0
- package/public/other/layout/flex/Advanced2.vue +181 -0
- package/public/other/layout/flex/Base.vue +48 -0
- package/public/other/layout/flex/Document.vue +57 -0
- package/public/other/layout/flex/Grid.vue +54 -0
- package/public/other/layout/flex/Height100.vue +35 -0
- package/public/other/layout/flex/intro.md +1 -0
- package/public/other/layout/grid/Base.vue +29 -0
- package/public/other/layout/grid/Document.vue +54 -0
- package/public/other/layout/grid/Grid.vue +28 -0
- package/public/other/layout/grid/Height100.vue +35 -0
- package/public/other/layout/grid/intro.md +1 -0
- package/public/other/navigation/new_tab_page/Document.vue +18 -0
- package/public/other/navigation/new_tab_page/OpenNewTabPage.vue +7 -0
- package/public/other/navigation/new_tab_page/new-tab-page-demo.html +450 -0
- package/public/other/network/sse/Document.vue +21 -0
- package/public/other/network/sse/Using.vue +24 -0
- package/public/other/network/sse/server/app.ts +62 -0
- package/public/other/network/sse/server/static/text.md +99 -0
- package/public/other/network/sse/server/utils/sleep.ts +5 -0
- package/public/other/observer/mutation_observer/Document.vue +15 -0
- package/public/other/observer/mutation_observer/Using.vue +46 -0
- package/public/other/optimize/Document.vue +19 -0
- package/public/other/optimize/HeavyComp.vue +19 -0
- package/public/other/optimize/Using.vue +14 -0
- package/public/other/optimize/useDefer.ts +28 -0
- package/public/other/svg/base/BasicUsing.vue +12 -0
- package/public/other/svg/base/Document.vue +24 -0
- package/public/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/public/other/svg/base/FeDisplacementMap/example/Image.vue +41 -0
- 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 +28 -0
- package/public/other/svg/base/FeTurbulence/example/Image.vue +41 -0
- 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 +17 -0
- package/public/other/threejs/base/Using.vue +127 -0
- package/public/other/threejs/controller_sync/Document.vue +15 -0
- package/public/other/threejs/controller_sync/Using.vue +347 -0
- 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 +17 -0
- package/public/other/threejs/phoenix/Using.vue +79 -0
- package/public/other/vue/life_cycle/Child.vue +43 -0
- package/public/other/vue/life_cycle/Document.vue +15 -0
- package/public/other/vue/life_cycle/Using.vue +16 -0
- package/public/utils/e_echarts_util/Document.vue +14 -0
- package/public/utils/e_echarts_util/Using.vue +81 -0
- package/public/utils/e_image_util/Document.vue +15 -0
- package/public/utils/e_image_util/Using.vue +24 -0
- package/public/utils/e_image_util/author_avatar.png +0 -0
- package/public/utils/e_uuid_util/Document.vue +15 -0
- package/public/utils/e_uuid_util/Using.vue +13 -0
- package/public/utils/type_utils/Document.vue +16 -0
- package/public/utils/type_utils/TupleType.vue +16 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
const typeList = [
|
|
7
|
+
'primary',
|
|
8
|
+
'success',
|
|
9
|
+
'danger',
|
|
10
|
+
'info',
|
|
11
|
+
'warning',
|
|
12
|
+
] as EButtonType[];
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="demo-container">
|
|
17
|
+
<EButton circle>圆</EButton>
|
|
18
|
+
<EButton :type="type" v-for="type of typeList" :key="type" circle>
|
|
19
|
+
圆
|
|
20
|
+
</EButton>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.demo-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: 10px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
const typeList = [
|
|
7
|
+
'primary',
|
|
8
|
+
'success',
|
|
9
|
+
'danger',
|
|
10
|
+
'info',
|
|
11
|
+
'warning',
|
|
12
|
+
] as EButtonType[];
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="demo-container">
|
|
17
|
+
<EButton disabled>失效按钮</EButton>
|
|
18
|
+
<EButton :type="type" v-for="type of typeList" :key="type" disabled>
|
|
19
|
+
{{ type }}
|
|
20
|
+
</EButton>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.demo-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: 10px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
4
|
+
import APITable from '@/components/APITable.vue';
|
|
5
|
+
|
|
6
|
+
// 导入各个独立的demo组件
|
|
7
|
+
import SizeButtons from './SizeButtons.vue';
|
|
8
|
+
import SizeButtonsRaw from './SizeButtons.vue?raw';
|
|
9
|
+
|
|
10
|
+
import NormalButtons from './NormalButtons.vue';
|
|
11
|
+
import NormalButtonsRaw from './NormalButtons.vue?raw';
|
|
12
|
+
|
|
13
|
+
import PlainButtons from './PlainButtons.vue';
|
|
14
|
+
import PlainButtonsRaw from './PlainButtons.vue?raw';
|
|
15
|
+
|
|
16
|
+
import LoadingButtons from './LoadingButtons.vue';
|
|
17
|
+
import LoadingButtonsRaw from './LoadingButtons.vue?raw';
|
|
18
|
+
|
|
19
|
+
import RoundButtons from './RoundButtons.vue';
|
|
20
|
+
import RoundButtonsRaw from './RoundButtons.vue?raw';
|
|
21
|
+
|
|
22
|
+
import DisabledButtons from './DisabledButtons.vue';
|
|
23
|
+
import DisabledButtonsRaw from './DisabledButtons.vue?raw';
|
|
24
|
+
|
|
25
|
+
import CircleButtons from './CircleButtons.vue';
|
|
26
|
+
import CircleButtonsRaw from './CircleButtons.vue?raw';
|
|
27
|
+
|
|
28
|
+
import RoundedRectangleButtons from './RoundedRectangleButtons.vue';
|
|
29
|
+
import RoundedRectangleButtonsRaw from './RoundedRectangleButtons.vue?raw';
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<template>
|
|
33
|
+
<PageLayout>
|
|
34
|
+
<DemoBox title="介绍">
|
|
35
|
+
<h2>EButton 按钮</h2>
|
|
36
|
+
<p>
|
|
37
|
+
按钮组件,用于触发操作或导航,支持多种类型、尺寸、样式和状态。
|
|
38
|
+
</p>
|
|
39
|
+
</DemoBox>
|
|
40
|
+
<!-- 尺寸按钮示例 -->
|
|
41
|
+
<DemoBox :code="SizeButtonsRaw" title="按钮尺寸">
|
|
42
|
+
<SizeButtons />
|
|
43
|
+
<template #description>
|
|
44
|
+
按钮支持三种尺寸:small、medium 和 large,通过 size 属性设置。
|
|
45
|
+
</template>
|
|
46
|
+
</DemoBox>
|
|
47
|
+
|
|
48
|
+
<!-- 普通按钮示例 -->
|
|
49
|
+
<DemoBox :code="NormalButtonsRaw" title="普通按钮">
|
|
50
|
+
<NormalButtons />
|
|
51
|
+
<template #description>
|
|
52
|
+
普通按钮是最常用的按钮类型,支持五种主题颜色:primary、success、danger、info
|
|
53
|
+
和 warning。
|
|
54
|
+
</template>
|
|
55
|
+
</DemoBox>
|
|
56
|
+
|
|
57
|
+
<!-- 朴素按钮示例 -->
|
|
58
|
+
<DemoBox :code="PlainButtonsRaw" title="朴素按钮">
|
|
59
|
+
<PlainButtons />
|
|
60
|
+
<template #description>
|
|
61
|
+
朴素按钮具有浅色背景和深色边框,通过 plain 属性设置。
|
|
62
|
+
</template>
|
|
63
|
+
</DemoBox>
|
|
64
|
+
|
|
65
|
+
<!-- 加载状态按钮示例 -->
|
|
66
|
+
<DemoBox :code="LoadingButtonsRaw" title="加载状态">
|
|
67
|
+
<LoadingButtons />
|
|
68
|
+
<template #description>
|
|
69
|
+
加载状态按钮显示加载动画,通过 loading 属性设置。
|
|
70
|
+
</template>
|
|
71
|
+
</DemoBox>
|
|
72
|
+
|
|
73
|
+
<!-- 胶囊按钮示例 -->
|
|
74
|
+
<DemoBox :code="RoundButtonsRaw" title="胶囊按钮">
|
|
75
|
+
<RoundButtons />
|
|
76
|
+
<template #description>
|
|
77
|
+
胶囊按钮具有完全圆角的外观,通过 round 属性设置。
|
|
78
|
+
</template>
|
|
79
|
+
</DemoBox>
|
|
80
|
+
|
|
81
|
+
<!-- 失效按钮示例 -->
|
|
82
|
+
<DemoBox :code="DisabledButtonsRaw" title="失效按钮">
|
|
83
|
+
<DisabledButtons />
|
|
84
|
+
<template #description>
|
|
85
|
+
失效按钮不可点击,通过 disabled 属性设置。
|
|
86
|
+
</template>
|
|
87
|
+
</DemoBox>
|
|
88
|
+
|
|
89
|
+
<!-- 圆形按钮示例 -->
|
|
90
|
+
<DemoBox :code="CircleButtonsRaw" title="圆形按钮">
|
|
91
|
+
<CircleButtons />
|
|
92
|
+
<template #description>
|
|
93
|
+
圆形按钮是圆形外观的按钮,通过 circle 属性设置。
|
|
94
|
+
</template>
|
|
95
|
+
</DemoBox>
|
|
96
|
+
|
|
97
|
+
<!-- 圆角矩形按钮示例 -->
|
|
98
|
+
<DemoBox :code="RoundedRectangleButtonsRaw" title="圆角矩形">
|
|
99
|
+
<RoundedRectangleButtons />
|
|
100
|
+
<template #description>
|
|
101
|
+
圆角矩形按钮具有适中的圆角,通过 roundedRectangle 属性设置。
|
|
102
|
+
</template>
|
|
103
|
+
</DemoBox>
|
|
104
|
+
|
|
105
|
+
<APITable
|
|
106
|
+
:data="[
|
|
107
|
+
{
|
|
108
|
+
subTitle: 'EButton Props',
|
|
109
|
+
list: [
|
|
110
|
+
{
|
|
111
|
+
name: 'type',
|
|
112
|
+
description: '按钮类型',
|
|
113
|
+
type: 'primary | success | danger | info | warning',
|
|
114
|
+
defaultValue: 'undefined',
|
|
115
|
+
required: false,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'loading',
|
|
119
|
+
description: '是否为加载状态',
|
|
120
|
+
type: 'boolean',
|
|
121
|
+
defaultValue: false,
|
|
122
|
+
required: false,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'disabled',
|
|
126
|
+
description: '是否禁用',
|
|
127
|
+
type: 'boolean',
|
|
128
|
+
defaultValue: false,
|
|
129
|
+
required: false,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: 'plain',
|
|
133
|
+
description: '是否为朴素按钮',
|
|
134
|
+
type: 'boolean',
|
|
135
|
+
defaultValue: false,
|
|
136
|
+
required: false,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'size',
|
|
140
|
+
description: '按钮尺寸',
|
|
141
|
+
type: 'small | medium | large',
|
|
142
|
+
defaultValue: 'medium',
|
|
143
|
+
required: false,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'round',
|
|
147
|
+
description: '是否为胶囊按钮',
|
|
148
|
+
type: 'boolean',
|
|
149
|
+
defaultValue: false,
|
|
150
|
+
required: false,
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: 'circle',
|
|
154
|
+
description: '是否为圆形按钮',
|
|
155
|
+
type: 'boolean',
|
|
156
|
+
defaultValue: false,
|
|
157
|
+
required: false,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: 'roundedRectangle',
|
|
161
|
+
description: '是否为圆角矩形按钮',
|
|
162
|
+
type: 'boolean',
|
|
163
|
+
defaultValue: false,
|
|
164
|
+
required: false,
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
]"
|
|
169
|
+
/>
|
|
170
|
+
</PageLayout>
|
|
171
|
+
</template>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
const typeList = [
|
|
7
|
+
'primary',
|
|
8
|
+
'success',
|
|
9
|
+
'danger',
|
|
10
|
+
'info',
|
|
11
|
+
'warning',
|
|
12
|
+
] as EButtonType[];
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="demo-container">
|
|
17
|
+
<EButton loading>Loading...</EButton>
|
|
18
|
+
<EButton loading v-for="type of typeList" :key="type" :type="type">
|
|
19
|
+
{{ type }}
|
|
20
|
+
</EButton>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.demo-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: 10px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
const typeList = [
|
|
7
|
+
'primary',
|
|
8
|
+
'success',
|
|
9
|
+
'danger',
|
|
10
|
+
'info',
|
|
11
|
+
'warning',
|
|
12
|
+
] as EButtonType[];
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="demo-container">
|
|
17
|
+
<EButton>普通按钮</EButton>
|
|
18
|
+
<EButton :type="type" v-for="type of typeList" :key="type">
|
|
19
|
+
{{ type }}
|
|
20
|
+
</EButton>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.demo-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: 10px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
const typeList = [
|
|
7
|
+
'primary',
|
|
8
|
+
'success',
|
|
9
|
+
'danger',
|
|
10
|
+
'info',
|
|
11
|
+
'warning',
|
|
12
|
+
] as EButtonType[];
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="demo-container">
|
|
17
|
+
<EButton plain>朴素按钮</EButton>
|
|
18
|
+
<EButton :type="type" v-for="type of typeList" :key="type" plain>
|
|
19
|
+
{{ type }}
|
|
20
|
+
</EButton>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.demo-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: 10px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
const typeList = [
|
|
7
|
+
'primary',
|
|
8
|
+
'success',
|
|
9
|
+
'danger',
|
|
10
|
+
'info',
|
|
11
|
+
'warning',
|
|
12
|
+
] as EButtonType[];
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="demo-container">
|
|
17
|
+
<EButton round>胶囊按钮</EButton>
|
|
18
|
+
<EButton :type="type" v-for="type of typeList" :key="type" round>
|
|
19
|
+
{{ type }}
|
|
20
|
+
</EButton>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.demo-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: 10px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
const typeList = [
|
|
7
|
+
'primary',
|
|
8
|
+
'success',
|
|
9
|
+
'danger',
|
|
10
|
+
'info',
|
|
11
|
+
'warning',
|
|
12
|
+
] as EButtonType[];
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="demo-container">
|
|
17
|
+
<EButton roundedRectangle>圆角矩形</EButton>
|
|
18
|
+
<EButton
|
|
19
|
+
:type="type"
|
|
20
|
+
v-for="type of typeList"
|
|
21
|
+
:key="type"
|
|
22
|
+
roundedRectangle
|
|
23
|
+
>
|
|
24
|
+
圆角矩形
|
|
25
|
+
</EButton>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<style scoped lang="scss">
|
|
30
|
+
.demo-container {
|
|
31
|
+
display: flex;
|
|
32
|
+
gap: 10px;
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="demo-container">
|
|
7
|
+
<EButton size="small">small</EButton>
|
|
8
|
+
<EButton size="medium">medium</EButton>
|
|
9
|
+
<EButton size="large">large</EButton>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<style scoped lang="scss">
|
|
14
|
+
.demo-container {
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: 10px;
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
</style>
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
type EButtonType = InstanceType<typeof EButton>['type'];
|
|
5
|
+
|
|
6
|
+
// 反向获取按钮组件的props的type的类型
|
|
7
|
+
const typeList = [
|
|
8
|
+
'primary',
|
|
9
|
+
'success',
|
|
10
|
+
'danger',
|
|
11
|
+
'info',
|
|
12
|
+
'warning',
|
|
13
|
+
] as EButtonType[];
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<div class="using">
|
|
18
|
+
<div>
|
|
19
|
+
<EButton size="small">small</EButton>
|
|
20
|
+
<EButton size="medium">medium</EButton>
|
|
21
|
+
<EButton size="large">large</EButton>
|
|
22
|
+
</div>
|
|
23
|
+
<div>
|
|
24
|
+
<EButton>普通按钮</EButton>
|
|
25
|
+
<EButton :type="type" v-for="type of typeList" :key="type">
|
|
26
|
+
{{ type }}
|
|
27
|
+
</EButton>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div>
|
|
31
|
+
<EButton plain>朴素按钮</EButton>
|
|
32
|
+
<EButton :type="type" v-for="type of typeList" :key="type" plain>
|
|
33
|
+
{{ type }}
|
|
34
|
+
</EButton>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div>
|
|
38
|
+
<EButton loading>Loading...</EButton>
|
|
39
|
+
<EButton loading v-for="type of typeList" :key="type" :type="type">
|
|
40
|
+
{{ type }}
|
|
41
|
+
</EButton>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<div>
|
|
45
|
+
<EButton round>胶囊按钮</EButton>
|
|
46
|
+
<EButton :type="type" v-for="type of typeList" :key="type" round>
|
|
47
|
+
{{ type }}
|
|
48
|
+
</EButton>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<div>
|
|
52
|
+
<EButton>失效按钮</EButton>
|
|
53
|
+
<EButton :type="type" v-for="type of typeList" :key="type" disabled>
|
|
54
|
+
{{ type }}
|
|
55
|
+
</EButton>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<div>
|
|
59
|
+
<EButton circle>圆</EButton>
|
|
60
|
+
<EButton :type="type" v-for="type of typeList" :key="type" circle>
|
|
61
|
+
圆
|
|
62
|
+
</EButton>
|
|
63
|
+
</div>
|
|
64
|
+
<div>
|
|
65
|
+
<EButton roundedRectangle>圆角矩形</EButton>
|
|
66
|
+
<EButton
|
|
67
|
+
:type="type"
|
|
68
|
+
v-for="type of typeList"
|
|
69
|
+
:key="type"
|
|
70
|
+
roundedRectangle
|
|
71
|
+
>
|
|
72
|
+
圆角矩形
|
|
73
|
+
</EButton>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</template>
|
|
77
|
+
|
|
78
|
+
<style scoped lang="scss">
|
|
79
|
+
.using {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
gap: 20px;
|
|
83
|
+
> div {
|
|
84
|
+
display: flex;
|
|
85
|
+
gap: 10px;
|
|
86
|
+
align-items: center;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
</style>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton, ECard } from 'exploria-ui';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<ECard title="复杂内容卡片">
|
|
7
|
+
<div class="complex-content">
|
|
8
|
+
<div class="content-section">
|
|
9
|
+
<h4>数据统计</h4>
|
|
10
|
+
<div class="stats">
|
|
11
|
+
<div class="stat-item">
|
|
12
|
+
<span class="stat-value">1,234</span>
|
|
13
|
+
<span class="stat-label">访问量</span>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="stat-item">
|
|
16
|
+
<span class="stat-value">567</span>
|
|
17
|
+
<span class="stat-label">用户数</span>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="stat-item">
|
|
20
|
+
<span class="stat-value">89</span>
|
|
21
|
+
<span class="stat-label">订单数</span>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="content-section">
|
|
26
|
+
<h4>最近活动</h4>
|
|
27
|
+
<ul class="activity-list">
|
|
28
|
+
<li>用户 A 登录了系统</li>
|
|
29
|
+
<li>用户 B 创建了新订单</li>
|
|
30
|
+
<li>用户 C 更新了个人资料</li>
|
|
31
|
+
</ul>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<template #footer>
|
|
35
|
+
<EButton type="primary">查看详情</EButton>
|
|
36
|
+
<EButton>导出数据</EButton>
|
|
37
|
+
</template>
|
|
38
|
+
</ECard>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<style scoped>
|
|
42
|
+
.complex-content {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
gap: 20px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.content-section h4 {
|
|
49
|
+
margin: 0 0 12px 0;
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.stats {
|
|
55
|
+
display: flex;
|
|
56
|
+
gap: 20px;
|
|
57
|
+
margin-bottom: 16px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.stat-item {
|
|
61
|
+
flex: 1;
|
|
62
|
+
text-align: center;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.stat-value {
|
|
66
|
+
display: block;
|
|
67
|
+
font-size: 24px;
|
|
68
|
+
font-weight: bold;
|
|
69
|
+
margin-bottom: 4px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.stat-label {
|
|
73
|
+
font-size: 12px;
|
|
74
|
+
color: #666;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.activity-list {
|
|
78
|
+
list-style: none;
|
|
79
|
+
padding: 0;
|
|
80
|
+
margin: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.activity-list li {
|
|
84
|
+
padding: 8px 0;
|
|
85
|
+
border-bottom: 1px solid #f0f0f0;
|
|
86
|
+
font-size: 13px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.activity-list li:last-child {
|
|
90
|
+
border-bottom: none;
|
|
91
|
+
}
|
|
92
|
+
</style>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ECard>
|
|
3
|
+
<template #header>
|
|
4
|
+
<div class="custom-header">
|
|
5
|
+
<h3 style="margin: 0">自定义头部</h3>
|
|
6
|
+
<EButton type="info" size="small">操作</EButton>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
<p>这个卡片使用了自定义的头部内容,可以灵活定制头部结构。</p>
|
|
10
|
+
</ECard>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
import { EButton, ECard } from 'exploria-ui';
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<style scoped>
|
|
18
|
+
.custom-header {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
align-items: center;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
</style>
|