@tarojs/components 4.0.0-beta.78 → 4.0.0-beta.79

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 (546) hide show
  1. package/LICENSE +8 -1
  2. package/README.md +1 -1
  3. package/dist/cjs/{index-b873e40f.js → index-f6805218.js} +27 -45
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-components.cjs.js +1 -1
  22. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  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-draggable-sheet-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  35. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-list-builder-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  53. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +1 -1
  55. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  56. package/dist/cjs/taro-open-container-core.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  61. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
  62. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  63. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
  64. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  65. package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  70. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  72. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-span-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  76. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  77. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
  78. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  80. package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
  81. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
  83. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  84. package/dist/cjs/taro-video-control_3.cjs.entry.js +2 -2
  85. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  86. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  87. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  88. package/dist/components/index2.js +27 -45
  89. package/dist/esm/{index-b9522531.js → index-c3e4004b.js} +27 -45
  90. package/dist/esm/loader.js +2 -2
  91. package/dist/esm/taro-ad-core.entry.js +1 -1
  92. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  93. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  94. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  95. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  96. package/dist/esm/taro-audio-core.entry.js +1 -1
  97. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  98. package/dist/esm/taro-block-core.entry.js +1 -1
  99. package/dist/esm/taro-button-core.entry.js +2 -2
  100. package/dist/esm/taro-camera-core.entry.js +1 -1
  101. package/dist/esm/taro-canvas-core.entry.js +1 -1
  102. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  103. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  104. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  105. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  106. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  107. package/dist/esm/taro-components.js +2 -2
  108. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  109. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  110. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  111. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  112. package/dist/esm/taro-draggable-sheet-core.entry.js +1 -1
  113. package/dist/esm/taro-editor-core.entry.js +1 -1
  114. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  115. package/dist/esm/taro-form-core.entry.js +1 -1
  116. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  117. package/dist/esm/taro-grid-builder-core.entry.js +1 -1
  118. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  119. package/dist/esm/taro-icon-core.entry.js +2 -2
  120. package/dist/esm/taro-image-core.entry.js +2 -2
  121. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  122. package/dist/esm/taro-input-core.entry.js +1 -1
  123. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  124. package/dist/esm/taro-label-core.entry.js +1 -1
  125. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  126. package/dist/esm/taro-like-core.entry.js +1 -1
  127. package/dist/esm/taro-list-builder-core.entry.js +1 -1
  128. package/dist/esm/taro-list-view-core.entry.js +1 -1
  129. package/dist/esm/taro-live-player-core.entry.js +1 -1
  130. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  131. package/dist/esm/taro-login-core.entry.js +1 -1
  132. package/dist/esm/taro-lottie-core.entry.js +1 -1
  133. package/dist/esm/taro-map-core.entry.js +1 -1
  134. package/dist/esm/taro-match-media-core.entry.js +1 -1
  135. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  136. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  137. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  138. package/dist/esm/taro-navigator-core.entry.js +2 -2
  139. package/dist/esm/taro-nested-scroll-body-core.entry.js +1 -1
  140. package/dist/esm/taro-nested-scroll-header-core.entry.js +1 -1
  141. package/dist/esm/taro-official-account-core.entry.js +1 -1
  142. package/dist/esm/taro-open-container-core.entry.js +1 -1
  143. package/dist/esm/taro-open-data-core.entry.js +1 -1
  144. package/dist/esm/taro-page-container-core.entry.js +1 -1
  145. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  146. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  147. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  148. package/dist/esm/taro-progress-core.entry.js +1 -1
  149. package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
  150. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  151. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  152. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  153. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  154. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  155. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  156. package/dist/esm/taro-share-element-core.entry.js +1 -1
  157. package/dist/esm/taro-slider-core.entry.js +1 -1
  158. package/dist/esm/taro-slot-core.entry.js +1 -1
  159. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  160. package/dist/esm/taro-span-core.entry.js +1 -1
  161. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  162. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  163. package/dist/esm/taro-swiper-core_2.entry.js +2 -2
  164. package/dist/esm/taro-switch-core.entry.js +1 -1
  165. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  166. package/dist/esm/taro-tabbar.entry.js +2 -2
  167. package/dist/esm/taro-tabs-core.entry.js +1 -1
  168. package/dist/esm/taro-text-core.entry.js +1 -1
  169. package/dist/esm/taro-textarea-core.entry.js +1 -1
  170. package/dist/esm/taro-video-control_3.entry.js +2 -2
  171. package/dist/esm/taro-view-core.entry.js +2 -2
  172. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  173. package/dist/esm/taro-web-view-core.entry.js +1 -1
  174. package/dist/esm-es5/index-c3e4004b.js +7 -0
  175. package/dist/esm-es5/loader.js +1 -1
  176. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  177. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  178. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  179. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  180. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  181. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  185. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  186. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  187. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  190. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  191. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  192. package/dist/esm-es5/taro-components.js +1 -1
  193. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  195. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -1
  198. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  200. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  201. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  204. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  206. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  208. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  209. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  210. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  211. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  212. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -1
  213. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  214. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  221. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  223. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-open-container-core.entry.js +1 -1
  228. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  232. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  233. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  236. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-span-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  249. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  252. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  256. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  259. package/dist/hydrate/index.js +27 -45
  260. package/dist/taro-components/{p-06adeb65.system.entry.js → p-0044961f.system.entry.js} +1 -1
  261. package/dist/taro-components/{p-f43f26cf.entry.js → p-0132e803.entry.js} +1 -1
  262. package/dist/taro-components/{p-fa31b2de.system.entry.js → p-019124ae.system.entry.js} +1 -1
  263. package/dist/taro-components/{p-5884c108.system.entry.js → p-04f97133.system.entry.js} +1 -1
  264. package/dist/taro-components/{p-75ded8a0.system.entry.js → p-069ae782.system.entry.js} +1 -1
  265. package/dist/taro-components/{p-68197378.entry.js → p-0d8a0733.entry.js} +1 -1
  266. package/dist/taro-components/{p-03dc0283.entry.js → p-0f95be56.entry.js} +1 -1
  267. package/dist/taro-components/{p-6cc0bcb9.entry.js → p-0fe4660a.entry.js} +1 -1
  268. package/dist/taro-components/{p-a96f8f60.system.entry.js → p-1087c51a.system.entry.js} +1 -1
  269. package/dist/taro-components/{p-e5ef41f2.system.entry.js → p-111fadd7.system.entry.js} +1 -1
  270. package/dist/taro-components/{p-8179438b.system.entry.js → p-11c0dc59.system.entry.js} +1 -1
  271. package/dist/taro-components/{p-32c0f326.entry.js → p-12b967fd.entry.js} +1 -1
  272. package/dist/taro-components/{p-dc25fa81.entry.js → p-13bf0192.entry.js} +1 -1
  273. package/dist/taro-components/{p-f8f2461f.entry.js → p-13e80cf7.entry.js} +1 -1
  274. package/dist/taro-components/{p-f5f3a111.entry.js → p-15c1ce79.entry.js} +1 -1
  275. package/dist/taro-components/{p-292470e5.entry.js → p-16705ca9.entry.js} +1 -1
  276. package/dist/taro-components/{p-07ae6678.system.entry.js → p-194ace03.system.entry.js} +1 -1
  277. package/dist/taro-components/{p-12582166.entry.js → p-19b04eb7.entry.js} +1 -1
  278. package/dist/taro-components/{p-d2203687.system.entry.js → p-19b993d8.system.entry.js} +1 -1
  279. package/dist/taro-components/{p-204996e7.entry.js → p-1acf7537.entry.js} +1 -1
  280. package/dist/taro-components/{p-156e9634.system.entry.js → p-1d102ddb.system.entry.js} +1 -1
  281. package/dist/taro-components/p-25636983.entry.js +1 -0
  282. package/dist/taro-components/{p-402c7f93.entry.js → p-28bc8a48.entry.js} +1 -1
  283. package/dist/taro-components/{p-c95d2b90.entry.js → p-2d382d0e.entry.js} +1 -1
  284. package/dist/taro-components/{p-2d537212.entry.js → p-2ebc3182.entry.js} +1 -1
  285. package/dist/taro-components/p-2ec68968.system.js +7 -0
  286. package/dist/taro-components/{p-12beb90a.system.entry.js → p-2f8ebd28.system.entry.js} +1 -1
  287. package/dist/taro-components/{p-b1f80b6b.entry.js → p-317c4cad.entry.js} +1 -1
  288. package/dist/taro-components/{p-5c98f478.entry.js → p-342a2594.entry.js} +1 -1
  289. package/dist/taro-components/{p-0a64f78c.system.entry.js → p-3430d520.system.entry.js} +1 -1
  290. package/dist/taro-components/{p-9b6b17c4.system.entry.js → p-34ba9330.system.entry.js} +1 -1
  291. package/dist/taro-components/{p-9e359fff.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
  292. package/dist/taro-components/{p-0ff5a55b.entry.js → p-370cc947.entry.js} +1 -1
  293. package/dist/taro-components/p-378b504c.entry.js +1 -0
  294. package/dist/taro-components/{p-9c8bb0e6.entry.js → p-37bc198d.entry.js} +1 -1
  295. package/dist/taro-components/{p-f168fffc.entry.js → p-39b3e34d.entry.js} +1 -1
  296. package/dist/taro-components/{p-c0c567e5.system.entry.js → p-3a0a05fd.system.entry.js} +1 -1
  297. package/dist/taro-components/{p-855619b6.system.entry.js → p-3a3d40de.system.entry.js} +1 -1
  298. package/dist/taro-components/{p-84998109.entry.js → p-3d423adc.entry.js} +1 -1
  299. package/dist/taro-components/{p-1eac5291.system.entry.js → p-3e4b5391.system.entry.js} +1 -1
  300. package/dist/taro-components/{p-57b77f17.system.entry.js → p-3eedb8d7.system.entry.js} +1 -1
  301. package/dist/taro-components/{p-17e72555.entry.js → p-43932446.entry.js} +1 -1
  302. package/dist/taro-components/{p-6ba08ce0.system.entry.js → p-4621b303.system.entry.js} +1 -1
  303. package/dist/taro-components/{p-17938fa0.system.entry.js → p-46ccb393.system.entry.js} +1 -1
  304. package/dist/taro-components/{p-7163d09e.system.js → p-477f8fbd.system.js} +1 -1
  305. package/dist/taro-components/{p-46a66c43.entry.js → p-4824cc94.entry.js} +1 -1
  306. package/dist/taro-components/{p-ac2be5f3.entry.js → p-48a84765.entry.js} +1 -1
  307. package/dist/taro-components/{p-bb67318d.entry.js → p-49e9b2ff.entry.js} +1 -1
  308. package/dist/taro-components/{p-425d1d69.entry.js → p-4a748c0d.entry.js} +1 -1
  309. package/dist/taro-components/{p-a9ca8247.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
  310. package/dist/taro-components/p-4c30ea10.entry.js +1 -0
  311. package/dist/taro-components/{p-55e12654.entry.js → p-4e63d3bd.entry.js} +1 -1
  312. package/dist/taro-components/{p-93a2b2e9.entry.js → p-4fcb258a.entry.js} +1 -1
  313. package/dist/taro-components/{p-dedf50a9.entry.js → p-4ffae31c.entry.js} +1 -1
  314. package/dist/taro-components/{p-c7836e2b.entry.js → p-50b21f94.entry.js} +1 -1
  315. package/dist/taro-components/{p-dcf5747c.system.entry.js → p-5186ab96.system.entry.js} +1 -1
  316. package/dist/taro-components/p-518a9b73.entry.js +1 -0
  317. package/dist/taro-components/p-52ad5213.system.entry.js +1 -0
  318. package/dist/taro-components/{p-5b9aa4b0.system.entry.js → p-55934653.system.entry.js} +1 -1
  319. package/dist/taro-components/{p-c7d8c076.system.entry.js → p-55e54f2a.system.entry.js} +1 -1
  320. package/dist/taro-components/{p-ded98693.system.entry.js → p-562eace8.system.entry.js} +1 -1
  321. package/dist/taro-components/{p-7e054ae7.system.entry.js → p-5a78fbdf.system.entry.js} +1 -1
  322. package/dist/taro-components/{p-be055537.entry.js → p-5b4de079.entry.js} +1 -1
  323. package/dist/taro-components/{p-5c156db3.system.entry.js → p-5b86e66b.system.entry.js} +1 -1
  324. package/dist/taro-components/{p-1eea2828.entry.js → p-5bfdb5f3.entry.js} +1 -1
  325. package/dist/taro-components/{p-cae6c5d0.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
  326. package/dist/taro-components/{p-d5603857.entry.js → p-5dbabb65.entry.js} +1 -1
  327. package/dist/taro-components/{p-ccbaba23.entry.js → p-5f4c6ca5.entry.js} +1 -1
  328. package/dist/taro-components/{p-4979e93c.system.entry.js → p-618ee593.system.entry.js} +1 -1
  329. package/dist/taro-components/{p-02d4d104.entry.js → p-62df5526.entry.js} +1 -1
  330. package/dist/taro-components/{p-6654374e.system.entry.js → p-66029061.system.entry.js} +1 -1
  331. package/dist/taro-components/{p-d05eb105.system.entry.js → p-69e70cd5.system.entry.js} +1 -1
  332. package/dist/taro-components/{p-6b83388c.system.entry.js → p-6c06b440.system.entry.js} +1 -1
  333. package/dist/taro-components/p-6dd357b9.entry.js +1 -0
  334. package/dist/taro-components/{p-c677414d.system.entry.js → p-6f1034a6.system.entry.js} +1 -1
  335. package/dist/taro-components/{p-e681d764.entry.js → p-6f3187bc.entry.js} +1 -1
  336. package/dist/taro-components/{p-56552c9e.entry.js → p-6f8926e3.entry.js} +1 -1
  337. package/dist/taro-components/{p-b087ad2a.system.entry.js → p-6ffc9bda.system.entry.js} +1 -1
  338. package/dist/taro-components/p-751d42cb.entry.js +1 -0
  339. package/dist/taro-components/{p-3a180dc7.entry.js → p-756aa971.entry.js} +1 -1
  340. package/dist/taro-components/{p-ff772345.entry.js → p-76c0f443.entry.js} +1 -1
  341. package/dist/taro-components/{p-450f7b39.system.entry.js → p-77e030e9.system.entry.js} +1 -1
  342. package/dist/taro-components/{p-02465454.system.entry.js → p-7b3ce3af.system.entry.js} +1 -1
  343. package/dist/taro-components/{p-57911e2c.system.entry.js → p-7b80637e.system.entry.js} +1 -1
  344. package/dist/taro-components/{p-07f27474.entry.js → p-7bc6aa36.entry.js} +1 -1
  345. package/dist/taro-components/{p-d973d536.entry.js → p-7e3f0837.entry.js} +1 -1
  346. package/dist/taro-components/{p-047e4bfe.entry.js → p-7f3d9184.entry.js} +1 -1
  347. package/dist/taro-components/{p-35dec732.entry.js → p-80228985.entry.js} +1 -1
  348. package/dist/taro-components/{p-cafbb3d9.system.entry.js → p-80fa706c.system.entry.js} +1 -1
  349. package/dist/taro-components/{p-61a325d2.system.entry.js → p-829157b1.system.entry.js} +1 -1
  350. package/dist/taro-components/{p-dc08715a.entry.js → p-82c5b9d3.entry.js} +1 -1
  351. package/dist/taro-components/{p-d73b3a94.system.entry.js → p-82d52f00.system.entry.js} +1 -1
  352. package/dist/taro-components/{p-2f177716.entry.js → p-87b0d22f.entry.js} +1 -1
  353. package/dist/taro-components/{p-e2e7bc16.entry.js → p-895982a4.entry.js} +1 -1
  354. package/dist/taro-components/{p-937a6c36.entry.js → p-8a6e93ed.entry.js} +1 -1
  355. package/dist/taro-components/{p-0f480c38.system.entry.js → p-8b7e37c9.system.entry.js} +1 -1
  356. package/dist/taro-components/{p-c8cd6e16.entry.js → p-8bde1f48.entry.js} +1 -1
  357. package/dist/taro-components/{p-938f9036.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
  358. package/dist/taro-components/{p-97b09fb4.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
  359. package/dist/taro-components/{p-bd57edcd.entry.js → p-92b7b545.entry.js} +1 -1
  360. package/dist/taro-components/{p-fbf13159.system.entry.js → p-93b39a89.system.entry.js} +1 -1
  361. package/dist/taro-components/{p-3b36196b.system.entry.js → p-970a4199.system.entry.js} +1 -1
  362. package/dist/taro-components/{p-ba5e7ec4.system.entry.js → p-97177863.system.entry.js} +1 -1
  363. package/dist/taro-components/{p-b4577a12.system.entry.js → p-99440bcc.system.entry.js} +1 -1
  364. package/dist/taro-components/p-9f1b0ae1.entry.js +1 -0
  365. package/dist/taro-components/{p-6282bdee.system.entry.js → p-9f3e0019.system.entry.js} +1 -1
  366. package/dist/taro-components/{p-bed518a3.entry.js → p-a0f42e7f.entry.js} +1 -1
  367. package/dist/taro-components/{p-f034a433.entry.js → p-a2f848cc.entry.js} +1 -1
  368. package/dist/taro-components/{p-280795f2.entry.js → p-a6790f39.entry.js} +1 -1
  369. package/dist/taro-components/{p-083c3147.system.entry.js → p-a997cf7c.system.entry.js} +1 -1
  370. package/dist/taro-components/{p-6664a2ca.system.entry.js → p-aa11b00c.system.entry.js} +1 -1
  371. package/dist/taro-components/{p-feb89474.system.entry.js → p-adee7f1b.system.entry.js} +1 -1
  372. package/dist/taro-components/{p-38b29261.entry.js → p-ae99551a.entry.js} +1 -1
  373. package/dist/taro-components/{p-27041d86.system.entry.js → p-aed23034.system.entry.js} +1 -1
  374. package/dist/taro-components/{p-ac714300.system.entry.js → p-b0f12e64.system.entry.js} +1 -1
  375. package/dist/taro-components/{p-e853a2c8.system.entry.js → p-b259a558.system.entry.js} +1 -1
  376. package/dist/taro-components/{p-d9884371.entry.js → p-b3129dec.entry.js} +1 -1
  377. package/dist/taro-components/{p-9f53e26c.system.entry.js → p-b3419d7f.system.entry.js} +1 -1
  378. package/dist/taro-components/{p-7e564b00.entry.js → p-b4047b11.entry.js} +1 -1
  379. package/dist/taro-components/{p-ebb1ae64.entry.js → p-b43fa9b0.entry.js} +1 -1
  380. package/dist/taro-components/{p-e1cce2f1.entry.js → p-b4707cdd.entry.js} +1 -1
  381. package/dist/taro-components/{p-0fc790c0.system.entry.js → p-b655e854.system.entry.js} +1 -1
  382. package/dist/taro-components/{p-ac9fb309.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
  383. package/dist/taro-components/{p-c056d527.system.entry.js → p-ba241824.system.entry.js} +1 -1
  384. package/dist/taro-components/{p-7ebd4310.entry.js → p-baea6a63.entry.js} +1 -1
  385. package/dist/taro-components/{p-4a8b4d58.system.entry.js → p-bdafd94c.system.entry.js} +1 -1
  386. package/dist/taro-components/{p-43367dd1.entry.js → p-c0d93f74.entry.js} +1 -1
  387. package/dist/taro-components/{p-be1701b2.entry.js → p-c0f16127.entry.js} +1 -1
  388. package/dist/taro-components/{p-f12feb2a.entry.js → p-c253be9f.entry.js} +1 -1
  389. package/dist/taro-components/{p-56a82bf3.entry.js → p-c58627f4.entry.js} +1 -1
  390. package/dist/taro-components/{p-ca6a5916.system.entry.js → p-c863ac7f.system.entry.js} +1 -1
  391. package/dist/taro-components/{p-443e31ab.system.entry.js → p-cc993977.system.entry.js} +1 -1
  392. package/dist/taro-components/{p-a25aca16.system.entry.js → p-cee51d71.system.entry.js} +1 -1
  393. package/dist/taro-components/{p-91ee1f8a.system.entry.js → p-d12b6a84.system.entry.js} +1 -1
  394. package/dist/taro-components/{p-a50c6736.entry.js → p-d184903b.entry.js} +1 -1
  395. package/dist/taro-components/{p-53e1c442.system.entry.js → p-d1a095bd.system.entry.js} +1 -1
  396. package/dist/taro-components/{p-26eb2f3f.entry.js → p-d29a59cd.entry.js} +1 -1
  397. package/dist/taro-components/p-d6bd1a5b.entry.js +1 -0
  398. package/dist/taro-components/{p-77e82dfa.entry.js → p-da4c4cad.entry.js} +1 -1
  399. package/dist/taro-components/{p-3cf08137.entry.js → p-dc366f18.entry.js} +1 -1
  400. package/dist/taro-components/{p-79cad66b.entry.js → p-dde26531.entry.js} +1 -1
  401. package/dist/taro-components/{p-ddf75d6a.system.entry.js → p-de1d495a.system.entry.js} +1 -1
  402. package/dist/taro-components/p-de951a46.js +7 -0
  403. package/dist/taro-components/{p-4523b1c7.entry.js → p-e23769c4.entry.js} +1 -1
  404. package/dist/taro-components/{p-50849470.system.entry.js → p-e2694a79.system.entry.js} +1 -1
  405. package/dist/taro-components/{p-8b0c9d3f.entry.js → p-e2a22cd1.entry.js} +1 -1
  406. package/dist/taro-components/{p-1bd4da3b.system.entry.js → p-e41ed824.system.entry.js} +1 -1
  407. package/dist/taro-components/{p-ebad862a.system.entry.js → p-e5a80896.system.entry.js} +1 -1
  408. package/dist/taro-components/{p-75b4c1fc.system.entry.js → p-e5b43c80.system.entry.js} +1 -1
  409. package/dist/taro-components/{p-17b9f865.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
  410. package/dist/taro-components/{p-078cb65e.entry.js → p-ead6e57b.entry.js} +1 -1
  411. package/dist/taro-components/{p-ba11ef7d.entry.js → p-ec00e517.entry.js} +1 -1
  412. package/dist/taro-components/p-ed081b3d.entry.js +1 -0
  413. package/dist/taro-components/{p-4ac48df1.system.entry.js → p-eda34d91.system.entry.js} +1 -1
  414. package/dist/taro-components/{p-df7c6216.system.entry.js → p-ee9d6467.system.entry.js} +1 -1
  415. package/dist/taro-components/{p-27d372b4.system.entry.js → p-f0056aca.system.entry.js} +1 -1
  416. package/dist/taro-components/{p-1c37143a.system.entry.js → p-f470ce9f.system.entry.js} +1 -1
  417. package/dist/taro-components/{p-c3dc7072.entry.js → p-f662c928.entry.js} +1 -1
  418. package/dist/taro-components/{p-fe5eefdc.system.entry.js → p-f7198b67.system.entry.js} +1 -1
  419. package/dist/taro-components/{p-4fad4beb.system.entry.js → p-f782ee74.system.entry.js} +1 -1
  420. package/dist/taro-components/{p-7ca2d075.system.entry.js → p-f94c0445.system.entry.js} +1 -1
  421. package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
  422. package/dist/taro-components/{p-c71d5745.system.entry.js → p-fa9dbb6f.system.entry.js} +1 -1
  423. package/dist/taro-components/{p-65d11e99.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
  424. package/dist/taro-components/{p-3293c5d9.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
  425. package/dist/taro-components/{p-b4c7bb48.entry.js → p-fe8ee676.entry.js} +1 -1
  426. package/dist/taro-components/{p-47790dc0.system.entry.js → p-ffaac078.system.entry.js} +1 -1
  427. package/dist/taro-components/taro-components.esm.js +1 -1
  428. package/dist/taro-components/taro-components.js +1 -1
  429. package/lib/react/component-lib/index.d.ts +53 -53
  430. package/lib/react/component-lib/input.d.ts +1 -1
  431. package/lib/react/component-lib/input.js.map +1 -1
  432. package/lib/react/component-lib/reactify-wc.d.ts +1 -1
  433. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  434. package/lib/react/components.d.ts +92 -92
  435. package/lib/react/components.js +0 -2
  436. package/lib/react/components.js.map +1 -1
  437. package/lib/react/helper.d.ts +2 -4
  438. package/lib/react/helper.js.map +1 -1
  439. package/lib/react/index.d.ts +1 -1
  440. package/lib/react/{react-component-lib/interfaces.d.ts → interfaces-f526f1a2.d.ts} +5 -4
  441. package/lib/react/react-component-lib/createComponent.d.ts +3 -3
  442. package/lib/react/react-component-lib/createComponent.js +1 -1
  443. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  444. package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -5
  445. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  446. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  447. package/lib/react/react-component-lib/index.d.ts +2 -2
  448. package/lib/react/react-component-lib/utils/attachProps.d.ts +6 -6
  449. package/lib/react/react-component-lib/utils/attachProps.js +2 -2
  450. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  451. package/lib/react/react-component-lib/utils/case.d.ts +3 -2
  452. package/lib/react/react-component-lib/utils/index.d.ts +10 -9
  453. package/lib/react/react-component-lib/utils/index.js.map +1 -1
  454. package/lib/vue2/component-lib/components.d.ts +111 -0
  455. package/lib/vue2/component-lib/components.js +74 -0
  456. package/lib/vue2/component-lib/components.js.map +1 -0
  457. package/lib/vue2/component-lib/createComponent.d.ts +14 -0
  458. package/lib/vue2/component-lib/createComponent.js +23 -0
  459. package/lib/vue2/component-lib/createComponent.js.map +1 -0
  460. package/lib/vue2/component-lib/createFormsComponent.d.ts +22 -0
  461. package/lib/vue2/component-lib/createFormsComponent.js +53 -0
  462. package/lib/vue2/component-lib/createFormsComponent.js.map +1 -0
  463. package/lib/vue2/component-lib/icon.d.ts +16 -0
  464. package/lib/vue2/component-lib/icon.js +23 -0
  465. package/lib/vue2/component-lib/icon.js.map +1 -0
  466. package/lib/vue2/component-lib/image.d.ts +16 -0
  467. package/lib/vue2/component-lib/image.js +24 -0
  468. package/lib/vue2/component-lib/image.js.map +1 -0
  469. package/lib/vue2/component-lib/index.d.ts +1 -0
  470. package/lib/vue2/component-lib/index.js +25 -0
  471. package/lib/vue2/component-lib/index.js.map +1 -0
  472. package/lib/vue2/component-lib/mixins/listeners.d.ts +6 -0
  473. package/lib/vue2/component-lib/mixins/listeners.js +14 -0
  474. package/lib/vue2/component-lib/mixins/listeners.js.map +1 -0
  475. package/lib/vue2/component-lib/mixins/refs.d.ts +5 -0
  476. package/lib/vue2/component-lib/mixins/refs.js +53 -0
  477. package/lib/vue2/component-lib/mixins/refs.js.map +1 -0
  478. package/lib/vue2/component-lib/picker.d.ts +25 -0
  479. package/lib/vue2/component-lib/picker.js +41 -0
  480. package/lib/vue2/component-lib/picker.js.map +1 -0
  481. package/lib/vue2/component-lib/scroll-view.d.ts +17 -0
  482. package/lib/vue2/component-lib/scroll-view.js +35 -0
  483. package/lib/vue2/component-lib/scroll-view.js.map +1 -0
  484. package/lib/vue2/component-lib/text.d.ts +16 -0
  485. package/lib/vue2/component-lib/text.js +24 -0
  486. package/lib/vue2/component-lib/text.js.map +1 -0
  487. package/lib/vue2/components-loader.d.ts +2 -0
  488. package/lib/vue2/components-loader.js +21 -0
  489. package/lib/vue2/components-loader.js.map +1 -0
  490. package/lib/vue2/components.d.ts +381 -0
  491. package/lib/vue2/components.js +605 -0
  492. package/lib/vue2/components.js.map +1 -0
  493. package/lib/vue2/index.d.ts +1 -0
  494. package/lib/vue2/index.js +2 -0
  495. package/lib/vue2/index.js.map +1 -0
  496. package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js +4 -0
  497. package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +1 -0
  498. package/lib/vue2/vue-component-lib/utils.d.ts +10 -0
  499. package/lib/vue2/vue-component-lib/utils.js +51 -0
  500. package/lib/vue2/vue-component-lib/utils.js.map +1 -0
  501. package/lib/vue3/component-lib/createComponent.d.ts +2 -1
  502. package/lib/vue3/component-lib/createFormsComponent.d.ts +2 -1
  503. package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
  504. package/lib/vue3/component-lib/forwardRef.d.ts +2 -1
  505. package/lib/vue3/component-lib/icon.d.ts +1 -1
  506. package/lib/vue3/component-lib/image.d.ts +1 -1
  507. package/lib/vue3/component-lib/index.d.ts +53 -52
  508. package/lib/vue3/component-lib/scroll-view.d.ts +1 -1
  509. package/lib/vue3/component-lib/scroll-view.js.map +1 -1
  510. package/lib/vue3/component-lib/text.d.ts +1 -1
  511. package/lib/vue3/components-loader.d.ts +2 -1
  512. package/lib/vue3/components-loader.js.map +1 -1
  513. package/lib/vue3/components.d.ts +92 -91
  514. package/lib/vue3/components.js +0 -2
  515. package/lib/vue3/components.js.map +1 -1
  516. package/lib/vue3/index.d.ts +1 -1
  517. package/lib/vue3/vue-component-lib/utils.d.ts +3 -2
  518. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  519. package/package.json +13 -17
  520. package/types/GridBuilder.d.ts +1 -1
  521. package/types/ListBuilder.d.ts +1 -1
  522. package/types/NestedScrollBody.d.ts +1 -1
  523. package/types/NestedScrollHeader.d.ts +1 -1
  524. package/types/OpenContainer.d.ts +3 -3
  525. package/dist/esm-es5/index-b9522531.js +0 -7
  526. package/dist/taro-components/p-0f2c1ecc.entry.js +0 -1
  527. package/dist/taro-components/p-160d710a.js +0 -7
  528. package/dist/taro-components/p-443b9a72.system.js +0 -7
  529. package/dist/taro-components/p-6989c232.entry.js +0 -1
  530. package/dist/taro-components/p-7e692c70.entry.js +0 -1
  531. package/dist/taro-components/p-7fdbcf4d.entry.js +0 -1
  532. package/dist/taro-components/p-93b02321.entry.js +0 -1
  533. package/dist/taro-components/p-9571836f.entry.js +0 -1
  534. package/dist/taro-components/p-aabac550.entry.js +0 -1
  535. package/dist/taro-components/p-acb113bd.entry.js +0 -1
  536. package/dist/taro-components/p-f367a754.entry.js +0 -1
  537. package/dist/taro-components/p-f9935901.system.entry.js +0 -1
  538. package/dist/taro-components/p-fab63183.entry.js +0 -1
  539. package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.17.2_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js +0 -373
  540. package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.17.2_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +0 -1
  541. package/lib/react/react-component-lib/utils/dev.d.ts +0 -6
  542. /package/dist/cjs/{index-09efe07d.js → index-5b029707.js} +0 -0
  543. /package/dist/esm/{index-9924aee9.js → index-ab3c86da.js} +0 -0
  544. /package/dist/esm-es5/{index-9924aee9.js → index-ab3c86da.js} +0 -0
  545. /package/dist/taro-components/{p-75d01c60.system.js → p-2b70c348.system.js} +0 -0
  546. /package/dist/taro-components/{p-e62a1287.js → p-dd7a128d.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"components.js","sources":["../../../taro-components-library-react/src/components.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { Fragment } from 'react'\nimport { manipulatePropsFunction } from './helper'\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@tarojs/components/dist/types/components';\n\n// @ts-ignore\nimport { defineCustomElementTaroAdCore as defineTaroAdCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAdCustomCore as defineTaroAdCustomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAnimationVideoCore as defineTaroAnimationVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAnimationViewCore as defineTaroAnimationViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroArCameraCore as defineTaroArCameraCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAudioCore as defineTaroAudioCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAwemeDataCore as defineTaroAwemeDataCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroBlockCore as defineTaroBlockCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroButtonCore as defineTaroButtonCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCameraCore as defineTaroCameraCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCanvasCore as defineTaroCanvasCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroChannelLiveCore as defineTaroChannelLiveCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroChannelVideoCore as defineTaroChannelVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCheckboxCore as defineTaroCheckboxCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCheckboxGroupCore as defineTaroCheckboxGroupCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCommentDetailCore as defineTaroCommentDetailCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCommentListCore as defineTaroCommentListCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroContactButtonCore as defineTaroContactButtonCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCoverImageCore as defineTaroCoverImageCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCoverViewCore as defineTaroCoverViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCustomWrapperCore as defineTaroCustomWrapperCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroDraggableSheetCore as defineTaroDraggableSheetCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroEditorCore as defineTaroEditorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFollowSwanCore as defineTaroFollowSwanCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFormCore as defineTaroFormCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFunctionalPageNavigatorCore as defineTaroFunctionalPageNavigatorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroGridBuilderCore as defineTaroGridBuilderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroGridViewCore as defineTaroGridViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroIconCore as defineTaroIconCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroImageCore as defineTaroImageCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroInlinePaymentPanelCore as defineTaroInlinePaymentPanelCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroInputCore as defineTaroInputCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroKeyboardAccessoryCore as defineTaroKeyboardAccessoryCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLabelCore as defineTaroLabelCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLifestyleCore as defineTaroLifestyleCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLikeCore as defineTaroLikeCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroListBuilderCore as defineTaroListBuilderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroListViewCore as defineTaroListViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLivePlayerCore as defineTaroLivePlayerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLivePusherCore as defineTaroLivePusherCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLoginCore as defineTaroLoginCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLottieCore as defineTaroLottieCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMapCore as defineTaroMapCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMatchMediaCore as defineTaroMatchMediaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMovableAreaCore as defineTaroMovableAreaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMovableViewCore as defineTaroMovableViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNativeSlotCore as defineTaroNativeSlotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNavigationBarCore as defineTaroNavigationBarCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNavigatorCore as defineTaroNavigatorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNestedScrollBodyCore as defineTaroNestedScrollBodyCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNestedScrollHeaderCore as defineTaroNestedScrollHeaderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOfficialAccountCore as defineTaroOfficialAccountCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOpenContainerCore as defineTaroOpenContainerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOpenDataCore as defineTaroOpenDataCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPageContainerCore as defineTaroPageContainerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPageMetaCore as defineTaroPageMetaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerCore as defineTaroPickerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerGroup as defineTaroPickerGroup } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerViewColumnCore as defineTaroPickerViewColumnCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerViewCore as defineTaroPickerViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroProgressCore as defineTaroProgressCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPullToRefreshCore as defineTaroPullToRefreshCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRadioCore as defineTaroRadioCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRadioGroupCore as defineTaroRadioGroupCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRichTextCore as defineTaroRichTextCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRootPortalCore as defineTaroRootPortalCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRtcRoomCore as defineTaroRtcRoomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRtcRoomItemCore as defineTaroRtcRoomItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroScrollViewCore as defineTaroScrollViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroShareElementCore as defineTaroShareElementCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSliderCore as defineTaroSliderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSlotCore as defineTaroSlotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSnapshotCore as defineTaroSnapshotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSpanCore as defineTaroSpanCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroStickyHeaderCore as defineTaroStickyHeaderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroStickySectionCore as defineTaroStickySectionCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwiperCore as defineTaroSwiperCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwiperItemCore as defineTaroSwiperItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwitchCore as defineTaroSwitchCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabItemCore as defineTaroTabItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabbar as defineTaroTabbar } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabsCore as defineTaroTabsCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTextCore as defineTaroTextCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTextareaCore as defineTaroTextareaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoControl as defineTaroVideoControl } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoCore as defineTaroVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoDanmu as defineTaroVideoDanmu } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroViewCore as defineTaroViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVoipRoomCore as defineTaroVoipRoomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroWebViewCore as defineTaroWebViewCore } from '@tarojs/components/dist/components';\n\nexport const Ad = /*@__PURE__*/createReactComponent<JSX.TaroAdCore, HTMLTaroAdCoreElement>('taro-ad-core', undefined, manipulatePropsFunction, defineTaroAdCore);\nexport const AdCustom = /*@__PURE__*/createReactComponent<JSX.TaroAdCustomCore, HTMLTaroAdCustomCoreElement>('taro-ad-custom-core', undefined, manipulatePropsFunction, defineTaroAdCustomCore);\nexport const AnimationVideo = /*@__PURE__*/createReactComponent<JSX.TaroAnimationVideoCore, HTMLTaroAnimationVideoCoreElement>('taro-animation-video-core', undefined, manipulatePropsFunction, defineTaroAnimationVideoCore);\nexport const AnimationView = /*@__PURE__*/createReactComponent<JSX.TaroAnimationViewCore, HTMLTaroAnimationViewCoreElement>('taro-animation-view-core', undefined, manipulatePropsFunction, defineTaroAnimationViewCore);\nexport const ArCamera = /*@__PURE__*/createReactComponent<JSX.TaroArCameraCore, HTMLTaroArCameraCoreElement>('taro-ar-camera-core', undefined, manipulatePropsFunction, defineTaroArCameraCore);\nexport const Audio = /*@__PURE__*/createReactComponent<JSX.TaroAudioCore, HTMLTaroAudioCoreElement>('taro-audio-core', undefined, manipulatePropsFunction, defineTaroAudioCore);\nexport const AwemeData = /*@__PURE__*/createReactComponent<JSX.TaroAwemeDataCore, HTMLTaroAwemeDataCoreElement>('taro-aweme-data-core', undefined, manipulatePropsFunction, defineTaroAwemeDataCore);\nexport const Block = Fragment;\nexport const Button = /*@__PURE__*/createReactComponent<JSX.TaroButtonCore, HTMLTaroButtonCoreElement>('taro-button-core', undefined, manipulatePropsFunction, defineTaroButtonCore);\nexport const Camera = /*@__PURE__*/createReactComponent<JSX.TaroCameraCore, HTMLTaroCameraCoreElement>('taro-camera-core', undefined, manipulatePropsFunction, defineTaroCameraCore);\nexport const Canvas = /*@__PURE__*/createReactComponent<JSX.TaroCanvasCore, HTMLTaroCanvasCoreElement>('taro-canvas-core', undefined, manipulatePropsFunction, defineTaroCanvasCore);\nexport const ChannelLive = /*@__PURE__*/createReactComponent<JSX.TaroChannelLiveCore, HTMLTaroChannelLiveCoreElement>('taro-channel-live-core', undefined, manipulatePropsFunction, defineTaroChannelLiveCore);\nexport const ChannelVideo = /*@__PURE__*/createReactComponent<JSX.TaroChannelVideoCore, HTMLTaroChannelVideoCoreElement>('taro-channel-video-core', undefined, manipulatePropsFunction, defineTaroChannelVideoCore);\nexport const Checkbox = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxCore, HTMLTaroCheckboxCoreElement>('taro-checkbox-core', undefined, manipulatePropsFunction, defineTaroCheckboxCore);\nexport const CheckboxGroup = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxGroupCore, HTMLTaroCheckboxGroupCoreElement>('taro-checkbox-group-core', undefined, manipulatePropsFunction, defineTaroCheckboxGroupCore);\nexport const CommentDetail = /*@__PURE__*/createReactComponent<JSX.TaroCommentDetailCore, HTMLTaroCommentDetailCoreElement>('taro-comment-detail-core', undefined, manipulatePropsFunction, defineTaroCommentDetailCore);\nexport const CommentList = /*@__PURE__*/createReactComponent<JSX.TaroCommentListCore, HTMLTaroCommentListCoreElement>('taro-comment-list-core', undefined, manipulatePropsFunction, defineTaroCommentListCore);\nexport const ContactButton = /*@__PURE__*/createReactComponent<JSX.TaroContactButtonCore, HTMLTaroContactButtonCoreElement>('taro-contact-button-core', undefined, manipulatePropsFunction, defineTaroContactButtonCore);\nexport const CoverImage = /*@__PURE__*/createReactComponent<JSX.TaroCoverImageCore, HTMLTaroCoverImageCoreElement>('taro-cover-image-core', undefined, manipulatePropsFunction, defineTaroCoverImageCore);\nexport const CoverView = /*@__PURE__*/createReactComponent<JSX.TaroCoverViewCore, HTMLTaroCoverViewCoreElement>('taro-cover-view-core', undefined, manipulatePropsFunction, defineTaroCoverViewCore);\nexport const CustomWrapper = /*@__PURE__*/createReactComponent<JSX.TaroCustomWrapperCore, HTMLTaroCustomWrapperCoreElement>('taro-custom-wrapper-core', undefined, manipulatePropsFunction, defineTaroCustomWrapperCore);\nexport const DraggableSheet = /*@__PURE__*/createReactComponent<JSX.TaroDraggableSheetCore, HTMLTaroDraggableSheetCoreElement>('taro-draggable-sheet-core', undefined, manipulatePropsFunction, defineTaroDraggableSheetCore);\nexport const Editor = /*@__PURE__*/createReactComponent<JSX.TaroEditorCore, HTMLTaroEditorCoreElement>('taro-editor-core', undefined, manipulatePropsFunction, defineTaroEditorCore);\nexport const FollowSwan = /*@__PURE__*/createReactComponent<JSX.TaroFollowSwanCore, HTMLTaroFollowSwanCoreElement>('taro-follow-swan-core', undefined, manipulatePropsFunction, defineTaroFollowSwanCore);\nexport const Form = /*@__PURE__*/createReactComponent<JSX.TaroFormCore, HTMLTaroFormCoreElement>('taro-form-core', undefined, manipulatePropsFunction, defineTaroFormCore);\nexport const FunctionalPageNavigator = /*@__PURE__*/createReactComponent<JSX.TaroFunctionalPageNavigatorCore, HTMLTaroFunctionalPageNavigatorCoreElement>('taro-functional-page-navigator-core', undefined, manipulatePropsFunction, defineTaroFunctionalPageNavigatorCore);\nexport const GridBuilder = /*@__PURE__*/createReactComponent<JSX.TaroGridBuilderCore, HTMLTaroGridBuilderCoreElement>('taro-grid-builder-core', undefined, manipulatePropsFunction, defineTaroGridBuilderCore);\nexport const GridView = /*@__PURE__*/createReactComponent<JSX.TaroGridViewCore, HTMLTaroGridViewCoreElement>('taro-grid-view-core', undefined, manipulatePropsFunction, defineTaroGridViewCore);\nexport const Icon = /*@__PURE__*/createReactComponent<JSX.TaroIconCore, HTMLTaroIconCoreElement>('taro-icon-core', undefined, manipulatePropsFunction, defineTaroIconCore);\nexport const Image = /*@__PURE__*/createReactComponent<JSX.TaroImageCore, HTMLTaroImageCoreElement>('taro-image-core', undefined, manipulatePropsFunction, defineTaroImageCore);\nexport const InlinePaymentPanel = /*@__PURE__*/createReactComponent<JSX.TaroInlinePaymentPanelCore, HTMLTaroInlinePaymentPanelCoreElement>('taro-inline-payment-panel-core', undefined, manipulatePropsFunction, defineTaroInlinePaymentPanelCore);\nexport const Input = /*@__PURE__*/createReactComponent<JSX.TaroInputCore, HTMLTaroInputCoreElement>('taro-input-core', undefined, manipulatePropsFunction, defineTaroInputCore);\nexport const KeyboardAccessory = /*@__PURE__*/createReactComponent<JSX.TaroKeyboardAccessoryCore, HTMLTaroKeyboardAccessoryCoreElement>('taro-keyboard-accessory-core', undefined, manipulatePropsFunction, defineTaroKeyboardAccessoryCore);\nexport const Label = /*@__PURE__*/createReactComponent<JSX.TaroLabelCore, HTMLTaroLabelCoreElement>('taro-label-core', undefined, manipulatePropsFunction, defineTaroLabelCore);\nexport const Lifestyle = /*@__PURE__*/createReactComponent<JSX.TaroLifestyleCore, HTMLTaroLifestyleCoreElement>('taro-lifestyle-core', undefined, manipulatePropsFunction, defineTaroLifestyleCore);\nexport const Like = /*@__PURE__*/createReactComponent<JSX.TaroLikeCore, HTMLTaroLikeCoreElement>('taro-like-core', undefined, manipulatePropsFunction, defineTaroLikeCore);\nexport const ListBuilder = /*@__PURE__*/createReactComponent<JSX.TaroListBuilderCore, HTMLTaroListBuilderCoreElement>('taro-list-builder-core', undefined, manipulatePropsFunction, defineTaroListBuilderCore);\nexport const ListView = /*@__PURE__*/createReactComponent<JSX.TaroListViewCore, HTMLTaroListViewCoreElement>('taro-list-view-core', undefined, manipulatePropsFunction, defineTaroListViewCore);\nexport const LivePlayer = /*@__PURE__*/createReactComponent<JSX.TaroLivePlayerCore, HTMLTaroLivePlayerCoreElement>('taro-live-player-core', undefined, manipulatePropsFunction, defineTaroLivePlayerCore);\nexport const LivePusher = /*@__PURE__*/createReactComponent<JSX.TaroLivePusherCore, HTMLTaroLivePusherCoreElement>('taro-live-pusher-core', undefined, manipulatePropsFunction, defineTaroLivePusherCore);\nexport const Login = /*@__PURE__*/createReactComponent<JSX.TaroLoginCore, HTMLTaroLoginCoreElement>('taro-login-core', undefined, manipulatePropsFunction, defineTaroLoginCore);\nexport const Lottie = /*@__PURE__*/createReactComponent<JSX.TaroLottieCore, HTMLTaroLottieCoreElement>('taro-lottie-core', undefined, manipulatePropsFunction, defineTaroLottieCore);\nexport const Map = /*@__PURE__*/createReactComponent<JSX.TaroMapCore, HTMLTaroMapCoreElement>('taro-map-core', undefined, manipulatePropsFunction, defineTaroMapCore);\nexport const MatchMedia = /*@__PURE__*/createReactComponent<JSX.TaroMatchMediaCore, HTMLTaroMatchMediaCoreElement>('taro-match-media-core', undefined, manipulatePropsFunction, defineTaroMatchMediaCore);\nexport const MovableArea = /*@__PURE__*/createReactComponent<JSX.TaroMovableAreaCore, HTMLTaroMovableAreaCoreElement>('taro-movable-area-core', undefined, manipulatePropsFunction, defineTaroMovableAreaCore);\nexport const MovableView = /*@__PURE__*/createReactComponent<JSX.TaroMovableViewCore, HTMLTaroMovableViewCoreElement>('taro-movable-view-core', undefined, manipulatePropsFunction, defineTaroMovableViewCore);\nexport const NativeSlot = /*@__PURE__*/createReactComponent<JSX.TaroNativeSlotCore, HTMLTaroNativeSlotCoreElement>('taro-native-slot-core', undefined, manipulatePropsFunction, defineTaroNativeSlotCore);\nexport const NavigationBar = /*@__PURE__*/createReactComponent<JSX.TaroNavigationBarCore, HTMLTaroNavigationBarCoreElement>('taro-navigation-bar-core', undefined, manipulatePropsFunction, defineTaroNavigationBarCore);\nexport const Navigator = /*@__PURE__*/createReactComponent<JSX.TaroNavigatorCore, HTMLTaroNavigatorCoreElement>('taro-navigator-core', undefined, manipulatePropsFunction, defineTaroNavigatorCore);\nexport const NestedScrollBody = /*@__PURE__*/createReactComponent<JSX.TaroNestedScrollBodyCore, HTMLTaroNestedScrollBodyCoreElement>('taro-nested-scroll-body-core', undefined, manipulatePropsFunction, defineTaroNestedScrollBodyCore);\nexport const NestedScrollHeader = /*@__PURE__*/createReactComponent<JSX.TaroNestedScrollHeaderCore, HTMLTaroNestedScrollHeaderCoreElement>('taro-nested-scroll-header-core', undefined, manipulatePropsFunction, defineTaroNestedScrollHeaderCore);\nexport const OfficialAccount = /*@__PURE__*/createReactComponent<JSX.TaroOfficialAccountCore, HTMLTaroOfficialAccountCoreElement>('taro-official-account-core', undefined, manipulatePropsFunction, defineTaroOfficialAccountCore);\nexport const OpenContainer = /*@__PURE__*/createReactComponent<JSX.TaroOpenContainerCore, HTMLTaroOpenContainerCoreElement>('taro-open-container-core', undefined, manipulatePropsFunction, defineTaroOpenContainerCore);\nexport const OpenData = /*@__PURE__*/createReactComponent<JSX.TaroOpenDataCore, HTMLTaroOpenDataCoreElement>('taro-open-data-core', undefined, manipulatePropsFunction, defineTaroOpenDataCore);\nexport const PageContainer = /*@__PURE__*/createReactComponent<JSX.TaroPageContainerCore, HTMLTaroPageContainerCoreElement>('taro-page-container-core', undefined, manipulatePropsFunction, defineTaroPageContainerCore);\nexport const PageMeta = /*@__PURE__*/createReactComponent<JSX.TaroPageMetaCore, HTMLTaroPageMetaCoreElement>('taro-page-meta-core', undefined, manipulatePropsFunction, defineTaroPageMetaCore);\nexport const Picker = /*@__PURE__*/createReactComponent<JSX.TaroPickerCore, HTMLTaroPickerCoreElement>('taro-picker-core', undefined, manipulatePropsFunction, defineTaroPickerCore);\nexport const PickerGroup = /*@__PURE__*/createReactComponent<JSX.TaroPickerGroup, HTMLTaroPickerGroupElement>('taro-picker-group', undefined, manipulatePropsFunction, defineTaroPickerGroup);\nexport const PickerViewColumn = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewColumnCore, HTMLTaroPickerViewColumnCoreElement>('taro-picker-view-column-core', undefined, manipulatePropsFunction, defineTaroPickerViewColumnCore);\nexport const PickerView = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewCore, HTMLTaroPickerViewCoreElement>('taro-picker-view-core', undefined, manipulatePropsFunction, defineTaroPickerViewCore);\nexport const Progress = /*@__PURE__*/createReactComponent<JSX.TaroProgressCore, HTMLTaroProgressCoreElement>('taro-progress-core', undefined, manipulatePropsFunction, defineTaroProgressCore);\nexport const PullToRefresh = /*@__PURE__*/createReactComponent<JSX.TaroPullToRefreshCore, HTMLTaroPullToRefreshCoreElement>('taro-pull-to-refresh-core', undefined, manipulatePropsFunction, defineTaroPullToRefreshCore);\nexport const Radio = /*@__PURE__*/createReactComponent<JSX.TaroRadioCore, HTMLTaroRadioCoreElement>('taro-radio-core', undefined, manipulatePropsFunction, defineTaroRadioCore);\nexport const RadioGroup = /*@__PURE__*/createReactComponent<JSX.TaroRadioGroupCore, HTMLTaroRadioGroupCoreElement>('taro-radio-group-core', undefined, manipulatePropsFunction, defineTaroRadioGroupCore);\nexport const RichText = /*@__PURE__*/createReactComponent<JSX.TaroRichTextCore, HTMLTaroRichTextCoreElement>('taro-rich-text-core', undefined, manipulatePropsFunction, defineTaroRichTextCore);\nexport const RootPortal = /*@__PURE__*/createReactComponent<JSX.TaroRootPortalCore, HTMLTaroRootPortalCoreElement>('taro-root-portal-core', undefined, manipulatePropsFunction, defineTaroRootPortalCore);\nexport const RtcRoom = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomCore, HTMLTaroRtcRoomCoreElement>('taro-rtc-room-core', undefined, manipulatePropsFunction, defineTaroRtcRoomCore);\nexport const RtcRoomItem = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomItemCore, HTMLTaroRtcRoomItemCoreElement>('taro-rtc-room-item-core', undefined, manipulatePropsFunction, defineTaroRtcRoomItemCore);\nexport const ScrollView = /*@__PURE__*/createReactComponent<JSX.TaroScrollViewCore, HTMLTaroScrollViewCoreElement>('taro-scroll-view-core', undefined, manipulatePropsFunction, defineTaroScrollViewCore);\nexport const ShareElement = /*@__PURE__*/createReactComponent<JSX.TaroShareElementCore, HTMLTaroShareElementCoreElement>('taro-share-element-core', undefined, manipulatePropsFunction, defineTaroShareElementCore);\nexport const Slider = /*@__PURE__*/createReactComponent<JSX.TaroSliderCore, HTMLTaroSliderCoreElement>('taro-slider-core', undefined, manipulatePropsFunction, defineTaroSliderCore);\nexport const Slot = /*@__PURE__*/createReactComponent<JSX.TaroSlotCore, HTMLTaroSlotCoreElement>('taro-slot-core', undefined, manipulatePropsFunction, defineTaroSlotCore);\nexport const Snapshot = /*@__PURE__*/createReactComponent<JSX.TaroSnapshotCore, HTMLTaroSnapshotCoreElement>('taro-snapshot-core', undefined, manipulatePropsFunction, defineTaroSnapshotCore);\nexport const Span = /*@__PURE__*/createReactComponent<JSX.TaroSpanCore, HTMLTaroSpanCoreElement>('taro-span-core', undefined, manipulatePropsFunction, defineTaroSpanCore);\nexport const StickyHeader = /*@__PURE__*/createReactComponent<JSX.TaroStickyHeaderCore, HTMLTaroStickyHeaderCoreElement>('taro-sticky-header-core', undefined, manipulatePropsFunction, defineTaroStickyHeaderCore);\nexport const StickySection = /*@__PURE__*/createReactComponent<JSX.TaroStickySectionCore, HTMLTaroStickySectionCoreElement>('taro-sticky-section-core', undefined, manipulatePropsFunction, defineTaroStickySectionCore);\nexport const Swiper = /*@__PURE__*/createReactComponent<JSX.TaroSwiperCore, HTMLTaroSwiperCoreElement>('taro-swiper-core', undefined, manipulatePropsFunction, defineTaroSwiperCore);\nexport const SwiperItem = /*@__PURE__*/createReactComponent<JSX.TaroSwiperItemCore, HTMLTaroSwiperItemCoreElement>('taro-swiper-item-core', undefined, manipulatePropsFunction, defineTaroSwiperItemCore);\nexport const Switch = /*@__PURE__*/createReactComponent<JSX.TaroSwitchCore, HTMLTaroSwitchCoreElement>('taro-switch-core', undefined, manipulatePropsFunction, defineTaroSwitchCore);\nexport const TabItem = /*@__PURE__*/createReactComponent<JSX.TaroTabItemCore, HTMLTaroTabItemCoreElement>('taro-tab-item-core', undefined, manipulatePropsFunction, defineTaroTabItemCore);\nexport const Tabbar = /*@__PURE__*/createReactComponent<JSX.TaroTabbar, HTMLTaroTabbarElement>('taro-tabbar', undefined, manipulatePropsFunction, defineTaroTabbar);\nexport const Tabs = /*@__PURE__*/createReactComponent<JSX.TaroTabsCore, HTMLTaroTabsCoreElement>('taro-tabs-core', undefined, manipulatePropsFunction, defineTaroTabsCore);\nexport const Text = /*@__PURE__*/createReactComponent<JSX.TaroTextCore, HTMLTaroTextCoreElement>('taro-text-core', undefined, manipulatePropsFunction, defineTaroTextCore);\nexport const Textarea = /*@__PURE__*/createReactComponent<JSX.TaroTextareaCore, HTMLTaroTextareaCoreElement>('taro-textarea-core', undefined, manipulatePropsFunction, defineTaroTextareaCore);\nexport const VideoControl = /*@__PURE__*/createReactComponent<JSX.TaroVideoControl, HTMLTaroVideoControlElement>('taro-video-control', undefined, manipulatePropsFunction, defineTaroVideoControl);\nexport const Video = /*@__PURE__*/createReactComponent<JSX.TaroVideoCore, HTMLTaroVideoCoreElement>('taro-video-core', undefined, manipulatePropsFunction, defineTaroVideoCore);\nexport const VideoDanmu = /*@__PURE__*/createReactComponent<JSX.TaroVideoDanmu, HTMLTaroVideoDanmuElement>('taro-video-danmu', undefined, manipulatePropsFunction, defineTaroVideoDanmu);\nexport const View = /*@__PURE__*/createReactComponent<JSX.TaroViewCore, HTMLTaroViewCoreElement>('taro-view-core', undefined, manipulatePropsFunction, defineTaroViewCore);\nexport const VoipRoom = /*@__PURE__*/createReactComponent<JSX.TaroVoipRoomCore, HTMLTaroVoipRoomCoreElement>('taro-voip-room-core', undefined, manipulatePropsFunction, defineTaroVoipRoomCore);\nexport const WebView = /*@__PURE__*/createReactComponent<JSX.TaroWebViewCore, HTMLTaroWebViewCoreElement>('taro-web-view-core', undefined, manipulatePropsFunction, defineTaroWebViewCore);\n"],"names":["defineTaroAdCore","defineTaroAdCustomCore","defineTaroAnimationVideoCore","defineTaroAnimationViewCore","defineTaroArCameraCore","defineTaroAudioCore","defineTaroAwemeDataCore","defineTaroButtonCore","defineTaroCameraCore","defineTaroCanvasCore","defineTaroChannelLiveCore","defineTaroChannelVideoCore","defineTaroCheckboxCore","defineTaroCheckboxGroupCore","defineTaroCommentDetailCore","defineTaroCommentListCore","defineTaroContactButtonCore","defineTaroCoverImageCore","defineTaroCoverViewCore","defineTaroCustomWrapperCore","defineTaroDraggableSheetCore","defineTaroEditorCore","defineTaroFollowSwanCore","defineTaroFormCore","defineTaroFunctionalPageNavigatorCore","defineTaroGridBuilderCore","defineTaroGridViewCore","defineTaroIconCore","defineTaroImageCore","defineTaroInlinePaymentPanelCore","defineTaroInputCore","defineTaroKeyboardAccessoryCore","defineTaroLabelCore","defineTaroLifestyleCore","defineTaroLikeCore","defineTaroListBuilderCore","defineTaroListViewCore","defineTaroLivePlayerCore","defineTaroLivePusherCore","defineTaroLoginCore","defineTaroLottieCore","defineTaroMapCore","defineTaroMatchMediaCore","defineTaroMovableAreaCore","defineTaroMovableViewCore","defineTaroNativeSlotCore","defineTaroNavigationBarCore","defineTaroNavigatorCore","defineTaroNestedScrollBodyCore","defineTaroNestedScrollHeaderCore","defineTaroOfficialAccountCore","defineTaroOpenContainerCore","defineTaroOpenDataCore","defineTaroPageContainerCore","defineTaroPageMetaCore","defineTaroPickerCore","defineTaroPickerGroup","defineTaroPickerViewColumnCore","defineTaroPickerViewCore","defineTaroProgressCore","defineTaroPullToRefreshCore","defineTaroRadioCore","defineTaroRadioGroupCore","defineTaroRichTextCore","defineTaroRootPortalCore","defineTaroRtcRoomCore","defineTaroRtcRoomItemCore","defineTaroScrollViewCore","defineTaroShareElementCore","defineTaroSliderCore","defineTaroSlotCore","defineTaroSnapshotCore","defineTaroSpanCore","defineTaroStickyHeaderCore","defineTaroStickySectionCore","defineTaroSwiperCore","defineTaroSwiperItemCore","defineTaroSwitchCore","defineTaroTabItemCore","defineTaroTabbar","defineTaroTabsCore","defineTaroTextCore","defineTaroTextareaCore","defineTaroVideoControl","defineTaroVideoCore","defineTaroVideoDanmu","defineTaroViewCore","defineTaroVoipRoomCore","defineTaroWebViewCore"],"mappings":";;;;;;AAAA;AACA;AACA;AA4La,MAAA,EAAE,iBAAgB,oBAAoB,CAAwC,cAAc,EAAE,SAAS,EAAE,uBAAuB,EAAEA,6BAAgB,EAAE;AACpJ,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACnL,MAAA,cAAc,iBAAgB,oBAAoB,CAAgE,2BAA2B,EAAE,SAAS,EAAE,uBAAuB,EAAEC,yCAA4B,EAAE;AACjN,MAAA,aAAa,iBAAgB,oBAAoB,CAA8D,0BAA0B,EAAE,SAAS,EAAE,uBAAuB,EAAEC,wCAA2B,EAAE;AAC5M,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACnL,MAAA,KAAK,iBAAgB,oBAAoB,CAA8C,iBAAiB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,gCAAmB,EAAE;AACnK,MAAA,SAAS,iBAAgB,oBAAoB,CAAsD,sBAAsB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,oCAAuB,EAAE;AAC9L,MAAM,KAAK,GAAG,SAAS;AACjB,MAAA,MAAM,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,iCAAoB,EAAE;AACxK,MAAA,MAAM,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,iCAAoB,EAAE;AACxK,MAAA,MAAM,iBAAgB,oBAAoB,CAAgD,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AuB,EAAEC,mCAAsB,EAAE;AACtL,MAAA,KAAK,iBAAgB,oBAAoB,CAA8C,iBAAiB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,gCAAmB,EAAE;AACnK,MAAA,UAAU,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,iCAAoB,EAAE;AAC5K,MAAA,IAAI,iBAAgB,oBAAoB,CAA4C,gBAAgB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,+BAAkB,EAAE;AAC9J,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACnL,MAAA,OAAO,iBAAgB,oBAAoB,CAAkD,oBAAoB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,kCAAqB;;;;"}
1
+ {"version":3,"file":"components.js","sources":["../../../taro-components-library-react/src/components.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { Fragment } from 'react'\nimport { manipulatePropsFunction } from './helper'\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@tarojs/components/dist/types/components';\n\n// @ts-ignore\nimport { defineCustomElementTaroAdCore as defineTaroAdCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAdCustomCore as defineTaroAdCustomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAnimationVideoCore as defineTaroAnimationVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAnimationViewCore as defineTaroAnimationViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroArCameraCore as defineTaroArCameraCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAudioCore as defineTaroAudioCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroAwemeDataCore as defineTaroAwemeDataCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroBlockCore as defineTaroBlockCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroButtonCore as defineTaroButtonCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCameraCore as defineTaroCameraCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCanvasCore as defineTaroCanvasCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroChannelLiveCore as defineTaroChannelLiveCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroChannelVideoCore as defineTaroChannelVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCheckboxCore as defineTaroCheckboxCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCheckboxGroupCore as defineTaroCheckboxGroupCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCommentDetailCore as defineTaroCommentDetailCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCommentListCore as defineTaroCommentListCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroContactButtonCore as defineTaroContactButtonCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCoverImageCore as defineTaroCoverImageCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCoverViewCore as defineTaroCoverViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroCustomWrapperCore as defineTaroCustomWrapperCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroDraggableSheetCore as defineTaroDraggableSheetCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroEditorCore as defineTaroEditorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFollowSwanCore as defineTaroFollowSwanCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFormCore as defineTaroFormCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroFunctionalPageNavigatorCore as defineTaroFunctionalPageNavigatorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroGridBuilderCore as defineTaroGridBuilderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroGridViewCore as defineTaroGridViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroIconCore as defineTaroIconCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroImageCore as defineTaroImageCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroInlinePaymentPanelCore as defineTaroInlinePaymentPanelCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroInputCore as defineTaroInputCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroKeyboardAccessoryCore as defineTaroKeyboardAccessoryCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLabelCore as defineTaroLabelCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLifestyleCore as defineTaroLifestyleCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLikeCore as defineTaroLikeCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroListBuilderCore as defineTaroListBuilderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroListViewCore as defineTaroListViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLivePlayerCore as defineTaroLivePlayerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLivePusherCore as defineTaroLivePusherCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLoginCore as defineTaroLoginCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroLottieCore as defineTaroLottieCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMapCore as defineTaroMapCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMatchMediaCore as defineTaroMatchMediaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMovableAreaCore as defineTaroMovableAreaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroMovableViewCore as defineTaroMovableViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNativeSlotCore as defineTaroNativeSlotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNavigationBarCore as defineTaroNavigationBarCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNavigatorCore as defineTaroNavigatorCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNestedScrollBodyCore as defineTaroNestedScrollBodyCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroNestedScrollHeaderCore as defineTaroNestedScrollHeaderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOfficialAccountCore as defineTaroOfficialAccountCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOpenContainerCore as defineTaroOpenContainerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroOpenDataCore as defineTaroOpenDataCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPageContainerCore as defineTaroPageContainerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPageMetaCore as defineTaroPageMetaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerCore as defineTaroPickerCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerGroup as defineTaroPickerGroup } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerViewColumnCore as defineTaroPickerViewColumnCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPickerViewCore as defineTaroPickerViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroProgressCore as defineTaroProgressCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroPullToRefreshCore as defineTaroPullToRefreshCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRadioCore as defineTaroRadioCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRadioGroupCore as defineTaroRadioGroupCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRichTextCore as defineTaroRichTextCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRootPortalCore as defineTaroRootPortalCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRtcRoomCore as defineTaroRtcRoomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroRtcRoomItemCore as defineTaroRtcRoomItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroScrollViewCore as defineTaroScrollViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroShareElementCore as defineTaroShareElementCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSliderCore as defineTaroSliderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSlotCore as defineTaroSlotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSnapshotCore as defineTaroSnapshotCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSpanCore as defineTaroSpanCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroStickyHeaderCore as defineTaroStickyHeaderCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroStickySectionCore as defineTaroStickySectionCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwiperCore as defineTaroSwiperCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwiperItemCore as defineTaroSwiperItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroSwitchCore as defineTaroSwitchCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabItemCore as defineTaroTabItemCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabbar as defineTaroTabbar } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTabsCore as defineTaroTabsCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTextCore as defineTaroTextCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroTextareaCore as defineTaroTextareaCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoControl as defineTaroVideoControl } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoCore as defineTaroVideoCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVideoDanmu as defineTaroVideoDanmu } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroViewCore as defineTaroViewCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroVoipRoomCore as defineTaroVoipRoomCore } from '@tarojs/components/dist/components';\n// @ts-ignore\nimport { defineCustomElementTaroWebViewCore as defineTaroWebViewCore } from '@tarojs/components/dist/components';\n\nexport const Ad = /*@__PURE__*/createReactComponent<JSX.TaroAdCore, HTMLTaroAdCoreElement>('taro-ad-core', undefined, manipulatePropsFunction, defineTaroAdCore);\nexport const AdCustom = /*@__PURE__*/createReactComponent<JSX.TaroAdCustomCore, HTMLTaroAdCustomCoreElement>('taro-ad-custom-core', undefined, manipulatePropsFunction, defineTaroAdCustomCore);\nexport const AnimationVideo = /*@__PURE__*/createReactComponent<JSX.TaroAnimationVideoCore, HTMLTaroAnimationVideoCoreElement>('taro-animation-video-core', undefined, manipulatePropsFunction, defineTaroAnimationVideoCore);\nexport const AnimationView = /*@__PURE__*/createReactComponent<JSX.TaroAnimationViewCore, HTMLTaroAnimationViewCoreElement>('taro-animation-view-core', undefined, manipulatePropsFunction, defineTaroAnimationViewCore);\nexport const ArCamera = /*@__PURE__*/createReactComponent<JSX.TaroArCameraCore, HTMLTaroArCameraCoreElement>('taro-ar-camera-core', undefined, manipulatePropsFunction, defineTaroArCameraCore);\nexport const Audio = /*@__PURE__*/createReactComponent<JSX.TaroAudioCore, HTMLTaroAudioCoreElement>('taro-audio-core', undefined, manipulatePropsFunction, defineTaroAudioCore);\nexport const AwemeData = /*@__PURE__*/createReactComponent<JSX.TaroAwemeDataCore, HTMLTaroAwemeDataCoreElement>('taro-aweme-data-core', undefined, manipulatePropsFunction, defineTaroAwemeDataCore);\nexport const Block = Fragment;\nexport const Button = /*@__PURE__*/createReactComponent<JSX.TaroButtonCore, HTMLTaroButtonCoreElement>('taro-button-core', undefined, manipulatePropsFunction, defineTaroButtonCore);\nexport const Camera = /*@__PURE__*/createReactComponent<JSX.TaroCameraCore, HTMLTaroCameraCoreElement>('taro-camera-core', undefined, manipulatePropsFunction, defineTaroCameraCore);\nexport const Canvas = /*@__PURE__*/createReactComponent<JSX.TaroCanvasCore, HTMLTaroCanvasCoreElement>('taro-canvas-core', undefined, manipulatePropsFunction, defineTaroCanvasCore);\nexport const ChannelLive = /*@__PURE__*/createReactComponent<JSX.TaroChannelLiveCore, HTMLTaroChannelLiveCoreElement>('taro-channel-live-core', undefined, manipulatePropsFunction, defineTaroChannelLiveCore);\nexport const ChannelVideo = /*@__PURE__*/createReactComponent<JSX.TaroChannelVideoCore, HTMLTaroChannelVideoCoreElement>('taro-channel-video-core', undefined, manipulatePropsFunction, defineTaroChannelVideoCore);\nexport const Checkbox = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxCore, HTMLTaroCheckboxCoreElement>('taro-checkbox-core', undefined, manipulatePropsFunction, defineTaroCheckboxCore);\nexport const CheckboxGroup = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxGroupCore, HTMLTaroCheckboxGroupCoreElement>('taro-checkbox-group-core', undefined, manipulatePropsFunction, defineTaroCheckboxGroupCore);\nexport const CommentDetail = /*@__PURE__*/createReactComponent<JSX.TaroCommentDetailCore, HTMLTaroCommentDetailCoreElement>('taro-comment-detail-core', undefined, manipulatePropsFunction, defineTaroCommentDetailCore);\nexport const CommentList = /*@__PURE__*/createReactComponent<JSX.TaroCommentListCore, HTMLTaroCommentListCoreElement>('taro-comment-list-core', undefined, manipulatePropsFunction, defineTaroCommentListCore);\nexport const ContactButton = /*@__PURE__*/createReactComponent<JSX.TaroContactButtonCore, HTMLTaroContactButtonCoreElement>('taro-contact-button-core', undefined, manipulatePropsFunction, defineTaroContactButtonCore);\nexport const CoverImage = /*@__PURE__*/createReactComponent<JSX.TaroCoverImageCore, HTMLTaroCoverImageCoreElement>('taro-cover-image-core', undefined, manipulatePropsFunction, defineTaroCoverImageCore);\nexport const CoverView = /*@__PURE__*/createReactComponent<JSX.TaroCoverViewCore, HTMLTaroCoverViewCoreElement>('taro-cover-view-core', undefined, manipulatePropsFunction, defineTaroCoverViewCore);\nexport const CustomWrapper = /*@__PURE__*/createReactComponent<JSX.TaroCustomWrapperCore, HTMLTaroCustomWrapperCoreElement>('taro-custom-wrapper-core', undefined, manipulatePropsFunction, defineTaroCustomWrapperCore);\nexport const DraggableSheet = /*@__PURE__*/createReactComponent<JSX.TaroDraggableSheetCore, HTMLTaroDraggableSheetCoreElement>('taro-draggable-sheet-core', undefined, manipulatePropsFunction, defineTaroDraggableSheetCore);\nexport const Editor = /*@__PURE__*/createReactComponent<JSX.TaroEditorCore, HTMLTaroEditorCoreElement>('taro-editor-core', undefined, manipulatePropsFunction, defineTaroEditorCore);\nexport const FollowSwan = /*@__PURE__*/createReactComponent<JSX.TaroFollowSwanCore, HTMLTaroFollowSwanCoreElement>('taro-follow-swan-core', undefined, manipulatePropsFunction, defineTaroFollowSwanCore);\nexport const Form = /*@__PURE__*/createReactComponent<JSX.TaroFormCore, HTMLTaroFormCoreElement>('taro-form-core', undefined, manipulatePropsFunction, defineTaroFormCore);\nexport const FunctionalPageNavigator = /*@__PURE__*/createReactComponent<JSX.TaroFunctionalPageNavigatorCore, HTMLTaroFunctionalPageNavigatorCoreElement>('taro-functional-page-navigator-core', undefined, manipulatePropsFunction, defineTaroFunctionalPageNavigatorCore);\nexport const GridBuilder = /*@__PURE__*/createReactComponent<JSX.TaroGridBuilderCore, HTMLTaroGridBuilderCoreElement>('taro-grid-builder-core', undefined, manipulatePropsFunction, defineTaroGridBuilderCore);\nexport const GridView = /*@__PURE__*/createReactComponent<JSX.TaroGridViewCore, HTMLTaroGridViewCoreElement>('taro-grid-view-core', undefined, manipulatePropsFunction, defineTaroGridViewCore);\nexport const Icon = /*@__PURE__*/createReactComponent<JSX.TaroIconCore, HTMLTaroIconCoreElement>('taro-icon-core', undefined, manipulatePropsFunction, defineTaroIconCore);\nexport const Image = /*@__PURE__*/createReactComponent<JSX.TaroImageCore, HTMLTaroImageCoreElement>('taro-image-core', undefined, manipulatePropsFunction, defineTaroImageCore);\nexport const InlinePaymentPanel = /*@__PURE__*/createReactComponent<JSX.TaroInlinePaymentPanelCore, HTMLTaroInlinePaymentPanelCoreElement>('taro-inline-payment-panel-core', undefined, manipulatePropsFunction, defineTaroInlinePaymentPanelCore);\nexport const Input = /*@__PURE__*/createReactComponent<JSX.TaroInputCore, HTMLTaroInputCoreElement>('taro-input-core', undefined, manipulatePropsFunction, defineTaroInputCore);\nexport const KeyboardAccessory = /*@__PURE__*/createReactComponent<JSX.TaroKeyboardAccessoryCore, HTMLTaroKeyboardAccessoryCoreElement>('taro-keyboard-accessory-core', undefined, manipulatePropsFunction, defineTaroKeyboardAccessoryCore);\nexport const Label = /*@__PURE__*/createReactComponent<JSX.TaroLabelCore, HTMLTaroLabelCoreElement>('taro-label-core', undefined, manipulatePropsFunction, defineTaroLabelCore);\nexport const Lifestyle = /*@__PURE__*/createReactComponent<JSX.TaroLifestyleCore, HTMLTaroLifestyleCoreElement>('taro-lifestyle-core', undefined, manipulatePropsFunction, defineTaroLifestyleCore);\nexport const Like = /*@__PURE__*/createReactComponent<JSX.TaroLikeCore, HTMLTaroLikeCoreElement>('taro-like-core', undefined, manipulatePropsFunction, defineTaroLikeCore);\nexport const ListBuilder = /*@__PURE__*/createReactComponent<JSX.TaroListBuilderCore, HTMLTaroListBuilderCoreElement>('taro-list-builder-core', undefined, manipulatePropsFunction, defineTaroListBuilderCore);\nexport const ListView = /*@__PURE__*/createReactComponent<JSX.TaroListViewCore, HTMLTaroListViewCoreElement>('taro-list-view-core', undefined, manipulatePropsFunction, defineTaroListViewCore);\nexport const LivePlayer = /*@__PURE__*/createReactComponent<JSX.TaroLivePlayerCore, HTMLTaroLivePlayerCoreElement>('taro-live-player-core', undefined, manipulatePropsFunction, defineTaroLivePlayerCore);\nexport const LivePusher = /*@__PURE__*/createReactComponent<JSX.TaroLivePusherCore, HTMLTaroLivePusherCoreElement>('taro-live-pusher-core', undefined, manipulatePropsFunction, defineTaroLivePusherCore);\nexport const Login = /*@__PURE__*/createReactComponent<JSX.TaroLoginCore, HTMLTaroLoginCoreElement>('taro-login-core', undefined, manipulatePropsFunction, defineTaroLoginCore);\nexport const Lottie = /*@__PURE__*/createReactComponent<JSX.TaroLottieCore, HTMLTaroLottieCoreElement>('taro-lottie-core', undefined, manipulatePropsFunction, defineTaroLottieCore);\nexport const Map = /*@__PURE__*/createReactComponent<JSX.TaroMapCore, HTMLTaroMapCoreElement>('taro-map-core', undefined, manipulatePropsFunction, defineTaroMapCore);\nexport const MatchMedia = /*@__PURE__*/createReactComponent<JSX.TaroMatchMediaCore, HTMLTaroMatchMediaCoreElement>('taro-match-media-core', undefined, manipulatePropsFunction, defineTaroMatchMediaCore);\nexport const MovableArea = /*@__PURE__*/createReactComponent<JSX.TaroMovableAreaCore, HTMLTaroMovableAreaCoreElement>('taro-movable-area-core', undefined, manipulatePropsFunction, defineTaroMovableAreaCore);\nexport const MovableView = /*@__PURE__*/createReactComponent<JSX.TaroMovableViewCore, HTMLTaroMovableViewCoreElement>('taro-movable-view-core', undefined, manipulatePropsFunction, defineTaroMovableViewCore);\nexport const NativeSlot = /*@__PURE__*/createReactComponent<JSX.TaroNativeSlotCore, HTMLTaroNativeSlotCoreElement>('taro-native-slot-core', undefined, manipulatePropsFunction, defineTaroNativeSlotCore);\nexport const NavigationBar = /*@__PURE__*/createReactComponent<JSX.TaroNavigationBarCore, HTMLTaroNavigationBarCoreElement>('taro-navigation-bar-core', undefined, manipulatePropsFunction, defineTaroNavigationBarCore);\nexport const Navigator = /*@__PURE__*/createReactComponent<JSX.TaroNavigatorCore, HTMLTaroNavigatorCoreElement>('taro-navigator-core', undefined, manipulatePropsFunction, defineTaroNavigatorCore);\nexport const NestedScrollBody = /*@__PURE__*/createReactComponent<JSX.TaroNestedScrollBodyCore, HTMLTaroNestedScrollBodyCoreElement>('taro-nested-scroll-body-core', undefined, manipulatePropsFunction, defineTaroNestedScrollBodyCore);\nexport const NestedScrollHeader = /*@__PURE__*/createReactComponent<JSX.TaroNestedScrollHeaderCore, HTMLTaroNestedScrollHeaderCoreElement>('taro-nested-scroll-header-core', undefined, manipulatePropsFunction, defineTaroNestedScrollHeaderCore);\nexport const OfficialAccount = /*@__PURE__*/createReactComponent<JSX.TaroOfficialAccountCore, HTMLTaroOfficialAccountCoreElement>('taro-official-account-core', undefined, manipulatePropsFunction, defineTaroOfficialAccountCore);\nexport const OpenContainer = /*@__PURE__*/createReactComponent<JSX.TaroOpenContainerCore, HTMLTaroOpenContainerCoreElement>('taro-open-container-core', undefined, manipulatePropsFunction, defineTaroOpenContainerCore);\nexport const OpenData = /*@__PURE__*/createReactComponent<JSX.TaroOpenDataCore, HTMLTaroOpenDataCoreElement>('taro-open-data-core', undefined, manipulatePropsFunction, defineTaroOpenDataCore);\nexport const PageContainer = /*@__PURE__*/createReactComponent<JSX.TaroPageContainerCore, HTMLTaroPageContainerCoreElement>('taro-page-container-core', undefined, manipulatePropsFunction, defineTaroPageContainerCore);\nexport const PageMeta = /*@__PURE__*/createReactComponent<JSX.TaroPageMetaCore, HTMLTaroPageMetaCoreElement>('taro-page-meta-core', undefined, manipulatePropsFunction, defineTaroPageMetaCore);\nexport const Picker = /*@__PURE__*/createReactComponent<JSX.TaroPickerCore, HTMLTaroPickerCoreElement>('taro-picker-core', undefined, manipulatePropsFunction, defineTaroPickerCore);\nexport const PickerGroup = /*@__PURE__*/createReactComponent<JSX.TaroPickerGroup, HTMLTaroPickerGroupElement>('taro-picker-group', undefined, manipulatePropsFunction, defineTaroPickerGroup);\nexport const PickerViewColumn = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewColumnCore, HTMLTaroPickerViewColumnCoreElement>('taro-picker-view-column-core', undefined, manipulatePropsFunction, defineTaroPickerViewColumnCore);\nexport const PickerView = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewCore, HTMLTaroPickerViewCoreElement>('taro-picker-view-core', undefined, manipulatePropsFunction, defineTaroPickerViewCore);\nexport const Progress = /*@__PURE__*/createReactComponent<JSX.TaroProgressCore, HTMLTaroProgressCoreElement>('taro-progress-core', undefined, manipulatePropsFunction, defineTaroProgressCore);\nexport const PullToRefresh = /*@__PURE__*/createReactComponent<JSX.TaroPullToRefreshCore, HTMLTaroPullToRefreshCoreElement>('taro-pull-to-refresh-core', undefined, manipulatePropsFunction, defineTaroPullToRefreshCore);\nexport const Radio = /*@__PURE__*/createReactComponent<JSX.TaroRadioCore, HTMLTaroRadioCoreElement>('taro-radio-core', undefined, manipulatePropsFunction, defineTaroRadioCore);\nexport const RadioGroup = /*@__PURE__*/createReactComponent<JSX.TaroRadioGroupCore, HTMLTaroRadioGroupCoreElement>('taro-radio-group-core', undefined, manipulatePropsFunction, defineTaroRadioGroupCore);\nexport const RichText = /*@__PURE__*/createReactComponent<JSX.TaroRichTextCore, HTMLTaroRichTextCoreElement>('taro-rich-text-core', undefined, manipulatePropsFunction, defineTaroRichTextCore);\nexport const RootPortal = /*@__PURE__*/createReactComponent<JSX.TaroRootPortalCore, HTMLTaroRootPortalCoreElement>('taro-root-portal-core', undefined, manipulatePropsFunction, defineTaroRootPortalCore);\nexport const RtcRoom = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomCore, HTMLTaroRtcRoomCoreElement>('taro-rtc-room-core', undefined, manipulatePropsFunction, defineTaroRtcRoomCore);\nexport const RtcRoomItem = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomItemCore, HTMLTaroRtcRoomItemCoreElement>('taro-rtc-room-item-core', undefined, manipulatePropsFunction, defineTaroRtcRoomItemCore);\nexport const ScrollView = /*@__PURE__*/createReactComponent<JSX.TaroScrollViewCore, HTMLTaroScrollViewCoreElement>('taro-scroll-view-core', undefined, manipulatePropsFunction, defineTaroScrollViewCore);\nexport const ShareElement = /*@__PURE__*/createReactComponent<JSX.TaroShareElementCore, HTMLTaroShareElementCoreElement>('taro-share-element-core', undefined, manipulatePropsFunction, defineTaroShareElementCore);\nexport const Slider = /*@__PURE__*/createReactComponent<JSX.TaroSliderCore, HTMLTaroSliderCoreElement>('taro-slider-core', undefined, manipulatePropsFunction, defineTaroSliderCore);\nexport const Slot = /*@__PURE__*/createReactComponent<JSX.TaroSlotCore, HTMLTaroSlotCoreElement>('taro-slot-core', undefined, manipulatePropsFunction, defineTaroSlotCore);\nexport const Snapshot = /*@__PURE__*/createReactComponent<JSX.TaroSnapshotCore, HTMLTaroSnapshotCoreElement>('taro-snapshot-core', undefined, manipulatePropsFunction, defineTaroSnapshotCore);\nexport const Span = /*@__PURE__*/createReactComponent<JSX.TaroSpanCore, HTMLTaroSpanCoreElement>('taro-span-core', undefined, manipulatePropsFunction, defineTaroSpanCore);\nexport const StickyHeader = /*@__PURE__*/createReactComponent<JSX.TaroStickyHeaderCore, HTMLTaroStickyHeaderCoreElement>('taro-sticky-header-core', undefined, manipulatePropsFunction, defineTaroStickyHeaderCore);\nexport const StickySection = /*@__PURE__*/createReactComponent<JSX.TaroStickySectionCore, HTMLTaroStickySectionCoreElement>('taro-sticky-section-core', undefined, manipulatePropsFunction, defineTaroStickySectionCore);\nexport const Swiper = /*@__PURE__*/createReactComponent<JSX.TaroSwiperCore, HTMLTaroSwiperCoreElement>('taro-swiper-core', undefined, manipulatePropsFunction, defineTaroSwiperCore);\nexport const SwiperItem = /*@__PURE__*/createReactComponent<JSX.TaroSwiperItemCore, HTMLTaroSwiperItemCoreElement>('taro-swiper-item-core', undefined, manipulatePropsFunction, defineTaroSwiperItemCore);\nexport const Switch = /*@__PURE__*/createReactComponent<JSX.TaroSwitchCore, HTMLTaroSwitchCoreElement>('taro-switch-core', undefined, manipulatePropsFunction, defineTaroSwitchCore);\nexport const TabItem = /*@__PURE__*/createReactComponent<JSX.TaroTabItemCore, HTMLTaroTabItemCoreElement>('taro-tab-item-core', undefined, manipulatePropsFunction, defineTaroTabItemCore);\nexport const Tabbar = /*@__PURE__*/createReactComponent<JSX.TaroTabbar, HTMLTaroTabbarElement>('taro-tabbar', undefined, manipulatePropsFunction, defineTaroTabbar);\nexport const Tabs = /*@__PURE__*/createReactComponent<JSX.TaroTabsCore, HTMLTaroTabsCoreElement>('taro-tabs-core', undefined, manipulatePropsFunction, defineTaroTabsCore);\nexport const Text = /*@__PURE__*/createReactComponent<JSX.TaroTextCore, HTMLTaroTextCoreElement>('taro-text-core', undefined, manipulatePropsFunction, defineTaroTextCore);\nexport const Textarea = /*@__PURE__*/createReactComponent<JSX.TaroTextareaCore, HTMLTaroTextareaCoreElement>('taro-textarea-core', undefined, manipulatePropsFunction, defineTaroTextareaCore);\nexport const VideoControl = /*@__PURE__*/createReactComponent<JSX.TaroVideoControl, HTMLTaroVideoControlElement>('taro-video-control', undefined, manipulatePropsFunction, defineTaroVideoControl);\nexport const Video = /*@__PURE__*/createReactComponent<JSX.TaroVideoCore, HTMLTaroVideoCoreElement>('taro-video-core', undefined, manipulatePropsFunction, defineTaroVideoCore);\nexport const VideoDanmu = /*@__PURE__*/createReactComponent<JSX.TaroVideoDanmu, HTMLTaroVideoDanmuElement>('taro-video-danmu', undefined, manipulatePropsFunction, defineTaroVideoDanmu);\nexport const View = /*@__PURE__*/createReactComponent<JSX.TaroViewCore, HTMLTaroViewCoreElement>('taro-view-core', undefined, manipulatePropsFunction, defineTaroViewCore);\nexport const VoipRoom = /*@__PURE__*/createReactComponent<JSX.TaroVoipRoomCore, HTMLTaroVoipRoomCoreElement>('taro-voip-room-core', undefined, manipulatePropsFunction, defineTaroVoipRoomCore);\nexport const WebView = /*@__PURE__*/createReactComponent<JSX.TaroWebViewCore, HTMLTaroWebViewCoreElement>('taro-web-view-core', undefined, manipulatePropsFunction, defineTaroWebViewCore);\n"],"names":["defineTaroAdCore","defineTaroAdCustomCore","defineTaroAnimationVideoCore","defineTaroAnimationViewCore","defineTaroArCameraCore","defineTaroAudioCore","defineTaroAwemeDataCore","defineTaroButtonCore","defineTaroCameraCore","defineTaroCanvasCore","defineTaroChannelLiveCore","defineTaroChannelVideoCore","defineTaroCheckboxCore","defineTaroCheckboxGroupCore","defineTaroCommentDetailCore","defineTaroCommentListCore","defineTaroContactButtonCore","defineTaroCoverImageCore","defineTaroCoverViewCore","defineTaroCustomWrapperCore","defineTaroDraggableSheetCore","defineTaroEditorCore","defineTaroFollowSwanCore","defineTaroFormCore","defineTaroFunctionalPageNavigatorCore","defineTaroGridBuilderCore","defineTaroGridViewCore","defineTaroIconCore","defineTaroImageCore","defineTaroInlinePaymentPanelCore","defineTaroInputCore","defineTaroKeyboardAccessoryCore","defineTaroLabelCore","defineTaroLifestyleCore","defineTaroLikeCore","defineTaroListBuilderCore","defineTaroListViewCore","defineTaroLivePlayerCore","defineTaroLivePusherCore","defineTaroLoginCore","defineTaroLottieCore","defineTaroMapCore","defineTaroMatchMediaCore","defineTaroMovableAreaCore","defineTaroMovableViewCore","defineTaroNativeSlotCore","defineTaroNavigationBarCore","defineTaroNavigatorCore","defineTaroNestedScrollBodyCore","defineTaroNestedScrollHeaderCore","defineTaroOfficialAccountCore","defineTaroOpenContainerCore","defineTaroOpenDataCore","defineTaroPageContainerCore","defineTaroPageMetaCore","defineTaroPickerCore","defineTaroPickerGroup","defineTaroPickerViewColumnCore","defineTaroPickerViewCore","defineTaroProgressCore","defineTaroPullToRefreshCore","defineTaroRadioCore","defineTaroRadioGroupCore","defineTaroRichTextCore","defineTaroRootPortalCore","defineTaroRtcRoomCore","defineTaroRtcRoomItemCore","defineTaroScrollViewCore","defineTaroShareElementCore","defineTaroSliderCore","defineTaroSlotCore","defineTaroSnapshotCore","defineTaroSpanCore","defineTaroStickyHeaderCore","defineTaroStickySectionCore","defineTaroSwiperCore","defineTaroSwiperItemCore","defineTaroSwitchCore","defineTaroTabItemCore","defineTaroTabbar","defineTaroTabsCore","defineTaroTextCore","defineTaroTextareaCore","defineTaroVideoControl","defineTaroVideoCore","defineTaroVideoDanmu","defineTaroViewCore","defineTaroVoipRoomCore","defineTaroWebViewCore"],"mappings":";;;;;;AAAA;AA8La,MAAA,EAAE,iBAAgB,oBAAoB,CAAwC,cAAc,EAAE,SAAS,EAAE,uBAAuB,EAAEA,6BAAgB,EAAE;AACpJ,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACnL,MAAA,cAAc,iBAAgB,oBAAoB,CAAgE,2BAA2B,EAAE,SAAS,EAAE,uBAAuB,EAAEC,yCAA4B,EAAE;AACjN,MAAA,aAAa,iBAAgB,oBAAoB,CAA8D,0BAA0B,EAAE,SAAS,EAAE,uBAAuB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,EAAEC,iCAAoB,EAAE;AACxK,MAAA,OAAO,iBAAgB,oBAAoB,CAAkD,oBAAoB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,kCAAqB,EAAE;AAC9K,MAAA,MAAM,iBAAgB,oBAAoB,CAAwC,aAAa,EAAE,SAAS,EAAE,uBAAuB,EAAEC,6BAAgB,EAAE;AACvJ,MAAA,IAAI,iBAAgB,oBAAoB,CAA4C,gBAAgB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,+BAAkB,EAAE;AAC9J,MAAA,IAAI,iBAAgB,oBAAoB,CAA4C,gBAAgB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,+BAAkB,EAAE;AAC9J,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,oBAAoB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AAClL,MAAA,YAAY,iBAAgB,oBAAoB,CAAoD,oBAAoB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACtL,MAAA,KAAK,iBAAgB,oBAAoB,CAA8C,iBAAiB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,gCAAmB,EAAE;AACnK,MAAA,UAAU,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,iCAAoB,EAAE;AAC5K,MAAA,IAAI,iBAAgB,oBAAoB,CAA4C,gBAAgB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,+BAAkB,EAAE;AAC9J,MAAA,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,mCAAsB,EAAE;AACnL,MAAA,OAAO,iBAAgB,oBAAoB,CAAkD,oBAAoB,EAAE,SAAS,EAAE,uBAAuB,EAAEC,kCAAqB;;;;"}
@@ -1,12 +1,10 @@
1
- /// <reference types="react" />
2
- /// <reference types="react" />
3
1
  interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
4
2
  forwardedRef: React.RefObject<ElementType>;
5
3
  ref?: React.Ref<any>;
6
4
  }
7
- export declare const manipulatePropsFunction: <ElementType>(originalProps: StencilReactInternalProps<ElementType>, propsToPass?: Record<string, unknown>) => {
5
+ declare const manipulatePropsFunction: <ElementType>(originalProps: StencilReactInternalProps<ElementType>, propsToPass?: Record<string, unknown>) => {
8
6
  dangerouslySetInnerHTML: {
9
7
  __html: string | TrustedHTML;
10
8
  };
11
9
  };
12
- export {};
10
+ export { manipulatePropsFunction };
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sources":["../../../taro-components-library-react/src/helper.ts"],"sourcesContent":["interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>\n ref?: React.Ref<any>\n}\n\nexport const manipulatePropsFunction = <ElementType>(\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: Record<string, unknown> = {}\n) => {\n const { dangerouslySetInnerHTML, style } = originalProps\n if (typeof style !== 'string') {\n propsToPass.style = style\n }\n return {\n ...propsToPass,\n dangerouslySetInnerHTML\n }\n}\n"],"names":[],"mappings":"AAKa,MAAA,uBAAuB,GAAG,CACrC,aAAqD,EACrD,WAAA,GAAuC,EAAE,KACvC;AACF,IAAA,MAAM,EAAE,uBAAuB,EAAE,KAAK,EAAE,GAAG,aAAa,CAAA;AACxD,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,WAAW,CAAC,KAAK,GAAG,KAAK,CAAA;KAC1B;IACD,OACK,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,WAAW,CACd,EAAA,EAAA,uBAAuB,EACxB,CAAA,CAAA;AACH;;;;"}
1
+ {"version":3,"file":"helper.js","sources":["../../../taro-components-library-react/src/helper.ts"],"sourcesContent":["interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>\n ref?: React.Ref<any>\n}\n\nexport const manipulatePropsFunction = <ElementType>(\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: Record<string, unknown> = {}\n) => {\n const { dangerouslySetInnerHTML, style } = originalProps\n if (typeof style !== 'string') {\n propsToPass.style = style\n }\n return {\n ...propsToPass,\n dangerouslySetInnerHTML\n }\n}\n"],"names":[],"mappings":"AAKa,MAAA,uBAAuB,GAAG,CACrC,aAAqD,EACrD,WAAA,GAAuC,EAAE,KACvC;AACF,IAAA,MAAM,EAAE,uBAAuB,EAAE,KAAK,EAAE,GAAG,aAAa,CAAA;AACxD,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,WAAW,CAAC,KAAK,GAAG,KAAK,CAAA;AAC1B,KAAA;IACD,OACK,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,WAAW,CACd,EAAA,EAAA,uBAAuB,EACxB,CAAA,CAAA;AACH;;;;"}
@@ -1 +1 @@
1
- export * from './components';
1
+ export * from "./components.js";
@@ -2,21 +2,21 @@
2
2
  * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/interfaces.ts
3
3
  * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
4
4
  */
5
- export interface EventEmitter<T = any> {
5
+ interface EventEmitter<T = any> {
6
6
  emit: (data?: T) => CustomEvent<T>;
7
7
  }
8
- export interface StyleReactProps {
8
+ interface StyleReactProps {
9
9
  class?: string;
10
10
  className?: string;
11
11
  style?: {
12
12
  [key: string]: any;
13
13
  };
14
14
  }
15
- export interface OverlayEventDetail<T = any> {
15
+ interface OverlayEventDetail<T = any> {
16
16
  data?: T;
17
17
  role?: string;
18
18
  }
19
- export interface OverlayInterface {
19
+ interface OverlayInterface {
20
20
  el: HTMLElement;
21
21
  animated: boolean;
22
22
  keyboardClose: boolean;
@@ -31,3 +31,4 @@ export interface OverlayInterface {
31
31
  present(): Promise<void>;
32
32
  dismiss(data?: any, role?: string): Promise<boolean>;
33
33
  }
34
+ export { EventEmitter, StyleReactProps, OverlayEventDetail, OverlayInterface };
@@ -3,12 +3,12 @@
3
3
  * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
4
4
  */
5
5
  import React from 'react';
6
- export interface HTMLStencilElement extends HTMLElement {
6
+ interface HTMLStencilElement extends HTMLElement {
7
7
  componentOnReady(): Promise<this>;
8
8
  }
9
9
  interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
10
10
  forwardedRef: React.RefObject<ElementType>;
11
11
  ref?: React.Ref<any>;
12
12
  }
13
- export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = any, ExpandedPropsTypes = any>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils").StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
14
- export {};
13
+ declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = any, ExpandedPropsTypes = any>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils/index.js").StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
14
+ export { HTMLStencilElement, createReactComponent };
@@ -1,4 +1,4 @@
1
- import { __rest } from '../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.17.2_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js';
1
+ import { __rest } from 'tslib';
2
2
  import React, { createElement } from 'react';
3
3
  import { mergeRefs, createForwardRef } from './utils/index.js';
4
4
  import { dashToPascalCase, camelToDashCase } from './utils/case.js';
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createComponent.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createComponent.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React, { createElement } from 'react'\n\nimport {\n applyUnControlledDefaultValue,\n attachProps,\n camelToDashCase,\n createForwardRef,\n dashToPascalCase,\n isCoveredByReact,\n mergeRefs,\n} from './utils'\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>\n ref?: React.Ref<any>\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = any,\n ExpandedPropsTypes = any\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void\n) => {\n if (!DEPRECATED_ADAPTER_COMPONENT && defineCustomElement !== undefined) {\n defineCustomElement()\n }\n\n const displayName = dashToPascalCase(tagName)\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element\n }\n\n // eslint-disable-next-line no-useless-constructor\n constructor (props: StencilReactInternalProps<ElementType>) {\n super(props)\n }\n\n componentDidMount () {\n applyUnControlledDefaultValue(this.componentEl, this.props)\n this.componentDidUpdate(this.props)\n }\n\n componentDidUpdate (prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps)\n }\n\n render () {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, forwardedRef, className, ref, style, ...cProps } = this.props\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name]\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase()\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value\n\n if (['string', 'boolean', 'number'].includes(type)) {\n acc[camelToDashCase(name)] = value\n }\n }\n return acc\n }, {} as ExpandedPropsTypes)\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass)\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n // Note(taro): 需处理 string 类型的 style,调整到 manipulatePropsFunction 方法中判断是否需注入 (string 类型在 attachProps 中处理)\n // style\n }\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children)\n }\n\n static get displayName () {\n return displayName\n }\n }\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName)\n}\n"],"names":[],"mappings":";;;;;;AAyBO,MAAM,oBAAoB,GAAG,CAMlC,OAAe,EACf,qBAAuD,EACvD,uBAGuB,EACvB,mBAAgC,KAC9B;AACF,IAAA,IAAI,CAAC,4BAA4B,IAAI,mBAAmB,KAAK,SAAS,EAAE;AACtE,QAAA,mBAAmB,EAAE,CAAA;KACtB;AAED,IAAA,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAA;AAC7C,IAAA,MAAM,cAAc,GAAG,cAAc,KAAK,CAAC,SAAiD,CAAA;;AAQ1F,QAAA,WAAA,CAAa,KAA6C,EAAA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E,wBAAA,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAA;qBAClB;iBACF;qBAAM;;;AAGL,oBAAA,MAAM,IAAI,GAAG,OAAO,KAAK,CAAA;AAEzB,oBAAA,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;wBAClD,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,CAAA;qBACnC;iBACF;AACD,gBAAA,OAAO,GAAG,CAAA;aACX,EAAE,EAAwB,CAAC,CAAA;YAE5B,IAAI,uBAAuB,EAAE;gBAC3B,WAAW,GAAG,uBAAuB,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;aAC/D;AAED,YAAA,MAAM,QAAQ,GAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACT,WAAW,CAAA,EAAA,EACd,GAAG,EAAE,SAAS,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAGrD,CAAA;AAED;;;;;;AAMG;YACH,OAAO,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAA;SAClD;AAED,QAAA,WAAW,WAAW,GAAA;AACpB,YAAA,OAAO,WAAW,CAAA;SACnB;KACF,CAAA;;IAGD,IAAI,qBAAqB,EAAE;AACzB,QAAA,cAAc,CAAC,WAAW,GAAG,qBAAqB,CAAA;KACnD;AAED,IAAA,OAAO,gBAAgB,CAAwB,cAAc,EAAE,WAAW,CAAC,CAAA;AAC7E;;;;"}
1
+ {"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createComponent.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createComponent.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React, { createElement } from 'react'\n\nimport {\n applyUnControlledDefaultValue,\n attachProps,\n camelToDashCase,\n createForwardRef,\n dashToPascalCase,\n isCoveredByReact,\n mergeRefs,\n} from './utils'\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>\n ref?: React.Ref<any>\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = any,\n ExpandedPropsTypes = any\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void\n) => {\n if (!DEPRECATED_ADAPTER_COMPONENT && defineCustomElement !== undefined) {\n defineCustomElement()\n }\n\n const displayName = dashToPascalCase(tagName)\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element\n }\n\n // eslint-disable-next-line no-useless-constructor\n constructor (props: StencilReactInternalProps<ElementType>) {\n super(props)\n }\n\n componentDidMount () {\n applyUnControlledDefaultValue(this.componentEl, this.props)\n this.componentDidUpdate(this.props)\n }\n\n componentDidUpdate (prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps)\n }\n\n render () {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, forwardedRef, className, ref, style, ...cProps } = this.props\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name]\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase()\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value\n\n if (['string', 'boolean', 'number'].includes(type)) {\n acc[camelToDashCase(name)] = value\n }\n }\n return acc\n }, {} as ExpandedPropsTypes)\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass)\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n // Note(taro): 需处理 string 类型的 style,调整到 manipulatePropsFunction 方法中判断是否需注入 (string 类型在 attachProps 中处理)\n // style\n }\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children)\n }\n\n static get displayName () {\n return displayName\n }\n }\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName)\n}\n"],"names":[],"mappings":";;;;;;AAyBO,MAAM,oBAAoB,GAAG,CAMlC,OAAe,EACf,qBAAuD,EACvD,uBAGuB,EACvB,mBAAgC,KAC9B;AACF,IAAA,IAAI,CAAC,4BAA4B,IAAI,mBAAmB,KAAK,SAAS,EAAE;AACtE,QAAA,mBAAmB,EAAE,CAAA;AACtB,KAAA;AAED,IAAA,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAA;AAC7C,IAAA,MAAM,cAAc,GAAG,cAAc,KAAK,CAAC,SAAiD,CAAA;;AAQ1F,QAAA,WAAA,CAAa,KAA6C,EAAA;YACxD,KAAK,CAAC,KAAK,CAAC,CAAA;AANd,YAAA,IAAA,CAAA,iBAAiB,GAAG,CAAC,OAAoB,KAAI;AAC3C,gBAAA,IAAI,CAAC,WAAW,GAAG,OAAO,CAAA;AAC5B,aAAC,CAAA;SAKA;QAED,iBAAiB,GAAA;YACf,6BAA6B,CAAC,IAAI,CAAC,WAAW,EAAE,IA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AC,EAAE;wBAClD,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,CAAA;AACnC,qBAAA;AACF,iBAAA;AACD,gBAAA,OAAO,GAAG,CAAA;aACX,EAAE,EAAwB,CAAC,CAAA;AAE5B,YAAA,IAAI,uBAAuB,EAAE;gBAC3B,WAAW,GAAG,uBAAuB,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;AAC/D,aAAA;AAED,YAAA,MAAM,QAAQ,GAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACT,WAAW,CAAA,EAAA,EACd,GAAG,EAAE,SAAS,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAGrD,CAAA;AAED;;;;;;AAMG;YACH,OAAO,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAA;SAClD;AAED,QAAA,WAAW,WAAW,GAAA;AACpB,YAAA,OAAO,WAAW,CAAA;SACnB;KACF,CAAA;;AAGD,IAAA,IAAI,qBAAqB,EAAE;AACzB,QAAA,cAAc,CAAC,WAAW,GAAG,qBAAqB,CAAA;AACnD,KAAA;AAED,IAAA,OAAO,gBAAgB,CAAwB,cAAc,EAAE,WAAW,CAAC,CAAA;AAC7E;;;;"}
@@ -3,13 +3,13 @@
3
3
  * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
4
4
  */
5
5
  import React from 'react';
6
- import { OverlayEventDetail } from './interfaces';
7
- import { StencilReactForwardedRef } from './utils';
6
+ import { OverlayEventDetail } from "../interfaces-f526f1a2.js";
7
+ import { StencilReactForwardedRef } from "./utils/index.js";
8
8
  interface OverlayElement extends HTMLElement {
9
9
  present: () => Promise<void>;
10
10
  dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
11
11
  }
12
- export interface ReactOverlayProps {
12
+ interface ReactOverlayProps {
13
13
  children?: React.ReactNode;
14
14
  isOpen: boolean;
15
15
  onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
@@ -17,9 +17,9 @@ export interface ReactOverlayProps {
17
17
  onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
18
18
  onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
19
19
  }
20
- export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(tagName: string, controller: {
20
+ declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(tagName: string, controller: {
21
21
  create: (options: any) => Promise<OverlayType>;
22
22
  }, customElement?: any) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OverlayComponent & ReactOverlayProps & {
23
23
  forwardedRef?: StencilReactForwardedRef<OverlayType>;
24
24
  }> & React.RefAttributes<OverlayType>>;
25
- export {};
25
+ export { ReactOverlayProps, createOverlayComponent };
@@ -1,4 +1,4 @@
1
- import { __rest } from '../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.17.2_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js';
1
+ import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
  import ReactDOM from 'react-dom';
4
4
  import { defineCustomElement, setRef } from './utils/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"createOverlayComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createOverlayComponent.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createOverlayComponent.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React from 'react'\nimport ReactDOM from 'react-dom'\n\nimport { OverlayEventDetail } from './interfaces'\nimport { attachProps, dashToPascalCase, defineCustomElement, setRef, StencilReactForwardedRef } from './utils'\n\ninterface OverlayElement extends HTMLElement {\n present: () => Promise<void>\n dismiss: (data?: any, role?: string | undefined) => Promise<boolean>\n}\n\nexport interface ReactOverlayProps {\n children?: React.ReactNode\n isOpen: boolean\n onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void\n onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void\n onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void\n onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void\n}\n\nexport const createOverlayComponent = <OverlayComponent extends object, OverlayType extends OverlayElement>(\n tagName: string,\n controller: { create: (options: any) => Promise<OverlayType> },\n customElement?: any\n) => {\n defineCustomElement(tagName, customElement)\n\n const displayName = dashToPascalCase(tagName)\n const didDismissEventName = `on${displayName}DidDismiss`\n const didPresentEventName = `on${displayName}DidPresent`\n const willDismissEventName = `on${displayName}WillDismiss`\n const willPresentEventName = `on${displayName}WillPresent`\n\n type Props = OverlayComponent &\n ReactOverlayProps & {\n forwardedRef?: StencilReactForwardedRef<OverlayType>\n };\n\n let isDismissing = false\n\n class Overlay extends React.Component<Props> {\n overlay?: OverlayType\n el!: HTMLDivElement\n\n constructor (props: Props) {\n super(props)\n if (typeof document !== 'undefined') {\n this.el = document.createElement('div')\n }\n this.handleDismiss = this.handleDismiss.bind(this)\n }\n\n static get displayName () {\n return displayName\n }\n\n componentDidMount () {\n if (this.props.isOpen) {\n this.present()\n }\n }\n\n componentWillUnmount () {\n if (this.overlay) {\n this.overlay.dismiss()\n }\n }\n\n handleDismiss (event: CustomEvent<OverlayEventDetail<any>>) {\n if (this.props.onDidDismiss) {\n this.props.onDidDismiss(event)\n }\n setRef(this.props.forwardedRef, null)\n }\n\n shouldComponentUpdate (nextProps: Props) {\n // Check if the overlay component is about to dismiss\n if (this.overlay && nextProps.isOpen !== this.props.isOpen && nextProps.isOpen === false) {\n isDismissing = true\n }\n\n return true\n }\n\n async componentDidUpdate (prevProps: Props) {\n if (this.overlay) {\n attachProps(this.overlay, this.props, prevProps)\n }\n\n if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {\n this.present(prevProps)\n }\n if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {\n await this.overlay.dismiss()\n isDismissing = false\n\n /**\n * Now that the overlay is dismissed\n * we need to render again so that any\n * inner components will be unmounted\n */\n this.forceUpdate()\n }\n }\n\n async present (prevProps?: Props) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent, ...cProps } = this.props\n const elementProps = {\n ...cProps,\n ref: this.props.forwardedRef,\n [didDismissEventName]: this.handleDismiss,\n [didPresentEventName]: (e: CustomEvent) => this.props.onDidPresent && this.props.onDidPresent(e),\n [willDismissEventName]: (e: CustomEvent) => this.props.onWillDismiss && this.props.onWillDismiss(e),\n [willPresentEventName]: (e: CustomEvent) => this.props.onWillPresent && this.props.onWillPresent(e),\n }\n\n this.overlay = await controller.create({\n ...elementProps,\n component: this.el,\n componentProps: {},\n })\n\n setRef(this.props.forwardedRef, this.overlay)\n attachProps(this.overlay, elementProps, prevProps)\n\n await this.overlay.present()\n }\n\n render () {\n /**\n * Continue to render the component even when\n * overlay is dismissing otherwise component\n * will be hidden before animation is done.\n */\n return ReactDOM.createPortal(this.props.isOpen || isDismissing ? this.props.children : null, this.el)\n }\n }\n\n return React.forwardRef<OverlayType, Props>((props, ref) => {\n // Note: 组件库错误引入 vue 的 ts 类型,导致 ts 报错,这里先忽略\n // @ts-ignore\n return <Overlay {...props} forwardedRef={ref} />\n })\n}\n"],"names":[],"mappings":";;;;;;;AAwBa,MAAA,sBAAsB,GAAG,CACpC,OAAe,EACf,UAA8D,EAC9D,aAAmB,KACjB;AACF,IAAA,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;AAE3C,IAAA,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAA;AAC7C,IAAA,MAAM,mBAAmB,GAAG,CAAK,EAAA,EAAA,WAAW,YAAY,CAAA;AACxD,IAAA,MAAM,mBAAmB,GAAG,CAAK,EAAA,EAAA,WAAW,YAAY,CAAA;AACxD,IAAA,MAAM,oBAAoB,GAAG,CAAK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/createOverlayComponent.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/createOverlayComponent.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React from 'react'\nimport ReactDOM from 'react-dom'\n\nimport { OverlayEventDetail } from './interfaces'\nimport { attachProps, dashToPascalCase, defineCustomElement, setRef, StencilReactForwardedRef } from './utils'\n\ninterface OverlayElement extends HTMLElement {\n present: () => Promise<void>\n dismiss: (data?: any, role?: string | undefined) => Promise<boolean>\n}\n\nexport interface ReactOverlayProps {\n children?: React.ReactNode\n isOpen: boolean\n onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void\n onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void\n onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void\n onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void\n}\n\nexport const createOverlayComponent = <OverlayComponent extends object, OverlayType extends OverlayElement>(\n tagName: string,\n controller: { create: (options: any) => Promise<OverlayType> },\n customElement?: any\n) => {\n defineCustomElement(tagName, customElement)\n\n const displayName = dashToPascalCase(tagName)\n const didDismissEventName = `on${displayName}DidDismiss`\n const didPresentEventName = `on${displayName}DidPresent`\n const willDismissEventName = `on${displayName}WillDismiss`\n const willPresentEventName = `on${displayName}WillPresent`\n\n type Props = OverlayComponent &\n ReactOverlayProps & {\n forwardedRef?: StencilReactForwardedRef<OverlayType>\n };\n\n let isDismissing = false\n\n class Overlay extends React.Component<Props> {\n overlay?: OverlayType\n el!: HTMLDivElement\n\n constructor (props: Props) {\n super(props)\n if (typeof document !== 'undefined') {\n this.el = document.createElement('div')\n }\n this.handleDismiss = this.handleDismiss.bind(this)\n }\n\n static get displayName () {\n return displayName\n }\n\n componentDidMount () {\n if (this.props.isOpen) {\n this.present()\n }\n }\n\n componentWillUnmount () {\n if (this.overlay) {\n this.overlay.dismiss()\n }\n }\n\n handleDismiss (event: CustomEvent<OverlayEventDetail<any>>) {\n if (this.props.onDidDismiss) {\n this.props.onDidDismiss(event)\n }\n setRef(this.props.forwardedRef, null)\n }\n\n shouldComponentUpdate (nextProps: Props) {\n // Check if the overlay component is about to dismiss\n if (this.overlay && nextProps.isOpen !== this.props.isOpen && nextProps.isOpen === false) {\n isDismissing = true\n }\n\n return true\n }\n\n async componentDidUpdate (prevProps: Props) {\n if (this.overlay) {\n attachProps(this.overlay, this.props, prevProps)\n }\n\n if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {\n this.present(prevProps)\n }\n if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {\n await this.overlay.dismiss()\n isDismissing = false\n\n /**\n * Now that the overlay is dismissed\n * we need to render again so that any\n * inner components will be unmounted\n */\n this.forceUpdate()\n }\n }\n\n async present (prevProps?: Props) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent, ...cProps } = this.props\n const elementProps = {\n ...cProps,\n ref: this.props.forwardedRef,\n [didDismissEventName]: this.handleDismiss,\n [didPresentEventName]: (e: CustomEvent) => this.props.onDidPresent && this.props.onDidPresent(e),\n [willDismissEventName]: (e: CustomEvent) => this.props.onWillDismiss && this.props.onWillDismiss(e),\n [willPresentEventName]: (e: CustomEvent) => this.props.onWillPresent && this.props.onWillPresent(e),\n }\n\n this.overlay = await controller.create({\n ...elementProps,\n component: this.el,\n componentProps: {},\n })\n\n setRef(this.props.forwardedRef, this.overlay)\n attachProps(this.overlay, elementProps, prevProps)\n\n await this.overlay.present()\n }\n\n render () {\n /**\n * Continue to render the component even when\n * overlay is dismissing otherwise component\n * will be hidden before animation is done.\n */\n return ReactDOM.createPortal(this.props.isOpen || isDismissing ? this.props.children : null, this.el)\n }\n }\n\n return React.forwardRef<OverlayType, Props>((props, ref) => {\n // Note: 组件库错误引入 vue 的 ts 类型,导致 ts 报错,这里先忽略\n // @ts-ignore\n return <Overlay {...props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CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;SACtG;AACF,KAAA;IAED,OAAO,KAAK,CAAC,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,KAAI;;;QAGzD,OAAO,KAAA,CAAA,aAAA,CAAC,OAAO,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,IAAE,YAAY,EAAE,GAAG,EAAA,CAAA,CAAI,CAAA;AAClD,KAAC,CAAC,CAAA;AACJ;;;;"}
@@ -1,2 +1,2 @@
1
- export { createReactComponent } from './createComponent';
2
- export { createOverlayComponent } from './createOverlayComponent';
1
+ export { createReactComponent } from "./createComponent.js";
2
+ export { createOverlayComponent } from "./createOverlayComponent.js";
@@ -1,5 +1,5 @@
1
- export declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
2
- export declare const isCoveredByReact: (__eventNameSuffix: string) => boolean;
1
+ declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
2
+ declare const isCoveredByReact: (__eventNameSuffix: string) => boolean;
3
3
  interface EventCenter {
4
4
  [key: string]: EventCenter.EventCallback | undefined;
5
5
  }
@@ -12,7 +12,7 @@ declare namespace EventCenter {
12
12
  type HTMLElementWithEvents = HTMLElement & {
13
13
  __events?: EventCenter;
14
14
  };
15
- export declare const syncEvent: (node: HTMLElementWithEvents, eventName: string, newEventHandler?: (e: Event) => any) => void;
16
- export declare const attachProps: (node: HTMLElementWithEvents, newProps: any, oldProps?: any) => void;
17
- export declare function applyUnControlledDefaultValue(node: HTMLElementWithEvents, props: any): void;
18
- export {};
15
+ declare const syncEvent: (node: HTMLElementWithEvents, eventName: string, newEventHandler?: (e: Event) => any) => void;
16
+ declare const attachProps: (node: HTMLElementWithEvents, newProps: any, oldProps?: any) => void;
17
+ declare function applyUnControlledDefaultValue(node: HTMLElementWithEvents, props: any): void;
18
+ export { getClassName, isCoveredByReact, syncEvent, attachProps, applyUnControlledDefaultValue };
@@ -79,8 +79,8 @@ function finishedEventHandler(node) {
79
79
  const syncEvent = (node, eventName, newEventHandler) => {
80
80
  const eventStore = node.__events || (node.__events = {});
81
81
  const oldEventHandler = eventStore[eventName];
82
- if (!newEventHandler) {
83
- oldEventHandler && node.removeEventListener(eventName, oldEventHandler);
82
+ if (!newEventHandler && oldEventHandler) {
83
+ node.removeEventListener(eventName, oldEventHandler);
84
84
  }
85
85
  else {
86
86
  if (oldEventHandler) {
@@ -1 +1 @@
1
- {"version":3,"file":"attachProps.js","sources":["../../../../../taro-components-library-react/src/react-component-lib/utils/attachProps.ts"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/utils/attachProps.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport { flushSync, unstable_batchedUpdates } from 'react-dom'\n\nimport { camelToDashCase } from './case'\n\nconst arrayToMap = (arr: string[] | DOMTokenList) => {\n const map = new Map<string, string>();\n (arr as string[]).forEach((s: string) => map.set(s, s))\n return map\n}\n\nexport const getClassName = (classList: DOMTokenList, newProps: any, oldProps: any) => {\n const newClassProp: string = newProps.className || newProps.class\n const oldClassProp: string = oldProps.className || oldProps.class\n // map the classes to Maps for performance\n const currentClasses = arrayToMap(classList)\n const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : [])\n const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : [])\n const finalClassNames: string[] = []\n // loop through each of the current classes on the component\n // to see if it should be a part of the classNames added\n currentClasses.forEach((currentClass) => {\n if (incomingPropClasses.has(currentClass)) {\n // add it as its already included in classnames coming in from newProps\n finalClassNames.push(currentClass)\n incomingPropClasses.delete(currentClass)\n } else if (!oldPropClasses.has(currentClass)) {\n // add it as it has NOT been removed by user\n finalClassNames.push(currentClass)\n }\n })\n incomingPropClasses.forEach((s) => finalClassNames.push(s))\n return finalClassNames.join(' ')\n}\n\n// Note(taro): 禁用 react 合成事件抛出 (避免自定义事件属性调用问题, 例如: event.detail.value 等)\nexport const isCoveredByReact = (__eventNameSuffix: string) => false\n\ninterface EventCenter {\n [key: string]: EventCenter.EventCallback | undefined\n}\n\nnamespace EventCenter {\n export interface EventCallback {\n (e: Event): any\n fn?: (e: Event) => any\n }\n}\n\ntype HTMLElementWithEvents = HTMLElement & { __events?: EventCenter }\n\nfunction getComponentName (node: HTMLElement): string {\n return node.tagName.replace(/^TARO-/, '').replace(/-CORE$/, '')\n}\n\nfunction getControlledValue (node: HTMLElement): string | null {\n const componentName = getComponentName(node)\n if (['INPUT', 'TEXTAREA', 'SLIDER', 'PICKER'].includes(componentName)) {\n return 'value'\n } else if (componentName === 'SWITCH') {\n // Radio、Checkbox 受 RadioGroup、CheckboxGroup 控制,不支持受控\n return 'checked'\n } else {\n return null\n }\n}\n\nfunction getPropsAfterReactUpdate (node: HTMLElement): Record<string, any> | null {\n const key = Object.keys(node).find(key => key.includes('__reactProps'))\n if (key) {\n return node[key] as Record<string, any>\n } else {\n return null\n }\n}\n\nfunction finishedEventHandler (node: HTMLElement) {\n const controlledValue = getControlledValue(node)\n\n // 不是可以受控的表单组件,直接返回\n if (!controlledValue) return\n\n // 立即执行事件回调中用户可能触发了的 React 更新\n flushSync(() => {})\n\n // 组件在 React 更新后的 React props\n const newProps = getPropsAfterReactUpdate(node)\n if (newProps?.hasOwnProperty(controlledValue) && newProps[controlledValue] !== node[controlledValue]) {\n // 如果 React Props 的 value 和 DOM 上的 value 不一致,以 React Props 为准(受控)\n node[controlledValue] = newProps[controlledValue]\n node.setAttribute(controlledValue, newProps[controlledValue])\n }\n}\n\nexport const syncEvent = (\n node: HTMLElementWithEvents,\n eventName: string,\n newEventHandler?: (e: Event) => any\n) => {\n const eventStore = node.__events ||= {}\n const oldEventHandler = eventStore[eventName]\n\n if (!newEventHandler) {\n oldEventHandler && node.removeEventListener(eventName, oldEventHandler)\n } else {\n if (oldEventHandler) {\n if (oldEventHandler.fn === newEventHandler) {\n return\n } else {\n // 删除旧的,绑定新的\n node.removeEventListener(eventName, oldEventHandler)\n }\n }\n\n const listener: EventCenter.EventCallback = eventStore[eventName] = function (e: Event) {\n // React batch event updates\n unstable_batchedUpdates(() => newEventHandler.call(this, e))\n // 控制是否更新受控组件的 value 值\n finishedEventHandler(node)\n }\n listener.fn = newEventHandler\n node.addEventListener(\n eventName,\n listener\n )\n }\n}\n\n// TODO(performace): ReactComponent 已更新了一次,这里手动更新可能存在重复设置属性的问题\nexport const attachProps = (node: HTMLElementWithEvents, newProps: any, oldProps: any = {}) => {\n // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first\n if (node instanceof Element) {\n Object.keys(oldProps).forEach((name) => {\n if (['style', 'children', 'ref', 'class', 'className', 'forwardedRef'].includes(name)) {\n return\n }\n // Note: 移除节点上冗余事件、属性\n if (!newProps.hasOwnProperty(name)) {\n if (/^on([A-Z].*)/.test(name)) {\n const eventName = name.substring(2)\n const eventNameLc = eventName.toLowerCase()\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc)\n }\n } else {\n (node as any)[name] = null\n node.removeAttribute(camelToDashCase(name))\n }\n }\n })\n // add any classes in className to the class list\n node.className = getClassName(node.classList, newProps, oldProps)\n\n Object.keys(newProps).forEach((name) => {\n /** Note(taro): 优化 style 属性的处理\n * 1. 考虑到兼容旧版本项目,支持使用字符串配置 style 属性,但这并非推荐写法,且不考虑优化在 style 移除时同步删除属性\n * 2. style 属性应当交与前端 UI 框架自行处理,不考虑实现类似于 reactify-wc 的更新策略\n */\n if ((name === 'style' && typeof newProps[name] !== 'string') || ['children', 'ref', 'class', 'className', 'forwardedRef'].includes(name)) {\n return\n }\n if (/^on([A-Z].*)/.test(name)) {\n const eventName = name.substring(2)\n const eventNameLc = eventName.toLowerCase()\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc, newProps[name])\n }\n } else {\n (node as any)[name] = newProps[name]\n const propType = typeof newProps[name]\n if (propType === 'string') {\n node.setAttribute(camelToDashCase(name), newProps[name])\n }\n }\n })\n\n // 保证受控组件会被默认绑定一个空事件,用于触发 finishedEventHandler 中的受控逻辑\n const controlledValue = getControlledValue(node)\n if (\n controlledValue &&\n newProps.hasOwnProperty(controlledValue)\n ) {\n const handleChangeEvent = ['INPUT', 'TEXTAREA'].includes(getComponentName(node)) ? 'input' : 'change'\n node.__events ||= {}\n if (!node.__events.hasOwnProperty(handleChangeEvent)) {\n syncEvent(node, handleChangeEvent, function () {})\n }\n }\n }\n}\n\nexport function applyUnControlledDefaultValue (node: HTMLElementWithEvents, props: any) {\n const controlledValue = getControlledValue(node)\n\n // 不是可以受控的表单组件,直接返回\n if (!controlledValue) return\n\n const defaultValueName = 'default' + controlledValue.charAt(0).toUpperCase() + controlledValue.slice(1)\n if (!props.hasOwnProperty(controlledValue) && props.hasOwnProperty(defaultValueName)) {\n // 如果是可以受控的表单组件,当没有传入 value/checked 而是传入 defaultValue/defaultChecked 时,把表单值初始化为 defaultValue/defaultChecked\n node[controlledValue] = props[defaultValueName]\n node.setAttribute(controlledValue, props[defaultValueName])\n }\n}\n"],"names":[],"mappings":";;;AAAA;;;AAGG;AAKH,MAAM,UAAU,GAAG,CAAC,GAA4B,KAAI;AAClD,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,EAAkB,CAAC;AACrC,IAAA,GAAgB,CAAC,OAAO,CAAC,CAAC,CAAS,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AACvD,IAAA,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA;AAEY,MAAA,YAAY,GAAG,CAAC,SAAuB,EAAE,QAAa,EAAE,QAAa,KAAI;IACpF,MAAM,YAAY,GAAW,QAAQ,CAAC,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAA;IACjE,MAAM,YAAY,GAAW,QAAQ,CAAC,S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AC,CAAC,CAAA;AACvG,IAAA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE;;QAEpF,IAAI,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,gBAAgB,CAAC,CAAA;QAC/C,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAA;KAC5D;AACH;;;;"}
1
+ {"version":3,"file":"attachProps.js","sources":["../../../../../taro-components-library-react/src/react-component-lib/utils/attachProps.ts"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/utils/attachProps.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport { flushSync, unstable_batchedUpdates } from 'react-dom'\n\nimport { camelToDashCase } from './case'\n\nconst arrayToMap = (arr: string[] | DOMTokenList) => {\n const map = new Map<string, string>();\n (arr as string[]).forEach((s: string) => map.set(s, s))\n return map\n}\n\nexport const getClassName = (classList: DOMTokenList, newProps: any, oldProps: any) => {\n const newClassProp: string = newProps.className || newProps.class\n const oldClassProp: string = oldProps.className || oldProps.class\n // map the classes to Maps for performance\n const currentClasses = arrayToMap(classList)\n const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : [])\n const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : [])\n const finalClassNames: string[] = []\n // loop through each of the current classes on the component\n // to see if it should be a part of the classNames added\n currentClasses.forEach((currentClass) => {\n if (incomingPropClasses.has(currentClass)) {\n // add it as its already included in classnames coming in from newProps\n finalClassNames.push(currentClass)\n incomingPropClasses.delete(currentClass)\n } else if (!oldPropClasses.has(currentClass)) {\n // add it as it has NOT been removed by user\n finalClassNames.push(currentClass)\n }\n })\n incomingPropClasses.forEach((s) => finalClassNames.push(s))\n return finalClassNames.join(' ')\n}\n\n// Note(taro): 禁用 react 合成事件抛出 (避免自定义事件属性调用问题, 例如: event.detail.value 等)\nexport const isCoveredByReact = (__eventNameSuffix: string) => false\n\ninterface EventCenter {\n [key: string]: EventCenter.EventCallback | undefined\n}\n\nnamespace EventCenter {\n export interface EventCallback {\n (e: Event): any\n fn?: (e: Event) => any\n }\n}\n\ntype HTMLElementWithEvents = HTMLElement & { __events?: EventCenter }\n\nfunction getComponentName (node: HTMLElement): string {\n return node.tagName.replace(/^TARO-/, '').replace(/-CORE$/, '')\n}\n\nfunction getControlledValue (node: HTMLElement): string | null {\n const componentName = getComponentName(node)\n if (['INPUT', 'TEXTAREA', 'SLIDER', 'PICKER'].includes(componentName)) {\n return 'value'\n } else if (componentName === 'SWITCH') {\n // Radio、Checkbox 受 RadioGroup、CheckboxGroup 控制,不支持受控\n return 'checked'\n } else {\n return null\n }\n}\n\nfunction getPropsAfterReactUpdate (node: HTMLElement): Record<string, any> | null {\n const key = Object.keys(node).find(key => key.includes('__reactProps'))\n if (key) {\n return node[key] as Record<string, any>\n } else {\n return null\n }\n}\n\nfunction finishedEventHandler (node: HTMLElement) {\n const controlledValue = getControlledValue(node)\n\n // 不是可以受控的表单组件,直接返回\n if (!controlledValue) return\n\n // 立即执行事件回调中用户可能触发了的 React 更新\n flushSync(() => {})\n\n // 组件在 React 更新后的 React props\n const newProps = getPropsAfterReactUpdate(node)\n if (newProps?.hasOwnProperty(controlledValue) && newProps[controlledValue] !== node[controlledValue]) {\n // 如果 React Props 的 value 和 DOM 上的 value 不一致,以 React Props 为准(受控)\n node[controlledValue] = newProps[controlledValue]\n node.setAttribute(controlledValue, newProps[controlledValue])\n }\n}\n\nexport const syncEvent = (\n node: HTMLElementWithEvents,\n eventName: string,\n newEventHandler?: (e: Event) => any\n) => {\n const eventStore = node.__events ||= {}\n const oldEventHandler = eventStore[eventName]\n\n if (!newEventHandler && oldEventHandler) {\n node.removeEventListener(eventName, oldEventHandler)\n } else {\n if (oldEventHandler) {\n if (oldEventHandler.fn === newEventHandler) {\n return\n } else {\n // 删除旧的,绑定新的\n node.removeEventListener(eventName, oldEventHandler)\n }\n }\n\n const listener: EventCenter.EventCallback = eventStore[eventName] = function (e: Event) {\n // React batch event updates\n unstable_batchedUpdates(() => newEventHandler.call(this, e))\n // 控制是否更新受控组件的 value 值\n finishedEventHandler(node)\n }\n listener.fn = newEventHandler\n node.addEventListener(\n eventName,\n listener\n )\n }\n}\n\n// TODO(performace): ReactComponent 已更新了一次,这里手动更新可能存在重复设置属性的问题\nexport const attachProps = (node: HTMLElementWithEvents, newProps: any, oldProps: any = {}) => {\n // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first\n if (node instanceof Element) {\n Object.keys(oldProps).forEach((name) => {\n if (['style', 'children', 'ref', 'class', 'className', 'forwardedRef'].includes(name)) {\n return\n }\n // Note: 移除节点上冗余事件、属性\n if (!newProps.hasOwnProperty(name)) {\n if (/^on([A-Z].*)/.test(name)) {\n const eventName = name.substring(2)\n const eventNameLc = eventName.toLowerCase()\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc)\n }\n } else {\n (node as any)[name] = null\n node.removeAttribute(camelToDashCase(name))\n }\n }\n })\n // add any classes in className to the class list\n node.className = getClassName(node.classList, newProps, oldProps)\n\n Object.keys(newProps).forEach((name) => {\n /** Note(taro): 优化 style 属性的处理\n * 1. 考虑到兼容旧版本项目,支持使用字符串配置 style 属性,但这并非推荐写法,且不考虑优化在 style 移除时同步删除属性\n * 2. style 属性应当交与前端 UI 框架自行处理,不考虑实现类似于 reactify-wc 的更新策略\n */\n if ((name === 'style' && typeof newProps[name] !== 'string') || ['children', 'ref', 'class', 'className', 'forwardedRef'].includes(name)) {\n return\n }\n if (/^on([A-Z].*)/.test(name)) {\n const eventName = name.substring(2)\n const eventNameLc = eventName.toLowerCase()\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc, newProps[name])\n }\n } else {\n (node as any)[name] = newProps[name]\n const propType = typeof newProps[name]\n if (propType === 'string') {\n node.setAttribute(camelToDashCase(name), newProps[name])\n }\n }\n })\n\n // 保证受控组件会被默认绑定一个空事件,用于触发 finishedEventHandler 中的受控逻辑\n const controlledValue = getControlledValue(node)\n if (\n controlledValue &&\n newProps.hasOwnProperty(controlledValue)\n ) {\n const handleChangeEvent = ['INPUT', 'TEXTAREA'].includes(getComponentName(node)) ? 'input' : 'change'\n node.__events ||= {}\n if (!node.__events.hasOwnProperty(handleChangeEvent)) {\n syncEvent(node, handleChangeEvent, function () {})\n }\n }\n }\n}\n\nexport function applyUnControlledDefaultValue (node: HTMLElementWithEvents, props: any) {\n const controlledValue = getControlledValue(node)\n\n // 不是可以受控的表单组件,直接返回\n if (!controlledValue) return\n\n const defaultValueName = 'default' + controlledValue.charAt(0).toUpperCase() + controlledValue.slice(1)\n if (!props.hasOwnProperty(controlledValue) && props.hasOwnProperty(defaultValueName)) {\n // 如果是可以受控的表单组件,当没有传入 value/checked 而是传入 defaultValue/defaultChecked 时,把表单值初始化为 defaultValue/defaultChecked\n node[controlledValue] = props[defaultValueName]\n node.setAttribute(controlledValue, props[defaultValueName])\n }\n}\n"],"names":[],"mappings":";;;AAAA;;;AAGG;AAKH,MAAM,UAAU,GAAG,CAAC,GAA4B,KAAI;AAClD,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,EAAkB,CAAC;AACrC,IAAA,GAAgB,CAAC,OAAO,CAAC,CAAC,CAAS,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AACvD,IAAA,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA;AAEY,MAAA,YAAY,GAAG,CAAC,SAAuB,EAAE,QAAa,EAAE,QAAa,KAAI;IACpF,MAAM,YAAY,GAAW,QAAQ,CAAC,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAA;IACjE,MAAM,YAAY,GAAW,QAAQ,CAAC,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAA;;AAEjE,IAAA,MAAM,cAAc,GA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,eAAe;QAAE,OAAM;IAE5B,MAAM,gBAAgB,GAAG,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;AACvG,IAAA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE;;QAEpF,IAAI,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,gBAAgB,CAAC,CAAA;QAC/C,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAC5D,KAAA;AACH;;;;"}
@@ -2,5 +2,6 @@
2
2
  * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/utils/case.ts
3
3
  * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
4
4
  */
5
- export declare const dashToPascalCase: (str: string) => string;
6
- export declare const camelToDashCase: (str: string) => string;
5
+ declare const dashToPascalCase: (str: string) => string;
6
+ declare const camelToDashCase: (str: string) => string;
7
+ export { dashToPascalCase, camelToDashCase };
@@ -3,12 +3,13 @@
3
3
  * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE
4
4
  */
5
5
  import React from 'react';
6
- import type { StyleReactProps } from '../interfaces';
7
- export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
8
- export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
9
- export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
10
- export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
11
- export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
12
- export declare const defineCustomElement: (tagName: string, customElement: any) => void;
13
- export * from './attachProps';
14
- export * from './case';
6
+ import { StyleReactProps } from "../../interfaces-f526f1a2.js";
7
+ type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
8
+ type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
9
+ declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
10
+ declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
11
+ declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
12
+ declare const defineCustomElement: (tagName: string, customElement: any) => void;
13
+ export { StencilReactExternalProps, StencilReactForwardedRef, setRef, mergeRefs, createForwardRef, defineCustomElement };
14
+ export * from "./attachProps.js";
15
+ export * from "./case.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../taro-components-library-react/src/react-component-lib/utils/index.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/utils/index.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React from 'react'\n\nimport type { StyleReactProps } from '../interfaces'\n\nexport type StencilReactExternalProps<PropType, ElementType> = PropType &\nOmit<React.HTMLAttributes<ElementType>, 'style'> &\nStyleReactProps;\n\n// This will be replaced with React.ForwardedRef when react-output-target is upgraded to React v17\nexport type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;\n\nexport const setRef = (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => {\n if (typeof ref === 'function') {\n ref(value)\n } else if (ref != null) {\n // Cast as a MutableRef so we can assign current\n (ref as React.MutableRefObject<any>).current = value\n }\n}\n\nexport const mergeRefs = (\n ...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]\n): React.RefCallback<any> => {\n return (value: any) => {\n refs.forEach((ref) => {\n setRef(ref, value)\n })\n }\n}\n\nexport const createForwardRef = <PropType, ElementType>(ReactComponent: any, displayName: string) => {\n const forwardRef = (\n props: StencilReactExternalProps<PropType, ElementType>,\n ref: StencilReactForwardedRef<ElementType>\n ) => {\n return <ReactComponent {...props} forwardedRef={ref} />\n }\n forwardRef.displayName = displayName\n\n return React.forwardRef(forwardRef)\n}\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {\n customElements.define(tagName, customElement)\n }\n}\n\nexport * from './attachProps'\nexport * from './case'\n"],"names":[],"mappings":";;;;AAAA;;;AAGG;MAYU,MAAM,GAAG,CAAC,GAA+D,EAAE,KAAU,KAAI;AACpG,IAAA,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;QAC7B,GAAG,CAAC,KAAK,CAAC,CAAA;KACX;AAAM,SAAA,IAAI,GAAG,IAAI,IAAI,EAAE;;AAErB,QAAA,GAAmC,CAAC,OAAO,GAAG,KAAK,CAAA;KACrD;AACH,EAAC;MAEY,SAAS,GAAG,CACvB,GAAG,IAAoE,KAC7C;IAC1B,OAAO,CAAC,KAAU,KAAI;AACpB,QAAA,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AACnB,YAAA,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;AACpB,SAAC,CAAC,CAAA;AACJ,KAAC,CAAA;AACH,EAAC;MAEY,gBAAgB,GAAG,CAAwB,cAAmB,EAAE,WAAmB,KAAI;AAClG,IAAA,MAAM,UAAU,GAAG,CACjB,KAAuD,EACvD,GAA0C,KACxC;QACF,OAAO,KAAA,CAAA,aAAA,CAAC,cAAc,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,IAAE,YAAY,EAAE,GAAG,EAAA,CAAA,CAAI,CAAA;AACzD,KAAC,CAAA;AACD,IAAA,UAAU,CAAC,WAAW,GAAG,WAAW,CAAA;AAEpC,IAAA,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAA;AACrC,EAAC;MAEY,mBAAmB,GAAG,CAAC,OAAe,EAAE,aAAkB,KAAI;AACzE,IAAA,IAAI,aAAa,KAAK,SAAS,IAAI,OAAO,cAAc,KAAK,WAAW,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;AACxG,QAAA,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;KAC9C;AACH;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../taro-components-library-react/src/react-component-lib/utils/index.tsx"],"sourcesContent":["/**\n * Modify from https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/utils/index.ts\n * MIT License https://github.com/ionic-team/stencil-ds-output-targets/blob/main/LICENSE\n */\nimport React from 'react'\n\nimport type { StyleReactProps } from '../interfaces'\n\nexport type StencilReactExternalProps<PropType, ElementType> = PropType &\nOmit<React.HTMLAttributes<ElementType>, 'style'> &\nStyleReactProps;\n\n// This will be replaced with React.ForwardedRef when react-output-target is upgraded to React v17\nexport type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;\n\nexport const setRef = (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => {\n if (typeof ref === 'function') {\n ref(value)\n } else if (ref != null) {\n // Cast as a MutableRef so we can assign current\n (ref as React.MutableRefObject<any>).current = value\n }\n}\n\nexport const mergeRefs = (\n ...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]\n): React.RefCallback<any> => {\n return (value: any) => {\n refs.forEach((ref) => {\n setRef(ref, value)\n })\n }\n}\n\nexport const createForwardRef = <PropType, ElementType>(ReactComponent: any, displayName: string) => {\n const forwardRef = (\n props: StencilReactExternalProps<PropType, ElementType>,\n ref: StencilReactForwardedRef<ElementType>\n ) => {\n return <ReactComponent {...props} forwardedRef={ref} />\n }\n forwardRef.displayName = displayName\n\n return React.forwardRef(forwardRef)\n}\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {\n customElements.define(tagName, customElement)\n }\n}\n\nexport * from './attachProps'\nexport * from './case'\n"],"names":[],"mappings":";;;;AAAA;;;AAGG;MAYU,MAAM,GAAG,CAAC,GAA+D,EAAE,KAAU,KAAI;AACpG,IAAA,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;QAC7B,GAAG,CAAC,KAAK,CAAC,CAAA;AACX,KAAA;SAAM,IAAI,GAAG,IAAI,IAAI,EAAE;;AAErB,QAAA,GAAmC,CAAC,OAAO,GAAG,KAAK,CAAA;AACrD,KAAA;AACH,EAAC;MAEY,SAAS,GAAG,CACvB,GAAG,IAAoE,KAC7C;IAC1B,OAAO,CAAC,KAAU,KAAI;AACpB,QAAA,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AACnB,YAAA,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;AACpB,SAAC,CAAC,CAAA;AACJ,KAAC,CAAA;AACH,EAAC;MAEY,gBAAgB,GAAG,CAAwB,cAAmB,EAAE,WAAmB,KAAI;AAClG,IAAA,MAAM,UAAU,GAAG,CACjB,KAAuD,EACvD,GAA0C,KACxC;QACF,OAAO,KAAA,CAAA,aAAA,CAAC,cAAc,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,IAAE,YAAY,EAAE,GAAG,EAAA,CAAA,CAAI,CAAA;AACzD,KAAC,CAAA;AACD,IAAA,UAAU,CAAC,WAAW,GAAG,WAAW,CAAA;AAEpC,IAAA,OAAO,KAAK,CAAC,UAAU,CAAC,UAA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