@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
@@ -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","detatchEvent","rect1","rect2","Math","max","min","el","err","child","parentNode","host","assignedSlot"],"mappings":"CAQC,WAID,UAAWA,SAAW,SAAU,CAC9B,OAKF,GAAI,yBAA0BA,QAC1B,8BAA+BA,QAC/B,sBAAuBA,OAAOC,0BAA0BC,UAAW,CAIrE,KAAM,mBAAoBF,OAAOC,0BAA0BC,WAAY,CACrEC,OAAOC,eAAeJ,OAAOC,0BAA0BC,UACrD,iBAAkB,CAClBG,IAAK,WACH,OAAOC,KAAKC,kBAAoB,KAItC,OAOF,IAAIC,EAAWR,OAAOQ,SAkBtB,SAASP,EAA0BQ,GACjCH,KAAKI,KAAOD,EAAMC,KAClBJ,KAAKK,OAASF,EAAME,OACpBL,KAAKM,WAAaH,EAAMG,WACxBN,KAAKO,mBAAqBJ,EAAMI,mBAChCP,KAAKQ,iBAAmBL,EAAMK,kBAAoBC,IAClDT,KAAKU,iBAAmBP,EAAMK,iBAG9B,IAAIG,EAAaX,KAAKO,mBACtB,IAAIK,EAAaD,EAAWE,MAAQF,EAAWG,OAC/C,IAAIN,EAAmBR,KAAKQ,iBAC5B,IAAIO,EAAmBP,EAAiBK,MAAQL,EAAiBM,OAGjE,GAAIF,E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KL,MACZE,OAAQG,EAAKH,OACbH,KAAMM,EAAKN,KACXtG,MAAO4G,EAAKL,MAAQK,EAAKN,KACzBrG,OAAQ2G,EAAKH,OAASG,EAAKP,KAG/B,OAAOO,EAST,SAAShH,IACP,MAAO,CACLyG,IAAK,EACLI,OAAQ,EACRH,KAAM,EACNC,MAAO,EACPvG,MAAO,EACPC,OAAQ,GAWZ,SAAS+G,EAAarB,EAAQyC,GAC5B,IAAId,EAAOc,EACX,MAAOd,EAAM,CACX,GAAIA,GAAQ3B,EAAQ,OAAO,KAE3B2B,EAAO1B,EAAc0B,GAEvB,OAAO,MAUT,SAAS1B,EAAc0B,GACrB,IAAI3B,EAAS2B,EAAKe,WAElB,GAAI1C,GAAUA,EAAOhF,UAAY,IAAMgF,EAAO2C,KAAM,CAElD,OAAO3C,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"]}
@@ -1 +1,2 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-8809c729.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(o,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["taro-checkbox-core_2",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["taro-radio-core_2",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1028],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["taro-ad-core",[[0,"taro-ad-core"]]],["taro-ad-custom-core",[[0,"taro-ad-custom-core"]]],["taro-audio-core",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["taro-cover-view-core",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-editor-core",[[0,"taro-editor-core"]]],["taro-form-core",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core",[[0,"taro-functional-page-navigator-core"]]],["taro-icon-core",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["taro-image-core",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["taro-input-core",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16]}]]],["taro-keyboard-accessory-core",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core",[[4,"taro-label-core",{for:[1]}]]],["taro-live-player-core",[[0,"taro-live-player-core"]]],["taro-live-pusher-core",[[0,"taro-live-pusher-core"]]],["taro-map-core",[[0,"taro-map-core"]]],["taro-match-media-core",[[0,"taro-match-media-core"]]],["taro-movable-area-core",[[0,"taro-movable-area-core",{scaleArea:[4,"scale-area"]}]]],["taro-movable-view-core",[[0,"taro-movable-view-core",{x:[8],y:[8],direction:[1],outOfBounds:[4,"out-of-bounds"],inertia:[4],friction:[2],damping:[2],disabled:[4],scale:[4],scaleMin:[2,"scale-min"],scaleMax:[2,"scale-max"],scaleValue:[2,"scale-value"],animation:[4],setParent:[64],endScale:[64],setScale:[64]}]]],["taro-navigation-bar-core",[[0,"taro-navigation-bar-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["taro-official-account-core",[[0,"taro-official-account-core"]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-page-container-core",[[0,"taro-page-container-core"]]],["taro-page-meta-core",[[0,"taro-page-meta-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core",{col:[1],initialPosition:[1,"initial-position"],paddingVertical:[2,"padding-vertical"],isInit:[32],isMove:[32]},[[1,"scroll","onScroll"],[1,"mouseup","onMouseEnd"],[1,"mouseout","onMouseEnd"],[1,"mouseleave","onMouseEnd"],[1,"touchend","onTouchEnd"]]]]],["taro-picker-view-core",[[4,"taro-picker-view-core",{indicatorStyle:[1,"indicator-style"],indicatorClass:[1,"indicator-class"],value:[16],maskStyle:[1,"mask-style"],maskClass:[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["taro-progress-core",[[0,"taro-progress-core",{percent:[2],showInfo:[4,"show-info"],borderRadius:[8,"border-radius"],fontSize:[8,"font-size"],strokeWidth:[8,"stroke-width"],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],active:[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{nodes:[1]}]]],["taro-root-portal-core",[[0,"taro-root-portal-core"]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[8,"scroll-top"],mpScrollLeft:[8,"scroll-left"],mpScrollIntoView:[1,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]}]]],["taro-share-element-core",[[0,"taro-share-element-core"]]],["taro-slider-core",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["taro-slot-core",[[0,"taro-slot-core"]]],["taro-switch-core",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["taro-text-core",[[4,"taro-text-core",{selectable:[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["taro-view-core",[[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-voip-room-core",[[0,"taro-voip-room-core"]]],["taro-web-view-core",[[0,"taro-web-view-core",{src:[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],pickerValue:[32],height:[32],hidden:[32],fadeOut:[32],isWillLoadCalled:[32]}],[0,"taro-picker-group",{mode:[1],range:[16],rangeKey:[1,"range-key"],height:[2],columnId:[1,"column-id"],updateHeight:[16],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],e)}))};export{defineCustomElements};
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-5d881caf.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(o,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["taro-checkbox-core_2",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["taro-movable-area-core_2",[[0,"taro-movable-area-core",{scaleArea:[4,"scale-area"]}],[0,"taro-movable-view-core",{x:[8],y:[8],direction:[1],outOfBounds:[4,"out-of-bounds"],inertia:[4],friction:[2],damping:[2],disabled:[4],scale:[4],scaleMin:[2,"scale-min"],scaleMax:[2,"scale-max"],scaleValue:[2,"scale-value"],animation:[4],setParent:[64],endScale:[64],setScale:[64]}]]],["taro-picker-view-column-core_2",[[0,"taro-picker-view-column-core",{col:[1],initialPosition:[1,"initial-position"],paddingVertical:[2,"padding-vertical"],isInit:[32],isMove:[32]},[[1,"scroll","onScroll"],[1,"mouseup","onMouseEnd"],[1,"mouseout","onMouseEnd"],[1,"mouseleave","onMouseEnd"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{indicatorStyle:[1,"indicator-style"],indicatorClass:[1,"indicator-class"],value:[16],maskStyle:[1,"mask-style"],maskClass:[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["taro-radio-core_2",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1540],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["taro-ad-core",[[0,"taro-ad-core"]]],["taro-ad-custom-core",[[0,"taro-ad-custom-core"]]],["taro-audio-core",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["taro-cover-view-core",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-editor-core",[[0,"taro-editor-core"]]],["taro-form-core",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core",[[0,"taro-functional-page-navigator-core"]]],["taro-icon-core",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["taro-image-core",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["taro-input-core",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[516,"focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16]}]]],["taro-keyboard-accessory-core",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core",[[4,"taro-label-core",{for:[1]}]]],["taro-live-player-core",[[0,"taro-live-player-core"]]],["taro-live-pusher-core",[[0,"taro-live-pusher-core"]]],["taro-map-core",[[0,"taro-map-core"]]],["taro-match-media-core",[[0,"taro-match-media-core"]]],["taro-navigation-bar-core",[[0,"taro-navigation-bar-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["taro-official-account-core",[[0,"taro-official-account-core"]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-page-container-core",[[0,"taro-page-container-core"]]],["taro-page-meta-core",[[0,"taro-page-meta-core"]]],["taro-progress-core",[[0,"taro-progress-core",{percent:[2],showInfo:[4,"show-info"],borderRadius:[8,"border-radius"],fontSize:[8,"font-size"],strokeWidth:[8,"stroke-width"],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],active:[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{nodes:[1]}]]],["taro-root-portal-core",[[0,"taro-root-portal-core"]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[520,"scroll-top"],mpScrollLeft:[520,"scroll-left"],mpScrollIntoView:[513,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]},[[3,"scroll","handleScroll"]]]]],["taro-share-element-core",[[0,"taro-share-element-core"]]],["taro-slider-core",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["taro-slot-core",[[0,"taro-slot-core"]]],["taro-switch-core",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["taro-text-core",[[4,"taro-text-core",{selectable:[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["taro-view-core",[[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-voip-room-core",[[0,"taro-voip-room-core"]]],["taro-web-view-core",[[0,"taro-web-view-core",{src:[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],pickerValue:[32],height:[32],hidden:[32],fadeOut:[32],isWillLoadCalled:[32]}],[0,"taro-picker-group",{mode:[1],range:[16],rangeKey:[1,"range-key"],height:[2],columnId:[1,"column-id"],updateHeight:[16],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],e)}))};export{defineCustomElements};
2
+ //# sourceMappingURL=loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../node_modules/.pnpm/registry.npmjs.org+@stencil+core@2.19.2/node_modules/@stencil/core/internal/client/patch-esm.js","@lazy-external-entrypoint?app-data=conditional"],"names":["patchEsm","promiseResolve","defineCustomElements","win","options","window","Promise","resolve","then","bootstrapLazy","name","value","color","id","checked","disabled","nativeProps","isWillLoadCalled","scaleArea","x","y","direction","outOfBounds","inertia","friction","damping","scale","scaleMin","scaleMax","scaleValue","animation","setParent","endScale","setScale","col","initialPosition","paddingVertical","isInit","isMove","indicatorStyle","indicatorClass","maskStyle","maskClass","indicatorDots","indicatorColor","indicatorActiveColor","autoplay","current","interval","duration","circular","vertical","previousMargin","nextMargin","displayMultipleItems","full","swiperWrapper","swiper","observer","observerFirst","observerLast","itemId","src","controls","loop","muted","hoverClass","type","hoverStartTime","hoverStayTime","size","plain","loading","formType","hover","touch","canvasId","slotParent","mode","lazyLoad","aspectFillMode","password","placeholder","maxlength","autoFocus","confirmType","for","url","openType","isHover","delta","percent","showInfo","borderRadius","fontSize","strokeWidth","activeColor","backgroundColor","active","prefixCls","distanceToRefresh","indicator","currSt","dragOnEdge","nodes","scrollX","scrollY","upperThreshold","lowerThreshold","mpScrollTop","mpScrollLeft","mpScrollIntoView","scrollWithAnimation","min","max","step","blockSize","blockColor","showValue","val","totalWidth","touching","ogX","touchId","ogPercent","isChecked","conf","list","borderStyle","selectedColor","selectedIndex","status","selectable","autoHeight","line","range","rangeKey","start","end","fields","pickerValue","height","hidden","fadeOut","columnId","updateHeight","onColumnChange","updateDay","startY","preY","hadMove","touchEnd","initialTime","poster","objectFit","showProgress","showFullscreenBtn","showPlayBtn","showCenterPlayBtn","showMuteBtn","danmuList","danmuBtn","enableDanmu","enablePlayGesture","enableProgressGesture","vslideGesture","vslideGestureInFullscreen","_duration","_enableDanmu","isPlaying","isFirst","isFullScreen","fullScreenTimestamp","isMute","play","pause","stop","seek","requestFullScreen","exitFullScreen","currentTime","pauseFunc","playFunc","seekFunc","setProgressBall","toggleVisibility","getIsDraggingProgressBall","setCurrentTime","enable","sendDanmu","tick"],"mappings":"wEAKA,IAAMA,SAAW,WAeb,OAAOC,kBCjBC,IAACC,qBAAuB,SAACC,EAAKC,GACxC,UAAWC,SAAW,YAAa,OAAOC,QAAQC,UAClD,OAAOP,WAAWQ,MAAK,WAEvB,OAAOC,cAAc,CAAA,CAAA,uBAAA,CAAA,CAAA,EAA4B,qBAAW,CAAAC,KAAA,CAAA,GAAAC,MAAA,CAAA,GAAAC,MAAA,CAAA,GAAAC,GAAA,CAAA,MAAAC,QAAA,CAAA,GAAAC,SAAA,CAAA,GAAAC,YAAA,CAAA,IAAAC,iBAAA,CAAA,MAAA,CAAA,EAAA,2BAAA,CAAAP,KAAA,CAAA,IAAA,CAAA,CAAA,EAAA,iBAAA,gBAAA,CAAA,2BAAA,CAAA,CAAA,EAAA,yBAAA,CAAAQ,UAAA,CAAA,EAAA,gBAAA,CAAA,EAAA,yBAAA,CAAAC,EAAA,CAAA,GAAAC,EAAA,CAAA,GAAAC,UAAA,CAAA,GAAAC,YAAA,CAAA,EAAA,iBAAAC,QAAA,CAAA,GAAAC,SAAA,CAAA,GAAAC,QAAA,CAAA,GAAAV,SAAA,CAAA,GAAAW,MAAA,CAAA,GAAAC,SAAA,CAAA,EAAA,aAAAC,SAAA,CAA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} from '@stencil/core';\nconst patchEsm = () => {\n // NOTE!! This fn cannot use async/await!\n // @ts-ignore\n if (BUILD.cssVarShim && !(CSS && CSS.supports && CSS.supports('color', 'var(--c)'))) {\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-css-shim\" */ './css-shim.js').then(() => {\n if ((plt.$cssShim$ = win.__cssshim)) {\n return plt.$cssShim$.i();\n }\n else {\n // for better minification\n return 0;\n }\n });\n }\n return promiseResolve();\n};\nexport { patchEsm };\n","import { bootstrapLazy } from '@stencil/core';\nimport { patchEsm } from '@stencil/core/internal/client/patch-esm';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n return patchEsm().then(() => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n });\n};\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8809c729.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Ad=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Ad",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Ad as taro_ad_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Ad=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Ad",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Ad as taro_ad_core};
2
+ //# sourceMappingURL=taro-ad-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/ad/ad.tsx"],"names":["Ad","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"8IAOaA,GAAE,kDACbA,EAAAC,UAAAC,iBAAA,WACEC,WAAW,KAAMC,OAGnBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,KAAI,gBAPI","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-ad-core'\n})\nexport class Ad implements ComponentInterface {\n componentDidLoad () {\n notSupport('Ad', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8809c729.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var AdCustom=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("AdCustom",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{AdCustom as taro_ad_custom_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var AdCustom=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("AdCustom",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{AdCustom as taro_ad_custom_core};
2
+ //# sourceMappingURL=taro-ad-custom-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/ad-custom/ad-custom.tsx"],"names":["AdCustom","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"8IAOaA,SAAQ,kDACnBA,EAAAC,UAAAC,iBAAA,WACEC,WAAW,WAAYC,OAGzBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,KAAI,gBAPU","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-ad-custom-core'\n})\nexport class AdCustom implements ComponentInterface {\n componentDidLoad () {\n notSupport('AdCustom', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h}from"./index-8809c729.js";var indexCss="audio{max-width:100%;outline:none}";var Audio=function(){function t(t){registerInstance(this,t);this.onError=createEvent(this,"error",7);this.onPlay=createEvent(this,"play",7);this.onPause=createEvent(this,"pause",7);this.onTimeUpdate=createEvent(this,"timeupdate",7);this.onEnded=createEvent(this,"ended",7);this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.nativeProps={}}t.prototype.bindevent=function(){var t=this;this.audio.addEventListener("timeupdate",(function(e){t.onTimeUpdate.emit({duration:e.srcElement.duration,currentTime:e.srcElement.duration})}));this.audio.addEventListener("ended",(function(){t.onEnded.emit()}));this.audio.addEventListener("play",(function(){t.onPlay.emit()}));this.audio.addEventListener("pause",(function(e){t.onPause.emit(e)}));this.audio.addEventListener("error",(function(e){var n;t.onError.emit({errMsg:(n=e.srcElement.error)===null||n===void 0?void 0:n.code})}))};t.prototype.componentDidLoad=function(){this.bindevent()};t.prototype.render=function(){var t=this;var e=this,n=e.src,i=e.controls,o=e.autoplay,r=e.loop,s=e.muted,a=e.nativeProps;return h("audio",Object.assign({src:n,controls:i,autoplay:o,loop:r,muted:s,ref:function(e){t.audio=e}},a))};return t}();Audio.style=indexCss;export{Audio as taro_audio_core};
1
+ import{r as registerInstance,c as createEvent,h}from"./index-5d881caf.js";var indexCss="audio{max-width:100%;outline:none}";var Audio=function(){function t(t){registerInstance(this,t);this.onError=createEvent(this,"error",7);this.onPlay=createEvent(this,"play",7);this.onPause=createEvent(this,"pause",7);this.onTimeUpdate=createEvent(this,"timeupdate",7);this.onEnded=createEvent(this,"ended",7);this.src=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.nativeProps={}}t.prototype.bindevent=function(){var t=this;this.audio.addEventListener("timeupdate",(function(e){t.onTimeUpdate.emit({duration:e.srcElement.duration,currentTime:e.srcElement.duration})}));this.audio.addEventListener("ended",(function(){t.onEnded.emit()}));this.audio.addEventListener("play",(function(){t.onPlay.emit()}));this.audio.addEventListener("pause",(function(e){t.onPause.emit(e)}));this.audio.addEventListener("error",(function(e){var n;t.onError.emit({errMsg:(n=e.srcElement.error)===null||n===void 0?void 0:n.code})}))};t.prototype.componentDidLoad=function(){this.bindevent()};t.prototype.render=function(){var t=this;var e=this,n=e.src,i=e.controls,o=e.autoplay,r=e.loop,s=e.muted,a=e.nativeProps;return h("audio",Object.assign({src:n,controls:i,autoplay:o,loop:r,muted:s,ref:function(e){t.audio=e}},a))};return t}();Audio.style=indexCss;export{Audio as taro_audio_core};
2
+ //# sourceMappingURL=taro-audio-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/audio/style/index.scss?tag=taro-audio-core","src/components/audio/audio.tsx"],"names":["indexCss","Audio","prototype","bindevent","_this","this","audio","addEventListener","e","onTimeUpdate","emit","duration","srcElement","currentTime","onEnded","onPlay","onPause","onError","errMsg","_a","error","code","componentDidLoad","render","_b","src","controls","autoplay","loop","muted","nativeProps","h","Object","assign","ref"],"mappings":"0EAAA,IAAMA,SAAW,yCCOJC,MAAK,wSAEG,mBACA,gBACJ,iBACC,uBACM,GAwBdA,EAAAC,UAAAC,UAAA,WAAA,IAAAC,EAAAC,KACNA,KAAKC,MAAMC,iBAAiB,cAAc,SAACC,GACzCJ,EAAKK,aAAaC,KAAK,CACrBC,SAAUH,EAAEI,WAAYD,SACxBE,YAAaL,EAAEI,WAAYD,cAI/BN,KAAKC,MAAMC,iBAAiB,SAAS,WACnCH,EAAKU,QAAQJ,UAGfL,KAAKC,MAAMC,iBAAiB,QAAQ,WAClCH,EAAKW,OAAOL,UAGdL,KAAKC,MAAMC,iBAAiB,SAAS,SAACC,GACpCJ,EAAKY,QAAQN,KAAKF,MAIpBH,KAAKC,MAAMC,iBAAiB,SAAS,SAACC,SACpCJ,EAAKa,QAAQP,KAAK,CAChBQ,QAAQC,EAAAX,EAAEI,WAAYQ,SAAK,MAAAD,SAAA,OAAA,EAAAA,EAAEE,WAKnCpB,EAAAC,UAAAoB,iBAAA,WACEjB,KAAKF,aAGPF,EAAAC,UAAAqB,OAAA,WAAA,IAAAnB,EAAAC,KACQ,IAAAmB,EAOFnB,KANFoB,EAAGD,EAAAC,IACHC,EAAQF,EAAAE,SACRC,EAAQH,EAAAG,SACRC,EAAIJ,EAAAI,KACJC,EAAKL,EAAAK,MACLC,EAAWN,EAAAM,YAEb,OACEC,EAAA,QAAAC,OAAAC,OAAA,CACER,IAAKA,EACLC,SAAUA,EACVC,SAAUA,EACVC,KAAMA,EACNC,MAAOA,EACPK,IAAK,SAAA5B,GAAWF,EAAKE,MAAQA,IACzBwB,cA/EM","sourcesContent":["@charset \"UTF-8\";\n\naudio {\n max-width: 100%;\n outline: none;\n}\n","import { Component, Prop, h, ComponentInterface, Event, EventEmitter } from '@stencil/core'\nimport { TaroEvent } from '../../../types'\n\n@Component({\n tag: 'taro-audio-core',\n styleUrl: './style/index.scss'\n})\nexport class Audio implements ComponentInterface {\n @Prop() src: string\n @Prop() controls = true\n @Prop() autoplay = false\n @Prop() loop = false\n @Prop() muted = false\n @Prop() nativeProps = {}\n\n @Event({\n eventName: 'error'\n }) onError: EventEmitter\n\n @Event({\n eventName: 'play'\n }) onPlay: EventEmitter\n\n @Event({\n eventName: 'pause'\n }) onPause: EventEmitter\n\n @Event({\n eventName: 'timeupdate'\n }) onTimeUpdate: EventEmitter\n\n @Event({\n eventName: 'ended'\n }) onEnded: EventEmitter\n\n private audio: HTMLAudioElement\n\n private bindevent () {\n this.audio.addEventListener('timeupdate', (e: TaroEvent<HTMLAudioElement>) => {\n this.onTimeUpdate.emit({\n duration: e.srcElement!.duration,\n currentTime: e.srcElement!.duration\n })\n })\n\n this.audio.addEventListener('ended', () => {\n this.onEnded.emit()\n })\n\n this.audio.addEventListener('play', () => {\n this.onPlay.emit()\n })\n\n this.audio.addEventListener('pause', (e) => {\n this.onPause.emit(e)\n })\n\n // 1网络错误, 2解码错误, 3解码错误,4 不合适资源\n this.audio.addEventListener('error', (e: TaroEvent<HTMLAudioElement>) => {\n this.onError.emit({\n errMsg: e.srcElement!.error?.code\n })\n })\n }\n\n componentDidLoad () {\n this.bindevent()\n }\n\n render () {\n const {\n src,\n controls,\n autoplay,\n loop,\n muted,\n nativeProps\n } = this\n return (\n <audio\n src={src}\n controls={controls}\n autoplay={autoplay}\n loop={loop}\n muted={muted}\n ref={audio => { this.audio = audio as HTMLAudioElement }}\n {...nativeProps}\n />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8809c729.js";var Block=function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,null)};return r}();export{Block as taro_block_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";var Block=function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,null)};return r}();export{Block as taro_block_core};
2
+ //# sourceMappingURL=taro-block-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/block/block.tsx"],"names":["Block","prototype","render","h","Host"],"mappings":"uEAKaA,MAAK,kDAChBA,EAAAC,UAAAC,OAAA,WACE,OACEC,EAACC,KAAI,gBAHO","sourcesContent":["import { Component, h, Host, ComponentInterface } from '@stencil/core'\n\n@Component({\n tag: 'taro-block-core'\n})\nexport class Block implements ComponentInterface {\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-8809c729.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss='taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:" ";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}';var Button=function(){function o(o){registerInstance(this,o);this.onSubmit=createEvent(this,"tarobuttonsubmit",7);this.onReset=createEvent(this,"tarobuttonreset",7);this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,e=t.hoverClass,a=t.type,i=t.size,n=t.plain,c=t.loading,l=t.hover;var d=classnames((o={},o[""+e]=l&&!r,o));return h(Host,{class:d,type:a,plain:n,loading:c,size:i,disabled:r},c&&h("i",{class:"weui-loading"}),h("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return o}();Button.style=indexCss;export{Button as taro_button_core};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-5d881caf.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss='taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:" ";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}';var Button=function(){function o(o){registerInstance(this,o);this.onSubmit=createEvent(this,"tarobuttonsubmit",7);this.onReset=createEvent(this,"tarobuttonreset",7);this.disabled=undefined;this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.size=undefined;this.plain=undefined;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,e=t.hoverClass,a=t.type,i=t.size,n=t.plain,c=t.loading,d=t.hover;var l=classnames((o={},o["".concat(e)]=d&&!r,o));return h(Host,{class:l,type:a,plain:n,loading:c,size:i,disabled:r},c&&h("i",{class:"weui-loading"}),h("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return o}();Button.style=indexCss;export{Button as taro_button_core};
2
+ //# sourceMappingURL=taro-button-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/button/style/index.scss?tag=taro-button-core","src/components/button/button.tsx"],"names":["indexCss","Button","prototype","onTouchStart","_this","this","disabled","touch","hoverClass","setTimeout","hover","hoverStartTime","onTouchEnd","hoverStayTime","formType","onSubmit","emit","onReset","render","_b","type","size","plain","loading","cls","classNames","_a","concat","h","Host","class"],"mappings":"qJAAA,IAAMA,SAAW,+1GCOJC,OAAM,kMAEI,yBACN,uBACU,sBACD,yDAGN,oBAC4B,gBAI7B,iBACA,MAWjBA,EAAAC,UAAAC,aAAA,WAAA,IAAAC,EAAAC,KACE,GAAIA,KAAKC,SAAU,CACjB,OAGFD,KAAKE,MAAQ,KACb,GAAIF,KAAKG,aAAeH,KAAKC,SAAU,CACrCG,YAAW,WACT,GAAIL,EAAKG,MAAO,CACdH,EAAKM,MAAQ,QAEdL,KAAKM,kBAKZV,EAAAC,UAAAU,WAAA,WAAA,IAAAR,EAAAC,KACE,GAAIA,KAAKC,SAAU,CACjB,OAGFD,KAAKE,MAAQ,MACb,GAAIF,KAAKG,aAAeH,KAAKC,SAAU,CACrCG,YAAW,WACT,IAAKL,EAAKG,MAAO,CACfH,EAAKM,MAAQ,SAEdL,KAAKQ,eAGV,GAAIR,KAAKS,WAAa,SAAU,CAC9BT,KAAKU,SAASC,YACT,GAAIX,KAAKS,WAAa,QAAS,CACpCT,KAAKY,QAAQD,SAIjBf,EAAAC,UAAAgB,OAAA,iBACQ,IAAAC,EAQFd,KAPFC,EAAQa,EAAAb,SACRE,EAAUW,EAAAX,WACVY,EAAID,EAAAC,KACJC,EAAIF,EAAAE,KACJC,EAAKH,EAAAG,MACLC,EAAOJ,EAAAI,QACPb,EAAKS,EAAAT,MAGP,IAAMc,EAAMC,YAAUC,EAAA,GACpBA,EAAC,GAAAC,OAAGnB,IAAeE,IAAUJ,MAG/B,OACEsB,EAACC,KAAI,CACHC,MAAON,EACPJ,KAAMA,EACNE,MAAOA,EACPC,QAASA,EACTF,KAAMA,EACNf,SAAUA,GAETiB,GAAWK,EAAA,IAAA,CAAGE,MAAM,iBACrBF,EAAA,OAAA,sIAvFW","sourcesContent":["$weuiBtnHeight: 46px;\n$weuiBtnFontSize: 18px;\n$weuiBtnFontColor: #fff;\n$weuiBtnActiveFontColor: rgb(255 255 255 / 60%);\n$weuiBtnDisabledFontColor: rgb(255 255 255 / 60%);\n$weuiBtnBorderRadius: 5px;\n$weuiBtnDefaultGap: 15px;\n\n// Button Mini\n$weuiBtnMiniFontSize: 13px;\n$weuiBtnMiniHeight: 2.3;\n\n// Button Default\n$weuiBtnDefaultFontColor: #000;\n$weuiBtnDefaultActiveFontColor: rgb(0 0 0 / 60%);\n$weuiBtnDefaultDisabledFontColor: rgb(0 0 0 / 30%);\n$weuiBtnDefaultBg: #f8f8f8;\n$weuiBtnDefaultActiveBg: #dedede;\n$weuiBtnDefaultDisabledBg: #f7f7f7;\n\n// Button Primary\n$weuiBtnPrimaryBg: #1aad19;\n$weuiBtnPrimaryActiveBg: #179b16;\n$weuiBtnPrimaryDisabledBg: #9ed99d;\n\n// Button Warn\n$weuiBtnWarnBg: #e64340;\n$weuiBtnWarnActiveBg: #ce3c39;\n$weuiBtnWarnDisabledBg: #ec8b89;\n\n// Button Plain Primary\n$weuiBtnPlainPrimaryColor: rgb(26 173 25 / 100%);\n$weuiBtnPlainPrimaryBorderColor: rgb(26 173 25 / 100%);\n$weuiBtnPlainPrimaryActiveColor: rgb(26 173 25 / 60%);\n$weuiBtnPlainPrimaryActiveBorderColor: rgb(26 173 25 / 60%);\n\n// Button Plain Default\n$weuiBtnPlainDefaultColor: rgb(53 53 53 / 100%);\n$weuiBtnPlainDefaultBorderColor: rgb(53 53 53 / 100%);\n$weuiBtnPlainDefaultActiveColor: rgb(53 53 53 / 60%);\n$weuiBtnPlainDefaultActiveBorderColor: rgb(53 53 53 / 60%);\n\ntaro-button-core {\n display: block;\n overflow: hidden;\n position: relative;\n box-sizing: border-box;\n margin-left: auto;\n margin-right: auto;\n padding-left: 14px;\n padding-right: 14px;\n border-width: 0;\n border-radius: $weuiBtnBorderRadius;\n width: 100%;\n appearance: none;\n outline: 0;\n background-color: $weuiBtnDefaultBg;\n line-height: 2.55555556;\n text-decoration: none;\n text-align: center;\n font-size: $weuiBtnFontSize;\n color: $weuiBtnDefaultFontColor;\n -webkit-tap-highlight-color: rgb(0 0 0 / 0%);\n\n &:focus {\n outline: 0;\n }\n\n &:not([disabled]):active {\n background-color: $weuiBtnDefaultActiveBg;\n color: $weuiBtnDefaultActiveFontColor;\n }\n\n &::after {\n position: absolute;\n left: 0;\n top: 0;\n box-sizing: border-box;\n border: 1px solid rgb(0 0 0 / 20%);\n border-radius: $weuiBtnBorderRadius * 2;\n width: 200%;\n height: 200%;\n content: \" \";\n transform: scale(0.5);\n transform-origin: 0 0;\n }\n\n & + & {\n margin-top: $weuiBtnDefaultGap;\n }\n\n &[type=\"default\"] {\n background-color: $weuiBtnDefaultBg;\n color: $weuiBtnDefaultFontColor;\n\n &:not([disabled]):visited {\n color: $weuiBtnDefaultFontColor;\n }\n\n &:not([disabled]):active {\n background-color: $weuiBtnDefaultActiveBg;\n color: $weuiBtnDefaultActiveFontColor;\n }\n }\n\n &[size=\"mini\"] {\n display: inline-block;\n padding: 0 1.32em;\n width: auto;\n line-height: $weuiBtnMiniHeight;\n font-size: $weuiBtnMiniFontSize;\n }\n\n &[plain],\n &[plain][type=\"default\"],\n &[plain][type=\"primary\"] {\n border-width: 1px;\n background-color: transparent;\n }\n\n &[disabled] {\n color: $weuiBtnDisabledFontColor;\n\n &[type=\"default\"] {\n background-color: $weuiBtnDefaultDisabledBg;\n color: $weuiBtnDefaultDisabledFontColor;\n }\n\n &[type=\"primary\"] {\n background-color: $weuiBtnPrimaryDisabledBg;\n }\n\n &[type=\"warn\"] {\n background-color: $weuiBtnWarnDisabledBg;\n }\n }\n\n &[loading] {\n .weui-loading {\n margin: -0.2em 0.34em 0 0;\n }\n\n &[type=\"primary\"],\n &[type=\"warn\"] {\n color: $weuiBtnActiveFontColor;\n }\n\n &[type=\"primary\"] {\n background-color: $weuiBtnPrimaryActiveBg;\n }\n\n &[type=\"warn\"] {\n background-color: $weuiBtnWarnActiveBg;\n }\n }\n\n &[plain][type=\"primary\"] {\n border: 1px solid $weuiBtnPlainPrimaryBorderColor;\n color: $weuiBtnPlainPrimaryColor;\n\n &:not([disabled]):active {\n border-color: $weuiBtnPlainPrimaryActiveBorderColor;\n background-color: transparent;\n color: $weuiBtnPlainPrimaryActiveColor;\n }\n\n &::after {\n border-width: 0;\n }\n }\n\n &[plain],\n &[plain][type=\"default\"] {\n border: 1px solid $weuiBtnPlainDefaultBorderColor;\n color: $weuiBtnPlainDefaultColor;\n\n &:not([disabled]):active {\n border-color: $weuiBtnPlainDefaultActiveBorderColor;\n background-color: transparent;\n color: $weuiBtnPlainDefaultActiveColor;\n }\n\n &::after {\n border-width: 0;\n }\n }\n\n &[type=\"primary\"] {\n background-color: $weuiBtnPrimaryBg;\n color: #fff;\n\n &:not([disabled]):visited {\n color: $weuiBtnFontColor;\n }\n\n &:not([disabled]):active {\n background-color: $weuiBtnPrimaryActiveBg;\n color: $weuiBtnActiveFontColor;\n }\n }\n\n &[type=\"warn\"] {\n background-color: $weuiBtnWarnBg;\n color: #fff;\n\n &:not([disabled]):visited {\n color: $weuiBtnFontColor;\n }\n\n &:not([disabled]):active {\n background-color: $weuiBtnWarnActiveBg;\n color: $weuiBtnActiveFontColor;\n }\n }\n\n &[plain][disabled] {\n border: 1px solid rgb(0 0 0 / 20%);\n background-color: #f7f7f7;\n color: rgb(0 0 0 / 30%);\n }\n\n &[plain][disabled][type=\"primary\"] {\n border: 1px solid rgb(0 0 0 / 20%);\n background-color: #f7f7f7;\n color: rgb(0 0 0 / 30%);\n }\n}\n","import { Component, h, Prop, State, ComponentInterface, Event, EventEmitter, Listen, Element, Host } from '@stencil/core'\nimport classNames from 'classnames'\n\n@Component({\n tag: 'taro-button-core',\n styleUrl: './style/index.scss'\n})\nexport class Button implements ComponentInterface {\n @Prop() disabled: boolean\n @Prop() hoverClass = 'button-hover'\n @Prop() type = ''\n @Prop() hoverStartTime = 20\n @Prop() hoverStayTime = 70\n @Prop() size: string\n @Prop() plain: boolean\n @Prop() loading = false\n @Prop() formType: 'submit' | 'reset' | null = null\n\n @Element() el: HTMLElement\n\n @State() hover = false\n @State() touch = false\n\n @Event({\n eventName: 'tarobuttonsubmit'\n }) onSubmit: EventEmitter\n\n @Event({\n eventName: 'tarobuttonreset'\n }) onReset: EventEmitter\n\n @Listen('touchstart')\n onTouchStart () {\n if (this.disabled) {\n return\n }\n\n this.touch = true\n if (this.hoverClass && !this.disabled) {\n setTimeout(() => {\n if (this.touch) {\n this.hover = true\n }\n }, this.hoverStartTime)\n }\n }\n\n @Listen('touchend')\n onTouchEnd () {\n if (this.disabled) {\n return\n }\n\n this.touch = false\n if (this.hoverClass && !this.disabled) {\n setTimeout(() => {\n if (!this.touch) {\n this.hover = false\n }\n }, this.hoverStayTime)\n }\n\n if (this.formType === 'submit') {\n this.onSubmit.emit()\n } else if (this.formType === 'reset') {\n this.onReset.emit()\n }\n }\n\n render () {\n const {\n disabled,\n hoverClass,\n type,\n size,\n plain,\n loading,\n hover\n } = this\n\n const cls = classNames({\n [`${hoverClass}`]: hover && !disabled\n })\n\n return (\n <Host\n class={cls}\n type={type}\n plain={plain}\n loading={loading}\n size={size}\n disabled={disabled}\n >\n {loading && <i class='weui-loading' />}\n <slot />\n </Host>\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8809c729.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Camera=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("Camera",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{Camera as taro_camera_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Camera=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("Camera",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{Camera as taro_camera_core};
2
+ //# sourceMappingURL=taro-camera-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/camera/camera.tsx"],"names":["Camera","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"8IAOaA,OAAM,kDACjBA,EAAAC,UAAAC,iBAAA,WACEC,WAAW,SAAUC,OAGvBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,KAAI,gBAPQ","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-camera-core'\n})\nexport class Camera implements ComponentInterface {\n componentDidLoad () {\n notSupport('Camera', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-8809c729.js";var indexCss="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";var LONG_TAP_DELAY=500;var Canvas=function(){function t(t){var e=this;registerInstance(this,t);this.onLongTap=createEvent(this,"longtap",7);this.nativeProps={};this.onTouchStart=function(){e.timer=setTimeout((function(){e.onLongTap.emit()}),LONG_TAP_DELAY)};this.onTouchMove=function(){clearTimeout(e.timer)};this.onTouchEnd=function(){clearTimeout(e.timer)}}t.prototype.render=function(){var t=this,e=t.canvasId,n=t.nativeProps;return h("canvas",Object.assign({"canvas-id":e,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},n))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Canvas.style=indexCss;export{Canvas as taro_canvas_core};
1
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-5d881caf.js";var indexCss="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";var LONG_TAP_DELAY=500;var Canvas=function(){function t(t){var e=this;registerInstance(this,t);this.onLongTap=createEvent(this,"longtap",7);this.onTouchStart=function(){e.timer=setTimeout((function(){e.onLongTap.emit()}),LONG_TAP_DELAY)};this.onTouchMove=function(){clearTimeout(e.timer)};this.onTouchEnd=function(){clearTimeout(e.timer)};this.canvasId=undefined;this.nativeProps={}}t.prototype.render=function(){var t=this,e=t.canvasId,n=t.nativeProps;return h("canvas",Object.assign({"canvas-id":e,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},n))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Canvas.style=indexCss;export{Canvas as taro_canvas_core};
2
+ //# sourceMappingURL=taro-canvas-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/canvas/style/index.scss?tag=taro-canvas-core","src/components/canvas/canvas.tsx"],"names":["indexCss","LONG_TAP_DELAY","Canvas","this","onTouchStart","_this","timer","setTimeout","onLongTap","emit","onTouchMove","clearTimeout","onTouchEnd","prototype","render","_a","canvasId","nativeProps","h","Object","assign","canvas-id","style","width","height"],"mappings":"0FAAA,IAAMA,SAAW,6ECEjB,IAAMC,eAAiB,QAMVC,OAAM,0GAcjBC,KAAAC,aAAe,WACbC,EAAKC,MAAQC,YAAW,WACtBF,EAAKG,UAAUC,SACdR,iBAGLE,KAAAO,YAAc,WACZC,aAAaN,EAAKC,QAGpBH,KAAAS,WAAa,WACXD,aAAaN,EAAKC,iDArBE,GAwBtBJ,EAAAW,UAAAC,OAAA,WACQ,IAAAC,EAA4BZ,KAA1Ba,EAAQD,EAAAC,SAAEC,EAAWF,EAAAE,YAE7B,OACEC,EAAA,SAAAC,OAAAC,OAAA,CAAAC,YACaL,EACXM,MAAO,CACLC,MAAO,OACPC,OAAQ,QAEVpB,aAAcD,KAAKC,aACnBM,YAAaP,KAAKO,YAClBE,WAAYT,KAAKS,YACbK,mIAzCO","sourcesContent":["taro-canvas-core {\r\n display: block;\r\n position: relative;\r\n width: 300px;\r\n height: 150px;\r\n}\r\n","import { Component, h, ComponentInterface, Prop, Element, Event } from '@stencil/core'\n\nconst LONG_TAP_DELAY = 500\n\n@Component({\n tag: 'taro-canvas-core',\n styleUrl: './style/index.scss'\n})\nexport class Canvas implements ComponentInterface {\n private timer: ReturnType<typeof setTimeout>\n\n @Prop() canvasId: string\n @Prop() nativeProps = {}\n\n @Element() el: HTMLElement\n\n @Event({\n eventName: 'longtap'\n })\n\n onLongTap\n\n onTouchStart = () => {\n this.timer = setTimeout(() => {\n this.onLongTap.emit()\n }, LONG_TAP_DELAY)\n }\n\n onTouchMove = () => {\n clearTimeout(this.timer)\n }\n\n onTouchEnd = () => {\n clearTimeout(this.timer)\n }\n\n render () {\n const { canvasId, nativeProps } = this\n\n return (\n <canvas\n canvas-id={canvasId}\n style={{\n width: '100%',\n height: '100%'\n }}\n onTouchStart={this.onTouchStart}\n onTouchMove={this.onTouchMove}\n onTouchEnd={this.onTouchEnd}\n {...nativeProps}\n />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-8809c729.js";var indexCss='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';var Checkbox=function(){function e(e){var t=this;registerInstance(this,e);this.onChange=createEvent(this,"checkboxchange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleChange=function(e){e.stopPropagation();t.onChange.emit({value:t.value})}}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,o=t.name,r=t.color,i=t.value,a=t.disabled,c=t.nativeProps;return h(Host,{className:"weui-cells_checkbox"},h("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:i,name:o,class:"taro-checkbox_checked",style:{color:r},checked:n,disabled:a,onChange:this.handleChange},c)),h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}();Checkbox.style=indexCss;var CheckboxGroup=function(){function e(e){registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t);this.onChange.emit({value:this.value})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-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-checkbox-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return h(Host,null)};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();export{Checkbox as taro_checkbox_core,CheckboxGroup as taro_checkbox_group_core};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-5d881caf.js";var indexCss='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';var Checkbox=function(){function e(e){var t=this;registerInstance(this,e);this.onChange=createEvent(this,"checkboxchange",7);this.handleChange=function(e){e.stopPropagation();t.onChange.emit({value:t.value})};this.name=undefined;this.value="";this.color=undefined;this.id=undefined;this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,o=t.name,i=t.color,r=t.value,a=t.disabled,c=t.nativeProps;return h(Host,{className:"weui-cells_checkbox"},h("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:r,name:o,class:"taro-checkbox_checked",style:{color:i},checked:n,disabled:a,onChange:this.handleChange},c)),h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}();Checkbox.style=indexCss;var CheckboxGroup=function(){function e(e){registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.uniqueName=Date.now().toString(36);this.name=undefined}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t);this.onChange.emit({value:this.value})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-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-checkbox-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return h(Host,null)};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();export{Checkbox as taro_checkbox_core,CheckboxGroup as taro_checkbox_group_core};
2
+ //# sourceMappingURL=taro-checkbox-core_2.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/checkbox/style/index.scss?tag=taro-checkbox-core","src/components/checkbox/checkbox.tsx","src/components/checkbox/checkbox-group.tsx"],"names":["indexCss","Checkbox","this","handleChange","e","stopPropagation","_this","onChange","emit","value","prototype","watchId","newVal","isWillLoadCalled","inputEl","setAttribute","componentWillLoad","componentDidRender","id","el","removeAttribute","render","_a","checked","name","color","disabled","nativeProps","h","Host","className","Object","assign","ref","dom","type","class","style","CheckboxGroup","uniqueName","Date","now","toString","function","target","tagName","childList","querySelectorAll","getValues","componentDidLoad","forEach","element","defineProperty","get","childList_1","configurable","Array","from","filter","checkbox","querySelector","map"],"mappings":"oGAAA,IAAMA,SAAW,svBCMJC,SAAQ,gHAiCnBC,KAAAC,aAAe,SAAAC,GACbA,EAAEC,kBACFC,EAAKC,SAASC,KAAK,CACjBC,MAAOH,EAAKG,wCAjCA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AiB,sBAE3CD,EAAUI,SAAQ,SAACC,GACjBA,EAAQpC,aAAa,OAAQT,EAAKkB,MAAQlB,EAAKiC,eAGjDR,OAAOqB,eAAelD,KAAKiB,GAAI,QAAS,CACtCkC,IAAK,WACH,IAAK/C,EAAKG,MAAO,CACf,IAAM6C,EAAYhD,EAAKa,GAAG4B,iBAAiB,sBAC3CzC,EAAKG,MAAQH,EAAK0C,UAAUM,GAE9B,OAAOhD,EAAKG,OAEd8C,aAAc,QAIlBjB,EAAA5B,UAAAsC,UAAA,SAAWF,GACT,OAAOU,MAAMC,KAAKX,GACfY,QAAO,SAAAP,GACN,IAAMQ,EAAoCR,EAAQS,cAAc,SAChE,OAAOD,IAAQ,MAARA,SAAQ,OAAA,EAARA,EAAUpC,WAElBsC,KAAI,SAAAV,GAAW,OAAAA,EAAQ1C,UAG5B6B,EAAA5B,UAAAW,OAAA,WACE,OACEO,EAACC,KAAI,qIAzDe","sourcesContent":[".taro-checkbox {\n display: inline-block;\n position: relative;\n\n &_checked {\n display: inline-block;\n position: relative;\n top: 5px;\n border: 1px solid #d1d1d1;\n border-radius: 3px;\n width: 23px;\n height: 23px;\n min-height: 0;\n appearance: none;\n outline: 0;\n background-color: #fff;\n vertical-align: 0;\n font-size: 23px;\n color: #1aad19;\n\n &:checked::before {\n display: inline-block;\n position: absolute;\n left: 50%;\n top: 50%;\n vertical-align: middle;\n text-decoration: inherit;\n text-align: center;\n text-transform: none;\n font-family: weui;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n font-size: inherit;\n color: inherit;\n content: \"\\EA08\";\n transform: translate(-50%, -48%) scale(0.73);\n speak: none;\n }\n }\n}\n","import { Component, h, ComponentInterface, Prop, Event, EventEmitter, Host, Watch, Element, State } from '@stencil/core'\n\n@Component({\n tag: 'taro-checkbox-core',\n styleUrl: './style/index.scss'\n})\nexport class Checkbox implements ComponentInterface {\n private inputEl: HTMLInputElement\n @Prop() name: string\n @Prop() value = ''\n @Prop() color: string\n @Prop({ mutable: true }) id: string\n @Prop() checked = false\n @Prop() disabled = false\n @Prop() nativeProps = {}\n\n @State() isWillLoadCalled = false\n\n @Element() el: HTMLElement\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: 'checkboxchange'\n })\n onChange: EventEmitter\n\n componentWillLoad () {\n this.isWillLoadCalled = true\n }\n\n componentDidRender () {\n this.id && this.el.removeAttribute('id')\n }\n\n handleChange = e => {\n e.stopPropagation()\n this.onChange.emit({\n value: this.value\n })\n }\n\n render () {\n const { checked, name, color, value, disabled, nativeProps } = this\n\n return (\n <Host\n className='weui-cells_checkbox'\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='checkbox'\n value={value}\n name={name}\n class='taro-checkbox_checked'\n style={{ color }}\n checked={checked}\n disabled={disabled}\n onChange={this.handleChange}\n {...nativeProps}\n />\n <slot />\n </Host>\n )\n }\n}\n","// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Component, h, ComponentInterface, Host, Prop, Event, EventEmitter, Listen, Element } from '@stencil/core'\n\n@Component({\n tag: 'taro-checkbox-group-core'\n})\nexport class CheckboxGroup 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('checkboxchange')\n function (e: CustomEvent<{ value: string }>) {\n e.stopPropagation()\n if ((e.target as Element).tagName !== 'TARO-CHECKBOX-CORE') return\n\n const childList = this.el.querySelectorAll('taro-checkbox-core')\n\n this.value = this.getValues(childList)\n\n this.onChange.emit({\n value: this.value\n })\n }\n\n componentDidLoad () {\n const childList = this.el.querySelectorAll('taro-checkbox-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-checkbox-core')\n this.value = this.getValues(childList)\n }\n return this.value\n },\n configurable: true\n })\n }\n\n getValues (childList: NodeListOf<HTMLTaroCheckboxCoreElement>) {\n return Array.from(childList)\n .filter(element => {\n const checkbox: HTMLInputElement | null = element.querySelector('input')\n return checkbox?.checked\n })\n .map(element => element.value)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-8809c729.js";var patchBrowser=function(){var o=import.meta.url;var e={};if(o!==""){e.resourcesUrl=new URL(".",o).href}return promiseResolve(e)};patchBrowser().then((function(o){return bootstrapLazy([["taro-checkbox-core_2",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["taro-radio-core_2",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1028],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["taro-ad-core",[[0,"taro-ad-core"]]],["taro-ad-custom-core",[[0,"taro-ad-custom-core"]]],["taro-audio-core",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["taro-cover-view-core",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-editor-core",[[0,"taro-editor-core"]]],["taro-form-core",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core",[[0,"taro-functional-page-navigator-core"]]],["taro-icon-core",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["taro-image-core",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["taro-input-core",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16]}]]],["taro-keyboard-accessory-core",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core",[[4,"taro-label-core",{for:[1]}]]],["taro-live-player-core",[[0,"taro-live-player-core"]]],["taro-live-pusher-core",[[0,"taro-live-pusher-core"]]],["taro-map-core",[[0,"taro-map-core"]]],["taro-match-media-core",[[0,"taro-match-media-core"]]],["taro-movable-area-core",[[0,"taro-movable-area-core",{scaleArea:[4,"scale-area"]}]]],["taro-movable-view-core",[[0,"taro-movable-view-core",{x:[8],y:[8],direction:[1],outOfBounds:[4,"out-of-bounds"],inertia:[4],friction:[2],damping:[2],disabled:[4],scale:[4],scaleMin:[2,"scale-min"],scaleMax:[2,"scale-max"],scaleValue:[2,"scale-value"],animation:[4],setParent:[64],endScale:[64],setScale:[64]}]]],["taro-navigation-bar-core",[[0,"taro-navigation-bar-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["taro-official-account-core",[[0,"taro-official-account-core"]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-page-container-core",[[0,"taro-page-container-core"]]],["taro-page-meta-core",[[0,"taro-page-meta-core"]]],["taro-picker-view-column-core",[[0,"taro-picker-view-column-core",{col:[1],initialPosition:[1,"initial-position"],paddingVertical:[2,"padding-vertical"],isInit:[32],isMove:[32]},[[1,"scroll","onScroll"],[1,"mouseup","onMouseEnd"],[1,"mouseout","onMouseEnd"],[1,"mouseleave","onMouseEnd"],[1,"touchend","onTouchEnd"]]]]],["taro-picker-view-core",[[4,"taro-picker-view-core",{indicatorStyle:[1,"indicator-style"],indicatorClass:[1,"indicator-class"],value:[16],maskStyle:[1,"mask-style"],maskClass:[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["taro-progress-core",[[0,"taro-progress-core",{percent:[2],showInfo:[4,"show-info"],borderRadius:[8,"border-radius"],fontSize:[8,"font-size"],strokeWidth:[8,"stroke-width"],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],active:[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{nodes:[1]}]]],["taro-root-portal-core",[[0,"taro-root-portal-core"]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[8,"scroll-top"],mpScrollLeft:[8,"scroll-left"],mpScrollIntoView:[1,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]}]]],["taro-share-element-core",[[0,"taro-share-element-core"]]],["taro-slider-core",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["taro-slot-core",[[0,"taro-slot-core"]]],["taro-switch-core",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["taro-text-core",[[4,"taro-text-core",{selectable:[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["taro-view-core",[[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-voip-room-core",[[0,"taro-voip-room-core"]]],["taro-web-view-core",[[0,"taro-web-view-core",{src:[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],pickerValue:[32],height:[32],hidden:[32],fadeOut:[32],isWillLoadCalled:[32]}],[0,"taro-picker-group",{mode:[1],range:[16],rangeKey:[1,"range-key"],height:[2],columnId:[1,"column-id"],updateHeight:[16],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],o)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-5d881caf.js";var patchBrowser=function(){var o=import.meta.url;var e={};if(o!==""){e.resourcesUrl=new URL(".",o).href}return promiseResolve(e)};patchBrowser().then((function(o){return bootstrapLazy([["taro-checkbox-core_2",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["taro-movable-area-core_2",[[0,"taro-movable-area-core",{scaleArea:[4,"scale-area"]}],[0,"taro-movable-view-core",{x:[8],y:[8],direction:[1],outOfBounds:[4,"out-of-bounds"],inertia:[4],friction:[2],damping:[2],disabled:[4],scale:[4],scaleMin:[2,"scale-min"],scaleMax:[2,"scale-max"],scaleValue:[2,"scale-value"],animation:[4],setParent:[64],endScale:[64],setScale:[64]}]]],["taro-picker-view-column-core_2",[[0,"taro-picker-view-column-core",{col:[1],initialPosition:[1,"initial-position"],paddingVertical:[2,"padding-vertical"],isInit:[32],isMove:[32]},[[1,"scroll","onScroll"],[1,"mouseup","onMouseEnd"],[1,"mouseout","onMouseEnd"],[1,"mouseleave","onMouseEnd"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{indicatorStyle:[1,"indicator-style"],indicatorClass:[1,"indicator-class"],value:[16],maskStyle:[1,"mask-style"],maskClass:[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["taro-radio-core_2",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1540],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["taro-swiper-core_2",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["taro-ad-core",[[0,"taro-ad-core"]]],["taro-ad-custom-core",[[0,"taro-ad-custom-core"]]],["taro-audio-core",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["taro-block-core",[[0,"taro-block-core"]]],["taro-button-core",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["taro-cover-image-core",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["taro-cover-view-core",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-custom-wrapper-core",[[0,"taro-custom-wrapper-core"]]],["taro-editor-core",[[0,"taro-editor-core"]]],["taro-form-core",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core",[[0,"taro-functional-page-navigator-core"]]],["taro-icon-core",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["taro-image-core",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["taro-input-core",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[516,"focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16]}]]],["taro-keyboard-accessory-core",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core",[[4,"taro-label-core",{for:[1]}]]],["taro-live-player-core",[[0,"taro-live-player-core"]]],["taro-live-pusher-core",[[0,"taro-live-pusher-core"]]],["taro-map-core",[[0,"taro-map-core"]]],["taro-match-media-core",[[0,"taro-match-media-core"]]],["taro-navigation-bar-core",[[0,"taro-navigation-bar-core"]]],["taro-navigator-core",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["taro-official-account-core",[[0,"taro-official-account-core"]]],["taro-open-data-core",[[0,"taro-open-data-core"]]],["taro-page-container-core",[[0,"taro-page-container-core"]]],["taro-page-meta-core",[[0,"taro-page-meta-core"]]],["taro-progress-core",[[0,"taro-progress-core",{percent:[2],showInfo:[4,"show-info"],borderRadius:[8,"border-radius"],fontSize:[8,"font-size"],strokeWidth:[8,"stroke-width"],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],active:[4]}]]],["taro-pull-to-refresh",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["taro-rich-text-core",[[0,"taro-rich-text-core",{nodes:[1]}]]],["taro-root-portal-core",[[0,"taro-root-portal-core"]]],["taro-scroll-view-core",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[520,"scroll-top"],mpScrollLeft:[520,"scroll-left"],mpScrollIntoView:[513,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]},[[3,"scroll","handleScroll"]]]]],["taro-share-element-core",[[0,"taro-share-element-core"]]],["taro-slider-core",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["taro-slot-core",[[0,"taro-slot-core"]]],["taro-switch-core",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["taro-tabbar",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["taro-text-core",[[4,"taro-text-core",{selectable:[4]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["taro-view-core",[[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-voip-room-core",[[0,"taro-voip-room-core"]]],["taro-web-view-core",[[0,"taro-web-view-core",{src:[1]}]]],["taro-picker-core_2",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],pickerValue:[32],height:[32],hidden:[32],fadeOut:[32],isWillLoadCalled:[32]}],[0,"taro-picker-group",{mode:[1],range:[16],rangeKey:[1,"range-key"],height:[2],columnId:[1,"column-id"],updateHeight:[16],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["taro-video-control_3",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],o)}));
2
+ //# sourceMappingURL=taro-components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../node_modules/.pnpm/registry.npmjs.org+@stencil+core@2.19.2/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","name","value","color","id","checked","disabled","nativeProps","isWillLoadCalled","scaleArea","x","y","direction","outOfBounds","inertia","friction","damping","scale","scaleMin","scaleMax","scaleValue","animation","setParent","endScale","setScale","col","initialPosition","paddingVertical","isInit","isMove","indicatorStyle","indicatorClass","maskStyle","maskClass","indicatorDots","indicatorColor","indicatorActiveColor","autoplay","current","interval","duration","circular","vertical","previousMargin","nextMargin","displayMultipleItems","full","swiperWrapper","swiper","observer","observerFirst","observerLast","itemId","src","controls","loop","muted","hoverClass","type","hoverStartTime","hoverStayTime","size","plain","loading","formType","hover","touch","canvasId","slotParent","mode","lazyLoad","aspectFillMode","password","placeholder","maxlength","autoFocus","confirmType","for","openType","isHover","delta","percent","showInfo","borderRadius","fontSize","strokeWidth","activeColor","backgroundColor","active","prefixCls","distanceToRefresh","indicator","currSt","dragOnEdge","nodes","scrollX","scrollY","upperThreshold","lowerThreshold","mpScrollTop","mpScrollLeft","mpScrollIntoView","scrollWithAnimation","min","max","step","blockSize","blockColor","showValue","val","totalWidth","touching","ogX","touchId","ogPercent","isChecked","conf","list","borderStyle","selectedColor","selectedIndex","status","selectable","autoHeight","line","range","rangeKey","start","end","fields","pickerValue","height","hidden","fadeOut","columnId","updateHeight","onColumnChange","updateDay","startY","preY","hadMove","touchEnd","initialTime","poster","objectFit","showProgress","showFullscreenBtn","showPlayBtn","showCenterPlayBtn","showMuteBtn","danmuList","danmuBtn","enableDanmu","enablePlayGesture","enableProgressGesture","vslideGesture","vslideGestureInFullscreen","_duration","_enableDanmu","isPlaying","isFirst","isFullScreen","fullScreenTimestamp","isMute","play","pause","stop","seek","requestFullScreen","exitFullScreen","currentTime","pauseFunc","playFunc","seekFunc","setProgressBall","toggleVisibility","getIsDraggingProgressBall","setCurrentTime","enable","sendDanmu","tick"],"mappings":"wEAMA,IAAMA,aAAe,WA6BjB,IAAMC,EAAaC,OAAOC,KAAKC,IAC/B,IAAMC,EAA6D,GAenE,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,KAajD,OAAOC,eAAeJ,IC9D1BL,eAAeU,MAAK,SAAAC,GAElB,OAAOC,cAAc,CAAA,CAAA,uBAAA,CAAA,CAAA,EAA4B,qBAAW,CAAAC,KAAA,CAAA,GAAAC,MAAA,CAAA,GAAAC,MAAA,CAAA,GAAAC,GAAA,CAAA,MAAAC,QAAA,CAAA,GAAAC,SAAA,CAAA,GAAAC,YAAA,CAAA,IAAAC,iBAAA,CAAA,MAAA,CAAA,EAAA,2BAAA,CAAAP,KAAA,CAAA,IAAA,CAAA,CAAA,EAAA,iBAAA,gBAAA,CAAA,2BAAA,CAAA,CAAA,EAAA,yBAAA,CAAAQ,UAAA,CAAA,EAAA,gBAAA,CAAA,EAAA,yBAAA,CAAAC,EAAA,CAAA,GAAAC,EAAA,CAAA,GAAAC,UAAA,CAAA,GAAAC,YAAA,CAAA,EAAA,iBAAAC,QAAA,CAAA,GAAAC,SAAA,CAAA,GAAAC,QAAA,CAAA,GAAAV,SAAA,CAAA,GAAAW,MAAA,CAAA,GAAAC,SAAA,CAAA,EAAA,aAAAC,SAAA,CAAA,EAAA,aAAAC,WAAA,CAAA,EAAA,eAAAC,UAAA,CAAA,GAAAC,UAAA,CAAA,IAAAC,SAAA,CAAA,IAAA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SAAA,CAAA,EAAA,aAAAC,YAAA,CAAA,EAAA,gBAAAC,kBAAA,CAAA,EAAA,uBAAAC,sBAAA,CAAA,EAAA,2BAAAC,cAAA,CAAA,EAAA,kBAAAC,0BAAA,CAAA,EAAA,gCAAArJ,YAAA,CAAA,IAAAsJ,UAAA,CAAA,IAAAC,aAAA,CAAA,IAAAC,UAAA,CAAA,IAAAC,QAAA,CAAA,IAAAC,aAAA,CAAA,IAAAC,oBAAA,CAAA,IAAAC,OAAA,CAAA,IAAAC,KAAA,CAAA,IAAAC,MAAA,CAAA,IAAAC,KAAA,CAAA,IAAAC,KAAA,CAAA,IAAAC,kBAAA,CAAA,IAAAC,eAAA,CAAA,KAAA,CAAA,CAAA,EAAA,YAAA,uBAAA,CAAA,EAAA,WAAA,sBAAA,CAAA,EAAA,cAAA,wBAAA,CAAA,EAAA,qBAAA,CAAAnH,SAAA,CAAA,GAAAoH,YAAA,CAAA,EAAA,gBAAAlI,SAAA,CAAA,GAAAuH,UAAA,CAAA,EAAA,cAAAY,UAAA,CAAA,IAAAC,SAAA,CAAA,IAAAC,SAAA,CAAA,IAAA1B,YAAA,CAAA,EAAA,iBAAAF,aAAA,CAAA,EAAA,iBAAA6B,gBAAA,CAAA,IAAAC,iBAAA,CAAA,IAAAC,0BAAA,CAAA,IAAAC,eAAA,CAAA,KAAA,CAAA,CAAA,EAAA,YAAA,uBAAA,CAAA,EAAA,WAAA,sBAAA,CAAA,EAAA,cAAA,wBAAA,CAAA,EAAA,mBAAA,CAAAC,OAAA,CAAA,GAAA5B,UAAA,CAAA,IAAA6B,UAAA,CAAA,IAAAC,KAAA,CAAA,SAAArL","sourcesContent":["/*\n Stencil Client Patch Browser v2.19.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","import { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h}from"./index-8809c729.js";var indexCss="taro-cover-image-core{overflow:hidden;width:320px;height:240px}";var CoverImage=function(){function r(r){registerInstance(this,r);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7);this.nativeProps={}}r.prototype.imageOnLoad=function(){var r=this.imgRef,e=r.width,t=r.height;this.onLoad.emit({width:e,height:t})};r.prototype.imageOnError=function(){this.onError.emit()};r.prototype.render=function(){var r=this;var e=this,t=e.src,i=e.imageOnLoad,o=e.imageOnError,n=e.nativeProps;return h("img",Object.assign({ref:function(e){return r.imgRef=e},src:t,onLoad:i.bind(this),onError:o.bind(this)},n))};return r}();CoverImage.style=indexCss;export{CoverImage as taro_cover_image_core};
1
+ import{r as registerInstance,c as createEvent,h}from"./index-5d881caf.js";var indexCss="taro-cover-image-core{overflow:hidden;width:320px;height:240px}";var CoverImage=function(){function r(r){registerInstance(this,r);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7);this.src=undefined;this.nativeProps={}}r.prototype.imageOnLoad=function(){var r=this.imgRef,e=r.width,t=r.height;this.onLoad.emit({width:e,height:t})};r.prototype.imageOnError=function(){this.onError.emit()};r.prototype.render=function(){var r=this;var e=this,t=e.src,i=e.imageOnLoad,o=e.imageOnError,n=e.nativeProps;return h("img",Object.assign({ref:function(e){return r.imgRef=e},src:t,onLoad:i.bind(this),onError:o.bind(this)},n))};return r}();CoverImage.style=indexCss;export{CoverImage as taro_cover_image_core};
2
+ //# sourceMappingURL=taro-cover-image-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/cover-image/style/index.scss?tag=taro-cover-image-core","src/components/cover-image/cover-image.tsx"],"names":["indexCss","CoverImage","prototype","imageOnLoad","_a","this","imgRef","width","height","onLoad","emit","imageOnError","onError","render","_this","src","nativeProps","h","Object","assign","ref","img","bind"],"mappings":"0EAAA,IAAMA,SAAW,sECMJC,WAAU,sKAEC,GAWtBA,EAAAC,UAAAC,YAAA,WACQ,IAAAC,EAGFC,KAAKC,OAFPC,EAAKH,EAAAG,MACLC,EAAMJ,EAAAI,OAGRH,KAAKI,OAAOC,KAAK,CACfH,MAAKA,EACLC,OAAMA,KAIVP,EAAAC,UAAAS,aAAA,WACEN,KAAKO,QAAQF,QAGfT,EAAAC,UAAAW,OAAA,WAAA,IAAAC,EAAAT,KACQ,IAAAD,EAKFC,KAJFU,EAAGX,EAAAW,IACHZ,EAAWC,EAAAD,YACXQ,EAAYP,EAAAO,aACZK,EAAWZ,EAAAY,YAEb,OACEC,EAAA,MAAAC,OAAAC,OAAA,CACEC,IAAK,SAAAC,GAAG,OAAKP,EAAKR,OAASe,GAC3BN,IAAKA,EACLN,OAAQN,EAAYmB,KAAKjB,MACzBO,QAASD,EAAaW,KAAKjB,OACvBW,cA1CW","sourcesContent":["taro-cover-image-core {\n overflow: hidden;\n width: 320px;\n height: 240px;\n}\n","import { Component, Prop, Event, h, ComponentInterface, EventEmitter } from '@stencil/core'\n\n@Component({\n tag: 'taro-cover-image-core',\n styleUrl: './style/index.scss'\n})\nexport class CoverImage implements ComponentInterface {\n @Prop() src: string\n @Prop() nativeProps = {}\n @Event({\n eventName: 'load'\n }) onLoad: EventEmitter\n\n @Event({\n eventName: 'error'\n }) onError: EventEmitter\n\n private imgRef: HTMLImageElement\n\n imageOnLoad () {\n const {\n width,\n height,\n } = this.imgRef\n\n this.onLoad.emit({\n width,\n height\n })\n }\n\n imageOnError () {\n this.onError.emit()\n }\n\n render () {\n const {\n src,\n imageOnLoad,\n imageOnError,\n nativeProps\n } = this\n return (\n <img\n ref={img => (this.imgRef = img!)}\n src={src}\n onLoad={imageOnLoad.bind(this)}\n onError={imageOnError.bind(this)}\n {...nativeProps}\n />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host}from"./index-8809c729.js";import{c as classnames}from"./index-1d8e8acd.js";var coverViewCss="taro-cover-view-core{display:block}";var CoverView=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var e=classnames((t={},t[""+this.hoverClass]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return h(Host,Object.assign({class:e},i),h("slot",null))};return t}();CoverView.style=coverViewCss;export{CoverView as taro_cover_view_core};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-5d881caf.js";import{c as classnames}from"./index-1d8e8acd.js";var coverViewCss="taro-cover-view-core{display:block}";var CoverView=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var e=classnames((t={},t["".concat(this.hoverClass)]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return h(Host,Object.assign({class:e},i),h("slot",null))};return t}();CoverView.style=coverViewCss;export{CoverView as taro_cover_view_core};
2
+ //# sourceMappingURL=taro-cover-view-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/cover-view/style/cover-view.scss?tag=taro-cover-view-core","src/components/cover-view/cover-view.tsx"],"names":["coverViewCss","CoverView","this","startTime","prototype","onTouchStart","_this","hoverClass","touch","setTimeout","hover","hoverStartTime","timeoutEvent","onLongPress","emit","Date","now","onTouchMove","clearTimeout","onTouchEnd","spanTime","hoverStayTime","render","cls","classNames","_a","concat","attr","animation","h","Host","Object","assign","class"],"mappings":"qIAAA,IAAMA,aAAe,0CCORC,UAAS,mGAaZC,KAAAC,UAAY,yEAVK,sBACD,eACP,iBACA,MAUjBF,EAAAG,UAAAC,aAAA,WAAA,IAAAC,EAAAJ,KACE,GAAIA,KAAKK,WAAY,CACnBL,KAAKM,MAAQ,KACbC,YAAW,WACT,GAAIH,EAAKE,MAAO,CACdF,EAAKI,MAAQ,QAEdR,KAAKS,gBAGVT,KAAKU,aAAeH,YAAW,WAC7BH,EAAKO,YAAYC,SAChB,KACHZ,KAAKC,UAAYY,KAAKC,OAIxBf,EAAAG,UAAAa,YAAA,WACEC,aAAahB,KAAKU,eAIpBX,EAAAG,UAAAe,WAAA,WAAA,IAAAb,EAAAJ,KACE,IAAMkB,EAAWL,KAAKC,MAAQd,KAAKC,UACnC,GAAIiB,EAAW,IAAK,CAClBF,aAAahB,KAAKU,cAEpB,GAAIV,KAAKK,WAAY,CACnBL,KAAKM,MAAQ,MACbC,YAAW,WACT,IAAKH,EAAKE,MAAO,CACfF,EAAKI,MAAQ,SAEdR,KAAKmB,iBAIZpB,EAAAG,UAAAkB,OAAA,iBACE,IAAMC,EAAMC,YAAUC,EAAA,GACpBA,EAAC,GAAAC,OAAGxB,KAAKK,aAAeL,KAAKQ,UAE/B,IAAIiB,EAAO,GACX,KAAMzB,KAAK0B,UAAW,CACpBD,EAAK,aAAezB,KAAK0B,UACzBD,EAAK,kBAAoBzB,KAAK0B,UAEhC,OACEC,EAACC,KAAIC,OAAAC,OAAA,CAACC,MAAOV,GAASI,GACpBE,EAAA,OAAA,iBAhEc","sourcesContent":["taro-cover-view-core {\n display: block;\n}\n","import { Component, Prop, h, ComponentInterface, Host, Listen, State, Event, EventEmitter } from '@stencil/core'\nimport classNames from 'classnames'\n\n@Component({\n tag: 'taro-cover-view-core',\n styleUrl: './style/cover-view.scss'\n})\nexport class CoverView implements ComponentInterface {\n @Prop() animation: string\n @Prop() hoverClass: string\n @Prop() hoverStartTime = 50\n @Prop() hoverStayTime = 400\n @State() hover = false\n @State() touch = false\n\n @Event({\n eventName: 'longpress'\n }) onLongPress: EventEmitter\n\n private timeoutEvent: ReturnType<typeof setTimeout>\n private startTime = 0\n\n @Listen('touchstart')\n onTouchStart () {\n if (this.hoverClass) {\n this.touch = true\n setTimeout(() => {\n if (this.touch) {\n this.hover = true\n }\n }, this.hoverStartTime)\n }\n\n this.timeoutEvent = setTimeout(() => {\n this.onLongPress.emit()\n }, 350)\n this.startTime = Date.now()\n }\n\n @Listen('touchmove')\n onTouchMove () {\n clearTimeout(this.timeoutEvent)\n }\n\n @Listen('touchend')\n onTouchEnd () {\n const spanTime = Date.now() - this.startTime\n if (spanTime < 350) {\n clearTimeout(this.timeoutEvent)\n }\n if (this.hoverClass) {\n this.touch = false\n setTimeout(() => {\n if (!this.touch) {\n this.hover = false\n }\n }, this.hoverStayTime)\n }\n }\n\n render() {\n const cls = classNames({\n [`${this.hoverClass}`]: this.hover\n })\n let attr = {}\n if (!!this.animation) {\n attr['animation'] = this.animation\n attr['data-animation'] = this.animation\n }\n return (\n <Host class={cls} {...attr}>\n <slot></slot>\n </Host>\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8809c729.js";var CustomWrapper=function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,null)};return r}();export{CustomWrapper as taro_custom_wrapper_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";var CustomWrapper=function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,null)};return r}();export{CustomWrapper as taro_custom_wrapper_core};
2
+ //# sourceMappingURL=taro-custom-wrapper-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/custom-wrapper/custom-wrapper.tsx"],"names":["CustomWrapper","prototype","render","h","Host"],"mappings":"uEAKaA,cAAa,kDACxBA,EAAAC,UAAAC,OAAA,WACE,OACEC,EAACC,KAAI,gBAHe","sourcesContent":["import { Component, h, Host, ComponentInterface } from '@stencil/core'\n\n@Component({\n tag: 'taro-custom-wrapper-core'\n})\nexport class CustomWrapper implements ComponentInterface {\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8809c729.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Editor=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Editor",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Editor as taro_editor_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Editor=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Editor",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Editor as taro_editor_core};
2
+ //# sourceMappingURL=taro-editor-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/editor/editor.tsx"],"names":["Editor","prototype","componentDidLoad","notSupport","this","render","h","Host"],"mappings":"8IAOaA,OAAM,kDACjBA,EAAAC,UAAAC,iBAAA,WACEC,WAAW,SAAUC,OAGvBJ,EAAAC,UAAAI,OAAA,WACE,OACEC,EAACC,KAAI,gBAPQ","sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-editor-core'\n})\nexport class Editor implements ComponentInterface {\n componentDidLoad () {\n notSupport('Editor', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-8809c729.js";var Form=function(){function e(e){registerInstance(this,e);this.onSubmit=createEvent(this,"submit",7);this.value={}}e.prototype.watchSlotParent=function(e){if(!this.orginalAppendChild){this.orginalAppendChild=this.el.appendChild;this.orginalInsertBefore=this.el.insertBefore;this.orginalReplaceChild=this.el.replaceChild;this.orginalRemoveChild=this.el.removeChild}if(!e){this.el.appendChild=this.orginalAppendChild;this.el.insertBefore=this.orginalInsertBefore;this.el.replaceChild=this.orginalReplaceChild;this.el.removeChild=this.orginalRemoveChild;return}this.el.appendChild=function(t){return e.appendChild(t)};this.el.insertBefore=function(t,r){return e.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.replaceChild(t,r)};this.el.removeChild=function(t){return e.removeChild(t)}};e.prototype.onButtonSubmit=function(e){e.stopPropagation();this.value=this.getFormValue();this.onSubmit.emit({value:this.value})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;this.value=this.getFormValue();Object.defineProperty(this.el,"value",{get:function(){return e.value},configurable:true})};e.prototype.componentDidRender=function(){this.setSlotParent(this.form)};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var n=0;n<r.length;n++){t.push(r[n])}var i={};var o={};t.forEach((function(e){if(e.className.indexOf("weui-switch")!==-1){i[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){o[e.name]=true;i[e.name]=e.value}else{if(!o[e.name]){i[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(o[e.name]){i[e.name].push(e.value)}else{o[e.name]=true;i[e.name]=[e.value]}}else{if(!o[e.name]){i[e.name]=[]}}return}i[e.name]=e.value}));var a=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<a.length;s++){l.push(a[s])}l.forEach((function(e){i[e.name]=e.value}));return i};e.prototype.setSlotParent=function(e){this.slotParent=e};e.prototype.render=function(){var e=this;return h("form",{ref:function(t){if(t){e.form=t}}},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{slotParent:["watchSlotParent"]}},enumerable:false,configurable:true});return e}();export{Form as taro_form_core};
1
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-5d881caf.js";var Form=function(){function e(e){registerInstance(this,e);this.onSubmit=createEvent(this,"submit",7);this.value={};this.slotParent=undefined}e.prototype.watchSlotParent=function(e){if(!this.orginalAppendChild){this.orginalAppendChild=this.el.appendChild;this.orginalInsertBefore=this.el.insertBefore;this.orginalReplaceChild=this.el.replaceChild;this.orginalRemoveChild=this.el.removeChild}if(!e){this.el.appendChild=this.orginalAppendChild;this.el.insertBefore=this.orginalInsertBefore;this.el.replaceChild=this.orginalReplaceChild;this.el.removeChild=this.orginalRemoveChild;return}this.el.appendChild=function(t){return e.appendChild(t)};this.el.insertBefore=function(t,r){return e.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.replaceChild(t,r)};this.el.removeChild=function(t){return e.removeChild(t)}};e.prototype.onButtonSubmit=function(e){e.stopPropagation();this.value=this.getFormValue();this.onSubmit.emit({value:this.value})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;this.value=this.getFormValue();Object.defineProperty(this.el,"value",{get:function(){return e.value},configurable:true})};e.prototype.componentDidRender=function(){this.setSlotParent(this.form)};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var n=0;n<r.length;n++){t.push(r[n])}var i={};var o={};t.forEach((function(e){if(e.className.indexOf("weui-switch")!==-1){i[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){o[e.name]=true;i[e.name]=e.value}else{if(!o[e.name]){i[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(o[e.name]){i[e.name].push(e.value)}else{o[e.name]=true;i[e.name]=[e.value]}}else{if(!o[e.name]){i[e.name]=[]}}return}i[e.name]=e.value}));var a=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<a.length;s++){l.push(a[s])}l.forEach((function(e){i[e.name]=e.value}));return i};e.prototype.setSlotParent=function(e){this.slotParent=e};e.prototype.render=function(){var e=this;return h("form",{ref:function(t){if(t){e.form=t}}},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{slotParent:["watchSlotParent"]}},enumerable:false,configurable:true});return e}();export{Form as taro_form_core};
2
+ //# sourceMappingURL=taro-form-core.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["src/components/form/form.tsx"],"names":["Form","this","value","prototype","watchSlotParent","newParent","orginalAppendChild","el","appendChild","orginalInsertBefore","insertBefore","orginalReplaceChild","replaceChild","orginalRemoveChild","removeChild","newChild","refChild","oldChild","onButtonSubmit","e","stopPropagation","getFormValue","onSubmit","emit","onButtonReset","form","reset","componentDidLoad","_this","Object","defineProperty","get","configurable","componentDidRender","setSlotParent","elements","tagElements","getElementsByTagName","j","length","push","formItem","hash","forEach","item","className","indexOf","name","checked","type","textareaElements","textareaEleArr","i","v","slotParent","render","h","ref","dom"],"mappings":"8FAKaA,KAAI,6FAEPC,KAAAC,MAAmC,6BAe3CF,EAAAG,UAAAC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AIhBF,EAAA,OAAA,sQAhJS","sourcesContent":["import { Component, h, ComponentInterface, Event, EventEmitter, Element, Listen, State, Watch } from '@stencil/core'\n\n@Component({\n tag: 'taro-form-core'\n})\nexport class Form implements ComponentInterface {\n private form: HTMLFormElement\n private value: {[propName: string]: any} = {}\n private orginalAppendChild: <T extends Node>(newChild: T) => T\n private orginalInsertBefore: <T extends Node>(newChild: T, refChild: Node | null) => T\n private orginalReplaceChild: <T extends Node>(newChild: Node, oldChild: T) => T\n private orginalRemoveChild: <T extends Node>(oldChild: T) => T\n\n @Element() el: HTMLElement\n\n @State() slotParent: HTMLElement | null\n\n @Event({\n eventName: 'submit'\n }) onSubmit: EventEmitter\n\n @Watch('slotParent')\n watchSlotParent (newParent: HTMLElement | null) {\n if (!this.orginalAppendChild) {\n this.orginalAppendChild = this.el.appendChild\n this.orginalInsertBefore = this.el.insertBefore\n this.orginalReplaceChild = this.el.replaceChild\n this.orginalRemoveChild = this.el.removeChild\n }\n if (!newParent) {\n this.el.appendChild = this.orginalAppendChild\n this.el.insertBefore = this.orginalInsertBefore\n this.el.replaceChild = this.orginalReplaceChild\n this.el.removeChild = this.orginalRemoveChild\n return\n }\n this.el.appendChild = <T extends Node>(newChild: T): T => {\n return newParent.appendChild(newChild)\n }\n this.el.insertBefore = <T extends Node>(newChild: T, refChild: Node | null): T => {\n return newParent.insertBefore(newChild, refChild)\n }\n this.el.replaceChild = <T extends Node>(newChild: Node, oldChild: T): T => {\n return newParent.replaceChild(newChild, oldChild)\n }\n this.el.removeChild = <T extends Node>(oldChild: T): T => {\n return newParent.removeChild(oldChild)\n }\n }\n\n @Listen('tarobuttonsubmit')\n onButtonSubmit (e: Event) {\n e.stopPropagation()\n\n this.value = this.getFormValue()\n\n this.onSubmit.emit({\n value: this.value\n })\n }\n\n @Listen('tarobuttonreset')\n onButtonReset (e: Event) {\n e.stopPropagation()\n this.form.reset()\n }\n\n componentDidLoad () {\n this.value = this.getFormValue()\n\n Object.defineProperty(this.el, 'value', {\n get: () => this.value,\n configurable: true\n })\n }\n\n componentDidRender () {\n this.setSlotParent(this.form)\n }\n\n getFormValue () {\n const el = this.el\n const elements: HTMLInputElement[] = []\n const tagElements = el.getElementsByTagName('input')\n for (let j = 0; j < tagElements.length; j++) {\n elements.push(tagElements[j])\n }\n const formItem = {}\n const hash = {}\n elements.forEach(item => {\n if (item.className.indexOf('weui-switch') !== -1) {\n formItem[item.name] = item.checked\n return\n }\n if (item.type === 'radio') {\n if (item.checked) {\n hash[item.name] = true\n formItem[item.name] = item.value\n } else {\n if (!hash[item.name]) {\n formItem[item.name] = ''\n }\n }\n return\n }\n\n if (item.type === 'checkbox') {\n if (item.checked) {\n if (hash[item.name]) {\n formItem[item.name].push(item.value)\n } else {\n hash[item.name] = true\n formItem[item.name] = [item.value]\n }\n } else {\n if (!hash[item.name]) {\n formItem[item.name] = []\n }\n }\n return\n }\n formItem[item.name] = item.value\n })\n\n const textareaElements = el.getElementsByTagName('textarea')\n const textareaEleArr: HTMLTextAreaElement[] = []\n\n for (let i = 0; i < textareaElements.length; i++) {\n textareaEleArr.push(textareaElements[i])\n }\n textareaEleArr.forEach(v => {\n formItem[v.name] = v.value\n })\n return formItem\n }\n\n setSlotParent (el: HTMLElement | null) {\n this.slotParent = el\n }\n\n render () {\n return (\n <form\n ref={dom => {\n if (dom) {\n this.form = dom\n }\n }}\n >\n <slot />\n </form>\n )\n }\n}\n"]}
@@ -1 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8809c729.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var FunctionalPageNavigator=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("FunctionalPageNavigator",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{FunctionalPageNavigator as taro_functional_page_navigator_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-5d881caf.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var FunctionalPageNavigator=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("FunctionalPageNavigator",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{FunctionalPageNavigator as taro_functional_page_navigator_core};
2
+ //# sourceMappingURL=taro-functional-page-navigator-core.entry.js.map