wevu 7.6.0 → 7.7.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 (298) hide show
  1. package/dist/alipay/jsx-runtime.d.mts +0 -2
  2. package/dist/config/defaults.d.mts +1 -3
  3. package/dist/config/pageFeatures.d.mts +1 -3
  4. package/dist/dev/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/defineProperty.mjs +1 -2
  5. package/dist/dev/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPrimitive.mjs +1 -2
  6. package/dist/dev/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPropertyKey.mjs +1 -2
  7. package/dist/dev/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/typeof.mjs +1 -2
  8. package/dist/dev/api/vitest/setup.mjs +1 -2
  9. package/dist/dev/package.mjs +2 -3
  10. package/dist/dev/reactivity/asyncDerivation.mjs +1 -2
  11. package/dist/dev/reactivity/computed.mjs +1 -2
  12. package/dist/dev/reactivity/core.mjs +2 -3
  13. package/dist/dev/reactivity/reactive/mutation.mjs +1 -2
  14. package/dist/dev/reactivity/reactive/patch.mjs +1 -2
  15. package/dist/dev/reactivity/reactive/patchState.mjs +1 -2
  16. package/dist/dev/reactivity/reactive/shallow.mjs +1 -2
  17. package/dist/dev/reactivity/reactive/shared.mjs +1 -2
  18. package/dist/dev/reactivity/reactive/state.mjs +1 -2
  19. package/dist/dev/reactivity/reactive.mjs +1 -2
  20. package/dist/dev/reactivity/readonly.mjs +1 -2
  21. package/dist/dev/reactivity/ref.mjs +2 -3
  22. package/dist/dev/reactivity/shallowRef.mjs +1 -2
  23. package/dist/dev/reactivity/toRefs.mjs +1 -2
  24. package/dist/dev/reactivity/traverse.mjs +1 -2
  25. package/dist/dev/reactivity/watch/helpers.mjs +1 -2
  26. package/dist/dev/reactivity/watch/types.mjs +1 -2
  27. package/dist/dev/reactivity/watch.mjs +1 -2
  28. package/dist/dev/router/auto-routes.mjs +1 -2
  29. package/dist/dev/router/backNavigation.mjs +1 -2
  30. package/dist/dev/router/createRouter.mjs +1 -2
  31. package/dist/dev/router/initialNavigation.mjs +1 -2
  32. package/dist/dev/router/instance.mjs +1 -2
  33. package/dist/dev/router/navigationApi.mjs +1 -2
  34. package/dist/dev/router/navigationCore.mjs +1 -2
  35. package/dist/dev/router/navigationResult.mjs +1 -2
  36. package/dist/dev/router/navigationTarget.mjs +1 -2
  37. package/dist/dev/router/navigationTargetHelpers.mjs +1 -2
  38. package/dist/dev/router/resolve.mjs +1 -2
  39. package/dist/dev/router/routeRegistry.mjs +1 -2
  40. package/dist/dev/router/routeSync.mjs +1 -2
  41. package/dist/dev/router/scrollRestoration/adapters.mjs +1 -2
  42. package/dist/dev/router/scrollRestoration/controller.mjs +1 -2
  43. package/dist/dev/router/scrollRestoration/host.mjs +1 -2
  44. package/dist/dev/router/scrollRestoration/index.mjs +1 -2
  45. package/dist/dev/router/types.mjs +1 -2
  46. package/dist/dev/router/useRoute.mjs +1 -2
  47. package/dist/dev/router/useRouter.mjs +1 -2
  48. package/dist/dev/routerInternal/location.mjs +1 -2
  49. package/dist/dev/routerInternal/matching.mjs +1 -2
  50. package/dist/dev/routerInternal/params.mjs +1 -2
  51. package/dist/dev/routerInternal/path.mjs +1 -2
  52. package/dist/dev/routerInternal/query.mjs +1 -2
  53. package/dist/dev/routerInternal/records.mjs +1 -2
  54. package/dist/dev/routerInternal/recordsWarnings.mjs +1 -2
  55. package/dist/dev/routerInternal/snapshots.mjs +1 -2
  56. package/dist/dev/runtime/app/computed.mjs +1 -2
  57. package/dist/dev/runtime/app/context.mjs +1 -2
  58. package/dist/dev/runtime/app/diagnostics.mjs +1 -2
  59. package/dist/dev/runtime/app/mount.mjs +1 -2
  60. package/dist/dev/runtime/app/pending.mjs +1 -2
  61. package/dist/dev/runtime/app/setData/commitTracker.mjs +1 -2
  62. package/dist/dev/runtime/app/setData/observation.mjs +1 -2
  63. package/dist/dev/runtime/app/setData/patchScheduler.mjs +1 -2
  64. package/dist/dev/runtime/app/setData/payload.mjs +1 -2
  65. package/dist/dev/runtime/app/setData/scheduler.mjs +1 -2
  66. package/dist/dev/runtime/app/setData/snapshot.mjs +1 -2
  67. package/dist/dev/runtime/app/setDataOptions.mjs +1 -2
  68. package/dist/dev/runtime/app.mjs +1 -2
  69. package/dist/dev/runtime/bindModel.mjs +1 -2
  70. package/dist/dev/runtime/bindingManifest.mjs +1 -2
  71. package/dist/dev/runtime/capabilities.mjs +1 -2
  72. package/dist/dev/runtime/css.mjs +1 -2
  73. package/dist/dev/runtime/defaults.mjs +1 -2
  74. package/dist/dev/runtime/define/componentDefinition.mjs +1 -2
  75. package/dist/dev/runtime/define/initialComputed.mjs +1 -2
  76. package/dist/dev/runtime/define/options.mjs +1 -2
  77. package/dist/dev/runtime/define/optionsApi.mjs +1 -2
  78. package/dist/dev/runtime/define/props.mjs +1 -2
  79. package/dist/dev/runtime/define/scopedSlotOptions.mjs +1 -2
  80. package/dist/dev/runtime/define/setupResult.mjs +1 -2
  81. package/dist/dev/runtime/define.mjs +1 -2
  82. package/dist/dev/runtime/diff.mjs +1 -2
  83. package/dist/dev/runtime/disposables.mjs +1 -2
  84. package/dist/dev/runtime/elementIntersectionObserver.mjs +1 -2
  85. package/dist/dev/runtime/emit.mjs +1 -2
  86. package/dist/dev/runtime/features/inlineEvents.mjs +1 -2
  87. package/dist/dev/runtime/features/jsxIslands.mjs +1 -2
  88. package/dist/dev/runtime/features/layout.mjs +1 -2
  89. package/dist/dev/runtime/features/patchStrategy.mjs +1 -2
  90. package/dist/dev/runtime/features/publicLayout.mjs +1 -2
  91. package/dist/dev/runtime/features/scopedSlots.mjs +1 -2
  92. package/dist/dev/runtime/features/setDataHighFrequencyWarning.mjs +1 -2
  93. package/dist/dev/runtime/features/templateRefs.mjs +1 -2
  94. package/dist/dev/runtime/hooks/base.mjs +1 -2
  95. package/dist/dev/runtime/hooks/pageScroll.mjs +1 -2
  96. package/dist/dev/runtime/hooks/register.mjs +1 -2
  97. package/dist/dev/runtime/hooks/vue.mjs +1 -2
  98. package/dist/dev/runtime/inlineDataset.mjs +1 -2
  99. package/dist/dev/runtime/internal.mjs +1 -2
  100. package/dist/dev/runtime/intersectionObserver.mjs +1 -2
  101. package/dist/dev/runtime/jsxIsland.mjs +1 -2
  102. package/dist/dev/runtime/layoutBridge.mjs +1 -2
  103. package/dist/dev/runtime/layoutComponentMatcher.mjs +1 -2
  104. package/dist/dev/runtime/nativeBridge.mjs +1 -2
  105. package/dist/dev/runtime/navigationLifecycle.mjs +1 -2
  106. package/dist/dev/runtime/noSetData.mjs +1 -2
  107. package/dist/dev/runtime/pageEnvironment.mjs +1 -2
  108. package/dist/dev/runtime/pageLayout.mjs +1 -2
  109. package/dist/dev/runtime/pageScroll.mjs +1 -2
  110. package/dist/dev/runtime/platform/current.mjs +1 -2
  111. package/dist/dev/runtime/platform/generic.mjs +1 -2
  112. package/dist/dev/runtime/platform/globals.mjs +1 -2
  113. package/dist/dev/runtime/platform.mjs +1 -2
  114. package/dist/dev/runtime/provide.mjs +1 -2
  115. package/dist/dev/runtime/provideContext.mjs +1 -2
  116. package/dist/dev/runtime/provideStore.mjs +1 -2
  117. package/dist/dev/runtime/publicRuntime.mjs +1 -2
  118. package/dist/dev/runtime/pullDownRefresh.mjs +1 -2
  119. package/dist/dev/runtime/register/app.mjs +1 -2
  120. package/dist/dev/runtime/register/component/alipay.mjs +1 -2
  121. package/dist/dev/runtime/register/component/alipayRegistration.mjs +1 -2
  122. package/dist/dev/runtime/register/component/features.mjs +1 -2
  123. package/dist/dev/runtime/register/component/hmrRegistration.mjs +1 -2
  124. package/dist/dev/runtime/register/component/lifecycle/optionalHooks.mjs +1 -2
  125. package/dist/dev/runtime/register/component/lifecycle/platform.mjs +1 -2
  126. package/dist/dev/runtime/register/component/lifecycle.mjs +1 -2
  127. package/dist/dev/runtime/register/component/methods.mjs +1 -2
  128. package/dist/dev/runtime/register/component/options.mjs +1 -2
  129. package/dist/dev/runtime/register/component/props.mjs +1 -2
  130. package/dist/dev/runtime/register/component/registerDefinition.mjs +1 -2
  131. package/dist/dev/runtime/register/component/registerNativeDefinition.mjs +1 -2
  132. package/dist/dev/runtime/register/component.mjs +1 -2
  133. package/dist/dev/runtime/register/inline.mjs +1 -2
  134. package/dist/dev/runtime/register/runtimeInstance/methodBridge.mjs +1 -2
  135. package/dist/dev/runtime/register/runtimeInstance/nativeDeclaration.mjs +1 -2
  136. package/dist/dev/runtime/register/runtimeInstance/provideContext.mjs +1 -2
  137. package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs +1 -2
  138. package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs +1 -2
  139. package/dist/dev/runtime/register/runtimeInstance/setupSnapshot.mjs +1 -2
  140. package/dist/dev/runtime/register/runtimeInstance/utils.mjs +1 -2
  141. package/dist/dev/runtime/register/runtimeInstance.mjs +1 -2
  142. package/dist/dev/runtime/register/setDataFrequencyWarning.mjs +1 -2
  143. package/dist/dev/runtime/register/setup.mjs +1 -2
  144. package/dist/dev/runtime/register/snapshot.mjs +1 -2
  145. package/dist/dev/runtime/register/watch.mjs +1 -2
  146. package/dist/dev/runtime/scopedSlots.mjs +1 -2
  147. package/dist/dev/runtime/selectorQuery.mjs +1 -2
  148. package/dist/dev/runtime/setupTracking.mjs +1 -2
  149. package/dist/dev/runtime/teardown.mjs +1 -2
  150. package/dist/dev/runtime/template.mjs +1 -2
  151. package/dist/dev/runtime/templateRefs/helpers.mjs +1 -2
  152. package/dist/dev/runtime/templateRefs.mjs +1 -2
  153. package/dist/dev/runtime/uniAppHost.mjs +1 -2
  154. package/dist/dev/runtime/updatePerformance.mjs +1 -2
  155. package/dist/dev/runtime/use.mjs +1 -2
  156. package/dist/dev/runtime/vueCompat/context.mjs +1 -2
  157. package/dist/dev/runtime/vueCompat/model.mjs +1 -2
  158. package/dist/dev/runtime/vueCompat/router.mjs +1 -2
  159. package/dist/dev/runtime/vueCompat/templateRef.mjs +1 -2
  160. package/dist/dev/scheduler.mjs +1 -2
  161. package/dist/dev/store/actions.mjs +1 -2
  162. package/dist/dev/store/base.mjs +1 -2
  163. package/dist/dev/store/define/create.mjs +1 -2
  164. package/dist/dev/store/define.mjs +1 -2
  165. package/dist/dev/store/manager.mjs +1 -2
  166. package/dist/dev/store/storeToRefs.mjs +1 -2
  167. package/dist/dev/store/subscriptions.mjs +1 -2
  168. package/dist/dev/store/types.mjs +1 -2
  169. package/dist/dev/store/utils.mjs +1 -2
  170. package/dist/dev/store/view.mjs +1 -2
  171. package/dist/dev/utils.mjs +1 -2
  172. package/dist/dev/version.mjs +1 -2
  173. package/dist/dev/vue-demi.mjs +1 -2
  174. package/dist/fetch.d.mts +0 -2
  175. package/dist/jsx-runtime.d.mts +0 -2
  176. package/dist/jsxTypes.d.mts +1 -3
  177. package/dist/macros/shared.d.mts +0 -2
  178. package/dist/macros.d.mts +0 -2
  179. package/dist/miniprogram/jsx-runtime.d.mts +0 -2
  180. package/dist/package.mjs +1 -1
  181. package/dist/reactivity/asyncDerivation.d.mts +0 -2
  182. package/dist/reactivity/computed.d.mts +0 -2
  183. package/dist/reactivity/core.d.mts +1 -3
  184. package/dist/reactivity/core.mjs +1 -1
  185. package/dist/reactivity/reactive/mutation.d.mts +0 -2
  186. package/dist/reactivity/reactive/patch.d.mts +1 -3
  187. package/dist/reactivity/reactive/patchState.mjs +1 -1
  188. package/dist/reactivity/reactive/shallow.d.mts +1 -3
  189. package/dist/reactivity/reactive/shared.d.mts +1 -3
  190. package/dist/reactivity/reactive.d.mts +0 -2
  191. package/dist/reactivity/readonly.d.mts +1 -3
  192. package/dist/reactivity/ref.d.mts +1 -3
  193. package/dist/reactivity/ref.mjs +1 -1
  194. package/dist/reactivity/shallowRef.d.mts +1 -3
  195. package/dist/reactivity/toRefs.d.mts +0 -2
  196. package/dist/reactivity/traverse.d.mts +1 -3
  197. package/dist/reactivity/watch/types.d.mts +0 -2
  198. package/dist/reactivity/watch.d.mts +0 -2
  199. package/dist/router/auto-routes.d.mts +0 -2
  200. package/dist/router/createRouter.d.mts +1 -3
  201. package/dist/router/navigationCore.d.mts +1 -3
  202. package/dist/router/resolve.d.mts +1 -3
  203. package/dist/router/scrollRestoration/adapters.d.mts +1 -3
  204. package/dist/router/scrollRestoration/controller.d.mts +1 -3
  205. package/dist/router/scrollRestoration/index.d.mts +0 -2
  206. package/dist/router/scrollRestoration/index.mjs +1 -1
  207. package/dist/router/scrollRestoration/types.d.mts +1 -3
  208. package/dist/router/types.d.mts +0 -2
  209. package/dist/router/useRoute.d.mts +1 -3
  210. package/dist/router/useRouter.d.mts +1 -3
  211. package/dist/router.d.mts +0 -2
  212. package/dist/routerInternal/query.d.mts +1 -3
  213. package/dist/routerInternal/types.d.mts +1 -3
  214. package/dist/runtime/app/pending.d.mts +1 -3
  215. package/dist/runtime/app/setData/commitTracker.d.mts +1 -3
  216. package/dist/runtime/app/setData/observation.d.mts +0 -2
  217. package/dist/runtime/app/setData/scheduler.d.mts +1 -3
  218. package/dist/runtime/app/setData/scheduler.mjs +1 -1
  219. package/dist/runtime/app.d.mts +1 -3
  220. package/dist/runtime/capabilities.d.mts +0 -2
  221. package/dist/runtime/css.d.mts +1 -3
  222. package/dist/runtime/defaults.d.mts +1 -3
  223. package/dist/runtime/define/props.mjs +1 -1
  224. package/dist/runtime/define/scopedSlotOptions.mjs +1 -1
  225. package/dist/runtime/define.d.mts +0 -2
  226. package/dist/runtime/disposables.d.mts +1 -3
  227. package/dist/runtime/elementIntersectionObserver.d.mts +1 -3
  228. package/dist/runtime/features/inlineEvents.d.mts +1 -3
  229. package/dist/runtime/features/jsxIslands.d.mts +1 -3
  230. package/dist/runtime/features/layout.d.mts +1 -3
  231. package/dist/runtime/features/patchStrategy.d.mts +1 -3
  232. package/dist/runtime/features/publicLayout.d.mts +0 -2
  233. package/dist/runtime/features/scopedSlots.d.mts +1 -3
  234. package/dist/runtime/features/setDataHighFrequencyWarning.d.mts +1 -3
  235. package/dist/runtime/features/templateRefs.d.mts +1 -3
  236. package/dist/runtime/hooks/base.d.mts +1 -3
  237. package/dist/runtime/hooks/register.d.mts +1 -3
  238. package/dist/runtime/hooks/vue.d.mts +1 -3
  239. package/dist/runtime/intersectionObserver.d.mts +1 -3
  240. package/dist/runtime/jsxIsland.d.mts +1 -3
  241. package/dist/runtime/layoutBridge.d.mts +0 -2
  242. package/dist/runtime/noSetData.d.mts +1 -3
  243. package/dist/runtime/pageEnvironment.d.mts +1 -3
  244. package/dist/runtime/pageLayout.d.mts +0 -2
  245. package/dist/runtime/pageScroll.d.mts +1 -3
  246. package/dist/runtime/provide.d.mts +0 -2
  247. package/dist/runtime/provideStore.d.mts +1 -3
  248. package/dist/runtime/publicRuntime.d.mts +1 -3
  249. package/dist/runtime/pullDownRefresh.d.mts +1 -3
  250. package/dist/runtime/register/app.d.mts +1 -3
  251. package/dist/runtime/register/component.d.mts +1 -3
  252. package/dist/runtime/register/inline.d.mts +0 -2
  253. package/dist/runtime/register/runtimeInstance.d.mts +0 -2
  254. package/dist/runtime/register/runtimeInstance.mjs +1 -1
  255. package/dist/runtime/register/setDataFrequencyWarning.mjs +1 -1
  256. package/dist/runtime/register/setup.d.mts +0 -2
  257. package/dist/runtime/register/watch.d.mts +0 -2
  258. package/dist/runtime/selectorQuery.d.mts +1 -3
  259. package/dist/runtime/template.d.mts +1 -3
  260. package/dist/runtime/templateRefTypes.d.mts +0 -2
  261. package/dist/runtime/types/core.d.mts +0 -2
  262. package/dist/runtime/types/miniprogram.d.mts +0 -2
  263. package/dist/runtime/types/miniprogramHost.d.mts +0 -2
  264. package/dist/runtime/types/miniprogramHostSources.d.mts +1 -3
  265. package/dist/runtime/types/options.d.mts +0 -2
  266. package/dist/runtime/types/props/propTypes.d.mts +0 -2
  267. package/dist/runtime/types/props/router.d.mts +0 -2
  268. package/dist/runtime/types/props/setup.d.mts +1 -3
  269. package/dist/runtime/types/runtime.d.mts +1 -3
  270. package/dist/runtime/types/setData.d.mts +1 -3
  271. package/dist/runtime/types.d.mts +0 -2
  272. package/dist/runtime/uniAppHost.d.mts +0 -2
  273. package/dist/runtime/updatePerformance.d.mts +1 -3
  274. package/dist/runtime/use.d.mts +1 -3
  275. package/dist/runtime/vueCompat/context.d.mts +1 -3
  276. package/dist/runtime/vueCompat/model.d.mts +0 -2
  277. package/dist/runtime/vueCompat/router.d.mts +0 -2
  278. package/dist/runtime/vueCompat/templateRef.d.mts +1 -3
  279. package/dist/scheduler.d.mts +1 -3
  280. package/dist/store/define.d.mts +1 -3
  281. package/dist/store/manager.d.mts +1 -3
  282. package/dist/store/storeToRefs.d.mts +0 -2
  283. package/dist/store/types.d.mts +0 -2
  284. package/dist/tt/jsx-runtime.d.mts +0 -2
  285. package/dist/types/definitions.d.mts +1 -3
  286. package/dist/types/pageLayout.d.mts +1 -3
  287. package/dist/types/pageMeta.d.mts +1 -3
  288. package/dist/types/reactivity.d.mts +0 -2
  289. package/dist/version.d.mts +1 -3
  290. package/dist/vue-augment.d.mts +1 -3
  291. package/dist/vue-demi.d.mts +0 -2
  292. package/dist/vue-types.d.mts +0 -2
  293. package/dist/weapp/jsx-runtime.d.mts +0 -2
  294. package/package.json +8 -8
  295. /package/dist/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/defineProperty.mjs +0 -0
  296. /package/dist/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPrimitive.mjs +0 -0
  297. /package/dist/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPropertyKey.mjs +0 -0
  298. /package/dist/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/typeof.mjs +0 -0
@@ -2,7 +2,7 @@ import { getMiniProgramRuntimeGlobalObject } from "../../platform.mjs";
2
2
  import { createAlipayComponentDefinition } from "./alipay.mjs";
3
3
  import { WEAPP_VITE_STATEFUL_HMR_BRIDGE_KEY } from "@weapp-core/constants";
4
4
 
5
- //#region src/runtime/register/component/alipayRegistration.ts
5
+ // src/runtime/register/component/alipayRegistration.ts
6
6
  function createAlipayPageDefinition(componentDefinition) {
7
7
  const { lifetimes = {}, methods = {}, observers: _observers, options: _options, pageLifetimes = {}, properties: _properties, ...pageDefinition } = componentDefinition;
8
8
  const pageOnLoad = pageDefinition.onLoad;
@@ -55,6 +55,5 @@ function registerAlipayComponentDefinition(componentDefinition, isPage) {
55
55
  Component(nativeDefinition);
56
56
  }
57
57
 
58
- //#endregion
59
58
  export { registerAlipayComponentDefinition };
60
59
  //# sourceMappingURL=alipayRegistration.mjs.map
@@ -1,4 +1,4 @@
1
- //#region src/runtime/register/component/features.ts
1
+ // src/runtime/register/component/features.ts
2
2
  function resolveComponentFeatures(options) {
3
3
  const { features, userOnSaveExitState, userOnPullDownRefresh, userOnReachBottom, userOnPageScroll, userOnRouteDone, userOnTabItemTap, userOnResize, userOnShareAppMessage, userOnShareTimeline, userOnAddToFavorites } = options;
4
4
  const enableOnPullDownRefresh = typeof userOnPullDownRefresh === "function" || Boolean(features.enableOnPullDownRefresh);
@@ -38,6 +38,5 @@ function resolveComponentFeatures(options) {
38
38
  };
39
39
  }
40
40
 
41
- //#endregion
42
41
  export { resolveComponentFeatures };
43
42
  //# sourceMappingURL=features.mjs.map
@@ -1,6 +1,6 @@
1
1
  import { WEAPP_VITE_STATEFUL_HMR_REGISTRATION_CONTRACT_VERSION, WEAPP_VITE_STATEFUL_HMR_UNSUPPORTED_REGISTRATION_CODE } from "@weapp-core/constants";
2
2
 
3
- //#region src/runtime/register/component/hmrRegistration.ts
3
+ // src/runtime/register/component/hmrRegistration.ts
4
4
  /** 只向识别原始注册契约的桥接交付生成包装器,旧桥接必须保留兼容错误。 */
5
5
  function createStatefulHmrRegistrationContract(bridge, inputs) {
6
6
  if (bridge.registrationContractVersion !== WEAPP_VITE_STATEFUL_HMR_REGISTRATION_CONTRACT_VERSION) throw Object.assign(/* @__PURE__ */ new Error("Stateful HMR bridge does not support the Wevu registration contract; classic rebuild is required."), { code: WEAPP_VITE_STATEFUL_HMR_UNSUPPORTED_REGISTRATION_CODE });
@@ -10,6 +10,5 @@ function createStatefulHmrRegistrationContract(bridge, inputs) {
10
10
  };
11
11
  }
12
12
 
13
- //#endregion
14
13
  export { createStatefulHmrRegistrationContract };
15
14
  //# sourceMappingURL=hmrRegistration.mjs.map
@@ -2,7 +2,7 @@ import { callHookList, callHookReturn } from "../../../hooks/base.mjs";
2
2
  import { callPageScrollHooks } from "../../../hooks/pageScroll.mjs";
3
3
  import { WEVU_ROUTE_DONE_CALLED_KEY, WEVU_ROUTE_DONE_IN_TICK_KEY } from "@weapp-core/constants";
4
4
 
5
- //#region src/runtime/register/component/lifecycle/optionalHooks.ts
5
+ // src/runtime/register/component/lifecycle/optionalHooks.ts
6
6
  function attachOptionalPageLifecycleHooks(pageLifecycleHooks, options) {
7
7
  const { enableOnSaveExitState, enableOnPullDownRefresh, enableOnReachBottom, enableOnPageScroll, enableOnRouteDone, enableOnTabItemTap, enableOnResize, enableOnShareAppMessage, enableOnShareTimeline, enableOnAddToFavorites, effectiveOnSaveExitState, effectiveOnPullDownRefresh, effectiveOnReachBottom, effectiveOnPageScroll, effectiveOnRouteDone, effectiveOnTabItemTap, effectiveOnResize, effectiveOnShareAppMessage, effectiveOnShareTimeline, effectiveOnAddToFavorites, hasHook } = options;
8
8
  if (enableOnSaveExitState) pageLifecycleHooks.onSaveExitState = function onSaveExitState(...args) {
@@ -56,6 +56,5 @@ function attachOptionalPageLifecycleHooks(pageLifecycleHooks, options) {
56
56
  };
57
57
  }
58
58
 
59
- //#endregion
60
59
  export { attachOptionalPageLifecycleHooks };
61
60
  //# sourceMappingURL=optionalHooks.mjs.map
@@ -4,7 +4,7 @@ import { callHookList } from "../../../hooks/base.mjs";
4
4
  import { runInPageScrollHook } from "../../../hooks/pageScroll.mjs";
5
5
  import { WEVU_PAGE_SCROLL_EVENT_CONTRACT_KEY } from "@weapp-core/constants";
6
6
 
7
- //#region src/runtime/register/component/lifecycle/platform.ts
7
+ // src/runtime/register/component/lifecycle/platform.ts
8
8
  let miniProgramGlobalPatched = false;
9
9
  let currentPageInstance;
10
10
  function getCurrentPageInstance() {
@@ -78,6 +78,5 @@ function ensurePageShareMenus(options) {
78
78
  } catch {}
79
79
  }
80
80
 
81
- //#endregion
82
81
  export { bindCurrentPageInstance, ensureMiniProgramGlobalPatched, ensurePageShareMenus, getCurrentPageInstance, releaseCurrentPageInstance, resolvePageOptions };
83
82
  //# sourceMappingURL=platform.mjs.map
@@ -8,7 +8,7 @@ import { cancelInitialNavigation, ensureInitialNavigation } from "../../navigati
8
8
  import { attachOptionalPageLifecycleHooks } from "./lifecycle/optionalHooks.mjs";
9
9
  import { WEVU_ON_LOAD_CALLED_KEY, WEVU_READY_CALLED_KEY, WEVU_ROUTE_DONE_CALLED_KEY } from "@weapp-core/constants";
10
10
 
11
- //#region src/runtime/register/component/lifecycle.ts
11
+ // src/runtime/register/component/lifecycle.ts
12
12
  function createPageLifecycleHooks(options) {
13
13
  const { runtimeApp, watch, setup, userOnLoad, userOnUnload, userOnShow, userOnHide, userOnReady, isPage, enableOnSaveExitState, enableOnPullDownRefresh, enableOnReachBottom, enableOnPageScroll, enableOnRouteDone, enableOnRouteDoneFallback, enableOnTabItemTap, enableOnResize, enableOnShareAppMessage, enableOnShareTimeline, enableOnAddToFavorites, syncWevuPropsFromValues, effectiveOnSaveExitState, effectiveOnPullDownRefresh, effectiveOnReachBottom, effectiveOnPageScroll, effectiveOnRouteDone, effectiveOnTabItemTap, effectiveOnResize, effectiveOnShareAppMessage, effectiveOnShareTimeline, effectiveOnAddToFavorites, hasHook } = options;
14
14
  const flushPageSnapshotIfPossible = (target) => {
@@ -144,6 +144,5 @@ function createPageLifecycleHooks(options) {
144
144
  return pageLifecycleHooks;
145
145
  }
146
146
 
147
- //#endregion
148
147
  export { createPageLifecycleHooks };
149
148
  //# sourceMappingURL=lifecycle.mjs.map
@@ -2,7 +2,7 @@ import { requireRuntimeCapability, runtimeCapabilityRegistry } from "../../capab
2
2
  import { parseModelEventValue } from "../../internal.mjs";
3
3
  import { WEVU_INLINE_HANDLER, WEVU_INLINE_MAP_KEY, WEVU_MODEL_HANDLER, WEVU_NATIVE_INSTANCE_KEY, WEVU_OWNER_HANDLER, WEVU_RESERVED_METHOD_PREFIX, WEVU_RUNTIME_KEY } from "@weapp-core/constants";
4
4
 
5
- //#region src/runtime/register/component/methods.ts
5
+ // src/runtime/register/component/methods.ts
6
6
  function createComponentMethods(options) {
7
7
  const { userMethods, runtimeMethods } = options;
8
8
  const finalMethods = { ...userMethods };
@@ -73,6 +73,5 @@ function createComponentMethods(options) {
73
73
  return { finalMethods };
74
74
  }
75
75
 
76
- //#endregion
77
76
  export { createComponentMethods };
78
77
  //# sourceMappingURL=methods.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { hasOwn } from "../../../utils.mjs";
2
2
  import { WEVU_COMPONENT_NAME_KEY, WEVU_PROPS_ALIASES_KEY, WEVU_PROPS_DERIVED_KEYS_KEY } from "@weapp-core/constants";
3
3
 
4
- //#region src/runtime/register/component/options.ts
4
+ // src/runtime/register/component/options.ts
5
5
  function cloneInstanceFieldValue(value, cache = /* @__PURE__ */ new WeakMap()) {
6
6
  if (!value || typeof value !== "object") return value;
7
7
  if (cache.has(value)) return cache.get(value);
@@ -199,6 +199,5 @@ function prepareComponentOptions(mpOptions) {
199
199
  };
200
200
  }
201
201
 
202
- //#endregion
203
202
  export { getRuntimeOwnerLabel, prepareComponentOptions };
204
203
  //# sourceMappingURL=options.mjs.map
@@ -4,7 +4,7 @@ import { updateNativeDeclarationAddress } from "../runtimeInstance/nativeDeclara
4
4
  import { refreshOwnerSnapshotFromInstance } from "../snapshot.mjs";
5
5
  import { WEVU_ATTRS_KEY, WEVU_NATIVE_DECLARATION_ADDRESS_PROP, WEVU_PENDING_PROP_VALUES_KEY, WEVU_PROPS_DERIVED_KEYS_KEY, WEVU_PROPS_KEY, WEVU_PROP_KEYS_KEY, WEVU_SLOT_NAMES_PROP, WEVU_SLOT_OWNER_ID_PROP, WEVU_SLOT_SCOPE_KEY } from "@weapp-core/constants";
6
6
 
7
- //#region src/runtime/register/component/props.ts
7
+ // src/runtime/register/component/props.ts
8
8
  function createPropsSync(options) {
9
9
  const { restOptions, nativeSlotContext, propsAliases, propsDerivedKeys, userObservers } = options;
10
10
  const propKeys = restOptions.properties && typeof restOptions.properties === "object" ? Object.keys(restOptions.properties) : [];
@@ -217,6 +217,5 @@ function createPropsSync(options) {
217
217
  };
218
218
  }
219
219
 
220
- //#endregion
221
220
  export { createPropsSync };
222
221
  //# sourceMappingURL=props.mjs.map
@@ -10,7 +10,7 @@ import { createStatefulHmrRegistrationContract } from "./hmrRegistration.mjs";
10
10
  import { registerNativeComponentDefinition } from "./registerNativeDefinition.mjs";
11
11
  import { WEAPP_VITE_STATEFUL_HMR_BRIDGE_KEY, WEVU_NATIVE_DECLARATION_METHOD, WEVU_NATIVE_SLOT_PARENT_METHOD, WEVU_PUBLIC_RUNTIME_KEY, WEVU_READY_CALLED_KEY, WEVU_RESOLVE_PUBLIC_INSTANCE_METHOD, WEVU_RUNTIME_KEY } from "@weapp-core/constants";
12
12
 
13
- //#region src/runtime/register/component/registerDefinition.ts
13
+ // src/runtime/register/component/registerDefinition.ts
14
14
  function registerComponentDefinition(options) {
15
15
  const { runtimeApp, watch, setup, restOptions, statefulHmrRegistration, pageLifecycleHooks, finalObservers, userLifetimes, userPageLifetimes, finalMethods, finalOptions, applyExtraInstanceFields, templateRefs, layoutHosts, attachWevuPropKeys, setupLifecycle, syncWevuPropsFromInstance, directPropsDerivedKeys, isPage, nativeSlotContext, vueLifecycles, getRuntimeOwnerLabel, registerNative = true } = options;
16
16
  const activeTemplateRefs = Array.isArray(templateRefs) && templateRefs.length > 0 ? templateRefs : void 0;
@@ -324,6 +324,5 @@ function registerComponentDefinition(options) {
324
324
  return componentDefinition;
325
325
  }
326
326
 
327
- //#endregion
328
327
  export { registerComponentDefinition };
329
328
  //# sourceMappingURL=registerDefinition.mjs.map
@@ -3,7 +3,7 @@ import { getMiniProgramRuntimeGlobalObject } from "../../platform.mjs";
3
3
  import { registerAlipayComponentDefinition } from "./alipayRegistration.mjs";
4
4
  import { WEAPP_VITE_STATEFUL_HMR_BRIDGE_KEY } from "@weapp-core/constants";
5
5
 
6
- //#region src/runtime/register/component/registerNativeDefinition.ts
6
+ // src/runtime/register/component/registerNativeDefinition.ts
7
7
  function registerWechatCompatibleComponentDefinition(componentDefinition) {
8
8
  const statefulHmrBridge = getMiniProgramRuntimeGlobalObject()?.[WEAPP_VITE_STATEFUL_HMR_BRIDGE_KEY];
9
9
  if (typeof statefulHmrBridge?.Component === "function") {
@@ -25,6 +25,5 @@ function registerDetectedComponentDefinition(componentDefinition, isPage) {
25
25
  */
26
26
  const registerNativeComponentDefinition = import.meta.env?.PLATFORM === "alipay" ? registerAlipayComponentDefinition : import.meta.env?.PLATFORM === "weapp" || import.meta.env?.PLATFORM === "tt" || import.meta.env?.PLATFORM === "swan" || import.meta.env?.PLATFORM === "jd" || import.meta.env?.PLATFORM === "xhs" || import.meta.env?.PLATFORM === "web" ? registerWechatCompatibleComponentDefinition : registerDetectedComponentDefinition;
27
27
 
28
- //#endregion
29
28
  export { registerNativeComponentDefinition };
30
29
  //# sourceMappingURL=registerNativeDefinition.mjs.map
@@ -6,7 +6,7 @@ import { createPropsSync } from "./component/props.mjs";
6
6
  import { registerComponentDefinition } from "./component/registerDefinition.mjs";
7
7
  import { WEVU_EXPOSED_KEY, WEVU_HOOKS_KEY, WEVU_NATIVE_SLOT_CONTEXT_KEY } from "@weapp-core/constants";
8
8
 
9
- //#region src/runtime/register/component.ts
9
+ // src/runtime/register/component.ts
10
10
  /**
11
11
  * 注册组件入口(框架内部使用)。
12
12
  * @internal
@@ -134,6 +134,5 @@ function registerComponent(runtimeApp, methods, watch, setup, mpOptions, options
134
134
  });
135
135
  }
136
136
 
137
- //#endregion
138
137
  export { registerComponent };
139
138
  //# sourceMappingURL=component.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { isRef } from "../../reactivity/ref.mjs";
2
2
  import { decodeWxmlEntities, resolveDatasetEventValue, resolveDatasetIndex } from "../inlineDataset.mjs";
3
3
 
4
- //#region src/runtime/register/inline.ts
4
+ // src/runtime/register/inline.ts
5
5
  function shouldUseDetailPayload(dataset, event) {
6
6
  const flag = resolveDatasetEventValue(dataset, "wvEventDetail", event);
7
7
  return flag === true || flag === 1 || flag === "1" || flag === "true";
@@ -85,6 +85,5 @@ function runInlineExpression(ctx, expr, event, inlineMap) {
85
85
  if (typeof handler === "function") return handler.apply(ctx, resolvedArgs);
86
86
  }
87
87
 
88
- //#endregion
89
88
  export { runInlineExpression };
90
89
  //# sourceMappingURL=inline.mjs.map
@@ -2,7 +2,7 @@ import { isNativeBridgeMethod } from "../../nativeBridge.mjs";
2
2
  import { setupInstanceMethodNames } from "./setupContext.mjs";
3
3
  import { WEVU_HOST_INSTALL_METHOD_KEY, WEVU_NATIVE_INSTANCE_KEY, WEVU_PUBLIC_RUNTIME_KEY } from "@weapp-core/constants";
4
4
 
5
- //#region src/runtime/register/runtimeInstance/methodBridge.ts
5
+ // src/runtime/register/runtimeInstance/methodBridge.ts
6
6
  function hasNativeApis(instance) {
7
7
  if (!instance || typeof instance !== "object") return false;
8
8
  return typeof instance.triggerEvent === "function" || typeof instance.createSelectorQuery === "function" || typeof instance.createIntersectionObserver === "function" || typeof instance.setData === "function";
@@ -54,6 +54,5 @@ function bridgeRuntimeMethodsToTarget(target, runtime) {
54
54
  } catch {}
55
55
  }
56
56
 
57
- //#endregion
58
57
  export { bridgeRuntimeMethodsToTarget };
59
58
  //# sourceMappingURL=methodBridge.mjs.map
@@ -1,6 +1,6 @@
1
1
  import { WEVU_NATIVE_DECLARATION_ADDRESS_PROP, WEVU_NATIVE_DECLARATION_EVENT } from "@weapp-core/constants";
2
2
 
3
- //#region src/runtime/register/runtimeInstance/nativeDeclaration.ts
3
+ // src/runtime/register/runtimeInstance/nativeDeclaration.ts
4
4
  const addressKey = /* @__PURE__ */ Symbol("address");
5
5
  const registrationKey = /* @__PURE__ */ Symbol("registration");
6
6
  const indexKey = /* @__PURE__ */ Symbol("index");
@@ -73,6 +73,5 @@ function releaseNativeDeclaration(target, preserveOwnerIndex = false) {
73
73
  delete target[addressKey];
74
74
  }
75
75
 
76
- //#endregion
77
76
  export { receiveNativeDeclaration, releaseNativeDeclaration, resolveNativeDeclarationHost, resolveNativeDeclarationParent, updateNativeDeclarationAddress };
78
77
  //# sourceMappingURL=nativeDeclaration.mjs.map
@@ -4,7 +4,7 @@ import { isRuntimeLayoutComponentTarget } from "../../layoutComponentMatcher.mjs
4
4
  import { resolveNativeDeclarationHost, resolveNativeDeclarationParent } from "./nativeDeclaration.mjs";
5
5
  import { WEVU_NATIVE_SLOT_CONTEXT_KEY, WEVU_NATIVE_SLOT_PARENT_DATASET_KEY, WEVU_NATIVE_SLOT_PARENT_EVENT, WEVU_PARENT_INSTANCE_KEY, WEVU_PROVIDES_KEY, WEVU_RUNTIME_APP_KEY } from "@weapp-core/constants";
6
6
 
7
- //#region src/runtime/register/runtimeInstance/provideContext.ts
7
+ // src/runtime/register/runtimeInstance/provideContext.ts
8
8
  function isLiveProvideHost(target) {
9
9
  return Boolean(target && typeof target === "object" && target.__wevu && target[WEVU_PROVIDES_KEY]);
10
10
  }
@@ -73,6 +73,5 @@ function attachRuntimeProvideParentContext(target, runtimeApp, attached = false,
73
73
  attachRuntimeLayoutParentContext(target);
74
74
  }
75
75
 
76
- //#endregion
77
76
  export { attachRuntimeProvideParentContext, receiveNativeSlotParent };
78
77
  //# sourceMappingURL=provideContext.mjs.map
@@ -7,7 +7,7 @@ import { normalizeEmitPayload } from "../../emit.mjs";
7
7
  import { isNativeBridgeMethod, markNativeBridgeMethod } from "../../nativeBridge.mjs";
8
8
  import { WEVU_NATIVE_INSTANCE_KEY, WEVU_PROPS_KEY, WEVU_SETUP_CONTEXT_INSTANCE_KEY, WEVU_SLOT_NAMES_PROP } from "@weapp-core/constants";
9
9
 
10
- //#region src/runtime/register/runtimeInstance/setupContext.ts
10
+ // src/runtime/register/runtimeInstance/setupContext.ts
11
11
  const setupInstanceMethodNames = [
12
12
  "triggerEvent",
13
13
  "createSelectorQuery",
@@ -232,6 +232,5 @@ function ensureSetupContextInstance(target, runtime) {
232
232
  return setupInstance;
233
233
  }
234
234
 
235
- //#endregion
236
235
  export { attachRuntimeSlots, createNoopWatchStopHandle, createSetupSlotsFallback, createSetupSlotsProxy, ensureSetupContextInstance, normalizeEmitPayload, safeMarkNoSetData, setupInstanceMethodNames };
237
236
  //# sourceMappingURL=setupContext.mjs.map
@@ -9,7 +9,7 @@ import { runSetupFunction } from "../setup.mjs";
9
9
  import { attachRuntimeSetupState, ensureRuntimeProps } from "./utils.mjs";
10
10
  import { WEVU_ATTRS_KEY, WEVU_EFFECT_SCOPE_KEY, WEVU_EXPOSED_KEY, WEVU_PROP_KEYS_KEY } from "@weapp-core/constants";
11
11
 
12
- //#region src/runtime/register/runtimeInstance/setupPhase.ts
12
+ // src/runtime/register/runtimeInstance/setupPhase.ts
13
13
  let vueCompatInstanceUid = 0;
14
14
  function attachVueCompatInstanceView(target, proxy) {
15
15
  let exposedView;
@@ -143,6 +143,5 @@ function runRuntimeSetupPhase(options) {
143
143
  }
144
144
  }
145
145
 
146
- //#endregion
147
146
  export { runRuntimeSetupPhase };
148
147
  //# sourceMappingURL=setupPhase.mjs.map
@@ -1,6 +1,6 @@
1
1
  import { isRef } from "../../../reactivity/ref.mjs";
2
2
 
3
- //#region src/runtime/register/runtimeInstance/setupSnapshot.ts
3
+ // src/runtime/register/runtimeInstance/setupSnapshot.ts
4
4
  function isRecord(value) {
5
5
  return !!value && typeof value === "object" && !Array.isArray(value);
6
6
  }
@@ -21,6 +21,5 @@ function restoreReactiveSetupSnapshot(target, snapshot, previousInitial) {
21
21
  }
22
22
  }
23
23
 
24
- //#endregion
25
24
  export { restoreReactiveSetupSnapshot };
26
25
  //# sourceMappingURL=setupSnapshot.mjs.map
@@ -3,7 +3,7 @@ import { hasOwn } from "../../../utils.mjs";
3
3
  import { isNativeBridgeMethod } from "../../nativeBridge.mjs";
4
4
  import { WEVU_NATIVE_INSTANCE_KEY, WEVU_PROPS_KEY, WEVU_PROP_KEYS_KEY, WEVU_RUNTIME_KEY, WEVU_SETUP_CONTEXT_INSTANCE_KEY, WEVU_SETUP_STATE_KEY } from "@weapp-core/constants";
5
5
 
6
- //#region src/runtime/register/runtimeInstance/utils.ts
6
+ // src/runtime/register/runtimeInstance/utils.ts
7
7
  function attachRuntimeProxyProps(state, props) {
8
8
  try {
9
9
  Object.defineProperty(state, WEVU_PROPS_KEY, {
@@ -117,6 +117,5 @@ function ensureRuntimeProps(target, runtimeState, mpProperties = target.properti
117
117
  return props;
118
118
  }
119
119
 
120
- //#endregion
121
120
  export { attachNativeInstanceRef, attachRuntimeInstance, attachRuntimeProxyProps, attachRuntimeRef, attachRuntimeSetupState, callNativeSetData, ensureRuntimeProps, resolveNativeSetData, syncRuntimeProps };
122
121
  //# sourceMappingURL=utils.mjs.map
@@ -19,7 +19,7 @@ import { restoreReactiveSetupSnapshot } from "./runtimeInstance/setupSnapshot.mj
19
19
  import { registerWatches } from "./watch.mjs";
20
20
  import { WEAPP_VITE_STATEFUL_HMR_BRIDGE_KEY, WEVU_EFFECT_SCOPE_KEY, WEVU_EXPOSED_KEY, WEVU_HOOKS_KEY, WEVU_HOST_COMMIT_PROMISE_KEY, WEVU_NATIVE_SLOT_CONTEXT_KEY, WEVU_ON_BEFORE_UNMOUNT_HOOK, WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY, WEVU_PARENT_INSTANCE_KEY, WEVU_PROPS_DERIVED_KEYS_KEY, WEVU_PROVIDES_KEY, WEVU_PUBLIC_RUNTIME_KEY, WEVU_RUNTIME_APP_KEY, WEVU_SETUP_CONTEXT_INSTANCE_KEY, WEVU_SLOT_OWNER_ID_KEY, WEVU_WATCH_STOPS_KEY } from "@weapp-core/constants";
21
21
 
22
- //#region src/runtime/register/runtimeInstance.ts
22
+ // src/runtime/register/runtimeInstance.ts
23
23
  const initialReactiveSetupSnapshots = /* @__PURE__ */ new WeakMap();
24
24
  function cloneInitialSnapshotValue(value, cache = /* @__PURE__ */ new WeakMap()) {
25
25
  if (!value || typeof value !== "object") return value;
@@ -705,6 +705,5 @@ function refreshRuntimeInstance(target, runtimeApp, watchMap, setup, options) {
705
705
  return preserveRuntimeFacadeIdentity(target, previousRuntime, nextRuntime);
706
706
  }
707
707
 
708
- //#endregion
709
708
  export { enableDeferredSetData, mountRuntimeInstance, refreshRuntimeInstance, setRuntimeSetDataVisibility, teardownRuntimeInstance };
710
709
  //# sourceMappingURL=runtimeInstance.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { getCurrentMiniProgramGlobalObject } from "../platform/current.mjs";
2
2
  import { getCurrentMiniProgramHostConfig, getMiniProgramRuntimeConsoleWarn } from "../platform.mjs";
3
3
 
4
- //#region src/runtime/register/setDataFrequencyWarning.ts
4
+ // src/runtime/register/setDataFrequencyWarning.ts
5
5
  function isObject(value) {
6
6
  return !!value && typeof value === "object" && !Array.isArray(value);
7
7
  }
@@ -86,6 +86,5 @@ function createSetDataHighFrequencyWarningMonitor(options) {
86
86
  };
87
87
  }
88
88
 
89
- //#endregion
90
89
  export { createSetDataHighFrequencyWarningMonitor, isDevelopmentRuntime, resolveHighFrequencyWarningOptions };
91
90
  //# sourceMappingURL=setDataFrequencyWarning.mjs.map
@@ -1,4 +1,4 @@
1
- //#region src/runtime/register/setup.ts
1
+ // src/runtime/register/setup.ts
2
2
  function runSetupFunction(setup, props, context) {
3
3
  if (typeof setup !== "function") return;
4
4
  const runtimeContext = context?.runtime ?? {
@@ -16,6 +16,5 @@ function runSetupFunction(setup, props, context) {
16
16
  });
17
17
  }
18
18
 
19
- //#endregion
20
19
  export { runSetupFunction };
21
20
  //# sourceMappingURL=setup.mjs.map
@@ -1,11 +1,10 @@
1
1
  import { getScopedSlotMountState, runtimeCapabilityRegistry } from "../capabilities.mjs";
2
2
 
3
- //#region src/runtime/register/snapshot.ts
3
+ // src/runtime/register/snapshot.ts
4
4
  function refreshOwnerSnapshotFromInstance(instance) {
5
5
  const state = getScopedSlotMountState(instance);
6
6
  if (state) runtimeCapabilityRegistry.scopedSlots?.refresh(instance, state);
7
7
  }
8
8
 
9
- //#endregion
10
9
  export { refreshOwnerSnapshotFromInstance };
11
10
  //# sourceMappingURL=snapshot.mjs.map
@@ -1,4 +1,4 @@
1
- //#region src/runtime/register/watch.ts
1
+ // src/runtime/register/watch.ts
2
2
  function normalizeWatchDescriptor(descriptor, runtime, instance) {
3
3
  if (typeof descriptor === "function") return {
4
4
  handler: descriptor.bind(runtime.proxy),
@@ -48,6 +48,5 @@ function registerWatches(runtime, watchMap, instance) {
48
48
  return stops;
49
49
  }
50
50
 
51
- //#endregion
52
51
  export { createPathGetter, normalizeWatchDescriptor, registerWatches };
53
52
  //# sourceMappingURL=watch.mjs.map
@@ -2,7 +2,7 @@ import { getScopedSlotHostGlobalObject } from "./platform.mjs";
2
2
  import { isDeepEqualValue } from "./app/setData/snapshot.mjs";
3
3
  import { WEVU_PROPS_KEY, WEVU_RUNTIME_OWNER_ID_KEY, WEVU_SCOPED_SLOT_OWNER_SEED_KEY, WEVU_SCOPED_SLOT_OWNER_STORE_KEY, WEVU_SLOT_OWNER_ID_KEY, WEVU_SLOT_OWNER_ID_PROP, WEVU_SLOT_OWNER_KEY, WEVU_SLOT_OWNER_PROXY_KEY, WEVU_SLOT_PROPS_DATA_KEY, WEVU_SLOT_PROPS_KEY, WEVU_SLOT_SCOPE_KEY } from "@weapp-core/constants";
4
4
 
5
- //#region src/runtime/scopedSlots.ts
5
+ // src/runtime/scopedSlots.ts
6
6
  function getScopedSlotGlobalStore() {
7
7
  const globalObject = getScopedSlotHostGlobalObject() ?? Object.create(null);
8
8
  if (!(globalObject[WEVU_SCOPED_SLOT_OWNER_STORE_KEY] instanceof Map)) globalObject[WEVU_SCOPED_SLOT_OWNER_STORE_KEY] = /* @__PURE__ */ new Map();
@@ -105,6 +105,5 @@ function attachOwnerSnapshot(target, runtime, ownerId, options) {
105
105
  updateOwnerSnapshot(ownerId, snapshot, runtime.proxy, target);
106
106
  }
107
107
 
108
- //#endregion
109
108
  export { allocateOwnerId, attachOwnerSnapshot, getOwnerProxy, getOwnerSnapshot, getOwnerTarget, mergeOwnerSnapshotProps, removeOwner, resolveOwnerSnapshot, subscribeOwner, updateOwnerSnapshot };
110
109
  //# sourceMappingURL=scopedSlots.mjs.map
@@ -2,7 +2,7 @@ import { getCurrentInstance, getCurrentSetupContext } from "./hooks/base.mjs";
2
2
  import { createSelectorQuery } from "./templateRefs/helpers.mjs";
3
3
  import { installTemplateRefs } from "./features/templateRefs.mjs";
4
4
 
5
- //#region src/runtime/selectorQuery.ts
5
+ // src/runtime/selectorQuery.ts
6
6
  function resolveSetupContext(apiName, context) {
7
7
  const resolved = context ?? getCurrentInstance();
8
8
  if (!resolved || !getCurrentSetupContext()) throw new Error(`${apiName}() 必须在 setup() 的同步阶段调用`);
@@ -45,6 +45,5 @@ function useScrollOffset(options = {}) {
45
45
  return (selector) => runSelectorQuery(context, selector, all, (nodesRef) => nodesRef.scrollOffset());
46
46
  }
47
47
 
48
- //#endregion
49
48
  export { useBoundingClientRect, useScrollOffset, useSelectorFields, useSelectorQuery };
50
49
  //# sourceMappingURL=selectorQuery.mjs.map
@@ -3,7 +3,7 @@ import { touchReactive } from "../reactivity/reactive/patch.mjs";
3
3
  import { isReactive } from "../reactivity/reactive.mjs";
4
4
  import { isRef } from "../reactivity/ref.mjs";
5
5
 
6
- //#region src/runtime/setupTracking.ts
6
+ // src/runtime/setupTracking.ts
7
7
  function isPlainObject(value) {
8
8
  if (Object.prototype.toString.call(value) !== "[object Object]") return false;
9
9
  const proto = Object.getPrototypeOf(value);
@@ -54,6 +54,5 @@ function touchSetupBinding(value, seen = /* @__PURE__ */ new WeakSet()) {
54
54
  getTrackableChildren(value).forEach((item) => touchSetupBinding(item, seen));
55
55
  }
56
56
 
57
- //#endregion
58
57
  export { hasTrackableSetupBinding, touchSetupBinding };
59
58
  //# sourceMappingURL=setupTracking.mjs.map
@@ -1,4 +1,4 @@
1
- //#region src/runtime/teardown.ts
1
+ // src/runtime/teardown.ts
2
2
  function runTeardownSteps(steps) {
3
3
  let firstError;
4
4
  let hasError = false;
@@ -13,6 +13,5 @@ function runTeardownSteps(steps) {
13
13
  if (hasError) throw firstError;
14
14
  }
15
15
 
16
- //#endregion
17
16
  export { runTeardownSteps };
18
17
  //# sourceMappingURL=teardown.mjs.map
@@ -2,7 +2,7 @@ import { unref } from "../reactivity/ref.mjs";
2
2
  import { hyphenate } from "../utils.mjs";
3
3
  import { WEVU_SETUP_STATE_KEY } from "@weapp-core/constants";
4
4
 
5
- //#region src/runtime/template.ts
5
+ // src/runtime/template.ts
6
6
  function hasOwnProperty(target, key) {
7
7
  return Object.prototype.hasOwnProperty.call(target, key);
8
8
  }
@@ -84,6 +84,5 @@ function resolvePropValue(target, key, fallback, preferProps = false) {
84
84
  return target[key];
85
85
  }
86
86
 
87
- //#endregion
88
87
  export { normalizeClass, normalizeStyle, resolvePropValue };
89
88
  //# sourceMappingURL=template.mjs.map
@@ -5,7 +5,7 @@ import { supportsCurrentMiniProgramRuntimeCapability } from "../platform.mjs";
5
5
  import { markNoSetData } from "../noSetData.mjs";
6
6
  import { WEVU_EXPOSED_KEY, WEVU_PUBLIC_RUNTIME_KEY, WEVU_READY_CALLED_KEY, WEVU_TEMPLATE_REF_MAP_KEY } from "@weapp-core/constants";
7
7
 
8
- //#region src/runtime/templateRefs/helpers.ts
8
+ // src/runtime/templateRefs/helpers.ts
9
9
  function isComponentRef(binding) {
10
10
  return binding.kind === "component";
11
11
  }
@@ -244,6 +244,5 @@ function buildTemplateRefValue(target, binding, result) {
244
244
  return createTemplateRefWrapper(target, binding.selector, { multiple: false });
245
245
  }
246
246
 
247
- //#endregion
248
247
  export { buildTemplateRefValue, createSelectorQuery, ensureRefsContainer, getTemplateRefMap, isComponentRef, resolveComponentRefValue, resolveTemplateRefTarget, updateTemplateRefMapValue };
249
248
  //# sourceMappingURL=helpers.mjs.map
@@ -4,7 +4,7 @@ import { buildTemplateRefValue, createSelectorQuery, ensureRefsContainer, getTem
4
4
  import { runTeardownSteps } from "./teardown.mjs";
5
5
  import { WEVU_READY_CALLED_KEY, WEVU_TEMPLATE_REFS_KEY, WEVU_TEMPLATE_REFS_PENDING_KEY } from "@weapp-core/constants";
6
6
 
7
- //#region src/runtime/templateRefs.ts
7
+ // src/runtime/templateRefs.ts
8
8
  const templateRefOwners = /* @__PURE__ */ new WeakMap();
9
9
  function getTemplateRefOwner(target) {
10
10
  let owner = templateRefOwners.get(target);
@@ -220,6 +220,5 @@ function clearTemplateRefs(target, assignmentTarget = target) {
220
220
  }]);
221
221
  }
222
222
 
223
- //#endregion
224
223
  export { clearTemplateRefs, scheduleTemplateRefUpdate };
225
224
  //# sourceMappingURL=templateRefs.mjs.map
@@ -1,4 +1,4 @@
1
- //#region src/runtime/uniAppHost.ts
1
+ // src/runtime/uniAppHost.ts
2
2
  const eventListeners = /* @__PURE__ */ new Map();
3
3
  const hostAdapters = /* @__PURE__ */ new WeakMap();
4
4
  function normalizeDimension(value, fallback = 0) {
@@ -106,6 +106,5 @@ function createUniAppHost(host) {
106
106
  return uni;
107
107
  }
108
108
 
109
- //#endregion
110
109
  export { createUniAppHost };
111
110
  //# sourceMappingURL=uniAppHost.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { getCurrentInstance } from "./hooks/base.mjs";
2
2
  import { onDetached, onUnload } from "./hooks/register.mjs";
3
3
 
4
- //#region src/runtime/updatePerformance.ts
4
+ // src/runtime/updatePerformance.ts
5
5
  function resolveUpdatePerformanceSetter(instance) {
6
6
  const nativeInstance = instance;
7
7
  const candidate = nativeInstance.setUpdatePerformanceListener;
@@ -36,6 +36,5 @@ function useUpdatePerformanceListener(listener) {
36
36
  return stop;
37
37
  }
38
38
 
39
- //#endregion
40
39
  export { useUpdatePerformanceListener };
41
40
  //# sourceMappingURL=updatePerformance.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { getCurrentInstance } from "./hooks/base.mjs";
2
2
  import { WEVU_IS_APP_INSTANCE_KEY, WEVU_RUNTIME_APP_KEY } from "@weapp-core/constants";
3
3
 
4
- //#region src/runtime/use.ts
4
+ // src/runtime/use.ts
5
5
  function resolveCurrentRuntimeApp() {
6
6
  const instance = getCurrentInstance();
7
7
  if (instance?.[WEVU_IS_APP_INSTANCE_KEY] && instance[WEVU_RUNTIME_APP_KEY]) return instance[WEVU_RUNTIME_APP_KEY];
@@ -20,6 +20,5 @@ function use(plugin, ...options) {
20
20
  return resolveCurrentRuntimeApp().use(plugin, ...options);
21
21
  }
22
22
 
23
- //#endregion
24
23
  export { defineAppSetup, use };
25
24
  //# sourceMappingURL=use.mjs.map
@@ -1,6 +1,6 @@
1
1
  import { getCurrentSetupContext } from "../hooks/base.mjs";
2
2
 
3
- //#region src/runtime/vueCompat/context.ts
3
+ // src/runtime/vueCompat/context.ts
4
4
  const EMPTY_SETUP_SLOTS = Object.freeze(Object.create(null));
5
5
  function useAttrs() {
6
6
  const ctx = getCurrentSetupContext();
@@ -18,6 +18,5 @@ function useNativeInstance() {
18
18
  return ctx.instance;
19
19
  }
20
20
 
21
- //#endregion
22
21
  export { useAttrs, useNativeInstance, useSlots };
23
22
  //# sourceMappingURL=context.mjs.map
@@ -2,7 +2,7 @@ import { customRef } from "../../reactivity/ref.mjs";
2
2
  import { getCurrentInstance, getCurrentSetupContext } from "../hooks/base.mjs";
3
3
  import { capitalize } from "../../utils.mjs";
4
4
 
5
- //#region src/runtime/vueCompat/model.ts
5
+ // src/runtime/vueCompat/model.ts
6
6
  const EMPTY_MODEL_MODIFIERS = Object.freeze(Object.create(null));
7
7
  function resolveModelModifiers(props, name) {
8
8
  const key = name === "modelValue" ? "modelModifiers" : `${name}Modifiers`;
@@ -110,6 +110,5 @@ function mergeModels(a, b) {
110
110
  return b;
111
111
  }
112
112
 
113
- //#endregion
114
113
  export { mergeModels, useBindModel, useChangeModel, useModel };
115
114
  //# sourceMappingURL=model.mjs.map
@@ -5,7 +5,7 @@ import { createAbsoluteRoutePath, resolvePath } from "../../routerInternal/path.
5
5
  import { stringifyQuery } from "../../routerInternal/query.mjs";
6
6
  import { parsePathInput } from "../../routerInternal/location.mjs";
7
7
 
8
- //#region src/runtime/vueCompat/router.ts
8
+ // src/runtime/vueCompat/router.ts
9
9
  const RUNTIME_ROUTER_METHODS = [
10
10
  "switchTab",
11
11
  "reLaunch",
@@ -124,6 +124,5 @@ function useNativePageRouter() {
124
124
  return useRuntimeRouterByAccessor("pageRouter", "router", "useNativePageRouter");
125
125
  }
126
126
 
127
- //#endregion
128
127
  export { useNativePageRouter, useNativeRouter };
129
128
  //# sourceMappingURL=router.mjs.map