@tarojs/components 4.0.0-canary.8 → 4.0.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 (825) hide show
  1. package/LICENSE +17 -3
  2. package/README.md +1 -1
  3. package/dist/cjs/{index-5a8221ec.js → index-09efe07d.js} +208 -2
  4. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  5. package/dist/cjs/{index-b8c435ee.js → index-b873e40f.js} +45 -27
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  16. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-components.cjs.js +2 -2
  24. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  26. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
  29. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
  34. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-icon-core.cjs.entry.js +5 -2
  36. package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
  37. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
  44. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-map-core.cjs.entry.js +1325 -6
  50. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
  52. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
  56. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
  57. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
  59. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -3
  63. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +5 -5
  64. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  65. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -3
  66. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  68. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +4 -4
  72. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  74. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  76. package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
  77. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +58 -9868
  80. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  81. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-tabbar.cjs.entry.js +15 -87
  83. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  84. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  85. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  86. package/dist/cjs/taro-video-control_3.cjs.entry.js +38 -9
  87. package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
  88. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  89. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  90. package/dist/collection/collection-manifest.json +7 -0
  91. package/dist/collection/components/audio/style/index.css +1 -4
  92. package/dist/collection/components/button/style/index.css +1 -160
  93. package/dist/collection/components/canvas/style/index.css +1 -6
  94. package/dist/collection/components/checkbox/style/index.css +1 -39
  95. package/dist/collection/components/cover-image/style/index.css +1 -5
  96. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  97. package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
  98. package/dist/collection/components/grid-builder/grid-builder.js +11 -0
  99. package/dist/collection/components/icon/icon.js +10 -0
  100. package/dist/collection/components/icon/style/index.css +1 -0
  101. package/dist/collection/components/image/image.js +4 -3
  102. package/dist/collection/components/image/style/index.css +1 -73
  103. package/dist/collection/components/input/input.js +2 -2
  104. package/dist/collection/components/input/style/index.css +1 -0
  105. package/dist/collection/components/list-builder/list-builder.js +11 -0
  106. package/dist/collection/components/map/map.js +1806 -4
  107. package/dist/collection/components/map/style/map.css +1 -0
  108. package/dist/collection/components/movable-area/area.css +1 -6
  109. package/dist/collection/components/movable-area/movable-area.js +2 -1
  110. package/dist/collection/components/movable-area/movable-view.js +3 -1
  111. package/dist/collection/components/movable-area/view.css +1 -8
  112. package/dist/collection/components/navigator/style/index.css +1 -3
  113. package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
  114. package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
  115. package/dist/collection/components/open-container/open-container.js +11 -0
  116. package/dist/collection/components/picker/style/index.css +1 -4
  117. package/dist/collection/components/picker-view/style/column.css +1 -12
  118. package/dist/collection/components/picker-view/style/index.css +1 -28
  119. package/dist/collection/components/progress/progress.js +10 -0
  120. package/dist/collection/components/progress/style/index.css +1 -0
  121. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
  122. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  123. package/dist/collection/components/rich-text/style/index.css +1 -16
  124. package/dist/collection/components/scroll-view/style/index.css +1 -17
  125. package/dist/collection/components/slider/slider.js +10 -0
  126. package/dist/collection/components/slider/style/index.css +1 -0
  127. package/dist/collection/components/span/span.js +11 -0
  128. package/dist/collection/components/swiper/style/index.css +2 -19
  129. package/dist/collection/components/swiper/swiper.js +59 -5
  130. package/dist/collection/components/switch/style/index.css +1 -10
  131. package/dist/collection/components/switch/switch.js +12 -12
  132. package/dist/collection/components/tabbar/style/index.css +1 -53
  133. package/dist/collection/components/tabbar/tabbar.js +1 -1
  134. package/dist/collection/components/text/style/index.css +1 -26
  135. package/dist/collection/components/textarea/style/index.css +1 -22
  136. package/dist/collection/components/textarea/textarea.js +11 -0
  137. package/dist/collection/components/video/style/index.css +1 -327
  138. package/dist/collection/components/video/video.js +8 -3
  139. package/dist/collection/components/view/style/index.css +1 -9
  140. package/dist/collection/components/web-view/style/index.css +1 -12
  141. package/dist/collection/utils/index.js +10 -0
  142. package/dist/components/index.d.ts +7 -0
  143. package/dist/components/index.js +7 -0
  144. package/dist/components/index2.js +45 -27
  145. package/dist/components/index3.js +6 -1
  146. package/dist/components/taro-audio-core.js +1 -1
  147. package/dist/components/taro-button-core.js +1 -1
  148. package/dist/components/taro-canvas-core.js +1 -1
  149. package/dist/components/taro-checkbox-core.js +1 -1
  150. package/dist/components/taro-cover-image-core.js +1 -1
  151. package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
  152. package/dist/components/taro-draggable-sheet-core.js +33 -0
  153. package/dist/components/taro-grid-builder-core.d.ts +11 -0
  154. package/dist/components/taro-grid-builder-core.js +33 -0
  155. package/dist/components/taro-icon-core.js +3 -0
  156. package/dist/components/taro-image-core.js +5 -4
  157. package/dist/components/taro-input-core.js +1 -1
  158. package/dist/components/taro-list-builder-core.d.ts +11 -0
  159. package/dist/components/taro-list-builder-core.js +33 -0
  160. package/dist/components/taro-map-core.js +1349 -6
  161. package/dist/components/taro-movable-area-core.js +3 -2
  162. package/dist/components/taro-movable-view-core.js +4 -2
  163. package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
  164. package/dist/components/taro-nested-scroll-body-core.js +33 -0
  165. package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
  166. package/dist/components/taro-nested-scroll-header-core.js +33 -0
  167. package/dist/components/taro-open-container-core.d.ts +11 -0
  168. package/dist/components/taro-open-container-core.js +33 -0
  169. package/dist/components/taro-picker-core.js +1 -1
  170. package/dist/components/taro-picker-view-column-core.js +1 -1
  171. package/dist/components/taro-picker-view-core.js +1 -1
  172. package/dist/components/taro-progress-core.js +3 -0
  173. package/dist/components/taro-pull-to-refresh-core.js +4 -1
  174. package/dist/components/taro-rich-text-core.js +1 -1
  175. package/dist/components/taro-scroll-view-core.js +1 -1
  176. package/dist/components/taro-slider-core.js +3 -0
  177. package/dist/components/taro-span-core.d.ts +11 -0
  178. package/dist/components/taro-span-core.js +33 -0
  179. package/dist/components/taro-swiper-core.js +45 -9858
  180. package/dist/components/taro-switch-core.js +13 -13
  181. package/dist/components/taro-tabbar.js +4 -77
  182. package/dist/components/taro-text-core.js +1 -1
  183. package/dist/components/taro-textarea-core.js +11 -2
  184. package/dist/components/taro-video-core.js +10 -5
  185. package/dist/components/taro-view-core.js +1 -1
  186. package/dist/components/taro-web-view-core.js +1 -1
  187. package/dist/esm/{index-6bb77c5f.js → index-9924aee9.js} +208 -2
  188. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  189. package/dist/esm/{index-a74b6944.js → index-b9522531.js} +45 -27
  190. package/dist/esm/loader.js +3 -3
  191. package/dist/esm/taro-ad-core.entry.js +1 -1
  192. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  193. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  194. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  195. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  196. package/dist/esm/taro-audio-core.entry.js +2 -2
  197. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  198. package/dist/esm/taro-block-core.entry.js +1 -1
  199. package/dist/esm/taro-button-core.entry.js +3 -3
  200. package/dist/esm/taro-camera-core.entry.js +1 -1
  201. package/dist/esm/taro-canvas-core.entry.js +2 -2
  202. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  203. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  204. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  205. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  206. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  207. package/dist/esm/taro-components.js +3 -3
  208. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  209. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  210. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  211. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  212. package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
  213. package/dist/esm/taro-editor-core.entry.js +1 -1
  214. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  215. package/dist/esm/taro-form-core.entry.js +1 -1
  216. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  217. package/dist/esm/taro-grid-builder-core.entry.js +17 -0
  218. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  219. package/dist/esm/taro-icon-core.entry.js +5 -2
  220. package/dist/esm/taro-image-core.entry.js +7 -6
  221. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  222. package/dist/esm/taro-input-core.entry.js +2 -2
  223. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  224. package/dist/esm/taro-label-core.entry.js +1 -1
  225. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  226. package/dist/esm/taro-like-core.entry.js +1 -1
  227. package/dist/esm/taro-list-builder-core.entry.js +17 -0
  228. package/dist/esm/taro-list-view-core.entry.js +1 -1
  229. package/dist/esm/taro-live-player-core.entry.js +1 -1
  230. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  231. package/dist/esm/taro-login-core.entry.js +1 -1
  232. package/dist/esm/taro-lottie-core.entry.js +1 -1
  233. package/dist/esm/taro-map-core.entry.js +1321 -6
  234. package/dist/esm/taro-match-media-core.entry.js +1 -1
  235. package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
  236. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  237. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  238. package/dist/esm/taro-navigator-core.entry.js +2 -2
  239. package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
  240. package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
  241. package/dist/esm/taro-official-account-core.entry.js +1 -1
  242. package/dist/esm/taro-open-container-core.entry.js +17 -0
  243. package/dist/esm/taro-open-data-core.entry.js +1 -1
  244. package/dist/esm/taro-page-container-core.entry.js +1 -1
  245. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  246. package/dist/esm/taro-picker-core_2.entry.js +3 -3
  247. package/dist/esm/taro-picker-view-column-core_2.entry.js +5 -5
  248. package/dist/esm/taro-progress-core.entry.js +4 -1
  249. package/dist/esm/taro-pull-to-refresh-core.entry.js +6 -3
  250. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  251. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  252. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  253. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  254. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  255. package/dist/esm/taro-scroll-view-core.entry.js +4 -4
  256. package/dist/esm/taro-share-element-core.entry.js +1 -1
  257. package/dist/esm/taro-slider-core.entry.js +4 -1
  258. package/dist/esm/taro-slot-core.entry.js +1 -1
  259. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  260. package/dist/esm/taro-span-core.entry.js +17 -0
  261. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  262. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  263. package/dist/esm/taro-swiper-core_2.entry.js +45 -9859
  264. package/dist/esm/taro-switch-core.entry.js +13 -12
  265. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  266. package/dist/esm/taro-tabbar.entry.js +6 -79
  267. package/dist/esm/taro-tabs-core.entry.js +1 -1
  268. package/dist/esm/taro-text-core.entry.js +2 -2
  269. package/dist/esm/taro-textarea-core.entry.js +12 -3
  270. package/dist/esm/taro-video-control_3.entry.js +13 -8
  271. package/dist/esm/taro-view-core.entry.js +3 -3
  272. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  273. package/dist/esm/taro-web-view-core.entry.js +2 -2
  274. package/dist/esm-es5/index-9924aee9.js +2 -0
  275. package/dist/esm-es5/index-a00a7418.js +1 -0
  276. package/dist/esm-es5/index-b9522531.js +7 -0
  277. package/dist/esm-es5/loader.js +1 -1
  278. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  292. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-components.js +1 -1
  295. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  299. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -0
  300. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  302. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  303. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  304. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -0
  305. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  306. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  307. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  309. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  312. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  313. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  314. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -0
  315. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  316. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  317. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  318. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  319. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  320. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  321. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  322. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  323. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  324. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  325. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  326. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -0
  327. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
  328. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  329. package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
  330. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  331. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  332. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  333. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  334. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  335. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  336. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  337. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  338. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  339. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  340. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  341. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  342. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  343. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  344. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  345. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  346. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  347. package/dist/esm-es5/taro-span-core.entry.js +1 -0
  348. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  349. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  350. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  351. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  352. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  353. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  354. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  355. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  356. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  357. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  358. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  359. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  360. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  361. package/dist/hydrate/index.d.ts +217 -0
  362. package/dist/hydrate/index.js +14603 -0
  363. package/dist/hydrate/package.json +6 -0
  364. package/dist/taro-components/p-010faa87.system.js +1 -0
  365. package/dist/taro-components/p-02465454.system.entry.js +1 -0
  366. package/dist/taro-components/p-02d4d104.entry.js +1 -0
  367. package/dist/taro-components/p-03dc0283.entry.js +1 -0
  368. package/dist/taro-components/p-047e4bfe.entry.js +1 -0
  369. package/dist/taro-components/{p-028ad016.system.entry.js → p-06adeb65.system.entry.js} +1 -1
  370. package/dist/taro-components/p-078cb65e.entry.js +1 -0
  371. package/dist/taro-components/{p-6d7165eb.system.entry.js → p-07ae6678.system.entry.js} +1 -1
  372. package/dist/taro-components/p-07f27474.entry.js +1 -0
  373. package/dist/taro-components/{p-635fe530.system.entry.js → p-083c3147.system.entry.js} +1 -1
  374. package/dist/taro-components/p-0a64f78c.system.entry.js +1 -0
  375. package/dist/taro-components/p-0f2c1ecc.entry.js +1 -0
  376. package/dist/taro-components/{p-7dee8f07.system.entry.js → p-0f480c38.system.entry.js} +1 -1
  377. package/dist/taro-components/{p-18ea7e10.system.entry.js → p-0fc790c0.system.entry.js} +1 -1
  378. package/dist/taro-components/{p-aae38fe8.entry.js → p-0ff5a55b.entry.js} +1 -1
  379. package/dist/taro-components/p-12582166.entry.js +1 -0
  380. package/dist/taro-components/p-156e9634.system.entry.js +1 -0
  381. package/dist/taro-components/p-160d710a.js +7 -0
  382. package/dist/taro-components/{p-25fffbbe.system.entry.js → p-17938fa0.system.entry.js} +1 -1
  383. package/dist/taro-components/{p-46a9adcf.system.entry.js → p-17b9f865.system.entry.js} +1 -1
  384. package/dist/taro-components/p-17e72555.entry.js +1 -0
  385. package/dist/taro-components/p-18c039ef.entry.js +1 -0
  386. package/dist/taro-components/{p-6e1f0e6d.system.entry.js → p-1bd4da3b.system.entry.js} +1 -1
  387. package/dist/taro-components/p-1c37143a.system.entry.js +1 -0
  388. package/dist/taro-components/p-1eea2828.entry.js +1 -0
  389. package/dist/taro-components/p-204996e7.entry.js +1 -0
  390. package/dist/taro-components/{p-23f15c7b.entry.js → p-2649c7ae.entry.js} +1 -1
  391. package/dist/taro-components/p-26eb2f3f.entry.js +1 -0
  392. package/dist/taro-components/p-27041d86.system.entry.js +1 -0
  393. package/dist/taro-components/{p-3d7626a9.system.entry.js → p-27d372b4.system.entry.js} +1 -1
  394. package/dist/taro-components/{p-6c48d884.entry.js → p-280795f2.entry.js} +1 -1
  395. package/dist/taro-components/p-292470e5.entry.js +1 -0
  396. package/dist/taro-components/p-2d537212.entry.js +1 -0
  397. package/dist/taro-components/p-2f177716.entry.js +1 -0
  398. package/dist/taro-components/{p-9f5ebe09.system.entry.js → p-3293c5d9.system.entry.js} +1 -1
  399. package/dist/taro-components/p-32c0f326.entry.js +1 -0
  400. package/dist/taro-components/p-35dec732.entry.js +1 -0
  401. package/dist/taro-components/{p-fff30a48.entry.js → p-38b29261.entry.js} +1 -1
  402. package/dist/taro-components/{p-c7679d57.entry.js → p-3a180dc7.entry.js} +1 -1
  403. package/dist/taro-components/{p-f094089c.system.entry.js → p-3b36196b.system.entry.js} +1 -1
  404. package/dist/taro-components/{p-222573ad.entry.js → p-3bfe9260.entry.js} +1 -1
  405. package/dist/taro-components/{p-345cb56f.entry.js → p-3cf08137.entry.js} +1 -1
  406. package/dist/taro-components/{p-8c93f3e0.entry.js → p-402c7f93.entry.js} +1 -1
  407. package/dist/taro-components/p-425d1d69.entry.js +1 -0
  408. package/dist/taro-components/p-43367dd1.entry.js +1 -0
  409. package/dist/taro-components/p-443b9a72.system.js +7 -0
  410. package/dist/taro-components/p-443e31ab.system.entry.js +1 -0
  411. package/dist/taro-components/p-4523b1c7.entry.js +1 -0
  412. package/dist/taro-components/p-46a66c43.entry.js +1 -0
  413. package/dist/taro-components/{p-03538d40.system.entry.js → p-47790dc0.system.entry.js} +1 -1
  414. package/dist/taro-components/{p-747bdbaa.system.entry.js → p-4979e93c.system.entry.js} +1 -1
  415. package/dist/taro-components/p-4a8b4d58.system.entry.js +1 -0
  416. package/dist/taro-components/{p-aa1ea71b.system.entry.js → p-4ac48df1.system.entry.js} +1 -1
  417. package/dist/taro-components/{p-c2259653.system.entry.js → p-4fad4beb.system.entry.js} +1 -1
  418. package/dist/taro-components/{p-e7232d54.system.entry.js → p-50849470.system.entry.js} +1 -1
  419. package/dist/taro-components/p-53e62840.system.entry.js +1 -0
  420. package/dist/taro-components/p-55e12654.entry.js +1 -0
  421. package/dist/taro-components/p-56552c9e.entry.js +1 -0
  422. package/dist/taro-components/p-56a82bf3.entry.js +1 -0
  423. package/dist/taro-components/p-57911e2c.system.entry.js +1 -0
  424. package/dist/taro-components/{p-3aaf0fb7.system.entry.js → p-57b77f17.system.entry.js} +1 -1
  425. package/dist/taro-components/{p-d86ce035.system.entry.js → p-5884c108.system.entry.js} +1 -1
  426. package/dist/taro-components/p-5893c3ed.js +1 -0
  427. package/dist/taro-components/{p-cd34c92e.system.entry.js → p-5b9aa4b0.system.entry.js} +1 -1
  428. package/dist/taro-components/{p-feddde29.system.entry.js → p-5c156db3.system.entry.js} +1 -1
  429. package/dist/taro-components/{p-b94dcfbe.entry.js → p-5c98f478.entry.js} +1 -1
  430. package/dist/taro-components/p-5f23dc41.system.entry.js +1 -0
  431. package/dist/taro-components/{p-58d410c6.system.entry.js → p-61a325d2.system.entry.js} +1 -1
  432. package/dist/taro-components/{p-3967311b.system.entry.js → p-6282bdee.system.entry.js} +1 -1
  433. package/dist/taro-components/{p-67dcb636.system.entry.js → p-65d11e99.system.entry.js} +1 -1
  434. package/dist/taro-components/{p-1eb875d0.system.entry.js → p-6654374e.system.entry.js} +1 -1
  435. package/dist/taro-components/p-6664a2ca.system.entry.js +1 -0
  436. package/dist/taro-components/p-68197378.entry.js +1 -0
  437. package/dist/taro-components/p-6989c232.entry.js +1 -0
  438. package/dist/taro-components/{p-3708575b.system.entry.js → p-6b83388c.system.entry.js} +1 -1
  439. package/dist/taro-components/p-6ba08ce0.system.entry.js +1 -0
  440. package/dist/taro-components/p-6cc0bcb9.entry.js +1 -0
  441. package/dist/taro-components/p-7163d09e.system.js +1 -0
  442. package/dist/taro-components/{p-edb9e04e.system.entry.js → p-75b4c1fc.system.entry.js} +1 -1
  443. package/dist/taro-components/p-75d01c60.system.js +2 -0
  444. package/dist/taro-components/{p-e487b8b4.system.entry.js → p-75ded8a0.system.entry.js} +1 -1
  445. package/dist/taro-components/p-77e82dfa.entry.js +1 -0
  446. package/dist/taro-components/{p-f232cf02.entry.js → p-79cad66b.entry.js} +1 -1
  447. package/dist/taro-components/p-7ca2d075.system.entry.js +1 -0
  448. package/dist/taro-components/{p-fdccd9b3.system.entry.js → p-7e054ae7.system.entry.js} +1 -1
  449. package/dist/taro-components/p-7e692c70.entry.js +1 -0
  450. package/dist/taro-components/p-7ebd4310.entry.js +1 -0
  451. package/dist/taro-components/p-7fdbcf4d.entry.js +1 -0
  452. package/dist/taro-components/{p-bbbe728b.system.entry.js → p-8179438b.system.entry.js} +1 -1
  453. package/dist/taro-components/{p-1c1d9be8.entry.js → p-84998109.entry.js} +1 -1
  454. package/dist/taro-components/{p-7ad33036.system.entry.js → p-855619b6.system.entry.js} +1 -1
  455. package/dist/taro-components/p-8b0c9d3f.entry.js +1 -0
  456. package/dist/taro-components/{p-0b6e9013.system.entry.js → p-91ee1f8a.system.entry.js} +1 -1
  457. package/dist/taro-components/p-937a6c36.entry.js +1 -0
  458. package/dist/taro-components/{p-475f9ed3.system.entry.js → p-938f9036.system.entry.js} +1 -1
  459. package/dist/taro-components/{p-70c81b7e.entry.js → p-93a2b2e9.entry.js} +1 -1
  460. package/dist/taro-components/p-93b02321.entry.js +1 -0
  461. package/dist/taro-components/p-9571836f.entry.js +1 -0
  462. package/dist/taro-components/{p-b4e3f72e.system.entry.js → p-97b09fb4.system.entry.js} +1 -1
  463. package/dist/taro-components/p-9b6b17c4.system.entry.js +1 -0
  464. package/dist/taro-components/{p-c968ea43.system.entry.js → p-9e359fff.system.entry.js} +1 -1
  465. package/dist/taro-components/p-9f53e26c.system.entry.js +1 -0
  466. package/dist/taro-components/{p-178cb282.system.entry.js → p-a25aca16.system.entry.js} +1 -1
  467. package/dist/taro-components/p-a50c6736.entry.js +1 -0
  468. package/dist/taro-components/{p-32b41faa.system.entry.js → p-a96f8f60.system.entry.js} +1 -1
  469. package/dist/taro-components/{p-9c566d7d.system.entry.js → p-a9ca8247.system.entry.js} +1 -1
  470. package/dist/taro-components/p-aabac550.entry.js +1 -0
  471. package/dist/taro-components/p-ab0e0366.system.entry.js +1 -0
  472. package/dist/taro-components/p-ac2be5f3.entry.js +1 -0
  473. package/dist/taro-components/p-ac714300.system.entry.js +1 -0
  474. package/dist/taro-components/{p-1d3ed211.system.entry.js → p-ac9fb309.system.entry.js} +1 -1
  475. package/dist/taro-components/p-acb113bd.entry.js +1 -0
  476. package/dist/taro-components/p-b087ad2a.system.entry.js +1 -0
  477. package/dist/taro-components/p-b1f80b6b.entry.js +1 -0
  478. package/dist/taro-components/p-b4577a12.system.entry.js +1 -0
  479. package/dist/taro-components/{p-fbc2b53e.entry.js → p-b4c7bb48.entry.js} +1 -1
  480. package/dist/taro-components/p-ba11ef7d.entry.js +1 -0
  481. package/dist/taro-components/{p-810b9a86.system.entry.js → p-ba5e7ec4.system.entry.js} +1 -1
  482. package/dist/taro-components/p-bb67318d.entry.js +1 -0
  483. package/dist/taro-components/{p-6f45f110.entry.js → p-bd57edcd.entry.js} +1 -1
  484. package/dist/taro-components/{p-f43ba9ed.entry.js → p-be055537.entry.js} +1 -1
  485. package/dist/taro-components/{p-eab8a6b0.entry.js → p-be1701b2.entry.js} +1 -1
  486. package/dist/taro-components/{p-e769cea4.system.entry.js → p-c056d527.system.entry.js} +1 -1
  487. package/dist/taro-components/{p-039e15a4.system.entry.js → p-c0c567e5.system.entry.js} +1 -1
  488. package/dist/taro-components/p-c3dc7072.entry.js +1 -0
  489. package/dist/taro-components/{p-680ba5a1.system.entry.js → p-c677414d.system.entry.js} +1 -1
  490. package/dist/taro-components/p-c71d5745.system.entry.js +1 -0
  491. package/dist/taro-components/{p-a7ecb97a.entry.js → p-c7836e2b.entry.js} +1 -1
  492. package/dist/taro-components/p-c7d8c076.system.entry.js +1 -0
  493. package/dist/taro-components/{p-7de7d96c.entry.js → p-c8cd6e16.entry.js} +1 -1
  494. package/dist/taro-components/p-c95d2b90.entry.js +1 -0
  495. package/dist/taro-components/p-ca6a5916.system.entry.js +1 -0
  496. package/dist/taro-components/{p-dea67974.system.entry.js → p-cae6c5d0.system.entry.js} +1 -1
  497. package/dist/taro-components/{p-6d1e33e1.system.entry.js → p-cafbb3d9.system.entry.js} +1 -1
  498. package/dist/taro-components/p-ccbaba23.entry.js +1 -0
  499. package/dist/taro-components/{p-443fe754.system.entry.js → p-d05eb105.system.entry.js} +1 -1
  500. package/dist/taro-components/{p-346162b4.system.entry.js → p-d2203687.system.entry.js} +1 -1
  501. package/dist/taro-components/{p-f8970571.entry.js → p-d5603857.entry.js} +1 -1
  502. package/dist/taro-components/{p-72d7fae0.system.entry.js → p-d73b3a94.system.entry.js} +1 -1
  503. package/dist/taro-components/p-d87a68f6.entry.js +1 -0
  504. package/dist/taro-components/p-d973d536.entry.js +1 -0
  505. package/dist/taro-components/{p-48c52124.entry.js → p-d9884371.entry.js} +1 -1
  506. package/dist/taro-components/p-dc08715a.entry.js +1 -0
  507. package/dist/taro-components/{p-20e38f24.entry.js → p-dc25fa81.entry.js} +1 -1
  508. package/dist/taro-components/p-dcf5747c.system.entry.js +1 -0
  509. package/dist/taro-components/{p-abd51173.system.entry.js → p-ddf75d6a.system.entry.js} +1 -1
  510. package/dist/taro-components/{p-c3c69a95.system.entry.js → p-ded98693.system.entry.js} +1 -1
  511. package/dist/taro-components/{p-0780df27.entry.js → p-dedf50a9.entry.js} +1 -1
  512. package/dist/taro-components/{p-8d797863.system.entry.js → p-df7c6216.system.entry.js} +1 -1
  513. package/dist/taro-components/p-e1cce2f1.entry.js +1 -0
  514. package/dist/taro-components/p-e2e7bc16.entry.js +1 -0
  515. package/dist/taro-components/p-e3d825d1.system.entry.js +1 -0
  516. package/dist/taro-components/p-e5ef41f2.system.entry.js +1 -0
  517. package/dist/taro-components/p-e62a1287.js +2 -0
  518. package/dist/taro-components/p-e681d764.entry.js +1 -0
  519. package/dist/taro-components/p-e853a2c8.system.entry.js +1 -0
  520. package/dist/taro-components/p-ebad862a.system.entry.js +1 -0
  521. package/dist/taro-components/p-ebb1ae64.entry.js +1 -0
  522. package/dist/taro-components/p-f034a433.entry.js +1 -0
  523. package/dist/taro-components/{p-4cc2e06e.entry.js → p-f168fffc.entry.js} +1 -1
  524. package/dist/taro-components/p-f367a754.entry.js +1 -0
  525. package/dist/taro-components/{p-2713fc1a.entry.js → p-f43f26cf.entry.js} +1 -1
  526. package/dist/taro-components/{p-8b604d50.entry.js → p-f5f3a111.entry.js} +1 -1
  527. package/dist/taro-components/{p-1ac9622e.entry.js → p-f8f2461f.entry.js} +1 -1
  528. package/dist/taro-components/p-f9935901.system.entry.js +1 -0
  529. package/dist/taro-components/{p-1411cd2e.system.entry.js → p-fa31b2de.system.entry.js} +1 -1
  530. package/dist/taro-components/p-fab63183.entry.js +1 -0
  531. package/dist/taro-components/{p-4ff6ad99.system.entry.js → p-fbf13159.system.entry.js} +1 -1
  532. package/dist/taro-components/p-fe5eefdc.system.entry.js +1 -0
  533. package/dist/taro-components/{p-d8f78d99.system.entry.js → p-feb89474.system.entry.js} +1 -1
  534. package/dist/taro-components/p-ff772345.entry.js +1 -0
  535. package/dist/taro-components/taro-components.css +1 -5
  536. package/dist/taro-components/taro-components.esm.js +1 -1
  537. package/dist/taro-components/taro-components.js +1 -1
  538. package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
  539. package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
  540. package/dist/types/components/list-builder/list-builder.d.ts +5 -0
  541. package/dist/types/components/map/map.d.ts +145 -2
  542. package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
  543. package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
  544. package/dist/types/components/open-container/open-container.d.ts +5 -0
  545. package/dist/types/components/span/span.d.ts +5 -0
  546. package/dist/types/components/swiper/swiper.d.ts +5 -0
  547. package/dist/types/components/switch/switch.d.ts +3 -3
  548. package/dist/types/components/textarea/textarea.d.ts +1 -0
  549. package/dist/types/components.d.ts +313 -1
  550. package/dist/types/utils/index.d.ts +2 -0
  551. package/global.css +1 -0
  552. package/lib/react/component-lib/index.d.ts +53 -53
  553. package/lib/react/component-lib/input.d.ts +1 -1
  554. package/lib/react/component-lib/input.js.map +1 -1
  555. package/lib/react/component-lib/reactify-wc.d.ts +1 -1
  556. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  557. package/lib/react/components.d.ts +92 -85
  558. package/lib/react/components.js +11 -2
  559. package/lib/react/components.js.map +1 -1
  560. package/lib/react/helper.d.ts +4 -2
  561. package/lib/react/helper.js.map +1 -1
  562. package/lib/react/index.d.ts +1 -1
  563. package/lib/react/index.js +1 -1
  564. package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +1 -0
  565. package/lib/react/react-component-lib/createComponent.d.ts +3 -3
  566. package/lib/react/react-component-lib/createComponent.js +3 -2
  567. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  568. package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -5
  569. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  570. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  571. package/lib/react/react-component-lib/index.d.ts +2 -2
  572. package/lib/react/{interfaces-f526f1a2.d.ts → react-component-lib/interfaces.d.ts} +4 -5
  573. package/lib/react/react-component-lib/utils/attachProps.d.ts +18 -9
  574. package/lib/react/react-component-lib/utils/attachProps.js +86 -10
  575. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  576. package/lib/react/react-component-lib/utils/case.d.ts +2 -3
  577. package/lib/react/react-component-lib/utils/dev.d.ts +6 -0
  578. package/lib/react/react-component-lib/utils/index.d.ts +9 -10
  579. package/lib/react/react-component-lib/utils/index.js +1 -1
  580. package/lib/react/react-component-lib/utils/index.js.map +1 -1
  581. package/lib/solid/component-lib/index.d.ts +53 -0
  582. package/lib/solid/component-lib/index.js +69 -0
  583. package/lib/solid/component-lib/index.js.map +1 -0
  584. package/lib/solid/components.d.ts +92 -0
  585. package/lib/solid/components.js +102 -0
  586. package/lib/solid/components.js.map +1 -0
  587. package/lib/solid/helper.d.ts +3 -0
  588. package/lib/solid/helper.js +7 -0
  589. package/lib/solid/helper.js.map +1 -0
  590. package/lib/solid/index.d.ts +1 -0
  591. package/lib/solid/index.js +2 -0
  592. package/lib/solid/solid-component-lib/createComponent.d.ts +10 -0
  593. package/lib/solid/solid-component-lib/createComponent.js +67 -0
  594. package/lib/solid/solid-component-lib/createComponent.js.map +1 -0
  595. package/lib/solid/solid-component-lib/index.d.ts +1 -0
  596. package/lib/solid/solid-component-lib/index.js +2 -0
  597. package/lib/solid/solid-component-lib/index.js.map +1 -0
  598. package/lib/solid/solid-component-lib/interfaces.d.ts +33 -0
  599. package/lib/solid/solid-component-lib/utils/case.d.ts +3 -0
  600. package/lib/solid/solid-component-lib/utils/case.js +6 -0
  601. package/lib/solid/solid-component-lib/utils/case.js.map +1 -0
  602. package/lib/solid/solid-component-lib/utils/element.d.ts +6 -0
  603. package/lib/solid/solid-component-lib/utils/element.js +48 -0
  604. package/lib/solid/solid-component-lib/utils/element.js.map +1 -0
  605. package/lib/solid/solid-component-lib/utils/index.d.ts +2 -0
  606. package/lib/solid/solid-component-lib/utils/index.js +3 -0
  607. package/lib/solid/solid-component-lib/utils/index.js.map +1 -0
  608. package/lib/vue3/component-lib/createComponent.d.ts +1 -2
  609. package/lib/vue3/component-lib/createFormsComponent.d.ts +1 -2
  610. package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
  611. package/lib/vue3/component-lib/forwardRef.d.ts +1 -2
  612. package/lib/vue3/component-lib/icon.d.ts +1 -1
  613. package/lib/vue3/component-lib/image.d.ts +1 -1
  614. package/lib/vue3/component-lib/index.d.ts +52 -53
  615. package/lib/vue3/component-lib/scroll-view.d.ts +1 -1
  616. package/lib/vue3/component-lib/scroll-view.js.map +1 -1
  617. package/lib/vue3/component-lib/text.d.ts +1 -1
  618. package/lib/vue3/components-loader.d.ts +1 -2
  619. package/lib/vue3/components-loader.js.map +1 -1
  620. package/lib/vue3/components.d.ts +91 -85
  621. package/lib/vue3/components.js +41 -3
  622. package/lib/vue3/components.js.map +1 -1
  623. package/lib/vue3/index.d.ts +1 -1
  624. package/lib/vue3/index.js +1 -1
  625. package/lib/vue3/vue-component-lib/utils.d.ts +2 -3
  626. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  627. package/package.json +34 -23
  628. package/types/Audio.d.ts +11 -11
  629. package/types/Button.d.ts +9 -9
  630. package/types/Canvas.d.ts +11 -11
  631. package/types/Checkbox.d.ts +8 -8
  632. package/types/CheckboxGroup.d.ts +3 -3
  633. package/types/CoverImage.d.ts +4 -4
  634. package/types/CoverView.d.ts +1 -1
  635. package/types/CustomWrapper.d.ts +1 -1
  636. package/types/DraggableSheet.d.ts +47 -0
  637. package/types/Form.d.ts +4 -4
  638. package/types/GridBuilder.d.ts +72 -0
  639. package/types/GridView.d.ts +18 -4
  640. package/types/Icon.d.ts +4 -4
  641. package/types/Image.d.ts +8 -8
  642. package/types/Input.d.ts +22 -17
  643. package/types/Label.d.ts +2 -2
  644. package/types/ListBuilder.d.ts +55 -0
  645. package/types/ListView.d.ts +9 -2
  646. package/types/Map.d.ts +0 -2
  647. package/types/MovableArea.d.ts +2 -2
  648. package/types/MovableView.d.ts +18 -18
  649. package/types/NativeSlot.d.ts +1 -1
  650. package/types/NavigationBar.d.ts +5 -5
  651. package/types/Navigator.d.ts +8 -8
  652. package/types/NestedScrollBody.d.ts +15 -0
  653. package/types/NestedScrollHeader.d.ts +15 -0
  654. package/types/OpenContainer.d.ts +74 -0
  655. package/types/PageMeta.d.ts +13 -7
  656. package/types/Picker.d.ts +49 -28
  657. package/types/PickerView.d.ts +6 -1
  658. package/types/PickerViewColumn.d.ts +1 -1
  659. package/types/Progress.d.ts +13 -13
  660. package/types/Radio.d.ts +7 -7
  661. package/types/RadioGroup.d.ts +2 -2
  662. package/types/RichText.d.ts +5 -5
  663. package/types/Script.d.ts +37 -0
  664. package/types/ScrollView.d.ts +21 -15
  665. package/types/ShareElement.d.ts +1 -0
  666. package/types/Slider.d.ts +18 -13
  667. package/types/Slot.d.ts +1 -1
  668. package/types/Snapshot.d.ts +12 -3
  669. package/types/Span.d.ts +14 -0
  670. package/types/StickyHeader.d.ts +15 -2
  671. package/types/StickySection.d.ts +7 -1
  672. package/types/Swiper.d.ts +18 -20
  673. package/types/SwiperItem.d.ts +2 -2
  674. package/types/Switch.d.ts +12 -7
  675. package/types/Text.d.ts +20 -4
  676. package/types/Textarea.d.ts +18 -13
  677. package/types/Video.d.ts +30 -30
  678. package/types/View.d.ts +4 -4
  679. package/types/WebView.d.ts +4 -4
  680. package/types/common.d.ts +2 -2
  681. package/types/index.d.ts +8 -0
  682. package/types/index.vue3.d.ts +4 -0
  683. package/dist/cjs/hls-dfcad743.js +0 -25797
  684. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  685. package/dist/collection/components/input/index.css +0 -12
  686. package/dist/components/hls.js +0 -25795
  687. package/dist/components/intersection-observer.js +0 -726
  688. package/dist/esm/hls-268fc25b.js +0 -25795
  689. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  690. package/dist/esm-es5/hls-268fc25b.js +0 -1
  691. package/dist/esm-es5/index-6bb77c5f.js +0 -2
  692. package/dist/esm-es5/index-a74b6944.js +0 -7
  693. package/dist/esm-es5/index-d1b03e47.js +0 -1
  694. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  695. package/dist/taro-components/p-00113225.system.entry.js +0 -1
  696. package/dist/taro-components/p-0030841b.system.js +0 -1
  697. package/dist/taro-components/p-0910d414.entry.js +0 -1
  698. package/dist/taro-components/p-0e37fb54.entry.js +0 -1
  699. package/dist/taro-components/p-11c962b9.entry.js +0 -1
  700. package/dist/taro-components/p-139d64f1.entry.js +0 -1
  701. package/dist/taro-components/p-175edd50.entry.js +0 -1
  702. package/dist/taro-components/p-19f218e6.js +0 -7
  703. package/dist/taro-components/p-1c95795d.entry.js +0 -1
  704. package/dist/taro-components/p-1f36cd5f.entry.js +0 -1
  705. package/dist/taro-components/p-1f88349b.entry.js +0 -1
  706. package/dist/taro-components/p-2145dccb.entry.js +0 -1
  707. package/dist/taro-components/p-215881b4.entry.js +0 -1
  708. package/dist/taro-components/p-2339a4d3.entry.js +0 -1
  709. package/dist/taro-components/p-277892fe.system.entry.js +0 -1
  710. package/dist/taro-components/p-27c756c5.system.entry.js +0 -1
  711. package/dist/taro-components/p-2aff4cdb.entry.js +0 -1
  712. package/dist/taro-components/p-2e2487bf.system.entry.js +0 -1
  713. package/dist/taro-components/p-332dc867.entry.js +0 -1
  714. package/dist/taro-components/p-333305e3.entry.js +0 -1
  715. package/dist/taro-components/p-34de4101.system.js +0 -7
  716. package/dist/taro-components/p-35160fd2.entry.js +0 -1
  717. package/dist/taro-components/p-37edf3f6.entry.js +0 -1
  718. package/dist/taro-components/p-3ad92100.system.entry.js +0 -1
  719. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  720. package/dist/taro-components/p-3cd71da3.system.entry.js +0 -1
  721. package/dist/taro-components/p-401743f9.system.entry.js +0 -1
  722. package/dist/taro-components/p-4aeb3859.system.entry.js +0 -1
  723. package/dist/taro-components/p-4d609ebb.system.entry.js +0 -1
  724. package/dist/taro-components/p-4d89b685.entry.js +0 -1
  725. package/dist/taro-components/p-527c55ca.entry.js +0 -1
  726. package/dist/taro-components/p-550c350a.entry.js +0 -1
  727. package/dist/taro-components/p-5b028f1b.js +0 -1
  728. package/dist/taro-components/p-619b9fe5.system.entry.js +0 -1
  729. package/dist/taro-components/p-6df6fd58.entry.js +0 -1
  730. package/dist/taro-components/p-6f5e162d.entry.js +0 -1
  731. package/dist/taro-components/p-70bd0541.entry.js +0 -1
  732. package/dist/taro-components/p-728b6f8f.system.entry.js +0 -1
  733. package/dist/taro-components/p-72f327e1.js +0 -1
  734. package/dist/taro-components/p-79b675c8.entry.js +0 -1
  735. package/dist/taro-components/p-7b39971e.system.entry.js +0 -1
  736. package/dist/taro-components/p-7ba17143.entry.js +0 -1
  737. package/dist/taro-components/p-7be1f603.entry.js +0 -1
  738. package/dist/taro-components/p-7e90dfef.js +0 -2
  739. package/dist/taro-components/p-817b319c.system.entry.js +0 -1
  740. package/dist/taro-components/p-907d2fe0.entry.js +0 -1
  741. package/dist/taro-components/p-93a3d6ee.entry.js +0 -1
  742. package/dist/taro-components/p-9c91aee3.system.entry.js +0 -1
  743. package/dist/taro-components/p-9e788d33.entry.js +0 -1
  744. package/dist/taro-components/p-9feeee0f.system.entry.js +0 -1
  745. package/dist/taro-components/p-a3dad439.entry.js +0 -1
  746. package/dist/taro-components/p-a4ea7a51.system.entry.js +0 -1
  747. package/dist/taro-components/p-a54735cb.entry.js +0 -1
  748. package/dist/taro-components/p-a5adbf15.system.entry.js +0 -1
  749. package/dist/taro-components/p-a744e7aa.entry.js +0 -1
  750. package/dist/taro-components/p-b1977132.entry.js +0 -1
  751. package/dist/taro-components/p-b2ad9709.entry.js +0 -1
  752. package/dist/taro-components/p-b3780eab.system.entry.js +0 -1
  753. package/dist/taro-components/p-b69bcd43.entry.js +0 -1
  754. package/dist/taro-components/p-b9c2a210.system.entry.js +0 -1
  755. package/dist/taro-components/p-bb454378.entry.js +0 -1
  756. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  757. package/dist/taro-components/p-bd6574cf.entry.js +0 -1
  758. package/dist/taro-components/p-bfea77f9.entry.js +0 -1
  759. package/dist/taro-components/p-c0a59843.entry.js +0 -1
  760. package/dist/taro-components/p-cb21f4f1.entry.js +0 -1
  761. package/dist/taro-components/p-cd0f3444.entry.js +0 -1
  762. package/dist/taro-components/p-cdd48677.system.js +0 -2
  763. package/dist/taro-components/p-d3c7f87d.js +0 -1
  764. package/dist/taro-components/p-d42968e9.system.entry.js +0 -1
  765. package/dist/taro-components/p-d55f870d.entry.js +0 -1
  766. package/dist/taro-components/p-d81577b8.system.entry.js +0 -1
  767. package/dist/taro-components/p-daabfc6e.entry.js +0 -1
  768. package/dist/taro-components/p-dda03c84.entry.js +0 -1
  769. package/dist/taro-components/p-deff0bb8.entry.js +0 -1
  770. package/dist/taro-components/p-e6e3c1d7.entry.js +0 -1
  771. package/dist/taro-components/p-e82e16a1.entry.js +0 -1
  772. package/dist/taro-components/p-ee4da4db.system.js +0 -1
  773. package/dist/taro-components/p-f003caad.entry.js +0 -1
  774. package/dist/taro-components/p-f111303f.entry.js +0 -1
  775. package/dist/taro-components/p-f75d094e.system.entry.js +0 -1
  776. package/dist/taro-components/p-fbec1f96.entry.js +0 -1
  777. package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js.map +0 -1
  778. package/lib/vue2/component-lib/components.d.ts +0 -111
  779. package/lib/vue2/component-lib/components.js +0 -74
  780. package/lib/vue2/component-lib/components.js.map +0 -1
  781. package/lib/vue2/component-lib/createComponent.d.ts +0 -14
  782. package/lib/vue2/component-lib/createComponent.js +0 -23
  783. package/lib/vue2/component-lib/createComponent.js.map +0 -1
  784. package/lib/vue2/component-lib/createFormsComponent.d.ts +0 -22
  785. package/lib/vue2/component-lib/createFormsComponent.js +0 -53
  786. package/lib/vue2/component-lib/createFormsComponent.js.map +0 -1
  787. package/lib/vue2/component-lib/icon.d.ts +0 -16
  788. package/lib/vue2/component-lib/icon.js +0 -23
  789. package/lib/vue2/component-lib/icon.js.map +0 -1
  790. package/lib/vue2/component-lib/image.d.ts +0 -16
  791. package/lib/vue2/component-lib/image.js +0 -24
  792. package/lib/vue2/component-lib/image.js.map +0 -1
  793. package/lib/vue2/component-lib/index.d.ts +0 -1
  794. package/lib/vue2/component-lib/index.js +0 -25
  795. package/lib/vue2/component-lib/index.js.map +0 -1
  796. package/lib/vue2/component-lib/mixins/listeners.d.ts +0 -6
  797. package/lib/vue2/component-lib/mixins/listeners.js +0 -14
  798. package/lib/vue2/component-lib/mixins/listeners.js.map +0 -1
  799. package/lib/vue2/component-lib/mixins/refs.d.ts +0 -5
  800. package/lib/vue2/component-lib/mixins/refs.js +0 -53
  801. package/lib/vue2/component-lib/mixins/refs.js.map +0 -1
  802. package/lib/vue2/component-lib/picker.d.ts +0 -25
  803. package/lib/vue2/component-lib/picker.js +0 -41
  804. package/lib/vue2/component-lib/picker.js.map +0 -1
  805. package/lib/vue2/component-lib/scroll-view.d.ts +0 -17
  806. package/lib/vue2/component-lib/scroll-view.js +0 -35
  807. package/lib/vue2/component-lib/scroll-view.js.map +0 -1
  808. package/lib/vue2/component-lib/text.d.ts +0 -16
  809. package/lib/vue2/component-lib/text.js +0 -24
  810. package/lib/vue2/component-lib/text.js.map +0 -1
  811. package/lib/vue2/components-loader.d.ts +0 -2
  812. package/lib/vue2/components-loader.js +0 -21
  813. package/lib/vue2/components-loader.js.map +0 -1
  814. package/lib/vue2/components.d.ts +0 -373
  815. package/lib/vue2/components.js +0 -583
  816. package/lib/vue2/components.js.map +0 -1
  817. package/lib/vue2/index.d.ts +0 -1
  818. package/lib/vue2/index.js +0 -2
  819. package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -4
  820. package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -1
  821. package/lib/vue2/vue-component-lib/utils.d.ts +0 -10
  822. package/lib/vue2/vue-component-lib/utils.js +0 -51
  823. package/lib/vue2/vue-component-lib/utils.js.map +0 -1
  824. /package/lib/react/node_modules/.pnpm/{tslib@2.6.2 → @rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5}/node_modules/tslib/tslib.es6.js +0 -0
  825. /package/lib/{vue2 → solid}/index.js.map +0 -0
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-6bb77c5f.js";import{c as classnames}from"./index-a74b6944.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][type=warn]{border:1px solid #e64340;color:#e64340}taro-button-core[plain][type=warn]:not([disabled]):active{border-color:rgba(230, 67, 64, 0.6);background-color:transparent;color:rgba(230, 67, 64, 0.6)}taro-button-core[plain][type=warn]::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.onClick=function(o){if(this.disabled){o.stopPropagation()}};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};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-9924aee9.js";import{c as classnames}from"./index-b9522531.js";var indexCss=".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}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:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.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]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}";var Button=function(){function t(t){registerInstance(this,t);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}t.prototype.onClick=function(t){if(this.disabled){t.stopPropagation()}};t.prototype.onTouchStart=function(){var t=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}};t.prototype.onTouchEnd=function(){var t=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};t.prototype.render=function(){var t;var o=this,r=o.disabled,e=o.hoverClass,a=o.type,i=o.size,n=o.plain,l=o.loading,d=o.hover;var s=classnames((t={},t["".concat(e)]=d&&!r,t));return h(Host,{class:s,type:a,plain:n,loading:l,size:i,disabled:r},l&&h("i",{class:"weui-loading"}),h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Button.style=indexCss;export{Button as taro_button_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.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-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.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 +1 @@
1
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-6bb77c5f.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.height=undefined;this.width=undefined;this.nativeProps={}}t.prototype.componentDidRender=function(){var t=this.el.children[0];if(!this.height||!this.width){var e=window.getComputedStyle(t);this.height||(this.height=e.height);this.width||(this.width=e.width)}t.height=parseInt(this.height);t.width=parseInt(this.width)};t.prototype.render=function(){var t=this,e=t.canvasId,i=t.nativeProps;return h("canvas",Object.assign({"canvas-id":e,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchCancel:this.onTouchEnd,onTouchEnd:this.onTouchEnd},i))};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-9924aee9.js";var indexCss="taro-canvas-core{width:300px;height:150px;display:block;position:relative}";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.height=undefined;this.width=undefined;this.nativeProps={}}t.prototype.componentDidRender=function(){var t=this.el.children[0];if(!this.height||!this.width){var e=window.getComputedStyle(t);this.height||(this.height=e.height);this.width||(this.width=e.width)}t.height=parseInt(this.height);t.width=parseInt(this.width)};t.prototype.render=function(){var t=this,e=t.canvasId,i=t.nativeProps;return h("canvas",Object.assign({"canvas-id":e,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchCancel:this.onTouchEnd,onTouchEnd:this.onTouchEnd},i))};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 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ChannelLive=function(){function n(n){registerInstance(this,n)}n.prototype.componentDidLoad=function(){notSupport("ChannelLive",this)};n.prototype.render=function(){return h(Host,null)};return n}();export{ChannelLive as taro_channel_live_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ChannelLive=function(){function n(n){registerInstance(this,n)}n.prototype.componentDidLoad=function(){notSupport("ChannelLive",this)};n.prototype.render=function(){return h(Host,null)};return n}();export{ChannelLive as taro_channel_live_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ChannelVideo=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("ChannelVideo",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{ChannelVideo as taro_channel_video_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ChannelVideo=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("ChannelVideo",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{ChannelVideo as taro_channel_video_core};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-6bb77c5f.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,r=t.checked,o=t.name,n=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:n},checked:r,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 __classPrivateFieldSet=undefined&&undefined.__classPrivateFieldSet||function(e,t,r,o,n){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r};var __classPrivateFieldGet=undefined&&undefined.__classPrivateFieldGet||function(e,t,r,o){if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?o:r==="a"?o.call(e):o?o.value:t.get(e)};var _CheckboxGroup_value;var CheckboxGroup=function(){function e(e){registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.uniqueName=Date.now().toString(36);_CheckboxGroup_value.set(this,void 0);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");__classPrivateFieldSet(this,_CheckboxGroup_value,this.getValues(t),"f");this.onChange.emit({value:__classPrivateFieldGet(this,_CheckboxGroup_value,"f")})};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(!__classPrivateFieldGet(e,_CheckboxGroup_value,"f")){var t=e.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(e,_CheckboxGroup_value,e.getValues(t),"f")}return __classPrivateFieldGet(e,_CheckboxGroup_value,"f")},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}();_CheckboxGroup_value=new WeakMap;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-9924aee9.js";var indexCss='page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{-ms-flex-align:initial;align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{-ms-flex:1;flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-48%)scale(.73);transform:translate(-50%,-48%)scale(.73)}';var Checkbox=function(){function e(e){var i=this;registerInstance(this,e);this.onChange=createEvent(this,"checkboxchange",7);this.handleChange=function(e){e.stopPropagation();i.onChange.emit({value:i.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 i=this,r=i.checked,l=i.name,t=i.color,o=i.value,a=i.disabled,c=i.nativeProps;return h(Host,{className:"weui-cells_checkbox"},h("input",Object.assign({ref:function(i){if(!i)return;e.inputEl=i;if(e.id)i.setAttribute("id",e.id)},type:"checkbox",value:o,name:l,class:"taro-checkbox_checked",style:{color:t},checked:r,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 __classPrivateFieldSet=undefined&&undefined.__classPrivateFieldSet||function(e,i,r,l,t){if(l==="m")throw new TypeError("Private method is not writable");if(l==="a"&&!t)throw new TypeError("Private accessor was defined without a setter");if(typeof i==="function"?e!==i||!t:!i.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return l==="a"?t.call(e,r):t?t.value=r:i.set(e,r),r};var __classPrivateFieldGet=undefined&&undefined.__classPrivateFieldGet||function(e,i,r,l){if(r==="a"&&!l)throw new TypeError("Private accessor was defined without a getter");if(typeof i==="function"?e!==i||!l:!i.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?l:r==="a"?l.call(e):l?l.value:i.get(e)};var _CheckboxGroup_value;var CheckboxGroup=function(){function e(e){registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.uniqueName=Date.now().toString(36);_CheckboxGroup_value.set(this,void 0);this.name=undefined}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var i=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,_CheckboxGroup_value,this.getValues(i),"f");this.onChange.emit({value:__classPrivateFieldGet(this,_CheckboxGroup_value,"f")})};e.prototype.componentDidLoad=function(){var e=this;var i=this.el.querySelectorAll("taro-checkbox-core");i.forEach((function(i){i.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!__classPrivateFieldGet(e,_CheckboxGroup_value,"f")){var i=e.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(e,_CheckboxGroup_value,e.getValues(i),"f")}return __classPrivateFieldGet(e,_CheckboxGroup_value,"f")},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var i=e.querySelector("input");return i===null||i===void 0?void 0:i.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}();_CheckboxGroup_value=new WeakMap;export{Checkbox as taro_checkbox_core,CheckboxGroup as taro_checkbox_group_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var CommentDetail=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("CommentDetail",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{CommentDetail as taro_comment_detail_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var CommentDetail=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("CommentDetail",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{CommentDetail as taro_comment_detail_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var CommentList=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("CommentList",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{CommentList as taro_comment_list_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var CommentList=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("CommentList",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{CommentList as taro_comment_list_core};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-6bb77c5f.js";export{s as setNonce}from"./index-6bb77c5f.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(JSON.parse('[["taro-checkbox-core_2",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"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]},[[1,"touchstart","onTouchStart"],[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],"zoom":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"],"deep":[4]}]]],["taro-ad-core",[[0,"taro-ad-core"]]],["taro-ad-custom-core",[[0,"taro-ad-custom-core"]]],["taro-animation-video-core",[[0,"taro-animation-video-core"]]],["taro-animation-view-core",[[0,"taro-animation-view-core"]]],["taro-ar-camera-core",[[0,"taro-ar-camera-core"]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-aweme-data-core",[[0,"taro-aweme-data-core"]]],["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":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["taro-channel-live-core",[[0,"taro-channel-live-core"]]],["taro-channel-video-core",[[0,"taro-channel-video-core"]]],["taro-comment-detail-core",[[0,"taro-comment-detail-core"]]],["taro-comment-list-core",[[0,"taro-comment-list-core"]]],["taro-contact-button-core",[[0,"taro-contact-button-core"]]],["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-follow-swan-core",[[0,"taro-follow-swan-core"]]],["taro-form-core",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core",[[0,"taro-functional-page-navigator-core"]]],["taro-grid-view-core",[[0,"taro-grid-view-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],"didLoad":[32]}]]],["taro-inline-payment-panel-core",[[0,"taro-inline-payment-panel-core"]]],["taro-input-core",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]]],["taro-keyboard-accessory-core",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-lifestyle-core",[[0,"taro-lifestyle-core"]]],["taro-like-core",[[0,"taro-like-core"]]],["taro-list-view-core",[[0,"taro-list-view-core"]]],["taro-live-player-core",[[0,"taro-live-player-core"]]],["taro-live-pusher-core",[[0,"taro-live-pusher-core"]]],["taro-login-core",[[0,"taro-login-core"]]],["taro-lottie-core",[[0,"taro-lottie-core"]]],["taro-map-core",[[0,"taro-map-core"]]],["taro-match-media-core",[[0,"taro-match-media-core"]]],["taro-native-slot-core",[[0,"taro-native-slot-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-core",[[4,"taro-pull-to-refresh-core",{"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],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["taro-root-portal-core",[[0,"taro-root-portal-core"]]],["taro-rtc-room-core",[[0,"taro-rtc-room-core"]]],["taro-rtc-room-item-core",[[0,"taro-rtc-room-item-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"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["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":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["taro-slot-core",[[0,"taro-slot-core"]]],["taro-snapshot-core",[[0,"taro-snapshot-core"]]],["taro-sticky-header-core",[[0,"taro-sticky-header-core"]]],["taro-sticky-section-core",[[0,"taro-sticky-section-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-tab-item-core",[[0,"taro-tab-item-core"]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-tabs-core",[[0,"taro-tabs-core"]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["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":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"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],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"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],"getHlsObject":[64],"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-9924aee9.js";export{s as setNonce}from"./index-9924aee9.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(JSON.parse('[["taro-checkbox-core_2",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"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]},[[1,"touchstart","onTouchStart"],[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],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32],"observerFirst":[32],"observerLast":[32]}],[0,"taro-swiper-item-core",{"itemId":[1,"item-id"],"deep":[4]}]]],["taro-ad-core",[[0,"taro-ad-core"]]],["taro-ad-custom-core",[[0,"taro-ad-custom-core"]]],["taro-animation-video-core",[[0,"taro-animation-video-core"]]],["taro-animation-view-core",[[0,"taro-animation-view-core"]]],["taro-ar-camera-core",[[0,"taro-ar-camera-core"]]],["taro-audio-core",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["taro-aweme-data-core",[[0,"taro-aweme-data-core"]]],["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":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["taro-camera-core",[[0,"taro-camera-core"]]],["taro-canvas-core",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["taro-channel-live-core",[[0,"taro-channel-live-core"]]],["taro-channel-video-core",[[0,"taro-channel-video-core"]]],["taro-comment-detail-core",[[0,"taro-comment-detail-core"]]],["taro-comment-list-core",[[0,"taro-comment-list-core"]]],["taro-contact-button-core",[[0,"taro-contact-button-core"]]],["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-draggable-sheet-core",[[0,"taro-draggable-sheet-core"]]],["taro-editor-core",[[0,"taro-editor-core"]]],["taro-follow-swan-core",[[0,"taro-follow-swan-core"]]],["taro-form-core",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["taro-functional-page-navigator-core",[[0,"taro-functional-page-navigator-core"]]],["taro-grid-builder-core",[[0,"taro-grid-builder-core"]]],["taro-grid-view-core",[[0,"taro-grid-view-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],"didLoad":[32]}]]],["taro-inline-payment-panel-core",[[0,"taro-inline-payment-panel-core"]]],["taro-input-core",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]]],["taro-keyboard-accessory-core",[[0,"taro-keyboard-accessory-core"]]],["taro-label-core",[[4,"taro-label-core",{"for":[1]}]]],["taro-lifestyle-core",[[0,"taro-lifestyle-core"]]],["taro-like-core",[[0,"taro-like-core"]]],["taro-list-builder-core",[[0,"taro-list-builder-core"]]],["taro-list-view-core",[[0,"taro-list-view-core"]]],["taro-live-player-core",[[0,"taro-live-player-core"]]],["taro-live-pusher-core",[[0,"taro-live-pusher-core"]]],["taro-login-core",[[0,"taro-login-core"]]],["taro-lottie-core",[[0,"taro-lottie-core"]]],["taro-map-core",[[0,"taro-map-core",{"latitude":[2],"longitude":[2],"scale":[2],"minScale":[2,"min-scale"],"maxScale":[2,"max-scale"],"markers":[16],"polyline":[16],"circles":[16],"polygons":[16],"subkey":[1],"layerStyle":[2,"layer-style"],"rotate":[2],"skew":[2],"showCompass":[4,"show-compass"],"showScale":[4,"show-scale"],"enableOverlooking":[4,"enable-overlooking"],"enableZoom":[4,"enable-zoom"],"enableScroll":[4,"enable-scroll"],"enableRotate":[4,"enable-rotate"],"enableSatellite":[4,"enable-satellite"],"enableTraffic":[4,"enable-traffic"],"enableBuilding":[4,"enable-building"],"enableAutoMaxOverlooking":[4,"enable-auto-max-overlooking"],"enable3D":[4,"enable-3-d"],"width":[1],"height":[1]}]]],["taro-match-media-core",[[0,"taro-match-media-core"]]],["taro-native-slot-core",[[0,"taro-native-slot-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-nested-scroll-body-core",[[0,"taro-nested-scroll-body-core"]]],["taro-nested-scroll-header-core",[[0,"taro-nested-scroll-header-core"]]],["taro-official-account-core",[[0,"taro-official-account-core"]]],["taro-open-container-core",[[0,"taro-open-container-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-core",[[4,"taro-pull-to-refresh-core",{"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],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["taro-root-portal-core",[[0,"taro-root-portal-core"]]],["taro-rtc-room-core",[[0,"taro-rtc-room-core"]]],["taro-rtc-room-item-core",[[0,"taro-rtc-room-item-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"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["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":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["taro-slot-core",[[0,"taro-slot-core"]]],["taro-snapshot-core",[[0,"taro-snapshot-core"]]],["taro-span-core",[[0,"taro-span-core"]]],["taro-sticky-header-core",[[0,"taro-sticky-header-core"]]],["taro-sticky-section-core",[[0,"taro-sticky-section-core"]]],["taro-switch-core",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["taro-tab-item-core",[[0,"taro-tab-item-core"]]],["taro-tabbar",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["taro-tabs-core",[[0,"taro-tabs-core"]]],["taro-text-core",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["taro-textarea-core",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["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":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"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],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"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],"getHlsObject":[64],"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 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ContactButton=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("ContactButton",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{ContactButton as taro_contact_button_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ContactButton=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("ContactButton",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{ContactButton as taro_contact_button_core};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h}from"./index-6bb77c5f.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(r){this.onError.emit(r)};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-9924aee9.js";var indexCss="taro-cover-image-core{width:320px;height:240px;overflow:hidden}";var CoverImage=function(){function e(e){registerInstance(this,e);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7);this.src=undefined;this.nativeProps={}}e.prototype.imageOnLoad=function(){var e=this.imgRef,r=e.width,t=e.height;this.onLoad.emit({width:r,height:t})};e.prototype.imageOnError=function(e){this.onError.emit(e)};e.prototype.render=function(){var e=this;var r=this,t=r.src,i=r.imageOnLoad,o=r.imageOnError,n=r.nativeProps;return h("img",Object.assign({ref:function(r){return e.imgRef=r},src:t,onLoad:i.bind(this),onError:o.bind(this)},n))};return e}();CoverImage.style=indexCss;export{CoverImage as taro_cover_image_core};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host}from"./index-6bb77c5f.js";import{c as classnames}from"./index-a74b6944.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};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-9924aee9.js";import{c as classnames}from"./index-b9522531.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};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.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-9924aee9.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};
@@ -0,0 +1 @@
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var DraggableSheet=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("DraggableSheet",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{DraggableSheet as taro_draggable_sheet_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.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-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.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 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var FollowSwan=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("FollowSwan",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{FollowSwan as taro_follow_swan_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var FollowSwan=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("FollowSwan",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{FollowSwan as taro_follow_swan_core};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-6bb77c5f.js";var __classPrivateFieldSet=undefined&&undefined.__classPrivateFieldSet||function(e,t,r,i,n){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r};var __classPrivateFieldGet=undefined&&undefined.__classPrivateFieldGet||function(e,t,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(e):i?i.value:t.get(e)};var _Form_value;var Form=function(){function e(e){registerInstance(this,e);this.onSubmit=createEvent(this,"submit",7);_Form_value.set(this,{})}e.prototype.onButtonSubmit=function(e){e.stopPropagation();__classPrivateFieldSet(this,_Form_value,this.getFormValue(),"f");this.onSubmit.emit({value:__classPrivateFieldGet(this,_Form_value,"f")})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;__classPrivateFieldSet(this,_Form_value,this.getFormValue(),"f");Object.defineProperty(this.el,"value",{get:function(){return __classPrivateFieldGet(e,_Form_value,"f")},configurable:true})};e.prototype.componentDidRender=function(){var e=this;if(!this.originalAppendChild){this.originalAppendChild=this.el.appendChild;this.originalInsertBefore=this.el.insertBefore;this.originalReplaceChild=this.el.replaceChild;this.originalRemoveChild=this.el.removeChild}if(!this.form){this.el.appendChild=this.originalAppendChild;this.el.insertBefore=this.originalInsertBefore;this.el.replaceChild=this.originalReplaceChild;this.el.removeChild=this.originalRemoveChild;return}this.el.appendChild=function(t){return e.form.appendChild(t)};this.el.insertBefore=function(t,r){return e.form.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.form.replaceChild(t,r)};this.el.removeChild=function(t){return e.form.removeChild(t)}};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var i=0;i<r.length;i++){t.push(r[i])}var n={};var a={};t.forEach((function(e){if(typeof e.name!=="string")return;if(e.className.indexOf("weui-switch")!==-1){n[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){a[e.name]=true;n[e.name]=e.value}else{if(!a[e.name]){n[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(a[e.name]){n[e.name].push(e.value)}else{a[e.name]=true;n[e.name]=[e.value]}}else{if(!a[e.name]){n[e.name]=[]}}return}n[e.name]=e.value}));var o=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<o.length;s++){l.push(o[s])}l.forEach((function(e){if(typeof e.name!=="string")return;n[e.name]=e.value}));return n};e.prototype.render=function(){var e=this;return h("form",{ref:function(t){e.form=t}},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();_Form_value=new WeakMap;export{Form as taro_form_core};
1
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-9924aee9.js";var __classPrivateFieldSet=undefined&&undefined.__classPrivateFieldSet||function(e,t,r,i,n){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r};var __classPrivateFieldGet=undefined&&undefined.__classPrivateFieldGet||function(e,t,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(e):i?i.value:t.get(e)};var _Form_value;var Form=function(){function e(e){registerInstance(this,e);this.onSubmit=createEvent(this,"submit",7);_Form_value.set(this,{})}e.prototype.onButtonSubmit=function(e){e.stopPropagation();__classPrivateFieldSet(this,_Form_value,this.getFormValue(),"f");this.onSubmit.emit({value:__classPrivateFieldGet(this,_Form_value,"f")})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;__classPrivateFieldSet(this,_Form_value,this.getFormValue(),"f");Object.defineProperty(this.el,"value",{get:function(){return __classPrivateFieldGet(e,_Form_value,"f")},configurable:true})};e.prototype.componentDidRender=function(){var e=this;if(!this.originalAppendChild){this.originalAppendChild=this.el.appendChild;this.originalInsertBefore=this.el.insertBefore;this.originalReplaceChild=this.el.replaceChild;this.originalRemoveChild=this.el.removeChild}if(!this.form){this.el.appendChild=this.originalAppendChild;this.el.insertBefore=this.originalInsertBefore;this.el.replaceChild=this.originalReplaceChild;this.el.removeChild=this.originalRemoveChild;return}this.el.appendChild=function(t){return e.form.appendChild(t)};this.el.insertBefore=function(t,r){return e.form.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.form.replaceChild(t,r)};this.el.removeChild=function(t){return e.form.removeChild(t)}};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var i=0;i<r.length;i++){t.push(r[i])}var n={};var a={};t.forEach((function(e){if(typeof e.name!=="string")return;if(e.className.indexOf("weui-switch")!==-1){n[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){a[e.name]=true;n[e.name]=e.value}else{if(!a[e.name]){n[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(a[e.name]){n[e.name].push(e.value)}else{a[e.name]=true;n[e.name]=[e.value]}}else{if(!a[e.name]){n[e.name]=[]}}return}n[e.name]=e.value}));var o=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<o.length;s++){l.push(o[s])}l.forEach((function(e){if(typeof e.name!=="string")return;n[e.name]=e.value}));return n};e.prototype.render=function(){var e=this;return h("form",{ref:function(t){e.form=t}},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();_Form_value=new WeakMap;export{Form as taro_form_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.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-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.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};
@@ -0,0 +1 @@
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var GridBuilder=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("GridBuilder",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{GridBuilder as taro_grid_builder_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var GridView=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("GridView",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{GridView as taro_grid_view_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var GridView=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("GridView",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{GridView as taro_grid_view_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{c as classnames}from"./index-a74b6944.js";var Icon=function(){function e(e){registerInstance(this,e);this.type=undefined;this.size="23";this.color=undefined}e.prototype.render=function(){var e;var r=this,n=r.type,o=r.size,s=r.color;var t=n===null||n===void 0?void 0:n.replace(/_/g,"-");var i=classnames((e={},e["weui-icon-".concat(t)]=true,e));var c={"font-size":"".concat(o,"px"),color:s};return h(Host,{class:i,style:c})};return e}();export{Icon as taro_icon_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{c as classnames}from"./index-b9522531.js";var indexCss='.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}';var Icon=function(){function e(e){registerInstance(this,e);this.type=undefined;this.size="23";this.color=undefined}e.prototype.render=function(){var e;var o=this,c=o.type,i=o.size,n=o.color;var r=c===null||c===void 0?void 0:c.replace(/_/g,"-");var t=classnames((e={},e["weui-icon-".concat(r)]=true,e));var s={"font-size":"".concat(i,"px"),color:n};return h(Host,{class:t,style:s})};return e}();Icon.style=indexCss;export{Icon as taro_icon_core};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host}from"./index-6bb77c5f.js";import{c as classnames}from"./index-a74b6944.js";var indexCss='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:320px;height:240px;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';import("./intersection-observer-8e4c7135.js");var Image=function(){function t(t){registerInstance(this,t);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7);this.src=undefined;this.mode="scaleToFill";this.lazyLoad=false;this.nativeProps={};this.aspectFillMode="width";this.didLoad=false}t.prototype.componentDidLoad=function(){var t=this;if(!this.lazyLoad)return;var i=new IntersectionObserver((function(o){if(o[o.length-1].isIntersecting){i.unobserve(t.imgRef);t.didLoad=true}}),{rootMargin:"300px 0px"});i.observe(this.imgRef)};t.prototype.imageOnLoad=function(){var t=this.imgRef,i=t.width,o=t.height,e=t.naturalWidth,a=t.naturalHeight;this.onLoad.emit({width:i,height:o});this.aspectFillMode=e>a?"width":"height"};t.prototype.imageOnError=function(t){this.onError.emit(t)};t.prototype.render=function(){var t;var i=this;var o=this,e=o.src,a=o.mode,r=a===void 0?"scaleToFill":a,s=o.lazyLoad,n=s===void 0?false:s,d=o.aspectFillMode,m=d===void 0?"width":d,g=o.imageOnLoad,l=o.imageOnError,c=o.nativeProps,p=o.didLoad;var f=classnames({"taro-img__widthfix":r==="widthFix"});var _=classnames("taro-img__mode-".concat(r.toLowerCase().replace(/\s/g,"")),(t={},t["taro-img__mode-aspectfill--".concat(m)]=r==="aspectFill",t));return h(Host,{class:f},h("img",Object.assign({ref:function(t){return i.imgRef=t},class:_,src:n&&!p?undefined:e,onLoad:g.bind(this),onError:l.bind(this)},c)))};return t}();Image.style=indexCss;export{Image as taro_image_core};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-9924aee9.js";import{c as classnames}from"./index-b9522531.js";var indexCss='img[src=""]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{height:100%;position:absolute;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}';var Image=function(){function t(t){registerInstance(this,t);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7);this.src=undefined;this.mode="scaleToFill";this.lazyLoad=false;this.nativeProps={};this.aspectFillMode="width";this.didLoad=false}t.prototype.componentDidLoad=function(){var t=this;if(!this.lazyLoad)return;var i=new IntersectionObserver((function(o){if(o[o.length-1].isIntersecting){i.unobserve(t.imgRef);t.didLoad=true}}),{rootMargin:"300px 0px"});i.observe(this.imgRef)};t.prototype.imageOnLoad=function(){var t=this.imgRef,i=t.width,o=t.height,e=t.naturalWidth,a=t.naturalHeight;this.onLoad.emit({width:i,height:o});this.aspectFillMode=e>a?"width":"height"};t.prototype.imageOnError=function(t){this.onError.emit(t)};t.prototype.render=function(){var t;var i=this;var o=this,e=o.src,a=o.lazyLoad,r=a===void 0?false:a,s=o.aspectFillMode,n=s===void 0?"width":s,d=o.imageOnLoad,m=o.imageOnError,g=o.nativeProps,l=o.didLoad;var c=this.mode||"scaleToFill";var p=classnames({"taro-img__widthfix":c==="widthFix"});var f=classnames("taro-img__mode-".concat(c.toLowerCase().replace(/\s/g,"")),(t={},t["taro-img__mode-aspectfill--".concat(n)]=c==="aspectFill",t));return h(Host,{class:p},e?h("img",Object.assign({ref:function(t){return i.imgRef=t},class:f,src:r&&!l?undefined:e,onLoad:d.bind(this),onError:m.bind(this)},g)):"")};return t}();Image.style=indexCss;export{Image as taro_image_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var InlinePaymentPanel=function(){function n(n){registerInstance(this,n)}n.prototype.componentDidLoad=function(){notSupport("InlinePaymentPanel",this)};n.prototype.render=function(){return h(Host,null)};return n}();export{InlinePaymentPanel as taro_inline_payment_panel_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var InlinePaymentPanel=function(){function n(n){registerInstance(this,n)}n.prototype.componentDidLoad=function(){notSupport("InlinePaymentPanel",this)};n.prototype.render=function(){return h(Host,null)};return n}();export{InlinePaymentPanel as taro_inline_payment_panel_core};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):o(e.value).then(r,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return u([e,t])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(i=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];o=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-6bb77c5f.js";var indexCss="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";function getTrueType(e,t,n){if(t==="search")e="search";if(n)e="password";if(typeof e==="undefined"){return"text"}if(!e){throw new Error("unexpected type")}if(e==="digit")e="number";return e}function fixControlledValue(e){return e!==null&&e!==void 0?e:""}var Input=function(){function e(e){var t=this;registerInstance(this,e);this.onInput=createEvent(this,"input",7);this.onPaste=createEvent(this,"paste",7);this.onFocus=createEvent(this,"focus",7);this.onBlur=createEvent(this,"blur",7);this.onConfirm=createEvent(this,"confirm",7);this.onChange=createEvent(this,"change",7);this.onKeyDown=createEvent(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.handleInput=function(e){e.stopPropagation();var n=t,i=n.type,o=n.maxlength,a=n.confirmType,r=n.password;if(!t.isOnComposition&&!t.onInputExcuted){var s=e.target.value;var u=getTrueType(i,a,r);t.onInputExcuted=true;if(u==="number"&&s&&o>-1&&o<=s.length){s=s.substring(0,o);e.target.value=s}t.value=s;t.onInput.emit({value:s,cursor:s.length});t.onInputExcuted=false}};this.handlePaste=function(e){e.stopPropagation();t.isOnPaste=true;t.onPaste.emit({value:e.target.value})};this.handleFocus=function(e){e.stopPropagation();t.onInputExcuted=false;t.onFocus.emit({value:e.target.value})};this.handleBlur=function(e){e.stopPropagation();t.onBlur.emit({value:e.target.value})};this.handleChange=function(e){e.stopPropagation();t.onChange.emit({value:e.target.value});if(t.isOnPaste){t.isOnPaste=false;t.value=e.target.value;t.onInput.emit({value:e.target.value,cursor:e.target.value.length})}};this.handleKeyDown=function(e){e.stopPropagation();var n=e.target.value;var i=e.keyCode||e.code;t.onInputExcuted=false;t.onKeyDown.emit({value:n,cursor:n.length,keyCode:i});i===13&&t.onConfirm.emit({value:n})};this.handleComposition=function(e){e.stopPropagation();if(!(e.target instanceof HTMLInputElement))return;if(e.type==="compositionend"){t.isOnComposition=false;t.value=e.target.value;t.onInput.emit({value:e.target.value,cursor:e.target.value.length})}else{t.isOnComposition=true}};this.handleBeforeInput=function(e){if(!e.data)return;var n=e.data&&/[0-9]/.test(e.data);if(t.type==="number"&&!n){e.preventDefault()}if(t.type==="digit"&&!n){if(e.data!=="."||e.data==="."&&e.target.value.indexOf(".")>-1){e.preventDefault()}}};this.value="";this.type=undefined;this.password=false;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.name=undefined;this.nativeProps={}}e.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.inputRef.focus();return[2]}))}))};e.prototype.watchAutoFocus=function(e,t){var n;if(!t&&e){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};e.prototype.watchValue=function(e){var t=fixControlledValue(e);if(this.inputRef.value!==t){this.inputRef.value=t}};e.prototype.componentDidLoad=function(){var e=this;var t,n,i,o,a;if(this.type==="file"){this.fileListener=function(){e.onInput.emit()};(t=this.inputRef)===null||t===void 0?void 0:t.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition);(o=this.inputRef)===null||o===void 0?void 0:o.addEventListener("beforeinput",this.handleBeforeInput);(a=this.inputRef)===null||a===void 0?void 0:a.addEventListener("textInput",this.handleBeforeInput)}};e.prototype.disconnectedCallback=function(){var e,t,n,i,o;if(this.type==="file"){(e=this.inputRef)===null||e===void 0?void 0:e.removeEventListener("change",this.fileListener)}else{(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("compositionstart",this.handleComposition);(n=this.inputRef)===null||n===void 0?void 0:n.removeEventListener("compositionend",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.removeEventListener("beforeinput",this.handleBeforeInput);(o=this.inputRef)===null||o===void 0?void 0:o.removeEventListener("textInput",this.handleBeforeInput)}};e.prototype.render=function(){var e=this;var t=this,n=t.value,i=t.type,o=t.password,a=t.placeholder,r=t.autoFocus,s=t.disabled,u=t.maxlength,l=t.confirmType,p=t.name,f=t.nativeProps;return h("input",Object.assign({ref:function(t){e.inputRef=t;if(r&&t)t.focus()},class:"weui-input",type:getTrueType(i,l,o),placeholder:a,autoFocus:r,disabled:s,maxlength:u,name:p,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},f,{value:fixControlledValue(n)}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return e}();Input.style=indexCss;export{Input as taro_input_core};
1
+ import{__awaiter,__generator}from"tslib";import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-9924aee9.js";var indexCss=".weui-input{-webkit-appearance:none;font-size:inherit;color:inherit;background-color:transparent;border:0;outline:0;width:100%;height:1.47059em;line-height:1.47059}.weui-input::-webkit-outer-spin-button,.weui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}taro-input-core{display:block}";function getTrueType(e,t,n){if(t==="search")e="search";if(n)e="password";if(typeof e==="undefined"){return"text"}if(!e){throw new Error("unexpected type")}if(e==="digit")e="number";return e}function fixControlledValue(e){return e!==null&&e!==void 0?e:""}var Input=function(){function e(e){var t=this;registerInstance(this,e);this.onInput=createEvent(this,"input",7);this.onPaste=createEvent(this,"paste",7);this.onFocus=createEvent(this,"focus",7);this.onBlur=createEvent(this,"blur",7);this.onConfirm=createEvent(this,"confirm",7);this.onChange=createEvent(this,"change",7);this.onKeyDown=createEvent(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.handleInput=function(e){e.stopPropagation();var n=t,i=n.type,o=n.maxlength,a=n.confirmType,s=n.password;if(!t.isOnComposition&&!t.onInputExcuted){var u=e.target.value;var r=getTrueType(i,a,s);t.onInputExcuted=true;if(r==="number"&&u&&o>-1&&o<=u.length){u=u.substring(0,o);e.target.value=u}t.value=u;t.onInput.emit({value:u,cursor:u.length});t.onInputExcuted=false}};this.handlePaste=function(e){e.stopPropagation();t.isOnPaste=true;t.onPaste.emit({value:e.target.value})};this.handleFocus=function(e){e.stopPropagation();t.onInputExcuted=false;t.onFocus.emit({value:e.target.value})};this.handleBlur=function(e){e.stopPropagation();t.onBlur.emit({value:e.target.value})};this.handleChange=function(e){e.stopPropagation();t.onChange.emit({value:e.target.value});if(t.isOnPaste){t.isOnPaste=false;t.value=e.target.value;t.onInput.emit({value:e.target.value,cursor:e.target.value.length})}};this.handleKeyDown=function(e){e.stopPropagation();var n=e.target.value;var i=e.keyCode||e.code;t.onInputExcuted=false;t.onKeyDown.emit({value:n,cursor:n.length,keyCode:i});i===13&&t.onConfirm.emit({value:n})};this.handleComposition=function(e){e.stopPropagation();if(!(e.target instanceof HTMLInputElement))return;if(e.type==="compositionend"){t.isOnComposition=false;t.value=e.target.value;t.onInput.emit({value:e.target.value,cursor:e.target.value.length})}else{t.isOnComposition=true}};this.handleBeforeInput=function(e){if(!e.data)return;var n=e.data&&/[0-9]/.test(e.data);if(t.type==="number"&&!n){e.preventDefault()}if(t.type==="digit"&&!n){if(e.data!=="."||e.data==="."&&e.target.value.indexOf(".")>-1){e.preventDefault()}}};this.value="";this.type=undefined;this.password=false;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.name=undefined;this.nativeProps={}}e.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.inputRef.focus();return[2]}))}))};e.prototype.watchAutoFocus=function(e,t){var n;if(!t&&e){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};e.prototype.watchValue=function(e){var t=fixControlledValue(e);if(this.inputRef.value!==t){this.inputRef.value=t}};e.prototype.componentDidLoad=function(){var e=this;var t,n,i,o,a;if(this.type==="file"){this.fileListener=function(){e.onInput.emit()};(t=this.inputRef)===null||t===void 0?void 0:t.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition);(o=this.inputRef)===null||o===void 0?void 0:o.addEventListener("beforeinput",this.handleBeforeInput);(a=this.inputRef)===null||a===void 0?void 0:a.addEventListener("textInput",this.handleBeforeInput)}};e.prototype.disconnectedCallback=function(){var e,t,n,i,o;if(this.type==="file"){(e=this.inputRef)===null||e===void 0?void 0:e.removeEventListener("change",this.fileListener)}else{(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("compositionstart",this.handleComposition);(n=this.inputRef)===null||n===void 0?void 0:n.removeEventListener("compositionend",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.removeEventListener("beforeinput",this.handleBeforeInput);(o=this.inputRef)===null||o===void 0?void 0:o.removeEventListener("textInput",this.handleBeforeInput)}};e.prototype.render=function(){var e=this;var t=this,n=t.value,i=t.type,o=t.password,a=t.placeholder,s=t.autoFocus,u=t.disabled,r=t.maxlength,l=t.confirmType,p=t.name,d=t.nativeProps;return h("input",Object.assign({ref:function(t){e.inputRef=t;if(s&&t)t.focus()},class:"weui-input",type:getTrueType(i,l,o),placeholder:a,autoFocus:s,disabled:u,maxlength:r,name:p,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d,{value:fixControlledValue(n)}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return e}();Input.style=indexCss;export{Input as taro_input_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var KeyboardAccessory=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("KeyboardAccessory",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{KeyboardAccessory as taro_keyboard_accessory_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var KeyboardAccessory=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("KeyboardAccessory",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{KeyboardAccessory as taro_keyboard_accessory_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h}from"./index-6bb77c5f.js";var Label=function(){function r(r){registerInstance(this,r);this.for=undefined}r.prototype.render=function(){return h("label",{htmlFor:this.for},h("slot",null))};return r}();export{Label as taro_label_core};
1
+ import{r as registerInstance,h}from"./index-9924aee9.js";var Label=function(){function e(e){registerInstance(this,e);this.for=undefined}e.prototype.render=function(){return h("label",{htmlFor:this.for},h("slot",null))};return e}();export{Label as taro_label_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Lifestyle=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Lifestyle",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Lifestyle as taro_lifestyle_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Lifestyle=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Lifestyle",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Lifestyle as taro_lifestyle_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Like=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Like",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Like as taro_like_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Like=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Like",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Like as taro_like_core};
@@ -0,0 +1 @@
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ListBuilder=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("ListBuilder",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{ListBuilder as taro_list_builder_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ListView=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("ListView",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{ListView as taro_list_view_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var ListView=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("ListView",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{ListView as taro_list_view_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var LivePlayer=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("LivePlayer",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{LivePlayer as taro_live_player_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var LivePlayer=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("LivePlayer",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{LivePlayer as taro_live_player_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var LivePusher=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("LivePusher",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{LivePusher as taro_live_pusher_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var LivePusher=function(){function r(r){registerInstance(this,r)}r.prototype.componentDidLoad=function(){notSupport("LivePusher",this)};r.prototype.render=function(){return h(Host,null)};return r}();export{LivePusher as taro_live_pusher_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Login=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("Login",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{Login as taro_login_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Login=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("Login",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{Login as taro_login_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Lottie=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Lottie",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Lottie as taro_lottie_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Lottie=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Lottie",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Lottie as taro_lottie_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var Map=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Map",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Map as taro_map_core};
1
+ import{__awaiter,__generator}from"tslib";import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-9924aee9.js";import Hammer from"hammerjs";var mapCss=".BMap_cpyCtrl,.anchorBL img,.BMap_bubble_buttons{display:none}";var Map=function(){function t(t){var e=this;registerInstance(this,t);this.onTap=createEvent(this,"tap",7);this.currentRotation=0;this._getCenterLocation=function(t){e.map.getOverlays().forEach((function(t){if(t instanceof BMapGL.Marker&&t.isCenterMarker){e.map.removeOverlay(t)}}));t.iconPath="https://img0.baidu.com/it/u=2604176863,3349829508&fm=253&fmt=auto&app=138&f=PNG?w=243&h=243";var a=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30));var o=[e.longitude,e.latitude];var i=new BMapGL.Marker(new BMapGL.Point(e.longitude,e.latitude),{icon:a});i.isCenterMarker=true;e.map.addOverlay(i);return o};this._setLocMarkerIcon=function(t){var a=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30));var o=new BMapGL.Point(116.404,39.915);var i=new BMapGL.Marker(o,{icon:a});e.map.addOverlay(i)};this._translateMarker=function(t){var a=t.destination.latitude;var o=t.destination.longitude;if(a<-80&&a>=-90){a=t.destination.latitude+10}var i=new BMapGL.Point(o,a);var n={flagId:true,flagCoordinate:true};var r={errMsg:"animationEnd:ok"};var l=e.map.getOverlays();var s=l.find((function(e){return e instanceof BMapGL.Marker&&e.id===t.markerId}));if(!s){console.error('Marker "'.concat(t.markerId,'" not found.'));n.flagId=false;return n}if(a>90||a<-90||o>180||o<-180||isNaN(a)||isNaN(o)){n.flagCoordinate=false;return n}var d=s.getPosition();var u={lng:(i.lng-d.lng)/(t.duration/16),lat:(i.lat-d.lat)/(t.duration/16)};var c=s.getRotation();var p=t.rotate;if(!e.currentRotation){e.currentRotation=p}else{e.currentRotation+=p}var h=(e.currentRotation-c)/(t.duration/16);var v=d;var f=c;if(!t.moveWithRotate&&t.autoRotate){var m=0;var g=setInterval((function(){v=new BMapGL.Point(v.lng+u.lng,v.lat+u.lat);s.setPosition(v);m++;if(m>=t.duration/16){clearInterval(g);var e=0;var a=setInterval((function(){f+=h;s.setRotation(f);e++;if(e>=t.duration/16){clearInterval(a);t===null||t===void 0?void 0:t.animationEnd(r)}}),16)}}),16)}else if(t.moveWithRotate&&t.autoRotate){var b=0;var w=setInterval((function(){v=new BMapGL.Point(v.lng+u.lng,v.lat+u.lat);s.setPosition(v);f+=h;s.setRotation(f);b++;if(b>=t.duration/16){clearInterval(w);t===null||t===void 0?void 0:t.animationEnd(r)}}),16)}else if(t.moveWithRotate&&!t.autoRotate){var y=0;var M=setInterval((function(){v=new BMapGL.Point(v.lng+u.lng,v.lat+u.lat);s.setPosition(v);y++;if(y>=t.duration/16){clearInterval(M);t===null||t===void 0?void 0:t.animationEnd(r)}}),16)}return n};this._includePoints=function(t){var a=t.points.map((function(t){return new BMapGL.Point(t.longitude,t.latitude)}));var o=e.map.getZoom();var i=e.map.getCenter();var n=e.map.getViewport(a);e.map.centerAndZoom(n.center,n.zoom);var r=e.map.getBounds();var l=true;for(var s=0;s<a.length;s++){if(!r.containsPoint(a[s])){e.map.centerAndZoom(i,o);l=false;break}}return l};this._getRegion=function(){var t=e.map.getBounds();var a=t.getSouthWest();var o=t.getNorthEast();return{southwest:{lat:a.lat,lng:a.lng},northeast:{lat:o.lat,lng:o.lng}}};this._getRotate=function(){var t=e.rotate;if(t<0||t>360){t=0}return t};this._getSkew=function(){var t=e.skew;if(t<0||t>40){t=0}return t};this._getScale=function(){var t=e.scale;return t};this._setCenterOffset=function(t){var a=t.offset,o=a[0],i=a[1];var n=e.map.getSize();var r=Math.max(.25*n.width,Math.min(.75*n.width,o*n.width));var l=Math.max(.25*n.height,Math.min(.75*n.height,i*n.height));var s=new BMapGL.Pixel(r,l);var d=e.map.pixelToPoint(s);e.map.panTo(d)};this._addMarkers=function(t){if(t.clear){e.map.clearOverlays(e.markers)}t.markers.forEach((function(a){var o,i,n,r,l,s,d,u,c,p,h,v,f,m;if(a.latitude&&a.longitude&&a.iconPath){var g=new BMapGL.Point(a.longitude,a.latitude);var b=new BMapGL.Marker(g,{enableClicking:true});e.map.addOverlay(b);b.id=a.id;b.alpha=a.alpha;if(a.zIndex){b.setZIndex(a.zIndex)}if(a.width&&a.height&&a.iconPath){var w=new BMapGL.Icon(a.iconPath,new BMapGL.Size(a.width,a.height));b.setIcon(w)}else if(a.iconPath){var y=new Image;y.src=a.iconPath;y.style.opacity=String(a.alpha);y.onload=function(){var t=new BMapGL.Size(y.width,y.height);var e=new BMapGL.Icon(y.src,t);e.imageOffset=new BMapGL.Size(0,0,a.alpha||1);b.setIcon(e)}}else{console.error("没有找到iconPath图片路径");return}var M=a.rotate?a.rotate:0;if(M){b.setRotation(M)}if(a.anchor){var x=((i=(o=a.anchor)===null||o===void 0?void 0:o.x)!==null&&i!==void 0?i:0)*(a.width||0);var B=((r=(n=a.anchor)===null||n===void 0?void 0:n.y)!==null&&r!==void 0?r:0)*(a.height||0);b.setOffset(new BMapGL.Size(x,B))}if(!a.callout&&a.title){var L=new Hammer(e.mapRef);L.on("tap",(function(a){var o=a.center;var i=o.x;var n=o.y;var r=15;t.markers.forEach((function(t){var a=document.getElementsByClassName("bmap-container")[0];var o=a.getBoundingClientRect();var l=o.left;var s=o.top;var d=new BMapGL.Point(t.longitude,t.latitude);var u=e.map.pointToPixel(d);var c=u.x+l;var p=u.y+s;var h=Math.sqrt(Math.pow(i-c,2)+Math.pow(n-p,2));if(h<r&&t.id===b.id){var v='<div style="text-align:center">'.concat(t.title,"</div>");var f=new BMapGL.InfoWindow(v);e.map.openInfoWindow(f,g)}}))}))}if(a.callout){var x=((l=a.callout)===null||l===void 0?void 0:l.anchorX)?(s=a.callout)===null||s===void 0?void 0:s.anchorX:0;var B=((d=a.callout)===null||d===void 0?void 0:d.anchorY)?(u=a.callout)===null||u===void 0?void 0:u.anchorY:0;var _=new BMapGL.InfoWindow('<div style="\n padding: '.concat((c=a.callout)===null||c===void 0?void 0:c.padding,"px;\n color:").concat((p=a.callout)===null||p===void 0?void 0:p.color,";\n text-align:").concat((h=a.callout)===null||h===void 0?void 0:h.textAlign,';"\n >\n <p style="font-size:').concat((v=a.callout)===null||v===void 0?void 0:v.fontSize,'px">').concat(((f=a.callout)===null||f===void 0?void 0:f.content)||"","</p>\n </div>"),{width:200,height:100,offset:new BMapGL.Size(x-24,B-20)});b.callout=_;e.map.addOverlay(b);if(((m=a.callout)===null||m===void 0?void 0:m.display)==="ALWAYS"){b.callout.disableCloseOnClick();var P=b.getPosition();b.callout.addEventListener("open",(function(){var t,e,o,i;console.log(b.callout);var n=document.querySelector(".BMap_bubble_pop");if(n){var r=n.querySelector(".triangle");if(!r){r=document.createElement("div");r.className="triangle";n.appendChild(r)}var l=document.querySelector(".BMap_bubble_pop>img");if(l){l.setAttribute("style","position: absolute;transform: translate(-50%, 0); top: ".concat(P.lat-100,"px; left: ").concat(P.lng-20,"px;display:none"))}var s=(t=a.callout)===null||t===void 0?void 0:t.bgColor;var d=((e=a.callout)===null||e===void 0?void 0:e.borderWidth)||5;var u=(o=a.callout)===null||o===void 0?void 0:o.borderColor;var c=(i=a.callout)===null||i===void 0?void 0:i.borderRadius;d=Math.min(d,15);r.setAttribute("style","width:0;height:0;border-left:".concat(d,"px solid transparent;border-right:").concat(d,"px solid transparent;border-top:").concat(d,"px solid ").concat(u,";position:absolute;left:83px;bottom:-").concat(2*d,"px"));n.setAttribute("style","background-color:".concat(s,";top:").concat(P.lat-120,"px; left:").concat(P.lng-100,"px;position: absolute;border: ").concat(d,"px solid ").concat(u,";border-radius:").concat(c,"px; "))}}));e.map.openInfoWindow(b.callout,g)}else{var L=new Hammer(e.mapRef);L.on("tap",(function(a){var o=a.center;var i=o.x;var n=o.y;var r=15;t.markers.forEach((function(t){var a=document.getElementsByClassName("bmap-container")[0];var o=a.getBoundingClientRect();var l=o.left;var s=o.top;var d=new BMapGL.Point(t.longitude,t.latitude);var u=e.map.pointToPixel(d);var c=u.x+l;var p=u.y+s;var h=Math.sqrt(Math.pow(i-c,2)+Math.pow(n-p,2));if(h<r&&t.id===b.id){var v=b.getPosition();b.callout.addEventListener("open",(function(){var e,a,o,i;console.log(b.callout);var n=document.querySelector(".BMap_bubble_pop");if(n){var r=n.querySelector(".triangle");if(!r){r=document.createElement("div");r.className="triangle";n.appendChild(r)}var l=document.querySelector(".BMap_bubble_pop>img");if(l){l.setAttribute("style","position: absolute;transform: translate(-50%, 0); top: ".concat(v.lat-100,"px; left: ").concat(v.lng-20,"px;display:none"))}var s=(e=t.callout)===null||e===void 0?void 0:e.bgColor;var d=((a=t.callout)===null||a===void 0?void 0:a.borderWidth)||5;var u=(o=t.callout)===null||o===void 0?void 0:o.borderColor;var c=(i=t.callout)===null||i===void 0?void 0:i.borderRadius;d=Math.min(d,15);r.setAttribute("style","width:0;height:0;border-left:".concat(d,"px solid transparent;border-right:").concat(d,"px solid transparent;border-top:").concat(d,"px solid ").concat(u,";position:absolute;left:83px;bottom:-").concat(2*d,"px"));n.setAttribute("style","background-color:".concat(s,";top:").concat(v.lat-120,"px; left:").concat(v.lng-100,"px;position: absolute;border: ").concat(d,"px solid ").concat(u,";border-radius:").concat(c,"px; "))}}));e.map.openInfoWindow(b.callout,g)}else{b.callout.enableCloseOnClick()}}))}))}}if(a.label){var G=a.label.content||"";var C={position:g,offset:new BMapGL.Size(a.label.anchorX||0,a.label.anchorY||0)};var S=new BMapGL.Label(G,C);S.setStyle({color:a.label.color,fontSize:a.label.fontSize+"px",borderWidth:a.label.borderWidth+"px",borderColor:a.label.borderColor,borderRadius:a.label.borderRadius+"px",background:a.label.bgColor,padding:a.label.padding+"px"});b.setLabel(S)}}}))};this._removeMarkers=function(t){var a=e.map.getOverlays();var o={};t.markerIds.forEach((function(t){var i=a.find((function(e){return e instanceof BMapGL.Marker&&String(e.id)===t}));o=i;e.map.removeOverlay(i)}));return o};this._moveAlong=function(t){var a=t.path;var o=t.markerId;var i=t.duration;var n=t.autoRotate;var r=e.map.getOverlays().find((function(t){return t instanceof BMapGL.Marker&&t.id===o}));var l=a.map((function(t){return new BMapGL.Point(t.longitude,t.latitude)}));var s={flagId:true,flagCoordinate:true};if(!r){console.error('Marker "'.concat(o,'" not found.'));s.flagId=false;return s}for(var d=0;d<l.length;d++){var u=l[d];if(u.lat<-80&&u.lat>=-90){u.lat+=10}if(u.lng<-180||u.lng>180||u.lat<-90||u.lat>90||isNaN(u.lng)||isNaN(u.lat)){s.flagCoordinate=false;return s}}if(s.flagId&&s.flagCoordinate){var c=performance.now();var p=function(t){var a=t-c;var o=Math.min(a/i,1);var s=e.getPointOnPath(l,o);r.setPosition(s);if(n&&o<1){var d=e.getPointOnPath(l,Math.min(o+.01,1));var u=e.calculateRotation(s,d);r.setRotation(u)}if(o<1){requestAnimationFrame(p)}else{r.setPosition(l[l.length-1]);r.setRotation(0)}};requestAnimationFrame(p)}return s};this.getPointOnPath=function(t,a){var o=e.calculateTotalLength(t);var i=o*a;var n=0;for(var r=0;r<t.length-1;r++){var l=e.map.getDistance(t[r],t[r+1]);if(n+l>=i){var s=(i-n)/l;var d=t[r+1].lng-t[r].lng;var u=t[r+1].lat-t[r].lat;var c=t[r].lng+d*s;var p=t[r].lat+u*s;return new BMapGL.Point(c,p)}n+=l}return t[t.length-1]};this.calculateTotalLength=function(t){var a=0;for(var o=0;o<t.length-1;o++){a+=e.map.getDistance(t[o],t[o+1])}return a};this.calculateRotation=function(t,e){var a=e.lng-t.lng;var o=e.lat-t.lat;var i=Math.atan2(o,a)*(180/Math.PI);i=90-i;return i};this._addGroundOverlay=function(t){var a=t.src,o=t.opacity,i=t.bounds,n=t.visible,r=t.id,l=t.zIndex;var s=true;if(i.southwest.longitude>=i.northeast.longitude||i.southwest.latitude>=i.northeast.latitude){s=false;return}if(i.southwest.latitude>90||i.southwest.latitude<-90||i.southwest.longitude>180||i.southwest.longitude<-180||isNaN(i.southwest.latitude)||isNaN(i.southwest.longitude)){s=false;return}if(i.northeast.latitude>90||i.northeast.latitude<-90||i.northeast.longitude>180||i.northeast.longitude<-180||isNaN(i.northeast.latitude)||isNaN(i.northeast.longitude)){s=false;return}var d=new BMapGL.Bounds(new BMapGL.Point(i.southwest.longitude,i.southwest.latitude),new BMapGL.Point(i.northeast.longitude,i.northeast.latitude));function u(t,e,a,o,i,n,r){this._bounds=t;this._imageUrl=e;this._map=a;this._visible=o;this._opacity=i;this._zIndex=n;this._id=r}u.prototype=new BMapGL.Overlay;u.prototype.initialize=function(t){var e=this;if(document.getElementById(this._id)){var a=document.getElementById(this._id);a===null||a===void 0?void 0:a.remove()}this._map=t;if(!this._div){var o=document.createElement("div");o.id=this._id;o.style.position="absolute";o.style.border="none";o.style.zIndex=this._zIndex;var i=document.createElement("img");i.src=this._imageUrl;var n=this._opacity<0?"1":this._opacity;i.style.opacity=n;o.appendChild(i);this._div=o}t.addEventListener("zoomend",(function(){var a=t.pointToOverlayPixel(e._bounds.getSouthWest());var o=t.pointToOverlayPixel(e._bounds.getNorthEast());var i=o.x-a.x;var n=a.y-o.y;e._div.style.width=i+"px";e._div.style.height=n+"px";var r=e._div.querySelector("img");r.style.width=i+"px";r.style.height=n+"px"}));t.getPanes().labelPane.appendChild(this._div);return this._div};u.prototype.draw=function(){var e={lat:t.bounds.northeast.latitude,lng:t.bounds.southwest.longitude};var a=this._map.pointToOverlayPixel(e);this._div.style.left=a.x+"px";this._div.style.top=a.y+"px";var o=this._map.getBounds();var i=this._map.pointToPixel(o.getSouthWest());var n=this._map.pointToPixel(o.getNorthEast());var r=n.x-i.x;var l=n.y-i.y;var s=this._map.getZoom();var d=r*Math.pow(2,18-s);var u=l*Math.pow(2,18-s);this._div.style.width=d+"px";this._div.style.height=u+"px";this._div.style.display=this._visible?"block":"none";var c=this._opacity<0?"1":this._opacity;this._div.getElementsByTagName("img")[0].style.opacity=c};var c=new u(d,a,e.map,n,o,l,r);e.map.addOverlay(c);var p=e.map.getOverlays().sort((function(t,e){return t._zIndex-e._zIndex}));e.groundOverlay=c;p.forEach((function(t){return t.draw()}));var h=e.map.getZoom();if(h<20){e.map.setZoom(h+1);e.map.setZoom(h)}else{e.map.setZoom(h-1);e.map.setZoom(h)}return s};this._updateGroundOverlay=function(t){var a=t.src,o=t.opacity,i=t.bounds,n=t.visible,r=t.id,l=t.zIndex;var s;var d=true;var u=true;var c={};var p=e.map.getOverlays();var h=p.find((function(t){return t._id===r}));if(!h){d=false;c={flagId:d,flagCoordinate:u};s=Object.assign({},c);return s}if(i.southwest.longitude>=i.northeast.longitude||i.southwest.latitude>=i.northeast.latitude){u=false;c={flagId:d,flagCoordinate:u};s=Object.assign({},c)}if(i.southwest.latitude>90||i.southwest.latitude<-90||i.southwest.longitude>180||i.southwest.longitude<-180||isNaN(i.southwest.latitude)||isNaN(i.southwest.longitude)){u=false;c={flagId:d,flagCoordinate:u};s=Object.assign({},c)}if(i.northeast.latitude>90||i.northeast.latitude<-90||i.northeast.longitude>180||i.northeast.longitude<-180||isNaN(i.northeast.latitude)||isNaN(i.northeast.longitude)){u=false;c={flagId:d,flagCoordinate:u};s=Object.assign({},c)}if(d&&u){var v=new BMapGL.Bounds(new BMapGL.Point(i.southwest.longitude,i.southwest.latitude),new BMapGL.Point(i.northeast.longitude,i.northeast.latitude));var f=e.map.getZoom();if(h){var m=document.getElementById(r);if(m){var g=m.querySelector("img");if(g){var b=o<0?"1":o;m.style.opacity=b;g.style.display=n?"block":"none";m.style.zIndex=l;var w=new Image;w.onload=function(){g.src=a;var t=v.getNorthEast().lng-v.getSouthWest().lng;var o=e.map.getSize().width;var i=o/Math.pow(2,18-f)*t;var n=w.naturalHeight/w.naturalWidth;var r=i*n;g.style.width="".concat(i,"px");g.style.height="".concat(r,"px");h._bounds=v;h.draw();e.map.panTo(e.map.getCenter());h.draw()};w.src=a}}}else{console.error("未找到id为".concat(r,"的元素"))}c={flagId:d,flagCoordinate:u};s=Object.assign({},c);return s}else{return s}};this._removeGroundOverlay=function(t){var a=e.map.getOverlays();var o="";var i=a.find((function(e){return e._id===t.id}));o=i;if(i){e.map.removeOverlay(i)}return o};this._setBoundary=function(t){var a=t.northeast.latitude;var o=t.southwest.latitude;var i=true;if(t.northeast.latitude<=-80&&t.northeast.latitude>=-90){a=t.northeast.latitude+10}if(t.southwest.latitude<=-80&&t.southwest.latitude>=-90){o=t.southwest.latitude+10}if(t.northeast.latitude<-90||t.northeast.latitude>90||t.northeast.longitude<-180||t.northeast.longitude>180||isNaN(t.northeast.latitude)||isNaN(t.northeast.longitude)||t.northeast.longitude<t.southwest.longitude||t.northeast.latitude<t.southwest.latitude){i=false;return}if(t.southwest.latitude<-90||t.southwest.latitude>90||t.southwest.longitude<-180||t.southwest.longitude>180||isNaN(t.southwest.latitude)||isNaN(t.southwest.longitude)){i=false;return}var n=new BMapGL.Point(t.northeast.longitude,a);var r=new BMapGL.Point(t.southwest.longitude,o);var l=new BMapGL.Bounds(r,n);var s=e.map.getViewport([n,r]);e.map.centerAndZoom(new BMapGL.Point(s.center.lng,s.center.lat),s.zoom+2);e.map.addOverlay(new BMapGL.Polygon([new BMapGL.Point(l.sw.lng,l.sw.lat),new BMapGL.Point(l.sw.lng,l.ne.lat),new BMapGL.Point(l.ne.lng,l.ne.lat),new BMapGL.Point(l.ne.lng,l.sw.lat)],{fillOpacity:0}));BMapGLLib.AreaRestriction.setBounds(e.map,l);return i};this.latitude=undefined;this.longitude=undefined;this.scale=undefined;this.minScale=undefined;this.maxScale=undefined;this.markers=undefined;this.polyline=undefined;this.circles=undefined;this.polygons=undefined;this.subkey=undefined;this.layerStyle=undefined;this.rotate=undefined;this.skew=undefined;this.showCompass=undefined;this.showScale=undefined;this.enableOverlooking=undefined;this.enableZoom=undefined;this.enableScroll=undefined;this.enableRotate=undefined;this.enableSatellite=undefined;this.enableTraffic=undefined;this.enableBuilding=undefined;this.enableAutoMaxOverlooking=undefined;this.enable3D=undefined;this.width="100%";this.height="100%"}t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,o,i,i,n,r,l,s,d,u,c,p,h,v,f,m,g,b,w,y;var M=this;return __generator(this,(function(x){switch(x.label){case 0:return[4,this.loadMapScript()];case 1:x.sent();return[4,this.LoadBmapLibScript()];case 2:x.sent();if(this.mapRef){this.mapRef.addEventListener("touchmove",(function(t){if(t.cancelable){t.preventDefault()}}));this.map=new BMapGL.Map(this.mapRef);this.map.removeControl(this.map.getMapType());if(this.latitude<-90||this.latitude>90||this.longitude<-180||this.longitude>180||isNaN(this.latitude)||isNaN(this.longitude)){console.error("请正确设置中心经纬度");return[2]}t=isNaN(this.scale)?16:this.scale;e=isNaN(this.minScale)?3:this.minScale;a=isNaN(this.maxScale)?16:this.maxScale;o=new BMapGL.Point(this.longitude,this.latitude);if(e<3||e>20){e=3;this.map.setMinZoom(3)}else{this.map.setMinZoom(e)}if(a>20||a<3){a=20;this.map.setMaxZoom(20)}else{this.map.setMaxZoom(a)}if(e>a){e=3;this.map.setMinZoom(3);a=20;this.map.setMaxZoom(20)}if(e<=16&&a>=16){if(t>=e&&t<=a){this.map.centerAndZoom(o,t)}else{t=16;this.map.centerAndZoom(o,t)}}else{if(t>=e&&t<=a){this.map.centerAndZoom(o,t)}else if(t<e){t=e;this.map.centerAndZoom(o,e)}else{t=a;this.map.centerAndZoom(o,a)}}if(Array.isArray(this.markers)){this.addMarkers(this.markers)}if(Array.isArray(this.polyline)){this.polyline.forEach((function(t){if(t.points){var e=t.points.map((function(t){return new BMapGL.Point(t.longitude,t.latitude)}));var a=new BMapGL.Polyline(e,{strokeColor:t.color,strokeWeight:t.width,strokeStyle:t.dottedLine?"dashed":"solid",strokeOpacity:1});M.map.addOverlay(a)}}))}if(Array.isArray(this.circles)){this.circles.forEach((function(t){if(t.latitude&&t.longitude&&t.radius){var e=new BMapGL.Point(t.longitude,t.latitude);var a=new BMapGL.Circle(e,t.radius,{strokeColor:t.color,fillColor:t.fillColor,strokeWeight:t.strokeWidth});M.map.addOverlay(a)}}))}if(Array.isArray(this.polygons)){this.polygons.forEach((function(t){var e=t.points.map((function(t){return new BMapGL.Point(t.longitude,t.latitude)}));var a=new BMapGL.Polygon(e,{strokeColor:t.strokeColor,fillColor:t.fillColor,strokeWeight:t.strokeWidth});M.map.addOverlay(a)}))}if(this.layerStyle===0){i=this.layerStyle;if(i){this.map.setMapStyleV2({styleId:this.subkey})}}else{i=this.layerStyle?this.layerStyle:1;if(i===1){this.map.setMapStyleV2({styleId:this.subkey})}}n=this.enable3D===true?this.enable3D:false;r=this.enableOverlooking===true?this.enableOverlooking:false;l=this.enableAutoMaxOverlooking===true?this.enableAutoMaxOverlooking:false;s=this.skew?this.skew:0;if(n===true){if(r===true){if(l===true){this.map.setTilt(75)}else{this.map.setTilt(45)}}else if(s>=0&&s<=40){this.map.setTilt(s)}else{this.map.setTilt(0)}}else{this.map.setTilt(0)}d=this.showCompass===true?this.showCompass:false;if(d===true){u=new BMapGL.NavigationControl3D({anchor:BMAP_ANCHOR_TOP_RIGHT,type:3});this.map.addControl(u)}c=this.showScale===true?this.showScale:false;if(c===true){p=new BMapGL.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT});this.map.addControl(p)}h=this.enableZoom===false?this.enableZoom:true;if(h===true){this.map.enableScrollWheelZoom(this.enableZoom)}if(this.enableZoom===true&&this.mapRef){this.map.enablePinchToZoom()}else{this.map.disablePinchToZoom()}v=this.enableScroll===false?this.enableScroll:true;if(v===true){this.map.enableDragging()}else{this.map.disableDragging()}f=this.rotate?this.rotate:0;if(f>=0&&this.rotate<=360){this.map.setHeading(this.rotate)}else{this.map.setHeading(0)}if(this.enableRotate===true){this.map.enableRotateGestures()}m=this.enableSatellite===true?this.enableSatellite:false;if(m===true&&this.mapRef){g=new BMapGL.MapTypeControl({mapTypes:[BMAP_NORMAL_MAP,BMAP_SATELLITE_MAP]});this.map.addControl(g)}b=this.enableTraffic===true?this.enableTraffic:false;if(b===true&&this.mapRef){this.map.setTrafficOn()}w=this.enableBuilding===false?this.enableBuilding:true;if(w===false){this.map.setDisplayOptions({building:false})}}if(this.map){y=new Hammer(this.mapRef);y.on("tap",(function(t){var e=M.map.pixelToPoint({x:t.center.x,y:t.center.y});M.onTap.emit({longitude:e.lng,latitude:e.lat})}))}return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.map){this.map.destroy()}};t.prototype.addMarkers=function(t){var e=this;var a=[];t.forEach((function(t){var o,i,n,r,l,s,d,u,c,p,h,v,f,m;if(a.includes(t.id)){console.error("请输入不同的marker的id");return}a.push(t.id);if(t.latitude&&t.longitude&&t.iconPath&&t.id){if(t.latitude<-90||t.latitude>90||t.longitude<-180||t.longitude>180){console.error("请正确设置marker的经纬度");return}var g=new BMapGL.Point(t.longitude,t.latitude);var b=new BMapGL.Marker(g,{enableClicking:true});b.id=t.id;b.alpha=t.alpha;if(t.zIndex){b.setZIndex(t.zIndex)}if(t.width&&t.height){var w=document.createElement("canvas");w.width=t.width*2;w.height=t.height*2;var y=w.getContext("2d");var M=new Image;M.crossOrigin="Anonymous";M.src=t.iconPath;M.onload=function(){y.drawImage(M,0,0,t.width*2,t.height*2);var e=new BMapGL.Icon(w.toDataURL(),new BMapGL.Size(t.width,t.height),{anchor:new BMapGL.Size(0,0)});b.setIcon(e)}}else{var x=new Image;x.src=t.iconPath;x.style.opacity=String(t.alpha);x.onload=function(){var e=new BMapGL.Size(x.width,x.height);var a=new BMapGL.Icon(x.src,e);a.imageOffset=new BMapGL.Size(0,0,t.alpha||1);b.setIcon(a)}}var B=t.rotate?t.rotate:0;if(B>=0&&B<=360){b.setRotation(B)}var L=(i=(o=t.anchor)===null||o===void 0?void 0:o.x)!==null&&i!==void 0?i:.5;var _=(r=(n=t.anchor)===null||n===void 0?void 0:n.y)!==null&&r!==void 0?r:1;if(L>=0&&L<=1&&_>=0&&_<=1){var P=-L*(t.width||0);var G=-_*(t.height||0);b.setOffset(new BMapGL.Size(P,G))}else{var P=-.5*(t.width||0);var G=-1*(t.height||0);b.setOffset(new BMapGL.Size(P,G))}if(!t.callout&&t.title){var C=new Hammer(e.mapRef);C.on("tap",(function(t){var a=t.center;var o=a.x;var i=a.y;var n=15;e.markers.forEach((function(t){var a=document.getElementsByClassName("bmap-container")[0];var r=a.getBoundingClientRect();var l=r.left;var s=r.top;var d=new BMapGL.Point(t.longitude,t.latitude);var u=e.map.pointToPixel(d);var c=u.x+l;var p=u.y+s;var h=Math.sqrt(Math.pow(o-c,2)+Math.pow(i-p,2));if(h<n&&t.id===b.id){var v='<div style="text-align:center">'.concat(t.title,"</div>");var f=new BMapGL.InfoWindow(v);e.map.openInfoWindow(f,g)}}))}))}if(t.callout){var P=((l=t.callout)===null||l===void 0?void 0:l.anchorX)?(s=t.callout)===null||s===void 0?void 0:s.anchorX:0;var G=((d=t.callout)===null||d===void 0?void 0:d.anchorY)?(u=t.callout)===null||u===void 0?void 0:u.anchorY:0;var S=new BMapGL.InfoWindow('<div style="\n padding: '.concat((c=t.callout)===null||c===void 0?void 0:c.padding,"px;\n color:").concat((p=t.callout)===null||p===void 0?void 0:p.color,";\n text-align:").concat((h=t.callout)===null||h===void 0?void 0:h.textAlign,';"\n >\n <p style="font-size:').concat((v=t.callout)===null||v===void 0?void 0:v.fontSize,'px">').concat(((f=t.callout)===null||f===void 0?void 0:f.content)||"","</p>\n </div>"),{width:200,height:100,offset:new BMapGL.Size(P-24,G-20)});b.callout=S;e.map.addOverlay(b);if(((m=t.callout)===null||m===void 0?void 0:m.display)==="ALWAYS"){b.callout.disableCloseOnClick();var k=b.getPosition();b.callout.addEventListener("open",(function(){var e,a,o,i;var n=document.querySelector(".BMap_bubble_pop");if(n){var r=n.querySelector(".triangle");if(!r){r=document.createElement("div");r.className="triangle";n.appendChild(r)}var l=document.querySelector(".BMap_bubble_pop>img");if(l){l.setAttribute("style","position: absolute;transform: translate(-50%, 0); top: ".concat(k.lat-100,"px; left: ").concat(k.lng-20,"px;display:none"))}var s=(e=t.callout)===null||e===void 0?void 0:e.bgColor;var d=((a=t.callout)===null||a===void 0?void 0:a.borderWidth)||5;var u=(o=t.callout)===null||o===void 0?void 0:o.borderColor;var c=(i=t.callout)===null||i===void 0?void 0:i.borderRadius;d=Math.min(d,15);r.setAttribute("style","width:0;height:0;borderLeft:".concat(d,"px solid transparent;borderRight:").concat(d,"px solid transparent;borderTop:").concat(d,"px solid ").concat(u,";position:absolute;left:83px;bottom:-").concat(2*d,"px"));n.setAttribute("style","background-color:".concat(s,";top:").concat(k.lat-120,"px; left:").concat(k.lng-100,"px;position: absolute;border: ").concat(d,"px solid ").concat(u,";border-radius:").concat(c,"px; "))}}));e.map.openInfoWindow(b.callout,g)}else{var C=new Hammer(e.mapRef);C.on("tap",(function(t){var a=t.center;var o=a.x;var i=a.y;var n=15;e.markers.forEach((function(t){var a=document.getElementsByClassName("bmap-container")[0];var r=a.getBoundingClientRect();var l=r.left;var s=r.top;var d=new BMapGL.Point(t.longitude,t.latitude);var u=e.map.pointToPixel(d);var c=u.x+l;var p=u.y+s;var h=Math.sqrt(Math.pow(o-c,2)+Math.pow(i-p,2));if(h<n&&t.id===b.id){var v=b.getPosition();b.callout.addEventListener("open",(function(){var e,a,o,i;var n=document.querySelector(".BMap_bubble_pop");if(n){var r=n.querySelector(".triangle");if(!r){r=document.createElement("div");r.className="triangle";n.appendChild(r)}var l=document.querySelector(".BMap_bubble_pop>img");if(l){l.setAttribute("style","position: absolute;transform: translate(-50%, 0); top: ".concat(v.lat-100,"px; left: ").concat(v.lng-20,"px;display:none"))}var s=(e=t.callout)===null||e===void 0?void 0:e.bgColor;var d=((a=t.callout)===null||a===void 0?void 0:a.borderWidth)||5;var u=(o=t.callout)===null||o===void 0?void 0:o.borderColor;var c=(i=t.callout)===null||i===void 0?void 0:i.borderRadius;d=Math.min(d,15);r.setAttribute("style","width:0;height:0;border-left:".concat(d,"px solid transparent;border-right:").concat(d,"px solid transparent;border-top:").concat(d,"px solid ").concat(u,";position:absolute;left:83px;bottom:-").concat(2*d,"px"));n.setAttribute("style","background-color:".concat(s,";top:").concat(v.lat-120,"px; left:").concat(v.lng-100,"px;position: absolute;border: ").concat(d,"px solid ").concat(u,";border-radius:").concat(c,"px; "))}}));e.map.openInfoWindow(b.callout,g)}else{b.callout.enableCloseOnClick()}}))}))}}if(t.label){var I=t.label.content||"";var O={position:g,offset:new BMapGL.Size(t.label.anchorX||0,t.label.anchorY||0)};var N=new BMapGL.Label(I,O);var R=t.label.borderColor?t.label.borderColor:"white";N.setStyle({color:t.label.color,fontSize:t.label.fontSize+"px",borderWidth:t.label.borderWidth+"px",borderColor:R,borderRadius:t.label.borderRadius+"px",background:t.label.bgColor,padding:t.label.padding+"px"});b.setLabel(N)}e.map.addOverlay(b)}else{console.error("请检查marker经纬度和marker自定义图标路径和id值")}}))};t.prototype.loadMapScript=function(){return new Promise((function(t,e){var a=document.createElement("script");a.src="https://api.map.baidu.com/getscript?v=3.0&type=webgl&ak=Mb1FLBD3gfnY6bup4v6zEWh6MXwsZ9eo";a.defer=true;a.onload=function(){return t()};a.onerror=e;a.type="text/javascript";document.head.appendChild(a)}))};t.prototype.LoadBmapLibScript=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,new Promise((function(t,e){var a=document.createElement("script");a.src="//mapopen.bj.bcebos.com/github/BMapGLLib/AreaRestriction/src/AreaRestriction.min.js";a.defer=true;a.type="text/javascript";a.onload=function(){t()};a.onerror=e;document.head.appendChild(a)}))]}))}))};t.prototype.render=function(){var t=this;return h(Host,null,h("div",{id:"mapContainer",ref:function(e){if(e){t.mapRef=e}},style:{width:this.width,height:this.height}}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Map.style=mapCss;export{Map as taro_map_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var MatchMedia=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("MatchMedia",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{MatchMedia as taro_match_media_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var MatchMedia=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("MatchMedia",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{MatchMedia as taro_match_media_core};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,n){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function s(e){try{c(n.next(e))}catch(e){r(e)}}function o(e){try{c(n["throw"](e))}catch(e){r(e)}}function c(e){e.done?a(e.value):i(e.value).then(s,o)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,i,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(a=0)),a)try{if(n=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];i=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,g as getElement,H as Host,c as createEvent}from"./index-6bb77c5f.js";var areaCss="taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";var MovableArea=function(){function e(e){var t=this;registerInstance(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){t.views=[];var e=t.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){t.views.push(e)}));t.updateArea()};this.handleTouchStart=function(e){var a=e.touches;if(!a||a.length<=1){return}var n={width:a[1].pageX-a[0].pageX,height:a[1].pageY-a[0].pageY};t.scaleLength=Math.sqrt(n.width*n.width+n.height*n.height);if(t.scaleArea){return}var i=function(e,t){var a=function(e,t){if(!(e=e.parentNode)){return false}return(!(e instanceof HTMLElement)||e!==document.body)&&(e===t||e===t.element||e.element===t||a(e,t))};for(var n=0;n<t.length;n++){var i=t[n];if(e===i["element"]||a(e,i)){return i}}};var r=i(a[0].target,t.views);var s=i(a[1].target,t.views);t.scaleTarget=r&&r===s?r:undefined};this.handleTouchMove=function(e){var a=e.touches;if(!a||a.length<=1){return}e.preventDefault();var n={width:a[1].pageX-a[0].pageX,height:a[1].pageY-a[0].pageY};if(t.scaleLength>0){t.updateScale(Math.sqrt(n.width*n.width+n.height*n.height)/t.scaleLength)}};this.handleTouchEnd=function(e){var a,n;if(e.touches&&e.touches.length||!e.changedTouches){return}t.scaleLength=0;if(t.scaleArea){t.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(n=(a=t.scaleTarget)===null||a===void 0?void 0:a["endScale"])===null||n===void 0?void 0:n.call(a)}t.scaleTarget=undefined};this.updateScale=function(e){var a,n;if(!e||e===1){return}if(t.scaleArea){t.views.forEach((function(t){var a;(a=t["setScale"])===null||a===void 0?void 0:a.call(t,e)}))}else{(n=(a=t.scaleTarget)===null||a===void 0?void 0:a["setScale"])===null||n===void 0?void 0:n.call(a,e)}};this.updateArea=function(){var e=window.getComputedStyle(t.element);var a=t.element.getBoundingClientRect();var n=["Left","Right"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));var i=["Top","Bottom"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));t.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:t.element,area:{height:a.height-i[0]-i[1],width:a.width-n[0]-n[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var a,n;if(t.attributeName==="class"||t.attributeName==="style"){var i=e.element.offsetWidth;var r=e.element.offsetHeight;if(i!==((a=e.offset)===null||a===void 0?void 0:a.width)||r!==((n=e.offset)===null||n===void 0?void 0:n.height)){e.updateArea()}e.offset={width:i,height:r}}}))}));this.observer.observe(this.element,{attributes:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.viewsChanged()};e.prototype.render=function(){return h(Host,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MovableArea.style=areaCss;var viewCss="taro-movable-view-core{display:inline-block;position:absolute;left:0;top:0;width:10px;height:10px}";var MovableView=function(){function e(e){var t=this;registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.onScale=createEvent(this,"scale",7);this.onHTouchMove=createEvent(this,"htouchmove",7);this.onVTouchMove=createEvent(this,"vtouchmove",7);this.translateX=0;this.translateY=0;this.origin={x:0,y:0};this.area={width:0,height:0};this.originScale=1;this.currentScale=1;this.width=0;this.height=0;this.minX=0;this.minY=0;this.maxX=0;this.maxY=0;this.baseX=0;this.baseY=0;this.offset={x:0,y:0};this.scaleOffset={x:0,y:0};this.getLimitXY=function(e,a){var n=false;e>t.maxX?(e=t.maxX,n=true):e<t.minX&&(e=t.minX,n=true);a>t.maxY?(a=t.maxY,n=true):a<t.minY&&(a=t.minY,n=true);return{x:e,y:a,outOfBounds:n}};this.animationTo=function(e,a,n,i,r,s,o){if(t.animation){t.setTransform(e,a,n,i,r,s);o===null||o===void 0?void 0:o()}else{t.setTransform(e,a,n,i,r,s)}};this.setTransform=function(e,a,n,i,r,s){e=Number(e.toFixed(1));a=Number(a.toFixed(1));n=Number((n!==null&&n!==void 0?n:t.currentScale).toFixed(3));if(!t.outOfBounds){var o=t.getLimitXY(e,a);e=o.x;a=o.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,t.scaleOffset.x);var h=c(a,t.scaleOffset.y);if(t.translateX!==e||t.translateY!==a){!r&&t.onChange.emit({x:l,y:h,source:i})}if(n!==t.currentScale){s&&t.onScale.emit({scale:n,x:l,y:h})}var u="translateX(".concat(e,"px) translateY(").concat(a,"px) translateZ(0px) scale(").concat(n,")");t.element.style.transform=u;t.element.style.webkitTransform=u;t.translateX=e;t.translateY=a;t.currentScale=n};this.updateOffset=function(){var e=function(t,a){if(t===a||!t.offsetParent){return{left:0,top:0}}var n=e(t.offsetParent,a);return{left:t.offsetLeft+n.left,top:t.offsetTop+n.top}};if(!t.parent){return}var a=e(t.element,t.parent);t.offset.x=a.left;t.offset.y=a.top};this.updateScaleOffset=function(e){if(e===void 0){e=t.currentScale}var a=t.element.getBoundingClientRect();t.height=a.height/t.currentScale;t.width=a.width/t.currentScale;t.scaleOffset.x=(t.width*e-t.width)/2;t.scaleOffset.y=(t.height*e-t.height)/2};this.updateBoundary=function(){var e=0-t.offset.x+t.scaleOffset.x;var a=t.area.width-t.width-t.offset.x-t.scaleOffset.x;t.minX=Math.min(e,a);t.maxX=Math.max(e,a);var n=0-t.offset.y+t.scaleOffset.y;var i=t.area.height-t.height-t.offset.y-t.scaleOffset.y;t.minY=Math.min(n,i);t.maxY=Math.max(n,i)};this.updateScale=function(e,a,n){if(!t.scale){return}var i=t.adjustScale(e);t.updateScaleOffset(i);t.updateBoundary();var r=t.getLimitXY(t.translateX,t.translateY),s=r.x,o=r.y;if(a){t.animationTo(s,o,i,"",true,true,n)}else if(!t.updating){t.updating=true;requestAnimationFrame((function(){t.setTransform(s,o,i,"",true,true);t.updating=false}))}};this.setOriginScale=function(e){t.originScale=e};this.adjustScale=function(e){return Math.min(10,t.scaleMax,Math.max(.5,t.scaleMin,e))};this.handleTouchStart=function(e){var a=e.touches;if(t.disabled||a.length>1||!t.element){return}var n=a[0];t.touching=true;t.firstMoveFireEvent=false;t.origin.x=n.screenX;t.origin.y=n.screenY;t.baseX=t.translateX;t.baseY=t.translateY;t.element.style.willChange="transform"};this.handleTouchMove=function(e){var a=e.touches;if(t.disabled||!t.element||t.scaling||!t.touching||a.length>1){return}e.preventDefault();var n=a[0];var i=n.screenX-t.origin.x;var r=n.screenY-t.origin.y;t.setTransform(t.xMove?i+t.baseX:0,t.yMove?r+t.baseY:0);if(!t.firstMoveFireEvent){t.firstMoveFireEvent=true;var s=Math.abs(i)>Math.abs(r)?t.onHTouchMove:t.onVTouchMove;s.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var a=e.changedTouches[0];if(t.disabled||!t.touching||!a){return}t.touching=false;var n=a.screenX-t.origin.x;var i=a.screenY-t.origin.y;t.setTransform(t.xMove?n+t.baseX:0,t.yMove?i+t.baseY:0)};this.x=0;this.y=0;this.direction="none";this.outOfBounds=false;this.inertia=false;this.friction=2;this.damping=20;this.disabled=false;this.scale=false;this.scaleMin=.5;this.scaleMax=10;this.scaleValue=1;this.animation=true}e.prototype.watchX=function(e){this.setTransform(parseFloat("".concat(e||0)),this.translateY)};e.prototype.watchY=function(e){this.setTransform(this.translateX,parseFloat("".concat(e||0)))};e.prototype.watchScaleMinOrMax=function(){if(!this.scale)return false;this.updateScale(this.currentScale,true);this.setOriginScale(this.currentScale)};e.prototype.watchScaleValue=function(e){if(!this.scale){return false}this.updateScale(e,true);this.setOriginScale(e);return e};e.prototype.setParent=function(e){var t=e.element,a=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){e=this.scale?this.scaleValue:1;this.area=a;this.parent=t;this.updateOffset();this.updateScaleOffset(e);this.updateBoundary();this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,e,"",true);this.setOriginScale(e);return[2]}))}))};e.prototype.endScale=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.scaling=false;this.setOriginScale(this.currentScale);return[2]}))}))};e.prototype.setScale=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.scale){return[2]}this.scaling=true;this.updateScale(e*this.originScale);return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var a=t.attributeName;if(a&&["class","style"].includes(a)){var n=t.oldValue;var i=t.target.getAttribute(a);if(n===i){return}var r=function(e){return e===null||e===void 0?void 0:e.split(";").filter((function(e){return!["transform","will-change"].find((function(t){return e.trim().startsWith(t)}))})).join(";")};if(a==="style"&&r(i)===r(n)){return}e.updateOffset();e.updateScaleOffset();e.updateBoundary();e.setTransform(e.translateX,e.translateY)}}))}));this.observer.observe(this.element,{attributes:true,attributeOldValue:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.element.style.transformOrigin="center";this.xMove=["horizontal","all"].includes(this.direction);this.yMove=["vertical","all"].includes(this.direction);if(this.friction<=0){this.friction=2}if(this.x||this.y){var e=parseFloat("".concat(this.x||0));var t=parseFloat("".concat(this.y||0));this.setTransform(e,t)}};e.prototype.render=function(){return h(Host,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}},enumerable:false,configurable:true});return e}();MovableView.style=viewCss;export{MovableArea as taro_movable_area_core,MovableView as taro_movable_view_core};
1
+ import{__awaiter,__generator}from"tslib";import{r as registerInstance,h,g as getElement,H as Host,c as createEvent}from"./index-9924aee9.js";import{i as isElement}from"./index-a00a7418.js";var areaCss="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";var MovableArea=function(){function e(e){var t=this;registerInstance(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){t.views=[];var e=t.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){t.views.push(e)}));t.updateArea()};this.handleTouchStart=function(e){var a=e.touches;if(!a||a.length<=1){return}var i={width:a[1].pageX-a[0].pageX,height:a[1].pageY-a[0].pageY};t.scaleLength=Math.sqrt(i.width*i.width+i.height*i.height);if(t.scaleArea){return}var n=function(e,t){var a=function(e,t){if(!(e=e.parentNode)){return false}return(!isElement(e)||e!==document.body)&&(e===t||e===t.element||e.element===t||a(e,t))};for(var i=0;i<t.length;i++){var n=t[i];if(e===n["element"]||a(e,n)){return n}}};var r=n(a[0].target,t.views);var s=n(a[1].target,t.views);t.scaleTarget=r&&r===s?r:undefined};this.handleTouchMove=function(e){var a=e.touches;if(!a||a.length<=1){return}e.preventDefault();var i={width:a[1].pageX-a[0].pageX,height:a[1].pageY-a[0].pageY};if(t.scaleLength>0){t.updateScale(Math.sqrt(i.width*i.width+i.height*i.height)/t.scaleLength)}};this.handleTouchEnd=function(e){var a,i;if(e.touches&&e.touches.length||!e.changedTouches){return}t.scaleLength=0;if(t.scaleArea){t.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(i=(a=t.scaleTarget)===null||a===void 0?void 0:a["endScale"])===null||i===void 0?void 0:i.call(a)}t.scaleTarget=undefined};this.updateScale=function(e){var a,i;if(!e||e===1){return}if(t.scaleArea){t.views.forEach((function(t){var a;(a=t["setScale"])===null||a===void 0?void 0:a.call(t,e)}))}else{(i=(a=t.scaleTarget)===null||a===void 0?void 0:a["setScale"])===null||i===void 0?void 0:i.call(a,e)}};this.updateArea=function(){var e=window.getComputedStyle(t.element);var a=t.element.getBoundingClientRect();var i=["Left","Right"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));var n=["Top","Bottom"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));t.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:t.element,area:{height:a.height-n[0]-n[1],width:a.width-i[0]-i[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var a,i;if(t.attributeName==="class"||t.attributeName==="style"){var n=e.element.offsetWidth;var r=e.element.offsetHeight;if(n!==((a=e.offset)===null||a===void 0?void 0:a.width)||r!==((i=e.offset)===null||i===void 0?void 0:i.height)){e.updateArea()}e.offset={width:n,height:r}}}))}));this.observer.observe(this.element,{attributes:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.viewsChanged()};e.prototype.render=function(){return h(Host,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MovableArea.style=areaCss;var viewCss="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";var MovableView=function(){function e(e){var t=this;registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.onScale=createEvent(this,"scale",7);this.onHTouchMove=createEvent(this,"htouchmove",7);this.onVTouchMove=createEvent(this,"vtouchmove",7);this.translateX=0;this.translateY=0;this.origin={x:0,y:0};this.area={width:0,height:0};this.originScale=1;this.currentScale=1;this.width=0;this.height=0;this.minX=0;this.minY=0;this.maxX=0;this.maxY=0;this.baseX=0;this.baseY=0;this.offset={x:0,y:0};this.scaleOffset={x:0,y:0};this.getLimitXY=function(e,a){var i=false;e>t.maxX?(e=t.maxX,i=true):e<t.minX&&(e=t.minX,i=true);a>t.maxY?(a=t.maxY,i=true):a<t.minY&&(a=t.minY,i=true);return{x:e,y:a,outOfBounds:i}};this.animationTo=function(e,a,i,n,r,s,o){if(t.animation){t.setTransform(e,a,i,n,r,s);o===null||o===void 0?void 0:o()}else{t.setTransform(e,a,i,n,r,s)}};this.setTransform=function(e,a,i,n,r,s){e=Number(e.toFixed(1));a=Number(a.toFixed(1));i=Number((i!==null&&i!==void 0?i:t.currentScale).toFixed(3));if(!t.outOfBounds){var o=t.getLimitXY(e,a);e=o.x;a=o.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,t.scaleOffset.x);var h=c(a,t.scaleOffset.y);if(t.translateX!==e||t.translateY!==a){!r&&t.onChange.emit({x:l,y:h,source:n})}if(i!==t.currentScale){s&&t.onScale.emit({scale:i,x:l,y:h})}var u="translateX(".concat(e,"px) translateY(").concat(a,"px) translateZ(0px) scale(").concat(i,")");t.element.style.transform=u;t.element.style.webkitTransform=u;t.translateX=e;t.translateY=a;t.currentScale=i};this.updateOffset=function(){var e=function(t,a){if(t===a||!t.offsetParent){return{left:0,top:0}}var i=e(t.offsetParent,a);return{left:t.offsetLeft+i.left,top:t.offsetTop+i.top}};if(!t.parent){return}var a=e(t.element,t.parent);t.offset.x=a.left;t.offset.y=a.top};this.updateScaleOffset=function(e){if(e===void 0){e=t.currentScale}var a=t.element.getBoundingClientRect();t.height=a.height/t.currentScale;t.width=a.width/t.currentScale;t.scaleOffset.x=(t.width*e-t.width)/2;t.scaleOffset.y=(t.height*e-t.height)/2};this.updateBoundary=function(){var e=0-t.offset.x+t.scaleOffset.x;var a=t.area.width-t.width-t.offset.x-t.scaleOffset.x;t.minX=Math.min(e,a);t.maxX=Math.max(e,a);var i=0-t.offset.y+t.scaleOffset.y;var n=t.area.height-t.height-t.offset.y-t.scaleOffset.y;t.minY=Math.min(i,n);t.maxY=Math.max(i,n)};this.updateScale=function(e,a,i){if(!t.scale){return}var n=t.adjustScale(e);t.updateScaleOffset(n);t.updateBoundary();var r=t.getLimitXY(t.translateX,t.translateY),s=r.x,o=r.y;if(a){t.animationTo(s,o,n,"",true,true,i)}else if(!t.updating){t.updating=true;requestAnimationFrame((function(){t.setTransform(s,o,n,"",true,true);t.updating=false}))}};this.setOriginScale=function(e){t.originScale=e};this.adjustScale=function(e){return Math.min(10,t.scaleMax,Math.max(.5,t.scaleMin,e))};this.handleTouchStart=function(e){var a=e.touches;if(t.disabled||a.length>1||!t.element){return}var i=a[0];t.touching=true;t.firstMoveFireEvent=false;t.origin.x=i.screenX;t.origin.y=i.screenY;t.baseX=t.translateX;t.baseY=t.translateY;t.element.style.willChange="transform"};this.handleTouchMove=function(e){var a=e.touches;if(t.disabled||!t.element||t.scaling||!t.touching||a.length>1){return}if(t.direction!=="horizontal"){e.preventDefault()}var i=a[0];var n=i.screenX-t.origin.x;var r=i.screenY-t.origin.y;t.setTransform(t.xMove?n+t.baseX:0,t.yMove?r+t.baseY:0);if(!t.firstMoveFireEvent){t.firstMoveFireEvent=true;var s=Math.abs(n)>Math.abs(r)?t.onHTouchMove:t.onVTouchMove;s.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var a=e.changedTouches[0];if(t.disabled||!t.touching||!a){return}t.touching=false;var i=a.screenX-t.origin.x;var n=a.screenY-t.origin.y;t.setTransform(t.xMove?i+t.baseX:0,t.yMove?n+t.baseY:0)};this.x=0;this.y=0;this.direction="none";this.outOfBounds=false;this.inertia=false;this.friction=2;this.damping=20;this.disabled=false;this.scale=false;this.scaleMin=.5;this.scaleMax=10;this.scaleValue=1;this.animation=true}e.prototype.watchX=function(e){this.setTransform(parseFloat("".concat(e||0)),this.translateY)};e.prototype.watchY=function(e){this.setTransform(this.translateX,parseFloat("".concat(e||0)))};e.prototype.watchScaleMinOrMax=function(){if(!this.scale)return false;this.updateScale(this.currentScale,true);this.setOriginScale(this.currentScale)};e.prototype.watchScaleValue=function(e){if(!this.scale){return false}this.updateScale(e,true);this.setOriginScale(e);return e};e.prototype.setParent=function(e){var t=e.element,a=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.scale?this.scaleValue:1;this.area=a;this.parent=t;this.updateOffset();this.updateScaleOffset(e);this.updateBoundary();this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,e,"",true);this.setOriginScale(e);return[2]}))}))};e.prototype.endScale=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.scaling=false;this.setOriginScale(this.currentScale);return[2]}))}))};e.prototype.setScale=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.scale){return[2]}this.scaling=true;this.updateScale(e*this.originScale);return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var a=t.attributeName;if(a&&["class","style"].includes(a)){var i=t.oldValue;var n=t.target.getAttribute(a);if(i===n){return}var r=function(e){return e===null||e===void 0?void 0:e.split(";").filter((function(e){return!["transform","will-change"].find((function(t){return e.trim().startsWith(t)}))})).join(";")};if(a==="style"&&r(n)===r(i)){return}e.updateOffset();e.updateScaleOffset();e.updateBoundary();e.setTransform(e.translateX,e.translateY)}}))}));this.observer.observe(this.element,{attributes:true,attributeOldValue:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.element.style.transformOrigin="center";this.xMove=["horizontal","all"].includes(this.direction);this.yMove=["vertical","all"].includes(this.direction);if(this.friction<=0){this.friction=2}if(this.x||this.y){var e=parseFloat("".concat(this.x||0));var t=parseFloat("".concat(this.y||0));this.setTransform(e,t)}};e.prototype.render=function(){return h(Host,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}},enumerable:false,configurable:true});return e}();MovableView.style=viewCss;export{MovableArea as taro_movable_area_core,MovableView as taro_movable_view_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var NativeSlot=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("NativeSlot",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{NativeSlot as taro_native_slot_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var NativeSlot=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("NativeSlot",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{NativeSlot as taro_native_slot_core};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-6bb77c5f.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var NavigationBar=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("NavigationBar",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{NavigationBar as taro_navigation_bar_core};
1
+ import{r as registerInstance,h,H as Host}from"./index-9924aee9.js";import{n as notSupport}from"./helper-8a85bb65.js";import"@tarojs/taro";var NavigationBar=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("NavigationBar",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{NavigationBar as taro_navigation_bar_core};