exploria-ui-mcp-server 2.1.4 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +169 -109
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/dist/README.md +0 -633
- package/dist/components/advanced/e_parallax_scrolling/Document.vue +0 -23
- package/dist/components/advanced/e_parallax_scrolling/Using.vue +0 -20
- package/dist/components/advanced/e_parallax_scrolling/img.png +0 -0
- package/dist/components/advanced/e_parallax_scrolling/img_1.png +0 -0
- package/dist/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
- package/dist/components/advanced/e_rolling_follow/Document.vue +0 -21
- package/dist/components/advanced/e_rolling_follow/Using.vue +0 -54
- package/dist/components/advanced/e_virtual_list/ComprehensiveCase.vue +0 -209
- package/dist/components/advanced/e_virtual_list/Document.vue +0 -68
- package/dist/components/advanced/e_virtual_list/DynamicData.vue +0 -42
- package/dist/components/advanced/e_virtual_list/Using.vue +0 -32
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.css +0 -19
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
- package/dist/components/advanced/e_virtual_list/img.png +0 -0
- package/dist/components/advanced/e_watermark/AutoSize.vue +0 -89
- package/dist/components/advanced/e_watermark/BasicUsing.vue +0 -9
- package/dist/components/advanced/e_watermark/CustomFont.vue +0 -73
- package/dist/components/advanced/e_watermark/CustomStyle.vue +0 -76
- package/dist/components/advanced/e_watermark/Dense.vue +0 -28
- package/dist/components/advanced/e_watermark/Document.vue +0 -197
- package/dist/components/advanced/e_watermark/HighZIndex.vue +0 -105
- package/dist/components/advanced/e_watermark/ImageWatermark.vue +0 -31
- package/dist/components/advanced/e_watermark/MultiLine.vue +0 -29
- package/dist/components/advanced/e_watermark/OpacityWatermark.vue +0 -73
- package/dist/components/ai/typing_effect/Document.vue +0 -47
- package/dist/components/ai/typing_effect/Using1.vue +0 -189
- package/dist/components/ai/typing_effect/Using2.vue +0 -167
- package/dist/components/basic/e_badge/BasicBadge.vue +0 -31
- package/dist/components/basic/e_badge/Document.vue +0 -137
- package/dist/components/basic/e_badge/DotBadge.vue +0 -35
- package/dist/components/basic/e_badge/MaxBadge.vue +0 -33
- package/dist/components/basic/e_badge/ShowZeroBadge.vue +0 -30
- package/dist/components/basic/e_badge/SizeBadge.vue +0 -29
- package/dist/components/basic/e_badge/TypeBadge.vue +0 -36
- package/dist/components/basic/e_button/CircleButtons.vue +0 -30
- package/dist/components/basic/e_button/DisabledButtons.vue +0 -30
- package/dist/components/basic/e_button/Document.vue +0 -171
- package/dist/components/basic/e_button/LoadingButtons.vue +0 -30
- package/dist/components/basic/e_button/NormalButtons.vue +0 -30
- package/dist/components/basic/e_button/PlainButtons.vue +0 -30
- package/dist/components/basic/e_button/RoundButtons.vue +0 -30
- package/dist/components/basic/e_button/RoundedRectangleButtons.vue +0 -35
- package/dist/components/basic/e_button/SizeButtons.vue +0 -19
- package/dist/components/basic/e_button/Using.vue +0 -89
- package/dist/components/basic/e_card/BasicCard.vue +0 -9
- package/dist/components/basic/e_card/BorderlessCard.vue +0 -8
- package/dist/components/basic/e_card/ComplexContentCard.vue +0 -92
- package/dist/components/basic/e_card/CustomHeaderCard.vue +0 -24
- package/dist/components/basic/e_card/Document.vue +0 -131
- package/dist/components/basic/e_card/FooterCard.vue +0 -12
- package/dist/components/basic/e_card/ShadowCard.vue +0 -30
- package/dist/components/basic/e_card/SizesCard.vue +0 -29
- package/dist/components/basic/e_svg_icon/Document.vue +0 -38
- package/dist/components/basic/e_svg_icon/Using.vue +0 -7
- package/dist/components/basic/e_underline/BaseUsing.vue +0 -13
- package/dist/components/basic/e_underline/Document.vue +0 -27
- package/dist/components/basic/e_underline/ImgUsing.vue +0 -36
- package/dist/components/data/e_calendar/Document.vue +0 -41
- package/dist/components/data/e_calendar/Using.vue +0 -9
- package/dist/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/dist/components/data/e_carousel/Document.vue +0 -143
- package/dist/components/data/e_carousel/Using.vue +0 -20
- package/dist/components/data/e_carousel/Using1.vue +0 -23
- package/dist/components/data/e_carousel/Using2.vue +0 -17
- package/dist/components/data/e_carousel/Using3.vue +0 -17
- package/dist/components/data/e_collapse/Document.vue +0 -40
- package/dist/components/data/e_collapse/Using.vue +0 -9
- package/dist/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
- package/dist/components/data/e_image/Document.vue +0 -71
- package/dist/components/data/e_image/Using.vue +0 -21
- package/dist/components/data/e_image/img.png +0 -0
- package/dist/components/data/e_list/BasicUsage.vue +0 -18
- package/dist/components/data/e_list/CustomCheckboxUsage.vue +0 -22
- package/dist/components/data/e_list/CustomEmptyDataUsage.vue +0 -38
- package/dist/components/data/e_list/CustomRowUsage.vue +0 -64
- package/dist/components/data/e_list/DividerUsage.vue +0 -20
- package/dist/components/data/e_list/Document.vue +0 -261
- package/dist/components/data/e_list/EmptyDataUsage.vue +0 -3
- package/dist/components/data/e_list/EventUsage.vue +0 -23
- package/dist/components/data/e_list/MultipleSelectUsage.vue +0 -22
- package/dist/components/data/e_list/SingleSelectUsage.vue +0 -21
- package/dist/components/data/e_list/SizeUsage.vue +0 -35
- package/dist/components/data/e_media_viewer/Document.vue +0 -39
- package/dist/components/data/e_media_viewer/Using.vue +0 -30
- package/dist/components/data/e_media_viewer/img.png +0 -0
- package/dist/components/data/e_progress/BasicProgress.vue +0 -21
- package/dist/components/data/e_progress/CircleProgress.vue +0 -23
- package/dist/components/data/e_progress/CustomColorProgress.vue +0 -63
- package/dist/components/data/e_progress/Document.vue +0 -179
- package/dist/components/data/e_progress/IndeterminateProgress.vue +0 -49
- package/dist/components/data/e_progress/ProgressSize.vue +0 -50
- package/dist/components/data/e_progress/ProgressStatus.vue +0 -21
- package/dist/components/data/e_progress/ProgressText.vue +0 -52
- package/dist/components/data/e_rolling_pagination/Document.vue +0 -21
- package/dist/components/data/e_rolling_pagination/Using.vue +0 -33
- package/dist/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
- package/dist/components/data/e_skeleton/Document.vue +0 -26
- package/dist/components/data/e_skeleton/Using.vue +0 -18
- package/dist/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/dist/components/data/e_table/Document.vue +0 -85
- package/dist/components/data/e_table/Using.vue +0 -131
- package/dist/components/data/e_timeline/Document.vue +0 -90
- package/dist/components/data/e_timeline/Using.vue +0 -124
- package/dist/components/feedback/e_dialog/AsyncUsing.vue +0 -30
- package/dist/components/feedback/e_dialog/BaseUsing.vue +0 -15
- package/dist/components/feedback/e_dialog/Document.vue +0 -26
- package/dist/components/feedback/e_drawer/BaseUsing.vue +0 -35
- package/dist/components/feedback/e_drawer/DirectionUsing.vue +0 -93
- package/dist/components/feedback/e_drawer/Document.vue +0 -153
- package/dist/components/feedback/e_drawer/LargeSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_drawer/MediumSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_drawer/SizeUsing.vue +0 -67
- package/dist/components/feedback/e_drawer/SmallSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_message/Document.vue +0 -18
- package/dist/components/feedback/e_message/Using.vue +0 -16
- package/dist/components/feedback/e_message_box/BaseUsing.vue +0 -11
- package/dist/components/feedback/e_message_box/Document.vue +0 -18
- package/dist/components/feedback/e_message_box/intro.md +0 -12
- package/dist/components/feedback/e_notification/AllPositionsNotification.vue +0 -35
- package/dist/components/feedback/e_notification/BasicTypesNotification.vue +0 -47
- package/dist/components/feedback/e_notification/ClickableNotification.vue +0 -18
- package/dist/components/feedback/e_notification/Document.vue +0 -147
- package/dist/components/feedback/e_notification/ManualCloseNotification.vue +0 -17
- package/dist/components/feedback/e_notification/Using.vue +0 -253
- package/dist/components/feedback/e_popover/BasicUsage.vue +0 -51
- package/dist/components/feedback/e_popover/ContextmenuTrigger.vue +0 -27
- package/dist/components/feedback/e_popover/CustomContent.vue +0 -43
- package/dist/components/feedback/e_popover/CustomTrigger.vue +0 -39
- package/dist/components/feedback/e_popover/Document.vue +0 -84
- package/dist/components/feedback/e_popover/HoverTrigger.vue +0 -29
- package/dist/components/feedback/e_popover/SizeVariants.vue +0 -36
- package/dist/components/feedback/e_popover/Using.vue +0 -177
- package/dist/components/feedback/e_tooltip/Document.vue +0 -42
- package/dist/components/feedback/e_tooltip/SizeUsing.vue +0 -28
- package/dist/components/feedback/e_tooltip/Using.vue +0 -44
- package/dist/components/form/e_checkbox/Document.vue +0 -88
- package/dist/components/form/e_checkbox/Using.vue +0 -10
- package/dist/components/form/e_color_picker/Document.vue +0 -55
- package/dist/components/form/e_color_picker/Using.vue +0 -10
- package/dist/components/form/e_condition_group/Document.vue +0 -52
- package/dist/components/form/e_condition_group/Using.vue +0 -165
- package/dist/components/form/e_file_selector/Document.vue +0 -50
- package/dist/components/form/e_file_selector/Using.vue +0 -44
- package/dist/components/form/e_form/BaseUsage.vue +0 -155
- package/dist/components/form/e_form/Document.vue +0 -93
- package/dist/components/form/e_form/LoginForm.vue +0 -150
- package/dist/components/form/e_form/RegisterForm.vue +0 -46
- package/dist/components/form/e_form/iconfont/iconfont.css +0 -67
- package/dist/components/form/e_form/iconfont/iconfont.ttf +0 -0
- package/dist/components/form/e_form/iconfont/iconfont.woff +0 -0
- package/dist/components/form/e_form/iconfont/iconfont.woff2 +0 -0
- package/dist/components/form/e_input/BaseUsage.vue +0 -16
- package/dist/components/form/e_input/Clearable.vue +0 -24
- package/dist/components/form/e_input/Document.vue +0 -111
- package/dist/components/form/e_input/Number.vue +0 -10
- package/dist/components/form/e_input/Password.vue +0 -52
- package/dist/components/form/e_input/iconfont/iconfont.css +0 -67
- package/dist/components/form/e_input/iconfont/iconfont.ttf +0 -0
- package/dist/components/form/e_input/iconfont/iconfont.woff +0 -0
- package/dist/components/form/e_input/iconfont/iconfont.woff2 +0 -0
- package/dist/components/form/e_radio/Document.vue +0 -88
- package/dist/components/form/e_radio/Using.vue +0 -14
- package/dist/components/form/e_select/Document.vue +0 -32
- package/dist/components/form/e_select/Using.vue +0 -24
- package/dist/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
- package/dist/components/form/e_slider/BaseUsage.vue +0 -10
- package/dist/components/form/e_slider/CustomRange.vue +0 -21
- package/dist/components/form/e_slider/Disabled.vue +0 -10
- package/dist/components/form/e_slider/Document.vue +0 -55
- package/dist/components/form/e_slider/ShowValue.vue +0 -10
- package/dist/components/form/e_slider/Sizes.vue +0 -47
- package/dist/components/form/e_time_picker/Document.vue +0 -58
- package/dist/components/form/e_time_picker/Using.vue +0 -13
- package/dist/components/geometry/css_3d/Document.vue +0 -17
- package/dist/components/geometry/css_3d/Using.vue +0 -9
- package/dist/components/layout/e_scroll_x/Document.vue +0 -39
- package/dist/components/layout/e_scroll_x/Using.vue +0 -38
- package/dist/components/navigation/e_dropdown/BasicUsage.vue +0 -64
- package/dist/components/navigation/e_dropdown/Contextmenu.vue +0 -41
- package/dist/components/navigation/e_dropdown/Document.vue +0 -72
- package/dist/components/navigation/e_dropdown/HoverTrigger.vue +0 -66
- package/dist/components/navigation/e_dropdown/NestedDropdown.vue +0 -143
- package/dist/components/navigation/e_tabs/Document.vue +0 -33
- package/dist/components/navigation/e_tabs/Using.vue +0 -40
- package/dist/directives/e_uuid_util/Document.vue +0 -15
- package/dist/directives/e_uuid_util/Using.vue +0 -13
- package/dist/other/advanced/gsap/BasicUsing.vue +0 -26
- package/dist/other/advanced/gsap/Document.vue +0 -45
- package/dist/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/gsap/ScrollTrigger.vue +0 -195
- package/dist/other/advanced/gsap/ScrollX.vue +0 -81
- package/dist/other/advanced/gsap/Timeline.vue +0 -30
- package/dist/other/advanced/lottie/BasicUsing.vue +0 -33
- package/dist/other/advanced/lottie/Document.vue +0 -30
- package/dist/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/rich_text_editor/Document.vue +0 -24
- package/dist/other/advanced/rich_text_editor/RichTextEditor.vue +0 -105
- package/dist/other/advanced/rich_text_editor/wangeditor_style.css +0 -684
- package/dist/other/advanced/sortablejs/Document.vue +0 -32
- package/dist/other/advanced/sortablejs/ShuttleFrame.vue +0 -181
- package/dist/other/advanced/sortablejs/Using.vue +0 -68
- package/dist/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
- package/dist/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
- package/dist/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
- package/dist/other/advanced/spelling/Document.vue +0 -17
- package/dist/other/advanced/spelling/Using.vue +0 -104
- package/dist/other/advanced/svg/BasicUsing.vue +0 -12
- package/dist/other/advanced/svg/Document.vue +0 -24
- package/dist/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/dist/other/advanced/svg/FeDisplacementMap/example/Image.vue +0 -41
- package/dist/other/advanced/svg/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/advanced/svg/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/dist/other/advanced/svg/FeTurbulence/FeTurbulence.vue +0 -28
- package/dist/other/advanced/svg/FeTurbulence/example/Image.vue +0 -41
- package/dist/other/advanced/svg/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/dist/other/canvas/base/Document.vue +0 -15
- package/dist/other/canvas/base/Using.vue +0 -125
- package/dist/other/canvas/burrow/Clip.vue +0 -66
- package/dist/other/canvas/burrow/Document.vue +0 -36
- package/dist/other/canvas/burrow/Erase.vue +0 -58
- package/dist/other/canvas/burrow/NonZeroSurroundRule.vue +0 -70
- package/dist/other/canvas/clip/Clip.vue +0 -58
- package/dist/other/canvas/clip/Document.vue +0 -26
- package/dist/other/canvas/definition/Document.vue +0 -26
- package/dist/other/canvas/definition/Using.vue +0 -60
- package/dist/other/echarts/basic/Document.vue +0 -36
- package/dist/other/echarts/basic/Label.vue +0 -98
- package/dist/other/echarts/data_zoom/Document.vue +0 -38
- package/dist/other/echarts/data_zoom/Using.vue +0 -119
- package/dist/other/echarts/data_zoom/img.svg +0 -33
- package/dist/other/echarts/gauge/Document.vue +0 -38
- package/dist/other/echarts/gauge/Gauge.vue +0 -340
- package/dist/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/dist/other/echarts/liquidfill/Document.vue +0 -46
- package/dist/other/echarts/liquidfill/Using.vue +0 -239
- package/dist/other/git/sample_set/Document.vue +0 -43
- package/dist/other/git/sample_set/img/img.png +0 -0
- package/dist/other/git/sample_set/img/img_1.png +0 -0
- package/dist/other/git/sample_set/img/img_2.png +0 -0
- package/dist/other/layout/flex/Advanced.vue +0 -104
- package/dist/other/layout/flex/Advanced2.vue +0 -181
- package/dist/other/layout/flex/Base.vue +0 -48
- package/dist/other/layout/flex/Document.vue +0 -57
- package/dist/other/layout/flex/Grid.vue +0 -54
- package/dist/other/layout/flex/Height100.vue +0 -35
- package/dist/other/layout/flex/intro.md +0 -1
- package/dist/other/layout/grid/Base.vue +0 -29
- package/dist/other/layout/grid/Document.vue +0 -54
- package/dist/other/layout/grid/Grid.vue +0 -28
- package/dist/other/layout/grid/Height100.vue +0 -35
- package/dist/other/layout/grid/intro.md +0 -1
- package/dist/other/navigation/new_tab_page/Document.vue +0 -18
- package/dist/other/navigation/new_tab_page/OpenNewTabPage.vue +0 -7
- package/dist/other/navigation/new_tab_page/new-tab-page-demo.html +0 -450
- package/dist/other/network/sse/Document.vue +0 -21
- package/dist/other/network/sse/Using.vue +0 -24
- package/dist/other/network/sse/server/app.ts +0 -62
- package/dist/other/network/sse/server/static/text.md +0 -99
- package/dist/other/network/sse/server/utils/sleep.ts +0 -5
- package/dist/other/observer/mutation_observer/Document.vue +0 -15
- package/dist/other/observer/mutation_observer/Using.vue +0 -46
- package/dist/other/optimize/Document.vue +0 -19
- package/dist/other/optimize/HeavyComp.vue +0 -19
- package/dist/other/optimize/Using.vue +0 -14
- package/dist/other/optimize/useDefer.ts +0 -28
- package/dist/other/svg/base/BasicUsing.vue +0 -12
- package/dist/other/svg/base/Document.vue +0 -24
- package/dist/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/dist/other/svg/base/FeDisplacementMap/example/Image.vue +0 -41
- package/dist/other/svg/base/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/svg/base/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/dist/other/svg/base/FeTurbulence/FeTurbulence.vue +0 -28
- package/dist/other/svg/base/FeTurbulence/example/Image.vue +0 -41
- package/dist/other/svg/base/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/dist/other/threejs/base/Document.vue +0 -17
- package/dist/other/threejs/base/Using.vue +0 -127
- package/dist/other/threejs/controller_sync/Document.vue +0 -15
- package/dist/other/threejs/controller_sync/Using.vue +0 -347
- package/dist/other/threejs/controller_sync/bone//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/dist/other/threejs/controller_sync/motion//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/dist/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
- package/dist/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
- package/dist/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
- package/dist/other/threejs/phoenix/Document.vue +0 -17
- package/dist/other/threejs/phoenix/Using.vue +0 -79
- package/dist/other/vue/life_cycle/Child.vue +0 -43
- package/dist/other/vue/life_cycle/Document.vue +0 -15
- package/dist/other/vue/life_cycle/Using.vue +0 -16
- package/dist/utils/e_echarts_util/Document.vue +0 -14
- package/dist/utils/e_echarts_util/Using.vue +0 -81
- package/dist/utils/e_image_util/Document.vue +0 -15
- package/dist/utils/e_image_util/Using.vue +0 -24
- package/dist/utils/e_image_util/author_avatar.png +0 -0
- package/dist/utils/e_uuid_util/Document.vue +0 -15
- package/dist/utils/e_uuid_util/Using.vue +0 -13
- package/dist/utils/type_utils/Document.vue +0 -16
- package/dist/utils/type_utils/TupleType.vue +0 -16
- package/public/README.md +0 -633
- package/public/components/advanced/e_parallax_scrolling/Document.vue +0 -23
- package/public/components/advanced/e_parallax_scrolling/Using.vue +0 -20
- package/public/components/advanced/e_parallax_scrolling/img.png +0 -0
- package/public/components/advanced/e_parallax_scrolling/img_1.png +0 -0
- package/public/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
- package/public/components/advanced/e_rolling_follow/Document.vue +0 -21
- package/public/components/advanced/e_rolling_follow/Using.vue +0 -54
- package/public/components/advanced/e_virtual_list/ComprehensiveCase.vue +0 -209
- package/public/components/advanced/e_virtual_list/Document.vue +0 -68
- package/public/components/advanced/e_virtual_list/DynamicData.vue +0 -42
- package/public/components/advanced/e_virtual_list/Using.vue +0 -32
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.css +0 -19
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
- package/public/components/advanced/e_virtual_list/img.png +0 -0
- package/public/components/advanced/e_watermark/AutoSize.vue +0 -89
- package/public/components/advanced/e_watermark/BasicUsing.vue +0 -9
- package/public/components/advanced/e_watermark/CustomFont.vue +0 -73
- package/public/components/advanced/e_watermark/CustomStyle.vue +0 -76
- package/public/components/advanced/e_watermark/Dense.vue +0 -28
- package/public/components/advanced/e_watermark/Document.vue +0 -197
- package/public/components/advanced/e_watermark/HighZIndex.vue +0 -105
- package/public/components/advanced/e_watermark/ImageWatermark.vue +0 -31
- package/public/components/advanced/e_watermark/MultiLine.vue +0 -29
- package/public/components/advanced/e_watermark/OpacityWatermark.vue +0 -73
- package/public/components/ai/typing_effect/Document.vue +0 -47
- package/public/components/ai/typing_effect/Using1.vue +0 -189
- package/public/components/ai/typing_effect/Using2.vue +0 -167
- package/public/components/basic/e_badge/BasicBadge.vue +0 -31
- package/public/components/basic/e_badge/Document.vue +0 -137
- package/public/components/basic/e_badge/DotBadge.vue +0 -35
- package/public/components/basic/e_badge/MaxBadge.vue +0 -33
- package/public/components/basic/e_badge/ShowZeroBadge.vue +0 -30
- package/public/components/basic/e_badge/SizeBadge.vue +0 -29
- package/public/components/basic/e_badge/TypeBadge.vue +0 -36
- package/public/components/basic/e_button/CircleButtons.vue +0 -30
- package/public/components/basic/e_button/DisabledButtons.vue +0 -30
- package/public/components/basic/e_button/Document.vue +0 -171
- package/public/components/basic/e_button/LoadingButtons.vue +0 -30
- package/public/components/basic/e_button/NormalButtons.vue +0 -30
- package/public/components/basic/e_button/PlainButtons.vue +0 -30
- package/public/components/basic/e_button/RoundButtons.vue +0 -30
- package/public/components/basic/e_button/RoundedRectangleButtons.vue +0 -35
- package/public/components/basic/e_button/SizeButtons.vue +0 -19
- package/public/components/basic/e_button/Using.vue +0 -89
- package/public/components/basic/e_card/BasicCard.vue +0 -9
- package/public/components/basic/e_card/BorderlessCard.vue +0 -8
- package/public/components/basic/e_card/ComplexContentCard.vue +0 -92
- package/public/components/basic/e_card/CustomHeaderCard.vue +0 -24
- package/public/components/basic/e_card/Document.vue +0 -131
- package/public/components/basic/e_card/FooterCard.vue +0 -12
- package/public/components/basic/e_card/ShadowCard.vue +0 -30
- package/public/components/basic/e_card/SizesCard.vue +0 -29
- package/public/components/basic/e_svg_icon/Document.vue +0 -38
- package/public/components/basic/e_svg_icon/Using.vue +0 -7
- package/public/components/basic/e_underline/BaseUsing.vue +0 -13
- package/public/components/basic/e_underline/Document.vue +0 -27
- package/public/components/basic/e_underline/ImgUsing.vue +0 -36
- package/public/components/data/e_calendar/Document.vue +0 -41
- package/public/components/data/e_calendar/Using.vue +0 -9
- package/public/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/public/components/data/e_carousel/Document.vue +0 -143
- package/public/components/data/e_carousel/Using.vue +0 -20
- package/public/components/data/e_carousel/Using1.vue +0 -23
- package/public/components/data/e_carousel/Using2.vue +0 -17
- package/public/components/data/e_carousel/Using3.vue +0 -17
- package/public/components/data/e_collapse/Document.vue +0 -40
- package/public/components/data/e_collapse/Using.vue +0 -9
- package/public/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
- package/public/components/data/e_image/Document.vue +0 -71
- package/public/components/data/e_image/Using.vue +0 -21
- package/public/components/data/e_image/img.png +0 -0
- package/public/components/data/e_list/BasicUsage.vue +0 -18
- package/public/components/data/e_list/CustomCheckboxUsage.vue +0 -22
- package/public/components/data/e_list/CustomEmptyDataUsage.vue +0 -38
- package/public/components/data/e_list/CustomRowUsage.vue +0 -64
- package/public/components/data/e_list/DividerUsage.vue +0 -20
- package/public/components/data/e_list/Document.vue +0 -261
- package/public/components/data/e_list/EmptyDataUsage.vue +0 -3
- package/public/components/data/e_list/EventUsage.vue +0 -23
- package/public/components/data/e_list/MultipleSelectUsage.vue +0 -22
- package/public/components/data/e_list/SingleSelectUsage.vue +0 -21
- package/public/components/data/e_list/SizeUsage.vue +0 -35
- package/public/components/data/e_media_viewer/Document.vue +0 -39
- package/public/components/data/e_media_viewer/Using.vue +0 -30
- package/public/components/data/e_media_viewer/img.png +0 -0
- package/public/components/data/e_progress/BasicProgress.vue +0 -21
- package/public/components/data/e_progress/CircleProgress.vue +0 -23
- package/public/components/data/e_progress/CustomColorProgress.vue +0 -63
- package/public/components/data/e_progress/Document.vue +0 -179
- package/public/components/data/e_progress/IndeterminateProgress.vue +0 -49
- package/public/components/data/e_progress/ProgressSize.vue +0 -50
- package/public/components/data/e_progress/ProgressStatus.vue +0 -21
- package/public/components/data/e_progress/ProgressText.vue +0 -52
- package/public/components/data/e_rolling_pagination/Document.vue +0 -21
- package/public/components/data/e_rolling_pagination/Using.vue +0 -33
- package/public/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
- package/public/components/data/e_skeleton/Document.vue +0 -26
- package/public/components/data/e_skeleton/Using.vue +0 -18
- package/public/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/public/components/data/e_table/Document.vue +0 -85
- package/public/components/data/e_table/Using.vue +0 -131
- package/public/components/data/e_timeline/Document.vue +0 -90
- package/public/components/data/e_timeline/Using.vue +0 -124
- package/public/components/feedback/e_dialog/AsyncUsing.vue +0 -30
- package/public/components/feedback/e_dialog/BaseUsing.vue +0 -15
- package/public/components/feedback/e_dialog/Document.vue +0 -26
- package/public/components/feedback/e_drawer/BaseUsing.vue +0 -35
- package/public/components/feedback/e_drawer/DirectionUsing.vue +0 -93
- package/public/components/feedback/e_drawer/Document.vue +0 -153
- package/public/components/feedback/e_drawer/LargeSizeDrawer.vue +0 -29
- package/public/components/feedback/e_drawer/MediumSizeDrawer.vue +0 -29
- package/public/components/feedback/e_drawer/SizeUsing.vue +0 -67
- package/public/components/feedback/e_drawer/SmallSizeDrawer.vue +0 -29
- package/public/components/feedback/e_message/Document.vue +0 -18
- package/public/components/feedback/e_message/Using.vue +0 -16
- package/public/components/feedback/e_message_box/BaseUsing.vue +0 -11
- package/public/components/feedback/e_message_box/Document.vue +0 -18
- package/public/components/feedback/e_message_box/intro.md +0 -12
- package/public/components/feedback/e_notification/AllPositionsNotification.vue +0 -35
- package/public/components/feedback/e_notification/BasicTypesNotification.vue +0 -47
- package/public/components/feedback/e_notification/ClickableNotification.vue +0 -18
- package/public/components/feedback/e_notification/Document.vue +0 -147
- package/public/components/feedback/e_notification/ManualCloseNotification.vue +0 -17
- package/public/components/feedback/e_notification/Using.vue +0 -253
- package/public/components/feedback/e_popover/BasicUsage.vue +0 -51
- package/public/components/feedback/e_popover/ContextmenuTrigger.vue +0 -27
- package/public/components/feedback/e_popover/CustomContent.vue +0 -43
- package/public/components/feedback/e_popover/CustomTrigger.vue +0 -39
- package/public/components/feedback/e_popover/Document.vue +0 -84
- package/public/components/feedback/e_popover/HoverTrigger.vue +0 -29
- package/public/components/feedback/e_popover/SizeVariants.vue +0 -36
- package/public/components/feedback/e_popover/Using.vue +0 -177
- package/public/components/feedback/e_tooltip/Document.vue +0 -42
- package/public/components/feedback/e_tooltip/SizeUsing.vue +0 -28
- package/public/components/feedback/e_tooltip/Using.vue +0 -44
- package/public/components/form/e_checkbox/Document.vue +0 -88
- package/public/components/form/e_checkbox/Using.vue +0 -10
- package/public/components/form/e_color_picker/Document.vue +0 -55
- package/public/components/form/e_color_picker/Using.vue +0 -10
- package/public/components/form/e_condition_group/Document.vue +0 -52
- package/public/components/form/e_condition_group/Using.vue +0 -165
- package/public/components/form/e_file_selector/Document.vue +0 -50
- package/public/components/form/e_file_selector/Using.vue +0 -44
- package/public/components/form/e_form/BaseUsage.vue +0 -155
- package/public/components/form/e_form/Document.vue +0 -93
- package/public/components/form/e_form/LoginForm.vue +0 -150
- package/public/components/form/e_form/RegisterForm.vue +0 -46
- package/public/components/form/e_form/iconfont/iconfont.css +0 -67
- package/public/components/form/e_form/iconfont/iconfont.ttf +0 -0
- package/public/components/form/e_form/iconfont/iconfont.woff +0 -0
- package/public/components/form/e_form/iconfont/iconfont.woff2 +0 -0
- package/public/components/form/e_input/BaseUsage.vue +0 -16
- package/public/components/form/e_input/Clearable.vue +0 -24
- package/public/components/form/e_input/Document.vue +0 -111
- package/public/components/form/e_input/Number.vue +0 -10
- package/public/components/form/e_input/Password.vue +0 -52
- package/public/components/form/e_input/iconfont/iconfont.css +0 -67
- package/public/components/form/e_input/iconfont/iconfont.ttf +0 -0
- package/public/components/form/e_input/iconfont/iconfont.woff +0 -0
- package/public/components/form/e_input/iconfont/iconfont.woff2 +0 -0
- package/public/components/form/e_radio/Document.vue +0 -88
- package/public/components/form/e_radio/Using.vue +0 -14
- package/public/components/form/e_select/Document.vue +0 -32
- package/public/components/form/e_select/Using.vue +0 -24
- package/public/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
- package/public/components/form/e_slider/BaseUsage.vue +0 -10
- package/public/components/form/e_slider/CustomRange.vue +0 -21
- package/public/components/form/e_slider/Disabled.vue +0 -10
- package/public/components/form/e_slider/Document.vue +0 -55
- package/public/components/form/e_slider/ShowValue.vue +0 -10
- package/public/components/form/e_slider/Sizes.vue +0 -47
- package/public/components/form/e_time_picker/Document.vue +0 -58
- package/public/components/form/e_time_picker/Using.vue +0 -13
- package/public/components/geometry/css_3d/Document.vue +0 -17
- package/public/components/geometry/css_3d/Using.vue +0 -9
- package/public/components/layout/e_scroll_x/Document.vue +0 -39
- package/public/components/layout/e_scroll_x/Using.vue +0 -38
- package/public/components/navigation/e_dropdown/BasicUsage.vue +0 -64
- package/public/components/navigation/e_dropdown/Contextmenu.vue +0 -41
- package/public/components/navigation/e_dropdown/Document.vue +0 -72
- package/public/components/navigation/e_dropdown/HoverTrigger.vue +0 -66
- package/public/components/navigation/e_dropdown/NestedDropdown.vue +0 -143
- package/public/components/navigation/e_tabs/Document.vue +0 -33
- package/public/components/navigation/e_tabs/Using.vue +0 -40
- package/public/directives/e_uuid_util/Document.vue +0 -15
- package/public/directives/e_uuid_util/Using.vue +0 -13
- package/public/other/advanced/gsap/BasicUsing.vue +0 -26
- package/public/other/advanced/gsap/Document.vue +0 -45
- package/public/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/public/other/advanced/gsap/ScrollTrigger.vue +0 -195
- package/public/other/advanced/gsap/ScrollX.vue +0 -81
- package/public/other/advanced/gsap/Timeline.vue +0 -30
- package/public/other/advanced/lottie/BasicUsing.vue +0 -33
- package/public/other/advanced/lottie/Document.vue +0 -30
- package/public/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/public/other/advanced/rich_text_editor/Document.vue +0 -24
- package/public/other/advanced/rich_text_editor/RichTextEditor.vue +0 -105
- package/public/other/advanced/rich_text_editor/wangeditor_style.css +0 -684
- package/public/other/advanced/sortablejs/Document.vue +0 -32
- package/public/other/advanced/sortablejs/ShuttleFrame.vue +0 -181
- package/public/other/advanced/sortablejs/Using.vue +0 -68
- package/public/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
- package/public/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
- package/public/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
- package/public/other/advanced/spelling/Document.vue +0 -17
- package/public/other/advanced/spelling/Using.vue +0 -104
- package/public/other/advanced/svg/BasicUsing.vue +0 -12
- package/public/other/advanced/svg/Document.vue +0 -24
- package/public/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/public/other/advanced/svg/FeDisplacementMap/example/Image.vue +0 -41
- package/public/other/advanced/svg/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/advanced/svg/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/public/other/advanced/svg/FeTurbulence/FeTurbulence.vue +0 -28
- package/public/other/advanced/svg/FeTurbulence/example/Image.vue +0 -41
- package/public/other/advanced/svg/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/public/other/canvas/base/Document.vue +0 -15
- package/public/other/canvas/base/Using.vue +0 -125
- package/public/other/canvas/burrow/Clip.vue +0 -66
- package/public/other/canvas/burrow/Document.vue +0 -36
- package/public/other/canvas/burrow/Erase.vue +0 -58
- package/public/other/canvas/burrow/NonZeroSurroundRule.vue +0 -70
- package/public/other/canvas/clip/Clip.vue +0 -58
- package/public/other/canvas/clip/Document.vue +0 -26
- package/public/other/canvas/definition/Document.vue +0 -26
- package/public/other/canvas/definition/Using.vue +0 -60
- package/public/other/echarts/basic/Document.vue +0 -36
- package/public/other/echarts/basic/Label.vue +0 -98
- package/public/other/echarts/data_zoom/Document.vue +0 -38
- package/public/other/echarts/data_zoom/Using.vue +0 -119
- package/public/other/echarts/data_zoom/img.svg +0 -33
- package/public/other/echarts/gauge/Document.vue +0 -38
- package/public/other/echarts/gauge/Gauge.vue +0 -340
- package/public/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/public/other/echarts/liquidfill/Document.vue +0 -46
- package/public/other/echarts/liquidfill/Using.vue +0 -239
- package/public/other/git/sample_set/Document.vue +0 -43
- package/public/other/git/sample_set/img/img.png +0 -0
- package/public/other/git/sample_set/img/img_1.png +0 -0
- package/public/other/git/sample_set/img/img_2.png +0 -0
- package/public/other/layout/flex/Advanced.vue +0 -104
- package/public/other/layout/flex/Advanced2.vue +0 -181
- package/public/other/layout/flex/Base.vue +0 -48
- package/public/other/layout/flex/Document.vue +0 -57
- package/public/other/layout/flex/Grid.vue +0 -54
- package/public/other/layout/flex/Height100.vue +0 -35
- package/public/other/layout/flex/intro.md +0 -1
- package/public/other/layout/grid/Base.vue +0 -29
- package/public/other/layout/grid/Document.vue +0 -54
- package/public/other/layout/grid/Grid.vue +0 -28
- package/public/other/layout/grid/Height100.vue +0 -35
- package/public/other/layout/grid/intro.md +0 -1
- package/public/other/navigation/new_tab_page/Document.vue +0 -18
- package/public/other/navigation/new_tab_page/OpenNewTabPage.vue +0 -7
- package/public/other/navigation/new_tab_page/new-tab-page-demo.html +0 -450
- package/public/other/network/sse/Document.vue +0 -21
- package/public/other/network/sse/Using.vue +0 -24
- package/public/other/network/sse/server/app.ts +0 -62
- package/public/other/network/sse/server/static/text.md +0 -99
- package/public/other/network/sse/server/utils/sleep.ts +0 -5
- package/public/other/observer/mutation_observer/Document.vue +0 -15
- package/public/other/observer/mutation_observer/Using.vue +0 -46
- package/public/other/optimize/Document.vue +0 -19
- package/public/other/optimize/HeavyComp.vue +0 -19
- package/public/other/optimize/Using.vue +0 -14
- package/public/other/optimize/useDefer.ts +0 -28
- package/public/other/svg/base/BasicUsing.vue +0 -12
- package/public/other/svg/base/Document.vue +0 -24
- package/public/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/public/other/svg/base/FeDisplacementMap/example/Image.vue +0 -41
- package/public/other/svg/base/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/svg/base/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/public/other/svg/base/FeTurbulence/FeTurbulence.vue +0 -28
- package/public/other/svg/base/FeTurbulence/example/Image.vue +0 -41
- package/public/other/svg/base/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/public/other/threejs/base/Document.vue +0 -17
- package/public/other/threejs/base/Using.vue +0 -127
- package/public/other/threejs/controller_sync/Document.vue +0 -15
- package/public/other/threejs/controller_sync/Using.vue +0 -347
- package/public/other/threejs/controller_sync/bone//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/public/other/threejs/controller_sync/motion//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/public/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
- package/public/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
- package/public/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
- package/public/other/threejs/phoenix/Document.vue +0 -17
- package/public/other/threejs/phoenix/Using.vue +0 -79
- package/public/other/vue/life_cycle/Child.vue +0 -43
- package/public/other/vue/life_cycle/Document.vue +0 -15
- package/public/other/vue/life_cycle/Using.vue +0 -16
- package/public/utils/e_echarts_util/Document.vue +0 -14
- package/public/utils/e_echarts_util/Using.vue +0 -81
- package/public/utils/e_image_util/Document.vue +0 -15
- package/public/utils/e_image_util/Using.vue +0 -24
- package/public/utils/e_image_util/author_avatar.png +0 -0
- package/public/utils/e_uuid_util/Document.vue +0 -15
- package/public/utils/e_uuid_util/Using.vue +0 -13
- package/public/utils/type_utils/Document.vue +0 -16
- package/public/utils/type_utils/TupleType.vue +0 -16
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { ENotification, EButton } from 'exploria-ui';
|
|
3
|
-
|
|
4
|
-
const showError = () => {
|
|
5
|
-
ENotification.error({
|
|
6
|
-
title: '错误提示',
|
|
7
|
-
message: '操作失败,请重试',
|
|
8
|
-
duration: 5,
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
const showWarning = () => {
|
|
13
|
-
ENotification.warning({
|
|
14
|
-
message: '警告信息,请注意',
|
|
15
|
-
placement: 'bottom-end',
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
const showInfo = () => {
|
|
20
|
-
ENotification.info({
|
|
21
|
-
title: '提示信息',
|
|
22
|
-
message: '这是一条提示信息',
|
|
23
|
-
duration: 4,
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const showClickable = () => {
|
|
28
|
-
ENotification.success({
|
|
29
|
-
message: '点击查看详情',
|
|
30
|
-
onClick: () => {
|
|
31
|
-
ENotification.info({
|
|
32
|
-
message: '通知被点击',
|
|
33
|
-
});
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
const showWithClose = () => {
|
|
39
|
-
ENotification.error({
|
|
40
|
-
title: '错误信息',
|
|
41
|
-
message: '这是一条需要手动关闭的错误信息',
|
|
42
|
-
duration: 0, // 0表示不自动关闭
|
|
43
|
-
showClose: true,
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
// 分组显示通知
|
|
48
|
-
const showNotificationsByDirection = (direction: string) => {
|
|
49
|
-
let positions: string[] = [];
|
|
50
|
-
|
|
51
|
-
switch (direction) {
|
|
52
|
-
case 'top':
|
|
53
|
-
positions = ['top-start', 'top', 'top-end'];
|
|
54
|
-
break;
|
|
55
|
-
case 'bottom':
|
|
56
|
-
positions = ['bottom-start', 'bottom', 'bottom-end'];
|
|
57
|
-
break;
|
|
58
|
-
case 'left':
|
|
59
|
-
positions = ['left-start', 'left', 'left-end'];
|
|
60
|
-
break;
|
|
61
|
-
case 'right':
|
|
62
|
-
positions = ['right-start', 'right', 'right-end'];
|
|
63
|
-
break;
|
|
64
|
-
case 'corners':
|
|
65
|
-
positions = ['top-start', 'top-end', 'bottom-start', 'bottom-end'];
|
|
66
|
-
break;
|
|
67
|
-
case 'center':
|
|
68
|
-
positions = ['top', 'bottom', 'left', 'right'];
|
|
69
|
-
break;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
positions.forEach((position, index) => {
|
|
73
|
-
setTimeout(() => {
|
|
74
|
-
ENotification.info({
|
|
75
|
-
title: `位置:${position}`,
|
|
76
|
-
message: `这是一条显示在${position}位置的通知`,
|
|
77
|
-
placement: position as any,
|
|
78
|
-
duration: 3,
|
|
79
|
-
});
|
|
80
|
-
}, index * 100);
|
|
81
|
-
});
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
// 位置列表配置
|
|
85
|
-
const positions = [
|
|
86
|
-
{ value: 'top-start', label: '左上 (top-start)' },
|
|
87
|
-
{ value: 'top', label: '顶部 (top)' },
|
|
88
|
-
{ value: 'top-end', label: '右上 (top-end)' },
|
|
89
|
-
{ value: 'left-start', label: '左上 (left-start)' },
|
|
90
|
-
{ value: 'left', label: '左侧 (left)' },
|
|
91
|
-
{ value: 'left-end', label: '左下 (left-end)' },
|
|
92
|
-
{ value: 'right-start', label: '右上 (right-start)' },
|
|
93
|
-
{ value: 'right', label: '右侧 (right)' },
|
|
94
|
-
{ value: 'right-end', label: '右下 (right-end)' },
|
|
95
|
-
{ value: 'bottom-start', label: '左下 (bottom-start)' },
|
|
96
|
-
{ value: 'bottom', label: '底部 (bottom)' },
|
|
97
|
-
{ value: 'bottom-end', label: '右下 (bottom-end)' },
|
|
98
|
-
];
|
|
99
|
-
|
|
100
|
-
// 按位置显示通知
|
|
101
|
-
const showNotificationByPosition = (position: string) => {
|
|
102
|
-
ENotification.info({
|
|
103
|
-
title: `位置:${position}`,
|
|
104
|
-
message: `这是一条显示在${position}位置的通知`,
|
|
105
|
-
placement: position as any,
|
|
106
|
-
duration: 4,
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
</script>
|
|
110
|
-
|
|
111
|
-
<template>
|
|
112
|
-
<div class="notification-demo">
|
|
113
|
-
<h2>基本使用</h2>
|
|
114
|
-
<div class="demo-buttons">
|
|
115
|
-
<EButton type="success" @click="ENotification.success('操作成功')">
|
|
116
|
-
成功通知
|
|
117
|
-
</EButton>
|
|
118
|
-
<EButton type="danger" @click="showError">错误通知</EButton>
|
|
119
|
-
<EButton type="warning" @click="showWarning">警告通知</EButton>
|
|
120
|
-
<EButton type="info" @click="showInfo">信息通知</EButton>
|
|
121
|
-
</div>
|
|
122
|
-
|
|
123
|
-
<h2>高级用法</h2>
|
|
124
|
-
<div class="demo-buttons">
|
|
125
|
-
<EButton @click="showClickable">点击事件</EButton>
|
|
126
|
-
<EButton @click="showWithClose">手动关闭</EButton>
|
|
127
|
-
</div>
|
|
128
|
-
|
|
129
|
-
<h2>方向分组演示</h2>
|
|
130
|
-
<div class="demo-buttons">
|
|
131
|
-
<EButton type="primary" @click="showNotificationsByDirection('top')"
|
|
132
|
-
>顶部方向</EButton
|
|
133
|
-
>
|
|
134
|
-
<EButton
|
|
135
|
-
type="primary"
|
|
136
|
-
@click="showNotificationsByDirection('bottom')"
|
|
137
|
-
>底部方向</EButton
|
|
138
|
-
>
|
|
139
|
-
<EButton
|
|
140
|
-
type="primary"
|
|
141
|
-
@click="showNotificationsByDirection('left')"
|
|
142
|
-
>左侧方向</EButton
|
|
143
|
-
>
|
|
144
|
-
<EButton
|
|
145
|
-
type="primary"
|
|
146
|
-
@click="showNotificationsByDirection('right')"
|
|
147
|
-
>右侧方向</EButton
|
|
148
|
-
>
|
|
149
|
-
<EButton
|
|
150
|
-
type="primary"
|
|
151
|
-
@click="showNotificationsByDirection('corners')"
|
|
152
|
-
>四个角落</EButton
|
|
153
|
-
>
|
|
154
|
-
<EButton
|
|
155
|
-
type="primary"
|
|
156
|
-
@click="showNotificationsByDirection('center')"
|
|
157
|
-
>各边中心</EButton
|
|
158
|
-
>
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
<h2>位置演示</h2>
|
|
162
|
-
<div class="demo-positions">
|
|
163
|
-
<div class="position-grid">
|
|
164
|
-
<EButton
|
|
165
|
-
v-for="position in positions"
|
|
166
|
-
:key="position.value"
|
|
167
|
-
type="info"
|
|
168
|
-
@click="showNotificationByPosition(position.value)"
|
|
169
|
-
>
|
|
170
|
-
{{ position.label }}
|
|
171
|
-
</EButton>
|
|
172
|
-
</div>
|
|
173
|
-
</div>
|
|
174
|
-
|
|
175
|
-
<div class="demo-tips">
|
|
176
|
-
<p>💡 提示:</p>
|
|
177
|
-
<ul>
|
|
178
|
-
<li>点击上方按钮查看不同类型的通知</li>
|
|
179
|
-
<li>通知默认3秒后自动关闭,可通过duration属性自定义</li>
|
|
180
|
-
<li>支持12种不同的位置设置,点击位置按钮查看效果</li>
|
|
181
|
-
<li>支持点击通知触发回调函数</li>
|
|
182
|
-
</ul>
|
|
183
|
-
</div>
|
|
184
|
-
</div>
|
|
185
|
-
</template>
|
|
186
|
-
|
|
187
|
-
<style lang="scss" scoped>
|
|
188
|
-
.notification-demo {
|
|
189
|
-
h2 {
|
|
190
|
-
margin: 20px 0 10px 0;
|
|
191
|
-
font-size: 18px;
|
|
192
|
-
font-weight: 600;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.demo-buttons {
|
|
196
|
-
display: flex;
|
|
197
|
-
flex-wrap: wrap;
|
|
198
|
-
gap: 10px;
|
|
199
|
-
margin-bottom: 20px;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.demo-positions {
|
|
203
|
-
margin: 20px 0;
|
|
204
|
-
padding: 20px;
|
|
205
|
-
background-color: var(--e-bg-color-light);
|
|
206
|
-
border: var(--e-border);
|
|
207
|
-
border-radius: var(--e-border-radius);
|
|
208
|
-
|
|
209
|
-
.position-grid {
|
|
210
|
-
display: grid;
|
|
211
|
-
grid-template-columns: repeat(4, 1fr);
|
|
212
|
-
gap: 12px;
|
|
213
|
-
|
|
214
|
-
@media (max-width: 768px) {
|
|
215
|
-
grid-template-columns: repeat(3, 1fr);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
@media (max-width: 480px) {
|
|
219
|
-
grid-template-columns: repeat(2, 1fr);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
:deep(.e-button) {
|
|
223
|
-
width: 100%;
|
|
224
|
-
justify-content: center;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.demo-tips {
|
|
230
|
-
background-color: var(--e-bg-color-light);
|
|
231
|
-
border: var(--e-border);
|
|
232
|
-
border-radius: var(--e-border-radius);
|
|
233
|
-
padding: var(--e-padding);
|
|
234
|
-
margin-top: var(--e-gap);
|
|
235
|
-
|
|
236
|
-
p {
|
|
237
|
-
margin: 0 0 var(--e-gap) 0;
|
|
238
|
-
font-weight: var(--e-font-weight-bold);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
ul {
|
|
242
|
-
margin: 0;
|
|
243
|
-
padding-left: 20px;
|
|
244
|
-
|
|
245
|
-
li {
|
|
246
|
-
margin: var(--e-gap-small) 0;
|
|
247
|
-
font-size: var(--e-font-size-medium);
|
|
248
|
-
color: var(--e-text-color);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
</style>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { EPopover, EButton } from 'exploria-ui';
|
|
3
|
-
|
|
4
|
-
type EPlacement = InstanceType<typeof EPopover>['placement'];
|
|
5
|
-
const placementList = [
|
|
6
|
-
['', 'top-start', 'top', 'top-end', ''],
|
|
7
|
-
['left-start', '', '', '', 'right-start'],
|
|
8
|
-
['left', '', '', '', 'right'],
|
|
9
|
-
['left-end', '', '', '', 'right-end'],
|
|
10
|
-
['', 'bottom-start', 'bottom', 'bottom-end', ''],
|
|
11
|
-
] as const;
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<div class="base-usage">
|
|
16
|
-
<div class="row" v-for="(row, index) of placementList" :key="index">
|
|
17
|
-
<template v-for="placement of row">
|
|
18
|
-
<EPopover
|
|
19
|
-
v-if="placement.length"
|
|
20
|
-
:placement="placement as EPlacement"
|
|
21
|
-
trigger="click"
|
|
22
|
-
:key="placement"
|
|
23
|
-
>
|
|
24
|
-
<EButton>{{ placement }}</EButton>
|
|
25
|
-
<template #content>
|
|
26
|
-
<div>{{ placement }} 方向的气泡卡片内容</div>
|
|
27
|
-
</template>
|
|
28
|
-
</EPopover>
|
|
29
|
-
<div v-else class="empty"></div>
|
|
30
|
-
</template>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<style scoped lang="scss">
|
|
36
|
-
.base-usage {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
gap: 20px;
|
|
40
|
-
|
|
41
|
-
.row {
|
|
42
|
-
display: flex;
|
|
43
|
-
gap: 20px;
|
|
44
|
-
justify-content: space-between;
|
|
45
|
-
|
|
46
|
-
.empty {
|
|
47
|
-
width: 100px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
</style>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { EPopover, EButton } from 'exploria-ui';
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div class="demo-row">
|
|
7
|
-
<EPopover placement="bottom" trigger="contextmenu">
|
|
8
|
-
<EButton>右键显示</EButton>
|
|
9
|
-
<template #content>
|
|
10
|
-
<div>
|
|
11
|
-
<div style="padding: 5px 0; cursor: pointer">菜单项 1</div>
|
|
12
|
-
<div style="padding: 5px 0; cursor: pointer">菜单项 2</div>
|
|
13
|
-
<div style="padding: 5px 0; cursor: pointer">菜单项 3</div>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
</EPopover>
|
|
17
|
-
</div>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<style scoped>
|
|
21
|
-
.demo-row {
|
|
22
|
-
display: flex;
|
|
23
|
-
gap: 10px;
|
|
24
|
-
flex-wrap: wrap;
|
|
25
|
-
margin-bottom: 20px;
|
|
26
|
-
}
|
|
27
|
-
</style>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { EPopover, EButton } from 'exploria-ui';
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div class="demo-row">
|
|
7
|
-
<EPopover placement="top" trigger="click">
|
|
8
|
-
<EButton type="warning">自定义内容</EButton>
|
|
9
|
-
<template #content>
|
|
10
|
-
<div class="custom-content">
|
|
11
|
-
<h4>自定义标题</h4>
|
|
12
|
-
<p>这是一段自定义的内容,可以包含任意 HTML 元素。</p>
|
|
13
|
-
<EButton type="primary" size="small">按钮</EButton>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
</EPopover>
|
|
17
|
-
</div>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<style scoped>
|
|
21
|
-
.demo-row {
|
|
22
|
-
display: flex;
|
|
23
|
-
gap: 10px;
|
|
24
|
-
flex-wrap: wrap;
|
|
25
|
-
margin-bottom: 20px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.custom-content {
|
|
29
|
-
min-width: 200px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.custom-content h4 {
|
|
33
|
-
margin-top: 0;
|
|
34
|
-
margin-bottom: 10px;
|
|
35
|
-
font-size: 16px;
|
|
36
|
-
font-weight: bold;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.custom-content p {
|
|
40
|
-
margin-bottom: 10px;
|
|
41
|
-
line-height: 1.5;
|
|
42
|
-
}
|
|
43
|
-
</style>
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { EPopover, EButton } from 'exploria-ui';
|
|
3
|
-
import { ref } from 'vue';
|
|
4
|
-
|
|
5
|
-
const customOpen = ref(false);
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<div class="demo-row">
|
|
10
|
-
<EPopover
|
|
11
|
-
placement="top"
|
|
12
|
-
:open="customOpen"
|
|
13
|
-
@update:open="customOpen = $event"
|
|
14
|
-
>
|
|
15
|
-
<EButton type="primary" @click="customOpen = !customOpen"
|
|
16
|
-
>手动控制</EButton
|
|
17
|
-
>
|
|
18
|
-
<template #content>
|
|
19
|
-
<div>这是手动控制的弹出框</div>
|
|
20
|
-
</template>
|
|
21
|
-
</EPopover>
|
|
22
|
-
<EButton
|
|
23
|
-
type="info"
|
|
24
|
-
@click="customOpen = !customOpen"
|
|
25
|
-
style="margin-left: 10px"
|
|
26
|
-
>
|
|
27
|
-
{{ customOpen ? '关闭' : '打开' }}
|
|
28
|
-
</EButton>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
|
|
32
|
-
<style scoped>
|
|
33
|
-
.demo-row {
|
|
34
|
-
display: flex;
|
|
35
|
-
gap: 10px;
|
|
36
|
-
flex-wrap: wrap;
|
|
37
|
-
align-items: center;
|
|
38
|
-
}
|
|
39
|
-
</style>
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
-
import PageLayout from '@/components/PageLayout.vue';
|
|
4
|
-
|
|
5
|
-
// 导入示例文件
|
|
6
|
-
import basicUsageSrc from './BasicUsage.vue?raw';
|
|
7
|
-
import hoverTriggerSrc from './HoverTrigger.vue?raw';
|
|
8
|
-
import sizeVariantsSrc from './SizeVariants.vue?raw';
|
|
9
|
-
import customContentSrc from './CustomContent.vue?raw';
|
|
10
|
-
import contextmenuTriggerSrc from './ContextmenuTrigger.vue?raw';
|
|
11
|
-
import customTriggerSrc from './CustomTrigger.vue?raw';
|
|
12
|
-
|
|
13
|
-
import BasicUsage from './BasicUsage.vue';
|
|
14
|
-
import HoverTrigger from './HoverTrigger.vue';
|
|
15
|
-
import SizeVariants from './SizeVariants.vue';
|
|
16
|
-
import CustomContent from './CustomContent.vue';
|
|
17
|
-
import ContextmenuTrigger from './ContextmenuTrigger.vue';
|
|
18
|
-
import CustomTrigger from './CustomTrigger.vue';
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<template>
|
|
22
|
-
<PageLayout>
|
|
23
|
-
<DemoBox title="介绍">
|
|
24
|
-
<p>
|
|
25
|
-
EPopover
|
|
26
|
-
是一个功能丰富的弹出框组件,支持多种触发方式和复杂内容展示。
|
|
27
|
-
</p>
|
|
28
|
-
<p><strong>与 ETooltip 的区别:</strong></p>
|
|
29
|
-
<ul>
|
|
30
|
-
<li>
|
|
31
|
-
<strong>触发方式:</strong>EPopover 支持
|
|
32
|
-
hover、click、contextmenu、custom 多种触发方式;ETooltip
|
|
33
|
-
仅支持 hover 触发。
|
|
34
|
-
</li>
|
|
35
|
-
<li>
|
|
36
|
-
<strong>用途:</strong>EPopover
|
|
37
|
-
用于展示复杂内容,可以包含自定义组件和交互元素;ETooltip
|
|
38
|
-
主要用于显示简单文本提示。
|
|
39
|
-
</li>
|
|
40
|
-
<li>
|
|
41
|
-
<strong>功能复杂度:</strong>EPopover
|
|
42
|
-
功能更丰富,支持手动控制、多种尺寸和位置等;ETooltip
|
|
43
|
-
功能相对简单,专注于提示展示。
|
|
44
|
-
</li>
|
|
45
|
-
</ul>
|
|
46
|
-
</DemoBox>
|
|
47
|
-
|
|
48
|
-
<DemoBox :code="basicUsageSrc" title="基本用法">
|
|
49
|
-
<BasicUsage />
|
|
50
|
-
<template #description>
|
|
51
|
-
支持四种基本方向:上、下、左、右。
|
|
52
|
-
</template>
|
|
53
|
-
</DemoBox>
|
|
54
|
-
|
|
55
|
-
<DemoBox :code="hoverTriggerSrc" title="悬停触发">
|
|
56
|
-
<HoverTrigger />
|
|
57
|
-
<template #description> 鼠标悬停在元素上时显示弹出框。 </template>
|
|
58
|
-
</DemoBox>
|
|
59
|
-
|
|
60
|
-
<DemoBox :code="sizeVariantsSrc" title="不同尺寸">
|
|
61
|
-
<SizeVariants />
|
|
62
|
-
<template #description> 支持大、中、小三种尺寸。 </template>
|
|
63
|
-
</DemoBox>
|
|
64
|
-
|
|
65
|
-
<DemoBox :code="customContentSrc" title="自定义内容">
|
|
66
|
-
<CustomContent />
|
|
67
|
-
<template #description> 弹出框内可以包含任意自定义内容。 </template>
|
|
68
|
-
</DemoBox>
|
|
69
|
-
|
|
70
|
-
<DemoBox :code="contextmenuTriggerSrc" title="右键触发">
|
|
71
|
-
<ContextmenuTrigger />
|
|
72
|
-
<template #description>
|
|
73
|
-
右键点击元素时显示弹出框,可用于实现上下文菜单。
|
|
74
|
-
</template>
|
|
75
|
-
</DemoBox>
|
|
76
|
-
|
|
77
|
-
<DemoBox :code="customTriggerSrc" title="手动控制">
|
|
78
|
-
<CustomTrigger />
|
|
79
|
-
<template #description>
|
|
80
|
-
通过 v-model:open 手动控制弹出框的显示和隐藏。
|
|
81
|
-
</template>
|
|
82
|
-
</DemoBox>
|
|
83
|
-
</PageLayout>
|
|
84
|
-
</template>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { EPopover, EButton } from 'exploria-ui';
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div class="demo-row">
|
|
7
|
-
<EPopover placement="top" trigger="hover">
|
|
8
|
-
<EButton>悬停显示(上)</EButton>
|
|
9
|
-
<template #content>
|
|
10
|
-
<div>这是顶部弹出框的内容</div>
|
|
11
|
-
</template>
|
|
12
|
-
</EPopover>
|
|
13
|
-
|
|
14
|
-
<EPopover placement="bottom" trigger="hover">
|
|
15
|
-
<EButton>悬停显示(下)</EButton>
|
|
16
|
-
<template #content>
|
|
17
|
-
<div>这是底部弹出框的内容</div>
|
|
18
|
-
</template>
|
|
19
|
-
</EPopover>
|
|
20
|
-
</div>
|
|
21
|
-
</template>
|
|
22
|
-
|
|
23
|
-
<style scoped>
|
|
24
|
-
.demo-row {
|
|
25
|
-
display: flex;
|
|
26
|
-
gap: 10px;
|
|
27
|
-
flex-wrap: wrap;
|
|
28
|
-
}
|
|
29
|
-
</style>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { EPopover, EButton } from 'exploria-ui';
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div class="demo-row">
|
|
7
|
-
<EPopover placement="top" trigger="click" size="small">
|
|
8
|
-
<EButton>小尺寸</EButton>
|
|
9
|
-
<template #content>
|
|
10
|
-
<div>这是小尺寸弹出框的内容</div>
|
|
11
|
-
</template>
|
|
12
|
-
</EPopover>
|
|
13
|
-
|
|
14
|
-
<EPopover placement="top" trigger="click" size="medium">
|
|
15
|
-
<EButton>默认尺寸</EButton>
|
|
16
|
-
<template #content>
|
|
17
|
-
<div>这是默认尺寸弹出框的内容</div>
|
|
18
|
-
</template>
|
|
19
|
-
</EPopover>
|
|
20
|
-
|
|
21
|
-
<EPopover placement="top" trigger="click" size="large">
|
|
22
|
-
<EButton>大尺寸</EButton>
|
|
23
|
-
<template #content>
|
|
24
|
-
<div>这是大尺寸弹出框的内容</div>
|
|
25
|
-
</template>
|
|
26
|
-
</EPopover>
|
|
27
|
-
</div>
|
|
28
|
-
</template>
|
|
29
|
-
|
|
30
|
-
<style scoped>
|
|
31
|
-
.demo-row {
|
|
32
|
-
display: flex;
|
|
33
|
-
gap: 10px;
|
|
34
|
-
flex-wrap: wrap;
|
|
35
|
-
}
|
|
36
|
-
</style>
|