wevu 7.1.0 → 7.1.2
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/dist/alipay/jsx-runtime.d.mts +2 -3
- package/dist/dev/package.mjs +1 -1
- package/dist/dev/router/createRouter.mjs +16 -3
- package/dist/dev/router/createRouter.mjs.map +1 -1
- package/dist/dev/router/useRoute.mjs +23 -5
- package/dist/dev/router/useRoute.mjs.map +1 -1
- package/dist/dev/runtime/platform.mjs +18 -1
- package/dist/dev/runtime/platform.mjs.map +1 -1
- package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs +4 -2
- package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs.map +1 -1
- package/dist/dev/runtime/templateRefTypes.d.mts +3 -3
- package/dist/dev/runtime/vueCompat/router.d.mts +5 -4
- package/dist/dev/runtime/vueCompat/router.mjs +18 -13
- package/dist/dev/runtime/vueCompat/router.mjs.map +1 -1
- package/dist/miniprogram/jsx-runtime.d.mts +2 -3
- package/dist/package.mjs +1 -1
- package/dist/router/createRouter.mjs +1 -1
- package/dist/router/useRoute.mjs +1 -1
- package/dist/runtime/platform.mjs +1 -1
- package/dist/runtime/register/runtimeInstance/setupPhase.mjs +1 -1
- package/dist/runtime/templateRefTypes.d.mts +3 -3
- package/dist/runtime/vueCompat/router.d.mts +5 -4
- package/dist/runtime/vueCompat/router.mjs +1 -1
- package/dist/tt/jsx-runtime.d.mts +2 -3
- package/dist/weapp/jsx-runtime.d.mts +2 -3
- package/package.json +12 -8
- package/dist/alipayIntrinsicElements/base.d.mts +0 -4
- package/dist/alipayIntrinsicElements/elements/button.d.mts +0 -29
- package/dist/alipayIntrinsicElements/elements/camera.d.mts +0 -18
- package/dist/alipayIntrinsicElements/elements/canvas.d.mts +0 -20
- package/dist/alipayIntrinsicElements/elements/checkbox-group.d.mts +0 -11
- package/dist/alipayIntrinsicElements/elements/checkbox.d.mts +0 -14
- package/dist/alipayIntrinsicElements/elements/contact-button.d.mts +0 -15
- package/dist/alipayIntrinsicElements/elements/cover-image.d.mts +0 -11
- package/dist/alipayIntrinsicElements/elements/cover-view.d.mts +0 -11
- package/dist/alipayIntrinsicElements/elements/error-view.d.mts +0 -14
- package/dist/alipayIntrinsicElements/elements/form.d.mts +0 -12
- package/dist/alipayIntrinsicElements/elements/icon.d.mts +0 -11
- package/dist/alipayIntrinsicElements/elements/image.d.mts +0 -17
- package/dist/alipayIntrinsicElements/elements/input.d.mts +0 -31
- package/dist/alipayIntrinsicElements/elements/join-group-chat.d.mts +0 -9
- package/dist/alipayIntrinsicElements/elements/label.d.mts +0 -9
- package/dist/alipayIntrinsicElements/elements/lifestyle.d.mts +0 -11
- package/dist/alipayIntrinsicElements/elements/lottie.d.mts +0 -25
- package/dist/alipayIntrinsicElements/elements/map.d.mts +0 -44
- package/dist/alipayIntrinsicElements/elements/match-media.d.mts +0 -15
- package/dist/alipayIntrinsicElements/elements/movable-area.d.mts +0 -9
- package/dist/alipayIntrinsicElements/elements/movable-view.d.mts +0 -32
- package/dist/alipayIntrinsicElements/elements/navigator.d.mts +0 -13
- package/dist/alipayIntrinsicElements/elements/page-container.d.mts +0 -27
- package/dist/alipayIntrinsicElements/elements/page-meta.d.mts +0 -19
- package/dist/alipayIntrinsicElements/elements/picker-view-column.d.mts +0 -7
- package/dist/alipayIntrinsicElements/elements/picker-view.d.mts +0 -18
- package/dist/alipayIntrinsicElements/elements/picker.d.mts +0 -15
- package/dist/alipayIntrinsicElements/elements/progress.d.mts +0 -14
- package/dist/alipayIntrinsicElements/elements/radio-group.d.mts +0 -11
- package/dist/alipayIntrinsicElements/elements/radio.d.mts +0 -12
- package/dist/alipayIntrinsicElements/elements/rich-text.d.mts +0 -17
- package/dist/alipayIntrinsicElements/elements/root-portal.d.mts +0 -9
- package/dist/alipayIntrinsicElements/elements/scroll-view.d.mts +0 -29
- package/dist/alipayIntrinsicElements/elements/share-element.d.mts +0 -12
- package/dist/alipayIntrinsicElements/elements/slider.d.mts +0 -23
- package/dist/alipayIntrinsicElements/elements/subscribe-message.d.mts +0 -11
- package/dist/alipayIntrinsicElements/elements/swiper-item.d.mts +0 -7
- package/dist/alipayIntrinsicElements/elements/swiper.d.mts +0 -36
- package/dist/alipayIntrinsicElements/elements/switch.d.mts +0 -15
- package/dist/alipayIntrinsicElements/elements/text.d.mts +0 -12
- package/dist/alipayIntrinsicElements/elements/textarea.d.mts +0 -24
- package/dist/alipayIntrinsicElements/elements/video.d.mts +0 -39
- package/dist/alipayIntrinsicElements/elements/view.d.mts +0 -29
- package/dist/alipayIntrinsicElements/elements/web-view.d.mts +0 -13
- package/dist/alipayIntrinsicElements.d.mts +0 -94
- package/dist/dev/alipayIntrinsicElements/base.d.mts +0 -5
- package/dist/dev/alipayIntrinsicElements/elements/button.d.mts +0 -30
- package/dist/dev/alipayIntrinsicElements/elements/camera.d.mts +0 -19
- package/dist/dev/alipayIntrinsicElements/elements/canvas.d.mts +0 -21
- package/dist/dev/alipayIntrinsicElements/elements/checkbox-group.d.mts +0 -12
- package/dist/dev/alipayIntrinsicElements/elements/checkbox.d.mts +0 -15
- package/dist/dev/alipayIntrinsicElements/elements/contact-button.d.mts +0 -16
- package/dist/dev/alipayIntrinsicElements/elements/cover-image.d.mts +0 -12
- package/dist/dev/alipayIntrinsicElements/elements/cover-view.d.mts +0 -12
- package/dist/dev/alipayIntrinsicElements/elements/error-view.d.mts +0 -15
- package/dist/dev/alipayIntrinsicElements/elements/form.d.mts +0 -13
- package/dist/dev/alipayIntrinsicElements/elements/icon.d.mts +0 -12
- package/dist/dev/alipayIntrinsicElements/elements/image.d.mts +0 -18
- package/dist/dev/alipayIntrinsicElements/elements/input.d.mts +0 -32
- package/dist/dev/alipayIntrinsicElements/elements/join-group-chat.d.mts +0 -10
- package/dist/dev/alipayIntrinsicElements/elements/label.d.mts +0 -10
- package/dist/dev/alipayIntrinsicElements/elements/lifestyle.d.mts +0 -12
- package/dist/dev/alipayIntrinsicElements/elements/lottie.d.mts +0 -26
- package/dist/dev/alipayIntrinsicElements/elements/map.d.mts +0 -45
- package/dist/dev/alipayIntrinsicElements/elements/match-media.d.mts +0 -16
- package/dist/dev/alipayIntrinsicElements/elements/movable-area.d.mts +0 -10
- package/dist/dev/alipayIntrinsicElements/elements/movable-view.d.mts +0 -33
- package/dist/dev/alipayIntrinsicElements/elements/navigator.d.mts +0 -14
- package/dist/dev/alipayIntrinsicElements/elements/page-container.d.mts +0 -28
- package/dist/dev/alipayIntrinsicElements/elements/page-meta.d.mts +0 -20
- package/dist/dev/alipayIntrinsicElements/elements/picker-view-column.d.mts +0 -8
- package/dist/dev/alipayIntrinsicElements/elements/picker-view.d.mts +0 -19
- package/dist/dev/alipayIntrinsicElements/elements/picker.d.mts +0 -16
- package/dist/dev/alipayIntrinsicElements/elements/progress.d.mts +0 -15
- package/dist/dev/alipayIntrinsicElements/elements/radio-group.d.mts +0 -12
- package/dist/dev/alipayIntrinsicElements/elements/radio.d.mts +0 -13
- package/dist/dev/alipayIntrinsicElements/elements/rich-text.d.mts +0 -18
- package/dist/dev/alipayIntrinsicElements/elements/root-portal.d.mts +0 -10
- package/dist/dev/alipayIntrinsicElements/elements/scroll-view.d.mts +0 -30
- package/dist/dev/alipayIntrinsicElements/elements/share-element.d.mts +0 -13
- package/dist/dev/alipayIntrinsicElements/elements/slider.d.mts +0 -24
- package/dist/dev/alipayIntrinsicElements/elements/subscribe-message.d.mts +0 -12
- package/dist/dev/alipayIntrinsicElements/elements/swiper-item.d.mts +0 -8
- package/dist/dev/alipayIntrinsicElements/elements/swiper.d.mts +0 -37
- package/dist/dev/alipayIntrinsicElements/elements/switch.d.mts +0 -16
- package/dist/dev/alipayIntrinsicElements/elements/text.d.mts +0 -13
- package/dist/dev/alipayIntrinsicElements/elements/textarea.d.mts +0 -25
- package/dist/dev/alipayIntrinsicElements/elements/video.d.mts +0 -40
- package/dist/dev/alipayIntrinsicElements/elements/view.d.mts +0 -30
- package/dist/dev/alipayIntrinsicElements/elements/web-view.d.mts +0 -14
- package/dist/dev/alipayIntrinsicElements.d.mts +0 -94
- package/dist/dev/jsx-runtime.d.mts +0 -44
- package/dist/dev/ttIntrinsicElements/base.d.mts +0 -5
- package/dist/dev/ttIntrinsicElements/elements/ad.d.mts +0 -8
- package/dist/dev/ttIntrinsicElements/elements/aweme-data.d.mts +0 -15
- package/dist/dev/ttIntrinsicElements/elements/aweme-user-card.d.mts +0 -16
- package/dist/dev/ttIntrinsicElements/elements/button.d.mts +0 -23
- package/dist/dev/ttIntrinsicElements/elements/camera.d.mts +0 -19
- package/dist/dev/ttIntrinsicElements/elements/canvas.d.mts +0 -16
- package/dist/dev/ttIntrinsicElements/elements/checkbox-group.d.mts +0 -12
- package/dist/dev/ttIntrinsicElements/elements/checkbox.d.mts +0 -12
- package/dist/dev/ttIntrinsicElements/elements/draw-ad.d.mts +0 -16
- package/dist/dev/ttIntrinsicElements/elements/form.d.mts +0 -14
- package/dist/dev/ttIntrinsicElements/elements/icon.d.mts +0 -11
- package/dist/dev/ttIntrinsicElements/elements/image.d.mts +0 -16
- package/dist/dev/ttIntrinsicElements/elements/input.d.mts +0 -32
- package/dist/dev/ttIntrinsicElements/elements/label.d.mts +0 -10
- package/dist/dev/ttIntrinsicElements/elements/live-player.d.mts +0 -19
- package/dist/dev/ttIntrinsicElements/elements/live-preview.d.mts +0 -13
- package/dist/dev/ttIntrinsicElements/elements/map.d.mts +0 -36
- package/dist/dev/ttIntrinsicElements/elements/mask.d.mts +0 -8
- package/dist/dev/ttIntrinsicElements/elements/match-media.d.mts +0 -16
- package/dist/dev/ttIntrinsicElements/elements/movable-area.d.mts +0 -10
- package/dist/dev/ttIntrinsicElements/elements/movable-view.d.mts +0 -27
- package/dist/dev/ttIntrinsicElements/elements/navigator.d.mts +0 -16
- package/dist/dev/ttIntrinsicElements/elements/open-data.d.mts +0 -15
- package/dist/dev/ttIntrinsicElements/elements/picker-view-column.d.mts +0 -8
- package/dist/dev/ttIntrinsicElements/elements/picker-view.d.mts +0 -19
- package/dist/dev/ttIntrinsicElements/elements/picker.d.mts +0 -22
- package/dist/dev/ttIntrinsicElements/elements/progress.d.mts +0 -16
- package/dist/dev/ttIntrinsicElements/elements/radio-group.d.mts +0 -12
- package/dist/dev/ttIntrinsicElements/elements/radio.d.mts +0 -12
- package/dist/dev/ttIntrinsicElements/elements/rich-text.d.mts +0 -10
- package/dist/dev/ttIntrinsicElements/elements/rtc-room.d.mts +0 -13
- package/dist/dev/ttIntrinsicElements/elements/scroll-view.d.mts +0 -32
- package/dist/dev/ttIntrinsicElements/elements/slider.d.mts +0 -19
- package/dist/dev/ttIntrinsicElements/elements/swiper-item.d.mts +0 -10
- package/dist/dev/ttIntrinsicElements/elements/swiper.d.mts +0 -27
- package/dist/dev/ttIntrinsicElements/elements/switch.d.mts +0 -14
- package/dist/dev/ttIntrinsicElements/elements/text.d.mts +0 -12
- package/dist/dev/ttIntrinsicElements/elements/textarea.d.mts +0 -34
- package/dist/dev/ttIntrinsicElements/elements/video.d.mts +0 -58
- package/dist/dev/ttIntrinsicElements/elements/view.d.mts +0 -15
- package/dist/dev/ttIntrinsicElements/elements/web-view.d.mts +0 -15
- package/dist/dev/ttIntrinsicElements.d.mts +0 -88
- package/dist/dev/weappIntrinsicElements/base.d.mts +0 -5
- package/dist/dev/weappIntrinsicElements/elements/ad-custom.d.mts +0 -14
- package/dist/dev/weappIntrinsicElements/elements/ad.d.mts +0 -17
- package/dist/dev/weappIntrinsicElements/elements/audio.d.mts +0 -21
- package/dist/dev/weappIntrinsicElements/elements/block.d.mts +0 -8
- package/dist/dev/weappIntrinsicElements/elements/button.d.mts +0 -42
- package/dist/dev/weappIntrinsicElements/elements/camera.d.mts +0 -19
- package/dist/dev/weappIntrinsicElements/elements/canvas.d.mts +0 -19
- package/dist/dev/weappIntrinsicElements/elements/checkbox-group.d.mts +0 -11
- package/dist/dev/weappIntrinsicElements/elements/checkbox.d.mts +0 -13
- package/dist/dev/weappIntrinsicElements/elements/cover-image.d.mts +0 -14
- package/dist/dev/weappIntrinsicElements/elements/cover-view.d.mts +0 -10
- package/dist/dev/weappIntrinsicElements/elements/editor.d.mts +0 -23
- package/dist/dev/weappIntrinsicElements/elements/form.d.mts +0 -17
- package/dist/dev/weappIntrinsicElements/elements/functional-page-navigator.d.mts +0 -16
- package/dist/dev/weappIntrinsicElements/elements/icon.d.mts +0 -12
- package/dist/dev/weappIntrinsicElements/elements/image.d.mts +0 -19
- package/dist/dev/weappIntrinsicElements/elements/import.d.mts +0 -10
- package/dist/dev/weappIntrinsicElements/elements/include.d.mts +0 -10
- package/dist/dev/weappIntrinsicElements/elements/input.d.mts +0 -47
- package/dist/dev/weappIntrinsicElements/elements/keyboard-accessory.d.mts +0 -8
- package/dist/dev/weappIntrinsicElements/elements/label.d.mts +0 -10
- package/dist/dev/weappIntrinsicElements/elements/live-player.d.mts +0 -36
- package/dist/dev/weappIntrinsicElements/elements/live-pusher.d.mts +0 -58
- package/dist/dev/weappIntrinsicElements/elements/map.d.mts +0 -106
- package/dist/dev/weappIntrinsicElements/elements/match-media.d.mts +0 -16
- package/dist/dev/weappIntrinsicElements/elements/movable-area.d.mts +0 -27
- package/dist/dev/weappIntrinsicElements/elements/movable-view.d.mts +0 -27
- package/dist/dev/weappIntrinsicElements/elements/navigation-bar.d.mts +0 -15
- package/dist/dev/weappIntrinsicElements/elements/navigator.d.mts +0 -26
- package/dist/dev/weappIntrinsicElements/elements/official-account.d.mts +0 -14
- package/dist/dev/weappIntrinsicElements/elements/open-data.d.mts +0 -16
- package/dist/dev/weappIntrinsicElements/elements/page-container.d.mts +0 -26
- package/dist/dev/weappIntrinsicElements/elements/page-meta.d.mts +0 -24
- package/dist/dev/weappIntrinsicElements/elements/picker-view-column.d.mts +0 -19
- package/dist/dev/weappIntrinsicElements/elements/picker-view.d.mts +0 -19
- package/dist/dev/weappIntrinsicElements/elements/picker.d.mts +0 -24
- package/dist/dev/weappIntrinsicElements/elements/progress.d.mts +0 -22
- package/dist/dev/weappIntrinsicElements/elements/radio-group.d.mts +0 -11
- package/dist/dev/weappIntrinsicElements/elements/radio.d.mts +0 -13
- package/dist/dev/weappIntrinsicElements/elements/rich-text.d.mts +0 -17
- package/dist/dev/weappIntrinsicElements/elements/scroll-view.d.mts +0 -64
- package/dist/dev/weappIntrinsicElements/elements/share-element.d.mts +0 -17
- package/dist/dev/weappIntrinsicElements/elements/slider.d.mts +0 -24
- package/dist/dev/weappIntrinsicElements/elements/slot.d.mts +0 -10
- package/dist/dev/weappIntrinsicElements/elements/swiper-item.d.mts +0 -11
- package/dist/dev/weappIntrinsicElements/elements/swiper.d.mts +0 -40
- package/dist/dev/weappIntrinsicElements/elements/switch.d.mts +0 -15
- package/dist/dev/weappIntrinsicElements/elements/template.d.mts +0 -12
- package/dist/dev/weappIntrinsicElements/elements/text.d.mts +0 -15
- package/dist/dev/weappIntrinsicElements/elements/textarea.d.mts +0 -41
- package/dist/dev/weappIntrinsicElements/elements/video.d.mts +0 -72
- package/dist/dev/weappIntrinsicElements/elements/view.d.mts +0 -15
- package/dist/dev/weappIntrinsicElements/elements/voip-room.d.mts +0 -15
- package/dist/dev/weappIntrinsicElements/elements/web-view.d.mts +0 -14
- package/dist/dev/weappIntrinsicElements.d.mts +0 -114
- package/dist/miniprogramIntrinsicElements/base.d.mts +0 -4
- package/dist/miniprogramIntrinsicElements/elements/button.d.mts +0 -23
- package/dist/miniprogramIntrinsicElements/elements/camera.d.mts +0 -18
- package/dist/miniprogramIntrinsicElements/elements/canvas.d.mts +0 -16
- package/dist/miniprogramIntrinsicElements/elements/checkbox-group.d.mts +0 -12
- package/dist/miniprogramIntrinsicElements/elements/checkbox.d.mts +0 -13
- package/dist/miniprogramIntrinsicElements/elements/form.d.mts +0 -13
- package/dist/miniprogramIntrinsicElements/elements/icon.d.mts +0 -12
- package/dist/miniprogramIntrinsicElements/elements/image.d.mts +0 -16
- package/dist/miniprogramIntrinsicElements/elements/input.d.mts +0 -29
- package/dist/miniprogramIntrinsicElements/elements/label.d.mts +0 -11
- package/dist/miniprogramIntrinsicElements/elements/map.d.mts +0 -31
- package/dist/miniprogramIntrinsicElements/elements/match-media.d.mts +0 -13
- package/dist/miniprogramIntrinsicElements/elements/movable-area.d.mts +0 -9
- package/dist/miniprogramIntrinsicElements/elements/movable-view.d.mts +0 -26
- package/dist/miniprogramIntrinsicElements/elements/navigator.d.mts +0 -15
- package/dist/miniprogramIntrinsicElements/elements/picker-view-column.d.mts +0 -9
- package/dist/miniprogramIntrinsicElements/elements/picker-view.d.mts +0 -20
- package/dist/miniprogramIntrinsicElements/elements/picker.d.mts +0 -14
- package/dist/miniprogramIntrinsicElements/elements/progress.d.mts +0 -12
- package/dist/miniprogramIntrinsicElements/elements/radio-group.d.mts +0 -12
- package/dist/miniprogramIntrinsicElements/elements/radio.d.mts +0 -13
- package/dist/miniprogramIntrinsicElements/elements/rich-text.d.mts +0 -11
- package/dist/miniprogramIntrinsicElements/elements/scroll-view.d.mts +0 -22
- package/dist/miniprogramIntrinsicElements/elements/slider.d.mts +0 -19
- package/dist/miniprogramIntrinsicElements/elements/swiper-item.d.mts +0 -9
- package/dist/miniprogramIntrinsicElements/elements/swiper.d.mts +0 -24
- package/dist/miniprogramIntrinsicElements/elements/switch.d.mts +0 -14
- package/dist/miniprogramIntrinsicElements/elements/text.d.mts +0 -13
- package/dist/miniprogramIntrinsicElements/elements/textarea.d.mts +0 -23
- package/dist/miniprogramIntrinsicElements/elements/video.d.mts +0 -29
- package/dist/miniprogramIntrinsicElements/elements/view.d.mts +0 -16
- package/dist/miniprogramIntrinsicElements/elements/web-view.d.mts +0 -15
- package/dist/miniprogramIntrinsicElements.d.mts +0 -70
- package/dist/ttIntrinsicElements/base.d.mts +0 -4
- package/dist/ttIntrinsicElements/elements/ad.d.mts +0 -7
- package/dist/ttIntrinsicElements/elements/aweme-data.d.mts +0 -14
- package/dist/ttIntrinsicElements/elements/aweme-user-card.d.mts +0 -15
- package/dist/ttIntrinsicElements/elements/button.d.mts +0 -22
- package/dist/ttIntrinsicElements/elements/camera.d.mts +0 -18
- package/dist/ttIntrinsicElements/elements/canvas.d.mts +0 -15
- package/dist/ttIntrinsicElements/elements/checkbox-group.d.mts +0 -11
- package/dist/ttIntrinsicElements/elements/checkbox.d.mts +0 -11
- package/dist/ttIntrinsicElements/elements/draw-ad.d.mts +0 -15
- package/dist/ttIntrinsicElements/elements/form.d.mts +0 -13
- package/dist/ttIntrinsicElements/elements/icon.d.mts +0 -10
- package/dist/ttIntrinsicElements/elements/image.d.mts +0 -15
- package/dist/ttIntrinsicElements/elements/input.d.mts +0 -31
- package/dist/ttIntrinsicElements/elements/label.d.mts +0 -9
- package/dist/ttIntrinsicElements/elements/live-player.d.mts +0 -18
- package/dist/ttIntrinsicElements/elements/live-preview.d.mts +0 -12
- package/dist/ttIntrinsicElements/elements/map.d.mts +0 -35
- package/dist/ttIntrinsicElements/elements/mask.d.mts +0 -7
- package/dist/ttIntrinsicElements/elements/match-media.d.mts +0 -15
- package/dist/ttIntrinsicElements/elements/movable-area.d.mts +0 -9
- package/dist/ttIntrinsicElements/elements/movable-view.d.mts +0 -26
- package/dist/ttIntrinsicElements/elements/navigator.d.mts +0 -15
- package/dist/ttIntrinsicElements/elements/open-data.d.mts +0 -14
- package/dist/ttIntrinsicElements/elements/picker-view-column.d.mts +0 -7
- package/dist/ttIntrinsicElements/elements/picker-view.d.mts +0 -18
- package/dist/ttIntrinsicElements/elements/picker.d.mts +0 -21
- package/dist/ttIntrinsicElements/elements/progress.d.mts +0 -15
- package/dist/ttIntrinsicElements/elements/radio-group.d.mts +0 -11
- package/dist/ttIntrinsicElements/elements/radio.d.mts +0 -11
- package/dist/ttIntrinsicElements/elements/rich-text.d.mts +0 -9
- package/dist/ttIntrinsicElements/elements/rtc-room.d.mts +0 -12
- package/dist/ttIntrinsicElements/elements/scroll-view.d.mts +0 -31
- package/dist/ttIntrinsicElements/elements/slider.d.mts +0 -18
- package/dist/ttIntrinsicElements/elements/swiper-item.d.mts +0 -9
- package/dist/ttIntrinsicElements/elements/swiper.d.mts +0 -26
- package/dist/ttIntrinsicElements/elements/switch.d.mts +0 -13
- package/dist/ttIntrinsicElements/elements/text.d.mts +0 -11
- package/dist/ttIntrinsicElements/elements/textarea.d.mts +0 -33
- package/dist/ttIntrinsicElements/elements/video.d.mts +0 -57
- package/dist/ttIntrinsicElements/elements/view.d.mts +0 -14
- package/dist/ttIntrinsicElements/elements/web-view.d.mts +0 -14
- package/dist/ttIntrinsicElements.d.mts +0 -88
- package/dist/weappIntrinsicElements/base.d.mts +0 -4
- package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +0 -13
- package/dist/weappIntrinsicElements/elements/ad.d.mts +0 -16
- package/dist/weappIntrinsicElements/elements/audio.d.mts +0 -20
- package/dist/weappIntrinsicElements/elements/block.d.mts +0 -7
- package/dist/weappIntrinsicElements/elements/button.d.mts +0 -41
- package/dist/weappIntrinsicElements/elements/camera.d.mts +0 -18
- package/dist/weappIntrinsicElements/elements/canvas.d.mts +0 -18
- package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +0 -10
- package/dist/weappIntrinsicElements/elements/checkbox.d.mts +0 -12
- package/dist/weappIntrinsicElements/elements/cover-image.d.mts +0 -13
- package/dist/weappIntrinsicElements/elements/cover-view.d.mts +0 -9
- package/dist/weappIntrinsicElements/elements/editor.d.mts +0 -22
- package/dist/weappIntrinsicElements/elements/form.d.mts +0 -16
- package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +0 -15
- package/dist/weappIntrinsicElements/elements/icon.d.mts +0 -11
- package/dist/weappIntrinsicElements/elements/image.d.mts +0 -18
- package/dist/weappIntrinsicElements/elements/import.d.mts +0 -9
- package/dist/weappIntrinsicElements/elements/include.d.mts +0 -9
- package/dist/weappIntrinsicElements/elements/input.d.mts +0 -46
- package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +0 -7
- package/dist/weappIntrinsicElements/elements/label.d.mts +0 -9
- package/dist/weappIntrinsicElements/elements/live-player.d.mts +0 -35
- package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +0 -57
- package/dist/weappIntrinsicElements/elements/map.d.mts +0 -105
- package/dist/weappIntrinsicElements/elements/match-media.d.mts +0 -15
- package/dist/weappIntrinsicElements/elements/movable-area.d.mts +0 -26
- package/dist/weappIntrinsicElements/elements/movable-view.d.mts +0 -26
- package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +0 -14
- package/dist/weappIntrinsicElements/elements/navigator.d.mts +0 -25
- package/dist/weappIntrinsicElements/elements/official-account.d.mts +0 -13
- package/dist/weappIntrinsicElements/elements/open-data.d.mts +0 -15
- package/dist/weappIntrinsicElements/elements/page-container.d.mts +0 -25
- package/dist/weappIntrinsicElements/elements/page-meta.d.mts +0 -23
- package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +0 -18
- package/dist/weappIntrinsicElements/elements/picker-view.d.mts +0 -18
- package/dist/weappIntrinsicElements/elements/picker.d.mts +0 -23
- package/dist/weappIntrinsicElements/elements/progress.d.mts +0 -21
- package/dist/weappIntrinsicElements/elements/radio-group.d.mts +0 -10
- package/dist/weappIntrinsicElements/elements/radio.d.mts +0 -12
- package/dist/weappIntrinsicElements/elements/rich-text.d.mts +0 -16
- package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +0 -63
- package/dist/weappIntrinsicElements/elements/share-element.d.mts +0 -16
- package/dist/weappIntrinsicElements/elements/slider.d.mts +0 -23
- package/dist/weappIntrinsicElements/elements/slot.d.mts +0 -9
- package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +0 -10
- package/dist/weappIntrinsicElements/elements/swiper.d.mts +0 -39
- package/dist/weappIntrinsicElements/elements/switch.d.mts +0 -14
- package/dist/weappIntrinsicElements/elements/template.d.mts +0 -11
- package/dist/weappIntrinsicElements/elements/text.d.mts +0 -14
- package/dist/weappIntrinsicElements/elements/textarea.d.mts +0 -40
- package/dist/weappIntrinsicElements/elements/video.d.mts +0 -71
- package/dist/weappIntrinsicElements/elements/view.d.mts +0 -14
- package/dist/weappIntrinsicElements/elements/voip-room.d.mts +0 -14
- package/dist/weappIntrinsicElements/elements/web-view.d.mts +0 -13
- package/dist/weappIntrinsicElements.d.mts +0 -114
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getMiniProgramGlobalObject as
|
|
1
|
+
import{getCurrentMiniProgramTabBarPagePaths as e,getMiniProgramGlobalObject as t}from"../runtime/platform.mjs";import{setActiveRouter as n}from"./instance.mjs";import{DEFAULT_INITIAL_NAVIGATION_TIMEOUT as r,registerInitialNavigationRunner as i}from"./initialNavigation.mjs";import{installRouteStateSyncOnNativeRouter as a,notifyRouteStateSync as o}from"./routeSync.mjs";import{resolvePath as ee}from"../routerInternal/path.mjs";import{parseQuery as te,stringifyQuery as ne}from"../routerInternal/query.mjs";import{resolveCurrentRoute as re}from"../routerInternal/location.mjs";import{resolveNamedRouteLocation as s}from"../routerInternal/params.mjs";import{mergeMatchedRouteMeta as ie,resolveMatchedRouteRecord as ae}from"../routerInternal/matching.mjs";import{warnDuplicateRouteEntries as oe}from"../routerInternal/recordsWarnings.mjs";import{createNamedRouteLookup as se,resolveRouteOptionEntries as ce}from"../routerInternal/records.mjs";import{cloneRouteMeta as le,cloneRouteParams as ue,createNativeRouteUrl as de,createRouterOptionsSnapshot as fe,normalizeRouteRecordMatched as pe,snapshotRouteLocation as c}from"../routerInternal/snapshots.mjs";import{NavigationFailureType as me}from"./types.mjs";import{createNavigationFailure as l,executeNavigationMethod as u}from"./navigationCore.mjs";import{createNavigationResultController as d}from"./navigationResult.mjs";import{resolveBackNavigationTarget as f,runBackNavigationGuards as he}from"./backNavigation.mjs";import{navigateWithTarget as ge}from"./navigationTarget.mjs";import{createNavigationApi as _e}from"./navigationApi.mjs";import{resolveRouteLocation as ve}from"./resolve.mjs";import{createRouteRegistry as ye}from"./routeRegistry.mjs";import{createRouteStateController as p,useNativeRouter as m}from"./useRoute.mjs";function h(h={}){var g,_,v,y,b,x,S;let C=m();a(t());let w=new Set,T=new Set,E=new Set,D=new Set,O=(g=h.maxRedirects)==null?10:g,k=h.initialNavigationMode===`blocking`?`blocking`:`eager`,A=Number.isFinite(h.initialNavigationTimeout)&&((_=h.initialNavigationTimeout)==null?0:_)>0?Math.max(1,Math.trunc(h.initialNavigationTimeout)):r,j=(v=h.paramsMode)==null?`loose`:v,M=(y=h.rejectOnError)==null||y,N={parseQuery:(b=h.parseQuery)==null?te:b,stringifyQuery:(x=h.stringifyQuery)==null?ne:x},P=Promise.resolve(),F=ce(h);oe(F);let I=se(F),L=((S=h.tabBarEntries)==null?e():S).map(e=>ee(e,``)).filter(Boolean),R=new Set(L),z=ye(I),B=0,V,H,U,be=fe(L,z.getRoutes(),j,O,k,A,N,M);function W(e){let t={...e};t.href=t.fullPath;let n=ae(t,I);if(n){let e=n.record;t.name===void 0&&(t.name=e.name);let r=ie(n.matchedRecords);r!==void 0&&(t.meta=le(r)),n.params&&Object.keys(t.params).length===0&&(t.params=ue(n.params)),t.matched=n.matchedRecords.map((e,t,r)=>{let i=t===r.length-1?n.matchedPath:void 0;return pe(e,i)})}else t.matched=[];return t}function G(e,t){let n=typeof e==`string`?e:s(e,I,j);return W(ve(n,t,N))}let K,q;function xe(e){return e.source===`page`||e.source===`native`&&e.method===`navigateBack`}function J(e,t){if(B>0||!xe(t)||U!==void 0)return;if(H!==void 0){let t=H;if(H=void 0,e.fullPath===t)return}if(e.fullPath===K.fullPath)return;U=e.fullPath;let n=c(K);he({target:e,from:n,nativeRouter:C,beforeEachGuards:w,beforeResolveGuards:T,resolveWithCodec:G}).then(e=>q==null?void 0:q(e)).finally(()=>{U=void 0})}K=p({beforeRouteStateSync:J,resolveRoute:W}).route;function Se(e){return G(e,K.path)}let Y=d({afterEachHooks:E,errorHandlers:D,nativeRouter:C,rejectOnError:M});q=Y.emitNavigationAfterEach;let X=_e({nativeRouter:C,route:K,routeResolveCodec:N,namedRouteLookup:I,beforeEachGuards:w,beforeResolveGuards:T,maxRedirects:O,tabBarPathSet:R,resolveWithCodec:G,settleNavigationResult:Y.settleNavigationResult});async function Z(e,t){let n=K.fullPath;t&&(V=t),B+=1;try{let t=await e();return K.fullPath!==n&&(H=K.fullPath),t}finally{--B,B<=0&&(V=void 0)}}function Q(e){try{return G(e,K.path).fullPath}catch(e){return}}async function Ce(e,t,n=()=>!0){return Z(async()=>{let r=c(K),i=W(re(t,e));if(!i.path)return;if(V===i.fullPath){o({route:i,source:`router`});return}let a=await ge({mode:`push`,target:i,from:r,nativeRouter:C,routeResolveCodec:N,namedRouteLookup:I,beforeEachGuards:w,beforeResolveGuards:T,maxRedirects:O,tabBarPathSet:R,resolveWithCodec:G,executeNative:!1,allowSameLocation:!0});if(n()){if(k===`blocking`&&a.to&&a.to.fullPath!==i.fullPath){let e=a.to,t=R.has(e.path)?C.switchTab:C.redirectTo;return await u(t,{url:de(e,N.stringifyQuery)},e,r)||(o({route:e,source:`router`}),l(me.cancelled,e,r))}return Y.settleNavigationResult(a)}})}function we(e){return w.add(e),()=>{w.delete(e)}}function Te(e){return T.add(e),()=>{T.delete(e)}}function Ee(e){return E.add(e),()=>{E.delete(e)}}function De(e){return D.add(e),()=>{D.delete(e)}}let $={nativeRouter:C,options:be,currentRoute:K,install(e){var t;n($);let r=e==null||(t=e.config)==null?void 0:t.globalProperties;r&&(r.$router=$)},resolve:Se,isReady(){return P},push:e=>Z(()=>X.push(e),Q(e)),replace:e=>Z(()=>X.replace(e),Q(e)),back:e=>{var t;return Z(()=>X.back(e),(t=f(e==null?1:e,K,G))==null?void 0:t.fullPath)},go:e=>{var t;return Z(()=>X.go(e),e<0?(t=f(Math.abs(e),K,G))==null?void 0:t.fullPath:void 0)},forward:()=>Z(()=>X.forward()),hasRoute:z.hasRoute,getRoutes:z.getRoutes,addRoute:z.addRoute,removeRoute:z.removeRoute,clearRoutes:z.clearRoutes,beforeEach:we,beforeResolve:Te,afterEach:Ee,onError:De};return n($),i($,Ce,A,k),$}export{h as createRouter};
|
package/dist/router/useRoute.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{reactive as e}from"../reactivity/reactive.mjs";import{readonly as t}from"../reactivity/readonly.mjs";import{getCurrentMiniProgramPages as n}from"../runtime/platform.mjs";import{getCurrentSetupContext as r}from"../runtime/hooks/base.mjs";import{onLoad as i,onReady as a,onRouteDone as o,onShow as s,onUnload as c}from"../runtime/hooks/register.mjs";import{getActiveRouter as l}from"./instance.mjs";import{registerRouteStateSyncHandler as u}from"./routeSync.mjs";import{resolveCurrentRoute as d,resolvePageRoute as f}from"../routerInternal/location.mjs";import{cloneLocationQuery as p,cloneRouteLocationRedirectedFrom as m,cloneRouteMeta as h,cloneRouteParams as g,cloneRouteRecordMatchedList as _}from"../routerInternal/snapshots.mjs";import{useNativePageRouter as v,useNativeRouter as y}from"../runtime/vueCompat/router.mjs";import{resolveRouteLocation as b}from"./resolve.mjs";import{WEVU_NATIVE_INSTANCE_KEY as x}from"@weapp-core/constants";function S(e){return typeof e.route==`string`||typeof e.__route__==`string`}function C(e){let t=e[x];return t&&typeof t==`object`?t:e}function w(e,t,r){if((r==null?void 0:r.source)===`router`||!t)return!0;let i=C(e);if(r!=null&&r.page)return r.page===i;let a=n();return a[a.length-1]===i}function T(e,t){e.path=t.path,e.fullPath=t.fullPath,e.query=p(t.query),e.hash=t.hash,e.params=g(t.params),t.name===void 0?delete e.name:e.name=t.name,t.meta===void 0?delete e.meta:e.meta=h(t.meta),t.href===void 0?delete e.href:e.href=t.href,t.matched===void 0?delete e.matched:e.matched=_(t.matched),t.redirectedFrom===void 0?delete e.redirectedFrom:e.redirectedFrom=m(t.redirectedFrom)}function E(m={}){var h;let _=r()
|
|
1
|
+
import{reactive as e}from"../reactivity/reactive.mjs";import{readonly as t}from"../reactivity/readonly.mjs";import{getCurrentMiniProgramPages as n}from"../runtime/platform.mjs";import{getCurrentSetupContext as r}from"../runtime/hooks/base.mjs";import{onLoad as i,onReady as a,onRouteDone as o,onShow as s,onUnload as c}from"../runtime/hooks/register.mjs";import{getActiveRouter as l}from"./instance.mjs";import{registerRouteStateSyncHandler as u}from"./routeSync.mjs";import{resolveCurrentRoute as d,resolvePageRoute as f}from"../routerInternal/location.mjs";import{cloneLocationQuery as p,cloneRouteLocationRedirectedFrom as m,cloneRouteMeta as h,cloneRouteParams as g,cloneRouteRecordMatchedList as _}from"../routerInternal/snapshots.mjs";import{useNativePageRouter as v,useNativeRouter as y}from"../runtime/vueCompat/router.mjs";import{resolveRouteLocation as b}from"./resolve.mjs";import{WEVU_NATIVE_INSTANCE_KEY as x}from"@weapp-core/constants";function S(e){return typeof e.route==`string`||typeof e.__route__==`string`}function C(e){let t=e[x];return t&&typeof t==`object`?t:e}function w(e,t,r){if((r==null?void 0:r.source)===`router`||!t)return!0;let i=C(e);if(r!=null&&r.page)return r.page===i;let a=n();return a[a.length-1]===i}function T(e,t){e.path=t.path,e.fullPath=t.fullPath,e.query=p(t.query),e.hash=t.hash,e.params=g(t.params),t.name===void 0?delete e.name:e.name=t.name,t.meta===void 0?delete e.meta:e.meta=h(t.meta),t.href===void 0?delete e.href:e.href=t.href,t.matched===void 0?delete e.matched:e.matched=_(t.matched),t.redirectedFrom===void 0?delete e.redirectedFrom:e.redirectedFrom=m(t.redirectedFrom)}function E(m={}){var h;let _=r(),v=_!=null&&_.instance&&typeof _.instance==`object`?_.instance:void 0,y=(h=m.resolveRoute)==null?(e=>{var t,n;return(t=(n=l())==null?void 0:n.resolve(e))==null?e:t}):h,x=y(d(void 0,v)),E=e({path:x.path,fullPath:x.fullPath,query:p(x.query),hash:x.hash,params:g(x.params)});T(E,x);function D(e,t,n){let r=y(t||d(e,v));if(n){var i;(i=m.beforeRouteStateSync)==null||i.call(m,r,n)}T(E,r)}if(!v)return u(e=>{if(e!=null&&e.route){D(void 0,e.route,e);return}if(e!=null&&e.url){D(void 0,b(e.url,E.path),e);return}if(e!=null&&e.page){D(void 0,f(e.page),e);return}D(void 0,void 0,e)}),{route:t(E)};let O=v,k=C(O),A=S(k)||n().includes(k);i(e=>{D(e)}),a(()=>{D()}),s(()=>{D()}),o(()=>{D()});let j=u(e=>{if(w(O,A,e)){if(e!=null&&e.route){D(void 0,e.route,e);return}if(e!=null&&e.url){D(void 0,b(e.url,E.path),e);return}if(e!=null&&e.page){D(void 0,f(e.page),e);return}D(void 0,void 0,e)}});return c(()=>{j()}),{route:t(E)}}function D(e={}){return E(e).route}function O(){return y()}function k(){return v()}export{E as createRouteStateController,k as useNativePageRouter,O as useNativeRouter,D as useRoute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getMiniProgramPlatformByRuntimeGlobalKey as e,getMiniProgramRuntimeCapabilities as t,getMiniProgramRuntimeGlobalKey as n,getMiniProgramRuntimeGlobalKeys as r,getMiniProgramRuntimeHostConfigKey as i,resolveMiniProgramPlatform as a,supportsMiniProgramRuntimeCapability as o}from"@weapp-core/shared/platforms";const s=[`switchTab`,`reLaunch`,`redirectTo`,`navigateTo`,`navigateBack`];function c(){if(!(typeof globalThis>`u`))return globalThis}function l(){if(typeof my<`u`)return my}function u(){var t;let n=c(),i=(t=import.meta.env)==null?void 0:t.PLATFORM,o=a(i);if(o)return o;for(let t of r())if(n!=null&&n[t])return e(t)}function d(){return t(u())}function f(e){return o(u(),e)}function p(){var e,t,r,i;if(!f(`globalPageStack`))return[];let a=c(),o=u(),s=o?n(o):void 0,d=(e=(t=s?a==null||(r=a[s])==null?void 0:r.getCurrentPages:void 0)==null?(i=l())==null?void 0:i.getCurrentPages:t)==null?a==null?void 0:a.getCurrentPages:e;if(typeof d!=`function`)return[];try{let e=d();return Array.isArray(e)?e:[]}catch(e){return[]}}function m(){let e=c(),t=i(u()),n=e==null?void 0:e[t];return n&&typeof n==`object`?n:void 0}function h(e){var t;let i=c(),o=e==null?(t=import.meta.env)==null?void 0:t.PLATFORM:e,s=a(o);if(s){var u;let e=n(s);return(u=i==null?void 0:i[e])==null?s===`alipay`?l():void 0:u}for(let e of r()){let t=i==null?void 0:i[e];if(t)return t}}function g(){var e;return(e=h())==null?c():e}function _(){var e;return(e=g())==null||(e=e.console)==null?void 0:e.warn}function v(){if(!f(`globalRouterApi`))return;let e=h();if(!e)return;let t=Object.create(null);for(let n of s){let r=e[n];if(typeof r!=`function`)return;t[n]=(...t)=>r.apply(e,t)}return t}function y(){var e;return(e=h())==null?c():e}export{v as getCurrentMiniProgramGlobalRouter,m as getCurrentMiniProgramHostConfig,p as getCurrentMiniProgramPages,d as getCurrentMiniProgramRuntimeCapabilities,h as getMiniProgramGlobalObject,_ as getMiniProgramRuntimeConsoleWarn,g as getMiniProgramRuntimeGlobalObject,
|
|
1
|
+
import{getMiniProgramPlatformByRuntimeGlobalKey as e,getMiniProgramRuntimeCapabilities as t,getMiniProgramRuntimeGlobalKey as n,getMiniProgramRuntimeGlobalKeys as r,getMiniProgramRuntimeHostConfigKey as i,resolveMiniProgramPlatform as a,supportsMiniProgramRuntimeCapability as o}from"@weapp-core/shared/platforms";const s=[`switchTab`,`reLaunch`,`redirectTo`,`navigateTo`,`navigateBack`];function c(){if(!(typeof globalThis>`u`))return globalThis}function l(){if(typeof my<`u`)return my}function u(){var t;let n=c(),i=(t=import.meta.env)==null?void 0:t.PLATFORM,o=a(i);if(o)return o;for(let t of r())if(n!=null&&n[t])return e(t)}function d(){return t(u())}function f(e){return o(u(),e)}function p(){var e,t,r,i;if(!f(`globalPageStack`))return[];let a=c(),o=u(),s=o?n(o):void 0,d=(e=(t=s?a==null||(r=a[s])==null?void 0:r.getCurrentPages:void 0)==null?(i=l())==null?void 0:i.getCurrentPages:t)==null?a==null?void 0:a.getCurrentPages:e;if(typeof d!=`function`)return[];try{let e=d();return Array.isArray(e)?e:[]}catch(e){return[]}}function m(){let e=c(),t=i(u()),n=e==null?void 0:e[t];return n&&typeof n==`object`?n:void 0}function h(e){var t;let i=c(),o=e==null?(t=import.meta.env)==null?void 0:t.PLATFORM:e,s=a(o);if(s){var u;let e=n(s);return(u=i==null?void 0:i[e])==null?s===`alipay`?l():void 0:u}for(let e of r()){let t=i==null?void 0:i[e];if(t)return t}}function g(){var e;return(e=h())==null?c():e}function _(){var e;return(e=g())==null||(e=e.console)==null?void 0:e.warn}function v(){if(!f(`globalRouterApi`))return;let e=h();if(!e)return;let t=Object.create(null);for(let n of s){let r=e[n];if(typeof r!=`function`)return;t[n]=(...t)=>r.apply(e,t)}return t}function y(){let e=m(),t=e==null?void 0:e.tabBar;if(!t||typeof t!=`object`||!(`list`in t)||!Array.isArray(t.list))return[];let n=[];for(let e of t.list){if(!e||typeof e!=`object`||!(`pagePath`in e))continue;let t=e.pagePath;typeof t==`string`&&t&&n.push(t)}return n}function b(){var e;return(e=h())==null?c():e}export{v as getCurrentMiniProgramGlobalRouter,m as getCurrentMiniProgramHostConfig,p as getCurrentMiniProgramPages,d as getCurrentMiniProgramRuntimeCapabilities,y as getCurrentMiniProgramTabBarPagePaths,h as getMiniProgramGlobalObject,_ as getMiniProgramRuntimeConsoleWarn,g as getMiniProgramRuntimeGlobalObject,b as getScopedSlotHostGlobalObject,u as resolveCurrentMiniProgramPlatform,f as supportsCurrentMiniProgramRuntimeCapability};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{effectScope as e}from"../../../reactivity/core.mjs";import{toRaw as t}from"../../../reactivity/reactive/shared.mjs";import{shallowReactive as n}from"../../../reactivity/reactive/shallow.mjs";import{isReactive as r}from"../../../reactivity/reactive.mjs";import{setCurrentInstance as i,setCurrentSetupContext as a}from"../../hooks/base.mjs";import{hasOwn as o}from"../../../utils.mjs";import{hasTrackableSetupBinding as s}from"../../setupTracking.mjs";import{normalizeEmitEventName as c,normalizeEmitPayload as l}from"../../emit.mjs";import{attachRuntimeSlots as u,ensureSetupContextInstance as d,safeMarkNoSetData as f}from"./setupContext.mjs";import{runSetupFunction as p}from"../setup.mjs";import{attachRuntimeSetupState as m,ensureRuntimeProps as h}from"./utils.mjs";import{WEVU_ATTRS_KEY as g,WEVU_EFFECT_SCOPE_KEY as _,WEVU_EXPOSED_KEY as v,WEVU_PROP_KEYS_KEY as y}from"@weapp-core/constants";let b=0;function x(e,t){let n=e,r={proxy:{configurable:!0,enumerable:!1,value:t,writable:!1},$:{configurable:!0,enumerable:!1,value:e,writable:!1},uid:{configurable:!0,enumerable:!1,value:++b,writable:!1},exposed:{configurable:!0,enumerable:!1,get:()=>e[v]}};for(let[e,t]of Object.entries(r))try{Object.defineProperty(n,e,t)}catch(r){`value`in t&&(n[e]=t.value)}let i={$:{configurable:!0,enumerable:!1,value:e,writable:!1},$el:{configurable:!0,enumerable:!1,value:e,writable:!1}};for(let[e,n]of Object.entries(i))try{Object.defineProperty(t,e,n)}catch(r){t[e]=n.value}}function S(e){return e.startsWith(`__wv_`)}function C(b){var C;let{target:w,runtime:T,runtimeWithDefaults:E,runtimeState:D,runtimeProxy:O,setup:k}=b,A=w.properties||{},j=h(w,D,A),M=n(Object.create(null)),N=new Set(Array.isArray(w[y])?w[y]:[]),P=e=>typeof D==`object`&&!!D&&o(D,e);(()=>{let e=w.properties&&typeof w.properties==`object`?w.properties:void 0;for(let t of Object.keys(M))(!e||!o(e,t)||S(t)||N.has(t)||P(t))&&delete M[t];if(e)for(let[t,n]of Object.entries(e))S(t)||N.has(t)||P(t)||(M[t]=n)})();try{Object.defineProperty(w,g,{value:M,configurable:!0,enumerable:!1,writable:!1})}catch(e){w[g]=M}let F=d(w,E);x(w,F);let I=u(D,j),L=(C=E.setupState)==null?Object.create(null):C;m(D,L);let R=f({props:j,runtime:E,state:D,proxy:O,bindModel:T.bindModel.bind(E),watch:T.watch.bind(E),instance:F,emit:(e,...t)=>{let{detail:n,options:r}=l(t),i=c(e);F.triggerEvent(i,n,r)},expose:e=>{w[v]=e},attrs:M,slots:I}),z=e(!0);w[_]=z,i(w),a(R);try{let e=z.run(()=>p(k,j,R)),n=!1;if(e&&typeof e==`object`){let i=T.setupState&&typeof T.setupState==`object`?r(T.setupState)?t(T.setupState):T.setupState:Object.create(null);Object.keys(e).forEach(t=>{let r=e[t];if(typeof r==`function`)
|
|
1
|
+
import{effectScope as e}from"../../../reactivity/core.mjs";import{toRaw as t}from"../../../reactivity/reactive/shared.mjs";import{shallowReactive as n}from"../../../reactivity/reactive/shallow.mjs";import{isReactive as r}from"../../../reactivity/reactive.mjs";import{setCurrentInstance as i,setCurrentSetupContext as a}from"../../hooks/base.mjs";import{hasOwn as o}from"../../../utils.mjs";import{hasTrackableSetupBinding as s}from"../../setupTracking.mjs";import{normalizeEmitEventName as c,normalizeEmitPayload as l}from"../../emit.mjs";import{attachRuntimeSlots as u,ensureSetupContextInstance as d,safeMarkNoSetData as f}from"./setupContext.mjs";import{runSetupFunction as p}from"../setup.mjs";import{attachRuntimeSetupState as m,ensureRuntimeProps as h}from"./utils.mjs";import{WEVU_ATTRS_KEY as g,WEVU_EFFECT_SCOPE_KEY as _,WEVU_EXPOSED_KEY as v,WEVU_PROP_KEYS_KEY as y}from"@weapp-core/constants";let b=0;function x(e,t){let n=e,r={proxy:{configurable:!0,enumerable:!1,value:t,writable:!1},$:{configurable:!0,enumerable:!1,value:e,writable:!1},uid:{configurable:!0,enumerable:!1,value:++b,writable:!1},exposed:{configurable:!0,enumerable:!1,get:()=>e[v]}};for(let[e,t]of Object.entries(r))try{Object.defineProperty(n,e,t)}catch(r){`value`in t&&(n[e]=t.value)}let i={$:{configurable:!0,enumerable:!1,value:e,writable:!1},$el:{configurable:!0,enumerable:!1,value:e,writable:!1}};for(let[e,n]of Object.entries(i))try{Object.defineProperty(t,e,n)}catch(r){t[e]=n.value}}function S(e){return e.startsWith(`__wv_`)}function C(b){var C;let{target:w,runtime:T,runtimeWithDefaults:E,runtimeState:D,runtimeProxy:O,setup:k}=b,A=w.properties||{},j=h(w,D,A),M=n(Object.create(null)),N=new Set(Array.isArray(w[y])?w[y]:[]),P=e=>typeof D==`object`&&!!D&&o(D,e);(()=>{let e=w.properties&&typeof w.properties==`object`?w.properties:void 0;for(let t of Object.keys(M))(!e||!o(e,t)||S(t)||N.has(t)||P(t))&&delete M[t];if(e)for(let[t,n]of Object.entries(e))S(t)||N.has(t)||P(t)||(M[t]=n)})();try{Object.defineProperty(w,g,{value:M,configurable:!0,enumerable:!1,writable:!1})}catch(e){w[g]=M}let F=d(w,E);x(w,F);let I=u(D,j),L=(C=E.setupState)==null?Object.create(null):C;m(D,L);let R=f({props:j,runtime:E,state:D,proxy:O,bindModel:T.bindModel.bind(E),watch:T.watch.bind(E),instance:F,emit:(e,...t)=>{let{detail:n,options:r}=l(t),i=c(e);F.triggerEvent(i,n,r)},expose:e=>{w[v]=e},attrs:M,slots:I}),z=e(!0);w[_]=z,i(w),a(R);try{let e=z.run(()=>p(k,j,R)),n=!1;if(e&&typeof e==`object`){let i=T.setupState&&typeof T.setupState==`object`?r(T.setupState)?t(T.setupState):T.setupState:Object.create(null);Object.keys(e).forEach(t=>{let r=e[t];if(typeof r==`function`){let e=(...e)=>r.apply(T.proxy,e);T.methods[t]=e,T.state[t]=e,i[t]=e,n=!0}else{if(s(r)){var a;(a=T.__wevu_trackSetupReactiveKey)==null||a.call(T,t)}T.state[t]=r,i[t]=r}})}if(n){var B;(B=T.__wevu_touchSetupMethodsVersion)==null||B.call(T)}}finally{a(void 0),i(void 0)}}export{C as runRuntimeSetupPhase};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AlipayIntrinsicElements } from "../alipayIntrinsicElements.mjs";
|
|
2
|
-
import { TtIntrinsicElements } from "../ttIntrinsicElements.mjs";
|
|
3
|
-
import { WeappIntrinsicElements } from "../weappIntrinsicElements.mjs";
|
|
4
1
|
import { TemplateRefValue } from "./types.mjs";
|
|
2
|
+
import { AlipayIntrinsicElements } from "@weapp-core/types/alipay";
|
|
3
|
+
import { TtIntrinsicElements } from "@weapp-core/types/tt";
|
|
4
|
+
import { WeappIntrinsicElements } from "@weapp-core/types/weapp";
|
|
5
5
|
//#region src/runtime/templateRefTypes.d.ts
|
|
6
6
|
type MiniProgramTemplateRefTagName = keyof AlipayIntrinsicElements | keyof TtIntrinsicElements | keyof WeappIntrinsicElements;
|
|
7
7
|
type MiniProgramTemplateRefElements = { [K in MiniProgramTemplateRefTagName]: TemplateRefValue; };
|
|
@@ -3,22 +3,23 @@ import "../types.mjs";
|
|
|
3
3
|
//#region src/runtime/vueCompat/router.d.ts
|
|
4
4
|
type RuntimeRouter = SetupContextRouter;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 获取与当前组件路径语义一致的原生 Router 对象。
|
|
7
7
|
*
|
|
8
8
|
* - 优先使用实例上的 `this.router`(组件路径语义)。
|
|
9
9
|
* - 不可用时回退到 `this.pageRouter`。
|
|
10
|
-
* -
|
|
10
|
+
* - App setup 或低版本基础库再回退到宿主全局路由方法。
|
|
11
|
+
* - 无 setup 上下文且宿主全局路由可用时,仍可创建应用级路由器。
|
|
11
12
|
*
|
|
12
13
|
* 如需更贴近 Vue Router 的高阶能力(导航守卫、失败类型、统一解析),
|
|
13
14
|
* 推荐改用 `wevu/router` 子入口的 `useRouter()`。
|
|
14
15
|
*/
|
|
15
16
|
export declare function useNativeRouter(): RuntimeRouter;
|
|
16
17
|
/**
|
|
17
|
-
*
|
|
18
|
+
* 获取与当前页面路径语义一致的原生 Router 对象。
|
|
18
19
|
*
|
|
19
20
|
* - 优先使用实例上的 `this.pageRouter`(页面路径语义)。
|
|
20
21
|
* - 不可用时回退到 `this.router`。
|
|
21
|
-
* -
|
|
22
|
+
* - App setup 或低版本基础库再回退到宿主全局路由方法。
|
|
22
23
|
*
|
|
23
24
|
* 如需更贴近 Vue Router 的高阶能力(导航守卫、失败类型、统一解析),
|
|
24
25
|
* 推荐改用 `wevu/router` 子入口的 `useRouter()`。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getCurrentMiniProgramGlobalRouter as e}from"../platform.mjs";import{getCurrentSetupContext as t}from"../hooks/base.mjs";import{notifyRouteStateSync as n}from"../../router/routeSync.mjs";import{createAbsoluteRoutePath as r,resolvePath as i}from"../../routerInternal/path.mjs";import{stringifyQuery as a}from"../../routerInternal/query.mjs";import{parsePathInput as o}from"../../routerInternal/location.mjs";const s=[`switchTab`,`reLaunch`,`redirectTo`,`navigateTo`,`navigateBack`],c=new WeakMap;function l(e){return!e||typeof e!=`object`?!1:s.every(t=>typeof e[t]==`function`)}function u(){return e()}function d(e){if(typeof e==`string`&&e)return i(e,``)||void 0}function f(e,t){let n=t===`pageRouter`?[e.route,e.__route__,e.is]:[e.is,e.route,e.__route__];for(let e of n){let t=d(e);if(t)return t}}function p(e,t){if(!t||!e.startsWith(`./`)&&!e.startsWith(`../`))return e;let{path:n,query:s,hash:c}=o(e),l=r(i(n,t)),u=a(s);return`${l}${u?`?${u}`:``}${c}`}function m(e,t){let r=t==null?``:t,i=c.get(e),a=i==null?void 0:i.get(r);if(a)return a;let o=Object.create(null);for(let r of s)o[r]=i=>{let a=e[r];if(r===`navigateBack`||!i||typeof i!=`object`)return a.call(e,i);let o=typeof i.url==`string`?p(i.url,t):i.url,s=i.success,c={...i,url:o,success:(...e)=>(typeof o==`string`&&n({method:r,source:`native`,url:o}),typeof s==`function`?s(...e):void 0)};return a.call(e,c)};let l=i==null?new Map:i;return l.set(r,o),c.set(e,l),o}function h(e,n,r){let i=t()
|
|
1
|
+
import{getCurrentMiniProgramGlobalRouter as e}from"../platform.mjs";import{getCurrentSetupContext as t}from"../hooks/base.mjs";import{notifyRouteStateSync as n}from"../../router/routeSync.mjs";import{createAbsoluteRoutePath as r,resolvePath as i}from"../../routerInternal/path.mjs";import{stringifyQuery as a}from"../../routerInternal/query.mjs";import{parsePathInput as o}from"../../routerInternal/location.mjs";const s=[`switchTab`,`reLaunch`,`redirectTo`,`navigateTo`,`navigateBack`],c=new WeakMap;function l(e){return!e||typeof e!=`object`?!1:s.every(t=>typeof e[t]==`function`)}function u(){return e()}function d(e){if(typeof e==`string`&&e)return i(e,``)||void 0}function f(e,t){let n=t===`pageRouter`?[e.route,e.__route__,e.is]:[e.is,e.route,e.__route__];for(let e of n){let t=d(e);if(t)return t}}function p(e,t){if(!t||!e.startsWith(`./`)&&!e.startsWith(`../`))return e;let{path:n,query:s,hash:c}=o(e),l=r(i(n,t)),u=a(s);return`${l}${u?`?${u}`:``}${c}`}function m(e,t){let r=t==null?``:t,i=c.get(e),a=i==null?void 0:i.get(r);if(a)return a;let o=Object.create(null);for(let r of s)o[r]=i=>{let a=e[r];if(r===`navigateBack`||!i||typeof i!=`object`)return a.call(e,i);let o=typeof i.url==`string`?p(i.url,t):i.url,s=i.success,c={...i,url:o,success:(...e)=>(typeof o==`string`&&n({method:r,source:`native`,url:o}),typeof s==`function`?s(...e):void 0)};return a.call(e,c)};let l=i==null?new Map:i;return l.set(r,o),c.set(e,l),o}function h(e,n,r){let i=t(),a=i!=null&&i.instance&&typeof i.instance==`object`?i.instance:void 0;if(a){let t=f(a,e),r=a[e];if(l(r))return m(r,t);let i=a[n];if(l(i))return m(i,t);let o=u();if(o)return m(o,t);throw Error(`当前运行环境不支持 Router,请升级宿主基础库或检查平台路由能力`)}let o=u();if(o)return m(o);throw Error(`${r}() 必须在 setup() 的同步阶段调用`)}function g(){return h(`router`,`pageRouter`,`useNativeRouter`)}function _(){return h(`pageRouter`,`router`,`useNativePageRouter`)}export{_ as useNativePageRouter,g as useNativeRouter};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { TtIntrinsicElementBaseAttributes } from "../ttIntrinsicElements/base.mjs";
|
|
2
|
-
import { TtIntrinsicElements } from "../ttIntrinsicElements.mjs";
|
|
3
1
|
import { JSX as JSX$1, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxGlobalComponents as WevuJsxGlobalComponents$1, WevuJsxHostAttributes } from "wevu/jsx-runtime";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes, TtIntrinsicElements, TtIntrinsicElements as TtIntrinsicElements$1 } from "@weapp-core/types/tt";
|
|
4
3
|
//#region src/tt/jsx-runtime.d.ts
|
|
5
4
|
export declare namespace JSX {
|
|
6
5
|
type Element = JSX$1.Element;
|
|
7
6
|
interface ElementClass extends JSX$1.ElementClass {}
|
|
8
7
|
interface ElementAttributesProperty extends JSX$1.ElementAttributesProperty {}
|
|
9
8
|
interface IntrinsicAttributes extends JSX$1.IntrinsicAttributes {}
|
|
10
|
-
interface IntrinsicElements extends WevuJsxGlobalComponents$1, TtIntrinsicElements {}
|
|
9
|
+
interface IntrinsicElements extends WevuJsxGlobalComponents$1, TtIntrinsicElements$1 {}
|
|
11
10
|
}
|
|
12
11
|
//#endregion
|
|
13
12
|
export type { TtIntrinsicElementBaseAttributes, TtIntrinsicElements, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxHostAttributes };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { WeappIntrinsicElementBaseAttributes } from "../weappIntrinsicElements/base.mjs";
|
|
2
|
-
import { WeappIntrinsicElements } from "../weappIntrinsicElements.mjs";
|
|
3
1
|
import { JSX as JSX$1, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxGlobalComponents as WevuJsxGlobalComponents$1, WevuJsxHostAttributes } from "wevu/jsx-runtime";
|
|
2
|
+
import { WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, WeappIntrinsicElements as WeappIntrinsicElements$1 } from "@weapp-core/types/weapp";
|
|
4
3
|
//#region src/weapp/jsx-runtime.d.ts
|
|
5
4
|
export declare namespace JSX {
|
|
6
5
|
type Element = JSX$1.Element;
|
|
7
6
|
interface ElementClass extends JSX$1.ElementClass {}
|
|
8
7
|
interface ElementAttributesProperty extends JSX$1.ElementAttributesProperty {}
|
|
9
8
|
interface IntrinsicAttributes extends JSX$1.IntrinsicAttributes {}
|
|
10
|
-
interface IntrinsicElements extends WevuJsxGlobalComponents$1, WeappIntrinsicElements {}
|
|
9
|
+
interface IntrinsicElements extends WevuJsxGlobalComponents$1, WeappIntrinsicElements$1 {}
|
|
11
10
|
}
|
|
12
11
|
//#endregion
|
|
13
12
|
export type { WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxHostAttributes };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wevu",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.2",
|
|
5
5
|
"description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -15,15 +15,18 @@
|
|
|
15
15
|
"url": "https://github.com/weapp-vite/weapp-vite/issues"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
|
+
"weapp-vite",
|
|
18
19
|
"weapp",
|
|
19
|
-
"mini-program",
|
|
20
20
|
"wechat",
|
|
21
|
+
"mini-program",
|
|
22
|
+
"miniprogram",
|
|
21
23
|
"vue3",
|
|
22
24
|
"runtime",
|
|
23
25
|
"reactivity",
|
|
24
26
|
"setData",
|
|
25
27
|
"pinia",
|
|
26
|
-
"state-management"
|
|
28
|
+
"state-management",
|
|
29
|
+
"vue"
|
|
27
30
|
],
|
|
28
31
|
"sideEffects": [
|
|
29
32
|
"./dist/api/vitest/setup.mjs",
|
|
@@ -271,11 +274,12 @@
|
|
|
271
274
|
}
|
|
272
275
|
},
|
|
273
276
|
"dependencies": {
|
|
274
|
-
"@weapp-core/constants": "0.2.
|
|
275
|
-
"@weapp-core/shared": "3.2.
|
|
276
|
-
"@
|
|
277
|
-
"@wevu/
|
|
278
|
-
"@wevu/
|
|
277
|
+
"@weapp-core/constants": "0.2.3",
|
|
278
|
+
"@weapp-core/shared": "3.2.2",
|
|
279
|
+
"@weapp-core/types": "1.1.0",
|
|
280
|
+
"@wevu/api": "0.3.2",
|
|
281
|
+
"@wevu/compiler": "7.1.2",
|
|
282
|
+
"@wevu/web-apis": "1.2.42",
|
|
279
283
|
"vue": "^3.5.42"
|
|
280
284
|
},
|
|
281
285
|
"scripts": {
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/button.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/button
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementButton = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
'form-type'?: 'reset' | 'submit';
|
|
10
|
-
'hover-class'?: string;
|
|
11
|
-
'hover-start-time'?: number;
|
|
12
|
-
'hover-stay-time'?: number;
|
|
13
|
-
'hover-stop-propagation'?: boolean;
|
|
14
|
-
loading?: boolean;
|
|
15
|
-
onChooseAvatar?: WevuJsxEventHandler;
|
|
16
|
-
onError?: WevuJsxEventHandler;
|
|
17
|
-
onFollowLifestyle?: WevuJsxEventHandler;
|
|
18
|
-
onGetAuthorize?: WevuJsxEventHandler;
|
|
19
|
-
onGetPhoneNumber?: WevuJsxEventHandler;
|
|
20
|
-
onGetUserInfo?: WevuJsxEventHandler;
|
|
21
|
-
onTap?: WevuJsxEventHandler;
|
|
22
|
-
'open-type'?: 'chooseAvatar' | 'contactShare' | 'getAuthorize' | 'lifestyle' | 'share';
|
|
23
|
-
plain?: boolean;
|
|
24
|
-
'public-id'?: string;
|
|
25
|
-
scope?: 'phoneNumber';
|
|
26
|
-
size?: 'default' | 'mini';
|
|
27
|
-
type?: 'default' | 'primary' | 'warn';
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/camera.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/03qegu
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementCamera = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
'device-position'?: string;
|
|
9
|
-
flash?: string;
|
|
10
|
-
'frame-size'?: string;
|
|
11
|
-
mode?: string;
|
|
12
|
-
onError?: WevuJsxEventHandler;
|
|
13
|
-
onReady?: WevuJsxEventHandler;
|
|
14
|
-
onScanCode?: WevuJsxEventHandler;
|
|
15
|
-
onStop?: WevuJsxEventHandler;
|
|
16
|
-
'output-dimension'?: string;
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/canvas.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/canvas
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementCanvas = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
'disable-scroll'?: boolean;
|
|
9
|
-
height?: string;
|
|
10
|
-
onLongTap?: WevuJsxEventHandler;
|
|
11
|
-
onReady?: WevuJsxEventHandler;
|
|
12
|
-
onTap?: WevuJsxEventHandler;
|
|
13
|
-
onTouchCancel?: WevuJsxEventHandler;
|
|
14
|
-
onTouchEnd?: WevuJsxEventHandler;
|
|
15
|
-
onTouchMove?: WevuJsxEventHandler;
|
|
16
|
-
onTouchStart?: WevuJsxEventHandler;
|
|
17
|
-
type?: string;
|
|
18
|
-
width?: string;
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/checkbox-group.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/checkbox-group
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementCheckboxGroup = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
name?: string;
|
|
9
|
-
onChange?: WevuJsxEventHandler;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/checkbox.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/checkbox
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementCheckbox = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
color?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
onChange?: WevuJsxEventHandler;
|
|
12
|
-
value?: string;
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
-
//#region src/alipayIntrinsicElements/elements/contact-button.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* @see https://opendocs.alipay.com/mini/component/contact-button
|
|
5
|
-
*/
|
|
6
|
-
export type AlipayIntrinsicElementContactButton = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
-
'alipay-card-no'?: string;
|
|
8
|
-
color?: string;
|
|
9
|
-
'ext-info'?: string;
|
|
10
|
-
icon?: unknown;
|
|
11
|
-
scene?: string;
|
|
12
|
-
size?: number;
|
|
13
|
-
'tnt-inst-id'?: string;
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/cover-image.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/cover-image
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementCoverImage = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
onTap?: WevuJsxEventHandler;
|
|
9
|
-
src?: string;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/cover-view.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/cover-view
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementCoverView = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
onTap?: WevuJsxEventHandler;
|
|
9
|
-
penetrateGuesture?: boolean;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
-
//#region src/alipayIntrinsicElements/elements/error-view.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* @see https://opendocs.alipay.com/mini/component/error-view
|
|
5
|
-
*/
|
|
6
|
-
export type AlipayIntrinsicElementErrorView = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
-
fullscreen?: boolean;
|
|
8
|
-
message?: string;
|
|
9
|
-
'message-color'?: unknown;
|
|
10
|
-
title?: string;
|
|
11
|
-
'title-color'?: unknown;
|
|
12
|
-
type?: string;
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/form.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/form
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementForm = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
onReset?: WevuJsxEventHandler;
|
|
9
|
-
onSubmit?: WevuJsxEventHandler;
|
|
10
|
-
'report-submit'?: boolean;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
-
//#region src/alipayIntrinsicElements/elements/icon.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* @see https://opendocs.alipay.com/mini/component/icon
|
|
5
|
-
*/
|
|
6
|
-
export type AlipayIntrinsicElementIcon = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
-
color?: string;
|
|
8
|
-
size?: number;
|
|
9
|
-
type?: string;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/image.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/image
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementImage = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
catchTap?: WevuJsxEventHandler;
|
|
9
|
-
'default-source'?: string;
|
|
10
|
-
'lazy-load'?: boolean;
|
|
11
|
-
mode?: string;
|
|
12
|
-
onError?: WevuJsxEventHandler;
|
|
13
|
-
onLoad?: WevuJsxEventHandler;
|
|
14
|
-
onTap?: WevuJsxEventHandler;
|
|
15
|
-
src?: string;
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/input.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/input
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementInput = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
'always-system'?: boolean;
|
|
9
|
-
'confirm-hold'?: boolean;
|
|
10
|
-
'confirm-type'?: 'done' | 'go' | 'next' | 'search' | 'send';
|
|
11
|
-
controlled?: boolean;
|
|
12
|
-
cursor?: number;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
focus?: boolean;
|
|
15
|
-
maxlength?: number;
|
|
16
|
-
name?: string;
|
|
17
|
-
onBlur?: WevuJsxEventHandler;
|
|
18
|
-
onConfirm?: WevuJsxEventHandler;
|
|
19
|
-
onFocus?: WevuJsxEventHandler;
|
|
20
|
-
onInput?: WevuJsxEventHandler;
|
|
21
|
-
password?: boolean;
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
'placeholder-class'?: string;
|
|
24
|
-
'placeholder-style'?: string;
|
|
25
|
-
'random-number'?: boolean;
|
|
26
|
-
'selection-end'?: number;
|
|
27
|
-
'selection-start'?: number;
|
|
28
|
-
type?: 'digit' | 'digitpad' | 'idcard' | 'idcardpad' | 'nickname' | 'number' | 'numberpad' | 'text';
|
|
29
|
-
value?: string;
|
|
30
|
-
};
|
|
31
|
-
//#endregion
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
-
//#region src/alipayIntrinsicElements/elements/join-group-chat.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* @see https://opendocs.alipay.com/mini/05snwq
|
|
5
|
-
*/
|
|
6
|
-
export type AlipayIntrinsicElementJoinGroupChat = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
-
'template-id'?: string;
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
-
//#region src/alipayIntrinsicElements/elements/label.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* @see https://opendocs.alipay.com/mini/component/label
|
|
5
|
-
*/
|
|
6
|
-
export type AlipayIntrinsicElementLabel = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
-
for?: string;
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/lifestyle.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/lifestyle
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementLifestyle = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
onFollow?: WevuJsxEventHandler;
|
|
9
|
-
'public-id'?: string;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/lottie.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/lottie
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementLottie = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
'assets-path'?: string;
|
|
9
|
-
'auto-reverse'?: boolean;
|
|
10
|
-
autoplay?: boolean;
|
|
11
|
-
md5?: string;
|
|
12
|
-
onAnimationCancel?: WevuJsxEventHandler;
|
|
13
|
-
onAnimationEnd?: WevuJsxEventHandler;
|
|
14
|
-
onAnimationRepeat?: WevuJsxEventHandler;
|
|
15
|
-
onAnimationStart?: WevuJsxEventHandler;
|
|
16
|
-
onDataFailed?: WevuJsxEventHandler;
|
|
17
|
-
onDataLoadReady?: WevuJsxEventHandler;
|
|
18
|
-
onDataReady?: WevuJsxEventHandler;
|
|
19
|
-
optimize?: boolean;
|
|
20
|
-
path?: string;
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
'repeat-count'?: number;
|
|
23
|
-
speed?: unknown;
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
-
//#region src/alipayIntrinsicElements/elements/map.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @see https://opendocs.alipay.com/mini/component/map
|
|
6
|
-
*/
|
|
7
|
-
export type AlipayIntrinsicElementMap = AlipayIntrinsicElementBaseAttributes & {
|
|
8
|
-
circles?: unknown[];
|
|
9
|
-
controls?: unknown[];
|
|
10
|
-
'custom-map-style'?: string;
|
|
11
|
-
'enable-building'?: boolean;
|
|
12
|
-
'enable-overlooking'?: boolean;
|
|
13
|
-
'enable-poi'?: boolean;
|
|
14
|
-
'enable-rotate'?: boolean;
|
|
15
|
-
'enable-satellite'?: boolean;
|
|
16
|
-
'enable-scroll'?: boolean;
|
|
17
|
-
'enable-traffic'?: boolean;
|
|
18
|
-
'enable-zoom'?: boolean;
|
|
19
|
-
'ground-overlays'?: unknown[];
|
|
20
|
-
'include-padding'?: Record<string, unknown>;
|
|
21
|
-
'include-points'?: unknown[];
|
|
22
|
-
latitude?: number;
|
|
23
|
-
longitude?: number;
|
|
24
|
-
markers?: unknown[];
|
|
25
|
-
onCalloutTap?: WevuJsxEventHandler;
|
|
26
|
-
onControlTap?: WevuJsxEventHandler;
|
|
27
|
-
onInitComplete?: WevuJsxEventHandler;
|
|
28
|
-
onMarkerTap?: WevuJsxEventHandler;
|
|
29
|
-
onPanelTap?: WevuJsxEventHandler;
|
|
30
|
-
onRegionChange?: WevuJsxEventHandler;
|
|
31
|
-
onTap?: WevuJsxEventHandler;
|
|
32
|
-
panels?: unknown[];
|
|
33
|
-
polygon?: unknown[];
|
|
34
|
-
polyline?: unknown[];
|
|
35
|
-
rotate?: number;
|
|
36
|
-
scale?: number;
|
|
37
|
-
setting?: Record<string, unknown>;
|
|
38
|
-
'show-compass'?: boolean;
|
|
39
|
-
'show-location'?: boolean;
|
|
40
|
-
'show-scale'?: boolean;
|
|
41
|
-
skew?: number;
|
|
42
|
-
'tile-overlay'?: Record<string, unknown>;
|
|
43
|
-
};
|
|
44
|
-
//#endregion
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
-
//#region src/alipayIntrinsicElements/elements/match-media.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* @see https://opendocs.alipay.com/mini/02ycxe
|
|
5
|
-
*/
|
|
6
|
-
export type AlipayIntrinsicElementMatchMedia = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
-
height?: number;
|
|
8
|
-
'max-height'?: number;
|
|
9
|
-
'max-width'?: number;
|
|
10
|
-
'min-height'?: number;
|
|
11
|
-
'min-width'?: number;
|
|
12
|
-
orientation?: string;
|
|
13
|
-
width?: number;
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
-
//#region src/alipayIntrinsicElements/elements/movable-area.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* @see https://opendocs.alipay.com/mini/component/movable-area
|
|
5
|
-
*/
|
|
6
|
-
export type AlipayIntrinsicElementMovableArea = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
-
'scale-area'?: boolean;
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|