wevu 7.0.4 → 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/types.d.mts +172 -0
- package/dist/dev/router/useRoute.d.mts +19 -0
- 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 +1 -1
- 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/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 +47 -9
- package/dist/jsxTypes.d.mts +8 -0
- 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.mjs +1 -1
- package/dist/reactivity/core.d.mts +1 -0
- package/dist/reactivity/core.mjs +1 -1
- package/dist/reactivity/index.d.mts +2 -1
- package/dist/reactivity/readonly.d.mts +1 -1
- package/dist/reactivity/ref.mjs +1 -1
- 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/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.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/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 +5 -13
- package/dist/runtime/define.mjs +1 -1
- package/dist/runtime/diff.mjs +1 -1
- 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/vue.d.mts +1 -2
- 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/jsxIsland.d.mts +2 -6
- package/dist/runtime/layoutBridge.d.mts +5 -9
- package/dist/runtime/pageLayout.d.mts +3 -4
- package/dist/runtime/publicRuntime.d.mts +21 -0
- package/dist/runtime/publicRuntime.mjs +1 -0
- 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/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.mjs +1 -1
- package/dist/runtime/register/snapshot.mjs +1 -1
- package/dist/runtime/scopedSlots.mjs +1 -1
- package/dist/runtime/selectorQuery.mjs +1 -1
- package/dist/runtime/teardown.mjs +1 -0
- package/dist/runtime/templateRefTypes.d.mts +5 -2
- package/dist/runtime/templateRefs.mjs +1 -1
- package/dist/runtime/types/miniprogram.d.mts +3 -0
- package/dist/runtime/types/options.d.mts +2 -2
- package/dist/runtime/types/props.d.mts +1 -1
- package/dist/runtime/types/setData.d.mts +18 -1
- package/dist/runtime/types.d.mts +3 -3
- package/dist/runtime/vueCompat/templateRef.mjs +1 -1
- 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 +10 -8
- package/dist/store/types.d.mts +4 -4
- 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/vue-demi.d.mts +13 -14
- package/dist/vue-demi.mjs +1 -1
- package/dist/weapp/jsx-runtime.d.mts +13 -0
- package/dist/weapp/jsx-runtime.mjs +1 -0
- package/dist/weappIntrinsicElements/base.d.mts +2 -19
- package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +5 -4
- package/dist/weappIntrinsicElements/elements/ad.d.mts +6 -5
- package/dist/weappIntrinsicElements/elements/audio.d.mts +8 -7
- package/dist/weappIntrinsicElements/elements/block.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/button.d.mts +17 -15
- package/dist/weappIntrinsicElements/elements/camera.d.mts +11 -10
- package/dist/weappIntrinsicElements/elements/canvas.d.mts +9 -8
- package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +5 -7
- package/dist/weappIntrinsicElements/elements/checkbox.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/cover-image.d.mts +8 -4
- package/dist/weappIntrinsicElements/elements/cover-view.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/editor.d.mts +8 -7
- package/dist/weappIntrinsicElements/elements/form.d.mts +6 -5
- package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +8 -7
- package/dist/weappIntrinsicElements/elements/icon.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/image.d.mts +6 -5
- package/dist/weappIntrinsicElements/elements/import.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/include.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/input.d.mts +16 -16
- package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/label.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/live-player.d.mts +17 -16
- package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +18 -17
- package/dist/weappIntrinsicElements/elements/map.d.mts +17 -16
- package/dist/weappIntrinsicElements/elements/match-media.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/movable-area.d.mts +7 -6
- package/dist/weappIntrinsicElements/elements/movable-view.d.mts +7 -6
- package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/navigator.d.mts +9 -8
- package/dist/weappIntrinsicElements/elements/official-account.d.mts +5 -4
- package/dist/weappIntrinsicElements/elements/open-data.d.mts +4 -3
- package/dist/weappIntrinsicElements/elements/page-container.d.mts +10 -9
- package/dist/weappIntrinsicElements/elements/page-meta.d.mts +6 -5
- package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +6 -5
- package/dist/weappIntrinsicElements/elements/picker-view.d.mts +6 -5
- package/dist/weappIntrinsicElements/elements/picker.d.mts +8 -7
- package/dist/weappIntrinsicElements/elements/progress.d.mts +4 -3
- package/dist/weappIntrinsicElements/elements/radio-group.d.mts +5 -7
- package/dist/weappIntrinsicElements/elements/radio.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/rich-text.d.mts +5 -5
- package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +19 -23
- package/dist/weappIntrinsicElements/elements/share-element.d.mts +4 -5
- package/dist/weappIntrinsicElements/elements/slider.d.mts +5 -4
- package/dist/weappIntrinsicElements/elements/slot.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +5 -36
- package/dist/weappIntrinsicElements/elements/swiper.d.mts +10 -12
- package/dist/weappIntrinsicElements/elements/switch.d.mts +4 -3
- package/dist/weappIntrinsicElements/elements/template.d.mts +2 -2
- package/dist/weappIntrinsicElements/elements/text.d.mts +4 -4
- package/dist/weappIntrinsicElements/elements/textarea.d.mts +15 -14
- package/dist/weappIntrinsicElements/elements/video.d.mts +23 -22
- package/dist/weappIntrinsicElements/elements/view.d.mts +4 -2
- package/dist/weappIntrinsicElements/elements/voip-room.d.mts +6 -5
- package/dist/weappIntrinsicElements/elements/web-view.d.mts +6 -5
- 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 -10
- /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,4 +1,4 @@
|
|
|
1
1
|
import { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InferNativePropType, InferNativeProps, InferPropType, InferProps, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, PropConstructor, PropOptions, PropType } from "./props/propTypes.mjs";
|
|
2
2
|
import { MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, RouterNavigateToOption, RouterReLaunchOption, RouterRedirectToOption, RouterSwitchTabOption, SetupContextRouter, TypedRouterTabBarUrl, TypedRouterUrl, WevuTypedRouterRouteMap } from "./props/router.mjs";
|
|
3
3
|
import { SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextSelectorQuery, SetupFunction } from "./props/setup.mjs";
|
|
4
|
-
export type { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InferNativePropType, InferNativeProps, InferPropType, InferProps, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, PropConstructor, PropOptions, PropType, RouterNavigateToOption, RouterReLaunchOption, RouterRedirectToOption, RouterSwitchTabOption, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupFunction, TypedRouterTabBarUrl, TypedRouterUrl, WevuTypedRouterRouteMap };
|
|
4
|
+
export type { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InferNativePropType, InferNativeProps, InferPropType, InferProps, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, PropConstructor, PropOptions, PropType, RouterNavigateToOption, RouterReLaunchOption, RouterRedirectToOption, RouterSwitchTabOption, SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextRouter, SetupContextSelectorQuery, SetupFunction, TypedRouterTabBarUrl, TypedRouterUrl, WevuTypedRouterRouteMap };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { WevuBindingSourceSpanV1, WevuBindingUpdateMode } from "@weapp-core/constants";
|
|
1
2
|
//#region src/runtime/types/setData.d.ts
|
|
2
3
|
export interface SetDataSnapshotOptions {
|
|
3
4
|
/**
|
|
@@ -202,9 +203,19 @@ export interface SetDataSnapshotOptions {
|
|
|
202
203
|
*/
|
|
203
204
|
functionPaths?: string[];
|
|
204
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* 与本次 setData 诊断相关的编译期模板绑定。
|
|
208
|
+
*/
|
|
209
|
+
export interface SetDataBindingDiagnostic {
|
|
210
|
+
id: string;
|
|
211
|
+
outputPath: string;
|
|
212
|
+
updateMode: WevuBindingUpdateMode;
|
|
213
|
+
sourceFile: string;
|
|
214
|
+
sourceLocation?: WevuBindingSourceSpanV1;
|
|
215
|
+
}
|
|
205
216
|
export interface SetDataDebugInfo {
|
|
206
217
|
mode: 'patch' | 'diff';
|
|
207
|
-
reason: 'patch' | 'diff' | 'needsFullSnapshot' | 'maxPatchKeys' | 'maxPayloadBytes' | 'loopWarning';
|
|
218
|
+
reason: 'patch' | 'diff' | 'needsFullSnapshot' | 'maxPatchKeys' | 'maxPayloadBytes' | 'loopWarning' | 'commitFailure';
|
|
208
219
|
pendingPatchKeys: number;
|
|
209
220
|
payloadKeys: number;
|
|
210
221
|
estimatedBytes?: number;
|
|
@@ -215,5 +226,11 @@ export interface SetDataDebugInfo {
|
|
|
215
226
|
windowMs?: number;
|
|
216
227
|
targetLabel?: string;
|
|
217
228
|
message?: string;
|
|
229
|
+
/**
|
|
230
|
+
* 根据实际 payload 或待处理路径解析出的相关编译期绑定。
|
|
231
|
+
*/
|
|
232
|
+
bindings?: SetDataBindingDiagnostic[];
|
|
233
|
+
revision?: number;
|
|
234
|
+
committedRevision?: number;
|
|
218
235
|
}
|
|
219
236
|
//#endregion
|
package/dist/runtime/types.d.mts
CHANGED
|
@@ -5,10 +5,10 @@ import { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, Extra
|
|
|
5
5
|
import { MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, SetupContextRouter, WevuTypedRouterRouteMap } from "./types/props/router.mjs";
|
|
6
6
|
import { ComponentPublicInstance, ComputedDefinitions, ExtractComputed, ExtractMethods, MethodDefinitions, ModelBinding, ModelBindingOptions, ModelBindingPayload } from "./types/core.mjs";
|
|
7
7
|
import { AppConfig, InternalRuntimeState, InternalRuntimeStateFields, RuntimeApp, RuntimeInstance, WevuPlugin } from "./types/runtime.mjs";
|
|
8
|
-
import { SetupContext, SetupContextNativeInstance, SetupFunction } from "./types/props/setup.mjs";
|
|
8
|
+
import { SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextSelectorQuery, SetupFunction } from "./types/props/setup.mjs";
|
|
9
9
|
import "./types/props.mjs";
|
|
10
10
|
import { AllowedComponentProps, ComponentCustomProps, ComponentOptionsMixin, DefineComponent, NativeComponent, ObjectDirective, PublicProps, ShallowUnwrapRef, VNode, VNodeProps } from "../vue-types.mjs";
|
|
11
|
-
import { SetDataDebugInfo, SetDataSnapshotOptions } from "./types/setData.mjs";
|
|
11
|
+
import { SetDataBindingDiagnostic, SetDataDebugInfo, SetDataSnapshotOptions } from "./types/setData.mjs";
|
|
12
12
|
import { CreateAppOptions, DataOption, DefineAppOptions, DefineComponentOptions, PageFeatures } from "./types/options.mjs";
|
|
13
13
|
//#region src/runtime/types.d.ts
|
|
14
14
|
export interface WevuGlobalComponents {}
|
|
@@ -25,4 +25,4 @@ export interface TemplateRefValue {
|
|
|
25
25
|
}
|
|
26
26
|
export type MiniProgramTemplateRefValue = TemplateRefValue;
|
|
27
27
|
//#endregion
|
|
28
|
-
export type { AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComputedDefinitions, CreateAppOptions, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, MethodDefinitions, MiniProgramAdapter, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, MiniProgramComponentInstance, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, MiniProgramComponentOptions, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramInstance, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime as MiniProgramPageLifetime, MiniProgramPageLifetimes, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter as MiniProgramRouter, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, ModelBinding, ModelBindingOptions, ModelBindingPayload, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, PageFeatures, PropConstructor, PropOptions, PropType, PublicProps, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupFunction, ShallowUnwrapRef, HostMiniProgramTriggerEventOptions as TriggerEventOptions, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, VNode, VNodeProps, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuPlugin, WevuTypedRouterRouteMap };
|
|
28
|
+
export type { AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComputedDefinitions, CreateAppOptions, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, MethodDefinitions, MiniProgramAdapter, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, MiniProgramComponentInstance, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, MiniProgramComponentOptions, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramInstance, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime as MiniProgramPageLifetime, MiniProgramPageLifetimes, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter as MiniProgramRouter, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, ModelBinding, ModelBindingOptions, ModelBindingPayload, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, PageFeatures, PropConstructor, PropOptions, PropType, PublicProps, RuntimeApp, RuntimeInstance, SetDataBindingDiagnostic, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextRouter, SetupContextSelectorQuery, SetupFunction, ShallowUnwrapRef, HostMiniProgramTriggerEventOptions as TriggerEventOptions, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, VNode, VNodeProps, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuPlugin, WevuTypedRouterRouteMap };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{shallowRef as e}from"../../reactivity/shallowRef.mjs";import{getCurrentInstance as t}from"../hooks/base.mjs";import{
|
|
1
|
+
import{shallowRef as e}from"../../reactivity/shallowRef.mjs";import{getCurrentInstance as t}from"../hooks/base.mjs";import{installTemplateRefs as n}from"../features/templateRefs.mjs";import{WEVU_TEMPLATE_REF_MAP_KEY as r}from"@weapp-core/constants";function i(e){let t=e[r];if(t)return t;let n=new Map;try{Object.defineProperty(e,r,{value:n,configurable:!0,enumerable:!1,writable:!1})}catch(t){e[r]=n}return n}function a(r){n();let a=t();if(!a)throw Error(`useTemplateRef() 必须在 setup() 的同步阶段调用`);let o=typeof r==`string`?r.trim():``;if(!o)throw Error(`useTemplateRef() 需要传入有效的模板 ref 名称`);let s=i(a),c=s.get(o);if(c)return c;let l=e(null);return s.set(o,l),l}export{a as useTemplateRef};
|
package/dist/store/base.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isObject as
|
|
1
|
+
import{batch as e}from"../reactivity/core.mjs";import{isObject as t,mergeShallow as n}from"./utils.mjs";function r(r,i,a,o){let s={$id:r};Object.defineProperty(s,"$state",{get(){return i},set(e){i&&t(e)&&(n(i,e),a(`patch object`))}}),s.$patch=t=>{let r=typeof t==`function`?`patch function`:`patch object`;e(()=>{let e=i==null?s:i;typeof t==`function`?t(e):n(e,t)}),a(r)},o&&(s.$reset=()=>{e(o),a(`patch object`)});let c=new Set;s.$subscribe=(e,t)=>(c.add(e),()=>c.delete(e));let l=new Set;return s.$onAction=e=>(l.add(e),()=>l.delete(e)),{api:s,subs:c,actionSubs:l}}export{r as createBaseApi};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{effect as e}from"../../reactivity/core.mjs";import{toRaw as t}from"../../reactivity/reactive/shared.mjs";import{touchReactive as n}from"../../reactivity/reactive/patch.mjs";import{reactive as r}from"../../reactivity/reactive.mjs";import{computed as i}from"../../reactivity/computed.mjs";import{wrapAction as a}from"../actions.mjs";import{cloneDeep as o,resetObject as s}from"../utils.mjs";import{createBaseApi as c}from"../base.mjs";import{createSafeNotifier as l}from"./shared.mjs";function
|
|
1
|
+
import{effect as e}from"../../reactivity/core.mjs";import{toRaw as t}from"../../reactivity/reactive/shared.mjs";import{touchReactive as n}from"../../reactivity/reactive/patch.mjs";import{reactive as r}from"../../reactivity/reactive.mjs";import{computed as i}from"../../reactivity/computed.mjs";import{wrapAction as a}from"../actions.mjs";import{cloneDeep as o,resetObject as s}from"../utils.mjs";import{createBaseApi as c}from"../base.mjs";import{createSafeNotifier as l,createStoreMutationTransaction as u}from"./shared.mjs";function d(d,f,p){var m,h,g;let _=f.state?f.state():{},v=r(_),y=o(t(_)),b=()=>{},x=u(e=>b(e)),S=c(d,v,x.notify,()=>{s(v,y)}),C=S.api.$patch;if(S.api.$patch=e=>{x.run(()=>{C(e)})},typeof S.api.$reset==`function`){let e=S.api.$reset;S.api.$reset=()=>{x.run(()=>{e()})}}b=l(d,S.subs,()=>v);let w={};for(let e of Object.getOwnPropertyNames(S.api)){let t=Object.getOwnPropertyDescriptor(S.api,e);t&&(e===`$state`?Object.defineProperty(w,e,{enumerable:t.enumerable,configurable:t.configurable,get(){return S.api.$state},set(e){x.run(()=>{S.api.$state=e})}}):Object.defineProperty(w,e,t))}let T=(m=f.getters)==null?{}:m;Object.keys(T).forEach(e=>{let t=T[e];if(typeof t==`function`){let n=i(()=>t.call(w,v));Object.defineProperty(w,e,{enumerable:!0,configurable:!0,get(){return n.value}})}});let E=(h=f.actions)==null?{}:h;Object.keys(E).forEach(e=>{let t=E[e];if(typeof t==`function`){let n=a(w,e,(...e)=>t.apply(w,e),S.actionSubs);w[e]=n}}),Object.keys(v).forEach(e=>{Object.defineProperty(w,e,{enumerable:!0,configurable:!0,get(){return v[e]},set(t){v[e]=t}})});let D=!1,O=!1;e(()=>{if(n(v),!D){D=!0;return}if(!(x.active||O)){O=!0;try{b(`direct`)}finally{O=!1}}});let k=(g=p==null?void 0:p._plugins)==null?[]:g;for(let e of k)try{e({store:w})}catch(e){}return w}export{d as createOptionsStyleStore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{effect as e}from"../../reactivity/core.mjs";import{touchReactive as t}from"../../reactivity/reactive/patch.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{wrapAction as i}from"../actions.mjs";import{cloneDeep as a,resetObject as o}from"../utils.mjs";import{createBaseApi as s}from"../base.mjs";import{createSafeNotifier as c,
|
|
1
|
+
import{effect as e}from"../../reactivity/core.mjs";import{touchReactive as t}from"../../reactivity/reactive/patch.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{wrapAction as i}from"../actions.mjs";import{cloneDeep as a,resetObject as o}from"../utils.mjs";import{createBaseApi as s}from"../base.mjs";import{createSafeNotifier as c,createStoreMutationTransaction as l,isTrackableRef as u,snapshotValue as d}from"./shared.mjs";function f(f,p,m){var h;let g=p(),_=()=>{},v=new Map;Object.keys(g).forEach(e=>{let t=g[e];typeof t==`function`||e.startsWith(`$`)||(!r(t)||u(t))&&v.set(e,d(t))});let y={},b=()=>{v.forEach((e,t)=>{let i=y[t];if(u(i)){try{i.value=a(e)}catch(e){}return}if(n(i)){o(i,e);return}r(i)||(y[t]=a(e))})},x=l(e=>_(e)),S=s(f,void 0,x.notify,b),C=S.api.$patch;if(S.api.$patch=e=>{x.run(()=>{C(e)})},typeof S.api.$reset==`function`){let e=S.api.$reset;S.api.$reset=()=>{x.run(()=>{e()})}}y={...g},_=c(f,S.subs,()=>y);for(let e of Object.getOwnPropertyNames(S.api)){let t=Object.getOwnPropertyDescriptor(S.api,e);t&&(e===`$state`?Object.defineProperty(y,e,{enumerable:t.enumerable,configurable:t.configurable,get(){return S.api.$state},set(e){x.run(()=>{S.api.$state=e})}}):Object.defineProperty(y,e,t))}let w=[];Object.keys(g).forEach(e=>{let t=g[e];if(typeof t==`function`&&!e.startsWith(`$`)){y[e]=i(y,e,t,S.actionSubs);return}if(u(t)){w.push(t);return}if(n(t)){w.push(t);return}if(!r(t)&&!e.startsWith(`$`)){let n=t;Object.defineProperty(y,e,{enumerable:!0,configurable:!0,get(){return n},set(e){n=e,x.active||_(`direct`)}})}});let T=!1;if(w.length>0){let n=!1;e(()=>{if(w.forEach(e=>{u(e)?e.value:t(e)}),!n){n=!0;return}if(!(x.active||T)){T=!0;try{_(`direct`)}finally{T=!1}}})}let E=(h=m==null?void 0:m._plugins)==null?[]:h;for(let e of E)try{e({store:y})}catch(e){}return y}export{f as createSetupStyleStore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{queueBatchCallback as e}from"../../reactivity/core.mjs";import{toRaw as t}from"../../reactivity/reactive/shared.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{cloneDeep as i}from"../utils.mjs";function a(e){return r(e)}function o(e){return n(e)?i(t(e)):a(e)?i(e.value):i(e)}function s(e,t,n){let r=!1;return i=>{if(!r){r=!0;try{let r=n();t.forEach(t=>{try{t({type:i,storeId:e},r)}catch(e){}})}finally{r=!1}}}}function c(t){let n=0,r,i=!1,a=()=>{if(n>0)return;let e=r;r=void 0,i=!1,e&&t(e)};return{get active(){return n>0||i},notify(e){if(n===0&&!i){t(e);return}r=e},run(t){let o=n===0,s=r,c=!1;n++;try{let e=t();return c=!0,e}finally{n--,o&&(c||(r=s),i=!0,e(a))}}}}export{s as createSafeNotifier,c as createStoreMutationTransaction,a as isTrackableRef,o as snapshotValue};
|
package/dist/store/define.d.mts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { ActionSubscriber, DefineStoreOptions, StoreGetters, StoreSubscribeOptions, SubscriptionCallback } from "./types.mjs";
|
|
2
2
|
//#region src/store/define.d.ts
|
|
3
3
|
type SetupDefinition<T> = () => T;
|
|
4
|
+
type ActionResult<A> = Awaited<ReturnType<Extract<A[keyof A], (...args: any[]) => any>>>;
|
|
5
|
+
type OptionsStore<S extends Record<string, any>, G extends Record<string, any>, A extends Record<string, any>> = S & StoreGetters<G> & A & {
|
|
6
|
+
$id: string;
|
|
7
|
+
$state: S;
|
|
8
|
+
$patch: (patch: Partial<S> | ((state: S) => void)) => void;
|
|
9
|
+
$reset: () => void;
|
|
10
|
+
$subscribe: (cb: SubscriptionCallback<S>, opts?: StoreSubscribeOptions) => () => void;
|
|
11
|
+
$onAction: (cb: ActionSubscriber<OptionsStore<S, G, A>, ActionResult<A>>) => () => void;
|
|
12
|
+
};
|
|
4
13
|
/**
|
|
5
14
|
* @description 定义一个 setup 风格的 store
|
|
6
15
|
*/
|
|
@@ -14,12 +23,5 @@ export declare function defineStore<T extends Record<string, any>>(id: string, s
|
|
|
14
23
|
/**
|
|
15
24
|
* @description 定义一个 options 风格的 store
|
|
16
25
|
*/
|
|
17
|
-
export declare function defineStore<S extends Record<string, any>, G extends Record<string, any>, A extends Record<string, any>>(id: string, options: DefineStoreOptions<S, G, A>): () => S
|
|
18
|
-
$id: string;
|
|
19
|
-
$state: S;
|
|
20
|
-
$patch: (patch: Partial<S> | ((state: S) => void)) => void;
|
|
21
|
-
$reset: () => void;
|
|
22
|
-
$subscribe: (cb: SubscriptionCallback<S>, opts?: StoreSubscribeOptions) => () => void;
|
|
23
|
-
$onAction: (cb: ActionSubscriber<S & StoreGetters<G> & A>) => () => void;
|
|
24
|
-
};
|
|
26
|
+
export declare function defineStore<S extends Record<string, any>, G extends Record<string, any>, A extends Record<string, any>>(id: string, options: DefineStoreOptions<S, G, A>): () => OptionsStore<S, G, A>;
|
|
25
27
|
//#endregion
|
package/dist/store/types.d.mts
CHANGED
|
@@ -24,18 +24,18 @@ export interface StoreSubscribeOptions {
|
|
|
24
24
|
/**
|
|
25
25
|
* @description Action 订阅回调上下文
|
|
26
26
|
*/
|
|
27
|
-
export interface ActionContext<TStore = any> {
|
|
27
|
+
export interface ActionContext<TStore = any, TResult = any> {
|
|
28
28
|
name: string;
|
|
29
29
|
store: TStore;
|
|
30
30
|
args: any[];
|
|
31
|
-
after: (cb: (result:
|
|
31
|
+
after: (cb: (result: TResult) => void) => void;
|
|
32
32
|
onError: (cb: (error: any) => void) => void;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* @description Action 订阅回调类型
|
|
36
36
|
*/
|
|
37
|
-
export interface ActionSubscriber<TStore = any> {
|
|
38
|
-
(context: ActionContext<TStore>): void;
|
|
37
|
+
export interface ActionSubscriber<TStore = any, TResult = any> {
|
|
38
|
+
(context: ActionContext<TStore, TResult>): void;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* @description Store 管理器(插件与共享实例)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../ttIntrinsicElements/base.mjs";
|
|
2
|
+
import { TtIntrinsicElements } from "../ttIntrinsicElements.mjs";
|
|
3
|
+
import { JSX as JSX$1, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxGlobalComponents as WevuJsxGlobalComponents$1, WevuJsxHostAttributes } from "wevu/jsx-runtime";
|
|
4
|
+
//#region src/tt/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, TtIntrinsicElements {}
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export type { TtIntrinsicElementBaseAttributes, TtIntrinsicElements, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxHostAttributes };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/ad.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/overview
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementAd = TtIntrinsicElementBaseAttributes;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/aweme-data.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/aweme-data
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementAwemeData = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'aweme-id'?: string;
|
|
9
|
+
'default-avatar'?: string;
|
|
10
|
+
'default-text'?: string;
|
|
11
|
+
'disable-default'?: boolean;
|
|
12
|
+
onError?: WevuJsxEventHandler;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/aweme-user-card.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/aweme-user-card
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementAwemeUserCard = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'aweme-id'?: string;
|
|
9
|
+
fixed?: boolean;
|
|
10
|
+
height?: number;
|
|
11
|
+
'left-right-padding'?: number;
|
|
12
|
+
onError?: WevuJsxEventHandler;
|
|
13
|
+
width?: number;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/button.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/button
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementButton = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
'form-type'?: 'reset' | 'submit';
|
|
10
|
+
'hover-class'?: string;
|
|
11
|
+
'hover-start-time'?: number;
|
|
12
|
+
'hover-stay-time'?: number;
|
|
13
|
+
'hover-stop-propagation'?: boolean;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
onAgreePrivacyAuthorization?: WevuJsxEventHandler;
|
|
16
|
+
onGetPhoneNumber?: WevuJsxEventHandler;
|
|
17
|
+
onTap?: WevuJsxEventHandler;
|
|
18
|
+
'open-type'?: 'addCalendarEvent' | 'addShortcut' | 'agreePrivacyAuthorization' | 'authorizePrivateMessage' | 'getPhoneNumber' | 'im' | 'joinGroup' | 'navigateToVideoView' | 'openAwemeUserProfile' | 'openSubscribeMessageSetting' | 'openWebcastRoom' | 'platformIm' | 'privateMessage' | 'share' | 'uploadDouyinVideo';
|
|
19
|
+
size?: 'default' | 'mini';
|
|
20
|
+
type?: 'default' | 'primary';
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/camera.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/camera
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementCamera = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'device-position'?: string;
|
|
9
|
+
flash?: string;
|
|
10
|
+
'frame-size'?: string;
|
|
11
|
+
mode?: string;
|
|
12
|
+
onError?: WevuJsxEventHandler;
|
|
13
|
+
onInitdone?: WevuJsxEventHandler;
|
|
14
|
+
onScanCode?: WevuJsxEventHandler;
|
|
15
|
+
onStop?: WevuJsxEventHandler;
|
|
16
|
+
resolution?: string;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/canvas.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/canvas/canvas
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementCanvas = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'canvas-id'?: string;
|
|
9
|
+
onTouchCancel?: WevuJsxEventHandler;
|
|
10
|
+
onTouchEnd?: WevuJsxEventHandler;
|
|
11
|
+
onTouchMove?: WevuJsxEventHandler;
|
|
12
|
+
onTouchStart?: WevuJsxEventHandler;
|
|
13
|
+
type?: string;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/checkbox-group.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/checkbox-group
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementCheckboxGroup = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
name?: string;
|
|
9
|
+
onChange?: WevuJsxEventHandler;
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/checkbox.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/checkbox
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementCheckbox = TtIntrinsicElementBaseAttributes & {
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
value?: string;
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/draw-ad.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/draw-ad
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementDrawAd = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'full-screen'?: boolean;
|
|
9
|
+
onError?: WevuJsxEventHandler;
|
|
10
|
+
onPlay?: WevuJsxEventHandler;
|
|
11
|
+
onStop?: WevuJsxEventHandler;
|
|
12
|
+
scale?: number;
|
|
13
|
+
'unit-id'?: string;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/form.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/form
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementForm = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'clue-component-id'?: string;
|
|
9
|
+
'conversion-target'?: number;
|
|
10
|
+
onReset?: WevuJsxEventHandler;
|
|
11
|
+
onSubmit?: WevuJsxEventHandler;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/icon.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/basic-content/icon
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementIcon = TtIntrinsicElementBaseAttributes & {
|
|
7
|
+
size?: number;
|
|
8
|
+
type?: string;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/image.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/image
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementImage = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'lazy-load'?: boolean;
|
|
9
|
+
mode?: string;
|
|
10
|
+
onError?: WevuJsxEventHandler;
|
|
11
|
+
onLoad?: WevuJsxEventHandler;
|
|
12
|
+
src?: string;
|
|
13
|
+
webp?: boolean;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/input.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/input
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementInput = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'adjust-position'?: boolean;
|
|
9
|
+
'confirm-hold'?: boolean;
|
|
10
|
+
'confirm-type'?: 'done' | 'go' | 'next' | 'search' | 'send';
|
|
11
|
+
cursor?: number;
|
|
12
|
+
'cursor-spacing'?: number;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
focus?: boolean;
|
|
15
|
+
'hold-keyboard'?: boolean;
|
|
16
|
+
maxlength?: number;
|
|
17
|
+
onBlur?: WevuJsxEventHandler;
|
|
18
|
+
onConfirm?: WevuJsxEventHandler;
|
|
19
|
+
onFocus?: WevuJsxEventHandler;
|
|
20
|
+
onInput?: WevuJsxEventHandler;
|
|
21
|
+
onKeyboardHeightChange?: WevuJsxEventHandler;
|
|
22
|
+
password?: boolean;
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
'placeholder-class'?: string;
|
|
25
|
+
'placeholder-style'?: string;
|
|
26
|
+
'selection-end'?: number;
|
|
27
|
+
'selection-start'?: number;
|
|
28
|
+
type?: 'digit' | 'number' | 'text';
|
|
29
|
+
value?: string;
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/label.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/label
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementLabel = TtIntrinsicElementBaseAttributes & {
|
|
7
|
+
for?: string;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/live-player.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/live-player
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementLivePlayer = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
autoplay?: boolean;
|
|
9
|
+
muted?: boolean;
|
|
10
|
+
'object-fit'?: string;
|
|
11
|
+
onError?: WevuJsxEventHandler;
|
|
12
|
+
onFullScreenChange?: WevuJsxEventHandler;
|
|
13
|
+
onStatechange?: WevuJsxEventHandler;
|
|
14
|
+
orientation?: string;
|
|
15
|
+
'show-casting-button'?: boolean;
|
|
16
|
+
src?: string;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/live-preview.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/live-preview
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementLivePreview = TtIntrinsicElementBaseAttributes & {
|
|
7
|
+
'aweme-id'?: string;
|
|
8
|
+
'hide-header'?: boolean;
|
|
9
|
+
'image-src'?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/map.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/map/map
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementMap = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'enable-3D'?: boolean;
|
|
9
|
+
'enable-building'?: boolean;
|
|
10
|
+
'enable-overlooking'?: boolean;
|
|
11
|
+
'enable-poi'?: boolean;
|
|
12
|
+
'enable-rotate'?: boolean;
|
|
13
|
+
'enable-satellite'?: boolean;
|
|
14
|
+
'enable-scroll'?: boolean;
|
|
15
|
+
'enable-traffic'?: boolean;
|
|
16
|
+
'enable-zoom'?: boolean;
|
|
17
|
+
latitude?: number;
|
|
18
|
+
longitude?: number;
|
|
19
|
+
'max-scale'?: number;
|
|
20
|
+
'min-scale'?: number;
|
|
21
|
+
onAnchorpointtap?: WevuJsxEventHandler;
|
|
22
|
+
onCalloutTap?: WevuJsxEventHandler;
|
|
23
|
+
onLabeltap?: WevuJsxEventHandler;
|
|
24
|
+
onMarkerTap?: WevuJsxEventHandler;
|
|
25
|
+
onRegionChange?: WevuJsxEventHandler;
|
|
26
|
+
onTap?: WevuJsxEventHandler;
|
|
27
|
+
onUpdated?: WevuJsxEventHandler;
|
|
28
|
+
rotate?: number;
|
|
29
|
+
scale?: number;
|
|
30
|
+
'show-compass'?: boolean;
|
|
31
|
+
'show-location'?: boolean;
|
|
32
|
+
'show-scale'?: boolean;
|
|
33
|
+
skew?: number;
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/mask.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/mask
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementMask = TtIntrinsicElementBaseAttributes;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/match-media.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/component-match-media
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementMatchMedia = TtIntrinsicElementBaseAttributes & {
|
|
7
|
+
height?: number;
|
|
8
|
+
maxHeight?: number;
|
|
9
|
+
maxWidth?: number;
|
|
10
|
+
minHeight?: number;
|
|
11
|
+
minWidth?: number;
|
|
12
|
+
orientation?: string;
|
|
13
|
+
width?: number;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/movable-area.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/movable-area
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementMovableArea = TtIntrinsicElementBaseAttributes & {
|
|
7
|
+
'scale-area'?: boolean;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/movable-view.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/movable-view
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementMovableView = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
animation?: boolean;
|
|
9
|
+
damping?: number;
|
|
10
|
+
direction?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
friction?: number;
|
|
13
|
+
inertia?: boolean;
|
|
14
|
+
onChange?: WevuJsxEventHandler;
|
|
15
|
+
onHtouchmove?: WevuJsxEventHandler;
|
|
16
|
+
onScale?: WevuJsxEventHandler;
|
|
17
|
+
onVtouchmove?: WevuJsxEventHandler;
|
|
18
|
+
'out-of-bounds'?: boolean;
|
|
19
|
+
scale?: boolean;
|
|
20
|
+
'scale-max'?: number;
|
|
21
|
+
'scale-min'?: number;
|
|
22
|
+
'scale-value'?: number;
|
|
23
|
+
x?: number | string;
|
|
24
|
+
y?: number | string;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/ttIntrinsicElements/elements/navigator.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/navigation/navigator
|
|
5
|
+
*/
|
|
6
|
+
export type TtIntrinsicElementNavigator = TtIntrinsicElementBaseAttributes & {
|
|
7
|
+
delta?: number;
|
|
8
|
+
'hover-class'?: string;
|
|
9
|
+
'hover-start-time'?: number;
|
|
10
|
+
'hover-stay-time'?: number;
|
|
11
|
+
'hover-stop-propagation'?: boolean;
|
|
12
|
+
'open-type'?: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
|
|
2
|
+
import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
3
|
+
//#region src/ttIntrinsicElements/elements/open-data.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/open-data
|
|
6
|
+
*/
|
|
7
|
+
export type TtIntrinsicElementOpenData = TtIntrinsicElementBaseAttributes & {
|
|
8
|
+
'default-avatar'?: string;
|
|
9
|
+
'default-text'?: string;
|
|
10
|
+
onError?: WevuJsxEventHandler;
|
|
11
|
+
type?: string;
|
|
12
|
+
'use-empty-value'?: string;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|