wevu 7.0.4 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (659) hide show
  1. package/README.md +20 -4
  2. package/dist/alipay/jsx-runtime.d.mts +13 -0
  3. package/dist/alipay/jsx-runtime.mjs +1 -0
  4. package/dist/alipayIntrinsicElements/base.d.mts +4 -0
  5. package/dist/alipayIntrinsicElements/elements/button.d.mts +29 -0
  6. package/dist/alipayIntrinsicElements/elements/camera.d.mts +18 -0
  7. package/dist/alipayIntrinsicElements/elements/canvas.d.mts +20 -0
  8. package/dist/alipayIntrinsicElements/elements/checkbox-group.d.mts +11 -0
  9. package/dist/alipayIntrinsicElements/elements/checkbox.d.mts +14 -0
  10. package/dist/alipayIntrinsicElements/elements/contact-button.d.mts +15 -0
  11. package/dist/alipayIntrinsicElements/elements/cover-image.d.mts +11 -0
  12. package/dist/alipayIntrinsicElements/elements/cover-view.d.mts +11 -0
  13. package/dist/alipayIntrinsicElements/elements/error-view.d.mts +14 -0
  14. package/dist/alipayIntrinsicElements/elements/form.d.mts +12 -0
  15. package/dist/alipayIntrinsicElements/elements/icon.d.mts +11 -0
  16. package/dist/alipayIntrinsicElements/elements/image.d.mts +17 -0
  17. package/dist/alipayIntrinsicElements/elements/input.d.mts +31 -0
  18. package/dist/alipayIntrinsicElements/elements/join-group-chat.d.mts +9 -0
  19. package/dist/alipayIntrinsicElements/elements/label.d.mts +9 -0
  20. package/dist/alipayIntrinsicElements/elements/lifestyle.d.mts +11 -0
  21. package/dist/alipayIntrinsicElements/elements/lottie.d.mts +25 -0
  22. package/dist/alipayIntrinsicElements/elements/map.d.mts +44 -0
  23. package/dist/alipayIntrinsicElements/elements/match-media.d.mts +15 -0
  24. package/dist/alipayIntrinsicElements/elements/movable-area.d.mts +9 -0
  25. package/dist/alipayIntrinsicElements/elements/movable-view.d.mts +32 -0
  26. package/dist/alipayIntrinsicElements/elements/navigator.d.mts +13 -0
  27. package/dist/alipayIntrinsicElements/elements/page-container.d.mts +27 -0
  28. package/dist/alipayIntrinsicElements/elements/page-meta.d.mts +19 -0
  29. package/dist/alipayIntrinsicElements/elements/picker-view-column.d.mts +7 -0
  30. package/dist/alipayIntrinsicElements/elements/picker-view.d.mts +18 -0
  31. package/dist/alipayIntrinsicElements/elements/picker.d.mts +15 -0
  32. package/dist/alipayIntrinsicElements/elements/progress.d.mts +14 -0
  33. package/dist/alipayIntrinsicElements/elements/radio-group.d.mts +11 -0
  34. package/dist/alipayIntrinsicElements/elements/radio.d.mts +12 -0
  35. package/dist/alipayIntrinsicElements/elements/rich-text.d.mts +17 -0
  36. package/dist/alipayIntrinsicElements/elements/root-portal.d.mts +9 -0
  37. package/dist/alipayIntrinsicElements/elements/scroll-view.d.mts +29 -0
  38. package/dist/alipayIntrinsicElements/elements/share-element.d.mts +12 -0
  39. package/dist/alipayIntrinsicElements/elements/slider.d.mts +23 -0
  40. package/dist/alipayIntrinsicElements/elements/subscribe-message.d.mts +11 -0
  41. package/dist/alipayIntrinsicElements/elements/swiper-item.d.mts +7 -0
  42. package/dist/alipayIntrinsicElements/elements/swiper.d.mts +36 -0
  43. package/dist/alipayIntrinsicElements/elements/switch.d.mts +15 -0
  44. package/dist/alipayIntrinsicElements/elements/text.d.mts +12 -0
  45. package/dist/alipayIntrinsicElements/elements/textarea.d.mts +24 -0
  46. package/dist/alipayIntrinsicElements/elements/video.d.mts +39 -0
  47. package/dist/alipayIntrinsicElements/elements/view.d.mts +29 -0
  48. package/dist/alipayIntrinsicElements/elements/web-view.d.mts +13 -0
  49. package/dist/alipayIntrinsicElements.d.mts +94 -0
  50. package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/defineProperty.mjs +1 -1
  51. package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPrimitive.mjs +1 -1
  52. package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPropertyKey.mjs +1 -1
  53. package/dist/dev/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/typeof.mjs +1 -1
  54. package/dist/dev/alipayIntrinsicElements/base.d.mts +5 -0
  55. package/dist/dev/alipayIntrinsicElements/elements/button.d.mts +30 -0
  56. package/dist/dev/alipayIntrinsicElements/elements/camera.d.mts +19 -0
  57. package/dist/dev/alipayIntrinsicElements/elements/canvas.d.mts +21 -0
  58. package/dist/dev/alipayIntrinsicElements/elements/checkbox-group.d.mts +12 -0
  59. package/dist/dev/alipayIntrinsicElements/elements/checkbox.d.mts +15 -0
  60. package/dist/dev/alipayIntrinsicElements/elements/contact-button.d.mts +16 -0
  61. package/dist/dev/alipayIntrinsicElements/elements/cover-image.d.mts +12 -0
  62. package/dist/dev/alipayIntrinsicElements/elements/cover-view.d.mts +12 -0
  63. package/dist/dev/alipayIntrinsicElements/elements/error-view.d.mts +15 -0
  64. package/dist/dev/alipayIntrinsicElements/elements/form.d.mts +13 -0
  65. package/dist/dev/alipayIntrinsicElements/elements/icon.d.mts +12 -0
  66. package/dist/dev/alipayIntrinsicElements/elements/image.d.mts +18 -0
  67. package/dist/dev/alipayIntrinsicElements/elements/input.d.mts +32 -0
  68. package/dist/dev/alipayIntrinsicElements/elements/join-group-chat.d.mts +10 -0
  69. package/dist/dev/alipayIntrinsicElements/elements/label.d.mts +10 -0
  70. package/dist/dev/alipayIntrinsicElements/elements/lifestyle.d.mts +12 -0
  71. package/dist/dev/alipayIntrinsicElements/elements/lottie.d.mts +26 -0
  72. package/dist/dev/alipayIntrinsicElements/elements/map.d.mts +45 -0
  73. package/dist/dev/alipayIntrinsicElements/elements/match-media.d.mts +16 -0
  74. package/dist/dev/alipayIntrinsicElements/elements/movable-area.d.mts +10 -0
  75. package/dist/dev/alipayIntrinsicElements/elements/movable-view.d.mts +33 -0
  76. package/dist/dev/alipayIntrinsicElements/elements/navigator.d.mts +14 -0
  77. package/dist/dev/alipayIntrinsicElements/elements/page-container.d.mts +28 -0
  78. package/dist/dev/alipayIntrinsicElements/elements/page-meta.d.mts +20 -0
  79. package/dist/dev/alipayIntrinsicElements/elements/picker-view-column.d.mts +8 -0
  80. package/dist/dev/alipayIntrinsicElements/elements/picker-view.d.mts +19 -0
  81. package/dist/dev/alipayIntrinsicElements/elements/picker.d.mts +16 -0
  82. package/dist/dev/alipayIntrinsicElements/elements/progress.d.mts +15 -0
  83. package/dist/dev/alipayIntrinsicElements/elements/radio-group.d.mts +12 -0
  84. package/dist/dev/alipayIntrinsicElements/elements/radio.d.mts +13 -0
  85. package/dist/dev/alipayIntrinsicElements/elements/rich-text.d.mts +18 -0
  86. package/dist/dev/alipayIntrinsicElements/elements/root-portal.d.mts +10 -0
  87. package/dist/dev/alipayIntrinsicElements/elements/scroll-view.d.mts +30 -0
  88. package/dist/dev/alipayIntrinsicElements/elements/share-element.d.mts +13 -0
  89. package/dist/dev/alipayIntrinsicElements/elements/slider.d.mts +24 -0
  90. package/dist/dev/alipayIntrinsicElements/elements/subscribe-message.d.mts +12 -0
  91. package/dist/dev/alipayIntrinsicElements/elements/swiper-item.d.mts +8 -0
  92. package/dist/dev/alipayIntrinsicElements/elements/swiper.d.mts +37 -0
  93. package/dist/dev/alipayIntrinsicElements/elements/switch.d.mts +16 -0
  94. package/dist/dev/alipayIntrinsicElements/elements/text.d.mts +13 -0
  95. package/dist/dev/alipayIntrinsicElements/elements/textarea.d.mts +25 -0
  96. package/dist/dev/alipayIntrinsicElements/elements/video.d.mts +40 -0
  97. package/dist/dev/alipayIntrinsicElements/elements/view.d.mts +30 -0
  98. package/dist/dev/alipayIntrinsicElements/elements/web-view.d.mts +14 -0
  99. package/dist/dev/alipayIntrinsicElements.d.mts +94 -0
  100. package/dist/dev/api/vitest/setup.d.mts +1 -0
  101. package/dist/dev/api/vitest.d.mts +1 -0
  102. package/dist/dev/api.d.mts +1 -0
  103. package/dist/dev/compiler.d.mts +1 -0
  104. package/dist/dev/fetch.d.mts +9 -0
  105. package/dist/dev/index.d.mts +72 -0
  106. package/dist/dev/index.mjs +12 -15
  107. package/dist/dev/internal-reactivity.d.mts +18 -0
  108. package/dist/dev/internal-reactivity.mjs +3 -2
  109. package/dist/dev/internal-runtime.d.mts +44 -0
  110. package/dist/dev/internal-runtime.mjs +19 -14
  111. package/dist/dev/internal-template.d.mts +2 -0
  112. package/dist/dev/jsx-runtime.d.mts +44 -0
  113. package/dist/dev/jsxTypes.d.mts +9 -0
  114. package/dist/dev/macros/shared.d.mts +81 -0
  115. package/dist/dev/macros.d.mts +71 -0
  116. package/dist/dev/package.mjs +1 -1
  117. package/dist/dev/reactivity/asyncDerivation.d.mts +41 -0
  118. package/dist/dev/reactivity/asyncDerivation.mjs +130 -0
  119. package/dist/dev/reactivity/asyncDerivation.mjs.map +1 -0
  120. package/dist/dev/reactivity/computed.d.mts +21 -0
  121. package/dist/dev/reactivity/computed.mjs +2 -2
  122. package/dist/dev/reactivity/computed.mjs.map +1 -1
  123. package/dist/dev/reactivity/core.d.mts +35 -0
  124. package/dist/dev/reactivity/core.mjs +156 -32
  125. package/dist/dev/reactivity/core.mjs.map +1 -1
  126. package/dist/dev/reactivity/index.d.mts +16 -0
  127. package/dist/dev/reactivity/reactive/mutation.d.mts +21 -0
  128. package/dist/dev/reactivity/reactive/patch.d.mts +18 -0
  129. package/dist/dev/reactivity/reactive/shallow.d.mts +22 -0
  130. package/dist/dev/reactivity/reactive/shared.d.mts +4 -0
  131. package/dist/dev/reactivity/reactive.d.mts +42 -0
  132. package/dist/dev/reactivity/readonly.d.mts +27 -0
  133. package/dist/dev/reactivity/readonly.mjs.map +1 -1
  134. package/dist/dev/reactivity/ref.d.mts +27 -0
  135. package/dist/dev/reactivity/ref.mjs +1 -1
  136. package/dist/dev/reactivity/shallowRef.d.mts +19 -0
  137. package/dist/dev/reactivity/toRefs.d.mts +43 -0
  138. package/dist/dev/reactivity/traverse.d.mts +8 -0
  139. package/dist/dev/reactivity/watch/types.d.mts +43 -0
  140. package/dist/dev/reactivity/watch.d.mts +22 -0
  141. package/dist/dev/router/createRouter.d.mts +8 -0
  142. package/dist/dev/router/navigationCore.d.mts +6 -0
  143. package/dist/dev/router/resolve.d.mts +6 -0
  144. package/dist/dev/router/routeSync.d.mts +1 -0
  145. package/dist/dev/router/types.d.mts +172 -0
  146. package/dist/dev/router/useRoute.d.mts +19 -0
  147. package/dist/dev/router/useRouter.d.mts +8 -0
  148. package/dist/dev/router.d.mts +10 -0
  149. package/dist/dev/routerInternal/query.d.mts +7 -0
  150. package/dist/dev/routerInternal/types.d.mts +9 -0
  151. package/dist/dev/runtime/app/computed.mjs +2 -2
  152. package/dist/dev/runtime/app/computed.mjs.map +1 -1
  153. package/dist/dev/runtime/app/context.mjs +8 -2
  154. package/dist/dev/runtime/app/context.mjs.map +1 -1
  155. package/dist/dev/runtime/app/diagnostics.mjs +12 -0
  156. package/dist/dev/runtime/app/diagnostics.mjs.map +1 -1
  157. package/dist/dev/runtime/app/mount.mjs +31 -28
  158. package/dist/dev/runtime/app/mount.mjs.map +1 -1
  159. package/dist/dev/runtime/app/pending.d.mts +10 -0
  160. package/dist/dev/runtime/app/setData/commitTracker.d.mts +13 -0
  161. package/dist/dev/runtime/app/setData/commitTracker.mjs +265 -0
  162. package/dist/dev/runtime/app/setData/commitTracker.mjs.map +1 -0
  163. package/dist/dev/runtime/app/setData/patchScheduler.mjs +47 -51
  164. package/dist/dev/runtime/app/setData/patchScheduler.mjs.map +1 -1
  165. package/dist/dev/runtime/app/setData/scheduler.d.mts +51 -0
  166. package/dist/dev/runtime/app/setData/scheduler.mjs +98 -111
  167. package/dist/dev/runtime/app/setData/scheduler.mjs.map +1 -1
  168. package/dist/dev/runtime/app/setData/snapshot.mjs +11 -1
  169. package/dist/dev/runtime/app/setData/snapshot.mjs.map +1 -1
  170. package/dist/dev/runtime/app.d.mts +8 -0
  171. package/dist/dev/runtime/app.mjs +18 -6
  172. package/dist/dev/runtime/app.mjs.map +1 -1
  173. package/dist/dev/runtime/bindingManifest.mjs +105 -0
  174. package/dist/dev/runtime/bindingManifest.mjs.map +1 -0
  175. package/dist/dev/runtime/capabilities.d.mts +75 -0
  176. package/dist/dev/runtime/capabilities.mjs +40 -0
  177. package/dist/dev/runtime/capabilities.mjs.map +1 -0
  178. package/dist/dev/runtime/css.d.mts +14 -0
  179. package/dist/dev/runtime/defaults.d.mts +12 -0
  180. package/dist/dev/runtime/define/componentDefinition.mjs +3 -0
  181. package/dist/dev/runtime/define/componentDefinition.mjs.map +1 -1
  182. package/dist/dev/runtime/define/optionsApi.mjs +1 -1
  183. package/dist/dev/runtime/define/props.mjs +30 -60
  184. package/dist/dev/runtime/define/props.mjs.map +1 -1
  185. package/dist/dev/runtime/define/scopedSlotOptions.mjs +37 -21
  186. package/dist/dev/runtime/define/scopedSlotOptions.mjs.map +1 -1
  187. package/dist/dev/runtime/define.d.mts +118 -0
  188. package/dist/dev/runtime/define.mjs +32 -44
  189. package/dist/dev/runtime/define.mjs.map +1 -1
  190. package/dist/dev/runtime/diff.mjs +1 -1
  191. package/dist/dev/runtime/disposables.d.mts +31 -0
  192. package/dist/dev/runtime/elementIntersectionObserver.d.mts +26 -0
  193. package/dist/dev/runtime/features/inlineEvents.d.mts +7 -0
  194. package/dist/dev/runtime/features/inlineEvents.mjs +25 -0
  195. package/dist/dev/runtime/features/inlineEvents.mjs.map +1 -0
  196. package/dist/dev/runtime/features/layout.d.mts +7 -0
  197. package/dist/dev/runtime/features/layout.mjs +44 -0
  198. package/dist/dev/runtime/features/layout.mjs.map +1 -0
  199. package/dist/dev/runtime/features/patchStrategy.d.mts +7 -0
  200. package/dist/dev/runtime/features/patchStrategy.mjs +129 -0
  201. package/dist/dev/runtime/features/patchStrategy.mjs.map +1 -0
  202. package/dist/dev/runtime/features/publicLayout.d.mts +24 -0
  203. package/dist/dev/runtime/features/publicLayout.mjs +81 -0
  204. package/dist/dev/runtime/features/publicLayout.mjs.map +1 -0
  205. package/dist/dev/runtime/features/scopedSlots.d.mts +23 -0
  206. package/dist/dev/runtime/features/scopedSlots.mjs +88 -0
  207. package/dist/dev/runtime/features/scopedSlots.mjs.map +1 -0
  208. package/dist/dev/runtime/features/setDataHighFrequencyWarning.d.mts +7 -0
  209. package/dist/dev/runtime/features/setDataHighFrequencyWarning.mjs +15 -0
  210. package/dist/dev/runtime/features/setDataHighFrequencyWarning.mjs.map +1 -0
  211. package/dist/dev/runtime/features/templateRefs.d.mts +7 -0
  212. package/dist/dev/runtime/features/templateRefs.mjs +39 -0
  213. package/dist/dev/runtime/features/templateRefs.mjs.map +1 -0
  214. package/dist/dev/runtime/hooks/base.d.mts +27 -0
  215. package/dist/dev/runtime/hooks/register.d.mts +30 -0
  216. package/dist/dev/runtime/hooks/vue.d.mts +52 -0
  217. package/dist/dev/runtime/hooks/vue.mjs +3 -5
  218. package/dist/dev/runtime/hooks/vue.mjs.map +1 -1
  219. package/dist/dev/runtime/hooks.d.mts +4 -0
  220. package/dist/dev/runtime/index.d.mts +46 -0
  221. package/dist/dev/runtime/inlineDataset.mjs +75 -0
  222. package/dist/dev/runtime/inlineDataset.mjs.map +1 -0
  223. package/dist/dev/runtime/intersectionObserver.d.mts +14 -0
  224. package/dist/dev/runtime/jsxIsland.d.mts +37 -0
  225. package/dist/dev/runtime/jsxIsland.mjs.map +1 -1
  226. package/dist/dev/runtime/layoutBridge.d.mts +55 -0
  227. package/dist/dev/runtime/layoutBridge.mjs.map +1 -1
  228. package/dist/dev/runtime/noSetData.d.mts +5 -0
  229. package/dist/dev/runtime/pageEnvironment.d.mts +50 -0
  230. package/dist/dev/runtime/pageLayout.d.mts +25 -0
  231. package/dist/dev/runtime/pageLayout.mjs.map +1 -1
  232. package/dist/dev/runtime/pageScroll.d.mts +29 -0
  233. package/dist/dev/runtime/provide.d.mts +60 -0
  234. package/dist/dev/runtime/provideStore.d.mts +7 -0
  235. package/dist/dev/runtime/publicRuntime.d.mts +22 -0
  236. package/dist/dev/runtime/publicRuntime.mjs +91 -0
  237. package/dist/dev/runtime/publicRuntime.mjs.map +1 -0
  238. package/dist/dev/runtime/pullDownRefresh.d.mts +12 -0
  239. package/dist/dev/runtime/register/app.d.mts +14 -0
  240. package/dist/dev/runtime/register/app.mjs +7 -10
  241. package/dist/dev/runtime/register/app.mjs.map +1 -1
  242. package/dist/dev/runtime/register/component/lifecycle.mjs +22 -6
  243. package/dist/dev/runtime/register/component/lifecycle.mjs.map +1 -1
  244. package/dist/dev/runtime/register/component/methods.mjs +7 -10
  245. package/dist/dev/runtime/register/component/methods.mjs.map +1 -1
  246. package/dist/dev/runtime/register/component/options.mjs.map +1 -1
  247. package/dist/dev/runtime/register/component/registerDefinition.mjs +64 -69
  248. package/dist/dev/runtime/register/component/registerDefinition.mjs.map +1 -1
  249. package/dist/dev/runtime/register/component.d.mts +17 -0
  250. package/dist/dev/runtime/register/inline.d.mts +15 -0
  251. package/dist/dev/runtime/register/inline.mjs +4 -64
  252. package/dist/dev/runtime/register/inline.mjs.map +1 -1
  253. package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs +1 -1
  254. package/dist/dev/runtime/register/runtimeInstance/setupContext.mjs.map +1 -1
  255. package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs +0 -4
  256. package/dist/dev/runtime/register/runtimeInstance/setupPhase.mjs.map +1 -1
  257. package/dist/dev/runtime/register/runtimeInstance/setupSnapshot.mjs +26 -0
  258. package/dist/dev/runtime/register/runtimeInstance/setupSnapshot.mjs.map +1 -0
  259. package/dist/dev/runtime/register/runtimeInstance/utils.mjs.map +1 -1
  260. package/dist/dev/runtime/register/runtimeInstance.d.mts +26 -0
  261. package/dist/dev/runtime/register/runtimeInstance.mjs +402 -160
  262. package/dist/dev/runtime/register/runtimeInstance.mjs.map +1 -1
  263. package/dist/dev/runtime/register/setDataFrequencyWarning.mjs.map +1 -1
  264. package/dist/dev/runtime/register/setup.d.mts +11 -0
  265. package/dist/dev/runtime/register/snapshot.mjs +6 -10
  266. package/dist/dev/runtime/register/snapshot.mjs.map +1 -1
  267. package/dist/dev/runtime/register/watch.d.mts +12 -0
  268. package/dist/dev/runtime/register.d.mts +5 -0
  269. package/dist/dev/runtime/scopedSlots.mjs +1 -1
  270. package/dist/dev/runtime/scopedSlots.mjs.map +1 -1
  271. package/dist/dev/runtime/selectorQuery.d.mts +54 -0
  272. package/dist/dev/runtime/selectorQuery.mjs +5 -0
  273. package/dist/dev/runtime/selectorQuery.mjs.map +1 -1
  274. package/dist/dev/runtime/teardown.mjs +18 -0
  275. package/dist/dev/runtime/teardown.mjs.map +1 -0
  276. package/dist/dev/runtime/template.d.mts +6 -0
  277. package/dist/dev/runtime/templateRefTypes.d.mts +12 -0
  278. package/dist/dev/runtime/templateRefs/helpers.mjs.map +1 -1
  279. package/dist/dev/runtime/templateRefs.mjs +187 -118
  280. package/dist/dev/runtime/templateRefs.mjs.map +1 -1
  281. package/dist/dev/runtime/types/core.d.mts +35 -0
  282. package/dist/dev/runtime/types/miniprogram.d.mts +84 -0
  283. package/dist/dev/runtime/types/miniprogramHost.d.mts +45 -0
  284. package/dist/dev/runtime/types/miniprogramHostSources.d.mts +112 -0
  285. package/dist/dev/runtime/types/options.d.mts +136 -0
  286. package/dist/dev/runtime/types/props/propTypes.d.mts +79 -0
  287. package/dist/dev/runtime/types/props/router.d.mts +51 -0
  288. package/dist/dev/runtime/types/props/setup.d.mts +96 -0
  289. package/dist/dev/runtime/types/props.d.mts +4 -0
  290. package/dist/dev/runtime/types/runtime.d.mts +59 -0
  291. package/dist/dev/runtime/types/setData.d.mts +237 -0
  292. package/dist/dev/runtime/types.d.mts +29 -0
  293. package/dist/dev/runtime/uniAppHost.d.mts +8 -0
  294. package/dist/dev/runtime/updatePerformance.d.mts +13 -0
  295. package/dist/dev/runtime/use.d.mts +13 -0
  296. package/dist/dev/runtime/vueCompat/context.d.mts +8 -0
  297. package/dist/dev/runtime/vueCompat/model.d.mts +30 -0
  298. package/dist/dev/runtime/vueCompat/router.d.mts +28 -0
  299. package/dist/dev/runtime/vueCompat/templateRef.d.mts +9 -0
  300. package/dist/dev/runtime/vueCompat/templateRef.mjs +2 -0
  301. package/dist/dev/runtime/vueCompat/templateRef.mjs.map +1 -1
  302. package/dist/dev/runtime/vueCompat.d.mts +5 -0
  303. package/dist/dev/scheduler.d.mts +4 -0
  304. package/dist/dev/store/base.mjs +12 -18
  305. package/dist/dev/store/base.mjs.map +1 -1
  306. package/dist/dev/store/define/optionsStyle.mjs +13 -23
  307. package/dist/dev/store/define/optionsStyle.mjs.map +1 -1
  308. package/dist/dev/store/define/setupStyle.mjs +14 -24
  309. package/dist/dev/store/define/setupStyle.mjs.map +1 -1
  310. package/dist/dev/store/define/shared.mjs +44 -1
  311. package/dist/dev/store/define/shared.mjs.map +1 -1
  312. package/dist/dev/store/define.d.mts +28 -0
  313. package/dist/dev/store/define.mjs.map +1 -1
  314. package/dist/dev/store/manager.d.mts +8 -0
  315. package/dist/dev/store/storeToRefs.d.mts +13 -0
  316. package/dist/dev/store/types.d.mts +70 -0
  317. package/dist/dev/store.d.mts +5 -0
  318. package/dist/dev/ttIntrinsicElements/base.d.mts +5 -0
  319. package/dist/dev/ttIntrinsicElements/elements/ad.d.mts +8 -0
  320. package/dist/dev/ttIntrinsicElements/elements/aweme-data.d.mts +15 -0
  321. package/dist/dev/ttIntrinsicElements/elements/aweme-user-card.d.mts +16 -0
  322. package/dist/dev/ttIntrinsicElements/elements/button.d.mts +23 -0
  323. package/dist/dev/ttIntrinsicElements/elements/camera.d.mts +19 -0
  324. package/dist/dev/ttIntrinsicElements/elements/canvas.d.mts +16 -0
  325. package/dist/dev/ttIntrinsicElements/elements/checkbox-group.d.mts +12 -0
  326. package/dist/dev/ttIntrinsicElements/elements/checkbox.d.mts +12 -0
  327. package/dist/dev/ttIntrinsicElements/elements/draw-ad.d.mts +16 -0
  328. package/dist/dev/ttIntrinsicElements/elements/form.d.mts +14 -0
  329. package/dist/dev/ttIntrinsicElements/elements/icon.d.mts +11 -0
  330. package/dist/dev/ttIntrinsicElements/elements/image.d.mts +16 -0
  331. package/dist/dev/ttIntrinsicElements/elements/input.d.mts +32 -0
  332. package/dist/dev/ttIntrinsicElements/elements/label.d.mts +10 -0
  333. package/dist/dev/ttIntrinsicElements/elements/live-player.d.mts +19 -0
  334. package/dist/dev/ttIntrinsicElements/elements/live-preview.d.mts +13 -0
  335. package/dist/dev/ttIntrinsicElements/elements/map.d.mts +36 -0
  336. package/dist/dev/ttIntrinsicElements/elements/mask.d.mts +8 -0
  337. package/dist/dev/ttIntrinsicElements/elements/match-media.d.mts +16 -0
  338. package/dist/dev/ttIntrinsicElements/elements/movable-area.d.mts +10 -0
  339. package/dist/dev/ttIntrinsicElements/elements/movable-view.d.mts +27 -0
  340. package/dist/dev/ttIntrinsicElements/elements/navigator.d.mts +16 -0
  341. package/dist/dev/ttIntrinsicElements/elements/open-data.d.mts +15 -0
  342. package/dist/dev/ttIntrinsicElements/elements/picker-view-column.d.mts +8 -0
  343. package/dist/dev/ttIntrinsicElements/elements/picker-view.d.mts +19 -0
  344. package/dist/dev/ttIntrinsicElements/elements/picker.d.mts +22 -0
  345. package/dist/dev/ttIntrinsicElements/elements/progress.d.mts +16 -0
  346. package/dist/dev/ttIntrinsicElements/elements/radio-group.d.mts +12 -0
  347. package/dist/dev/ttIntrinsicElements/elements/radio.d.mts +12 -0
  348. package/dist/dev/ttIntrinsicElements/elements/rich-text.d.mts +10 -0
  349. package/dist/dev/ttIntrinsicElements/elements/rtc-room.d.mts +13 -0
  350. package/dist/dev/ttIntrinsicElements/elements/scroll-view.d.mts +32 -0
  351. package/dist/dev/ttIntrinsicElements/elements/slider.d.mts +19 -0
  352. package/dist/dev/ttIntrinsicElements/elements/swiper-item.d.mts +10 -0
  353. package/dist/dev/ttIntrinsicElements/elements/swiper.d.mts +27 -0
  354. package/dist/dev/ttIntrinsicElements/elements/switch.d.mts +14 -0
  355. package/dist/dev/ttIntrinsicElements/elements/text.d.mts +12 -0
  356. package/dist/dev/ttIntrinsicElements/elements/textarea.d.mts +34 -0
  357. package/dist/dev/ttIntrinsicElements/elements/video.d.mts +58 -0
  358. package/dist/dev/ttIntrinsicElements/elements/view.d.mts +15 -0
  359. package/dist/dev/ttIntrinsicElements/elements/web-view.d.mts +15 -0
  360. package/dist/dev/ttIntrinsicElements.d.mts +88 -0
  361. package/dist/dev/version.d.mts +4 -0
  362. package/dist/dev/vue-augment.d.mts +8 -0
  363. package/dist/dev/vue-demi.d.mts +87 -0
  364. package/dist/dev/vue-demi.mjs +12 -15
  365. package/dist/dev/vue-demi.mjs.map +1 -1
  366. package/dist/dev/vue-types.d.mts +19 -0
  367. package/dist/dev/weappIntrinsicElements/base.d.mts +5 -0
  368. package/dist/dev/weappIntrinsicElements/elements/ad-custom.d.mts +14 -0
  369. package/dist/dev/weappIntrinsicElements/elements/ad.d.mts +17 -0
  370. package/dist/dev/weappIntrinsicElements/elements/audio.d.mts +21 -0
  371. package/dist/dev/weappIntrinsicElements/elements/block.d.mts +8 -0
  372. package/dist/dev/weappIntrinsicElements/elements/button.d.mts +42 -0
  373. package/dist/dev/weappIntrinsicElements/elements/camera.d.mts +19 -0
  374. package/dist/dev/weappIntrinsicElements/elements/canvas.d.mts +19 -0
  375. package/dist/dev/weappIntrinsicElements/elements/checkbox-group.d.mts +11 -0
  376. package/dist/dev/weappIntrinsicElements/elements/checkbox.d.mts +13 -0
  377. package/dist/dev/weappIntrinsicElements/elements/cover-image.d.mts +14 -0
  378. package/dist/dev/weappIntrinsicElements/elements/cover-view.d.mts +10 -0
  379. package/dist/dev/weappIntrinsicElements/elements/editor.d.mts +23 -0
  380. package/dist/dev/weappIntrinsicElements/elements/form.d.mts +17 -0
  381. package/dist/dev/weappIntrinsicElements/elements/functional-page-navigator.d.mts +16 -0
  382. package/dist/dev/weappIntrinsicElements/elements/icon.d.mts +12 -0
  383. package/dist/dev/weappIntrinsicElements/elements/image.d.mts +19 -0
  384. package/dist/dev/weappIntrinsicElements/elements/import.d.mts +10 -0
  385. package/dist/dev/weappIntrinsicElements/elements/include.d.mts +10 -0
  386. package/dist/dev/weappIntrinsicElements/elements/input.d.mts +47 -0
  387. package/dist/dev/weappIntrinsicElements/elements/keyboard-accessory.d.mts +8 -0
  388. package/dist/dev/weappIntrinsicElements/elements/label.d.mts +10 -0
  389. package/dist/dev/weappIntrinsicElements/elements/live-player.d.mts +36 -0
  390. package/dist/dev/weappIntrinsicElements/elements/live-pusher.d.mts +58 -0
  391. package/dist/dev/weappIntrinsicElements/elements/map.d.mts +106 -0
  392. package/dist/dev/weappIntrinsicElements/elements/match-media.d.mts +16 -0
  393. package/dist/dev/weappIntrinsicElements/elements/movable-area.d.mts +27 -0
  394. package/dist/dev/weappIntrinsicElements/elements/movable-view.d.mts +27 -0
  395. package/dist/dev/weappIntrinsicElements/elements/navigation-bar.d.mts +15 -0
  396. package/dist/dev/weappIntrinsicElements/elements/navigator.d.mts +26 -0
  397. package/dist/dev/weappIntrinsicElements/elements/official-account.d.mts +14 -0
  398. package/dist/dev/weappIntrinsicElements/elements/open-data.d.mts +16 -0
  399. package/dist/dev/weappIntrinsicElements/elements/page-container.d.mts +26 -0
  400. package/dist/dev/weappIntrinsicElements/elements/page-meta.d.mts +24 -0
  401. package/dist/dev/weappIntrinsicElements/elements/picker-view-column.d.mts +19 -0
  402. package/dist/dev/weappIntrinsicElements/elements/picker-view.d.mts +19 -0
  403. package/dist/dev/weappIntrinsicElements/elements/picker.d.mts +24 -0
  404. package/dist/dev/weappIntrinsicElements/elements/progress.d.mts +22 -0
  405. package/dist/dev/weappIntrinsicElements/elements/radio-group.d.mts +11 -0
  406. package/dist/dev/weappIntrinsicElements/elements/radio.d.mts +13 -0
  407. package/dist/dev/weappIntrinsicElements/elements/rich-text.d.mts +17 -0
  408. package/dist/dev/weappIntrinsicElements/elements/scroll-view.d.mts +64 -0
  409. package/dist/dev/weappIntrinsicElements/elements/share-element.d.mts +17 -0
  410. package/dist/dev/weappIntrinsicElements/elements/slider.d.mts +24 -0
  411. package/dist/dev/weappIntrinsicElements/elements/slot.d.mts +10 -0
  412. package/dist/dev/weappIntrinsicElements/elements/swiper-item.d.mts +11 -0
  413. package/dist/dev/weappIntrinsicElements/elements/swiper.d.mts +40 -0
  414. package/dist/dev/weappIntrinsicElements/elements/switch.d.mts +15 -0
  415. package/dist/dev/weappIntrinsicElements/elements/template.d.mts +12 -0
  416. package/dist/dev/weappIntrinsicElements/elements/text.d.mts +15 -0
  417. package/dist/dev/weappIntrinsicElements/elements/textarea.d.mts +41 -0
  418. package/dist/dev/weappIntrinsicElements/elements/video.d.mts +72 -0
  419. package/dist/dev/weappIntrinsicElements/elements/view.d.mts +15 -0
  420. package/dist/dev/weappIntrinsicElements/elements/voip-room.d.mts +15 -0
  421. package/dist/dev/weappIntrinsicElements/elements/web-view.d.mts +14 -0
  422. package/dist/dev/weappIntrinsicElements.d.mts +114 -0
  423. package/dist/dev/web-apis.d.mts +3 -0
  424. package/dist/index.d.mts +13 -14
  425. package/dist/index.mjs +1 -1
  426. package/dist/internal-reactivity.d.mts +2 -1
  427. package/dist/internal-reactivity.mjs +1 -1
  428. package/dist/internal-runtime.d.mts +13 -6
  429. package/dist/internal-runtime.mjs +1 -1
  430. package/dist/jsx-runtime.d.mts +47 -9
  431. package/dist/jsxTypes.d.mts +8 -0
  432. package/dist/miniprogram/jsx-runtime.d.mts +13 -0
  433. package/dist/miniprogram/jsx-runtime.mjs +1 -0
  434. package/dist/miniprogramIntrinsicElements/base.d.mts +4 -0
  435. package/dist/miniprogramIntrinsicElements/elements/button.d.mts +23 -0
  436. package/dist/miniprogramIntrinsicElements/elements/camera.d.mts +18 -0
  437. package/dist/miniprogramIntrinsicElements/elements/canvas.d.mts +16 -0
  438. package/dist/miniprogramIntrinsicElements/elements/checkbox-group.d.mts +12 -0
  439. package/dist/miniprogramIntrinsicElements/elements/checkbox.d.mts +13 -0
  440. package/dist/miniprogramIntrinsicElements/elements/form.d.mts +13 -0
  441. package/dist/miniprogramIntrinsicElements/elements/icon.d.mts +12 -0
  442. package/dist/miniprogramIntrinsicElements/elements/image.d.mts +16 -0
  443. package/dist/miniprogramIntrinsicElements/elements/input.d.mts +29 -0
  444. package/dist/miniprogramIntrinsicElements/elements/label.d.mts +11 -0
  445. package/dist/miniprogramIntrinsicElements/elements/map.d.mts +31 -0
  446. package/dist/miniprogramIntrinsicElements/elements/match-media.d.mts +13 -0
  447. package/dist/miniprogramIntrinsicElements/elements/movable-area.d.mts +9 -0
  448. package/dist/miniprogramIntrinsicElements/elements/movable-view.d.mts +26 -0
  449. package/dist/miniprogramIntrinsicElements/elements/navigator.d.mts +15 -0
  450. package/dist/miniprogramIntrinsicElements/elements/picker-view-column.d.mts +9 -0
  451. package/dist/miniprogramIntrinsicElements/elements/picker-view.d.mts +20 -0
  452. package/dist/miniprogramIntrinsicElements/elements/picker.d.mts +14 -0
  453. package/dist/miniprogramIntrinsicElements/elements/progress.d.mts +12 -0
  454. package/dist/miniprogramIntrinsicElements/elements/radio-group.d.mts +12 -0
  455. package/dist/miniprogramIntrinsicElements/elements/radio.d.mts +13 -0
  456. package/dist/miniprogramIntrinsicElements/elements/rich-text.d.mts +11 -0
  457. package/dist/miniprogramIntrinsicElements/elements/scroll-view.d.mts +22 -0
  458. package/dist/miniprogramIntrinsicElements/elements/slider.d.mts +19 -0
  459. package/dist/miniprogramIntrinsicElements/elements/swiper-item.d.mts +9 -0
  460. package/dist/miniprogramIntrinsicElements/elements/swiper.d.mts +24 -0
  461. package/dist/miniprogramIntrinsicElements/elements/switch.d.mts +14 -0
  462. package/dist/miniprogramIntrinsicElements/elements/text.d.mts +13 -0
  463. package/dist/miniprogramIntrinsicElements/elements/textarea.d.mts +23 -0
  464. package/dist/miniprogramIntrinsicElements/elements/video.d.mts +29 -0
  465. package/dist/miniprogramIntrinsicElements/elements/view.d.mts +16 -0
  466. package/dist/miniprogramIntrinsicElements/elements/web-view.d.mts +15 -0
  467. package/dist/miniprogramIntrinsicElements.d.mts +70 -0
  468. package/dist/package.mjs +1 -1
  469. package/dist/reactivity/asyncDerivation.d.mts +40 -0
  470. package/dist/reactivity/asyncDerivation.mjs +1 -0
  471. package/dist/reactivity/computed.mjs +1 -1
  472. package/dist/reactivity/core.d.mts +1 -0
  473. package/dist/reactivity/core.mjs +1 -1
  474. package/dist/reactivity/index.d.mts +2 -1
  475. package/dist/reactivity/readonly.d.mts +1 -1
  476. package/dist/reactivity/ref.mjs +1 -1
  477. package/dist/runtime/app/computed.mjs +1 -1
  478. package/dist/runtime/app/context.mjs +1 -1
  479. package/dist/runtime/app/diagnostics.mjs +1 -1
  480. package/dist/runtime/app/mount.mjs +1 -1
  481. package/dist/runtime/app/setData/commitTracker.d.mts +12 -0
  482. package/dist/runtime/app/setData/commitTracker.mjs +1 -0
  483. package/dist/runtime/app/setData/patchScheduler.mjs +1 -1
  484. package/dist/runtime/app/setData/scheduler.d.mts +50 -0
  485. package/dist/runtime/app/setData/scheduler.mjs +1 -1
  486. package/dist/runtime/app/setData/snapshot.mjs +1 -1
  487. package/dist/runtime/app.mjs +1 -1
  488. package/dist/runtime/bindingManifest.mjs +1 -0
  489. package/dist/runtime/capabilities.d.mts +74 -0
  490. package/dist/runtime/capabilities.mjs +1 -0
  491. package/dist/runtime/define/componentDefinition.mjs +1 -1
  492. package/dist/runtime/define/optionsApi.mjs +1 -1
  493. package/dist/runtime/define/props.mjs +1 -1
  494. package/dist/runtime/define/scopedSlotOptions.mjs +1 -1
  495. package/dist/runtime/define.d.mts +5 -13
  496. package/dist/runtime/define.mjs +1 -1
  497. package/dist/runtime/diff.mjs +1 -1
  498. package/dist/runtime/features/inlineEvents.d.mts +6 -0
  499. package/dist/runtime/features/inlineEvents.mjs +1 -0
  500. package/dist/runtime/features/layout.d.mts +6 -0
  501. package/dist/runtime/features/layout.mjs +1 -0
  502. package/dist/runtime/features/patchStrategy.d.mts +6 -0
  503. package/dist/runtime/features/patchStrategy.mjs +1 -0
  504. package/dist/runtime/features/publicLayout.d.mts +23 -0
  505. package/dist/runtime/features/publicLayout.mjs +1 -0
  506. package/dist/runtime/features/scopedSlots.d.mts +22 -0
  507. package/dist/runtime/features/scopedSlots.mjs +1 -0
  508. package/dist/runtime/features/setDataHighFrequencyWarning.d.mts +6 -0
  509. package/dist/runtime/features/setDataHighFrequencyWarning.mjs +1 -0
  510. package/dist/runtime/features/templateRefs.d.mts +6 -0
  511. package/dist/runtime/features/templateRefs.mjs +1 -0
  512. package/dist/runtime/hooks/vue.d.mts +1 -2
  513. package/dist/runtime/hooks/vue.mjs +1 -1
  514. package/dist/runtime/index.d.mts +12 -14
  515. package/dist/runtime/inlineDataset.mjs +1 -0
  516. package/dist/runtime/jsxIsland.d.mts +2 -6
  517. package/dist/runtime/layoutBridge.d.mts +5 -9
  518. package/dist/runtime/pageLayout.d.mts +3 -4
  519. package/dist/runtime/publicRuntime.d.mts +21 -0
  520. package/dist/runtime/publicRuntime.mjs +1 -0
  521. package/dist/runtime/register/app.mjs +1 -1
  522. package/dist/runtime/register/component/lifecycle.mjs +1 -1
  523. package/dist/runtime/register/component/methods.mjs +1 -1
  524. package/dist/runtime/register/component/registerDefinition.mjs +1 -1
  525. package/dist/runtime/register/inline.mjs +1 -1
  526. package/dist/runtime/register/runtimeInstance/setupContext.mjs +1 -1
  527. package/dist/runtime/register/runtimeInstance/setupPhase.mjs +1 -1
  528. package/dist/runtime/register/runtimeInstance/setupSnapshot.mjs +1 -0
  529. package/dist/runtime/register/runtimeInstance.mjs +1 -1
  530. package/dist/runtime/register/snapshot.mjs +1 -1
  531. package/dist/runtime/scopedSlots.mjs +1 -1
  532. package/dist/runtime/selectorQuery.mjs +1 -1
  533. package/dist/runtime/teardown.mjs +1 -0
  534. package/dist/runtime/templateRefTypes.d.mts +5 -2
  535. package/dist/runtime/templateRefs.mjs +1 -1
  536. package/dist/runtime/types/miniprogram.d.mts +3 -0
  537. package/dist/runtime/types/options.d.mts +2 -2
  538. package/dist/runtime/types/props.d.mts +1 -1
  539. package/dist/runtime/types/setData.d.mts +18 -1
  540. package/dist/runtime/types.d.mts +3 -3
  541. package/dist/runtime/vueCompat/templateRef.mjs +1 -1
  542. package/dist/store/base.mjs +1 -1
  543. package/dist/store/define/optionsStyle.mjs +1 -1
  544. package/dist/store/define/setupStyle.mjs +1 -1
  545. package/dist/store/define/shared.mjs +1 -1
  546. package/dist/store/define.d.mts +10 -8
  547. package/dist/store/types.d.mts +4 -4
  548. package/dist/tt/jsx-runtime.d.mts +13 -0
  549. package/dist/tt/jsx-runtime.mjs +1 -0
  550. package/dist/ttIntrinsicElements/base.d.mts +4 -0
  551. package/dist/ttIntrinsicElements/elements/ad.d.mts +7 -0
  552. package/dist/ttIntrinsicElements/elements/aweme-data.d.mts +14 -0
  553. package/dist/ttIntrinsicElements/elements/aweme-user-card.d.mts +15 -0
  554. package/dist/ttIntrinsicElements/elements/button.d.mts +22 -0
  555. package/dist/ttIntrinsicElements/elements/camera.d.mts +18 -0
  556. package/dist/ttIntrinsicElements/elements/canvas.d.mts +15 -0
  557. package/dist/ttIntrinsicElements/elements/checkbox-group.d.mts +11 -0
  558. package/dist/ttIntrinsicElements/elements/checkbox.d.mts +11 -0
  559. package/dist/ttIntrinsicElements/elements/draw-ad.d.mts +15 -0
  560. package/dist/ttIntrinsicElements/elements/form.d.mts +13 -0
  561. package/dist/ttIntrinsicElements/elements/icon.d.mts +10 -0
  562. package/dist/ttIntrinsicElements/elements/image.d.mts +15 -0
  563. package/dist/ttIntrinsicElements/elements/input.d.mts +31 -0
  564. package/dist/ttIntrinsicElements/elements/label.d.mts +9 -0
  565. package/dist/ttIntrinsicElements/elements/live-player.d.mts +18 -0
  566. package/dist/ttIntrinsicElements/elements/live-preview.d.mts +12 -0
  567. package/dist/ttIntrinsicElements/elements/map.d.mts +35 -0
  568. package/dist/ttIntrinsicElements/elements/mask.d.mts +7 -0
  569. package/dist/ttIntrinsicElements/elements/match-media.d.mts +15 -0
  570. package/dist/ttIntrinsicElements/elements/movable-area.d.mts +9 -0
  571. package/dist/ttIntrinsicElements/elements/movable-view.d.mts +26 -0
  572. package/dist/ttIntrinsicElements/elements/navigator.d.mts +15 -0
  573. package/dist/ttIntrinsicElements/elements/open-data.d.mts +14 -0
  574. package/dist/ttIntrinsicElements/elements/picker-view-column.d.mts +7 -0
  575. package/dist/ttIntrinsicElements/elements/picker-view.d.mts +18 -0
  576. package/dist/ttIntrinsicElements/elements/picker.d.mts +21 -0
  577. package/dist/ttIntrinsicElements/elements/progress.d.mts +15 -0
  578. package/dist/ttIntrinsicElements/elements/radio-group.d.mts +11 -0
  579. package/dist/ttIntrinsicElements/elements/radio.d.mts +11 -0
  580. package/dist/ttIntrinsicElements/elements/rich-text.d.mts +9 -0
  581. package/dist/ttIntrinsicElements/elements/rtc-room.d.mts +12 -0
  582. package/dist/ttIntrinsicElements/elements/scroll-view.d.mts +31 -0
  583. package/dist/ttIntrinsicElements/elements/slider.d.mts +18 -0
  584. package/dist/ttIntrinsicElements/elements/swiper-item.d.mts +9 -0
  585. package/dist/ttIntrinsicElements/elements/swiper.d.mts +26 -0
  586. package/dist/ttIntrinsicElements/elements/switch.d.mts +13 -0
  587. package/dist/ttIntrinsicElements/elements/text.d.mts +11 -0
  588. package/dist/ttIntrinsicElements/elements/textarea.d.mts +33 -0
  589. package/dist/ttIntrinsicElements/elements/video.d.mts +57 -0
  590. package/dist/ttIntrinsicElements/elements/view.d.mts +14 -0
  591. package/dist/ttIntrinsicElements/elements/web-view.d.mts +14 -0
  592. package/dist/ttIntrinsicElements.d.mts +88 -0
  593. package/dist/vue-demi.d.mts +13 -14
  594. package/dist/vue-demi.mjs +1 -1
  595. package/dist/weapp/jsx-runtime.d.mts +13 -0
  596. package/dist/weapp/jsx-runtime.mjs +1 -0
  597. package/dist/weappIntrinsicElements/base.d.mts +2 -19
  598. package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +5 -4
  599. package/dist/weappIntrinsicElements/elements/ad.d.mts +6 -5
  600. package/dist/weappIntrinsicElements/elements/audio.d.mts +8 -7
  601. package/dist/weappIntrinsicElements/elements/block.d.mts +2 -2
  602. package/dist/weappIntrinsicElements/elements/button.d.mts +17 -15
  603. package/dist/weappIntrinsicElements/elements/camera.d.mts +11 -10
  604. package/dist/weappIntrinsicElements/elements/canvas.d.mts +9 -8
  605. package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +5 -7
  606. package/dist/weappIntrinsicElements/elements/checkbox.d.mts +2 -2
  607. package/dist/weappIntrinsicElements/elements/cover-image.d.mts +8 -4
  608. package/dist/weappIntrinsicElements/elements/cover-view.d.mts +2 -2
  609. package/dist/weappIntrinsicElements/elements/editor.d.mts +8 -7
  610. package/dist/weappIntrinsicElements/elements/form.d.mts +6 -5
  611. package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +8 -7
  612. package/dist/weappIntrinsicElements/elements/icon.d.mts +2 -2
  613. package/dist/weappIntrinsicElements/elements/image.d.mts +6 -5
  614. package/dist/weappIntrinsicElements/elements/import.d.mts +2 -2
  615. package/dist/weappIntrinsicElements/elements/include.d.mts +2 -2
  616. package/dist/weappIntrinsicElements/elements/input.d.mts +16 -16
  617. package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +2 -2
  618. package/dist/weappIntrinsicElements/elements/label.d.mts +2 -2
  619. package/dist/weappIntrinsicElements/elements/live-player.d.mts +17 -16
  620. package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +18 -17
  621. package/dist/weappIntrinsicElements/elements/map.d.mts +17 -16
  622. package/dist/weappIntrinsicElements/elements/match-media.d.mts +2 -2
  623. package/dist/weappIntrinsicElements/elements/movable-area.d.mts +7 -6
  624. package/dist/weappIntrinsicElements/elements/movable-view.d.mts +7 -6
  625. package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +2 -2
  626. package/dist/weappIntrinsicElements/elements/navigator.d.mts +9 -8
  627. package/dist/weappIntrinsicElements/elements/official-account.d.mts +5 -4
  628. package/dist/weappIntrinsicElements/elements/open-data.d.mts +4 -3
  629. package/dist/weappIntrinsicElements/elements/page-container.d.mts +10 -9
  630. package/dist/weappIntrinsicElements/elements/page-meta.d.mts +6 -5
  631. package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +6 -5
  632. package/dist/weappIntrinsicElements/elements/picker-view.d.mts +6 -5
  633. package/dist/weappIntrinsicElements/elements/picker.d.mts +8 -7
  634. package/dist/weappIntrinsicElements/elements/progress.d.mts +4 -3
  635. package/dist/weappIntrinsicElements/elements/radio-group.d.mts +5 -7
  636. package/dist/weappIntrinsicElements/elements/radio.d.mts +2 -2
  637. package/dist/weappIntrinsicElements/elements/rich-text.d.mts +5 -5
  638. package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +19 -23
  639. package/dist/weappIntrinsicElements/elements/share-element.d.mts +4 -5
  640. package/dist/weappIntrinsicElements/elements/slider.d.mts +5 -4
  641. package/dist/weappIntrinsicElements/elements/slot.d.mts +2 -2
  642. package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +5 -36
  643. package/dist/weappIntrinsicElements/elements/swiper.d.mts +10 -12
  644. package/dist/weappIntrinsicElements/elements/switch.d.mts +4 -3
  645. package/dist/weappIntrinsicElements/elements/template.d.mts +2 -2
  646. package/dist/weappIntrinsicElements/elements/text.d.mts +4 -4
  647. package/dist/weappIntrinsicElements/elements/textarea.d.mts +15 -14
  648. package/dist/weappIntrinsicElements/elements/video.d.mts +23 -22
  649. package/dist/weappIntrinsicElements/elements/view.d.mts +4 -2
  650. package/dist/weappIntrinsicElements/elements/voip-room.d.mts +6 -5
  651. package/dist/weappIntrinsicElements/elements/web-view.d.mts +6 -5
  652. package/dist/weappIntrinsicElements.d.mts +111 -150
  653. package/package.json +19 -19
  654. package/dist/dev/jsx-runtime.mjs +0 -1
  655. package/dist/runtime/templateRefs.d.mts +0 -10
  656. /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/defineProperty.mjs +0 -0
  657. /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPrimitive.mjs +0 -0
  658. /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPropertyKey.mjs +0 -0
  659. /package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/typeof.mjs +0 -0
@@ -1,4 +1,4 @@
1
1
  import { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InferNativePropType, InferNativeProps, InferPropType, InferProps, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, PropConstructor, PropOptions, PropType } from "./props/propTypes.mjs";
2
2
  import { MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, RouterNavigateToOption, RouterReLaunchOption, RouterRedirectToOption, RouterSwitchTabOption, SetupContextRouter, TypedRouterTabBarUrl, TypedRouterUrl, WevuTypedRouterRouteMap } from "./props/router.mjs";
3
3
  import { SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextSelectorQuery, SetupFunction } from "./props/setup.mjs";
4
- export type { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InferNativePropType, InferNativeProps, InferPropType, InferProps, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, PropConstructor, PropOptions, PropType, RouterNavigateToOption, RouterReLaunchOption, RouterRedirectToOption, RouterSwitchTabOption, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupFunction, TypedRouterTabBarUrl, TypedRouterUrl, WevuTypedRouterRouteMap };
4
+ export type { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InferNativePropType, InferNativeProps, InferPropType, InferProps, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, PropConstructor, PropOptions, PropType, RouterNavigateToOption, RouterReLaunchOption, RouterRedirectToOption, RouterSwitchTabOption, SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextRouter, SetupContextSelectorQuery, SetupFunction, TypedRouterTabBarUrl, TypedRouterUrl, WevuTypedRouterRouteMap };
@@ -1,3 +1,4 @@
1
+ import { WevuBindingSourceSpanV1, WevuBindingUpdateMode } from "@weapp-core/constants";
1
2
  //#region src/runtime/types/setData.d.ts
2
3
  export interface SetDataSnapshotOptions {
3
4
  /**
@@ -202,9 +203,19 @@ export interface SetDataSnapshotOptions {
202
203
  */
203
204
  functionPaths?: string[];
204
205
  }
206
+ /**
207
+ * 与本次 setData 诊断相关的编译期模板绑定。
208
+ */
209
+ export interface SetDataBindingDiagnostic {
210
+ id: string;
211
+ outputPath: string;
212
+ updateMode: WevuBindingUpdateMode;
213
+ sourceFile: string;
214
+ sourceLocation?: WevuBindingSourceSpanV1;
215
+ }
205
216
  export interface SetDataDebugInfo {
206
217
  mode: 'patch' | 'diff';
207
- reason: 'patch' | 'diff' | 'needsFullSnapshot' | 'maxPatchKeys' | 'maxPayloadBytes' | 'loopWarning';
218
+ reason: 'patch' | 'diff' | 'needsFullSnapshot' | 'maxPatchKeys' | 'maxPayloadBytes' | 'loopWarning' | 'commitFailure';
208
219
  pendingPatchKeys: number;
209
220
  payloadKeys: number;
210
221
  estimatedBytes?: number;
@@ -215,5 +226,11 @@ export interface SetDataDebugInfo {
215
226
  windowMs?: number;
216
227
  targetLabel?: string;
217
228
  message?: string;
229
+ /**
230
+ * 根据实际 payload 或待处理路径解析出的相关编译期绑定。
231
+ */
232
+ bindings?: SetDataBindingDiagnostic[];
233
+ revision?: number;
234
+ committedRevision?: number;
218
235
  }
219
236
  //#endregion
@@ -5,10 +5,10 @@ import { ComponentPropsOptions, ExtractDefaultPropTypes, ExtractPropTypes, Extra
5
5
  import { MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, SetupContextRouter, WevuTypedRouterRouteMap } from "./types/props/router.mjs";
6
6
  import { ComponentPublicInstance, ComputedDefinitions, ExtractComputed, ExtractMethods, MethodDefinitions, ModelBinding, ModelBindingOptions, ModelBindingPayload } from "./types/core.mjs";
7
7
  import { AppConfig, InternalRuntimeState, InternalRuntimeStateFields, RuntimeApp, RuntimeInstance, WevuPlugin } from "./types/runtime.mjs";
8
- import { SetupContext, SetupContextNativeInstance, SetupFunction } from "./types/props/setup.mjs";
8
+ import { SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextSelectorQuery, SetupFunction } from "./types/props/setup.mjs";
9
9
  import "./types/props.mjs";
10
10
  import { AllowedComponentProps, ComponentCustomProps, ComponentOptionsMixin, DefineComponent, NativeComponent, ObjectDirective, PublicProps, ShallowUnwrapRef, VNode, VNodeProps } from "../vue-types.mjs";
11
- import { SetDataDebugInfo, SetDataSnapshotOptions } from "./types/setData.mjs";
11
+ import { SetDataBindingDiagnostic, SetDataDebugInfo, SetDataSnapshotOptions } from "./types/setData.mjs";
12
12
  import { CreateAppOptions, DataOption, DefineAppOptions, DefineComponentOptions, PageFeatures } from "./types/options.mjs";
13
13
  //#region src/runtime/types.d.ts
14
14
  export interface WevuGlobalComponents {}
@@ -25,4 +25,4 @@ export interface TemplateRefValue {
25
25
  }
26
26
  export type MiniProgramTemplateRefValue = TemplateRefValue;
27
27
  //#endregion
28
- export type { AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComputedDefinitions, CreateAppOptions, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, MethodDefinitions, MiniProgramAdapter, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, MiniProgramComponentInstance, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, MiniProgramComponentOptions, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramInstance, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime as MiniProgramPageLifetime, MiniProgramPageLifetimes, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter as MiniProgramRouter, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, ModelBinding, ModelBindingOptions, ModelBindingPayload, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, PageFeatures, PropConstructor, PropOptions, PropType, PublicProps, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupFunction, ShallowUnwrapRef, HostMiniProgramTriggerEventOptions as TriggerEventOptions, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, VNode, VNodeProps, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuPlugin, WevuTypedRouterRouteMap };
28
+ export type { AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComputedDefinitions, CreateAppOptions, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, MethodDefinitions, MiniProgramAdapter, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, MiniProgramComponentInstance, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, MiniProgramComponentOptions, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramInstance, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime as MiniProgramPageLifetime, MiniProgramPageLifetimes, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter as MiniProgramRouter, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, ModelBinding, ModelBindingOptions, ModelBindingPayload, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, PageFeatures, PropConstructor, PropOptions, PropType, PublicProps, RuntimeApp, RuntimeInstance, SetDataBindingDiagnostic, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextIntersectionObserver, SetupContextIntersectionObserverOptions, SetupContextNativeInstance, SetupContextRouter, SetupContextSelectorQuery, SetupFunction, ShallowUnwrapRef, HostMiniProgramTriggerEventOptions as TriggerEventOptions, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, VNode, VNodeProps, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuPlugin, WevuTypedRouterRouteMap };
@@ -1 +1 @@
1
- import{shallowRef as e}from"../../reactivity/shallowRef.mjs";import{getCurrentInstance as t}from"../hooks/base.mjs";import{WEVU_TEMPLATE_REF_MAP_KEY as n}from"@weapp-core/constants";function r(e){let t=e[n];if(t)return t;let r=new Map;try{Object.defineProperty(e,n,{value:r,configurable:!0,enumerable:!1,writable:!1})}catch(t){e[n]=r}return r}function i(n){let i=t();if(!i)throw Error(`useTemplateRef() 必须在 setup() 的同步阶段调用`);let a=typeof n==`string`?n.trim():``;if(!a)throw Error(`useTemplateRef() 需要传入有效的模板 ref 名称`);let o=r(i),s=o.get(a);if(s)return s;let c=e(null);return o.set(a,c),c}export{i as useTemplateRef};
1
+ import{shallowRef as e}from"../../reactivity/shallowRef.mjs";import{getCurrentInstance as t}from"../hooks/base.mjs";import{installTemplateRefs as n}from"../features/templateRefs.mjs";import{WEVU_TEMPLATE_REF_MAP_KEY as r}from"@weapp-core/constants";function i(e){let t=e[r];if(t)return t;let n=new Map;try{Object.defineProperty(e,r,{value:n,configurable:!0,enumerable:!1,writable:!1})}catch(t){e[r]=n}return n}function a(r){n();let a=t();if(!a)throw Error(`useTemplateRef() 必须在 setup() 的同步阶段调用`);let o=typeof r==`string`?r.trim():``;if(!o)throw Error(`useTemplateRef() 需要传入有效的模板 ref 名称`);let s=i(a),c=s.get(o);if(c)return c;let l=e(null);return s.set(o,l),l}export{a as useTemplateRef};
@@ -1 +1 @@
1
- import{isObject as e,mergeShallow as t}from"./utils.mjs";function n(n,r,i,a){let o={$id:n};Object.defineProperty(o,"$state",{get(){return r},set(n){r&&e(n)&&(t(r,n),i(`patch object`))}}),o.$patch=e=>{if(!r){typeof e==`function`?(e(o),i(`patch function`)):(t(o,e),i(`patch object`));return}typeof e==`function`?(e(r),i(`patch function`)):(t(r,e),i(`patch object`))},a&&(o.$reset=()=>a());let s=new Set;o.$subscribe=(e,t)=>(s.add(e),()=>s.delete(e));let c=new Set;return o.$onAction=e=>(c.add(e),()=>c.delete(e)),{api:o,subs:s,actionSubs:c}}export{n as createBaseApi};
1
+ import{batch as e}from"../reactivity/core.mjs";import{isObject as t,mergeShallow as n}from"./utils.mjs";function r(r,i,a,o){let s={$id:r};Object.defineProperty(s,"$state",{get(){return i},set(e){i&&t(e)&&(n(i,e),a(`patch object`))}}),s.$patch=t=>{let r=typeof t==`function`?`patch function`:`patch object`;e(()=>{let e=i==null?s:i;typeof t==`function`?t(e):n(e,t)}),a(r)},o&&(s.$reset=()=>{e(o),a(`patch object`)});let c=new Set;s.$subscribe=(e,t)=>(c.add(e),()=>c.delete(e));let l=new Set;return s.$onAction=e=>(l.add(e),()=>l.delete(e)),{api:s,subs:c,actionSubs:l}}export{r as createBaseApi};
@@ -1 +1 @@
1
- import{effect as e}from"../../reactivity/core.mjs";import{toRaw as t}from"../../reactivity/reactive/shared.mjs";import{touchReactive as n}from"../../reactivity/reactive/patch.mjs";import{reactive as r}from"../../reactivity/reactive.mjs";import{computed as i}from"../../reactivity/computed.mjs";import{wrapAction as a}from"../actions.mjs";import{cloneDeep as o,resetObject as s}from"../utils.mjs";import{createBaseApi as c}from"../base.mjs";import{createSafeNotifier as l}from"./shared.mjs";function u(u,d,f){var p,m,h;let g=d.state?d.state():{},_=r(g),v=o(t(g)),y=()=>{},b=c(u,_,e=>y(e),()=>{s(_,v),y(`patch object`)}),x=!1,S=b.api.$patch;if(b.api.$patch=e=>{x=!0;try{S(e)}finally{x=!1}},typeof b.api.$reset==`function`){let e=b.api.$reset;b.api.$reset=()=>{x=!0;try{e()}finally{x=!1}}}y=l(u,b.subs,()=>_);let C={};for(let e of Object.getOwnPropertyNames(b.api)){let t=Object.getOwnPropertyDescriptor(b.api,e);t&&(e===`$state`?Object.defineProperty(C,e,{enumerable:t.enumerable,configurable:t.configurable,get(){return b.api.$state},set(e){x=!0;try{b.api.$state=e}finally{x=!1}}}):Object.defineProperty(C,e,t))}let w=(p=d.getters)==null?{}:p;Object.keys(w).forEach(e=>{let t=w[e];if(typeof t==`function`){let n=i(()=>t.call(C,_));Object.defineProperty(C,e,{enumerable:!0,configurable:!0,get(){return n.value}})}});let T=(m=d.actions)==null?{}:m;Object.keys(T).forEach(e=>{let t=T[e];if(typeof t==`function`){let n=a(C,e,(...e)=>t.apply(C,e),b.actionSubs);C[e]=n}}),Object.keys(_).forEach(e=>{Object.defineProperty(C,e,{enumerable:!0,configurable:!0,get(){return _[e]},set(t){_[e]=t}})});let E=!1,D=!1;e(()=>{if(n(_),!E){E=!0;return}if(!(x||D)){D=!0;try{y(`direct`)}finally{D=!1}}});let O=(h=f==null?void 0:f._plugins)==null?[]:h;for(let e of O)try{e({store:C})}catch(e){}return C}export{u as createOptionsStyleStore};
1
+ import{effect as e}from"../../reactivity/core.mjs";import{toRaw as t}from"../../reactivity/reactive/shared.mjs";import{touchReactive as n}from"../../reactivity/reactive/patch.mjs";import{reactive as r}from"../../reactivity/reactive.mjs";import{computed as i}from"../../reactivity/computed.mjs";import{wrapAction as a}from"../actions.mjs";import{cloneDeep as o,resetObject as s}from"../utils.mjs";import{createBaseApi as c}from"../base.mjs";import{createSafeNotifier as l,createStoreMutationTransaction as u}from"./shared.mjs";function d(d,f,p){var m,h,g;let _=f.state?f.state():{},v=r(_),y=o(t(_)),b=()=>{},x=u(e=>b(e)),S=c(d,v,x.notify,()=>{s(v,y)}),C=S.api.$patch;if(S.api.$patch=e=>{x.run(()=>{C(e)})},typeof S.api.$reset==`function`){let e=S.api.$reset;S.api.$reset=()=>{x.run(()=>{e()})}}b=l(d,S.subs,()=>v);let w={};for(let e of Object.getOwnPropertyNames(S.api)){let t=Object.getOwnPropertyDescriptor(S.api,e);t&&(e===`$state`?Object.defineProperty(w,e,{enumerable:t.enumerable,configurable:t.configurable,get(){return S.api.$state},set(e){x.run(()=>{S.api.$state=e})}}):Object.defineProperty(w,e,t))}let T=(m=f.getters)==null?{}:m;Object.keys(T).forEach(e=>{let t=T[e];if(typeof t==`function`){let n=i(()=>t.call(w,v));Object.defineProperty(w,e,{enumerable:!0,configurable:!0,get(){return n.value}})}});let E=(h=f.actions)==null?{}:h;Object.keys(E).forEach(e=>{let t=E[e];if(typeof t==`function`){let n=a(w,e,(...e)=>t.apply(w,e),S.actionSubs);w[e]=n}}),Object.keys(v).forEach(e=>{Object.defineProperty(w,e,{enumerable:!0,configurable:!0,get(){return v[e]},set(t){v[e]=t}})});let D=!1,O=!1;e(()=>{if(n(v),!D){D=!0;return}if(!(x.active||O)){O=!0;try{b(`direct`)}finally{O=!1}}});let k=(g=p==null?void 0:p._plugins)==null?[]:g;for(let e of k)try{e({store:w})}catch(e){}return w}export{d as createOptionsStyleStore};
@@ -1 +1 @@
1
- import{effect as e}from"../../reactivity/core.mjs";import{touchReactive as t}from"../../reactivity/reactive/patch.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{wrapAction as i}from"../actions.mjs";import{cloneDeep as a,resetObject as o}from"../utils.mjs";import{createBaseApi as s}from"../base.mjs";import{createSafeNotifier as c,isTrackableRef as l,snapshotValue as u}from"./shared.mjs";function d(d,f,p){var m;let h=f(),g=()=>{},_=new Map;Object.keys(h).forEach(e=>{let t=h[e];typeof t==`function`||e.startsWith(`$`)||(!r(t)||l(t))&&_.set(e,u(t))});let v={},y=s(d,void 0,e=>g(e),()=>{_.forEach((e,t)=>{let i=v[t];if(l(i)){try{i.value=a(e)}catch(e){}return}if(n(i)){o(i,e);return}r(i)||(v[t]=a(e))}),g(`patch object`)}),b=!1,x=y.api.$patch;if(y.api.$patch=e=>{b=!0;try{x(e)}finally{b=!1}},typeof y.api.$reset==`function`){let e=y.api.$reset;y.api.$reset=()=>{b=!0;try{e()}finally{b=!1}}}v={...h},g=c(d,y.subs,()=>v);for(let e of Object.getOwnPropertyNames(y.api)){let t=Object.getOwnPropertyDescriptor(y.api,e);t&&(e===`$state`?Object.defineProperty(v,e,{enumerable:t.enumerable,configurable:t.configurable,get(){return y.api.$state},set(e){b=!0;try{y.api.$state=e}finally{b=!1}}}):Object.defineProperty(v,e,t))}let S=[];Object.keys(h).forEach(e=>{let t=h[e];if(typeof t==`function`&&!e.startsWith(`$`)){v[e]=i(v,e,t,y.actionSubs);return}if(l(t)){S.push(t);return}if(n(t)){S.push(t);return}if(!r(t)&&!e.startsWith(`$`)){let n=t;Object.defineProperty(v,e,{enumerable:!0,configurable:!0,get(){return n},set(e){n=e,b||g(`direct`)}})}});let C=!1;if(S.length>0){let n=!1;e(()=>{if(S.forEach(e=>{l(e)?e.value:t(e)}),!n){n=!0;return}if(!(b||C)){C=!0;try{g(`direct`)}finally{C=!1}}})}let w=(m=p==null?void 0:p._plugins)==null?[]:m;for(let e of w)try{e({store:v})}catch(e){}return v}export{d as createSetupStyleStore};
1
+ import{effect as e}from"../../reactivity/core.mjs";import{touchReactive as t}from"../../reactivity/reactive/patch.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{wrapAction as i}from"../actions.mjs";import{cloneDeep as a,resetObject as o}from"../utils.mjs";import{createBaseApi as s}from"../base.mjs";import{createSafeNotifier as c,createStoreMutationTransaction as l,isTrackableRef as u,snapshotValue as d}from"./shared.mjs";function f(f,p,m){var h;let g=p(),_=()=>{},v=new Map;Object.keys(g).forEach(e=>{let t=g[e];typeof t==`function`||e.startsWith(`$`)||(!r(t)||u(t))&&v.set(e,d(t))});let y={},b=()=>{v.forEach((e,t)=>{let i=y[t];if(u(i)){try{i.value=a(e)}catch(e){}return}if(n(i)){o(i,e);return}r(i)||(y[t]=a(e))})},x=l(e=>_(e)),S=s(f,void 0,x.notify,b),C=S.api.$patch;if(S.api.$patch=e=>{x.run(()=>{C(e)})},typeof S.api.$reset==`function`){let e=S.api.$reset;S.api.$reset=()=>{x.run(()=>{e()})}}y={...g},_=c(f,S.subs,()=>y);for(let e of Object.getOwnPropertyNames(S.api)){let t=Object.getOwnPropertyDescriptor(S.api,e);t&&(e===`$state`?Object.defineProperty(y,e,{enumerable:t.enumerable,configurable:t.configurable,get(){return S.api.$state},set(e){x.run(()=>{S.api.$state=e})}}):Object.defineProperty(y,e,t))}let w=[];Object.keys(g).forEach(e=>{let t=g[e];if(typeof t==`function`&&!e.startsWith(`$`)){y[e]=i(y,e,t,S.actionSubs);return}if(u(t)){w.push(t);return}if(n(t)){w.push(t);return}if(!r(t)&&!e.startsWith(`$`)){let n=t;Object.defineProperty(y,e,{enumerable:!0,configurable:!0,get(){return n},set(e){n=e,x.active||_(`direct`)}})}});let T=!1;if(w.length>0){let n=!1;e(()=>{if(w.forEach(e=>{u(e)?e.value:t(e)}),!n){n=!0;return}if(!(x.active||T)){T=!0;try{_(`direct`)}finally{T=!1}}})}let E=(h=m==null?void 0:m._plugins)==null?[]:h;for(let e of E)try{e({store:y})}catch(e){}return y}export{f as createSetupStyleStore};
@@ -1 +1 @@
1
- import{toRaw as e}from"../../reactivity/reactive/shared.mjs";import{isReactive as t}from"../../reactivity/reactive.mjs";import{isRef as n}from"../../reactivity/ref.mjs";import{cloneDeep as r}from"../utils.mjs";function i(e){return n(e)}function a(n){return t(n)?r(e(n)):i(n)?r(n.value):r(n)}function o(e,t,n){let r=!1;return i=>{if(!r){r=!0;try{let r=n();t.forEach(t=>{try{t({type:i,storeId:e},r)}catch(e){}})}finally{r=!1}}}}export{o as createSafeNotifier,i as isTrackableRef,a as snapshotValue};
1
+ import{queueBatchCallback as e}from"../../reactivity/core.mjs";import{toRaw as t}from"../../reactivity/reactive/shared.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{cloneDeep as i}from"../utils.mjs";function a(e){return r(e)}function o(e){return n(e)?i(t(e)):a(e)?i(e.value):i(e)}function s(e,t,n){let r=!1;return i=>{if(!r){r=!0;try{let r=n();t.forEach(t=>{try{t({type:i,storeId:e},r)}catch(e){}})}finally{r=!1}}}}function c(t){let n=0,r,i=!1,a=()=>{if(n>0)return;let e=r;r=void 0,i=!1,e&&t(e)};return{get active(){return n>0||i},notify(e){if(n===0&&!i){t(e);return}r=e},run(t){let o=n===0,s=r,c=!1;n++;try{let e=t();return c=!0,e}finally{n--,o&&(c||(r=s),i=!0,e(a))}}}}export{s as createSafeNotifier,c as createStoreMutationTransaction,a as isTrackableRef,o as snapshotValue};
@@ -1,6 +1,15 @@
1
1
  import { ActionSubscriber, DefineStoreOptions, StoreGetters, StoreSubscribeOptions, SubscriptionCallback } from "./types.mjs";
2
2
  //#region src/store/define.d.ts
3
3
  type SetupDefinition<T> = () => T;
4
+ type ActionResult<A> = Awaited<ReturnType<Extract<A[keyof A], (...args: any[]) => any>>>;
5
+ type OptionsStore<S extends Record<string, any>, G extends Record<string, any>, A extends Record<string, any>> = S & StoreGetters<G> & A & {
6
+ $id: string;
7
+ $state: S;
8
+ $patch: (patch: Partial<S> | ((state: S) => void)) => void;
9
+ $reset: () => void;
10
+ $subscribe: (cb: SubscriptionCallback<S>, opts?: StoreSubscribeOptions) => () => void;
11
+ $onAction: (cb: ActionSubscriber<OptionsStore<S, G, A>, ActionResult<A>>) => () => void;
12
+ };
4
13
  /**
5
14
  * @description 定义一个 setup 风格的 store
6
15
  */
@@ -14,12 +23,5 @@ export declare function defineStore<T extends Record<string, any>>(id: string, s
14
23
  /**
15
24
  * @description 定义一个 options 风格的 store
16
25
  */
17
- export declare function defineStore<S extends Record<string, any>, G extends Record<string, any>, A extends Record<string, any>>(id: string, options: DefineStoreOptions<S, G, A>): () => S & StoreGetters<G> & A & {
18
- $id: string;
19
- $state: S;
20
- $patch: (patch: Partial<S> | ((state: S) => void)) => void;
21
- $reset: () => void;
22
- $subscribe: (cb: SubscriptionCallback<S>, opts?: StoreSubscribeOptions) => () => void;
23
- $onAction: (cb: ActionSubscriber<S & StoreGetters<G> & A>) => () => void;
24
- };
26
+ export declare function defineStore<S extends Record<string, any>, G extends Record<string, any>, A extends Record<string, any>>(id: string, options: DefineStoreOptions<S, G, A>): () => OptionsStore<S, G, A>;
25
27
  //#endregion
@@ -24,18 +24,18 @@ export interface StoreSubscribeOptions {
24
24
  /**
25
25
  * @description Action 订阅回调上下文
26
26
  */
27
- export interface ActionContext<TStore = any> {
27
+ export interface ActionContext<TStore = any, TResult = any> {
28
28
  name: string;
29
29
  store: TStore;
30
30
  args: any[];
31
- after: (cb: (result: any) => void) => void;
31
+ after: (cb: (result: TResult) => void) => void;
32
32
  onError: (cb: (error: any) => void) => void;
33
33
  }
34
34
  /**
35
35
  * @description Action 订阅回调类型
36
36
  */
37
- export interface ActionSubscriber<TStore = any> {
38
- (context: ActionContext<TStore>): void;
37
+ export interface ActionSubscriber<TStore = any, TResult = any> {
38
+ (context: ActionContext<TStore, TResult>): void;
39
39
  }
40
40
  /**
41
41
  * @description Store 管理器(插件与共享实例)
@@ -0,0 +1,13 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../ttIntrinsicElements/base.mjs";
2
+ import { TtIntrinsicElements } from "../ttIntrinsicElements.mjs";
3
+ import { JSX as JSX$1, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxGlobalComponents as WevuJsxGlobalComponents$1, WevuJsxHostAttributes } from "wevu/jsx-runtime";
4
+ //#region src/tt/jsx-runtime.d.ts
5
+ export declare namespace JSX {
6
+ type Element = JSX$1.Element;
7
+ interface ElementClass extends JSX$1.ElementClass {}
8
+ interface ElementAttributesProperty extends JSX$1.ElementAttributesProperty {}
9
+ interface IntrinsicAttributes extends JSX$1.IntrinsicAttributes {}
10
+ interface IntrinsicElements extends WevuJsxGlobalComponents$1, TtIntrinsicElements {}
11
+ }
12
+ //#endregion
13
+ export type { TtIntrinsicElementBaseAttributes, TtIntrinsicElements, WevuJsxChild, WevuJsxElement, WevuJsxEventHandler, WevuJsxGlobalComponents, WevuJsxHostAttributes };
@@ -0,0 +1 @@
1
+ export{};
@@ -0,0 +1,4 @@
1
+ import { WevuJsxHostAttributes } from "../jsx-runtime.mjs";
2
+ //#region src/ttIntrinsicElements/base.d.ts
3
+ export type TtIntrinsicElementBaseAttributes = WevuJsxHostAttributes;
4
+ //#endregion
@@ -0,0 +1,7 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/ad.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/overview
5
+ */
6
+ export type TtIntrinsicElementAd = TtIntrinsicElementBaseAttributes;
7
+ //#endregion
@@ -0,0 +1,14 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/aweme-data.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/aweme-data
6
+ */
7
+ export type TtIntrinsicElementAwemeData = TtIntrinsicElementBaseAttributes & {
8
+ 'aweme-id'?: string;
9
+ 'default-avatar'?: string;
10
+ 'default-text'?: string;
11
+ 'disable-default'?: boolean;
12
+ onError?: WevuJsxEventHandler;
13
+ };
14
+ //#endregion
@@ -0,0 +1,15 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/aweme-user-card.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/aweme-user-card
6
+ */
7
+ export type TtIntrinsicElementAwemeUserCard = TtIntrinsicElementBaseAttributes & {
8
+ 'aweme-id'?: string;
9
+ fixed?: boolean;
10
+ height?: number;
11
+ 'left-right-padding'?: number;
12
+ onError?: WevuJsxEventHandler;
13
+ width?: number;
14
+ };
15
+ //#endregion
@@ -0,0 +1,22 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/button.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/button
6
+ */
7
+ export type TtIntrinsicElementButton = TtIntrinsicElementBaseAttributes & {
8
+ disabled?: boolean;
9
+ 'form-type'?: 'reset' | 'submit';
10
+ 'hover-class'?: string;
11
+ 'hover-start-time'?: number;
12
+ 'hover-stay-time'?: number;
13
+ 'hover-stop-propagation'?: boolean;
14
+ loading?: boolean;
15
+ onAgreePrivacyAuthorization?: WevuJsxEventHandler;
16
+ onGetPhoneNumber?: WevuJsxEventHandler;
17
+ onTap?: WevuJsxEventHandler;
18
+ 'open-type'?: 'addCalendarEvent' | 'addShortcut' | 'agreePrivacyAuthorization' | 'authorizePrivateMessage' | 'getPhoneNumber' | 'im' | 'joinGroup' | 'navigateToVideoView' | 'openAwemeUserProfile' | 'openSubscribeMessageSetting' | 'openWebcastRoom' | 'platformIm' | 'privateMessage' | 'share' | 'uploadDouyinVideo';
19
+ size?: 'default' | 'mini';
20
+ type?: 'default' | 'primary';
21
+ };
22
+ //#endregion
@@ -0,0 +1,18 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/camera.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/camera
6
+ */
7
+ export type TtIntrinsicElementCamera = TtIntrinsicElementBaseAttributes & {
8
+ 'device-position'?: string;
9
+ flash?: string;
10
+ 'frame-size'?: string;
11
+ mode?: string;
12
+ onError?: WevuJsxEventHandler;
13
+ onInitdone?: WevuJsxEventHandler;
14
+ onScanCode?: WevuJsxEventHandler;
15
+ onStop?: WevuJsxEventHandler;
16
+ resolution?: string;
17
+ };
18
+ //#endregion
@@ -0,0 +1,15 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/canvas.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/canvas/canvas
6
+ */
7
+ export type TtIntrinsicElementCanvas = TtIntrinsicElementBaseAttributes & {
8
+ 'canvas-id'?: string;
9
+ onTouchCancel?: WevuJsxEventHandler;
10
+ onTouchEnd?: WevuJsxEventHandler;
11
+ onTouchMove?: WevuJsxEventHandler;
12
+ onTouchStart?: WevuJsxEventHandler;
13
+ type?: string;
14
+ };
15
+ //#endregion
@@ -0,0 +1,11 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/checkbox-group.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/checkbox-group
6
+ */
7
+ export type TtIntrinsicElementCheckboxGroup = TtIntrinsicElementBaseAttributes & {
8
+ name?: string;
9
+ onChange?: WevuJsxEventHandler;
10
+ };
11
+ //#endregion
@@ -0,0 +1,11 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/checkbox.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/checkbox
5
+ */
6
+ export type TtIntrinsicElementCheckbox = TtIntrinsicElementBaseAttributes & {
7
+ checked?: boolean;
8
+ disabled?: boolean;
9
+ value?: string;
10
+ };
11
+ //#endregion
@@ -0,0 +1,15 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/draw-ad.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/draw-ad
6
+ */
7
+ export type TtIntrinsicElementDrawAd = TtIntrinsicElementBaseAttributes & {
8
+ 'full-screen'?: boolean;
9
+ onError?: WevuJsxEventHandler;
10
+ onPlay?: WevuJsxEventHandler;
11
+ onStop?: WevuJsxEventHandler;
12
+ scale?: number;
13
+ 'unit-id'?: string;
14
+ };
15
+ //#endregion
@@ -0,0 +1,13 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/form.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/form
6
+ */
7
+ export type TtIntrinsicElementForm = TtIntrinsicElementBaseAttributes & {
8
+ 'clue-component-id'?: string;
9
+ 'conversion-target'?: number;
10
+ onReset?: WevuJsxEventHandler;
11
+ onSubmit?: WevuJsxEventHandler;
12
+ };
13
+ //#endregion
@@ -0,0 +1,10 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/icon.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/basic-content/icon
5
+ */
6
+ export type TtIntrinsicElementIcon = TtIntrinsicElementBaseAttributes & {
7
+ size?: number;
8
+ type?: string;
9
+ };
10
+ //#endregion
@@ -0,0 +1,15 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/image.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/image
6
+ */
7
+ export type TtIntrinsicElementImage = TtIntrinsicElementBaseAttributes & {
8
+ 'lazy-load'?: boolean;
9
+ mode?: string;
10
+ onError?: WevuJsxEventHandler;
11
+ onLoad?: WevuJsxEventHandler;
12
+ src?: string;
13
+ webp?: boolean;
14
+ };
15
+ //#endregion
@@ -0,0 +1,31 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/input.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/input
6
+ */
7
+ export type TtIntrinsicElementInput = TtIntrinsicElementBaseAttributes & {
8
+ 'adjust-position'?: boolean;
9
+ 'confirm-hold'?: boolean;
10
+ 'confirm-type'?: 'done' | 'go' | 'next' | 'search' | 'send';
11
+ cursor?: number;
12
+ 'cursor-spacing'?: number;
13
+ disabled?: boolean;
14
+ focus?: boolean;
15
+ 'hold-keyboard'?: boolean;
16
+ maxlength?: number;
17
+ onBlur?: WevuJsxEventHandler;
18
+ onConfirm?: WevuJsxEventHandler;
19
+ onFocus?: WevuJsxEventHandler;
20
+ onInput?: WevuJsxEventHandler;
21
+ onKeyboardHeightChange?: WevuJsxEventHandler;
22
+ password?: boolean;
23
+ placeholder?: string;
24
+ 'placeholder-class'?: string;
25
+ 'placeholder-style'?: string;
26
+ 'selection-end'?: number;
27
+ 'selection-start'?: number;
28
+ type?: 'digit' | 'number' | 'text';
29
+ value?: string;
30
+ };
31
+ //#endregion
@@ -0,0 +1,9 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/label.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/list/label
5
+ */
6
+ export type TtIntrinsicElementLabel = TtIntrinsicElementBaseAttributes & {
7
+ for?: string;
8
+ };
9
+ //#endregion
@@ -0,0 +1,18 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/live-player.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/live-player
6
+ */
7
+ export type TtIntrinsicElementLivePlayer = TtIntrinsicElementBaseAttributes & {
8
+ autoplay?: boolean;
9
+ muted?: boolean;
10
+ 'object-fit'?: string;
11
+ onError?: WevuJsxEventHandler;
12
+ onFullScreenChange?: WevuJsxEventHandler;
13
+ onStatechange?: WevuJsxEventHandler;
14
+ orientation?: string;
15
+ 'show-casting-button'?: boolean;
16
+ src?: string;
17
+ };
18
+ //#endregion
@@ -0,0 +1,12 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/live-preview.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/media-component/live-preview
5
+ */
6
+ export type TtIntrinsicElementLivePreview = TtIntrinsicElementBaseAttributes & {
7
+ 'aweme-id'?: string;
8
+ 'hide-header'?: boolean;
9
+ 'image-src'?: string;
10
+ title?: string;
11
+ };
12
+ //#endregion
@@ -0,0 +1,35 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/map.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/map/map
6
+ */
7
+ export type TtIntrinsicElementMap = TtIntrinsicElementBaseAttributes & {
8
+ 'enable-3D'?: boolean;
9
+ 'enable-building'?: boolean;
10
+ 'enable-overlooking'?: boolean;
11
+ 'enable-poi'?: boolean;
12
+ 'enable-rotate'?: boolean;
13
+ 'enable-satellite'?: boolean;
14
+ 'enable-scroll'?: boolean;
15
+ 'enable-traffic'?: boolean;
16
+ 'enable-zoom'?: boolean;
17
+ latitude?: number;
18
+ longitude?: number;
19
+ 'max-scale'?: number;
20
+ 'min-scale'?: number;
21
+ onAnchorpointtap?: WevuJsxEventHandler;
22
+ onCalloutTap?: WevuJsxEventHandler;
23
+ onLabeltap?: WevuJsxEventHandler;
24
+ onMarkerTap?: WevuJsxEventHandler;
25
+ onRegionChange?: WevuJsxEventHandler;
26
+ onTap?: WevuJsxEventHandler;
27
+ onUpdated?: WevuJsxEventHandler;
28
+ rotate?: number;
29
+ scale?: number;
30
+ 'show-compass'?: boolean;
31
+ 'show-location'?: boolean;
32
+ 'show-scale'?: boolean;
33
+ skew?: number;
34
+ };
35
+ //#endregion
@@ -0,0 +1,7 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/mask.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/mask
5
+ */
6
+ export type TtIntrinsicElementMask = TtIntrinsicElementBaseAttributes;
7
+ //#endregion
@@ -0,0 +1,15 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/match-media.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/component-match-media
5
+ */
6
+ export type TtIntrinsicElementMatchMedia = TtIntrinsicElementBaseAttributes & {
7
+ height?: number;
8
+ maxHeight?: number;
9
+ maxWidth?: number;
10
+ minHeight?: number;
11
+ minWidth?: number;
12
+ orientation?: string;
13
+ width?: number;
14
+ };
15
+ //#endregion
@@ -0,0 +1,9 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/movable-area.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/movable-area
5
+ */
6
+ export type TtIntrinsicElementMovableArea = TtIntrinsicElementBaseAttributes & {
7
+ 'scale-area'?: boolean;
8
+ };
9
+ //#endregion
@@ -0,0 +1,26 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/movable-view.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/view-container/movable-view
6
+ */
7
+ export type TtIntrinsicElementMovableView = TtIntrinsicElementBaseAttributes & {
8
+ animation?: boolean;
9
+ damping?: number;
10
+ direction?: string;
11
+ disabled?: boolean;
12
+ friction?: number;
13
+ inertia?: boolean;
14
+ onChange?: WevuJsxEventHandler;
15
+ onHtouchmove?: WevuJsxEventHandler;
16
+ onScale?: WevuJsxEventHandler;
17
+ onVtouchmove?: WevuJsxEventHandler;
18
+ 'out-of-bounds'?: boolean;
19
+ scale?: boolean;
20
+ 'scale-max'?: number;
21
+ 'scale-min'?: number;
22
+ 'scale-value'?: number;
23
+ x?: number | string;
24
+ y?: number | string;
25
+ };
26
+ //#endregion
@@ -0,0 +1,15 @@
1
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
2
+ //#region src/ttIntrinsicElements/elements/navigator.d.ts
3
+ /**
4
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/navigation/navigator
5
+ */
6
+ export type TtIntrinsicElementNavigator = TtIntrinsicElementBaseAttributes & {
7
+ delta?: number;
8
+ 'hover-class'?: string;
9
+ 'hover-start-time'?: number;
10
+ 'hover-stay-time'?: number;
11
+ 'hover-stop-propagation'?: boolean;
12
+ 'open-type'?: string;
13
+ url?: string;
14
+ };
15
+ //#endregion
@@ -0,0 +1,14 @@
1
+ import { WevuJsxEventHandler } from "../../jsx-runtime.mjs";
2
+ import { TtIntrinsicElementBaseAttributes } from "../base.mjs";
3
+ //#region src/ttIntrinsicElements/elements/open-data.d.ts
4
+ /**
5
+ * @see https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/open-capacity/open-data
6
+ */
7
+ export type TtIntrinsicElementOpenData = TtIntrinsicElementBaseAttributes & {
8
+ 'default-avatar'?: string;
9
+ 'default-text'?: string;
10
+ onError?: WevuJsxEventHandler;
11
+ type?: string;
12
+ 'use-empty-value'?: string;
13
+ };
14
+ //#endregion