@tarojs/components 3.5.7-alpha.6 → 3.6.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (853) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/helper-db78e01a.js +2 -0
  3. package/dist/cjs/helper-db78e01a.js.map +1 -0
  4. package/dist/cjs/index-47a1959e.js +2 -0
  5. package/dist/cjs/index-47a1959e.js.map +1 -0
  6. package/dist/cjs/{index-7c61bee9.js → index-9174e0b1.js} +477 -234
  7. package/dist/cjs/index-9174e0b1.js.map +1 -0
  8. package/dist/cjs/index-f9d21cc5.js +2 -0
  9. package/dist/cjs/index-f9d21cc5.js.map +1 -0
  10. package/dist/cjs/index.cjs.js +2 -0
  11. package/dist/cjs/index.cjs.js.map +1 -0
  12. package/dist/cjs/intersection-observer-dc4cfcef.js +2 -0
  13. package/dist/cjs/intersection-observer-dc4cfcef.js.map +1 -0
  14. package/dist/cjs/loader.cjs.js +5 -3
  15. package/dist/cjs/loader.cjs.js.map +1 -0
  16. package/dist/cjs/taro-ad-core.cjs.entry.js +4 -2
  17. package/dist/cjs/taro-ad-core.cjs.entry.js.map +1 -0
  18. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +4 -2
  19. package/dist/cjs/taro-ad-custom-core.cjs.entry.js.map +1 -0
  20. package/dist/cjs/taro-audio-core.cjs.entry.js +5 -2
  21. package/dist/cjs/taro-audio-core.cjs.entry.js.map +1 -0
  22. package/dist/cjs/taro-block-core.cjs.entry.js +4 -2
  23. package/dist/cjs/taro-block-core.cjs.entry.js.map +1 -0
  24. package/dist/cjs/taro-button-core.cjs.entry.js +7 -2
  25. package/dist/cjs/taro-button-core.cjs.entry.js.map +1 -0
  26. package/dist/cjs/taro-camera-core.cjs.entry.js +4 -2
  27. package/dist/cjs/taro-camera-core.cjs.entry.js.map +1 -0
  28. package/dist/cjs/taro-canvas-core.cjs.entry.js +6 -3
  29. package/dist/cjs/taro-canvas-core.cjs.entry.js.map +1 -0
  30. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +14 -8
  31. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js.map +1 -0
  32. package/dist/cjs/taro-components.cjs.js +5 -3
  33. package/dist/cjs/taro-components.cjs.js.map +1 -0
  34. package/dist/cjs/taro-cover-image-core.cjs.entry.js +5 -2
  35. package/dist/cjs/taro-cover-image-core.cjs.entry.js.map +1 -0
  36. package/dist/cjs/taro-cover-view-core.cjs.entry.js +7 -3
  37. package/dist/cjs/taro-cover-view-core.cjs.entry.js.map +1 -0
  38. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +4 -2
  39. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js.map +1 -0
  40. package/dist/cjs/taro-editor-core.cjs.entry.js +4 -2
  41. package/dist/cjs/taro-editor-core.cjs.entry.js.map +1 -0
  42. package/dist/cjs/taro-form-core.cjs.entry.js +5 -2
  43. package/dist/cjs/taro-form-core.cjs.entry.js.map +1 -0
  44. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +4 -2
  45. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js.map +1 -0
  46. package/dist/cjs/taro-icon-core.cjs.entry.js +6 -2
  47. package/dist/cjs/taro-icon-core.cjs.entry.js.map +1 -0
  48. package/dist/cjs/taro-image-core.cjs.entry.js +5 -2
  49. package/dist/cjs/taro-image-core.cjs.entry.js.map +1 -0
  50. package/dist/cjs/taro-input-core.cjs.entry.js +18 -10
  51. package/dist/cjs/taro-input-core.cjs.entry.js.map +1 -0
  52. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +4 -2
  53. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js.map +1 -0
  54. package/dist/cjs/taro-label-core.cjs.entry.js +5 -2
  55. package/dist/cjs/taro-label-core.cjs.entry.js.map +1 -0
  56. package/dist/cjs/taro-live-player-core.cjs.entry.js +4 -2
  57. package/dist/cjs/taro-live-player-core.cjs.entry.js.map +1 -0
  58. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +4 -2
  59. package/dist/cjs/taro-live-pusher-core.cjs.entry.js.map +1 -0
  60. package/dist/cjs/taro-map-core.cjs.entry.js +4 -2
  61. package/dist/cjs/taro-map-core.cjs.entry.js.map +1 -0
  62. package/dist/cjs/taro-match-media-core.cjs.entry.js +4 -2
  63. package/dist/cjs/taro-match-media-core.cjs.entry.js.map +1 -0
  64. package/dist/cjs/{taro-movable-view-core.cjs.entry.js → taro-movable-area-core_2.cjs.entry.js} +187 -97
  65. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js.map +1 -0
  66. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +4 -2
  67. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js.map +1 -0
  68. package/dist/cjs/taro-navigator-core.cjs.entry.js +6 -2
  69. package/dist/cjs/taro-navigator-core.cjs.entry.js.map +1 -0
  70. package/dist/cjs/taro-official-account-core.cjs.entry.js +4 -2
  71. package/dist/cjs/taro-official-account-core.cjs.entry.js.map +1 -0
  72. package/dist/cjs/taro-open-data-core.cjs.entry.js +4 -2
  73. package/dist/cjs/taro-open-data-core.cjs.entry.js.map +1 -0
  74. package/dist/cjs/taro-page-container-core.cjs.entry.js +4 -2
  75. package/dist/cjs/taro-page-container-core.cjs.entry.js.map +1 -0
  76. package/dist/cjs/taro-page-meta-core.cjs.entry.js +4 -2
  77. package/dist/cjs/taro-page-meta-core.cjs.entry.js.map +1 -0
  78. package/dist/cjs/taro-picker-core_2.cjs.entry.js +31 -15
  79. package/dist/cjs/taro-picker-core_2.cjs.entry.js.map +1 -0
  80. package/dist/cjs/{taro-picker-view-core.cjs.entry.js → taro-picker-view-column-core_2.cjs.entry.js} +101 -6
  81. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js.map +1 -0
  82. package/dist/cjs/taro-progress-core.cjs.entry.js +7 -5
  83. package/dist/cjs/taro-progress-core.cjs.entry.js.map +1 -0
  84. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +10 -8
  85. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js.map +1 -0
  86. package/dist/cjs/taro-radio-core_2.cjs.entry.js +15 -9
  87. package/dist/cjs/taro-radio-core_2.cjs.entry.js.map +1 -0
  88. package/dist/cjs/taro-rich-text-core.cjs.entry.js +5 -2
  89. package/dist/cjs/taro-rich-text-core.cjs.entry.js.map +1 -0
  90. package/dist/cjs/taro-root-portal-core.cjs.entry.js +4 -2
  91. package/dist/cjs/taro-root-portal-core.cjs.entry.js.map +1 -0
  92. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +28 -22
  93. package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +1 -0
  94. package/dist/cjs/taro-share-element-core.cjs.entry.js +4 -2
  95. package/dist/cjs/taro-share-element-core.cjs.entry.js.map +1 -0
  96. package/dist/cjs/taro-slider-core.cjs.entry.js +23 -19
  97. package/dist/cjs/taro-slider-core.cjs.entry.js.map +1 -0
  98. package/dist/cjs/taro-slot-core.cjs.entry.js +4 -7
  99. package/dist/cjs/taro-slot-core.cjs.entry.js.map +1 -0
  100. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +25 -56
  101. package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -0
  102. package/dist/cjs/taro-switch-core.cjs.entry.js +12 -8
  103. package/dist/cjs/taro-switch-core.cjs.entry.js.map +1 -0
  104. package/dist/cjs/taro-tabbar.cjs.entry.js +12 -4
  105. package/dist/cjs/taro-tabbar.cjs.entry.js.map +1 -0
  106. package/dist/cjs/taro-text-core.cjs.entry.js +4 -2
  107. package/dist/cjs/taro-text-core.cjs.entry.js.map +1 -0
  108. package/dist/cjs/taro-textarea-core.cjs.entry.js +13 -8
  109. package/dist/cjs/taro-textarea-core.cjs.entry.js.map +1 -0
  110. package/dist/cjs/taro-video-control_3.cjs.entry.js +142 -260
  111. package/dist/cjs/taro-video-control_3.cjs.entry.js.map +1 -0
  112. package/dist/cjs/taro-view-core.cjs.entry.js +7 -3
  113. package/dist/cjs/taro-view-core.cjs.entry.js.map +1 -0
  114. package/dist/cjs/taro-voip-room-core.cjs.entry.js +4 -2
  115. package/dist/cjs/taro-voip-room-core.cjs.entry.js.map +1 -0
  116. package/dist/cjs/taro-web-view-core.cjs.entry.js +5 -2
  117. package/dist/cjs/taro-web-view-core.cjs.entry.js.map +1 -0
  118. package/dist/collection/collection-manifest.json +16 -4
  119. package/dist/collection/components/ad/ad.js +2 -1
  120. package/dist/collection/components/ad/ad.js.map +1 -0
  121. package/dist/collection/components/ad-custom/ad-custom.js +2 -1
  122. package/dist/collection/components/ad-custom/ad-custom.js.map +1 -0
  123. package/dist/collection/components/audio/audio.js +199 -190
  124. package/dist/collection/components/audio/audio.js.map +1 -0
  125. package/dist/collection/components/block/block.js +2 -2
  126. package/dist/collection/components/block/block.js.map +1 -0
  127. package/dist/collection/components/button/button.js +224 -211
  128. package/dist/collection/components/button/button.js.map +1 -0
  129. package/dist/collection/components/camera/camera.js +2 -1
  130. package/dist/collection/components/camera/camera.js.map +1 -0
  131. package/dist/collection/components/canvas/canvas.js +67 -58
  132. package/dist/collection/components/canvas/canvas.js.map +1 -0
  133. package/dist/collection/components/checkbox/checkbox-group.js +50 -42
  134. package/dist/collection/components/checkbox/checkbox-group.js.map +1 -0
  135. package/dist/collection/components/checkbox/checkbox.js +174 -161
  136. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  137. package/dist/collection/components/cover-image/cover-image.js +81 -72
  138. package/dist/collection/components/cover-image/cover-image.js.map +1 -0
  139. package/dist/collection/components/cover-view/cover-view.js +131 -118
  140. package/dist/collection/components/cover-view/cover-view.js.map +1 -0
  141. package/dist/collection/components/custom-wrapper/custom-wrapper.js +2 -2
  142. package/dist/collection/components/custom-wrapper/custom-wrapper.js.map +1 -0
  143. package/dist/collection/components/editor/editor.js +2 -1
  144. package/dist/collection/components/editor/editor.js.map +1 -0
  145. package/dist/collection/components/form/form.js +48 -40
  146. package/dist/collection/components/form/form.js.map +1 -0
  147. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +2 -1
  148. package/dist/collection/components/functional-page-navigator/functional-page-navigator.js.map +1 -0
  149. package/dist/collection/components/icon/icon.js +61 -56
  150. package/dist/collection/components/icon/icon.js.map +1 -0
  151. package/dist/collection/components/image/image.js +123 -111
  152. package/dist/collection/components/image/image.js.map +1 -0
  153. package/dist/collection/components/input/input.js +310 -293
  154. package/dist/collection/components/input/input.js.map +1 -0
  155. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +2 -1
  156. package/dist/collection/components/keyboard-accessory/keyboard-accessory.js.map +1 -0
  157. package/dist/collection/components/label/label.js +27 -22
  158. package/dist/collection/components/label/label.js.map +1 -0
  159. package/dist/collection/components/live-player/live-player.js +2 -1
  160. package/dist/collection/components/live-player/live-player.js.map +1 -0
  161. package/dist/collection/components/live-pusher/live-pusher.js +2 -1
  162. package/dist/collection/components/live-pusher/live-pusher.js.map +1 -0
  163. package/dist/collection/components/map/map.js +2 -1
  164. package/dist/collection/components/map/map.js.map +1 -0
  165. package/dist/collection/components/match-media/match-media.js +2 -1
  166. package/dist/collection/components/match-media/match-media.js.map +1 -0
  167. package/dist/collection/components/movable-area/movable-area.js +34 -26
  168. package/dist/collection/components/movable-area/movable-area.js.map +1 -0
  169. package/dist/collection/components/movable-area/movable-view.js +415 -457
  170. package/dist/collection/components/movable-area/movable-view.js.map +1 -0
  171. package/dist/collection/components/navigation-bar/navigation-bar.js +2 -1
  172. package/dist/collection/components/navigation-bar/navigation-bar.js.map +1 -0
  173. package/dist/collection/components/navigator/navigator.js +158 -145
  174. package/dist/collection/components/navigator/navigator.js.map +1 -0
  175. package/dist/collection/components/official-account/official-account.js +2 -1
  176. package/dist/collection/components/official-account/official-account.js.map +1 -0
  177. package/dist/collection/components/open-data/open-data.js +2 -1
  178. package/dist/collection/components/open-data/open-data.js.map +1 -0
  179. package/dist/collection/components/page-container/page-container.js +2 -1
  180. package/dist/collection/components/page-container/page-container.js.map +1 -0
  181. package/dist/collection/components/page-meta/page-meta.js +2 -1
  182. package/dist/collection/components/page-meta/page-meta.js.map +1 -0
  183. package/dist/collection/components/picker/constant.js +1 -0
  184. package/dist/collection/components/picker/constant.js.map +1 -0
  185. package/dist/collection/components/picker/picker-group.js +194 -179
  186. package/dist/collection/components/picker/picker-group.js.map +1 -0
  187. package/dist/collection/components/picker/picker.js +261 -257
  188. package/dist/collection/components/picker/picker.js.map +1 -0
  189. package/dist/collection/components/picker/utils.js +1 -0
  190. package/dist/collection/components/picker/utils.js.map +1 -0
  191. package/dist/collection/components/picker-view/picker-view-column.js +158 -147
  192. package/dist/collection/components/picker-view/picker-view-column.js.map +1 -0
  193. package/dist/collection/components/picker-view/picker-view.js +171 -159
  194. package/dist/collection/components/picker-view/picker-view.js.map +1 -0
  195. package/dist/collection/components/progress/progress.js +153 -157
  196. package/dist/collection/components/progress/progress.js.map +1 -0
  197. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +121 -114
  198. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js.map +1 -0
  199. package/dist/collection/components/radio/radio-group.js +50 -43
  200. package/dist/collection/components/radio/radio-group.js.map +1 -0
  201. package/dist/collection/components/radio/radio.js +152 -144
  202. package/dist/collection/components/radio/radio.js.map +1 -0
  203. package/dist/collection/components/rich-text/rich-text.js +27 -23
  204. package/dist/collection/components/rich-text/rich-text.js.map +1 -0
  205. package/dist/collection/components/root-portal/root-portal.js +2 -1
  206. package/dist/collection/components/root-portal/root-portal.js.map +1 -0
  207. package/dist/collection/components/scroll-view/scroll-view.js +242 -220
  208. package/dist/collection/components/scroll-view/scroll-view.js.map +1 -0
  209. package/dist/collection/components/share-element/share-element.js +2 -1
  210. package/dist/collection/components/share-element/share-element.js.map +1 -0
  211. package/dist/collection/components/slider/slider.js +267 -263
  212. package/dist/collection/components/slider/slider.js.map +1 -0
  213. package/dist/collection/components/slot/slot.js +2 -5
  214. package/dist/collection/components/slot/slot.js.map +1 -0
  215. package/dist/collection/components/swiper/swiper-item.js +26 -21
  216. package/dist/collection/components/swiper/swiper-item.js.map +1 -0
  217. package/dist/collection/components/swiper/swiper.js +325 -352
  218. package/dist/collection/components/swiper/swiper.js.map +1 -0
  219. package/dist/collection/components/switch/switch.js +153 -139
  220. package/dist/collection/components/switch/switch.js.map +1 -0
  221. package/dist/collection/components/tabbar/tabbar-item.js +2 -6
  222. package/dist/collection/components/tabbar/tabbar-item.js.map +1 -0
  223. package/dist/collection/components/tabbar/tabbar.js +86 -70
  224. package/dist/collection/components/tabbar/tabbar.js.map +1 -0
  225. package/dist/collection/components/text/text.js +35 -30
  226. package/dist/collection/components/text/text.js.map +1 -0
  227. package/dist/collection/components/textarea/textarea.js +239 -226
  228. package/dist/collection/components/textarea/textarea.js.map +1 -0
  229. package/dist/collection/components/video/utils.js +1 -0
  230. package/dist/collection/components/video/utils.js.map +1 -0
  231. package/dist/collection/components/video/video-control.js +274 -286
  232. package/dist/collection/components/video/video-control.js.map +1 -0
  233. package/dist/collection/components/video/video-danmu.js +111 -118
  234. package/dist/collection/components/video/video-danmu.js.map +1 -0
  235. package/dist/collection/components/video/video.js +740 -810
  236. package/dist/collection/components/video/video.js.map +1 -0
  237. package/dist/collection/components/view/view.js +131 -118
  238. package/dist/collection/components/view/view.js.map +1 -0
  239. package/dist/collection/components/voip-room/voip-room.js +2 -1
  240. package/dist/collection/components/voip-room/voip-room.js.map +1 -0
  241. package/dist/collection/components/web-view/web-view.js +68 -57
  242. package/dist/collection/components/web-view/web-view.js.map +1 -0
  243. package/dist/collection/index.js +1 -0
  244. package/dist/collection/index.js.map +1 -0
  245. package/dist/collection/utils/helper.js +1 -0
  246. package/dist/collection/utils/helper.js.map +1 -0
  247. package/dist/collection/utils/index.js +1 -0
  248. package/dist/collection/utils/index.js.map +1 -0
  249. package/dist/collection/utils/style.js +1 -0
  250. package/dist/collection/utils/style.js.map +1 -0
  251. package/dist/collection/utils/url.js +1 -0
  252. package/dist/collection/utils/url.js.map +1 -0
  253. package/dist/esm/helper-3d0ecf0f.js +2 -0
  254. package/dist/esm/helper-3d0ecf0f.js.map +1 -0
  255. package/dist/esm/index-1d8e8acd.js +2 -0
  256. package/dist/esm/index-1d8e8acd.js.map +1 -0
  257. package/dist/esm/{index-8809c729.js → index-5d881caf.js} +477 -234
  258. package/dist/esm/index-5d881caf.js.map +1 -0
  259. package/dist/esm/index-cad8203e.js +2 -0
  260. package/dist/esm/index-cad8203e.js.map +1 -0
  261. package/dist/esm/index.js +2 -0
  262. package/dist/esm/index.js.map +1 -0
  263. package/dist/esm/intersection-observer-8e4c7135.js +2 -0
  264. package/dist/esm/intersection-observer-8e4c7135.js.map +1 -0
  265. package/dist/esm/loader.js +5 -3
  266. package/dist/esm/loader.js.map +1 -0
  267. package/dist/esm/polyfills/css-shim.js +1 -1
  268. package/dist/esm/taro-ad-core.entry.js +4 -2
  269. package/dist/esm/taro-ad-core.entry.js.map +1 -0
  270. package/dist/esm/taro-ad-custom-core.entry.js +4 -2
  271. package/dist/esm/taro-ad-custom-core.entry.js.map +1 -0
  272. package/dist/esm/taro-audio-core.entry.js +5 -2
  273. package/dist/esm/taro-audio-core.entry.js.map +1 -0
  274. package/dist/esm/taro-block-core.entry.js +4 -2
  275. package/dist/esm/taro-block-core.entry.js.map +1 -0
  276. package/dist/esm/taro-button-core.entry.js +7 -2
  277. package/dist/esm/taro-button-core.entry.js.map +1 -0
  278. package/dist/esm/taro-camera-core.entry.js +4 -2
  279. package/dist/esm/taro-camera-core.entry.js.map +1 -0
  280. package/dist/esm/taro-canvas-core.entry.js +6 -3
  281. package/dist/esm/taro-canvas-core.entry.js.map +1 -0
  282. package/dist/esm/taro-checkbox-core_2.entry.js +14 -8
  283. package/dist/esm/taro-checkbox-core_2.entry.js.map +1 -0
  284. package/dist/esm/taro-components.js +5 -3
  285. package/dist/esm/taro-components.js.map +1 -0
  286. package/dist/esm/taro-cover-image-core.entry.js +5 -2
  287. package/dist/esm/taro-cover-image-core.entry.js.map +1 -0
  288. package/dist/esm/taro-cover-view-core.entry.js +7 -3
  289. package/dist/esm/taro-cover-view-core.entry.js.map +1 -0
  290. package/dist/esm/taro-custom-wrapper-core.entry.js +4 -2
  291. package/dist/esm/taro-custom-wrapper-core.entry.js.map +1 -0
  292. package/dist/esm/taro-editor-core.entry.js +4 -2
  293. package/dist/esm/taro-editor-core.entry.js.map +1 -0
  294. package/dist/esm/taro-form-core.entry.js +5 -2
  295. package/dist/esm/taro-form-core.entry.js.map +1 -0
  296. package/dist/esm/taro-functional-page-navigator-core.entry.js +4 -2
  297. package/dist/esm/taro-functional-page-navigator-core.entry.js.map +1 -0
  298. package/dist/esm/taro-icon-core.entry.js +6 -2
  299. package/dist/esm/taro-icon-core.entry.js.map +1 -0
  300. package/dist/esm/taro-image-core.entry.js +5 -2
  301. package/dist/esm/taro-image-core.entry.js.map +1 -0
  302. package/dist/esm/taro-input-core.entry.js +18 -10
  303. package/dist/esm/taro-input-core.entry.js.map +1 -0
  304. package/dist/esm/taro-keyboard-accessory-core.entry.js +4 -2
  305. package/dist/esm/taro-keyboard-accessory-core.entry.js.map +1 -0
  306. package/dist/esm/taro-label-core.entry.js +5 -2
  307. package/dist/esm/taro-label-core.entry.js.map +1 -0
  308. package/dist/esm/taro-live-player-core.entry.js +4 -2
  309. package/dist/esm/taro-live-player-core.entry.js.map +1 -0
  310. package/dist/esm/taro-live-pusher-core.entry.js +4 -2
  311. package/dist/esm/taro-live-pusher-core.entry.js.map +1 -0
  312. package/dist/esm/taro-map-core.entry.js +4 -2
  313. package/dist/esm/taro-map-core.entry.js.map +1 -0
  314. package/dist/esm/taro-match-media-core.entry.js +4 -2
  315. package/dist/esm/taro-match-media-core.entry.js.map +1 -0
  316. package/dist/esm/{taro-movable-view-core.entry.js → taro-movable-area-core_2.entry.js} +187 -98
  317. package/dist/esm/taro-movable-area-core_2.entry.js.map +1 -0
  318. package/dist/esm/taro-navigation-bar-core.entry.js +4 -2
  319. package/dist/esm/taro-navigation-bar-core.entry.js.map +1 -0
  320. package/dist/esm/taro-navigator-core.entry.js +6 -2
  321. package/dist/esm/taro-navigator-core.entry.js.map +1 -0
  322. package/dist/esm/taro-official-account-core.entry.js +4 -2
  323. package/dist/esm/taro-official-account-core.entry.js.map +1 -0
  324. package/dist/esm/taro-open-data-core.entry.js +4 -2
  325. package/dist/esm/taro-open-data-core.entry.js.map +1 -0
  326. package/dist/esm/taro-page-container-core.entry.js +4 -2
  327. package/dist/esm/taro-page-container-core.entry.js.map +1 -0
  328. package/dist/esm/taro-page-meta-core.entry.js +4 -2
  329. package/dist/esm/taro-page-meta-core.entry.js.map +1 -0
  330. package/dist/esm/taro-picker-core_2.entry.js +31 -15
  331. package/dist/esm/taro-picker-core_2.entry.js.map +1 -0
  332. package/dist/esm/{taro-picker-view-core.entry.js → taro-picker-view-column-core_2.entry.js} +97 -3
  333. package/dist/esm/taro-picker-view-column-core_2.entry.js.map +1 -0
  334. package/dist/esm/taro-progress-core.entry.js +7 -5
  335. package/dist/esm/taro-progress-core.entry.js.map +1 -0
  336. package/dist/esm/taro-pull-to-refresh.entry.js +10 -8
  337. package/dist/esm/taro-pull-to-refresh.entry.js.map +1 -0
  338. package/dist/esm/taro-radio-core_2.entry.js +15 -9
  339. package/dist/esm/taro-radio-core_2.entry.js.map +1 -0
  340. package/dist/esm/taro-rich-text-core.entry.js +5 -2
  341. package/dist/esm/taro-rich-text-core.entry.js.map +1 -0
  342. package/dist/esm/taro-root-portal-core.entry.js +4 -2
  343. package/dist/esm/taro-root-portal-core.entry.js.map +1 -0
  344. package/dist/esm/taro-scroll-view-core.entry.js +28 -22
  345. package/dist/esm/taro-scroll-view-core.entry.js.map +1 -0
  346. package/dist/esm/taro-share-element-core.entry.js +4 -2
  347. package/dist/esm/taro-share-element-core.entry.js.map +1 -0
  348. package/dist/esm/taro-slider-core.entry.js +23 -19
  349. package/dist/esm/taro-slider-core.entry.js.map +1 -0
  350. package/dist/esm/taro-slot-core.entry.js +4 -7
  351. package/dist/esm/taro-slot-core.entry.js.map +1 -0
  352. package/dist/esm/taro-swiper-core_2.entry.js +25 -56
  353. package/dist/esm/taro-swiper-core_2.entry.js.map +1 -0
  354. package/dist/esm/taro-switch-core.entry.js +12 -8
  355. package/dist/esm/taro-switch-core.entry.js.map +1 -0
  356. package/dist/esm/taro-tabbar.entry.js +12 -4
  357. package/dist/esm/taro-tabbar.entry.js.map +1 -0
  358. package/dist/esm/taro-text-core.entry.js +4 -2
  359. package/dist/esm/taro-text-core.entry.js.map +1 -0
  360. package/dist/esm/taro-textarea-core.entry.js +13 -8
  361. package/dist/esm/taro-textarea-core.entry.js.map +1 -0
  362. package/dist/esm/taro-video-control_3.entry.js +142 -260
  363. package/dist/esm/taro-video-control_3.entry.js.map +1 -0
  364. package/dist/esm/taro-view-core.entry.js +7 -3
  365. package/dist/esm/taro-view-core.entry.js.map +1 -0
  366. package/dist/esm/taro-voip-room-core.entry.js +4 -2
  367. package/dist/esm/taro-voip-room-core.entry.js.map +1 -0
  368. package/dist/esm/taro-web-view-core.entry.js +5 -2
  369. package/dist/esm/taro-web-view-core.entry.js.map +1 -0
  370. package/dist/esm-es5/helper-3d0ecf0f.js +2 -1
  371. package/dist/esm-es5/helper-3d0ecf0f.js.map +1 -0
  372. package/dist/esm-es5/index-1d8e8acd.js +2 -1
  373. package/dist/esm-es5/index-1d8e8acd.js.map +1 -0
  374. package/dist/esm-es5/index-5d881caf.js +3 -0
  375. package/dist/esm-es5/index-5d881caf.js.map +1 -0
  376. package/dist/esm-es5/index-cad8203e.js +2 -1
  377. package/dist/esm-es5/index-cad8203e.js.map +1 -0
  378. package/dist/esm-es5/index.js +2 -0
  379. package/dist/esm-es5/index.js.map +1 -0
  380. package/dist/esm-es5/intersection-observer-8e4c7135.js +2 -1
  381. package/dist/esm-es5/intersection-observer-8e4c7135.js.map +1 -0
  382. package/dist/esm-es5/loader.js +2 -1
  383. package/dist/esm-es5/loader.js.map +1 -0
  384. package/dist/esm-es5/taro-ad-core.entry.js +2 -1
  385. package/dist/esm-es5/taro-ad-core.entry.js.map +1 -0
  386. package/dist/esm-es5/taro-ad-custom-core.entry.js +2 -1
  387. package/dist/esm-es5/taro-ad-custom-core.entry.js.map +1 -0
  388. package/dist/esm-es5/taro-audio-core.entry.js +2 -1
  389. package/dist/esm-es5/taro-audio-core.entry.js.map +1 -0
  390. package/dist/esm-es5/taro-block-core.entry.js +2 -1
  391. package/dist/esm-es5/taro-block-core.entry.js.map +1 -0
  392. package/dist/esm-es5/taro-button-core.entry.js +2 -1
  393. package/dist/esm-es5/taro-button-core.entry.js.map +1 -0
  394. package/dist/esm-es5/taro-camera-core.entry.js +2 -1
  395. package/dist/esm-es5/taro-camera-core.entry.js.map +1 -0
  396. package/dist/esm-es5/taro-canvas-core.entry.js +2 -1
  397. package/dist/esm-es5/taro-canvas-core.entry.js.map +1 -0
  398. package/dist/esm-es5/taro-checkbox-core_2.entry.js +2 -1
  399. package/dist/esm-es5/taro-checkbox-core_2.entry.js.map +1 -0
  400. package/dist/esm-es5/taro-components.js +2 -1
  401. package/dist/esm-es5/taro-components.js.map +1 -0
  402. package/dist/esm-es5/taro-cover-image-core.entry.js +2 -1
  403. package/dist/esm-es5/taro-cover-image-core.entry.js.map +1 -0
  404. package/dist/esm-es5/taro-cover-view-core.entry.js +2 -1
  405. package/dist/esm-es5/taro-cover-view-core.entry.js.map +1 -0
  406. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +2 -1
  407. package/dist/esm-es5/taro-custom-wrapper-core.entry.js.map +1 -0
  408. package/dist/esm-es5/taro-editor-core.entry.js +2 -1
  409. package/dist/esm-es5/taro-editor-core.entry.js.map +1 -0
  410. package/dist/esm-es5/taro-form-core.entry.js +2 -1
  411. package/dist/esm-es5/taro-form-core.entry.js.map +1 -0
  412. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +2 -1
  413. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js.map +1 -0
  414. package/dist/esm-es5/taro-icon-core.entry.js +2 -1
  415. package/dist/esm-es5/taro-icon-core.entry.js.map +1 -0
  416. package/dist/esm-es5/taro-image-core.entry.js +2 -1
  417. package/dist/esm-es5/taro-image-core.entry.js.map +1 -0
  418. package/dist/esm-es5/taro-input-core.entry.js +2 -1
  419. package/dist/esm-es5/taro-input-core.entry.js.map +1 -0
  420. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +2 -1
  421. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js.map +1 -0
  422. package/dist/esm-es5/taro-label-core.entry.js +2 -1
  423. package/dist/esm-es5/taro-label-core.entry.js.map +1 -0
  424. package/dist/esm-es5/taro-live-player-core.entry.js +2 -1
  425. package/dist/esm-es5/taro-live-player-core.entry.js.map +1 -0
  426. package/dist/esm-es5/taro-live-pusher-core.entry.js +2 -1
  427. package/dist/esm-es5/taro-live-pusher-core.entry.js.map +1 -0
  428. package/dist/esm-es5/taro-map-core.entry.js +2 -1
  429. package/dist/esm-es5/taro-map-core.entry.js.map +1 -0
  430. package/dist/esm-es5/taro-match-media-core.entry.js +2 -1
  431. package/dist/esm-es5/taro-match-media-core.entry.js.map +1 -0
  432. package/dist/esm-es5/taro-movable-area-core_2.entry.js +2 -0
  433. package/dist/esm-es5/taro-movable-area-core_2.entry.js.map +1 -0
  434. package/dist/esm-es5/taro-navigation-bar-core.entry.js +2 -1
  435. package/dist/esm-es5/taro-navigation-bar-core.entry.js.map +1 -0
  436. package/dist/esm-es5/taro-navigator-core.entry.js +2 -1
  437. package/dist/esm-es5/taro-navigator-core.entry.js.map +1 -0
  438. package/dist/esm-es5/taro-official-account-core.entry.js +2 -1
  439. package/dist/esm-es5/taro-official-account-core.entry.js.map +1 -0
  440. package/dist/esm-es5/taro-open-data-core.entry.js +2 -1
  441. package/dist/esm-es5/taro-open-data-core.entry.js.map +1 -0
  442. package/dist/esm-es5/taro-page-container-core.entry.js +2 -1
  443. package/dist/esm-es5/taro-page-container-core.entry.js.map +1 -0
  444. package/dist/esm-es5/taro-page-meta-core.entry.js +2 -1
  445. package/dist/esm-es5/taro-page-meta-core.entry.js.map +1 -0
  446. package/dist/esm-es5/taro-picker-core_2.entry.js +2 -1
  447. package/dist/esm-es5/taro-picker-core_2.entry.js.map +1 -0
  448. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +2 -0
  449. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js.map +1 -0
  450. package/dist/esm-es5/taro-progress-core.entry.js +2 -1
  451. package/dist/esm-es5/taro-progress-core.entry.js.map +1 -0
  452. package/dist/esm-es5/taro-pull-to-refresh.entry.js +2 -1
  453. package/dist/esm-es5/taro-pull-to-refresh.entry.js.map +1 -0
  454. package/dist/esm-es5/taro-radio-core_2.entry.js +2 -1
  455. package/dist/esm-es5/taro-radio-core_2.entry.js.map +1 -0
  456. package/dist/esm-es5/taro-rich-text-core.entry.js +2 -1
  457. package/dist/esm-es5/taro-rich-text-core.entry.js.map +1 -0
  458. package/dist/esm-es5/taro-root-portal-core.entry.js +2 -1
  459. package/dist/esm-es5/taro-root-portal-core.entry.js.map +1 -0
  460. package/dist/esm-es5/taro-scroll-view-core.entry.js +2 -1
  461. package/dist/esm-es5/taro-scroll-view-core.entry.js.map +1 -0
  462. package/dist/esm-es5/taro-share-element-core.entry.js +2 -1
  463. package/dist/esm-es5/taro-share-element-core.entry.js.map +1 -0
  464. package/dist/esm-es5/taro-slider-core.entry.js +2 -1
  465. package/dist/esm-es5/taro-slider-core.entry.js.map +1 -0
  466. package/dist/esm-es5/taro-slot-core.entry.js +2 -1
  467. package/dist/esm-es5/taro-slot-core.entry.js.map +1 -0
  468. package/dist/esm-es5/taro-swiper-core_2.entry.js +2 -1
  469. package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -0
  470. package/dist/esm-es5/taro-switch-core.entry.js +2 -1
  471. package/dist/esm-es5/taro-switch-core.entry.js.map +1 -0
  472. package/dist/esm-es5/taro-tabbar.entry.js +2 -1
  473. package/dist/esm-es5/taro-tabbar.entry.js.map +1 -0
  474. package/dist/esm-es5/taro-text-core.entry.js +2 -1
  475. package/dist/esm-es5/taro-text-core.entry.js.map +1 -0
  476. package/dist/esm-es5/taro-textarea-core.entry.js +2 -1
  477. package/dist/esm-es5/taro-textarea-core.entry.js.map +1 -0
  478. package/dist/esm-es5/taro-video-control_3.entry.js +56 -55
  479. package/dist/esm-es5/taro-video-control_3.entry.js.map +1 -0
  480. package/dist/esm-es5/taro-view-core.entry.js +2 -1
  481. package/dist/esm-es5/taro-view-core.entry.js.map +1 -0
  482. package/dist/esm-es5/taro-voip-room-core.entry.js +2 -1
  483. package/dist/esm-es5/taro-voip-room-core.entry.js.map +1 -0
  484. package/dist/esm-es5/taro-web-view-core.entry.js +2 -1
  485. package/dist/esm-es5/taro-web-view-core.entry.js.map +1 -0
  486. package/{dist-h5/react/components → dist/react/component-lib}/index.js +1 -1
  487. package/{dist-h5/react/components → dist/react/component-lib}/input.js +5 -5
  488. package/{dist-h5/react/utils → dist/react/component-lib}/reactify-wc.js +10 -20
  489. package/dist/react/components.js +65 -0
  490. package/dist/react/helper.js +13 -0
  491. package/{dist-h5 → dist}/react/index.js +0 -0
  492. package/dist/react/react-component-lib/index.js +2 -0
  493. package/dist/react/react-component-lib/interfaces.js +1 -0
  494. package/dist/react/react-component-lib/utils/attachProps.js +107 -0
  495. package/dist/react/react-component-lib/utils/case.js +10 -0
  496. package/dist/react/react-component-lib/utils/dev.js +12 -0
  497. package/dist/taro-components/index.esm.js +2 -0
  498. package/dist/taro-components/index.esm.js.map +1 -0
  499. package/dist/taro-components/p-001ef419.system.entry.js +2 -0
  500. package/dist/taro-components/p-001ef419.system.entry.js.map +1 -0
  501. package/dist/taro-components/{p-a94524c9.system.entry.js → p-057159bc.system.entry.js} +2 -1
  502. package/dist/taro-components/p-057159bc.system.entry.js.map +1 -0
  503. package/dist/taro-components/p-07281375.entry.js +2 -0
  504. package/dist/taro-components/p-07281375.entry.js.map +1 -0
  505. package/dist/taro-components/p-0a896bc7.entry.js +2 -0
  506. package/dist/taro-components/p-0a896bc7.entry.js.map +1 -0
  507. package/dist/taro-components/p-0b38e6c7.system.entry.js +2 -0
  508. package/dist/taro-components/p-0b38e6c7.system.entry.js.map +1 -0
  509. package/dist/taro-components/p-0d36ef6b.entry.js +2 -0
  510. package/dist/taro-components/p-0d36ef6b.entry.js.map +1 -0
  511. package/dist/taro-components/{p-f81a74bb.system.entry.js → p-0dfbdfdb.system.entry.js} +82 -81
  512. package/dist/taro-components/p-0dfbdfdb.system.entry.js.map +1 -0
  513. package/dist/taro-components/p-0ee6a068.entry.js +2 -0
  514. package/dist/taro-components/p-0ee6a068.entry.js.map +1 -0
  515. package/dist/taro-components/p-12e4b019.entry.js +2 -0
  516. package/dist/taro-components/p-12e4b019.entry.js.map +1 -0
  517. package/dist/taro-components/p-15dced71.system.entry.js +2 -0
  518. package/dist/taro-components/p-15dced71.system.entry.js.map +1 -0
  519. package/dist/taro-components/p-15e45ed6.system.js +2 -1
  520. package/dist/taro-components/p-15e45ed6.system.js.map +1 -0
  521. package/dist/taro-components/p-17657dca.entry.js +2 -0
  522. package/dist/taro-components/p-17657dca.entry.js.map +1 -0
  523. package/dist/taro-components/p-1b2556e2.system.entry.js +2 -0
  524. package/dist/taro-components/p-1b2556e2.system.entry.js.map +1 -0
  525. package/dist/taro-components/p-1b64d2a2.entry.js +2 -0
  526. package/dist/taro-components/p-1b64d2a2.entry.js.map +1 -0
  527. package/dist/taro-components/p-1bd3d09b.system.entry.js +2 -0
  528. package/dist/taro-components/p-1bd3d09b.system.entry.js.map +1 -0
  529. package/dist/taro-components/p-1cb76199.entry.js +2 -0
  530. package/dist/taro-components/p-1cb76199.entry.js.map +1 -0
  531. package/dist/taro-components/p-1e436d5b.entry.js +2 -0
  532. package/dist/taro-components/p-1e436d5b.entry.js.map +1 -0
  533. package/dist/taro-components/p-2096bc5f.entry.js +2 -0
  534. package/dist/taro-components/p-2096bc5f.entry.js.map +1 -0
  535. package/dist/taro-components/p-20ec6387.entry.js +2 -0
  536. package/dist/taro-components/p-20ec6387.entry.js.map +1 -0
  537. package/dist/taro-components/{p-c5fd5c7f.system.entry.js → p-21b77a13.system.entry.js} +2 -1
  538. package/dist/taro-components/p-21b77a13.system.entry.js.map +1 -0
  539. package/dist/taro-components/p-2243a376.entry.js +2 -0
  540. package/dist/taro-components/p-2243a376.entry.js.map +1 -0
  541. package/dist/taro-components/p-22f9f9fa.entry.js +2 -0
  542. package/dist/taro-components/p-22f9f9fa.entry.js.map +1 -0
  543. package/dist/taro-components/p-2915c2dd.entry.js +2 -0
  544. package/dist/taro-components/p-2915c2dd.entry.js.map +1 -0
  545. package/dist/taro-components/p-29f04296.entry.js +2 -0
  546. package/dist/taro-components/p-29f04296.entry.js.map +1 -0
  547. package/dist/taro-components/{p-3e11c8cc.system.entry.js → p-301a8b85.system.entry.js} +2 -1
  548. package/dist/taro-components/p-301a8b85.system.entry.js.map +1 -0
  549. package/dist/taro-components/p-3b1d2d37.system.js +2 -1
  550. package/dist/taro-components/p-3b1d2d37.system.js.map +1 -0
  551. package/dist/taro-components/p-3b9a1125.entry.js +2 -0
  552. package/dist/taro-components/p-3b9a1125.entry.js.map +1 -0
  553. package/dist/taro-components/p-3c256e0e.entry.js +2 -0
  554. package/dist/taro-components/p-3c256e0e.entry.js.map +1 -0
  555. package/dist/taro-components/p-3e6b29c6.entry.js +2 -0
  556. package/dist/taro-components/p-3e6b29c6.entry.js.map +1 -0
  557. package/dist/taro-components/{p-a63fbc50.system.entry.js → p-439a3349.system.entry.js} +2 -1
  558. package/dist/taro-components/p-439a3349.system.entry.js.map +1 -0
  559. package/dist/taro-components/{p-d075934f.system.entry.js → p-45b6ea0c.system.entry.js} +2 -1
  560. package/dist/taro-components/p-45b6ea0c.system.entry.js.map +1 -0
  561. package/dist/taro-components/p-49a6cae4.system.entry.js +2 -0
  562. package/dist/taro-components/p-49a6cae4.system.entry.js.map +1 -0
  563. package/dist/taro-components/p-4b05e003.entry.js +2 -0
  564. package/dist/taro-components/p-4b05e003.entry.js.map +1 -0
  565. package/dist/taro-components/{p-692d986d.system.entry.js → p-4b27df71.system.entry.js} +2 -1
  566. package/dist/taro-components/p-4b27df71.system.entry.js.map +1 -0
  567. package/dist/taro-components/{p-f7c80795.system.entry.js → p-4fbb8b4c.system.entry.js} +2 -1
  568. package/dist/taro-components/p-4fbb8b4c.system.entry.js.map +1 -0
  569. package/dist/taro-components/p-50ea2036.system.js +2 -1
  570. package/dist/taro-components/p-50ea2036.system.js.map +1 -0
  571. package/dist/taro-components/p-51de23e4.entry.js +366 -0
  572. package/dist/taro-components/p-51de23e4.entry.js.map +1 -0
  573. package/dist/taro-components/p-55519002.entry.js +2 -0
  574. package/dist/taro-components/p-55519002.entry.js.map +1 -0
  575. package/dist/taro-components/p-559bb98a.system.entry.js +2 -0
  576. package/dist/taro-components/p-559bb98a.system.entry.js.map +1 -0
  577. package/dist/taro-components/p-570222e2.entry.js +2 -0
  578. package/dist/taro-components/p-570222e2.entry.js.map +1 -0
  579. package/dist/taro-components/p-5746d7ce.js +2 -1
  580. package/dist/taro-components/p-5746d7ce.js.map +1 -0
  581. package/dist/taro-components/{p-6ad59489.system.entry.js → p-580a72d1.system.entry.js} +2 -1
  582. package/dist/taro-components/p-580a72d1.system.entry.js.map +1 -0
  583. package/dist/taro-components/{p-93eed5d7.system.entry.js → p-59418be7.system.entry.js} +2 -1
  584. package/dist/taro-components/p-59418be7.system.entry.js.map +1 -0
  585. package/dist/taro-components/p-59e02aca.system.entry.js +2 -0
  586. package/dist/taro-components/p-59e02aca.system.entry.js.map +1 -0
  587. package/dist/taro-components/p-5bfefd19.js +3 -0
  588. package/dist/taro-components/p-5bfefd19.js.map +1 -0
  589. package/dist/taro-components/p-61f225ef.system.js +2 -1
  590. package/dist/taro-components/p-61f225ef.system.js.map +1 -0
  591. package/dist/taro-components/p-663d1bb9.system.js +2 -1
  592. package/dist/taro-components/p-663d1bb9.system.js.map +1 -0
  593. package/dist/taro-components/p-6a96da58.js +2 -1
  594. package/dist/taro-components/p-6a96da58.js.map +1 -0
  595. package/dist/taro-components/p-6af8be19.entry.js +2 -0
  596. package/dist/taro-components/p-6af8be19.entry.js.map +1 -0
  597. package/dist/taro-components/p-6ea2995b.entry.js +2 -0
  598. package/dist/taro-components/p-6ea2995b.entry.js.map +1 -0
  599. package/dist/taro-components/p-6f8af69f.entry.js +2 -0
  600. package/dist/taro-components/p-6f8af69f.entry.js.map +1 -0
  601. package/dist/taro-components/{p-f4ea8a56.system.entry.js → p-701b0286.system.entry.js} +2 -1
  602. package/dist/taro-components/p-701b0286.system.entry.js.map +1 -0
  603. package/dist/taro-components/p-72f327e1.js +2 -1
  604. package/dist/taro-components/p-72f327e1.js.map +1 -0
  605. package/dist/taro-components/p-72f626ab.system.entry.js +2 -0
  606. package/dist/taro-components/p-72f626ab.system.entry.js.map +1 -0
  607. package/dist/taro-components/p-76724e58.js +3 -2
  608. package/dist/taro-components/p-76724e58.js.map +1 -0
  609. package/dist/taro-components/{p-13f0b11f.system.entry.js → p-79e9322e.system.entry.js} +2 -1
  610. package/dist/taro-components/p-79e9322e.system.entry.js.map +1 -0
  611. package/dist/taro-components/p-7baff0b4.entry.js +2 -0
  612. package/dist/taro-components/p-7baff0b4.entry.js.map +1 -0
  613. package/dist/taro-components/p-8231e748.entry.js +2 -0
  614. package/dist/taro-components/p-8231e748.entry.js.map +1 -0
  615. package/dist/taro-components/p-825f8dec.system.entry.js +2 -0
  616. package/dist/taro-components/p-825f8dec.system.entry.js.map +1 -0
  617. package/dist/taro-components/{p-07294134.system.entry.js → p-8a3620a6.system.entry.js} +2 -1
  618. package/dist/taro-components/p-8a3620a6.system.entry.js.map +1 -0
  619. package/dist/taro-components/p-8a8f286f.system.js +3 -0
  620. package/dist/taro-components/p-8a8f286f.system.js.map +1 -0
  621. package/dist/taro-components/{p-7e960ac3.system.entry.js → p-8bec95d4.system.entry.js} +2 -1
  622. package/dist/taro-components/p-8bec95d4.system.entry.js.map +1 -0
  623. package/dist/taro-components/{p-e671c8c5.system.entry.js → p-8c8fe164.system.entry.js} +2 -1
  624. package/dist/taro-components/p-8c8fe164.system.entry.js.map +1 -0
  625. package/dist/taro-components/p-8e3c923b.entry.js +2 -0
  626. package/dist/taro-components/p-8e3c923b.entry.js.map +1 -0
  627. package/dist/taro-components/p-93cc7adc.entry.js +2 -0
  628. package/dist/taro-components/p-93cc7adc.entry.js.map +1 -0
  629. package/dist/taro-components/p-946c0799.system.entry.js +2 -0
  630. package/dist/taro-components/p-946c0799.system.entry.js.map +1 -0
  631. package/dist/taro-components/p-96a784f1.entry.js +2 -0
  632. package/dist/taro-components/p-96a784f1.entry.js.map +1 -0
  633. package/dist/taro-components/p-99bbe34a.system.entry.js +2 -0
  634. package/dist/taro-components/p-99bbe34a.system.entry.js.map +1 -0
  635. package/dist/taro-components/{p-075458e5.system.entry.js → p-9f1ca602.system.entry.js} +2 -1
  636. package/dist/taro-components/p-9f1ca602.system.entry.js.map +1 -0
  637. package/dist/taro-components/p-a1ace8c7.system.entry.js +2 -0
  638. package/dist/taro-components/p-a1ace8c7.system.entry.js.map +1 -0
  639. package/dist/taro-components/p-a29509fa.system.entry.js +2 -0
  640. package/dist/taro-components/p-a29509fa.system.entry.js.map +1 -0
  641. package/dist/taro-components/p-a29e3051.entry.js +2 -0
  642. package/dist/taro-components/p-a29e3051.entry.js.map +1 -0
  643. package/dist/taro-components/{p-d4da725f.system.entry.js → p-a6f2dc54.system.entry.js} +2 -1
  644. package/dist/taro-components/p-a6f2dc54.system.entry.js.map +1 -0
  645. package/dist/taro-components/p-ab105c26.entry.js +2 -0
  646. package/dist/taro-components/p-ab105c26.entry.js.map +1 -0
  647. package/dist/taro-components/{p-c93bb915.system.entry.js → p-b04a56bd.system.entry.js} +2 -1
  648. package/dist/taro-components/p-b04a56bd.system.entry.js.map +1 -0
  649. package/dist/taro-components/p-b10cb428.entry.js +2 -0
  650. package/dist/taro-components/p-b10cb428.entry.js.map +1 -0
  651. package/dist/taro-components/{p-d6662ab3.system.entry.js → p-b500c116.system.entry.js} +2 -1
  652. package/dist/taro-components/p-b500c116.system.entry.js.map +1 -0
  653. package/dist/taro-components/p-b832f4e8.entry.js +2 -0
  654. package/dist/taro-components/p-b832f4e8.entry.js.map +1 -0
  655. package/dist/taro-components/p-b90926cc.entry.js +2 -0
  656. package/dist/taro-components/p-b90926cc.entry.js.map +1 -0
  657. package/dist/taro-components/p-ba743573.entry.js +2 -0
  658. package/dist/taro-components/p-ba743573.entry.js.map +1 -0
  659. package/dist/taro-components/p-be3f5ac0.entry.js +2 -0
  660. package/dist/taro-components/p-be3f5ac0.entry.js.map +1 -0
  661. package/dist/taro-components/p-beea63a7.entry.js +2 -0
  662. package/dist/taro-components/p-beea63a7.entry.js.map +1 -0
  663. package/dist/taro-components/{p-b7681c76.system.entry.js → p-c0e3c822.system.entry.js} +2 -1
  664. package/dist/taro-components/p-c0e3c822.system.entry.js.map +1 -0
  665. package/dist/taro-components/p-c3acf0ea.system.entry.js +2 -0
  666. package/dist/taro-components/p-c3acf0ea.system.entry.js.map +1 -0
  667. package/dist/taro-components/p-c3bb8fa6.entry.js +2 -0
  668. package/dist/taro-components/p-c3bb8fa6.entry.js.map +1 -0
  669. package/dist/taro-components/{p-733cc64a.system.entry.js → p-c4cf58af.system.entry.js} +2 -1
  670. package/dist/taro-components/p-c4cf58af.system.entry.js.map +1 -0
  671. package/dist/taro-components/{p-b11aaf69.system.entry.js → p-c5c331bf.system.entry.js} +2 -1
  672. package/dist/taro-components/p-c5c331bf.system.entry.js.map +1 -0
  673. package/dist/taro-components/p-ca64c7d4.system.entry.js +2 -0
  674. package/dist/taro-components/p-ca64c7d4.system.entry.js.map +1 -0
  675. package/dist/taro-components/p-cb17d8bd.system.js +2 -0
  676. package/dist/taro-components/p-cb17d8bd.system.js.map +1 -0
  677. package/dist/taro-components/{p-fc9f4fd7.system.entry.js → p-cbe2436d.system.entry.js} +2 -1
  678. package/dist/taro-components/p-cbe2436d.system.entry.js.map +1 -0
  679. package/dist/taro-components/p-cc506879.entry.js +2 -0
  680. package/dist/taro-components/p-cc506879.entry.js.map +1 -0
  681. package/dist/taro-components/p-cd6a7eea.entry.js +2 -0
  682. package/dist/taro-components/p-cd6a7eea.entry.js.map +1 -0
  683. package/dist/taro-components/p-d4b6f19e.system.entry.js +2 -0
  684. package/dist/taro-components/p-d4b6f19e.system.entry.js.map +1 -0
  685. package/dist/taro-components/p-d5579efa.system.entry.js +2 -0
  686. package/dist/taro-components/p-d5579efa.system.entry.js.map +1 -0
  687. package/dist/taro-components/p-d619f198.system.entry.js +2 -0
  688. package/dist/taro-components/p-d619f198.system.entry.js.map +1 -0
  689. package/dist/taro-components/p-d7ab3e23.system.entry.js +2 -0
  690. package/dist/taro-components/p-d7ab3e23.system.entry.js.map +1 -0
  691. package/dist/taro-components/p-d7f4b10f.entry.js +2 -0
  692. package/dist/taro-components/p-d7f4b10f.entry.js.map +1 -0
  693. package/dist/taro-components/p-d85b216d.entry.js +2 -0
  694. package/dist/taro-components/p-d85b216d.entry.js.map +1 -0
  695. package/dist/taro-components/p-dc75145c.system.entry.js +2 -0
  696. package/dist/taro-components/p-dc75145c.system.entry.js.map +1 -0
  697. package/dist/taro-components/p-de762042.entry.js +2 -0
  698. package/dist/taro-components/p-de762042.entry.js.map +1 -0
  699. package/dist/taro-components/p-df862d0c.entry.js +2 -0
  700. package/dist/taro-components/p-df862d0c.entry.js.map +1 -0
  701. package/dist/taro-components/p-e0d6b00b.entry.js +2 -0
  702. package/dist/taro-components/p-e0d6b00b.entry.js.map +1 -0
  703. package/dist/taro-components/p-e25653b4.system.entry.js +2 -0
  704. package/dist/taro-components/p-e25653b4.system.entry.js.map +1 -0
  705. package/dist/taro-components/p-e528e0ff.system.entry.js +2 -0
  706. package/dist/taro-components/p-e528e0ff.system.entry.js.map +1 -0
  707. package/dist/taro-components/p-e59f999e.entry.js +2 -0
  708. package/dist/taro-components/p-e59f999e.entry.js.map +1 -0
  709. package/dist/taro-components/p-e7239faa.system.entry.js +2 -0
  710. package/dist/taro-components/p-e7239faa.system.entry.js.map +1 -0
  711. package/dist/taro-components/p-e98c07c3.system.entry.js +2 -0
  712. package/dist/taro-components/p-e98c07c3.system.entry.js.map +1 -0
  713. package/dist/taro-components/p-e9abe3e2.entry.js +2 -0
  714. package/dist/taro-components/p-e9abe3e2.entry.js.map +1 -0
  715. package/dist/taro-components/{p-8e2b048e.system.entry.js → p-f0d0160d.system.entry.js} +2 -1
  716. package/dist/taro-components/p-f0d0160d.system.entry.js.map +1 -0
  717. package/dist/taro-components/p-f273ee4e.entry.js +2 -0
  718. package/dist/taro-components/p-f273ee4e.entry.js.map +1 -0
  719. package/dist/taro-components/{p-f2803c2e.system.entry.js → p-f2c75971.system.entry.js} +2 -1
  720. package/dist/taro-components/p-f2c75971.system.entry.js.map +1 -0
  721. package/dist/taro-components/p-fc1fe388.entry.js +2 -0
  722. package/dist/taro-components/p-fc1fe388.entry.js.map +1 -0
  723. package/dist/taro-components/taro-components.esm.js +2 -1
  724. package/dist/taro-components/taro-components.esm.js.map +1 -0
  725. package/dist/taro-components/taro-components.js +2 -1
  726. package/dist/types/components/input/input.d.ts +1 -1
  727. package/dist/types/components/movable-area/movable-view.d.ts +3 -3
  728. package/dist/types/components/progress/progress.d.ts +1 -1
  729. package/dist/types/components/radio/radio.d.ts +2 -2
  730. package/dist/types/components/scroll-view/scroll-view.d.ts +1 -1
  731. package/dist/types/components/slot/slot.d.ts +0 -1
  732. package/dist/types/components/video/utils.d.ts +1 -1
  733. package/dist/types/components.d.ts +176 -68
  734. package/dist/types/stencil-public-runtime.d.ts +20 -4
  735. package/{dist-h5/vue/components/index.js → dist/vue2/component-lib/components.js} +0 -0
  736. package/{dist-h5/vue → dist/vue2/component-lib}/createComponent.js +0 -0
  737. package/{dist-h5/vue → dist/vue2/component-lib}/createFormsComponent.js +0 -0
  738. package/{dist-h5/vue/components → dist/vue2/component-lib}/icon.js +2 -2
  739. package/{dist-h5/vue/components → dist/vue2/component-lib}/image.js +2 -2
  740. package/{dist-h5/vue → dist/vue2/component-lib}/index.js +4 -3
  741. package/{dist-h5/vue → dist/vue2/component-lib}/mixins/listeners.js +0 -0
  742. package/{dist-h5/vue → dist/vue2/component-lib}/mixins/refs.js +0 -0
  743. package/{dist-h5/vue/components → dist/vue2/component-lib}/picker.js +2 -2
  744. package/{dist-h5/vue/components → dist/vue2/component-lib}/scroll-view.js +2 -2
  745. package/{dist-h5/vue/components → dist/vue2/component-lib}/text.js +2 -2
  746. package/dist/vue2/components.js +479 -0
  747. package/dist/vue2/index.js +26 -0
  748. package/dist/vue2/vue-component-lib/utils.js +45 -0
  749. package/{dist-h5/vue3 → dist/vue3/component-lib}/createComponent.js +1 -1
  750. package/{dist-h5/vue3 → dist/vue3/component-lib}/createFormsComponent.js +0 -0
  751. package/{dist-h5/vue3 → dist/vue3/component-lib}/forwardRef.js +0 -0
  752. package/{dist-h5/vue3/components → dist/vue3/component-lib}/icon.js +2 -2
  753. package/{dist-h5/vue3/components → dist/vue3/component-lib}/image.js +2 -2
  754. package/{dist-h5/vue3/components → dist/vue3/component-lib}/index.js +2 -2
  755. package/{dist-h5/vue3/components → dist/vue3/component-lib}/scroll-view.js +2 -2
  756. package/{dist-h5/vue3/components → dist/vue3/component-lib}/text.js +2 -2
  757. package/dist/vue3/components.js +64 -0
  758. package/{dist-h5 → dist}/vue3/index.js +0 -0
  759. package/dist/vue3/vue-component-lib/utils.js +201 -0
  760. package/loader/package.json +1 -0
  761. package/package.json +23 -22
  762. package/types/Input.d.ts +3 -1
  763. package/dist/cjs/taro-movable-area-core.cjs.entry.js +0 -157
  764. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +0 -95
  765. package/dist/esm/taro-movable-area-core.entry.js +0 -153
  766. package/dist/esm/taro-picker-view-column-core.entry.js +0 -91
  767. package/dist/esm-es5/index-8809c729.js +0 -1
  768. package/dist/esm-es5/taro-movable-area-core.entry.js +0 -1
  769. package/dist/esm-es5/taro-movable-view-core.entry.js +0 -1
  770. package/dist/esm-es5/taro-picker-view-column-core.entry.js +0 -1
  771. package/dist/esm-es5/taro-picker-view-core.entry.js +0 -1
  772. package/dist/taro-components/p-028e2728.entry.js +0 -1
  773. package/dist/taro-components/p-0380841f.system.js +0 -1
  774. package/dist/taro-components/p-059912fd.js +0 -1
  775. package/dist/taro-components/p-06178a0c.entry.js +0 -1
  776. package/dist/taro-components/p-06e6864b.system.entry.js +0 -1
  777. package/dist/taro-components/p-10c47df8.system.entry.js +0 -1
  778. package/dist/taro-components/p-232ebfae.system.entry.js +0 -1
  779. package/dist/taro-components/p-25df0ce9.entry.js +0 -1
  780. package/dist/taro-components/p-27126803.system.entry.js +0 -1
  781. package/dist/taro-components/p-275d883f.system.entry.js +0 -1
  782. package/dist/taro-components/p-27c80869.system.entry.js +0 -1
  783. package/dist/taro-components/p-2ec47545.entry.js +0 -1
  784. package/dist/taro-components/p-3255f11f.system.entry.js +0 -1
  785. package/dist/taro-components/p-362998cf.entry.js +0 -1
  786. package/dist/taro-components/p-3744e978.entry.js +0 -365
  787. package/dist/taro-components/p-3c6090fd.entry.js +0 -1
  788. package/dist/taro-components/p-42630f45.entry.js +0 -1
  789. package/dist/taro-components/p-44398c17.system.entry.js +0 -1
  790. package/dist/taro-components/p-44cbb351.system.js +0 -1
  791. package/dist/taro-components/p-4ada10aa.entry.js +0 -1
  792. package/dist/taro-components/p-4cf436f9.entry.js +0 -1
  793. package/dist/taro-components/p-4d826fb7.entry.js +0 -1
  794. package/dist/taro-components/p-55266a1f.entry.js +0 -1
  795. package/dist/taro-components/p-56c86512.entry.js +0 -1
  796. package/dist/taro-components/p-5733124c.entry.js +0 -1
  797. package/dist/taro-components/p-57a2a441.entry.js +0 -1
  798. package/dist/taro-components/p-59d93770.entry.js +0 -1
  799. package/dist/taro-components/p-5a2305e7.entry.js +0 -1
  800. package/dist/taro-components/p-5a374cb9.entry.js +0 -1
  801. package/dist/taro-components/p-5c87902f.system.entry.js +0 -1
  802. package/dist/taro-components/p-5e223bab.system.entry.js +0 -1
  803. package/dist/taro-components/p-5f18259d.system.entry.js +0 -1
  804. package/dist/taro-components/p-62fc514e.entry.js +0 -1
  805. package/dist/taro-components/p-63a0c6b0.entry.js +0 -1
  806. package/dist/taro-components/p-64447f5a.system.entry.js +0 -1
  807. package/dist/taro-components/p-67222d90.system.entry.js +0 -1
  808. package/dist/taro-components/p-6800ac6f.entry.js +0 -1
  809. package/dist/taro-components/p-6aa557f0.entry.js +0 -1
  810. package/dist/taro-components/p-72f858e4.entry.js +0 -1
  811. package/dist/taro-components/p-7374537f.entry.js +0 -1
  812. package/dist/taro-components/p-7407013d.entry.js +0 -1
  813. package/dist/taro-components/p-7d329ab0.entry.js +0 -1
  814. package/dist/taro-components/p-7f93fa08.entry.js +0 -1
  815. package/dist/taro-components/p-82661d45.system.entry.js +0 -1
  816. package/dist/taro-components/p-8475421b.system.entry.js +0 -1
  817. package/dist/taro-components/p-8788dc46.system.entry.js +0 -1
  818. package/dist/taro-components/p-886571e5.entry.js +0 -1
  819. package/dist/taro-components/p-888fac99.entry.js +0 -1
  820. package/dist/taro-components/p-8aea3de3.entry.js +0 -1
  821. package/dist/taro-components/p-8c8be53b.entry.js +0 -1
  822. package/dist/taro-components/p-8cf86f31.system.entry.js +0 -1
  823. package/dist/taro-components/p-9234cc1d.entry.js +0 -1
  824. package/dist/taro-components/p-92699438.entry.js +0 -1
  825. package/dist/taro-components/p-9a0e70b1.entry.js +0 -1
  826. package/dist/taro-components/p-9afbb423.system.entry.js +0 -1
  827. package/dist/taro-components/p-9b39a940.entry.js +0 -1
  828. package/dist/taro-components/p-9e1572c5.system.entry.js +0 -1
  829. package/dist/taro-components/p-ab1256fe.entry.js +0 -1
  830. package/dist/taro-components/p-ad6ad7e3.system.entry.js +0 -1
  831. package/dist/taro-components/p-afbcd093.entry.js +0 -1
  832. package/dist/taro-components/p-b1ae9401.entry.js +0 -1
  833. package/dist/taro-components/p-b2800ccd.entry.js +0 -1
  834. package/dist/taro-components/p-b3b677fc.entry.js +0 -1
  835. package/dist/taro-components/p-b3d961f9.system.entry.js +0 -1
  836. package/dist/taro-components/p-b60820b4.entry.js +0 -1
  837. package/dist/taro-components/p-b7639674.entry.js +0 -1
  838. package/dist/taro-components/p-b7ac0b7f.system.entry.js +0 -1
  839. package/dist/taro-components/p-b9903f15.system.entry.js +0 -1
  840. package/dist/taro-components/p-bd706d39.entry.js +0 -1
  841. package/dist/taro-components/p-c92bafb6.system.entry.js +0 -1
  842. package/dist/taro-components/p-cf048af9.entry.js +0 -1
  843. package/dist/taro-components/p-d5f3080c.entry.js +0 -1
  844. package/dist/taro-components/p-df3b544a.system.entry.js +0 -1
  845. package/dist/taro-components/p-dff55efd.entry.js +0 -1
  846. package/dist/taro-components/p-eec00033.entry.js +0 -1
  847. package/dist/taro-components/p-eeed74e3.system.entry.js +0 -1
  848. package/dist/taro-components/p-ef006b23.entry.js +0 -1
  849. package/dist/taro-components/p-f5f1c3b7.system.entry.js +0 -1
  850. package/dist/taro-components/p-fa2a9bab.entry.js +0 -1
  851. package/dist/taro-components/p-fec6ac36.entry.js +0 -1
  852. package/dist/taro-components/p-ff84986d.entry.js +0 -1
  853. package/dist/taro-components/p-ffefd74f.entry.js +0 -1
@@ -1 +1,2 @@
1
- !function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document;n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.prototype.observe=function(t){if(!this._observationTargets.some((function(i){return i.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(i){return i.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},n.prototype._initThresholds=function(t){var i=t||[0];return Array.isArray(i)||(i=[i]),i.sort().filter((function(t,i,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[i-1]}))},n.prototype._parseRootMargin=function(t){var i=(t||"0px").split(/\s+/).map((function(t){var i=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!i)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(i[1]),unit:i[2]}}));return i[1]=i[1]||i[0],i[2]=i[2]||i[0],i[3]=i[3]||i[1],i},n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(window,"resize",this._checkForIntersections,!0),r(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,e(window,"resize",this._checkForIntersections,!0),e(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},n.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),n=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var e=r.element,h=o(e),s=this._rootContainsTarget(e),u=r.entry,f=t&&s&&this._computeTargetAndRootIntersection(e,n),c=r.entry=new i({time:window.performance&&performance.now&&performance.now(),target:e,boundingClientRect:h,rootBounds:n,intersectionRect:f});u?t&&s?this._hasCrossedThreshold(u,c)&&this._queuedEntries.push(c):u&&u.isIntersecting&&this._queuedEntries.push(c):this._queuedEntries.push(c)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(i,n){if("none"!=window.getComputedStyle(i).display){for(var r,e,h,u,f,c,a,w,l=o(i),d=s(i),v=!1;!v;){var b=null,p=1==d.nodeType?window.getComputedStyle(d):{};if("none"==p.display)return;if(d==this.root||d==t?(v=!0,b=n):d!=t.body&&d!=t.documentElement&&"visible"!=p.overflow&&(b=o(d)),b&&(r=b,e=l,void 0,void 0,void 0,void 0,void 0,void 0,h=Math.max(r.top,e.top),u=Math.min(r.bottom,e.bottom),f=Math.max(r.left,e.left),w=u-h,!(l=(a=(c=Math.min(r.right,e.right))-f)>=0&&w>=0&&{top:h,bottom:u,left:f,right:c,width:a,height:w})))break;d=s(d)}return l}},n.prototype._getRootRect=function(){var i;if(this.root)i=o(this.root);else{var n=t.documentElement,r=t.body;i={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(i)},n.prototype._expandRectByRootMargin=function(t){var i=this._rootMarginValues.map((function(i,n){return"px"==i.unit?i.value:i.value*(n%2?t.width:t.height)/100})),n={top:t.top-i[0],right:t.right+i[1],bottom:t.bottom+i[2],left:t.left-i[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},n.prototype._hasCrossedThreshold=function(t,i){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=i.isIntersecting?i.intersectionRatio||0:-1;if(n!==r)for(var e=0;e<this.thresholds.length;e++){var o=this.thresholds[e];if(o==n||o==r||o<n!=o<r)return!0}},n.prototype._rootIsInDom=function(){return!this.root||h(t,this.root)},n.prototype._rootContainsTarget=function(i){return h(this.root||t,i)},n.prototype._registerInstance=function(){},n.prototype._unregisterInstance=function(){},window.IntersectionObserver=n,window.IntersectionObserverEntry=i}function i(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var i=this.boundingClientRect,n=i.width*i.height,r=this.intersectionRect;this.intersectionRatio=n?Number((r.width*r.height/n).toFixed(4)):this.isIntersecting?1:0}function n(t,i){var n,r,e,o=i||{};if("function"!=typeof t)throw new Error("callback must be a function");if(o.root&&1!=o.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,e=null,function(){e||(e=setTimeout((function(){n(),e=null}),r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function r(t,i,n,r){"function"==typeof t.addEventListener?t.addEventListener(i,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+i,n)}function e(t,i,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(i,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+i,n)}function o(t){var i;try{i=t.getBoundingClientRect()}catch(t){}return i?(i.width&&i.height||(i={top:i.top,right:i.right,bottom:i.bottom,left:i.left,width:i.right-i.left,height:i.bottom-i.top}),i):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t,i){for(var n=i;n;){if(n==t)return!0;n=s(n)}return!1}function s(t){var i=t.parentNode;return i&&11==i.nodeType&&i.host?i.host:i&&i.assignedSlot?i.assignedSlot.parentNode:i}}();
1
+ (function(){if(typeof window!=="object"){return}if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){if(!("isIntersecting"in window.IntersectionObserverEntry.prototype)){Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}})}return}var t=window.document;function i(t){this.time=t.time;this.target=t.target;this.rootBounds=t.rootBounds;this.boundingClientRect=t.boundingClientRect;this.intersectionRect=t.intersectionRect||f();this.isIntersecting=!!t.intersectionRect;var i=this.boundingClientRect;var n=i.width*i.height;var r=this.intersectionRect;var e=r.width*r.height;if(n){this.intersectionRatio=Number((e/n).toFixed(4))}else{this.intersectionRatio=this.isIntersecting?1:0}}function n(t,i){var n=i||{};if(typeof t!="function"){throw new Error("callback must be a function")}if(n.root&&n.root.nodeType!=1){throw new Error("root must be an Element")}this._checkForIntersections=e(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=t;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(n.rootMargin);this.thresholds=this._initThresholds(n.threshold);this.root=n.root||null;this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}n.prototype.THROTTLE_TIMEOUT=100;n.prototype.POLL_INTERVAL=null;n.prototype.USE_MUTATION_OBSERVER=true;n.prototype.observe=function(t){var i=this._observationTargets.some((function(i){return i.element==t}));if(i){return}if(!(t&&t.nodeType==1)){throw new Error("target must be an Element")}this._registerInstance();this._observationTargets.push({element:t,entry:null});this._monitorIntersections();this._checkForIntersections()};n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(i){return i.element!=t}));if(!this._observationTargets.length){this._unmonitorIntersections();this._unregisterInstance()}};n.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance()};n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();this._queuedEntries=[];return t};n.prototype._initThresholds=function(t){var i=t||[0];if(!Array.isArray(i))i=[i];return i.sort().filter((function(t,i,n){if(typeof t!="number"||isNaN(t)||t<0||t>1){throw new Error("threshold must be a number between 0 and 1 inclusively")}return t!==n[i-1]}))};n.prototype._parseRootMargin=function(t){var i=t||"0px";var n=i.split(/\s+/).map((function(t){var i=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!i){throw new Error("rootMargin must be specified in pixels or percent")}return{value:parseFloat(i[1]),unit:i[2]}}));n[1]=n[1]||n[0];n[2]=n[2]||n[0];n[3]=n[3]||n[1];return n};n.prototype._monitorIntersections=function(){if(!this._monitoringIntersections){this._monitoringIntersections=true;if(this.POLL_INTERVAL){this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL)}else{s(window,"resize",this._checkForIntersections,true);s(t,"scroll",this._checkForIntersections,true);if(this.USE_MUTATION_OBSERVER&&"MutationObserver"in window){this._domObserver=new MutationObserver(this._checkForIntersections);this._domObserver.observe(t,{attributes:true,childList:true,characterData:true,subtree:true})}}}};n.prototype._unmonitorIntersections=function(){if(this._monitoringIntersections){this._monitoringIntersections=false;clearInterval(this._monitoringInterval);this._monitoringInterval=null;o(window,"resize",this._checkForIntersections,true);o(t,"scroll",this._checkForIntersections,true);if(this._domObserver){this._domObserver.disconnect();this._domObserver=null}}};n.prototype._checkForIntersections=function(){var t=this._rootIsInDom();var n=t?this._getRootRect():f();this._observationTargets.forEach((function(e){var s=e.element;var o=u(s);var h=this._rootContainsTarget(s);var f=e.entry;var a=t&&h&&this._computeTargetAndRootIntersection(s,n);var c=e.entry=new i({time:r(),target:s,boundingClientRect:o,rootBounds:n,intersectionRect:a});if(!f){this._queuedEntries.push(c)}else if(t&&h){if(this._hasCrossedThreshold(f,c)){this._queuedEntries.push(c)}}else{if(f&&f.isIntersecting){this._queuedEntries.push(c)}}}),this);if(this._queuedEntries.length){this._callback(this.takeRecords(),this)}};n.prototype._computeTargetAndRootIntersection=function(i,n){if(window.getComputedStyle(i).display=="none")return;var r=u(i);var e=r;var s=c(i);var o=false;while(!o){var f=null;var a=s.nodeType==1?window.getComputedStyle(s):{};if(a.display=="none")return;if(s==this.root||s==t){o=true;f=n}else{if(s!=t.body&&s!=t.documentElement&&a.overflow!="visible"){f=u(s)}}if(f){e=h(f,e);if(!e)break}s=c(s)}return e};n.prototype._getRootRect=function(){var i;if(this.root){i=u(this.root)}else{var n=t.documentElement;var r=t.body;i={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(i)};n.prototype._expandRectByRootMargin=function(t){var i=this._rootMarginValues.map((function(i,n){return i.unit=="px"?i.value:i.value*(n%2?t.width:t.height)/100}));var n={top:t.top-i[0],right:t.right+i[1],bottom:t.bottom+i[2],left:t.left-i[3]};n.width=n.right-n.left;n.height=n.bottom-n.top;return n};n.prototype._hasCrossedThreshold=function(t,i){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1;var r=i.isIntersecting?i.intersectionRatio||0:-1;if(n===r)return;for(var e=0;e<this.thresholds.length;e++){var s=this.thresholds[e];if(s==n||s==r||s<n!==s<r){return true}}};n.prototype._rootIsInDom=function(){return!this.root||a(t,this.root)};n.prototype._rootContainsTarget=function(i){return a(this.root||t,i)};n.prototype._registerInstance=function(){};n.prototype._unregisterInstance=function(){};function r(){return window.performance&&performance.now&&performance.now()}function e(t,i){var n=null;return function(){if(!n){n=setTimeout((function(){t();n=null}),i)}}}function s(t,i,n,r){if(typeof t.addEventListener=="function"){t.addEventListener(i,n,r||false)}else if(typeof t.attachEvent=="function"){t.attachEvent("on"+i,n)}}function o(t,i,n,r){if(typeof t.removeEventListener=="function"){t.removeEventListener(i,n,r||false)}else if(typeof t.detatchEvent=="function"){t.detatchEvent("on"+i,n)}}function h(t,i){var n=Math.max(t.top,i.top);var r=Math.min(t.bottom,i.bottom);var e=Math.max(t.left,i.left);var s=Math.min(t.right,i.right);var o=s-e;var h=r-n;return o>=0&&h>=0&&{top:n,bottom:r,left:e,right:s,width:o,height:h}}function u(t){var i;try{i=t.getBoundingClientRect()}catch(t){}if(!i)return f();if(!(i.width&&i.height)){i={top:i.top,right:i.right,bottom:i.bottom,left:i.left,width:i.right-i.left,height:i.bottom-i.top}}return i}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(t,i){var n=i;while(n){if(n==t)return true;n=c(n)}return false}function c(t){var i=t.parentNode;if(i&&i.nodeType==11&&i.host){return i.host}if(i&&i.assignedSlot){return i.assignedSlot.parentNode}return i}window.IntersectionObserver=n;window.IntersectionObserverEntry=i})();
2
+ //# sourceMappingURL=p-72f327e1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../node_modules/.pnpm/registry.npmjs.org+intersection-observer@0.7.0/node_modules/intersection-observer/intersection-observer.js"],"names":["window","IntersectionObserverEntry","prototype","Object","defineProperty","get","this","intersectionRatio","document","entry","time","target","rootBounds","boundingClientRect","intersectionRect","getEmptyRect","isIntersecting","targetRect","targetArea","width","height","intersectionArea","Number","toFixed","IntersectionObserver","callback","opt_options","options","Error","root","nodeType","_checkForIntersections","throttle","bind","THROTTLE_TIMEOUT","_callback","_observationTargets","_queuedEntries","_rootMarginValues","_parseRootMargin","rootMargin","thresholds","_initThresholds","threshold","map","margin","value","unit","join","POLL_INTERVAL","USE_MUTATION_OBSERVER","observe","isTargetAlreadyObserved","some","item","element","_registerInstance","push","_monitorIntersections","unobserve","filter","length","_unmonitorIntersections","_unregisterInstance","disconnect","takeRecords","records","slice","opt_threshold","Array","isArray","sort","t","i","a","isNaN","opt_rootMargin","marginString","margins","split","parts","exec","parseFloat","_monitoringIntersections","_monitoringInterval","setInterval","addEvent","_domObserver","MutationObserver","attributes","childList","characterData","subtree","clearInterval","removeEvent","rootIsInDom","_rootIsInDom","rootRect","_getRootRect","forEach","getBoundingClientRect","rootContainsTarget","_rootContainsTarget","oldEntry","_computeTargetAndRootIntersection","newEntry","now","_hasCrossedThreshold","getComputedStyle","display","parent","getParentNode","atRoot","parentRect","parentComputedStyle","body","documentElement","overflow","computeRectIntersection","html","top","left","right","clientWidth","bottom","clientHeight","_expandRectByRootMargin","rect","newRect","oldRatio","newRatio","containsDeep","performance","fn","timeout","timer","setTimeout","node","event","opt_useCapture","addEventListener","attachEvent","removeEventListener","detatchEv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C,EAAO2C,KAGhB,GAAI3C,GAAUA,EAAO4C,aAAc,CAEjC,OAAO5C,EAAO4C,aAAaF,WAG7B,OAAO1C,EAKT9G,OAAOwB,qBAAuBA,EAC9BxB,OAAOC,0BAA4BA,GA1tBnC","sourcesContent":["/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.\n *\n * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n *\n */\n(function() {\n'use strict';\n\n// Exit early if we're not running in a browser.\nif (typeof window !== 'object') {\n return;\n}\n\n// Exit early if all IntersectionObserver and IntersectionObserverEntry\n// features are natively supported.\nif ('IntersectionObserver' in window &&\n 'IntersectionObserverEntry' in window &&\n 'intersectionRatio' in window.IntersectionObserverEntry.prototype) {\n\n // Minimal polyfill for Edge 15's lack of `isIntersecting`\n // See: https://github.com/w3c/IntersectionObserver/issues/211\n if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {\n Object.defineProperty(window.IntersectionObserverEntry.prototype,\n 'isIntersecting', {\n get: function () {\n return this.intersectionRatio > 0;\n }\n });\n }\n return;\n}\n\n\n/**\n * A local reference to the document.\n */\nvar document = window.document;\n\n\n/**\n * An IntersectionObserver registry. This registry exists to hold a strong\n * reference to IntersectionObserver instances currently observing a target\n * element. Without this registry, instances without another reference may be\n * garbage collected.\n */\nvar registry = [];\n\n\n/**\n * Creates the global IntersectionObserverEntry constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-entry\n * @param {Object} entry A dictionary of instance properties.\n * @constructor\n */\nfunction IntersectionObserverEntry(entry) {\n this.time = entry.time;\n this.target = entry.target;\n this.rootBounds = entry.rootBounds;\n this.boundingClientRect = entry.boundingClientRect;\n this.intersectionRect = entry.intersectionRect || getEmptyRect();\n this.isIntersecting = !!entry.intersectionRect;\n\n // Calculates the intersection ratio.\n var targetRect = this.boundingClientRect;\n var targetArea = targetRect.width * targetRect.height;\n var intersectionRect = this.intersectionRect;\n var intersectionArea = intersectionRect.width * intersectionRect.height;\n\n // Sets intersection ratio.\n if (targetArea) {\n // Round the intersection ratio to avoid floating point math issues:\n // https://github.com/w3c/IntersectionObserver/issues/324\n this.intersectionRatio = Number((intersectionArea / targetArea).toFixed(4));\n } else {\n // If area is zero and is intersecting, sets to 1, otherwise to 0\n this.intersectionRatio = this.isIntersecting ? 1 : 0;\n }\n}\n\n\n/**\n * Creates the global IntersectionObserver constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-interface\n * @param {Function} callback The function to be invoked after intersection\n * changes have queued. The function is not invoked if the queue has\n * been emptied by calling the `takeRecords` method.\n * @param {Object=} opt_options Optional configuration options.\n * @constructor\n */\nfunction IntersectionObserver(callback, opt_options) {\n\n var options = opt_options || {};\n\n if (typeof callback != 'function') {\n throw new Error('callback must be a function');\n }\n\n if (options.root && options.root.nodeType != 1) {\n throw new Error('root must be an Element');\n }\n\n // Binds and throttles `this._checkForIntersections`.\n this._checkForIntersections = throttle(\n this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);\n\n // Private properties.\n this._callback = callback;\n this._observationTargets = [];\n this._queuedEntries = [];\n this._rootMarginValues = this._parseRootMargin(options.rootMargin);\n\n // Public properties.\n this.thresholds = this._initThresholds(options.threshold);\n this.root = options.root || null;\n this.rootMargin = this._rootMarginValues.map(function(margin) {\n return margin.value + margin.unit;\n }).join(' ');\n}\n\n\n/**\n * The minimum interval within which the document will be checked for\n * intersection changes.\n */\nIntersectionObserver.prototype.THROTTLE_TIMEOUT = 100;\n\n\n/**\n * The frequency in which the polyfill polls for intersection changes.\n * this can be updated on a per instance basis and must be set prior to\n * calling `observe` on the first target.\n */\nIntersectionObserver.prototype.POLL_INTERVAL = null;\n\n/**\n * Use a mutation observer on the root element\n * to detect intersection changes.\n */\nIntersectionObserver.prototype.USE_MUTATION_OBSERVER = true;\n\n\n/**\n * Starts observing a target element for intersection changes based on\n * the thresholds values.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.observe = function(target) {\n var isTargetAlreadyObserved = this._observationTargets.some(function(item) {\n return item.element == target;\n });\n\n if (isTargetAlreadyObserved) {\n return;\n }\n\n if (!(target && target.nodeType == 1)) {\n throw new Error('target must be an Element');\n }\n\n this._registerInstance();\n this._observationTargets.push({element: target, entry: null});\n this._monitorIntersections();\n this._checkForIntersections();\n};\n\n\n/**\n * Stops observing a target element for intersection changes.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.unobserve = function(target) {\n this._observationTargets =\n this._observationTargets.filter(function(item) {\n\n return item.element != target;\n });\n if (!this._observationTargets.length) {\n this._unmonitorIntersections();\n this._unregisterInstance();\n }\n};\n\n\n/**\n * Stops observing all target elements for intersection changes.\n */\nIntersectionObserver.prototype.disconnect = function() {\n this._observationTargets = [];\n this._unmonitorIntersections();\n this._unregisterInstance();\n};\n\n\n/**\n * Returns any queue entries that have not yet been reported to the\n * callback and clears the queue. This can be used in conjunction with the\n * callback to obtain the absolute most up-to-date intersection information.\n * @return {Array} The currently queued entries.\n */\nIntersectionObserver.prototype.takeRecords = function() {\n var records = this._queuedEntries.slice();\n this._queuedEntries = [];\n return records;\n};\n\n\n/**\n * Accepts the threshold value from the user configuration object and\n * returns a sorted array of unique threshold values. If a value is not\n * between 0 and 1 and error is thrown.\n * @private\n * @param {Array|number=} opt_threshold An optional threshold value or\n * a list of threshold values, defaulting to [0].\n * @return {Array} A sorted list of unique and valid threshold values.\n */\nIntersectionObserver.prototype._initThresholds = function(opt_threshold) {\n var threshold = opt_threshold || [0];\n if (!Array.isArray(threshold)) threshold = [threshold];\n\n return threshold.sort().filter(function(t, i, a) {\n if (typeof t != 'number' || isNaN(t) || t < 0 || t > 1) {\n throw new Error('threshold must be a number between 0 and 1 inclusively');\n }\n return t !== a[i - 1];\n });\n};\n\n\n/**\n * Accepts the rootMargin value from the user configuration object\n * and returns an array of the four margin values as an object containing\n * the value and unit properties. If any of the values are not properly\n * formatted or use a unit other than px or %, and error is thrown.\n * @private\n * @param {string=} opt_rootMargin An optional rootMargin value,\n * defaulting to '0px'.\n * @return {Array<Object>} An array of margin objects with the keys\n * value and unit.\n */\nIntersectionObserver.prototype._parseRootMargin = function(opt_rootMargin) {\n var marginString = opt_rootMargin || '0px';\n var margins = marginString.split(/\\s+/).map(function(margin) {\n var parts = /^(-?\\d*\\.?\\d+)(px|%)$/.exec(margin);\n if (!parts) {\n throw new Error('rootMargin must be specified in pixels or percent');\n }\n return {value: parseFloat(parts[1]), unit: parts[2]};\n });\n\n // Handles shorthand.\n margins[1] = margins[1] || margins[0];\n margins[2] = margins[2] || margins[0];\n margins[3] = margins[3] || margins[1];\n\n return margins;\n};\n\n\n/**\n * Starts polling for intersection changes if the polling is not already\n * happening, and if the page's visibility state is visible.\n * @private\n */\nIntersectionObserver.prototype._monitorIntersections = function() {\n if (!this._monitoringIntersections) {\n this._monitoringIntersections = true;\n\n // If a poll interval is set, use polling instead of listening to\n // resize and scroll events or DOM mutations.\n if (this.POLL_INTERVAL) {\n this._monitoringInterval = setInterval(\n this._checkForIntersections, this.POLL_INTERVAL);\n }\n else {\n addEvent(window, 'resize', this._checkForIntersections, true);\n addEvent(document, 'scroll', this._checkForIntersections, true);\n\n if (this.USE_MUTATION_OBSERVER && 'MutationObserver' in window) {\n this._domObserver = new MutationObserver(this._checkForIntersections);\n this._domObserver.observe(document, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true\n });\n }\n }\n }\n};\n\n\n/**\n * Stops polling for intersection changes.\n * @private\n */\nIntersectionObserver.prototype._unmonitorIntersections = function() {\n if (this._monitoringIntersections) {\n this._monitoringIntersections = false;\n\n clearInterval(this._monitoringInterval);\n this._monitoringInterval = null;\n\n removeEvent(window, 'resize', this._checkForIntersections, true);\n removeEvent(document, 'scroll', this._checkForIntersections, true);\n\n if (this._domObserver) {\n this._domObserver.disconnect();\n this._domObserver = null;\n }\n }\n};\n\n\n/**\n * Scans each observation target for intersection changes and adds them\n * to the internal entries queue. If new entries are found, it\n * schedules the callback to be invoked.\n * @private\n */\nIntersectionObserver.prototype._checkForIntersections = function() {\n var rootIsInDom = this._rootIsInDom();\n var rootRect = rootIsInDom ? this._getRootRect() : getEmptyRect();\n\n this._observationTargets.forEach(function(item) {\n var target = item.element;\n var targetRect = getBoundingClientRect(target);\n var rootContainsTarget = this._rootContainsTarget(target);\n var oldEntry = item.entry;\n var intersectionRect = rootIsInDom && rootContainsTarget &&\n this._computeTargetAndRootIntersection(target, rootRect);\n\n var newEntry = item.entry = new IntersectionObserverEntry({\n time: now(),\n target: target,\n boundingClientRect: targetRect,\n rootBounds: rootRect,\n intersectionRect: intersectionRect\n });\n\n if (!oldEntry) {\n this._queuedEntries.push(newEntry);\n } else if (rootIsInDom && rootContainsTarget) {\n // If the new entry intersection ratio has crossed any of the\n // thresholds, add a new entry.\n if (this._hasCrossedThreshold(oldEntry, newEntry)) {\n this._queuedEntries.push(newEntry);\n }\n } else {\n // If the root is not in the DOM or target is not contained within\n // root but the previous entry for this target had an intersection,\n // add a new record indicating removal.\n if (oldEntry && oldEntry.isIntersecting) {\n this._queuedEntries.push(newEntry);\n }\n }\n }, this);\n\n if (this._queuedEntries.length) {\n this._callback(this.takeRecords(), this);\n }\n};\n\n\n/**\n * Accepts a target and root rect computes the intersection between then\n * following the algorithm in the spec.\n * TODO(philipwalton): at this time clip-path is not considered.\n * https://w3c.github.io/IntersectionObserver/#calculate-intersection-rect-algo\n * @param {Element} target The target DOM element\n * @param {Object} rootRect The bounding rect of the root after being\n * expanded by the rootMargin value.\n * @return {?Object} The final intersection rect object or undefined if no\n * intersection is found.\n * @private\n */\nIntersectionObserver.prototype._computeTargetAndRootIntersection =\n function(target, rootRect) {\n\n // If the element isn't displayed, an intersection can't happen.\n if (window.getComputedStyle(target).display == 'none') return;\n\n var targetRect = getBoundingClientRect(target);\n var intersectionRect = targetRect;\n var parent = getParentNode(target);\n var atRoot = false;\n\n while (!atRoot) {\n var parentRect = null;\n var parentComputedStyle = parent.nodeType == 1 ?\n window.getComputedStyle(parent) : {};\n\n // If the parent isn't displayed, an intersection can't happen.\n if (parentComputedStyle.display == 'none') return;\n\n if (parent == this.root || parent == document) {\n atRoot = true;\n parentRect = rootRect;\n } else {\n // If the element has a non-visible overflow, and it's not the <body>\n // or <html> element, update the intersection rect.\n // Note: <body> and <html> cannot be clipped to a rect that's not also\n // the document rect, so no need to compute a new intersection.\n if (parent != document.body &&\n parent != document.documentElement &&\n parentComputedStyle.overflow != 'visible') {\n parentRect = getBoundingClientRect(parent);\n }\n }\n\n // If either of the above conditionals set a new parentRect,\n // calculate new intersection data.\n if (parentRect) {\n intersectionRect = computeRectIntersection(parentRect, intersectionRect);\n\n if (!intersectionRect) break;\n }\n parent = getParentNode(parent);\n }\n return intersectionRect;\n};\n\n\n/**\n * Returns the root rect after being expanded by the rootMargin value.\n * @return {Object} The expanded root rect.\n * @private\n */\nIntersectionObserver.prototype._getRootRect = function() {\n var rootRect;\n if (this.root) {\n rootRect = getBoundingClientRect(this.root);\n } else {\n // Use <html>/<body> instead of window since scroll bars affect size.\n var html = document.documentElement;\n var body = document.body;\n rootRect = {\n top: 0,\n left: 0,\n right: html.clientWidth || body.clientWidth,\n width: html.clientWidth || body.clientWidth,\n bottom: html.clientHeight || body.clientHeight,\n height: html.clientHeight || body.clientHeight\n };\n }\n return this._expandRectByRootMargin(rootRect);\n};\n\n\n/**\n * Accepts a rect and expands it by the rootMargin value.\n * @param {Object} rect The rect object to expand.\n * @return {Object} The expanded rect.\n * @private\n */\nIntersectionObserver.prototype._expandRectByRootMargin = function(rect) {\n var margins = this._rootMarginValues.map(function(margin, i) {\n return margin.unit == 'px' ? margin.value :\n margin.value * (i % 2 ? rect.width : rect.height) / 100;\n });\n var newRect = {\n top: rect.top - margins[0],\n right: rect.right + margins[1],\n bottom: rect.bottom + margins[2],\n left: rect.left - margins[3]\n };\n newRect.width = newRect.right - newRect.left;\n newRect.height = newRect.bottom - newRect.top;\n\n return newRect;\n};\n\n\n/**\n * Accepts an old and new entry and returns true if at least one of the\n * threshold values has been crossed.\n * @param {?IntersectionObserverEntry} oldEntry The previous entry for a\n * particular target element or null if no previous entry exists.\n * @param {IntersectionObserverEntry} newEntry The current entry for a\n * particular target element.\n * @return {boolean} Returns true if a any threshold has been crossed.\n * @private\n */\nIntersectionObserver.prototype._hasCrossedThreshold =\n function(oldEntry, newEntry) {\n\n // To make comparing easier, an entry that has a ratio of 0\n // but does not actually intersect is given a value of -1\n var oldRatio = oldEntry && oldEntry.isIntersecting ?\n oldEntry.intersectionRatio || 0 : -1;\n var newRatio = newEntry.isIntersecting ?\n newEntry.intersectionRatio || 0 : -1;\n\n // Ignore unchanged ratios\n if (oldRatio === newRatio) return;\n\n for (var i = 0; i < this.thresholds.length; i++) {\n var threshold = this.thresholds[i];\n\n // Return true if an entry matches a threshold or if the new ratio\n // and the old ratio are on the opposite sides of a threshold.\n if (threshold == oldRatio || threshold == newRatio ||\n threshold < oldRatio !== threshold < newRatio) {\n return true;\n }\n }\n};\n\n\n/**\n * Returns whether or not the root element is an element and is in the DOM.\n * @return {boolean} True if the root element is an element and is in the DOM.\n * @private\n */\nIntersectionObserver.prototype._rootIsInDom = function() {\n return !this.root || containsDeep(document, this.root);\n};\n\n\n/**\n * Returns whether or not the target element is a child of root.\n * @param {Element} target The target element to check.\n * @return {boolean} True if the target element is a child of root.\n * @private\n */\nIntersectionObserver.prototype._rootContainsTarget = function(target) {\n return containsDeep(this.root || document, target);\n};\n\n\n/**\n * Adds the instance to the global IntersectionObserver registry if it isn't\n * already present.\n * @private\n */\nIntersectionObserver.prototype._registerInstance = function() {\n if (registry.indexOf(this) < 0) {\n registry.push(this);\n }\n};\n\n\n/**\n * Removes the instance from the global IntersectionObserver registry.\n * @private\n */\nIntersectionObserver.prototype._unregisterInstance = function() {\n var index = registry.indexOf(this);\n if (index != -1) registry.splice(index, 1);\n};\n\n\n/**\n * Returns the result of the performance.now() method or null in browsers\n * that don't support the API.\n * @return {number} The elapsed time since the page was requested.\n */\nfunction now() {\n return window.performance && performance.now && performance.now();\n}\n\n\n/**\n * Throttles a function and delays its execution, so it's only called at most\n * once within a given time period.\n * @param {Function} fn The function to throttle.\n * @param {number} timeout The amount of time that must pass before the\n * function can be called again.\n * @return {Function} The throttled function.\n */\nfunction throttle(fn, timeout) {\n var timer = null;\n return function () {\n if (!timer) {\n timer = setTimeout(function() {\n fn();\n timer = null;\n }, timeout);\n }\n };\n}\n\n\n/**\n * Adds an event handler to a DOM node ensuring cross-browser compatibility.\n * @param {Node} node The DOM node to add the event handler to.\n * @param {string} event The event name.\n * @param {Function} fn The event handler to add.\n * @param {boolean} opt_useCapture Optionally adds the even to the capture\n * phase. Note: this only works in modern browsers.\n */\nfunction addEvent(node, event, fn, opt_useCapture) {\n if (typeof node.addEventListener == 'function') {\n node.addEventListener(event, fn, opt_useCapture || false);\n }\n else if (typeof node.attachEvent == 'function') {\n node.attachEvent('on' + event, fn);\n }\n}\n\n\n/**\n * Removes a previously added event handler from a DOM node.\n * @param {Node} node The DOM node to remove the event handler from.\n * @param {string} event The event name.\n * @param {Function} fn The event handler to remove.\n * @param {boolean} opt_useCapture If the event handler was added with this\n * flag set to true, it should be set to true here in order to remove it.\n */\nfunction removeEvent(node, event, fn, opt_useCapture) {\n if (typeof node.removeEventListener == 'function') {\n node.removeEventListener(event, fn, opt_useCapture || false);\n }\n else if (typeof node.detatchEvent == 'function') {\n node.detatchEvent('on' + event, fn);\n }\n}\n\n\n/**\n * Returns the intersection between two rect objects.\n * @param {Object} rect1 The first rect.\n * @param {Object} rect2 The second rect.\n * @return {?Object} The intersection rect or undefined if no intersection\n * is found.\n */\nfunction computeRectIntersection(rect1, rect2) {\n var top = Math.max(rect1.top, rect2.top);\n var bottom = Math.min(rect1.bottom, rect2.bottom);\n var left = Math.max(rect1.left, rect2.left);\n var right = Math.min(rect1.right, rect2.right);\n var width = right - left;\n var height = bottom - top;\n\n return (width >= 0 && height >= 0) && {\n top: top,\n bottom: bottom,\n left: left,\n right: right,\n width: width,\n height: height\n };\n}\n\n\n/**\n * Shims the native getBoundingClientRect for compatibility with older IE.\n * @param {Element} el The element whose bounding rect to get.\n * @return {Object} The (possibly shimmed) rect of the element.\n */\nfunction getBoundingClientRect(el) {\n var rect;\n\n try {\n rect = el.getBoundingClientRect();\n } catch (err) {\n // Ignore Windows 7 IE11 \"Unspecified error\"\n // https://github.com/w3c/IntersectionObserver/pull/205\n }\n\n if (!rect) return getEmptyRect();\n\n // Older IE\n if (!(rect.width && rect.height)) {\n rect = {\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n };\n }\n return rect;\n}\n\n\n/**\n * Returns an empty rect object. An empty rect is returned when an element\n * is not in the DOM.\n * @return {Object} The empty rect.\n */\nfunction getEmptyRect() {\n return {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n width: 0,\n height: 0\n };\n}\n\n/**\n * Checks to see if a parent element contains a child element (including inside\n * shadow DOM).\n * @param {Node} parent The parent element.\n * @param {Node} child The child element.\n * @return {boolean} True if the parent node contains the child node.\n */\nfunction containsDeep(parent, child) {\n var node = child;\n while (node) {\n if (node == parent) return true;\n\n node = getParentNode(node);\n }\n return false;\n}\n\n\n/**\n * Gets the parent node of an element or its host element if the parent node\n * is a shadow root.\n * @param {Node} node The node whose parent to get.\n * @return {Node|null} The parent node or null if no parent exists.\n */\nfunction getParentNode(node) {\n var parent = node.parentNode;\n\n if (parent && parent.nodeType == 11 && parent.host) {\n // If the parent is a shadow root, return the host element.\n return parent.host;\n }\n\n if (parent && parent.assignedSlot) {\n // If the parent is distributed in a <slot>, return the parent of a slot.\n return parent.assignedSlot.parentNode;\n }\n\n return parent;\n}\n\n\n// Exposes the constructors globally.\nwindow.IntersectionObserver = IntersectionObserver;\nwindow.IntersectionObserverEntry = IntersectionObserverEntry;\n\n}());\n"]}
@@ -0,0 +1,2 @@
1
+ System.register(["./p-8a8f286f.system.js"],(function(e){"use strict";var t,i,r,n,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;n=e.H;o=e.g}],execute:function(){var a=e("taro_radio_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"radiochange",7);this.handleClick=function(e){e.stopPropagation();if(r.disabled)return;if(!r.checked)r.checked=true};this.name=undefined;this.value="";this.id=undefined;this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false}e.prototype.watchChecked=function(e){if(!this.isWillLoadCalled)return;e&&this.onChange.emit({value:this.value})};e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.render=function(){var e=this;var t=this,i=t.checked,o=t.name,a=t.value,u=t.disabled,c=t.nativeProps;return r(n,{className:"weui-cells_checkbox",onClick:this.handleClick},r("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"radio",name:o,value:a,class:"weui-check",checked:i,disabled:u,onChange:function(e){return e.stopPropagation()}},c)),r("i",{class:"weui-icon-checked"}),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["watchChecked"],id:["watchId"]}},enumerable:false,configurable:true});return e}());var u=e("taro_radio_group_core",function(){function e(e){t(this,e);this.onChange=i(this,"change",7);this.uniqueName=Date.now().toString(36);this.name=undefined}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-RADIO-CORE")return;var t=e.target;if(t.checked){var i=this.el.querySelectorAll("taro-radio-core");i.forEach((function(e){if(e!==t){e.checked=false}}));this.value=e.detail.value;this.onChange.emit({value:this.value})}};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-radio-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-radio-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){var t="";Array.from(e).forEach((function(e){var i=e.querySelector("input");if(i===null||i===void 0?void 0:i.checked){t=i.value||""}}));return t};e.prototype.render=function(){return r(n,{class:"weui-cells_radiogroup"})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}())}}}));
2
+ //# sourceMappingURL=p-72f626ab.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/radio/radio.tsx","src/components/radio/radio-group.tsx"],"names":["Radio","exports","this","handleClick","e","stopPropagation","_this","disabled","checked","class_1","prototype","watchChecked","newVal","isWillLoadCalled","onChange","emit","value","watchId","inputEl","setAttribute","componentDidRender","id","el","removeAttribute","componentWillLoad","render","_a","name","nativeProps","h","Host","className","onClick","Object","assign","ref","dom","type","class","RadioGroup","uniqueName","Date","now","toString","class_2","function","target","tagName","childList","querySelectorAll","forEach","element","detail","componentDidLoad","defineProperty","get","childList_1","getValues","configurable","val","Array","from","checkbox","querySelector"],"mappings":"sKAKaA,EAAKC,EAAA,kBAAA,oFAsChBC,KAAAC,YAAc,SAACC,GACbA,EAAEC,kBACF,GAAIC,EAAKC,SAAU,OACnB,IAAKD,EAAKE,QAASF,EAAKE,QAAU,qCAtCpB,kCAEkC,oBACtB,uBACN,yBAEM,MAK5BC,EAAAC,UAAAC,aAAA,SAAcC,GACZ,IAAKV,KAAKW,iBAAkB,OAC5BD,GAAUV,KAAKY,SAASC,KAAK,CAAEC,MAAOd,KAAKc,SAI7CP,EAAAC,UAAAO,QAAA,SAASL,GACP,IAAKV,KAAKW,iBAAkB,OAC5B,GAAID,EAAQV,KAAKgB,QAAQC,aAAa,KAAMP,IAQ9CH,EAAAC,UAAAU,mBAAA,WACElB,KAAKmB,IAAMnB,KAAKoB,GAAGC,gBAAgB,OAGrCd,EAAAC,UAAAc,kBAAA,WACEtB,KAAKW,iBAAmB,MAS1BJ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B,eAAepD,KAAKoB,GAAI,QAAS,CACtCiC,IAAK,WACH,IAAKjD,EAAKU,MAAO,CACf,IAAMwC,EAAYlD,EAAKgB,GAAG2B,iBAAiB,mBAC3C3C,EAAKU,MAAQV,EAAKmD,UAAUD,GAE9B,OAAOlD,EAAKU,OAEd0C,aAAc,QAIlBd,EAAAlC,UAAA+C,UAAA,SAAWT,GACT,IAAIW,EAAM,GACVC,MAAMC,KAAKb,GACRE,SAAQ,SAAAC,GACP,IAAMW,EAAoCX,EAAQY,cAAc,SAChE,GAAID,IAAQ,MAARA,SAAQ,OAAA,EAARA,EAAUtD,QAAS,CACrBmD,EAAMG,EAAS9C,OAAS,OAG9B,OAAO2C,GAGTf,EAAAlC,UAAAe,OAAA,WACE,OACEI,EAACC,EAAI,CAACQ,MAAM,gJArEK","sourcesContent":["import { Component, h, ComponentInterface, Prop, Event, EventEmitter, Host, Watch, Element, State } from '@stencil/core'\n\n@Component({\n tag: 'taro-radio-core'\n})\nexport class Radio implements ComponentInterface {\n private inputEl: HTMLInputElement\n @Prop() name: string\n @Prop() value = ''\n @Prop({ mutable: true }) id: string\n @Prop({ mutable: true, reflect: true }) checked = false\n @Prop() disabled: boolean = false\n @Prop() nativeProps = {}\n\n @State() isWillLoadCalled = false\n\n @Element() el: HTMLElement\n\n @Watch('checked')\n watchChecked (newVal) {\n if (!this.isWillLoadCalled) return\n newVal && this.onChange.emit({ value: this.value })\n }\n\n @Watch('id')\n watchId (newVal) {\n if (!this.isWillLoadCalled) return\n if (newVal) this.inputEl.setAttribute('id', newVal)\n }\n\n @Event({\n eventName: 'radiochange'\n })\n onChange: EventEmitter\n\n componentDidRender () {\n this.id && this.el.removeAttribute('id')\n }\n\n componentWillLoad () {\n this.isWillLoadCalled = true\n }\n\n handleClick = (e: Event) => {\n e.stopPropagation()\n if (this.disabled) return\n if (!this.checked) this.checked = true\n }\n\n render () {\n const { checked, name, value, disabled, nativeProps } = this\n\n return (\n <Host\n className='weui-cells_checkbox'\n onClick={this.handleClick}\n >\n <input\n ref={dom => {\n if (!dom) return\n this.inputEl = dom\n if (this.id) dom.setAttribute('id', this.id)\n }}\n type='radio'\n name={name}\n value={value}\n class='weui-check'\n checked={checked}\n disabled={disabled}\n onChange={e => e.stopPropagation()}\n {...nativeProps}\n />\n <i class='weui-icon-checked' />\n <slot />\n </Host>\n )\n }\n}\n","import { Component, h, ComponentInterface, Host, Prop, Event, EventEmitter, Listen, Element } from '@stencil/core'\n\n@Component({\n tag: 'taro-radio-group-core'\n})\nexport class RadioGroup implements ComponentInterface {\n private uniqueName = Date.now().toString(36)\n private value: string\n\n @Prop() name\n\n @Element() el: HTMLElement\n\n @Event({\n eventName: 'change'\n })\n onChange: EventEmitter\n\n @Listen('radiochange')\n function (e: CustomEvent<{ value: string }>) {\n e.stopPropagation()\n if ((e.target as Element).tagName !== 'TARO-RADIO-CORE') return\n\n const target = e.target as HTMLTaroRadioCoreElement\n if (target.checked) {\n const childList = this.el.querySelectorAll('taro-radio-core')\n\n childList.forEach(element => {\n if (element !== target) {\n element.checked = false\n }\n })\n\n this.value = e.detail.value\n\n this.onChange.emit({\n value: this.value\n })\n }\n }\n\n componentDidLoad () {\n const childList = this.el.querySelectorAll('taro-radio-core')\n\n childList.forEach((element) => {\n element.setAttribute('name', this.name || this.uniqueName)\n })\n\n Object.defineProperty(this.el, 'value', {\n get: () => {\n if (!this.value) {\n const childList = this.el.querySelectorAll('taro-radio-core')\n this.value = this.getValues(childList)\n }\n return this.value\n },\n configurable: true\n })\n }\n\n getValues (childList: NodeListOf<HTMLTaroRadioCoreElement>) {\n let val = ''\n Array.from(childList)\n .forEach(element => {\n const checkbox: HTMLInputElement | null = element.querySelector('input')\n if (checkbox?.checked) {\n val = checkbox.value || ''\n }\n })\n return val\n }\n\n render () {\n return (\n <Host class='weui-cells_radiogroup' />\n )\n }\n}\n"]}
@@ -1,7 +1,8 @@
1
- var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e,n,r){return e(r={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}var o=r((function(e){
1
+ var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function r(e,n,r){return r={path:n,exports:{},require:function(e,n){return i()}},e(r,r.exports),r.exports}function i(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var o=r((function(e){
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
6
  */
7
- !function(){var n={}.hasOwnProperty;function r(){for(var e=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var t=typeof i;if("string"===t||"number"===t)e.push(i);else if(Array.isArray(i)){if(i.length){var f=r.apply(null,i);f&&e.push(f)}}else if("object"===t)if(i.toString===Object.prototype.toString)for(var u in i)n.call(i,u)&&i[u]&&e.push(u);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r}()}));export{r as a,e as b,o as c,n as g}
7
+ (function(){var n={}.hasOwnProperty;function r(){var e=[];for(var i=0;i<arguments.length;i++){var o=arguments[i];if(!o)continue;var f=typeof o;if(f==="string"||f==="number"){e.push(o)}else if(Array.isArray(o)){if(o.length){var t=r.apply(null,o);if(t){e.push(t)}}}else if(f==="object"){if(o.toString===Object.prototype.toString){for(var u in o){if(n.call(o,u)&&o[u]){e.push(u)}}}else{e.push(o.toString())}}}return e.join(" ")}if(e.exports){r.default=r;e.exports=r}else{window.classNames=r}})()}));export{r as a,e as b,o as c,n as g};
8
+ //# sourceMappingURL=p-76724e58.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../node_modules/.pnpm/registry.npmjs.org+classnames@2.3.1/node_modules/classnames/index.js"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","key","call","join","module","exports","default","window"],"mappings":";;;;;;CAOC,WAGA,IAAIA,EAAS,GAAGC,eAEhB,SAASC,IACR,IAAIC,EAAU,GAEd,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAC1C,IAAIG,EAAMF,UAAUD,GACpB,IAAKG,EAAK,SAEV,IAAIC,SAAiBD,EAErB,GAAIC,IAAY,UAAYA,IAAY,SAAU,CACjDL,EAAQM,KAAKF,QACP,GAAIG,MAAMC,QAAQJ,GAAM,CAC9B,GAAIA,EAAID,OAAQ,CACf,IAAIM,EAAQV,EAAWW,MAAM,KAAMN,GACnC,GAAIK,EAAO,CACVT,EAAQM,KAAKG,UAGT,GAAIJ,IAAY,SAAU,CAChC,GAAID,EAAIO,WAAaC,OAAOC,UAAUF,SAAU,CAC/C,IAAK,IAAIG,KAAOV,EAAK,CACpB,GAAIP,EAAOkB,KAAKX,EAAKU,IAAQV,EAAIU,GAAM,CACtCd,EAAQM,KAAKQ,SAGT,CACNd,EAAQM,KAAKF,EAAIO,cAKpB,OAAOX,EAAQgB,KAAK,KAGrB,GAAqCC,EAAOC,QAAS,CACpDnB,EAAWoB,QAAUpB,EACrBkB,EAAAC,QAAiBnB,MAMX,CACNqB,OAAOrB,WAAaA,IAhDtB","sourcesContent":["/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"]}