wevu 6.18.7 → 6.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (585) hide show
  1. package/dist/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.mjs +1 -0
  2. package/dist/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPrimitive.mjs +1 -0
  3. package/dist/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.mjs +1 -0
  4. package/dist/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/typeof.mjs +1 -0
  5. package/dist/{rolldown-runtime-CenpyGzJ.mjs → _virtual/_rolldown/runtime.mjs} +1 -1
  6. package/dist/dev/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.mjs +14 -0
  7. package/dist/dev/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPrimitive.mjs +16 -0
  8. package/dist/dev/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.mjs +11 -0
  9. package/dist/dev/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/typeof.mjs +12 -0
  10. package/dist/dev/{rolldown-runtime-BUUfjzRC.mjs → _virtual/_rolldown/runtime.mjs} +1 -1
  11. package/dist/dev/index.mjs +49 -10
  12. package/dist/dev/internal-reactivity.mjs +15 -5
  13. package/dist/dev/internal-runtime.mjs +32 -4
  14. package/dist/dev/internal-template.mjs +1 -1
  15. package/dist/dev/package.mjs +6 -0
  16. package/dist/dev/package.mjs.map +1 -0
  17. package/dist/dev/reactivity/computed.mjs +49 -0
  18. package/dist/dev/reactivity/computed.mjs.map +1 -0
  19. package/dist/dev/reactivity/core.mjs +184 -0
  20. package/dist/dev/reactivity/core.mjs.map +1 -0
  21. package/dist/dev/reactivity/reactive/mutation.mjs +12 -0
  22. package/dist/dev/reactivity/reactive/mutation.mjs.map +1 -0
  23. package/dist/dev/{computed-BxRsUJgi.mjs → reactivity/reactive/patch.mjs} +6 -48
  24. package/dist/dev/reactivity/reactive/patch.mjs.map +1 -0
  25. package/dist/dev/reactivity/reactive/patchState.mjs +138 -0
  26. package/dist/dev/reactivity/reactive/patchState.mjs.map +1 -0
  27. package/dist/dev/reactivity/reactive/shallow.mjs +77 -0
  28. package/dist/dev/reactivity/reactive/shallow.mjs.map +1 -0
  29. package/dist/dev/reactivity/reactive/shared.mjs +40 -0
  30. package/dist/dev/reactivity/reactive/shared.mjs.map +1 -0
  31. package/dist/dev/reactivity/reactive/state.mjs +8 -0
  32. package/dist/dev/reactivity/reactive/state.mjs.map +1 -0
  33. package/dist/dev/reactivity/reactive.mjs +212 -0
  34. package/dist/dev/reactivity/reactive.mjs.map +1 -0
  35. package/dist/dev/reactivity/readonly.mjs +69 -0
  36. package/dist/dev/reactivity/readonly.mjs.map +1 -0
  37. package/dist/dev/reactivity/ref.mjs +97 -0
  38. package/dist/dev/reactivity/ref.mjs.map +1 -0
  39. package/dist/dev/reactivity/shallowRef.mjs +71 -0
  40. package/dist/dev/reactivity/shallowRef.mjs.map +1 -0
  41. package/dist/dev/{toRefs-D06VmFK2.mjs → reactivity/toRefs.mjs} +4 -3
  42. package/dist/dev/reactivity/toRefs.mjs.map +1 -0
  43. package/dist/dev/reactivity/traverse.mjs +40 -0
  44. package/dist/dev/reactivity/traverse.mjs.map +1 -0
  45. package/dist/dev/reactivity/watch/helpers.mjs +78 -0
  46. package/dist/dev/reactivity/watch/helpers.mjs.map +1 -0
  47. package/dist/dev/reactivity/watch/types.mjs +20 -0
  48. package/dist/dev/reactivity/watch/types.mjs.map +1 -0
  49. package/dist/dev/reactivity/watch.mjs +167 -0
  50. package/dist/dev/reactivity/watch.mjs.map +1 -0
  51. package/dist/dev/router/backNavigation.mjs +32 -0
  52. package/dist/dev/router/backNavigation.mjs.map +1 -0
  53. package/dist/dev/router/createRouter.mjs +176 -0
  54. package/dist/dev/router/createRouter.mjs.map +1 -0
  55. package/dist/dev/router/instance.mjs +17 -0
  56. package/dist/dev/router/instance.mjs.map +1 -0
  57. package/dist/dev/router/navigationApi.mjs +94 -0
  58. package/dist/dev/router/navigationApi.mjs.map +1 -0
  59. package/dist/dev/router/navigationCore.mjs +139 -0
  60. package/dist/dev/router/navigationCore.mjs.map +1 -0
  61. package/dist/dev/router/navigationResult.mjs +54 -0
  62. package/dist/dev/router/navigationResult.mjs.map +1 -0
  63. package/dist/dev/router/navigationTarget.mjs +121 -0
  64. package/dist/dev/router/navigationTarget.mjs.map +1 -0
  65. package/dist/dev/router/navigationTargetHelpers.mjs +38 -0
  66. package/dist/dev/router/navigationTargetHelpers.mjs.map +1 -0
  67. package/dist/dev/router/resolve.mjs +22 -0
  68. package/dist/dev/router/resolve.mjs.map +1 -0
  69. package/dist/dev/router/routeRegistry.mjs +78 -0
  70. package/dist/dev/router/routeRegistry.mjs.map +1 -0
  71. package/dist/dev/router/routeSync.mjs +72 -0
  72. package/dist/dev/router/routeSync.mjs.map +1 -0
  73. package/dist/dev/router/types.mjs +11 -0
  74. package/dist/dev/router/types.mjs.map +1 -0
  75. package/dist/dev/router/useRoute.mjs +106 -0
  76. package/dist/dev/router/useRoute.mjs.map +1 -0
  77. package/dist/dev/router/useRouter.mjs +15 -0
  78. package/dist/dev/router/useRouter.mjs.map +1 -0
  79. package/dist/dev/router.mjs +9 -1378
  80. package/dist/dev/routerInternal/location.mjs +66 -0
  81. package/dist/dev/routerInternal/location.mjs.map +1 -0
  82. package/dist/dev/routerInternal/matching.mjs +149 -0
  83. package/dist/dev/routerInternal/matching.mjs.map +1 -0
  84. package/dist/dev/routerInternal/params.mjs +95 -0
  85. package/dist/dev/routerInternal/params.mjs.map +1 -0
  86. package/dist/dev/routerInternal/path.mjs +42 -0
  87. package/dist/dev/routerInternal/path.mjs.map +1 -0
  88. package/dist/dev/routerInternal/query.mjs +113 -0
  89. package/dist/dev/routerInternal/query.mjs.map +1 -0
  90. package/dist/dev/routerInternal/records.mjs +172 -0
  91. package/dist/dev/routerInternal/records.mjs.map +1 -0
  92. package/dist/dev/routerInternal/recordsWarnings.mjs +49 -0
  93. package/dist/dev/routerInternal/recordsWarnings.mjs.map +1 -0
  94. package/dist/dev/routerInternal/snapshots.mjs +126 -0
  95. package/dist/dev/routerInternal/snapshots.mjs.map +1 -0
  96. package/dist/dev/runtime/app/computed.mjs +68 -0
  97. package/dist/dev/runtime/app/computed.mjs.map +1 -0
  98. package/dist/dev/runtime/app/context.mjs +275 -0
  99. package/dist/dev/runtime/app/context.mjs.map +1 -0
  100. package/dist/dev/runtime/app/diagnostics.mjs +34 -0
  101. package/dist/dev/runtime/app/diagnostics.mjs.map +1 -0
  102. package/dist/dev/runtime/app/mount.mjs +269 -0
  103. package/dist/dev/runtime/app/mount.mjs.map +1 -0
  104. package/dist/dev/runtime/app/pending.mjs +14 -0
  105. package/dist/dev/runtime/app/pending.mjs.map +1 -0
  106. package/dist/dev/runtime/app/setData/patchScheduler.mjs +158 -0
  107. package/dist/dev/runtime/app/setData/patchScheduler.mjs.map +1 -0
  108. package/dist/dev/runtime/app/setData/payload.mjs +161 -0
  109. package/dist/dev/runtime/app/setData/payload.mjs.map +1 -0
  110. package/dist/dev/runtime/app/setData/scheduler.mjs +313 -0
  111. package/dist/dev/runtime/app/setData/scheduler.mjs.map +1 -0
  112. package/dist/dev/runtime/app/setData/snapshot.mjs +129 -0
  113. package/dist/dev/runtime/app/setData/snapshot.mjs.map +1 -0
  114. package/dist/dev/runtime/app/setDataOptions.mjs +73 -0
  115. package/dist/dev/runtime/app/setDataOptions.mjs.map +1 -0
  116. package/dist/dev/runtime/app.mjs +93 -0
  117. package/dist/dev/runtime/app.mjs.map +1 -0
  118. package/dist/dev/runtime/bindModel.mjs +92 -0
  119. package/dist/dev/runtime/bindModel.mjs.map +1 -0
  120. package/dist/dev/runtime/defaults.mjs +61 -0
  121. package/dist/dev/runtime/defaults.mjs.map +1 -0
  122. package/dist/dev/runtime/define/initialComputed.mjs +125 -0
  123. package/dist/dev/runtime/define/initialComputed.mjs.map +1 -0
  124. package/dist/dev/runtime/define/options.mjs +169 -0
  125. package/dist/dev/runtime/define/options.mjs.map +1 -0
  126. package/dist/dev/runtime/define/optionsApi.mjs +48 -0
  127. package/dist/dev/runtime/define/optionsApi.mjs.map +1 -0
  128. package/dist/dev/runtime/define/props.mjs +194 -0
  129. package/dist/dev/runtime/define/props.mjs.map +1 -0
  130. package/dist/dev/runtime/define/scopedSlotOptions.mjs +313 -0
  131. package/dist/dev/runtime/define/scopedSlotOptions.mjs.map +1 -0
  132. package/dist/dev/runtime/define/setupResult.mjs +78 -0
  133. package/dist/dev/runtime/define/setupResult.mjs.map +1 -0
  134. package/dist/dev/runtime/define.mjs +140 -0
  135. package/dist/dev/runtime/define.mjs.map +1 -0
  136. package/dist/dev/runtime/diff.mjs +193 -0
  137. package/dist/dev/runtime/diff.mjs.map +1 -0
  138. package/dist/dev/runtime/disposables.mjs +81 -0
  139. package/dist/dev/runtime/disposables.mjs.map +1 -0
  140. package/dist/dev/runtime/elementIntersectionObserver.mjs +80 -0
  141. package/dist/dev/runtime/elementIntersectionObserver.mjs.map +1 -0
  142. package/dist/dev/runtime/emit.mjs +36 -0
  143. package/dist/dev/runtime/emit.mjs.map +1 -0
  144. package/dist/dev/{base-CYkvI7w8.mjs → runtime/hooks/base.mjs} +3 -140
  145. package/dist/dev/runtime/hooks/base.mjs.map +1 -0
  146. package/dist/dev/runtime/hooks/register.mjs +92 -0
  147. package/dist/dev/runtime/hooks/register.mjs.map +1 -0
  148. package/dist/dev/runtime/hooks/vue.mjs +81 -0
  149. package/dist/dev/runtime/hooks/vue.mjs.map +1 -0
  150. package/dist/dev/runtime/internal.mjs +18 -0
  151. package/dist/dev/runtime/internal.mjs.map +1 -0
  152. package/dist/dev/runtime/intersectionObserver.mjs +46 -0
  153. package/dist/dev/runtime/intersectionObserver.mjs.map +1 -0
  154. package/dist/dev/runtime/layoutBridge.mjs +303 -0
  155. package/dist/dev/runtime/layoutBridge.mjs.map +1 -0
  156. package/dist/dev/runtime/layoutComponentMatcher.mjs +11 -0
  157. package/dist/dev/runtime/layoutComponentMatcher.mjs.map +1 -0
  158. package/dist/dev/runtime/nativeBridge.mjs +21 -0
  159. package/dist/dev/runtime/nativeBridge.mjs.map +1 -0
  160. package/dist/dev/runtime/noSetData.mjs +18 -0
  161. package/dist/dev/runtime/noSetData.mjs.map +1 -0
  162. package/dist/dev/runtime/pageEnvironment.mjs +100 -0
  163. package/dist/dev/runtime/pageEnvironment.mjs.map +1 -0
  164. package/dist/dev/runtime/pageLayout.mjs +71 -0
  165. package/dist/dev/runtime/pageLayout.mjs.map +1 -0
  166. package/dist/dev/runtime/pageScroll.mjs +110 -0
  167. package/dist/dev/runtime/pageScroll.mjs.map +1 -0
  168. package/dist/dev/runtime/platform.mjs +77 -0
  169. package/dist/dev/runtime/platform.mjs.map +1 -0
  170. package/dist/dev/runtime/provide.mjs +71 -0
  171. package/dist/dev/runtime/provide.mjs.map +1 -0
  172. package/dist/dev/runtime/provideContext.mjs +101 -0
  173. package/dist/dev/runtime/provideContext.mjs.map +1 -0
  174. package/dist/dev/runtime/provideStore.mjs +18 -0
  175. package/dist/dev/runtime/provideStore.mjs.map +1 -0
  176. package/dist/dev/runtime/pullDownRefresh.mjs +24 -0
  177. package/dist/dev/runtime/pullDownRefresh.mjs.map +1 -0
  178. package/dist/dev/runtime/register/app.mjs +159 -0
  179. package/dist/dev/runtime/register/app.mjs.map +1 -0
  180. package/dist/dev/runtime/register/component/features.mjs +43 -0
  181. package/dist/dev/runtime/register/component/features.mjs.map +1 -0
  182. package/dist/dev/runtime/register/component/lifecycle/optionalHooks.mjs +64 -0
  183. package/dist/dev/runtime/register/component/lifecycle/optionalHooks.mjs.map +1 -0
  184. package/dist/dev/runtime/register/component/lifecycle/platform.mjs +95 -0
  185. package/dist/dev/runtime/register/component/lifecycle/platform.mjs.map +1 -0
  186. package/dist/dev/runtime/register/component/lifecycle.mjs +122 -0
  187. package/dist/dev/runtime/register/component/lifecycle.mjs.map +1 -0
  188. package/dist/dev/runtime/register/component/methods.mjs +80 -0
  189. package/dist/dev/runtime/register/component/methods.mjs.map +1 -0
  190. package/dist/dev/runtime/register/component/options.mjs +204 -0
  191. package/dist/dev/runtime/register/component/options.mjs.map +1 -0
  192. package/dist/dev/runtime/register/component/props.mjs +218 -0
  193. package/dist/dev/runtime/register/component/props.mjs.map +1 -0
  194. package/dist/dev/runtime/register/component/registerDefinition.mjs +290 -0
  195. package/dist/dev/runtime/register/component/registerDefinition.mjs.map +1 -0
  196. package/dist/dev/runtime/register/component.mjs +128 -0
  197. package/dist/dev/runtime/register/component.mjs.map +1 -0
  198. package/dist/dev/runtime/register/inline.mjs +145 -0
  199. package/dist/dev/runtime/register/inline.mjs.map +1 -0
  200. package/dist/dev/runtime/register/runtimeInstance/methodBridge.mjs +53 -0
  201. package/dist/dev/runtime/register/runtimeInstance/methodBridge.mjs.map +1 -0
  202. package/dist/dev/runtime/register/runtimeInstance/provideContext.mjs +34 -0
  203. package/dist/dev/runtime/register/runtimeInstance/provideContext.mjs.map +1 -0
  204. package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs +230 -0
  205. package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs.map +1 -0
  206. package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs +164 -0
  207. package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs.map +1 -0
  208. package/dist/dev/runtime/register/runtimeInstance/utils.mjs +122 -0
  209. package/dist/dev/runtime/register/runtimeInstance/utils.mjs.map +1 -0
  210. package/dist/dev/runtime/register/runtimeInstance.mjs +438 -0
  211. package/dist/dev/runtime/register/runtimeInstance.mjs.map +1 -0
  212. package/dist/dev/runtime/register/setDataFrequencyWarning.mjs +95 -0
  213. package/dist/dev/runtime/register/setDataFrequencyWarning.mjs.map +1 -0
  214. package/dist/dev/runtime/register/setup.mjs +22 -0
  215. package/dist/dev/runtime/register/setup.mjs.map +1 -0
  216. package/dist/dev/runtime/register/snapshot.mjs +17 -0
  217. package/dist/dev/runtime/register/snapshot.mjs.map +1 -0
  218. package/dist/dev/runtime/register/watch.mjs +57 -0
  219. package/dist/dev/runtime/register/watch.mjs.map +1 -0
  220. package/dist/dev/runtime/scopedSlots.mjs +115 -0
  221. package/dist/dev/runtime/scopedSlots.mjs.map +1 -0
  222. package/dist/dev/runtime/selectorQuery.mjs +49 -0
  223. package/dist/dev/runtime/selectorQuery.mjs.map +1 -0
  224. package/dist/dev/runtime/setupTracking.mjs +59 -0
  225. package/dist/dev/runtime/setupTracking.mjs.map +1 -0
  226. package/dist/dev/{template-n_iVr0ey.mjs → runtime/template.mjs} +7 -4
  227. package/dist/dev/runtime/template.mjs.map +1 -0
  228. package/dist/dev/runtime/templateRefs/helpers.mjs +254 -0
  229. package/dist/dev/runtime/templateRefs/helpers.mjs.map +1 -0
  230. package/dist/dev/runtime/templateRefs.mjs +162 -0
  231. package/dist/dev/runtime/templateRefs.mjs.map +1 -0
  232. package/dist/dev/runtime/uniAppHost.mjs +119 -0
  233. package/dist/dev/runtime/uniAppHost.mjs.map +1 -0
  234. package/dist/dev/runtime/updatePerformance.mjs +41 -0
  235. package/dist/dev/runtime/updatePerformance.mjs.map +1 -0
  236. package/dist/dev/runtime/use.mjs +25 -0
  237. package/dist/dev/runtime/use.mjs.map +1 -0
  238. package/dist/dev/runtime/vueCompat/context.mjs +25 -0
  239. package/dist/dev/runtime/vueCompat/context.mjs.map +1 -0
  240. package/dist/dev/runtime/vueCompat/model.mjs +118 -0
  241. package/dist/dev/runtime/vueCompat/model.mjs.map +1 -0
  242. package/dist/dev/runtime/vueCompat/router.mjs +124 -0
  243. package/dist/dev/runtime/vueCompat/router.mjs.map +1 -0
  244. package/dist/dev/runtime/vueCompat/templateRef.mjs +37 -0
  245. package/dist/dev/runtime/vueCompat/templateRef.mjs.map +1 -0
  246. package/dist/dev/scheduler.mjs +75 -0
  247. package/dist/dev/scheduler.mjs.map +1 -0
  248. package/dist/dev/store/actions.mjs +40 -0
  249. package/dist/dev/store/actions.mjs.map +1 -0
  250. package/dist/dev/store/base.mjs +56 -0
  251. package/dist/dev/store/base.mjs.map +1 -0
  252. package/dist/dev/store/define/optionsStyle.mjs +125 -0
  253. package/dist/dev/store/define/optionsStyle.mjs.map +1 -0
  254. package/dist/dev/store/define/setupStyle.mjs +145 -0
  255. package/dist/dev/store/define/setupStyle.mjs.map +1 -0
  256. package/dist/dev/store/define/shared.mjs +38 -0
  257. package/dist/dev/store/define/shared.mjs.map +1 -0
  258. package/dist/dev/store/define.mjs +23 -0
  259. package/dist/dev/store/define.mjs.map +1 -0
  260. package/dist/dev/store/manager.mjs +21 -0
  261. package/dist/dev/store/manager.mjs.map +1 -0
  262. package/dist/dev/store/storeToRefs.mjs +29 -0
  263. package/dist/dev/store/storeToRefs.mjs.map +1 -0
  264. package/dist/dev/store/utils.mjs +49 -0
  265. package/dist/dev/store/utils.mjs.map +1 -0
  266. package/dist/dev/store.mjs +3 -1
  267. package/dist/dev/utils.mjs +16 -0
  268. package/dist/dev/utils.mjs.map +1 -0
  269. package/dist/dev/version.mjs +8 -0
  270. package/dist/dev/version.mjs.map +1 -0
  271. package/dist/dev/vue-demi.mjs +49 -11
  272. package/dist/dev/vue-demi.mjs.map +1 -1
  273. package/dist/index.d.mts +71 -7
  274. package/dist/index.mjs +1 -1
  275. package/dist/internal-reactivity.d.mts +16 -2
  276. package/dist/internal-reactivity.mjs +1 -1
  277. package/dist/internal-runtime.d.mts +35 -2
  278. package/dist/internal-runtime.mjs +1 -1
  279. package/dist/internal-template.d.mts +1 -1
  280. package/dist/internal-template.mjs +1 -1
  281. package/dist/jsx-runtime.d.mts +1 -1
  282. package/dist/macros/shared.d.mts +81 -0
  283. package/dist/macros.d.mts +70 -0
  284. package/dist/package.mjs +1 -0
  285. package/dist/reactivity/computed.d.mts +21 -0
  286. package/dist/reactivity/computed.mjs +1 -0
  287. package/dist/reactivity/core.d.mts +34 -0
  288. package/dist/reactivity/core.mjs +1 -0
  289. package/dist/reactivity/index.d.mts +15 -0
  290. package/dist/reactivity/reactive/mutation.d.mts +21 -0
  291. package/dist/reactivity/reactive/mutation.mjs +1 -0
  292. package/dist/reactivity/reactive/patch.d.mts +18 -0
  293. package/dist/reactivity/reactive/patch.mjs +1 -0
  294. package/dist/reactivity/reactive/patchState.mjs +1 -0
  295. package/dist/reactivity/reactive/shallow.d.mts +22 -0
  296. package/dist/reactivity/reactive/shallow.mjs +1 -0
  297. package/dist/reactivity/reactive/shared.d.mts +4 -0
  298. package/dist/reactivity/reactive/shared.mjs +1 -0
  299. package/dist/reactivity/reactive/state.mjs +1 -0
  300. package/dist/reactivity/reactive.d.mts +41 -0
  301. package/dist/reactivity/reactive.mjs +1 -0
  302. package/dist/reactivity/readonly.d.mts +27 -0
  303. package/dist/reactivity/readonly.mjs +1 -0
  304. package/dist/reactivity/ref.d.mts +27 -0
  305. package/dist/reactivity/ref.mjs +1 -0
  306. package/dist/reactivity/shallowRef.d.mts +19 -0
  307. package/dist/reactivity/shallowRef.mjs +1 -0
  308. package/dist/reactivity/toRefs.d.mts +43 -0
  309. package/dist/reactivity/toRefs.mjs +1 -0
  310. package/dist/reactivity/traverse.d.mts +8 -0
  311. package/dist/reactivity/traverse.mjs +1 -0
  312. package/dist/reactivity/watch/helpers.mjs +1 -0
  313. package/dist/reactivity/watch/types.d.mts +43 -0
  314. package/dist/reactivity/watch/types.mjs +1 -0
  315. package/dist/reactivity/watch.d.mts +21 -0
  316. package/dist/reactivity/watch.mjs +1 -0
  317. package/dist/router/backNavigation.mjs +1 -0
  318. package/dist/router/createRouter.d.mts +8 -0
  319. package/dist/router/createRouter.mjs +1 -0
  320. package/dist/router/instance.mjs +1 -0
  321. package/dist/router/navigationApi.mjs +1 -0
  322. package/dist/router/navigationCore.d.mts +6 -0
  323. package/dist/router/navigationCore.mjs +1 -0
  324. package/dist/router/navigationResult.mjs +1 -0
  325. package/dist/router/navigationTarget.mjs +1 -0
  326. package/dist/router/navigationTargetHelpers.mjs +1 -0
  327. package/dist/router/resolve.d.mts +6 -0
  328. package/dist/router/resolve.mjs +1 -0
  329. package/dist/router/routeRegistry.mjs +1 -0
  330. package/dist/router/routeSync.d.mts +1 -0
  331. package/dist/router/routeSync.mjs +1 -0
  332. package/dist/router/types.d.mts +163 -0
  333. package/dist/router/types.mjs +1 -0
  334. package/dist/router/useRoute.d.mts +19 -0
  335. package/dist/router/useRoute.mjs +1 -0
  336. package/dist/router/useRouter.d.mts +8 -0
  337. package/dist/router/useRouter.mjs +1 -0
  338. package/dist/router.d.mts +9 -204
  339. package/dist/router.mjs +1 -1
  340. package/dist/routerInternal/location.mjs +1 -0
  341. package/dist/routerInternal/matching.mjs +1 -0
  342. package/dist/routerInternal/params.mjs +1 -0
  343. package/dist/routerInternal/path.mjs +1 -0
  344. package/dist/routerInternal/query.d.mts +7 -0
  345. package/dist/routerInternal/query.mjs +1 -0
  346. package/dist/routerInternal/records.mjs +1 -0
  347. package/dist/routerInternal/recordsWarnings.mjs +1 -0
  348. package/dist/routerInternal/snapshots.mjs +1 -0
  349. package/dist/routerInternal/types.d.mts +9 -0
  350. package/dist/runtime/app/computed.mjs +1 -0
  351. package/dist/runtime/app/context.mjs +1 -0
  352. package/dist/runtime/app/diagnostics.mjs +1 -0
  353. package/dist/runtime/app/mount.mjs +1 -0
  354. package/dist/runtime/app/pending.d.mts +10 -0
  355. package/dist/runtime/app/pending.mjs +1 -0
  356. package/dist/runtime/app/setData/patchScheduler.mjs +1 -0
  357. package/dist/runtime/app/setData/payload.mjs +1 -0
  358. package/dist/runtime/app/setData/scheduler.mjs +1 -0
  359. package/dist/runtime/app/setData/snapshot.mjs +1 -0
  360. package/dist/runtime/app/setDataOptions.mjs +1 -0
  361. package/dist/runtime/app.d.mts +8 -0
  362. package/dist/runtime/app.mjs +1 -0
  363. package/dist/runtime/bindModel.mjs +1 -0
  364. package/dist/runtime/defaults.d.mts +11 -0
  365. package/dist/runtime/defaults.mjs +1 -0
  366. package/dist/runtime/define/initialComputed.mjs +1 -0
  367. package/dist/runtime/define/options.mjs +1 -0
  368. package/dist/runtime/define/optionsApi.mjs +1 -0
  369. package/dist/runtime/define/props.mjs +1 -0
  370. package/dist/runtime/define/scopedSlotOptions.mjs +1 -0
  371. package/dist/runtime/define/setupResult.mjs +1 -0
  372. package/dist/runtime/define.d.mts +105 -0
  373. package/dist/runtime/define.mjs +1 -0
  374. package/dist/runtime/diff.mjs +1 -0
  375. package/dist/runtime/disposables.d.mts +31 -0
  376. package/dist/runtime/disposables.mjs +1 -0
  377. package/dist/runtime/elementIntersectionObserver.d.mts +26 -0
  378. package/dist/runtime/elementIntersectionObserver.mjs +1 -0
  379. package/dist/runtime/emit.mjs +1 -0
  380. package/dist/runtime/hooks/base.d.mts +27 -0
  381. package/dist/runtime/hooks/base.mjs +1 -0
  382. package/dist/runtime/hooks/register.d.mts +30 -0
  383. package/dist/runtime/hooks/register.mjs +1 -0
  384. package/dist/runtime/hooks/vue.d.mts +53 -0
  385. package/dist/runtime/hooks/vue.mjs +1 -0
  386. package/dist/runtime/hooks.d.mts +4 -0
  387. package/dist/runtime/index.d.mts +47 -0
  388. package/dist/runtime/internal.mjs +1 -0
  389. package/dist/runtime/intersectionObserver.d.mts +14 -0
  390. package/dist/runtime/intersectionObserver.mjs +1 -0
  391. package/dist/runtime/layoutBridge.d.mts +59 -0
  392. package/dist/runtime/layoutBridge.mjs +1 -0
  393. package/dist/runtime/layoutComponentMatcher.mjs +1 -0
  394. package/dist/runtime/nativeBridge.mjs +1 -0
  395. package/dist/runtime/noSetData.d.mts +5 -0
  396. package/dist/runtime/noSetData.mjs +1 -0
  397. package/dist/runtime/pageEnvironment.d.mts +50 -0
  398. package/dist/runtime/pageEnvironment.mjs +1 -0
  399. package/dist/runtime/pageLayout.d.mts +26 -0
  400. package/dist/runtime/pageLayout.mjs +1 -0
  401. package/dist/runtime/pageScroll.d.mts +29 -0
  402. package/dist/runtime/pageScroll.mjs +1 -0
  403. package/dist/runtime/platform.mjs +1 -0
  404. package/dist/runtime/provide.d.mts +59 -0
  405. package/dist/runtime/provide.mjs +1 -0
  406. package/dist/runtime/provideContext.mjs +1 -0
  407. package/dist/runtime/provideStore.d.mts +7 -0
  408. package/dist/runtime/provideStore.mjs +1 -0
  409. package/dist/runtime/pullDownRefresh.d.mts +12 -0
  410. package/dist/runtime/pullDownRefresh.mjs +1 -0
  411. package/dist/runtime/register/app.d.mts +14 -0
  412. package/dist/runtime/register/app.mjs +1 -0
  413. package/dist/runtime/register/component/features.mjs +1 -0
  414. package/dist/runtime/register/component/lifecycle/optionalHooks.mjs +1 -0
  415. package/dist/runtime/register/component/lifecycle/platform.mjs +1 -0
  416. package/dist/runtime/register/component/lifecycle.mjs +1 -0
  417. package/dist/runtime/register/component/methods.mjs +1 -0
  418. package/dist/runtime/register/component/options.mjs +1 -0
  419. package/dist/runtime/register/component/props.mjs +1 -0
  420. package/dist/runtime/register/component/registerDefinition.mjs +1 -0
  421. package/dist/runtime/register/component.d.mts +15 -0
  422. package/dist/runtime/register/component.mjs +1 -0
  423. package/dist/runtime/register/inline.d.mts +15 -0
  424. package/dist/runtime/register/inline.mjs +1 -0
  425. package/dist/runtime/register/runtimeInstance/methodBridge.mjs +1 -0
  426. package/dist/runtime/register/runtimeInstance/provideContext.mjs +1 -0
  427. package/dist/runtime/register/runtimeInstance/setupContext.mjs +1 -0
  428. package/dist/runtime/register/runtimeInstance/setupPhase.mjs +1 -0
  429. package/dist/runtime/register/runtimeInstance/utils.mjs +1 -0
  430. package/dist/runtime/register/runtimeInstance.d.mts +26 -0
  431. package/dist/runtime/register/runtimeInstance.mjs +1 -0
  432. package/dist/runtime/register/setDataFrequencyWarning.mjs +1 -0
  433. package/dist/runtime/register/setup.d.mts +11 -0
  434. package/dist/runtime/register/setup.mjs +1 -0
  435. package/dist/runtime/register/snapshot.mjs +1 -0
  436. package/dist/runtime/register/watch.d.mts +12 -0
  437. package/dist/runtime/register/watch.mjs +1 -0
  438. package/dist/runtime/register.d.mts +5 -0
  439. package/dist/runtime/scopedSlots.mjs +1 -0
  440. package/dist/runtime/selectorQuery.d.mts +54 -0
  441. package/dist/runtime/selectorQuery.mjs +1 -0
  442. package/dist/runtime/setupTracking.mjs +1 -0
  443. package/dist/{template-DE8e5dj_.d.mts → runtime/template.d.mts} +1 -1
  444. package/dist/runtime/template.mjs +1 -0
  445. package/dist/runtime/templateRefTypes.d.mts +7 -0
  446. package/dist/runtime/templateRefs/helpers.mjs +1 -0
  447. package/dist/runtime/templateRefs.d.mts +11 -0
  448. package/dist/runtime/templateRefs.mjs +1 -0
  449. package/dist/runtime/types/core.d.mts +35 -0
  450. package/dist/runtime/types/miniprogram.d.mts +80 -0
  451. package/dist/runtime/types/miniprogramHost.d.mts +44 -0
  452. package/dist/runtime/types/miniprogramHostSources.d.mts +112 -0
  453. package/dist/runtime/types/options.d.mts +136 -0
  454. package/dist/runtime/types/props/propTypes.d.mts +79 -0
  455. package/dist/runtime/types/props/router.d.mts +51 -0
  456. package/dist/runtime/types/props/setup.d.mts +96 -0
  457. package/dist/runtime/types/props.d.mts +4 -0
  458. package/dist/runtime/types/runtime.d.mts +59 -0
  459. package/dist/runtime/types/setData.d.mts +220 -0
  460. package/dist/runtime/types.d.mts +28 -0
  461. package/dist/runtime/uniAppHost.d.mts +8 -0
  462. package/dist/runtime/uniAppHost.mjs +1 -0
  463. package/dist/runtime/updatePerformance.d.mts +13 -0
  464. package/dist/runtime/updatePerformance.mjs +1 -0
  465. package/dist/runtime/use.d.mts +13 -0
  466. package/dist/runtime/use.mjs +1 -0
  467. package/dist/runtime/vueCompat/context.d.mts +8 -0
  468. package/dist/runtime/vueCompat/context.mjs +1 -0
  469. package/dist/runtime/vueCompat/model.d.mts +30 -0
  470. package/dist/runtime/vueCompat/model.mjs +1 -0
  471. package/dist/runtime/vueCompat/router.d.mts +28 -0
  472. package/dist/runtime/vueCompat/router.mjs +1 -0
  473. package/dist/runtime/vueCompat/templateRef.d.mts +9 -0
  474. package/dist/runtime/vueCompat/templateRef.mjs +1 -0
  475. package/dist/runtime/vueCompat.d.mts +5 -0
  476. package/dist/scheduler.d.mts +4 -0
  477. package/dist/scheduler.mjs +1 -0
  478. package/dist/store/actions.mjs +1 -0
  479. package/dist/store/base.mjs +1 -0
  480. package/dist/store/define/optionsStyle.mjs +1 -0
  481. package/dist/store/define/setupStyle.mjs +1 -0
  482. package/dist/store/define/shared.mjs +1 -0
  483. package/dist/store/define.d.mts +26 -0
  484. package/dist/store/define.mjs +1 -0
  485. package/dist/store/manager.d.mts +8 -0
  486. package/dist/store/manager.mjs +1 -0
  487. package/dist/store/storeToRefs.d.mts +13 -0
  488. package/dist/store/storeToRefs.mjs +1 -0
  489. package/dist/store/types.d.mts +70 -0
  490. package/dist/store/utils.mjs +1 -0
  491. package/dist/store.d.mts +4 -1
  492. package/dist/store.mjs +1 -1
  493. package/dist/utils.mjs +1 -0
  494. package/dist/version.d.mts +4 -0
  495. package/dist/version.mjs +1 -0
  496. package/dist/vue-augment.d.mts +6 -0
  497. package/dist/vue-demi.d.mts +67 -7
  498. package/dist/vue-demi.mjs +1 -1
  499. package/dist/vue-types.d.mts +18 -0
  500. package/dist/weappIntrinsicElements/base.d.mts +22 -0
  501. package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +13 -0
  502. package/dist/weappIntrinsicElements/elements/ad.d.mts +16 -0
  503. package/dist/weappIntrinsicElements/elements/audio.d.mts +20 -0
  504. package/dist/weappIntrinsicElements/elements/block.d.mts +8 -0
  505. package/dist/weappIntrinsicElements/elements/button.d.mts +40 -0
  506. package/dist/weappIntrinsicElements/elements/camera.d.mts +18 -0
  507. package/dist/weappIntrinsicElements/elements/canvas.d.mts +18 -0
  508. package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +13 -0
  509. package/dist/weappIntrinsicElements/elements/checkbox.d.mts +13 -0
  510. package/dist/weappIntrinsicElements/elements/cover-image.d.mts +10 -0
  511. package/dist/weappIntrinsicElements/elements/cover-view.d.mts +10 -0
  512. package/dist/weappIntrinsicElements/elements/editor.d.mts +22 -0
  513. package/dist/weappIntrinsicElements/elements/form.d.mts +16 -0
  514. package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +15 -0
  515. package/dist/weappIntrinsicElements/elements/icon.d.mts +12 -0
  516. package/dist/weappIntrinsicElements/elements/image.d.mts +18 -0
  517. package/dist/weappIntrinsicElements/elements/import.d.mts +10 -0
  518. package/dist/weappIntrinsicElements/elements/include.d.mts +10 -0
  519. package/dist/weappIntrinsicElements/elements/input.d.mts +47 -0
  520. package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +8 -0
  521. package/dist/weappIntrinsicElements/elements/label.d.mts +10 -0
  522. package/dist/weappIntrinsicElements/elements/live-player.d.mts +35 -0
  523. package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +57 -0
  524. package/dist/weappIntrinsicElements/elements/map.d.mts +105 -0
  525. package/dist/weappIntrinsicElements/elements/match-media.d.mts +16 -0
  526. package/dist/weappIntrinsicElements/elements/movable-area.d.mts +26 -0
  527. package/dist/weappIntrinsicElements/elements/movable-view.d.mts +26 -0
  528. package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +15 -0
  529. package/dist/weappIntrinsicElements/elements/navigator.d.mts +25 -0
  530. package/dist/weappIntrinsicElements/elements/official-account.d.mts +13 -0
  531. package/dist/weappIntrinsicElements/elements/open-data.d.mts +15 -0
  532. package/dist/weappIntrinsicElements/elements/page-container.d.mts +25 -0
  533. package/dist/weappIntrinsicElements/elements/page-meta.d.mts +23 -0
  534. package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +18 -0
  535. package/dist/weappIntrinsicElements/elements/picker-view.d.mts +18 -0
  536. package/dist/weappIntrinsicElements/elements/picker.d.mts +23 -0
  537. package/dist/weappIntrinsicElements/elements/progress.d.mts +21 -0
  538. package/dist/weappIntrinsicElements/elements/radio-group.d.mts +13 -0
  539. package/dist/weappIntrinsicElements/elements/radio.d.mts +13 -0
  540. package/dist/weappIntrinsicElements/elements/rich-text.d.mts +17 -0
  541. package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +68 -0
  542. package/dist/weappIntrinsicElements/elements/share-element.d.mts +18 -0
  543. package/dist/weappIntrinsicElements/elements/slider.d.mts +23 -0
  544. package/dist/weappIntrinsicElements/elements/slot.d.mts +10 -0
  545. package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +42 -0
  546. package/dist/weappIntrinsicElements/elements/swiper.d.mts +42 -0
  547. package/dist/weappIntrinsicElements/elements/switch.d.mts +14 -0
  548. package/dist/weappIntrinsicElements/elements/template.d.mts +12 -0
  549. package/dist/weappIntrinsicElements/elements/text.d.mts +15 -0
  550. package/dist/weappIntrinsicElements/elements/textarea.d.mts +40 -0
  551. package/dist/weappIntrinsicElements/elements/video.d.mts +71 -0
  552. package/dist/weappIntrinsicElements/elements/view.d.mts +13 -0
  553. package/dist/weappIntrinsicElements/elements/voip-room.d.mts +14 -0
  554. package/dist/weappIntrinsicElements/elements/web-view.d.mts +13 -0
  555. package/dist/weappIntrinsicElements.d.mts +153 -0
  556. package/package.json +6 -6
  557. package/dist/base-BxKbbKVO.mjs +0 -1
  558. package/dist/computed-Xoi9XEUx.mjs +0 -1
  559. package/dist/dev/base-CYkvI7w8.mjs.map +0 -1
  560. package/dist/dev/computed-BxRsUJgi.mjs.map +0 -1
  561. package/dist/dev/ref-DRZC3Kc5.mjs +0 -695
  562. package/dist/dev/ref-DRZC3Kc5.mjs.map +0 -1
  563. package/dist/dev/router-D0JQfgyN.mjs +0 -754
  564. package/dist/dev/router-D0JQfgyN.mjs.map +0 -1
  565. package/dist/dev/router.mjs.map +0 -1
  566. package/dist/dev/store-HNsiQJ4d.mjs +0 -479
  567. package/dist/dev/store-HNsiQJ4d.mjs.map +0 -1
  568. package/dist/dev/template-n_iVr0ey.mjs.map +0 -1
  569. package/dist/dev/templateRef-BLnYcEH0.mjs +0 -6439
  570. package/dist/dev/templateRef-BLnYcEH0.mjs.map +0 -1
  571. package/dist/dev/toRefs-D06VmFK2.mjs.map +0 -1
  572. package/dist/dev/watch-jrgL5ald.mjs +0 -445
  573. package/dist/dev/watch-jrgL5ald.mjs.map +0 -1
  574. package/dist/index-BiHILcmb.d.mts +0 -1215
  575. package/dist/index-CCET_bCY.d.mts +0 -111
  576. package/dist/ref-D37CknuD.mjs +0 -1
  577. package/dist/router-D4W4lEXM.mjs +0 -1
  578. package/dist/store-eHrHBQiv.mjs +0 -1
  579. package/dist/template-CNzlwH-E.mjs +0 -1
  580. package/dist/templateRef-DOTHWzZ5.mjs +0 -1
  581. package/dist/toRefs-CoytPyo0.mjs +0 -1
  582. package/dist/traverse-B4Ez44Gd.d.mts +0 -108
  583. package/dist/vue-types-B3N60cGV.d.mts +0 -757
  584. package/dist/watch-Bbd-gmEg.mjs +0 -1
  585. package/dist/weappIntrinsicElements-BgDtC53_.d.mts +0 -1257
package/dist/index.d.mts CHANGED
@@ -1,8 +1,72 @@
1
- import { a as MiniProgramCSSProperties, c as MiniProgramIntrinsicEventHandler, d as WeappIntrinsicElementBaseAttributes, f as WeappIntrinsicEventHandler, i as WeappIntrinsicElements, l as WeappCSSProperties, n as MiniProgramIntrinsicElements, o as MiniProgramDatasetAttributes, r as WeappHtmlAliasIntrinsicElements, s as MiniProgramIntrinsicElementBaseAttributes, t as MiniProgramHtmlAliasIntrinsicElements, u as WeappDatasetAttributes } from "./weappIntrinsicElements-BgDtC53_.mjs";
2
- import { $ as triggerRef, $n as AlipayMiniProgramHostNamespace, $t as NativeTypeHint, A as watchPostEffect, An as HostMiniProgramIntersectionObserverOptions, At as unref, B as WatchOptions, Bn as HostMiniProgramPageTrivialInstance, C as ExtractMethods, Cn as HostMiniProgramComponentMethodOption, Ct as MaybeRefOrGetter, D as ModelBindingPayload, Dn as HostMiniProgramComponentTrivialInstance, Dt as isRef, E as ModelBindingOptions, En as HostMiniProgramComponentShortProperty, Et as customRef, F as OnCleanup, Fn as HostMiniProgramNodesRefFields, G as WatchStopHandle, Gn as HostMiniProgramScrollOffsetResult, Gt as ExtractPropTypes, H as WatchSource, Hn as HostMiniProgramRedirectToOption, Ht as WevuTypedRouterRouteMap, I as WatchCallback, In as HostMiniProgramPageLifetime, J as ToRefs, Jn as HostMiniProgramSwitchTabOption, Jt as InferNativeProps, K as getDeepWatchStrategy, Kn as HostMiniProgramSelectorQuery, Kt as ExtractPublicPropTypes, L as WatchEffect, Ln as HostMiniProgramPageNotFoundOptions, M as MapSources, Mn as HostMiniProgramMemoryWarningResult, Mt as MiniProgramRouterReLaunchOption, N as MaybeUndefined, Nn as HostMiniProgramNavigateToOption, Nt as MiniProgramRouterRedirectToOption, O as watch, On as HostMiniProgramComponentTrivialOption, Ot as ref, P as MultiWatchSources, Pn as HostMiniProgramNodesRef, Pt as MiniProgramRouterSwitchTabOption, Q as shallowRef, Qn as HostMiniProgramUnhandledRejectionResult, Qt as NativePropsOptions, R as WatchEffectOptions, Rn as HostMiniProgramPageResizeOption, S as ExtractComputed, Sn as HostMiniProgramComponentInstance, St as MaybeRef, T as ModelBinding, Tn as HostMiniProgramComponentPropertyValue, Tt as ShallowRef, U as WatchSourceValue, Un as HostMiniProgramRouter, Ut as ComponentPropsOptions, V as WatchScheduler, Vn as HostMiniProgramReLaunchOption, W as WatchSources, Wn as HostMiniProgramSaveExitState, Wt as ExtractDefaultPropTypes, X as toRefs, Xn as HostMiniProgramThemeChangeResult, Xt as InferProps, Y as toRef, Yn as HostMiniProgramTabItemTapOption, Yt as InferPropType, Z as isShallowRef, Zn as HostMiniProgramTriggerEventOptions, Zt as NativePropType, _ as RuntimeApp, _n as HostMiniProgramBoundingClientRectResult, _r as WechatMiniProgramHostNamespace, _t as WritableComputedRef, a as NativeComponent, an as MiniProgramAppOptions, ar as MiniProgramHostNamespace, at as batch, b as ComponentPublicInstance, bn as HostMiniProgramComponentBehaviorOptions, bt as CustomRefOptions, c as ShallowUnwrapRef, cn as MiniProgramComponentOptions, cr as MiniProgramHostSourceRegistry, ct as endBatch, d as SetupContext, dn as MiniProgramInstance, dr as MiniProgramPlatformHostSourceRegistry, dt as startBatch, en as NativeTypedProperty, er as AlipayMiniProgramHostSourceContract, et as isProxy, f as SetupContextNativeInstance, fn as MiniProgramPageLifetimes, fr as MiniProgramRuntimeHostNamespaceBySource, ft as stop, g as InternalRuntimeStateFields, gn as HostMiniProgramBehaviorIdentifier, gr as TtMiniProgramHostSourceContract, gt as WritableComputedOptions, h as InternalRuntimeState, hn as HostMiniProgramAppTrivialInstance, hr as TtMiniProgramHostNamespace, ht as ComputedSetter, i as DefineComponent, in as MiniProgramAdapter, ir as DouyinMiniProgramHostSourceContract, it as EffectScope, j as watchSyncEffect, jn as HostMiniProgramLaunchOptions, jt as MiniProgramRouterNavigateToOption, k as watchEffect, kn as HostMiniProgramIntersectionObserver, kt as toValue, l as VNode, ln as MiniProgramComponentPropertyValue, lr as MiniProgramPlatformHostNamespaceBySource, lt as getCurrentScope, m as AppConfig, mn as HostMiniProgramAppOptions, mr as MiniProgramRuntimeHostSourceRegistry, mt as ComputedRef, n as ComponentCustomProps, nn as PropOptions, nr as DefaultMiniProgramHostSourceContract, nt as readonly, o as ObjectDirective, on as MiniProgramBehaviorIdentifier, or as MiniProgramHostNamespaceBySource, ot as effect, p as SetupFunction, pn as HostMiniProgramAddToFavoritesOption, pr as MiniProgramRuntimeHostSourceName, pt as ComputedGetter, q as setDeepWatchStrategy, qn as HostMiniProgramShareAppMessageOption, qt as InferNativePropType, r as ComponentOptionsMixin, rn as PropType, rr as DouyinMiniProgramHostNamespace, rt as shallowReadonly, s as PublicProps, sn as MiniProgramComponentInstance, sr as MiniProgramHostSourceName, st as effectScope, t as AllowedComponentProps, tn as PropConstructor, tr as DefaultMiniProgramHostNamespace, tt as isReadonly, u as VNodeProps, un as MiniProgramComponentRawOptions, ur as MiniProgramPlatformHostSourceName, ut as onScopeDispose, v as RuntimeInstance, vn as HostMiniProgramComponentAllFullProperty, vr as WechatMiniProgramHostSourceContract, vt as computed, w as MethodDefinitions, wn as HostMiniProgramComponentPropertyOption, wt as Ref, x as ComputedDefinitions, xn as HostMiniProgramComponentEmptyArray, xt as CustomRefSource, y as WevuPlugin, yn as HostMiniProgramComponentAllProperty, yt as CustomRefFactory, z as WatchMultiSources, zn as HostMiniProgramPageScrollOption, zt as SetupContextRouter } from "./vue-types-B3N60cGV.mjs";
3
- import { _ as removeMutationRecorder, a as markRaw, c as isShallowReactive, d as prelinkReactiveTree, f as touchReactive, g as addMutationRecorder, h as MutationRecord, i as isReactive, l as shallowReactive, m as MutationOp, n as getReactiveVersion, o as reactive, p as MutationKind, r as isRaw, s as toRaw, t as traverse, u as PrelinkReactiveTreeOptions, v as nextTick } from "./traverse-B4Ez44Gd.mjs";
4
- import { $ as registerApp, $n as GlobalComponents, $t as onUpdated, A as useSlots, An as ElementIntersectionObserverCallback, At as LayoutHostBinding, B as UseBoundingClientRectOptions, Bn as DefineComponentTypePropsOptions, Bt as UseIntersectionObserverOptions, C as UseModelOptions, Cn as onUnload, Ct as getCurrentPageStackSnapshot, D as useModel, Dn as getCurrentSetupContext, Dt as isNoSetData, E as useChangeModel, En as getCurrentInstance, Et as usePageStack, F as UseUpdatePerformanceListenerStopHandle, Fn as DisposableLike, Ft as unregisterPageLayoutBridge, G as useScrollOffset, Gn as WevuDefinedComponent, Gt as onBeforeMount, H as UseSelectorFieldsOptions, Hn as SetupContextWithTypeProps, Ht as useIntersectionObserver, I as useUpdatePerformanceListener, In as DisposableMethodName, It as unregisterRuntimeLayoutHosts, J as runSetupFunction, Jn as defineComponent, Jt as onDeactivated, K as useSelectorFields, Kn as createWevuComponent, Kt as onBeforeUnmount, L as UseAllBoundingClientRectOptions, Ln as DisposableObject, Lt as useLayoutBridge, M as use, Mn as UseElementIntersectionObserverReturn, Mt as registerRuntimeLayoutHosts, N as UpdatePerformanceListener, Nn as useElementIntersectionObserver, Nt as resolveLayoutBridge, O as useAttrs, On as setCurrentInstance, Ot as markNoSetData, P as UpdatePerformanceListenerResult, Pn as DisposableBag, Pt as resolveLayoutHost, Q as registerComponent, Qn as createApp, Qt as onUnmounted, R as UseAllScrollOffsetOptions, Rn as useDisposables, Rt as useLayoutHosts, S as ModelModifiers, Sn as onUnhandledRejection, St as UsePageStackOptions, T as useBindModel, Tn as callHookReturn, Tt as useNavigationBarMetrics, U as UseSelectorQueryOptions, Un as SetupFunctionWithTypeProps, Ut as callUpdateHooks, V as UseScrollOffsetOptions, Vn as DefineComponentWithTypeProps, Vt as UseIntersectionObserverResult, W as useBoundingClientRect, Wn as WevuComponentConstructor, Wt as onActivated, X as setRuntimeSetDataVisibility, Xn as resetWevuDefaults, Xt as onMounted, Y as mountRuntimeInstance, Yn as WevuDefaults, Yt as onErrorCaptured, Z as teardownRuntimeInstance, Zn as setWevuDefaults, Zt as onServerPrefetch, _ as EmitsOptions, _n as onShareAppMessage, _t as syncRuntimePageLayoutStateFromRuntime, a as PageLayoutMeta, an as onLaunch, ar as WevuGlobalDirectives, at as injectGlobal, b as useNativePageRouter, bn as onTabItemTap, bt as PageStackSnapshot, c as defineExpose, cn as onMoved, cr as DefineAppOptions, ct as setGlobalProvidedValue, d as definePageMeta, dn as onPullDownRefresh, dr as SetDataDebugInfo, dt as usePageScrollThrottle, en as onAddToFavorites, er as GlobalDirectives, et as PullDownRefreshHandler, f as defineProps, fn as onReachBottom, fr as SetDataSnapshotOptions, ft as PageLayoutState, g as EmitFn, gn as onSaveExitState, gt as syncRuntimePageLayoutState, h as ComponentTypeEmits, hn as onRouteDone, ht as setPageLayout, i as ModelRef, in as onHide, ir as WevuGlobalComponents, it as inject, j as defineAppSetup, jn as UseElementIntersectionObserverOptions, jt as registerPageLayoutBridge, k as useNativeInstance, kn as setCurrentSetupContext, kt as LayoutBridgeInstance, l as defineModel, ln as onPageNotFound, lr as DefineComponentOptions, lt as UsePageScrollThrottleOptions, m as withDefaults, mn as onResize, mt as resolveRuntimePageLayoutName, n as DefineModelModifiers, nn as onDetached, nr as TemplateRefValue, nt as useAsyncPullDownRefresh, o as PageMeta, on as onLoad, or as CreateAppOptions, ot as provide, p as defineSlots, pn as onReady, pt as WevuPageLayoutMap, q as useSelectorQuery, qn as createWevuScopedSlotComponent, qt as onBeforeUpdate, r as DefineModelTransformOptions, rn as onError, rr as TemplateRefs, rt as hasInjectionContext, s as defineEmits, sn as onMemoryWarning, sr as DataOption, st as provideGlobal, t as version, tn as onAttached, tr as MiniProgramTemplateRefValue, tt as UseAsyncPullDownRefreshOptions, u as defineOptions, un as onPageScroll, ur as PageFeatures, ut as UsePageScrollThrottleStopHandle, v as TemplateRef, vn as onShareTimeline, vt as usePageLayout, w as mergeModels, wn as callHookList, wt as getNavigationBarMetrics, x as useNativeRouter, xn as onThemeChange, xt as UseNavigationBarMetricsOptions, y as useTemplateRef, yn as onShow, yt as NavigationBarMetrics, z as UseAllSelectorFieldsOptions, zn as ComponentDefinition, zt as waitForLayoutHost } from "./index-BiHILcmb.mjs";
5
- import { n as normalizeStyle, r as resolvePropValue, t as normalizeClass } from "./template-DE8e5dj_.mjs";
6
- import { a as ActionContext, c as MutationType, d as SubscriptionCallback, i as defineStore, l as StoreManager, n as storeToRefs, o as ActionSubscriber, r as createStore, s as DefineStoreOptions, t as StoreToRefsResult, u as StoreSubscribeOptions } from "./index-CCET_bCY.mjs";
1
+ import { MiniProgramCSSProperties, MiniProgramDatasetAttributes, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicEventHandler, WeappCSSProperties, WeappDatasetAttributes, WeappIntrinsicElementBaseAttributes, WeappIntrinsicEventHandler } from "./weappIntrinsicElements/base.mjs";
2
+ import { MiniProgramHtmlAliasIntrinsicElements, MiniProgramIntrinsicElements, WeappHtmlAliasIntrinsicElements, WeappIntrinsicElements } from "./weappIntrinsicElements.mjs";
3
+ import { AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract } from "./runtime/types/miniprogramHostSources.mjs";
4
+ import { HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult } from "./runtime/types/miniprogramHost.mjs";
5
+ import { MiniProgramAdapter, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, MiniProgramComponentInstance, MiniProgramComponentOptions, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, MiniProgramInstance, MiniProgramPageLifetimes } from "./runtime/types/miniprogram.mjs";
6
+ import { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InferNativePropType, InferNativeProps, InferPropType, InferProps, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, PropConstructor, PropOptions, PropType } from "./runtime/types/props/propTypes.mjs";
7
+ import { MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, SetupContextRouter, WevuTypedRouterRouteMap } from "./runtime/types/props/router.mjs";
8
+ import { CustomRefFactory, CustomRefOptions, CustomRefSource, MaybeRef, MaybeRefOrGetter, Ref, ShallowRef, customRef, isRef, ref, toValue, unref } from "./reactivity/ref.mjs";
9
+ import { ComputedGetter, ComputedRef, ComputedSetter, WritableComputedOptions, WritableComputedRef, computed } from "./reactivity/computed.mjs";
10
+ import { nextTick } from "./scheduler.mjs";
11
+ import { EffectScope, batch, effect, effectScope, endBatch, getCurrentScope, onScopeDispose, startBatch, stop } from "./reactivity/core.mjs";
12
+ import { MutationKind, MutationOp, MutationRecord, addMutationRecorder, removeMutationRecorder } from "./reactivity/reactive/mutation.mjs";
13
+ import { PrelinkReactiveTreeOptions, prelinkReactiveTree, touchReactive } from "./reactivity/reactive/patch.mjs";
14
+ import { isShallowReactive, shallowReactive } from "./reactivity/reactive/shallow.mjs";
15
+ import { toRaw } from "./reactivity/reactive/shared.mjs";
16
+ import { getReactiveVersion, isRaw, isReactive, markRaw, reactive } from "./reactivity/reactive.mjs";
17
+ import { isProxy, isReadonly, readonly, shallowReadonly } from "./reactivity/readonly.mjs";
18
+ import { isShallowRef, shallowRef, triggerRef } from "./reactivity/shallowRef.mjs";
19
+ import { ToRefs, toRef, toRefs } from "./reactivity/toRefs.mjs";
20
+ import { traverse } from "./reactivity/traverse.mjs";
21
+ import { MapSources, MaybeUndefined, MultiWatchSources, OnCleanup, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, getDeepWatchStrategy, setDeepWatchStrategy } from "./reactivity/watch/types.mjs";
22
+ import { watch, watchEffect, watchPostEffect, watchSyncEffect } from "./reactivity/watch.mjs";
23
+ import "./reactivity/index.mjs";
24
+ import { ComponentPublicInstance, ComputedDefinitions, ExtractComputed, ExtractMethods, MethodDefinitions, ModelBinding, ModelBindingOptions, ModelBindingPayload } from "./runtime/types/core.mjs";
25
+ import { AppConfig, InternalRuntimeState, InternalRuntimeStateFields, RuntimeApp, RuntimeInstance, WevuPlugin } from "./runtime/types/runtime.mjs";
26
+ import { SetupContext, SetupContextNativeInstance, SetupFunction } from "./runtime/types/props/setup.mjs";
27
+ import { AllowedComponentProps, ComponentCustomProps, ComponentOptionsMixin, DefineComponent, NativeComponent, ObjectDirective, PublicProps, ShallowUnwrapRef, VNode, VNodeProps } from "./vue-types.mjs";
28
+ import { SetDataDebugInfo, SetDataSnapshotOptions } from "./runtime/types/setData.mjs";
29
+ import { CreateAppOptions, DataOption, DefineAppOptions, DefineComponentOptions, PageFeatures } from "./runtime/types/options.mjs";
30
+ import { GlobalComponents, GlobalDirectives, MiniProgramTemplateRefValue, TemplateRefValue, TemplateRefs, WevuGlobalComponents, WevuGlobalDirectives } from "./runtime/types.mjs";
31
+ import "./runtime/templateRefTypes.mjs";
32
+ import "./vue-augment.mjs";
33
+ import { createApp } from "./runtime/app.mjs";
34
+ import { WevuDefaults, resetWevuDefaults, setWevuDefaults } from "./runtime/defaults.mjs";
35
+ import { ComponentDefinition, DefineComponentTypePropsOptions, DefineComponentWithTypeProps, SetupContextWithTypeProps, SetupFunctionWithTypeProps, WevuComponentConstructor, WevuDefinedComponent, createWevuComponent, createWevuScopedSlotComponent, defineComponent } from "./runtime/define.mjs";
36
+ import { DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, useDisposables } from "./runtime/disposables.mjs";
37
+ import { ElementIntersectionObserverCallback, UseElementIntersectionObserverOptions, UseElementIntersectionObserverReturn, useElementIntersectionObserver } from "./runtime/elementIntersectionObserver.mjs";
38
+ import { callHookList, callHookReturn, getCurrentInstance, getCurrentSetupContext, setCurrentInstance, setCurrentSetupContext } from "./runtime/hooks/base.mjs";
39
+ import { onAddToFavorites, onAttached, onDetached, onError, onHide, onLaunch, onLoad, onMemoryWarning, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload } from "./runtime/hooks/register.mjs";
40
+ import { callUpdateHooks, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onServerPrefetch, onUnmounted, onUpdated } from "./runtime/hooks/vue.mjs";
41
+ import { UseIntersectionObserverOptions, UseIntersectionObserverResult, useIntersectionObserver } from "./runtime/intersectionObserver.mjs";
42
+ import { LayoutBridgeInstance, LayoutHostBinding, registerPageLayoutBridge, registerRuntimeLayoutHosts, resolveLayoutBridge, resolveLayoutHost, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, useLayoutBridge, useLayoutHosts, waitForLayoutHost } from "./runtime/layoutBridge.mjs";
43
+ import { isNoSetData, markNoSetData } from "./runtime/noSetData.mjs";
44
+ import { NavigationBarMetrics, PageStackSnapshot, UseNavigationBarMetricsOptions, UsePageStackOptions, getCurrentPageStackSnapshot, getNavigationBarMetrics, useNavigationBarMetrics, usePageStack } from "./runtime/pageEnvironment.mjs";
45
+ import { PageLayoutState, WevuPageLayoutMap, resolveRuntimePageLayoutName, setPageLayout, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, usePageLayout } from "./runtime/pageLayout.mjs";
46
+ import { UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, usePageScrollThrottle } from "./runtime/pageScroll.mjs";
47
+ import { setGlobalProvidedValue } from "./runtime/provideStore.mjs";
48
+ import { hasInjectionContext, inject, injectGlobal, provide, provideGlobal } from "./runtime/provide.mjs";
49
+ import { PullDownRefreshHandler, UseAsyncPullDownRefreshOptions, useAsyncPullDownRefresh } from "./runtime/pullDownRefresh.mjs";
50
+ import { registerApp } from "./runtime/register/app.mjs";
51
+ import { registerComponent } from "./runtime/register/component.mjs";
52
+ import { mountRuntimeInstance, setRuntimeSetDataVisibility, teardownRuntimeInstance } from "./runtime/register/runtimeInstance.mjs";
53
+ import { runSetupFunction } from "./runtime/register/setup.mjs";
54
+ import { UseAllBoundingClientRectOptions, UseAllScrollOffsetOptions, UseAllSelectorFieldsOptions, UseBoundingClientRectOptions, UseScrollOffsetOptions, UseSelectorFieldsOptions, UseSelectorQueryOptions, useBoundingClientRect, useScrollOffset, useSelectorFields, useSelectorQuery } from "./runtime/selectorQuery.mjs";
55
+ import { normalizeClass, normalizeStyle, resolvePropValue } from "./runtime/template.mjs";
56
+ import { UpdatePerformanceListener, UpdatePerformanceListenerResult, UseUpdatePerformanceListenerStopHandle, useUpdatePerformanceListener } from "./runtime/updatePerformance.mjs";
57
+ import { defineAppSetup, use } from "./runtime/use.mjs";
58
+ import { useAttrs, useNativeInstance, useSlots } from "./runtime/vueCompat/context.mjs";
59
+ import { ModelModifiers, UseModelOptions, mergeModels, useBindModel, useChangeModel, useModel } from "./runtime/vueCompat/model.mjs";
60
+ import { useNativePageRouter, useNativeRouter } from "./runtime/vueCompat/router.mjs";
61
+ import { TemplateRef, useTemplateRef } from "./runtime/vueCompat/templateRef.mjs";
62
+ import "./runtime/index.mjs";
63
+ import { ComponentTypeEmits, EmitFn, EmitsOptions } from "./macros/shared.mjs";
64
+ import { DefineModelModifiers, DefineModelTransformOptions, ModelRef, PageLayoutMeta, PageMeta, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, withDefaults } from "./macros.mjs";
65
+ import { ActionContext, ActionSubscriber, DefineStoreOptions, MutationType, StoreManager, StoreSubscribeOptions, SubscriptionCallback } from "./store/types.mjs";
66
+ import { defineStore } from "./store/define.mjs";
67
+ import { createStore } from "./store/manager.mjs";
68
+ import { StoreToRefsResult, storeToRefs } from "./store/storeToRefs.mjs";
69
+ import "./store.mjs";
70
+ import { version } from "./version.mjs";
7
71
  export * from "@wevu/web-apis";
8
- export { type ActionContext, type ActionSubscriber, type AlipayMiniProgramHostNamespace, type AlipayMiniProgramHostSourceContract, type AllowedComponentProps, type AppConfig, type ComponentCustomProps, 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, DefineComponentTypePropsOptions, 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 HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, type HostMiniProgramAppOptions, type HostMiniProgramAppTrivialInstance, type HostMiniProgramBehaviorIdentifier, type HostMiniProgramBoundingClientRectResult, type HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, type HostMiniProgramComponentAllFullProperty, type HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, type HostMiniProgramComponentAllProperty, type HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, type HostMiniProgramComponentBehaviorOptions, type HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, type HostMiniProgramComponentEmptyArray, type HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, type HostMiniProgramComponentInstance, type HostMiniProgramComponentMethodOption, type HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, type HostMiniProgramComponentPropertyOption, type HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, type HostMiniProgramComponentPropertyValue, type HostMiniProgramComponentShortProperty, type HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, type HostMiniProgramComponentTrivialInstance, type HostMiniProgramComponentTrivialOption, type HostMiniProgramIntersectionObserver, type HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, type HostMiniProgramIntersectionObserverOptions, type HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, type HostMiniProgramLaunchOptions, type HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, type HostMiniProgramMemoryWarningResult, type HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, type HostMiniProgramNavigateToOption, type HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, type HostMiniProgramNodesRef, type HostMiniProgramNodesRef as MiniProgramNodesRef, type HostMiniProgramNodesRefFields, type HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, type HostMiniProgramPageLifetime, type HostMiniProgramPageLifetime as MiniProgramPageLifetime, type HostMiniProgramPageNotFoundOptions, type HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, type HostMiniProgramPageResizeOption, type HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, type HostMiniProgramPageScrollOption, type HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, type HostMiniProgramPageTrivialInstance, type HostMiniProgramReLaunchOption, type HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, type HostMiniProgramRedirectToOption, type HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, type HostMiniProgramRouter, type HostMiniProgramRouter as MiniProgramRouter, type HostMiniProgramSaveExitState, type HostMiniProgramSaveExitState as MiniProgramSaveExitState, type HostMiniProgramScrollOffsetResult, type HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, type HostMiniProgramSelectorQuery, type HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, type HostMiniProgramShareAppMessageOption, type HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, type HostMiniProgramSwitchTabOption, type HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, type HostMiniProgramTabItemTapOption, type HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, type HostMiniProgramThemeChangeResult, type HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, type HostMiniProgramTriggerEventOptions, type HostMiniProgramTriggerEventOptions as TriggerEventOptions, type HostMiniProgramUnhandledRejectionResult, type HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, 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 MiniProgramAppOptions, type MiniProgramBehaviorIdentifier, type MiniProgramCSSProperties, type MiniProgramComponentInstance, type MiniProgramComponentOptions, type MiniProgramComponentPropertyValue, type MiniProgramComponentRawOptions, type MiniProgramDatasetAttributes, type MiniProgramHostNamespace, type MiniProgramHostNamespaceBySource, type MiniProgramHostSourceName, type MiniProgramHostSourceRegistry, type MiniProgramHtmlAliasIntrinsicElements, type MiniProgramInstance, type MiniProgramIntrinsicElementBaseAttributes, type MiniProgramIntrinsicElements, type MiniProgramIntrinsicEventHandler, type MiniProgramPageLifetimes, type MiniProgramPlatformHostNamespaceBySource, type MiniProgramPlatformHostSourceName, type MiniProgramPlatformHostSourceRegistry, type MiniProgramRouterNavigateToOption, type MiniProgramRouterReLaunchOption, type MiniProgramRouterRedirectToOption, type MiniProgramRouterSwitchTabOption, type MiniProgramRuntimeHostNamespaceBySource, type MiniProgramRuntimeHostSourceName, type MiniProgramRuntimeHostSourceRegistry, MiniProgramTemplateRefValue, 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, SetupContextWithTypeProps, type SetupFunction, SetupFunctionWithTypeProps, type ShallowRef, type ShallowUnwrapRef, type StoreManager, type StoreSubscribeOptions, type StoreToRefsResult, type SubscriptionCallback, type TemplateRef, TemplateRefValue, TemplateRefs, type ToRefs, 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, WevuComponentConstructor, type WevuDefaults, 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, 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 };
72
+ export { type ActionContext, type ActionSubscriber, type AlipayMiniProgramHostNamespace, type AlipayMiniProgramHostSourceContract, type AllowedComponentProps, type AppConfig, type ComponentCustomProps, 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, DefineComponentTypePropsOptions, 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, SetupContextWithTypeProps, type SetupFunction, 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, WevuComponentConstructor, type WevuDefaults, 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, 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/index.mjs CHANGED
@@ -1 +1 @@
1
- import"./rolldown-runtime-CenpyGzJ.mjs";import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,p as c,r as l,s as u,t as d,u as f}from"./watch-Bbd-gmEg.mjs";import{A as p,F as m,I as h,L as g,M as _,N as v,P as y,R as b,a as x,c as S,d as C,i as w,j as T,k as E,l as D,n as O,o as k,s as A,t as j,u as M,v as N}from"./ref-D37CknuD.mjs";import{i as P,r as F,t as I}from"./computed-Xoi9XEUx.mjs";import{S as L,b as R,c as z,d as B,n as V,r as H,s as U,u as W,x as G,y as K}from"./base-BxKbbKVO.mjs";import{n as q,t as J}from"./toRefs-CoytPyo0.mjs";import{$ as Y,B as X,F as Z,G as Q,H as $,I as ee,J as te,K as ne,L as re,P as ie,Q as ae,R as oe,U as se,V as ce,W as le,X as ue,Y as de,Z as fe,_ as pe,et as me,g as he,h as ge,it as _e,n as ve,nt as ye,q as be,rt as xe,t as Se,tt as Ce,v as we,y as Te,z as Ee}from"./router-D4W4lEXM.mjs";import{$ as De,A as Oe,B as ke,C as Ae,D as je,E as Me,F as Ne,G as Pe,H as Fe,I as Ie,J as Le,K as Re,L as ze,M as Be,N as Ve,O as He,P as Ue,Q as We,R as Ge,S as Ke,T as qe,U as Je,V as Ye,W as Xe,X as Ze,Y as Qe,Z as $e,_ as et,a as tt,at as nt,b as rt,c as it,ct as at,d as ot,et as st,f as ct,g as lt,h as ut,i as dt,it as ft,j as pt,k as mt,l as ht,lt as gt,m as _t,n as vt,nt as yt,o as bt,ot as xt,p as St,q as Ct,r as wt,rt as Tt,s as Et,st as Dt,t as Ot,tt as kt,u as At,ut as jt,v as Mt,w as Nt,x as Pt,y as Ft,z as It}from"./templateRef-DOTHWzZ5.mjs";import{n as Lt,r as Rt,t as zt}from"./template-CNzlwH-E.mjs";import{n as Bt,r as Vt,t as Ht}from"./store-eHrHBQiv.mjs";export*from"@wevu/web-apis";export{E as addMutationRecorder,T as batch,V as callHookList,H as callHookReturn,st as callUpdateHooks,I as computed,He as createApp,Vt as createStore,qe as createWevuComponent,Me as createWevuScopedSlotComponent,j as customRef,ht as defineAppSetup,je as defineComponent,Bt as defineStore,_ as effect,v as effectScope,y as endBatch,U as getCurrentInstance,Mt as getCurrentPageStackSnapshot,m as getCurrentScope,z as getCurrentSetupContext,e as getDeepWatchStrategy,Ft as getNavigationBarMetrics,A as getReactiveVersion,ge as hasInjectionContext,he as inject,pe as injectGlobal,$e as isNoSetData,K as isProxy,S as isRaw,D as isReactive,R as isReadonly,O as isRef,n as isShallowReactive,t as isShallowRef,We as markNoSetData,M as markRaw,vt as mergeModels,ke as mountRuntimeInstance,c as nextTick,zt as normalizeClass,Lt as normalizeStyle,kt as onActivated,Z as onAddToFavorites,ee as onAttached,yt as onBeforeMount,Tt as onBeforeUnmount,ft as onBeforeUpdate,nt as onDeactivated,re as onDetached,oe as onError,xt as onErrorCaptured,Ee as onHide,X as onLaunch,ce as onLoad,$ as onMemoryWarning,Dt as onMounted,se as onMoved,le as onPageNotFound,Q as onPageScroll,ne as onPullDownRefresh,be as onReachBottom,te as onReady,de as onResize,ue as onRouteDone,fe as onSaveExitState,h as onScopeDispose,at as onServerPrefetch,ae as onShareAppMessage,Y as onShareTimeline,me as onShow,Ce as onTabItemTap,ye as onThemeChange,xe as onUnhandledRejection,_e as onUnload,gt as onUnmounted,jt as onUpdated,F as prelinkReactiveTree,we as provide,Te as provideGlobal,C as reactive,G as readonly,w as ref,It as registerApp,mt as registerComponent,Oe as registerPageLayoutBridge,pt as registerRuntimeLayoutHosts,p as removeMutationRecorder,Qe as resetWevuDefaults,Be as resolveLayoutBridge,Ve as resolveLayoutHost,Rt as resolvePropValue,Xe as resolveRuntimePageLayoutName,Je as runSetupFunction,W as setCurrentInstance,B as setCurrentSetupContext,s as setDeepWatchStrategy,ie as setGlobalProvidedValue,Pe as setPageLayout,Ye as setRuntimeSetDataVisibility,Ze as setWevuDefaults,r as shallowReactive,L as shallowReadonly,a as shallowRef,g as startBatch,b as stop,Ht as storeToRefs,Re as syncRuntimePageLayoutState,Ct as syncRuntimePageLayoutStateFromRuntime,Fe as teardownRuntimeInstance,N as toRaw,J as toRef,q as toRefs,x as toValue,P as touchReactive,u as traverse,f as triggerRef,k as unref,Ue as unregisterPageLayoutBridge,Ne as unregisterRuntimeLayoutHosts,At as use,lt as useAsyncPullDownRefresh,bt as useAttrs,wt as useBindModel,ct as useBoundingClientRect,dt as useChangeModel,Nt as useDisposables,Ae as useElementIntersectionObserver,Ke as useIntersectionObserver,Ie as useLayoutBridge,ze as useLayoutHosts,tt as useModel,Et as useNativeInstance,Se as useNativePageRouter,ve as useNativeRouter,rt as useNavigationBarMetrics,Le as usePageLayout,et as usePageScrollThrottle,Pt as usePageStack,St as useScrollOffset,_t as useSelectorFields,ut as useSelectorQuery,it as useSlots,Ot as useTemplateRef,ot as useUpdatePerformanceListener,De as version,Ge as waitForLayoutHost,d as watch,o as watchEffect,l as watchPostEffect,i as watchSyncEffect};
1
+ import"./_virtual/_rolldown/runtime.mjs";import{nextTick as e}from"./scheduler.mjs";import{batch as t,effect as n,effectScope as r,endBatch as i,getCurrentScope as a,onScopeDispose as o,startBatch as s,stop as c}from"./reactivity/core.mjs";import{addMutationRecorder as l,removeMutationRecorder as u}from"./reactivity/reactive/mutation.mjs";import{toRaw as d}from"./reactivity/reactive/shared.mjs";import{prelinkReactiveTree as f,touchReactive as p}from"./reactivity/reactive/patch.mjs";import{isShallowReactive as m,shallowReactive as h}from"./reactivity/reactive/shallow.mjs";import{getReactiveVersion as g,isRaw as _,isReactive as v,markRaw as y,reactive as b}from"./reactivity/reactive.mjs";import{customRef as x,isRef as S,ref as C,toValue as w,unref as T}from"./reactivity/ref.mjs";import{computed as E}from"./reactivity/computed.mjs";import{isProxy as D,isReadonly as O,readonly as k,shallowReadonly as A}from"./reactivity/readonly.mjs";import{isShallowRef as j,shallowRef as M,triggerRef as N}from"./reactivity/shallowRef.mjs";import{toRef as P,toRefs as F}from"./reactivity/toRefs.mjs";import{traverse as I}from"./reactivity/traverse.mjs";import{callHookList as L,callHookReturn as R,getCurrentInstance as z,getCurrentSetupContext as B,setCurrentInstance as V,setCurrentSetupContext as H}from"./runtime/hooks/base.mjs";import{onAddToFavorites as U,onAttached as W,onDetached as G,onError as K,onHide as q,onLaunch as J,onLoad as Y,onMemoryWarning as X,onMoved as Z,onPageNotFound as Q,onPageScroll as $,onPullDownRefresh as ee,onReachBottom as te,onReady as ne,onResize as re,onRouteDone as ie,onSaveExitState as ae,onShareAppMessage as oe,onShareTimeline as se,onShow as ce,onTabItemTap as le,onThemeChange as ue,onUnhandledRejection as de,onUnload as fe}from"./runtime/hooks/register.mjs";import{callUpdateHooks as pe,onActivated as me,onBeforeMount as he,onBeforeUnmount as ge,onBeforeUpdate as _e,onDeactivated as ve,onErrorCaptured as ye,onMounted as be,onServerPrefetch as xe,onUnmounted as Se,onUpdated as Ce}from"./runtime/hooks/vue.mjs";import{getDeepWatchStrategy as we,setDeepWatchStrategy as Te}from"./reactivity/watch/types.mjs";import{watch as Ee,watchEffect as De,watchPostEffect as Oe,watchSyncEffect as ke}from"./reactivity/watch.mjs";import{version as Ae}from"./version.mjs";import{isNoSetData as je,markNoSetData as Me}from"./runtime/noSetData.mjs";import{resetWevuDefaults as Ne,setWevuDefaults as Pe}from"./runtime/defaults.mjs";import{setGlobalProvidedValue as Fe}from"./runtime/provideStore.mjs";import{resolveRuntimePageLayoutName as Ie,setPageLayout as Le,syncRuntimePageLayoutState as Re,syncRuntimePageLayoutStateFromRuntime as ze,usePageLayout as Be}from"./runtime/pageLayout.mjs";import{runSetupFunction as Ve}from"./runtime/register/setup.mjs";import{mountRuntimeInstance as He,setRuntimeSetDataVisibility as Ue,teardownRuntimeInstance as We}from"./runtime/register/runtimeInstance.mjs";import{registerApp as Ge}from"./runtime/register/app.mjs";import{registerPageLayoutBridge as Ke,registerRuntimeLayoutHosts as qe,resolveLayoutBridge as Je,resolveLayoutHost as Ye,unregisterPageLayoutBridge as Xe,unregisterRuntimeLayoutHosts as Ze,useLayoutBridge as Qe,useLayoutHosts as $e,waitForLayoutHost as et}from"./runtime/layoutBridge.mjs";import{registerComponent as tt}from"./runtime/register/component.mjs";import{createApp as nt}from"./runtime/app.mjs";import{hasInjectionContext as rt,inject as it,injectGlobal as at,provide as ot,provideGlobal as st}from"./runtime/provide.mjs";import{createWevuComponent as ct,createWevuScopedSlotComponent as lt,defineComponent as ut}from"./runtime/define.mjs";import{useDisposables as dt}from"./runtime/disposables.mjs";import{useElementIntersectionObserver as ft}from"./runtime/elementIntersectionObserver.mjs";import{useIntersectionObserver as pt}from"./runtime/intersectionObserver.mjs";import{getCurrentPageStackSnapshot as mt,getNavigationBarMetrics as ht,useNavigationBarMetrics as gt,usePageStack as _t}from"./runtime/pageEnvironment.mjs";import{usePageScrollThrottle as vt}from"./runtime/pageScroll.mjs";import{useAsyncPullDownRefresh as yt}from"./runtime/pullDownRefresh.mjs";import{useBoundingClientRect as bt,useScrollOffset as xt,useSelectorFields as St,useSelectorQuery as Ct}from"./runtime/selectorQuery.mjs";import{normalizeClass as wt,normalizeStyle as Tt,resolvePropValue as Et}from"./runtime/template.mjs";import{useUpdatePerformanceListener as Dt}from"./runtime/updatePerformance.mjs";import{defineAppSetup as Ot,use as kt}from"./runtime/use.mjs";import{useAttrs as At,useNativeInstance as jt,useSlots as Mt}from"./runtime/vueCompat/context.mjs";import{mergeModels as Nt,useBindModel as Pt,useChangeModel as Ft,useModel as It}from"./runtime/vueCompat/model.mjs";import{useNativePageRouter as Lt,useNativeRouter as Rt}from"./runtime/vueCompat/router.mjs";import{useTemplateRef as zt}from"./runtime/vueCompat/templateRef.mjs";import{createStore as Bt}from"./store/manager.mjs";import{defineStore as Vt}from"./store/define.mjs";import{storeToRefs as Ht}from"./store/storeToRefs.mjs";export*from"@wevu/web-apis";export{l as addMutationRecorder,t as batch,L as callHookList,R as callHookReturn,pe as callUpdateHooks,E as computed,nt as createApp,Bt as createStore,ct as createWevuComponent,lt as createWevuScopedSlotComponent,x as customRef,Ot as defineAppSetup,ut as defineComponent,Vt as defineStore,n as effect,r as effectScope,i as endBatch,z as getCurrentInstance,mt as getCurrentPageStackSnapshot,a as getCurrentScope,B as getCurrentSetupContext,we as getDeepWatchStrategy,ht as getNavigationBarMetrics,g as getReactiveVersion,rt as hasInjectionContext,it as inject,at as injectGlobal,je as isNoSetData,D as isProxy,_ as isRaw,v as isReactive,O as isReadonly,S as isRef,m as isShallowReactive,j as isShallowRef,Me as markNoSetData,y as markRaw,Nt as mergeModels,He as mountRuntimeInstance,e as nextTick,wt as normalizeClass,Tt as normalizeStyle,me as onActivated,U as onAddToFavorites,W as onAttached,he as onBeforeMount,ge as onBeforeUnmount,_e as onBeforeUpdate,ve as onDeactivated,G as onDetached,K as onError,ye as onErrorCaptured,q as onHide,J as onLaunch,Y as onLoad,X as onMemoryWarning,be as onMounted,Z as onMoved,Q as onPageNotFound,$ as onPageScroll,ee as onPullDownRefresh,te as onReachBottom,ne as onReady,re as onResize,ie as onRouteDone,ae as onSaveExitState,o as onScopeDispose,xe as onServerPrefetch,oe as onShareAppMessage,se as onShareTimeline,ce as onShow,le as onTabItemTap,ue as onThemeChange,de as onUnhandledRejection,fe as onUnload,Se as onUnmounted,Ce as onUpdated,f as prelinkReactiveTree,ot as provide,st as provideGlobal,b as reactive,k as readonly,C as ref,Ge as registerApp,tt as registerComponent,Ke as registerPageLayoutBridge,qe as registerRuntimeLayoutHosts,u as removeMutationRecorder,Ne as resetWevuDefaults,Je as resolveLayoutBridge,Ye as resolveLayoutHost,Et as resolvePropValue,Ie as resolveRuntimePageLayoutName,Ve as runSetupFunction,V as setCurrentInstance,H as setCurrentSetupContext,Te as setDeepWatchStrategy,Fe as setGlobalProvidedValue,Le as setPageLayout,Ue as setRuntimeSetDataVisibility,Pe as setWevuDefaults,h as shallowReactive,A as shallowReadonly,M as shallowRef,s as startBatch,c as stop,Ht as storeToRefs,Re as syncRuntimePageLayoutState,ze as syncRuntimePageLayoutStateFromRuntime,We as teardownRuntimeInstance,d as toRaw,P as toRef,F as toRefs,w as toValue,p as touchReactive,I as traverse,N as triggerRef,T as unref,Xe as unregisterPageLayoutBridge,Ze as unregisterRuntimeLayoutHosts,kt as use,yt as useAsyncPullDownRefresh,At as useAttrs,Pt as useBindModel,bt as useBoundingClientRect,Ft as useChangeModel,dt as useDisposables,ft as useElementIntersectionObserver,pt as useIntersectionObserver,Qe as useLayoutBridge,$e as useLayoutHosts,It as useModel,jt as useNativeInstance,Lt as useNativePageRouter,Rt as useNativeRouter,gt as useNavigationBarMetrics,Be as usePageLayout,vt as usePageScrollThrottle,_t as usePageStack,xt as useScrollOffset,St as useSelectorFields,Ct as useSelectorQuery,Mt as useSlots,zt as useTemplateRef,Dt as useUpdatePerformanceListener,Ae as version,et as waitForLayoutHost,Ee as watch,De as watchEffect,Oe as watchPostEffect,ke as watchSyncEffect};
@@ -1,3 +1,17 @@
1
- import { $ as triggerRef, A as watchPostEffect, At as unref, B as WatchOptions, Ct as MaybeRefOrGetter, Dt as isRef, Et as customRef, F as OnCleanup, G as WatchStopHandle, H as WatchSource, I as WatchCallback, J as ToRefs, K as getDeepWatchStrategy, L as WatchEffect, M as MapSources, N as MaybeUndefined, O as watch, Ot as ref, P as MultiWatchSources, Q as shallowRef, R as WatchEffectOptions, St as MaybeRef, Tt as ShallowRef, U as WatchSourceValue, V as WatchScheduler, W as WatchSources, X as toRefs, Y as toRef, Z as isShallowRef, _t as WritableComputedRef, at as batch, bt as CustomRefOptions, ct as endBatch, dt as startBatch, et as isProxy, ft as stop, gt as WritableComputedOptions, ht as ComputedSetter, it as EffectScope, j as watchSyncEffect, k as watchEffect, kt as toValue, lt as getCurrentScope, mt as ComputedRef, nt as readonly, ot as effect, pt as ComputedGetter, q as setDeepWatchStrategy, rt as shallowReadonly, st as effectScope, tt as isReadonly, ut as onScopeDispose, vt as computed, wt as Ref, xt as CustomRefSource, yt as CustomRefFactory, z as WatchMultiSources } from "./vue-types-B3N60cGV.mjs";
2
- import { _ as removeMutationRecorder, a as markRaw, c as isShallowReactive, d as prelinkReactiveTree, f as touchReactive, g as addMutationRecorder, h as MutationRecord, i as isReactive, l as shallowReactive, m as MutationOp, n as getReactiveVersion, o as reactive, p as MutationKind, r as isRaw, s as toRaw, t as traverse, u as PrelinkReactiveTreeOptions, v as nextTick } from "./traverse-B4Ez44Gd.mjs";
1
+ import { CustomRefFactory, CustomRefOptions, CustomRefSource, MaybeRef, MaybeRefOrGetter, Ref, ShallowRef, customRef, isRef, ref, toValue, unref } from "./reactivity/ref.mjs";
2
+ import { ComputedGetter, ComputedRef, ComputedSetter, WritableComputedOptions, WritableComputedRef, computed } from "./reactivity/computed.mjs";
3
+ import { nextTick } from "./scheduler.mjs";
4
+ import { EffectScope, batch, effect, effectScope, endBatch, getCurrentScope, onScopeDispose, startBatch, stop } from "./reactivity/core.mjs";
5
+ import { MutationKind, MutationOp, MutationRecord, addMutationRecorder, removeMutationRecorder } from "./reactivity/reactive/mutation.mjs";
6
+ import { PrelinkReactiveTreeOptions, prelinkReactiveTree, touchReactive } from "./reactivity/reactive/patch.mjs";
7
+ import { isShallowReactive, shallowReactive } from "./reactivity/reactive/shallow.mjs";
8
+ import { toRaw } from "./reactivity/reactive/shared.mjs";
9
+ import { getReactiveVersion, isRaw, isReactive, markRaw, reactive } from "./reactivity/reactive.mjs";
10
+ import { isProxy, isReadonly, readonly, shallowReadonly } from "./reactivity/readonly.mjs";
11
+ import { isShallowRef, shallowRef, triggerRef } from "./reactivity/shallowRef.mjs";
12
+ import { ToRefs, toRef, toRefs } from "./reactivity/toRefs.mjs";
13
+ import { traverse } from "./reactivity/traverse.mjs";
14
+ import { MapSources, MaybeUndefined, MultiWatchSources, OnCleanup, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, getDeepWatchStrategy, setDeepWatchStrategy } from "./reactivity/watch/types.mjs";
15
+ import { watch, watchEffect, watchPostEffect, watchSyncEffect } from "./reactivity/watch.mjs";
16
+ import "./reactivity/index.mjs";
3
17
  export { type ComputedGetter, type ComputedRef, type ComputedSetter, type CustomRefFactory, type CustomRefOptions, type CustomRefSource, type EffectScope, type MapSources, type MaybeRef, type MaybeRefOrGetter, type MaybeUndefined, type MultiWatchSources, type MutationKind, type MutationOp, type MutationRecord, type OnCleanup, type PrelinkReactiveTreeOptions, type Ref, type ShallowRef, type ToRefs, type WatchCallback, type WatchEffect, type WatchEffectOptions, type WatchMultiSources, type WatchOptions, type WatchScheduler, type WatchSource, type WatchSourceValue, type WatchSources, type WatchStopHandle, type WritableComputedOptions, type WritableComputedRef, addMutationRecorder, batch, computed, customRef, effect, effectScope, endBatch, getCurrentScope, getDeepWatchStrategy, getReactiveVersion, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, markRaw, nextTick, onScopeDispose, prelinkReactiveTree, reactive, readonly, ref, removeMutationRecorder, setDeepWatchStrategy, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, watch, watchEffect, watchPostEffect, watchSyncEffect };
@@ -1 +1 @@
1
- import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,p as c,r as l,s as u,t as d,u as f}from"./watch-Bbd-gmEg.mjs";import{A as p,F as m,I as h,L as g,M as _,N as v,P as y,R as b,a as x,c as S,d as C,i as w,j as T,k as E,l as D,n as O,o as k,s as A,t as j,u as M,v as N}from"./ref-D37CknuD.mjs";import{i as P,r as F,t as I}from"./computed-Xoi9XEUx.mjs";import{S as L,b as R,x as z,y as B}from"./base-BxKbbKVO.mjs";import{n as V,t as H}from"./toRefs-CoytPyo0.mjs";export{E as addMutationRecorder,T as batch,I as computed,j as customRef,_ as effect,v as effectScope,y as endBatch,m as getCurrentScope,e as getDeepWatchStrategy,A as getReactiveVersion,B as isProxy,S as isRaw,D as isReactive,R as isReadonly,O as isRef,n as isShallowReactive,t as isShallowRef,M as markRaw,c as nextTick,h as onScopeDispose,F as prelinkReactiveTree,C as reactive,z as readonly,w as ref,p as removeMutationRecorder,s as setDeepWatchStrategy,r as shallowReactive,L as shallowReadonly,a as shallowRef,g as startBatch,b as stop,N as toRaw,H as toRef,V as toRefs,x as toValue,P as touchReactive,u as traverse,f as triggerRef,k as unref,d as watch,o as watchEffect,l as watchPostEffect,i as watchSyncEffect};
1
+ import{nextTick as e}from"./scheduler.mjs";import{batch as t,effect as n,effectScope as r,endBatch as i,getCurrentScope as a,onScopeDispose as o,startBatch as s,stop as c}from"./reactivity/core.mjs";import{addMutationRecorder as l,removeMutationRecorder as u}from"./reactivity/reactive/mutation.mjs";import{toRaw as d}from"./reactivity/reactive/shared.mjs";import{prelinkReactiveTree as f,touchReactive as p}from"./reactivity/reactive/patch.mjs";import{isShallowReactive as m,shallowReactive as h}from"./reactivity/reactive/shallow.mjs";import{getReactiveVersion as g,isRaw as _,isReactive as v,markRaw as y,reactive as b}from"./reactivity/reactive.mjs";import{customRef as x,isRef as S,ref as C,toValue as w,unref as T}from"./reactivity/ref.mjs";import{computed as E}from"./reactivity/computed.mjs";import{isProxy as D,isReadonly as O,readonly as k,shallowReadonly as A}from"./reactivity/readonly.mjs";import{isShallowRef as j,shallowRef as M,triggerRef as N}from"./reactivity/shallowRef.mjs";import{toRef as P,toRefs as F}from"./reactivity/toRefs.mjs";import{traverse as I}from"./reactivity/traverse.mjs";import{getDeepWatchStrategy as L,setDeepWatchStrategy as R}from"./reactivity/watch/types.mjs";import{watch as z,watchEffect as B,watchPostEffect as V,watchSyncEffect as H}from"./reactivity/watch.mjs";export{l as addMutationRecorder,t as batch,E as computed,x as customRef,n as effect,r as effectScope,i as endBatch,a as getCurrentScope,L as getDeepWatchStrategy,g as getReactiveVersion,D as isProxy,_ as isRaw,v as isReactive,O as isReadonly,S as isRef,m as isShallowReactive,j as isShallowRef,y as markRaw,e as nextTick,o as onScopeDispose,f as prelinkReactiveTree,b as reactive,k as readonly,C as ref,u as removeMutationRecorder,R as setDeepWatchStrategy,h as shallowReactive,A as shallowReadonly,M as shallowRef,s as startBatch,c as stop,d as toRaw,P as toRef,F as toRefs,w as toValue,p as touchReactive,I as traverse,N as triggerRef,T as unref,z as watch,B as watchEffect,V as watchPostEffect,H as watchSyncEffect};
@@ -1,2 +1,35 @@
1
- import { $ as registerApp, $t as onUpdated, A as useSlots, Cn as onUnload, Ct as getCurrentPageStackSnapshot, D as useModel, Dn as getCurrentSetupContext, Dt as isNoSetData, E as useChangeModel, En as getCurrentInstance, Et as usePageStack, G as useScrollOffset, Gt as onBeforeMount, Ht as useIntersectionObserver, I as useUpdatePerformanceListener, J as runSetupFunction, Jn as defineComponent, Jt as onDeactivated, K as useSelectorFields, Kn as createWevuComponent, Kt as onBeforeUnmount, Lt as useLayoutBridge, M as use, Nn as useElementIntersectionObserver, Nt as resolveLayoutBridge, O as useAttrs, On as setCurrentInstance, Ot as markNoSetData, Pt as resolveLayoutHost, Q as registerComponent, Qn as createApp, Qt as onUnmounted, Rn as useDisposables, Rt as useLayoutHosts, Sn as onUnhandledRejection, T as useBindModel, Tn as callHookReturn, Tt as useNavigationBarMetrics, W as useBoundingClientRect, Wt as onActivated, X as setRuntimeSetDataVisibility, Xn as resetWevuDefaults, Xt as onMounted, Y as mountRuntimeInstance, Yt as onErrorCaptured, Z as teardownRuntimeInstance, Zn as setWevuDefaults, Zt as onServerPrefetch, _n as onShareAppMessage, _t as syncRuntimePageLayoutStateFromRuntime, an as onLaunch, at as injectGlobal, b as useNativePageRouter, bn as onTabItemTap, cn as onMoved, ct as setGlobalProvidedValue, dn as onPullDownRefresh, dt as usePageScrollThrottle, en as onAddToFavorites, fn as onReachBottom, gn as onSaveExitState, gt as syncRuntimePageLayoutState, hn as onRouteDone, ht as setPageLayout, in as onHide, it as inject, j as defineAppSetup, k as useNativeInstance, kn as setCurrentSetupContext, ln as onPageNotFound, mn as onResize, mt as resolveRuntimePageLayoutName, nn as onDetached, nt as useAsyncPullDownRefresh, on as onLoad, ot as provide, pn as onReady, q as useSelectorQuery, qn as createWevuScopedSlotComponent, qt as onBeforeUpdate, rn as onError, rt as hasInjectionContext, sn as onMemoryWarning, st as provideGlobal, t as version, tn as onAttached, un as onPageScroll, vn as onShareTimeline, vt as usePageLayout, w as mergeModels, wn as callHookList, wt as getNavigationBarMetrics, x as useNativeRouter, xn as onThemeChange, y as useTemplateRef, yn as onShow, zt as waitForLayoutHost } from "./index-BiHILcmb.mjs";
2
- export { callHookList, callHookReturn, createApp, createWevuComponent, createWevuScopedSlotComponent, defineAppSetup, defineComponent, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentSetupContext, getNavigationBarMetrics, hasInjectionContext, inject, injectGlobal, isNoSetData, markNoSetData, mergeModels, mountRuntimeInstance, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, provide, provideGlobal, registerApp, registerComponent, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost };
1
+ import { createApp } from "./runtime/app.mjs";
2
+ import { resetWevuDefaults, setWevuDefaults } from "./runtime/defaults.mjs";
3
+ import { createWevuComponent, createWevuScopedSlotComponent, defineComponent } from "./runtime/define.mjs";
4
+ import { useDisposables } from "./runtime/disposables.mjs";
5
+ import { useElementIntersectionObserver } from "./runtime/elementIntersectionObserver.mjs";
6
+ import { callHookList, callHookReturn, getCurrentInstance, getCurrentSetupContext, setCurrentInstance, setCurrentSetupContext } from "./runtime/hooks/base.mjs";
7
+ import { onAddToFavorites, onAttached, onDetached, onError, onHide, onLaunch, onLoad, onMemoryWarning, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload } from "./runtime/hooks/register.mjs";
8
+ import { onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onServerPrefetch, onUnmounted, onUpdated } from "./runtime/hooks/vue.mjs";
9
+ import "./runtime/hooks.mjs";
10
+ import { useIntersectionObserver } from "./runtime/intersectionObserver.mjs";
11
+ import { resolveLayoutBridge, resolveLayoutHost, useLayoutBridge, useLayoutHosts, waitForLayoutHost } from "./runtime/layoutBridge.mjs";
12
+ import { isNoSetData, markNoSetData } from "./runtime/noSetData.mjs";
13
+ import { getCurrentPageStackSnapshot, getNavigationBarMetrics, useNavigationBarMetrics, usePageStack } from "./runtime/pageEnvironment.mjs";
14
+ import { resolveRuntimePageLayoutName, setPageLayout, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, usePageLayout } from "./runtime/pageLayout.mjs";
15
+ import { usePageScrollThrottle } from "./runtime/pageScroll.mjs";
16
+ import { setGlobalProvidedValue } from "./runtime/provideStore.mjs";
17
+ import { hasInjectionContext, inject, injectGlobal, provide, provideGlobal } from "./runtime/provide.mjs";
18
+ import { useAsyncPullDownRefresh } from "./runtime/pullDownRefresh.mjs";
19
+ import { registerApp } from "./runtime/register/app.mjs";
20
+ import { registerComponent } from "./runtime/register/component.mjs";
21
+ import { mountRuntimeInstance, setRuntimeSetDataVisibility, teardownRuntimeInstance } from "./runtime/register/runtimeInstance.mjs";
22
+ import { runSetupFunction } from "./runtime/register/setup.mjs";
23
+ import "./runtime/register.mjs";
24
+ import { useBoundingClientRect, useScrollOffset, useSelectorFields, useSelectorQuery } from "./runtime/selectorQuery.mjs";
25
+ import { useUpdatePerformanceListener } from "./runtime/updatePerformance.mjs";
26
+ import { defineAppSetup, use } from "./runtime/use.mjs";
27
+ import { useAttrs, useNativeInstance, useSlots } from "./runtime/vueCompat/context.mjs";
28
+ import { mergeModels, useBindModel, useChangeModel, useModel } from "./runtime/vueCompat/model.mjs";
29
+ import { useNativePageRouter, useNativeRouter } from "./runtime/vueCompat/router.mjs";
30
+ import { useTemplateRef } from "./runtime/vueCompat/templateRef.mjs";
31
+ import "./runtime/vueCompat.mjs";
32
+ import { version } from "./version.mjs";
33
+ import { takePendingRuntimeAppRegistration } from "./runtime/app/pending.mjs";
34
+ import { createUniAppHost } from "./runtime/uniAppHost.mjs";
35
+ export { callHookList, callHookReturn, createApp, createUniAppHost, createWevuComponent, createWevuScopedSlotComponent, defineAppSetup, defineComponent, getCurrentInstance, getCurrentPageStackSnapshot, getCurrentSetupContext, getNavigationBarMetrics, hasInjectionContext, inject, injectGlobal, isNoSetData, markNoSetData, mergeModels, mountRuntimeInstance, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, provide, provideGlobal, registerApp, registerComponent, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, takePendingRuntimeAppRegistration, teardownRuntimeInstance, use, useAsyncPullDownRefresh, useAttrs, useBindModel, useBoundingClientRect, useChangeModel, useDisposables, useElementIntersectionObserver, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, useNavigationBarMetrics, usePageLayout, usePageScrollThrottle, usePageStack, useScrollOffset, useSelectorFields, useSelectorQuery, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost };
@@ -1 +1 @@
1
- import{c as e,d as t,n,r,s as i,u as a}from"./base-BxKbbKVO.mjs";import{$ as o,B as s,F as c,G as l,H as u,I as d,J as f,K as p,L as m,P as h,Q as g,R as _,U as v,V as y,W as b,X as x,Y as S,Z as C,_ as w,et as T,g as E,h as D,it as O,n as k,nt as A,q as j,rt as M,t as N,tt as P,v as F,y as I,z as L}from"./router-D4W4lEXM.mjs";import{$ as R,B as z,C as B,D as V,E as H,G as U,H as W,I as G,J as K,K as q,L as J,M as Y,N as X,O as Z,Q,R as $,S as ee,T as te,U as ne,V as re,W as ie,X as ae,Y as oe,Z as se,_ as ce,a as le,at as ue,b as de,c as fe,ct as pe,d as me,f as he,g as ge,h as _e,i as ve,it as ye,k as be,l as xe,lt as Se,m as Ce,n as we,nt as Te,o as Ee,ot as De,p as Oe,q as ke,r as Ae,rt as je,s as Me,st as Ne,t as Pe,tt as Fe,u as Ie,ut as Le,v as Re,w as ze,x as Be,y as Ve,z as He}from"./templateRef-DOTHWzZ5.mjs";export{n as callHookList,r as callHookReturn,Z as createApp,te as createWevuComponent,H as createWevuScopedSlotComponent,xe as defineAppSetup,V as defineComponent,i as getCurrentInstance,Re as getCurrentPageStackSnapshot,e as getCurrentSetupContext,Ve as getNavigationBarMetrics,D as hasInjectionContext,E as inject,w as injectGlobal,se as isNoSetData,Q as markNoSetData,we as mergeModels,z as mountRuntimeInstance,Fe as onActivated,c as onAddToFavorites,d as onAttached,Te as onBeforeMount,je as onBeforeUnmount,ye as onBeforeUpdate,ue as onDeactivated,m as onDetached,_ as onError,De as onErrorCaptured,L as onHide,s as onLaunch,y as onLoad,u as onMemoryWarning,Ne as onMounted,v as onMoved,b as onPageNotFound,l as onPageScroll,p as onPullDownRefresh,j as onReachBottom,f as onReady,S as onResize,x as onRouteDone,C as onSaveExitState,pe as onServerPrefetch,g as onShareAppMessage,o as onShareTimeline,T as onShow,P as onTabItemTap,A as onThemeChange,M as onUnhandledRejection,O as onUnload,Se as onUnmounted,Le as onUpdated,F as provide,I as provideGlobal,He as registerApp,be as registerComponent,oe as resetWevuDefaults,Y as resolveLayoutBridge,X as resolveLayoutHost,ie as resolveRuntimePageLayoutName,ne as runSetupFunction,a as setCurrentInstance,t as setCurrentSetupContext,h as setGlobalProvidedValue,U as setPageLayout,re as setRuntimeSetDataVisibility,ae as setWevuDefaults,q as syncRuntimePageLayoutState,ke as syncRuntimePageLayoutStateFromRuntime,W as teardownRuntimeInstance,Ie as use,ge as useAsyncPullDownRefresh,Ee as useAttrs,Ae as useBindModel,he as useBoundingClientRect,ve as useChangeModel,ze as useDisposables,B as useElementIntersectionObserver,ee as useIntersectionObserver,G as useLayoutBridge,J as useLayoutHosts,le as useModel,Me as useNativeInstance,N as useNativePageRouter,k as useNativeRouter,de as useNavigationBarMetrics,K as usePageLayout,ce as usePageScrollThrottle,Be as usePageStack,Oe as useScrollOffset,Ce as useSelectorFields,_e as useSelectorQuery,fe as useSlots,Pe as useTemplateRef,me as useUpdatePerformanceListener,R as version,$ as waitForLayoutHost};
1
+ import{callHookList as e,callHookReturn as t,getCurrentInstance as n,getCurrentSetupContext as r,setCurrentInstance as i,setCurrentSetupContext as a}from"./runtime/hooks/base.mjs";import{onAddToFavorites as o,onAttached as s,onDetached as c,onError as l,onHide as u,onLaunch as d,onLoad as f,onMemoryWarning as p,onMoved as m,onPageNotFound as h,onPageScroll as g,onPullDownRefresh as _,onReachBottom as v,onReady as y,onResize as b,onRouteDone as x,onSaveExitState as S,onShareAppMessage as C,onShareTimeline as w,onShow as T,onTabItemTap as E,onThemeChange as D,onUnhandledRejection as O,onUnload as k}from"./runtime/hooks/register.mjs";import{onActivated as A,onBeforeMount as j,onBeforeUnmount as M,onBeforeUpdate as N,onDeactivated as P,onErrorCaptured as F,onMounted as I,onServerPrefetch as L,onUnmounted as R,onUpdated as z}from"./runtime/hooks/vue.mjs";import{version as B}from"./version.mjs";import{isNoSetData as V,markNoSetData as H}from"./runtime/noSetData.mjs";import{takePendingRuntimeAppRegistration as U}from"./runtime/app/pending.mjs";import{resetWevuDefaults as W,setWevuDefaults as G}from"./runtime/defaults.mjs";import{setGlobalProvidedValue as K}from"./runtime/provideStore.mjs";import{resolveRuntimePageLayoutName as q,setPageLayout as J,syncRuntimePageLayoutState as Y,syncRuntimePageLayoutStateFromRuntime as X,usePageLayout as Z}from"./runtime/pageLayout.mjs";import{runSetupFunction as Q}from"./runtime/register/setup.mjs";import{mountRuntimeInstance as $,setRuntimeSetDataVisibility as ee,teardownRuntimeInstance as te}from"./runtime/register/runtimeInstance.mjs";import{registerApp as ne}from"./runtime/register/app.mjs";import{resolveLayoutBridge as re,resolveLayoutHost as ie,useLayoutBridge as ae,useLayoutHosts as oe,waitForLayoutHost as se}from"./runtime/layoutBridge.mjs";import{registerComponent as ce}from"./runtime/register/component.mjs";import{createApp as le}from"./runtime/app.mjs";import{hasInjectionContext as ue,inject as de,injectGlobal as fe,provide as pe,provideGlobal as me}from"./runtime/provide.mjs";import{createWevuComponent as he,createWevuScopedSlotComponent as ge,defineComponent as _e}from"./runtime/define.mjs";import{useDisposables as ve}from"./runtime/disposables.mjs";import{useElementIntersectionObserver as ye}from"./runtime/elementIntersectionObserver.mjs";import{useIntersectionObserver as be}from"./runtime/intersectionObserver.mjs";import{getCurrentPageStackSnapshot as xe,getNavigationBarMetrics as Se,useNavigationBarMetrics as Ce,usePageStack as we}from"./runtime/pageEnvironment.mjs";import{usePageScrollThrottle as Te}from"./runtime/pageScroll.mjs";import{useAsyncPullDownRefresh as Ee}from"./runtime/pullDownRefresh.mjs";import{useBoundingClientRect as De,useScrollOffset as Oe,useSelectorFields as ke,useSelectorQuery as Ae}from"./runtime/selectorQuery.mjs";import{useUpdatePerformanceListener as je}from"./runtime/updatePerformance.mjs";import{defineAppSetup as Me,use as Ne}from"./runtime/use.mjs";import{useAttrs as Pe,useNativeInstance as Fe,useSlots as Ie}from"./runtime/vueCompat/context.mjs";import{mergeModels as Le,useBindModel as Re,useChangeModel as ze,useModel as Be}from"./runtime/vueCompat/model.mjs";import{useNativePageRouter as Ve,useNativeRouter as He}from"./runtime/vueCompat/router.mjs";import{useTemplateRef as Ue}from"./runtime/vueCompat/templateRef.mjs";import{createUniAppHost as We}from"./runtime/uniAppHost.mjs";export{e as callHookList,t as callHookReturn,le as createApp,We as createUniAppHost,he as createWevuComponent,ge as createWevuScopedSlotComponent,Me as defineAppSetup,_e as defineComponent,n as getCurrentInstance,xe as getCurrentPageStackSnapshot,r as getCurrentSetupContext,Se as getNavigationBarMetrics,ue as hasInjectionContext,de as inject,fe as injectGlobal,V as isNoSetData,H as markNoSetData,Le as mergeModels,$ as mountRuntimeInstance,A as onActivated,o as onAddToFavorites,s as onAttached,j as onBeforeMount,M as onBeforeUnmount,N as onBeforeUpdate,P as onDeactivated,c as onDetached,l as onError,F as onErrorCaptured,u as onHide,d as onLaunch,f as onLoad,p as onMemoryWarning,I as onMounted,m as onMoved,h as onPageNotFound,g as onPageScroll,_ as onPullDownRefresh,v as onReachBottom,y as onReady,b as onResize,x as onRouteDone,S as onSaveExitState,L as onServerPrefetch,C as onShareAppMessage,w as onShareTimeline,T as onShow,E as onTabItemTap,D as onThemeChange,O as onUnhandledRejection,k as onUnload,R as onUnmounted,z as onUpdated,pe as provide,me as provideGlobal,ne as registerApp,ce as registerComponent,W as resetWevuDefaults,re as resolveLayoutBridge,ie as resolveLayoutHost,q as resolveRuntimePageLayoutName,Q as runSetupFunction,i as setCurrentInstance,a as setCurrentSetupContext,K as setGlobalProvidedValue,J as setPageLayout,ee as setRuntimeSetDataVisibility,G as setWevuDefaults,Y as syncRuntimePageLayoutState,X as syncRuntimePageLayoutStateFromRuntime,U as takePendingRuntimeAppRegistration,te as teardownRuntimeInstance,Ne as use,Ee as useAsyncPullDownRefresh,Pe as useAttrs,Re as useBindModel,De as useBoundingClientRect,ze as useChangeModel,ve as useDisposables,ye as useElementIntersectionObserver,be as useIntersectionObserver,ae as useLayoutBridge,oe as useLayoutHosts,Be as useModel,Fe as useNativeInstance,Ve as useNativePageRouter,He as useNativeRouter,Ce as useNavigationBarMetrics,Z as usePageLayout,Te as usePageScrollThrottle,we as usePageStack,Oe as useScrollOffset,ke as useSelectorFields,Ae as useSelectorQuery,Ie as useSlots,Ue as useTemplateRef,je as useUpdatePerformanceListener,B as version,se as waitForLayoutHost};
@@ -1,2 +1,2 @@
1
- import { n as normalizeStyle, r as resolvePropValue, t as normalizeClass } from "./template-DE8e5dj_.mjs";
1
+ import { normalizeClass, normalizeStyle, resolvePropValue } from "./runtime/template.mjs";
2
2
  export { normalizeClass, normalizeStyle, resolvePropValue };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"./template-CNzlwH-E.mjs";export{n as normalizeClass,e as normalizeStyle,t as resolvePropValue};
1
+ import{normalizeClass as e,normalizeStyle as t,resolvePropValue as n}from"./runtime/template.mjs";export{e as normalizeClass,t as normalizeStyle,n as resolvePropValue};
@@ -1,4 +1,4 @@
1
- import { n as MiniProgramIntrinsicElements } from "./weappIntrinsicElements-BgDtC53_.mjs";
1
+ import { MiniProgramIntrinsicElements } from "./weappIntrinsicElements.mjs";
2
2
  import { GlobalComponents } from "wevu";
3
3
  //#region src/jsx-runtime.d.ts
4
4
  declare namespace JSX {
@@ -0,0 +1,81 @@
1
+ import { HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramTriggerEventOptions } from "../runtime/types/miniprogramHost.mjs";
2
+ import { MiniProgramComponentInstance, MiniProgramComponentPropertyValue } from "../runtime/types/miniprogram.mjs";
3
+ import { ComponentPropsOptions, InferProps } from "../runtime/types/props/propTypes.mjs";
4
+ import { ComputedDefinitions, MethodDefinitions } from "../runtime/types/core.mjs";
5
+ import { DefineComponentOptions } from "../runtime/types/options.mjs";
6
+ import "../runtime/index.mjs";
7
+ //#region src/macros/shared.d.ts
8
+ type Prettify<T> = { [K in keyof T]: T[K]; } & {};
9
+ type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
10
+ type ComponentObjectPropsOptions = ComponentPropsOptions;
11
+ type ExtractPropTypes<P extends ComponentObjectPropsOptions> = InferProps<P>;
12
+ type DefineProps<T, BKeys extends keyof T> = Readonly<T> & { readonly [K in BKeys]-?: boolean; };
13
+ type BooleanKey<T, K extends keyof T = keyof T> = K extends any ? T[K] extends boolean | undefined ? T[K] extends never | undefined ? never : K : never : never;
14
+ type DefinePropsFromArray<PropNames extends string = string> = Prettify<Readonly<{ [key in PropNames]?: any; }>>;
15
+ type DefinePropsFromOptions<PP extends ComponentObjectPropsOptions = ComponentObjectPropsOptions> = Prettify<Readonly<ExtractPropTypes<PP>>>;
16
+ type NotUndefined<T> = T extends undefined ? never : T;
17
+ type MappedOmit<T, K extends keyof any> = { [P in keyof T as P extends K ? never : P]: T[P]; };
18
+ type InferDefaults<T> = { [K in keyof T]?: InferDefault<T, T[K]>; };
19
+ type NativeType = null | undefined | number | string | boolean | symbol | ((...args: any[]) => any);
20
+ type InferDefault<P, T> = ((props: P) => T & {}) | (T extends NativeType ? T : never);
21
+ type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof T> = T extends unknown ? Readonly<MappedOmit<T, keyof Defaults>> & { readonly [K in keyof Defaults as K extends keyof T ? K : never]-?: K extends keyof T ? Defaults[K] extends undefined ? IfAny<Defaults[K], NotUndefined<T[K]>, T[K]> : NotUndefined<T[K]> : never; } & { readonly [K in BKeys]-?: K extends keyof Defaults ? Defaults[K] extends undefined ? boolean | undefined : boolean : boolean; } : never;
22
+ type UnionToIntersection<U> = (U extends any ? (arg: U) => any : never) extends ((arg: infer I) => any) ? I : never;
23
+ type ScriptSetupTriggerEventOptions = HostMiniProgramTriggerEventOptions;
24
+ type EmitArgsWithTriggerEventOptions<Args extends any[]> = Args extends [] ? [] | [detail: undefined, options: ScriptSetupTriggerEventOptions] : Args | [...args: Args, options: ScriptSetupTriggerEventOptions];
25
+ type ObjectEmitsOptions = Record<string, ((...args: any[]) => any) | null>;
26
+ type EmitsOptions = ObjectEmitsOptions | string[];
27
+ type EmitFn<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : {} extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{ [K in Event]: Options[K] extends ((...args: infer Args) => any) ? (event: K, ...args: EmitArgsWithTriggerEventOptions<Args>) => void : Options[K] extends any[] ? (event: K, ...args: EmitArgsWithTriggerEventOptions<Options[K]>) => void : (event: K, ...args: any[]) => void; }[Event]>;
28
+ type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any>;
29
+ type RecordToUnion<T extends Record<string, any>> = T[keyof T];
30
+ type ShortEmits<T extends Record<string, any>> = UnionToIntersection<RecordToUnion<{ [K in keyof T]: (evt: K, ...args: EmitArgsWithTriggerEventOptions<T[K]>) => void; }>>;
31
+ type ScriptSetupNativePropertyOption = HostMiniProgramComponentPropertyOption;
32
+ type ScriptSetupNativeMethodOption = HostMiniProgramComponentMethodOption;
33
+ type ScriptSetupNativeBehaviorOption = HostMiniProgramComponentEmptyArray;
34
+ type ScriptSetupNativeInstance<D extends object, P extends ScriptSetupNativePropertyOption, M extends ScriptSetupNativeMethodOption> = MiniProgramComponentInstance<D, P, M, ScriptSetupNativeBehaviorOption>;
35
+ type ScriptSetupObservedProperty<TProperty extends HostMiniProgramComponentAllFullProperty, TInstance> = Omit<TProperty, 'observer'> & {
36
+ observer?: string | ((this: TInstance, newVal: MiniProgramComponentPropertyValue<TProperty>, oldVal: MiniProgramComponentPropertyValue<TProperty>, changedPath: Array<string | number>) => void);
37
+ };
38
+ type ScriptSetupPropertyObserver<TProperty extends HostMiniProgramComponentAllProperty, TInstance> = TProperty extends (infer TCurrent extends HostMiniProgramComponentAllFullProperty) ? ScriptSetupObservedProperty<TCurrent, TInstance> : TProperty;
39
+ type ScriptSetupNativeProperties<D extends object, P extends ScriptSetupNativePropertyOption, M extends ScriptSetupNativeMethodOption> = { [K in keyof P]: ScriptSetupPropertyObserver<P[K], ScriptSetupNativeInstance<D, P, M>>; };
40
+ type ScriptSetupNativeMethods<D extends object, P extends ScriptSetupNativePropertyOption, M extends ScriptSetupNativeMethodOption> = M & ThisType<ScriptSetupNativeInstance<D, P, M>>;
41
+ type RemoveIndexSignature<T> = { [K in keyof T as string extends K ? never : number extends K ? never : symbol extends K ? never : K]: T[K]; };
42
+ type ScriptSetupDefineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends ScriptSetupNativePropertyOption = ScriptSetupNativePropertyOption> = Omit<RemoveIndexSignature<DefineComponentOptions<ComponentPropsOptions, D, C, M>>, 'props' | 'options' | 'data' | 'methods'> & {
43
+ /**
44
+ * props 必须通过 defineProps() 声明。
45
+ */
46
+ props?: never;
47
+ /**
48
+ * emits 必须通过 defineEmits() 声明。
49
+ */
50
+ emits?: never;
51
+ /**
52
+ * expose 必须通过 defineExpose() 声明。
53
+ */
54
+ expose?: never;
55
+ /**
56
+ * slots 必须通过 defineSlots() 声明。
57
+ */
58
+ slots?: never;
59
+ /**
60
+ * 小程序 Component 选项(multipleSlots/styleIsolation 等)。
61
+ */
62
+ options?: HostMiniProgramComponentBehaviorOptions;
63
+ /**
64
+ * 小程序原生 properties。
65
+ */
66
+ properties?: ScriptSetupNativeProperties<D, P, M>;
67
+ /**
68
+ * 小程序原生 data。
69
+ */
70
+ data?: D | (() => D);
71
+ /**
72
+ * 小程序原生 methods。
73
+ */
74
+ methods?: ScriptSetupNativeMethods<D, P, M>;
75
+ /**
76
+ * setup 执行时机(默认 attached)。
77
+ */
78
+ setupLifecycle?: 'created' | 'attached';
79
+ };
80
+ //#endregion
81
+ export { BooleanKey, ComponentTypeEmits, DefineProps, DefinePropsFromArray, DefinePropsFromOptions, EmitFn, EmitsOptions, InferDefaults, Prettify, PropsWithDefaults, ScriptSetupDefineOptions, ShortEmits, UnionToIntersection };
@@ -0,0 +1,70 @@
1
+ import { HostMiniProgramComponentPropertyOption } from "./runtime/types/miniprogramHost.mjs";
2
+ import { ComponentPropsOptions } from "./runtime/types/props/propTypes.mjs";
3
+ import { Ref } from "./reactivity/ref.mjs";
4
+ import "./reactivity/index.mjs";
5
+ import { ComputedDefinitions, MethodDefinitions } from "./runtime/types/core.mjs";
6
+ import "./runtime/index.mjs";
7
+ import { BooleanKey, ComponentTypeEmits, DefineProps, DefinePropsFromArray, DefinePropsFromOptions, EmitFn, EmitsOptions, InferDefaults, PropsWithDefaults, ScriptSetupDefineOptions, ShortEmits } from "./macros/shared.mjs";
8
+ //#region src/macros.d.ts
9
+ /**
10
+ * defineProps 声明(类型层宏)。
11
+ */
12
+ declare function defineProps<PropNames extends string = string>(props: PropNames[]): DefinePropsFromArray<PropNames>;
13
+ declare function defineProps<PP extends ComponentPropsOptions = ComponentPropsOptions>(props: PP): DefinePropsFromOptions<PP>;
14
+ declare function defineProps<TypeProps>(): DefineProps<TypeProps, BooleanKey<TypeProps>>;
15
+ /**
16
+ * withDefaults 为 defineProps 声明默认值(类型层)。
17
+ */
18
+ declare function withDefaults<T, BKeys extends keyof T, Defaults extends InferDefaults<T>>(props: DefineProps<T, BKeys>, defaults: Defaults): PropsWithDefaults<T, Defaults, BKeys>;
19
+ /**
20
+ * defineEmits 声明(类型层宏)。
21
+ */
22
+ declare function defineEmits<EE extends string = string>(emits?: EE[]): EmitFn<EE[]>;
23
+ declare function defineEmits<E extends EmitsOptions = EmitsOptions>(emits?: E): EmitFn<E>;
24
+ declare function defineEmits<T extends ComponentTypeEmits>(): T extends ((...args: any[]) => any) ? T : ShortEmits<T>;
25
+ /**
26
+ * defineExpose 向父级 ref 暴露成员(仅类型层)。
27
+ */
28
+ declare function defineExpose<T extends Record<string, any> = Record<string, any>>(exposed?: T): void;
29
+ /**
30
+ * defineOptions 设置 `<script setup>` 组件选项(仅类型层)。
31
+ */
32
+ declare function defineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends HostMiniProgramComponentPropertyOption = HostMiniProgramComponentPropertyOption>(options?: ScriptSetupDefineOptions<D, C, M, P>): void;
33
+ declare function defineOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P extends HostMiniProgramComponentPropertyOption = HostMiniProgramComponentPropertyOption>(options?: () => ScriptSetupDefineOptions<D, C, M, P> | Promise<ScriptSetupDefineOptions<D, C, M, P>>): void;
34
+ /**
35
+ * defineSlots 声明 slots 类型(仅类型层)。
36
+ */
37
+ declare function defineSlots<T extends Record<string, any> = Record<string, any>>(): T;
38
+ type PageLayoutMeta = string | false | {
39
+ name: string;
40
+ props?: Record<string, unknown>;
41
+ };
42
+ interface PageMeta {
43
+ layout?: PageLayoutMeta;
44
+ [key: string]: unknown;
45
+ }
46
+ /**
47
+ * definePageMeta 声明页面级元信息(仅类型层)。
48
+ */
49
+ declare function definePageMeta(meta: PageMeta): void;
50
+ /**
51
+ * defineModel 声明 v-model 绑定(类型层宏)。
52
+ */
53
+ type DefineModelModifiers<M extends PropertyKey = string> = Record<M, true | undefined>;
54
+ type ModelRef<T, M extends PropertyKey = string, G = T, S = T> = Ref<G, S> & [ModelRef<T, M, G, S>, DefineModelModifiers<M>];
55
+ interface DefineModelTransformOptions<T, M extends PropertyKey = string, G = T, S = T> {
56
+ get?: (value: T, modifiers: DefineModelModifiers<M>) => G;
57
+ set?: (value: S, modifiers: DefineModelModifiers<M>) => T;
58
+ }
59
+ type DefineModelBaseOptions<T, M extends PropertyKey = string, G = T, S = T> = Record<string, any> & DefineModelTransformOptions<T, M, G, S>;
60
+ type DefineModelRequiredOptions<T> = {
61
+ default: T | (() => T);
62
+ } | {
63
+ required: true;
64
+ };
65
+ declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(options: DefineModelBaseOptions<T, M, G, S> & DefineModelRequiredOptions<T>): ModelRef<T, M, G, S>;
66
+ declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(name: string, options: DefineModelBaseOptions<T, M, G, S> & DefineModelRequiredOptions<T>): ModelRef<T, M, G, S>;
67
+ declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(options?: DefineModelBaseOptions<T | undefined, M, G | undefined, S | undefined>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
68
+ declare function defineModel<T = any, M extends PropertyKey = string, G = T, S = T>(name?: string, options?: DefineModelBaseOptions<T | undefined, M, G | undefined, S | undefined>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
69
+ //#endregion
70
+ export { type ComponentTypeEmits, DefineModelModifiers, DefineModelTransformOptions, type EmitFn, type EmitsOptions, ModelRef, PageLayoutMeta, PageMeta, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, withDefaults };
@@ -0,0 +1 @@
1
+ var e=`6.19.0`;export{e as version};
@@ -0,0 +1,21 @@
1
+ import { Ref } from "./ref.mjs";
2
+ //#region src/reactivity/computed.d.ts
3
+ type ComputedGetter<T> = () => T;
4
+ type ComputedSetter<T> = (value: T) => void;
5
+ interface BaseComputedRef<T, S = T> extends Ref<T, S> {
6
+ [key: symbol]: any;
7
+ }
8
+ interface ComputedRef<T = any> extends BaseComputedRef<T> {
9
+ readonly value: T;
10
+ }
11
+ interface WritableComputedRef<T, S = T> extends BaseComputedRef<T, S> {
12
+ value: T;
13
+ }
14
+ interface WritableComputedOptions<T> {
15
+ get: ComputedGetter<T>;
16
+ set: ComputedSetter<T>;
17
+ }
18
+ declare function computed<T>(getter: ComputedGetter<T>): ComputedRef<T>;
19
+ declare function computed<T>(options: WritableComputedOptions<T>): WritableComputedRef<T>;
20
+ //#endregion
21
+ export { ComputedGetter, ComputedRef, ComputedSetter, WritableComputedOptions, WritableComputedRef, computed };
@@ -0,0 +1 @@
1
+ import{effect as e,track as t,trigger as n}from"./core.mjs";import{markAsRef as r}from"./ref.mjs";function i(i){let a,o;typeof i==`function`?(a=i,o=()=>{throw Error(`计算属性是只读的`)}):(a=i.get,o=i.set);let s,c=!0,l,u={get value(){return c&&(s=l(),c=!1),t(u,`value`),s},set value(e){o(e)}};return r(u),l=e(a,{lazy:!0,scheduler:()=>{c||(c=!0,n(u,`value`))}}),u}export{i as computed};
@@ -0,0 +1,34 @@
1
+ //#region src/reactivity/core.d.ts
2
+ type EffectScheduler = () => void;
3
+ type Dep = Set<ReactiveEffect>;
4
+ interface ReactiveEffect<T = any> {
5
+ (): T;
6
+ deps: Dep[];
7
+ scheduler?: EffectScheduler;
8
+ active: boolean;
9
+ _running: boolean;
10
+ _fn: () => T;
11
+ onStop?: () => void;
12
+ }
13
+ declare function startBatch(): void;
14
+ declare function endBatch(): void;
15
+ declare function batch<T>(fn: () => T): T;
16
+ declare function stop(runner: ReactiveEffect): void;
17
+ interface EffectScope {
18
+ active: boolean;
19
+ effects: ReactiveEffect[];
20
+ cleanups: (() => void)[];
21
+ run: <T>(fn: () => T) => T | undefined;
22
+ stop: () => void;
23
+ }
24
+ declare function effectScope(detached?: boolean): EffectScope;
25
+ declare function getCurrentScope(): EffectScope | undefined;
26
+ declare function onScopeDispose(fn: () => void): void;
27
+ interface EffectOptions {
28
+ scheduler?: EffectScheduler;
29
+ lazy?: boolean;
30
+ onStop?: () => void;
31
+ }
32
+ declare function effect<T = any>(fn: () => T, options?: EffectOptions): ReactiveEffect<T>;
33
+ //#endregion
34
+ export { Dep, EffectOptions, EffectScheduler, EffectScope, ReactiveEffect, batch, effect, effectScope, endBatch, getCurrentScope, onScopeDispose, startBatch, stop };
@@ -0,0 +1 @@
1
+ import{queueJob as e}from"../scheduler.mjs";import t from"../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.mjs";const n=new WeakMap;let r=null;const i=[];let a=0;const o=new Set;function s(){a++}function c(){for(;o.size;){let e=[...o];o.clear();for(let t of e)t()}}function l(){a!==0&&(a--,a===0&&c())}function u(e){s();try{return e()}finally{l()}}function d(e){let{deps:t}=e;for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}function f(e){var t;e.active&&(e.active=!1,d(e),(t=e.onStop)==null||t.call(e))}let p;var m=class{constructor(e=!1){if(this.detached=e,t(this,`active`,!0),t(this,`effects`,[]),t(this,`cleanups`,[]),t(this,`parent`,void 0),t(this,`scopes`,void 0),!e&&p){var n;this.parent=p,((n=p).scopes||(n.scopes=[])).push(this)}}run(e){if(!this.active)return;let t=p;p=this;try{return e()}finally{p=t}}stop(){var e;if(this.active){this.active=!1;for(let e of this.effects)f(e);this.effects.length=0;for(let e of this.cleanups)e();if(this.cleanups.length=0,this.scopes){for(let e of this.scopes)e.stop();this.scopes.length=0}if((e=this.parent)!=null&&e.scopes){let e=this.parent.scopes.indexOf(this);e>=0&&this.parent.scopes.splice(e,1)}this.parent=void 0}}};function h(e=!1){return new m(e)}function g(){return p}function _(e){p!=null&&p.active&&p.cleanups.push(e)}function v(e){p!=null&&p.active&&p.effects.push(e)}function y(e,t={}){let n=function(){if(!n.active||n._running)return e();d(n);try{return n._running=!0,i.push(n),r=n,e()}finally{var t;i.pop(),r=(t=i[i.length-1])==null?null:t,n._running=!1}};return n.deps=[],n.scheduler=t.scheduler,n.onStop=t.onStop,n.active=!0,n._running=!1,n._fn=e,n}function b(e,t={}){let n=y(e,t);return v(n),t.lazy||n(),n}function x(e,t){if(!r)return;let i=n.get(e);i||(i=new Map,n.set(e,i));let a=i.get(t);a||(a=new Set,i.set(t,a)),a.has(r)||(a.add(r),r.deps.push(a))}function S(e){if(e.scheduler){e.scheduler();return}if(a>0){o.add(e);return}e()}function C(e,t){let i=n.get(e);if(!i)return;let a=i.get(t);if(!a)return;let o=new Set;a.forEach(e=>{e!==r&&o.add(e)}),o.forEach(S)}function w(e){r&&(e.has(r)||(e.add(r),r.deps.push(e)))}function T(e){new Set(e).forEach(S)}export{u as batch,y as createReactiveEffect,b as effect,h as effectScope,l as endBatch,g as getCurrentScope,_ as onScopeDispose,e as queueJob,s as startBatch,f as stop,x as track,w as trackEffects,C as trigger,T as triggerEffects};