wevu 7.0.2 → 7.0.4
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/dev/package.mjs +1 -1
- package/dist/dev/router/initialNavigation.mjs +6 -3
- package/dist/dev/router/initialNavigation.mjs.map +1 -1
- package/dist/dev/router/routeSync.mjs +8 -2
- package/dist/dev/router/routeSync.mjs.map +1 -1
- package/dist/dev/router/useRoute.mjs +14 -7
- package/dist/dev/router/useRoute.mjs.map +1 -1
- package/dist/dev/runtime/define/scopedSlotOptions.mjs +3 -1
- package/dist/dev/runtime/define/scopedSlotOptions.mjs.map +1 -1
- package/dist/dev/runtime/emit.mjs +1 -1
- package/dist/dev/runtime/emit.mjs.map +1 -1
- package/dist/dev/runtime/jsxIsland.mjs +5 -1
- package/dist/dev/runtime/jsxIsland.mjs.map +1 -1
- package/dist/dev/runtime/register/component/options.mjs +3 -2
- package/dist/dev/runtime/register/component/options.mjs.map +1 -1
- package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs +15 -1
- package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs.map +1 -1
- package/dist/fetch.d.mts +4 -4
- package/dist/jsx-runtime.d.mts +4 -5
- package/dist/macros/shared.d.mts +14 -15
- package/dist/macros.d.mts +22 -22
- package/dist/package.mjs +1 -1
- package/dist/reactivity/computed.d.mts +8 -9
- package/dist/reactivity/core.d.mts +14 -15
- package/dist/reactivity/reactive/mutation.d.mts +6 -7
- package/dist/reactivity/reactive/patch.d.mts +4 -5
- package/dist/reactivity/reactive/shallow.d.mts +3 -4
- package/dist/reactivity/reactive/shared.d.mts +2 -3
- package/dist/reactivity/reactive.d.mts +6 -6
- package/dist/reactivity/readonly.d.mts +7 -8
- package/dist/reactivity/ref.d.mts +14 -15
- package/dist/reactivity/shallowRef.d.mts +5 -6
- package/dist/reactivity/toRefs.d.mts +5 -6
- package/dist/reactivity/traverse.d.mts +2 -3
- package/dist/reactivity/watch/types.d.mts +18 -19
- package/dist/reactivity/watch.d.mts +8 -8
- package/dist/router/createRouter.d.mts +2 -3
- package/dist/router/initialNavigation.mjs +1 -1
- package/dist/router/navigationCore.d.mts +3 -4
- package/dist/router/resolve.d.mts +2 -3
- package/dist/router/routeSync.mjs +1 -1
- package/dist/router/types.d.mts +38 -39
- package/dist/router/useRoute.d.mts +5 -6
- package/dist/router/useRoute.mjs +1 -1
- package/dist/router/useRouter.d.mts +2 -3
- package/dist/routerInternal/query.d.mts +3 -4
- package/dist/routerInternal/types.d.mts +2 -3
- package/dist/runtime/app/pending.d.mts +3 -4
- package/dist/runtime/app.d.mts +2 -3
- package/dist/runtime/css.d.mts +3 -4
- package/dist/runtime/defaults.d.mts +5 -6
- package/dist/runtime/define/scopedSlotOptions.mjs +1 -1
- package/dist/runtime/define.d.mts +15 -16
- package/dist/runtime/disposables.d.mts +6 -7
- package/dist/runtime/elementIntersectionObserver.d.mts +5 -6
- package/dist/runtime/emit.mjs +1 -1
- package/dist/runtime/hooks/base.d.mts +7 -8
- package/dist/runtime/hooks/register.d.mts +26 -27
- package/dist/runtime/hooks/vue.d.mts +12 -13
- package/dist/runtime/intersectionObserver.d.mts +4 -5
- package/dist/runtime/jsxIsland.d.mts +19 -20
- package/dist/runtime/jsxIsland.mjs +1 -1
- package/dist/runtime/layoutBridge.d.mts +12 -13
- package/dist/runtime/noSetData.d.mts +3 -4
- package/dist/runtime/pageEnvironment.d.mts +9 -10
- package/dist/runtime/pageLayout.d.mts +9 -10
- package/dist/runtime/pageScroll.d.mts +4 -5
- package/dist/runtime/provide.d.mts +7 -7
- package/dist/runtime/provideStore.d.mts +2 -3
- package/dist/runtime/pullDownRefresh.d.mts +4 -5
- package/dist/runtime/register/app.d.mts +2 -3
- package/dist/runtime/register/component/options.mjs +1 -1
- package/dist/runtime/register/component.d.mts +2 -3
- package/dist/runtime/register/inline.d.mts +3 -4
- package/dist/runtime/register/runtimeInstance/setupContext.mjs +1 -1
- package/dist/runtime/register/runtimeInstance.d.mts +4 -5
- package/dist/runtime/register/setup.d.mts +2 -3
- package/dist/runtime/register/watch.d.mts +3 -4
- package/dist/runtime/selectorQuery.d.mts +15 -16
- package/dist/runtime/template.d.mts +4 -5
- package/dist/runtime/templateRefTypes.d.mts +2 -1
- package/dist/runtime/templateRefs.d.mts +2 -3
- package/dist/runtime/types/core.d.mts +9 -10
- package/dist/runtime/types/miniprogram.d.mts +10 -10
- package/dist/runtime/types/miniprogramHost.d.mts +41 -41
- package/dist/runtime/types/miniprogramHostSources.d.mts +21 -22
- package/dist/runtime/types/options.d.mts +6 -7
- package/dist/runtime/types/props/propTypes.d.mts +16 -17
- package/dist/runtime/types/props/router.d.mts +13 -14
- package/dist/runtime/types/props/setup.d.mts +7 -8
- package/dist/runtime/types/runtime.d.mts +7 -8
- package/dist/runtime/types/setData.d.mts +3 -4
- package/dist/runtime/types.d.mts +8 -8
- package/dist/runtime/uniAppHost.d.mts +2 -3
- package/dist/runtime/updatePerformance.d.mts +5 -6
- package/dist/runtime/use.d.mts +3 -4
- package/dist/runtime/vueCompat/context.d.mts +4 -5
- package/dist/runtime/vueCompat/model.d.mts +9 -10
- package/dist/runtime/vueCompat/router.d.mts +3 -4
- package/dist/runtime/vueCompat/templateRef.d.mts +4 -5
- package/dist/scheduler.d.mts +2 -3
- package/dist/store/define.d.mts +3 -4
- package/dist/store/manager.d.mts +2 -3
- package/dist/store/storeToRefs.d.mts +3 -4
- package/dist/store/types.d.mts +10 -11
- package/dist/version.d.mts +2 -3
- package/dist/vue-augment.d.mts +2 -1
- package/dist/vue-demi.d.mts +5 -5
- package/dist/vue-types.d.mts +2 -2
- package/dist/weappIntrinsicElements/base.d.mts +12 -13
- package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/ad.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/audio.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/block.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/button.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/camera.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/canvas.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/checkbox.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/cover-image.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/cover-view.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/editor.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/form.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/icon.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/image.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/import.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/include.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/input.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/label.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/live-player.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/map.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/match-media.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/movable-area.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/movable-view.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/navigator.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/official-account.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/open-data.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/page-container.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/page-meta.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/picker-view.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/picker.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/progress.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/radio-group.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/radio.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/rich-text.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/share-element.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/slider.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/slot.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/swiper.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/switch.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/template.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/text.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/textarea.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/video.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/view.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/voip-room.d.mts +2 -3
- package/dist/weappIntrinsicElements/elements/web-view.d.mts +2 -3
- package/dist/weappIntrinsicElements.d.mts +5 -5
- package/package.json +4 -4
package/dist/vue-demi.d.mts
CHANGED
|
@@ -70,18 +70,18 @@ export * from "@wevu/web-apis";
|
|
|
70
70
|
/**
|
|
71
71
|
* 标记当前兼容层运行在 Vue 3 风格分支。
|
|
72
72
|
*/
|
|
73
|
-
declare const isVue2 = false;
|
|
73
|
+
export declare const isVue2 = false;
|
|
74
74
|
/**
|
|
75
75
|
* 标记当前兼容层运行在 Vue 3 风格分支。
|
|
76
76
|
*/
|
|
77
|
-
declare const isVue3 = true;
|
|
77
|
+
export declare const isVue3 = true;
|
|
78
78
|
/**
|
|
79
79
|
* 与 `vue-demi` 保持一致,Vue 3 分支下不暴露 Vue 2 构造器。
|
|
80
80
|
*/
|
|
81
|
-
declare const Vue2: undefined;
|
|
81
|
+
export declare const Vue2: undefined;
|
|
82
82
|
/**
|
|
83
83
|
* Vue 3 分支的 `vue-demi.install()` 为 no-op,这里保持同样语义。
|
|
84
84
|
*/
|
|
85
|
-
declare function install(): void;
|
|
85
|
+
export declare function install(): void;
|
|
86
86
|
//#endregion
|
|
87
|
-
export { type ActionContext, type ActionSubscriber, type AlipayMiniProgramHostNamespace, type AlipayMiniProgramHostSourceContract, type AllowedComponentProps, type AppConfig, type ComponentCustomProps, type ComponentDefinition, type ComponentOptionsMixin, type ComponentPropsOptions, type ComponentPublicInstance, type ComponentTypeEmits, type ComputedDefinitions, type ComputedGetter, type ComputedRef, type ComputedSetter, type CreateAppOptions, type CustomRefFactory, type CustomRefOptions, type CustomRefSource, type DataOption, type DefaultMiniProgramHostNamespace, type DefaultMiniProgramHostSourceContract, type DefineAppOptions, type DefineComponent, type DefineComponentOptions, type DefineComponentTypePropsOptions, type DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, type DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, type DouyinMiniProgramHostNamespace, type DouyinMiniProgramHostSourceContract, type EffectScope, ElementIntersectionObserverCallback, type EmitFn, type EmitsOptions, type ExtractComputed, type ExtractDefaultPropTypes, type ExtractMethods, type ExtractPropTypes, type ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, type HostMiniProgramAddToFavoritesOption, type HostMiniProgramAppOptions, type HostMiniProgramAppTrivialInstance, type HostMiniProgramBehaviorIdentifier, type HostMiniProgramBoundingClientRectResult, type HostMiniProgramComponentAllFullProperty, type HostMiniProgramComponentAllProperty, type HostMiniProgramComponentBehaviorOptions, type HostMiniProgramComponentEmptyArray, type HostMiniProgramComponentInstance, type HostMiniProgramComponentMethodOption, type HostMiniProgramComponentPropertyOption, type HostMiniProgramComponentPropertyValue, type HostMiniProgramComponentShortProperty, type HostMiniProgramComponentTrivialInstance, type HostMiniProgramComponentTrivialOption, type HostMiniProgramIntersectionObserver, type HostMiniProgramIntersectionObserverOptions, type HostMiniProgramLaunchOptions, type HostMiniProgramMemoryWarningResult, type HostMiniProgramNavigateToOption, type HostMiniProgramNodesRef, type HostMiniProgramNodesRefFields, type HostMiniProgramPageLifetime, type HostMiniProgramPageNotFoundOptions, type HostMiniProgramPageResizeOption, type HostMiniProgramPageScrollOption, type HostMiniProgramPageTrivialInstance, type HostMiniProgramReLaunchOption, type HostMiniProgramRedirectToOption, type HostMiniProgramRouter, type HostMiniProgramSaveExitState, type HostMiniProgramScrollOffsetResult, type HostMiniProgramSelectorQuery, type HostMiniProgramShareAppMessageOption, type HostMiniProgramSwitchTabOption, type HostMiniProgramTabItemTapOption, type HostMiniProgramThemeChangeResult, type HostMiniProgramTriggerEventOptions, type HostMiniProgramUnhandledRejectionResult, type InferNativePropType, type InferNativeProps, type InferPropType, type InferProps, type InternalRuntimeState, type InternalRuntimeStateFields, LayoutBridgeInstance, LayoutHostBinding, type MapSources, type MaybeRef, type MaybeRefOrGetter, type MaybeUndefined, type MethodDefinitions, type MiniProgramAdapter, type HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, type MiniProgramAppOptions, type MiniProgramBehaviorIdentifier, type HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, type MiniProgramCSSProperties, type HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, type HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, type HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, type HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, type MiniProgramComponentInstance, type HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, type MiniProgramComponentOptions, type HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, type MiniProgramComponentPropertyValue, type MiniProgramComponentRawOptions, type HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, type MiniProgramDatasetAttributes, type MiniProgramHostNamespace, type MiniProgramHostNamespaceBySource, type MiniProgramHostSourceName, type MiniProgramHostSourceRegistry, type MiniProgramHtmlAliasIntrinsicElements, type MiniProgramInstance, type HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, type HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, type MiniProgramIntrinsicElementBaseAttributes, type MiniProgramIntrinsicElements, type MiniProgramIntrinsicEventHandler, type HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, type HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, type HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, type HostMiniProgramNodesRef as MiniProgramNodesRef, type HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, type HostMiniProgramPageLifetime as MiniProgramPageLifetime, type MiniProgramPageLifetimes, type HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, type HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, type HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, type MiniProgramPlatformHostNamespaceBySource, type MiniProgramPlatformHostSourceName, type MiniProgramPlatformHostSourceRegistry, type HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, type HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, type HostMiniProgramRouter as MiniProgramRouter, type MiniProgramRouterNavigateToOption, type MiniProgramRouterReLaunchOption, type MiniProgramRouterRedirectToOption, type MiniProgramRouterSwitchTabOption, type MiniProgramRuntimeHostNamespaceBySource, type MiniProgramRuntimeHostSourceName, type MiniProgramRuntimeHostSourceRegistry, type HostMiniProgramSaveExitState as MiniProgramSaveExitState, type HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, type HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, type HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, type HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, type HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, MiniProgramTemplateRefValue, type HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, type HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, type ModelBinding, type ModelBindingOptions, type ModelBindingPayload, type ModelModifiers, ModelRef, type MultiWatchSources, type MutationKind, type MutationOp, type MutationRecord, type MutationType, type NativeComponent, type NativePropType, type NativePropsOptions, type NativeTypeHint, type NativeTypedProperty, NavigationBarMetrics, type ObjectDirective, type OnCleanup, type PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PageStackSnapshot, type PrelinkReactiveTreeOptions, type PropConstructor, type PropOptions, type PropType, type PublicProps, PullDownRefreshHandler, type Ref, type RuntimeApp, type RuntimeInstance, type SetDataDebugInfo, type SetDataSnapshotOptions, type SetupContext, type SetupContextNativeInstance, type SetupContextRouter, type SetupContextWithTypeProps, type SetupFunction, type SetupFunctionWithTypeProps, type ShallowRef, type ShallowUnwrapRef, type StoreManager, type StoreSubscribeOptions, type StoreToRefsResult, type SubscriptionCallback, type TemplateRef, TemplateRefValue, TemplateRefs, type ToRefs, type HostMiniProgramTriggerEventOptions as TriggerEventOptions, type TtMiniProgramHostNamespace, type TtMiniProgramHostSourceContract, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseAllBoundingClientRectOptions, UseAllScrollOffsetOptions, UseAllSelectorFieldsOptions, UseAsyncPullDownRefreshOptions, UseBoundingClientRectOptions, UseElementIntersectionObserverOptions, UseElementIntersectionObserverReturn, UseIntersectionObserverOptions, UseIntersectionObserverResult, type UseModelOptions, UseNavigationBarMetricsOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UsePageStackOptions, UseScrollOffsetOptions, UseSelectorFieldsOptions, UseSelectorQueryOptions, UseUpdatePerformanceListenerStopHandle, type VNode, type VNodeProps, Vue2, type WatchCallback, type WatchEffect, type WatchEffectOptions, type WatchMultiSources, type WatchOptions, type WatchScheduler, type WatchSource, type WatchSourceValue, type WatchSources, type WatchStopHandle, type WeappCSSProperties, type WeappDatasetAttributes, type WeappHtmlAliasIntrinsicElements, type WeappIntrinsicElementBaseAttributes, type WeappIntrinsicElements, type WeappIntrinsicEventHandler, type WechatMiniProgramHostNamespace, type WechatMiniProgramHostSourceContract, type WevuComponentConstructor, type WevuDefaults, type WevuDefinedComponent, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, type WevuPlugin, type WevuTypedRouterRouteMap, type WritableComputedOptions, type WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getNavigationBarMetrics, getReactiveVersion, hasInjectionContext, inject, injectGlobal, install, isNoSetData, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, isVue2, isVue3, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, registerPageLayoutBridge, registerRuntimeLayoutHosts, removeMutationRecorder, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolvePropValue, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useCssModule, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
|
|
87
|
+
export { type ActionContext, type ActionSubscriber, type AlipayMiniProgramHostNamespace, type AlipayMiniProgramHostSourceContract, type AllowedComponentProps, type AppConfig, type ComponentCustomProps, type ComponentDefinition, type ComponentOptionsMixin, type ComponentPropsOptions, type ComponentPublicInstance, type ComponentTypeEmits, type ComputedDefinitions, type ComputedGetter, type ComputedRef, type ComputedSetter, type CreateAppOptions, type CustomRefFactory, type CustomRefOptions, type CustomRefSource, type DataOption, type DefaultMiniProgramHostNamespace, type DefaultMiniProgramHostSourceContract, type DefineAppOptions, type DefineComponent, type DefineComponentOptions, type DefineComponentTypePropsOptions, type DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, type DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, type DouyinMiniProgramHostNamespace, type DouyinMiniProgramHostSourceContract, type EffectScope, ElementIntersectionObserverCallback, type EmitFn, type EmitsOptions, type ExtractComputed, type ExtractDefaultPropTypes, type ExtractMethods, type ExtractPropTypes, type ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, type HostMiniProgramAddToFavoritesOption, type HostMiniProgramAppOptions, type HostMiniProgramAppTrivialInstance, type HostMiniProgramBehaviorIdentifier, type HostMiniProgramBoundingClientRectResult, type HostMiniProgramComponentAllFullProperty, type HostMiniProgramComponentAllProperty, type HostMiniProgramComponentBehaviorOptions, type HostMiniProgramComponentEmptyArray, type HostMiniProgramComponentInstance, type HostMiniProgramComponentMethodOption, type HostMiniProgramComponentPropertyOption, type HostMiniProgramComponentPropertyValue, type HostMiniProgramComponentShortProperty, type HostMiniProgramComponentTrivialInstance, type HostMiniProgramComponentTrivialOption, type HostMiniProgramIntersectionObserver, type HostMiniProgramIntersectionObserverOptions, type HostMiniProgramLaunchOptions, type HostMiniProgramMemoryWarningResult, type HostMiniProgramNavigateToOption, type HostMiniProgramNodesRef, type HostMiniProgramNodesRefFields, type HostMiniProgramPageLifetime, type HostMiniProgramPageNotFoundOptions, type HostMiniProgramPageResizeOption, type HostMiniProgramPageScrollOption, type HostMiniProgramPageTrivialInstance, type HostMiniProgramReLaunchOption, type HostMiniProgramRedirectToOption, type HostMiniProgramRouter, type HostMiniProgramSaveExitState, type HostMiniProgramScrollOffsetResult, type HostMiniProgramSelectorQuery, type HostMiniProgramShareAppMessageOption, type HostMiniProgramSwitchTabOption, type HostMiniProgramTabItemTapOption, type HostMiniProgramThemeChangeResult, type HostMiniProgramTriggerEventOptions, type HostMiniProgramUnhandledRejectionResult, type InferNativePropType, type InferNativeProps, type InferPropType, type InferProps, type InternalRuntimeState, type InternalRuntimeStateFields, LayoutBridgeInstance, LayoutHostBinding, type MapSources, type MaybeRef, type MaybeRefOrGetter, type MaybeUndefined, type MethodDefinitions, type MiniProgramAdapter, type HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, type MiniProgramAppOptions, type MiniProgramBehaviorIdentifier, type HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, type MiniProgramCSSProperties, type HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, type HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, type HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, type HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, type MiniProgramComponentInstance, type HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, type MiniProgramComponentOptions, type HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, type MiniProgramComponentPropertyValue, type MiniProgramComponentRawOptions, type HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, type MiniProgramDatasetAttributes, type MiniProgramHostNamespace, type MiniProgramHostNamespaceBySource, type MiniProgramHostSourceName, type MiniProgramHostSourceRegistry, type MiniProgramHtmlAliasIntrinsicElements, type MiniProgramInstance, type HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, type HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, type MiniProgramIntrinsicElementBaseAttributes, type MiniProgramIntrinsicElements, type MiniProgramIntrinsicEventHandler, type HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, type HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, type HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, type HostMiniProgramNodesRef as MiniProgramNodesRef, type HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, type HostMiniProgramPageLifetime as MiniProgramPageLifetime, type MiniProgramPageLifetimes, type HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, type HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, type HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, type MiniProgramPlatformHostNamespaceBySource, type MiniProgramPlatformHostSourceName, type MiniProgramPlatformHostSourceRegistry, type HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, type HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, type HostMiniProgramRouter as MiniProgramRouter, type MiniProgramRouterNavigateToOption, type MiniProgramRouterReLaunchOption, type MiniProgramRouterRedirectToOption, type MiniProgramRouterSwitchTabOption, type MiniProgramRuntimeHostNamespaceBySource, type MiniProgramRuntimeHostSourceName, type MiniProgramRuntimeHostSourceRegistry, type HostMiniProgramSaveExitState as MiniProgramSaveExitState, type HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, type HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, type HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, type HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, type HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, MiniProgramTemplateRefValue, type HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, type HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, type ModelBinding, type ModelBindingOptions, type ModelBindingPayload, type ModelModifiers, ModelRef, type MultiWatchSources, type MutationKind, type MutationOp, type MutationRecord, type MutationType, type NativeComponent, type NativePropType, type NativePropsOptions, type NativeTypeHint, type NativeTypedProperty, NavigationBarMetrics, type ObjectDirective, type OnCleanup, type PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PageStackSnapshot, type PrelinkReactiveTreeOptions, type PropConstructor, type PropOptions, type PropType, type PublicProps, PullDownRefreshHandler, type Ref, type RuntimeApp, type RuntimeInstance, type SetDataDebugInfo, type SetDataSnapshotOptions, type SetupContext, type SetupContextNativeInstance, type SetupContextRouter, type SetupContextWithTypeProps, type SetupFunction, type SetupFunctionWithTypeProps, type ShallowRef, type ShallowUnwrapRef, type StoreManager, type StoreSubscribeOptions, type StoreToRefsResult, type SubscriptionCallback, type TemplateRef, TemplateRefValue, TemplateRefs, type ToRefs, type HostMiniProgramTriggerEventOptions as TriggerEventOptions, type TtMiniProgramHostNamespace, type TtMiniProgramHostSourceContract, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseAllBoundingClientRectOptions, UseAllScrollOffsetOptions, UseAllSelectorFieldsOptions, UseAsyncPullDownRefreshOptions, UseBoundingClientRectOptions, UseElementIntersectionObserverOptions, UseElementIntersectionObserverReturn, UseIntersectionObserverOptions, UseIntersectionObserverResult, type UseModelOptions, UseNavigationBarMetricsOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UsePageStackOptions, UseScrollOffsetOptions, UseSelectorFieldsOptions, UseSelectorQueryOptions, UseUpdatePerformanceListenerStopHandle, type VNode, type VNodeProps, type WatchCallback, type WatchEffect, type WatchEffectOptions, type WatchMultiSources, type WatchOptions, type WatchScheduler, type WatchSource, type WatchSourceValue, type WatchSources, type WatchStopHandle, type WeappCSSProperties, type WeappDatasetAttributes, type WeappHtmlAliasIntrinsicElements, type WeappIntrinsicElementBaseAttributes, type WeappIntrinsicElements, type WeappIntrinsicEventHandler, type WechatMiniProgramHostNamespace, type WechatMiniProgramHostSourceContract, type WevuComponentConstructor, type WevuDefaults, type WevuDefinedComponent, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, type WevuPlugin, type WevuTypedRouterRouteMap, type WritableComputedOptions, type WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getNavigationBarMetrics, getReactiveVersion, hasInjectionContext, inject, injectGlobal, isNoSetData, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, registerPageLayoutBridge, registerRuntimeLayoutHosts, removeMutationRecorder, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolvePropValue, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useCssModule, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
|
package/dist/vue-types.d.mts
CHANGED
|
@@ -8,11 +8,11 @@ type AllowedComponentProps$1 = AllowedComponentProps;
|
|
|
8
8
|
type ComponentCustomProps$1 = ComponentCustomProps;
|
|
9
9
|
type ComponentOptionsMixin$1 = ComponentOptionsMixin;
|
|
10
10
|
type DefineComponent$1<PropsOrPropOptions = ComponentPropsOptions, RawBindings = Record<string, any>, D = Record<string, any>, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, PP = PublicProps, Props = PropsOrPropOptions extends ComponentPropsOptions ? ExtractPropTypes<PropsOrPropOptions> : PropsOrPropOptions, Defaults = PropsOrPropOptions extends ComponentPropsOptions ? ExtractDefaultPropTypes<PropsOrPropOptions> : {}, S extends SlotsType = SlotsType, LC extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, MakeDefaultsOptional extends boolean = true, TypeRefs extends Record<string, unknown> = {}, TypeEl extends Element = any> = DefineComponent<PropsOrPropOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, PP, Props, Defaults, S, LC, Directives, Exposed, Provide, MakeDefaultsOptional, TypeRefs, TypeEl>;
|
|
11
|
-
type NativeComponent<Props = Record<string, any>> = new (...args: any[]) => InstanceType<DefineComponent$1<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Props, {}>>;
|
|
11
|
+
export type NativeComponent<Props = Record<string, any>> = new (...args: any[]) => InstanceType<DefineComponent$1<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Props, {}>>;
|
|
12
12
|
type ObjectDirective$1<HostElement = any, Value = any, Modifiers extends string = string, Arg = any> = ObjectDirective<HostElement, Value, Modifiers, Arg>;
|
|
13
13
|
type PublicProps$1 = PublicProps;
|
|
14
14
|
type ShallowUnwrapRef$1<T> = ShallowUnwrapRef<T>;
|
|
15
15
|
type VNode$1<HostNode = any, HostElement = any, ExtraProps = Record<string, any>> = VNode<HostNode, HostElement, ExtraProps>;
|
|
16
16
|
type VNodeProps$1 = VNodeProps;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { AllowedComponentProps$1 as AllowedComponentProps, ComponentCustomProps$1 as ComponentCustomProps, ComponentOptionsMixin$1 as ComponentOptionsMixin, DefineComponent$1 as DefineComponent,
|
|
18
|
+
export { AllowedComponentProps$1 as AllowedComponentProps, ComponentCustomProps$1 as ComponentCustomProps, ComponentOptionsMixin$1 as ComponentOptionsMixin, DefineComponent$1 as DefineComponent, ObjectDirective$1 as ObjectDirective, PublicProps$1 as PublicProps, Ref$1 as Ref, ShallowRef$1 as ShallowRef, ShallowUnwrapRef$1 as ShallowUnwrapRef, VNode$1 as VNode, VNodeProps$1 as VNodeProps };
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
//#region src/weappIntrinsicElements/base.d.ts
|
|
2
|
-
type MiniProgramIntrinsicEventHandler<TReturn = void> = (...args: unknown[]) => TReturn;
|
|
3
|
-
type WeappIntrinsicEventHandler<TReturn = void> = MiniProgramIntrinsicEventHandler<TReturn>;
|
|
4
|
-
type MiniProgramClassValue = string | Record<string, unknown> | MiniProgramClassValue[] | null | undefined | false;
|
|
5
|
-
type MiniProgramStyleValue = false | null | undefined | string | MiniProgramCSSProperties | MiniProgramStyleValue[];
|
|
6
|
-
type MiniProgramDatasetValue = unknown;
|
|
7
|
-
interface MiniProgramCSSProperties {
|
|
2
|
+
export type MiniProgramIntrinsicEventHandler<TReturn = void> = (...args: unknown[]) => TReturn;
|
|
3
|
+
export type WeappIntrinsicEventHandler<TReturn = void> = MiniProgramIntrinsicEventHandler<TReturn>;
|
|
4
|
+
export type MiniProgramClassValue = string | Record<string, unknown> | MiniProgramClassValue[] | null | undefined | false;
|
|
5
|
+
export type MiniProgramStyleValue = false | null | undefined | string | MiniProgramCSSProperties | MiniProgramStyleValue[];
|
|
6
|
+
export type MiniProgramDatasetValue = unknown;
|
|
7
|
+
export interface MiniProgramCSSProperties {
|
|
8
8
|
[key: string]: string | number | undefined;
|
|
9
9
|
[v: `--${string}`]: string | number | undefined;
|
|
10
10
|
}
|
|
11
|
-
interface WeappCSSProperties extends MiniProgramCSSProperties {}
|
|
12
|
-
type MiniProgramDatasetAttributes = { [key in `data-${string}`]?: MiniProgramDatasetValue; };
|
|
13
|
-
type WeappDatasetAttributes = MiniProgramDatasetAttributes;
|
|
14
|
-
type MiniProgramIntrinsicElementBaseAttributes = {
|
|
11
|
+
export interface WeappCSSProperties extends MiniProgramCSSProperties {}
|
|
12
|
+
export type MiniProgramDatasetAttributes = { [key in `data-${string}`]?: MiniProgramDatasetValue; };
|
|
13
|
+
export type WeappDatasetAttributes = MiniProgramDatasetAttributes;
|
|
14
|
+
export type MiniProgramIntrinsicElementBaseAttributes = {
|
|
15
15
|
id?: string | number;
|
|
16
16
|
class?: MiniProgramClassValue;
|
|
17
17
|
style?: MiniProgramStyleValue;
|
|
18
18
|
hidden?: boolean;
|
|
19
19
|
} & MiniProgramDatasetAttributes & Record<string, unknown>;
|
|
20
|
-
type WeappIntrinsicElementBaseAttributes = MiniProgramIntrinsicElementBaseAttributes;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { MiniProgramCSSProperties, MiniProgramClassValue, MiniProgramDatasetAttributes, MiniProgramDatasetValue, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler, MiniProgramStyleValue, WeappCSSProperties, WeappDatasetAttributes, WeappIntrinsicElementBaseAttributes, WeappIntrinsicEventHandler };
|
|
20
|
+
export type WeappIntrinsicElementBaseAttributes = MiniProgramIntrinsicElementBaseAttributes;
|
|
21
|
+
//#endregion
|
|
@@ -3,11 +3,10 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/ad-custom.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementAdCustom = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementAdCustom = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'ad-intervals'?: number;
|
|
8
8
|
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
10
10
|
'unit-id'?: string;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { MiniProgramIntrinsicElementAdCustom };
|
|
12
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/ad.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementAd = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementAd = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'ad-intervals'?: number;
|
|
8
8
|
'ad-theme'?: string;
|
|
9
9
|
'ad-type'?: string;
|
|
@@ -12,5 +12,4 @@ type MiniProgramIntrinsicElementAd = MiniProgramIntrinsicElementBaseAttributes &
|
|
|
12
12
|
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
13
13
|
'unit-id'?: string;
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { MiniProgramIntrinsicElementAd };
|
|
15
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/audio.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementAudio = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementAudio = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
author?: string;
|
|
8
8
|
bindended?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -16,5 +16,4 @@ type MiniProgramIntrinsicElementAudio = MiniProgramIntrinsicElementBaseAttribute
|
|
|
16
16
|
poster?: string;
|
|
17
17
|
src?: string;
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { MiniProgramIntrinsicElementAudio };
|
|
19
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/conditional.html#block-wx-if
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementBlock = MiniProgramIntrinsicElementBaseAttributes;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { MiniProgramIntrinsicElementBlock };
|
|
6
|
+
export type MiniProgramIntrinsicElementBlock = MiniProgramIntrinsicElementBaseAttributes;
|
|
7
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/button.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementButton = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementButton = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'app-parameter'?: string;
|
|
8
8
|
bindagreeprivacyauthorization?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindchooseavatar?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -36,5 +36,4 @@ type MiniProgramIntrinsicElementButton = MiniProgramIntrinsicElementBaseAttribut
|
|
|
36
36
|
size?: 'default' | 'mini';
|
|
37
37
|
type?: 'primary' | 'default' | 'warn';
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
|
-
export { MiniProgramIntrinsicElementButton };
|
|
39
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/camera.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementCamera = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementCamera = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
bindinitdone?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindscancode?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -14,5 +14,4 @@ type MiniProgramIntrinsicElementCamera = MiniProgramIntrinsicElementBaseAttribut
|
|
|
14
14
|
mode?: 'normal' | 'scanCode';
|
|
15
15
|
resolution?: 'low' | 'medium' | 'high';
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { MiniProgramIntrinsicElementCamera };
|
|
17
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementCanvas = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementCanvas = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
bindlongtap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindtouchcancel?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -14,5 +14,4 @@ type MiniProgramIntrinsicElementCanvas = MiniProgramIntrinsicElementBaseAttribut
|
|
|
14
14
|
'disable-scroll'?: boolean;
|
|
15
15
|
type?: string;
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { MiniProgramIntrinsicElementCanvas };
|
|
17
|
+
//#endregion
|
|
@@ -3,11 +3,10 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/checkbox.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementCheckboxGroup = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementCheckboxGroup = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
checked?: boolean;
|
|
8
8
|
color?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
value?: string;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { MiniProgramIntrinsicElementCheckboxGroup };
|
|
12
|
+
//#endregion
|
|
@@ -3,11 +3,10 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/checkbox.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementCheckbox = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementCheckbox = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
checked?: boolean;
|
|
8
8
|
color?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
value?: string;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { MiniProgramIntrinsicElementCheckbox };
|
|
12
|
+
//#endregion
|
|
@@ -3,8 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementCoverImage = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementCoverImage = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'scroll-top'?: number | string;
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { MiniProgramIntrinsicElementCoverImage };
|
|
9
|
+
//#endregion
|
|
@@ -3,8 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementCoverView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementCoverView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'scroll-top'?: number | string;
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { MiniProgramIntrinsicElementCoverView };
|
|
9
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/editor.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementEditor = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementEditor = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
bindblur?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
bindfocus?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindinput?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -18,5 +18,4 @@ type MiniProgramIntrinsicElementEditor = MiniProgramIntrinsicElementBaseAttribut
|
|
|
18
18
|
'show-img-size'?: boolean;
|
|
19
19
|
'show-img-toolbar'?: boolean;
|
|
20
20
|
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { MiniProgramIntrinsicElementEditor };
|
|
21
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/form.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementForm = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementForm = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
bindreset?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
bindsubmit?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindsubmitToGroup?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -12,5 +12,4 @@ type MiniProgramIntrinsicElementForm = MiniProgramIntrinsicElementBaseAttributes
|
|
|
12
12
|
'report-submit-timeout'?: number;
|
|
13
13
|
value?: unknown;
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { MiniProgramIntrinsicElementForm };
|
|
15
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/functional-page-navigator.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementFunctionalPageNavigator = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementFunctionalPageNavigator = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
args?: Record<string, unknown>;
|
|
8
8
|
bindcancel?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindfail?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -11,5 +11,4 @@ type MiniProgramIntrinsicElementFunctionalPageNavigator = MiniProgramIntrinsicEl
|
|
|
11
11
|
name?: 'loginAndGetUserInfo' | 'requestPayment' | 'chooseAddress' | 'chooseInvoice' | 'chooseInvoiceTitle';
|
|
12
12
|
version?: 'develop' | 'trial' | 'release';
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { MiniProgramIntrinsicElementFunctionalPageNavigator };
|
|
14
|
+
//#endregion
|
|
@@ -3,10 +3,9 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/icon.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementIcon = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementIcon = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number | string;
|
|
9
9
|
type?: string;
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { MiniProgramIntrinsicElementIcon };
|
|
11
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/image.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementImage = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementImage = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
'fade-in'?: boolean;
|
|
@@ -14,5 +14,4 @@ type MiniProgramIntrinsicElementImage = MiniProgramIntrinsicElementBaseAttribute
|
|
|
14
14
|
src?: string;
|
|
15
15
|
webp?: boolean;
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { MiniProgramIntrinsicElementImage };
|
|
17
|
+
//#endregion
|
|
@@ -3,8 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementImport = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementImport = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
src?: string;
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { MiniProgramIntrinsicElementImport };
|
|
9
|
+
//#endregion
|
|
@@ -3,8 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html#include
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementInclude = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementInclude = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
src?: string;
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { MiniProgramIntrinsicElementInclude };
|
|
9
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/input.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementInput = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementInput = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'adjust-position'?: boolean;
|
|
8
8
|
'always-embed'?: boolean;
|
|
9
9
|
'auto-focus'?: boolean;
|
|
@@ -43,5 +43,4 @@ type MiniProgramIntrinsicElementInput = MiniProgramIntrinsicElementBaseAttribute
|
|
|
43
43
|
value?: string;
|
|
44
44
|
'worklet:onkeyboardheightchange'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
|
-
export { MiniProgramIntrinsicElementInput };
|
|
46
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/keyboard-accessory.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementKeyboardAccessory = MiniProgramIntrinsicElementBaseAttributes;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { MiniProgramIntrinsicElementKeyboardAccessory };
|
|
6
|
+
export type MiniProgramIntrinsicElementKeyboardAccessory = MiniProgramIntrinsicElementBaseAttributes;
|
|
7
|
+
//#endregion
|
|
@@ -3,8 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/label.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementLabel = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementLabel = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
for?: string;
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { MiniProgramIntrinsicElementLabel };
|
|
9
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/live-player.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementLivePlayer = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementLivePlayer = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'auto-pause-if-navigate'?: boolean;
|
|
8
8
|
'auto-pause-if-open-native'?: boolean;
|
|
9
9
|
autoplay?: boolean;
|
|
@@ -31,5 +31,4 @@ type MiniProgramIntrinsicElementLivePlayer = MiniProgramIntrinsicElementBaseAttr
|
|
|
31
31
|
'sound-mode'?: 'speaker' | 'ear';
|
|
32
32
|
src?: string;
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { MiniProgramIntrinsicElementLivePlayer };
|
|
34
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementLivePusher = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementLivePusher = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
aspect?: string;
|
|
8
8
|
'audio-quality'?: string;
|
|
9
9
|
'audio-reverb-type'?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7';
|
|
@@ -53,5 +53,4 @@ type MiniProgramIntrinsicElementLivePusher = MiniProgramIntrinsicElementBaseAttr
|
|
|
53
53
|
whiteness?: number;
|
|
54
54
|
zoom?: boolean;
|
|
55
55
|
};
|
|
56
|
-
//#endregion
|
|
57
|
-
export { MiniProgramIntrinsicElementLivePusher };
|
|
56
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/map.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementMap = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementMap = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
alpha?: number;
|
|
8
8
|
anchor?: Record<string, unknown>;
|
|
9
9
|
anchorX?: number;
|
|
@@ -101,5 +101,4 @@ type MiniProgramIntrinsicElementMap = MiniProgramIntrinsicElementBaseAttributes
|
|
|
101
101
|
y?: number;
|
|
102
102
|
zIndex?: number;
|
|
103
103
|
};
|
|
104
|
-
//#endregion
|
|
105
|
-
export { MiniProgramIntrinsicElementMap };
|
|
104
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/match-media.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementMatchMedia = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementMatchMedia = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
height?: number;
|
|
8
8
|
'max-height'?: number;
|
|
9
9
|
'max-width'?: number;
|
|
@@ -12,5 +12,4 @@ type MiniProgramIntrinsicElementMatchMedia = MiniProgramIntrinsicElementBaseAttr
|
|
|
12
12
|
orientation?: string;
|
|
13
13
|
width?: number;
|
|
14
14
|
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { MiniProgramIntrinsicElementMatchMedia };
|
|
15
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementMovableArea = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementMovableArea = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
animation?: boolean;
|
|
8
8
|
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindscale?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -22,5 +22,4 @@ type MiniProgramIntrinsicElementMovableArea = MiniProgramIntrinsicElementBaseAtt
|
|
|
22
22
|
x?: number | string;
|
|
23
23
|
y?: number | string;
|
|
24
24
|
};
|
|
25
|
-
//#endregion
|
|
26
|
-
export { MiniProgramIntrinsicElementMovableArea };
|
|
25
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementMovableView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementMovableView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
animation?: boolean;
|
|
8
8
|
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
bindscale?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -22,5 +22,4 @@ type MiniProgramIntrinsicElementMovableView = MiniProgramIntrinsicElementBaseAtt
|
|
|
22
22
|
x?: number | string;
|
|
23
23
|
y?: number | string;
|
|
24
24
|
};
|
|
25
|
-
//#endregion
|
|
26
|
-
export { MiniProgramIntrinsicElementMovableView };
|
|
25
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigation-bar.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementNavigationBar = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementNavigationBar = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'background-color'?: string;
|
|
8
8
|
'color-animation-duration'?: number;
|
|
9
9
|
'color-animation-timing-func'?: string;
|
|
@@ -11,5 +11,4 @@ type MiniProgramIntrinsicElementNavigationBar = MiniProgramIntrinsicElementBaseA
|
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
title?: string;
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { MiniProgramIntrinsicElementNavigationBar };
|
|
14
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementNavigator = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementNavigator = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'app-id'?: string;
|
|
8
8
|
bindcomplete?: string;
|
|
9
9
|
bindfail?: string;
|
|
@@ -21,5 +21,4 @@ type MiniProgramIntrinsicElementNavigator = MiniProgramIntrinsicElementBaseAttri
|
|
|
21
21
|
url?: string;
|
|
22
22
|
version?: 'develop' | 'trial' | 'release';
|
|
23
23
|
};
|
|
24
|
-
//#endregion
|
|
25
|
-
export { MiniProgramIntrinsicElementNavigator };
|
|
24
|
+
//#endregion
|
|
@@ -3,11 +3,10 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/official-account.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementOfficialAccount = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementOfficialAccount = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
errMsg?: string;
|
|
10
10
|
status?: number;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { MiniProgramIntrinsicElementOfficialAccount };
|
|
12
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementOpenData = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementOpenData = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
'default-avatar'?: string;
|
|
9
9
|
'default-text'?: string;
|
|
@@ -11,5 +11,4 @@ type MiniProgramIntrinsicElementOpenData = MiniProgramIntrinsicElementBaseAttrib
|
|
|
11
11
|
'open-gid'?: string;
|
|
12
12
|
type?: 'groupName';
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { MiniProgramIntrinsicElementOpenData };
|
|
14
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHan
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
|
|
5
5
|
*/
|
|
6
|
-
type MiniProgramIntrinsicElementPageContainer = MiniProgramIntrinsicElementBaseAttributes & {
|
|
6
|
+
export type MiniProgramIntrinsicElementPageContainer = MiniProgramIntrinsicElementBaseAttributes & {
|
|
7
7
|
'bind:afterenter'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
8
8
|
'bind:afterleave'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
9
9
|
'bind:beforeenter'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
@@ -21,5 +21,4 @@ type MiniProgramIntrinsicElementPageContainer = MiniProgramIntrinsicElementBaseA
|
|
|
21
21
|
show?: boolean;
|
|
22
22
|
'z-index'?: number;
|
|
23
23
|
};
|
|
24
|
-
//#endregion
|
|
25
|
-
export { MiniProgramIntrinsicElementPageContainer };
|
|
24
|
+
//#endregion
|