exploria-ui-mcp-server 2.1.4 → 2.2.6
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 +3346 -2933
- package/dist/knowledge/vector-db.json +120728 -0
- package/package.json +5 -5
- 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,195 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { onMounted, useTemplateRef } from 'vue';
|
|
3
|
-
import { gsap } from 'gsap';
|
|
4
|
-
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
|
5
|
-
|
|
6
|
-
const usingRef = useTemplateRef<HTMLElement>('using');
|
|
7
|
-
gsap.registerPlugin(ScrollTrigger);
|
|
8
|
-
|
|
9
|
-
onMounted(() => {
|
|
10
|
-
// 创建立方体展开动画时间线
|
|
11
|
-
const timeline = gsap.timeline({
|
|
12
|
-
scrollTrigger: {
|
|
13
|
-
scroller: usingRef.value!.querySelector('.content'),
|
|
14
|
-
trigger: usingRef.value!.querySelector('.content'),
|
|
15
|
-
start: 'top top',
|
|
16
|
-
end: 'bottom top',
|
|
17
|
-
scrub: true, // 根据滚动位置控制动画速度
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
// 展开动画:只用 top/left 移动,不动 transform
|
|
22
|
-
timeline
|
|
23
|
-
.to(usingRef.value!.querySelector('.cube'), {
|
|
24
|
-
rotationX: 45,
|
|
25
|
-
y: 100,
|
|
26
|
-
duration: 2,
|
|
27
|
-
ease: 'power1.inOut',
|
|
28
|
-
})
|
|
29
|
-
.to(usingRef.value!.querySelector('.face.front'), {
|
|
30
|
-
rotationY: 0,
|
|
31
|
-
duration: 1,
|
|
32
|
-
ease: 'power1.inOut',
|
|
33
|
-
})
|
|
34
|
-
.to(usingRef.value!.querySelector('.face.right'), {
|
|
35
|
-
rotationY: 0,
|
|
36
|
-
duration: 2,
|
|
37
|
-
ease: 'power1.inOut',
|
|
38
|
-
})
|
|
39
|
-
.to(
|
|
40
|
-
usingRef.value!.querySelector('.cube'),
|
|
41
|
-
{
|
|
42
|
-
x: -100,
|
|
43
|
-
duration: 2,
|
|
44
|
-
ease: 'power1.inOut',
|
|
45
|
-
},
|
|
46
|
-
'-=1'
|
|
47
|
-
)
|
|
48
|
-
.to(usingRef.value!.querySelector('.face.top'), {
|
|
49
|
-
rotationX: 0,
|
|
50
|
-
duration: 1,
|
|
51
|
-
ease: 'power1.inOut',
|
|
52
|
-
})
|
|
53
|
-
.to(usingRef.value!.querySelector('.face.bottom'), {
|
|
54
|
-
rotationX: 0,
|
|
55
|
-
duration: 1,
|
|
56
|
-
ease: 'power1.inOut',
|
|
57
|
-
})
|
|
58
|
-
.to(usingRef.value!.querySelector('.face.left'), {
|
|
59
|
-
rotationY: 0,
|
|
60
|
-
duration: 1,
|
|
61
|
-
ease: 'power1.inOut',
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<template>
|
|
67
|
-
<div class="using" ref="using">
|
|
68
|
-
<div class="cube">
|
|
69
|
-
<div class="face back">后面</div>
|
|
70
|
-
<div class="face right">
|
|
71
|
-
<div class="relative-box">
|
|
72
|
-
右面
|
|
73
|
-
<div class="face front">前面</div>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="face left">左面</div>
|
|
77
|
-
<div class="face top">上面</div>
|
|
78
|
-
<div class="face bottom">下面</div>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
<div class="content">
|
|
82
|
-
<div class="content-section">
|
|
83
|
-
<div>
|
|
84
|
-
<h1>3D立方体展开动画</h1>
|
|
85
|
-
<p>继续滚动查看神奇效果</p>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
<div class="content-section">
|
|
90
|
-
<div>
|
|
91
|
-
<h2>观察每个面的运动</h2>
|
|
92
|
-
<p>每个面都会平滑地展开到指定位置</p>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
|
-
</template>
|
|
98
|
-
|
|
99
|
-
<style scoped lang="scss">
|
|
100
|
-
.using {
|
|
101
|
-
height: 500px;
|
|
102
|
-
position: relative;
|
|
103
|
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
104
|
-
display: grid;
|
|
105
|
-
place-items: center;
|
|
106
|
-
|
|
107
|
-
.cube {
|
|
108
|
-
$size: 180px;
|
|
109
|
-
width: $size;
|
|
110
|
-
height: $size;
|
|
111
|
-
position: relative;
|
|
112
|
-
overflow: visible;
|
|
113
|
-
transform-style: preserve-3d;
|
|
114
|
-
perspective: 1000px;
|
|
115
|
-
|
|
116
|
-
.face {
|
|
117
|
-
position: absolute;
|
|
118
|
-
height: 100%;
|
|
119
|
-
width: 100%;
|
|
120
|
-
transform-style: preserve-3d;
|
|
121
|
-
display: grid;
|
|
122
|
-
place-items: center;
|
|
123
|
-
font-size: 24px;
|
|
124
|
-
font-weight: bold;
|
|
125
|
-
color: white;
|
|
126
|
-
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
127
|
-
transition: all 0.3s ease;
|
|
128
|
-
|
|
129
|
-
&.back {
|
|
130
|
-
background-color: rgba(0, 255, 255, 0.16);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&.top {
|
|
134
|
-
top: -#{$size};
|
|
135
|
-
transform: rotateX(-90deg);
|
|
136
|
-
background-color: rgba(72, 255, 0, 0.16);
|
|
137
|
-
transform-origin: bottom center;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&.bottom {
|
|
141
|
-
bottom: -#{$size};
|
|
142
|
-
transform: rotateX(90deg);
|
|
143
|
-
background-color: rgba(255, 0, 221, 0.16);
|
|
144
|
-
transform-origin: top center;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&.left {
|
|
148
|
-
left: -#{$size};
|
|
149
|
-
background-color: rgba(0, 42, 255, 0.16);
|
|
150
|
-
transform-origin: right center;
|
|
151
|
-
transform: rotateY(90deg);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&.right {
|
|
155
|
-
right: -#{$size};
|
|
156
|
-
background-color: rgba(0, 42, 255, 0.16);
|
|
157
|
-
transform-origin: left center;
|
|
158
|
-
transform: rotateY(-90deg);
|
|
159
|
-
|
|
160
|
-
.relative-box {
|
|
161
|
-
width: 100%;
|
|
162
|
-
height: 100%;
|
|
163
|
-
position: relative;
|
|
164
|
-
display: grid;
|
|
165
|
-
place-items: center;
|
|
166
|
-
transform-style: preserve-3d;
|
|
167
|
-
|
|
168
|
-
.front {
|
|
169
|
-
right: -#{$size};
|
|
170
|
-
background-color: rgba(0, 255, 255, 0.16);
|
|
171
|
-
transform-origin: left center;
|
|
172
|
-
transform: rotateY(-90deg);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.content {
|
|
180
|
-
position: absolute;
|
|
181
|
-
inset: 0;
|
|
182
|
-
overflow-y: auto;
|
|
183
|
-
|
|
184
|
-
.content-section {
|
|
185
|
-
overflow: hidden;
|
|
186
|
-
height: 100%;
|
|
187
|
-
display: flex;
|
|
188
|
-
align-items: center;
|
|
189
|
-
justify-content: center;
|
|
190
|
-
color: rgba(255, 255, 255, 0.52);
|
|
191
|
-
text-align: center;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
</style>
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { onMounted, useTemplateRef } from 'vue';
|
|
3
|
-
import { gsap } from 'gsap';
|
|
4
|
-
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
|
5
|
-
|
|
6
|
-
const usingRef = useTemplateRef<HTMLElement>('using');
|
|
7
|
-
gsap.registerPlugin(ScrollTrigger);
|
|
8
|
-
|
|
9
|
-
onMounted(() => {
|
|
10
|
-
const scrollX = usingRef.value!.querySelector('.scroll-x') as HTMLElement;
|
|
11
|
-
// 创建立方体展开动画时间线
|
|
12
|
-
const timeline = gsap.timeline({
|
|
13
|
-
scrollTrigger: {
|
|
14
|
-
scroller: usingRef.value,
|
|
15
|
-
trigger: scrollX,
|
|
16
|
-
start: 'top top',
|
|
17
|
-
end: 'bottom top',
|
|
18
|
-
markers: true,
|
|
19
|
-
pin: true, // 固定 scrollX,使其不随滚动而移动
|
|
20
|
-
scrub: 1, // 根据滚动位置控制动画速度
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
const content = scrollX.querySelector('.content') as HTMLElement;
|
|
25
|
-
|
|
26
|
-
// 展开动画:只用 top/left 移动,不动 transform
|
|
27
|
-
timeline.to(content, {
|
|
28
|
-
x: -3500,
|
|
29
|
-
ease: 'none',
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<template>
|
|
35
|
-
<div class="using" ref="using">
|
|
36
|
-
<div style="height: 300px">1</div>
|
|
37
|
-
<div class="scroll-x">
|
|
38
|
-
<div class="content">
|
|
39
|
-
<div class="card" style="background-color: #ef7676" />
|
|
40
|
-
<div class="card" style="background-color: #466c66" />
|
|
41
|
-
<div
|
|
42
|
-
class="card"
|
|
43
|
-
style="background-color: rgba(255, 180, 223, 0.93)"
|
|
44
|
-
/>
|
|
45
|
-
<div
|
|
46
|
-
class="card"
|
|
47
|
-
style="background-color: rgba(180, 210, 255, 0.93)"
|
|
48
|
-
/>
|
|
49
|
-
<div class="card" style="background-color: #68bd68" />
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div style="height: 300px; background-color: #1b302d" />
|
|
53
|
-
<div style="height: 300px; background-color: #b98c2a" />
|
|
54
|
-
</div>
|
|
55
|
-
</template>
|
|
56
|
-
|
|
57
|
-
<style scoped lang="scss">
|
|
58
|
-
.using {
|
|
59
|
-
height: 300px;
|
|
60
|
-
overflow: auto;
|
|
61
|
-
|
|
62
|
-
.scroll-x {
|
|
63
|
-
height: 100%;
|
|
64
|
-
overflow-x: hidden;
|
|
65
|
-
position: sticky;
|
|
66
|
-
top: 0;
|
|
67
|
-
|
|
68
|
-
.content {
|
|
69
|
-
height: 100%;
|
|
70
|
-
display: flex;
|
|
71
|
-
justify-content: flex-end;
|
|
72
|
-
|
|
73
|
-
.card {
|
|
74
|
-
flex-shrink: 0;
|
|
75
|
-
height: 100%;
|
|
76
|
-
width: 700px;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
</style>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { onMounted, useTemplateRef } from 'vue';
|
|
3
|
-
import gsap from 'gsap';
|
|
4
|
-
|
|
5
|
-
const box = useTemplateRef<HTMLElement>('box');
|
|
6
|
-
|
|
7
|
-
onMounted(() => {
|
|
8
|
-
const timeline = gsap.timeline();
|
|
9
|
-
timeline
|
|
10
|
-
.to(box.value, { x: 100, duration: 1 })
|
|
11
|
-
.to(box.value, { y: -100, rotation: 180, duration: 1, scale: 0.5 })
|
|
12
|
-
.to(box.value, { y: 0, duration: 1, scale: 1 });
|
|
13
|
-
});
|
|
14
|
-
</script>
|
|
15
|
-
|
|
16
|
-
<template>
|
|
17
|
-
<div ref="box" class="box">Timeline</div>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<style scoped lang="scss">
|
|
21
|
-
.box {
|
|
22
|
-
width: 100px;
|
|
23
|
-
height: 100px;
|
|
24
|
-
background-color: coral;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
color: white;
|
|
29
|
-
}
|
|
30
|
-
</style>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import lottie from 'lottie-web';
|
|
3
|
-
import { onMounted, onUnmounted, useTemplateRef } from 'vue';
|
|
4
|
-
|
|
5
|
-
const animationSpeed = 1;
|
|
6
|
-
|
|
7
|
-
const usingRef = useTemplateRef('using');
|
|
8
|
-
onMounted(() => {
|
|
9
|
-
const animation = lottie.loadAnimation({
|
|
10
|
-
container: usingRef.value!, // 绑定dom节点
|
|
11
|
-
renderer: 'svg', // 渲染方式:svg、canvas
|
|
12
|
-
loop: true, // 是否循环播放,默认:false
|
|
13
|
-
autoplay: true, // 是否自动播放, 默认true
|
|
14
|
-
// AE动画使用bodymovie导出为json数据
|
|
15
|
-
// animationData:
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
animation.setSpeed(animationSpeed);
|
|
19
|
-
animation.play();
|
|
20
|
-
onUnmounted(() => {
|
|
21
|
-
animation.destroy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
</script>
|
|
25
|
-
<template>
|
|
26
|
-
<div class="using" ref="using" />
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<style lang="scss" scoped>
|
|
30
|
-
.using {
|
|
31
|
-
height: 400px;
|
|
32
|
-
}
|
|
33
|
-
</style>
|
|
@@ -1,30 +0,0 @@
|
|
|
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 { EList } from 'exploria-ui';
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
<template>
|
|
10
|
-
<PageLayout>
|
|
11
|
-
<DemoBox :code="BasicUsingRaw" :libs="['lottie-web']" title="基本用法">
|
|
12
|
-
<BasicUsing />
|
|
13
|
-
<template #description>
|
|
14
|
-
Lottie 相关网站:
|
|
15
|
-
<EList
|
|
16
|
-
:data="[
|
|
17
|
-
{
|
|
18
|
-
label: 'Lottie 官网',
|
|
19
|
-
link: 'https://lottie.airbnb.tech/#/',
|
|
20
|
-
},
|
|
21
|
-
]"
|
|
22
|
-
>
|
|
23
|
-
<template #default="{ row }">
|
|
24
|
-
<a :href="row.link">{{ row.label }}</a>
|
|
25
|
-
</template>
|
|
26
|
-
</EList>
|
|
27
|
-
</template>
|
|
28
|
-
</DemoBox>
|
|
29
|
-
</PageLayout>
|
|
30
|
-
</template>
|
|
File without changes
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
-
import RichTextEditor from './RichTextEditor.vue';
|
|
4
|
-
import RichTextEditorCode from './RichTextEditor.vue?raw';
|
|
5
|
-
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
-
import { ref } from 'vue';
|
|
7
|
-
|
|
8
|
-
const html = ref('');
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<PageLayout>
|
|
13
|
-
<DemoBox
|
|
14
|
-
:code="RichTextEditorCode"
|
|
15
|
-
:libs="['@wangeditor/editor-for-other']"
|
|
16
|
-
title="基本用法"
|
|
17
|
-
>
|
|
18
|
-
<RichTextEditor v-model:html="html" placeholder="请输入" />
|
|
19
|
-
<template #description>
|
|
20
|
-
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
|
|
21
|
-
</template>
|
|
22
|
-
</DemoBox>
|
|
23
|
-
</PageLayout>
|
|
24
|
-
</template>
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
/**
|
|
3
|
-
* 富文本编辑器
|
|
4
|
-
*/
|
|
5
|
-
// import '@wangeditor/editor/dist/css/style.css' // 引入 css,之前用的是 npm 现在是 pnpm
|
|
6
|
-
import './wangeditor_style.css'; // 引入 css
|
|
7
|
-
import { computed, onBeforeUnmount, shallowRef, watch } from 'vue';
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
import { Editor, Toolbar } from '@wangeditor/editor-for-vue';
|
|
10
|
-
// @ts-ignore
|
|
11
|
-
import type { IDomEditor, IEditorConfig } from '@wangeditor/editor';
|
|
12
|
-
|
|
13
|
-
// 编辑器实例,必须用 shallowRef
|
|
14
|
-
const editorRef = shallowRef<IDomEditor>();
|
|
15
|
-
|
|
16
|
-
const { html, disabled, placeholder } = defineProps<{
|
|
17
|
-
html: string;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
placeholder?: string;
|
|
20
|
-
}>();
|
|
21
|
-
|
|
22
|
-
const emits = defineEmits<{
|
|
23
|
-
'update:html': [string];
|
|
24
|
-
blur: [void];
|
|
25
|
-
focus: [void]; // 实验中
|
|
26
|
-
}>();
|
|
27
|
-
|
|
28
|
-
// 内容 HTML
|
|
29
|
-
const computedHtml = computed({
|
|
30
|
-
get() {
|
|
31
|
-
return html;
|
|
32
|
-
},
|
|
33
|
-
set(html: string) {
|
|
34
|
-
emits('update:html', html);
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
const toolbarConfig = {
|
|
39
|
-
excludeKeys: [
|
|
40
|
-
'fullScreen', // 去掉全屏按钮
|
|
41
|
-
'uploadImage', // 去掉上传图片按钮
|
|
42
|
-
'uploadVideo', // 去掉上传视频按钮
|
|
43
|
-
'codeBlock', // 去掉代码块按钮
|
|
44
|
-
'insertTable', // 去掉插入表格按钮
|
|
45
|
-
'insertVideo', // 去掉插入视频按钮
|
|
46
|
-
'insertImage', // 去掉插入图片按钮
|
|
47
|
-
],
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
const editorConfig: Partial<IEditorConfig> = {
|
|
51
|
-
// Partial 的作用是将一个对象类型的所有属性都变为可选属性
|
|
52
|
-
placeholder,
|
|
53
|
-
readOnly: disabled,
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
// 组件销毁时,也及时销毁编辑器
|
|
57
|
-
onBeforeUnmount(() => {
|
|
58
|
-
const editor = editorRef.value;
|
|
59
|
-
if (editor == null) return;
|
|
60
|
-
editor.destroy();
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
watch(
|
|
64
|
-
() => disabled,
|
|
65
|
-
(newVal: boolean) => {
|
|
66
|
-
if (newVal) {
|
|
67
|
-
// 禁用编辑器,设置为只读
|
|
68
|
-
editorRef.value?.disable();
|
|
69
|
-
} else {
|
|
70
|
-
// 取消禁用,取消只读
|
|
71
|
-
editorRef.value?.enable();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
|
|
76
|
-
const handleCreated = (editor: IDomEditor) => {
|
|
77
|
-
editorRef.value = editor; // 记录 editor 实例,重要!
|
|
78
|
-
};
|
|
79
|
-
</script>
|
|
80
|
-
|
|
81
|
-
<template>
|
|
82
|
-
<div class="rich-text-editor">
|
|
83
|
-
<Toolbar
|
|
84
|
-
style="border-bottom: 1px solid #ccc"
|
|
85
|
-
:editor="editorRef"
|
|
86
|
-
:defaultConfig="toolbarConfig"
|
|
87
|
-
mode="default"
|
|
88
|
-
/>
|
|
89
|
-
<Editor
|
|
90
|
-
style="height: 400px; overflow-y: hidden"
|
|
91
|
-
v-model="computedHtml"
|
|
92
|
-
@onBlur="emits('blur')"
|
|
93
|
-
@onFocus="emits('focus')"
|
|
94
|
-
:defaultConfig="editorConfig"
|
|
95
|
-
mode="default"
|
|
96
|
-
@onCreated="handleCreated"
|
|
97
|
-
/>
|
|
98
|
-
</div>
|
|
99
|
-
</template>
|
|
100
|
-
|
|
101
|
-
<style scoped lang="scss">
|
|
102
|
-
.rich-text-editor {
|
|
103
|
-
border: 1px solid #ccc;
|
|
104
|
-
}
|
|
105
|
-
</style>
|