@tarojs/components 3.5.7-alpha.9 → 3.5.8

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 (898) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/helper-db78e01a.js +0 -2
  3. package/dist/cjs/index-47a1959e.js +0 -2
  4. package/dist/cjs/{index-9174e0b1.js → index-7c61bee9.js} +234 -477
  5. package/dist/cjs/index-f9d21cc5.js +0 -2
  6. package/dist/cjs/index.cjs.js +0 -2
  7. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -2
  8. package/dist/cjs/loader.cjs.js +3 -5
  9. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -4
  10. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -4
  11. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -5
  12. package/dist/cjs/taro-block-core.cjs.entry.js +2 -4
  13. package/dist/cjs/taro-button-core.cjs.entry.js +2 -7
  14. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -4
  15. package/dist/cjs/taro-canvas-core.cjs.entry.js +3 -6
  16. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +9 -15
  17. package/dist/cjs/taro-components.cjs.js +3 -5
  18. package/dist/cjs/taro-cover-image-core.cjs.entry.js +4 -7
  19. package/dist/cjs/taro-cover-view-core.cjs.entry.js +3 -7
  20. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -4
  21. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -4
  22. package/dist/cjs/taro-form-core.cjs.entry.js +39 -34
  23. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -4
  24. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -6
  25. package/dist/cjs/taro-image-core.cjs.entry.js +4 -7
  26. package/dist/cjs/taro-input-core.cjs.entry.js +14 -29
  27. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -4
  28. package/dist/cjs/taro-label-core.cjs.entry.js +2 -5
  29. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -4
  30. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -4
  31. package/dist/cjs/taro-map-core.cjs.entry.js +2 -4
  32. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -4
  33. package/dist/cjs/taro-movable-area-core.cjs.entry.js +157 -0
  34. package/dist/cjs/{taro-movable-area-core_2.cjs.entry.js → taro-movable-view-core.cjs.entry.js} +54 -169
  35. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -4
  36. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -6
  37. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -4
  38. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -4
  39. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -4
  40. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -4
  41. package/dist/cjs/taro-picker-core_2.cjs.entry.js +15 -31
  42. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +95 -0
  43. package/dist/cjs/{taro-picker-view-column-core_2.cjs.entry.js → taro-picker-view-core.cjs.entry.js} +6 -101
  44. package/dist/cjs/taro-progress-core.cjs.entry.js +5 -7
  45. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +8 -10
  46. package/dist/cjs/taro-radio-core_2.cjs.entry.js +9 -15
  47. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -5
  48. package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -4
  49. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +22 -28
  50. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -4
  51. package/dist/cjs/taro-slider-core.cjs.entry.js +40 -37
  52. package/dist/cjs/taro-slot-core.cjs.entry.js +7 -4
  53. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +77 -46
  54. package/dist/cjs/taro-switch-core.cjs.entry.js +8 -12
  55. package/dist/cjs/taro-tabbar.cjs.entry.js +4 -12
  56. package/dist/cjs/taro-text-core.cjs.entry.js +2 -4
  57. package/dist/cjs/taro-textarea-core.cjs.entry.js +10 -21
  58. package/dist/cjs/taro-video-control_3.cjs.entry.js +27723 -81
  59. package/dist/cjs/taro-view-core.cjs.entry.js +3 -7
  60. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -4
  61. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -5
  62. package/dist/collection/collection-manifest.json +4 -16
  63. package/dist/collection/components/ad/ad.js +1 -2
  64. package/dist/collection/components/ad-custom/ad-custom.js +1 -2
  65. package/dist/collection/components/audio/audio.js +190 -199
  66. package/dist/collection/components/block/block.js +2 -2
  67. package/dist/collection/components/button/button.js +217 -230
  68. package/dist/collection/components/camera/camera.js +1 -2
  69. package/dist/collection/components/canvas/canvas.js +58 -67
  70. package/dist/collection/components/checkbox/checkbox-group.js +42 -50
  71. package/dist/collection/components/checkbox/checkbox.js +162 -175
  72. package/dist/collection/components/cover-image/cover-image.js +74 -83
  73. package/dist/collection/components/cover-view/cover-view.js +118 -131
  74. package/dist/collection/components/custom-wrapper/custom-wrapper.js +2 -2
  75. package/dist/collection/components/editor/editor.js +1 -2
  76. package/dist/collection/components/form/form.js +74 -66
  77. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +1 -2
  78. package/dist/collection/components/icon/icon.js +56 -61
  79. package/dist/collection/components/image/image.js +113 -125
  80. package/dist/collection/components/input/input.js +296 -336
  81. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +1 -2
  82. package/dist/collection/components/label/label.js +22 -27
  83. package/dist/collection/components/live-player/live-player.js +1 -2
  84. package/dist/collection/components/live-pusher/live-pusher.js +1 -2
  85. package/dist/collection/components/map/map.js +1 -2
  86. package/dist/collection/components/match-media/match-media.js +1 -2
  87. package/dist/collection/components/movable-area/movable-area.js +26 -34
  88. package/dist/collection/components/movable-area/movable-view.js +424 -397
  89. package/dist/collection/components/navigation-bar/navigation-bar.js +1 -2
  90. package/dist/collection/components/navigator/navigator.js +145 -158
  91. package/dist/collection/components/official-account/official-account.js +1 -2
  92. package/dist/collection/components/open-data/open-data.js +1 -2
  93. package/dist/collection/components/page-container/page-container.js +1 -2
  94. package/dist/collection/components/page-meta/page-meta.js +1 -2
  95. package/dist/collection/components/picker/constant.js +0 -1
  96. package/dist/collection/components/picker/picker-group.js +176 -240
  97. package/dist/collection/components/picker/picker.js +257 -261
  98. package/dist/collection/components/picker/utils.js +0 -1
  99. package/dist/collection/components/picker-view/picker-view-column.js +147 -158
  100. package/dist/collection/components/picker-view/picker-view.js +159 -171
  101. package/dist/collection/components/progress/progress.js +157 -153
  102. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +114 -121
  103. package/dist/collection/components/radio/radio-group.js +43 -50
  104. package/dist/collection/components/radio/radio.js +144 -152
  105. package/dist/collection/components/rich-text/rich-text.js +23 -27
  106. package/dist/collection/components/root-portal/root-portal.js +1 -2
  107. package/dist/collection/components/scroll-view/scroll-view.js +220 -242
  108. package/dist/collection/components/share-element/share-element.js +1 -2
  109. package/dist/collection/components/slider/slider.js +283 -279
  110. package/dist/collection/components/slot/slot.js +5 -2
  111. package/dist/collection/components/swiper/swiper-item.js +21 -26
  112. package/dist/collection/components/swiper/swiper.js +391 -346
  113. package/dist/collection/components/switch/switch.js +139 -153
  114. package/dist/collection/components/tabbar/tabbar-item.js +6 -2
  115. package/dist/collection/components/tabbar/tabbar.js +70 -86
  116. package/dist/collection/components/text/text.js +30 -35
  117. package/dist/collection/components/textarea/textarea.js +227 -262
  118. package/dist/collection/components/video/utils.js +0 -1
  119. package/dist/collection/components/video/video-control.js +247 -252
  120. package/dist/collection/components/video/video-danmu.js +66 -72
  121. package/dist/collection/components/video/video.js +775 -733
  122. package/dist/collection/components/view/view.js +118 -131
  123. package/dist/collection/components/voip-room/voip-room.js +1 -2
  124. package/dist/collection/components/web-view/web-view.js +57 -68
  125. package/dist/collection/index.js +0 -1
  126. package/dist/collection/utils/helper.js +0 -1
  127. package/dist/collection/utils/index.js +0 -1
  128. package/dist/collection/utils/style.js +0 -1
  129. package/dist/collection/utils/url.js +0 -1
  130. package/dist/esm/helper-3d0ecf0f.js +0 -2
  131. package/dist/esm/index-1d8e8acd.js +0 -2
  132. package/dist/esm/{index-5d881caf.js → index-8809c729.js} +234 -477
  133. package/dist/esm/index-cad8203e.js +0 -2
  134. package/dist/esm/index.js +0 -2
  135. package/dist/esm/intersection-observer-8e4c7135.js +0 -2
  136. package/dist/esm/loader.js +3 -5
  137. package/dist/esm/polyfills/css-shim.js +1 -1
  138. package/dist/esm/taro-ad-core.entry.js +2 -4
  139. package/dist/esm/taro-ad-custom-core.entry.js +2 -4
  140. package/dist/esm/taro-audio-core.entry.js +2 -5
  141. package/dist/esm/taro-block-core.entry.js +2 -4
  142. package/dist/esm/taro-button-core.entry.js +2 -7
  143. package/dist/esm/taro-camera-core.entry.js +2 -4
  144. package/dist/esm/taro-canvas-core.entry.js +3 -6
  145. package/dist/esm/taro-checkbox-core_2.entry.js +9 -15
  146. package/dist/esm/taro-components.js +3 -5
  147. package/dist/esm/taro-cover-image-core.entry.js +4 -7
  148. package/dist/esm/taro-cover-view-core.entry.js +3 -7
  149. package/dist/esm/taro-custom-wrapper-core.entry.js +2 -4
  150. package/dist/esm/taro-editor-core.entry.js +2 -4
  151. package/dist/esm/taro-form-core.entry.js +39 -34
  152. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -4
  153. package/dist/esm/taro-icon-core.entry.js +2 -6
  154. package/dist/esm/taro-image-core.entry.js +4 -7
  155. package/dist/esm/taro-input-core.entry.js +14 -29
  156. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -4
  157. package/dist/esm/taro-label-core.entry.js +2 -5
  158. package/dist/esm/taro-live-player-core.entry.js +2 -4
  159. package/dist/esm/taro-live-pusher-core.entry.js +2 -4
  160. package/dist/esm/taro-map-core.entry.js +2 -4
  161. package/dist/esm/taro-match-media-core.entry.js +2 -4
  162. package/dist/esm/taro-movable-area-core.entry.js +153 -0
  163. package/dist/esm/{taro-movable-area-core_2.entry.js → taro-movable-view-core.entry.js} +55 -169
  164. package/dist/esm/taro-navigation-bar-core.entry.js +2 -4
  165. package/dist/esm/taro-navigator-core.entry.js +2 -6
  166. package/dist/esm/taro-official-account-core.entry.js +2 -4
  167. package/dist/esm/taro-open-data-core.entry.js +2 -4
  168. package/dist/esm/taro-page-container-core.entry.js +2 -4
  169. package/dist/esm/taro-page-meta-core.entry.js +2 -4
  170. package/dist/esm/taro-picker-core_2.entry.js +15 -31
  171. package/dist/esm/taro-picker-view-column-core.entry.js +91 -0
  172. package/dist/esm/{taro-picker-view-column-core_2.entry.js → taro-picker-view-core.entry.js} +3 -97
  173. package/dist/esm/taro-progress-core.entry.js +5 -7
  174. package/dist/esm/taro-pull-to-refresh.entry.js +8 -10
  175. package/dist/esm/taro-radio-core_2.entry.js +9 -15
  176. package/dist/esm/taro-rich-text-core.entry.js +2 -5
  177. package/dist/esm/taro-root-portal-core.entry.js +2 -4
  178. package/dist/esm/taro-scroll-view-core.entry.js +22 -28
  179. package/dist/esm/taro-share-element-core.entry.js +2 -4
  180. package/dist/esm/taro-slider-core.entry.js +40 -37
  181. package/dist/esm/taro-slot-core.entry.js +7 -4
  182. package/dist/esm/taro-swiper-core_2.entry.js +77 -46
  183. package/dist/esm/taro-switch-core.entry.js +8 -12
  184. package/dist/esm/taro-tabbar.entry.js +4 -12
  185. package/dist/esm/taro-text-core.entry.js +2 -4
  186. package/dist/esm/taro-textarea-core.entry.js +10 -21
  187. package/dist/esm/taro-video-control_3.entry.js +27717 -75
  188. package/dist/esm/taro-view-core.entry.js +3 -7
  189. package/dist/esm/taro-voip-room-core.entry.js +2 -4
  190. package/dist/esm/taro-web-view-core.entry.js +2 -5
  191. package/dist/esm-es5/helper-3d0ecf0f.js +1 -2
  192. package/dist/esm-es5/index-1d8e8acd.js +1 -2
  193. package/dist/esm-es5/index-8809c729.js +1 -0
  194. package/dist/esm-es5/index-cad8203e.js +1 -2
  195. package/dist/esm-es5/index.js +0 -2
  196. package/dist/esm-es5/intersection-observer-8e4c7135.js +1 -2
  197. package/dist/esm-es5/loader.js +1 -2
  198. package/dist/esm-es5/taro-ad-core.entry.js +1 -2
  199. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -2
  200. package/dist/esm-es5/taro-audio-core.entry.js +1 -2
  201. package/dist/esm-es5/taro-block-core.entry.js +1 -2
  202. package/dist/esm-es5/taro-button-core.entry.js +1 -2
  203. package/dist/esm-es5/taro-camera-core.entry.js +1 -2
  204. package/dist/esm-es5/taro-canvas-core.entry.js +1 -2
  205. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -2
  206. package/dist/esm-es5/taro-components.js +1 -2
  207. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -2
  208. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -2
  209. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -2
  210. package/dist/esm-es5/taro-editor-core.entry.js +1 -2
  211. package/dist/esm-es5/taro-form-core.entry.js +1 -2
  212. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -2
  213. package/dist/esm-es5/taro-icon-core.entry.js +1 -2
  214. package/dist/esm-es5/taro-image-core.entry.js +1 -2
  215. package/dist/esm-es5/taro-input-core.entry.js +1 -2
  216. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -2
  217. package/dist/esm-es5/taro-label-core.entry.js +1 -2
  218. package/dist/esm-es5/taro-live-player-core.entry.js +1 -2
  219. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -2
  220. package/dist/esm-es5/taro-map-core.entry.js +1 -2
  221. package/dist/esm-es5/taro-match-media-core.entry.js +1 -2
  222. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -0
  223. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -0
  224. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -2
  225. package/dist/esm-es5/taro-navigator-core.entry.js +1 -2
  226. package/dist/esm-es5/taro-official-account-core.entry.js +1 -2
  227. package/dist/esm-es5/taro-open-data-core.entry.js +1 -2
  228. package/dist/esm-es5/taro-page-container-core.entry.js +1 -2
  229. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -2
  230. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -2
  231. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -0
  232. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -0
  233. package/dist/esm-es5/taro-progress-core.entry.js +1 -2
  234. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -2
  235. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -2
  236. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -2
  237. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -2
  238. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -2
  239. package/dist/esm-es5/taro-share-element-core.entry.js +1 -2
  240. package/dist/esm-es5/taro-slider-core.entry.js +1 -2
  241. package/dist/esm-es5/taro-slot-core.entry.js +1 -2
  242. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -2
  243. package/dist/esm-es5/taro-switch-core.entry.js +1 -2
  244. package/dist/esm-es5/taro-tabbar.entry.js +1 -2
  245. package/dist/esm-es5/taro-text-core.entry.js +1 -2
  246. package/dist/esm-es5/taro-textarea-core.entry.js +1 -2
  247. package/dist/esm-es5/taro-video-control_3.entry.js +365 -2
  248. package/dist/esm-es5/taro-view-core.entry.js +1 -2
  249. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -2
  250. package/dist/esm-es5/taro-web-view-core.entry.js +1 -2
  251. package/dist/taro-components/index.esm.js +0 -2
  252. package/dist/taro-components/p-028e2728.entry.js +1 -0
  253. package/dist/taro-components/p-0380841f.system.js +1 -0
  254. package/dist/taro-components/p-059912fd.js +1 -0
  255. package/dist/taro-components/p-06178a0c.entry.js +1 -0
  256. package/dist/taro-components/{p-dcfb7d97.system.entry.js → p-06b9d39c.system.entry.js} +1 -2
  257. package/dist/taro-components/p-06e6864b.system.entry.js +1 -0
  258. package/dist/taro-components/{p-8a3620a6.system.entry.js → p-07294134.system.entry.js} +1 -2
  259. package/dist/taro-components/{p-9f1ca602.system.entry.js → p-075458e5.system.entry.js} +1 -2
  260. package/dist/taro-components/p-10c47df8.system.entry.js +1 -0
  261. package/dist/taro-components/p-15e45ed6.system.js +1 -2
  262. package/dist/taro-components/p-232ebfae.system.entry.js +1 -0
  263. package/dist/taro-components/p-25df0ce9.entry.js +1 -0
  264. package/dist/taro-components/p-27126803.system.entry.js +1 -0
  265. package/dist/taro-components/p-275d883f.system.entry.js +1 -0
  266. package/dist/taro-components/p-27c80869.system.entry.js +1 -0
  267. package/dist/taro-components/p-2ec47545.entry.js +1 -0
  268. package/dist/taro-components/p-3255f11f.system.entry.js +1 -0
  269. package/dist/taro-components/p-34178401.entry.js +1 -0
  270. package/dist/taro-components/p-3549b6d2.entry.js +1 -0
  271. package/dist/taro-components/p-362998cf.entry.js +1 -0
  272. package/dist/taro-components/p-3b1d2d37.system.js +1 -2
  273. package/dist/taro-components/p-3c6090fd.entry.js +1 -0
  274. package/dist/taro-components/{p-301a8b85.system.entry.js → p-3e11c8cc.system.entry.js} +1 -2
  275. package/dist/taro-components/p-4262d1b6.entry.js +1 -0
  276. package/dist/taro-components/p-42630f45.entry.js +1 -0
  277. package/dist/taro-components/p-44398c17.system.entry.js +1 -0
  278. package/dist/taro-components/p-44cbb351.system.js +1 -0
  279. package/dist/taro-components/p-4ada10aa.entry.js +1 -0
  280. package/dist/taro-components/{p-1743a04b.system.js → p-4c1a7cae.system.entry.js} +27 -28
  281. package/dist/taro-components/p-4cf436f9.entry.js +1 -0
  282. package/dist/taro-components/p-4d826fb7.entry.js +1 -0
  283. package/dist/taro-components/p-50ea2036.system.js +1 -2
  284. package/dist/taro-components/p-55266a1f.entry.js +1 -0
  285. package/dist/taro-components/p-56c86512.entry.js +1 -0
  286. package/dist/taro-components/p-5733124c.entry.js +1 -0
  287. package/dist/taro-components/p-5746d7ce.js +1 -2
  288. package/dist/taro-components/p-57a2a441.entry.js +1 -0
  289. package/dist/taro-components/p-59d93770.entry.js +1 -0
  290. package/dist/taro-components/p-5a2305e7.entry.js +1 -0
  291. package/dist/taro-components/p-5a374cb9.entry.js +1 -0
  292. package/dist/taro-components/p-5c87902f.system.entry.js +1 -0
  293. package/dist/taro-components/p-5e223bab.system.entry.js +1 -0
  294. package/dist/taro-components/p-5f18259d.system.entry.js +1 -0
  295. package/dist/taro-components/p-61f225ef.system.js +1 -2
  296. package/dist/taro-components/p-62fc514e.entry.js +1 -0
  297. package/dist/taro-components/p-64447f5a.system.entry.js +1 -0
  298. package/dist/taro-components/p-663d1bb9.system.js +1 -2
  299. package/dist/taro-components/p-67222d90.system.entry.js +1 -0
  300. package/dist/taro-components/{p-4b27df71.system.entry.js → p-692d986d.system.entry.js} +1 -2
  301. package/dist/taro-components/p-6a96da58.js +1 -2
  302. package/dist/taro-components/p-6aa557f0.entry.js +1 -0
  303. package/dist/taro-components/{p-580a72d1.system.entry.js → p-6ad59489.system.entry.js} +1 -2
  304. package/dist/taro-components/p-72f327e1.js +1 -2
  305. package/dist/taro-components/p-72f858e4.entry.js +1 -0
  306. package/dist/taro-components/{p-c4cf58af.system.entry.js → p-733cc64a.system.entry.js} +1 -2
  307. package/dist/taro-components/p-7374537f.entry.js +1 -0
  308. package/dist/taro-components/p-7407013d.entry.js +1 -0
  309. package/dist/taro-components/p-76724e58.js +2 -3
  310. package/dist/taro-components/p-7d329ab0.entry.js +1 -0
  311. package/dist/taro-components/{p-8bec95d4.system.entry.js → p-7e960ac3.system.entry.js} +1 -2
  312. package/dist/taro-components/p-82661d45.system.entry.js +1 -0
  313. package/dist/taro-components/p-8475421b.system.entry.js +1 -0
  314. package/dist/taro-components/p-8788dc46.system.entry.js +1 -0
  315. package/dist/taro-components/p-886571e5.entry.js +1 -0
  316. package/dist/taro-components/p-888fac99.entry.js +1 -0
  317. package/dist/taro-components/p-8aea3de3.entry.js +1 -0
  318. package/dist/taro-components/p-8c8be53b.entry.js +1 -0
  319. package/dist/taro-components/p-8cf86f31.system.entry.js +1 -0
  320. package/dist/taro-components/{p-f0d0160d.system.entry.js → p-8e2b048e.system.entry.js} +1 -2
  321. package/dist/taro-components/p-9234cc1d.entry.js +1 -0
  322. package/dist/taro-components/p-92699438.entry.js +1 -0
  323. package/dist/taro-components/{p-59418be7.system.entry.js → p-93eed5d7.system.entry.js} +1 -2
  324. package/dist/taro-components/p-99d17a1a.entry.js +365 -0
  325. package/dist/taro-components/p-9a0e70b1.entry.js +1 -0
  326. package/dist/taro-components/p-9afbb423.system.entry.js +1 -0
  327. package/dist/taro-components/p-9b39a940.entry.js +1 -0
  328. package/dist/taro-components/{p-1cd1c507.system.entry.js → p-a5496bf5.system.entry.js} +1 -2
  329. package/dist/taro-components/{p-439a3349.system.entry.js → p-a63fbc50.system.entry.js} +1 -2
  330. package/dist/taro-components/p-ab1256fe.entry.js +1 -0
  331. package/dist/taro-components/p-ad6ad7e3.system.entry.js +1 -0
  332. package/dist/taro-components/p-afbcd093.entry.js +1 -0
  333. package/dist/taro-components/{p-c5c331bf.system.entry.js → p-b11aaf69.system.entry.js} +1 -2
  334. package/dist/taro-components/p-b1ae9401.entry.js +1 -0
  335. package/dist/taro-components/p-b2800ccd.entry.js +1 -0
  336. package/dist/taro-components/p-b3b677fc.entry.js +1 -0
  337. package/dist/taro-components/p-b3d961f9.system.entry.js +1 -0
  338. package/dist/taro-components/p-b60820b4.entry.js +1 -0
  339. package/dist/taro-components/p-b7639674.entry.js +1 -0
  340. package/dist/taro-components/{p-c0e3c822.system.entry.js → p-b7681c76.system.entry.js} +1 -2
  341. package/dist/taro-components/p-b7ac0b7f.system.entry.js +1 -0
  342. package/dist/taro-components/p-b9903f15.system.entry.js +1 -0
  343. package/dist/taro-components/p-bd706d39.entry.js +1 -0
  344. package/dist/taro-components/{p-21b77a13.system.entry.js → p-c5fd5c7f.system.entry.js} +1 -2
  345. package/dist/taro-components/p-c92bafb6.system.entry.js +1 -0
  346. package/dist/taro-components/{p-b04a56bd.system.entry.js → p-c93bb915.system.entry.js} +1 -2
  347. package/dist/taro-components/p-cf048af9.entry.js +1 -0
  348. package/dist/taro-components/{p-45b6ea0c.system.entry.js → p-d075934f.system.entry.js} +1 -2
  349. package/dist/taro-components/{p-a6f2dc54.system.entry.js → p-d4da725f.system.entry.js} +1 -2
  350. package/dist/taro-components/p-d5f3080c.entry.js +1 -0
  351. package/dist/taro-components/{p-b500c116.system.entry.js → p-d6662ab3.system.entry.js} +1 -2
  352. package/dist/taro-components/p-df3b544a.system.entry.js +1 -0
  353. package/dist/taro-components/p-dff55efd.entry.js +1 -0
  354. package/dist/taro-components/{p-8c8fe164.system.entry.js → p-e671c8c5.system.entry.js} +1 -2
  355. package/dist/taro-components/p-eec00033.entry.js +1 -0
  356. package/dist/taro-components/p-eeed74e3.system.entry.js +1 -0
  357. package/dist/taro-components/p-ef006b23.entry.js +1 -0
  358. package/dist/taro-components/{p-f2c75971.system.entry.js → p-f2803c2e.system.entry.js} +1 -2
  359. package/dist/taro-components/p-f40e1218.system.entry.js +1 -0
  360. package/dist/taro-components/{p-701b0286.system.entry.js → p-f4ea8a56.system.entry.js} +1 -2
  361. package/dist/taro-components/p-f5f1c3b7.system.entry.js +1 -0
  362. package/dist/taro-components/{p-4fbb8b4c.system.entry.js → p-f7c80795.system.entry.js} +1 -2
  363. package/dist/taro-components/p-fa2a9bab.entry.js +1 -0
  364. package/dist/taro-components/{p-cbe2436d.system.entry.js → p-fc9f4fd7.system.entry.js} +1 -2
  365. package/dist/taro-components/p-fec6ac36.entry.js +1 -0
  366. package/dist/taro-components/p-ff84986d.entry.js +1 -0
  367. package/dist/taro-components/p-ffefd74f.entry.js +1 -0
  368. package/dist/taro-components/taro-components.esm.js +1 -2
  369. package/dist/taro-components/taro-components.js +1 -2
  370. package/dist/types/components/checkbox/checkbox.d.ts +2 -2
  371. package/dist/types/components/cover-image/cover-image.d.ts +1 -1
  372. package/dist/types/components/form/form.d.ts +7 -4
  373. package/dist/types/components/image/image.d.ts +1 -1
  374. package/dist/types/components/input/input.d.ts +3 -4
  375. package/dist/types/components/movable-area/movable-view.d.ts +3 -3
  376. package/dist/types/components/progress/progress.d.ts +1 -1
  377. package/dist/types/components/radio/radio.d.ts +2 -2
  378. package/dist/types/components/scroll-view/scroll-view.d.ts +1 -1
  379. package/dist/types/components/slider/slider.d.ts +4 -3
  380. package/dist/types/components/slot/slot.d.ts +1 -0
  381. package/dist/types/components/swiper/swiper.d.ts +4 -0
  382. package/dist/types/components/textarea/textarea.d.ts +0 -1
  383. package/dist/types/components/video/utils.d.ts +1 -1
  384. package/dist/types/components.d.ts +78 -183
  385. package/dist/types/stencil-public-runtime.d.ts +4 -20
  386. package/{dist/react/component-lib → dist-h5/react/components}/index.js +1 -1
  387. package/{dist/react/component-lib → dist-h5/react/components}/input.js +5 -5
  388. package/{dist → dist-h5}/react/index.js +0 -0
  389. package/{dist/react/component-lib → dist-h5/react/utils}/reactify-wc.js +20 -10
  390. package/{dist/vue2/component-lib → dist-h5/vue/components}/icon.js +2 -2
  391. package/{dist/vue2/component-lib → dist-h5/vue/components}/image.js +2 -2
  392. package/{dist/vue2/component-lib/components.js → dist-h5/vue/components/index.js} +0 -0
  393. package/{dist/vue2/component-lib → dist-h5/vue/components}/picker.js +2 -2
  394. package/{dist/vue2/component-lib → dist-h5/vue/components}/scroll-view.js +2 -2
  395. package/{dist/vue2/component-lib → dist-h5/vue/components}/text.js +2 -2
  396. package/{dist/vue2/component-lib → dist-h5/vue}/createComponent.js +0 -0
  397. package/{dist/vue2/component-lib → dist-h5/vue}/createFormsComponent.js +0 -0
  398. package/{dist/vue2/component-lib → dist-h5/vue}/index.js +3 -4
  399. package/{dist/vue2/component-lib → dist-h5/vue}/mixins/listeners.js +0 -0
  400. package/{dist/vue2/component-lib → dist-h5/vue}/mixins/refs.js +0 -0
  401. package/{dist/vue3/component-lib → dist-h5/vue3/components}/icon.js +2 -2
  402. package/{dist/vue3/component-lib → dist-h5/vue3/components}/image.js +2 -2
  403. package/{dist/vue3/component-lib → dist-h5/vue3/components}/index.js +2 -2
  404. package/{dist/vue3/component-lib → dist-h5/vue3/components}/scroll-view.js +2 -2
  405. package/{dist/vue3/component-lib → dist-h5/vue3/components}/text.js +2 -2
  406. package/{dist/vue3/component-lib → dist-h5/vue3}/createComponent.js +1 -1
  407. package/{dist/vue3/component-lib → dist-h5/vue3}/createFormsComponent.js +0 -0
  408. package/{dist/vue3/component-lib → dist-h5/vue3}/forwardRef.js +0 -0
  409. package/{dist → dist-h5}/vue3/index.js +0 -0
  410. package/loader/package.json +0 -1
  411. package/package.json +28 -25
  412. package/types/AnimationVideo.d.ts +62 -0
  413. package/types/AnimationView.d.ts +45 -0
  414. package/types/ArCamera.d.ts +50 -0
  415. package/types/AwemeData.d.ts +43 -0
  416. package/types/CommentDetail.d.ts +72 -0
  417. package/types/CommentList.d.ts +128 -0
  418. package/types/ContactButton.d.ts +53 -0
  419. package/types/FollowSwan.d.ts +28 -0
  420. package/types/InlinePaymentPanel.d.ts +58 -0
  421. package/types/Input.d.ts +3 -3
  422. package/types/Lifestyle.d.ts +26 -0
  423. package/types/Like.d.ts +107 -0
  424. package/types/Login.d.ts +45 -0
  425. package/types/Lottie.d.ts +113 -0
  426. package/types/Map.d.ts +1 -1
  427. package/types/NativeSlot.d.ts +32 -0
  428. package/types/RtcRoom.d.ts +104 -0
  429. package/types/RtcRoomItem.d.ts +26 -0
  430. package/types/Slot.d.ts +1 -1
  431. package/types/Swiper.d.ts +12 -0
  432. package/types/TabItem.d.ts +35 -0
  433. package/types/Tabs.d.ts +58 -0
  434. package/types/Video.d.ts +1 -3
  435. package/types/View.d.ts +7 -6
  436. package/types/VoipRoom.d.ts +1 -1
  437. package/types/index.vue3.d.ts +267 -259
  438. package/dist/cjs/helper-db78e01a.js.map +0 -1
  439. package/dist/cjs/hls-67cbc62d.js +0 -27624
  440. package/dist/cjs/hls-67cbc62d.js.map +0 -1
  441. package/dist/cjs/index-47a1959e.js.map +0 -1
  442. package/dist/cjs/index-9174e0b1.js.map +0 -1
  443. package/dist/cjs/index-f9d21cc5.js.map +0 -1
  444. package/dist/cjs/index.cjs.js.map +0 -1
  445. package/dist/cjs/intersection-observer-dc4cfcef.js.map +0 -1
  446. package/dist/cjs/loader.cjs.js.map +0 -1
  447. package/dist/cjs/taro-ad-core.cjs.entry.js.map +0 -1
  448. package/dist/cjs/taro-ad-custom-core.cjs.entry.js.map +0 -1
  449. package/dist/cjs/taro-audio-core.cjs.entry.js.map +0 -1
  450. package/dist/cjs/taro-block-core.cjs.entry.js.map +0 -1
  451. package/dist/cjs/taro-button-core.cjs.entry.js.map +0 -1
  452. package/dist/cjs/taro-camera-core.cjs.entry.js.map +0 -1
  453. package/dist/cjs/taro-canvas-core.cjs.entry.js.map +0 -1
  454. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js.map +0 -1
  455. package/dist/cjs/taro-components.cjs.js.map +0 -1
  456. package/dist/cjs/taro-cover-image-core.cjs.entry.js.map +0 -1
  457. package/dist/cjs/taro-cover-view-core.cjs.entry.js.map +0 -1
  458. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js.map +0 -1
  459. package/dist/cjs/taro-editor-core.cjs.entry.js.map +0 -1
  460. package/dist/cjs/taro-form-core.cjs.entry.js.map +0 -1
  461. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js.map +0 -1
  462. package/dist/cjs/taro-icon-core.cjs.entry.js.map +0 -1
  463. package/dist/cjs/taro-image-core.cjs.entry.js.map +0 -1
  464. package/dist/cjs/taro-input-core.cjs.entry.js.map +0 -1
  465. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js.map +0 -1
  466. package/dist/cjs/taro-label-core.cjs.entry.js.map +0 -1
  467. package/dist/cjs/taro-live-player-core.cjs.entry.js.map +0 -1
  468. package/dist/cjs/taro-live-pusher-core.cjs.entry.js.map +0 -1
  469. package/dist/cjs/taro-map-core.cjs.entry.js.map +0 -1
  470. package/dist/cjs/taro-match-media-core.cjs.entry.js.map +0 -1
  471. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js.map +0 -1
  472. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js.map +0 -1
  473. package/dist/cjs/taro-navigator-core.cjs.entry.js.map +0 -1
  474. package/dist/cjs/taro-official-account-core.cjs.entry.js.map +0 -1
  475. package/dist/cjs/taro-open-data-core.cjs.entry.js.map +0 -1
  476. package/dist/cjs/taro-page-container-core.cjs.entry.js.map +0 -1
  477. package/dist/cjs/taro-page-meta-core.cjs.entry.js.map +0 -1
  478. package/dist/cjs/taro-picker-core_2.cjs.entry.js.map +0 -1
  479. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js.map +0 -1
  480. package/dist/cjs/taro-progress-core.cjs.entry.js.map +0 -1
  481. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js.map +0 -1
  482. package/dist/cjs/taro-radio-core_2.cjs.entry.js.map +0 -1
  483. package/dist/cjs/taro-rich-text-core.cjs.entry.js.map +0 -1
  484. package/dist/cjs/taro-root-portal-core.cjs.entry.js.map +0 -1
  485. package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +0 -1
  486. package/dist/cjs/taro-share-element-core.cjs.entry.js.map +0 -1
  487. package/dist/cjs/taro-slider-core.cjs.entry.js.map +0 -1
  488. package/dist/cjs/taro-slot-core.cjs.entry.js.map +0 -1
  489. package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +0 -1
  490. package/dist/cjs/taro-switch-core.cjs.entry.js.map +0 -1
  491. package/dist/cjs/taro-tabbar.cjs.entry.js.map +0 -1
  492. package/dist/cjs/taro-text-core.cjs.entry.js.map +0 -1
  493. package/dist/cjs/taro-textarea-core.cjs.entry.js.map +0 -1
  494. package/dist/cjs/taro-video-control_3.cjs.entry.js.map +0 -1
  495. package/dist/cjs/taro-view-core.cjs.entry.js.map +0 -1
  496. package/dist/cjs/taro-voip-room-core.cjs.entry.js.map +0 -1
  497. package/dist/cjs/taro-web-view-core.cjs.entry.js.map +0 -1
  498. package/dist/collection/components/ad/ad.js.map +0 -1
  499. package/dist/collection/components/ad-custom/ad-custom.js.map +0 -1
  500. package/dist/collection/components/audio/audio.js.map +0 -1
  501. package/dist/collection/components/block/block.js.map +0 -1
  502. package/dist/collection/components/button/button.js.map +0 -1
  503. package/dist/collection/components/camera/camera.js.map +0 -1
  504. package/dist/collection/components/canvas/canvas.js.map +0 -1
  505. package/dist/collection/components/checkbox/checkbox-group.js.map +0 -1
  506. package/dist/collection/components/checkbox/checkbox.js.map +0 -1
  507. package/dist/collection/components/cover-image/cover-image.js.map +0 -1
  508. package/dist/collection/components/cover-view/cover-view.js.map +0 -1
  509. package/dist/collection/components/custom-wrapper/custom-wrapper.js.map +0 -1
  510. package/dist/collection/components/editor/editor.js.map +0 -1
  511. package/dist/collection/components/form/form.js.map +0 -1
  512. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js.map +0 -1
  513. package/dist/collection/components/icon/icon.js.map +0 -1
  514. package/dist/collection/components/image/image.js.map +0 -1
  515. package/dist/collection/components/input/input.js.map +0 -1
  516. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js.map +0 -1
  517. package/dist/collection/components/label/label.js.map +0 -1
  518. package/dist/collection/components/live-player/live-player.js.map +0 -1
  519. package/dist/collection/components/live-pusher/live-pusher.js.map +0 -1
  520. package/dist/collection/components/map/map.js.map +0 -1
  521. package/dist/collection/components/match-media/match-media.js.map +0 -1
  522. package/dist/collection/components/movable-area/movable-area.js.map +0 -1
  523. package/dist/collection/components/movable-area/movable-view.js.map +0 -1
  524. package/dist/collection/components/navigation-bar/navigation-bar.js.map +0 -1
  525. package/dist/collection/components/navigator/navigator.js.map +0 -1
  526. package/dist/collection/components/official-account/official-account.js.map +0 -1
  527. package/dist/collection/components/open-data/open-data.js.map +0 -1
  528. package/dist/collection/components/page-container/page-container.js.map +0 -1
  529. package/dist/collection/components/page-meta/page-meta.js.map +0 -1
  530. package/dist/collection/components/picker/constant.js.map +0 -1
  531. package/dist/collection/components/picker/picker-group.js.map +0 -1
  532. package/dist/collection/components/picker/picker.js.map +0 -1
  533. package/dist/collection/components/picker/utils.js.map +0 -1
  534. package/dist/collection/components/picker-view/picker-view-column.js.map +0 -1
  535. package/dist/collection/components/picker-view/picker-view.js.map +0 -1
  536. package/dist/collection/components/progress/progress.js.map +0 -1
  537. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js.map +0 -1
  538. package/dist/collection/components/radio/radio-group.js.map +0 -1
  539. package/dist/collection/components/radio/radio.js.map +0 -1
  540. package/dist/collection/components/rich-text/rich-text.js.map +0 -1
  541. package/dist/collection/components/root-portal/root-portal.js.map +0 -1
  542. package/dist/collection/components/scroll-view/scroll-view.js.map +0 -1
  543. package/dist/collection/components/share-element/share-element.js.map +0 -1
  544. package/dist/collection/components/slider/slider.js.map +0 -1
  545. package/dist/collection/components/slot/slot.js.map +0 -1
  546. package/dist/collection/components/swiper/swiper-item.js.map +0 -1
  547. package/dist/collection/components/swiper/swiper.js.map +0 -1
  548. package/dist/collection/components/switch/switch.js.map +0 -1
  549. package/dist/collection/components/tabbar/tabbar-item.js.map +0 -1
  550. package/dist/collection/components/tabbar/tabbar.js.map +0 -1
  551. package/dist/collection/components/text/text.js.map +0 -1
  552. package/dist/collection/components/textarea/textarea.js.map +0 -1
  553. package/dist/collection/components/video/utils.js.map +0 -1
  554. package/dist/collection/components/video/video-control.js.map +0 -1
  555. package/dist/collection/components/video/video-danmu.js.map +0 -1
  556. package/dist/collection/components/video/video.js.map +0 -1
  557. package/dist/collection/components/view/view.js.map +0 -1
  558. package/dist/collection/components/voip-room/voip-room.js.map +0 -1
  559. package/dist/collection/components/web-view/web-view.js.map +0 -1
  560. package/dist/collection/index.js.map +0 -1
  561. package/dist/collection/utils/helper.js.map +0 -1
  562. package/dist/collection/utils/index.js.map +0 -1
  563. package/dist/collection/utils/style.js.map +0 -1
  564. package/dist/collection/utils/url.js.map +0 -1
  565. package/dist/esm/helper-3d0ecf0f.js.map +0 -1
  566. package/dist/esm/hls-221423a1.js +0 -27622
  567. package/dist/esm/hls-221423a1.js.map +0 -1
  568. package/dist/esm/index-1d8e8acd.js.map +0 -1
  569. package/dist/esm/index-5d881caf.js.map +0 -1
  570. package/dist/esm/index-cad8203e.js.map +0 -1
  571. package/dist/esm/index.js.map +0 -1
  572. package/dist/esm/intersection-observer-8e4c7135.js.map +0 -1
  573. package/dist/esm/loader.js.map +0 -1
  574. package/dist/esm/taro-ad-core.entry.js.map +0 -1
  575. package/dist/esm/taro-ad-custom-core.entry.js.map +0 -1
  576. package/dist/esm/taro-audio-core.entry.js.map +0 -1
  577. package/dist/esm/taro-block-core.entry.js.map +0 -1
  578. package/dist/esm/taro-button-core.entry.js.map +0 -1
  579. package/dist/esm/taro-camera-core.entry.js.map +0 -1
  580. package/dist/esm/taro-canvas-core.entry.js.map +0 -1
  581. package/dist/esm/taro-checkbox-core_2.entry.js.map +0 -1
  582. package/dist/esm/taro-components.js.map +0 -1
  583. package/dist/esm/taro-cover-image-core.entry.js.map +0 -1
  584. package/dist/esm/taro-cover-view-core.entry.js.map +0 -1
  585. package/dist/esm/taro-custom-wrapper-core.entry.js.map +0 -1
  586. package/dist/esm/taro-editor-core.entry.js.map +0 -1
  587. package/dist/esm/taro-form-core.entry.js.map +0 -1
  588. package/dist/esm/taro-functional-page-navigator-core.entry.js.map +0 -1
  589. package/dist/esm/taro-icon-core.entry.js.map +0 -1
  590. package/dist/esm/taro-image-core.entry.js.map +0 -1
  591. package/dist/esm/taro-input-core.entry.js.map +0 -1
  592. package/dist/esm/taro-keyboard-accessory-core.entry.js.map +0 -1
  593. package/dist/esm/taro-label-core.entry.js.map +0 -1
  594. package/dist/esm/taro-live-player-core.entry.js.map +0 -1
  595. package/dist/esm/taro-live-pusher-core.entry.js.map +0 -1
  596. package/dist/esm/taro-map-core.entry.js.map +0 -1
  597. package/dist/esm/taro-match-media-core.entry.js.map +0 -1
  598. package/dist/esm/taro-movable-area-core_2.entry.js.map +0 -1
  599. package/dist/esm/taro-navigation-bar-core.entry.js.map +0 -1
  600. package/dist/esm/taro-navigator-core.entry.js.map +0 -1
  601. package/dist/esm/taro-official-account-core.entry.js.map +0 -1
  602. package/dist/esm/taro-open-data-core.entry.js.map +0 -1
  603. package/dist/esm/taro-page-container-core.entry.js.map +0 -1
  604. package/dist/esm/taro-page-meta-core.entry.js.map +0 -1
  605. package/dist/esm/taro-picker-core_2.entry.js.map +0 -1
  606. package/dist/esm/taro-picker-view-column-core_2.entry.js.map +0 -1
  607. package/dist/esm/taro-progress-core.entry.js.map +0 -1
  608. package/dist/esm/taro-pull-to-refresh.entry.js.map +0 -1
  609. package/dist/esm/taro-radio-core_2.entry.js.map +0 -1
  610. package/dist/esm/taro-rich-text-core.entry.js.map +0 -1
  611. package/dist/esm/taro-root-portal-core.entry.js.map +0 -1
  612. package/dist/esm/taro-scroll-view-core.entry.js.map +0 -1
  613. package/dist/esm/taro-share-element-core.entry.js.map +0 -1
  614. package/dist/esm/taro-slider-core.entry.js.map +0 -1
  615. package/dist/esm/taro-slot-core.entry.js.map +0 -1
  616. package/dist/esm/taro-swiper-core_2.entry.js.map +0 -1
  617. package/dist/esm/taro-switch-core.entry.js.map +0 -1
  618. package/dist/esm/taro-tabbar.entry.js.map +0 -1
  619. package/dist/esm/taro-text-core.entry.js.map +0 -1
  620. package/dist/esm/taro-textarea-core.entry.js.map +0 -1
  621. package/dist/esm/taro-video-control_3.entry.js.map +0 -1
  622. package/dist/esm/taro-view-core.entry.js.map +0 -1
  623. package/dist/esm/taro-voip-room-core.entry.js.map +0 -1
  624. package/dist/esm/taro-web-view-core.entry.js.map +0 -1
  625. package/dist/esm-es5/helper-3d0ecf0f.js.map +0 -1
  626. package/dist/esm-es5/hls-221423a1.js +0 -366
  627. package/dist/esm-es5/hls-221423a1.js.map +0 -1
  628. package/dist/esm-es5/index-1d8e8acd.js.map +0 -1
  629. package/dist/esm-es5/index-5d881caf.js +0 -3
  630. package/dist/esm-es5/index-5d881caf.js.map +0 -1
  631. package/dist/esm-es5/index-cad8203e.js.map +0 -1
  632. package/dist/esm-es5/index.js.map +0 -1
  633. package/dist/esm-es5/intersection-observer-8e4c7135.js.map +0 -1
  634. package/dist/esm-es5/loader.js.map +0 -1
  635. package/dist/esm-es5/taro-ad-core.entry.js.map +0 -1
  636. package/dist/esm-es5/taro-ad-custom-core.entry.js.map +0 -1
  637. package/dist/esm-es5/taro-audio-core.entry.js.map +0 -1
  638. package/dist/esm-es5/taro-block-core.entry.js.map +0 -1
  639. package/dist/esm-es5/taro-button-core.entry.js.map +0 -1
  640. package/dist/esm-es5/taro-camera-core.entry.js.map +0 -1
  641. package/dist/esm-es5/taro-canvas-core.entry.js.map +0 -1
  642. package/dist/esm-es5/taro-checkbox-core_2.entry.js.map +0 -1
  643. package/dist/esm-es5/taro-components.js.map +0 -1
  644. package/dist/esm-es5/taro-cover-image-core.entry.js.map +0 -1
  645. package/dist/esm-es5/taro-cover-view-core.entry.js.map +0 -1
  646. package/dist/esm-es5/taro-custom-wrapper-core.entry.js.map +0 -1
  647. package/dist/esm-es5/taro-editor-core.entry.js.map +0 -1
  648. package/dist/esm-es5/taro-form-core.entry.js.map +0 -1
  649. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js.map +0 -1
  650. package/dist/esm-es5/taro-icon-core.entry.js.map +0 -1
  651. package/dist/esm-es5/taro-image-core.entry.js.map +0 -1
  652. package/dist/esm-es5/taro-input-core.entry.js.map +0 -1
  653. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js.map +0 -1
  654. package/dist/esm-es5/taro-label-core.entry.js.map +0 -1
  655. package/dist/esm-es5/taro-live-player-core.entry.js.map +0 -1
  656. package/dist/esm-es5/taro-live-pusher-core.entry.js.map +0 -1
  657. package/dist/esm-es5/taro-map-core.entry.js.map +0 -1
  658. package/dist/esm-es5/taro-match-media-core.entry.js.map +0 -1
  659. package/dist/esm-es5/taro-movable-area-core_2.entry.js +0 -2
  660. package/dist/esm-es5/taro-movable-area-core_2.entry.js.map +0 -1
  661. package/dist/esm-es5/taro-navigation-bar-core.entry.js.map +0 -1
  662. package/dist/esm-es5/taro-navigator-core.entry.js.map +0 -1
  663. package/dist/esm-es5/taro-official-account-core.entry.js.map +0 -1
  664. package/dist/esm-es5/taro-open-data-core.entry.js.map +0 -1
  665. package/dist/esm-es5/taro-page-container-core.entry.js.map +0 -1
  666. package/dist/esm-es5/taro-page-meta-core.entry.js.map +0 -1
  667. package/dist/esm-es5/taro-picker-core_2.entry.js.map +0 -1
  668. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +0 -2
  669. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js.map +0 -1
  670. package/dist/esm-es5/taro-progress-core.entry.js.map +0 -1
  671. package/dist/esm-es5/taro-pull-to-refresh.entry.js.map +0 -1
  672. package/dist/esm-es5/taro-radio-core_2.entry.js.map +0 -1
  673. package/dist/esm-es5/taro-rich-text-core.entry.js.map +0 -1
  674. package/dist/esm-es5/taro-root-portal-core.entry.js.map +0 -1
  675. package/dist/esm-es5/taro-scroll-view-core.entry.js.map +0 -1
  676. package/dist/esm-es5/taro-share-element-core.entry.js.map +0 -1
  677. package/dist/esm-es5/taro-slider-core.entry.js.map +0 -1
  678. package/dist/esm-es5/taro-slot-core.entry.js.map +0 -1
  679. package/dist/esm-es5/taro-swiper-core_2.entry.js.map +0 -1
  680. package/dist/esm-es5/taro-switch-core.entry.js.map +0 -1
  681. package/dist/esm-es5/taro-tabbar.entry.js.map +0 -1
  682. package/dist/esm-es5/taro-text-core.entry.js.map +0 -1
  683. package/dist/esm-es5/taro-textarea-core.entry.js.map +0 -1
  684. package/dist/esm-es5/taro-video-control_3.entry.js.map +0 -1
  685. package/dist/esm-es5/taro-view-core.entry.js.map +0 -1
  686. package/dist/esm-es5/taro-voip-room-core.entry.js.map +0 -1
  687. package/dist/esm-es5/taro-web-view-core.entry.js.map +0 -1
  688. package/dist/react/components.js +0 -65
  689. package/dist/react/helper.js +0 -13
  690. package/dist/react/react-component-lib/createComponent.js +0 -126
  691. package/dist/react/react-component-lib/createOverlayComponent.js +0 -208
  692. package/dist/react/react-component-lib/index.js +0 -2
  693. package/dist/react/react-component-lib/interfaces.js +0 -1
  694. package/dist/react/react-component-lib/utils/attachProps.js +0 -107
  695. package/dist/react/react-component-lib/utils/case.js +0 -10
  696. package/dist/react/react-component-lib/utils/dev.js +0 -12
  697. package/dist/react/react-component-lib/utils/index.js +0 -35
  698. package/dist/taro-components/index.esm.js.map +0 -1
  699. package/dist/taro-components/p-001ef419.system.entry.js +0 -2
  700. package/dist/taro-components/p-001ef419.system.entry.js.map +0 -1
  701. package/dist/taro-components/p-01dc54a5.entry.js +0 -2
  702. package/dist/taro-components/p-01dc54a5.entry.js.map +0 -1
  703. package/dist/taro-components/p-0382d7d0.system.entry.js +0 -2
  704. package/dist/taro-components/p-0382d7d0.system.entry.js.map +0 -1
  705. package/dist/taro-components/p-0a896bc7.entry.js +0 -2
  706. package/dist/taro-components/p-0a896bc7.entry.js.map +0 -1
  707. package/dist/taro-components/p-0b38e6c7.system.entry.js +0 -2
  708. package/dist/taro-components/p-0b38e6c7.system.entry.js.map +0 -1
  709. package/dist/taro-components/p-0d36ef6b.entry.js +0 -2
  710. package/dist/taro-components/p-0d36ef6b.entry.js.map +0 -1
  711. package/dist/taro-components/p-0ee6a068.entry.js +0 -2
  712. package/dist/taro-components/p-0ee6a068.entry.js.map +0 -1
  713. package/dist/taro-components/p-12e4b019.entry.js +0 -2
  714. package/dist/taro-components/p-12e4b019.entry.js.map +0 -1
  715. package/dist/taro-components/p-15dced71.system.entry.js +0 -2
  716. package/dist/taro-components/p-15dced71.system.entry.js.map +0 -1
  717. package/dist/taro-components/p-15e45ed6.system.js.map +0 -1
  718. package/dist/taro-components/p-1743a04b.system.js.map +0 -1
  719. package/dist/taro-components/p-17657dca.entry.js +0 -2
  720. package/dist/taro-components/p-17657dca.entry.js.map +0 -1
  721. package/dist/taro-components/p-1b2556e2.system.entry.js +0 -2
  722. package/dist/taro-components/p-1b2556e2.system.entry.js.map +0 -1
  723. package/dist/taro-components/p-1b64d2a2.entry.js +0 -2
  724. package/dist/taro-components/p-1b64d2a2.entry.js.map +0 -1
  725. package/dist/taro-components/p-1bd3d09b.system.entry.js +0 -2
  726. package/dist/taro-components/p-1bd3d09b.system.entry.js.map +0 -1
  727. package/dist/taro-components/p-1cb76199.entry.js +0 -2
  728. package/dist/taro-components/p-1cb76199.entry.js.map +0 -1
  729. package/dist/taro-components/p-1cd1c507.system.entry.js.map +0 -1
  730. package/dist/taro-components/p-1e436d5b.entry.js +0 -2
  731. package/dist/taro-components/p-1e436d5b.entry.js.map +0 -1
  732. package/dist/taro-components/p-2096bc5f.entry.js +0 -2
  733. package/dist/taro-components/p-2096bc5f.entry.js.map +0 -1
  734. package/dist/taro-components/p-20ec6387.entry.js +0 -2
  735. package/dist/taro-components/p-20ec6387.entry.js.map +0 -1
  736. package/dist/taro-components/p-21b77a13.system.entry.js.map +0 -1
  737. package/dist/taro-components/p-2243a376.entry.js +0 -2
  738. package/dist/taro-components/p-2243a376.entry.js.map +0 -1
  739. package/dist/taro-components/p-29f04296.entry.js +0 -2
  740. package/dist/taro-components/p-29f04296.entry.js.map +0 -1
  741. package/dist/taro-components/p-301a8b85.system.entry.js.map +0 -1
  742. package/dist/taro-components/p-3b1d2d37.system.js.map +0 -1
  743. package/dist/taro-components/p-3b9a1125.entry.js +0 -2
  744. package/dist/taro-components/p-3b9a1125.entry.js.map +0 -1
  745. package/dist/taro-components/p-3c256e0e.entry.js +0 -2
  746. package/dist/taro-components/p-3c256e0e.entry.js.map +0 -1
  747. package/dist/taro-components/p-3e6b29c6.entry.js +0 -2
  748. package/dist/taro-components/p-3e6b29c6.entry.js.map +0 -1
  749. package/dist/taro-components/p-427a2872.entry.js +0 -2
  750. package/dist/taro-components/p-427a2872.entry.js.map +0 -1
  751. package/dist/taro-components/p-439a3349.system.entry.js.map +0 -1
  752. package/dist/taro-components/p-447386b2.system.entry.js +0 -2
  753. package/dist/taro-components/p-447386b2.system.entry.js.map +0 -1
  754. package/dist/taro-components/p-45b6ea0c.system.entry.js.map +0 -1
  755. package/dist/taro-components/p-49a6cae4.system.entry.js +0 -2
  756. package/dist/taro-components/p-49a6cae4.system.entry.js.map +0 -1
  757. package/dist/taro-components/p-4b05e003.entry.js +0 -2
  758. package/dist/taro-components/p-4b05e003.entry.js.map +0 -1
  759. package/dist/taro-components/p-4b27df71.system.entry.js.map +0 -1
  760. package/dist/taro-components/p-4b71c926.entry.js +0 -2
  761. package/dist/taro-components/p-4b71c926.entry.js.map +0 -1
  762. package/dist/taro-components/p-4fbb8b4c.system.entry.js.map +0 -1
  763. package/dist/taro-components/p-50ea2036.system.js.map +0 -1
  764. package/dist/taro-components/p-55519002.entry.js +0 -2
  765. package/dist/taro-components/p-55519002.entry.js.map +0 -1
  766. package/dist/taro-components/p-570222e2.entry.js +0 -2
  767. package/dist/taro-components/p-570222e2.entry.js.map +0 -1
  768. package/dist/taro-components/p-5746d7ce.js.map +0 -1
  769. package/dist/taro-components/p-580a72d1.system.entry.js.map +0 -1
  770. package/dist/taro-components/p-59418be7.system.entry.js.map +0 -1
  771. package/dist/taro-components/p-59e02aca.system.entry.js +0 -2
  772. package/dist/taro-components/p-59e02aca.system.entry.js.map +0 -1
  773. package/dist/taro-components/p-5b552407.entry.js +0 -2
  774. package/dist/taro-components/p-5b552407.entry.js.map +0 -1
  775. package/dist/taro-components/p-5bfefd19.js +0 -3
  776. package/dist/taro-components/p-5bfefd19.js.map +0 -1
  777. package/dist/taro-components/p-61f225ef.system.js.map +0 -1
  778. package/dist/taro-components/p-663d1bb9.system.js.map +0 -1
  779. package/dist/taro-components/p-6a96da58.js.map +0 -1
  780. package/dist/taro-components/p-6af8be19.entry.js +0 -2
  781. package/dist/taro-components/p-6af8be19.entry.js.map +0 -1
  782. package/dist/taro-components/p-6ea2995b.entry.js +0 -2
  783. package/dist/taro-components/p-6ea2995b.entry.js.map +0 -1
  784. package/dist/taro-components/p-6f8af69f.entry.js +0 -2
  785. package/dist/taro-components/p-6f8af69f.entry.js.map +0 -1
  786. package/dist/taro-components/p-701b0286.system.entry.js.map +0 -1
  787. package/dist/taro-components/p-72f327e1.js.map +0 -1
  788. package/dist/taro-components/p-72f626ab.system.entry.js +0 -2
  789. package/dist/taro-components/p-72f626ab.system.entry.js.map +0 -1
  790. package/dist/taro-components/p-755be847.system.entry.js +0 -2
  791. package/dist/taro-components/p-755be847.system.entry.js.map +0 -1
  792. package/dist/taro-components/p-76724e58.js.map +0 -1
  793. package/dist/taro-components/p-8231e748.entry.js +0 -2
  794. package/dist/taro-components/p-8231e748.entry.js.map +0 -1
  795. package/dist/taro-components/p-8a3620a6.system.entry.js.map +0 -1
  796. package/dist/taro-components/p-8a8f286f.system.js +0 -3
  797. package/dist/taro-components/p-8a8f286f.system.js.map +0 -1
  798. package/dist/taro-components/p-8bec95d4.system.entry.js.map +0 -1
  799. package/dist/taro-components/p-8c8fe164.system.entry.js.map +0 -1
  800. package/dist/taro-components/p-93cc7adc.entry.js +0 -2
  801. package/dist/taro-components/p-93cc7adc.entry.js.map +0 -1
  802. package/dist/taro-components/p-96a784f1.entry.js +0 -2
  803. package/dist/taro-components/p-96a784f1.entry.js.map +0 -1
  804. package/dist/taro-components/p-99bbe34a.system.entry.js +0 -2
  805. package/dist/taro-components/p-99bbe34a.system.entry.js.map +0 -1
  806. package/dist/taro-components/p-9e20c25c.entry.js +0 -2
  807. package/dist/taro-components/p-9e20c25c.entry.js.map +0 -1
  808. package/dist/taro-components/p-9f1ca602.system.entry.js.map +0 -1
  809. package/dist/taro-components/p-a1ace8c7.system.entry.js +0 -2
  810. package/dist/taro-components/p-a1ace8c7.system.entry.js.map +0 -1
  811. package/dist/taro-components/p-a29509fa.system.entry.js +0 -2
  812. package/dist/taro-components/p-a29509fa.system.entry.js.map +0 -1
  813. package/dist/taro-components/p-a2aab820.entry.js +0 -2
  814. package/dist/taro-components/p-a2aab820.entry.js.map +0 -1
  815. package/dist/taro-components/p-a6f2dc54.system.entry.js.map +0 -1
  816. package/dist/taro-components/p-ab105c26.entry.js +0 -2
  817. package/dist/taro-components/p-ab105c26.entry.js.map +0 -1
  818. package/dist/taro-components/p-b04a56bd.system.entry.js.map +0 -1
  819. package/dist/taro-components/p-b10cb428.entry.js +0 -2
  820. package/dist/taro-components/p-b10cb428.entry.js.map +0 -1
  821. package/dist/taro-components/p-b4ec48c3.entry.js +0 -2
  822. package/dist/taro-components/p-b4ec48c3.entry.js.map +0 -1
  823. package/dist/taro-components/p-b500c116.system.entry.js.map +0 -1
  824. package/dist/taro-components/p-b832f4e8.entry.js +0 -2
  825. package/dist/taro-components/p-b832f4e8.entry.js.map +0 -1
  826. package/dist/taro-components/p-b88a55b4.system.entry.js +0 -2
  827. package/dist/taro-components/p-b88a55b4.system.entry.js.map +0 -1
  828. package/dist/taro-components/p-b90926cc.entry.js +0 -2
  829. package/dist/taro-components/p-b90926cc.entry.js.map +0 -1
  830. package/dist/taro-components/p-ba743573.entry.js +0 -2
  831. package/dist/taro-components/p-ba743573.entry.js.map +0 -1
  832. package/dist/taro-components/p-be3f5ac0.entry.js +0 -2
  833. package/dist/taro-components/p-be3f5ac0.entry.js.map +0 -1
  834. package/dist/taro-components/p-beea63a7.entry.js +0 -2
  835. package/dist/taro-components/p-beea63a7.entry.js.map +0 -1
  836. package/dist/taro-components/p-c0e3c822.system.entry.js.map +0 -1
  837. package/dist/taro-components/p-c3acf0ea.system.entry.js +0 -2
  838. package/dist/taro-components/p-c3acf0ea.system.entry.js.map +0 -1
  839. package/dist/taro-components/p-c3bb8fa6.entry.js +0 -2
  840. package/dist/taro-components/p-c3bb8fa6.entry.js.map +0 -1
  841. package/dist/taro-components/p-c4cf58af.system.entry.js.map +0 -1
  842. package/dist/taro-components/p-c5c331bf.system.entry.js.map +0 -1
  843. package/dist/taro-components/p-cb17d8bd.system.js +0 -2
  844. package/dist/taro-components/p-cb17d8bd.system.js.map +0 -1
  845. package/dist/taro-components/p-cbe2436d.system.entry.js.map +0 -1
  846. package/dist/taro-components/p-cd6a7eea.entry.js +0 -2
  847. package/dist/taro-components/p-cd6a7eea.entry.js.map +0 -1
  848. package/dist/taro-components/p-d4b6f19e.system.entry.js +0 -2
  849. package/dist/taro-components/p-d4b6f19e.system.entry.js.map +0 -1
  850. package/dist/taro-components/p-d5234e7e.js +0 -366
  851. package/dist/taro-components/p-d5234e7e.js.map +0 -1
  852. package/dist/taro-components/p-d5579efa.system.entry.js +0 -2
  853. package/dist/taro-components/p-d5579efa.system.entry.js.map +0 -1
  854. package/dist/taro-components/p-d619f198.system.entry.js +0 -2
  855. package/dist/taro-components/p-d619f198.system.entry.js.map +0 -1
  856. package/dist/taro-components/p-d7ab3e23.system.entry.js +0 -2
  857. package/dist/taro-components/p-d7ab3e23.system.entry.js.map +0 -1
  858. package/dist/taro-components/p-d7f4b10f.entry.js +0 -2
  859. package/dist/taro-components/p-d7f4b10f.entry.js.map +0 -1
  860. package/dist/taro-components/p-d85b216d.entry.js +0 -2
  861. package/dist/taro-components/p-d85b216d.entry.js.map +0 -1
  862. package/dist/taro-components/p-dcb48fd9.system.entry.js +0 -2
  863. package/dist/taro-components/p-dcb48fd9.system.entry.js.map +0 -1
  864. package/dist/taro-components/p-dcfb7d97.system.entry.js.map +0 -1
  865. package/dist/taro-components/p-de762042.entry.js +0 -2
  866. package/dist/taro-components/p-de762042.entry.js.map +0 -1
  867. package/dist/taro-components/p-df862d0c.entry.js +0 -2
  868. package/dist/taro-components/p-df862d0c.entry.js.map +0 -1
  869. package/dist/taro-components/p-e0d6b00b.entry.js +0 -2
  870. package/dist/taro-components/p-e0d6b00b.entry.js.map +0 -1
  871. package/dist/taro-components/p-e4f1cc50.entry.js +0 -2
  872. package/dist/taro-components/p-e4f1cc50.entry.js.map +0 -1
  873. package/dist/taro-components/p-e59f999e.entry.js +0 -2
  874. package/dist/taro-components/p-e59f999e.entry.js.map +0 -1
  875. package/dist/taro-components/p-e7239faa.system.entry.js +0 -2
  876. package/dist/taro-components/p-e7239faa.system.entry.js.map +0 -1
  877. package/dist/taro-components/p-e7965c55.system.entry.js +0 -2
  878. package/dist/taro-components/p-e7965c55.system.entry.js.map +0 -1
  879. package/dist/taro-components/p-e98c07c3.system.entry.js +0 -2
  880. package/dist/taro-components/p-e98c07c3.system.entry.js.map +0 -1
  881. package/dist/taro-components/p-e9abe3e2.entry.js +0 -2
  882. package/dist/taro-components/p-e9abe3e2.entry.js.map +0 -1
  883. package/dist/taro-components/p-eddd00e9.system.entry.js +0 -2
  884. package/dist/taro-components/p-eddd00e9.system.entry.js.map +0 -1
  885. package/dist/taro-components/p-ef029c30.system.entry.js +0 -2
  886. package/dist/taro-components/p-ef029c30.system.entry.js.map +0 -1
  887. package/dist/taro-components/p-f0d0160d.system.entry.js.map +0 -1
  888. package/dist/taro-components/p-f120c272.entry.js +0 -2
  889. package/dist/taro-components/p-f120c272.entry.js.map +0 -1
  890. package/dist/taro-components/p-f2c75971.system.entry.js.map +0 -1
  891. package/dist/taro-components/p-ffc44634.entry.js +0 -2
  892. package/dist/taro-components/p-ffc44634.entry.js.map +0 -1
  893. package/dist/taro-components/taro-components.esm.js.map +0 -1
  894. package/dist/vue2/components.js +0 -490
  895. package/dist/vue2/index.js +0 -26
  896. package/dist/vue2/vue-component-lib/utils.js +0 -45
  897. package/dist/vue3/components.js +0 -64
  898. package/dist/vue3/vue-component-lib/utils.js +0 -201
@@ -1,11 +1,38 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5d881caf.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-8809c729.js';
2
2
 
3
- const Form = class {
3
+ let Form = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  this.onSubmit = createEvent(this, "submit", 7);
7
7
  this.value = {};
8
8
  }
9
+ watchSlotParent(newParent) {
10
+ if (!this.orginalAppendChild) {
11
+ this.orginalAppendChild = this.el.appendChild;
12
+ this.orginalInsertBefore = this.el.insertBefore;
13
+ this.orginalReplaceChild = this.el.replaceChild;
14
+ this.orginalRemoveChild = this.el.removeChild;
15
+ }
16
+ if (!newParent) {
17
+ this.el.appendChild = this.orginalAppendChild;
18
+ this.el.insertBefore = this.orginalInsertBefore;
19
+ this.el.replaceChild = this.orginalReplaceChild;
20
+ this.el.removeChild = this.orginalRemoveChild;
21
+ return;
22
+ }
23
+ this.el.appendChild = (newChild) => {
24
+ return newParent.appendChild(newChild);
25
+ };
26
+ this.el.insertBefore = (newChild, refChild) => {
27
+ return newParent.insertBefore(newChild, refChild);
28
+ };
29
+ this.el.replaceChild = (newChild, oldChild) => {
30
+ return newParent.replaceChild(newChild, oldChild);
31
+ };
32
+ this.el.removeChild = (oldChild) => {
33
+ return newParent.removeChild(oldChild);
34
+ };
35
+ }
9
36
  onButtonSubmit(e) {
10
37
  e.stopPropagation();
11
38
  this.value = this.getFormValue();
@@ -25,31 +52,7 @@ const Form = class {
25
52
  });
26
53
  }
27
54
  componentDidRender() {
28
- if (!this.originalAppendChild) {
29
- this.originalAppendChild = this.el.appendChild;
30
- this.originalInsertBefore = this.el.insertBefore;
31
- this.originalReplaceChild = this.el.replaceChild;
32
- this.originalRemoveChild = this.el.removeChild;
33
- }
34
- if (!this.form) {
35
- this.el.appendChild = this.originalAppendChild;
36
- this.el.insertBefore = this.originalInsertBefore;
37
- this.el.replaceChild = this.originalReplaceChild;
38
- this.el.removeChild = this.originalRemoveChild;
39
- return;
40
- }
41
- this.el.appendChild = (newChild) => {
42
- return this.form.appendChild(newChild);
43
- };
44
- this.el.insertBefore = (newChild, refChild) => {
45
- return this.form.insertBefore(newChild, refChild);
46
- };
47
- this.el.replaceChild = (newChild, oldChild) => {
48
- return this.form.replaceChild(newChild, oldChild);
49
- };
50
- this.el.removeChild = (oldChild) => {
51
- return this.form.removeChild(oldChild);
52
- };
55
+ this.setSlotParent(this.form);
53
56
  }
54
57
  getFormValue() {
55
58
  const el = this.el;
@@ -61,8 +64,6 @@ const Form = class {
61
64
  const formItem = {};
62
65
  const hash = {};
63
66
  elements.forEach(item => {
64
- if (typeof item.name !== 'string')
65
- return;
66
67
  if (item.className.indexOf('weui-switch') !== -1) {
67
68
  formItem[item.name] = item.checked;
68
69
  return;
@@ -104,20 +105,24 @@ const Form = class {
104
105
  textareaEleArr.push(textareaElements[i]);
105
106
  }
106
107
  textareaEleArr.forEach(v => {
107
- if (typeof v.name !== 'string')
108
- return;
109
108
  formItem[v.name] = v.value;
110
109
  });
111
110
  return formItem;
112
111
  }
112
+ setSlotParent(el) {
113
+ this.slotParent = el;
114
+ }
113
115
  render() {
114
116
  return (h("form", { ref: dom => {
115
- this.form = dom;
117
+ if (dom) {
118
+ this.form = dom;
119
+ }
116
120
  } }, h("slot", null)));
117
121
  }
118
122
  get el() { return getElement(this); }
123
+ static get watchers() { return {
124
+ "slotParent": ["watchSlotParent"]
125
+ }; }
119
126
  };
120
127
 
121
128
  export { Form as taro_form_core };
122
-
123
- //# sourceMappingURL=taro-form-core.entry.js.map
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8809c729.js';
2
2
  import { n as notSupport } from './helper-3d0ecf0f.js';
3
3
  import '@tarojs/taro';
4
4
 
5
- const FunctionalPageNavigator = class {
5
+ let FunctionalPageNavigator = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -15,5 +15,3 @@ const FunctionalPageNavigator = class {
15
15
  };
16
16
 
17
17
  export { FunctionalPageNavigator as taro_functional_page_navigator_core };
18
-
19
- //# sourceMappingURL=taro-functional-page-navigator-core.entry.js.map
@@ -1,12 +1,10 @@
1
- import { r as registerInstance, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8809c729.js';
2
2
  import { c as classnames } from './index-1d8e8acd.js';
3
3
 
4
- const Icon = class {
4
+ let Icon = class {
5
5
  constructor(hostRef) {
6
6
  registerInstance(this, hostRef);
7
- this.type = undefined;
8
7
  this.size = '23';
9
- this.color = undefined;
10
8
  }
11
9
  render() {
12
10
  const { type, size, color } = this;
@@ -23,5 +21,3 @@ const Icon = class {
23
21
  };
24
22
 
25
23
  export { Icon as taro_icon_core };
26
-
27
- //# sourceMappingURL=taro-icon-core.entry.js.map
@@ -1,15 +1,14 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-8809c729.js';
2
2
  import { c as classnames } from './index-1d8e8acd.js';
3
3
 
4
4
  const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}";
5
5
 
6
6
  import('./intersection-observer-8e4c7135.js');
7
- const Image = class {
7
+ let Image = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
10
  this.onLoad = createEvent(this, "load", 7);
11
11
  this.onError = createEvent(this, "error", 7);
12
- this.src = undefined;
13
12
  this.mode = 'scaleToFill';
14
13
  this.lazyLoad = false;
15
14
  this.nativeProps = {};
@@ -37,8 +36,8 @@ const Image = class {
37
36
  });
38
37
  this.aspectFillMode = naturalWidth > naturalHeight ? 'width' : 'height';
39
38
  }
40
- imageOnError(e) {
41
- this.onError.emit(e);
39
+ imageOnError() {
40
+ this.onError.emit();
42
41
  }
43
42
  render() {
44
43
  const { src, mode = 'scaleToFill', lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps } = this;
@@ -54,5 +53,3 @@ const Image = class {
54
53
  Image.style = indexCss;
55
54
 
56
55
  export { Image as taro_image_core };
57
-
58
- //# sourceMappingURL=taro-image-core.entry.js.map
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5d881caf.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-8809c729.js';
2
2
 
3
3
  const indexCss = "taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";
4
4
 
@@ -20,7 +20,7 @@ function getTrueType(type, confirmType, password) {
20
20
  function fixControlledValue(value) {
21
21
  return value !== null && value !== void 0 ? value : '';
22
22
  }
23
- const Input = class {
23
+ let Input = class {
24
24
  constructor(hostRef) {
25
25
  registerInstance(this, hostRef);
26
26
  this.onInput = createEvent(this, "input", 7);
@@ -33,6 +33,12 @@ const Input = class {
33
33
  this.isOnComposition = false;
34
34
  this.isOnPaste = false;
35
35
  this.onInputExcuted = false;
36
+ this.password = false;
37
+ this.disabled = false;
38
+ this.maxlength = 140;
39
+ this.autoFocus = false;
40
+ this.confirmType = 'done';
41
+ this.nativeProps = {};
36
42
  this.handleInput = (e) => {
37
43
  e.stopPropagation();
38
44
  const { type, maxlength, confirmType, password } = this;
@@ -64,21 +70,18 @@ const Input = class {
64
70
  }
65
71
  };
66
72
  this.handlePaste = (e) => {
67
- e.stopPropagation();
68
73
  this.isOnPaste = true;
69
74
  this.onPaste.emit({
70
75
  value: e.target.value
71
76
  });
72
77
  };
73
78
  this.handleFocus = (e) => {
74
- e.stopPropagation();
75
79
  this.onInputExcuted = false;
76
80
  this.onFocus.emit({
77
81
  value: e.target.value
78
82
  });
79
83
  };
80
84
  this.handleBlur = (e) => {
81
- e.stopPropagation();
82
85
  this.onBlur.emit({
83
86
  value: e.target.value
84
87
  });
@@ -98,10 +101,10 @@ const Input = class {
98
101
  }
99
102
  };
100
103
  this.handleKeyDown = (e) => {
101
- e.stopPropagation();
102
104
  const { value } = e.target;
103
105
  const keyCode = e.keyCode || e.code;
104
106
  this.onInputExcuted = false;
107
+ e.stopPropagation();
105
108
  this.onKeyDown.emit({
106
109
  value,
107
110
  cursor: value.length,
@@ -110,7 +113,6 @@ const Input = class {
110
113
  keyCode === 13 && this.onConfirm.emit({ value });
111
114
  };
112
115
  this.handleComposition = (e) => {
113
- e.stopPropagation();
114
116
  if (!(e.target instanceof HTMLInputElement))
115
117
  return;
116
118
  if (e.type === 'compositionend') {
@@ -138,21 +140,8 @@ const Input = class {
138
140
  }
139
141
  }
140
142
  };
141
- this.value = undefined;
142
- this.type = undefined;
143
- this.password = false;
144
- this.placeholder = undefined;
145
- this.disabled = false;
146
- this.maxlength = 140;
147
- this.autoFocus = false;
148
- this.confirmType = 'done';
149
- this.name = undefined;
150
- this.nativeProps = {};
151
143
  }
152
- focus() {
153
- this.inputRef.focus();
154
- }
155
- watchAutoFocus(newValue, oldValue) {
144
+ watchFocus(newValue, oldValue) {
156
145
  var _a;
157
146
  if (!oldValue && newValue) {
158
147
  (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
@@ -160,7 +149,7 @@ const Input = class {
160
149
  }
161
150
  watchValue(newValue) {
162
151
  const value = fixControlledValue(newValue);
163
- if (this.inputRef.value !== value) {
152
+ if (this.inputRef && this.inputRef.value !== value) {
164
153
  this.inputRef.value = value;
165
154
  }
166
155
  }
@@ -179,7 +168,7 @@ const Input = class {
179
168
  (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.addEventListener('textInput', this.handleBeforeinput);
180
169
  }
181
170
  Object.defineProperty(this.el, 'value', {
182
- get: () => this.inputRef.value,
171
+ get: () => { var _a; return (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.value; },
183
172
  set: value => (this.value = value),
184
173
  configurable: true
185
174
  });
@@ -200,18 +189,14 @@ const Input = class {
200
189
  const { value, type, password, placeholder, autoFocus, disabled, maxlength, confirmType, name, nativeProps } = this;
201
190
  return (h("input", Object.assign({ ref: input => {
202
191
  this.inputRef = input;
203
- if (autoFocus && input)
204
- input.focus();
205
- }, class: 'weui-input', type: getTrueType(type, confirmType, password), placeholder: placeholder, autoFocus: autoFocus, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown, onPaste: this.handlePaste, onCompositionStart: this.handleComposition, onCompositionEnd: this.handleComposition }, nativeProps, { value: fixControlledValue(value) })));
192
+ }, class: 'weui-input', value: fixControlledValue(value), type: getTrueType(type, confirmType, password), placeholder: placeholder, autoFocus: autoFocus, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown, onPaste: this.handlePaste, onCompositionStart: this.handleComposition, onCompositionEnd: this.handleComposition }, nativeProps)));
206
193
  }
207
194
  get el() { return getElement(this); }
208
195
  static get watchers() { return {
209
- "autoFocus": ["watchAutoFocus"],
196
+ "autoFocus": ["watchFocus"],
210
197
  "value": ["watchValue"]
211
198
  }; }
212
199
  };
213
200
  Input.style = indexCss;
214
201
 
215
202
  export { Input as taro_input_core };
216
-
217
- //# sourceMappingURL=taro-input-core.entry.js.map
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8809c729.js';
2
2
  import { n as notSupport } from './helper-3d0ecf0f.js';
3
3
  import '@tarojs/taro';
4
4
 
5
- const KeyboardAccessory = class {
5
+ let KeyboardAccessory = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -15,5 +15,3 @@ const KeyboardAccessory = class {
15
15
  };
16
16
 
17
17
  export { KeyboardAccessory as taro_keyboard_accessory_core };
18
-
19
- //# sourceMappingURL=taro-keyboard-accessory-core.entry.js.map
@@ -1,9 +1,8 @@
1
- import { r as registerInstance, h } from './index-5d881caf.js';
1
+ import { r as registerInstance, h } from './index-8809c729.js';
2
2
 
3
- const Label = class {
3
+ let Label = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
- this.for = undefined;
7
6
  }
8
7
  render() {
9
8
  return (h("label", { htmlFor: this.for }, h("slot", null)));
@@ -11,5 +10,3 @@ const Label = class {
11
10
  };
12
11
 
13
12
  export { Label as taro_label_core };
14
-
15
- //# sourceMappingURL=taro-label-core.entry.js.map
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8809c729.js';
2
2
  import { n as notSupport } from './helper-3d0ecf0f.js';
3
3
  import '@tarojs/taro';
4
4
 
5
- const LivePlayer = class {
5
+ let LivePlayer = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -15,5 +15,3 @@ const LivePlayer = class {
15
15
  };
16
16
 
17
17
  export { LivePlayer as taro_live_player_core };
18
-
19
- //# sourceMappingURL=taro-live-player-core.entry.js.map
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8809c729.js';
2
2
  import { n as notSupport } from './helper-3d0ecf0f.js';
3
3
  import '@tarojs/taro';
4
4
 
5
- const LivePusher = class {
5
+ let LivePusher = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -15,5 +15,3 @@ const LivePusher = class {
15
15
  };
16
16
 
17
17
  export { LivePusher as taro_live_pusher_core };
18
-
19
- //# sourceMappingURL=taro-live-pusher-core.entry.js.map
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8809c729.js';
2
2
  import { n as notSupport } from './helper-3d0ecf0f.js';
3
3
  import '@tarojs/taro';
4
4
 
5
- const Map = class {
5
+ let Map = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -15,5 +15,3 @@ const Map = class {
15
15
  };
16
16
 
17
17
  export { Map as taro_map_core };
18
-
19
- //# sourceMappingURL=taro-map-core.entry.js.map
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-5d881caf.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8809c729.js';
2
2
  import { n as notSupport } from './helper-3d0ecf0f.js';
3
3
  import '@tarojs/taro';
4
4
 
5
- const MatchMedia = class {
5
+ let MatchMedia = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -15,5 +15,3 @@ const MatchMedia = class {
15
15
  };
16
16
 
17
17
  export { MatchMedia as taro_match_media_core };
18
-
19
- //# sourceMappingURL=taro-match-media-core.entry.js.map
@@ -0,0 +1,153 @@
1
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-8809c729.js';
2
+
3
+ const areaCss = "taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";
4
+
5
+ let MovableArea = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /** 子元素集合 */
9
+ this.views = [];
10
+ /** 手势缩放 */
11
+ this.scaleLength = 0;
12
+ this.viewsChanged = () => {
13
+ this.views = [];
14
+ const elements = this.element.querySelectorAll('taro-movable-view-core');
15
+ Array.from(elements).forEach((element) => {
16
+ this.views.push(element);
17
+ });
18
+ this.updateArea();
19
+ };
20
+ this.handleTouchStart = (e) => {
21
+ const touches = e.touches;
22
+ if (!touches || touches.length <= 1) {
23
+ return;
24
+ }
25
+ const gap = {
26
+ width: touches[1].pageX - touches[0].pageX,
27
+ height: touches[1].pageY - touches[0].pageY
28
+ };
29
+ this.scaleLength = Math.sqrt(gap.width * gap.width + gap.height * gap.height);
30
+ if (this.scaleArea) {
31
+ return;
32
+ }
33
+ const find = (target, views) => {
34
+ const loop = (e, t) => {
35
+ if (!(e = e.parentNode)) {
36
+ return false;
37
+ }
38
+ return (!(e instanceof HTMLElement) || e !== document.body) && (e === t || e === t.element || e.element === t || loop(e, t));
39
+ };
40
+ for (let i = 0; i < views.length; i++) {
41
+ const view = views[i];
42
+ if (target === view["element"] || loop(target, view)) {
43
+ return view;
44
+ }
45
+ }
46
+ };
47
+ const touch1 = find(touches[0].target, this.views);
48
+ const touch2 = find(touches[1].target, this.views);
49
+ this.scaleTarget = touch1 && touch1 === touch2 ? touch1 : undefined;
50
+ };
51
+ this.handleTouchMove = (e) => {
52
+ const touches = e.touches;
53
+ if (!touches || touches.length <= 1) {
54
+ return;
55
+ }
56
+ e.preventDefault();
57
+ const gap = {
58
+ width: touches[1].pageX - touches[0].pageX,
59
+ height: touches[1].pageY - touches[0].pageY
60
+ };
61
+ if (this.scaleLength > 0) {
62
+ this.updateScale(Math.sqrt(gap.width * gap.width + gap.height * gap.height) / this.scaleLength);
63
+ }
64
+ };
65
+ this.handleTouchEnd = (e) => {
66
+ var _a, _b;
67
+ if ((e.touches && e.touches.length) || !e.changedTouches) {
68
+ return;
69
+ }
70
+ this.scaleLength = 0;
71
+ if (this.scaleArea) {
72
+ this.views.forEach((element) => {
73
+ var _a;
74
+ (_a = element["endScale"]) === null || _a === void 0 ? void 0 : _a.call(element);
75
+ });
76
+ }
77
+ else {
78
+ (_b = (_a = this.scaleTarget) === null || _a === void 0 ? void 0 : _a["endScale"]) === null || _b === void 0 ? void 0 : _b.call(_a);
79
+ }
80
+ this.scaleTarget = undefined;
81
+ };
82
+ this.updateScale = (scale) => {
83
+ var _a, _b;
84
+ if (!scale || scale === 1) {
85
+ return;
86
+ }
87
+ if (this.scaleArea) {
88
+ this.views.forEach((element) => {
89
+ var _a;
90
+ (_a = element["setScale"]) === null || _a === void 0 ? void 0 : _a.call(element, scale);
91
+ });
92
+ }
93
+ else {
94
+ (_b = (_a = this.scaleTarget) === null || _a === void 0 ? void 0 : _a["setScale"]) === null || _b === void 0 ? void 0 : _b.call(_a, scale);
95
+ }
96
+ };
97
+ this.updateArea = () => {
98
+ const computedStyle = window.getComputedStyle(this.element);
99
+ const clientRect = this.element.getBoundingClientRect();
100
+ const horizontal = ["Left", "Right"].map((e) => {
101
+ return parseFloat(computedStyle["border" + e + "Width"]) + parseFloat(computedStyle["padding" + e]);
102
+ });
103
+ const vertical = ["Top", "Bottom"].map((e) => {
104
+ return parseFloat(computedStyle["border" + e + "Width"]) + parseFloat(computedStyle["padding" + e]);
105
+ });
106
+ this.views.forEach((element) => {
107
+ var _a;
108
+ (_a = element["setParent"]) === null || _a === void 0 ? void 0 : _a.call(element, {
109
+ element: this.element,
110
+ area: {
111
+ height: clientRect.height - vertical[0] - vertical[1],
112
+ width: clientRect.width - horizontal[0] - horizontal[1]
113
+ }
114
+ });
115
+ });
116
+ };
117
+ }
118
+ connectedCallback() {
119
+ this.observer = new MutationObserver((mutations) => {
120
+ mutations.forEach((mutation) => {
121
+ var _a, _b;
122
+ if (mutation.attributeName === "class" || mutation.attributeName === "style") {
123
+ const offsetWidth = this.element.offsetWidth;
124
+ const offsetHeight = this.element.offsetHeight;
125
+ if (offsetWidth !== ((_a = this.offset) === null || _a === void 0 ? void 0 : _a.width) || offsetHeight !== ((_b = this.offset) === null || _b === void 0 ? void 0 : _b.height)) {
126
+ this.updateArea();
127
+ }
128
+ this.offset = {
129
+ width: offsetWidth,
130
+ height: offsetHeight
131
+ };
132
+ }
133
+ });
134
+ });
135
+ this.observer.observe(this.element, {
136
+ attributes: true
137
+ });
138
+ }
139
+ disconnectedCallback() {
140
+ var _a;
141
+ (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
142
+ }
143
+ componentDidLoad() {
144
+ this.viewsChanged();
145
+ }
146
+ render() {
147
+ return (h(Host, { onTouchStart: this.handleTouchStart, onTouchMove: this.handleTouchMove, onTouchEnd: this.handleTouchEnd }));
148
+ }
149
+ get element() { return getElement(this); }
150
+ };
151
+ MovableArea.style = areaCss;
152
+
153
+ export { MovableArea as taro_movable_area_core };