@tarojs/components 3.6.0-canary.1 → 3.6.0-canary.11

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 (735) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/taro-animation-video-core.cjs.entry.js +23 -0
  3. package/dist/cjs/taro-animation-video-core.cjs.entry.js.map +1 -0
  4. package/dist/cjs/taro-animation-view-core.cjs.entry.js +23 -0
  5. package/dist/cjs/taro-animation-view-core.cjs.entry.js.map +1 -0
  6. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +23 -0
  7. package/dist/cjs/taro-ar-camera-core.cjs.entry.js.map +1 -0
  8. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +23 -0
  9. package/dist/cjs/taro-aweme-data-core.cjs.entry.js.map +1 -0
  10. package/dist/cjs/taro-button-core.cjs.entry.js +5 -0
  11. package/dist/cjs/taro-button-core.cjs.entry.js.map +1 -1
  12. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +23 -0
  13. package/dist/cjs/taro-comment-detail-core.cjs.entry.js.map +1 -0
  14. package/dist/cjs/taro-comment-list-core.cjs.entry.js +23 -0
  15. package/dist/cjs/taro-comment-list-core.cjs.entry.js.map +1 -0
  16. package/dist/cjs/taro-components.cjs.js +1 -1
  17. package/dist/cjs/taro-contact-button-core.cjs.entry.js +23 -0
  18. package/dist/cjs/taro-contact-button-core.cjs.entry.js.map +1 -0
  19. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +23 -0
  20. package/dist/cjs/taro-follow-swan-core.cjs.entry.js.map +1 -0
  21. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +23 -0
  22. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js.map +1 -0
  23. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +23 -0
  24. package/dist/cjs/taro-lifestyle-core.cjs.entry.js.map +1 -0
  25. package/dist/cjs/taro-like-core.cjs.entry.js +23 -0
  26. package/dist/cjs/taro-like-core.cjs.entry.js.map +1 -0
  27. package/dist/cjs/taro-login-core.cjs.entry.js +23 -0
  28. package/dist/cjs/taro-login-core.cjs.entry.js.map +1 -0
  29. package/dist/cjs/taro-lottie-core.cjs.entry.js +23 -0
  30. package/dist/cjs/taro-lottie-core.cjs.entry.js.map +1 -0
  31. package/dist/cjs/taro-native-slot-core.cjs.entry.js +23 -0
  32. package/dist/cjs/taro-native-slot-core.cjs.entry.js.map +1 -0
  33. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +23 -0
  34. package/dist/cjs/taro-rtc-room-core.cjs.entry.js.map +1 -0
  35. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +23 -0
  36. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js.map +1 -0
  37. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +1 -1
  39. package/dist/cjs/taro-slot-core.cjs.entry.js +5 -0
  40. package/dist/cjs/taro-slot-core.cjs.entry.js.map +1 -1
  41. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +5 -5
  42. package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
  43. package/dist/cjs/taro-tab-item-core.cjs.entry.js +23 -0
  44. package/dist/cjs/taro-tab-item-core.cjs.entry.js.map +1 -0
  45. package/dist/cjs/taro-tabbar.cjs.entry.js.map +1 -1
  46. package/dist/cjs/taro-tabs-core.cjs.entry.js +23 -0
  47. package/dist/cjs/taro-tabs-core.cjs.entry.js.map +1 -0
  48. package/dist/cjs/taro-view-core.cjs.entry.js +6 -2
  49. package/dist/cjs/taro-view-core.cjs.entry.js.map +1 -1
  50. package/dist/collection/collection-manifest.json +18 -0
  51. package/dist/collection/components/animation-video/animation-video.js +12 -0
  52. package/dist/collection/components/animation-video/animation-video.js.map +1 -0
  53. package/dist/collection/components/animation-view/animation-view.js +12 -0
  54. package/dist/collection/components/animation-view/animation-view.js.map +1 -0
  55. package/dist/collection/components/ar-camera/ar-camera.js +12 -0
  56. package/dist/collection/components/ar-camera/ar-camera.js.map +1 -0
  57. package/dist/collection/components/aweme-data/aweme-data.js +12 -0
  58. package/dist/collection/components/aweme-data/aweme-data.js.map +1 -0
  59. package/dist/collection/components/button/button.js +11 -0
  60. package/dist/collection/components/button/button.js.map +1 -1
  61. package/dist/collection/components/comment/comment-detail.js +12 -0
  62. package/dist/collection/components/comment/comment-detail.js.map +1 -0
  63. package/dist/collection/components/comment/comment-list.js +12 -0
  64. package/dist/collection/components/comment/comment-list.js.map +1 -0
  65. package/dist/collection/components/contact-button/contact-button.js +12 -0
  66. package/dist/collection/components/contact-button/contact-button.js.map +1 -0
  67. package/dist/collection/components/follow-swan/follow-swan.js +12 -0
  68. package/dist/collection/components/follow-swan/follow-swan.js.map +1 -0
  69. package/dist/collection/components/inline-payment-panel/inline-payment-panel.js +12 -0
  70. package/dist/collection/components/inline-payment-panel/inline-payment-panel.js.map +1 -0
  71. package/dist/collection/components/lifestyle/lifestyle.js +12 -0
  72. package/dist/collection/components/lifestyle/lifestyle.js.map +1 -0
  73. package/dist/collection/components/like/like.js +12 -0
  74. package/dist/collection/components/like/like.js.map +1 -0
  75. package/dist/collection/components/login/login.js +12 -0
  76. package/dist/collection/components/login/login.js.map +1 -0
  77. package/dist/collection/components/lottie/lottie.js +12 -0
  78. package/dist/collection/components/lottie/lottie.js.map +1 -0
  79. package/dist/collection/components/rtc-room/rtc-room-item.js +12 -0
  80. package/dist/collection/components/rtc-room/rtc-room-item.js.map +1 -0
  81. package/dist/collection/components/rtc-room/rtc-room.js +12 -0
  82. package/dist/collection/components/rtc-room/rtc-room.js.map +1 -0
  83. package/dist/collection/components/scroll-view/scroll-view.js +1 -1
  84. package/dist/collection/components/scroll-view/scroll-view.js.map +1 -1
  85. package/dist/collection/components/slot/native-slot.js +12 -0
  86. package/dist/collection/components/slot/native-slot.js.map +1 -0
  87. package/dist/collection/components/slot/slot.js +4 -0
  88. package/dist/collection/components/slot/slot.js.map +1 -1
  89. package/dist/collection/components/swiper/swiper.js +23 -5
  90. package/dist/collection/components/swiper/swiper.js.map +1 -1
  91. package/dist/collection/components/tabs/tab-item.js +12 -0
  92. package/dist/collection/components/tabs/tab-item.js.map +1 -0
  93. package/dist/collection/components/tabs/tabs.js +12 -0
  94. package/dist/collection/components/tabs/tabs.js.map +1 -0
  95. package/dist/collection/components/view/view.js +6 -2
  96. package/dist/collection/components/view/view.js.map +1 -1
  97. package/dist/components/helper.js +15 -0
  98. package/dist/components/helper.js.map +1 -0
  99. package/dist/components/hls.js +27622 -0
  100. package/dist/components/hls.js.map +1 -0
  101. package/dist/components/index.d.ts +97 -0
  102. package/dist/components/index.js +79 -0
  103. package/dist/components/index.js.map +1 -0
  104. package/dist/components/index2.js +78 -0
  105. package/dist/components/index2.js.map +1 -0
  106. package/dist/components/index3.js +33 -0
  107. package/dist/components/index3.js.map +1 -0
  108. package/dist/components/intersection-observer.js +728 -0
  109. package/dist/components/intersection-observer.js.map +1 -0
  110. package/dist/components/picker-group.js +220 -0
  111. package/dist/components/picker-group.js.map +1 -0
  112. package/dist/components/taro-ad-core.d.ts +11 -0
  113. package/dist/components/taro-ad-core.js +35 -0
  114. package/dist/components/taro-ad-core.js.map +1 -0
  115. package/dist/components/taro-ad-custom-core.d.ts +11 -0
  116. package/dist/components/taro-ad-custom-core.js +35 -0
  117. package/dist/components/taro-ad-custom-core.js.map +1 -0
  118. package/dist/components/taro-animation-video-core.d.ts +11 -0
  119. package/dist/components/taro-animation-video-core.js +35 -0
  120. package/dist/components/taro-animation-video-core.js.map +1 -0
  121. package/dist/components/taro-animation-view-core.d.ts +11 -0
  122. package/dist/components/taro-animation-view-core.js +35 -0
  123. package/dist/components/taro-animation-view-core.js.map +1 -0
  124. package/dist/components/taro-ar-camera-core.d.ts +11 -0
  125. package/dist/components/taro-ar-camera-core.js +35 -0
  126. package/dist/components/taro-ar-camera-core.js.map +1 -0
  127. package/dist/components/taro-audio-core.d.ts +11 -0
  128. package/dist/components/taro-audio-core.js +80 -0
  129. package/dist/components/taro-audio-core.js.map +1 -0
  130. package/dist/components/taro-aweme-data-core.d.ts +11 -0
  131. package/dist/components/taro-aweme-data-core.js +35 -0
  132. package/dist/components/taro-aweme-data-core.js.map +1 -0
  133. package/dist/components/taro-block-core.d.ts +11 -0
  134. package/dist/components/taro-block-core.js +31 -0
  135. package/dist/components/taro-block-core.js.map +1 -0
  136. package/dist/components/taro-button-core.d.ts +11 -0
  137. package/dist/components/taro-button-core.js +102 -0
  138. package/dist/components/taro-button-core.js.map +1 -0
  139. package/dist/components/taro-camera-core.d.ts +11 -0
  140. package/dist/components/taro-camera-core.js +35 -0
  141. package/dist/components/taro-camera-core.js.map +1 -0
  142. package/dist/components/taro-canvas-core.d.ts +11 -0
  143. package/dist/components/taro-canvas-core.js +57 -0
  144. package/dist/components/taro-canvas-core.js.map +1 -0
  145. package/dist/components/taro-checkbox-core.d.ts +11 -0
  146. package/dist/components/taro-checkbox-core.js +81 -0
  147. package/dist/components/taro-checkbox-core.js.map +1 -0
  148. package/dist/components/taro-checkbox-group-core.d.ts +11 -0
  149. package/dist/components/taro-checkbox-group-core.js +71 -0
  150. package/dist/components/taro-checkbox-group-core.js.map +1 -0
  151. package/dist/components/taro-comment-detail-core.d.ts +11 -0
  152. package/dist/components/taro-comment-detail-core.js +35 -0
  153. package/dist/components/taro-comment-detail-core.js.map +1 -0
  154. package/dist/components/taro-comment-list-core.d.ts +11 -0
  155. package/dist/components/taro-comment-list-core.js +35 -0
  156. package/dist/components/taro-comment-list-core.js.map +1 -0
  157. package/dist/components/taro-contact-button-core.d.ts +11 -0
  158. package/dist/components/taro-contact-button-core.js +35 -0
  159. package/dist/components/taro-contact-button-core.js.map +1 -0
  160. package/dist/components/taro-cover-image-core.d.ts +11 -0
  161. package/dist/components/taro-cover-image-core.js +52 -0
  162. package/dist/components/taro-cover-image-core.js.map +1 -0
  163. package/dist/components/taro-cover-view-core.d.ts +11 -0
  164. package/dist/components/taro-cover-view-core.js +89 -0
  165. package/dist/components/taro-cover-view-core.js.map +1 -0
  166. package/dist/components/taro-custom-wrapper-core.d.ts +11 -0
  167. package/dist/components/taro-custom-wrapper-core.js +31 -0
  168. package/dist/components/taro-custom-wrapper-core.js.map +1 -0
  169. package/dist/components/taro-editor-core.d.ts +11 -0
  170. package/dist/components/taro-editor-core.js +35 -0
  171. package/dist/components/taro-editor-core.js.map +1 -0
  172. package/dist/components/taro-follow-swan-core.d.ts +11 -0
  173. package/dist/components/taro-follow-swan-core.js +35 -0
  174. package/dist/components/taro-follow-swan-core.js.map +1 -0
  175. package/dist/components/taro-form-core.d.ts +11 -0
  176. package/dist/components/taro-form-core.js +140 -0
  177. package/dist/components/taro-form-core.js.map +1 -0
  178. package/dist/components/taro-functional-page-navigator-core.d.ts +11 -0
  179. package/dist/components/taro-functional-page-navigator-core.js +35 -0
  180. package/dist/components/taro-functional-page-navigator-core.js.map +1 -0
  181. package/dist/components/taro-icon-core.d.ts +11 -0
  182. package/dist/components/taro-icon-core.js +48 -0
  183. package/dist/components/taro-icon-core.js.map +1 -0
  184. package/dist/components/taro-image-core.d.ts +11 -0
  185. package/dist/components/taro-image-core.js +81 -0
  186. package/dist/components/taro-image-core.js.map +1 -0
  187. package/dist/components/taro-inline-payment-panel-core.d.ts +11 -0
  188. package/dist/components/taro-inline-payment-panel-core.js +35 -0
  189. package/dist/components/taro-inline-payment-panel-core.js.map +1 -0
  190. package/dist/components/taro-input-core.d.ts +11 -0
  191. package/dist/components/taro-input-core.js +246 -0
  192. package/dist/components/taro-input-core.js.map +1 -0
  193. package/dist/components/taro-keyboard-accessory-core.d.ts +11 -0
  194. package/dist/components/taro-keyboard-accessory-core.js +35 -0
  195. package/dist/components/taro-keyboard-accessory-core.js.map +1 -0
  196. package/dist/components/taro-label-core.d.ts +11 -0
  197. package/dist/components/taro-label-core.js +34 -0
  198. package/dist/components/taro-label-core.js.map +1 -0
  199. package/dist/components/taro-lifestyle-core.d.ts +11 -0
  200. package/dist/components/taro-lifestyle-core.js +35 -0
  201. package/dist/components/taro-lifestyle-core.js.map +1 -0
  202. package/dist/components/taro-like-core.d.ts +11 -0
  203. package/dist/components/taro-like-core.js +35 -0
  204. package/dist/components/taro-like-core.js.map +1 -0
  205. package/dist/components/taro-live-player-core.d.ts +11 -0
  206. package/dist/components/taro-live-player-core.js +35 -0
  207. package/dist/components/taro-live-player-core.js.map +1 -0
  208. package/dist/components/taro-live-pusher-core.d.ts +11 -0
  209. package/dist/components/taro-live-pusher-core.js +35 -0
  210. package/dist/components/taro-live-pusher-core.js.map +1 -0
  211. package/dist/components/taro-login-core.d.ts +11 -0
  212. package/dist/components/taro-login-core.js +35 -0
  213. package/dist/components/taro-login-core.js.map +1 -0
  214. package/dist/components/taro-lottie-core.d.ts +11 -0
  215. package/dist/components/taro-lottie-core.js +35 -0
  216. package/dist/components/taro-lottie-core.js.map +1 -0
  217. package/dist/components/taro-map-core.d.ts +11 -0
  218. package/dist/components/taro-map-core.js +35 -0
  219. package/dist/components/taro-map-core.js.map +1 -0
  220. package/dist/components/taro-match-media-core.d.ts +11 -0
  221. package/dist/components/taro-match-media-core.js +35 -0
  222. package/dist/components/taro-match-media-core.js.map +1 -0
  223. package/dist/components/taro-movable-area-core.d.ts +11 -0
  224. package/dist/components/taro-movable-area-core.js +175 -0
  225. package/dist/components/taro-movable-area-core.js.map +1 -0
  226. package/dist/components/taro-movable-view-core.d.ts +11 -0
  227. package/dist/components/taro-movable-view-core.js +361 -0
  228. package/dist/components/taro-movable-view-core.js.map +1 -0
  229. package/dist/components/taro-native-slot-core.d.ts +11 -0
  230. package/dist/components/taro-native-slot-core.js +35 -0
  231. package/dist/components/taro-native-slot-core.js.map +1 -0
  232. package/dist/components/taro-navigation-bar-core.d.ts +11 -0
  233. package/dist/components/taro-navigation-bar-core.js +35 -0
  234. package/dist/components/taro-navigation-bar-core.js.map +1 -0
  235. package/dist/components/taro-navigator-core.d.ts +11 -0
  236. package/dist/components/taro-navigator-core.js +96 -0
  237. package/dist/components/taro-navigator-core.js.map +1 -0
  238. package/dist/components/taro-official-account-core.d.ts +11 -0
  239. package/dist/components/taro-official-account-core.js +35 -0
  240. package/dist/components/taro-official-account-core.js.map +1 -0
  241. package/dist/components/taro-open-data-core.d.ts +11 -0
  242. package/dist/components/taro-open-data-core.js +35 -0
  243. package/dist/components/taro-open-data-core.js.map +1 -0
  244. package/dist/components/taro-page-container-core.d.ts +11 -0
  245. package/dist/components/taro-page-container-core.js +35 -0
  246. package/dist/components/taro-page-container-core.js.map +1 -0
  247. package/dist/components/taro-page-meta-core.d.ts +11 -0
  248. package/dist/components/taro-page-meta-core.js +35 -0
  249. package/dist/components/taro-page-meta-core.js.map +1 -0
  250. package/dist/components/taro-picker-core.d.ts +11 -0
  251. package/dist/components/taro-picker-core.js +538 -0
  252. package/dist/components/taro-picker-core.js.map +1 -0
  253. package/dist/components/taro-picker-group.d.ts +11 -0
  254. package/dist/components/taro-picker-group.js +8 -0
  255. package/dist/components/taro-picker-group.js.map +1 -0
  256. package/dist/components/taro-picker-view-column-core.d.ts +11 -0
  257. package/dist/components/taro-picker-view-column-core.js +115 -0
  258. package/dist/components/taro-picker-view-column-core.js.map +1 -0
  259. package/dist/components/taro-picker-view-core.d.ts +11 -0
  260. package/dist/components/taro-picker-view-core.js +114 -0
  261. package/dist/components/taro-picker-view-core.js.map +1 -0
  262. package/dist/components/taro-progress-core.d.ts +11 -0
  263. package/dist/components/taro-progress-core.js +62 -0
  264. package/dist/components/taro-progress-core.js.map +1 -0
  265. package/dist/components/taro-pull-to-refresh.d.ts +11 -0
  266. package/dist/components/taro-pull-to-refresh.js +284 -0
  267. package/dist/components/taro-pull-to-refresh.js.map +1 -0
  268. package/dist/components/taro-radio-core.d.ts +11 -0
  269. package/dist/components/taro-radio-core.js +83 -0
  270. package/dist/components/taro-radio-core.js.map +1 -0
  271. package/dist/components/taro-radio-group-core.d.ts +11 -0
  272. package/dist/components/taro-radio-group-core.js +82 -0
  273. package/dist/components/taro-radio-group-core.js.map +1 -0
  274. package/dist/components/taro-rich-text-core.d.ts +11 -0
  275. package/dist/components/taro-rich-text-core.js +86 -0
  276. package/dist/components/taro-rich-text-core.js.map +1 -0
  277. package/dist/components/taro-root-portal-core.d.ts +11 -0
  278. package/dist/components/taro-root-portal-core.js +35 -0
  279. package/dist/components/taro-root-portal-core.js.map +1 -0
  280. package/dist/components/taro-rtc-room-core.d.ts +11 -0
  281. package/dist/components/taro-rtc-room-core.js +35 -0
  282. package/dist/components/taro-rtc-room-core.js.map +1 -0
  283. package/dist/components/taro-rtc-room-item-core.d.ts +11 -0
  284. package/dist/components/taro-rtc-room-item-core.js +35 -0
  285. package/dist/components/taro-rtc-room-item-core.js.map +1 -0
  286. package/dist/components/taro-scroll-view-core.d.ts +11 -0
  287. package/dist/components/taro-scroll-view-core.js +184 -0
  288. package/dist/components/taro-scroll-view-core.js.map +1 -0
  289. package/dist/components/taro-share-element-core.d.ts +11 -0
  290. package/dist/components/taro-share-element-core.js +35 -0
  291. package/dist/components/taro-share-element-core.js.map +1 -0
  292. package/dist/components/taro-slider-core.d.ts +11 -0
  293. package/dist/components/taro-slider-core.js +196 -0
  294. package/dist/components/taro-slider-core.js.map +1 -0
  295. package/dist/components/taro-slot-core.d.ts +11 -0
  296. package/dist/components/taro-slot-core.js +35 -0
  297. package/dist/components/taro-slot-core.js.map +1 -0
  298. package/dist/components/taro-swiper-core.d.ts +11 -0
  299. package/dist/components/taro-swiper-core.js +10165 -0
  300. package/dist/components/taro-swiper-core.js.map +1 -0
  301. package/dist/components/taro-swiper-item-core.d.ts +11 -0
  302. package/dist/components/taro-swiper-item-core.js +34 -0
  303. package/dist/components/taro-swiper-item-core.js.map +1 -0
  304. package/dist/components/taro-switch-core.d.ts +11 -0
  305. package/dist/components/taro-switch-core.js +87 -0
  306. package/dist/components/taro-switch-core.js.map +1 -0
  307. package/dist/components/taro-tab-item-core.d.ts +11 -0
  308. package/dist/components/taro-tab-item-core.js +35 -0
  309. package/dist/components/taro-tab-item-core.js.map +1 -0
  310. package/dist/components/taro-tabbar.d.ts +11 -0
  311. package/dist/components/taro-tabbar.js +457 -0
  312. package/dist/components/taro-tabbar.js.map +1 -0
  313. package/dist/components/taro-tabs-core.d.ts +11 -0
  314. package/dist/components/taro-tabs-core.js +35 -0
  315. package/dist/components/taro-tabs-core.js.map +1 -0
  316. package/dist/components/taro-text-core.d.ts +11 -0
  317. package/dist/components/taro-text-core.js +41 -0
  318. package/dist/components/taro-text-core.js.map +1 -0
  319. package/dist/components/taro-textarea-core.d.ts +11 -0
  320. package/dist/components/taro-textarea-core.js +164 -0
  321. package/dist/components/taro-textarea-core.js.map +1 -0
  322. package/dist/components/taro-video-control.d.ts +11 -0
  323. package/dist/components/taro-video-control.js +8 -0
  324. package/dist/components/taro-video-control.js.map +1 -0
  325. package/dist/components/taro-video-core.d.ts +11 -0
  326. package/dist/components/taro-video-core.js +485 -0
  327. package/dist/components/taro-video-core.js.map +1 -0
  328. package/dist/components/taro-video-danmu.d.ts +11 -0
  329. package/dist/components/taro-video-danmu.js +8 -0
  330. package/dist/components/taro-video-danmu.js.map +1 -0
  331. package/dist/components/taro-view-core.d.ts +11 -0
  332. package/dist/components/taro-view-core.js +101 -0
  333. package/dist/components/taro-view-core.js.map +1 -0
  334. package/dist/components/taro-voip-room-core.d.ts +11 -0
  335. package/dist/components/taro-voip-room-core.js +35 -0
  336. package/dist/components/taro-voip-room-core.js.map +1 -0
  337. package/dist/components/taro-web-view-core.d.ts +11 -0
  338. package/dist/components/taro-web-view-core.js +46 -0
  339. package/dist/components/taro-web-view-core.js.map +1 -0
  340. package/dist/components/video-control.js +233 -0
  341. package/dist/components/video-control.js.map +1 -0
  342. package/dist/components/video-danmu.js +110 -0
  343. package/dist/components/video-danmu.js.map +1 -0
  344. package/dist/esm/loader.js +1 -1
  345. package/dist/esm/taro-animation-video-core.entry.js +19 -0
  346. package/dist/esm/taro-animation-video-core.entry.js.map +1 -0
  347. package/dist/esm/taro-animation-view-core.entry.js +19 -0
  348. package/dist/esm/taro-animation-view-core.entry.js.map +1 -0
  349. package/dist/esm/taro-ar-camera-core.entry.js +19 -0
  350. package/dist/esm/taro-ar-camera-core.entry.js.map +1 -0
  351. package/dist/esm/taro-aweme-data-core.entry.js +19 -0
  352. package/dist/esm/taro-aweme-data-core.entry.js.map +1 -0
  353. package/dist/esm/taro-button-core.entry.js +5 -0
  354. package/dist/esm/taro-button-core.entry.js.map +1 -1
  355. package/dist/esm/taro-comment-detail-core.entry.js +19 -0
  356. package/dist/esm/taro-comment-detail-core.entry.js.map +1 -0
  357. package/dist/esm/taro-comment-list-core.entry.js +19 -0
  358. package/dist/esm/taro-comment-list-core.entry.js.map +1 -0
  359. package/dist/esm/taro-components.js +1 -1
  360. package/dist/esm/taro-contact-button-core.entry.js +19 -0
  361. package/dist/esm/taro-contact-button-core.entry.js.map +1 -0
  362. package/dist/esm/taro-follow-swan-core.entry.js +19 -0
  363. package/dist/esm/taro-follow-swan-core.entry.js.map +1 -0
  364. package/dist/esm/taro-inline-payment-panel-core.entry.js +19 -0
  365. package/dist/esm/taro-inline-payment-panel-core.entry.js.map +1 -0
  366. package/dist/esm/taro-lifestyle-core.entry.js +19 -0
  367. package/dist/esm/taro-lifestyle-core.entry.js.map +1 -0
  368. package/dist/esm/taro-like-core.entry.js +19 -0
  369. package/dist/esm/taro-like-core.entry.js.map +1 -0
  370. package/dist/esm/taro-login-core.entry.js +19 -0
  371. package/dist/esm/taro-login-core.entry.js.map +1 -0
  372. package/dist/esm/taro-lottie-core.entry.js +19 -0
  373. package/dist/esm/taro-lottie-core.entry.js.map +1 -0
  374. package/dist/esm/taro-native-slot-core.entry.js +19 -0
  375. package/dist/esm/taro-native-slot-core.entry.js.map +1 -0
  376. package/dist/esm/taro-rtc-room-core.entry.js +19 -0
  377. package/dist/esm/taro-rtc-room-core.entry.js.map +1 -0
  378. package/dist/esm/taro-rtc-room-item-core.entry.js +19 -0
  379. package/dist/esm/taro-rtc-room-item-core.entry.js.map +1 -0
  380. package/dist/esm/taro-scroll-view-core.entry.js +1 -1
  381. package/dist/esm/taro-scroll-view-core.entry.js.map +1 -1
  382. package/dist/esm/taro-slot-core.entry.js +5 -0
  383. package/dist/esm/taro-slot-core.entry.js.map +1 -1
  384. package/dist/esm/taro-swiper-core_2.entry.js +5 -5
  385. package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
  386. package/dist/esm/taro-tab-item-core.entry.js +19 -0
  387. package/dist/esm/taro-tab-item-core.entry.js.map +1 -0
  388. package/dist/esm/taro-tabbar.entry.js.map +1 -1
  389. package/dist/esm/taro-tabs-core.entry.js +19 -0
  390. package/dist/esm/taro-tabs-core.entry.js.map +1 -0
  391. package/dist/esm/taro-view-core.entry.js +6 -2
  392. package/dist/esm/taro-view-core.entry.js.map +1 -1
  393. package/dist/esm-es5/loader.js +1 -1
  394. package/dist/esm-es5/loader.js.map +1 -1
  395. package/dist/esm-es5/taro-animation-video-core.entry.js +2 -0
  396. package/dist/esm-es5/taro-animation-video-core.entry.js.map +1 -0
  397. package/dist/esm-es5/taro-animation-view-core.entry.js +2 -0
  398. package/dist/esm-es5/taro-animation-view-core.entry.js.map +1 -0
  399. package/dist/esm-es5/taro-ar-camera-core.entry.js +2 -0
  400. package/dist/esm-es5/taro-ar-camera-core.entry.js.map +1 -0
  401. package/dist/esm-es5/taro-aweme-data-core.entry.js +2 -0
  402. package/dist/esm-es5/taro-aweme-data-core.entry.js.map +1 -0
  403. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  404. package/dist/esm-es5/taro-button-core.entry.js.map +1 -1
  405. package/dist/esm-es5/taro-comment-detail-core.entry.js +2 -0
  406. package/dist/esm-es5/taro-comment-detail-core.entry.js.map +1 -0
  407. package/dist/esm-es5/taro-comment-list-core.entry.js +2 -0
  408. package/dist/esm-es5/taro-comment-list-core.entry.js.map +1 -0
  409. package/dist/esm-es5/taro-components.js +1 -1
  410. package/dist/esm-es5/taro-components.js.map +1 -1
  411. package/dist/esm-es5/taro-contact-button-core.entry.js +2 -0
  412. package/dist/esm-es5/taro-contact-button-core.entry.js.map +1 -0
  413. package/dist/esm-es5/taro-follow-swan-core.entry.js +2 -0
  414. package/dist/esm-es5/taro-follow-swan-core.entry.js.map +1 -0
  415. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +2 -0
  416. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js.map +1 -0
  417. package/dist/esm-es5/taro-lifestyle-core.entry.js +2 -0
  418. package/dist/esm-es5/taro-lifestyle-core.entry.js.map +1 -0
  419. package/dist/esm-es5/taro-like-core.entry.js +2 -0
  420. package/dist/esm-es5/taro-like-core.entry.js.map +1 -0
  421. package/dist/esm-es5/taro-login-core.entry.js +2 -0
  422. package/dist/esm-es5/taro-login-core.entry.js.map +1 -0
  423. package/dist/esm-es5/taro-lottie-core.entry.js +2 -0
  424. package/dist/esm-es5/taro-lottie-core.entry.js.map +1 -0
  425. package/dist/esm-es5/taro-native-slot-core.entry.js +2 -0
  426. package/dist/esm-es5/taro-native-slot-core.entry.js.map +1 -0
  427. package/dist/esm-es5/taro-rtc-room-core.entry.js +2 -0
  428. package/dist/esm-es5/taro-rtc-room-core.entry.js.map +1 -0
  429. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +2 -0
  430. package/dist/esm-es5/taro-rtc-room-item-core.entry.js.map +1 -0
  431. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  432. package/dist/esm-es5/taro-scroll-view-core.entry.js.map +1 -1
  433. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  434. package/dist/esm-es5/taro-slot-core.entry.js.map +1 -1
  435. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  436. package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -1
  437. package/dist/esm-es5/taro-tab-item-core.entry.js +2 -0
  438. package/dist/esm-es5/taro-tab-item-core.entry.js.map +1 -0
  439. package/dist/esm-es5/taro-tabbar.entry.js.map +1 -1
  440. package/dist/esm-es5/taro-tabs-core.entry.js +2 -0
  441. package/dist/esm-es5/taro-tabs-core.entry.js.map +1 -0
  442. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  443. package/dist/esm-es5/taro-view-core.entry.js.map +1 -1
  444. package/dist/taro-components/p-0be383a9.system.entry.js +2 -0
  445. package/dist/taro-components/p-0be383a9.system.entry.js.map +1 -0
  446. package/dist/taro-components/p-186ad7ff.entry.js +2 -0
  447. package/dist/taro-components/p-186ad7ff.entry.js.map +1 -0
  448. package/dist/taro-components/{p-e9abe3e2.entry.js → p-19afe402.entry.js} +2 -2
  449. package/dist/taro-components/p-19afe402.entry.js.map +1 -0
  450. package/dist/taro-components/p-1a47133c.system.entry.js +2 -0
  451. package/dist/taro-components/p-1a47133c.system.entry.js.map +1 -0
  452. package/dist/taro-components/p-1ad0aa95.system.entry.js +2 -0
  453. package/dist/taro-components/p-1ad0aa95.system.entry.js.map +1 -0
  454. package/dist/taro-components/p-1b1420c9.system.entry.js +2 -0
  455. package/dist/taro-components/p-1b1420c9.system.entry.js.map +1 -0
  456. package/dist/taro-components/{p-a2aab820.entry.js → p-22315b9d.entry.js} +2 -2
  457. package/dist/taro-components/p-22315b9d.entry.js.map +1 -0
  458. package/dist/taro-components/p-281a2bcf.entry.js +2 -0
  459. package/dist/taro-components/p-281a2bcf.entry.js.map +1 -0
  460. package/dist/taro-components/p-28dade4f.entry.js +2 -0
  461. package/dist/taro-components/p-28dade4f.entry.js.map +1 -0
  462. package/dist/taro-components/p-31e10d77.system.entry.js +2 -0
  463. package/dist/taro-components/p-31e10d77.system.entry.js.map +1 -0
  464. package/dist/taro-components/p-36c64ed0.system.entry.js +2 -0
  465. package/dist/taro-components/p-36c64ed0.system.entry.js.map +1 -0
  466. package/dist/taro-components/p-37d71e63.entry.js +2 -0
  467. package/dist/taro-components/p-37d71e63.entry.js.map +1 -0
  468. package/dist/taro-components/p-386b9de8.entry.js +2 -0
  469. package/dist/taro-components/p-386b9de8.entry.js.map +1 -0
  470. package/dist/taro-components/{p-22f9f9fa.entry.js → p-427a2872.entry.js} +2 -2
  471. package/dist/taro-components/p-427a2872.entry.js.map +1 -0
  472. package/dist/taro-components/p-49a6cae4.system.entry.js.map +1 -1
  473. package/dist/taro-components/p-51040638.entry.js +2 -0
  474. package/dist/taro-components/p-51040638.entry.js.map +1 -0
  475. package/dist/taro-components/p-5bd1c1a1.entry.js +2 -0
  476. package/dist/taro-components/p-5bd1c1a1.entry.js.map +1 -0
  477. package/dist/taro-components/p-62d750a7.entry.js +2 -0
  478. package/dist/taro-components/p-62d750a7.entry.js.map +1 -0
  479. package/dist/taro-components/p-632f9a72.system.entry.js +2 -0
  480. package/dist/taro-components/p-632f9a72.system.entry.js.map +1 -0
  481. package/dist/taro-components/p-65971d99.entry.js +2 -0
  482. package/dist/taro-components/p-65971d99.entry.js.map +1 -0
  483. package/dist/taro-components/p-6c622fa2.system.entry.js +2 -0
  484. package/dist/taro-components/p-6c622fa2.system.entry.js.map +1 -0
  485. package/dist/taro-components/p-6cd941bc.entry.js +2 -0
  486. package/dist/taro-components/p-6cd941bc.entry.js.map +1 -0
  487. package/dist/taro-components/p-70defa84.entry.js +2 -0
  488. package/dist/taro-components/p-70defa84.entry.js.map +1 -0
  489. package/dist/taro-components/p-73106bc9.entry.js +2 -0
  490. package/dist/taro-components/p-73106bc9.entry.js.map +1 -0
  491. package/dist/taro-components/p-7afc274a.entry.js +2 -0
  492. package/dist/taro-components/p-7afc274a.entry.js.map +1 -0
  493. package/dist/taro-components/p-7bafbe22.entry.js +2 -0
  494. package/dist/taro-components/p-7bafbe22.entry.js.map +1 -0
  495. package/dist/taro-components/p-7e7a1e62.entry.js +2 -0
  496. package/dist/taro-components/p-7e7a1e62.entry.js.map +1 -0
  497. package/dist/taro-components/p-876edf66.entry.js +2 -0
  498. package/dist/taro-components/p-876edf66.entry.js.map +1 -0
  499. package/dist/taro-components/p-898aba38.system.entry.js +2 -0
  500. package/dist/taro-components/p-898aba38.system.entry.js.map +1 -0
  501. package/dist/taro-components/p-98901e99.system.entry.js +2 -0
  502. package/dist/taro-components/p-98901e99.system.entry.js.map +1 -0
  503. package/dist/taro-components/p-9f780103.system.entry.js +2 -0
  504. package/dist/taro-components/p-9f780103.system.entry.js.map +1 -0
  505. package/dist/taro-components/p-a4961ddd.entry.js +2 -0
  506. package/dist/taro-components/p-a4961ddd.entry.js.map +1 -0
  507. package/dist/taro-components/p-ad25cc91.system.entry.js +2 -0
  508. package/dist/taro-components/p-ad25cc91.system.entry.js.map +1 -0
  509. package/dist/taro-components/p-b4cccb3e.system.entry.js +2 -0
  510. package/dist/taro-components/p-b4cccb3e.system.entry.js.map +1 -0
  511. package/dist/taro-components/p-b6733e23.system.entry.js +2 -0
  512. package/dist/taro-components/p-b6733e23.system.entry.js.map +1 -0
  513. package/dist/taro-components/{p-1cd1c507.system.entry.js → p-c3c37cbb.system.entry.js} +2 -2
  514. package/dist/taro-components/p-c3c37cbb.system.entry.js.map +1 -0
  515. package/dist/taro-components/{p-c3acf0ea.system.entry.js → p-c43fe342.system.entry.js} +2 -2
  516. package/dist/taro-components/p-c43fe342.system.entry.js.map +1 -0
  517. package/dist/taro-components/p-cb17d8bd.system.js +1 -1
  518. package/dist/taro-components/p-cb17d8bd.system.js.map +1 -1
  519. package/dist/taro-components/p-d6441fd8.entry.js +2 -0
  520. package/dist/taro-components/p-d6441fd8.entry.js.map +1 -0
  521. package/dist/taro-components/{p-057159bc.system.entry.js → p-dcfb7d97.system.entry.js} +2 -2
  522. package/dist/taro-components/p-dcfb7d97.system.entry.js.map +1 -0
  523. package/dist/taro-components/p-e0d6b00b.entry.js.map +1 -1
  524. package/dist/taro-components/p-e5607803.system.entry.js +2 -0
  525. package/dist/taro-components/p-e5607803.system.entry.js.map +1 -0
  526. package/dist/taro-components/p-e7965c55.system.entry.js +2 -0
  527. package/dist/taro-components/p-e7965c55.system.entry.js.map +1 -0
  528. package/dist/taro-components/p-f00ee372.system.entry.js +2 -0
  529. package/dist/taro-components/p-f00ee372.system.entry.js.map +1 -0
  530. package/dist/taro-components/{p-7baff0b4.entry.js → p-f120c272.entry.js} +2 -2
  531. package/dist/taro-components/p-f120c272.entry.js.map +1 -0
  532. package/dist/taro-components/p-f81d14ad.entry.js +2 -0
  533. package/dist/taro-components/p-f81d14ad.entry.js.map +1 -0
  534. package/dist/taro-components/p-fae28cc1.system.entry.js +2 -0
  535. package/dist/taro-components/p-fae28cc1.system.entry.js.map +1 -0
  536. package/dist/taro-components/p-fb843ff2.system.entry.js +2 -0
  537. package/dist/taro-components/p-fb843ff2.system.entry.js.map +1 -0
  538. package/dist/taro-components/p-fc0fbcce.system.entry.js +2 -0
  539. package/dist/taro-components/p-fc0fbcce.system.entry.js.map +1 -0
  540. package/dist/taro-components/taro-components.esm.js +1 -1
  541. package/dist/taro-components/taro-components.esm.js.map +1 -1
  542. package/dist/types/components/animation-video/animation-video.d.ts +5 -0
  543. package/dist/types/components/animation-view/animation-view.d.ts +5 -0
  544. package/dist/types/components/ar-camera/ar-camera.d.ts +5 -0
  545. package/dist/types/components/aweme-data/aweme-data.d.ts +5 -0
  546. package/dist/types/components/button/button.d.ts +1 -0
  547. package/dist/types/components/comment/comment-detail.d.ts +5 -0
  548. package/dist/types/components/comment/comment-list.d.ts +5 -0
  549. package/dist/types/components/contact-button/contact-button.d.ts +5 -0
  550. package/dist/types/components/follow-swan/follow-swan.d.ts +5 -0
  551. package/dist/types/components/inline-payment-panel/inline-payment-panel.d.ts +5 -0
  552. package/dist/types/components/lifestyle/lifestyle.d.ts +5 -0
  553. package/dist/types/components/like/like.d.ts +5 -0
  554. package/dist/types/components/login/login.d.ts +5 -0
  555. package/dist/types/components/lottie/lottie.d.ts +5 -0
  556. package/dist/types/components/rtc-room/rtc-room-item.d.ts +5 -0
  557. package/dist/types/components/rtc-room/rtc-room.d.ts +5 -0
  558. package/dist/types/components/slot/native-slot.d.ts +5 -0
  559. package/dist/types/components/slot/slot.d.ts +1 -0
  560. package/dist/types/components/swiper/swiper.d.ts +4 -0
  561. package/dist/types/components/tabs/tab-item.d.ts +5 -0
  562. package/dist/types/components/tabs/tabs.d.ts +5 -0
  563. package/dist/types/components.d.ts +242 -0
  564. package/lib/react/components.d.ts +82 -0
  565. package/lib/react/components.js +85 -0
  566. package/lib/react/components.js.map +1 -0
  567. package/lib/react/helper.d.ts +10 -0
  568. package/lib/react/helper.js +7 -0
  569. package/lib/react/helper.js.map +1 -0
  570. package/lib/react/index.d.ts +1 -0
  571. package/lib/react/index.js +2 -0
  572. package/lib/react/index.js.map +1 -0
  573. package/lib/react/interfaces-4f837811.d.ts +30 -0
  574. package/lib/react/react-component-lib/createComponent.d.ts +10 -0
  575. package/lib/react/react-component-lib/createComponent.js +70 -0
  576. package/lib/react/react-component-lib/createComponent.js.map +1 -0
  577. package/lib/react/react-component-lib/createOverlayComponent.d.ts +21 -0
  578. package/lib/react/react-component-lib/createOverlayComponent.js +91 -0
  579. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -0
  580. package/lib/react/react-component-lib/index.d.ts +2 -0
  581. package/lib/react/react-component-lib/index.js +3 -0
  582. package/lib/react/react-component-lib/index.js.map +1 -0
  583. package/lib/react/react-component-lib/utils/attachProps.d.ts +13 -0
  584. package/lib/react/react-component-lib/utils/attachProps.js +101 -0
  585. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -0
  586. package/lib/react/react-component-lib/utils/case.d.ts +3 -0
  587. package/lib/react/react-component-lib/utils/case.js +9 -0
  588. package/lib/react/react-component-lib/utils/case.js.map +1 -0
  589. package/lib/react/react-component-lib/utils/index.d.ts +11 -0
  590. package/lib/react/react-component-lib/utils/index.js +37 -0
  591. package/lib/react/react-component-lib/utils/index.js.map +1 -0
  592. package/lib/vue2/components.d.ts +352 -0
  593. package/lib/vue2/components.js +620 -0
  594. package/lib/vue2/components.js.map +1 -0
  595. package/lib/vue2/index.d.ts +3 -0
  596. package/lib/vue2/index.js +21 -0
  597. package/lib/vue2/index.js.map +1 -0
  598. package/lib/vue2/vue-component-lib/utils.d.ts +6 -0
  599. package/lib/vue2/vue-component-lib/utils.js +32 -0
  600. package/lib/vue2/vue-component-lib/utils.js.map +1 -0
  601. package/lib/vue3/components.d.ts +82 -0
  602. package/lib/vue3/components.js +386 -0
  603. package/lib/vue3/components.js.map +1 -0
  604. package/lib/vue3/index.d.ts +3 -0
  605. package/lib/vue3/index.js +15 -0
  606. package/lib/vue3/index.js.map +1 -0
  607. package/lib/vue3/vue-component-lib/utils.d.ts +21 -0
  608. package/lib/vue3/vue-component-lib/utils.js +163 -0
  609. package/lib/vue3/vue-component-lib/utils.js.map +1 -0
  610. package/package.json +17 -9
  611. package/types/Ad.d.ts +1 -1
  612. package/types/AnimationVideo.d.ts +62 -0
  613. package/types/AnimationView.d.ts +45 -0
  614. package/types/ArCamera.d.ts +50 -0
  615. package/types/Audio.d.ts +1 -1
  616. package/types/AwemeData.d.ts +43 -0
  617. package/types/Button.d.ts +1 -1
  618. package/types/Camera.d.ts +1 -1
  619. package/types/Canvas.d.ts +1 -1
  620. package/types/Checkbox.d.ts +1 -1
  621. package/types/CheckboxGroup.d.ts +1 -1
  622. package/types/CommentDetail.d.ts +72 -0
  623. package/types/CommentList.d.ts +127 -0
  624. package/types/ContactButton.d.ts +53 -0
  625. package/types/CoverImage.d.ts +1 -1
  626. package/types/CoverView.d.ts +102 -4
  627. package/types/CustomWrapper.d.ts +2 -1
  628. package/types/FollowSwan.d.ts +28 -0
  629. package/types/Form.d.ts +1 -1
  630. package/types/Icon.d.ts +1 -1
  631. package/types/Image.d.ts +1 -1
  632. package/types/InlinePaymentPanel.d.ts +58 -0
  633. package/types/Input.d.ts +88 -11
  634. package/types/Label.d.ts +1 -1
  635. package/types/Lifestyle.d.ts +26 -0
  636. package/types/Like.d.ts +107 -0
  637. package/types/LivePlayer.d.ts +1 -1
  638. package/types/LivePusher.d.ts +1 -1
  639. package/types/Login.d.ts +45 -0
  640. package/types/Lottie.d.ts +113 -0
  641. package/types/Map.d.ts +2 -2
  642. package/types/MatchMedia.d.ts +1 -1
  643. package/types/MovableArea.d.ts +2 -2
  644. package/types/MovableView.d.ts +17 -17
  645. package/types/NativeSlot.d.ts +33 -0
  646. package/types/NavigationBar.d.ts +2 -1
  647. package/types/Navigator.d.ts +1 -1
  648. package/types/OpenData.d.ts +1 -1
  649. package/types/PageContainer.d.ts +28 -18
  650. package/types/PageMeta.d.ts +1 -1
  651. package/types/Picker.d.ts +1 -1
  652. package/types/PickerView.d.ts +1 -1
  653. package/types/PickerViewColumn.d.ts +1 -1
  654. package/types/Progress.d.ts +1 -1
  655. package/types/Radio.d.ts +1 -1
  656. package/types/RadioGroup.d.ts +1 -1
  657. package/types/RichText.d.ts +1 -1
  658. package/types/RootPortal.d.ts +11 -2
  659. package/types/RtcRoom.d.ts +104 -0
  660. package/types/RtcRoomItem.d.ts +26 -0
  661. package/types/ScrollView.d.ts +1 -1
  662. package/types/ShareElement.d.ts +20 -10
  663. package/types/Slider.d.ts +1 -1
  664. package/types/Slot.d.ts +3 -2
  665. package/types/Swiper.d.ts +13 -1
  666. package/types/SwiperItem.d.ts +3 -2
  667. package/types/Switch.d.ts +1 -1
  668. package/types/TabItem.d.ts +35 -0
  669. package/types/Tabs.d.ts +58 -0
  670. package/types/Text.d.ts +1 -1
  671. package/types/Textarea.d.ts +7 -1
  672. package/types/Video.d.ts +7 -3
  673. package/types/View.d.ts +8 -7
  674. package/types/VoipRoom.d.ts +1 -1
  675. package/types/WebView.d.ts +1 -1
  676. package/types/index.vue3.d.ts +268 -259
  677. package/virtual-list/index.d.ts +3 -120
  678. package/virtual-list/index.js +4 -7
  679. package/dist/react/component-lib/index.js +0 -64
  680. package/dist/react/component-lib/input.js +0 -23
  681. package/dist/react/component-lib/reactify-wc.js +0 -245
  682. package/dist/react/components.js +0 -65
  683. package/dist/react/helper.js +0 -13
  684. package/dist/react/index.js +0 -1
  685. package/dist/react/react-component-lib/index.js +0 -2
  686. package/dist/react/react-component-lib/interfaces.js +0 -1
  687. package/dist/react/react-component-lib/utils/attachProps.js +0 -107
  688. package/dist/react/react-component-lib/utils/case.js +0 -10
  689. package/dist/react/react-component-lib/utils/dev.js +0 -12
  690. package/dist/taro-components/p-057159bc.system.entry.js.map +0 -1
  691. package/dist/taro-components/p-1cd1c507.system.entry.js.map +0 -1
  692. package/dist/taro-components/p-1e436d5b.entry.js +0 -2
  693. package/dist/taro-components/p-1e436d5b.entry.js.map +0 -1
  694. package/dist/taro-components/p-22f9f9fa.entry.js.map +0 -1
  695. package/dist/taro-components/p-7baff0b4.entry.js.map +0 -1
  696. package/dist/taro-components/p-946c0799.system.entry.js +0 -2
  697. package/dist/taro-components/p-946c0799.system.entry.js.map +0 -1
  698. package/dist/taro-components/p-a2aab820.entry.js.map +0 -1
  699. package/dist/taro-components/p-c3acf0ea.system.entry.js.map +0 -1
  700. package/dist/taro-components/p-d5579efa.system.entry.js +0 -2
  701. package/dist/taro-components/p-d5579efa.system.entry.js.map +0 -1
  702. package/dist/taro-components/p-e9abe3e2.entry.js.map +0 -1
  703. package/dist/vue2/component-lib/components.js +0 -60
  704. package/dist/vue2/component-lib/createComponent.js +0 -21
  705. package/dist/vue2/component-lib/createFormsComponent.js +0 -63
  706. package/dist/vue2/component-lib/icon.js +0 -19
  707. package/dist/vue2/component-lib/image.js +0 -20
  708. package/dist/vue2/component-lib/index.js +0 -30
  709. package/dist/vue2/component-lib/mixins/listeners.js +0 -19
  710. package/dist/vue2/component-lib/mixins/refs.js +0 -49
  711. package/dist/vue2/component-lib/picker.js +0 -45
  712. package/dist/vue2/component-lib/scroll-view.js +0 -37
  713. package/dist/vue2/component-lib/text.js +0 -20
  714. package/dist/vue2/components.js +0 -490
  715. package/dist/vue2/index.js +0 -26
  716. package/dist/vue2/vue-component-lib/utils.js +0 -45
  717. package/dist/vue3/component-lib/createComponent.js +0 -23
  718. package/dist/vue3/component-lib/createFormsComponent.js +0 -52
  719. package/dist/vue3/component-lib/forwardRef.js +0 -11
  720. package/dist/vue3/component-lib/icon.js +0 -21
  721. package/dist/vue3/component-lib/image.js +0 -22
  722. package/dist/vue3/component-lib/index.js +0 -65
  723. package/dist/vue3/component-lib/scroll-view.js +0 -28
  724. package/dist/vue3/component-lib/text.js +0 -22
  725. package/dist/vue3/components.js +0 -64
  726. package/dist/vue3/index.js +0 -19
  727. package/dist/vue3/vue-component-lib/utils.js +0 -201
  728. package/virtual-list/domHelpers.js +0 -40
  729. package/virtual-list/memoize.js +0 -38
  730. package/virtual-list/react/FixedSizeList.js +0 -193
  731. package/virtual-list/react/createListComponent.js +0 -654
  732. package/virtual-list/react/index.d.ts +0 -123
  733. package/virtual-list/react/index.js +0 -67
  734. package/virtual-list/timer.js +0 -24
  735. package/virtual-list/vue/index.js +0 -589
@@ -0,0 +1,2 @@
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var TabItem=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("TabItem",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{TabItem as taro_tab_item_core};
2
+ //# sourceMappingURL=taro-tab-item-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/tabs/tab-item.tsx"],"names":["TabItem","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"8IAOaA,QAAO,kDAClBA,EAAAC,UAAAC,iBAAA,WACEC,WAAW,UAAWC,OAGxBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,KAAI,gBAPS","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-tab-item-core'\n})\nexport class TabItem implements ComponentInterface {\n componentDidLoad () {\n notSupport('TabItem', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["src/utils/url.ts","../taro-router/dist/utils/index.js","../../node_modules/.pnpm/registry.npmjs.org+resolve-pathname@3.0.0/node_modules/resolve-pathname/esm/resolve-pathname.js","src/components/tabbar/tabbar-item.tsx","src/components/tabbar/style/index.scss?tag=taro-tabbar","src/components/tabbar/tabbar.tsx"],"names":["splitUrl","_url","url","pos","res","path","query","fragment","indexOf","substring","addLeadingSlash","charAt","hasBasename","prefix","RegExp","test","stripBasename","length","stripSuffix","suffix","includes","isAbsolute","pathname","spliceOne","list","index","i","k","n","pop","resolvePathname","to","from","undefined","toParts","split","fromParts","isToAbs","isFromAbs","mustEndAbs","concat","hasTrailingSlash","last","up","part","unshift","result","join","substr","TabbarItem","_b","_c","isSelected","textColor","iconPath","badgeText","_d","showRedDot","text","onSelect","className","classNames","weui-bar__item_on","badgeStyle","position","top","right","dotStyle","onClick","h","key","href","class","style","display","src","alt","color","indexCss","STATUS_SHOW","STATUS_HIDE","STATUS_SLIDEOUT","basicTabBarClassName","hideTabBarClassName","hideTabBarWithAnimationClassName","Tabbar","hostRef","_this","this","homePage","customRoutes","tabbarPos","getOriginUrl","customRoute","filter","customUrl","pathA","pathB","getSelectedIndex","foundIndex","forEach","idx","pagePath","switchTab","selectedIndex","Taro","switchTabHandler","successHandler","errorHandler","currentUrl","getCurrentUrl","nextTab","errMsg","routerChangeHandler","options","_a","toLocation","currentPage","routerBasename","conf","basename","setTabBarBadgeHandler","__spreadArray","removeTabBarBadgeHandler","showTabBarRedDotHandler","hideTabBarRedDotHandler","showTabBarHandler","status","hideTabBarHandler","animation","setTabBarStyleHandler","selectedColor","backgroundColor","borderStyle","setTabBarItemHandler","selectedIconPath","Object","prototype","toString","call","Error","this_1","push","apply","map","p","item","routerMode","mode","window","location","hashIndex","processedUrl","decodeURI","bindEvent","eventCenter","on","removeEvent","off","componentDidLoad","tabbar","nextElementSibling","disconnectedCallback","render","containerCls","shouldHideTabBar","shouldSlideout","Host","height","bind"],"mappings":"saAsDO,IAAMA,SAAW,SAAAC,GACtB,IAAIC,EAAMD,GAAQ,GAClB,IAAIE,EACJ,IAAMC,EAAM,CAC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AAOC,mBAAqB,MAAQ,SAC1DzE,KAAKkE,YACLlE,KAAKyB,uBAGP5B,EAAAoD,UAAAyB,qBAAA,WACE1E,KAAKqE,eAGPxE,EAAAoD,UAAA0B,OAAA,mBAAA,IAAA5E,EAAAC,KACU,IAAAhC,EAAyBgC,KAAIG,UAA7BA,EAASnC,SAAA,EAAG,SAAQA,EAC5B,IAAMuE,EAASvC,KAAKuC,OACpB,IAAMqC,EAAevG,WAAW,eAAaX,EAAA,GAC3CA,EAAC,uBAAAV,OAAuBgD,KAAK6C,aAAe,UAAY,SAE1D,IAAMgC,EAAmB7E,KAAKgB,iBAAmB,GAAKuB,IAAW/C,YACjE,IAAMsF,EAAiBvC,IAAW9C,gBAElC,OACEZ,EAACkG,KAAI,CACH/F,MAAOX,WACLqB,qBACA,GAAA1C,OAAG0C,qBAAoB,KAAA1C,OAAImD,IAAWxC,EAAA,GACpCA,EAACgC,qBAAsBkF,EACvBlH,EAACiC,kCAAmCkF,OAExCjG,EAAA,MAAA,CACEG,MAAO4F,EACP3F,MAAO,CACL2D,gBAAiB5C,KAAK4C,iBAAmB,GACzCoC,OAAQ,YAGThF,KAAKhE,KAAKwH,KAAI,SAACE,EAAMzH,GACpB,IAAM2B,EAAamC,EAAKiB,gBAAkB/E,EAC1C,IAAI4B,EACJ,IAAIC,EACJ,GAAIF,EAAY,CACdC,EAAYkC,EAAK4C,eAAiB,GAClC7E,EAAW4F,EAAKX,qBACX,CACLlF,EAAYkC,EAAKV,OAAS,GAC1BvB,EAAW4F,EAAK5F,SAElB,OACEe,EAACpB,WAAU,CACTxB,MAAOA,EACPkC,SAAU4B,EAAKgB,UAAUkE,KAAKlF,GAC9BnC,WAAYA,EACZC,UAAWA,EACXC,SAAUA,EACVI,KAAMwF,EAAKxF,KACXH,UAAW2F,EAAK3F,UAChBE,WAAYyF,EAAKzF,qJAzUd","sourcesContent":["export const normalizePath = url => {\n let _isRelative\n let _leadingParents = ''\n let _parent, _pos\n\n // handle relative paths\n if (url.charAt(0) !== '/') {\n _isRelative = true\n url = '/' + url\n }\n\n // handle relative files (as opposed to directories)\n if (url.substring(-3) === '/..' || url.slice(-2) === '/.') {\n url += '/'\n }\n\n // resolve simples\n url = url.replace(/(\\/(\\.\\/)+)|(\\/\\.$)/g, '/').replace(/\\/{2,}/g, '/')\n\n // remember leading parents\n if (_isRelative) {\n _leadingParents = url.substring(1).match(/^(\\.\\.\\/)+/) || ''\n if (_leadingParents) {\n _leadingParents = _leadingParents[0]\n }\n }\n\n // resolve parents\n while (true) {\n _parent = url.search(/\\/\\.\\.(\\/|$)/)\n if (_parent === -1) {\n // no more ../ to resolve\n break\n } else if (_parent === 0) {\n // top level cannot be relative, skip it\n url = url.substring(3)\n continue\n }\n\n _pos = url.substring(0, _parent).lastIndexOf('/')\n if (_pos === -1) {\n _pos = _parent\n }\n url = url.substring(0, _pos) + url.substring(_parent + 3)\n }\n\n // revert to relative\n if (_isRelative) {\n url = _leadingParents + url.substring(1)\n }\n\n return url\n}\n\nexport const splitUrl = _url => {\n let url = _url || ''\n let pos\n const res = {\n path: null,\n query: null,\n fragment: null\n }\n\n pos = url.indexOf('#')\n if (pos > -1) {\n res.fragment = url.substring(pos + 1)\n url = url.substring(0, pos)\n }\n\n pos = url.indexOf('?')\n if (pos > -1) {\n res.query = url.substring(pos + 1)\n url = url.substring(0, pos)\n }\n\n res.path = url\n\n return res\n}\n","// export const removeLeadingSlash = (str = '') => str.replace(/^\\.?\\//, '')\n// export const removeTrailingSearch = (str = '') => str.replace(/\\?[\\s\\S]*$/, '')\nexport const addLeadingSlash = (url = '') => (url.charAt(0) === '/' ? url : '/' + url);\nexport const hasBasename = (path = '', prefix = '') => new RegExp('^' + prefix + '(\\\\/|\\\\?|#|$)', 'i').test(path) || path === prefix;\nexport const stripBasename = (path = '', prefix = '') => hasBasename(path, prefix) ? path.substring(prefix.length) : path;\nexport const stripTrailing = (str = '') => str.replace(/[?#][\\s\\S]*$/, '');\nexport const stripSuffix = (path = '', suffix = '') => path.includes(suffix) ? path.substring(0, path.length - suffix.length) : path;\nclass RoutesAlias {\n constructor() {\n this.conf = [];\n this.getConfig = (url = '') => {\n const customRoute = this.conf.filter((arr) => {\n return arr.includes(url);\n });\n return customRoute[0];\n };\n this.getOrigin = (url = '') => {\n var _a;\n return ((_a = this.getConfig(url)) === null || _a === void 0 ? void 0 : _a[0]) || url;\n };\n this.getAlias = (url = '') => {\n var _a;\n return ((_a = this.getConfig(url)) === null || _a === void 0 ? void 0 : _a[1]) || url;\n };\n this.getAll = (url = '') => {\n return this.conf\n .filter((arr) => arr.includes(url))\n .reduceRight((p, a) => {\n p.unshift(a[1]);\n return p;\n }, []);\n };\n }\n set(customRoutes = {}) {\n for (let key in customRoutes) {\n const path = customRoutes[key];\n key = addLeadingSlash(key);\n if (typeof path === 'string') {\n this.conf.push([key, addLeadingSlash(path)]);\n }\n else if ((path === null || path === void 0 ? void 0 : path.length) > 0) {\n this.conf.push(...path.map(p => [key, addLeadingSlash(p)]));\n }\n }\n }\n}\nexport const routesAlias = new RoutesAlias();\n","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n}\n\n// About 1.5x faster than the two-arg version of Array#splice()\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n}\n\n// This implementation is based heavily on node's url.parse\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n\n var toParts = (to && to.split('/')) || [];\n var fromParts = (from && from.split('/')) || [];\n\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n\n var hasTrailingSlash;\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');\n\n if (\n mustEndAbs &&\n fromParts[0] !== '' &&\n (!fromParts[0] || !isAbsolute(fromParts[0]))\n )\n fromParts.unshift('');\n\n var result = fromParts.join('/');\n\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n\n return result;\n}\n\nexport default resolvePathname;\n","import classNames from 'classnames'\nimport { FunctionalComponent, h } from '@stencil/core'\n\ntype TabbarItemProps = {\n index: number\n isSelected?: boolean\n textColor?: string\n badgeText?: string\n iconPath: string\n showRedDot?: boolean\n text?: string\n onSelect: (index: number) => void\n}\n\nexport const TabbarItem: FunctionalComponent<TabbarItemProps> = ({\n index,\n isSelected = false,\n textColor,\n iconPath,\n badgeText,\n showRedDot = false,\n text,\n onSelect\n}) => {\n const className = classNames('weui-tabbar__item', {\n 'weui-bar__item_on': isSelected\n })\n const badgeStyle = {\n position: 'absolute',\n top: '-2px',\n right: '-13px'\n }\n const dotStyle = {\n position: 'absolute',\n top: '0',\n right: '-6px'\n }\n\n function onClick () {\n onSelect(index)\n }\n\n return (\n <a key={index} href='javascript:;' class={className} onClick={onClick}>\n <span style={{ display: 'inline-block', position: 'relative' }}>\n <img src={iconPath} alt='' class='weui-tabbar__icon' />\n {!!badgeText && (\n <span\n class='weui-badge taro-tabbar-badge'\n style={badgeStyle}>\n {badgeText}\n </span>\n )}\n {showRedDot && (\n <span\n class='weui-badge weui-badge_dot'\n style={dotStyle}\n />\n )}\n </span>\n <p class='weui-tabbar__label' style={{ color: textColor }}>\n {text}\n </p>\n </a>\n )\n}\n","html,\nbody {\n height: 100%;\n}\n\n#app {\n height: 100%;\n}\n\n.taro-tabbar {\n &__border {\n &-white {\n &::before {\n border-top-color: #fff !important;\n }\n }\n }\n\n &__container {\n display: flex;\n overflow: hidden;\n flex-direction: column;\n height: 100%;\n }\n\n &__panel {\n overflow: auto;\n position: relative;\n flex: 1;\n -webkit-overflow-scrolling: auto;\n }\n\n &__tabbar {\n position: relative;\n width: 100%;\n height: 50px;\n transition: bottom 0.2s, top 0.2s;\n\n &-top {\n top: 0;\n }\n\n &-bottom {\n bottom: 0;\n margin-bottom: constant(safe-area-inset-bottom);\n margin-bottom: env(safe-area-inset-bottom);\n }\n\n &-hide {\n display: none;\n }\n\n &-slideout {\n top: -52px;\n flex: 0 0;\n }\n }\n\n &__panel + &__tabbar-slideout {\n top: auto;\n bottom: -52px;\n }\n}\n","import { Component, Prop, h, ComponentInterface, Host, State, Event, EventEmitter, Element } from '@stencil/core'\nimport Taro from '@tarojs/taro'\nimport { addLeadingSlash, stripBasename, stripSuffix } from '@tarojs/router/dist/utils'\nimport { IH5RouterConfig } from '@tarojs/taro/types/compile'\nimport classNames from 'classnames'\nimport resolvePathname from 'resolve-pathname'\n\nimport { splitUrl } from '../../utils'\nimport { TabbarItem } from './tabbar-item'\n\nconst STATUS_SHOW = 0\nconst STATUS_HIDE = 1\nconst STATUS_SLIDEOUT = 2\n\nconst basicTabBarClassName = 'taro-tabbar__tabbar'\nconst hideTabBarClassName = 'taro-tabbar__tabbar-hide'\nconst hideTabBarWithAnimationClassName = 'taro-tabbar__tabbar-slideout'\n\ninterface RouterHandler {\n index: string\n text: string\n url: string\n successHandler: Function\n errorHandler: Function\n animation?: boolean\n}\n\nexport interface Conf {\n color: string\n selectedColor: string\n backgroundColor: string\n borderStyle?: 'black' | 'white'\n list: TabbarList[]\n position?: 'bottom' | 'top'\n custom: boolean\n customRoutes: Record<string, string | string[]>\n mode: IH5RouterConfig['mode']\n basename: string\n homePage: string\n currentPagename: string\n}\n\ninterface TabbarList {\n pagePath: string\n text: string\n iconPath?: string\n selectedIconPath?: string\n badgeText?: string\n showRedDot?: boolean\n}\n\n@Component({\n tag: 'taro-tabbar',\n styleUrl: './style/index.scss'\n})\nexport class Tabbar implements ComponentInterface {\n private homePage = ''\n\n private customRoutes: Array<string[]> = []\n\n private tabbarPos: 'top' | 'bottom' = 'bottom'\n\n @Prop() conf: Conf\n\n @State() list: TabbarList[]\n\n @State() borderStyle: Conf['borderStyle']\n\n @State() backgroundColor: Conf['backgroundColor']\n\n @State() color: Conf['color']\n\n @State() selectedColor: Conf['selectedColor']\n\n @State() selectedIndex = -1\n\n @State() status: 0 | 1 | 2 = STATUS_SHOW\n\n @Event({\n eventName: 'longpress'\n }) onLongPress: EventEmitter\n\n @Element() tabbar: HTMLDivElement\n\n constructor () {\n const list = this.conf.list\n const customRoutes = this.conf.customRoutes\n if (\n Object.prototype.toString.call(list) !== '[object Array]' ||\n list.length < 2 ||\n list.length > 5\n ) {\n throw new Error('tabBar 配置错误')\n }\n\n this.homePage = addLeadingSlash(this.conf.homePage)\n for (let key in customRoutes) {\n const path = customRoutes[key]\n key = addLeadingSlash(key)\n if (typeof path === 'string') {\n this.customRoutes.push([key, addLeadingSlash(path)])\n } else if (path?.length > 0) {\n this.customRoutes.push(...path.map(p => [key, addLeadingSlash(p)]))\n }\n }\n\n list.forEach(item => {\n if (item.pagePath.indexOf('/') !== 0) {\n item.pagePath = '/' + item.pagePath\n }\n })\n\n this.list = list\n this.borderStyle = this.conf.borderStyle\n this.backgroundColor = this.conf.backgroundColor\n this.color = this.conf.color\n this.selectedColor = this.conf.selectedColor\n }\n\n getCurrentUrl () {\n const routerMode = this.conf.mode\n const routerBasename = this.conf.basename || '/'\n let url\n if (routerMode === 'hash') {\n const href = window.location.href\n const hashIndex = href.indexOf('#')\n url = hashIndex === -1\n ? ''\n : href.substring(hashIndex + 1)\n } else {\n url = location.pathname\n }\n const processedUrl = addLeadingSlash(stripBasename(url, routerBasename))\n return decodeURI(processedUrl === '/' ? this.homePage : processedUrl)\n }\n\n getOriginUrl = (url: string) => {\n const customRoute = this.customRoutes.filter(([, customUrl]) => {\n const pathA = splitUrl(customUrl).path\n const pathB = splitUrl(url).path\n return pathA === pathB\n })\n return stripSuffix(customRoute.length ? customRoute[0][0] : url, '.html')\n }\n\n getSelectedIndex = (url: string) => {\n let foundIndex = -1\n this.list.forEach(({ pagePath }, idx) => {\n const pathA = splitUrl(url).path\n const pathB = splitUrl(pagePath).path\n if (pathA === pathB) {\n foundIndex = idx\n }\n })\n return foundIndex\n }\n\n switchTab = (index: number) => {\n this.selectedIndex = index\n Taro.switchTab({\n url: this.list[index].pagePath\n })\n }\n\n switchTabHandler = ({ url, successHandler, errorHandler }: RouterHandler) => {\n const currentUrl = this.getOriginUrl(this.getCurrentUrl() || this.homePage)\n const nextTab = resolvePathname(url, currentUrl)\n const foundIndex = this.getSelectedIndex(nextTab)\n\n if (foundIndex > -1) {\n this.switchTab(foundIndex)\n successHandler({\n errMsg: 'switchTab:ok'\n })\n } else {\n errorHandler({\n errMsg: `switchTab:fail page \"${nextTab}\" is not found`\n })\n }\n }\n\n routerChangeHandler = (options?) => {\n const to = options?.toLocation?.path\n let currentPage\n\n if (typeof to === 'string') {\n const routerBasename = this.conf.basename || '/'\n currentPage = stripBasename(addLeadingSlash(to || this.homePage), routerBasename) || '/'\n } else {\n currentPage = this.getCurrentUrl()\n }\n\n this.selectedIndex = this.getSelectedIndex(this.getOriginUrl(currentPage))\n }\n\n setTabBarBadgeHandler = ({ index, text, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].showRedDot = false\n list[index].badgeText = text\n successHandler({\n errMsg: 'setTabBarBadge:ok'\n })\n } else {\n errorHandler({\n errMsg: 'setTabBarBadge:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n removeTabBarBadgeHandler = ({ index, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].badgeText = null\n list[index].badgeText = null\n successHandler({\n errMsg: 'removeTabBarBadge:ok'\n })\n } else {\n errorHandler({\n errMsg: 'removeTabBarBadge:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n showTabBarRedDotHandler = ({ index, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].badgeText = null\n list[index].showRedDot = true\n successHandler({\n errMsg: 'showTabBarRedDot:ok'\n })\n } else {\n errorHandler({\n errMsg: 'showTabBarRedDot:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n hideTabBarRedDotHandler = ({ index, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].showRedDot = false\n successHandler({\n errMsg: 'hideTabBarRedDot:ok'\n })\n } else {\n errorHandler({\n errMsg: 'hideTabBarRedDot:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n showTabBarHandler = ({ successHandler }) => {\n this.status = STATUS_SHOW\n successHandler({\n errMsg: 'showTabBar:ok'\n })\n }\n\n hideTabBarHandler = ({ animation, successHandler }) => {\n this.status = animation ? STATUS_SLIDEOUT : STATUS_HIDE\n successHandler({\n errMsg: 'hideTabBar:ok'\n })\n }\n\n setTabBarStyleHandler = ({ color, selectedColor, backgroundColor, borderStyle, successHandler }) => {\n if (backgroundColor) this.backgroundColor = backgroundColor\n if (borderStyle) this.borderStyle = borderStyle\n if (color) this.color = color\n if (selectedColor) this.selectedColor = selectedColor\n successHandler({\n errMsg: 'setTabBarStyle:ok'\n })\n }\n\n setTabBarItemHandler = ({ index, iconPath, selectedIconPath, text, successHandler, errorHandler }) => {\n const list = [...this.list]\n if (index in list) {\n if (iconPath) list[index].iconPath = iconPath\n if (selectedIconPath) list[index].selectedIconPath = selectedIconPath\n if (text) list[index].text = text\n successHandler({\n errMsg: 'setTabBarItem:ok'\n })\n } else {\n errorHandler({\n errMsg: 'setTabBarItem:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n bindEvent () {\n Taro.eventCenter.on('__taroRouterChange', this.routerChangeHandler)\n Taro.eventCenter.on('__taroSwitchTab', this.switchTabHandler)\n Taro.eventCenter.on('__taroSetTabBarBadge', this.setTabBarBadgeHandler)\n Taro.eventCenter.on('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler)\n Taro.eventCenter.on('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler)\n Taro.eventCenter.on('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler)\n Taro.eventCenter.on('__taroShowTabBar', this.showTabBarHandler)\n Taro.eventCenter.on('__taroHideTabBar', this.hideTabBarHandler)\n Taro.eventCenter.on('__taroSetTabBarStyle', this.setTabBarStyleHandler)\n Taro.eventCenter.on('__taroSetTabBarItem', this.setTabBarItemHandler)\n }\n\n removeEvent () {\n Taro.eventCenter.off('__taroRouterChange', this.routerChangeHandler)\n Taro.eventCenter.off('__taroSwitchTab', this.switchTabHandler)\n Taro.eventCenter.off('__taroSetTabBarBadge', this.setTabBarBadgeHandler)\n Taro.eventCenter.off('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler)\n Taro.eventCenter.off('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler)\n Taro.eventCenter.off('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler)\n Taro.eventCenter.off('__taroShowTabBar', this.showTabBarHandler)\n Taro.eventCenter.off('__taroHideTabBar', this.hideTabBarHandler)\n Taro.eventCenter.off('__taroSetTabBarStyle', this.setTabBarStyleHandler)\n Taro.eventCenter.off('__taroSetTabBarItem', this.setTabBarItemHandler)\n }\n\n componentDidLoad () {\n this.tabbarPos = this.tabbar.nextElementSibling ? 'top' : 'bottom'\n this.bindEvent()\n this.routerChangeHandler()\n }\n\n disconnectedCallback () {\n this.removeEvent()\n }\n\n render () {\n const { tabbarPos = 'bottom' } = this\n const status = this.status\n const containerCls = classNames('weui-tabbar', {\n [`taro-tabbar__border-${this.borderStyle || 'black'}`]: true\n })\n const shouldHideTabBar = this.selectedIndex === -1 || status === STATUS_HIDE\n const shouldSlideout = status === STATUS_SLIDEOUT\n\n return (\n <Host\n class={classNames(\n basicTabBarClassName,\n `${basicTabBarClassName}-${tabbarPos}`, {\n [hideTabBarClassName]: shouldHideTabBar,\n [hideTabBarWithAnimationClassName]: shouldSlideout\n })} >\n <div\n class={containerCls}\n style={{\n backgroundColor: this.backgroundColor || '',\n height: 'inherit'\n }}\n >\n {this.list.map((item, index) => {\n const isSelected = this.selectedIndex === index\n let textColor\n let iconPath\n if (isSelected) {\n textColor = this.selectedColor || ''\n iconPath = item.selectedIconPath\n } else {\n textColor = this.color || ''\n iconPath = item.iconPath\n }\n return (\n <TabbarItem\n index={index}\n onSelect={this.switchTab.bind(this)}\n isSelected={isSelected}\n textColor={textColor}\n iconPath={iconPath}\n text={item.text}\n badgeText={item.badgeText}\n showRedDot={item.showRedDot}\n />\n )\n })}\n </div>\n </Host>\n )\n }\n}\n"]}
1
+ {"version":3,"sources":["src/utils/url.ts","../taro-router/dist/utils/index.js","../../node_modules/.pnpm/registry.npmjs.org+resolve-pathname@3.0.0/node_modules/resolve-pathname/esm/resolve-pathname.js","src/components/tabbar/tabbar-item.tsx","src/components/tabbar/style/index.scss?tag=taro-tabbar","src/components/tabbar/tabbar.tsx"],"names":["splitUrl","_url","url","pos","res","path","query","fragment","indexOf","substring","addLeadingSlash","charAt","hasBasename","prefix","RegExp","test","stripBasename","length","stripSuffix","suffix","includes","isAbsolute","pathname","spliceOne","list","index","i","k","n","pop","resolvePathname","to","from","undefined","toParts","split","fromParts","isToAbs","isFromAbs","mustEndAbs","concat","hasTrailingSlash","last","up","part","unshift","result","join","substr","TabbarItem","_b","_c","isSelected","textColor","iconPath","badgeText","_d","showRedDot","text","onSelect","className","classNames","weui-bar__item_on","badgeStyle","position","top","right","dotStyle","onClick","h","key","href","class","style","display","src","alt","color","indexCss","STATUS_SHOW","STATUS_HIDE","STATUS_SLIDEOUT","basicTabBarClassName","hideTabBarClassName","hideTabBarWithAnimationClassName","Tabbar","hostRef","_this","this","homePage","customRoutes","tabbarPos","getOriginUrl","customRoute","filter","customUrl","pathA","pathB","getSelectedIndex","foundIndex","forEach","idx","pagePath","switchTab","selectedIndex","Taro","switchTabHandler","successHandler","errorHandler","currentUrl","getCurrentUrl","nextTab","errMsg","routerChangeHandler","options","_a","toLocation","currentPage","routerBasename","conf","basename","setTabBarBadgeHandler","__spreadArray","removeTabBarBadgeHandler","showTabBarRedDotHandler","hideTabBarRedDotHandler","showTabBarHandler","status","hideTabBarHandler","animation","setTabBarStyleHandler","selectedColor","backgroundColor","borderStyle","setTabBarItemHandler","selectedIconPath","Object","prototype","toString","call","Error","this_1","push","apply","map","p","item","routerMode","mode","window","location","hashIndex","processedUrl","decodeURI","bindEvent","eventCenter","on","removeEvent","off","componentDidLoad","tabbar","nextElementSibling","disconnectedCallback","render","containerCls","shouldHideTabBar","shouldSlideout","Host","height","bind"],"mappings":"saAsDO,IAAMA,SAAW,SAAAC,GACtB,IAAIC,EAAMD,GAAQ,GAClB,IAAIE,EACJ,IAAMC,EAAM,CACVC,KAAM,KACNC,MAAO,KACPC,SAAU,MAGZJ,EAAMD,EAAIM,QAAQ,KAClB,GAAIL,GAAO,EAAG,CACZC,EAAIG,SAAWL,EAAIO,UAAUN,EAAM,GACnCD,EAAMA,EAAIO,UAAU,EAAGN,GAGzBA,EAAMD,EAAIM,QAAQ,KAClB,GAAIL,GAAO,EAAG,CACZC,EAAIE,MAAQJ,EAAIO,UAAUN,EAAM,GAChCD,EAAMA,EAAIO,UAAU,EAAGN,GAGzBC,EAAIC,KAAOH,EAEX,OAAOE,GC3EF,IAAMM,gBAAkB,SAACR,GAAA,GAAAA,SAAA,EAAA,CAAAA,EAAA,GAAQ,OAAMA,EAAIS,OAAO,KAAO,IAAMT,EAAM,IAAMA,GAC3E,IAAMU,YAAc,SAACP,EAAWQ,GAAX,GAAAR,SAAA,EAAA,CAAAA,EAAA,GAAW,GAAAQ,SAAA,EAAA,CAAAA,EAAA,GAAgB,OAAA,IAAIC,OAAO,IAAMD,EAAS,gBAAiB,KAAKE,KAAKV,I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AO4F,EACP3F,MAAO,CACL2D,gBAAiB5C,KAAK4C,iBAAmB,GACzCoC,OAAQ,YAGThF,KAAKhE,KAAKwH,KAAI,SAACE,EAAMzH,GACpB,IAAM2B,EAAamC,EAAKiB,gBAAkB/E,EAC1C,IAAI4B,EACJ,IAAIC,EACJ,GAAIF,EAAY,CACdC,EAAYkC,EAAK4C,eAAiB,GAClC7E,EAAW4F,EAAKX,qBACX,CACLlF,EAAYkC,EAAKV,OAAS,GAC1BvB,EAAW4F,EAAK5F,SAElB,OACEe,EAACpB,WAAU,CACTxB,MAAOA,EACPkC,SAAU4B,EAAKgB,UAAUkE,KAAKlF,GAC9BnC,WAAYA,EACZC,UAAWA,EACXC,SAAUA,EACVI,KAAMwF,EAAKxF,KACXH,UAAW2F,EAAK3F,UAChBE,WAAYyF,EAAKzF,qJAzUd","sourcesContent":["export const normalizePath = url => {\n let _isRelative\n let _leadingParents = ''\n let _parent, _pos\n\n // handle relative paths\n if (url.charAt(0) !== '/') {\n _isRelative = true\n url = '/' + url\n }\n\n // handle relative files (as opposed to directories)\n if (url.substring(-3) === '/..' || url.slice(-2) === '/.') {\n url += '/'\n }\n\n // resolve simples\n url = url.replace(/(\\/(\\.\\/)+)|(\\/\\.$)/g, '/').replace(/\\/{2,}/g, '/')\n\n // remember leading parents\n if (_isRelative) {\n _leadingParents = url.substring(1).match(/^(\\.\\.\\/)+/) || ''\n if (_leadingParents) {\n _leadingParents = _leadingParents[0]\n }\n }\n\n // resolve parents\n while (true) {\n _parent = url.search(/\\/\\.\\.(\\/|$)/)\n if (_parent === -1) {\n // no more ../ to resolve\n break\n } else if (_parent === 0) {\n // top level cannot be relative, skip it\n url = url.substring(3)\n continue\n }\n\n _pos = url.substring(0, _parent).lastIndexOf('/')\n if (_pos === -1) {\n _pos = _parent\n }\n url = url.substring(0, _pos) + url.substring(_parent + 3)\n }\n\n // revert to relative\n if (_isRelative) {\n url = _leadingParents + url.substring(1)\n }\n\n return url\n}\n\nexport const splitUrl = _url => {\n let url = _url || ''\n let pos\n const res = {\n path: null,\n query: null,\n fragment: null\n }\n\n pos = url.indexOf('#')\n if (pos > -1) {\n res.fragment = url.substring(pos + 1)\n url = url.substring(0, pos)\n }\n\n pos = url.indexOf('?')\n if (pos > -1) {\n res.query = url.substring(pos + 1)\n url = url.substring(0, pos)\n }\n\n res.path = url\n\n return res\n}\n","// export const removeLeadingSlash = (str = '') => str.replace(/^\\.?\\//, '')\n// export const removeTrailingSearch = (str = '') => str.replace(/\\?[\\s\\S]*$/, '')\nexport const addLeadingSlash = (url = '') => (url.charAt(0) === '/' ? url : '/' + url);\nexport const hasBasename = (path = '', prefix = '') => new RegExp('^' + prefix + '(\\\\/|\\\\?|#|$)', 'i').test(path) || path === prefix;\nexport const stripBasename = (path = '', prefix = '') => hasBasename(path, prefix) ? path.substring(prefix.length) : path;\nexport const stripTrailing = (str = '') => str.replace(/[?#][\\s\\S]*$/, '');\nexport const stripSuffix = (path = '', suffix = '') => path.includes(suffix) ? path.substring(0, path.length - suffix.length) : path;\nexport const getHomePage = (path = '', basename = '', customRoutes = {}, entryPagePath = '') => {\n var _a;\n const routePath = addLeadingSlash(stripBasename(path, basename));\n const alias = ((_a = Object.entries(customRoutes).find(([key]) => key === routePath)) === null || _a === void 0 ? void 0 : _a[1]) || routePath;\n return entryPagePath || (typeof alias === 'string' ? alias : alias[0]) || basename;\n};\nclass RoutesAlias {\n constructor() {\n this.conf = [];\n this.getConfig = (url = '') => {\n const customRoute = this.conf.filter((arr) => {\n return arr.includes(url);\n });\n return customRoute[0];\n };\n this.getOrigin = (url = '') => {\n var _a;\n return ((_a = this.getConfig(url)) === null || _a === void 0 ? void 0 : _a[0]) || url;\n };\n this.getAlias = (url = '') => {\n var _a;\n return ((_a = this.getConfig(url)) === null || _a === void 0 ? void 0 : _a[1]) || url;\n };\n this.getAll = (url = '') => {\n return this.conf\n .filter((arr) => arr.includes(url))\n .reduceRight((p, a) => {\n p.unshift(a[1]);\n return p;\n }, []);\n };\n }\n set(customRoutes = {}) {\n for (let key in customRoutes) {\n const path = customRoutes[key];\n key = addLeadingSlash(key);\n if (typeof path === 'string') {\n this.conf.push([key, addLeadingSlash(path)]);\n }\n else if ((path === null || path === void 0 ? void 0 : path.length) > 0) {\n this.conf.push(...path.map(p => [key, addLeadingSlash(p)]));\n }\n }\n }\n}\nexport const routesAlias = new RoutesAlias();\n","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n}\n\n// About 1.5x faster than the two-arg version of Array#splice()\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n}\n\n// This implementation is based heavily on node's url.parse\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n\n var toParts = (to && to.split('/')) || [];\n var fromParts = (from && from.split('/')) || [];\n\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n\n var hasTrailingSlash;\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');\n\n if (\n mustEndAbs &&\n fromParts[0] !== '' &&\n (!fromParts[0] || !isAbsolute(fromParts[0]))\n )\n fromParts.unshift('');\n\n var result = fromParts.join('/');\n\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n\n return result;\n}\n\nexport default resolvePathname;\n","import classNames from 'classnames'\nimport { FunctionalComponent, h } from '@stencil/core'\n\ntype TabbarItemProps = {\n index: number\n isSelected?: boolean\n textColor?: string\n badgeText?: string\n iconPath: string\n showRedDot?: boolean\n text?: string\n onSelect: (index: number) => void\n}\n\nexport const TabbarItem: FunctionalComponent<TabbarItemProps> = ({\n index,\n isSelected = false,\n textColor,\n iconPath,\n badgeText,\n showRedDot = false,\n text,\n onSelect\n}) => {\n const className = classNames('weui-tabbar__item', {\n 'weui-bar__item_on': isSelected\n })\n const badgeStyle = {\n position: 'absolute',\n top: '-2px',\n right: '-13px'\n }\n const dotStyle = {\n position: 'absolute',\n top: '0',\n right: '-6px'\n }\n\n function onClick () {\n onSelect(index)\n }\n\n return (\n <a key={index} href='javascript:;' class={className} onClick={onClick}>\n <span style={{ display: 'inline-block', position: 'relative' }}>\n <img src={iconPath} alt='' class='weui-tabbar__icon' />\n {!!badgeText && (\n <span\n class='weui-badge taro-tabbar-badge'\n style={badgeStyle}>\n {badgeText}\n </span>\n )}\n {showRedDot && (\n <span\n class='weui-badge weui-badge_dot'\n style={dotStyle}\n />\n )}\n </span>\n <p class='weui-tabbar__label' style={{ color: textColor }}>\n {text}\n </p>\n </a>\n )\n}\n","html,\nbody {\n height: 100%;\n}\n\n#app {\n height: 100%;\n}\n\n.taro-tabbar {\n &__border {\n &-white {\n &::before {\n border-top-color: #fff !important;\n }\n }\n }\n\n &__container {\n display: flex;\n overflow: hidden;\n flex-direction: column;\n height: 100%;\n }\n\n &__panel {\n overflow: auto;\n position: relative;\n flex: 1;\n -webkit-overflow-scrolling: auto;\n }\n\n &__tabbar {\n position: relative;\n width: 100%;\n height: 50px;\n transition: bottom 0.2s, top 0.2s;\n\n &-top {\n top: 0;\n }\n\n &-bottom {\n bottom: 0;\n margin-bottom: constant(safe-area-inset-bottom);\n margin-bottom: env(safe-area-inset-bottom);\n }\n\n &-hide {\n display: none;\n }\n\n &-slideout {\n top: -52px;\n flex: 0 0;\n }\n }\n\n &__panel + &__tabbar-slideout {\n top: auto;\n bottom: -52px;\n }\n}\n","import { Component, Prop, h, ComponentInterface, Host, State, Event, EventEmitter, Element } from '@stencil/core'\nimport Taro from '@tarojs/taro'\nimport { addLeadingSlash, stripBasename, stripSuffix } from '@tarojs/router/dist/utils'\nimport { IH5RouterConfig } from '@tarojs/taro/types/compile'\nimport classNames from 'classnames'\nimport resolvePathname from 'resolve-pathname'\n\nimport { splitUrl } from '../../utils'\nimport { TabbarItem } from './tabbar-item'\n\nconst STATUS_SHOW = 0\nconst STATUS_HIDE = 1\nconst STATUS_SLIDEOUT = 2\n\nconst basicTabBarClassName = 'taro-tabbar__tabbar'\nconst hideTabBarClassName = 'taro-tabbar__tabbar-hide'\nconst hideTabBarWithAnimationClassName = 'taro-tabbar__tabbar-slideout'\n\ninterface RouterHandler {\n index: string\n text: string\n url: string\n successHandler: Function\n errorHandler: Function\n animation?: boolean\n}\n\nexport interface Conf {\n color: string\n selectedColor: string\n backgroundColor: string\n borderStyle?: 'black' | 'white'\n list: TabbarList[]\n position?: 'bottom' | 'top'\n custom: boolean\n customRoutes: Record<string, string | string[]>\n mode: IH5RouterConfig['mode']\n basename: string\n homePage: string\n currentPagename: string\n}\n\ninterface TabbarList {\n pagePath: string\n text: string\n iconPath?: string\n selectedIconPath?: string\n badgeText?: string\n showRedDot?: boolean\n}\n\n@Component({\n tag: 'taro-tabbar',\n styleUrl: './style/index.scss'\n})\nexport class Tabbar implements ComponentInterface {\n private homePage = ''\n\n private customRoutes: Array<string[]> = []\n\n private tabbarPos: 'top' | 'bottom' = 'bottom'\n\n @Prop() conf: Conf\n\n @State() list: TabbarList[]\n\n @State() borderStyle: Conf['borderStyle']\n\n @State() backgroundColor: Conf['backgroundColor']\n\n @State() color: Conf['color']\n\n @State() selectedColor: Conf['selectedColor']\n\n @State() selectedIndex = -1\n\n @State() status: 0 | 1 | 2 = STATUS_SHOW\n\n @Event({\n eventName: 'longpress'\n }) onLongPress: EventEmitter\n\n @Element() tabbar: HTMLDivElement\n\n constructor () {\n const list = this.conf.list\n const customRoutes = this.conf.customRoutes\n if (\n Object.prototype.toString.call(list) !== '[object Array]' ||\n list.length < 2 ||\n list.length > 5\n ) {\n throw new Error('tabBar 配置错误')\n }\n\n this.homePage = addLeadingSlash(this.conf.homePage)\n for (let key in customRoutes) {\n const path = customRoutes[key]\n key = addLeadingSlash(key)\n if (typeof path === 'string') {\n this.customRoutes.push([key, addLeadingSlash(path)])\n } else if (path?.length > 0) {\n this.customRoutes.push(...path.map(p => [key, addLeadingSlash(p)]))\n }\n }\n\n list.forEach(item => {\n if (item.pagePath.indexOf('/') !== 0) {\n item.pagePath = '/' + item.pagePath\n }\n })\n\n this.list = list\n this.borderStyle = this.conf.borderStyle\n this.backgroundColor = this.conf.backgroundColor\n this.color = this.conf.color\n this.selectedColor = this.conf.selectedColor\n }\n\n getCurrentUrl () {\n const routerMode = this.conf.mode\n const routerBasename = this.conf.basename || '/'\n let url\n if (routerMode === 'hash') {\n const href = window.location.href\n const hashIndex = href.indexOf('#')\n url = hashIndex === -1\n ? ''\n : href.substring(hashIndex + 1)\n } else {\n url = location.pathname\n }\n const processedUrl = addLeadingSlash(stripBasename(url, routerBasename))\n return decodeURI(processedUrl === '/' ? this.homePage : processedUrl)\n }\n\n getOriginUrl = (url: string) => {\n const customRoute = this.customRoutes.filter(([, customUrl]) => {\n const pathA = splitUrl(customUrl).path\n const pathB = splitUrl(url).path\n return pathA === pathB\n })\n return stripSuffix(customRoute.length ? customRoute[0][0] : url, '.html')\n }\n\n getSelectedIndex = (url: string) => {\n let foundIndex = -1\n this.list.forEach(({ pagePath }, idx) => {\n const pathA = splitUrl(url).path\n const pathB = splitUrl(pagePath).path\n if (pathA === pathB) {\n foundIndex = idx\n }\n })\n return foundIndex\n }\n\n switchTab = (index: number) => {\n this.selectedIndex = index\n Taro.switchTab({\n url: this.list[index].pagePath\n })\n }\n\n switchTabHandler = ({ url, successHandler, errorHandler }: RouterHandler) => {\n const currentUrl = this.getOriginUrl(this.getCurrentUrl() || this.homePage)\n const nextTab = resolvePathname(url, currentUrl)\n const foundIndex = this.getSelectedIndex(nextTab)\n\n if (foundIndex > -1) {\n this.switchTab(foundIndex)\n successHandler({\n errMsg: 'switchTab:ok'\n })\n } else {\n errorHandler({\n errMsg: `switchTab:fail page \"${nextTab}\" is not found`\n })\n }\n }\n\n routerChangeHandler = (options?) => {\n const to = options?.toLocation?.path\n let currentPage\n\n if (typeof to === 'string') {\n const routerBasename = this.conf.basename || '/'\n currentPage = stripBasename(addLeadingSlash(to || this.homePage), routerBasename) || '/'\n } else {\n currentPage = this.getCurrentUrl()\n }\n\n this.selectedIndex = this.getSelectedIndex(this.getOriginUrl(currentPage))\n }\n\n setTabBarBadgeHandler = ({ index, text, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].showRedDot = false\n list[index].badgeText = text\n successHandler({\n errMsg: 'setTabBarBadge:ok'\n })\n } else {\n errorHandler({\n errMsg: 'setTabBarBadge:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n removeTabBarBadgeHandler = ({ index, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].badgeText = null\n list[index].badgeText = null\n successHandler({\n errMsg: 'removeTabBarBadge:ok'\n })\n } else {\n errorHandler({\n errMsg: 'removeTabBarBadge:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n showTabBarRedDotHandler = ({ index, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].badgeText = null\n list[index].showRedDot = true\n successHandler({\n errMsg: 'showTabBarRedDot:ok'\n })\n } else {\n errorHandler({\n errMsg: 'showTabBarRedDot:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n hideTabBarRedDotHandler = ({ index, successHandler, errorHandler }: RouterHandler) => {\n const list = [...this.list]\n if (index in list) {\n list[index].showRedDot = false\n successHandler({\n errMsg: 'hideTabBarRedDot:ok'\n })\n } else {\n errorHandler({\n errMsg: 'hideTabBarRedDot:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n showTabBarHandler = ({ successHandler }) => {\n this.status = STATUS_SHOW\n successHandler({\n errMsg: 'showTabBar:ok'\n })\n }\n\n hideTabBarHandler = ({ animation, successHandler }) => {\n this.status = animation ? STATUS_SLIDEOUT : STATUS_HIDE\n successHandler({\n errMsg: 'hideTabBar:ok'\n })\n }\n\n setTabBarStyleHandler = ({ color, selectedColor, backgroundColor, borderStyle, successHandler }) => {\n if (backgroundColor) this.backgroundColor = backgroundColor\n if (borderStyle) this.borderStyle = borderStyle\n if (color) this.color = color\n if (selectedColor) this.selectedColor = selectedColor\n successHandler({\n errMsg: 'setTabBarStyle:ok'\n })\n }\n\n setTabBarItemHandler = ({ index, iconPath, selectedIconPath, text, successHandler, errorHandler }) => {\n const list = [...this.list]\n if (index in list) {\n if (iconPath) list[index].iconPath = iconPath\n if (selectedIconPath) list[index].selectedIconPath = selectedIconPath\n if (text) list[index].text = text\n successHandler({\n errMsg: 'setTabBarItem:ok'\n })\n } else {\n errorHandler({\n errMsg: 'setTabBarItem:fail tabbar item not found'\n })\n }\n\n this.list = list\n }\n\n bindEvent () {\n Taro.eventCenter.on('__taroRouterChange', this.routerChangeHandler)\n Taro.eventCenter.on('__taroSwitchTab', this.switchTabHandler)\n Taro.eventCenter.on('__taroSetTabBarBadge', this.setTabBarBadgeHandler)\n Taro.eventCenter.on('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler)\n Taro.eventCenter.on('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler)\n Taro.eventCenter.on('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler)\n Taro.eventCenter.on('__taroShowTabBar', this.showTabBarHandler)\n Taro.eventCenter.on('__taroHideTabBar', this.hideTabBarHandler)\n Taro.eventCenter.on('__taroSetTabBarStyle', this.setTabBarStyleHandler)\n Taro.eventCenter.on('__taroSetTabBarItem', this.setTabBarItemHandler)\n }\n\n removeEvent () {\n Taro.eventCenter.off('__taroRouterChange', this.routerChangeHandler)\n Taro.eventCenter.off('__taroSwitchTab', this.switchTabHandler)\n Taro.eventCenter.off('__taroSetTabBarBadge', this.setTabBarBadgeHandler)\n Taro.eventCenter.off('__taroRemoveTabBarBadge', this.removeTabBarBadgeHandler)\n Taro.eventCenter.off('__taroShowTabBarRedDotHandler', this.showTabBarRedDotHandler)\n Taro.eventCenter.off('__taroHideTabBarRedDotHandler', this.hideTabBarRedDotHandler)\n Taro.eventCenter.off('__taroShowTabBar', this.showTabBarHandler)\n Taro.eventCenter.off('__taroHideTabBar', this.hideTabBarHandler)\n Taro.eventCenter.off('__taroSetTabBarStyle', this.setTabBarStyleHandler)\n Taro.eventCenter.off('__taroSetTabBarItem', this.setTabBarItemHandler)\n }\n\n componentDidLoad () {\n this.tabbarPos = this.tabbar.nextElementSibling ? 'top' : 'bottom'\n this.bindEvent()\n this.routerChangeHandler()\n }\n\n disconnectedCallback () {\n this.removeEvent()\n }\n\n render () {\n const { tabbarPos = 'bottom' } = this\n const status = this.status\n const containerCls = classNames('weui-tabbar', {\n [`taro-tabbar__border-${this.borderStyle || 'black'}`]: true\n })\n const shouldHideTabBar = this.selectedIndex === -1 || status === STATUS_HIDE\n const shouldSlideout = status === STATUS_SLIDEOUT\n\n return (\n <Host\n class={classNames(\n basicTabBarClassName,\n `${basicTabBarClassName}-${tabbarPos}`, {\n [hideTabBarClassName]: shouldHideTabBar,\n [hideTabBarWithAnimationClassName]: shouldSlideout\n })} >\n <div\n class={containerCls}\n style={{\n backgroundColor: this.backgroundColor || '',\n height: 'inherit'\n }}\n >\n {this.list.map((item, index) => {\n const isSelected = this.selectedIndex === index\n let textColor\n let iconPath\n if (isSelected) {\n textColor = this.selectedColor || ''\n iconPath = item.selectedIconPath\n } else {\n textColor = this.color || ''\n iconPath = item.iconPath\n }\n return (\n <TabbarItem\n index={index}\n onSelect={this.switchTab.bind(this)}\n isSelected={isSelected}\n textColor={textColor}\n iconPath={iconPath}\n text={item.text}\n badgeText={item.badgeText}\n showRedDot={item.showRedDot}\n />\n )\n })}\n </div>\n </Host>\n )\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Tabs=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Tabs",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Tabs as taro_tabs_core};
2
+ //# sourceMappingURL=taro-tabs-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/tabs/tabs.tsx"],"names":["Tabs","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"8IAOaA,KAAI,kDACfA,EAAAC,UAAAC,iBAAA,WACEC,WAAW,OAAQC,OAGrBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,KAAI,gBAPM","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-tabs-core'\n})\nexport class Tabs implements ComponentInterface {\n componentDidLoad () {\n notSupport('Tabs', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-5d881caf.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var View=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(t){if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false}))};t.prototype.render=function(){var t;var e=classnames((t={},t["".concat(this.hoverClass)]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return h(Host,Object.assign({class:e},i),h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();View.style=indexCss;export{View as taro_view_core};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-5d881caf.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var View=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(t){if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false;if(t.nodeType!==document.COMMENT_NODE&&t["s-sr"])t["s-sr"]=false}))};t.prototype.render=function(){var t;var e=classnames((t={},t["".concat(this.hoverClass)]=this.hover,t));var s={};if(!!this.animation){s["animation"]=this.animation;s["data-animation"]=this.animation}return h(Host,Object.assign({class:e},s),h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();View.style=indexCss;export{View as taro_view_core};
2
2
  //# sourceMappingURL=taro-view-core.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["src/components/view/style/index.scss?tag=taro-view-core","src/components/view/view.tsx"],"names":["indexCss","View","this","startTime","prototype","onTouchStart","_this","hoverClass","touch","setTimeout","hover","hoverStartTime","timeoutEvent","onLongPress","emit","Date","now","onTouchMove","clearTimeout","onTouchEnd","spanTime","hoverStayTime","componentDidRender","el","childNodes","forEach","item","nodeType","document","COMMENT_NODE","render","cls","classNames","_a","concat","attr","animation","h","Host","Object","assign","class"],"mappings":"qJAAA,IAAMA,SAAW,gLCOJC,KAAI,mGAePC,KAAAC,UAAY,yEAVK,sBACD,eACP,iBACA,MAUjBF,EAAAG,UAAAC,aAAA,WAAA,IAAAC,EAAAJ,KACE,GAAIA,KAAKK,WAAY,CACnBL,KAAKM,MAAQ,KACbC,YAAW,WACT,GAAIH,EAAKE,MAAO,CACdF,EAAKI,MAAQ,QAEdR,KAAKS,gBAGVT,KAAKU,aAAeH,YAAW,WAC7BH,EAAKO,YAAYC,SAChB,KACHZ,KAAKC,UAAYY,KAAKC,OAIxBf,EAAAG,UAAAa,YAAA,WACEC,aAAahB,KAAKU,eAIpBX,EAAAG,UAAAe,WAAA,WAAA,IAAAb,EAAAJ,KACE,IAAMkB,EAAWL,KAAKC,MAAQd,KAAKC,UACnC,GAAIiB,EAAW,IAAK,CAClBF,aAAahB,KAAKU,cAEpB,GAAIV,KAAKK,WAAY,CACnBL,KAAKM,MAAQ,MACbC,YAAW,WACT,IAAKH,EAAKE,MAAO,CACfF,EAAKI,MAAQ,SAEdR,KAAKmB,iBAIZpB,EAAAG,UAAAkB,mBAAA,WACE,IAAMC,EAAKrB,KAAKqB,GAChBA,EAAGC,WAAWC,SAAQ,SAAAC,GACpB,GAAIA,EAAKC,WAAaC,SAASC,cAAgBH,EAAK,QAASA,EAAK,QAAU,UAIhFzB,EAAAG,UAAA0B,OAAA,iBACE,IAAMC,EAAMC,YAAUC,EAAA,GACpBA,EAAC,GAAAC,OAAGhC,KAAKK,aAAeL,KAAKQ,UAE/B,IAAIyB,EAAO,GACX,KAAMjC,KAAKkC,UAAW,CACpBD,EAAK,aAAejC,KAAKkC,UACzBD,EAAK,kBAAoBjC,KAAKkC,UAEhC,OACEC,EAACC,KAAIC,OAAAC,OAAA,CAACC,MAAOV,GAASI,GACpBE,EAAA,OAAA,sIAzES","sourcesContent":["body,\nhtml {\n user-select: none;\n -webkit-tap-highlight-color: rgb(0 0 0 / 0%);\n}\n\ntaro-view-core {\n display: block;\n}\n","import { Component, Prop, h, ComponentInterface, Host, Listen, State, Event, EventEmitter, Element } from '@stencil/core'\nimport classNames from 'classnames'\n\n@Component({\n tag: 'taro-view-core',\n styleUrl: './style/index.scss'\n})\nexport class View implements ComponentInterface {\n @Element() el: HTMLElement\n\n @Prop() animation: string\n @Prop() hoverClass: string\n @Prop() hoverStartTime = 50\n @Prop() hoverStayTime = 400\n @State() hover = false\n @State() touch = false\n\n @Event({\n eventName: 'longpress'\n }) onLongPress: EventEmitter\n\n private timeoutEvent: ReturnType<typeof setTimeout>\n private startTime = 0\n\n @Listen('touchstart')\n onTouchStart () {\n if (this.hoverClass) {\n this.touch = true\n setTimeout(() => {\n if (this.touch) {\n this.hover = true\n }\n }, this.hoverStartTime)\n }\n\n this.timeoutEvent = setTimeout(() => {\n this.onLongPress.emit()\n }, 350)\n this.startTime = Date.now()\n }\n\n @Listen('touchmove')\n onTouchMove () {\n clearTimeout(this.timeoutEvent)\n }\n\n @Listen('touchend')\n onTouchEnd () {\n const spanTime = Date.now() - this.startTime\n if (spanTime < 350) {\n clearTimeout(this.timeoutEvent)\n }\n if (this.hoverClass) {\n this.touch = false\n setTimeout(() => {\n if (!this.touch) {\n this.hover = false\n }\n }, this.hoverStayTime)\n }\n }\n\n componentDidRender () {\n const el = this.el\n el.childNodes.forEach(item => {\n if (item.nodeType === document.COMMENT_NODE && item[\"s-cn\"]) item[\"s-cn\"] = false\n })\n }\n\n render() {\n const cls = classNames({\n [`${this.hoverClass}`]: this.hover\n })\n let attr = {}\n if (!!this.animation) {\n attr['animation'] = this.animation\n attr['data-animation'] = this.animation\n }\n return (\n <Host class={cls} {...attr}>\n <slot></slot>\n </Host>\n )\n }\n}\n"]}
1
+ {"version":3,"sources":["src/components/view/style/index.scss?tag=taro-view-core","src/components/view/view.tsx"],"names":["indexCss","View","this","startTime","prototype","onTouchStart","_this","hoverClass","touch","setTimeout","hover","hoverStartTime","timeoutEvent","onLongPress","emit","Date","now","onTouchMove","clearTimeout","onTouchEnd","spanTime","hoverStayTime","componentDidRender","el","childNodes","forEach","item","nodeType","document","COMMENT_NODE","render","cls","classNames","_a","concat","attr","animation","h","Host","Object","assign","class"],"mappings":"qJAAA,IAAMA,SAAW,gLCOJC,KAAI,mGAePC,KAAAC,UAAY,yEAVK,sBACD,eACP,iBACA,MAUjBF,EAAAG,UAAAC,aAAA,WAAA,IAAAC,EAAAJ,KACE,GAAIA,KAAKK,WAAY,CACnBL,KAAKM,MAAQ,KACbC,YAAW,WACT,GAAIH,EAAKE,MAAO,CACdF,EAAKI,MAAQ,QAEdR,KAAKS,gBAGVT,KAAKU,aAAeH,YAAW,WAC7BH,EAAKO,YAAYC,SAChB,KACHZ,KAAKC,UAAYY,KAAKC,OAIxBf,EAAAG,UAAAa,YAAA,WACEC,aAAahB,KAAKU,eAIpBX,EAAAG,UAAAe,WAAA,WAAA,IAAAb,EAAAJ,KACE,IAAMkB,EAAWL,KAAKC,MAAQd,KAAKC,UACnC,GAAIiB,EAAW,IAAK,CAClBF,aAAahB,KAAKU,cAEpB,GAAIV,KAAKK,WAAY,CACnBL,KAAKM,MAAQ,MACbC,YAAW,WACT,IAAKH,EAAKE,MAAO,CACfF,EAAKI,MAAQ,SAEdR,KAAKmB,iBAIZpB,EAAAG,UAAAkB,mBAAA,WACE,IAAMC,EAAKrB,KAAKqB,GAChBA,EAAGC,WAAWC,SAAQ,SAAAC,GAEpB,GAAIA,EAAKC,WAAaC,SAASC,cAAgBH,EAAK,QAASA,EAAK,QAAU,MAE5E,GAAIA,EAAKC,WAAaC,SAASC,cAAgBH,EAAK,QAASA,EAAK,QAAU,UAIhFzB,EAAAG,UAAA0B,OAAA,iBACE,IAAMC,EAAMC,YAAUC,EAAA,GACpBA,EAAC,GAAAC,OAAGhC,KAAKK,aAAeL,KAAKQ,UAE/B,IAAIyB,EAAO,GACX,KAAMjC,KAAKkC,UAAW,CACpBD,EAAK,aAAejC,KAAKkC,UACzBD,EAAK,kBAAoBjC,KAAKkC,UAEhC,OACEC,EAACC,KAAIC,OAAAC,OAAA,CAACC,MAAOV,GAASI,GACpBE,EAAA,OAAA,sIA5ES","sourcesContent":["body,\nhtml {\n user-select: none;\n -webkit-tap-highlight-color: rgb(0 0 0 / 0%);\n}\n\ntaro-view-core {\n display: block;\n}\n","import { Component, Prop, h, ComponentInterface, Host, Listen, State, Event, EventEmitter, Element } from '@stencil/core'\nimport classNames from 'classnames'\n\n@Component({\n tag: 'taro-view-core',\n styleUrl: './style/index.scss'\n})\nexport class View implements ComponentInterface {\n @Element() el: HTMLElement\n\n @Prop() animation: string\n @Prop() hoverClass: string\n @Prop() hoverStartTime = 50\n @Prop() hoverStayTime = 400\n @State() hover = false\n @State() touch = false\n\n @Event({\n eventName: 'longpress'\n }) onLongPress: EventEmitter\n\n private timeoutEvent: ReturnType<typeof setTimeout>\n private startTime = 0\n\n @Listen('touchstart')\n onTouchStart () {\n if (this.hoverClass) {\n this.touch = true\n setTimeout(() => {\n if (this.touch) {\n this.hover = true\n }\n }, this.hoverStartTime)\n }\n\n this.timeoutEvent = setTimeout(() => {\n this.onLongPress.emit()\n }, 350)\n this.startTime = Date.now()\n }\n\n @Listen('touchmove')\n onTouchMove () {\n clearTimeout(this.timeoutEvent)\n }\n\n @Listen('touchend')\n onTouchEnd () {\n const spanTime = Date.now() - this.startTime\n if (spanTime < 350) {\n clearTimeout(this.timeoutEvent)\n }\n if (this.hoverClass) {\n this.touch = false\n setTimeout(() => {\n if (!this.touch) {\n this.hover = false\n }\n }, this.hoverStayTime)\n }\n }\n\n componentDidRender () {\n const el = this.el\n el.childNodes.forEach(item => {\n // Note: ['s-cn'] Content Reference Node\n if (item.nodeType === document.COMMENT_NODE && item['s-cn']) item['s-cn'] = false\n // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)\n if (item.nodeType !== document.COMMENT_NODE && item['s-sr']) item['s-sr'] = false\n })\n }\n\n render() {\n const cls = classNames({\n [`${this.hoverClass}`]: this.hover\n })\n let attr = {}\n if (!!this.animation) {\n attr['animation'] = this.animation\n attr['data-animation'] = this.animation\n }\n return (\n <Host class={cls} {...attr}>\n <slot></slot>\n </Host>\n )\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ System.register(["./p-8a8f286f.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RtcRoom",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
2
+ //# sourceMappingURL=p-0be383a9.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/rtc-room/rtc-room.tsx"],"names":["RtcRoom","exports","class_1","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"gOAOaA,EAAOC,EAAA,qBAAA,mCAClBC,EAAAC,UAAAC,iBAAA,WACEC,EAAW,UAAWC,OAGxBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,EAAI,gBAPS","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-rtc-room-core'\n})\nexport class RtcRoom implements ComponentInterface {\n componentDidLoad () {\n notSupport('RtcRoom', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ import{r as o,h as r,H as t}from"./p-5bfefd19.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("Slot",this)}render(){return r(t,null)}};export{a as taro_slot_core};
2
+ //# sourceMappingURL=p-186ad7ff.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/slot/slot.tsx"],"names":["Slot","[object Object]","notSupport","this","h","Host"],"mappings":"iHAOaA,EAAI,+BACfC,mBACEC,EAAW,OAAQC,MAGrBF,SACE,OACEG,EAACC,EAAI","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-slot-core'\n})\nexport class Slot implements ComponentInterface {\n componentDidLoad () {\n notSupport('Slot', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as e,H as i,g as o}from"./p-5bfefd19.js";import{c as h}from"./p-76724e58.js";const n="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";const r=class{constructor(e){t(this,e);this.onLongPress=s(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}onTouchStart(){if(this.hoverClass){this.touch=true;setTimeout((()=>{if(this.touch){this.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350);this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){const t=Date.now()-this.startTime;if(t<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((()=>{if(!this.touch){this.hover=false}}),this.hoverStayTime)}}componentDidRender(){const t=this.el;t.childNodes.forEach((t=>{if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false}))}render(){const t=h({[`${this.hoverClass}`]:this.hover});let s={};if(!!this.animation){s["animation"]=this.animation;s["data-animation"]=this.animation}return e(i,Object.assign({class:t},s),e("slot",null))}get el(){return o(this)}};r.style=n;export{r as taro_view_core};
2
- //# sourceMappingURL=p-e9abe3e2.entry.js.map
1
+ import{r as t,c as s,h as e,H as i,g as o}from"./p-5bfefd19.js";import{c as h}from"./p-76724e58.js";const n="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";const r=class{constructor(e){t(this,e);this.onLongPress=s(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}onTouchStart(){if(this.hoverClass){this.touch=true;setTimeout((()=>{if(this.touch){this.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350);this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){const t=Date.now()-this.startTime;if(t<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((()=>{if(!this.touch){this.hover=false}}),this.hoverStayTime)}}componentDidRender(){const t=this.el;t.childNodes.forEach((t=>{if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false;if(t.nodeType!==document.COMMENT_NODE&&t["s-sr"])t["s-sr"]=false}))}render(){const t=h({[`${this.hoverClass}`]:this.hover});let s={};if(!!this.animation){s["animation"]=this.animation;s["data-animation"]=this.animation}return e(i,Object.assign({class:t},s),e("slot",null))}get el(){return o(this)}};r.style=n;export{r as taro_view_core};
2
+ //# sourceMappingURL=p-19afe402.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/view/style/index.scss?tag=taro-view-core","src/components/view/view.tsx"],"names":["indexCss","View","this","startTime","[object Object]","hoverClass","touch","setTimeout","hover","hoverStartTime","timeoutEvent","onLongPress","emit","Date","now","clearTimeout","spanTime","hoverStayTime","el","childNodes","forEach","item","nodeType","document","COMMENT_NODE","cls","classNames","attr","animation","h","Host","Object","assign","class"],"mappings":"oGAAA,MAAMA,EAAW,kLCOJC,EAAI,sEAePC,KAAAC,UAAY,yEAVK,sBACD,eACP,iBACA,MAUjBC,eACE,GAAIF,KAAKG,WAAY,CACnBH,KAAKI,MAAQ,KACbC,YAAW,KACT,GAAIL,KAAKI,MAAO,CACdJ,KAAKM,MAAQ,QAEdN,KAAKO,gBAGVP,KAAKQ,aAAeH,YAAW,KAC7BL,KAAKS,YAAYC,SAChB,KACHV,KAAKC,UAAYU,KAAKC,MAIxBV,cACEW,aAAab,KAAKQ,cAIpBN,aACE,MAAMY,EAAWH,KAAKC,MAAQZ,KAAKC,UACnC,GAAIa,EAAW,IAAK,CAClBD,aAAab,KAAKQ,cAEpB,GAAIR,KAAKG,WAAY,CACnBH,KAAKI,MAAQ,MACbC,YAAW,KACT,IAAKL,KAAKI,MAAO,CACfJ,KAAKM,MAAQ,SAEdN,KAAKe,gBAIZb,qBACE,MAAMc,EAAKhB,KAAKgB,GAChBA,EAAGC,WAAWC,SAAQC,IAEpB,GAAIA,EAAKC,WAAaC,SAASC,cAAgBH,EAAK,QAASA,EAAK,QAAU,MAE5E,GAAIA,EAAKC,WAAaC,SAASC,cAAgBH,EAAK,QAASA,EAAK,QAAU,SAIhFjB,SACE,MAAMqB,EAAMC,EAAW,CACrBtB,CAAC,GAAGF,KAAKG,cAAeH,KAAKM,QAE/B,IAAImB,EAAO,GACX,KAAMzB,KAAK0B,UAAW,CACpBD,EAAK,aAAezB,KAAK0B,UACzBD,EAAK,kBAAoBzB,KAAK0B,UAEhC,OACEC,EAACC,EAAIC,OAAAC,OAAA,CAACC,MAAOR,GAASE,GACpBE,EAAA,OAAA","sourcesContent":["body,\nhtml {\n user-select: none;\n -webkit-tap-highlight-color: rgb(0 0 0 / 0%);\n}\n\ntaro-view-core {\n display: block;\n}\n","import { Component, Prop, h, ComponentInterface, Host, Listen, State, Event, EventEmitter, Element } from '@stencil/core'\nimport classNames from 'classnames'\n\n@Component({\n tag: 'taro-view-core',\n styleUrl: './style/index.scss'\n})\nexport class View implements ComponentInterface {\n @Element() el: HTMLElement\n\n @Prop() animation: string\n @Prop() hoverClass: string\n @Prop() hoverStartTime = 50\n @Prop() hoverStayTime = 400\n @State() hover = false\n @State() touch = false\n\n @Event({\n eventName: 'longpress'\n }) onLongPress: EventEmitter\n\n private timeoutEvent: ReturnType<typeof setTimeout>\n private startTime = 0\n\n @Listen('touchstart')\n onTouchStart () {\n if (this.hoverClass) {\n this.touch = true\n setTimeout(() => {\n if (this.touch) {\n this.hover = true\n }\n }, this.hoverStartTime)\n }\n\n this.timeoutEvent = setTimeout(() => {\n this.onLongPress.emit()\n }, 350)\n this.startTime = Date.now()\n }\n\n @Listen('touchmove')\n onTouchMove () {\n clearTimeout(this.timeoutEvent)\n }\n\n @Listen('touchend')\n onTouchEnd () {\n const spanTime = Date.now() - this.startTime\n if (spanTime < 350) {\n clearTimeout(this.timeoutEvent)\n }\n if (this.hoverClass) {\n this.touch = false\n setTimeout(() => {\n if (!this.touch) {\n this.hover = false\n }\n }, this.hoverStayTime)\n }\n }\n\n componentDidRender () {\n const el = this.el\n el.childNodes.forEach(item => {\n // Note: ['s-cn'] Content Reference Node\n if (item.nodeType === document.COMMENT_NODE && item['s-cn']) item['s-cn'] = false\n // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)\n if (item.nodeType !== document.COMMENT_NODE && item['s-sr']) item['s-sr'] = false\n })\n }\n\n render() {\n const cls = classNames({\n [`${this.hoverClass}`]: this.hover\n })\n let attr = {}\n if (!!this.animation) {\n attr['animation'] = this.animation\n attr['data-animation'] = this.animation\n }\n return (\n <Host class={cls} {...attr}>\n <slot></slot>\n </Host>\n )\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ System.register(["./p-8a8f286f.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_comment_detail_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentDetail",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
2
+ //# sourceMappingURL=p-1a47133c.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/comment/comment-detail.tsx"],"names":["CommentDetail","exports","class_1","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"gOAOaA,EAAaC,EAAA,2BAAA,mCACxBC,EAAAC,UAAAC,iBAAA,WACEC,EAAW,gBAAiBC,OAG9BJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,EAAI,gBAPe","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-comment-detail-core'\n})\nexport class CommentDetail implements ComponentInterface {\n componentDidLoad () {\n notSupport('CommentDetail', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ System.register(["./p-8a8f286f.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_tabs_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Tabs",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
2
+ //# sourceMappingURL=p-1ad0aa95.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/tabs/tabs.tsx"],"names":["Tabs","exports","class_1","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"gOAOaA,EAAIC,EAAA,iBAAA,mCACfC,EAAAC,UAAAC,iBAAA,WACEC,EAAW,OAAQC,OAGrBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,EAAI,gBAPM","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-tabs-core'\n})\nexport class Tabs implements ComponentInterface {\n componentDidLoad () {\n notSupport('Tabs', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ System.register(["./p-8a8f286f.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_slot_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Slot",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
2
+ //# sourceMappingURL=p-1b1420c9.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/slot/slot.tsx"],"names":["Slot","exports","class_1","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"gOAOaA,EAAIC,EAAA,iBAAA,mCACfC,EAAAC,UAAAC,iBAAA,WACEC,EAAW,OAAQC,OAGrBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,EAAI,gBAPM","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-slot-core'\n})\nexport class Slot implements ComponentInterface {\n componentDidLoad () {\n notSupport('Slot', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}