wevu 6.18.7 → 6.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.mjs +1 -0
- package/dist/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPrimitive.mjs +1 -0
- package/dist/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPropertyKey.mjs +1 -0
- package/dist/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/typeof.mjs +1 -0
- package/dist/dev/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.mjs +14 -0
- package/dist/dev/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/dev/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPropertyKey.mjs +11 -0
- package/dist/dev/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/typeof.mjs +12 -0
- package/dist/dev/index.mjs +48 -10
- package/dist/dev/internal-reactivity.mjs +15 -5
- package/dist/dev/internal-runtime.mjs +32 -4
- package/dist/dev/internal-template.mjs +1 -1
- package/dist/dev/package.mjs +6 -0
- package/dist/dev/package.mjs.map +1 -0
- package/dist/dev/reactivity/computed.mjs +49 -0
- package/dist/dev/reactivity/computed.mjs.map +1 -0
- package/dist/dev/reactivity/core.mjs +184 -0
- package/dist/dev/reactivity/core.mjs.map +1 -0
- package/dist/dev/reactivity/reactive/mutation.mjs +12 -0
- package/dist/dev/reactivity/reactive/mutation.mjs.map +1 -0
- package/dist/dev/{computed-BxRsUJgi.mjs → reactivity/reactive/patch.mjs} +8 -49
- package/dist/dev/reactivity/reactive/patch.mjs.map +1 -0
- package/dist/dev/reactivity/reactive/patchState.mjs +138 -0
- package/dist/dev/reactivity/reactive/patchState.mjs.map +1 -0
- package/dist/dev/reactivity/reactive/shallow.mjs +77 -0
- package/dist/dev/reactivity/reactive/shallow.mjs.map +1 -0
- package/dist/dev/reactivity/reactive/shared.mjs +40 -0
- package/dist/dev/reactivity/reactive/shared.mjs.map +1 -0
- package/dist/dev/reactivity/reactive/state.mjs +8 -0
- package/dist/dev/reactivity/reactive/state.mjs.map +1 -0
- package/dist/dev/reactivity/reactive.mjs +213 -0
- package/dist/dev/reactivity/reactive.mjs.map +1 -0
- package/dist/dev/reactivity/readonly.mjs +69 -0
- package/dist/dev/reactivity/readonly.mjs.map +1 -0
- package/dist/dev/reactivity/ref.mjs +97 -0
- package/dist/dev/reactivity/ref.mjs.map +1 -0
- package/dist/dev/reactivity/shallowRef.mjs +71 -0
- package/dist/dev/reactivity/shallowRef.mjs.map +1 -0
- package/dist/dev/{toRefs-D06VmFK2.mjs → reactivity/toRefs.mjs} +4 -3
- package/dist/dev/reactivity/toRefs.mjs.map +1 -0
- package/dist/dev/reactivity/traverse.mjs +40 -0
- package/dist/dev/reactivity/traverse.mjs.map +1 -0
- package/dist/dev/reactivity/watch/helpers.mjs +78 -0
- package/dist/dev/reactivity/watch/helpers.mjs.map +1 -0
- package/dist/dev/reactivity/watch/types.mjs +20 -0
- package/dist/dev/reactivity/watch/types.mjs.map +1 -0
- package/dist/dev/reactivity/watch.mjs +167 -0
- package/dist/dev/reactivity/watch.mjs.map +1 -0
- package/dist/dev/router/backNavigation.mjs +32 -0
- package/dist/dev/router/backNavigation.mjs.map +1 -0
- package/dist/dev/router/createRouter.mjs +179 -0
- package/dist/dev/router/createRouter.mjs.map +1 -0
- package/dist/dev/router/instance.mjs +17 -0
- package/dist/dev/router/instance.mjs.map +1 -0
- package/dist/dev/router/navigationApi.mjs +94 -0
- package/dist/dev/router/navigationApi.mjs.map +1 -0
- package/dist/dev/router/navigationCore.mjs +139 -0
- package/dist/dev/router/navigationCore.mjs.map +1 -0
- package/dist/dev/router/navigationResult.mjs +54 -0
- package/dist/dev/router/navigationResult.mjs.map +1 -0
- package/dist/dev/router/navigationTarget.mjs +122 -0
- package/dist/dev/router/navigationTarget.mjs.map +1 -0
- package/dist/dev/router/navigationTargetHelpers.mjs +38 -0
- package/dist/dev/router/navigationTargetHelpers.mjs.map +1 -0
- package/dist/dev/router/resolve.mjs +29 -0
- package/dist/dev/router/resolve.mjs.map +1 -0
- package/dist/dev/router/routeRegistry.mjs +78 -0
- package/dist/dev/router/routeRegistry.mjs.map +1 -0
- package/dist/dev/router/routeSync.mjs +72 -0
- package/dist/dev/router/routeSync.mjs.map +1 -0
- package/dist/dev/router/types.mjs +11 -0
- package/dist/dev/router/types.mjs.map +1 -0
- package/dist/dev/router/useRoute.mjs +106 -0
- package/dist/dev/router/useRoute.mjs.map +1 -0
- package/dist/dev/router/useRouter.mjs +15 -0
- package/dist/dev/router/useRouter.mjs.map +1 -0
- package/dist/dev/router.mjs +9 -1378
- package/dist/dev/routerInternal/location.mjs +68 -0
- package/dist/dev/routerInternal/location.mjs.map +1 -0
- package/dist/dev/routerInternal/matching.mjs +149 -0
- package/dist/dev/routerInternal/matching.mjs.map +1 -0
- package/dist/dev/routerInternal/params.mjs +95 -0
- package/dist/dev/routerInternal/params.mjs.map +1 -0
- package/dist/dev/routerInternal/path.mjs +42 -0
- package/dist/dev/routerInternal/path.mjs.map +1 -0
- package/dist/dev/routerInternal/query.mjs +113 -0
- package/dist/dev/routerInternal/query.mjs.map +1 -0
- package/dist/dev/routerInternal/records.mjs +173 -0
- package/dist/dev/routerInternal/records.mjs.map +1 -0
- package/dist/dev/routerInternal/recordsWarnings.mjs +49 -0
- package/dist/dev/routerInternal/recordsWarnings.mjs.map +1 -0
- package/dist/dev/routerInternal/snapshots.mjs +126 -0
- package/dist/dev/routerInternal/snapshots.mjs.map +1 -0
- package/dist/dev/runtime/app/computed.mjs +68 -0
- package/dist/dev/runtime/app/computed.mjs.map +1 -0
- package/dist/dev/runtime/app/context.mjs +275 -0
- package/dist/dev/runtime/app/context.mjs.map +1 -0
- package/dist/dev/runtime/app/diagnostics.mjs +34 -0
- package/dist/dev/runtime/app/diagnostics.mjs.map +1 -0
- package/dist/dev/runtime/app/mount.mjs +270 -0
- package/dist/dev/runtime/app/mount.mjs.map +1 -0
- package/dist/dev/runtime/app/pending.mjs +14 -0
- package/dist/dev/runtime/app/pending.mjs.map +1 -0
- package/dist/dev/runtime/app/setData/patchScheduler.mjs +158 -0
- package/dist/dev/runtime/app/setData/patchScheduler.mjs.map +1 -0
- package/dist/dev/runtime/app/setData/payload.mjs +161 -0
- package/dist/dev/runtime/app/setData/payload.mjs.map +1 -0
- package/dist/dev/runtime/app/setData/scheduler.mjs +313 -0
- package/dist/dev/runtime/app/setData/scheduler.mjs.map +1 -0
- package/dist/dev/runtime/app/setData/snapshot.mjs +129 -0
- package/dist/dev/runtime/app/setData/snapshot.mjs.map +1 -0
- package/dist/dev/runtime/app/setDataOptions.mjs +73 -0
- package/dist/dev/runtime/app/setDataOptions.mjs.map +1 -0
- package/dist/dev/runtime/app.mjs +93 -0
- package/dist/dev/runtime/app.mjs.map +1 -0
- package/dist/dev/runtime/bindModel.mjs +92 -0
- package/dist/dev/runtime/bindModel.mjs.map +1 -0
- package/dist/dev/runtime/defaults.mjs +61 -0
- package/dist/dev/runtime/defaults.mjs.map +1 -0
- package/dist/dev/runtime/define/initialComputed.mjs +125 -0
- package/dist/dev/runtime/define/initialComputed.mjs.map +1 -0
- package/dist/dev/runtime/define/options.mjs +169 -0
- package/dist/dev/runtime/define/options.mjs.map +1 -0
- package/dist/dev/runtime/define/optionsApi.mjs +48 -0
- package/dist/dev/runtime/define/optionsApi.mjs.map +1 -0
- package/dist/dev/runtime/define/props.mjs +194 -0
- package/dist/dev/runtime/define/props.mjs.map +1 -0
- package/dist/dev/runtime/define/scopedSlotOptions.mjs +316 -0
- package/dist/dev/runtime/define/scopedSlotOptions.mjs.map +1 -0
- package/dist/dev/runtime/define/setupResult.mjs +78 -0
- package/dist/dev/runtime/define/setupResult.mjs.map +1 -0
- package/dist/dev/runtime/define.mjs +142 -0
- package/dist/dev/runtime/define.mjs.map +1 -0
- package/dist/dev/runtime/diff.mjs +193 -0
- package/dist/dev/runtime/diff.mjs.map +1 -0
- package/dist/dev/runtime/disposables.mjs +81 -0
- package/dist/dev/runtime/disposables.mjs.map +1 -0
- package/dist/dev/runtime/elementIntersectionObserver.mjs +80 -0
- package/dist/dev/runtime/elementIntersectionObserver.mjs.map +1 -0
- package/dist/dev/runtime/emit.mjs +36 -0
- package/dist/dev/runtime/emit.mjs.map +1 -0
- package/dist/dev/{base-CYkvI7w8.mjs → runtime/hooks/base.mjs} +3 -140
- package/dist/dev/runtime/hooks/base.mjs.map +1 -0
- package/dist/dev/runtime/hooks/register.mjs +92 -0
- package/dist/dev/runtime/hooks/register.mjs.map +1 -0
- package/dist/dev/runtime/hooks/vue.mjs +81 -0
- package/dist/dev/runtime/hooks/vue.mjs.map +1 -0
- package/dist/dev/runtime/internal.mjs +18 -0
- package/dist/dev/runtime/internal.mjs.map +1 -0
- package/dist/dev/runtime/intersectionObserver.mjs +46 -0
- package/dist/dev/runtime/intersectionObserver.mjs.map +1 -0
- package/dist/dev/runtime/layoutBridge.mjs +303 -0
- package/dist/dev/runtime/layoutBridge.mjs.map +1 -0
- package/dist/dev/runtime/layoutComponentMatcher.mjs +11 -0
- package/dist/dev/runtime/layoutComponentMatcher.mjs.map +1 -0
- package/dist/dev/runtime/nativeBridge.mjs +21 -0
- package/dist/dev/runtime/nativeBridge.mjs.map +1 -0
- package/dist/dev/runtime/noSetData.mjs +18 -0
- package/dist/dev/runtime/noSetData.mjs.map +1 -0
- package/dist/dev/runtime/pageEnvironment.mjs +100 -0
- package/dist/dev/runtime/pageEnvironment.mjs.map +1 -0
- package/dist/dev/runtime/pageLayout.mjs +71 -0
- package/dist/dev/runtime/pageLayout.mjs.map +1 -0
- package/dist/dev/runtime/pageScroll.mjs +110 -0
- package/dist/dev/runtime/pageScroll.mjs.map +1 -0
- package/dist/dev/runtime/platform.mjs +79 -0
- package/dist/dev/runtime/platform.mjs.map +1 -0
- package/dist/dev/runtime/provide.mjs +71 -0
- package/dist/dev/runtime/provide.mjs.map +1 -0
- package/dist/dev/runtime/provideContext.mjs +101 -0
- package/dist/dev/runtime/provideContext.mjs.map +1 -0
- package/dist/dev/runtime/provideStore.mjs +18 -0
- package/dist/dev/runtime/provideStore.mjs.map +1 -0
- package/dist/dev/runtime/pullDownRefresh.mjs +24 -0
- package/dist/dev/runtime/pullDownRefresh.mjs.map +1 -0
- package/dist/dev/runtime/register/app.mjs +161 -0
- package/dist/dev/runtime/register/app.mjs.map +1 -0
- package/dist/dev/runtime/register/component/features.mjs +43 -0
- package/dist/dev/runtime/register/component/features.mjs.map +1 -0
- package/dist/dev/runtime/register/component/lifecycle/optionalHooks.mjs +64 -0
- package/dist/dev/runtime/register/component/lifecycle/optionalHooks.mjs.map +1 -0
- package/dist/dev/runtime/register/component/lifecycle/platform.mjs +96 -0
- package/dist/dev/runtime/register/component/lifecycle/platform.mjs.map +1 -0
- package/dist/dev/runtime/register/component/lifecycle.mjs +122 -0
- package/dist/dev/runtime/register/component/lifecycle.mjs.map +1 -0
- package/dist/dev/runtime/register/component/methods.mjs +82 -0
- package/dist/dev/runtime/register/component/methods.mjs.map +1 -0
- package/dist/dev/runtime/register/component/options.mjs +204 -0
- package/dist/dev/runtime/register/component/options.mjs.map +1 -0
- package/dist/dev/runtime/register/component/props.mjs +218 -0
- package/dist/dev/runtime/register/component/props.mjs.map +1 -0
- package/dist/dev/runtime/register/component/registerDefinition.mjs +290 -0
- package/dist/dev/runtime/register/component/registerDefinition.mjs.map +1 -0
- package/dist/dev/runtime/register/component.mjs +129 -0
- package/dist/dev/runtime/register/component.mjs.map +1 -0
- package/dist/dev/runtime/register/inline.mjs +145 -0
- package/dist/dev/runtime/register/inline.mjs.map +1 -0
- package/dist/dev/runtime/register/runtimeInstance/methodBridge.mjs +53 -0
- package/dist/dev/runtime/register/runtimeInstance/methodBridge.mjs.map +1 -0
- package/dist/dev/runtime/register/runtimeInstance/provideContext.mjs +34 -0
- package/dist/dev/runtime/register/runtimeInstance/provideContext.mjs.map +1 -0
- package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs +230 -0
- package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs.map +1 -0
- package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs +166 -0
- package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs.map +1 -0
- package/dist/dev/runtime/register/runtimeInstance/utils.mjs +122 -0
- package/dist/dev/runtime/register/runtimeInstance/utils.mjs.map +1 -0
- package/dist/dev/runtime/register/runtimeInstance.mjs +441 -0
- package/dist/dev/runtime/register/runtimeInstance.mjs.map +1 -0
- package/dist/dev/runtime/register/setDataFrequencyWarning.mjs +95 -0
- package/dist/dev/runtime/register/setDataFrequencyWarning.mjs.map +1 -0
- package/dist/dev/runtime/register/setup.mjs +22 -0
- package/dist/dev/runtime/register/setup.mjs.map +1 -0
- package/dist/dev/runtime/register/snapshot.mjs +18 -0
- package/dist/dev/runtime/register/snapshot.mjs.map +1 -0
- package/dist/dev/runtime/register/watch.mjs +57 -0
- package/dist/dev/runtime/register/watch.mjs.map +1 -0
- package/dist/dev/runtime/scopedSlots.mjs +115 -0
- package/dist/dev/runtime/scopedSlots.mjs.map +1 -0
- package/dist/dev/runtime/selectorQuery.mjs +49 -0
- package/dist/dev/runtime/selectorQuery.mjs.map +1 -0
- package/dist/dev/runtime/setupTracking.mjs +59 -0
- package/dist/dev/runtime/setupTracking.mjs.map +1 -0
- package/dist/dev/{template-n_iVr0ey.mjs → runtime/template.mjs} +7 -4
- package/dist/dev/runtime/template.mjs.map +1 -0
- package/dist/dev/runtime/templateRefs/helpers.mjs +259 -0
- package/dist/dev/runtime/templateRefs/helpers.mjs.map +1 -0
- package/dist/dev/runtime/templateRefs.mjs +162 -0
- package/dist/dev/runtime/templateRefs.mjs.map +1 -0
- package/dist/dev/runtime/uniAppHost.mjs +119 -0
- package/dist/dev/runtime/uniAppHost.mjs.map +1 -0
- package/dist/dev/runtime/updatePerformance.mjs +41 -0
- package/dist/dev/runtime/updatePerformance.mjs.map +1 -0
- package/dist/dev/runtime/use.mjs +25 -0
- package/dist/dev/runtime/use.mjs.map +1 -0
- package/dist/dev/runtime/vueCompat/context.mjs +25 -0
- package/dist/dev/runtime/vueCompat/context.mjs.map +1 -0
- package/dist/dev/runtime/vueCompat/model.mjs +119 -0
- package/dist/dev/runtime/vueCompat/model.mjs.map +1 -0
- package/dist/dev/runtime/vueCompat/router.mjs +124 -0
- package/dist/dev/runtime/vueCompat/router.mjs.map +1 -0
- package/dist/dev/runtime/vueCompat/templateRef.mjs +37 -0
- package/dist/dev/runtime/vueCompat/templateRef.mjs.map +1 -0
- package/dist/dev/scheduler.mjs +75 -0
- package/dist/dev/scheduler.mjs.map +1 -0
- package/dist/dev/store/actions.mjs +40 -0
- package/dist/dev/store/actions.mjs.map +1 -0
- package/dist/dev/store/base.mjs +56 -0
- package/dist/dev/store/base.mjs.map +1 -0
- package/dist/dev/store/define/optionsStyle.mjs +125 -0
- package/dist/dev/store/define/optionsStyle.mjs.map +1 -0
- package/dist/dev/store/define/setupStyle.mjs +145 -0
- package/dist/dev/store/define/setupStyle.mjs.map +1 -0
- package/dist/dev/store/define/shared.mjs +38 -0
- package/dist/dev/store/define/shared.mjs.map +1 -0
- package/dist/dev/store/define.mjs +23 -0
- package/dist/dev/store/define.mjs.map +1 -0
- package/dist/dev/store/manager.mjs +21 -0
- package/dist/dev/store/manager.mjs.map +1 -0
- package/dist/dev/store/storeToRefs.mjs +29 -0
- package/dist/dev/store/storeToRefs.mjs.map +1 -0
- package/dist/dev/store/utils.mjs +49 -0
- package/dist/dev/store/utils.mjs.map +1 -0
- package/dist/dev/store.mjs +3 -1
- package/dist/dev/utils.mjs +16 -0
- package/dist/dev/utils.mjs.map +1 -0
- package/dist/dev/version.mjs +8 -0
- package/dist/dev/version.mjs.map +1 -0
- package/dist/dev/vue-demi.mjs +48 -168
- package/dist/dev/vue-demi.mjs.map +1 -1
- package/dist/index.d.mts +71 -7
- package/dist/index.mjs +1 -1
- package/dist/internal-reactivity.d.mts +16 -2
- package/dist/internal-reactivity.mjs +1 -1
- package/dist/internal-runtime.d.mts +35 -2
- package/dist/internal-runtime.mjs +1 -1
- package/dist/internal-template.d.mts +1 -1
- package/dist/internal-template.mjs +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/macros/shared.d.mts +81 -0
- package/dist/macros.d.mts +70 -0
- package/dist/package.mjs +1 -0
- package/dist/reactivity/computed.d.mts +21 -0
- package/dist/reactivity/computed.mjs +1 -0
- package/dist/reactivity/core.d.mts +34 -0
- package/dist/reactivity/core.mjs +1 -0
- package/dist/reactivity/index.d.mts +15 -0
- package/dist/reactivity/reactive/mutation.d.mts +21 -0
- package/dist/reactivity/reactive/mutation.mjs +1 -0
- package/dist/reactivity/reactive/patch.d.mts +18 -0
- package/dist/reactivity/reactive/patch.mjs +1 -0
- package/dist/reactivity/reactive/patchState.mjs +1 -0
- package/dist/reactivity/reactive/shallow.d.mts +22 -0
- package/dist/reactivity/reactive/shallow.mjs +1 -0
- package/dist/reactivity/reactive/shared.d.mts +4 -0
- package/dist/reactivity/reactive/shared.mjs +1 -0
- package/dist/reactivity/reactive/state.mjs +1 -0
- package/dist/reactivity/reactive.d.mts +41 -0
- package/dist/reactivity/reactive.mjs +1 -0
- package/dist/reactivity/readonly.d.mts +27 -0
- package/dist/reactivity/readonly.mjs +1 -0
- package/dist/reactivity/ref.d.mts +27 -0
- package/dist/reactivity/ref.mjs +1 -0
- package/dist/reactivity/shallowRef.d.mts +19 -0
- package/dist/reactivity/shallowRef.mjs +1 -0
- package/dist/reactivity/toRefs.d.mts +43 -0
- package/dist/reactivity/toRefs.mjs +1 -0
- package/dist/reactivity/traverse.d.mts +8 -0
- package/dist/reactivity/traverse.mjs +1 -0
- package/dist/reactivity/watch/helpers.mjs +1 -0
- package/dist/reactivity/watch/types.d.mts +43 -0
- package/dist/reactivity/watch/types.mjs +1 -0
- package/dist/reactivity/watch.d.mts +21 -0
- package/dist/reactivity/watch.mjs +1 -0
- package/dist/router/backNavigation.mjs +1 -0
- package/dist/router/createRouter.d.mts +8 -0
- package/dist/router/createRouter.mjs +1 -0
- package/dist/router/instance.mjs +1 -0
- package/dist/router/navigationApi.mjs +1 -0
- package/dist/router/navigationCore.d.mts +6 -0
- package/dist/router/navigationCore.mjs +1 -0
- package/dist/router/navigationResult.mjs +1 -0
- package/dist/router/navigationTarget.mjs +1 -0
- package/dist/router/navigationTargetHelpers.mjs +1 -0
- package/dist/router/resolve.d.mts +6 -0
- package/dist/router/resolve.mjs +1 -0
- package/dist/router/routeRegistry.mjs +1 -0
- package/dist/router/routeSync.d.mts +1 -0
- package/dist/router/routeSync.mjs +1 -0
- package/dist/router/types.d.mts +163 -0
- package/dist/router/types.mjs +1 -0
- package/dist/router/useRoute.d.mts +19 -0
- package/dist/router/useRoute.mjs +1 -0
- package/dist/router/useRouter.d.mts +8 -0
- package/dist/router/useRouter.mjs +1 -0
- package/dist/router.d.mts +9 -204
- package/dist/router.mjs +1 -1
- package/dist/routerInternal/location.mjs +1 -0
- package/dist/routerInternal/matching.mjs +1 -0
- package/dist/routerInternal/params.mjs +1 -0
- package/dist/routerInternal/path.mjs +1 -0
- package/dist/routerInternal/query.d.mts +7 -0
- package/dist/routerInternal/query.mjs +1 -0
- package/dist/routerInternal/records.mjs +1 -0
- package/dist/routerInternal/recordsWarnings.mjs +1 -0
- package/dist/routerInternal/snapshots.mjs +1 -0
- package/dist/routerInternal/types.d.mts +9 -0
- package/dist/runtime/app/computed.mjs +1 -0
- package/dist/runtime/app/context.mjs +1 -0
- package/dist/runtime/app/diagnostics.mjs +1 -0
- package/dist/runtime/app/mount.mjs +1 -0
- package/dist/runtime/app/pending.d.mts +10 -0
- package/dist/runtime/app/pending.mjs +1 -0
- package/dist/runtime/app/setData/patchScheduler.mjs +1 -0
- package/dist/runtime/app/setData/payload.mjs +1 -0
- package/dist/runtime/app/setData/scheduler.mjs +1 -0
- package/dist/runtime/app/setData/snapshot.mjs +1 -0
- package/dist/runtime/app/setDataOptions.mjs +1 -0
- package/dist/runtime/app.d.mts +8 -0
- package/dist/runtime/app.mjs +1 -0
- package/dist/runtime/bindModel.mjs +1 -0
- package/dist/runtime/defaults.d.mts +11 -0
- package/dist/runtime/defaults.mjs +1 -0
- package/dist/runtime/define/initialComputed.mjs +1 -0
- package/dist/runtime/define/options.mjs +1 -0
- package/dist/runtime/define/optionsApi.mjs +1 -0
- package/dist/runtime/define/props.mjs +1 -0
- package/dist/runtime/define/scopedSlotOptions.mjs +1 -0
- package/dist/runtime/define/setupResult.mjs +1 -0
- package/dist/runtime/define.d.mts +105 -0
- package/dist/runtime/define.mjs +1 -0
- package/dist/runtime/diff.mjs +1 -0
- package/dist/runtime/disposables.d.mts +31 -0
- package/dist/runtime/disposables.mjs +1 -0
- package/dist/runtime/elementIntersectionObserver.d.mts +26 -0
- package/dist/runtime/elementIntersectionObserver.mjs +1 -0
- package/dist/runtime/emit.mjs +1 -0
- package/dist/runtime/hooks/base.d.mts +27 -0
- package/dist/runtime/hooks/base.mjs +1 -0
- package/dist/runtime/hooks/register.d.mts +30 -0
- package/dist/runtime/hooks/register.mjs +1 -0
- package/dist/runtime/hooks/vue.d.mts +53 -0
- package/dist/runtime/hooks/vue.mjs +1 -0
- package/dist/runtime/hooks.d.mts +4 -0
- package/dist/runtime/index.d.mts +47 -0
- package/dist/runtime/internal.mjs +1 -0
- package/dist/runtime/intersectionObserver.d.mts +14 -0
- package/dist/runtime/intersectionObserver.mjs +1 -0
- package/dist/runtime/layoutBridge.d.mts +59 -0
- package/dist/runtime/layoutBridge.mjs +1 -0
- package/dist/runtime/layoutComponentMatcher.mjs +1 -0
- package/dist/runtime/nativeBridge.mjs +1 -0
- package/dist/runtime/noSetData.d.mts +5 -0
- package/dist/runtime/noSetData.mjs +1 -0
- package/dist/runtime/pageEnvironment.d.mts +50 -0
- package/dist/runtime/pageEnvironment.mjs +1 -0
- package/dist/runtime/pageLayout.d.mts +26 -0
- package/dist/runtime/pageLayout.mjs +1 -0
- package/dist/runtime/pageScroll.d.mts +29 -0
- package/dist/runtime/pageScroll.mjs +1 -0
- package/dist/runtime/platform.mjs +1 -0
- package/dist/runtime/provide.d.mts +59 -0
- package/dist/runtime/provide.mjs +1 -0
- package/dist/runtime/provideContext.mjs +1 -0
- package/dist/runtime/provideStore.d.mts +7 -0
- package/dist/runtime/provideStore.mjs +1 -0
- package/dist/runtime/pullDownRefresh.d.mts +12 -0
- package/dist/runtime/pullDownRefresh.mjs +1 -0
- package/dist/runtime/register/app.d.mts +14 -0
- package/dist/runtime/register/app.mjs +1 -0
- package/dist/runtime/register/component/features.mjs +1 -0
- package/dist/runtime/register/component/lifecycle/optionalHooks.mjs +1 -0
- package/dist/runtime/register/component/lifecycle/platform.mjs +1 -0
- package/dist/runtime/register/component/lifecycle.mjs +1 -0
- package/dist/runtime/register/component/methods.mjs +1 -0
- package/dist/runtime/register/component/options.mjs +1 -0
- package/dist/runtime/register/component/props.mjs +1 -0
- package/dist/runtime/register/component/registerDefinition.mjs +1 -0
- package/dist/runtime/register/component.d.mts +15 -0
- package/dist/runtime/register/component.mjs +1 -0
- package/dist/runtime/register/inline.d.mts +15 -0
- package/dist/runtime/register/inline.mjs +1 -0
- package/dist/runtime/register/runtimeInstance/methodBridge.mjs +1 -0
- package/dist/runtime/register/runtimeInstance/provideContext.mjs +1 -0
- package/dist/runtime/register/runtimeInstance/setupContext.mjs +1 -0
- package/dist/runtime/register/runtimeInstance/setupPhase.mjs +1 -0
- package/dist/runtime/register/runtimeInstance/utils.mjs +1 -0
- package/dist/runtime/register/runtimeInstance.d.mts +26 -0
- package/dist/runtime/register/runtimeInstance.mjs +1 -0
- package/dist/runtime/register/setDataFrequencyWarning.mjs +1 -0
- package/dist/runtime/register/setup.d.mts +11 -0
- package/dist/runtime/register/setup.mjs +1 -0
- package/dist/runtime/register/snapshot.mjs +1 -0
- package/dist/runtime/register/watch.d.mts +12 -0
- package/dist/runtime/register/watch.mjs +1 -0
- package/dist/runtime/register.d.mts +5 -0
- package/dist/runtime/scopedSlots.mjs +1 -0
- package/dist/runtime/selectorQuery.d.mts +54 -0
- package/dist/runtime/selectorQuery.mjs +1 -0
- package/dist/runtime/setupTracking.mjs +1 -0
- package/dist/{template-DE8e5dj_.d.mts → runtime/template.d.mts} +1 -1
- package/dist/runtime/template.mjs +1 -0
- package/dist/runtime/templateRefTypes.d.mts +7 -0
- package/dist/runtime/templateRefs/helpers.mjs +1 -0
- package/dist/runtime/templateRefs.d.mts +11 -0
- package/dist/runtime/templateRefs.mjs +1 -0
- package/dist/runtime/types/core.d.mts +35 -0
- package/dist/runtime/types/miniprogram.d.mts +80 -0
- package/dist/runtime/types/miniprogramHost.d.mts +44 -0
- package/dist/runtime/types/miniprogramHostSources.d.mts +112 -0
- package/dist/runtime/types/options.d.mts +136 -0
- package/dist/runtime/types/props/propTypes.d.mts +79 -0
- package/dist/runtime/types/props/router.d.mts +51 -0
- package/dist/runtime/types/props/setup.d.mts +96 -0
- package/dist/runtime/types/props.d.mts +4 -0
- package/dist/runtime/types/runtime.d.mts +59 -0
- package/dist/runtime/types/setData.d.mts +220 -0
- package/dist/runtime/types.d.mts +28 -0
- package/dist/runtime/uniAppHost.d.mts +8 -0
- package/dist/runtime/uniAppHost.mjs +1 -0
- package/dist/runtime/updatePerformance.d.mts +13 -0
- package/dist/runtime/updatePerformance.mjs +1 -0
- package/dist/runtime/use.d.mts +13 -0
- package/dist/runtime/use.mjs +1 -0
- package/dist/runtime/vueCompat/context.d.mts +8 -0
- package/dist/runtime/vueCompat/context.mjs +1 -0
- package/dist/runtime/vueCompat/model.d.mts +30 -0
- package/dist/runtime/vueCompat/model.mjs +1 -0
- package/dist/runtime/vueCompat/router.d.mts +28 -0
- package/dist/runtime/vueCompat/router.mjs +1 -0
- package/dist/runtime/vueCompat/templateRef.d.mts +9 -0
- package/dist/runtime/vueCompat/templateRef.mjs +1 -0
- package/dist/runtime/vueCompat.d.mts +5 -0
- package/dist/scheduler.d.mts +4 -0
- package/dist/scheduler.mjs +1 -0
- package/dist/store/actions.mjs +1 -0
- package/dist/store/base.mjs +1 -0
- package/dist/store/define/optionsStyle.mjs +1 -0
- package/dist/store/define/setupStyle.mjs +1 -0
- package/dist/store/define/shared.mjs +1 -0
- package/dist/store/define.d.mts +26 -0
- package/dist/store/define.mjs +1 -0
- package/dist/store/manager.d.mts +8 -0
- package/dist/store/manager.mjs +1 -0
- package/dist/store/storeToRefs.d.mts +13 -0
- package/dist/store/storeToRefs.mjs +1 -0
- package/dist/store/types.d.mts +70 -0
- package/dist/store/utils.mjs +1 -0
- package/dist/store.d.mts +4 -1
- package/dist/store.mjs +1 -1
- package/dist/utils.mjs +1 -0
- package/dist/version.d.mts +4 -0
- package/dist/version.mjs +1 -0
- package/dist/vue-augment.d.mts +6 -0
- package/dist/vue-demi.d.mts +68 -10
- package/dist/vue-demi.mjs +1 -1
- package/dist/vue-types.d.mts +18 -0
- package/dist/weappIntrinsicElements/base.d.mts +22 -0
- package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/ad.d.mts +16 -0
- package/dist/weappIntrinsicElements/elements/audio.d.mts +20 -0
- package/dist/weappIntrinsicElements/elements/block.d.mts +8 -0
- package/dist/weappIntrinsicElements/elements/button.d.mts +40 -0
- package/dist/weappIntrinsicElements/elements/camera.d.mts +18 -0
- package/dist/weappIntrinsicElements/elements/canvas.d.mts +18 -0
- package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/checkbox.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/cover-image.d.mts +10 -0
- package/dist/weappIntrinsicElements/elements/cover-view.d.mts +10 -0
- package/dist/weappIntrinsicElements/elements/editor.d.mts +22 -0
- package/dist/weappIntrinsicElements/elements/form.d.mts +16 -0
- package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +15 -0
- package/dist/weappIntrinsicElements/elements/icon.d.mts +12 -0
- package/dist/weappIntrinsicElements/elements/image.d.mts +18 -0
- package/dist/weappIntrinsicElements/elements/import.d.mts +10 -0
- package/dist/weappIntrinsicElements/elements/include.d.mts +10 -0
- package/dist/weappIntrinsicElements/elements/input.d.mts +47 -0
- package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +8 -0
- package/dist/weappIntrinsicElements/elements/label.d.mts +10 -0
- package/dist/weappIntrinsicElements/elements/live-player.d.mts +35 -0
- package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +57 -0
- package/dist/weappIntrinsicElements/elements/map.d.mts +105 -0
- package/dist/weappIntrinsicElements/elements/match-media.d.mts +16 -0
- package/dist/weappIntrinsicElements/elements/movable-area.d.mts +26 -0
- package/dist/weappIntrinsicElements/elements/movable-view.d.mts +26 -0
- package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +15 -0
- package/dist/weappIntrinsicElements/elements/navigator.d.mts +25 -0
- package/dist/weappIntrinsicElements/elements/official-account.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/open-data.d.mts +15 -0
- package/dist/weappIntrinsicElements/elements/page-container.d.mts +25 -0
- package/dist/weappIntrinsicElements/elements/page-meta.d.mts +23 -0
- package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +18 -0
- package/dist/weappIntrinsicElements/elements/picker-view.d.mts +18 -0
- package/dist/weappIntrinsicElements/elements/picker.d.mts +23 -0
- package/dist/weappIntrinsicElements/elements/progress.d.mts +21 -0
- package/dist/weappIntrinsicElements/elements/radio-group.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/radio.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/rich-text.d.mts +17 -0
- package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +68 -0
- package/dist/weappIntrinsicElements/elements/share-element.d.mts +18 -0
- package/dist/weappIntrinsicElements/elements/slider.d.mts +23 -0
- package/dist/weappIntrinsicElements/elements/slot.d.mts +10 -0
- package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +42 -0
- package/dist/weappIntrinsicElements/elements/swiper.d.mts +42 -0
- package/dist/weappIntrinsicElements/elements/switch.d.mts +14 -0
- package/dist/weappIntrinsicElements/elements/template.d.mts +12 -0
- package/dist/weappIntrinsicElements/elements/text.d.mts +15 -0
- package/dist/weappIntrinsicElements/elements/textarea.d.mts +40 -0
- package/dist/weappIntrinsicElements/elements/video.d.mts +71 -0
- package/dist/weappIntrinsicElements/elements/view.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/voip-room.d.mts +14 -0
- package/dist/weappIntrinsicElements/elements/web-view.d.mts +13 -0
- package/dist/weappIntrinsicElements.d.mts +153 -0
- package/package.json +6 -6
- package/dist/base-BxKbbKVO.mjs +0 -1
- package/dist/computed-Xoi9XEUx.mjs +0 -1
- package/dist/dev/base-CYkvI7w8.mjs.map +0 -1
- package/dist/dev/computed-BxRsUJgi.mjs.map +0 -1
- package/dist/dev/ref-DRZC3Kc5.mjs +0 -695
- package/dist/dev/ref-DRZC3Kc5.mjs.map +0 -1
- package/dist/dev/rolldown-runtime-BUUfjzRC.mjs +0 -36
- package/dist/dev/router-D0JQfgyN.mjs +0 -754
- package/dist/dev/router-D0JQfgyN.mjs.map +0 -1
- package/dist/dev/router.mjs.map +0 -1
- package/dist/dev/store-HNsiQJ4d.mjs +0 -479
- package/dist/dev/store-HNsiQJ4d.mjs.map +0 -1
- package/dist/dev/template-n_iVr0ey.mjs.map +0 -1
- package/dist/dev/templateRef-BLnYcEH0.mjs +0 -6439
- package/dist/dev/templateRef-BLnYcEH0.mjs.map +0 -1
- package/dist/dev/toRefs-D06VmFK2.mjs.map +0 -1
- package/dist/dev/watch-jrgL5ald.mjs +0 -445
- package/dist/dev/watch-jrgL5ald.mjs.map +0 -1
- package/dist/index-BiHILcmb.d.mts +0 -1215
- package/dist/index-CCET_bCY.d.mts +0 -111
- package/dist/ref-D37CknuD.mjs +0 -1
- package/dist/rolldown-runtime-CenpyGzJ.mjs +0 -1
- package/dist/router-D4W4lEXM.mjs +0 -1
- package/dist/store-eHrHBQiv.mjs +0 -1
- package/dist/template-CNzlwH-E.mjs +0 -1
- package/dist/templateRef-DOTHWzZ5.mjs +0 -1
- package/dist/toRefs-CoytPyo0.mjs +0 -1
- package/dist/traverse-B4Ez44Gd.d.mts +0 -108
- package/dist/vue-types-B3N60cGV.d.mts +0 -757
- package/dist/watch-Bbd-gmEg.mjs +0 -1
- package/dist/weappIntrinsicElements-BgDtC53_.d.mts +0 -1257
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/scroll-view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementScrollView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
'associative-container'?: 'draggable-sheet' | 'nested-scroll-view' | 'pop-gesture';
|
|
8
|
+
'bind:refresherstatuschange'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
|
+
'bind:refresherwillrefresh'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
10
|
+
'bind:scroll'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
11
|
+
'bind:scrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
12
|
+
'bind:scrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
13
|
+
binddragend?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
14
|
+
binddragging?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
15
|
+
binddragstart?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
16
|
+
bindrefresherabort?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
17
|
+
bindrefresherpulling?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
18
|
+
bindrefresherrefresh?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
19
|
+
bindrefresherrestore?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
20
|
+
bindscroll?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
21
|
+
bindscrolltolower?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
22
|
+
bindscrolltoupper?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
23
|
+
bounces?: boolean;
|
|
24
|
+
'cache-extent'?: number;
|
|
25
|
+
clip?: boolean;
|
|
26
|
+
'enable-back-to-top'?: boolean;
|
|
27
|
+
'enable-flex'?: boolean;
|
|
28
|
+
'enable-passive'?: boolean;
|
|
29
|
+
enhanced?: boolean;
|
|
30
|
+
'fast-deceleration'?: boolean;
|
|
31
|
+
'lower-threshold'?: number | string;
|
|
32
|
+
'min-drag-distance'?: number;
|
|
33
|
+
padding?: unknown[];
|
|
34
|
+
'paging-enabled'?: boolean;
|
|
35
|
+
'refresher-background'?: string;
|
|
36
|
+
'refresher-ballistic-refresh-enabled'?: boolean;
|
|
37
|
+
'refresher-default-style'?: string;
|
|
38
|
+
'refresher-enabled'?: boolean;
|
|
39
|
+
'refresher-threshold'?: number;
|
|
40
|
+
'refresher-triggered'?: boolean;
|
|
41
|
+
'refresher-two-level-close-threshold'?: number;
|
|
42
|
+
'refresher-two-level-enabled'?: boolean;
|
|
43
|
+
'refresher-two-level-pinned'?: boolean;
|
|
44
|
+
'refresher-two-level-scroll-enabled'?: boolean;
|
|
45
|
+
'refresher-two-level-threshold'?: number;
|
|
46
|
+
'refresher-two-level-triggered'?: boolean;
|
|
47
|
+
reverse?: boolean;
|
|
48
|
+
'scroll-anchoring'?: boolean;
|
|
49
|
+
'scroll-into-view'?: string;
|
|
50
|
+
'scroll-into-view-alignment'?: 'start' | 'center' | 'end' | 'nearest';
|
|
51
|
+
'scroll-into-view-offset'?: number;
|
|
52
|
+
'scroll-into-view-within-extent'?: boolean;
|
|
53
|
+
'scroll-left'?: number | string;
|
|
54
|
+
'scroll-top'?: number | string;
|
|
55
|
+
'scroll-with-animation'?: boolean;
|
|
56
|
+
'scroll-x'?: boolean;
|
|
57
|
+
'scroll-y'?: boolean;
|
|
58
|
+
'show-scrollbar'?: boolean;
|
|
59
|
+
type?: 'list' | 'custom' | 'nested';
|
|
60
|
+
'upper-threshold'?: number | string;
|
|
61
|
+
'using-sticky'?: boolean;
|
|
62
|
+
'worklet:adjust-deceleration-velocity'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
63
|
+
'worklet:onscrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
64
|
+
'worklet:onscrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
65
|
+
'worklet:onscrollupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { MiniProgramIntrinsicElementScrollView };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/share-element.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/share-element.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementShareElement = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
duration?: number;
|
|
8
|
+
'easing-function'?: string;
|
|
9
|
+
key?: string;
|
|
10
|
+
'rect-tween-type'?: 'materialRectArc' | 'materialRectCenterArc' | 'linear' | 'elasticIn' | 'elasticOut' | 'elasticInOut' | 'bounceIn' | 'bounceOut' | 'bounceInOut' | 'cubic-bezier(x1, y1, x2, y2';
|
|
11
|
+
'shuttle-on-pop'?: string;
|
|
12
|
+
'shuttle-on-push'?: 'from' | 'to';
|
|
13
|
+
transform?: boolean;
|
|
14
|
+
'transition-on-gesture'?: boolean;
|
|
15
|
+
'worklet:onframe'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { MiniProgramIntrinsicElementShareElement };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/slider.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/slider.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementSlider = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
activeColor?: string;
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
10
|
+
bindchanging?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
11
|
+
'block-color'?: string;
|
|
12
|
+
'block-size'?: number;
|
|
13
|
+
color?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
max?: number;
|
|
16
|
+
min?: number;
|
|
17
|
+
'selected-color'?: string;
|
|
18
|
+
'show-value'?: boolean;
|
|
19
|
+
step?: number;
|
|
20
|
+
value?: number;
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { MiniProgramIntrinsicElementSlider };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/slot.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html#%E7%BB%84%E4%BB%B6-wxml-%E7%9A%84-slot
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementSlot = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
name?: string;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { MiniProgramIntrinsicElementSlot };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/swiper-item.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementSwiperItem = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
autoplay?: boolean;
|
|
8
|
+
bindanimationfinish?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
10
|
+
bindtransition?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
11
|
+
'cache-extent'?: number;
|
|
12
|
+
circular?: boolean;
|
|
13
|
+
current?: number;
|
|
14
|
+
direction?: 'all' | 'positive' | 'negative';
|
|
15
|
+
'display-multiple-items'?: number;
|
|
16
|
+
duration?: number;
|
|
17
|
+
'easing-function'?: 'default' | 'linear' | 'easeInCubic' | 'easeOutCubic' | 'easeInOutCubic';
|
|
18
|
+
'indicator-active-color'?: string;
|
|
19
|
+
'indicator-alignment'?: number[] | string;
|
|
20
|
+
'indicator-color'?: string;
|
|
21
|
+
'indicator-dots'?: boolean;
|
|
22
|
+
'indicator-height'?: number;
|
|
23
|
+
'indicator-margin'?: number;
|
|
24
|
+
'indicator-offset'?: number[];
|
|
25
|
+
'indicator-radius'?: number;
|
|
26
|
+
'indicator-spacing'?: number;
|
|
27
|
+
'indicator-type'?: 'normal' | 'worm' | 'wormThin' | 'wormUnderground' | 'wormThinUnderground' | 'expand' | 'jump' | 'jumpWithOffset' | 'scroll' | 'scrollFixedCenter' | 'slide' | 'slideUnderground' | 'scale' | 'swap' | 'swapYRotation' | 'color';
|
|
28
|
+
'indicator-width'?: number;
|
|
29
|
+
interval?: number;
|
|
30
|
+
'layout-type'?: 'normal' | 'stackLeft' | 'stackRight' | 'tinder' | 'transformer';
|
|
31
|
+
'next-margin'?: string;
|
|
32
|
+
'previous-margin'?: string;
|
|
33
|
+
'scroll-with-animation'?: boolean;
|
|
34
|
+
'snap-to-edge'?: boolean;
|
|
35
|
+
'transformer-type'?: 'scaleAndFade' | 'accordion' | 'threeD' | 'zoomIn' | 'zoomOut' | 'deepthPage';
|
|
36
|
+
vertical?: boolean;
|
|
37
|
+
'worklet:onscrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
38
|
+
'worklet:onscrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
39
|
+
'worklet:onscrollupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { MiniProgramIntrinsicElementSwiperItem };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/swiper.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementSwiper = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
autoplay?: boolean;
|
|
8
|
+
bindanimationfinish?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
10
|
+
bindtransition?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
11
|
+
'cache-extent'?: number;
|
|
12
|
+
circular?: boolean;
|
|
13
|
+
current?: number;
|
|
14
|
+
direction?: 'all' | 'positive' | 'negative';
|
|
15
|
+
'display-multiple-items'?: number;
|
|
16
|
+
duration?: number;
|
|
17
|
+
'easing-function'?: 'default' | 'linear' | 'easeInCubic' | 'easeOutCubic' | 'easeInOutCubic';
|
|
18
|
+
'indicator-active-color'?: string;
|
|
19
|
+
'indicator-alignment'?: number[] | string;
|
|
20
|
+
'indicator-color'?: string;
|
|
21
|
+
'indicator-dots'?: boolean;
|
|
22
|
+
'indicator-height'?: number;
|
|
23
|
+
'indicator-margin'?: number;
|
|
24
|
+
'indicator-offset'?: number[];
|
|
25
|
+
'indicator-radius'?: number;
|
|
26
|
+
'indicator-spacing'?: number;
|
|
27
|
+
'indicator-type'?: 'normal' | 'worm' | 'wormThin' | 'wormUnderground' | 'wormThinUnderground' | 'expand' | 'jump' | 'jumpWithOffset' | 'scroll' | 'scrollFixedCenter' | 'slide' | 'slideUnderground' | 'scale' | 'swap' | 'swapYRotation' | 'color';
|
|
28
|
+
'indicator-width'?: number;
|
|
29
|
+
interval?: number;
|
|
30
|
+
'layout-type'?: 'normal' | 'stackLeft' | 'stackRight' | 'tinder' | 'transformer';
|
|
31
|
+
'next-margin'?: string;
|
|
32
|
+
'previous-margin'?: string;
|
|
33
|
+
'scroll-with-animation'?: boolean;
|
|
34
|
+
'snap-to-edge'?: boolean;
|
|
35
|
+
'transformer-type'?: 'scaleAndFade' | 'accordion' | 'threeD' | 'zoomIn' | 'zoomOut' | 'deepthPage';
|
|
36
|
+
vertical?: boolean;
|
|
37
|
+
'worklet:onscrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
38
|
+
'worklet:onscrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
39
|
+
'worklet:onscrollupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { MiniProgramIntrinsicElementSwiper };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/switch.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementSwitch = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
color?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
type?: string;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { MiniProgramIntrinsicElementSwitch };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/template.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/template.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementTemplate = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
data?: unknown;
|
|
8
|
+
is?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { MiniProgramIntrinsicElementTemplate };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/text.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/text.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementText = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
decode?: boolean;
|
|
8
|
+
'max-lines'?: number;
|
|
9
|
+
overflow?: 'clip' | 'fade' | 'ellipsis' | 'visible';
|
|
10
|
+
selectable?: boolean;
|
|
11
|
+
space?: 'ensp' | 'emsp' | 'nbsp';
|
|
12
|
+
'user-select'?: boolean;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { MiniProgramIntrinsicElementText };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/textarea.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementTextarea = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
'adjust-keyboard-to'?: 'cursor' | 'bottom';
|
|
8
|
+
'adjust-position'?: boolean;
|
|
9
|
+
'auto-focus'?: boolean;
|
|
10
|
+
'auto-height'?: boolean;
|
|
11
|
+
'bind:keyboardcompositionend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
12
|
+
'bind:keyboardcompositionstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
13
|
+
'bind:keyboardcompositionupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
14
|
+
'bind:selectionchange'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
15
|
+
bindblur?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
16
|
+
bindconfirm?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
17
|
+
bindfocus?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
18
|
+
bindinput?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
19
|
+
bindkeyboardheightchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
20
|
+
bindlinechange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
21
|
+
'confirm-hold'?: boolean;
|
|
22
|
+
'confirm-type'?: 'send' | 'search' | 'next' | 'go' | 'done' | 'return';
|
|
23
|
+
cursor?: number;
|
|
24
|
+
'cursor-spacing'?: number;
|
|
25
|
+
'disable-default-padding'?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
fixed?: boolean;
|
|
28
|
+
focus?: boolean;
|
|
29
|
+
'hold-keyboard'?: boolean;
|
|
30
|
+
maxlength?: number;
|
|
31
|
+
placeholder?: string;
|
|
32
|
+
'placeholder-class'?: string;
|
|
33
|
+
'placeholder-style'?: string;
|
|
34
|
+
'selection-end'?: number;
|
|
35
|
+
'selection-start'?: number;
|
|
36
|
+
'show-confirm-bar'?: boolean;
|
|
37
|
+
value?: string;
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { MiniProgramIntrinsicElementTextarea };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/video.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/video.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementVideo = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
'ad-unit-id'?: string;
|
|
8
|
+
'auto-pause-if-navigate'?: boolean;
|
|
9
|
+
'auto-pause-if-open-native'?: boolean;
|
|
10
|
+
autoplay?: boolean;
|
|
11
|
+
'background-poster'?: string;
|
|
12
|
+
bindcastinginterrupt?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
13
|
+
bindcastingstatechange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
14
|
+
bindcastinguserselect?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
15
|
+
bindcontrolstoggle?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
16
|
+
bindended?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
17
|
+
bindenterpictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
18
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
19
|
+
bindfullscreenchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
20
|
+
bindleavepictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
21
|
+
bindloadedmetadata?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
22
|
+
bindpause?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
23
|
+
bindplay?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
24
|
+
bindprogress?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
25
|
+
bindseekcomplete?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
26
|
+
bindtimeupdate?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
27
|
+
bindwaiting?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
28
|
+
'certificate-url'?: string;
|
|
29
|
+
controls?: boolean;
|
|
30
|
+
'danmu-btn'?: boolean;
|
|
31
|
+
'danmu-list'?: Record<string, unknown>[];
|
|
32
|
+
direction?: '0' | '90' | '-90';
|
|
33
|
+
duration?: number;
|
|
34
|
+
'enable-auto-rotation'?: boolean;
|
|
35
|
+
'enable-danmu'?: boolean;
|
|
36
|
+
'enable-play-gesture'?: boolean;
|
|
37
|
+
'enable-progress-gesture'?: boolean;
|
|
38
|
+
'initial-time'?: number;
|
|
39
|
+
'is-drm'?: boolean;
|
|
40
|
+
'is-live'?: boolean;
|
|
41
|
+
'license-url'?: string;
|
|
42
|
+
loop?: boolean;
|
|
43
|
+
muted?: boolean;
|
|
44
|
+
'object-fit'?: 'contain' | 'fill' | 'cover';
|
|
45
|
+
'page-gesture'?: boolean;
|
|
46
|
+
'picture-in-picture-init-position'?: string;
|
|
47
|
+
'picture-in-picture-mode'?: '[]' | 'push' | 'pop';
|
|
48
|
+
'picture-in-picture-show-progress'?: boolean;
|
|
49
|
+
'play-btn-position'?: 'bottom' | 'center';
|
|
50
|
+
poster?: string;
|
|
51
|
+
'poster-for-crawler'?: string;
|
|
52
|
+
'preferred-peak-bit-rate'?: number;
|
|
53
|
+
'provision-url'?: string;
|
|
54
|
+
'referrer-policy'?: 'origin' | 'no-referrer';
|
|
55
|
+
'show-background-playback-button'?: boolean;
|
|
56
|
+
'show-bottom-progress'?: boolean;
|
|
57
|
+
'show-casting-button'?: boolean;
|
|
58
|
+
'show-center-play-btn'?: boolean;
|
|
59
|
+
'show-fullscreen-btn'?: boolean;
|
|
60
|
+
'show-mute-btn'?: boolean;
|
|
61
|
+
'show-play-btn'?: boolean;
|
|
62
|
+
'show-progress'?: boolean;
|
|
63
|
+
'show-screen-lock-button'?: boolean;
|
|
64
|
+
'show-snapshot-button'?: boolean;
|
|
65
|
+
src?: string;
|
|
66
|
+
title?: string;
|
|
67
|
+
'vslide-gesture'?: boolean;
|
|
68
|
+
'vslide-gesture-in-fullscreen'?: boolean;
|
|
69
|
+
};
|
|
70
|
+
//#endregion
|
|
71
|
+
export { MiniProgramIntrinsicElementVideo };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/view.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
'hover-class'?: string;
|
|
8
|
+
'hover-start-time'?: number;
|
|
9
|
+
'hover-stay-time'?: number;
|
|
10
|
+
'hover-stop-propagation'?: boolean;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { MiniProgramIntrinsicElementView };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/voip-room.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/voip-room.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementVoipRoom = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
|
+
'device-position'?: 'front' | 'back';
|
|
9
|
+
mode?: 'camera' | 'video';
|
|
10
|
+
'object-fit'?: 'fill' | 'contain' | 'cover';
|
|
11
|
+
openid?: string;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { MiniProgramIntrinsicElementVoipRoom };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/weappIntrinsicElements/elements/web-view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
5
|
+
*/
|
|
6
|
+
type MiniProgramIntrinsicElementWebView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
|
+
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
|
+
bindmessage?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
10
|
+
src?: string;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { MiniProgramIntrinsicElementWebView };
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { MiniProgramCSSProperties, MiniProgramDatasetAttributes, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler, WeappCSSProperties, WeappDatasetAttributes, WeappIntrinsicElementBaseAttributes, WeappIntrinsicEventHandler } from "./weappIntrinsicElements/base.mjs";
|
|
2
|
+
import { MiniProgramIntrinsicElementAd } from "./weappIntrinsicElements/elements/ad.mjs";
|
|
3
|
+
import { MiniProgramIntrinsicElementAdCustom } from "./weappIntrinsicElements/elements/ad-custom.mjs";
|
|
4
|
+
import { MiniProgramIntrinsicElementAudio } from "./weappIntrinsicElements/elements/audio.mjs";
|
|
5
|
+
import { MiniProgramIntrinsicElementBlock } from "./weappIntrinsicElements/elements/block.mjs";
|
|
6
|
+
import { MiniProgramIntrinsicElementButton } from "./weappIntrinsicElements/elements/button.mjs";
|
|
7
|
+
import { MiniProgramIntrinsicElementCamera } from "./weappIntrinsicElements/elements/camera.mjs";
|
|
8
|
+
import { MiniProgramIntrinsicElementCanvas } from "./weappIntrinsicElements/elements/canvas.mjs";
|
|
9
|
+
import { MiniProgramIntrinsicElementCheckbox } from "./weappIntrinsicElements/elements/checkbox.mjs";
|
|
10
|
+
import { MiniProgramIntrinsicElementCheckboxGroup } from "./weappIntrinsicElements/elements/checkbox-group.mjs";
|
|
11
|
+
import { MiniProgramIntrinsicElementCoverImage } from "./weappIntrinsicElements/elements/cover-image.mjs";
|
|
12
|
+
import { MiniProgramIntrinsicElementCoverView } from "./weappIntrinsicElements/elements/cover-view.mjs";
|
|
13
|
+
import { MiniProgramIntrinsicElementEditor } from "./weappIntrinsicElements/elements/editor.mjs";
|
|
14
|
+
import { MiniProgramIntrinsicElementForm } from "./weappIntrinsicElements/elements/form.mjs";
|
|
15
|
+
import { MiniProgramIntrinsicElementFunctionalPageNavigator } from "./weappIntrinsicElements/elements/functional-page-navigator.mjs";
|
|
16
|
+
import { MiniProgramIntrinsicElementIcon } from "./weappIntrinsicElements/elements/icon.mjs";
|
|
17
|
+
import { MiniProgramIntrinsicElementImage } from "./weappIntrinsicElements/elements/image.mjs";
|
|
18
|
+
import { MiniProgramIntrinsicElementImport } from "./weappIntrinsicElements/elements/import.mjs";
|
|
19
|
+
import { MiniProgramIntrinsicElementInclude } from "./weappIntrinsicElements/elements/include.mjs";
|
|
20
|
+
import { MiniProgramIntrinsicElementInput } from "./weappIntrinsicElements/elements/input.mjs";
|
|
21
|
+
import { MiniProgramIntrinsicElementKeyboardAccessory } from "./weappIntrinsicElements/elements/keyboard-accessory.mjs";
|
|
22
|
+
import { MiniProgramIntrinsicElementLabel } from "./weappIntrinsicElements/elements/label.mjs";
|
|
23
|
+
import { MiniProgramIntrinsicElementLivePlayer } from "./weappIntrinsicElements/elements/live-player.mjs";
|
|
24
|
+
import { MiniProgramIntrinsicElementLivePusher } from "./weappIntrinsicElements/elements/live-pusher.mjs";
|
|
25
|
+
import { MiniProgramIntrinsicElementMap } from "./weappIntrinsicElements/elements/map.mjs";
|
|
26
|
+
import { MiniProgramIntrinsicElementMatchMedia } from "./weappIntrinsicElements/elements/match-media.mjs";
|
|
27
|
+
import { MiniProgramIntrinsicElementMovableArea } from "./weappIntrinsicElements/elements/movable-area.mjs";
|
|
28
|
+
import { MiniProgramIntrinsicElementMovableView } from "./weappIntrinsicElements/elements/movable-view.mjs";
|
|
29
|
+
import { MiniProgramIntrinsicElementNavigationBar } from "./weappIntrinsicElements/elements/navigation-bar.mjs";
|
|
30
|
+
import { MiniProgramIntrinsicElementNavigator } from "./weappIntrinsicElements/elements/navigator.mjs";
|
|
31
|
+
import { MiniProgramIntrinsicElementOfficialAccount } from "./weappIntrinsicElements/elements/official-account.mjs";
|
|
32
|
+
import { MiniProgramIntrinsicElementOpenData } from "./weappIntrinsicElements/elements/open-data.mjs";
|
|
33
|
+
import { MiniProgramIntrinsicElementPageContainer } from "./weappIntrinsicElements/elements/page-container.mjs";
|
|
34
|
+
import { MiniProgramIntrinsicElementPageMeta } from "./weappIntrinsicElements/elements/page-meta.mjs";
|
|
35
|
+
import { MiniProgramIntrinsicElementPicker } from "./weappIntrinsicElements/elements/picker.mjs";
|
|
36
|
+
import { MiniProgramIntrinsicElementPickerView } from "./weappIntrinsicElements/elements/picker-view.mjs";
|
|
37
|
+
import { MiniProgramIntrinsicElementPickerViewColumn } from "./weappIntrinsicElements/elements/picker-view-column.mjs";
|
|
38
|
+
import { MiniProgramIntrinsicElementProgress } from "./weappIntrinsicElements/elements/progress.mjs";
|
|
39
|
+
import { MiniProgramIntrinsicElementRadio } from "./weappIntrinsicElements/elements/radio.mjs";
|
|
40
|
+
import { MiniProgramIntrinsicElementRadioGroup } from "./weappIntrinsicElements/elements/radio-group.mjs";
|
|
41
|
+
import { MiniProgramIntrinsicElementRichText } from "./weappIntrinsicElements/elements/rich-text.mjs";
|
|
42
|
+
import { MiniProgramIntrinsicElementScrollView } from "./weappIntrinsicElements/elements/scroll-view.mjs";
|
|
43
|
+
import { MiniProgramIntrinsicElementShareElement } from "./weappIntrinsicElements/elements/share-element.mjs";
|
|
44
|
+
import { MiniProgramIntrinsicElementSlider } from "./weappIntrinsicElements/elements/slider.mjs";
|
|
45
|
+
import { MiniProgramIntrinsicElementSlot } from "./weappIntrinsicElements/elements/slot.mjs";
|
|
46
|
+
import { MiniProgramIntrinsicElementSwiper } from "./weappIntrinsicElements/elements/swiper.mjs";
|
|
47
|
+
import { MiniProgramIntrinsicElementSwiperItem } from "./weappIntrinsicElements/elements/swiper-item.mjs";
|
|
48
|
+
import { MiniProgramIntrinsicElementSwitch } from "./weappIntrinsicElements/elements/switch.mjs";
|
|
49
|
+
import { MiniProgramIntrinsicElementTemplate } from "./weappIntrinsicElements/elements/template.mjs";
|
|
50
|
+
import { MiniProgramIntrinsicElementText } from "./weappIntrinsicElements/elements/text.mjs";
|
|
51
|
+
import { MiniProgramIntrinsicElementTextarea } from "./weappIntrinsicElements/elements/textarea.mjs";
|
|
52
|
+
import { MiniProgramIntrinsicElementVideo } from "./weappIntrinsicElements/elements/video.mjs";
|
|
53
|
+
import { MiniProgramIntrinsicElementView } from "./weappIntrinsicElements/elements/view.mjs";
|
|
54
|
+
import { MiniProgramIntrinsicElementVoipRoom } from "./weappIntrinsicElements/elements/voip-room.mjs";
|
|
55
|
+
import { MiniProgramIntrinsicElementWebView } from "./weappIntrinsicElements/elements/web-view.mjs";
|
|
56
|
+
//#region src/weappIntrinsicElements.d.ts
|
|
57
|
+
interface MiniProgramHtmlAliasIntrinsicElements {
|
|
58
|
+
a: MiniProgramIntrinsicElementNavigator;
|
|
59
|
+
article: MiniProgramIntrinsicElementView;
|
|
60
|
+
aside: MiniProgramIntrinsicElementView;
|
|
61
|
+
b: MiniProgramIntrinsicElementText;
|
|
62
|
+
blockquote: MiniProgramIntrinsicElementView;
|
|
63
|
+
code: MiniProgramIntrinsicElementText;
|
|
64
|
+
dd: MiniProgramIntrinsicElementView;
|
|
65
|
+
div: MiniProgramIntrinsicElementView;
|
|
66
|
+
dl: MiniProgramIntrinsicElementView;
|
|
67
|
+
dt: MiniProgramIntrinsicElementView;
|
|
68
|
+
em: MiniProgramIntrinsicElementText;
|
|
69
|
+
figcaption: MiniProgramIntrinsicElementView;
|
|
70
|
+
figure: MiniProgramIntrinsicElementView;
|
|
71
|
+
footer: MiniProgramIntrinsicElementView;
|
|
72
|
+
h1: MiniProgramIntrinsicElementView;
|
|
73
|
+
h2: MiniProgramIntrinsicElementView;
|
|
74
|
+
h3: MiniProgramIntrinsicElementView;
|
|
75
|
+
h4: MiniProgramIntrinsicElementView;
|
|
76
|
+
h5: MiniProgramIntrinsicElementView;
|
|
77
|
+
h6: MiniProgramIntrinsicElementView;
|
|
78
|
+
header: MiniProgramIntrinsicElementView;
|
|
79
|
+
i: MiniProgramIntrinsicElementText;
|
|
80
|
+
img: MiniProgramIntrinsicElementImage;
|
|
81
|
+
li: MiniProgramIntrinsicElementView;
|
|
82
|
+
main: MiniProgramIntrinsicElementView;
|
|
83
|
+
nav: MiniProgramIntrinsicElementView;
|
|
84
|
+
ol: MiniProgramIntrinsicElementView;
|
|
85
|
+
p: MiniProgramIntrinsicElementView;
|
|
86
|
+
pre: MiniProgramIntrinsicElementView;
|
|
87
|
+
section: MiniProgramIntrinsicElementView;
|
|
88
|
+
small: MiniProgramIntrinsicElementText;
|
|
89
|
+
span: MiniProgramIntrinsicElementText;
|
|
90
|
+
strong: MiniProgramIntrinsicElementText;
|
|
91
|
+
u: MiniProgramIntrinsicElementText;
|
|
92
|
+
ul: MiniProgramIntrinsicElementView;
|
|
93
|
+
}
|
|
94
|
+
interface WeappHtmlAliasIntrinsicElements extends MiniProgramHtmlAliasIntrinsicElements {}
|
|
95
|
+
interface MiniProgramIntrinsicElements extends MiniProgramHtmlAliasIntrinsicElements {
|
|
96
|
+
ad: MiniProgramIntrinsicElementAd;
|
|
97
|
+
'ad-custom': MiniProgramIntrinsicElementAdCustom;
|
|
98
|
+
audio: MiniProgramIntrinsicElementAudio;
|
|
99
|
+
block: MiniProgramIntrinsicElementBlock;
|
|
100
|
+
button: MiniProgramIntrinsicElementButton;
|
|
101
|
+
camera: MiniProgramIntrinsicElementCamera;
|
|
102
|
+
canvas: MiniProgramIntrinsicElementCanvas;
|
|
103
|
+
checkbox: MiniProgramIntrinsicElementCheckbox;
|
|
104
|
+
'checkbox-group': MiniProgramIntrinsicElementCheckboxGroup;
|
|
105
|
+
'cover-image': MiniProgramIntrinsicElementCoverImage;
|
|
106
|
+
'cover-view': MiniProgramIntrinsicElementCoverView;
|
|
107
|
+
editor: MiniProgramIntrinsicElementEditor;
|
|
108
|
+
form: MiniProgramIntrinsicElementForm;
|
|
109
|
+
'functional-page-navigator': MiniProgramIntrinsicElementFunctionalPageNavigator;
|
|
110
|
+
icon: MiniProgramIntrinsicElementIcon;
|
|
111
|
+
image: MiniProgramIntrinsicElementImage;
|
|
112
|
+
import: MiniProgramIntrinsicElementImport;
|
|
113
|
+
include: MiniProgramIntrinsicElementInclude;
|
|
114
|
+
input: MiniProgramIntrinsicElementInput;
|
|
115
|
+
'keyboard-accessory': MiniProgramIntrinsicElementKeyboardAccessory;
|
|
116
|
+
label: MiniProgramIntrinsicElementLabel;
|
|
117
|
+
'live-player': MiniProgramIntrinsicElementLivePlayer;
|
|
118
|
+
'live-pusher': MiniProgramIntrinsicElementLivePusher;
|
|
119
|
+
map: MiniProgramIntrinsicElementMap;
|
|
120
|
+
'match-media': MiniProgramIntrinsicElementMatchMedia;
|
|
121
|
+
'movable-area': MiniProgramIntrinsicElementMovableArea;
|
|
122
|
+
'movable-view': MiniProgramIntrinsicElementMovableView;
|
|
123
|
+
'navigation-bar': MiniProgramIntrinsicElementNavigationBar;
|
|
124
|
+
navigator: MiniProgramIntrinsicElementNavigator;
|
|
125
|
+
'official-account': MiniProgramIntrinsicElementOfficialAccount;
|
|
126
|
+
'open-data': MiniProgramIntrinsicElementOpenData;
|
|
127
|
+
'page-container': MiniProgramIntrinsicElementPageContainer;
|
|
128
|
+
'page-meta': MiniProgramIntrinsicElementPageMeta;
|
|
129
|
+
picker: MiniProgramIntrinsicElementPicker;
|
|
130
|
+
'picker-view': MiniProgramIntrinsicElementPickerView;
|
|
131
|
+
'picker-view-column': MiniProgramIntrinsicElementPickerViewColumn;
|
|
132
|
+
progress: MiniProgramIntrinsicElementProgress;
|
|
133
|
+
radio: MiniProgramIntrinsicElementRadio;
|
|
134
|
+
'radio-group': MiniProgramIntrinsicElementRadioGroup;
|
|
135
|
+
'rich-text': MiniProgramIntrinsicElementRichText;
|
|
136
|
+
'scroll-view': MiniProgramIntrinsicElementScrollView;
|
|
137
|
+
'share-element': MiniProgramIntrinsicElementShareElement;
|
|
138
|
+
slider: MiniProgramIntrinsicElementSlider;
|
|
139
|
+
slot: MiniProgramIntrinsicElementSlot;
|
|
140
|
+
swiper: MiniProgramIntrinsicElementSwiper;
|
|
141
|
+
'swiper-item': MiniProgramIntrinsicElementSwiperItem;
|
|
142
|
+
switch: MiniProgramIntrinsicElementSwitch;
|
|
143
|
+
template: MiniProgramIntrinsicElementTemplate;
|
|
144
|
+
text: MiniProgramIntrinsicElementText;
|
|
145
|
+
textarea: MiniProgramIntrinsicElementTextarea;
|
|
146
|
+
video: MiniProgramIntrinsicElementVideo;
|
|
147
|
+
view: MiniProgramIntrinsicElementView;
|
|
148
|
+
'voip-room': MiniProgramIntrinsicElementVoipRoom;
|
|
149
|
+
'web-view': MiniProgramIntrinsicElementWebView;
|
|
150
|
+
}
|
|
151
|
+
interface WeappIntrinsicElements extends MiniProgramIntrinsicElements {}
|
|
152
|
+
//#endregion
|
|
153
|
+
export { type MiniProgramCSSProperties, type MiniProgramDatasetAttributes, MiniProgramHtmlAliasIntrinsicElements, type MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicElements, type MiniProgramIntrinsicEventHandler, type WeappCSSProperties, type WeappDatasetAttributes, WeappHtmlAliasIntrinsicElements, type WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, type WeappIntrinsicEventHandler };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wevu",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.19.1",
|
|
5
5
|
"description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -226,11 +226,11 @@
|
|
|
226
226
|
},
|
|
227
227
|
"dependencies": {
|
|
228
228
|
"vue": "^3.5.40",
|
|
229
|
-
"@weapp-core/constants": "0.1.
|
|
230
|
-
"@weapp-core/shared": "3.0
|
|
231
|
-
"@wevu/api": "0.2.
|
|
232
|
-
"@wevu/compiler": "6.
|
|
233
|
-
"@wevu/web-apis": "1.2.
|
|
229
|
+
"@weapp-core/constants": "0.1.15",
|
|
230
|
+
"@weapp-core/shared": "3.1.0",
|
|
231
|
+
"@wevu/api": "0.2.14",
|
|
232
|
+
"@wevu/compiler": "6.19.1",
|
|
233
|
+
"@wevu/web-apis": "1.2.30"
|
|
234
234
|
},
|
|
235
235
|
"scripts": {
|
|
236
236
|
"dev": "tsdown -w",
|
package/dist/base-BxKbbKVO.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,h as t,l as n,n as r,r as i}from"./ref-D37CknuD.mjs";import{WEVU_HOOKS_KEY as a}from"@weapp-core/constants";import{getMiniProgramPlatformByRuntimeGlobalKey as o,getMiniProgramRuntimeCapabilities as s,getMiniProgramRuntimeGlobalKey as c,getMiniProgramRuntimeGlobalKeys as l,getMiniProgramRuntimeHostConfigKey as u,resolveMiniProgramPlatform as d,supportsMiniProgramRuntimeCapability as f}from"@weapp-core/shared";function p(n){if(r(n)){let e=n,t=i({get value(){return e.value},set value(e){throw Error(`无法给只读 ref 赋值`)}});return Object.defineProperties(t,{__r_isReadonly:{value:!0,configurable:!0},__r_raw:{value:e,configurable:!0}}),t}return!e(n)||t(n)===0?n:new Proxy(n,{set(){throw Error(`无法在只读对象上设置属性`)},deleteProperty(){throw Error(`无法在只读对象上删除属性`)},defineProperty(){throw Error(`无法在只读对象上定义属性`)},get(e,t,n){return t===`__r_isReadonly`?!0:t===`__r_raw`?e:Reflect.get(e,t,n)}})}function m(e){return p(e)}function h(e){return p(e)}function g(e){return!!(e&&e.__r_isReadonly)}function _(e){return n(e)||g(e)}const v=[`switchTab`,`reLaunch`,`redirectTo`,`navigateTo`,`navigateBack`];function y(){if(!(typeof globalThis>`u`))return globalThis}function b(){var e;let t=y(),n=d((e=import.meta.env)==null?void 0:e.PLATFORM);if(n)return n;for(let e of l())if(t!=null&&t[e])return o(e)}function x(){return s(b())}function S(e){return f(b(),e)}function C(){if(!S(`globalPageStack`))return[];let e=globalThis.getCurrentPages;if(typeof e!=`function`)return[];try{let t=e();return Array.isArray(t)?t:[]}catch(e){return[]}}function w(){let e=y(),t=u(b()),n=e==null?void 0:e[t];return n&&typeof n==`object`?n:void 0}function T(e){var t;let n=y(),r=d(e==null?(t=import.meta.env)==null?void 0:t.PLATFORM:e);if(r){let e=c(r);return n==null?void 0:n[e]}for(let e of l()){let t=n==null?void 0:n[e];if(t)return t}}function E(){if(!S(`globalRouterApi`))return;let e=T();if(!e)return;let t=Object.create(null);for(let n of v){let r=e[n];if(typeof r!=`function`)return;t[n]=(...t)=>r.apply(e,t)}return t}function D(){var e;return(e=T())==null?y():e}let O,k;function A(){return O}function j(e){O=e}function M(){return k}function N(e){k=e}function P(e){if(!O)throw Error(`${e}() 必须在 setup() 的同步阶段调用`);return O}function F(e){return e[a]||(e[a]=Object.create(null)),e[a]}function I(e,t){let n=x().shareTimelineRequiresShareAppMessage?e||t:e,r=[];return n&&r.push(`shareAppMessage`),t&&r.push(`shareTimeline`),r}function L(e,t){let n=[{withShareTicket:!0,menus:t},{menus:t},t.includes(`shareTimeline`)?{withShareTicket:!0}:void 0,t.includes(`shareTimeline`)?{}:void 0,void 0];for(let t of n)try{t===void 0?e():e(t);return}catch(e){}}function R(e,t,n,{single:r=!1}={}){let i=F(e);if(r)i[t]=n;else{var a;((a=i[t])==null?i[t]=[]:a).push(n)}}function z(e,t){var n,r;let i=(r=(n=e).__wevuShareHookBridges)==null?n.__wevuShareHookBridges=Object.create(null):r;if(typeof i[t]==`function`)return;let o=e[t],s=function(...e){var n;let r=this[a],i=r==null?void 0:r[t],s=this.__wevu,c=(n=s==null?void 0:s.proxy)==null?this:n,l;if(typeof i==`function`)try{l=i.apply(c,e)}catch(e){l=void 0}else if(Array.isArray(i))for(let t of i)try{l=t.apply(c,e)}catch(e){}if(l!==void 0)return l;if(typeof o==`function`)return o.apply(this,e)};i[t]=s,e[t]=s}function B(e){var t;if(!S(`pageShareMenu`))return;let n=T();if(!n||typeof n.showShareMenu!=`function`)return;let r=(t=e[a])==null?{}:t,i=typeof r.onShareAppMessage==`function`,o=typeof r.onShareTimeline==`function`;if(!i&&!o)return;let s=I(i,o);s.length&&L(n.showShareMenu.bind(n),s)}function V(e,t,n=[]){var r;let i=e[a];if(!i)return;let o=i[t];if(!o)return;let s=e.__wevu,c=(r=s==null?void 0:s.proxy)==null?e:r;if(Array.isArray(o))for(let e of o)try{e.apply(c,n)}catch(e){}else if(typeof o==`function`)try{o.apply(c,n)}catch(e){}}function H(e,t){var n,r;let i=(r=(n=e).__wevuPageHookBridges)==null?n.__wevuPageHookBridges=Object.create(null):r;if(typeof i[t]==`function`)return;let a=e[t],o=function(...e){if(V(this,t,e),typeof a==`function`)return a.apply(this,e)};i[t]=o,e[t]=o}function U(e,t,n=[]){var r;let i=e[a];if(!i)return;let o=i[t];if(!o)return;let s=e.__wevu,c=(r=s==null?void 0:s.proxy)==null?e:r;if(typeof o==`function`)try{return o.apply(c,n)}catch(e){return}if(Array.isArray(o)){let e;for(let t of o)try{e=t.apply(c,n)}catch(e){}return e}}export{h as S,D as _,B as a,g as b,M as c,N as d,E as f,T as g,x as h,H as i,R as l,C as m,V as n,z as o,w as p,U as r,A as s,P as t,j as u,S as v,m as x,_ as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e,C as t,D as n,E as r,M as i,O as a,S as o,T as s,_ as c,b as l,m as u,r as d,v as f,w as p,x as m,z as h}from"./ref-D37CknuD.mjs";function g(e,t){let r=f(e);p.set(r,``),l(r,r);let i=t==null?void 0:t.shouldIncludeTopKey,a=typeof(t==null?void 0:t.maxDepth)==`number`?Math.max(0,Math.floor(t.maxDepth)):1/0,o=typeof(t==null?void 0:t.maxKeys)==`number`?Math.max(0,Math.floor(t.maxKeys)):1/0,u=new WeakSet,d=[{current:r,path:``,depth:0}],h=0;for(;d.length;){let e=d.pop();if(u.has(e.current)||(u.add(e.current),p.set(e.current,e.path),l(r,e.current),h+=1,h>=o)||e.depth>=a||Array.isArray(e.current))continue;let t=Object.entries(e.current);for(let[a,o]of t){if(e.path===``&&i&&!i(a)||!c(o)||o.__r_skip)continue;let t=f(o);if(s.has(t)||s.set(t,r),n(t,e.current,a),!m.has(t)){let n=e.path?`${e.path}.${a}`:a;p.set(t,n)}l(r,t),d.push({current:t,path:e.path?`${e.path}.${a}`:a,depth:e.depth+1})}}}function _(e){let n=f(e),i=a.get(n);if(!i){p.delete(n);return}for(let e of i)o.delete(e),t.delete(e),p.delete(e),m.delete(e),s.delete(e),r.delete(e);a.delete(n)}function v(e){h(f(e),u)}function y(t){let n,r;typeof t==`function`?(n=t,r=()=>{throw Error(`计算属性是只读的`)}):(n=t.get,r=t.set);let a,o=!0,s,c={get value(){return o&&(a=s(),o=!1),h(c,`value`),a},set value(e){r(e)}};return d(c),s=i(n,{lazy:!0,scheduler:()=>{o||(o=!0,e(c,`value`))}}),c}export{v as i,_ as n,g as r,y as t};
|