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,181 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import Sortable from 'sortablejs';
|
|
3
|
+
import { onMounted, ref, useTemplateRef } from 'vue';
|
|
4
|
+
|
|
5
|
+
// 左右列表数据源
|
|
6
|
+
const leftList = ref(['A', 'B', 'C', 'D', 'E', 'F']);
|
|
7
|
+
const rightList = ref(['G', 'H', 'I', 'J', 'K', 'L']);
|
|
8
|
+
|
|
9
|
+
const shuttleFrameRef = useTemplateRef<HTMLDivElement>('shuttleFrameRef');
|
|
10
|
+
onMounted(() => {
|
|
11
|
+
// 获取左右列表DOM元素
|
|
12
|
+
const leftEl = shuttleFrameRef.value!.querySelector(
|
|
13
|
+
'.left'
|
|
14
|
+
) as HTMLDivElement;
|
|
15
|
+
const rightEl = shuttleFrameRef.value!.querySelector(
|
|
16
|
+
'.right'
|
|
17
|
+
) as HTMLDivElement;
|
|
18
|
+
// 配置Sortable组(实现跨列表拖拽)
|
|
19
|
+
|
|
20
|
+
const sortableGroup = {
|
|
21
|
+
name: 'list-group', // 相同name的容器可互相拖拽
|
|
22
|
+
pull: true, // 允许从当前容器拖出
|
|
23
|
+
put: true, // 允许拖入当前容器
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const option = {
|
|
27
|
+
group: sortableGroup,
|
|
28
|
+
sort: true, // boolean 定义是否列表单元是否可以在列表容器内进行拖拽排序
|
|
29
|
+
animation: 150,
|
|
30
|
+
chosenClass: 'sortable-chosen', // 被选中项的 css 类名
|
|
31
|
+
forceFallback: true, // 禁用 HTML5 原生拖拽行为
|
|
32
|
+
fallbackClass: 'sortable-fallback', // 当使用forceFallback的时候,被复制的dom的css类名
|
|
33
|
+
fallbackOnBody: true, // 将cloned DOM 元素挂到body元素上。
|
|
34
|
+
handle: '.iconfont',
|
|
35
|
+
scroll: true, // 开启拖拽时的自动滚动
|
|
36
|
+
scrollSensitivity: 30, // px, how near the mouse must be to an edge to start scrolling.
|
|
37
|
+
scrollSpeed: 1, // px
|
|
38
|
+
};
|
|
39
|
+
// 初始化左侧列表Sortable
|
|
40
|
+
new Sortable(leftEl, {
|
|
41
|
+
...option,
|
|
42
|
+
onEnd: (evt) => {
|
|
43
|
+
// 从左侧拖出到右侧
|
|
44
|
+
if (evt.to === rightEl) {
|
|
45
|
+
// 移除原列表项
|
|
46
|
+
const movedItem = leftList.value.splice(evt.oldIndex!, 1)[0];
|
|
47
|
+
// 添加到目标列表
|
|
48
|
+
rightList.value.splice(evt.newIndex!, 0, movedItem);
|
|
49
|
+
} else {
|
|
50
|
+
// 左侧内部排序(调整数组顺序)
|
|
51
|
+
const movedItem = leftList.value.splice(evt.oldIndex!, 1)[0];
|
|
52
|
+
leftList.value.splice(evt.newIndex!, 0, movedItem);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
// 初始化右侧列表Sortable
|
|
58
|
+
new Sortable(rightEl, {
|
|
59
|
+
...option,
|
|
60
|
+
onEnd: (evt) => {
|
|
61
|
+
// 从右侧拖出到左侧
|
|
62
|
+
if (evt.to === leftEl) {
|
|
63
|
+
const movedItem = rightList.value.splice(evt.oldIndex!, 1)[0];
|
|
64
|
+
leftList.value.splice(evt.newIndex!, 0, movedItem);
|
|
65
|
+
} else {
|
|
66
|
+
// 右侧内部排序
|
|
67
|
+
const movedItem = rightList.value.splice(evt.oldIndex!, 1)[0];
|
|
68
|
+
rightList.value.splice(evt.newIndex!, 0, movedItem);
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
</script>
|
|
74
|
+
|
|
75
|
+
<template>
|
|
76
|
+
<div class="shuttle-frame" ref="shuttleFrameRef">
|
|
77
|
+
{{ leftList }}<br />
|
|
78
|
+
{{ rightList }}<br />
|
|
79
|
+
|
|
80
|
+
<div class="flex-box">
|
|
81
|
+
<!-- 左侧列表 -->
|
|
82
|
+
<div class="list-container left">
|
|
83
|
+
<div class="item" v-for="item of leftList" :key="item">
|
|
84
|
+
<span class="iconfont icon-move" />
|
|
85
|
+
|
|
86
|
+
{{ item }}
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<!-- 右侧列表 -->
|
|
91
|
+
<div class="list-container right">
|
|
92
|
+
<div class="item" v-for="item of rightList" :key="item">
|
|
93
|
+
<span class="iconfont icon-move" />
|
|
94
|
+
|
|
95
|
+
{{ item }}
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</template>
|
|
101
|
+
|
|
102
|
+
<style scoped lang="scss">
|
|
103
|
+
@font-face {
|
|
104
|
+
font-family: 'iconfont-shuttle-frame'; /* Project id 5031666 */
|
|
105
|
+
src:
|
|
106
|
+
url('iconfont/iconfont.woff2?t=1759854194921') format('woff2'),
|
|
107
|
+
url('iconfont/iconfont.woff?t=1759854194921') format('woff'),
|
|
108
|
+
url('iconfont/iconfont.ttf?t=1759854194921') format('truetype');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.iconfont {
|
|
112
|
+
font-family: 'iconfont-shuttle-frame' !important;
|
|
113
|
+
font-size: 16px;
|
|
114
|
+
font-style: normal;
|
|
115
|
+
-webkit-font-smoothing: antialiased;
|
|
116
|
+
-moz-osx-font-smoothing: grayscale;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.icon-move:before {
|
|
120
|
+
content: '\ea28';
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.shuttle-frame {
|
|
124
|
+
.flex-box {
|
|
125
|
+
display: flex;
|
|
126
|
+
gap: 20px;
|
|
127
|
+
|
|
128
|
+
.list-container {
|
|
129
|
+
flex: 1;
|
|
130
|
+
height: 300px;
|
|
131
|
+
border: solid 1px #ccc;
|
|
132
|
+
border-radius: 4px;
|
|
133
|
+
padding: 10px;
|
|
134
|
+
background-color: #f9f9f9;
|
|
135
|
+
overflow: auto;
|
|
136
|
+
|
|
137
|
+
.item {
|
|
138
|
+
padding: 8px 12px;
|
|
139
|
+
margin-bottom: 8px;
|
|
140
|
+
background-color: #fff;
|
|
141
|
+
border: 1px solid #eee;
|
|
142
|
+
border-radius: 4px;
|
|
143
|
+
transition: all 0.15s;
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
user-select: none;
|
|
147
|
+
gap: 8px;
|
|
148
|
+
|
|
149
|
+
.iconfont {
|
|
150
|
+
cursor: grab;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:last-child {
|
|
154
|
+
margin-bottom: 0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&:hover {
|
|
158
|
+
background-color: #f0f7ff;
|
|
159
|
+
border-color: #409eff;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.sortable-chosen {
|
|
164
|
+
opacity: 0;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:global(.sortable-fallback) {
|
|
168
|
+
padding: 8px 12px;
|
|
169
|
+
margin-bottom: 8px;
|
|
170
|
+
background-color: #fff;
|
|
171
|
+
border: 1px solid #eee;
|
|
172
|
+
border-radius: 4px;
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
user-select: none;
|
|
176
|
+
gap: 8px;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
</style>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { onMounted, ref, useTemplateRef } from 'vue';
|
|
3
|
+
import Sortable from 'sortablejs';
|
|
4
|
+
|
|
5
|
+
const using = useTemplateRef<HTMLElement>('using');
|
|
6
|
+
|
|
7
|
+
const list = ref(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j']);
|
|
8
|
+
|
|
9
|
+
onMounted(() => {
|
|
10
|
+
new Sortable(using.value!.querySelector('.flex-box') as HTMLElement, {
|
|
11
|
+
animation: 150,
|
|
12
|
+
chosenClass: 'sortable-chosen',
|
|
13
|
+
forceFallback: true,
|
|
14
|
+
fallbackClass: 'sortable-fallback',
|
|
15
|
+
fallbackOnBody: true,
|
|
16
|
+
onEnd: (evt) => {
|
|
17
|
+
if (evt.oldIndex && evt.newIndex) {
|
|
18
|
+
const item = list.value.splice(evt.oldIndex, 1)[0]!;
|
|
19
|
+
list.value.splice(evt.newIndex, 0, item);
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
onMove: (evt) => {
|
|
23
|
+
const target = evt.dragged as HTMLElement;
|
|
24
|
+
target.style.opacity = '0.5';
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<template>
|
|
31
|
+
<div class="using" ref="using">
|
|
32
|
+
{{ list }}
|
|
33
|
+
<div class="flex-box">
|
|
34
|
+
<div class="item" v-for="item of list" :key="item">
|
|
35
|
+
{{ item }}
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<style scoped lang="scss">
|
|
42
|
+
.using {
|
|
43
|
+
.flex-box {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: row;
|
|
46
|
+
|
|
47
|
+
.item {
|
|
48
|
+
padding: 10px;
|
|
49
|
+
background: #ea8383;
|
|
50
|
+
margin: 10px;
|
|
51
|
+
display: grid;
|
|
52
|
+
place-items: center;
|
|
53
|
+
user-select: none;
|
|
54
|
+
cursor: move;
|
|
55
|
+
|
|
56
|
+
&.sortable-chosen {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:global(.sortable-fallback) {
|
|
61
|
+
background-color: #ea8383;
|
|
62
|
+
display: grid;
|
|
63
|
+
place-items: center;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
</style>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import Using from './Using.vue';
|
|
4
|
+
import UsingRaw from './Using.vue?raw';
|
|
5
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<PageLayout>
|
|
10
|
+
<DemoBox :code="UsingRaw" :libs="['pinyin']" title="基本用法">
|
|
11
|
+
<Using />
|
|
12
|
+
<template #description>
|
|
13
|
+
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
|
|
14
|
+
</template>
|
|
15
|
+
</DemoBox>
|
|
16
|
+
</PageLayout>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed, ref } from 'vue';
|
|
3
|
+
import { pinyin } from 'pinyin';
|
|
4
|
+
import { ECheckbox, EInput, ESelect } from 'exploria-ui';
|
|
5
|
+
|
|
6
|
+
const text = ref('汉字转拼音');
|
|
7
|
+
|
|
8
|
+
const styleVal = ref<string>('normal'); // 对应 pinyin 4.0.0 版本的 style 选项
|
|
9
|
+
const enableSegment = ref(true); // 分词(降低多音字错误)
|
|
10
|
+
|
|
11
|
+
const result = computed<string[]>(() => {
|
|
12
|
+
if (!text.value.trim()) return [];
|
|
13
|
+
|
|
14
|
+
// 不是中文的 全部替换 为 ''
|
|
15
|
+
const res = pinyin(text.value, {
|
|
16
|
+
segment: enableSegment.value,
|
|
17
|
+
heteronym: false, // 是否启用多音字模式,默认不启用
|
|
18
|
+
style: styleVal.value as any,
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
return res.map((item) => item[0]!);
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
<template>
|
|
25
|
+
<section>
|
|
26
|
+
<div style="display: flex; gap: 15px; margin-bottom: 15px">
|
|
27
|
+
<EInput
|
|
28
|
+
v-model="text"
|
|
29
|
+
type="text"
|
|
30
|
+
rows="4"
|
|
31
|
+
placeholder="请输入汉字(自动过滤非汉字)"
|
|
32
|
+
/>
|
|
33
|
+
|
|
34
|
+
<ESelect
|
|
35
|
+
v-model="styleVal"
|
|
36
|
+
:items="[
|
|
37
|
+
{
|
|
38
|
+
value: 'normal',
|
|
39
|
+
label: '无声调',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: 'tone',
|
|
43
|
+
label: '带声调',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
value: 'tone2',
|
|
47
|
+
label: '数字标声调',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
value: 'first-letter',
|
|
51
|
+
label: '首字母',
|
|
52
|
+
},
|
|
53
|
+
]"
|
|
54
|
+
/>
|
|
55
|
+
|
|
56
|
+
<ECheckbox v-model="enableSegment">
|
|
57
|
+
分词(降低多音字错误)
|
|
58
|
+
</ECheckbox>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<p>
|
|
62
|
+
<!-- replace(/[^\p{L}\p{N}]/gu, '') 去除标点符号 -->
|
|
63
|
+
<span
|
|
64
|
+
v-for="(zi, index) of text"
|
|
65
|
+
:key="zi"
|
|
66
|
+
:data-pinyin="result[index]"
|
|
67
|
+
>
|
|
68
|
+
{{ zi }}
|
|
69
|
+
</span>
|
|
70
|
+
</p>
|
|
71
|
+
</section>
|
|
72
|
+
</template>
|
|
73
|
+
|
|
74
|
+
<style scoped lang="scss">
|
|
75
|
+
section {
|
|
76
|
+
.options {
|
|
77
|
+
margin: 8px 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
label {
|
|
81
|
+
margin-right: 16px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
p {
|
|
85
|
+
span {
|
|
86
|
+
position: relative;
|
|
87
|
+
font-size: 15px;
|
|
88
|
+
padding: 10px;
|
|
89
|
+
display: inline-block;
|
|
90
|
+
|
|
91
|
+
&::after {
|
|
92
|
+
content: attr(data-pinyin);
|
|
93
|
+
display: block;
|
|
94
|
+
position: absolute;
|
|
95
|
+
left: 50%;
|
|
96
|
+
top: -5px;
|
|
97
|
+
color: #ff1818;
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
transform: translateX(-50%);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg class="example">
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="gradient" x1="0" y1="0" x2="1" y2="1">
|
|
5
|
+
<stop offset="0%" stop-color="red" />
|
|
6
|
+
<stop offset="100%" stop-color="blue" />
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect x="10" y="10" width="100" height="100" fill="url(#gradient)" />
|
|
10
|
+
<circle r="20" cx="150" cy="50" fill="url(#gradient)" />
|
|
11
|
+
</svg>
|
|
12
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import BasicUsing from './BasicUsing.vue';
|
|
4
|
+
import BasicUsingRaw from './BasicUsing.vue?raw';
|
|
5
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
+
import Image from './FeTurbulence/example/Image.vue';
|
|
7
|
+
import ImageCode from './FeTurbulence/example/Image.vue?raw';
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<PageLayout>
|
|
12
|
+
<DemoBox :code="BasicUsingRaw" :libs="[]" title="基本用法">
|
|
13
|
+
<BasicUsing />
|
|
14
|
+
<template #description>
|
|
15
|
+
可在 <defs />中定义渐变、图案、掩码等,然后在<svg
|
|
16
|
+
/>中引用。
|
|
17
|
+
</template>
|
|
18
|
+
</DemoBox>
|
|
19
|
+
<DemoBox :code="ImageCode" :libs="['gsap']" title="故障波纹效果">
|
|
20
|
+
<Image />
|
|
21
|
+
<template #description> 故障波纹效果 </template>
|
|
22
|
+
</DemoBox>
|
|
23
|
+
</PageLayout>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* 位置替换滤镜
|
|
4
|
+
*/
|
|
5
|
+
</script>
|
|
6
|
+
<template>
|
|
7
|
+
<div class="feTurbulence">
|
|
8
|
+
<svg>
|
|
9
|
+
<defs>
|
|
10
|
+
<filter id="turbulence">
|
|
11
|
+
<!-- 位置替换滤镜 -->
|
|
12
|
+
<feTurbulence
|
|
13
|
+
type="fractalNoise"
|
|
14
|
+
baseFrequency=".01"
|
|
15
|
+
numOctaves="10"
|
|
16
|
+
/>
|
|
17
|
+
<!-- 位置替换滤镜、映射置换滤镜、像素位移滤镜 / 错位滤镜 -->
|
|
18
|
+
<feDisplacementMap in="SourceGraphic" scale="240" />
|
|
19
|
+
</filter>
|
|
20
|
+
</defs>
|
|
21
|
+
</svg>
|
|
22
|
+
<img
|
|
23
|
+
src="../../../../../../../assets/author_avatar.png"
|
|
24
|
+
style="filter: url(#turbulence)"
|
|
25
|
+
alt=""
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<style scoped lang="scss"></style>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { onMounted, useTemplateRef } from 'vue';
|
|
3
|
+
import gsap from 'gsap';
|
|
4
|
+
|
|
5
|
+
const boxRef = useTemplateRef<HTMLElement>('box');
|
|
6
|
+
const tl = gsap.timeline();
|
|
7
|
+
onMounted(() => {
|
|
8
|
+
tl.to(boxRef.value!, { x: 200, duration: 1, rotation: 360 });
|
|
9
|
+
});
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<div class="example">
|
|
14
|
+
<svg>
|
|
15
|
+
<defs>
|
|
16
|
+
<filter id="blur">
|
|
17
|
+
<feGaussianBlur stdDeviation="5" />
|
|
18
|
+
</filter>
|
|
19
|
+
</defs>
|
|
20
|
+
</svg>
|
|
21
|
+
<img src="../../../../../../../../assets/author_avatar.png" alt="" />
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<style scoped lang="scss">
|
|
26
|
+
.example {
|
|
27
|
+
width: 100px;
|
|
28
|
+
height: 100px;
|
|
29
|
+
background-color: coral;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
color: white;
|
|
34
|
+
|
|
35
|
+
img {
|
|
36
|
+
width: 100px;
|
|
37
|
+
height: 100px;
|
|
38
|
+
filter: url(#blur);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
</style>
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* 湍流滤镜
|
|
4
|
+
*/
|
|
5
|
+
</script>
|
|
6
|
+
<template>
|
|
7
|
+
<div class="feTurbulence">
|
|
8
|
+
<svg>
|
|
9
|
+
<defs>
|
|
10
|
+
<filter id="turbulence">
|
|
11
|
+
<!-- 湍流滤镜 -->
|
|
12
|
+
<feTurbulence
|
|
13
|
+
type="fractalNoise"
|
|
14
|
+
baseFrequency=".01"
|
|
15
|
+
numOctaves="10"
|
|
16
|
+
/>
|
|
17
|
+
</filter>
|
|
18
|
+
</defs>
|
|
19
|
+
</svg>
|
|
20
|
+
<img
|
|
21
|
+
src="../../../../../../../assets/author_avatar.png"
|
|
22
|
+
style="filter: url(#turbulence)"
|
|
23
|
+
alt=""
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<style scoped lang="scss"></style>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { onMounted, useTemplateRef } from 'vue';
|
|
3
|
+
import gsap from 'gsap';
|
|
4
|
+
|
|
5
|
+
const boxRef = useTemplateRef<HTMLElement>('box');
|
|
6
|
+
const tl = gsap.timeline();
|
|
7
|
+
onMounted(() => {
|
|
8
|
+
tl.to(boxRef.value!, { x: 200, duration: 1, rotation: 360 });
|
|
9
|
+
});
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<div class="example">
|
|
14
|
+
<svg>
|
|
15
|
+
<defs>
|
|
16
|
+
<filter id="blur">
|
|
17
|
+
<feGaussianBlur stdDeviation="5" />
|
|
18
|
+
</filter>
|
|
19
|
+
</defs>
|
|
20
|
+
</svg>
|
|
21
|
+
<img src="../../../../../../../../assets/author_avatar.png" alt="" />
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<style scoped lang="scss">
|
|
26
|
+
.example {
|
|
27
|
+
width: 100px;
|
|
28
|
+
height: 100px;
|
|
29
|
+
background-color: coral;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
color: white;
|
|
34
|
+
|
|
35
|
+
img {
|
|
36
|
+
width: 100px;
|
|
37
|
+
height: 100px;
|
|
38
|
+
filter: url(#blur);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
</style>
|
|
File without changes
|
package/public/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234
ADDED
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
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 :code="src" :libs="[]" title="基本用法">
|
|
11
|
+
<Using />
|
|
12
|
+
<template #description> Three.js 基础用法</template>
|
|
13
|
+
</DemoBox>
|
|
14
|
+
</PageLayout>
|
|
15
|
+
</template>
|