wevu 7.0.3 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -4
- package/dist/alipay/jsx-runtime.d.mts +13 -0
- package/dist/alipay/jsx-runtime.mjs +1 -0
- package/dist/alipayIntrinsicElements/base.d.mts +4 -0
- package/dist/alipayIntrinsicElements/elements/button.d.mts +29 -0
- package/dist/alipayIntrinsicElements/elements/camera.d.mts +18 -0
- package/dist/alipayIntrinsicElements/elements/canvas.d.mts +20 -0
- package/dist/alipayIntrinsicElements/elements/checkbox-group.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/checkbox.d.mts +14 -0
- package/dist/alipayIntrinsicElements/elements/contact-button.d.mts +15 -0
- package/dist/alipayIntrinsicElements/elements/cover-image.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/cover-view.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/error-view.d.mts +14 -0
- package/dist/alipayIntrinsicElements/elements/form.d.mts +12 -0
- package/dist/alipayIntrinsicElements/elements/icon.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/image.d.mts +17 -0
- package/dist/alipayIntrinsicElements/elements/input.d.mts +31 -0
- package/dist/alipayIntrinsicElements/elements/join-group-chat.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/label.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/lifestyle.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/lottie.d.mts +25 -0
- package/dist/alipayIntrinsicElements/elements/map.d.mts +44 -0
- package/dist/alipayIntrinsicElements/elements/match-media.d.mts +15 -0
- package/dist/alipayIntrinsicElements/elements/movable-area.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/movable-view.d.mts +32 -0
- package/dist/alipayIntrinsicElements/elements/navigator.d.mts +13 -0
- package/dist/alipayIntrinsicElements/elements/page-container.d.mts +27 -0
- package/dist/alipayIntrinsicElements/elements/page-meta.d.mts +19 -0
- package/dist/alipayIntrinsicElements/elements/picker-view-column.d.mts +7 -0
- package/dist/alipayIntrinsicElements/elements/picker-view.d.mts +18 -0
- package/dist/alipayIntrinsicElements/elements/picker.d.mts +15 -0
- package/dist/alipayIntrinsicElements/elements/progress.d.mts +14 -0
- package/dist/alipayIntrinsicElements/elements/radio-group.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/radio.d.mts +12 -0
- package/dist/alipayIntrinsicElements/elements/rich-text.d.mts +17 -0
- package/dist/alipayIntrinsicElements/elements/root-portal.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/scroll-view.d.mts +29 -0
- package/dist/alipayIntrinsicElements/elements/share-element.d.mts +12 -0
- package/dist/alipayIntrinsicElements/elements/slider.d.mts +23 -0
- package/dist/alipayIntrinsicElements/elements/subscribe-message.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/swiper-item.d.mts +7 -0
- package/dist/alipayIntrinsicElements/elements/swiper.d.mts +36 -0
- package/dist/alipayIntrinsicElements/elements/switch.d.mts +15 -0
- package/dist/alipayIntrinsicElements/elements/text.d.mts +12 -0
- package/dist/alipayIntrinsicElements/elements/textarea.d.mts +24 -0
- package/dist/alipayIntrinsicElements/elements/video.d.mts +39 -0
- package/dist/alipayIntrinsicElements/elements/view.d.mts +29 -0
- package/dist/alipayIntrinsicElements/elements/web-view.d.mts +13 -0
- package/dist/alipayIntrinsicElements.d.mts +94 -0
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/defineProperty.mjs +1 -1
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPrimitive.mjs +1 -1
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPropertyKey.mjs +1 -1
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/typeof.mjs +1 -1
- package/dist/dev/alipayIntrinsicElements/base.d.mts +5 -0
- package/dist/dev/alipayIntrinsicElements/elements/button.d.mts +30 -0
- package/dist/dev/alipayIntrinsicElements/elements/camera.d.mts +19 -0
- package/dist/dev/alipayIntrinsicElements/elements/canvas.d.mts +21 -0
- package/dist/dev/alipayIntrinsicElements/elements/checkbox-group.d.mts +12 -0
- package/dist/dev/alipayIntrinsicElements/elements/checkbox.d.mts +15 -0
- package/dist/dev/alipayIntrinsicElements/elements/contact-button.d.mts +16 -0
- package/dist/dev/alipayIntrinsicElements/elements/cover-image.d.mts +12 -0
- package/dist/dev/alipayIntrinsicElements/elements/cover-view.d.mts +12 -0
- package/dist/dev/alipayIntrinsicElements/elements/error-view.d.mts +15 -0
- package/dist/dev/alipayIntrinsicElements/elements/form.d.mts +13 -0
- package/dist/dev/alipayIntrinsicElements/elements/icon.d.mts +12 -0
- package/dist/dev/alipayIntrinsicElements/elements/image.d.mts +18 -0
- package/dist/dev/alipayIntrinsicElements/elements/input.d.mts +32 -0
- package/dist/dev/alipayIntrinsicElements/elements/join-group-chat.d.mts +10 -0
- package/dist/dev/alipayIntrinsicElements/elements/label.d.mts +10 -0
- package/dist/dev/alipayIntrinsicElements/elements/lifestyle.d.mts +12 -0
- package/dist/dev/alipayIntrinsicElements/elements/lottie.d.mts +26 -0
- package/dist/dev/alipayIntrinsicElements/elements/map.d.mts +45 -0
- package/dist/dev/alipayIntrinsicElements/elements/match-media.d.mts +16 -0
- package/dist/dev/alipayIntrinsicElements/elements/movable-area.d.mts +10 -0
- package/dist/dev/alipayIntrinsicElements/elements/movable-view.d.mts +33 -0
- package/dist/dev/alipayIntrinsicElements/elements/navigator.d.mts +14 -0
- package/dist/dev/alipayIntrinsicElements/elements/page-container.d.mts +28 -0
- package/dist/dev/alipayIntrinsicElements/elements/page-meta.d.mts +20 -0
- package/dist/dev/alipayIntrinsicElements/elements/picker-view-column.d.mts +8 -0
- package/dist/dev/alipayIntrinsicElements/elements/picker-view.d.mts +19 -0
- package/dist/dev/alipayIntrinsicElements/elements/picker.d.mts +16 -0
- package/dist/dev/alipayIntrinsicElements/elements/progress.d.mts +15 -0
- package/dist/dev/alipayIntrinsicElements/elements/radio-group.d.mts +12 -0
- package/dist/dev/alipayIntrinsicElements/elements/radio.d.mts +13 -0
- package/dist/dev/alipayIntrinsicElements/elements/rich-text.d.mts +18 -0
- package/dist/dev/alipayIntrinsicElements/elements/root-portal.d.mts +10 -0
- package/dist/dev/alipayIntrinsicElements/elements/scroll-view.d.mts +30 -0
- package/dist/dev/alipayIntrinsicElements/elements/share-element.d.mts +13 -0
- package/dist/dev/alipayIntrinsicElements/elements/slider.d.mts +24 -0
- package/dist/dev/alipayIntrinsicElements/elements/subscribe-message.d.mts +12 -0
- package/dist/dev/alipayIntrinsicElements/elements/swiper-item.d.mts +8 -0
- package/dist/dev/alipayIntrinsicElements/elements/swiper.d.mts +37 -0
- package/dist/dev/alipayIntrinsicElements/elements/switch.d.mts +16 -0
- package/dist/dev/alipayIntrinsicElements/elements/text.d.mts +13 -0
- package/dist/dev/alipayIntrinsicElements/elements/textarea.d.mts +25 -0
- package/dist/dev/alipayIntrinsicElements/elements/video.d.mts +40 -0
- package/dist/dev/alipayIntrinsicElements/elements/view.d.mts +30 -0
- package/dist/dev/alipayIntrinsicElements/elements/web-view.d.mts +14 -0
- package/dist/dev/alipayIntrinsicElements.d.mts +94 -0
- package/dist/dev/api/vitest/setup.d.mts +1 -0
- package/dist/dev/api/vitest.d.mts +1 -0
- package/dist/dev/api.d.mts +1 -0
- package/dist/dev/compiler.d.mts +1 -0
- package/dist/dev/fetch.d.mts +9 -0
- package/dist/dev/index.d.mts +72 -0
- package/dist/dev/index.mjs +12 -15
- package/dist/dev/internal-reactivity.d.mts +18 -0
- package/dist/dev/internal-reactivity.mjs +3 -2
- package/dist/dev/internal-runtime.d.mts +44 -0
- package/dist/dev/internal-runtime.mjs +19 -14
- package/dist/dev/internal-template.d.mts +2 -0
- package/dist/dev/jsx-runtime.d.mts +44 -0
- package/dist/dev/jsxTypes.d.mts +9 -0
- package/dist/dev/macros/shared.d.mts +81 -0
- package/dist/dev/macros.d.mts +71 -0
- package/dist/dev/package.mjs +1 -1
- package/dist/dev/reactivity/asyncDerivation.d.mts +41 -0
- package/dist/dev/reactivity/asyncDerivation.mjs +130 -0
- package/dist/dev/reactivity/asyncDerivation.mjs.map +1 -0
- package/dist/dev/reactivity/computed.d.mts +21 -0
- package/dist/dev/reactivity/computed.mjs +2 -2
- package/dist/dev/reactivity/computed.mjs.map +1 -1
- package/dist/dev/reactivity/core.d.mts +35 -0
- package/dist/dev/reactivity/core.mjs +156 -32
- package/dist/dev/reactivity/core.mjs.map +1 -1
- package/dist/dev/reactivity/index.d.mts +16 -0
- package/dist/dev/reactivity/reactive/mutation.d.mts +21 -0
- package/dist/dev/reactivity/reactive/patch.d.mts +18 -0
- package/dist/dev/reactivity/reactive/shallow.d.mts +22 -0
- package/dist/dev/reactivity/reactive/shared.d.mts +4 -0
- package/dist/dev/reactivity/reactive.d.mts +42 -0
- package/dist/dev/reactivity/readonly.d.mts +27 -0
- package/dist/dev/reactivity/readonly.mjs.map +1 -1
- package/dist/dev/reactivity/ref.d.mts +27 -0
- package/dist/dev/reactivity/ref.mjs +1 -1
- package/dist/dev/reactivity/shallowRef.d.mts +19 -0
- package/dist/dev/reactivity/toRefs.d.mts +43 -0
- package/dist/dev/reactivity/traverse.d.mts +8 -0
- package/dist/dev/reactivity/watch/types.d.mts +43 -0
- package/dist/dev/reactivity/watch.d.mts +22 -0
- package/dist/dev/router/createRouter.d.mts +8 -0
- package/dist/dev/router/navigationCore.d.mts +6 -0
- package/dist/dev/router/resolve.d.mts +6 -0
- package/dist/dev/router/routeSync.d.mts +1 -0
- package/dist/dev/router/routeSync.mjs +8 -2
- package/dist/dev/router/routeSync.mjs.map +1 -1
- package/dist/dev/router/types.d.mts +172 -0
- package/dist/dev/router/useRoute.d.mts +19 -0
- package/dist/dev/router/useRoute.mjs +14 -7
- package/dist/dev/router/useRoute.mjs.map +1 -1
- package/dist/dev/router/useRouter.d.mts +8 -0
- package/dist/dev/router.d.mts +10 -0
- package/dist/dev/routerInternal/query.d.mts +7 -0
- package/dist/dev/routerInternal/types.d.mts +9 -0
- package/dist/dev/runtime/app/computed.mjs +2 -2
- package/dist/dev/runtime/app/computed.mjs.map +1 -1
- package/dist/dev/runtime/app/context.mjs +8 -2
- package/dist/dev/runtime/app/context.mjs.map +1 -1
- package/dist/dev/runtime/app/diagnostics.mjs +12 -0
- package/dist/dev/runtime/app/diagnostics.mjs.map +1 -1
- package/dist/dev/runtime/app/mount.mjs +31 -28
- package/dist/dev/runtime/app/mount.mjs.map +1 -1
- package/dist/dev/runtime/app/pending.d.mts +10 -0
- package/dist/dev/runtime/app/setData/commitTracker.d.mts +13 -0
- package/dist/dev/runtime/app/setData/commitTracker.mjs +265 -0
- package/dist/dev/runtime/app/setData/commitTracker.mjs.map +1 -0
- package/dist/dev/runtime/app/setData/patchScheduler.mjs +47 -51
- package/dist/dev/runtime/app/setData/patchScheduler.mjs.map +1 -1
- package/dist/dev/runtime/app/setData/scheduler.d.mts +51 -0
- package/dist/dev/runtime/app/setData/scheduler.mjs +98 -111
- package/dist/dev/runtime/app/setData/scheduler.mjs.map +1 -1
- package/dist/dev/runtime/app/setData/snapshot.mjs +11 -1
- package/dist/dev/runtime/app/setData/snapshot.mjs.map +1 -1
- package/dist/dev/runtime/app.d.mts +8 -0
- package/dist/dev/runtime/app.mjs +18 -6
- package/dist/dev/runtime/app.mjs.map +1 -1
- package/dist/dev/runtime/bindingManifest.mjs +105 -0
- package/dist/dev/runtime/bindingManifest.mjs.map +1 -0
- package/dist/dev/runtime/capabilities.d.mts +75 -0
- package/dist/dev/runtime/capabilities.mjs +40 -0
- package/dist/dev/runtime/capabilities.mjs.map +1 -0
- package/dist/dev/runtime/css.d.mts +14 -0
- package/dist/dev/runtime/defaults.d.mts +12 -0
- package/dist/dev/runtime/define/componentDefinition.mjs +3 -0
- package/dist/dev/runtime/define/componentDefinition.mjs.map +1 -1
- package/dist/dev/runtime/define/optionsApi.mjs +1 -1
- package/dist/dev/runtime/define/props.mjs +30 -60
- package/dist/dev/runtime/define/props.mjs.map +1 -1
- package/dist/dev/runtime/define/scopedSlotOptions.mjs +37 -21
- package/dist/dev/runtime/define/scopedSlotOptions.mjs.map +1 -1
- package/dist/dev/runtime/define.d.mts +118 -0
- package/dist/dev/runtime/define.mjs +32 -44
- package/dist/dev/runtime/define.mjs.map +1 -1
- package/dist/dev/runtime/diff.mjs +1 -1
- package/dist/dev/runtime/disposables.d.mts +31 -0
- package/dist/dev/runtime/elementIntersectionObserver.d.mts +26 -0
- package/dist/dev/runtime/features/inlineEvents.d.mts +7 -0
- package/dist/dev/runtime/features/inlineEvents.mjs +25 -0
- package/dist/dev/runtime/features/inlineEvents.mjs.map +1 -0
- package/dist/dev/runtime/features/layout.d.mts +7 -0
- package/dist/dev/runtime/features/layout.mjs +44 -0
- package/dist/dev/runtime/features/layout.mjs.map +1 -0
- package/dist/dev/runtime/features/patchStrategy.d.mts +7 -0
- package/dist/dev/runtime/features/patchStrategy.mjs +129 -0
- package/dist/dev/runtime/features/patchStrategy.mjs.map +1 -0
- package/dist/dev/runtime/features/publicLayout.d.mts +24 -0
- package/dist/dev/runtime/features/publicLayout.mjs +81 -0
- package/dist/dev/runtime/features/publicLayout.mjs.map +1 -0
- package/dist/dev/runtime/features/scopedSlots.d.mts +23 -0
- package/dist/dev/runtime/features/scopedSlots.mjs +88 -0
- package/dist/dev/runtime/features/scopedSlots.mjs.map +1 -0
- package/dist/dev/runtime/features/setDataHighFrequencyWarning.d.mts +7 -0
- package/dist/dev/runtime/features/setDataHighFrequencyWarning.mjs +15 -0
- package/dist/dev/runtime/features/setDataHighFrequencyWarning.mjs.map +1 -0
- package/dist/dev/runtime/features/templateRefs.d.mts +7 -0
- package/dist/dev/runtime/features/templateRefs.mjs +39 -0
- package/dist/dev/runtime/features/templateRefs.mjs.map +1 -0
- package/dist/dev/runtime/hooks/base.d.mts +27 -0
- package/dist/dev/runtime/hooks/register.d.mts +30 -0
- package/dist/dev/runtime/hooks/vue.d.mts +52 -0
- package/dist/dev/runtime/hooks/vue.mjs +3 -5
- package/dist/dev/runtime/hooks/vue.mjs.map +1 -1
- package/dist/dev/runtime/hooks.d.mts +4 -0
- package/dist/dev/runtime/index.d.mts +46 -0
- package/dist/dev/runtime/inlineDataset.mjs +75 -0
- package/dist/dev/runtime/inlineDataset.mjs.map +1 -0
- package/dist/dev/runtime/intersectionObserver.d.mts +14 -0
- package/dist/dev/runtime/jsxIsland.d.mts +37 -0
- package/dist/dev/runtime/jsxIsland.mjs.map +1 -1
- package/dist/dev/runtime/layoutBridge.d.mts +55 -0
- package/dist/dev/runtime/layoutBridge.mjs.map +1 -1
- package/dist/dev/runtime/noSetData.d.mts +5 -0
- package/dist/dev/runtime/pageEnvironment.d.mts +50 -0
- package/dist/dev/runtime/pageLayout.d.mts +25 -0
- package/dist/dev/runtime/pageLayout.mjs.map +1 -1
- package/dist/dev/runtime/pageScroll.d.mts +29 -0
- package/dist/dev/runtime/provide.d.mts +60 -0
- package/dist/dev/runtime/provideStore.d.mts +7 -0
- package/dist/dev/runtime/publicRuntime.d.mts +22 -0
- package/dist/dev/runtime/publicRuntime.mjs +91 -0
- package/dist/dev/runtime/publicRuntime.mjs.map +1 -0
- package/dist/dev/runtime/pullDownRefresh.d.mts +12 -0
- package/dist/dev/runtime/register/app.d.mts +14 -0
- package/dist/dev/runtime/register/app.mjs +7 -10
- package/dist/dev/runtime/register/app.mjs.map +1 -1
- package/dist/dev/runtime/register/component/lifecycle.mjs +22 -6
- package/dist/dev/runtime/register/component/lifecycle.mjs.map +1 -1
- package/dist/dev/runtime/register/component/methods.mjs +7 -10
- package/dist/dev/runtime/register/component/methods.mjs.map +1 -1
- package/dist/dev/runtime/register/component/options.mjs.map +1 -1
- package/dist/dev/runtime/register/component/registerDefinition.mjs +64 -69
- package/dist/dev/runtime/register/component/registerDefinition.mjs.map +1 -1
- package/dist/dev/runtime/register/component.d.mts +17 -0
- package/dist/dev/runtime/register/inline.d.mts +15 -0
- package/dist/dev/runtime/register/inline.mjs +4 -64
- package/dist/dev/runtime/register/inline.mjs.map +1 -1
- package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs +16 -2
- package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs.map +1 -1
- package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs +0 -4
- package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs.map +1 -1
- package/dist/dev/runtime/register/runtimeInstance/setupSnapshot.mjs +26 -0
- package/dist/dev/runtime/register/runtimeInstance/setupSnapshot.mjs.map +1 -0
- package/dist/dev/runtime/register/runtimeInstance/utils.mjs.map +1 -1
- package/dist/dev/runtime/register/runtimeInstance.d.mts +26 -0
- package/dist/dev/runtime/register/runtimeInstance.mjs +402 -160
- package/dist/dev/runtime/register/runtimeInstance.mjs.map +1 -1
- package/dist/dev/runtime/register/setDataFrequencyWarning.mjs.map +1 -1
- package/dist/dev/runtime/register/setup.d.mts +11 -0
- package/dist/dev/runtime/register/snapshot.mjs +6 -10
- package/dist/dev/runtime/register/snapshot.mjs.map +1 -1
- package/dist/dev/runtime/register/watch.d.mts +12 -0
- package/dist/dev/runtime/register.d.mts +5 -0
- package/dist/dev/runtime/scopedSlots.mjs +1 -1
- package/dist/dev/runtime/scopedSlots.mjs.map +1 -1
- package/dist/dev/runtime/selectorQuery.d.mts +54 -0
- package/dist/dev/runtime/selectorQuery.mjs +5 -0
- package/dist/dev/runtime/selectorQuery.mjs.map +1 -1
- package/dist/dev/runtime/teardown.mjs +18 -0
- package/dist/dev/runtime/teardown.mjs.map +1 -0
- package/dist/dev/runtime/template.d.mts +6 -0
- package/dist/dev/runtime/templateRefTypes.d.mts +12 -0
- package/dist/dev/runtime/templateRefs/helpers.mjs.map +1 -1
- package/dist/dev/runtime/templateRefs.mjs +187 -118
- package/dist/dev/runtime/templateRefs.mjs.map +1 -1
- package/dist/dev/runtime/types/core.d.mts +35 -0
- package/dist/dev/runtime/types/miniprogram.d.mts +84 -0
- package/dist/dev/runtime/types/miniprogramHost.d.mts +45 -0
- package/dist/dev/runtime/types/miniprogramHostSources.d.mts +112 -0
- package/dist/dev/runtime/types/options.d.mts +136 -0
- package/dist/dev/runtime/types/props/propTypes.d.mts +79 -0
- package/dist/dev/runtime/types/props/router.d.mts +51 -0
- package/dist/dev/runtime/types/props/setup.d.mts +96 -0
- package/dist/dev/runtime/types/props.d.mts +4 -0
- package/dist/dev/runtime/types/runtime.d.mts +59 -0
- package/dist/dev/runtime/types/setData.d.mts +237 -0
- package/dist/dev/runtime/types.d.mts +29 -0
- package/dist/dev/runtime/uniAppHost.d.mts +8 -0
- package/dist/dev/runtime/updatePerformance.d.mts +13 -0
- package/dist/dev/runtime/use.d.mts +13 -0
- package/dist/dev/runtime/vueCompat/context.d.mts +8 -0
- package/dist/dev/runtime/vueCompat/model.d.mts +30 -0
- package/dist/dev/runtime/vueCompat/router.d.mts +28 -0
- package/dist/dev/runtime/vueCompat/templateRef.d.mts +9 -0
- package/dist/dev/runtime/vueCompat/templateRef.mjs +2 -0
- package/dist/dev/runtime/vueCompat/templateRef.mjs.map +1 -1
- package/dist/dev/runtime/vueCompat.d.mts +5 -0
- package/dist/dev/scheduler.d.mts +4 -0
- package/dist/dev/store/base.mjs +12 -18
- package/dist/dev/store/base.mjs.map +1 -1
- package/dist/dev/store/define/optionsStyle.mjs +13 -23
- package/dist/dev/store/define/optionsStyle.mjs.map +1 -1
- package/dist/dev/store/define/setupStyle.mjs +14 -24
- package/dist/dev/store/define/setupStyle.mjs.map +1 -1
- package/dist/dev/store/define/shared.mjs +44 -1
- package/dist/dev/store/define/shared.mjs.map +1 -1
- package/dist/dev/store/define.d.mts +28 -0
- package/dist/dev/store/define.mjs.map +1 -1
- package/dist/dev/store/manager.d.mts +8 -0
- package/dist/dev/store/storeToRefs.d.mts +13 -0
- package/dist/dev/store/types.d.mts +70 -0
- package/dist/dev/store.d.mts +5 -0
- package/dist/dev/ttIntrinsicElements/base.d.mts +5 -0
- package/dist/dev/ttIntrinsicElements/elements/ad.d.mts +8 -0
- package/dist/dev/ttIntrinsicElements/elements/aweme-data.d.mts +15 -0
- package/dist/dev/ttIntrinsicElements/elements/aweme-user-card.d.mts +16 -0
- package/dist/dev/ttIntrinsicElements/elements/button.d.mts +23 -0
- package/dist/dev/ttIntrinsicElements/elements/camera.d.mts +19 -0
- package/dist/dev/ttIntrinsicElements/elements/canvas.d.mts +16 -0
- package/dist/dev/ttIntrinsicElements/elements/checkbox-group.d.mts +12 -0
- package/dist/dev/ttIntrinsicElements/elements/checkbox.d.mts +12 -0
- package/dist/dev/ttIntrinsicElements/elements/draw-ad.d.mts +16 -0
- package/dist/dev/ttIntrinsicElements/elements/form.d.mts +14 -0
- package/dist/dev/ttIntrinsicElements/elements/icon.d.mts +11 -0
- package/dist/dev/ttIntrinsicElements/elements/image.d.mts +16 -0
- package/dist/dev/ttIntrinsicElements/elements/input.d.mts +32 -0
- package/dist/dev/ttIntrinsicElements/elements/label.d.mts +10 -0
- package/dist/dev/ttIntrinsicElements/elements/live-player.d.mts +19 -0
- package/dist/dev/ttIntrinsicElements/elements/live-preview.d.mts +13 -0
- package/dist/dev/ttIntrinsicElements/elements/map.d.mts +36 -0
- package/dist/dev/ttIntrinsicElements/elements/mask.d.mts +8 -0
- package/dist/dev/ttIntrinsicElements/elements/match-media.d.mts +16 -0
- package/dist/dev/ttIntrinsicElements/elements/movable-area.d.mts +10 -0
- package/dist/dev/ttIntrinsicElements/elements/movable-view.d.mts +27 -0
- package/dist/dev/ttIntrinsicElements/elements/navigator.d.mts +16 -0
- package/dist/dev/ttIntrinsicElements/elements/open-data.d.mts +15 -0
- package/dist/dev/ttIntrinsicElements/elements/picker-view-column.d.mts +8 -0
- package/dist/dev/ttIntrinsicElements/elements/picker-view.d.mts +19 -0
- package/dist/dev/ttIntrinsicElements/elements/picker.d.mts +22 -0
- package/dist/dev/ttIntrinsicElements/elements/progress.d.mts +16 -0
- package/dist/dev/ttIntrinsicElements/elements/radio-group.d.mts +12 -0
- package/dist/dev/ttIntrinsicElements/elements/radio.d.mts +12 -0
- package/dist/dev/ttIntrinsicElements/elements/rich-text.d.mts +10 -0
- package/dist/dev/ttIntrinsicElements/elements/rtc-room.d.mts +13 -0
- package/dist/dev/ttIntrinsicElements/elements/scroll-view.d.mts +32 -0
- package/dist/dev/ttIntrinsicElements/elements/slider.d.mts +19 -0
- package/dist/dev/ttIntrinsicElements/elements/swiper-item.d.mts +10 -0
- package/dist/dev/ttIntrinsicElements/elements/swiper.d.mts +27 -0
- package/dist/dev/ttIntrinsicElements/elements/switch.d.mts +14 -0
- package/dist/dev/ttIntrinsicElements/elements/text.d.mts +12 -0
- package/dist/dev/ttIntrinsicElements/elements/textarea.d.mts +34 -0
- package/dist/dev/ttIntrinsicElements/elements/video.d.mts +58 -0
- package/dist/dev/ttIntrinsicElements/elements/view.d.mts +15 -0
- package/dist/dev/ttIntrinsicElements/elements/web-view.d.mts +15 -0
- package/dist/dev/ttIntrinsicElements.d.mts +88 -0
- package/dist/dev/version.d.mts +4 -0
- package/dist/dev/vue-augment.d.mts +8 -0
- package/dist/dev/vue-demi.d.mts +87 -0
- package/dist/dev/vue-demi.mjs +12 -15
- package/dist/dev/vue-demi.mjs.map +1 -1
- package/dist/dev/vue-types.d.mts +19 -0
- package/dist/dev/weappIntrinsicElements/base.d.mts +5 -0
- package/dist/dev/weappIntrinsicElements/elements/ad-custom.d.mts +14 -0
- package/dist/dev/weappIntrinsicElements/elements/ad.d.mts +17 -0
- package/dist/dev/weappIntrinsicElements/elements/audio.d.mts +21 -0
- package/dist/dev/weappIntrinsicElements/elements/block.d.mts +8 -0
- package/dist/dev/weappIntrinsicElements/elements/button.d.mts +42 -0
- package/dist/dev/weappIntrinsicElements/elements/camera.d.mts +19 -0
- package/dist/dev/weappIntrinsicElements/elements/canvas.d.mts +19 -0
- package/dist/dev/weappIntrinsicElements/elements/checkbox-group.d.mts +11 -0
- package/dist/dev/weappIntrinsicElements/elements/checkbox.d.mts +13 -0
- package/dist/dev/weappIntrinsicElements/elements/cover-image.d.mts +14 -0
- package/dist/dev/weappIntrinsicElements/elements/cover-view.d.mts +10 -0
- package/dist/dev/weappIntrinsicElements/elements/editor.d.mts +23 -0
- package/dist/dev/weappIntrinsicElements/elements/form.d.mts +17 -0
- package/dist/dev/weappIntrinsicElements/elements/functional-page-navigator.d.mts +16 -0
- package/dist/dev/weappIntrinsicElements/elements/icon.d.mts +12 -0
- package/dist/dev/weappIntrinsicElements/elements/image.d.mts +19 -0
- package/dist/dev/weappIntrinsicElements/elements/import.d.mts +10 -0
- package/dist/dev/weappIntrinsicElements/elements/include.d.mts +10 -0
- package/dist/dev/weappIntrinsicElements/elements/input.d.mts +47 -0
- package/dist/dev/weappIntrinsicElements/elements/keyboard-accessory.d.mts +8 -0
- package/dist/dev/weappIntrinsicElements/elements/label.d.mts +10 -0
- package/dist/dev/weappIntrinsicElements/elements/live-player.d.mts +36 -0
- package/dist/dev/weappIntrinsicElements/elements/live-pusher.d.mts +58 -0
- package/dist/dev/weappIntrinsicElements/elements/map.d.mts +106 -0
- package/dist/dev/weappIntrinsicElements/elements/match-media.d.mts +16 -0
- package/dist/dev/weappIntrinsicElements/elements/movable-area.d.mts +27 -0
- package/dist/dev/weappIntrinsicElements/elements/movable-view.d.mts +27 -0
- package/dist/dev/weappIntrinsicElements/elements/navigation-bar.d.mts +15 -0
- package/dist/dev/weappIntrinsicElements/elements/navigator.d.mts +26 -0
- package/dist/dev/weappIntrinsicElements/elements/official-account.d.mts +14 -0
- package/dist/dev/weappIntrinsicElements/elements/open-data.d.mts +16 -0
- package/dist/dev/weappIntrinsicElements/elements/page-container.d.mts +26 -0
- package/dist/dev/weappIntrinsicElements/elements/page-meta.d.mts +24 -0
- package/dist/dev/weappIntrinsicElements/elements/picker-view-column.d.mts +19 -0
- package/dist/dev/weappIntrinsicElements/elements/picker-view.d.mts +19 -0
- package/dist/dev/weappIntrinsicElements/elements/picker.d.mts +24 -0
- package/dist/dev/weappIntrinsicElements/elements/progress.d.mts +22 -0
- package/dist/dev/weappIntrinsicElements/elements/radio-group.d.mts +11 -0
- package/dist/dev/weappIntrinsicElements/elements/radio.d.mts +13 -0
- package/dist/dev/weappIntrinsicElements/elements/rich-text.d.mts +17 -0
- package/dist/dev/weappIntrinsicElements/elements/scroll-view.d.mts +64 -0
- package/dist/dev/weappIntrinsicElements/elements/share-element.d.mts +17 -0
- package/dist/dev/weappIntrinsicElements/elements/slider.d.mts +24 -0
- package/dist/dev/weappIntrinsicElements/elements/slot.d.mts +10 -0
- package/dist/dev/weappIntrinsicElements/elements/swiper-item.d.mts +11 -0
- package/dist/dev/weappIntrinsicElements/elements/swiper.d.mts +40 -0
- package/dist/dev/weappIntrinsicElements/elements/switch.d.mts +15 -0
- package/dist/dev/weappIntrinsicElements/elements/template.d.mts +12 -0
- package/dist/dev/weappIntrinsicElements/elements/text.d.mts +15 -0
- package/dist/dev/weappIntrinsicElements/elements/textarea.d.mts +41 -0
- package/dist/dev/weappIntrinsicElements/elements/video.d.mts +72 -0
- package/dist/dev/weappIntrinsicElements/elements/view.d.mts +15 -0
- package/dist/dev/weappIntrinsicElements/elements/voip-room.d.mts +15 -0
- package/dist/dev/weappIntrinsicElements/elements/web-view.d.mts +14 -0
- package/dist/dev/weappIntrinsicElements.d.mts +114 -0
- package/dist/dev/web-apis.d.mts +3 -0
- package/dist/fetch.d.mts +4 -4
- package/dist/index.d.mts +13 -14
- package/dist/index.mjs +1 -1
- package/dist/internal-reactivity.d.mts +2 -1
- package/dist/internal-reactivity.mjs +1 -1
- package/dist/internal-runtime.d.mts +13 -6
- package/dist/internal-runtime.mjs +1 -1
- package/dist/jsx-runtime.d.mts +51 -14
- package/dist/jsxTypes.d.mts +8 -0
- package/dist/macros/shared.d.mts +14 -15
- package/dist/macros.d.mts +22 -22
- package/dist/miniprogram/jsx-runtime.d.mts +13 -0
- package/dist/miniprogram/jsx-runtime.mjs +1 -0
- package/dist/miniprogramIntrinsicElements/base.d.mts +4 -0
- package/dist/miniprogramIntrinsicElements/elements/button.d.mts +23 -0
- package/dist/miniprogramIntrinsicElements/elements/camera.d.mts +18 -0
- package/dist/miniprogramIntrinsicElements/elements/canvas.d.mts +16 -0
- package/dist/miniprogramIntrinsicElements/elements/checkbox-group.d.mts +12 -0
- package/dist/miniprogramIntrinsicElements/elements/checkbox.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/form.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/icon.d.mts +12 -0
- package/dist/miniprogramIntrinsicElements/elements/image.d.mts +16 -0
- package/dist/miniprogramIntrinsicElements/elements/input.d.mts +29 -0
- package/dist/miniprogramIntrinsicElements/elements/label.d.mts +11 -0
- package/dist/miniprogramIntrinsicElements/elements/map.d.mts +31 -0
- package/dist/miniprogramIntrinsicElements/elements/match-media.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/movable-area.d.mts +9 -0
- package/dist/miniprogramIntrinsicElements/elements/movable-view.d.mts +26 -0
- package/dist/miniprogramIntrinsicElements/elements/navigator.d.mts +15 -0
- package/dist/miniprogramIntrinsicElements/elements/picker-view-column.d.mts +9 -0
- package/dist/miniprogramIntrinsicElements/elements/picker-view.d.mts +20 -0
- package/dist/miniprogramIntrinsicElements/elements/picker.d.mts +14 -0
- package/dist/miniprogramIntrinsicElements/elements/progress.d.mts +12 -0
- package/dist/miniprogramIntrinsicElements/elements/radio-group.d.mts +12 -0
- package/dist/miniprogramIntrinsicElements/elements/radio.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/rich-text.d.mts +11 -0
- package/dist/miniprogramIntrinsicElements/elements/scroll-view.d.mts +22 -0
- package/dist/miniprogramIntrinsicElements/elements/slider.d.mts +19 -0
- package/dist/miniprogramIntrinsicElements/elements/swiper-item.d.mts +9 -0
- package/dist/miniprogramIntrinsicElements/elements/swiper.d.mts +24 -0
- package/dist/miniprogramIntrinsicElements/elements/switch.d.mts +14 -0
- package/dist/miniprogramIntrinsicElements/elements/text.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/textarea.d.mts +23 -0
- package/dist/miniprogramIntrinsicElements/elements/video.d.mts +29 -0
- package/dist/miniprogramIntrinsicElements/elements/view.d.mts +16 -0
- package/dist/miniprogramIntrinsicElements/elements/web-view.d.mts +15 -0
- package/dist/miniprogramIntrinsicElements.d.mts +70 -0
- package/dist/package.mjs +1 -1
- package/dist/reactivity/asyncDerivation.d.mts +40 -0
- package/dist/reactivity/asyncDerivation.mjs +1 -0
- package/dist/reactivity/computed.d.mts +8 -9
- package/dist/reactivity/computed.mjs +1 -1
- package/dist/reactivity/core.d.mts +15 -15
- package/dist/reactivity/core.mjs +1 -1
- package/dist/reactivity/index.d.mts +2 -1
- package/dist/reactivity/reactive/mutation.d.mts +6 -7
- package/dist/reactivity/reactive/patch.d.mts +4 -5
- package/dist/reactivity/reactive/shallow.d.mts +3 -4
- package/dist/reactivity/reactive/shared.d.mts +2 -3
- package/dist/reactivity/reactive.d.mts +6 -6
- package/dist/reactivity/readonly.d.mts +7 -8
- package/dist/reactivity/ref.d.mts +14 -15
- package/dist/reactivity/ref.mjs +1 -1
- package/dist/reactivity/shallowRef.d.mts +5 -6
- package/dist/reactivity/toRefs.d.mts +5 -6
- package/dist/reactivity/traverse.d.mts +2 -3
- package/dist/reactivity/watch/types.d.mts +18 -19
- package/dist/reactivity/watch.d.mts +8 -8
- package/dist/router/createRouter.d.mts +2 -3
- package/dist/router/navigationCore.d.mts +3 -4
- package/dist/router/resolve.d.mts +2 -3
- package/dist/router/routeSync.mjs +1 -1
- package/dist/router/types.d.mts +38 -39
- package/dist/router/useRoute.d.mts +5 -6
- package/dist/router/useRoute.mjs +1 -1
- package/dist/router/useRouter.d.mts +2 -3
- package/dist/routerInternal/query.d.mts +3 -4
- package/dist/routerInternal/types.d.mts +2 -3
- package/dist/runtime/app/computed.mjs +1 -1
- package/dist/runtime/app/context.mjs +1 -1
- package/dist/runtime/app/diagnostics.mjs +1 -1
- package/dist/runtime/app/mount.mjs +1 -1
- package/dist/runtime/app/pending.d.mts +3 -4
- package/dist/runtime/app/setData/commitTracker.d.mts +12 -0
- package/dist/runtime/app/setData/commitTracker.mjs +1 -0
- package/dist/runtime/app/setData/patchScheduler.mjs +1 -1
- package/dist/runtime/app/setData/scheduler.d.mts +50 -0
- package/dist/runtime/app/setData/scheduler.mjs +1 -1
- package/dist/runtime/app/setData/snapshot.mjs +1 -1
- package/dist/runtime/app.d.mts +2 -3
- package/dist/runtime/app.mjs +1 -1
- package/dist/runtime/bindingManifest.mjs +1 -0
- package/dist/runtime/capabilities.d.mts +74 -0
- package/dist/runtime/capabilities.mjs +1 -0
- package/dist/runtime/css.d.mts +3 -4
- package/dist/runtime/defaults.d.mts +5 -6
- package/dist/runtime/define/componentDefinition.mjs +1 -1
- package/dist/runtime/define/optionsApi.mjs +1 -1
- package/dist/runtime/define/props.mjs +1 -1
- package/dist/runtime/define/scopedSlotOptions.mjs +1 -1
- package/dist/runtime/define.d.mts +18 -27
- package/dist/runtime/define.mjs +1 -1
- package/dist/runtime/diff.mjs +1 -1
- package/dist/runtime/disposables.d.mts +6 -7
- package/dist/runtime/elementIntersectionObserver.d.mts +5 -6
- package/dist/runtime/features/inlineEvents.d.mts +6 -0
- package/dist/runtime/features/inlineEvents.mjs +1 -0
- package/dist/runtime/features/layout.d.mts +6 -0
- package/dist/runtime/features/layout.mjs +1 -0
- package/dist/runtime/features/patchStrategy.d.mts +6 -0
- package/dist/runtime/features/patchStrategy.mjs +1 -0
- package/dist/runtime/features/publicLayout.d.mts +23 -0
- package/dist/runtime/features/publicLayout.mjs +1 -0
- package/dist/runtime/features/scopedSlots.d.mts +22 -0
- package/dist/runtime/features/scopedSlots.mjs +1 -0
- package/dist/runtime/features/setDataHighFrequencyWarning.d.mts +6 -0
- package/dist/runtime/features/setDataHighFrequencyWarning.mjs +1 -0
- package/dist/runtime/features/templateRefs.d.mts +6 -0
- package/dist/runtime/features/templateRefs.mjs +1 -0
- package/dist/runtime/hooks/base.d.mts +7 -8
- package/dist/runtime/hooks/register.d.mts +26 -27
- package/dist/runtime/hooks/vue.d.mts +13 -15
- package/dist/runtime/hooks/vue.mjs +1 -1
- package/dist/runtime/index.d.mts +12 -14
- package/dist/runtime/inlineDataset.mjs +1 -0
- package/dist/runtime/intersectionObserver.d.mts +4 -5
- package/dist/runtime/jsxIsland.d.mts +20 -25
- package/dist/runtime/layoutBridge.d.mts +12 -17
- package/dist/runtime/noSetData.d.mts +3 -4
- package/dist/runtime/pageEnvironment.d.mts +9 -10
- package/dist/runtime/pageLayout.d.mts +9 -11
- package/dist/runtime/pageScroll.d.mts +4 -5
- package/dist/runtime/provide.d.mts +7 -7
- package/dist/runtime/provideStore.d.mts +2 -3
- package/dist/runtime/publicRuntime.d.mts +21 -0
- package/dist/runtime/publicRuntime.mjs +1 -0
- package/dist/runtime/pullDownRefresh.d.mts +4 -5
- package/dist/runtime/register/app.d.mts +2 -3
- package/dist/runtime/register/app.mjs +1 -1
- package/dist/runtime/register/component/lifecycle.mjs +1 -1
- package/dist/runtime/register/component/methods.mjs +1 -1
- package/dist/runtime/register/component/registerDefinition.mjs +1 -1
- package/dist/runtime/register/component.d.mts +2 -3
- package/dist/runtime/register/inline.d.mts +3 -4
- package/dist/runtime/register/inline.mjs +1 -1
- package/dist/runtime/register/runtimeInstance/setupContext.mjs +1 -1
- package/dist/runtime/register/runtimeInstance/setupPhase.mjs +1 -1
- package/dist/runtime/register/runtimeInstance/setupSnapshot.mjs +1 -0
- package/dist/runtime/register/runtimeInstance.d.mts +4 -5
- package/dist/runtime/register/runtimeInstance.mjs +1 -1
- package/dist/runtime/register/setup.d.mts +2 -3
- package/dist/runtime/register/snapshot.mjs +1 -1
- package/dist/runtime/register/watch.d.mts +3 -4
- package/dist/runtime/scopedSlots.mjs +1 -1
- package/dist/runtime/selectorQuery.d.mts +15 -16
- package/dist/runtime/selectorQuery.mjs +1 -1
- package/dist/runtime/teardown.mjs +1 -0
- package/dist/runtime/template.d.mts +4 -5
- package/dist/runtime/templateRefTypes.d.mts +7 -3
- package/dist/runtime/templateRefs.mjs +1 -1
- package/dist/runtime/types/core.d.mts +9 -10
- package/dist/runtime/types/miniprogram.d.mts +13 -10
- package/dist/runtime/types/miniprogramHost.d.mts +41 -41
- package/dist/runtime/types/miniprogramHostSources.d.mts +21 -22
- package/dist/runtime/types/options.d.mts +8 -9
- package/dist/runtime/types/props/propTypes.d.mts +16 -17
- package/dist/runtime/types/props/router.d.mts +13 -14
- package/dist/runtime/types/props/setup.d.mts +7 -8
- package/dist/runtime/types/props.d.mts +1 -1
- package/dist/runtime/types/runtime.d.mts +7 -8
- package/dist/runtime/types/setData.d.mts +21 -5
- package/dist/runtime/types.d.mts +10 -10
- package/dist/runtime/uniAppHost.d.mts +2 -3
- package/dist/runtime/updatePerformance.d.mts +5 -6
- package/dist/runtime/use.d.mts +3 -4
- package/dist/runtime/vueCompat/context.d.mts +4 -5
- package/dist/runtime/vueCompat/model.d.mts +9 -10
- package/dist/runtime/vueCompat/router.d.mts +3 -4
- package/dist/runtime/vueCompat/templateRef.d.mts +4 -5
- package/dist/runtime/vueCompat/templateRef.mjs +1 -1
- package/dist/scheduler.d.mts +2 -3
- package/dist/store/base.mjs +1 -1
- package/dist/store/define/optionsStyle.mjs +1 -1
- package/dist/store/define/setupStyle.mjs +1 -1
- package/dist/store/define/shared.mjs +1 -1
- package/dist/store/define.d.mts +12 -11
- package/dist/store/manager.d.mts +2 -3
- package/dist/store/storeToRefs.d.mts +3 -4
- package/dist/store/types.d.mts +12 -13
- package/dist/tt/jsx-runtime.d.mts +13 -0
- package/dist/tt/jsx-runtime.mjs +1 -0
- package/dist/ttIntrinsicElements/base.d.mts +4 -0
- package/dist/ttIntrinsicElements/elements/ad.d.mts +7 -0
- package/dist/ttIntrinsicElements/elements/aweme-data.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/aweme-user-card.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/button.d.mts +22 -0
- package/dist/ttIntrinsicElements/elements/camera.d.mts +18 -0
- package/dist/ttIntrinsicElements/elements/canvas.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/checkbox-group.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/checkbox.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/draw-ad.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/form.d.mts +13 -0
- package/dist/ttIntrinsicElements/elements/icon.d.mts +10 -0
- package/dist/ttIntrinsicElements/elements/image.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/input.d.mts +31 -0
- package/dist/ttIntrinsicElements/elements/label.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/live-player.d.mts +18 -0
- package/dist/ttIntrinsicElements/elements/live-preview.d.mts +12 -0
- package/dist/ttIntrinsicElements/elements/map.d.mts +35 -0
- package/dist/ttIntrinsicElements/elements/mask.d.mts +7 -0
- package/dist/ttIntrinsicElements/elements/match-media.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/movable-area.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/movable-view.d.mts +26 -0
- package/dist/ttIntrinsicElements/elements/navigator.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/open-data.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/picker-view-column.d.mts +7 -0
- package/dist/ttIntrinsicElements/elements/picker-view.d.mts +18 -0
- package/dist/ttIntrinsicElements/elements/picker.d.mts +21 -0
- package/dist/ttIntrinsicElements/elements/progress.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/radio-group.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/radio.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/rich-text.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/rtc-room.d.mts +12 -0
- package/dist/ttIntrinsicElements/elements/scroll-view.d.mts +31 -0
- package/dist/ttIntrinsicElements/elements/slider.d.mts +18 -0
- package/dist/ttIntrinsicElements/elements/swiper-item.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/swiper.d.mts +26 -0
- package/dist/ttIntrinsicElements/elements/switch.d.mts +13 -0
- package/dist/ttIntrinsicElements/elements/text.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/textarea.d.mts +33 -0
- package/dist/ttIntrinsicElements/elements/video.d.mts +57 -0
- package/dist/ttIntrinsicElements/elements/view.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/web-view.d.mts +14 -0
- package/dist/ttIntrinsicElements.d.mts +88 -0
- package/dist/version.d.mts +2 -3
- package/dist/vue-augment.d.mts +2 -1
- package/dist/vue-demi.d.mts +17 -18
- package/dist/vue-demi.mjs +1 -1
- package/dist/vue-types.d.mts +2 -2
- package/dist/weapp/jsx-runtime.d.mts +13 -0
- package/dist/weapp/jsx-runtime.mjs +1 -0
- package/dist/weappIntrinsicElements/base.d.mts +3 -21
- package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +6 -6
- package/dist/weappIntrinsicElements/elements/ad.d.mts +7 -7
- package/dist/weappIntrinsicElements/elements/audio.d.mts +9 -9
- package/dist/weappIntrinsicElements/elements/block.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/button.d.mts +18 -17
- package/dist/weappIntrinsicElements/elements/camera.d.mts +12 -12
- package/dist/weappIntrinsicElements/elements/canvas.d.mts +10 -10
- package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +6 -9
- package/dist/weappIntrinsicElements/elements/checkbox.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/cover-image.d.mts +9 -6
- package/dist/weappIntrinsicElements/elements/cover-view.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/editor.d.mts +9 -9
- package/dist/weappIntrinsicElements/elements/form.d.mts +7 -7
- package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +9 -9
- package/dist/weappIntrinsicElements/elements/icon.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/image.d.mts +7 -7
- package/dist/weappIntrinsicElements/elements/import.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/include.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/input.d.mts +17 -18
- package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/label.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/live-player.d.mts +18 -18
- package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +19 -19
- package/dist/weappIntrinsicElements/elements/map.d.mts +18 -18
- package/dist/weappIntrinsicElements/elements/match-media.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/movable-area.d.mts +8 -8
- package/dist/weappIntrinsicElements/elements/movable-view.d.mts +8 -8
- package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/navigator.d.mts +10 -10
- package/dist/weappIntrinsicElements/elements/official-account.d.mts +6 -6
- package/dist/weappIntrinsicElements/elements/open-data.d.mts +5 -5
- package/dist/weappIntrinsicElements/elements/page-container.d.mts +11 -11
- package/dist/weappIntrinsicElements/elements/page-meta.d.mts +7 -7
- package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +7 -7
- package/dist/weappIntrinsicElements/elements/picker-view.d.mts +7 -7
- package/dist/weappIntrinsicElements/elements/picker.d.mts +9 -9
- package/dist/weappIntrinsicElements/elements/progress.d.mts +5 -5
- package/dist/weappIntrinsicElements/elements/radio-group.d.mts +6 -9
- package/dist/weappIntrinsicElements/elements/radio.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/rich-text.d.mts +6 -7
- package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +20 -25
- package/dist/weappIntrinsicElements/elements/share-element.d.mts +5 -7
- package/dist/weappIntrinsicElements/elements/slider.d.mts +6 -6
- package/dist/weappIntrinsicElements/elements/slot.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +6 -38
- package/dist/weappIntrinsicElements/elements/swiper.d.mts +11 -14
- package/dist/weappIntrinsicElements/elements/switch.d.mts +5 -5
- package/dist/weappIntrinsicElements/elements/template.d.mts +3 -4
- package/dist/weappIntrinsicElements/elements/text.d.mts +5 -6
- package/dist/weappIntrinsicElements/elements/textarea.d.mts +16 -16
- package/dist/weappIntrinsicElements/elements/video.d.mts +24 -24
- package/dist/weappIntrinsicElements/elements/view.d.mts +5 -4
- package/dist/weappIntrinsicElements/elements/voip-room.d.mts +7 -7
- package/dist/weappIntrinsicElements/elements/web-view.d.mts +7 -7
- package/dist/weappIntrinsicElements.d.mts +111 -150
- package/package.json +19 -19
- package/dist/dev/jsx-runtime.mjs +0 -1
- package/dist/runtime/templateRefs.d.mts +0 -11
- /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/defineProperty.mjs +0 -0
- /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPrimitive.mjs +0 -0
- /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPropertyKey.mjs +0 -0
- /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/typeof.mjs +0 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { createApp } from "./runtime/app.mjs";
|
|
2
1
|
import { useCssModule, useCssVars } from "./runtime/css.mjs";
|
|
3
2
|
import { INTERNAL_DEFAULTS_SCOPE_KEY, resetWevuDefaults, setWevuDefaults } from "./runtime/defaults.mjs";
|
|
4
|
-
import { createIsolatedWevuComponentDefinition, createWevuComponent, createWevuComponentDefinition,
|
|
3
|
+
import { createIsolatedWevuComponentDefinition, createWevuComponent, createWevuComponentDefinition, defineComponent, getWevuComponentLifecycleDefinition } from "./runtime/define.mjs";
|
|
5
4
|
import { useDisposables } from "./runtime/disposables.mjs";
|
|
6
5
|
import { useElementIntersectionObserver } from "./runtime/elementIntersectionObserver.mjs";
|
|
6
|
+
import { SetDataSchedulerOptions } from "./runtime/app/setData/scheduler.mjs";
|
|
7
|
+
import { HighFrequencyWarningMonitorOptions, LayoutHostBinding, RuntimeCapabilityName, RuntimeCapabilityRegistry, ScopedSlotMountState, SetDataScheduler, TemplateRefBinding } from "./runtime/capabilities.mjs";
|
|
8
|
+
import { resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, setPageLayout, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, useLayoutBridge, useLayoutHosts, usePageLayout, waitForLayoutHost } from "./runtime/features/publicLayout.mjs";
|
|
7
9
|
import { callHookList, callHookReturn, getCurrentInstance, getCurrentSetupContext, setCurrentInstance, setCurrentSetupContext } from "./runtime/hooks/base.mjs";
|
|
8
10
|
import { onAddToFavorites, onAttached, onDetached, onError, onHide, onLaunch, onLoad, onMemoryWarning, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload } from "./runtime/hooks/register.mjs";
|
|
9
11
|
import { onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onServerPrefetch, onUnmounted, onUpdated } from "./runtime/hooks/vue.mjs";
|
|
10
12
|
import "./runtime/hooks.mjs";
|
|
11
13
|
import { useIntersectionObserver } from "./runtime/intersectionObserver.mjs";
|
|
12
|
-
import { resolveLayoutBridge, resolveLayoutHost, useLayoutBridge, useLayoutHosts, waitForLayoutHost } from "./runtime/layoutBridge.mjs";
|
|
13
14
|
import { isNoSetData, markNoSetData } from "./runtime/noSetData.mjs";
|
|
14
15
|
import { getCurrentPageStackSnapshot, getNavigationBarMetrics, useNavigationBarMetrics, usePageStack } from "./runtime/pageEnvironment.mjs";
|
|
15
|
-
import { resolveRuntimePageLayoutName, setPageLayout, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, usePageLayout } from "./runtime/pageLayout.mjs";
|
|
16
16
|
import { usePageScrollThrottle } from "./runtime/pageScroll.mjs";
|
|
17
17
|
import { setGlobalProvidedValue } from "./runtime/provideStore.mjs";
|
|
18
18
|
import { hasInjectionContext, inject, injectGlobal, provide, provideGlobal } from "./runtime/provide.mjs";
|
|
19
|
-
import {
|
|
19
|
+
import { createWevuScopedSlotComponent, installScopedSlots } from "./runtime/features/scopedSlots.mjs";
|
|
20
|
+
import { createApp } from "./runtime/app.mjs";
|
|
20
21
|
import { registerApp } from "./runtime/register/app.mjs";
|
|
21
22
|
import { registerComponent } from "./runtime/register/component.mjs";
|
|
22
23
|
import { mountRuntimeInstance, setRuntimeSetDataVisibility, teardownRuntimeInstance } from "./runtime/register/runtimeInstance.mjs";
|
|
23
24
|
import { runSetupFunction } from "./runtime/register/setup.mjs";
|
|
24
25
|
import "./runtime/register.mjs";
|
|
26
|
+
import { useAsyncPullDownRefresh } from "./runtime/pullDownRefresh.mjs";
|
|
25
27
|
import { useBoundingClientRect, useScrollOffset, useSelectorFields, useSelectorQuery } from "./runtime/selectorQuery.mjs";
|
|
26
28
|
import { useUpdatePerformanceListener } from "./runtime/updatePerformance.mjs";
|
|
27
29
|
import { defineAppSetup, use } from "./runtime/use.mjs";
|
|
@@ -32,6 +34,11 @@ import { useTemplateRef } from "./runtime/vueCompat/templateRef.mjs";
|
|
|
32
34
|
import "./runtime/vueCompat.mjs";
|
|
33
35
|
import { version } from "./version.mjs";
|
|
34
36
|
import { takePendingRuntimeAppRegistration } from "./runtime/app/pending.mjs";
|
|
37
|
+
import { installInlineEvents } from "./runtime/features/inlineEvents.mjs";
|
|
38
|
+
import { installLayout } from "./runtime/features/layout.mjs";
|
|
39
|
+
import { installPatchStrategy } from "./runtime/features/patchStrategy.mjs";
|
|
40
|
+
import { installSetDataHighFrequencyWarning } from "./runtime/features/setDataHighFrequencyWarning.mjs";
|
|
41
|
+
import { installTemplateRefs } from "./runtime/features/templateRefs.mjs";
|
|
35
42
|
import { Fragment, createTextVNode, createVNode, isVNode, mergeProps, normalizeJsxIsland, resolveComponent, resolveDirective, transformOn, vModelCheckbox, vModelRadio, vModelSelect, vModelText, vShow, withDirectives } from "./runtime/jsxIsland.mjs";
|
|
36
43
|
import { createUniAppHost } from "./runtime/uniAppHost.mjs";
|
|
37
|
-
export { Fragment, INTERNAL_DEFAULTS_SCOPE_KEY, callHookList, callHookReturn, createApp, createIsolatedWevuComponentDefinition, createTextVNode, createUniAppHost, createVNode, createWevuComponent, createWevuComponentDefinition, createWevuScopedSlotComponent, defineAppSetup, defineComponent, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentSetupContext, getNavigationBarMetrics, getWevuComponentLifecycleDefinition, hasInjectionContext, inject, injectGlobal, isNoSetData, isVNode, markNoSetData, mergeModels, mergeProps, mountRuntimeInstance, normalizeJsxIsland, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, provide, provideGlobal, registerApp, registerComponent, resetWevuDefaults, resolveComponent, resolveDirective, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, takePendingRuntimeAppRegistration, teardownRuntimeInstance, transformOn, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useCssModule, useCssVars, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, vModelCheckbox, vModelRadio, vModelSelect, vModelText, vShow, version, waitForLayoutHost, withDirectives };
|
|
44
|
+
export { Fragment, type HighFrequencyWarningMonitorOptions, INTERNAL_DEFAULTS_SCOPE_KEY, type LayoutHostBinding, type RuntimeCapabilityName, type RuntimeCapabilityRegistry, type ScopedSlotMountState, type SetDataScheduler, type SetDataSchedulerOptions, type TemplateRefBinding, callHookList, callHookReturn, createApp, createIsolatedWevuComponentDefinition, createTextVNode, createUniAppHost, createVNode, createWevuComponent, createWevuComponentDefinition, createWevuScopedSlotComponent, defineAppSetup, defineComponent, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentSetupContext, getNavigationBarMetrics, getWevuComponentLifecycleDefinition, hasInjectionContext, inject, injectGlobal, installInlineEvents, installLayout, installPatchStrategy, installScopedSlots, installSetDataHighFrequencyWarning, installTemplateRefs, isNoSetData, isVNode, markNoSetData, mergeModels, mergeProps, mountRuntimeInstance, normalizeJsxIsland, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, provide, provideGlobal, registerApp, registerComponent, resetWevuDefaults, resolveComponent, resolveDirective, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, takePendingRuntimeAppRegistration, teardownRuntimeInstance, transformOn, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useCssModule, useCssVars, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, vModelCheckbox, vModelRadio, vModelSelect, vModelText, vShow, version, waitForLayoutHost, withDirectives };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{callHookList as e,callHookReturn as t,getCurrentInstance as n,getCurrentSetupContext as r,setCurrentInstance as i,setCurrentSetupContext as a}from"./runtime/hooks/base.mjs";import{onAddToFavorites as o,onAttached as s,onDetached as c,onError as l,onHide as u,onLaunch as d,onLoad as f,onMemoryWarning as p,onMoved as m,onPageNotFound as h,onPageScroll as g,onPullDownRefresh as _,onReachBottom as v,onReady as y,onResize as b,onRouteDone as x,onSaveExitState as S,onShareAppMessage as C,onShareTimeline as w,onShow as T,onTabItemTap as E,onThemeChange as D,onUnhandledRejection as O,onUnload as k}from"./runtime/hooks/register.mjs";import{onActivated as A,onBeforeMount as j,onBeforeUnmount as M,onBeforeUpdate as N,onDeactivated as P,onErrorCaptured as F,onMounted as I,onServerPrefetch as L,onUnmounted as R,onUpdated as z}from"./runtime/hooks/vue.mjs";import{
|
|
1
|
+
import{callHookList as e,callHookReturn as t,getCurrentInstance as n,getCurrentSetupContext as r,setCurrentInstance as i,setCurrentSetupContext as a}from"./runtime/hooks/base.mjs";import{onAddToFavorites as o,onAttached as s,onDetached as c,onError as l,onHide as u,onLaunch as d,onLoad as f,onMemoryWarning as p,onMoved as m,onPageNotFound as h,onPageScroll as g,onPullDownRefresh as _,onReachBottom as v,onReady as y,onResize as b,onRouteDone as x,onSaveExitState as S,onShareAppMessage as C,onShareTimeline as w,onShow as T,onTabItemTap as E,onThemeChange as D,onUnhandledRejection as O,onUnload as k}from"./runtime/hooks/register.mjs";import{onActivated as A,onBeforeMount as j,onBeforeUnmount as M,onBeforeUpdate as N,onDeactivated as P,onErrorCaptured as F,onMounted as I,onServerPrefetch as L,onUnmounted as R,onUpdated as z}from"./runtime/hooks/vue.mjs";import{useCssModule as B,useCssVars as V}from"./runtime/css.mjs";import{INTERNAL_DEFAULTS_SCOPE_KEY as H,resetWevuDefaults as U,setWevuDefaults as W}from"./runtime/defaults.mjs";import{useDisposables as G}from"./runtime/disposables.mjs";import{useElementIntersectionObserver as K}from"./runtime/elementIntersectionObserver.mjs";import{isNoSetData as q,markNoSetData as J}from"./runtime/noSetData.mjs";import{installTemplateRefs as Y}from"./runtime/features/templateRefs.mjs";import{installLayout as X}from"./runtime/features/layout.mjs";import{resolveLayoutBridge as Z,resolveLayoutHost as Q,resolveRuntimePageLayoutName as $,setPageLayout as ee,syncRuntimePageLayoutState as te,syncRuntimePageLayoutStateFromRuntime as ne,useLayoutBridge as re,useLayoutHosts as ie,usePageLayout as ae,waitForLayoutHost as oe}from"./runtime/features/publicLayout.mjs";import{useIntersectionObserver as se}from"./runtime/intersectionObserver.mjs";import{getCurrentPageStackSnapshot as ce,getNavigationBarMetrics as le,useNavigationBarMetrics as ue,usePageStack as de}from"./runtime/pageEnvironment.mjs";import{usePageScrollThrottle as fe}from"./runtime/pageScroll.mjs";import{setGlobalProvidedValue as pe}from"./runtime/provideStore.mjs";import{hasInjectionContext as me,inject as he,injectGlobal as ge,provide as _e,provideGlobal as ve}from"./runtime/provide.mjs";import{version as ye}from"./version.mjs";import{takePendingRuntimeAppRegistration as be}from"./runtime/app/pending.mjs";import{runSetupFunction as xe}from"./runtime/register/setup.mjs";import{mountRuntimeInstance as Se,setRuntimeSetDataVisibility as Ce,teardownRuntimeInstance as we}from"./runtime/register/runtimeInstance.mjs";import{registerApp as Te}from"./runtime/register/app.mjs";import{Fragment as Ee,createTextVNode as De,createVNode as Oe,isVNode as ke,mergeProps as Ae,normalizeJsxIsland as je,resolveComponent as Me,resolveDirective as Ne,transformOn as Pe,vModelCheckbox as Fe,vModelRadio as Ie,vModelSelect as Le,vModelText as Re,vShow as ze,withDirectives as Be}from"./runtime/jsxIsland.mjs";import{registerComponent as Ve}from"./runtime/register/component.mjs";import{createApp as He}from"./runtime/app.mjs";import{createIsolatedWevuComponentDefinition as Ue,createWevuComponent as We,createWevuComponentDefinition as Ge,defineComponent as Ke,getWevuComponentLifecycleDefinition as qe}from"./runtime/define.mjs";import{installInlineEvents as Je}from"./runtime/features/inlineEvents.mjs";import{installPatchStrategy as Ye}from"./runtime/features/patchStrategy.mjs";import{createWevuScopedSlotComponent as Xe,installScopedSlots as Ze}from"./runtime/features/scopedSlots.mjs";import{installSetDataHighFrequencyWarning as Qe}from"./runtime/features/setDataHighFrequencyWarning.mjs";import{useAsyncPullDownRefresh as $e}from"./runtime/pullDownRefresh.mjs";import{useBoundingClientRect as et,useScrollOffset as tt,useSelectorFields as nt,useSelectorQuery as rt}from"./runtime/selectorQuery.mjs";import{useUpdatePerformanceListener as it}from"./runtime/updatePerformance.mjs";import{defineAppSetup as at,use as ot}from"./runtime/use.mjs";import{useAttrs as st,useNativeInstance as ct,useSlots as lt}from"./runtime/vueCompat/context.mjs";import{mergeModels as ut,useBindModel as dt,useChangeModel as ft,useModel as pt}from"./runtime/vueCompat/model.mjs";import{useNativePageRouter as mt,useNativeRouter as ht}from"./runtime/vueCompat/router.mjs";import{useTemplateRef as gt}from"./runtime/vueCompat/templateRef.mjs";import{createUniAppHost as _t}from"./runtime/uniAppHost.mjs";export{Ee as Fragment,H as INTERNAL_DEFAULTS_SCOPE_KEY,e as callHookList,t as callHookReturn,He as createApp,Ue as createIsolatedWevuComponentDefinition,De as createTextVNode,_t as createUniAppHost,Oe as createVNode,We as createWevuComponent,Ge as createWevuComponentDefinition,Xe as createWevuScopedSlotComponent,at as defineAppSetup,Ke as defineComponent,n as getCurrentInstance,ce as getCurrentPageStackSnapshot,r as getCurrentSetupContext,le as getNavigationBarMetrics,qe as getWevuComponentLifecycleDefinition,me as hasInjectionContext,he as inject,ge as injectGlobal,Je as installInlineEvents,X as installLayout,Ye as installPatchStrategy,Ze as installScopedSlots,Qe as installSetDataHighFrequencyWarning,Y as installTemplateRefs,q as isNoSetData,ke as isVNode,J as markNoSetData,ut as mergeModels,Ae as mergeProps,Se as mountRuntimeInstance,je as normalizeJsxIsland,A as onActivated,o as onAddToFavorites,s as onAttached,j as onBeforeMount,M as onBeforeUnmount,N as onBeforeUpdate,P as onDeactivated,c as onDetached,l as onError,F as onErrorCaptured,u as onHide,d as onLaunch,f as onLoad,p as onMemoryWarning,I as onMounted,m as onMoved,h as onPageNotFound,g as onPageScroll,_ as onPullDownRefresh,v as onReachBottom,y as onReady,b as onResize,x as onRouteDone,S as onSaveExitState,L as onServerPrefetch,C as onShareAppMessage,w as onShareTimeline,T as onShow,E as onTabItemTap,D as onThemeChange,O as onUnhandledRejection,k as onUnload,R as onUnmounted,z as onUpdated,_e as provide,ve as provideGlobal,Te as registerApp,Ve as registerComponent,U as resetWevuDefaults,Me as resolveComponent,Ne as resolveDirective,Z as resolveLayoutBridge,Q as resolveLayoutHost,$ as resolveRuntimePageLayoutName,xe as runSetupFunction,i as setCurrentInstance,a as setCurrentSetupContext,pe as setGlobalProvidedValue,ee as setPageLayout,Ce as setRuntimeSetDataVisibility,W as setWevuDefaults,te as syncRuntimePageLayoutState,ne as syncRuntimePageLayoutStateFromRuntime,be as takePendingRuntimeAppRegistration,we as teardownRuntimeInstance,Pe as transformOn,ot as use,$e as useAsyncPullDownRefresh,st as useAttrs,dt as useBindModel,et as useBoundingClientRect,ft as useChangeModel,B as useCssModule,V as useCssVars,G as useDisposables,K as useElementIntersectionObserver,se as useIntersectionObserver,re as useLayoutBridge,ie as useLayoutHosts,pt as useModel,ct as useNativeInstance,mt as useNativePageRouter,ht as useNativeRouter,ue as useNavigationBarMetrics,ae as usePageLayout,fe as usePageScrollThrottle,de as usePageStack,tt as useScrollOffset,nt as useSelectorFields,rt as useSelectorQuery,lt as useSlots,gt as useTemplateRef,it as useUpdatePerformanceListener,Fe as vModelCheckbox,Ie as vModelRadio,Le as vModelSelect,Re as vModelText,ze as vShow,ye as version,oe as waitForLayoutHost,Be as withDirectives};
|
package/dist/jsx-runtime.d.mts
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WevuJsxVNode } from "./runtime/jsxIsland.mjs";
|
|
3
|
-
import { GlobalComponents } from "wevu";
|
|
1
|
+
import { WevuJsxVNode } from "./jsxTypes.mjs";
|
|
4
2
|
//#region src/jsx-runtime.d.ts
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
interface WevuJsxClassObject {
|
|
4
|
+
[name: string]: boolean | null | undefined;
|
|
5
|
+
}
|
|
6
|
+
type WevuJsxClassValue = WevuJsxClassObject | WevuJsxClassValue[] | false | null | string | undefined;
|
|
7
|
+
interface WevuJsxStyleObject {
|
|
8
|
+
[property: string]: null | number | string | undefined;
|
|
9
|
+
}
|
|
10
|
+
type WevuJsxStyleValue = WevuJsxStyleObject | WevuJsxStyleValue[] | false | null | string | undefined;
|
|
11
|
+
type WevuJsxDatasetAttributes = { [name in `data-${string}`]?: unknown; };
|
|
12
|
+
export type WevuJsxChild = WevuJsxElement | WevuJsxElement[];
|
|
13
|
+
export type WevuJsxElement = WevuJsxVNode | boolean | null | number | string | undefined;
|
|
14
|
+
export type WevuJsxEventHandler<TReturn = unknown> = {
|
|
15
|
+
bivarianceHack(...args: unknown[]): TReturn;
|
|
16
|
+
}['bivarianceHack'];
|
|
17
|
+
export type WevuJsxHostAttributes = {
|
|
18
|
+
id?: number | string;
|
|
19
|
+
class?: WevuJsxClassValue;
|
|
20
|
+
className?: WevuJsxClassValue;
|
|
21
|
+
style?: WevuJsxStyleValue;
|
|
22
|
+
hidden?: boolean;
|
|
23
|
+
key?: number | string;
|
|
24
|
+
onTap?: WevuJsxEventHandler;
|
|
25
|
+
catchTap?: WevuJsxEventHandler;
|
|
26
|
+
captureBindTap?: WevuJsxEventHandler;
|
|
27
|
+
captureCatchTap?: WevuJsxEventHandler;
|
|
28
|
+
onLongPress?: WevuJsxEventHandler;
|
|
29
|
+
onTouchStart?: WevuJsxEventHandler;
|
|
30
|
+
onTouchMove?: WevuJsxEventHandler;
|
|
31
|
+
onTouchEnd?: WevuJsxEventHandler;
|
|
32
|
+
onTouchCancel?: WevuJsxEventHandler;
|
|
33
|
+
catchTouchStart?: WevuJsxEventHandler;
|
|
34
|
+
catchTouchMove?: WevuJsxEventHandler;
|
|
35
|
+
catchTouchEnd?: WevuJsxEventHandler;
|
|
36
|
+
catchTouchCancel?: WevuJsxEventHandler;
|
|
37
|
+
captureBindTouchStart?: WevuJsxEventHandler;
|
|
38
|
+
captureBindTouchMove?: WevuJsxEventHandler;
|
|
39
|
+
captureBindTouchEnd?: WevuJsxEventHandler;
|
|
40
|
+
captureBindTouchCancel?: WevuJsxEventHandler;
|
|
41
|
+
captureCatchTouchStart?: WevuJsxEventHandler;
|
|
42
|
+
captureCatchTouchMove?: WevuJsxEventHandler;
|
|
43
|
+
captureCatchTouchEnd?: WevuJsxEventHandler;
|
|
44
|
+
captureCatchTouchCancel?: WevuJsxEventHandler;
|
|
45
|
+
} & WevuJsxDatasetAttributes;
|
|
46
|
+
export interface WevuJsxGlobalComponents {}
|
|
47
|
+
export declare namespace JSX {
|
|
8
48
|
type Element = WevuJsxElement;
|
|
9
49
|
interface ElementClass {
|
|
10
|
-
$props:
|
|
50
|
+
$props: unknown;
|
|
11
51
|
}
|
|
12
52
|
interface ElementAttributesProperty {
|
|
13
|
-
$props:
|
|
14
|
-
}
|
|
15
|
-
interface IntrinsicAttributes {
|
|
16
|
-
key?: number | string;
|
|
53
|
+
$props: unknown;
|
|
17
54
|
}
|
|
18
|
-
interface
|
|
55
|
+
interface IntrinsicAttributes extends WevuJsxHostAttributes {}
|
|
56
|
+
interface IntrinsicElements extends WevuJsxGlobalComponents {}
|
|
19
57
|
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { JSX, WevuJsxChild, WevuJsxElement };
|
|
58
|
+
//#endregion
|
package/dist/macros/shared.d.mts
CHANGED
|
@@ -5,29 +5,29 @@ import { ComputedDefinitions, MethodDefinitions } from "../runtime/types/core.mj
|
|
|
5
5
|
import { DefineComponentOptions } from "../runtime/types/options.mjs";
|
|
6
6
|
import "../runtime/index.mjs";
|
|
7
7
|
//#region src/macros/shared.d.ts
|
|
8
|
-
type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
8
|
+
export type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
9
9
|
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
10
10
|
type ComponentObjectPropsOptions = ComponentPropsOptions;
|
|
11
11
|
type ExtractPropTypes<P extends ComponentObjectPropsOptions> = InferProps<P>;
|
|
12
|
-
type DefineProps<T, BKeys extends keyof T> = Readonly<T> & { readonly [K in BKeys]-?: boolean; };
|
|
13
|
-
type BooleanKey<T, K extends keyof T = keyof T> = K extends any ? T[K] extends boolean | undefined ? T[K] extends never | undefined ? never : K : never : never;
|
|
14
|
-
type DefinePropsFromArray<PropNames extends string = string> = Prettify<Readonly<{ [key in PropNames]?: any; }>>;
|
|
15
|
-
type DefinePropsFromOptions<PP extends ComponentObjectPropsOptions = ComponentObjectPropsOptions> = Prettify<Readonly<ExtractPropTypes<PP>>>;
|
|
12
|
+
export type DefineProps<T, BKeys extends keyof T> = Readonly<T> & { readonly [K in BKeys]-?: boolean; };
|
|
13
|
+
export type BooleanKey<T, K extends keyof T = keyof T> = K extends any ? T[K] extends boolean | undefined ? T[K] extends never | undefined ? never : K : never : never;
|
|
14
|
+
export type DefinePropsFromArray<PropNames extends string = string> = Prettify<Readonly<{ [key in PropNames]?: any; }>>;
|
|
15
|
+
export type DefinePropsFromOptions<PP extends ComponentObjectPropsOptions = ComponentObjectPropsOptions> = Prettify<Readonly<ExtractPropTypes<PP>>>;
|
|
16
16
|
type NotUndefined<T> = T extends undefined ? never : T;
|
|
17
17
|
type MappedOmit<T, K extends keyof any> = { [P in keyof T as P extends K ? never : P]: T[P]; };
|
|
18
|
-
type InferDefaults<T> = { [K in keyof T]?: InferDefault<T, T[K]>; };
|
|
18
|
+
export type InferDefaults<T> = { [K in keyof T]?: InferDefault<T, T[K]>; };
|
|
19
19
|
type NativeType = null | undefined | number | string | boolean | symbol | ((...args: any[]) => any);
|
|
20
20
|
type InferDefault<P, T> = ((props: P) => T & {}) | (T extends NativeType ? T : never);
|
|
21
|
-
type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof T> = T extends unknown ? Readonly<MappedOmit<T, keyof Defaults>> & { readonly [K in keyof Defaults as K extends keyof T ? K : never]-?: K extends keyof T ? Defaults[K] extends undefined ? IfAny<Defaults[K], NotUndefined<T[K]>, T[K]> : NotUndefined<T[K]> : never; } & { readonly [K in BKeys]-?: K extends keyof Defaults ? Defaults[K] extends undefined ? boolean | undefined : boolean : boolean; } : never;
|
|
22
|
-
type UnionToIntersection<U> = (U extends any ? (arg: U) => any : never) extends ((arg: infer I) => any) ? I : never;
|
|
21
|
+
export type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof T> = T extends unknown ? Readonly<MappedOmit<T, keyof Defaults>> & { readonly [K in keyof Defaults as K extends keyof T ? K : never]-?: K extends keyof T ? Defaults[K] extends undefined ? IfAny<Defaults[K], NotUndefined<T[K]>, T[K]> : NotUndefined<T[K]> : never; } & { readonly [K in BKeys]-?: K extends keyof Defaults ? Defaults[K] extends undefined ? boolean | undefined : boolean : boolean; } : never;
|
|
22
|
+
export type UnionToIntersection<U> = (U extends any ? (arg: U) => any : never) extends ((arg: infer I) => any) ? I : never;
|
|
23
23
|
type ScriptSetupTriggerEventOptions = HostMiniProgramTriggerEventOptions;
|
|
24
24
|
type EmitArgsWithTriggerEventOptions<Args extends any[]> = Args extends [] ? [] | [detail: undefined, options: ScriptSetupTriggerEventOptions] : Args | [...args: Args, options: ScriptSetupTriggerEventOptions];
|
|
25
25
|
type ObjectEmitsOptions = Record<string, ((...args: any[]) => any) | null>;
|
|
26
|
-
type EmitsOptions = ObjectEmitsOptions | string[];
|
|
27
|
-
type EmitFn<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : {} extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{ [K in Event]: Options[K] extends ((...args: infer Args) => any) ? (event: K, ...args: EmitArgsWithTriggerEventOptions<Args>) => void : Options[K] extends any[] ? (event: K, ...args: EmitArgsWithTriggerEventOptions<Options[K]>) => void : (event: K, ...args: any[]) => void; }[Event]>;
|
|
28
|
-
type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any>;
|
|
26
|
+
export type EmitsOptions = ObjectEmitsOptions | string[];
|
|
27
|
+
export type EmitFn<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : {} extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{ [K in Event]: Options[K] extends ((...args: infer Args) => any) ? (event: K, ...args: EmitArgsWithTriggerEventOptions<Args>) => void : Options[K] extends any[] ? (event: K, ...args: EmitArgsWithTriggerEventOptions<Options[K]>) => void : (event: K, ...args: any[]) => void; }[Event]>;
|
|
28
|
+
export type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any>;
|
|
29
29
|
type RecordToUnion<T extends Record<string, any>> = T[keyof T];
|
|
30
|
-
type ShortEmits<T extends Record<string, any>> = UnionToIntersection<RecordToUnion<{ [K in keyof T]: (evt: K, ...args: EmitArgsWithTriggerEventOptions<T[K]>) => void; }>>;
|
|
30
|
+
export type ShortEmits<T extends Record<string, any>> = UnionToIntersection<RecordToUnion<{ [K in keyof T]: (evt: K, ...args: EmitArgsWithTriggerEventOptions<T[K]>) => void; }>>;
|
|
31
31
|
type ScriptSetupNativePropertyOption = HostMiniProgramComponentPropertyOption;
|
|
32
32
|
type ScriptSetupNativeMethodOption = HostMiniProgramComponentMethodOption;
|
|
33
33
|
type ScriptSetupNativeBehaviorOption = HostMiniProgramComponentEmptyArray;
|
|
@@ -39,7 +39,7 @@ type ScriptSetupPropertyObserver<TProperty extends HostMiniProgramComponentAllPr
|
|
|
39
39
|
type ScriptSetupNativeProperties<D extends object, P extends ScriptSetupNativePropertyOption, M extends ScriptSetupNativeMethodOption> = { [K in keyof P]: ScriptSetupPropertyObserver<P[K], ScriptSetupNativeInstance<D, P, M>>; };
|
|
40
40
|
type ScriptSetupNativeMethods<D extends object, P extends ScriptSetupNativePropertyOption, M extends ScriptSetupNativeMethodOption> = M & ThisType<ScriptSetupNativeInstance<D, P, M>>;
|
|
41
41
|
type RemoveIndexSignature<T> = { [K in keyof T as string extends K ? never : number extends K ? never : symbol extends K ? never : K]: T[K]; };
|
|
42
|
-
type ScriptSetupDefineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends ScriptSetupNativePropertyOption = ScriptSetupNativePropertyOption> = Omit<RemoveIndexSignature<DefineComponentOptions<ComponentPropsOptions, D, C, M>>, 'props' | 'options' | 'data' | 'methods'> & {
|
|
42
|
+
export type ScriptSetupDefineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends ScriptSetupNativePropertyOption = ScriptSetupNativePropertyOption> = Omit<RemoveIndexSignature<DefineComponentOptions<ComponentPropsOptions, D, C, M>>, 'props' | 'options' | 'data' | 'methods'> & {
|
|
43
43
|
/**
|
|
44
44
|
* props 必须通过 defineProps() 声明。
|
|
45
45
|
*/
|
|
@@ -77,5 +77,4 @@ type ScriptSetupDefineOptions<D extends object = Record<string, any>, C extends
|
|
|
77
77
|
*/
|
|
78
78
|
setupLifecycle?: 'created' | 'attached';
|
|
79
79
|
};
|
|
80
|
-
//#endregion
|
|
81
|
-
export { BooleanKey, ComponentTypeEmits, DefineProps, DefinePropsFromArray, DefinePropsFromOptions, EmitFn, EmitsOptions, InferDefaults, Prettify, PropsWithDefaults, ScriptSetupDefineOptions, ShortEmits, UnionToIntersection };
|
|
80
|
+
//#endregion
|
package/dist/macros.d.mts
CHANGED
|
@@ -9,50 +9,50 @@ import { BooleanKey, ComponentTypeEmits, DefineProps, DefinePropsFromArray, Defi
|
|
|
9
9
|
/**
|
|
10
10
|
* defineProps 声明(类型层宏)。
|
|
11
11
|
*/
|
|
12
|
-
declare function defineProps<PropNames extends string = string>(props: PropNames[]): DefinePropsFromArray<PropNames>;
|
|
13
|
-
declare function defineProps<PP extends ComponentPropsOptions = ComponentPropsOptions>(props: PP): DefinePropsFromOptions<PP>;
|
|
14
|
-
declare function defineProps<TypeProps>(): DefineProps<TypeProps, BooleanKey<TypeProps>>;
|
|
12
|
+
export declare function defineProps<PropNames extends string = string>(props: PropNames[]): DefinePropsFromArray<PropNames>;
|
|
13
|
+
export declare function defineProps<PP extends ComponentPropsOptions = ComponentPropsOptions>(props: PP): DefinePropsFromOptions<PP>;
|
|
14
|
+
export declare function defineProps<TypeProps>(): DefineProps<TypeProps, BooleanKey<TypeProps>>;
|
|
15
15
|
/**
|
|
16
16
|
* withDefaults 为 defineProps 声明默认值(类型层)。
|
|
17
17
|
*/
|
|
18
|
-
declare function withDefaults<T, BKeys extends keyof T, Defaults extends InferDefaults<T>>(props: DefineProps<T, BKeys>, defaults: Defaults): PropsWithDefaults<T, Defaults, BKeys>;
|
|
18
|
+
export declare function withDefaults<T, BKeys extends keyof T, Defaults extends InferDefaults<T>>(props: DefineProps<T, BKeys>, defaults: Defaults): PropsWithDefaults<T, Defaults, BKeys>;
|
|
19
19
|
/**
|
|
20
20
|
* defineEmits 声明(类型层宏)。
|
|
21
21
|
*/
|
|
22
|
-
declare function defineEmits<EE extends string = string>(emits?: EE[]): EmitFn<EE[]>;
|
|
23
|
-
declare function defineEmits<E extends EmitsOptions = EmitsOptions>(emits?: E): EmitFn<E>;
|
|
24
|
-
declare function defineEmits<T extends ComponentTypeEmits>(): T extends ((...args: any[]) => any) ? T : ShortEmits<T>;
|
|
22
|
+
export declare function defineEmits<EE extends string = string>(emits?: EE[]): EmitFn<EE[]>;
|
|
23
|
+
export declare function defineEmits<E extends EmitsOptions = EmitsOptions>(emits?: E): EmitFn<E>;
|
|
24
|
+
export declare function defineEmits<T extends ComponentTypeEmits>(): T extends ((...args: any[]) => any) ? T : ShortEmits<T>;
|
|
25
25
|
/**
|
|
26
26
|
* defineExpose 向父级 ref 暴露成员(仅类型层)。
|
|
27
27
|
*/
|
|
28
|
-
declare function defineExpose<T extends Record<string, any> = Record<string, any>>(exposed?: T): void;
|
|
28
|
+
export declare function defineExpose<T extends Record<string, any> = Record<string, any>>(exposed?: T): void;
|
|
29
29
|
/**
|
|
30
30
|
* defineOptions 设置 `<script setup>` 组件选项(仅类型层)。
|
|
31
31
|
*/
|
|
32
|
-
declare function defineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends HostMiniProgramComponentPropertyOption = HostMiniProgramComponentPropertyOption>(options?: ScriptSetupDefineOptions<D, C, M, P>): void;
|
|
33
|
-
declare function defineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends HostMiniProgramComponentPropertyOption = HostMiniProgramComponentPropertyOption>(options?: () => ScriptSetupDefineOptions<D, C, M, P> | Promise<ScriptSetupDefineOptions<D, C, M, P>>): void;
|
|
32
|
+
export declare function defineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends HostMiniProgramComponentPropertyOption = HostMiniProgramComponentPropertyOption>(options?: ScriptSetupDefineOptions<D, C, M, P>): void;
|
|
33
|
+
export declare function defineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends HostMiniProgramComponentPropertyOption = HostMiniProgramComponentPropertyOption>(options?: () => ScriptSetupDefineOptions<D, C, M, P> | Promise<ScriptSetupDefineOptions<D, C, M, P>>): void;
|
|
34
34
|
/**
|
|
35
35
|
* defineSlots 声明 slots 类型(仅类型层)。
|
|
36
36
|
*/
|
|
37
|
-
declare function defineSlots<T extends Record<string, any> = Record<string, any>>(): T;
|
|
38
|
-
type PageLayoutMeta = string | false | {
|
|
37
|
+
export declare function defineSlots<T extends Record<string, any> = Record<string, any>>(): T;
|
|
38
|
+
export type PageLayoutMeta = string | false | {
|
|
39
39
|
name: string;
|
|
40
40
|
props?: Record<string, unknown>;
|
|
41
41
|
};
|
|
42
|
-
interface PageMeta {
|
|
42
|
+
export interface PageMeta {
|
|
43
43
|
layout?: PageLayoutMeta;
|
|
44
44
|
[key: string]: unknown;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* definePageMeta 声明页面级元信息(仅类型层)。
|
|
48
48
|
*/
|
|
49
|
-
declare function definePageMeta(meta: PageMeta): void;
|
|
49
|
+
export declare function definePageMeta(meta: PageMeta): void;
|
|
50
50
|
/**
|
|
51
51
|
* defineModel 声明 v-model 绑定(类型层宏)。
|
|
52
52
|
*/
|
|
53
|
-
type DefineModelModifiers<M extends PropertyKey = string> = Record<M, true | undefined>;
|
|
54
|
-
type ModelRef<T, M extends PropertyKey = string, G = T, S = T> = Ref<G, S> & [ModelRef<T, M, G, S>, DefineModelModifiers<M>];
|
|
55
|
-
interface DefineModelTransformOptions<T, M extends PropertyKey = string, G = T, S = T> {
|
|
53
|
+
export type DefineModelModifiers<M extends PropertyKey = string> = Record<M, true | undefined>;
|
|
54
|
+
export type ModelRef<T, M extends PropertyKey = string, G = T, S = T> = Ref<G, S> & [ModelRef<T, M, G, S>, DefineModelModifiers<M>];
|
|
55
|
+
export interface DefineModelTransformOptions<T, M extends PropertyKey = string, G = T, S = T> {
|
|
56
56
|
get?: (value: T, modifiers: DefineModelModifiers<M>) => G;
|
|
57
57
|
set?: (value: S, modifiers: DefineModelModifiers<M>) => T;
|
|
58
58
|
}
|
|
@@ -62,9 +62,9 @@ type DefineModelRequiredOptions<T> = {
|
|
|
62
62
|
} | {
|
|
63
63
|
required: true;
|
|
64
64
|
};
|
|
65
|
-
declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(options: DefineModelBaseOptions<T, M, G, S> & DefineModelRequiredOptions<T>): ModelRef<T, M, G, S>;
|
|
66
|
-
declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(name: string, options: DefineModelBaseOptions<T, M, G, S> & DefineModelRequiredOptions<T>): ModelRef<T, M, G, S>;
|
|
67
|
-
declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(options?: DefineModelBaseOptions<T | undefined, M, G | undefined, S | undefined>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
|
|
68
|
-
declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(name?: string, options?: DefineModelBaseOptions<T | undefined, M, G | undefined, S | undefined>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
|
|
65
|
+
export declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(options: DefineModelBaseOptions<T, M, G, S> & DefineModelRequiredOptions<T>): ModelRef<T, M, G, S>;
|
|
66
|
+
export declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(name: string, options: DefineModelBaseOptions<T, M, G, S> & DefineModelRequiredOptions<T>): ModelRef<T, M, G, S>;
|
|
67
|
+
export declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(options?: DefineModelBaseOptions<T | undefined, M, G | undefined, S | undefined>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
|
|
68
|
+
export declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(name?: string, options?: DefineModelBaseOptions<T | undefined, M, G | undefined, S | undefined>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
|
|
69
69
|
//#endregion
|
|
70
|
-
export {
|
|
70
|
+
export type { ComponentTypeEmits, EmitFn, EmitsOptions };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../miniprogramIntrinsicElements/base.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElements } from "../miniprogramIntrinsicElements.mjs";
|
|
3
|
+
import { JSX as JSX$1, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxGlobalComponents as WevuJsxGlobalComponents$1, WevuJsxHostAttributes } from "wevu/jsx-runtime";
|
|
4
|
+
//#region src/miniprogram/jsx-runtime.d.ts
|
|
5
|
+
export declare namespace JSX {
|
|
6
|
+
type Element = JSX$1.Element;
|
|
7
|
+
interface ElementClass extends JSX$1.ElementClass {}
|
|
8
|
+
interface ElementAttributesProperty extends JSX$1.ElementAttributesProperty {}
|
|
9
|
+
interface IntrinsicAttributes extends JSX$1.IntrinsicAttributes {}
|
|
10
|
+
interface IntrinsicElements extends WevuJsxGlobalComponents$1, MiniProgramIntrinsicElements {}
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export type { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicElements, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxHostAttributes };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/button.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/button.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/component/button
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/button
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementButton = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
'form-type'?: 'reset' | 'submit';
|
|
12
|
+
'hover-class'?: string;
|
|
13
|
+
'hover-start-time'?: number;
|
|
14
|
+
'hover-stay-time'?: number;
|
|
15
|
+
'hover-stop-propagation'?: boolean;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
onGetPhoneNumber?: WevuJsxEventHandler;
|
|
18
|
+
onTap?: WevuJsxEventHandler;
|
|
19
|
+
'open-type'?: 'share';
|
|
20
|
+
size?: 'default' | 'mini';
|
|
21
|
+
type?: 'default' | 'primary';
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/camera.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/camera.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/03qegu
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/camera
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementCamera = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
'device-position'?: 'back' | 'front';
|
|
11
|
+
flash?: 'auto' | 'off' | 'on' | 'torch';
|
|
12
|
+
'frame-size'?: 'large' | 'medium' | 'small';
|
|
13
|
+
mode?: 'normal' | 'scanCode';
|
|
14
|
+
onError?: WevuJsxEventHandler;
|
|
15
|
+
onScanCode?: WevuJsxEventHandler;
|
|
16
|
+
onStop?: WevuJsxEventHandler;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/canvas.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/component/canvas
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/canvas/canvas
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementCanvas = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
onTouchCancel?: WevuJsxEventHandler;
|
|
11
|
+
onTouchEnd?: WevuJsxEventHandler;
|
|
12
|
+
onTouchMove?: WevuJsxEventHandler;
|
|
13
|
+
onTouchStart?: WevuJsxEventHandler;
|
|
14
|
+
type?: string;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/checkbox-group.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/checkbox-group.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/component/checkbox-group
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/checkbox-group
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementCheckboxGroup = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
onChange?: WevuJsxEventHandler;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/miniprogramIntrinsicElements/elements/checkbox.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/checkbox.html
|
|
5
|
+
* @see https://opendocs.alipay.com/mini/component/checkbox
|
|
6
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/checkbox
|
|
7
|
+
*/
|
|
8
|
+
export type MiniProgramIntrinsicElementCheckbox = MiniProgramIntrinsicElementBaseAttributes & {
|
|
9
|
+
checked?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
value?: string;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/form.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/form.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/component/form
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/form
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementForm = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
onReset?: WevuJsxEventHandler;
|
|
11
|
+
onSubmit?: WevuJsxEventHandler;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/miniprogramIntrinsicElements/elements/icon.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/icon.html
|
|
5
|
+
* @see https://opendocs.alipay.com/mini/component/icon
|
|
6
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/basic-content/icon
|
|
7
|
+
*/
|
|
8
|
+
export type MiniProgramIntrinsicElementIcon = MiniProgramIntrinsicElementBaseAttributes & {
|
|
9
|
+
size?: number;
|
|
10
|
+
type?: string;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/image.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/image.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/component/image
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/image
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementImage = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
'lazy-load'?: boolean;
|
|
11
|
+
mode?: 'aspectFill' | 'aspectFit' | 'bottom' | 'bottom left' | 'bottom right' | 'center' | 'heightFix' | 'left' | 'right' | 'scaleToFill' | 'top' | 'top left' | 'top right' | 'widthFix';
|
|
12
|
+
onError?: WevuJsxEventHandler;
|
|
13
|
+
onLoad?: WevuJsxEventHandler;
|
|
14
|
+
src?: string;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/input.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/input.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/component/input
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/input
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementInput = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
'confirm-hold'?: boolean;
|
|
11
|
+
'confirm-type'?: 'done' | 'go' | 'next' | 'search' | 'send';
|
|
12
|
+
cursor?: number;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
focus?: boolean;
|
|
15
|
+
maxlength?: number;
|
|
16
|
+
onBlur?: WevuJsxEventHandler;
|
|
17
|
+
onConfirm?: WevuJsxEventHandler;
|
|
18
|
+
onFocus?: WevuJsxEventHandler;
|
|
19
|
+
onInput?: WevuJsxEventHandler;
|
|
20
|
+
password?: boolean;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
'placeholder-class'?: string;
|
|
23
|
+
'placeholder-style'?: string;
|
|
24
|
+
'selection-end'?: number;
|
|
25
|
+
'selection-start'?: number;
|
|
26
|
+
type?: 'digit' | 'number' | 'text';
|
|
27
|
+
value?: string;
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/miniprogramIntrinsicElements/elements/label.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/label.html
|
|
5
|
+
* @see https://opendocs.alipay.com/mini/component/label
|
|
6
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/label
|
|
7
|
+
*/
|
|
8
|
+
export type MiniProgramIntrinsicElementLabel = MiniProgramIntrinsicElementBaseAttributes & {
|
|
9
|
+
for?: string;
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/miniprogramIntrinsicElements/elements/map.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/map.html
|
|
6
|
+
* @see https://opendocs.alipay.com/mini/component/map
|
|
7
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/map/map
|
|
8
|
+
*/
|
|
9
|
+
export type MiniProgramIntrinsicElementMap = MiniProgramIntrinsicElementBaseAttributes & {
|
|
10
|
+
'enable-building'?: boolean;
|
|
11
|
+
'enable-overlooking'?: boolean;
|
|
12
|
+
'enable-poi'?: boolean;
|
|
13
|
+
'enable-rotate'?: boolean;
|
|
14
|
+
'enable-satellite'?: boolean;
|
|
15
|
+
'enable-scroll'?: boolean;
|
|
16
|
+
'enable-traffic'?: boolean;
|
|
17
|
+
'enable-zoom'?: boolean;
|
|
18
|
+
latitude?: number;
|
|
19
|
+
longitude?: number;
|
|
20
|
+
onCalloutTap?: WevuJsxEventHandler;
|
|
21
|
+
onMarkerTap?: WevuJsxEventHandler;
|
|
22
|
+
onRegionChange?: WevuJsxEventHandler;
|
|
23
|
+
onTap?: WevuJsxEventHandler;
|
|
24
|
+
rotate?: number;
|
|
25
|
+
scale?: number;
|
|
26
|
+
'show-compass'?: boolean;
|
|
27
|
+
'show-location'?: boolean;
|
|
28
|
+
'show-scale'?: boolean;
|
|
29
|
+
skew?: number;
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/miniprogramIntrinsicElements/elements/match-media.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/match-media.html
|
|
5
|
+
* @see https://opendocs.alipay.com/mini/02ycxe
|
|
6
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/component-match-media
|
|
7
|
+
*/
|
|
8
|
+
export type MiniProgramIntrinsicElementMatchMedia = MiniProgramIntrinsicElementBaseAttributes & {
|
|
9
|
+
height?: number;
|
|
10
|
+
orientation?: string;
|
|
11
|
+
width?: number;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/miniprogramIntrinsicElements/elements/movable-area.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html
|
|
5
|
+
* @see https://opendocs.alipay.com/mini/component/movable-area
|
|
6
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/movable-area
|
|
7
|
+
*/
|
|
8
|
+
export type MiniProgramIntrinsicElementMovableArea = MiniProgramIntrinsicElementBaseAttributes;
|
|
9
|
+
//#endregion
|