@tarojs/components 3.7.0-alpha.2 → 3.7.0-alpha.22

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 (641) hide show
  1. package/dist/cjs/helper-ad6306f6.js +31 -0
  2. package/dist/cjs/hls-00fec546.js +25673 -0
  3. package/dist/{esm/index-1d8e8acd.js → cjs/index-f6805218.js} +13 -16
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  6. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
  12. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  14. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-canvas-core.cjs.entry.js +14 -2
  16. package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-components.cjs.js +3 -3
  22. package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
  28. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  30. package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
  33. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-input-core.cjs.entry.js +7 -12
  35. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
  38. package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
  40. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  41. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  42. package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
  43. package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
  44. package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  46. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
  48. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  50. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  51. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  53. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  54. package/dist/cjs/taro-picker-core_2.cjs.entry.js +55 -51
  55. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
  56. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +4 -4
  58. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-rich-text-core.cjs.entry.js +7 -1
  60. package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
  61. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
  62. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
  63. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +16 -5
  64. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  65. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  67. package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
  68. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
  69. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
  70. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +52 -50
  71. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  72. package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
  73. package/dist/cjs/taro-tabbar.cjs.entry.js +11 -23
  74. package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
  75. package/dist/cjs/taro-text-core.cjs.entry.js +10 -7
  76. package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -9
  77. package/dist/cjs/taro-video-control_3.cjs.entry.js +8 -5
  78. package/dist/cjs/taro-view-core.cjs.entry.js +5 -11
  79. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  80. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  81. package/dist/collection/collection-manifest.json +2 -1
  82. package/dist/collection/components/button/style/index.css +12 -0
  83. package/dist/collection/components/canvas/canvas.js +48 -2
  84. package/dist/collection/components/checkbox/checkbox.js +4 -4
  85. package/dist/collection/components/image/image.js +6 -4
  86. package/dist/collection/components/image/style/index.css +2 -2
  87. package/dist/collection/components/input/input.js +9 -13
  88. package/dist/collection/components/picker/picker-group.js +29 -26
  89. package/dist/collection/components/picker/picker.js +73 -46
  90. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +1 -1
  91. package/dist/collection/components/pull-to-refresh/style/index.css +1 -2
  92. package/dist/collection/components/rich-text/rich-text.js +71 -0
  93. package/dist/collection/components/rich-text/style/index.css +16 -0
  94. package/dist/collection/components/scroll-view/scroll-view.js +38 -6
  95. package/dist/collection/components/snapshot/snapshot.js +11 -0
  96. package/dist/collection/components/swiper/swiper-item.js +34 -35
  97. package/dist/collection/components/swiper/swiper.js +16 -13
  98. package/dist/collection/components/tabbar/style/index.css +5 -1
  99. package/dist/collection/components/text/style/index.css +20 -3
  100. package/dist/collection/components/text/text.js +66 -6
  101. package/dist/collection/components/textarea/textarea.js +4 -10
  102. package/dist/collection/components/video/style/index.css +1 -0
  103. package/dist/collection/components/video/video.js +4 -1
  104. package/dist/collection/components/view/view.js +2 -9
  105. package/dist/collection/utils/helper.js +11 -0
  106. package/dist/components/helper.js +12 -1
  107. package/dist/components/hls.js +22697 -24646
  108. package/dist/components/index.d.ts +1 -0
  109. package/dist/components/index.js +1 -0
  110. package/dist/components/index2.js +12 -17
  111. package/dist/components/picker-group.js +9 -9
  112. package/dist/components/taro-button-core.js +1 -1
  113. package/dist/components/taro-canvas-core.js +16 -2
  114. package/dist/components/taro-checkbox-core.js +1 -1
  115. package/dist/components/taro-image-core.js +7 -5
  116. package/dist/components/taro-input-core.js +7 -12
  117. package/dist/components/taro-picker-core.js +47 -43
  118. package/dist/components/taro-pull-to-refresh.js +2 -2
  119. package/dist/components/taro-rich-text-core.js +10 -1
  120. package/dist/components/taro-scroll-view-core.js +15 -4
  121. package/dist/components/taro-snapshot-core.d.ts +11 -0
  122. package/dist/components/taro-snapshot-core.js +33 -0
  123. package/dist/components/taro-swiper-core.js +16 -13
  124. package/dist/components/taro-swiper-item-core.js +34 -35
  125. package/dist/components/taro-tabbar.js +2 -14
  126. package/dist/components/taro-text-core.js +13 -7
  127. package/dist/components/taro-textarea-core.js +2 -9
  128. package/dist/components/taro-video-core.js +6 -3
  129. package/dist/components/taro-view-core.js +2 -9
  130. package/dist/esm/helper-8a85bb65.js +24 -0
  131. package/dist/esm/hls-4018c7ea.js +25671 -0
  132. package/dist/{cjs/index-f9d21cc5.js → esm/index-c3e4004b.js} +12 -22
  133. package/dist/esm/loader.js +4 -4
  134. package/dist/esm/taro-ad-core.entry.js +2 -2
  135. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  136. package/dist/esm/taro-animation-video-core.entry.js +2 -2
  137. package/dist/esm/taro-animation-view-core.entry.js +2 -2
  138. package/dist/esm/taro-ar-camera-core.entry.js +2 -2
  139. package/dist/esm/taro-audio-core.entry.js +1 -1
  140. package/dist/esm/taro-aweme-data-core.entry.js +2 -2
  141. package/dist/esm/taro-block-core.entry.js +1 -1
  142. package/dist/esm/taro-button-core.entry.js +3 -3
  143. package/dist/esm/taro-camera-core.entry.js +2 -2
  144. package/dist/esm/taro-canvas-core.entry.js +14 -2
  145. package/dist/esm/taro-channel-live-core.entry.js +2 -2
  146. package/dist/esm/taro-channel-video-core.entry.js +2 -2
  147. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  148. package/dist/esm/taro-comment-detail-core.entry.js +2 -2
  149. package/dist/esm/taro-comment-list-core.entry.js +2 -2
  150. package/dist/esm/taro-components.js +4 -4
  151. package/dist/esm/taro-contact-button-core.entry.js +2 -2
  152. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  153. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  154. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  155. package/dist/esm/taro-editor-core.entry.js +2 -2
  156. package/dist/esm/taro-follow-swan-core.entry.js +2 -2
  157. package/dist/esm/taro-form-core.entry.js +1 -1
  158. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  159. package/dist/esm/taro-grid-view-core.entry.js +2 -2
  160. package/dist/esm/taro-icon-core.entry.js +2 -2
  161. package/dist/esm/taro-image-core.entry.js +7 -6
  162. package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
  163. package/dist/esm/taro-input-core.entry.js +7 -12
  164. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  165. package/dist/esm/taro-label-core.entry.js +1 -1
  166. package/dist/esm/taro-lifestyle-core.entry.js +2 -2
  167. package/dist/esm/taro-like-core.entry.js +2 -2
  168. package/dist/esm/taro-list-view-core.entry.js +2 -2
  169. package/dist/esm/taro-live-player-core.entry.js +2 -2
  170. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  171. package/dist/esm/taro-login-core.entry.js +2 -2
  172. package/dist/esm/taro-lottie-core.entry.js +2 -2
  173. package/dist/esm/taro-map-core.entry.js +2 -2
  174. package/dist/esm/taro-match-media-core.entry.js +2 -2
  175. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  176. package/dist/esm/taro-native-slot-core.entry.js +2 -2
  177. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  178. package/dist/esm/taro-navigator-core.entry.js +2 -2
  179. package/dist/esm/taro-official-account-core.entry.js +2 -2
  180. package/dist/esm/taro-open-data-core.entry.js +2 -2
  181. package/dist/esm/taro-page-container-core.entry.js +2 -2
  182. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  183. package/dist/esm/taro-picker-core_2.entry.js +55 -51
  184. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  185. package/dist/esm/taro-progress-core.entry.js +1 -1
  186. package/dist/esm/taro-pull-to-refresh.entry.js +4 -4
  187. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  188. package/dist/esm/taro-rich-text-core.entry.js +7 -1
  189. package/dist/esm/taro-root-portal-core.entry.js +2 -2
  190. package/dist/esm/taro-rtc-room-core.entry.js +2 -2
  191. package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
  192. package/dist/esm/taro-scroll-view-core.entry.js +16 -5
  193. package/dist/esm/taro-share-element-core.entry.js +2 -2
  194. package/dist/esm/taro-slider-core.entry.js +1 -1
  195. package/dist/esm/taro-slot-core.entry.js +2 -2
  196. package/dist/esm/taro-snapshot-core.entry.js +17 -0
  197. package/dist/esm/taro-sticky-header-core.entry.js +2 -2
  198. package/dist/esm/taro-sticky-section-core.entry.js +2 -2
  199. package/dist/esm/taro-swiper-core_2.entry.js +52 -50
  200. package/dist/esm/taro-switch-core.entry.js +1 -1
  201. package/dist/esm/taro-tab-item-core.entry.js +2 -2
  202. package/dist/esm/taro-tabbar.entry.js +4 -16
  203. package/dist/esm/taro-tabs-core.entry.js +2 -2
  204. package/dist/esm/taro-text-core.entry.js +10 -7
  205. package/dist/esm/taro-textarea-core.entry.js +2 -9
  206. package/dist/esm/taro-video-control_3.entry.js +8 -5
  207. package/dist/esm/taro-view-core.entry.js +5 -11
  208. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  209. package/dist/esm/taro-web-view-core.entry.js +1 -1
  210. package/dist/esm-es5/helper-8a85bb65.js +1 -0
  211. package/dist/esm-es5/hls-4018c7ea.js +1 -0
  212. package/dist/esm-es5/index-c3e4004b.js +7 -0
  213. package/dist/esm-es5/loader.js +1 -1
  214. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  221. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  223. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  228. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-components.js +1 -1
  231. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  256. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  264. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  265. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  266. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  267. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  268. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  269. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  272. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  273. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  274. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  276. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
  277. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  280. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  283. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  287. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  290. package/dist/taro-components/p-00ed4bbb.entry.js +1 -0
  291. package/dist/taro-components/p-01e163f8.system.entry.js +1 -0
  292. package/dist/taro-components/p-065a10d7.entry.js +1 -0
  293. package/dist/taro-components/p-085076c5.system.entry.js +1 -0
  294. package/dist/taro-components/p-08b7ecd7.system.entry.js +1 -0
  295. package/dist/taro-components/p-0a250d71.system.entry.js +1 -0
  296. package/dist/taro-components/p-0cedad18.system.entry.js +1 -0
  297. package/dist/taro-components/{p-70b5e81e.system.entry.js → p-0d7a705b.system.entry.js} +1 -1
  298. package/dist/taro-components/p-0e3b37e9.entry.js +1 -0
  299. package/dist/taro-components/p-0e8199b7.entry.js +1 -0
  300. package/dist/taro-components/p-0ec2e88a.entry.js +1 -0
  301. package/dist/taro-components/p-0fa96970.entry.js +1 -0
  302. package/dist/taro-components/{p-80f3d88d.entry.js → p-0fe855c6.entry.js} +1 -1
  303. package/dist/taro-components/{p-59590806.system.entry.js → p-117633e9.system.entry.js} +1 -1
  304. package/dist/taro-components/p-124ac21f.entry.js +1 -0
  305. package/dist/taro-components/p-15624788.system.entry.js +1 -0
  306. package/dist/taro-components/{p-6dae898a.system.entry.js → p-1991cc1a.system.entry.js} +1 -1
  307. package/dist/taro-components/p-1b789738.system.entry.js +1 -0
  308. package/dist/taro-components/p-1cf16dfa.entry.js +1 -0
  309. package/dist/taro-components/{p-88d64daa.system.entry.js → p-1e739fcb.system.entry.js} +1 -1
  310. package/dist/taro-components/p-1f118969.system.entry.js +1 -0
  311. package/dist/taro-components/{p-6f214fc3.system.entry.js → p-208e438c.system.entry.js} +1 -1
  312. package/dist/taro-components/{p-0a165ad3.system.entry.js → p-21c07cb3.system.entry.js} +1 -1
  313. package/dist/taro-components/p-22bf7daf.entry.js +1 -0
  314. package/dist/taro-components/p-24d9836e.entry.js +1 -0
  315. package/dist/taro-components/p-25632af9.entry.js +1 -0
  316. package/dist/taro-components/p-29638de3.entry.js +1 -0
  317. package/dist/taro-components/{p-1b501f32.system.entry.js → p-2a071adf.system.entry.js} +1 -1
  318. package/dist/taro-components/p-2da9c8fd.entry.js +1 -0
  319. package/dist/taro-components/p-2ec68968.system.js +7 -0
  320. package/dist/taro-components/{p-9d4fa0d3.system.entry.js → p-3004e71a.system.entry.js} +1 -1
  321. package/dist/taro-components/{p-4542b767.entry.js → p-30805bdf.entry.js} +1 -1
  322. package/dist/taro-components/{p-c6e6dab1.system.entry.js → p-32e9981a.system.entry.js} +1 -1
  323. package/dist/taro-components/{p-7dd9c8da.system.entry.js → p-357ba712.system.entry.js} +1 -1
  324. package/dist/taro-components/{p-30fe0e81.system.entry.js → p-36d4407e.system.entry.js} +1 -1
  325. package/dist/taro-components/{p-c3d3eca2.entry.js → p-38ee526a.entry.js} +1 -1
  326. package/dist/taro-components/p-3f3abe55.system.entry.js +1 -0
  327. package/dist/taro-components/p-425c209a.entry.js +1 -0
  328. package/dist/taro-components/{p-58690684.entry.js → p-43720011.entry.js} +1 -1
  329. package/dist/taro-components/p-43efbf30.js +1 -0
  330. package/dist/taro-components/{p-69fa7272.system.entry.js → p-473afc8e.system.entry.js} +1 -1
  331. package/dist/taro-components/p-4a3357a4.entry.js +1 -0
  332. package/dist/taro-components/p-4cedbe5e.system.entry.js +1 -0
  333. package/dist/taro-components/p-4f1d180d.entry.js +1 -0
  334. package/dist/taro-components/p-4fc40739.entry.js +1 -0
  335. package/dist/taro-components/{p-bba8c3a7.system.entry.js → p-519fbe84.system.entry.js} +1 -1
  336. package/dist/taro-components/{p-95f70aea.system.entry.js → p-5756cf00.system.entry.js} +1 -1
  337. package/dist/taro-components/{p-4d7182f4.system.entry.js → p-5870248f.system.entry.js} +1 -1
  338. package/dist/taro-components/{p-26889f3c.system.entry.js → p-58cc2e6d.system.entry.js} +1 -1
  339. package/dist/taro-components/{p-51b6fc09.system.entry.js → p-5994d9f2.system.entry.js} +1 -1
  340. package/dist/taro-components/p-5e91398a.system.entry.js +1 -0
  341. package/dist/taro-components/{p-b2bb02d7.system.entry.js → p-5ebc7010.system.entry.js} +1 -1
  342. package/dist/taro-components/p-600e89cc.system.entry.js +1 -0
  343. package/dist/taro-components/p-60faf73e.system.entry.js +1 -0
  344. package/dist/taro-components/p-64eb91f7.entry.js +1 -0
  345. package/dist/taro-components/{p-dcb5b505.system.entry.js → p-657cb6e4.system.entry.js} +1 -1
  346. package/dist/taro-components/p-69c43a81.entry.js +1 -0
  347. package/dist/taro-components/p-6aa2ac6a.system.entry.js +1 -0
  348. package/dist/taro-components/p-6b454506.entry.js +1 -0
  349. package/dist/taro-components/{p-02aa7366.system.entry.js → p-6cde54e5.system.entry.js} +1 -1
  350. package/dist/taro-components/p-72b118b0.entry.js +1 -0
  351. package/dist/taro-components/p-76996fcb.entry.js +1 -0
  352. package/dist/taro-components/p-7726b789.system.entry.js +1 -0
  353. package/dist/taro-components/p-78e4805e.entry.js +1 -0
  354. package/dist/taro-components/{p-3c5ac930.entry.js → p-7b68dee8.entry.js} +1 -1
  355. package/dist/taro-components/p-7bfc5f3d.entry.js +1 -0
  356. package/dist/taro-components/{p-4d0da795.system.entry.js → p-7e8e355b.system.entry.js} +1 -1
  357. package/dist/taro-components/p-7fb57a30.system.entry.js +1 -0
  358. package/dist/taro-components/p-84958ace.entry.js +1 -0
  359. package/dist/taro-components/{p-be6050fd.system.entry.js → p-85fce63e.system.entry.js} +1 -1
  360. package/dist/taro-components/p-862b38b9.entry.js +1 -0
  361. package/dist/taro-components/p-8c3b906c.system.js +1 -0
  362. package/dist/taro-components/p-8ca82a56.entry.js +1 -0
  363. package/dist/taro-components/p-8ccaf5e8.entry.js +1 -0
  364. package/dist/taro-components/{p-4402972b.system.entry.js → p-8d990f1c.system.entry.js} +1 -1
  365. package/dist/taro-components/{p-8027e1c6.system.entry.js → p-92d04741.system.entry.js} +1 -1
  366. package/dist/taro-components/{p-b5ad2aec.entry.js → p-962f28cb.entry.js} +1 -1
  367. package/dist/taro-components/p-99e16df8.entry.js +1 -0
  368. package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
  369. package/dist/taro-components/{p-33223303.system.entry.js → p-9d76d7a9.system.entry.js} +1 -1
  370. package/dist/taro-components/p-9e03bc7a.system.entry.js +1 -0
  371. package/dist/taro-components/p-9ea4f297.entry.js +1 -0
  372. package/dist/taro-components/p-9edea30f.system.entry.js +1 -0
  373. package/dist/taro-components/p-9eeba192.entry.js +1 -0
  374. package/dist/taro-components/{p-7722f33f.entry.js → p-9fe49bab.entry.js} +1 -1
  375. package/dist/taro-components/{p-acd9a9da.entry.js → p-a1763153.entry.js} +1 -1
  376. package/dist/taro-components/{p-f44e975b.entry.js → p-a20ecd3b.entry.js} +1 -1
  377. package/dist/taro-components/p-a20fed0a.entry.js +1 -0
  378. package/dist/taro-components/p-a2141e85.system.entry.js +1 -0
  379. package/dist/taro-components/p-a2d590ad.entry.js +1 -0
  380. package/dist/taro-components/p-a4951dd6.entry.js +1 -0
  381. package/dist/taro-components/p-a5a51112.entry.js +1 -0
  382. package/dist/taro-components/p-a6e2dd48.entry.js +1 -0
  383. package/dist/taro-components/{p-f499c0a0.system.entry.js → p-a74c970c.system.entry.js} +1 -1
  384. package/dist/taro-components/{p-087bf23a.system.entry.js → p-a7d31b01.system.entry.js} +1 -1
  385. package/dist/taro-components/p-a90221ab.system.entry.js +1 -0
  386. package/dist/taro-components/p-a940a65b.entry.js +1 -0
  387. package/dist/taro-components/p-a94e3347.system.entry.js +1 -0
  388. package/dist/taro-components/p-aa04f605.entry.js +1 -0
  389. package/dist/taro-components/p-ad9b04e0.entry.js +1 -0
  390. package/dist/taro-components/{p-c586a796.system.entry.js → p-b07cd197.system.entry.js} +1 -1
  391. package/dist/taro-components/{p-2024e133.system.entry.js → p-b1d2b575.system.entry.js} +1 -1
  392. package/dist/taro-components/p-b201ff38.entry.js +1 -0
  393. package/dist/taro-components/{p-ae3f1ed4.system.entry.js → p-b5b30493.system.entry.js} +1 -1
  394. package/dist/taro-components/{p-f9c26678.entry.js → p-b641e598.entry.js} +1 -1
  395. package/dist/taro-components/p-bc541cd8.entry.js +1 -0
  396. package/dist/taro-components/p-bd4ed8b1.entry.js +1 -0
  397. package/dist/taro-components/p-be96eb59.system.entry.js +1 -0
  398. package/dist/taro-components/{p-7df9de66.system.entry.js → p-bf0c8449.system.entry.js} +1 -1
  399. package/dist/taro-components/{p-c2c498d9.entry.js → p-bf0e0394.entry.js} +1 -1
  400. package/dist/taro-components/p-c0080d83.entry.js +1 -0
  401. package/dist/taro-components/p-c1a3fecf.system.entry.js +1 -0
  402. package/dist/taro-components/{p-4514dc53.system.entry.js → p-c913b635.system.entry.js} +1 -1
  403. package/dist/taro-components/p-cb406f85.system.entry.js +1 -0
  404. package/dist/taro-components/p-ccc64042.system.entry.js +1 -0
  405. package/dist/taro-components/p-ce303d12.system.entry.js +1 -0
  406. package/dist/taro-components/p-d1756770.entry.js +1 -0
  407. package/dist/taro-components/p-d2e0b15c.entry.js +1 -0
  408. package/dist/taro-components/p-d35c8257.system.entry.js +1 -0
  409. package/dist/taro-components/p-d550aea9.system.entry.js +1 -0
  410. package/dist/taro-components/p-d5c8380d.system.entry.js +1 -0
  411. package/dist/taro-components/{p-97782cdd.system.entry.js → p-d867e333.system.entry.js} +1 -1
  412. package/dist/taro-components/p-d9dcc6c6.entry.js +1 -0
  413. package/dist/taro-components/p-da3db323.entry.js +1 -0
  414. package/dist/taro-components/p-dab28e1f.system.entry.js +1 -0
  415. package/dist/taro-components/p-dbdb9de9.js +1 -0
  416. package/dist/taro-components/{p-736053bb.system.entry.js → p-dc5d65a0.system.entry.js} +1 -1
  417. package/dist/taro-components/p-de951a46.js +7 -0
  418. package/dist/taro-components/{p-da5cdbf5.system.entry.js → p-de96861c.system.entry.js} +1 -1
  419. package/dist/taro-components/p-e09451c5.system.entry.js +1 -0
  420. package/dist/taro-components/{p-b1249ebb.system.entry.js → p-e2cd5dd3.system.entry.js} +1 -1
  421. package/dist/taro-components/p-e598f47b.entry.js +1 -0
  422. package/dist/taro-components/{p-10be7fb5.system.entry.js → p-e6481671.system.entry.js} +1 -1
  423. package/dist/taro-components/{p-c33733b3.system.entry.js → p-e67755f0.system.entry.js} +1 -1
  424. package/dist/taro-components/p-e740320c.entry.js +1 -0
  425. package/dist/taro-components/p-e78775ce.system.js +1 -0
  426. package/dist/taro-components/p-e976c6c9.system.entry.js +1 -0
  427. package/dist/taro-components/p-ea0d5d4f.system.entry.js +1 -0
  428. package/dist/taro-components/p-ebc7b6fc.entry.js +1 -0
  429. package/dist/taro-components/p-ed331c06.system.js +1 -0
  430. package/dist/taro-components/p-ef322936.entry.js +1 -0
  431. package/dist/taro-components/p-f02b6f70.entry.js +1 -0
  432. package/dist/taro-components/{p-9df17ea6.entry.js → p-f0340edf.entry.js} +1 -1
  433. package/dist/taro-components/p-f1304456.entry.js +1 -0
  434. package/dist/taro-components/p-f2235cbb.entry.js +1 -0
  435. package/dist/taro-components/{p-38de410e.entry.js → p-f23cfdc8.entry.js} +1 -1
  436. package/dist/taro-components/p-f2c86846.entry.js +1 -0
  437. package/dist/taro-components/{p-1941d333.system.entry.js → p-f420680c.system.entry.js} +1 -1
  438. package/dist/taro-components/p-f4d86882.entry.js +1 -0
  439. package/dist/taro-components/p-f533bc2f.entry.js +1 -0
  440. package/dist/taro-components/p-f658de2e.entry.js +1 -0
  441. package/dist/taro-components/p-f6f6a996.system.entry.js +1 -0
  442. package/dist/taro-components/p-f78823a1.entry.js +1 -0
  443. package/dist/taro-components/{p-bac3deb0.system.entry.js → p-fac4ce6f.system.entry.js} +1 -1
  444. package/dist/taro-components/p-fbb2446e.entry.js +1 -0
  445. package/dist/taro-components/{p-0939fd26.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
  446. package/dist/taro-components/{p-2bac359b.entry.js → p-fefedf44.entry.js} +1 -1
  447. package/dist/taro-components/taro-components.css +1 -1
  448. package/dist/taro-components/taro-components.esm.js +1 -1
  449. package/dist/taro-components/taro-components.js +1 -1
  450. package/dist/types/components/canvas/canvas.d.ts +5 -2
  451. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  452. package/dist/types/components/image/image.d.ts +1 -0
  453. package/dist/types/components/input/input.d.ts +2 -2
  454. package/dist/types/components/picker/picker-group.d.ts +3 -3
  455. package/dist/types/components/picker/picker.d.ts +7 -2
  456. package/dist/types/components/rich-text/rich-text.d.ts +4 -0
  457. package/dist/types/components/scroll-view/scroll-view.d.ts +3 -0
  458. package/dist/types/components/snapshot/snapshot.d.ts +5 -0
  459. package/dist/types/components/swiper/swiper.d.ts +3 -2
  460. package/dist/types/components/text/text.d.ts +4 -0
  461. package/dist/types/components/textarea/textarea.d.ts +0 -1
  462. package/dist/types/components.d.ts +45 -8
  463. package/dist/types/utils/helper.d.ts +1 -0
  464. package/lib/react/component-lib/index.d.ts +1 -1
  465. package/lib/react/component-lib/index.js +50 -50
  466. package/lib/react/component-lib/index.js.map +1 -1
  467. package/lib/react/component-lib/reactify-wc.js +1 -1
  468. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  469. package/lib/react/components.d.ts +83 -84
  470. package/lib/react/components.js +4 -3
  471. package/lib/react/components.js.map +1 -1
  472. package/lib/react/helper.d.ts +1 -1
  473. package/lib/react/index.d.ts +1 -1
  474. package/lib/react/index.js +1 -1
  475. package/lib/react/react-component-lib/createComponent.d.ts +1 -1
  476. package/lib/react/react-component-lib/createOverlayComponent.d.ts +2 -2
  477. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  478. package/lib/react/react-component-lib/index.d.ts +2 -2
  479. package/lib/react/react-component-lib/utils/attachProps.js +21 -5
  480. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  481. package/lib/react/react-component-lib/utils/index.d.ts +3 -3
  482. package/lib/vue2/component-lib/index.js +0 -5
  483. package/lib/vue2/component-lib/index.js.map +1 -1
  484. package/lib/vue2/components-loader.js +1 -1
  485. package/lib/vue2/components-loader.js.map +1 -1
  486. package/lib/vue2/components.d.ts +14 -4
  487. package/lib/vue2/components.js +20 -8
  488. package/lib/vue2/components.js.map +1 -1
  489. package/lib/vue2/index.d.ts +1 -1
  490. package/lib/vue2/index.js +1 -1
  491. package/lib/vue2/vue-component-lib/utils.js.map +1 -1
  492. package/lib/vue3/component-lib/index.d.ts +4 -4
  493. package/lib/vue3/component-lib/index.js +48 -48
  494. package/lib/vue3/component-lib/index.js.map +1 -1
  495. package/lib/vue3/components.d.ts +83 -82
  496. package/lib/vue3/components.js +18 -7
  497. package/lib/vue3/components.js.map +1 -1
  498. package/lib/vue3/index.d.ts +1 -1
  499. package/lib/vue3/index.js +1 -1
  500. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  501. package/package.json +13 -11
  502. package/types/Button.d.ts +104 -10
  503. package/types/Canvas.d.ts +11 -11
  504. package/types/ChannelVideo.d.ts +4 -0
  505. package/types/Form.d.ts +11 -0
  506. package/types/GridView.d.ts +1 -1
  507. package/types/Image.d.ts +5 -0
  508. package/types/Input.d.ts +6 -1
  509. package/types/ListView.d.ts +1 -1
  510. package/types/LivePlayer.d.ts +17 -0
  511. package/types/LivePusher.d.ts +10 -0
  512. package/types/NativeSlot.d.ts +5 -3
  513. package/types/Picker.d.ts +9 -0
  514. package/types/Progress.d.ts +2 -2
  515. package/types/RichText.d.ts +6 -4
  516. package/types/ScrollView.d.ts +86 -8
  517. package/types/ShareElement.d.ts +40 -1
  518. package/types/Slot.d.ts +5 -3
  519. package/types/Snapshot.d.ts +16 -0
  520. package/types/StickyHeader.d.ts +1 -1
  521. package/types/StickySection.d.ts +1 -2
  522. package/types/Swiper.d.ts +10 -0
  523. package/types/Text.d.ts +8 -3
  524. package/types/Textarea.d.ts +11 -4
  525. package/types/Video.d.ts +25 -4
  526. package/types/View.d.ts +1 -1
  527. package/types/index.d.ts +8 -5
  528. package/types/index.vue3.d.ts +39 -16
  529. package/virtual-list/index.js +2 -2
  530. package/dist/cjs/helper-db78e01a.js +0 -19
  531. package/dist/cjs/hls-67cbc62d.js +0 -27622
  532. package/dist/esm/helper-3d0ecf0f.js +0 -13
  533. package/dist/esm/hls-221423a1.js +0 -27620
  534. package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
  535. package/dist/esm-es5/hls-221423a1.js +0 -365
  536. package/dist/esm-es5/index-1d8e8acd.js +0 -7
  537. package/dist/taro-components/p-0393ed55.entry.js +0 -1
  538. package/dist/taro-components/p-05bc0fce.entry.js +0 -1
  539. package/dist/taro-components/p-05c757b7.entry.js +0 -1
  540. package/dist/taro-components/p-07293238.entry.js +0 -1
  541. package/dist/taro-components/p-08bb8dfc.system.entry.js +0 -1
  542. package/dist/taro-components/p-0a9b984e.system.entry.js +0 -1
  543. package/dist/taro-components/p-0b8b3af5.entry.js +0 -1
  544. package/dist/taro-components/p-11936d9a.entry.js +0 -1
  545. package/dist/taro-components/p-1249cb09.entry.js +0 -1
  546. package/dist/taro-components/p-1385d50f.entry.js +0 -1
  547. package/dist/taro-components/p-1493866a.entry.js +0 -1
  548. package/dist/taro-components/p-15e45ed6.system.js +0 -1
  549. package/dist/taro-components/p-16e03200.entry.js +0 -1
  550. package/dist/taro-components/p-17302fe9.system.entry.js +0 -1
  551. package/dist/taro-components/p-1743a04b.system.js +0 -365
  552. package/dist/taro-components/p-1be83ed3.entry.js +0 -1
  553. package/dist/taro-components/p-1c320250.system.entry.js +0 -1
  554. package/dist/taro-components/p-1c446c65.system.js +0 -1
  555. package/dist/taro-components/p-1e8c8ae1.entry.js +0 -1
  556. package/dist/taro-components/p-22dc57d4.entry.js +0 -1
  557. package/dist/taro-components/p-23cb8a7f.entry.js +0 -1
  558. package/dist/taro-components/p-27c4878c.entry.js +0 -1
  559. package/dist/taro-components/p-2e28cb1c.entry.js +0 -1
  560. package/dist/taro-components/p-2f7dba29.entry.js +0 -1
  561. package/dist/taro-components/p-30f32fa2.system.entry.js +0 -1
  562. package/dist/taro-components/p-369fb262.entry.js +0 -1
  563. package/dist/taro-components/p-38a51bd2.entry.js +0 -1
  564. package/dist/taro-components/p-39685396.system.entry.js +0 -1
  565. package/dist/taro-components/p-3c91f59b.entry.js +0 -1
  566. package/dist/taro-components/p-3d60bd58.entry.js +0 -1
  567. package/dist/taro-components/p-4190e20b.system.entry.js +0 -1
  568. package/dist/taro-components/p-429a0f99.entry.js +0 -1
  569. package/dist/taro-components/p-42bcb98a.entry.js +0 -1
  570. package/dist/taro-components/p-46244579.system.entry.js +0 -1
  571. package/dist/taro-components/p-4915fdc1.system.entry.js +0 -1
  572. package/dist/taro-components/p-491c6272.system.entry.js +0 -1
  573. package/dist/taro-components/p-4e77bdea.entry.js +0 -1
  574. package/dist/taro-components/p-518146fd.system.entry.js +0 -1
  575. package/dist/taro-components/p-58877ef2.system.entry.js +0 -1
  576. package/dist/taro-components/p-58b7e960.entry.js +0 -1
  577. package/dist/taro-components/p-5931c82e.entry.js +0 -1
  578. package/dist/taro-components/p-61f225ef.system.js +0 -7
  579. package/dist/taro-components/p-623b3eb6.system.entry.js +0 -1
  580. package/dist/taro-components/p-651586f8.system.entry.js +0 -1
  581. package/dist/taro-components/p-69f6784d.system.entry.js +0 -1
  582. package/dist/taro-components/p-6a96da58.js +0 -1
  583. package/dist/taro-components/p-6de6eb4e.entry.js +0 -1
  584. package/dist/taro-components/p-6f048097.system.entry.js +0 -1
  585. package/dist/taro-components/p-7377a117.entry.js +0 -1
  586. package/dist/taro-components/p-744a6b99.entry.js +0 -1
  587. package/dist/taro-components/p-74bf8246.system.entry.js +0 -1
  588. package/dist/taro-components/p-76724e58.js +0 -7
  589. package/dist/taro-components/p-78c30850.system.entry.js +0 -1
  590. package/dist/taro-components/p-79c41bc2.entry.js +0 -1
  591. package/dist/taro-components/p-7c1fc8f5.system.entry.js +0 -1
  592. package/dist/taro-components/p-80970d8f.entry.js +0 -1
  593. package/dist/taro-components/p-895cd7c9.system.entry.js +0 -1
  594. package/dist/taro-components/p-8b8a8e39.entry.js +0 -1
  595. package/dist/taro-components/p-8d037fc0.entry.js +0 -1
  596. package/dist/taro-components/p-8d2101be.system.entry.js +0 -1
  597. package/dist/taro-components/p-8e5cc8fe.system.entry.js +0 -1
  598. package/dist/taro-components/p-8feeb7ce.entry.js +0 -1
  599. package/dist/taro-components/p-90e4274e.entry.js +0 -1
  600. package/dist/taro-components/p-9318da32.entry.js +0 -1
  601. package/dist/taro-components/p-9e8619a6.system.entry.js +0 -1
  602. package/dist/taro-components/p-a294e169.entry.js +0 -1
  603. package/dist/taro-components/p-a5afdc47.system.entry.js +0 -1
  604. package/dist/taro-components/p-a6d2e81b.entry.js +0 -1
  605. package/dist/taro-components/p-a9b51167.entry.js +0 -1
  606. package/dist/taro-components/p-ae8fd8c8.entry.js +0 -1
  607. package/dist/taro-components/p-affb28de.entry.js +0 -1
  608. package/dist/taro-components/p-b16eddaa.entry.js +0 -1
  609. package/dist/taro-components/p-b1c972e2.system.entry.js +0 -1
  610. package/dist/taro-components/p-b708e9fe.entry.js +0 -1
  611. package/dist/taro-components/p-badfb3be.entry.js +0 -1
  612. package/dist/taro-components/p-beba1657.entry.js +0 -1
  613. package/dist/taro-components/p-c2391de5.entry.js +0 -1
  614. package/dist/taro-components/p-c3d35ae5.entry.js +0 -1
  615. package/dist/taro-components/p-c4dd85b6.entry.js +0 -1
  616. package/dist/taro-components/p-c4fdb669.system.entry.js +0 -1
  617. package/dist/taro-components/p-c6385fc2.system.entry.js +0 -1
  618. package/dist/taro-components/p-c70dd956.system.entry.js +0 -1
  619. package/dist/taro-components/p-d42e41ff.entry.js +0 -1
  620. package/dist/taro-components/p-d5234e7e.js +0 -365
  621. package/dist/taro-components/p-d797cdc4.entry.js +0 -1
  622. package/dist/taro-components/p-dccf1ae9.entry.js +0 -1
  623. package/dist/taro-components/p-dfc405a5.entry.js +0 -1
  624. package/dist/taro-components/p-e2f2fbe5.entry.js +0 -1
  625. package/dist/taro-components/p-e3f8265d.system.entry.js +0 -1
  626. package/dist/taro-components/p-e753b776.entry.js +0 -1
  627. package/dist/taro-components/p-e8b1ea64.entry.js +0 -1
  628. package/dist/taro-components/p-e9eeb060.entry.js +0 -1
  629. package/dist/taro-components/p-ef7e7d73.system.entry.js +0 -1
  630. package/dist/taro-components/p-efcfdb97.entry.js +0 -1
  631. package/dist/taro-components/p-f671ed7d.entry.js +0 -1
  632. package/dist/taro-components/p-f9ac515e.system.entry.js +0 -1
  633. package/dist/taro-components/p-fa36fe8e.system.entry.js +0 -1
  634. package/dist/taro-components/p-fb585037.entry.js +0 -1
  635. package/dist/taro-components/p-fcdac6ec.system.entry.js +0 -1
  636. package/dist/taro-components/p-fdecdc25.entry.js +0 -1
  637. /package/dist/cjs/{index-e1b469cd.js → index-e751dfe3.js} +0 -0
  638. /package/dist/esm/{index-c948674f.js → index-980f930f.js} +0 -0
  639. /package/dist/esm-es5/{index-c948674f.js → index-980f930f.js} +0 -0
  640. /package/dist/taro-components/{p-1a0e1932.system.js → p-7e6b54cb.system.js} +0 -0
  641. /package/dist/taro-components/{p-78e3ebb9.js → p-9137dcab.js} +0 -0
@@ -7,8 +7,9 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { Type } from "./components/icon/icon";
9
9
  import { Mode } from "./components/image/image";
10
- import { Fields, Mode as Mode1 } from "./components/picker/picker";
10
+ import { Fields, Mode as Mode1, PickerText, PickerValue } from "./components/picker/picker";
11
11
  import { Nodes } from "./components/rich-text/rich-text";
12
+ import { TextProps } from "types";
12
13
  import { ScrollViewContext } from "@tarojs/taro";
13
14
  import { Conf } from "./components/tabbar/tabbar";
14
15
  import { Danmu } from "./components/video/video-danmu";
@@ -50,7 +51,9 @@ export namespace Components {
50
51
  }
51
52
  interface TaroCanvasCore {
52
53
  "canvasId": string;
54
+ "height": string;
53
55
  "nativeProps": {};
56
+ "width": string;
54
57
  }
55
58
  interface TaroChannelLiveCore {
56
59
  }
@@ -63,7 +66,7 @@ export namespace Components {
63
66
  "id": string;
64
67
  "name": string;
65
68
  "nativeProps": {};
66
- "value": string;
69
+ "value": string | number;
67
70
  }
68
71
  interface TaroCheckboxGroupCore {
69
72
  "name": any;
@@ -250,7 +253,8 @@ export namespace Components {
250
253
  "range": any[];
251
254
  "rangeKey": string;
252
255
  "start": string;
253
- "value": number | number[] | string;
256
+ "textProps": PickerText;
257
+ "value": PickerValue;
254
258
  }
255
259
  interface TaroPickerGroup {
256
260
  "columnId": string;
@@ -259,10 +263,9 @@ export namespace Components {
259
263
  "handleMoving": (clientY: number) => Promise<void>;
260
264
  "height": number;
261
265
  "mode": 'time' | 'date';
262
- "onColumnChange": (height: number, columnId: string) => void;
263
266
  "range": any[];
264
267
  "rangeKey": string;
265
- "updateDay": (value: number, fields: number) => void;
268
+ "updateDay"?: (value: number, fields: number) => void;
266
269
  "updateHeight": (height: number, columnId: string, needRevise?: boolean) => void;
267
270
  }
268
271
  interface TaroPickerViewColumnCore {
@@ -306,6 +309,9 @@ export namespace Components {
306
309
  }
307
310
  interface TaroRichTextCore {
308
311
  "nodes": Nodes;
312
+ "selectable": boolean;
313
+ "space"?: keyof TextProps.TSpace;
314
+ "userSelect": boolean;
309
315
  }
310
316
  interface TaroRootPortalCore {
311
317
  }
@@ -317,6 +323,7 @@ export namespace Components {
317
323
  "animated": boolean;
318
324
  "lowerThreshold": number | string;
319
325
  "mpScrollIntoView": string;
326
+ "mpScrollIntoViewAlignment": 'start' | 'center' | 'end' | 'nearest';
320
327
  "mpScrollIntoViewMethod": (selector: string) => Promise<void>;
321
328
  "mpScrollLeft": number | string;
322
329
  "mpScrollToMethod": (object: ScrollViewContext.scrollTo.Option) => Promise<void>;
@@ -342,6 +349,8 @@ export namespace Components {
342
349
  }
343
350
  interface TaroSlotCore {
344
351
  }
352
+ interface TaroSnapshotCore {
353
+ }
345
354
  interface TaroStickyHeaderCore {
346
355
  }
347
356
  interface TaroStickySectionCore {
@@ -423,7 +432,10 @@ export namespace Components {
423
432
  interface TaroTabsCore {
424
433
  }
425
434
  interface TaroTextCore {
435
+ "numberOfLines"?: number;
426
436
  "selectable": boolean;
437
+ "space"?: keyof TextProps.TSpace;
438
+ "userSelect": boolean;
427
439
  }
428
440
  interface TaroTextareaCore {
429
441
  "autoFocus": boolean;
@@ -632,6 +644,10 @@ export interface TaroPickerCoreCustomEvent<T> extends CustomEvent<T> {
632
644
  detail: T;
633
645
  target: HTMLTaroPickerCoreElement;
634
646
  }
647
+ export interface TaroPickerGroupCustomEvent<T> extends CustomEvent<T> {
648
+ detail: T;
649
+ target: HTMLTaroPickerGroupElement;
650
+ }
635
651
  export interface TaroPickerViewColumnCoreCustomEvent<T> extends CustomEvent<T> {
636
652
  detail: T;
637
653
  target: HTMLTaroPickerViewColumnCoreElement;
@@ -1090,6 +1106,12 @@ declare global {
1090
1106
  prototype: HTMLTaroSlotCoreElement;
1091
1107
  new (): HTMLTaroSlotCoreElement;
1092
1108
  };
1109
+ interface HTMLTaroSnapshotCoreElement extends Components.TaroSnapshotCore, HTMLStencilElement {
1110
+ }
1111
+ var HTMLTaroSnapshotCoreElement: {
1112
+ prototype: HTMLTaroSnapshotCoreElement;
1113
+ new (): HTMLTaroSnapshotCoreElement;
1114
+ };
1093
1115
  interface HTMLTaroStickyHeaderCoreElement extends Components.TaroStickyHeaderCore, HTMLStencilElement {
1094
1116
  }
1095
1117
  var HTMLTaroStickyHeaderCoreElement: {
@@ -1253,6 +1275,7 @@ declare global {
1253
1275
  "taro-share-element-core": HTMLTaroShareElementCoreElement;
1254
1276
  "taro-slider-core": HTMLTaroSliderCoreElement;
1255
1277
  "taro-slot-core": HTMLTaroSlotCoreElement;
1278
+ "taro-snapshot-core": HTMLTaroSnapshotCoreElement;
1256
1279
  "taro-sticky-header-core": HTMLTaroStickyHeaderCoreElement;
1257
1280
  "taro-sticky-section-core": HTMLTaroStickySectionCoreElement;
1258
1281
  "taro-swiper-core": HTMLTaroSwiperCoreElement;
@@ -1316,8 +1339,10 @@ declare namespace LocalJSX {
1316
1339
  }
1317
1340
  interface TaroCanvasCore {
1318
1341
  "canvasId"?: string;
1342
+ "height"?: string;
1319
1343
  "nativeProps"?: {};
1320
1344
  "onLongtap"?: (event: TaroCanvasCoreCustomEvent<any>) => void;
1345
+ "width"?: string;
1321
1346
  }
1322
1347
  interface TaroChannelLiveCore {
1323
1348
  }
@@ -1331,7 +1356,7 @@ declare namespace LocalJSX {
1331
1356
  "name"?: string;
1332
1357
  "nativeProps"?: {};
1333
1358
  "onCheckboxchange"?: (event: TaroCheckboxCoreCustomEvent<any>) => void;
1334
- "value"?: string;
1359
+ "value"?: string | number;
1335
1360
  }
1336
1361
  interface TaroCheckboxGroupCore {
1337
1362
  "name"?: any;
@@ -1541,13 +1566,14 @@ declare namespace LocalJSX {
1541
1566
  "range"?: any[];
1542
1567
  "rangeKey"?: string;
1543
1568
  "start"?: string;
1544
- "value"?: number | number[] | string;
1569
+ "textProps"?: PickerText;
1570
+ "value"?: PickerValue;
1545
1571
  }
1546
1572
  interface TaroPickerGroup {
1547
1573
  "columnId"?: string;
1548
1574
  "height"?: number;
1549
1575
  "mode"?: 'time' | 'date';
1550
- "onColumnChange"?: (height: number, columnId: string) => void;
1576
+ "onColumnChange"?: (event: TaroPickerGroupCustomEvent<any>) => void;
1551
1577
  "range"?: any[];
1552
1578
  "rangeKey"?: string;
1553
1579
  "updateDay"?: (value: number, fields: number) => void;
@@ -1603,6 +1629,9 @@ declare namespace LocalJSX {
1603
1629
  }
1604
1630
  interface TaroRichTextCore {
1605
1631
  "nodes"?: Nodes;
1632
+ "selectable"?: boolean;
1633
+ "space"?: keyof TextProps.TSpace;
1634
+ "userSelect"?: boolean;
1606
1635
  }
1607
1636
  interface TaroRootPortalCore {
1608
1637
  }
@@ -1614,6 +1643,7 @@ declare namespace LocalJSX {
1614
1643
  "animated"?: boolean;
1615
1644
  "lowerThreshold"?: number | string;
1616
1645
  "mpScrollIntoView"?: string;
1646
+ "mpScrollIntoViewAlignment"?: 'start' | 'center' | 'end' | 'nearest';
1617
1647
  "mpScrollLeft"?: number | string;
1618
1648
  "mpScrollTop"?: number | string;
1619
1649
  "onScroll"?: (event: TaroScrollViewCoreCustomEvent<any>) => void;
@@ -1642,6 +1672,8 @@ declare namespace LocalJSX {
1642
1672
  }
1643
1673
  interface TaroSlotCore {
1644
1674
  }
1675
+ interface TaroSnapshotCore {
1676
+ }
1645
1677
  interface TaroStickyHeaderCore {
1646
1678
  }
1647
1679
  interface TaroStickySectionCore {
@@ -1727,7 +1759,10 @@ declare namespace LocalJSX {
1727
1759
  interface TaroTabsCore {
1728
1760
  }
1729
1761
  interface TaroTextCore {
1762
+ "numberOfLines"?: number;
1730
1763
  "selectable"?: boolean;
1764
+ "space"?: keyof TextProps.TSpace;
1765
+ "userSelect"?: boolean;
1731
1766
  }
1732
1767
  interface TaroTextareaCore {
1733
1768
  "autoFocus"?: boolean;
@@ -1936,6 +1971,7 @@ declare namespace LocalJSX {
1936
1971
  "taro-share-element-core": TaroShareElementCore;
1937
1972
  "taro-slider-core": TaroSliderCore;
1938
1973
  "taro-slot-core": TaroSlotCore;
1974
+ "taro-snapshot-core": TaroSnapshotCore;
1939
1975
  "taro-sticky-header-core": TaroStickyHeaderCore;
1940
1976
  "taro-sticky-section-core": TaroStickySectionCore;
1941
1977
  "taro-swiper-core": TaroSwiperCore;
@@ -2029,6 +2065,7 @@ declare module "@stencil/core" {
2029
2065
  "taro-share-element-core": LocalJSX.TaroShareElementCore & JSXBase.HTMLAttributes<HTMLTaroShareElementCoreElement>;
2030
2066
  "taro-slider-core": LocalJSX.TaroSliderCore & JSXBase.HTMLAttributes<HTMLTaroSliderCoreElement>;
2031
2067
  "taro-slot-core": LocalJSX.TaroSlotCore & JSXBase.HTMLAttributes<HTMLTaroSlotCoreElement>;
2068
+ "taro-snapshot-core": LocalJSX.TaroSnapshotCore & JSXBase.HTMLAttributes<HTMLTaroSnapshotCoreElement>;
2032
2069
  "taro-sticky-header-core": LocalJSX.TaroStickyHeaderCore & JSXBase.HTMLAttributes<HTMLTaroStickyHeaderCoreElement>;
2033
2070
  "taro-sticky-section-core": LocalJSX.TaroStickySectionCore & JSXBase.HTMLAttributes<HTMLTaroStickySectionCoreElement>;
2034
2071
  "taro-swiper-core": LocalJSX.TaroSwiperCore & JSXBase.HTMLAttributes<HTMLTaroSwiperCoreElement>;
@@ -1 +1,2 @@
1
1
  export declare function notSupport(name?: string, instance?: {}): void;
2
+ export declare function handleStencilNodes(el: HTMLElement): void;
@@ -52,4 +52,4 @@ declare const Block: import("react").ExoticComponent<{
52
52
  }>;
53
53
  declare const CustomWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
54
54
  export { CoverImage, CoverView, MatchMedia, MovableArea, MovableView, PageContainer, RootPortal, ScrollView, ShareElement, Swiper, SwiperItem, View, Icon, Progress, RichText, Text, Button, Checkbox, CheckboxGroup, Editor, Form, KeyboardAccessory, Label, Picker, PickerView, PickerViewColumn, Radio, RadioGroup, Slider, Switch, Textarea, FunctionalPageNavigator, Navigator, NavigationBar, Audio, Camera, Image, LivePlayer, LivePusher, Video, VoipRoom, Map, Canvas, Ad, AdCustom, OfficialAccount, OpenData, WebView, PageMeta, Block, CustomWrapper };
55
- export { default as Input } from "./input";
55
+ export { default as Input } from "./input.js";
@@ -3,66 +3,66 @@ import reactifyWebComponent from './reactify-wc.js';
3
3
  export { default as Input } from './input.js';
4
4
 
5
5
  // 视图容器
6
- const CoverImage = reactifyWebComponent('taro-cover-image-core');
7
- const CoverView = reactifyWebComponent('taro-cover-view-core');
8
- const MatchMedia = reactifyWebComponent('taro-match-media-core');
9
- const MovableArea = reactifyWebComponent('taro-movable-area-core');
10
- const MovableView = reactifyWebComponent('taro-movable-view-core');
11
- const PageContainer = reactifyWebComponent('taro-page-container-core');
12
- const RootPortal = reactifyWebComponent('taro-root-portal-core');
13
- const ScrollView = reactifyWebComponent('taro-scroll-view-core');
14
- const ShareElement = reactifyWebComponent('taro-share-element-core');
15
- const Swiper = reactifyWebComponent('taro-swiper-core');
16
- const SwiperItem = reactifyWebComponent('taro-swiper-item-core');
17
- const View = reactifyWebComponent('taro-view-core');
6
+ const CoverImage = /* @__PURE__ */ reactifyWebComponent('taro-cover-image-core');
7
+ const CoverView = /* @__PURE__ */ reactifyWebComponent('taro-cover-view-core');
8
+ const MatchMedia = /* @__PURE__ */ reactifyWebComponent('taro-match-media-core');
9
+ const MovableArea = /* @__PURE__ */ reactifyWebComponent('taro-movable-area-core');
10
+ const MovableView = /* @__PURE__ */ reactifyWebComponent('taro-movable-view-core');
11
+ const PageContainer = /* @__PURE__ */ reactifyWebComponent('taro-page-container-core');
12
+ const RootPortal = /* @__PURE__ */ reactifyWebComponent('taro-root-portal-core');
13
+ const ScrollView = /* @__PURE__ */ reactifyWebComponent('taro-scroll-view-core');
14
+ const ShareElement = /* @__PURE__ */ reactifyWebComponent('taro-share-element-core');
15
+ const Swiper = /* @__PURE__ */ reactifyWebComponent('taro-swiper-core');
16
+ const SwiperItem = /* @__PURE__ */ reactifyWebComponent('taro-swiper-item-core');
17
+ const View = /* @__PURE__ */ reactifyWebComponent('taro-view-core');
18
18
  // 基础内容
19
- const Icon = reactifyWebComponent('taro-icon-core');
20
- const Progress = reactifyWebComponent('taro-progress-core');
21
- const RichText = reactifyWebComponent('taro-rich-text-core');
22
- const Text = reactifyWebComponent('taro-text-core');
19
+ const Icon = /* @__PURE__ */ reactifyWebComponent('taro-icon-core');
20
+ const Progress = /* @__PURE__ */ reactifyWebComponent('taro-progress-core');
21
+ const RichText = /* @__PURE__ */ reactifyWebComponent('taro-rich-text-core');
22
+ const Text = /* @__PURE__ */ reactifyWebComponent('taro-text-core');
23
23
  // 表单组件
24
- const Button = reactifyWebComponent('taro-button-core');
25
- const Checkbox = reactifyWebComponent('taro-checkbox-core');
26
- const CheckboxGroup = reactifyWebComponent('taro-checkbox-group-core');
27
- const Editor = reactifyWebComponent('taro-editor-core');
28
- const Form = reactifyWebComponent('taro-form-core');
29
- const KeyboardAccessory = reactifyWebComponent('taro-keyboard-accessory-core');
30
- const Label = reactifyWebComponent('taro-label-core');
31
- const Picker = reactifyWebComponent('taro-picker-core');
32
- const PickerView = reactifyWebComponent('taro-picker-view-core');
33
- const PickerViewColumn = reactifyWebComponent('taro-picker-view-column-core');
34
- const Radio = reactifyWebComponent('taro-radio-core');
35
- const RadioGroup = reactifyWebComponent('taro-radio-group-core');
36
- const Slider = reactifyWebComponent('taro-slider-core');
37
- const Switch = reactifyWebComponent('taro-switch-core');
38
- const Textarea = reactifyWebComponent('taro-textarea-core');
24
+ const Button = /* @__PURE__ */ reactifyWebComponent('taro-button-core');
25
+ const Checkbox = /* @__PURE__ */ reactifyWebComponent('taro-checkbox-core');
26
+ const CheckboxGroup = /* @__PURE__ */ reactifyWebComponent('taro-checkbox-group-core');
27
+ const Editor = /* @__PURE__ */ reactifyWebComponent('taro-editor-core');
28
+ const Form = /* @__PURE__ */ reactifyWebComponent('taro-form-core');
29
+ const KeyboardAccessory = /* @__PURE__ */ reactifyWebComponent('taro-keyboard-accessory-core');
30
+ const Label = /* @__PURE__ */ reactifyWebComponent('taro-label-core');
31
+ const Picker = /* @__PURE__ */ reactifyWebComponent('taro-picker-core');
32
+ const PickerView = /* @__PURE__ */ reactifyWebComponent('taro-picker-view-core');
33
+ const PickerViewColumn = /* @__PURE__ */ reactifyWebComponent('taro-picker-view-column-core');
34
+ const Radio = /* @__PURE__ */ reactifyWebComponent('taro-radio-core');
35
+ const RadioGroup = /* @__PURE__ */ reactifyWebComponent('taro-radio-group-core');
36
+ const Slider = /* @__PURE__ */ reactifyWebComponent('taro-slider-core');
37
+ const Switch = /* @__PURE__ */ reactifyWebComponent('taro-switch-core');
38
+ const Textarea = /* @__PURE__ */ reactifyWebComponent('taro-textarea-core');
39
39
  // 导航
40
- const FunctionalPageNavigator = reactifyWebComponent('taro-functional-page-navigator-core');
41
- const Navigator = reactifyWebComponent('taro-navigator-core');
42
- const NavigationBar = reactifyWebComponent('taro-navigation-bar-core');
40
+ const FunctionalPageNavigator = /* @__PURE__ */ reactifyWebComponent('taro-functional-page-navigator-core');
41
+ const Navigator = /* @__PURE__ */ reactifyWebComponent('taro-navigator-core');
42
+ const NavigationBar = /* @__PURE__ */ reactifyWebComponent('taro-navigation-bar-core');
43
43
  // 媒体组件
44
- const Audio = reactifyWebComponent('taro-audio-core');
45
- const Camera = reactifyWebComponent('taro-camera-core');
46
- const Image = reactifyWebComponent('taro-image-core');
47
- const LivePlayer = reactifyWebComponent('taro-live-player-core');
48
- const LivePusher = reactifyWebComponent('taro-live-pusher-core');
49
- const Video = reactifyWebComponent('taro-video-core');
50
- const VoipRoom = reactifyWebComponent('taro-voip-room-core');
44
+ const Audio = /* @__PURE__ */ reactifyWebComponent('taro-audio-core');
45
+ const Camera = /* @__PURE__ */ reactifyWebComponent('taro-camera-core');
46
+ const Image = /* @__PURE__ */ reactifyWebComponent('taro-image-core');
47
+ const LivePlayer = /* @__PURE__ */ reactifyWebComponent('taro-live-player-core');
48
+ const LivePusher = /* @__PURE__ */ reactifyWebComponent('taro-live-pusher-core');
49
+ const Video = /* @__PURE__ */ reactifyWebComponent('taro-video-core');
50
+ const VoipRoom = /* @__PURE__ */ reactifyWebComponent('taro-voip-room-core');
51
51
  // 地图
52
- const Map = reactifyWebComponent('taro-map-core');
52
+ const Map = /* @__PURE__ */ reactifyWebComponent('taro-map-core');
53
53
  // 画布
54
- const Canvas = reactifyWebComponent('taro-canvas-core');
54
+ const Canvas = /* @__PURE__ */ reactifyWebComponent('taro-canvas-core');
55
55
  // 开放能力
56
- const Ad = reactifyWebComponent('taro-ad-core');
57
- const AdCustom = reactifyWebComponent('taro-ad-custom-core');
58
- const OfficialAccount = reactifyWebComponent('taro-official-account-core');
59
- const OpenData = reactifyWebComponent('taro-open-data-core');
60
- const WebView = reactifyWebComponent('taro-web-view-core');
56
+ const Ad = /* @__PURE__ */ reactifyWebComponent('taro-ad-core');
57
+ const AdCustom = /* @__PURE__ */ reactifyWebComponent('taro-ad-custom-core');
58
+ const OfficialAccount = /* @__PURE__ */ reactifyWebComponent('taro-official-account-core');
59
+ const OpenData = /* @__PURE__ */ reactifyWebComponent('taro-open-data-core');
60
+ const WebView = /* @__PURE__ */ reactifyWebComponent('taro-web-view-core');
61
61
  // 页面属性配置节点
62
- const PageMeta = reactifyWebComponent('taro-page-meta-core');
62
+ const PageMeta = /* @__PURE__ */ reactifyWebComponent('taro-page-meta-core');
63
63
  // 其他
64
64
  const Block = Fragment;
65
- const CustomWrapper = reactifyWebComponent('taro-custom-wrapper-core');
65
+ const CustomWrapper = /* @__PURE__ */ reactifyWebComponent('taro-custom-wrapper-core');
66
66
 
67
67
  export { Ad, AdCustom, Audio, Block, Button, Camera, Canvas, Checkbox, CheckboxGroup, CoverImage, CoverView, CustomWrapper, Editor, Form, FunctionalPageNavigator, Icon, Image, KeyboardAccessory, Label, LivePlayer, LivePusher, Map, MatchMedia, MovableArea, MovableView, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerView, PickerViewColumn, Progress, Radio, RadioGroup, RichText, RootPortal, ScrollView, ShareElement, Slider, Swiper, SwiperItem, Switch, Text, Textarea, Video, View, VoipRoom, WebView };
68
68
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../taro-components-library-react/src/component-lib/index.ts"],"sourcesContent":["import { Fragment } from 'react'\n\nimport reactifyWc from './reactify-wc'\n\n// 视图容器\nexport const CoverImage = reactifyWc('taro-cover-image-core')\nexport const CoverView = reactifyWc('taro-cover-view-core')\nexport const MatchMedia = reactifyWc('taro-match-media-core')\nexport const MovableArea = reactifyWc('taro-movable-area-core')\nexport const MovableView = reactifyWc('taro-movable-view-core')\nexport const PageContainer = reactifyWc('taro-page-container-core')\nexport const RootPortal = reactifyWc('taro-root-portal-core')\nexport const ScrollView = reactifyWc('taro-scroll-view-core')\nexport const ShareElement = reactifyWc('taro-share-element-core')\nexport const Swiper = reactifyWc('taro-swiper-core')\nexport const SwiperItem = reactifyWc('taro-swiper-item-core')\nexport const View = reactifyWc('taro-view-core')\n\n// 基础内容\nexport const Icon = reactifyWc('taro-icon-core')\nexport const Progress = reactifyWc('taro-progress-core')\nexport const RichText = reactifyWc('taro-rich-text-core')\nexport const Text = reactifyWc('taro-text-core')\n\n// 表单组件\nexport const Button = reactifyWc('taro-button-core')\nexport const Checkbox = reactifyWc('taro-checkbox-core')\nexport const CheckboxGroup = reactifyWc('taro-checkbox-group-core')\nexport const Editor = reactifyWc('taro-editor-core')\nexport const Form = reactifyWc('taro-form-core')\nexport { default as Input } from './input'\nexport const KeyboardAccessory = reactifyWc('taro-keyboard-accessory-core')\nexport const Label = reactifyWc('taro-label-core')\nexport const Picker = reactifyWc('taro-picker-core')\nexport const PickerView = reactifyWc('taro-picker-view-core')\nexport const PickerViewColumn = reactifyWc('taro-picker-view-column-core')\nexport const Radio = reactifyWc('taro-radio-core')\nexport const RadioGroup = reactifyWc('taro-radio-group-core')\nexport const Slider = reactifyWc('taro-slider-core')\nexport const Switch = reactifyWc('taro-switch-core')\nexport const Textarea = reactifyWc('taro-textarea-core')\n\n// 导航\nexport const FunctionalPageNavigator = reactifyWc('taro-functional-page-navigator-core')\nexport const Navigator = reactifyWc('taro-navigator-core')\nexport const NavigationBar = reactifyWc('taro-navigation-bar-core')\n\n// 媒体组件\nexport const Audio = reactifyWc('taro-audio-core')\nexport const Camera = reactifyWc('taro-camera-core')\nexport const Image = reactifyWc('taro-image-core')\nexport const LivePlayer = reactifyWc('taro-live-player-core')\nexport const LivePusher = reactifyWc('taro-live-pusher-core')\nexport const Video = reactifyWc('taro-video-core')\nexport const VoipRoom = reactifyWc('taro-voip-room-core')\n\n// 地图\nexport const Map = reactifyWc('taro-map-core')\n\n// 画布\nexport const Canvas = reactifyWc('taro-canvas-core')\n\n// 开放能力\nexport const Ad = reactifyWc('taro-ad-core')\nexport const AdCustom = reactifyWc('taro-ad-custom-core')\nexport const OfficialAccount = reactifyWc('taro-official-account-core')\nexport const OpenData = reactifyWc('taro-open-data-core')\nexport const WebView = reactifyWc('taro-web-view-core')\n\n// 页面属性配置节点\nexport const PageMeta = reactifyWc('taro-page-meta-core')\n\n// 其他\nexport const Block = Fragment\nexport const CustomWrapper = reactifyWc('taro-custom-wrapper-core')\n"],"names":["reactifyWc"],"mappings":";;;;AAIA;MACa,UAAU,GAAGA,oBAAU,CAAC,uBAAuB,EAAC;MAChD,SAAS,GAAGA,oBAAU,CAAC,sBAAsB,EAAC;MAC9C,UAAU,GAAGA,oBAAU,CAAC,uBAAuB,EAAC;MAChD,WAAW,GAAGA,oBAAU,CAAC,wBAAwB,EAAC;MAClD,WAAW,GAAGA,oBAAU,CAAC,wBAAwB,EAAC;MAClD,aAAa,GAAGA,oBAAU,CAAC,0BAA0B,EAAC;MACtD,UAAU,GAAGA,oBAAU,CAAC,uBAAuB,EAAC;MAChD,UAAU,GAAGA,oBAAU,CAAC,uBAAuB,EAAC;MAChD,YAAY,GAAGA,oBAAU,CAAC,yBAAyB,EAAC;MACpD,MAAM,GAAGA,oBAAU,CAAC,kBAAkB,EAAC;MACvC,UAAU,GAAGA,oBAAU,CAAC,uBAAuB,EAAC;MAChD,IAAI,GAAGA,oBAAU,CAAC,gBAAgB,EAAC;AAEhD;MACa,IAAI,GAAGA,oBAAU,CAAC,gBAAgB,EAAC;MACnC,QAAQ,GAAGA,oBAAU,CAAC,oBAAoB,EAAC;MAC3C,QAAQ,GAAGA,oBAAU,CAAC,qBAAqB,EAAC;MAC5C,IAAI,GAAGA,oBAAU,CAAC,gBAAgB,EAAC;AAEhD;MACa,MAAM,GAAGA,oBAAU,CAAC,kBAAkB,EAAC;MACvC,QAAQ,GAAGA,oBAAU,CAAC,oBAAoB,EAAC;MAC3C,aAAa,GAAGA,oBAAU,CAAC,0BAA0B,EAAC;MACtD,MAAM,GAAGA,oBAAU,CAAC,kBAAkB,EAAC;MACvC,IAAI,GAAGA,oBAAU,CAAC,gBAAgB,EAAC;MAEnC,iBAAiB,GAAGA,oB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B,EAAC;MAC5C,OAAO,GAAGA,oBAAU,CAAC,oBAAoB,EAAC;AAEvD;MACa,QAAQ,GAAGA,oBAAU,CAAC,qBAAqB,EAAC;AAEzD;AACO,MAAM,KAAK,GAAG,SAAQ;MAChB,aAAa,GAAGA,oBAAU,CAAC,0BAA0B;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../taro-components-library-react/src/component-lib/index.ts"],"sourcesContent":["import { Fragment } from 'react'\n\nimport reactifyWc from './reactify-wc'\n\n// 视图容器\nexport const CoverImage = /* @__PURE__ */ reactifyWc('taro-cover-image-core')\nexport const CoverView = /* @__PURE__ */ reactifyWc('taro-cover-view-core')\nexport const MatchMedia = /* @__PURE__ */ reactifyWc('taro-match-media-core')\nexport const MovableArea = /* @__PURE__ */ reactifyWc('taro-movable-area-core')\nexport const MovableView = /* @__PURE__ */ reactifyWc('taro-movable-view-core')\nexport const PageContainer = /* @__PURE__ */ reactifyWc('taro-page-container-core')\nexport const RootPortal = /* @__PURE__ */ reactifyWc('taro-root-portal-core')\nexport const ScrollView = /* @__PURE__ */ reactifyWc('taro-scroll-view-core')\nexport const ShareElement = /* @__PURE__ */ reactifyWc('taro-share-element-core')\nexport const Swiper = /* @__PURE__ */ reactifyWc('taro-swiper-core')\nexport const SwiperItem = /* @__PURE__ */ reactifyWc('taro-swiper-item-core')\nexport const View = /* @__PURE__ */ reactifyWc('taro-view-core')\n\n// 基础内容\nexport const Icon = /* @__PURE__ */ reactifyWc('taro-icon-core')\nexport const Progress = /* @__PURE__ */ reactifyWc('taro-progress-core')\nexport const RichText = /* @__PURE__ */ reactifyWc('taro-rich-text-core')\nexport const Text = /* @__PURE__ */ reactifyWc('taro-text-core')\n\n// 表单组件\nexport const Button = /* @__PURE__ */ reactifyWc('taro-button-core')\nexport const Checkbox = /* @__PURE__ */ reactifyWc('taro-checkbox-core')\nexport const CheckboxGroup = /* @__PURE__ */ reactifyWc('taro-checkbox-group-core')\nexport const Editor = /* @__PURE__ */ reactifyWc('taro-editor-core')\nexport const Form = /* @__PURE__ */ reactifyWc('taro-form-core')\nexport { default as Input } from './input'\nexport const KeyboardAccessory = /* @__PURE__ */ reactifyWc('taro-keyboard-accessory-core')\nexport const Label = /* @__PURE__ */ reactifyWc('taro-label-core')\nexport const Picker = /* @__PURE__ */ reactifyWc('taro-picker-core')\nexport const PickerView = /* @__PURE__ */ reactifyWc('taro-picker-view-core')\nexport const PickerViewColumn = /* @__PURE__ */ reactifyWc('taro-picker-view-column-core')\nexport const Radio = /* @__PURE__ */ reactifyWc('taro-radio-core')\nexport const RadioGroup = /* @__PURE__ */ reactifyWc('taro-radio-group-core')\nexport const Slider = /* @__PURE__ */ reactifyWc('taro-slider-core')\nexport const Switch = /* @__PURE__ */ reactifyWc('taro-switch-core')\nexport const Textarea = /* @__PURE__ */ reactifyWc('taro-textarea-core')\n\n// 导航\nexport const FunctionalPageNavigator = /* @__PURE__ */ reactifyWc('taro-functional-page-navigator-core')\nexport const Navigator = /* @__PURE__ */ reactifyWc('taro-navigator-core')\nexport const NavigationBar = /* @__PURE__ */ reactifyWc('taro-navigation-bar-core')\n\n// 媒体组件\nexport const Audio = /* @__PURE__ */ reactifyWc('taro-audio-core')\nexport const Camera = /* @__PURE__ */ reactifyWc('taro-camera-core')\nexport const Image = /* @__PURE__ */ reactifyWc('taro-image-core')\nexport const LivePlayer = /* @__PURE__ */ reactifyWc('taro-live-player-core')\nexport const LivePusher = /* @__PURE__ */ reactifyWc('taro-live-pusher-core')\nexport const Video = /* @__PURE__ */ reactifyWc('taro-video-core')\nexport const VoipRoom = /* @__PURE__ */ reactifyWc('taro-voip-room-core')\n\n// 地图\nexport const Map = /* @__PURE__ */ reactifyWc('taro-map-core')\n\n// 画布\nexport const Canvas = /* @__PURE__ */ reactifyWc('taro-canvas-core')\n\n// 开放能力\nexport const Ad = /* @__PURE__ */ reactifyWc('taro-ad-core')\nexport const AdCustom = /* @__PURE__ */ reactifyWc('taro-ad-custom-core')\nexport const OfficialAccount = /* @__PURE__ */ reactifyWc('taro-official-account-core')\nexport const OpenData = /* @__PURE__ */ reactifyWc('taro-open-data-core')\nexport const WebView = /* @__PURE__ */ reactifyWc('taro-web-view-core')\n\n// 页面属性配置节点\nexport const PageMeta = /* @__PURE__ */ reactifyWc('taro-page-meta-core')\n\n// 其他\nexport const Block = Fragment\nexport const CustomWrapper = /* @__PURE__ */ reactifyWc('taro-custom-wrapper-core')\n"],"names":["reactifyWc"],"mappings":";;;;AAIA;AACa,MAAA,UAAU,mBAAmBA,oBAAU,CAAC,uBAAuB,EAAC;AAChE,MAAA,SAAS,mBAAmBA,oBAAU,CAAC,sBAAsB,EAAC;AAC9D,MAAA,UAAU,mBAAmBA,oBAAU,CAAC,uBAAuB,EAAC;AAChE,MAAA,WAAW,mBAAmBA,oBAAU,CAAC,wBAAwB,EAAC;AAClE,MAAA,WAAW,mBAAmBA,oBAAU,CAAC,wBAAwB,EAAC;AAClE,MAAA,aAAa,mBAAmBA,oBAAU,CAAC,0BAA0B,EAAC;AACtE,MAAA,UAAU,mBAAmBA,oBAAU,CAAC,uBAAuB,EAAC;AAChE,MAAA,UAAU,mBAAmBA,oBAAU,CAAC,uBAAuB,EAAC;AAChE,MAAA,YAAY,mBAAmBA,oBAAU,CAAC,yBAAyB,EAAC;AACpE,MAAA,MAAM,mBAAmBA,oBAAU,CAAC,kBAAkB,EAAC;AACvD,MAAA,UAAU,mBAAmBA,oBAAU,CAAC,uBAAuB,EAAC;AAChE,MAAA,IAAI,mBAAmBA,oBAAU,CAAC,gBAAgB,EAAC;AAEhE;AACa,MAAA,IAAI,mBAAmBA,oBAAU,CAAC,gBAAgB,EAAC;AACnD,MAAA,QAAQ,mBAAmBA,oBAAU,CAAC,oBAAoB,EAAC;AAC3D,MAAA,QAAQ,mBAAmBA,oBAAU,CAAC,qBAAqB,EAAC;AAC5D,MAAA,IAAI,mBAAmBA,oBAAU,CAAC,gBAAgB,EAAC;AAEhE;AACa,MAAA,MAAM,mBAAmBA,oBAAU,CA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BA,oBAAU,CAAC,uBAAuB,EAAC;AAChE,MAAA,KAAK,mBAAmBA,oBAAU,CAAC,iBAAiB,EAAC;AACrD,MAAA,QAAQ,mBAAmBA,oBAAU,CAAC,qBAAqB,EAAC;AAEzE;AACa,MAAA,GAAG,mBAAmBA,oBAAU,CAAC,eAAe,EAAC;AAE9D;AACa,MAAA,MAAM,mBAAmBA,oBAAU,CAAC,kBAAkB,EAAC;AAEpE;AACa,MAAA,EAAE,mBAAmBA,oBAAU,CAAC,cAAc,EAAC;AAC/C,MAAA,QAAQ,mBAAmBA,oBAAU,CAAC,qBAAqB,EAAC;AAC5D,MAAA,eAAe,mBAAmBA,oBAAU,CAAC,4BAA4B,EAAC;AAC1E,MAAA,QAAQ,mBAAmBA,oBAAU,CAAC,qBAAqB,EAAC;AAC5D,MAAA,OAAO,mBAAmBA,oBAAU,CAAC,oBAAoB,EAAC;AAEvE;AACa,MAAA,QAAQ,mBAAmBA,oBAAU,CAAC,qBAAqB,EAAC;AAEzE;AACO,MAAM,KAAK,GAAG,SAAQ;AAChB,MAAA,aAAa,mBAAmBA,oBAAU,CAAC,0BAA0B;;;;"}
@@ -6,7 +6,7 @@ import React, { createRef, createElement } from 'react';
6
6
  **/
7
7
  const h = React.createElement;
8
8
  const SCROLL_VIEW = 'taro-scroll-view-core';
9
- const IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
9
+ const IS_NON_DIMENSIONAL = /aspect|acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
10
10
  // 为了不要覆盖 wc 中 host 内置的 class 和 stencil 加入的 class
11
11
  function getClassName(wc, prevProps, props) {
12
12
  const classList = Array.from(wc.classList);
@@ -1 +1 @@
1
- {"version":3,"file":"reactify-wc.js","sources":["../../../../taro-components-library-react/src/component-lib/reactify-wc.ts"],"sourcesContent":["/**\n * https://github.com/BBKolton/reactify-wc/\n * modified event naming\n **/\nimport React, { createElement, createRef } from 'react'\n\nconst h = React.createElement\n\nconst SCROLL_VIEW = 'taro-scroll-view-core'\n\nconst IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i\n\n// 为了不要覆盖 wc 中 host 内置的 class 和 stencil 加入的 class\nfunction getClassName (wc, prevProps, props) {\n const classList = Array.from(wc.classList)\n const oldClassNames = (prevProps.className || prevProps.class || '').split(' ')\n let incomingClassNames = (props.className || props.class || '').split(' ')\n let finalClassNames = []\n\n classList.forEach(classname => {\n if (incomingClassNames.indexOf(classname) > -1) {\n finalClassNames.push(classname)\n incomingClassNames = incomingClassNames.filter(name => name !== classname)\n } else if (oldClassNames.indexOf(classname) === -1) {\n finalClassNames.push(classname)\n }\n })\n\n finalClassNames = [...finalClassNames, ...incomingClassNames]\n\n return finalClassNames.join(' ')\n}\n\nfunction updateStyle (dom, key, val) {\n if (/^--/.test(key)) {\n // css variable\n dom.style.setProperty(key, val)\n } else if (typeof val !== 'number' || IS_NON_DIMENSIONAL.test(key)) {\n dom.style[key] = val\n } else {\n dom.style[key] = val + 'px'\n }\n}\n\nfunction updateProp (ctx, comp, propKey, prevProps, props) {\n const dom = ctx.ref.current\n const val = props[propKey]\n const prevVal = prevProps ? prevProps[propKey] : undefined\n\n if (propKey === 'children') {\n return\n }\n if (propKey.toLowerCase() === 'classname') {\n dom.className = prevProps\n ? getClassName(dom, prevProps, props)\n : val\n return\n }\n if (propKey === 'style') {\n if (typeof val === 'string') {\n dom.setAttribute(propKey, val)\n return\n }\n if (!val) {\n dom.removeAttribute(propKey)\n return\n }\n\n if (prevProps) {\n if (typeof prevVal === 'string') {\n dom.style.cssText = ''\n } else {\n for (const styleKey in prevVal) {\n updateStyle(dom, styleKey, '')\n }\n }\n }\n\n for (const styleKey in val) {\n updateStyle(dom, styleKey, val[styleKey])\n }\n return\n }\n if (/^data-.+/.test(propKey)) {\n dom.setAttribute(propKey, val)\n }\n if (comp === SCROLL_VIEW) {\n if (propKey === 'scrollTop') {\n dom.mpScrollTop = val\n return\n }\n if (propKey === 'scrollLeft') {\n dom.mpScrollLeft = val\n return\n }\n if (propKey === 'scrollIntoView') {\n dom.mpScrollIntoView = val\n return\n }\n }\n if (typeof val === 'function' && propKey.match(/^on[A-Z]/)) {\n const event = propKey.substr(2).toLowerCase()\n\n ctx.eventHandlers.push([event, val])\n return dom.addEventListener(event, val)\n }\n\n if (typeof val === 'string' || typeof val === 'number') {\n dom.setAttribute(propKey, val)\n dom[propKey] = val\n return\n }\n if (typeof val === 'boolean') {\n if (val) {\n dom[propKey] = true\n return dom.setAttribute(\n propKey,\n val\n )\n }\n dom[propKey] = false\n return dom.removeAttribute(propKey)\n }\n dom[propKey] = val\n}\n\nconst reactifyWebComponent = WC => {\n class Index extends React.Component<Record<string, any>> {\n eventHandlers: any[]\n ref: React.RefObject<HTMLElement>\n\n constructor (props) {\n super(props)\n this.eventHandlers = []\n this.ref = createRef()\n }\n\n update (prevProps) {\n this.clearEventHandlers()\n if (!this.ref.current) return\n\n Object.keys(prevProps || {}).forEach((key) => {\n if (key !== 'children' && key !== 'key' && !(key in this.props)) {\n updateProp(this, WC, key, prevProps, this.props)\n }\n })\n\n Object.keys(this.props).forEach((key) => {\n updateProp(this, WC, key, prevProps, this.props)\n })\n }\n\n componentDidUpdate (prevProps) {\n this.update(prevProps)\n }\n\n componentDidMount () {\n const { forwardRef } = this.props\n if (typeof forwardRef === 'function') {\n forwardRef(this.ref.current)\n } else if (forwardRef && typeof forwardRef === 'object' && forwardRef.hasOwnProperty('current')) {\n forwardRef.current = this.ref.current\n } else if (typeof forwardRef === 'string') {\n console.warn('内置组件不支持字符串 ref')\n }\n this.update(undefined)\n }\n\n componentWillUnmount () {\n this.clearEventHandlers()\n }\n\n clearEventHandlers () {\n this.eventHandlers.forEach(([event, handler]) => {\n if (!this.ref.current) return\n this.ref.current.removeEventListener(event, handler)\n })\n this.eventHandlers = []\n }\n\n render () {\n const { children, dangerouslySetInnerHTML } = this.props\n const props: Record<string, any> = {\n ref: this.ref\n }\n if (dangerouslySetInnerHTML) props.dangerouslySetInnerHTML = dangerouslySetInnerHTML\n return createElement(WC, props, children)\n }\n }\n\n // eslint-disable-next-line react/display-name\n return React.forwardRef((props, ref) => (\n h(Index, { ...props, forwardRef: ref })\n ))\n}\n\nexport default reactifyWebComponent\n"],"names":[],"mappings":";;AAAA;;;AAGI;AAGJ,MAAM,CAAC,GAAG,KAAK,CAAC,aAAa,CAAA;AAE7B,MAAM,WAAW,GAAG,uBAAuB,CAAA;AAE3C,MAAM,kBAAkB,GAAG,mEAAmE,CAAA;AAE9F;AACA,SAAS,YAAY,CAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAA;IACzC,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,CAAA;AAC1C,IAAA,MAAM,aAAa,GAAG,CAAC,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,KAAK,IAAI,EAAE,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;AAC/E,IAAA,IAAI,kBAAkB,GAAG,CAAC,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,KAAK,IAAI,EAAE,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;IAC1E,IAAI,eAAe,GAAG,EAAE,CAAA;AAExB,IAAA,SAAS,CAAC,OAAO,CAAC,SAAS,IAAG;QAC5B,IAAI,kBAAkB,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;AAC9C,YAAA,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;AAC/B,YAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,KAAK,SAAS,CAAC,CAAA;AAC3E,SAAA;aAAM,IAAI,aAAa,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;AAClD,YAAA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wc.js","sources":["../../../../taro-components-library-react/src/component-lib/reactify-wc.ts"],"sourcesContent":["/**\n * https://github.com/BBKolton/reactify-wc/\n * modified event naming\n **/\nimport React, { createElement, createRef } from 'react'\n\nconst h = React.createElement\n\nconst SCROLL_VIEW = 'taro-scroll-view-core'\n\nconst IS_NON_DIMENSIONAL = /aspect|acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i\n\n// 为了不要覆盖 wc 中 host 内置的 class 和 stencil 加入的 class\nfunction getClassName (wc, prevProps, props) {\n const classList = Array.from(wc.classList)\n const oldClassNames = (prevProps.className || prevProps.class || '').split(' ')\n let incomingClassNames = (props.className || props.class || '').split(' ')\n let finalClassNames = []\n\n classList.forEach(classname => {\n if (incomingClassNames.indexOf(classname) > -1) {\n finalClassNames.push(classname)\n incomingClassNames = incomingClassNames.filter(name => name !== classname)\n } else if (oldClassNames.indexOf(classname) === -1) {\n finalClassNames.push(classname)\n }\n })\n\n finalClassNames = [...finalClassNames, ...incomingClassNames]\n\n return finalClassNames.join(' ')\n}\n\nfunction updateStyle (dom, key, val) {\n if (/^--/.test(key)) {\n // css variable\n dom.style.setProperty(key, val)\n } else if (typeof val !== 'number' || IS_NON_DIMENSIONAL.test(key)) {\n dom.style[key] = val\n } else {\n dom.style[key] = val + 'px'\n }\n}\n\nfunction updateProp (ctx, comp, propKey, prevProps, props) {\n const dom = ctx.ref.current\n const val = props[propKey]\n const prevVal = prevProps ? prevProps[propKey] : undefined\n\n if (propKey === 'children') {\n return\n }\n if (propKey.toLowerCase() === 'classname') {\n dom.className = prevProps\n ? getClassName(dom, prevProps, props)\n : val\n return\n }\n if (propKey === 'style') {\n if (typeof val === 'string') {\n dom.setAttribute(propKey, val)\n return\n }\n if (!val) {\n dom.removeAttribute(propKey)\n return\n }\n\n if (prevProps) {\n if (typeof prevVal === 'string') {\n dom.style.cssText = ''\n } else {\n for (const styleKey in prevVal) {\n updateStyle(dom, styleKey, '')\n }\n }\n }\n\n for (const styleKey in val) {\n updateStyle(dom, styleKey, val[styleKey])\n }\n return\n }\n if (/^data-.+/.test(propKey)) {\n dom.setAttribute(propKey, val)\n }\n if (comp === SCROLL_VIEW) {\n if (propKey === 'scrollTop') {\n dom.mpScrollTop = val\n return\n }\n if (propKey === 'scrollLeft') {\n dom.mpScrollLeft = val\n return\n }\n if (propKey === 'scrollIntoView') {\n dom.mpScrollIntoView = val\n return\n }\n }\n if (typeof val === 'function' && propKey.match(/^on[A-Z]/)) {\n const event = propKey.substr(2).toLowerCase()\n\n ctx.eventHandlers.push([event, val])\n return dom.addEventListener(event, val)\n }\n\n if (typeof val === 'string' || typeof val === 'number') {\n dom.setAttribute(propKey, val)\n dom[propKey] = val\n return\n }\n if (typeof val === 'boolean') {\n if (val) {\n dom[propKey] = true\n return dom.setAttribute(\n propKey,\n val\n )\n }\n dom[propKey] = false\n return dom.removeAttribute(propKey)\n }\n dom[propKey] = val\n}\n\nconst reactifyWebComponent = WC => {\n class Index extends React.Component<Record<string, any>> {\n eventHandlers: any[]\n ref: React.RefObject<HTMLElement>\n\n constructor (props) {\n super(props)\n this.eventHandlers = []\n this.ref = createRef()\n }\n\n update (prevProps) {\n this.clearEventHandlers()\n if (!this.ref.current) return\n\n Object.keys(prevProps || {}).forEach((key) => {\n if (key !== 'children' && key !== 'key' && !(key in this.props)) {\n updateProp(this, WC, key, prevProps, this.props)\n }\n })\n\n Object.keys(this.props).forEach((key) => {\n updateProp(this, WC, key, prevProps, this.props)\n })\n }\n\n componentDidUpdate (prevProps) {\n this.update(prevProps)\n }\n\n componentDidMount () {\n const { forwardRef } = this.props\n if (typeof forwardRef === 'function') {\n forwardRef(this.ref.current)\n } else if (forwardRef && typeof forwardRef === 'object' && forwardRef.hasOwnProperty('current')) {\n forwardRef.current = this.ref.current\n } else if (typeof forwardRef === 'string') {\n console.warn('内置组件不支持字符串 ref')\n }\n this.update(undefined)\n }\n\n componentWillUnmount () {\n this.clearEventHandlers()\n }\n\n clearEventHandlers () {\n this.eventHandlers.forEach(([event, handler]) => {\n if (!this.ref.current) return\n this.ref.current.removeEventListener(event, handler)\n })\n this.eventHandlers = []\n }\n\n render () {\n const { children, dangerouslySetInnerHTML } = this.props\n const props: Record<string, any> = {\n ref: this.ref\n }\n if (dangerouslySetInnerHTML) props.dangerouslySetInnerHTML = dangerouslySetInnerHTML\n return createElement(WC, props, children)\n }\n }\n\n // eslint-disable-next-line react/display-name\n return React.forwardRef((props, ref) => (\n h(Index, { ...props, forwardRef: ref })\n ))\n}\n\nexport default reactifyWebComponent\n"],"names":[],"mappings":";;AAAA;;;AAGI;AAGJ,MAAM,CAAC,GAAG,KAAK,CAAC,aAAa,CAAA;AAE7B,MAAM,WAAW,GAAG,uBAAuB,CAAA;AAE3C,MAAM,kBAAkB,GAAG,0EAA0E,CAAA;AAErG;AACA,SAAS,YAAY,CAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAA;IACzC,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,CAAA;AAC1C,IAAA,MAAM,aAAa,GAAG,CAAC,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,KAAK,IAAI,EAAE,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;AAC/E,IAAA,IAAI,kBAAkB,GAAG,CAAC,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,KAAK,IAAI,EAAE,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;IAC1E,IAAI,eAAe,GAAG,EAAE,CAAA;AAExB,IAAA,SAAS,CAAC,OAAO,CAAC,SAAS,IAAG;QAC5B,IAAI,kBAAkB,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;AAC9C,YAAA,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;AAC/B,YAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,KAAK,SAAS,CAAC,CAAA;AAC3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