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,153 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import baseUsingSrc from './BaseUsing.vue?raw';
|
|
4
|
+
import directionUsingSrc from './DirectionUsing.vue?raw';
|
|
5
|
+
import sizeUsingSrc from './SizeUsing.vue?raw';
|
|
6
|
+
import BaseUsing from './BaseUsing.vue';
|
|
7
|
+
import DirectionUsing from './DirectionUsing.vue';
|
|
8
|
+
import SizeUsing from './SizeUsing.vue';
|
|
9
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
10
|
+
import APITable from '@/components/APITable.vue';
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<PageLayout>
|
|
15
|
+
<DemoBox title="介绍">
|
|
16
|
+
<h2>EDrawer 抽屉</h2>
|
|
17
|
+
<p>抽屉组件,从屏幕边缘滑出的面板,用于展示额外内容或操作界面。</p>
|
|
18
|
+
</DemoBox>
|
|
19
|
+
<DemoBox :code="baseUsingSrc" title="基本用法">
|
|
20
|
+
<BaseUsing />
|
|
21
|
+
<template #description>
|
|
22
|
+
基本的抽屉组件用法,包含标题、内容和操作按钮。
|
|
23
|
+
</template>
|
|
24
|
+
</DemoBox>
|
|
25
|
+
<DemoBox :code="directionUsingSrc" title="不同方向">
|
|
26
|
+
<DirectionUsing />
|
|
27
|
+
<template #description>
|
|
28
|
+
支持从左、右、上、下四个方向弹出抽屉。
|
|
29
|
+
</template>
|
|
30
|
+
</DemoBox>
|
|
31
|
+
<DemoBox :code="sizeUsingSrc" title="不同尺寸">
|
|
32
|
+
<SizeUsing />
|
|
33
|
+
<template #description>
|
|
34
|
+
支持三种尺寸的抽屉:大型、中型(默认)和小型,可通过 size
|
|
35
|
+
属性控制。
|
|
36
|
+
</template>
|
|
37
|
+
</DemoBox>
|
|
38
|
+
<APITable
|
|
39
|
+
:data="[
|
|
40
|
+
{
|
|
41
|
+
subTitle: 'EDrawer Props',
|
|
42
|
+
list: [
|
|
43
|
+
{
|
|
44
|
+
name: 'open',
|
|
45
|
+
description: '抽屉是否显示,支持 v-model 双向绑定',
|
|
46
|
+
type: 'boolean',
|
|
47
|
+
defaultValue: 'false',
|
|
48
|
+
required: true,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'title',
|
|
52
|
+
description: '抽屉标题',
|
|
53
|
+
type: 'string',
|
|
54
|
+
defaultValue: '--',
|
|
55
|
+
required: false,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'width',
|
|
59
|
+
description:
|
|
60
|
+
'抽屉宽度(当 direction 为 left 或 right 时有效)',
|
|
61
|
+
type: 'string',
|
|
62
|
+
defaultValue: '320px',
|
|
63
|
+
required: false,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'height',
|
|
67
|
+
description:
|
|
68
|
+
'抽屉高度(当 direction 为 top 或 bottom 时有效)',
|
|
69
|
+
type: 'string',
|
|
70
|
+
defaultValue: '320px',
|
|
71
|
+
required: false,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'direction',
|
|
75
|
+
description: '抽屉弹出方向',
|
|
76
|
+
type: 'string',
|
|
77
|
+
defaultValue: 'right',
|
|
78
|
+
required: false,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: 'okText',
|
|
82
|
+
description: '确定按钮文本',
|
|
83
|
+
type: 'string',
|
|
84
|
+
defaultValue: '确定',
|
|
85
|
+
required: false,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'cancelText',
|
|
89
|
+
description: '取消按钮文本',
|
|
90
|
+
type: 'string',
|
|
91
|
+
defaultValue: '取消',
|
|
92
|
+
required: false,
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'size',
|
|
96
|
+
description: '抽屉尺寸',
|
|
97
|
+
type: 'string',
|
|
98
|
+
defaultValue: 'medium',
|
|
99
|
+
required: false,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'showFooter',
|
|
103
|
+
description: '是否显示底部操作栏',
|
|
104
|
+
type: 'boolean',
|
|
105
|
+
defaultValue: 'true',
|
|
106
|
+
required: false,
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'closeOnClickMask',
|
|
110
|
+
description: '是否点击遮罩层关闭抽屉',
|
|
111
|
+
type: 'boolean',
|
|
112
|
+
defaultValue: 'true',
|
|
113
|
+
required: false,
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
subTitle: 'EDrawer Events',
|
|
119
|
+
list: [
|
|
120
|
+
{
|
|
121
|
+
name: 'ok',
|
|
122
|
+
description: '点击确定按钮时触发',
|
|
123
|
+
type: 'function',
|
|
124
|
+
defaultValue: '--',
|
|
125
|
+
required: false,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'cancel',
|
|
129
|
+
description: '点击取消按钮时触发',
|
|
130
|
+
type: 'function',
|
|
131
|
+
defaultValue: '--',
|
|
132
|
+
required: false,
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'close',
|
|
136
|
+
description: '关闭抽屉时触发',
|
|
137
|
+
type: 'function',
|
|
138
|
+
defaultValue: '--',
|
|
139
|
+
required: false,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'update:open',
|
|
143
|
+
description: '抽屉打开状态变化时触发',
|
|
144
|
+
type: 'function',
|
|
145
|
+
defaultValue: '--',
|
|
146
|
+
required: false,
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
},
|
|
150
|
+
]"
|
|
151
|
+
/>
|
|
152
|
+
</PageLayout>
|
|
153
|
+
</template>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { EButton, EDrawer } from 'exploria-ui';
|
|
4
|
+
|
|
5
|
+
const openLargeDrawer = ref(false);
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap">
|
|
10
|
+
<EButton @click="openLargeDrawer = true">大型抽屉</EButton>
|
|
11
|
+
|
|
12
|
+
<!-- 大型抽屉 -->
|
|
13
|
+
<EDrawer
|
|
14
|
+
v-model:open="openLargeDrawer"
|
|
15
|
+
title="大型抽屉"
|
|
16
|
+
size="large"
|
|
17
|
+
width="500px"
|
|
18
|
+
>
|
|
19
|
+
<div style="padding: 20px 0">
|
|
20
|
+
<div>这是大型尺寸的抽屉</div>
|
|
21
|
+
<div style="margin-top: 10px">
|
|
22
|
+
可以通过 size 属性控制抽屉尺寸
|
|
23
|
+
</div>
|
|
24
|
+
<div style="margin-top: 10px">大型尺寸的标题和内容字体更大</div>
|
|
25
|
+
<div style="margin-top: 10px">适合展示更复杂的内容</div>
|
|
26
|
+
</div>
|
|
27
|
+
</EDrawer>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { EButton, EDrawer } from 'exploria-ui';
|
|
4
|
+
|
|
5
|
+
const openMediumDrawer = ref(false);
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap">
|
|
10
|
+
<EButton @click="openMediumDrawer = true">中型抽屉</EButton>
|
|
11
|
+
|
|
12
|
+
<!-- 中型抽屉 -->
|
|
13
|
+
<EDrawer
|
|
14
|
+
v-model:open="openMediumDrawer"
|
|
15
|
+
title="中型抽屉"
|
|
16
|
+
size="medium"
|
|
17
|
+
width="400px"
|
|
18
|
+
>
|
|
19
|
+
<div style="padding: 20px 0">
|
|
20
|
+
<div>这是中型尺寸的抽屉</div>
|
|
21
|
+
<div style="margin-top: 10px">
|
|
22
|
+
可以通过 size 属性控制抽屉尺寸
|
|
23
|
+
</div>
|
|
24
|
+
<div style="margin-top: 10px">中型尺寸是默认的尺寸</div>
|
|
25
|
+
<div style="margin-top: 10px">适合大多数场景</div>
|
|
26
|
+
</div>
|
|
27
|
+
</EDrawer>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { EButton, EDrawer } from 'exploria-ui';
|
|
4
|
+
|
|
5
|
+
const openLargeDrawer = ref(false);
|
|
6
|
+
const openMediumDrawer = ref(false);
|
|
7
|
+
const openSmallDrawer = ref(false);
|
|
8
|
+
|
|
9
|
+
const handleClose = () => {
|
|
10
|
+
openLargeDrawer.value = false;
|
|
11
|
+
openMediumDrawer.value = false;
|
|
12
|
+
openSmallDrawer.value = false;
|
|
13
|
+
};
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap">
|
|
18
|
+
<EButton @click="openLargeDrawer = true">大型抽屉</EButton>
|
|
19
|
+
<EButton @click="openMediumDrawer = true">中型抽屉</EButton>
|
|
20
|
+
<EButton @click="openSmallDrawer = true">小型抽屉</EButton>
|
|
21
|
+
|
|
22
|
+
<!-- 大型抽屉 -->
|
|
23
|
+
<EDrawer
|
|
24
|
+
v-model:open="openLargeDrawer"
|
|
25
|
+
title="大型抽屉"
|
|
26
|
+
size="large"
|
|
27
|
+
width="500px"
|
|
28
|
+
@close="handleClose"
|
|
29
|
+
@cancel="handleClose"
|
|
30
|
+
>
|
|
31
|
+
<div>这是大型尺寸的抽屉</div>
|
|
32
|
+
<div style="margin-top: 10px">可以通过 size 属性控制抽屉尺寸</div>
|
|
33
|
+
<div style="margin-top: 10px">大型尺寸的标题和内容字体更大</div>
|
|
34
|
+
<div style="margin-top: 10px">适合展示更复杂的内容</div>
|
|
35
|
+
</EDrawer>
|
|
36
|
+
|
|
37
|
+
<!-- 中型抽屉 -->
|
|
38
|
+
<EDrawer
|
|
39
|
+
v-model:open="openMediumDrawer"
|
|
40
|
+
title="中型抽屉"
|
|
41
|
+
size="medium"
|
|
42
|
+
width="400px"
|
|
43
|
+
@close="handleClose"
|
|
44
|
+
@cancel="handleClose"
|
|
45
|
+
>
|
|
46
|
+
<div>这是中型尺寸的抽屉</div>
|
|
47
|
+
<div style="margin-top: 10px">可以通过 size 属性控制抽屉尺寸</div>
|
|
48
|
+
<div style="margin-top: 10px">中型尺寸是默认的尺寸</div>
|
|
49
|
+
<div style="margin-top: 10px">适合大多数场景</div>
|
|
50
|
+
</EDrawer>
|
|
51
|
+
|
|
52
|
+
<!-- 小型抽屉 -->
|
|
53
|
+
<EDrawer
|
|
54
|
+
v-model:open="openSmallDrawer"
|
|
55
|
+
title="小型抽屉"
|
|
56
|
+
size="small"
|
|
57
|
+
width="300px"
|
|
58
|
+
@close="handleClose"
|
|
59
|
+
@cancel="handleClose"
|
|
60
|
+
>
|
|
61
|
+
<div>这是小型尺寸的抽屉</div>
|
|
62
|
+
<div style="margin-top: 10px">可以通过 size 属性控制抽屉尺寸</div>
|
|
63
|
+
<div style="margin-top: 10px">小型尺寸的标题和内容字体更小</div>
|
|
64
|
+
<div style="margin-top: 10px">适合展示简单的内容</div>
|
|
65
|
+
</EDrawer>
|
|
66
|
+
</div>
|
|
67
|
+
</template>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { EButton, EDrawer } from 'exploria-ui';
|
|
4
|
+
|
|
5
|
+
const openSmallDrawer = ref(false);
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap">
|
|
10
|
+
<EButton @click="openSmallDrawer = true">小型抽屉</EButton>
|
|
11
|
+
|
|
12
|
+
<!-- 小型抽屉 -->
|
|
13
|
+
<EDrawer
|
|
14
|
+
v-model:open="openSmallDrawer"
|
|
15
|
+
title="小型抽屉"
|
|
16
|
+
size="small"
|
|
17
|
+
width="300px"
|
|
18
|
+
>
|
|
19
|
+
<div style="padding: 20px 0">
|
|
20
|
+
<div>这是小型尺寸的抽屉</div>
|
|
21
|
+
<div style="margin-top: 10px">
|
|
22
|
+
可以通过 size 属性控制抽屉尺寸
|
|
23
|
+
</div>
|
|
24
|
+
<div style="margin-top: 10px">小型尺寸的标题和内容字体更小</div>
|
|
25
|
+
<div style="margin-top: 10px">适合展示简单的内容</div>
|
|
26
|
+
</div>
|
|
27
|
+
</EDrawer>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import src from './Using.vue?raw';
|
|
4
|
+
import Using from './Using.vue';
|
|
5
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<PageLayout>
|
|
10
|
+
<DemoBox title="介绍"> </DemoBox>
|
|
11
|
+
<DemoBox :code="src" title="基本用法">
|
|
12
|
+
<Using />
|
|
13
|
+
<template #description>
|
|
14
|
+
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
|
|
15
|
+
</template>
|
|
16
|
+
</DemoBox>
|
|
17
|
+
</PageLayout>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EMessage, EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
const showMessage = () => {
|
|
5
|
+
EMessage.success('成功');
|
|
6
|
+
EMessage.error('错误');
|
|
7
|
+
EMessage.warning('警告');
|
|
8
|
+
EMessage.info('信息');
|
|
9
|
+
};
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<div class="using">
|
|
14
|
+
<EButton type="primary" @click="showMessage">显示</EButton>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import baseUsingSrc from './BaseUsing.vue?raw';
|
|
4
|
+
import BaseUsing from './BaseUsing.vue';
|
|
5
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<PageLayout>
|
|
10
|
+
<DemoBox title="介绍"> </DemoBox>
|
|
11
|
+
<DemoBox :code="baseUsingSrc" title="基本用法">
|
|
12
|
+
<BaseUsing />
|
|
13
|
+
<template #description>
|
|
14
|
+
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
|
|
15
|
+
</template>
|
|
16
|
+
</DemoBox>
|
|
17
|
+
</PageLayout>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ENotification, EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
const showAllPositions = () => {
|
|
5
|
+
const positions = [
|
|
6
|
+
'top-start',
|
|
7
|
+
'top',
|
|
8
|
+
'top-end',
|
|
9
|
+
'right-start',
|
|
10
|
+
'right',
|
|
11
|
+
'right-end',
|
|
12
|
+
'bottom-start',
|
|
13
|
+
'bottom',
|
|
14
|
+
'bottom-end',
|
|
15
|
+
'left-start',
|
|
16
|
+
'left',
|
|
17
|
+
'left-end',
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
positions.forEach((position, index) => {
|
|
21
|
+
setTimeout(() => {
|
|
22
|
+
ENotification.info({
|
|
23
|
+
title: `位置:${position}`,
|
|
24
|
+
message: `这是一条显示在${position}位置的通知`,
|
|
25
|
+
placement: position as any,
|
|
26
|
+
duration: 3,
|
|
27
|
+
});
|
|
28
|
+
}, index * 100);
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<template>
|
|
34
|
+
<EButton @click="showAllPositions">所有位置</EButton>
|
|
35
|
+
</template>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ENotification, EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
const showSuccess = () => {
|
|
5
|
+
ENotification.success('操作成功');
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const showError = () => {
|
|
9
|
+
ENotification.error({
|
|
10
|
+
title: '错误提示',
|
|
11
|
+
message: '操作失败,请重试',
|
|
12
|
+
duration: 5,
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const showWarning = () => {
|
|
17
|
+
ENotification.warning({
|
|
18
|
+
message: '警告信息,请注意',
|
|
19
|
+
placement: 'bottom-end',
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const showInfo = () => {
|
|
24
|
+
ENotification.info({
|
|
25
|
+
title: '提示信息',
|
|
26
|
+
message: '这是一条提示信息',
|
|
27
|
+
duration: 4,
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<template>
|
|
33
|
+
<div class="notification-demo">
|
|
34
|
+
<EButton type="success" @click="showSuccess">成功通知</EButton>
|
|
35
|
+
<EButton type="danger" @click="showError">错误通知</EButton>
|
|
36
|
+
<EButton type="warning" @click="showWarning">警告通知</EButton>
|
|
37
|
+
<EButton type="info" @click="showInfo">信息通知</EButton>
|
|
38
|
+
</div>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<style lang="scss" scoped>
|
|
42
|
+
.notification-demo {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
gap: 10px;
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ENotification, EButton } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
const showClickable = () => {
|
|
5
|
+
ENotification.success({
|
|
6
|
+
message: '点击查看详情',
|
|
7
|
+
onClick: () => {
|
|
8
|
+
ENotification.info({
|
|
9
|
+
message: '通知被点击',
|
|
10
|
+
});
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<EButton @click="showClickable">点击事件</EButton>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import basicTypesSrc from './BasicTypesNotification.vue?raw';
|
|
4
|
+
import clickableSrc from './ClickableNotification.vue?raw';
|
|
5
|
+
import manualCloseSrc from './ManualCloseNotification.vue?raw';
|
|
6
|
+
import allPositionsSrc from './AllPositionsNotification.vue?raw';
|
|
7
|
+
import BasicTypesNotification from './BasicTypesNotification.vue';
|
|
8
|
+
import ClickableNotification from './ClickableNotification.vue';
|
|
9
|
+
import ManualCloseNotification from './ManualCloseNotification.vue';
|
|
10
|
+
import AllPositionsNotification from './AllPositionsNotification.vue';
|
|
11
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
12
|
+
import APITable from '@/components/APITable.vue';
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<PageLayout>
|
|
17
|
+
<DemoBox title="介绍"> </DemoBox>
|
|
18
|
+
<DemoBox :code="basicTypesSrc" title="基本类型通知">
|
|
19
|
+
<BasicTypesNotification />
|
|
20
|
+
<template #description>
|
|
21
|
+
ENotification 支持多种通知类型,包括成功、错误、警告和信息通知。
|
|
22
|
+
</template>
|
|
23
|
+
</DemoBox>
|
|
24
|
+
<DemoBox :code="clickableSrc" title="可点击通知">
|
|
25
|
+
<ClickableNotification />
|
|
26
|
+
<template #description>
|
|
27
|
+
支持为通知添加点击事件,点击通知时触发回调函数。
|
|
28
|
+
</template>
|
|
29
|
+
</DemoBox>
|
|
30
|
+
<DemoBox :code="manualCloseSrc" title="手动关闭通知">
|
|
31
|
+
<ManualCloseNotification />
|
|
32
|
+
<template #description>
|
|
33
|
+
通过设置 duration 为 0 可以创建需要手动关闭的通知。
|
|
34
|
+
</template>
|
|
35
|
+
</DemoBox>
|
|
36
|
+
<DemoBox :code="allPositionsSrc" title="所有位置通知">
|
|
37
|
+
<AllPositionsNotification />
|
|
38
|
+
<template #description>
|
|
39
|
+
支持 12 种不同的通知位置,包括顶部、底部、左侧、右侧等。
|
|
40
|
+
</template>
|
|
41
|
+
</DemoBox>
|
|
42
|
+
<APITable
|
|
43
|
+
:data="[
|
|
44
|
+
{
|
|
45
|
+
subTitle: '通知配置选项',
|
|
46
|
+
list: [
|
|
47
|
+
{
|
|
48
|
+
name: 'title',
|
|
49
|
+
description: '通知标题',
|
|
50
|
+
type: 'string',
|
|
51
|
+
defaultValue: '--',
|
|
52
|
+
required: false,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'message',
|
|
56
|
+
description: '通知内容',
|
|
57
|
+
type: 'string',
|
|
58
|
+
defaultValue: '--',
|
|
59
|
+
required: true,
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'type',
|
|
63
|
+
description:
|
|
64
|
+
'通知类型,可选值:success, error, warning, info',
|
|
65
|
+
type: 'string',
|
|
66
|
+
defaultValue: 'info',
|
|
67
|
+
required: false,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'duration',
|
|
71
|
+
description: '自动关闭时间(秒),0表示不自动关闭',
|
|
72
|
+
type: 'number',
|
|
73
|
+
defaultValue: '3',
|
|
74
|
+
required: false,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'placement',
|
|
78
|
+
description: '通知位置,支持12种位置设置',
|
|
79
|
+
type: 'string',
|
|
80
|
+
defaultValue: 'top-end',
|
|
81
|
+
required: false,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'showClose',
|
|
85
|
+
description: '是否显示关闭按钮',
|
|
86
|
+
type: 'boolean',
|
|
87
|
+
defaultValue: 'true',
|
|
88
|
+
required: false,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'onClick',
|
|
92
|
+
description: '点击通知时的回调函数',
|
|
93
|
+
type: 'function',
|
|
94
|
+
defaultValue: '--',
|
|
95
|
+
required: false,
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
subTitle: '方法',
|
|
101
|
+
list: [
|
|
102
|
+
{
|
|
103
|
+
name: 'ENotification.success(options)',
|
|
104
|
+
description:
|
|
105
|
+
'显示成功通知,options为字符串或通知配置对象',
|
|
106
|
+
type: 'function',
|
|
107
|
+
defaultValue: '--',
|
|
108
|
+
required: false,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'ENotification.error(options)',
|
|
112
|
+
description:
|
|
113
|
+
'显示错误通知,options为字符串或通知配置对象',
|
|
114
|
+
type: 'function',
|
|
115
|
+
defaultValue: '--',
|
|
116
|
+
required: false,
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: 'ENotification.warning(options)',
|
|
120
|
+
description:
|
|
121
|
+
'显示警告通知,options为字符串或通知配置对象',
|
|
122
|
+
type: 'function',
|
|
123
|
+
defaultValue: '--',
|
|
124
|
+
required: false,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: 'ENotification.info(options)',
|
|
128
|
+
description:
|
|
129
|
+
'显示信息通知,options为字符串或通知配置对象',
|
|
130
|
+
type: 'function',
|
|
131
|
+
defaultValue: '--',
|
|
132
|
+
required: false,
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'ENotification.show(options)',
|
|
136
|
+
description:
|
|
137
|
+
'显示通知(通用方法),options为通知配置对象',
|
|
138
|
+
type: 'function',
|
|
139
|
+
defaultValue: '--',
|
|
140
|
+
required: false,
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
]"
|
|
145
|
+
/>
|
|
146
|
+
</PageLayout>
|
|
147
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ENotification, EButton } from 'exploria-ui';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<EButton
|
|
7
|
+
@click="
|
|
8
|
+
ENotification.error({
|
|
9
|
+
title: '错误信息',
|
|
10
|
+
message: '这是一条需要手动关闭的错误信息',
|
|
11
|
+
duration: 0, // 0表示不自动关闭
|
|
12
|
+
showClose: true,
|
|
13
|
+
})
|
|
14
|
+
"
|
|
15
|
+
>手动关闭</EButton
|
|
16
|
+
>
|
|
17
|
+
</template>
|