@tarojs/components 3.7.0-alpha.2 → 3.7.0-alpha.22

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 (641) hide show
  1. package/dist/cjs/helper-ad6306f6.js +31 -0
  2. package/dist/cjs/hls-00fec546.js +25673 -0
  3. package/dist/{esm/index-1d8e8acd.js → cjs/index-f6805218.js} +13 -16
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  6. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
  12. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  14. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-canvas-core.cjs.entry.js +14 -2
  16. package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-components.cjs.js +3 -3
  22. package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
  28. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  30. package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
  33. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-input-core.cjs.entry.js +7 -12
  35. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
  38. package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
  40. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  41. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  42. package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
  43. package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
  44. package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  46. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
  48. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  50. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  51. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  53. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  54. package/dist/cjs/taro-picker-core_2.cjs.entry.js +55 -51
  55. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
  56. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +4 -4
  58. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-rich-text-core.cjs.entry.js +7 -1
  60. package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
  61. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
  62. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
  63. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +16 -5
  64. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  65. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  67. package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
  68. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
  69. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
  70. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +52 -50
  71. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  72. package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
  73. package/dist/cjs/taro-tabbar.cjs.entry.js +11 -23
  74. package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
  75. package/dist/cjs/taro-text-core.cjs.entry.js +10 -7
  76. package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -9
  77. package/dist/cjs/taro-video-control_3.cjs.entry.js +8 -5
  78. package/dist/cjs/taro-view-core.cjs.entry.js +5 -11
  79. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  80. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  81. package/dist/collection/collection-manifest.json +2 -1
  82. package/dist/collection/components/button/style/index.css +12 -0
  83. package/dist/collection/components/canvas/canvas.js +48 -2
  84. package/dist/collection/components/checkbox/checkbox.js +4 -4
  85. package/dist/collection/components/image/image.js +6 -4
  86. package/dist/collection/components/image/style/index.css +2 -2
  87. package/dist/collection/components/input/input.js +9 -13
  88. package/dist/collection/components/picker/picker-group.js +29 -26
  89. package/dist/collection/components/picker/picker.js +73 -46
  90. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +1 -1
  91. package/dist/collection/components/pull-to-refresh/style/index.css +1 -2
  92. package/dist/collection/components/rich-text/rich-text.js +71 -0
  93. package/dist/collection/components/rich-text/style/index.css +16 -0
  94. package/dist/collection/components/scroll-view/scroll-view.js +38 -6
  95. package/dist/collection/components/snapshot/snapshot.js +11 -0
  96. package/dist/collection/components/swiper/swiper-item.js +34 -35
  97. package/dist/collection/components/swiper/swiper.js +16 -13
  98. package/dist/collection/components/tabbar/style/index.css +5 -1
  99. package/dist/collection/components/text/style/index.css +20 -3
  100. package/dist/collection/components/text/text.js +66 -6
  101. package/dist/collection/components/textarea/textarea.js +4 -10
  102. package/dist/collection/components/video/style/index.css +1 -0
  103. package/dist/collection/components/video/video.js +4 -1
  104. package/dist/collection/components/view/view.js +2 -9
  105. package/dist/collection/utils/helper.js +11 -0
  106. package/dist/components/helper.js +12 -1
  107. package/dist/components/hls.js +22697 -24646
  108. package/dist/components/index.d.ts +1 -0
  109. package/dist/components/index.js +1 -0
  110. package/dist/components/index2.js +12 -17
  111. package/dist/components/picker-group.js +9 -9
  112. package/dist/components/taro-button-core.js +1 -1
  113. package/dist/components/taro-canvas-core.js +16 -2
  114. package/dist/components/taro-checkbox-core.js +1 -1
  115. package/dist/components/taro-image-core.js +7 -5
  116. package/dist/components/taro-input-core.js +7 -12
  117. package/dist/components/taro-picker-core.js +47 -43
  118. package/dist/components/taro-pull-to-refresh.js +2 -2
  119. package/dist/components/taro-rich-text-core.js +10 -1
  120. package/dist/components/taro-scroll-view-core.js +15 -4
  121. package/dist/components/taro-snapshot-core.d.ts +11 -0
  122. package/dist/components/taro-snapshot-core.js +33 -0
  123. package/dist/components/taro-swiper-core.js +16 -13
  124. package/dist/components/taro-swiper-item-core.js +34 -35
  125. package/dist/components/taro-tabbar.js +2 -14
  126. package/dist/components/taro-text-core.js +13 -7
  127. package/dist/components/taro-textarea-core.js +2 -9
  128. package/dist/components/taro-video-core.js +6 -3
  129. package/dist/components/taro-view-core.js +2 -9
  130. package/dist/esm/helper-8a85bb65.js +24 -0
  131. package/dist/esm/hls-4018c7ea.js +25671 -0
  132. package/dist/{cjs/index-f9d21cc5.js → esm/index-c3e4004b.js} +12 -22
  133. package/dist/esm/loader.js +4 -4
  134. package/dist/esm/taro-ad-core.entry.js +2 -2
  135. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  136. package/dist/esm/taro-animation-video-core.entry.js +2 -2
  137. package/dist/esm/taro-animation-view-core.entry.js +2 -2
  138. package/dist/esm/taro-ar-camera-core.entry.js +2 -2
  139. package/dist/esm/taro-audio-core.entry.js +1 -1
  140. package/dist/esm/taro-aweme-data-core.entry.js +2 -2
  141. package/dist/esm/taro-block-core.entry.js +1 -1
  142. package/dist/esm/taro-button-core.entry.js +3 -3
  143. package/dist/esm/taro-camera-core.entry.js +2 -2
  144. package/dist/esm/taro-canvas-core.entry.js +14 -2
  145. package/dist/esm/taro-channel-live-core.entry.js +2 -2
  146. package/dist/esm/taro-channel-video-core.entry.js +2 -2
  147. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  148. package/dist/esm/taro-comment-detail-core.entry.js +2 -2
  149. package/dist/esm/taro-comment-list-core.entry.js +2 -2
  150. package/dist/esm/taro-components.js +4 -4
  151. package/dist/esm/taro-contact-button-core.entry.js +2 -2
  152. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  153. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  154. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  155. package/dist/esm/taro-editor-core.entry.js +2 -2
  156. package/dist/esm/taro-follow-swan-core.entry.js +2 -2
  157. package/dist/esm/taro-form-core.entry.js +1 -1
  158. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  159. package/dist/esm/taro-grid-view-core.entry.js +2 -2
  160. package/dist/esm/taro-icon-core.entry.js +2 -2
  161. package/dist/esm/taro-image-core.entry.js +7 -6
  162. package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
  163. package/dist/esm/taro-input-core.entry.js +7 -12
  164. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  165. package/dist/esm/taro-label-core.entry.js +1 -1
  166. package/dist/esm/taro-lifestyle-core.entry.js +2 -2
  167. package/dist/esm/taro-like-core.entry.js +2 -2
  168. package/dist/esm/taro-list-view-core.entry.js +2 -2
  169. package/dist/esm/taro-live-player-core.entry.js +2 -2
  170. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  171. package/dist/esm/taro-login-core.entry.js +2 -2
  172. package/dist/esm/taro-lottie-core.entry.js +2 -2
  173. package/dist/esm/taro-map-core.entry.js +2 -2
  174. package/dist/esm/taro-match-media-core.entry.js +2 -2
  175. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  176. package/dist/esm/taro-native-slot-core.entry.js +2 -2
  177. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  178. package/dist/esm/taro-navigator-core.entry.js +2 -2
  179. package/dist/esm/taro-official-account-core.entry.js +2 -2
  180. package/dist/esm/taro-open-data-core.entry.js +2 -2
  181. package/dist/esm/taro-page-container-core.entry.js +2 -2
  182. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  183. package/dist/esm/taro-picker-core_2.entry.js +55 -51
  184. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  185. package/dist/esm/taro-progress-core.entry.js +1 -1
  186. package/dist/esm/taro-pull-to-refresh.entry.js +4 -4
  187. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  188. package/dist/esm/taro-rich-text-core.entry.js +7 -1
  189. package/dist/esm/taro-root-portal-core.entry.js +2 -2
  190. package/dist/esm/taro-rtc-room-core.entry.js +2 -2
  191. package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
  192. package/dist/esm/taro-scroll-view-core.entry.js +16 -5
  193. package/dist/esm/taro-share-element-core.entry.js +2 -2
  194. package/dist/esm/taro-slider-core.entry.js +1 -1
  195. package/dist/esm/taro-slot-core.entry.js +2 -2
  196. package/dist/esm/taro-snapshot-core.entry.js +17 -0
  197. package/dist/esm/taro-sticky-header-core.entry.js +2 -2
  198. package/dist/esm/taro-sticky-section-core.entry.js +2 -2
  199. package/dist/esm/taro-swiper-core_2.entry.js +52 -50
  200. package/dist/esm/taro-switch-core.entry.js +1 -1
  201. package/dist/esm/taro-tab-item-core.entry.js +2 -2
  202. package/dist/esm/taro-tabbar.entry.js +4 -16
  203. package/dist/esm/taro-tabs-core.entry.js +2 -2
  204. package/dist/esm/taro-text-core.entry.js +10 -7
  205. package/dist/esm/taro-textarea-core.entry.js +2 -9
  206. package/dist/esm/taro-video-control_3.entry.js +8 -5
  207. package/dist/esm/taro-view-core.entry.js +5 -11
  208. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  209. package/dist/esm/taro-web-view-core.entry.js +1 -1
  210. package/dist/esm-es5/helper-8a85bb65.js +1 -0
  211. package/dist/esm-es5/hls-4018c7ea.js +1 -0
  212. package/dist/esm-es5/index-c3e4004b.js +7 -0
  213. package/dist/esm-es5/loader.js +1 -1
  214. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  221. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  223. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  228. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-components.js +1 -1
  231. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  256. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  264. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  265. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  266. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  267. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  268. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  269. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  272. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  273. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  274. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  276. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
  277. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  280. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  283. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  287. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  290. package/dist/taro-components/p-00ed4bbb.entry.js +1 -0
  291. package/dist/taro-components/p-01e163f8.system.entry.js +1 -0
  292. package/dist/taro-components/p-065a10d7.entry.js +1 -0
  293. package/dist/taro-components/p-085076c5.system.entry.js +1 -0
  294. package/dist/taro-components/p-08b7ecd7.system.entry.js +1 -0
  295. package/dist/taro-components/p-0a250d71.system.entry.js +1 -0
  296. package/dist/taro-components/p-0cedad18.system.entry.js +1 -0
  297. package/dist/taro-components/{p-70b5e81e.system.entry.js → p-0d7a705b.system.entry.js} +1 -1
  298. package/dist/taro-components/p-0e3b37e9.entry.js +1 -0
  299. package/dist/taro-components/p-0e8199b7.entry.js +1 -0
  300. package/dist/taro-components/p-0ec2e88a.entry.js +1 -0
  301. package/dist/taro-components/p-0fa96970.entry.js +1 -0
  302. package/dist/taro-components/{p-80f3d88d.entry.js → p-0fe855c6.entry.js} +1 -1
  303. package/dist/taro-components/{p-59590806.system.entry.js → p-117633e9.system.entry.js} +1 -1
  304. package/dist/taro-components/p-124ac21f.entry.js +1 -0
  305. package/dist/taro-components/p-15624788.system.entry.js +1 -0
  306. package/dist/taro-components/{p-6dae898a.system.entry.js → p-1991cc1a.system.entry.js} +1 -1
  307. package/dist/taro-components/p-1b789738.system.entry.js +1 -0
  308. package/dist/taro-components/p-1cf16dfa.entry.js +1 -0
  309. package/dist/taro-components/{p-88d64daa.system.entry.js → p-1e739fcb.system.entry.js} +1 -1
  310. package/dist/taro-components/p-1f118969.system.entry.js +1 -0
  311. package/dist/taro-components/{p-6f214fc3.system.entry.js → p-208e438c.system.entry.js} +1 -1
  312. package/dist/taro-components/{p-0a165ad3.system.entry.js → p-21c07cb3.system.entry.js} +1 -1
  313. package/dist/taro-components/p-22bf7daf.entry.js +1 -0
  314. package/dist/taro-components/p-24d9836e.entry.js +1 -0
  315. package/dist/taro-components/p-25632af9.entry.js +1 -0
  316. package/dist/taro-components/p-29638de3.entry.js +1 -0
  317. package/dist/taro-components/{p-1b501f32.system.entry.js → p-2a071adf.system.entry.js} +1 -1
  318. package/dist/taro-components/p-2da9c8fd.entry.js +1 -0
  319. package/dist/taro-components/p-2ec68968.system.js +7 -0
  320. package/dist/taro-components/{p-9d4fa0d3.system.entry.js → p-3004e71a.system.entry.js} +1 -1
  321. package/dist/taro-components/{p-4542b767.entry.js → p-30805bdf.entry.js} +1 -1
  322. package/dist/taro-components/{p-c6e6dab1.system.entry.js → p-32e9981a.system.entry.js} +1 -1
  323. package/dist/taro-components/{p-7dd9c8da.system.entry.js → p-357ba712.system.entry.js} +1 -1
  324. package/dist/taro-components/{p-30fe0e81.system.entry.js → p-36d4407e.system.entry.js} +1 -1
  325. package/dist/taro-components/{p-c3d3eca2.entry.js → p-38ee526a.entry.js} +1 -1
  326. package/dist/taro-components/p-3f3abe55.system.entry.js +1 -0
  327. package/dist/taro-components/p-425c209a.entry.js +1 -0
  328. package/dist/taro-components/{p-58690684.entry.js → p-43720011.entry.js} +1 -1
  329. package/dist/taro-components/p-43efbf30.js +1 -0
  330. package/dist/taro-components/{p-69fa7272.system.entry.js → p-473afc8e.system.entry.js} +1 -1
  331. package/dist/taro-components/p-4a3357a4.entry.js +1 -0
  332. package/dist/taro-components/p-4cedbe5e.system.entry.js +1 -0
  333. package/dist/taro-components/p-4f1d180d.entry.js +1 -0
  334. package/dist/taro-components/p-4fc40739.entry.js +1 -0
  335. package/dist/taro-components/{p-bba8c3a7.system.entry.js → p-519fbe84.system.entry.js} +1 -1
  336. package/dist/taro-components/{p-95f70aea.system.entry.js → p-5756cf00.system.entry.js} +1 -1
  337. package/dist/taro-components/{p-4d7182f4.system.entry.js → p-5870248f.system.entry.js} +1 -1
  338. package/dist/taro-components/{p-26889f3c.system.entry.js → p-58cc2e6d.system.entry.js} +1 -1
  339. package/dist/taro-components/{p-51b6fc09.system.entry.js → p-5994d9f2.system.entry.js} +1 -1
  340. package/dist/taro-components/p-5e91398a.system.entry.js +1 -0
  341. package/dist/taro-components/{p-b2bb02d7.system.entry.js → p-5ebc7010.system.entry.js} +1 -1
  342. package/dist/taro-components/p-600e89cc.system.entry.js +1 -0
  343. package/dist/taro-components/p-60faf73e.system.entry.js +1 -0
  344. package/dist/taro-components/p-64eb91f7.entry.js +1 -0
  345. package/dist/taro-components/{p-dcb5b505.system.entry.js → p-657cb6e4.system.entry.js} +1 -1
  346. package/dist/taro-components/p-69c43a81.entry.js +1 -0
  347. package/dist/taro-components/p-6aa2ac6a.system.entry.js +1 -0
  348. package/dist/taro-components/p-6b454506.entry.js +1 -0
  349. package/dist/taro-components/{p-02aa7366.system.entry.js → p-6cde54e5.system.entry.js} +1 -1
  350. package/dist/taro-components/p-72b118b0.entry.js +1 -0
  351. package/dist/taro-components/p-76996fcb.entry.js +1 -0
  352. package/dist/taro-components/p-7726b789.system.entry.js +1 -0
  353. package/dist/taro-components/p-78e4805e.entry.js +1 -0
  354. package/dist/taro-components/{p-3c5ac930.entry.js → p-7b68dee8.entry.js} +1 -1
  355. package/dist/taro-components/p-7bfc5f3d.entry.js +1 -0
  356. package/dist/taro-components/{p-4d0da795.system.entry.js → p-7e8e355b.system.entry.js} +1 -1
  357. package/dist/taro-components/p-7fb57a30.system.entry.js +1 -0
  358. package/dist/taro-components/p-84958ace.entry.js +1 -0
  359. package/dist/taro-components/{p-be6050fd.system.entry.js → p-85fce63e.system.entry.js} +1 -1
  360. package/dist/taro-components/p-862b38b9.entry.js +1 -0
  361. package/dist/taro-components/p-8c3b906c.system.js +1 -0
  362. package/dist/taro-components/p-8ca82a56.entry.js +1 -0
  363. package/dist/taro-components/p-8ccaf5e8.entry.js +1 -0
  364. package/dist/taro-components/{p-4402972b.system.entry.js → p-8d990f1c.system.entry.js} +1 -1
  365. package/dist/taro-components/{p-8027e1c6.system.entry.js → p-92d04741.system.entry.js} +1 -1
  366. package/dist/taro-components/{p-b5ad2aec.entry.js → p-962f28cb.entry.js} +1 -1
  367. package/dist/taro-components/p-99e16df8.entry.js +1 -0
  368. package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
  369. package/dist/taro-components/{p-33223303.system.entry.js → p-9d76d7a9.system.entry.js} +1 -1
  370. package/dist/taro-components/p-9e03bc7a.system.entry.js +1 -0
  371. package/dist/taro-components/p-9ea4f297.entry.js +1 -0
  372. package/dist/taro-components/p-9edea30f.system.entry.js +1 -0
  373. package/dist/taro-components/p-9eeba192.entry.js +1 -0
  374. package/dist/taro-components/{p-7722f33f.entry.js → p-9fe49bab.entry.js} +1 -1
  375. package/dist/taro-components/{p-acd9a9da.entry.js → p-a1763153.entry.js} +1 -1
  376. package/dist/taro-components/{p-f44e975b.entry.js → p-a20ecd3b.entry.js} +1 -1
  377. package/dist/taro-components/p-a20fed0a.entry.js +1 -0
  378. package/dist/taro-components/p-a2141e85.system.entry.js +1 -0
  379. package/dist/taro-components/p-a2d590ad.entry.js +1 -0
  380. package/dist/taro-components/p-a4951dd6.entry.js +1 -0
  381. package/dist/taro-components/p-a5a51112.entry.js +1 -0
  382. package/dist/taro-components/p-a6e2dd48.entry.js +1 -0
  383. package/dist/taro-components/{p-f499c0a0.system.entry.js → p-a74c970c.system.entry.js} +1 -1
  384. package/dist/taro-components/{p-087bf23a.system.entry.js → p-a7d31b01.system.entry.js} +1 -1
  385. package/dist/taro-components/p-a90221ab.system.entry.js +1 -0
  386. package/dist/taro-components/p-a940a65b.entry.js +1 -0
  387. package/dist/taro-components/p-a94e3347.system.entry.js +1 -0
  388. package/dist/taro-components/p-aa04f605.entry.js +1 -0
  389. package/dist/taro-components/p-ad9b04e0.entry.js +1 -0
  390. package/dist/taro-components/{p-c586a796.system.entry.js → p-b07cd197.system.entry.js} +1 -1
  391. package/dist/taro-components/{p-2024e133.system.entry.js → p-b1d2b575.system.entry.js} +1 -1
  392. package/dist/taro-components/p-b201ff38.entry.js +1 -0
  393. package/dist/taro-components/{p-ae3f1ed4.system.entry.js → p-b5b30493.system.entry.js} +1 -1
  394. package/dist/taro-components/{p-f9c26678.entry.js → p-b641e598.entry.js} +1 -1
  395. package/dist/taro-components/p-bc541cd8.entry.js +1 -0
  396. package/dist/taro-components/p-bd4ed8b1.entry.js +1 -0
  397. package/dist/taro-components/p-be96eb59.system.entry.js +1 -0
  398. package/dist/taro-components/{p-7df9de66.system.entry.js → p-bf0c8449.system.entry.js} +1 -1
  399. package/dist/taro-components/{p-c2c498d9.entry.js → p-bf0e0394.entry.js} +1 -1
  400. package/dist/taro-components/p-c0080d83.entry.js +1 -0
  401. package/dist/taro-components/p-c1a3fecf.system.entry.js +1 -0
  402. package/dist/taro-components/{p-4514dc53.system.entry.js → p-c913b635.system.entry.js} +1 -1
  403. package/dist/taro-components/p-cb406f85.system.entry.js +1 -0
  404. package/dist/taro-components/p-ccc64042.system.entry.js +1 -0
  405. package/dist/taro-components/p-ce303d12.system.entry.js +1 -0
  406. package/dist/taro-components/p-d1756770.entry.js +1 -0
  407. package/dist/taro-components/p-d2e0b15c.entry.js +1 -0
  408. package/dist/taro-components/p-d35c8257.system.entry.js +1 -0
  409. package/dist/taro-components/p-d550aea9.system.entry.js +1 -0
  410. package/dist/taro-components/p-d5c8380d.system.entry.js +1 -0
  411. package/dist/taro-components/{p-97782cdd.system.entry.js → p-d867e333.system.entry.js} +1 -1
  412. package/dist/taro-components/p-d9dcc6c6.entry.js +1 -0
  413. package/dist/taro-components/p-da3db323.entry.js +1 -0
  414. package/dist/taro-components/p-dab28e1f.system.entry.js +1 -0
  415. package/dist/taro-components/p-dbdb9de9.js +1 -0
  416. package/dist/taro-components/{p-736053bb.system.entry.js → p-dc5d65a0.system.entry.js} +1 -1
  417. package/dist/taro-components/p-de951a46.js +7 -0
  418. package/dist/taro-components/{p-da5cdbf5.system.entry.js → p-de96861c.system.entry.js} +1 -1
  419. package/dist/taro-components/p-e09451c5.system.entry.js +1 -0
  420. package/dist/taro-components/{p-b1249ebb.system.entry.js → p-e2cd5dd3.system.entry.js} +1 -1
  421. package/dist/taro-components/p-e598f47b.entry.js +1 -0
  422. package/dist/taro-components/{p-10be7fb5.system.entry.js → p-e6481671.system.entry.js} +1 -1
  423. package/dist/taro-components/{p-c33733b3.system.entry.js → p-e67755f0.system.entry.js} +1 -1
  424. package/dist/taro-components/p-e740320c.entry.js +1 -0
  425. package/dist/taro-components/p-e78775ce.system.js +1 -0
  426. package/dist/taro-components/p-e976c6c9.system.entry.js +1 -0
  427. package/dist/taro-components/p-ea0d5d4f.system.entry.js +1 -0
  428. package/dist/taro-components/p-ebc7b6fc.entry.js +1 -0
  429. package/dist/taro-components/p-ed331c06.system.js +1 -0
  430. package/dist/taro-components/p-ef322936.entry.js +1 -0
  431. package/dist/taro-components/p-f02b6f70.entry.js +1 -0
  432. package/dist/taro-components/{p-9df17ea6.entry.js → p-f0340edf.entry.js} +1 -1
  433. package/dist/taro-components/p-f1304456.entry.js +1 -0
  434. package/dist/taro-components/p-f2235cbb.entry.js +1 -0
  435. package/dist/taro-components/{p-38de410e.entry.js → p-f23cfdc8.entry.js} +1 -1
  436. package/dist/taro-components/p-f2c86846.entry.js +1 -0
  437. package/dist/taro-components/{p-1941d333.system.entry.js → p-f420680c.system.entry.js} +1 -1
  438. package/dist/taro-components/p-f4d86882.entry.js +1 -0
  439. package/dist/taro-components/p-f533bc2f.entry.js +1 -0
  440. package/dist/taro-components/p-f658de2e.entry.js +1 -0
  441. package/dist/taro-components/p-f6f6a996.system.entry.js +1 -0
  442. package/dist/taro-components/p-f78823a1.entry.js +1 -0
  443. package/dist/taro-components/{p-bac3deb0.system.entry.js → p-fac4ce6f.system.entry.js} +1 -1
  444. package/dist/taro-components/p-fbb2446e.entry.js +1 -0
  445. package/dist/taro-components/{p-0939fd26.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
  446. package/dist/taro-components/{p-2bac359b.entry.js → p-fefedf44.entry.js} +1 -1
  447. package/dist/taro-components/taro-components.css +1 -1
  448. package/dist/taro-components/taro-components.esm.js +1 -1
  449. package/dist/taro-components/taro-components.js +1 -1
  450. package/dist/types/components/canvas/canvas.d.ts +5 -2
  451. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  452. package/dist/types/components/image/image.d.ts +1 -0
  453. package/dist/types/components/input/input.d.ts +2 -2
  454. package/dist/types/components/picker/picker-group.d.ts +3 -3
  455. package/dist/types/components/picker/picker.d.ts +7 -2
  456. package/dist/types/components/rich-text/rich-text.d.ts +4 -0
  457. package/dist/types/components/scroll-view/scroll-view.d.ts +3 -0
  458. package/dist/types/components/snapshot/snapshot.d.ts +5 -0
  459. package/dist/types/components/swiper/swiper.d.ts +3 -2
  460. package/dist/types/components/text/text.d.ts +4 -0
  461. package/dist/types/components/textarea/textarea.d.ts +0 -1
  462. package/dist/types/components.d.ts +45 -8
  463. package/dist/types/utils/helper.d.ts +1 -0
  464. package/lib/react/component-lib/index.d.ts +1 -1
  465. package/lib/react/component-lib/index.js +50 -50
  466. package/lib/react/component-lib/index.js.map +1 -1
  467. package/lib/react/component-lib/reactify-wc.js +1 -1
  468. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  469. package/lib/react/components.d.ts +83 -84
  470. package/lib/react/components.js +4 -3
  471. package/lib/react/components.js.map +1 -1
  472. package/lib/react/helper.d.ts +1 -1
  473. package/lib/react/index.d.ts +1 -1
  474. package/lib/react/index.js +1 -1
  475. package/lib/react/react-component-lib/createComponent.d.ts +1 -1
  476. package/lib/react/react-component-lib/createOverlayComponent.d.ts +2 -2
  477. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  478. package/lib/react/react-component-lib/index.d.ts +2 -2
  479. package/lib/react/react-component-lib/utils/attachProps.js +21 -5
  480. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  481. package/lib/react/react-component-lib/utils/index.d.ts +3 -3
  482. package/lib/vue2/component-lib/index.js +0 -5
  483. package/lib/vue2/component-lib/index.js.map +1 -1
  484. package/lib/vue2/components-loader.js +1 -1
  485. package/lib/vue2/components-loader.js.map +1 -1
  486. package/lib/vue2/components.d.ts +14 -4
  487. package/lib/vue2/components.js +20 -8
  488. package/lib/vue2/components.js.map +1 -1
  489. package/lib/vue2/index.d.ts +1 -1
  490. package/lib/vue2/index.js +1 -1
  491. package/lib/vue2/vue-component-lib/utils.js.map +1 -1
  492. package/lib/vue3/component-lib/index.d.ts +4 -4
  493. package/lib/vue3/component-lib/index.js +48 -48
  494. package/lib/vue3/component-lib/index.js.map +1 -1
  495. package/lib/vue3/components.d.ts +83 -82
  496. package/lib/vue3/components.js +18 -7
  497. package/lib/vue3/components.js.map +1 -1
  498. package/lib/vue3/index.d.ts +1 -1
  499. package/lib/vue3/index.js +1 -1
  500. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  501. package/package.json +13 -11
  502. package/types/Button.d.ts +104 -10
  503. package/types/Canvas.d.ts +11 -11
  504. package/types/ChannelVideo.d.ts +4 -0
  505. package/types/Form.d.ts +11 -0
  506. package/types/GridView.d.ts +1 -1
  507. package/types/Image.d.ts +5 -0
  508. package/types/Input.d.ts +6 -1
  509. package/types/ListView.d.ts +1 -1
  510. package/types/LivePlayer.d.ts +17 -0
  511. package/types/LivePusher.d.ts +10 -0
  512. package/types/NativeSlot.d.ts +5 -3
  513. package/types/Picker.d.ts +9 -0
  514. package/types/Progress.d.ts +2 -2
  515. package/types/RichText.d.ts +6 -4
  516. package/types/ScrollView.d.ts +86 -8
  517. package/types/ShareElement.d.ts +40 -1
  518. package/types/Slot.d.ts +5 -3
  519. package/types/Snapshot.d.ts +16 -0
  520. package/types/StickyHeader.d.ts +1 -1
  521. package/types/StickySection.d.ts +1 -2
  522. package/types/Swiper.d.ts +10 -0
  523. package/types/Text.d.ts +8 -3
  524. package/types/Textarea.d.ts +11 -4
  525. package/types/Video.d.ts +25 -4
  526. package/types/View.d.ts +1 -1
  527. package/types/index.d.ts +8 -5
  528. package/types/index.vue3.d.ts +39 -16
  529. package/virtual-list/index.js +2 -2
  530. package/dist/cjs/helper-db78e01a.js +0 -19
  531. package/dist/cjs/hls-67cbc62d.js +0 -27622
  532. package/dist/esm/helper-3d0ecf0f.js +0 -13
  533. package/dist/esm/hls-221423a1.js +0 -27620
  534. package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
  535. package/dist/esm-es5/hls-221423a1.js +0 -365
  536. package/dist/esm-es5/index-1d8e8acd.js +0 -7
  537. package/dist/taro-components/p-0393ed55.entry.js +0 -1
  538. package/dist/taro-components/p-05bc0fce.entry.js +0 -1
  539. package/dist/taro-components/p-05c757b7.entry.js +0 -1
  540. package/dist/taro-components/p-07293238.entry.js +0 -1
  541. package/dist/taro-components/p-08bb8dfc.system.entry.js +0 -1
  542. package/dist/taro-components/p-0a9b984e.system.entry.js +0 -1
  543. package/dist/taro-components/p-0b8b3af5.entry.js +0 -1
  544. package/dist/taro-components/p-11936d9a.entry.js +0 -1
  545. package/dist/taro-components/p-1249cb09.entry.js +0 -1
  546. package/dist/taro-components/p-1385d50f.entry.js +0 -1
  547. package/dist/taro-components/p-1493866a.entry.js +0 -1
  548. package/dist/taro-components/p-15e45ed6.system.js +0 -1
  549. package/dist/taro-components/p-16e03200.entry.js +0 -1
  550. package/dist/taro-components/p-17302fe9.system.entry.js +0 -1
  551. package/dist/taro-components/p-1743a04b.system.js +0 -365
  552. package/dist/taro-components/p-1be83ed3.entry.js +0 -1
  553. package/dist/taro-components/p-1c320250.system.entry.js +0 -1
  554. package/dist/taro-components/p-1c446c65.system.js +0 -1
  555. package/dist/taro-components/p-1e8c8ae1.entry.js +0 -1
  556. package/dist/taro-components/p-22dc57d4.entry.js +0 -1
  557. package/dist/taro-components/p-23cb8a7f.entry.js +0 -1
  558. package/dist/taro-components/p-27c4878c.entry.js +0 -1
  559. package/dist/taro-components/p-2e28cb1c.entry.js +0 -1
  560. package/dist/taro-components/p-2f7dba29.entry.js +0 -1
  561. package/dist/taro-components/p-30f32fa2.system.entry.js +0 -1
  562. package/dist/taro-components/p-369fb262.entry.js +0 -1
  563. package/dist/taro-components/p-38a51bd2.entry.js +0 -1
  564. package/dist/taro-components/p-39685396.system.entry.js +0 -1
  565. package/dist/taro-components/p-3c91f59b.entry.js +0 -1
  566. package/dist/taro-components/p-3d60bd58.entry.js +0 -1
  567. package/dist/taro-components/p-4190e20b.system.entry.js +0 -1
  568. package/dist/taro-components/p-429a0f99.entry.js +0 -1
  569. package/dist/taro-components/p-42bcb98a.entry.js +0 -1
  570. package/dist/taro-components/p-46244579.system.entry.js +0 -1
  571. package/dist/taro-components/p-4915fdc1.system.entry.js +0 -1
  572. package/dist/taro-components/p-491c6272.system.entry.js +0 -1
  573. package/dist/taro-components/p-4e77bdea.entry.js +0 -1
  574. package/dist/taro-components/p-518146fd.system.entry.js +0 -1
  575. package/dist/taro-components/p-58877ef2.system.entry.js +0 -1
  576. package/dist/taro-components/p-58b7e960.entry.js +0 -1
  577. package/dist/taro-components/p-5931c82e.entry.js +0 -1
  578. package/dist/taro-components/p-61f225ef.system.js +0 -7
  579. package/dist/taro-components/p-623b3eb6.system.entry.js +0 -1
  580. package/dist/taro-components/p-651586f8.system.entry.js +0 -1
  581. package/dist/taro-components/p-69f6784d.system.entry.js +0 -1
  582. package/dist/taro-components/p-6a96da58.js +0 -1
  583. package/dist/taro-components/p-6de6eb4e.entry.js +0 -1
  584. package/dist/taro-components/p-6f048097.system.entry.js +0 -1
  585. package/dist/taro-components/p-7377a117.entry.js +0 -1
  586. package/dist/taro-components/p-744a6b99.entry.js +0 -1
  587. package/dist/taro-components/p-74bf8246.system.entry.js +0 -1
  588. package/dist/taro-components/p-76724e58.js +0 -7
  589. package/dist/taro-components/p-78c30850.system.entry.js +0 -1
  590. package/dist/taro-components/p-79c41bc2.entry.js +0 -1
  591. package/dist/taro-components/p-7c1fc8f5.system.entry.js +0 -1
  592. package/dist/taro-components/p-80970d8f.entry.js +0 -1
  593. package/dist/taro-components/p-895cd7c9.system.entry.js +0 -1
  594. package/dist/taro-components/p-8b8a8e39.entry.js +0 -1
  595. package/dist/taro-components/p-8d037fc0.entry.js +0 -1
  596. package/dist/taro-components/p-8d2101be.system.entry.js +0 -1
  597. package/dist/taro-components/p-8e5cc8fe.system.entry.js +0 -1
  598. package/dist/taro-components/p-8feeb7ce.entry.js +0 -1
  599. package/dist/taro-components/p-90e4274e.entry.js +0 -1
  600. package/dist/taro-components/p-9318da32.entry.js +0 -1
  601. package/dist/taro-components/p-9e8619a6.system.entry.js +0 -1
  602. package/dist/taro-components/p-a294e169.entry.js +0 -1
  603. package/dist/taro-components/p-a5afdc47.system.entry.js +0 -1
  604. package/dist/taro-components/p-a6d2e81b.entry.js +0 -1
  605. package/dist/taro-components/p-a9b51167.entry.js +0 -1
  606. package/dist/taro-components/p-ae8fd8c8.entry.js +0 -1
  607. package/dist/taro-components/p-affb28de.entry.js +0 -1
  608. package/dist/taro-components/p-b16eddaa.entry.js +0 -1
  609. package/dist/taro-components/p-b1c972e2.system.entry.js +0 -1
  610. package/dist/taro-components/p-b708e9fe.entry.js +0 -1
  611. package/dist/taro-components/p-badfb3be.entry.js +0 -1
  612. package/dist/taro-components/p-beba1657.entry.js +0 -1
  613. package/dist/taro-components/p-c2391de5.entry.js +0 -1
  614. package/dist/taro-components/p-c3d35ae5.entry.js +0 -1
  615. package/dist/taro-components/p-c4dd85b6.entry.js +0 -1
  616. package/dist/taro-components/p-c4fdb669.system.entry.js +0 -1
  617. package/dist/taro-components/p-c6385fc2.system.entry.js +0 -1
  618. package/dist/taro-components/p-c70dd956.system.entry.js +0 -1
  619. package/dist/taro-components/p-d42e41ff.entry.js +0 -1
  620. package/dist/taro-components/p-d5234e7e.js +0 -365
  621. package/dist/taro-components/p-d797cdc4.entry.js +0 -1
  622. package/dist/taro-components/p-dccf1ae9.entry.js +0 -1
  623. package/dist/taro-components/p-dfc405a5.entry.js +0 -1
  624. package/dist/taro-components/p-e2f2fbe5.entry.js +0 -1
  625. package/dist/taro-components/p-e3f8265d.system.entry.js +0 -1
  626. package/dist/taro-components/p-e753b776.entry.js +0 -1
  627. package/dist/taro-components/p-e8b1ea64.entry.js +0 -1
  628. package/dist/taro-components/p-e9eeb060.entry.js +0 -1
  629. package/dist/taro-components/p-ef7e7d73.system.entry.js +0 -1
  630. package/dist/taro-components/p-efcfdb97.entry.js +0 -1
  631. package/dist/taro-components/p-f671ed7d.entry.js +0 -1
  632. package/dist/taro-components/p-f9ac515e.system.entry.js +0 -1
  633. package/dist/taro-components/p-fa36fe8e.system.entry.js +0 -1
  634. package/dist/taro-components/p-fb585037.entry.js +0 -1
  635. package/dist/taro-components/p-fcdac6ec.system.entry.js +0 -1
  636. package/dist/taro-components/p-fdecdc25.entry.js +0 -1
  637. /package/dist/cjs/{index-e1b469cd.js → index-e751dfe3.js} +0 -0
  638. /package/dist/esm/{index-c948674f.js → index-980f930f.js} +0 -0
  639. /package/dist/esm-es5/{index-c948674f.js → index-980f930f.js} +0 -0
  640. /package/dist/taro-components/{p-1a0e1932.system.js → p-7e6b54cb.system.js} +0 -0
  641. /package/dist/taro-components/{p-78e3ebb9.js → p-9137dcab.js} +0 -0
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("ChannelLive",this)}render(){return o(t,null)}};export{a as taro_channel_live_core}
@@ -0,0 +1 @@
1
+ System.register(["@tarojs/taro"],(function(e){"use strict";var n;return{setters:[function(e){n=e.default}],execute:function(){e({h:t,n:o});function o(e,o){if(e===void 0){e=""}if(o===void 0){o={}}console.error("H5 暂不支持 ".concat(e," 组件!"));n.eventCenter.trigger("__taroNotSupport",{name:e,instance:o,type:"component",category:"temporarily"})}function t(e){var n;(n=e===null||e===void 0?void 0:e.childNodes)===null||n===void 0?void 0:n.forEach((function(e){if(e.nodeType===document.COMMENT_NODE&&e["s-cn"])e["s-cn"]=false;if(e.nodeType!==document.COMMENT_NODE&&e["s-sr"])e["s-sr"]=false}))}}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Map",this)}render(){return o(t,null)}};export{a as taro_map_core}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e,g as o}from"./p-9137dcab.js";import{c as h}from"./p-de951a46.js";import{h as r}from"./p-dbdb9de9.js";import"@tarojs/taro";const c=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}componentDidRender(){r(this.el)}render(){const t=h({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(e,Object.assign({class:t},s),i("slot",null))}get el(){return o(this)}};c.style="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";export{c as taro_view_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_list_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("ListView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_list_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("ListView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(n){"use strict";var t,e,r,o;return{setters:[function(n){t=n.r;e=n.h;r=n.H},function(n){o=n.n},function(){}],execute:function(){var i=n("taro_inline_payment_panel_core",function(){function n(n){t(this,n)}n.prototype.componentDidLoad=function(){o("InlinePaymentPanel",this)};n.prototype.render=function(){return e(r,null)};return n}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(n){"use strict";var t,e,r,o;return{setters:[function(n){t=n.r;e=n.h;r=n.H},function(n){o=n.n},function(){}],execute:function(){var i=n("taro_inline_payment_panel_core",function(){function n(n){t(this,n)}n.prototype.componentDidLoad=function(){o("InlinePaymentPanel",this)};n.prototype.render=function(){return e(r,null)};return n}())}}}));
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as o,g as r}from"./p-78e3ebb9.js";const n=class{constructor(i){t(this,i),this.onChange=e(this,"checkboxchange",7),this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:t,name:e,color:r,value:n,disabled:a,nativeProps:s}=this;return i(o,{className:"weui-cells_checkbox"},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"checkbox",value:n,name:e,class:"taro-checkbox_checked",style:{color:r},checked:t,disabled:a,onChange:this.handleChange},s)),i("slot",null))}get el(){return r(this)}static get watchers(){return{id:["watchId"]}}};n.style='.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 a,s=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const h=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-CHECKBOX-CORE"!==t.target.tagName)return;const e=this.el.querySelectorAll("taro-checkbox-core");s(this,a,this.getValues(e),"f"),this.onChange.emit({value:c(this,a,"f")})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-checkbox-core");s(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){return Array.from(t).filter((t=>{const e=t.querySelector("input");return null==e?void 0:e.checked})).map((t=>t.value))}render(){return i(o,null)}get el(){return r(this)}};a=new WeakMap;export{n as taro_checkbox_core,h as taro_checkbox_group_core}
1
+ import{r as t,c as e,h as i,H as o,g as r}from"./p-9137dcab.js";const n=class{constructor(i){t(this,i),this.onChange=e(this,"checkboxchange",7),this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:t,name:e,color:r,value:n,disabled:a,nativeProps:s}=this;return i(o,{className:"weui-cells_checkbox"},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"checkbox",value:n,name:e,class:"taro-checkbox_checked",style:{color:r},checked:t,disabled:a,onChange:this.handleChange},s)),i("slot",null))}get el(){return r(this)}static get watchers(){return{id:["watchId"]}}};n.style='.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 a,s=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const h=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-CHECKBOX-CORE"!==t.target.tagName)return;const e=this.el.querySelectorAll("taro-checkbox-core");s(this,a,this.getValues(e),"f"),this.onChange.emit({value:c(this,a,"f")})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-checkbox-core");s(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){return Array.from(t).filter((t=>{const e=t.querySelector("input");return null==e?void 0:e.checked})).map((t=>t.value))}render(){return i(o,null)}get el(){return r(this)}};a=new WeakMap;export{n as taro_checkbox_core,h as taro_checkbox_group_core}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,g as h}from"./p-9137dcab.js";import{c as n}from"./p-de951a46.js";function o(t,i){const s=[];for(let e=t;e<=i;e++)s.push(`${e<10?"0":""}${e}`);return s}const r=["20","21","22","23",...o(0,23),"00","01","02","03"],a=["56","57","58","59",...o(0,59),"00","01","02","03"];function c(t,i){return!isNaN(+t)&&t>=0&&t<i.length}function u(t){if(!/^\d{1,2}:\d{1,2}$/.test(t))return!1;const i=t.split(":").map((t=>+t));return!(i[0]<0||i[0]>23||i[1]<0||i[1]>59)}function d(t,i){const s=t.split(":").map((t=>+t)),e=i.split(":").map((t=>+t));return s[0]<e[0]||s[0]===e[0]&&s[1]<=e[1]}function l(t){if(!t)return!1;const i=new Date(t.replace(/-/g,"/"));return!isNaN(i.getMonth())&&i}function p(t){let i;return i=Array.isArray(t)?t.map((t=>String(t))):t,i}function m(t,i){const s=[];for(let e=t;e<=i;e++)s.push(e);return s}function g(t,i){return m(t,i)}function f(t,i,s){let e=1,h=12;return t.getFullYear()===s&&(e=t.getMonth()+1),i.getFullYear()===s&&(h=i.getMonth()+1),m(e,h)}function v(t,i,s,e){let h=1,n=function(t,i){return 4===i||6===i||9===i||11===i?30:2===i?t%4==0&&t%100!=0||t%400==0?29:28:31}(s,e);return t.getFullYear()===s&&t.getMonth()+1===e&&(h=t.getDate()),i.getFullYear()===s&&i.getMonth()+1===e&&(n=i.getDate()),m(h,n)}const _=102,k=34,w=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onColumnChange=i(this,"columnchange",7),this.onCancel=i(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((t=>{let i=0;return"time"===this.mode&&(i=136),_-k*t-i})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((t=>(_-t)/k));let t=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const i=[r.slice(),a.slice()],s=this.index.map(((t,s)=>i[s][t]));this.index=s.map((t=>parseInt(t))),t=s.join(":")}if("date"===this.mode){const{_start:i,_end:s,_updateValue:e}=this.pickerDate,h=e[0],n=e[1],o=g(i.getFullYear(),s.getFullYear()),r=f(i,s,h),a=v(i,s,h,n),c=o[this.index[0]],u=r[this.index[1]];t="year"===this.fields?[c]:"month"===this.fields?[c,u]:[c,u,a[this.index[2]]],t=t.map((t=>t<10?`0${t}`:t)).join("-")}this.value=t,this.pickerValue=this.value,this.onChange.emit({value:t})},this.handleColumnChange=t=>{const{columnId:i,height:s}=t.detail;this.onColumnChange.emit({column:Number(i),value:(_-s)/k})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(t,i,s=!1)=>{const e=[...this.height];if(e[i]=t,this.height=e,s){let{start:t,end:i}=this;if(u(t)||(t="00:00"),u(i)||(i="23:59"),!d(t,i))return;const s=[r.slice(),a.slice()],e=this.height.map((t=>(_-t)/k)),h=e.map(((t,i)=>s[i][t])).join(":");if(d(t,h)){if(!d(h,i)){const t=i.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=t))}}else{const i=t.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=i))}}},this.updateDay=(t,i)=>{const{_start:s,_end:e,_updateValue:h}=this.pickerDate;h[i]=t;const n=h[0],o=h[1],r=h[2];if(0===i){const t=f(s,e,n),i=t[t.length-1],r=t[0];o>i&&(h[1]=i),o<r&&(h[1]=r);const a=t.indexOf(h[1]),c=_-k*a;this.updateDay(h[1],1),this.updateHeight(c,"1")}else if(1===i){const t=v(s,e,n,o),i=t[t.length-1],a=t[0];r>i&&(h[2]=i),r<a&&(h[2]=a);const c=t.indexOf(h[2]),u=_-k*c;this.updateDay(h[2],2),this.updateHeight(u,"2")}},this.getSelector=()=>s("taro-picker-group",{range:this.range,rangeKey:this.rangeKey,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),this.getMultiSelector=()=>this.range.map(((t,i)=>s("taro-picker-group",{range:t,rangeKey:this.rangeKey,height:this.height[i],updateHeight:this.updateHeight,onColumnChange:this.handleColumnChange,columnId:String(i)}))),this.getTimeSelector=()=>{const t=r.slice(),i=a.slice();return[s("taro-picker-group",{mode:"time",range:t,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),s("taro-picker-group",{mode:"time",range:i,height:this.height[1],updateHeight:this.updateHeight,columnId:"1"})]},this.getDateSelector=()=>{const{fields:t,height:i}=this,{_start:e,_end:h,_updateValue:n}=this.pickerDate,o=n[0],r=n[1],a=g(e.getFullYear(),h.getFullYear()).map((t=>`${t}年`)),c=f(e,h,o).map((t=>`${t<10?`0${t}`:t}月`)),u=v(e,h,o,r).map((t=>`${t<10?`0${t}`:t}日`)),d=[s("taro-picker-group",{mode:"date",range:a,height:i[0],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"0"})];return"month"!==t&&"day"!==t||d.push(s("taro-picker-group",{mode:"date",range:c,height:i[1],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"1"})),"day"===t&&d.push(s("taro-picker-group",{mode:"date",range:u,height:i[2],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"2"})),d},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.textProps={},this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}componentWillLoad(){this.isWillLoadCalled=!0,this.handleProps()}componentDidLoad(){this.overlay&&document.body.appendChild(this.overlay)}disconnectedCallback(){var t;this.overlay&&(null===(t=this.overlay.parentNode)||void 0===t||t.removeChild(this.overlay))}onPropsChange(){this.isWillLoadCalled&&this.handleProps()}handleProps(){const{mode:t,start:i,end:s}=this;if("selector"===t){const t=this.value;this.index=[c(t,this.range)?Math.floor(t):0]}else if("multiSelector"===t){const t=this.value;this.index=[],this.range.forEach(((i,s)=>{const e=null==t?void 0:t[s],h=c(e,i)?Math.floor(e):0;this.index.push(h)}))}else if("time"===t){let t=this.value;u(t)||(console.warn("time picker value illegal"),t="0:0");const i=t.split(":").map((t=>+t));this.index=i}else{if("date"!==t)throw new Error(`Picker not support "${t}" mode.`);{let t=l(this.value)||new Date((new Date).setHours(0,0,0,0));const e=l(i)||new Date("1970/01/01"),h=l(s)||new Date("2999/01/01");if(!(e<=h))throw new Error("Picker start time must be less than end time.");t>=e&&t<=h||(t=e);const n=t.getFullYear(),o=t.getMonth()+1,r=t.getDate(),a=g(e.getFullYear(),h.getFullYear()),c=f(e,h,n),u=v(e,h,n,o);this.index=[a.indexOf(n),c.indexOf(o),u.indexOf(r)],this.pickerDate&&this.pickerDate._value.getTime()===t.getTime()&&this.pickerDate._start.getTime()===e.getTime()&&this.pickerDate._end.getTime()===h.getTime()||(this.pickerDate={_value:t,_start:e,_end:h,_updateValue:[n,o,r]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===t){const t=this.pickerValue;"month"===this.fields?this.pickerValue=t.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=t.split("-")[0])}}render(){var t,i;const{name:h,mode:o,fadeOut:r,hidden:a}=this;let c;switch(o){case"multiSelector":c=this.getMultiSelector();break;case"time":c=this.getTimeSelector();break;case"date":c=this.getDateSelector();break;default:c=this.getSelector()}const u=n("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":r}),d=n("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":r}),l=a?{display:"none"}:{};return s(e,null,s("div",{onClick:this.showPicker},s("slot",null),s("input",{type:"hidden",name:h,value:p(this.pickerValue)})),s("div",{class:"weui-picker__overlay",style:l,ref:t=>{this.overlay=t}},s("div",{class:u,onClick:this.handleCancel}),s("div",{class:d},s("div",{class:"weui-picker__hd"},s("div",{class:"weui-picker__action",onClick:this.handleCancel},null!==(t=this.textProps.cancelText)&&void 0!==t?t:"取消"),s("div",{class:"weui-picker__action",onClick:this.handleChange},null!==(i=this.textProps.okText)&&void 0!==i?i:"确定")),s("div",{class:"weui-picker__bd"},c),s("input",{type:"hidden",name:h,value:p(this.pickerValue)}))))}get el(){return h(this)}static get watchers(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}}};w.style=".weui-picker,.weui-picker__hd{font-size:12px}";const y=class{constructor(s){t(this,s),this.onColumnChange=i(this,"columnChange",7),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}getPosition(){const t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${this.touchEnd?.3:0}s`;return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}}formulaUnlimitedScroll(t,i,s){const{height:e,updateHeight:h,columnId:n}=this,o="up"===s?1:-1;this.touchEnd=!1,h(-t*o*k+e,n),requestAnimationFrame((()=>{this.touchEnd=!0;const s=Math.round(i/-34)+t*o;h(_-k*s,n,!0)}))}async handleMoveStart(t){this.startY=t,this.preY=t,this.hadMove=!1}async handleMoving(t){const i=t,s=i-this.preY;this.preY=i,this.touchEnd=!1,Math.abs(i-this.startY)>10&&(this.hadMove=!0);let e=this.height+s;"time"===this.mode&&("0"===this.columnId?(e>0&&(e=-816+s),e<-850&&(e=-34+s)):"1"===this.columnId&&(e>0&&(e=-2040+s),e<-2074&&(e=-34+s))),this.updateHeight(e,this.columnId)}async handleMoveEnd(t){const{mode:i,range:s,height:e,updateHeight:h,columnId:n}=this,o=-34*(s.length-1),r=t;let a;if(this.touchEnd=!0,this.hadMove)a=e-_;else{const t=window.innerHeight;if(a=e-_-(r-(t-119)),"time"===i)if("0"===n){if(a>-85)return this.formulaUnlimitedScroll(24,a,"up");if(a<-969)return this.formulaUnlimitedScroll(24,a,"down")}else if("1"===n){if(a>-85)return this.formulaUnlimitedScroll(60,a,"up");if(a<-2193)return this.formulaUnlimitedScroll(60,a,"down")}}a>0&&(a=0),a<o&&(a=o);const c=Math.round(a/-34),u=_-k*c;"date"===this.mode&&"function"==typeof this.updateDay&&("0"===this.columnId&&this.updateDay(+this.range[c].replace(/[^0-9]/gi,""),0),"1"===this.columnId&&this.updateDay(+this.range[c].replace(/[^0-9]/gi,""),1),"2"===this.columnId&&this.updateDay(+this.range[c].replace(/[^0-9]/gi,""),2)),h(u,n,"time"===i),this.onColumnChange.emit({columnId:n,height:u})}onMouseDown(t){this.isMove=!0,this.handleMoveStart(t.clientY)}onMouseMove(t){this.isMove&&this.handleMoving(t.clientY)}onMouseMoveEnd(t){this.isMove&&(this.isMove=!1,this.handleMoveEnd(t.clientY))}onTouchStart(t){this.handleMoveStart(t.changedTouches[0].clientY)}onTouchMove(t){this.handleMoving(t.changedTouches[0].clientY)}onTouchEnd(t){this.handleMoveEnd(t.changedTouches[0].clientY)}render(){const{range:t,rangeKey:i}=this,h=t.map((t=>s("div",{class:"weui-picker__item"},i?t[i]:t)));return s(e,{class:"weui-picker__group"},s("div",{class:"weui-picker__mask"}),s("div",{class:"weui-picker__indicator"}),s("div",{class:"weui-picker__content",style:this.getPosition()},h))}};export{w as taro_picker_core,y as taro_picker_group}
@@ -0,0 +1 @@
1
+ import{r,h as o,H as s}from"./p-9137dcab.js";const t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var s=t("taro_root_portal_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RootPortal",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_root_portal_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RootPortal",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_animation_video_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AnimationVideo",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as s}from"./p-9137dcab.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("Snapshot",this)}render(){return r(s,null)}};export{a as taro_snapshot_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,r,s;return{setters:[function(e){t=e.r;r=e.h;s=e.H}],execute:function(){var n="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-text-core[selectable=true],taro-text-core[user-select=true]{display:inline-block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:0.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp)}";var i=e("taro_text_core",function(){function e(e){t(this,e);this.selectable=false;this.userSelect=false;this.space=undefined;this.numberOfLines=undefined}e.prototype.render=function(){var e={};if(typeof this.numberOfLines==="number"){e["--line-clamp"]=this.numberOfLines}return r(s,{style:e},r("slot",null))};return e}());i.style=n}}}));
@@ -0,0 +1 @@
1
+ import{h as t,r as a,c as r,H as o,g as e}from"./p-9137dcab.js";import s from"@tarojs/taro";import{stripSuffix as i,stripBasename as h,addLeadingSlash as n,getCurrentPage as b}from"@tarojs/router/dist/utils";import{c as l}from"./p-de951a46.js";import{i as d}from"./p-d3c7f87d.js";const c=t=>{let a,r=t||"";const o={path:null,query:null,fragment:null};return a=r.indexOf("#"),a>-1&&(o.fragment=r.substring(a+1),r=r.substring(0,a)),a=r.indexOf("?"),a>-1&&(o.query=r.substring(a+1),r=r.substring(0,a)),o.path=r,o};function _(t){return"/"===t.charAt(0)}function u(t,a){for(var r=a,o=r+1,e=t.length;o<e;r+=1,o+=1)t[r]=t[o];t.pop()}const g=({index:a,isSelected:r=!1,textColor:o,iconPath:e,badgeText:i,showRedDot:h=!1,pagePath:n,text:b,onSelect:c})=>{const _=l("weui-tabbar__item",{"weui-bar__item_on":r});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=s.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&d(this)&&t.onTabItemTap({index:a,pagePath:n,text:b}),c(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:e,alt:"",class:"weui-tabbar__icon"}),!!i&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},i),h&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:o}},b))},p="taro-tabbar__tabbar",f=class{constructor(t){a(this,t),this.onLongPress=r(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>c(a).path===c(t).path));return i(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:r},o)=>{c(t).path===c(r).path&&(a=o)})),a},this.switchTab=t=>{this.selectedIndex=t,s.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:r})=>{const o=function(t,a){void 0===a&&(a="");var r,o=t&&t.split("/")||[],e=a&&a.split("/")||[],s=t&&_(t),i=a&&_(a),h=s||i;if(t&&_(t)?e=o:o.length&&(e.pop(),e=e.concat(o)),!e.length)return"/";if(e.length){var n=e[e.length-1];r="."===n||".."===n||""===n}else r=!1;for(var b=0,l=e.length;l>=0;l--){var d=e[l];"."===d?u(e,l):".."===d?(u(e,l),b++):b&&(u(e,l),b--)}if(!h)for(;b--;b)e.unshift("..");!h||""===e[0]||e[0]&&_(e[0])||e.unshift("");var c=e.join("/");return r&&"/"!==c.substr(-1)&&(c+="/"),c}(t,this.getOriginUrl(this.getCurrentUrl()||this.homePage)),e=this.getSelectedIndex(o);e>-1?(this.switchTab(e),a({errMsg:"switchTab:ok"})):r({errMsg:`switchTab:fail page "${o}" is not found`})},this.routerChangeHandler=t=>{var a;const r=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let o;if("string"==typeof r){const t=this.conf.basename||"/";o=h(n(r||this.homePage),t)||"/"}else o=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(o))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:r,errorHandler:o})=>{const e=[...this.list];t in e?(e[t].showRedDot=!1,e[t].badgeText=a,r({errMsg:"setTabBarBadge:ok"})):o({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=e},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:r})=>{const o=[...this.list];t in o?(o[t].badgeText=null,o[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):r({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=o},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const o=[...this.list];t in o?(o[t].badgeText=null,o[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):r({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=o},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const o=[...this.list];t in o?(o[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):r({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=o},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:r,borderStyle:o,successHandler:e})=>{r&&(this.backgroundColor=r),o&&(this.borderStyle=o),t&&(this.color=t),a&&(this.selectedColor=a),e({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:r,text:o,successHandler:e,errorHandler:s})=>{const i=[...this.list];t in i?(a&&(i[t].iconPath=a),r&&(i[t].selectedIconPath=r),o&&(i[t].text=o),e({errMsg:"setTabBarItem:ok"})):s({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=i},this.conf=void 0,this.list=void 0,this.borderStyle=void 0,this.backgroundColor=void 0,this.color=void 0,this.selectedColor=void 0,this.selectedIndex=-1,this.status=0}componentWillLoad(){var t,a;const r=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],o=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(r)||r.length<2||r.length>5)throw new Error("tabBar 配置错误");this.homePage=n(this.conf.homePage);for(let t in o){const a=o[t];t=n(t),"string"==typeof a?this.customRoutes.push([t,n(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,n(a)])))}r.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=r,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=b(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){s.eventCenter.on("__taroRouterChange",this.routerChangeHandler),s.eventCenter.on("__taroSwitchTab",this.switchTabHandler),s.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){s.eventCenter.off("__taroRouterChange",this.routerChangeHandler),s.eventCenter.off("__taroSwitchTab",this.switchTabHandler),s.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,r=this.status,e=l("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(o,{class:l(p,`${p}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===r,"taro-tabbar__tabbar-slideout":2===r})},t("div",{class:e,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,r)=>{const o=this.selectedIndex===r;let e,s;return o?(e=this.selectedColor||"",s=a.selectedIconPath):(e=this.color||"",s=a.iconPath),t(g,{index:r,onSelect:this.switchTab.bind(this),isSelected:o,textColor:e,iconPath:s,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return e(this)}};f.style="html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:var(--taro-tabbar-height);-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";export{f as taro_tabbar}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as h}from"./p-78e3ebb9.js";import{c as o}from"./p-76724e58.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
1
+ import{r as t,c as s,h as i,H as h}from"./p-9137dcab.js";import{c as o}from"./p-de951a46.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as h,g as e}from"./p-78e3ebb9.js";const o=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:h,totalWidth:e,max:o,min:a,ogX:n,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==h)return;t.preventDefault();let r=(t.targetTouches[0].pageX-n)/e*100+l;r=this.handleValueUpdate(r,0,100),this.updateByStep(a+.01*r*(o-a)),this.onChanging.emit({detail:t.detail,value:this.value})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(t,i=this.min,s=this.max)=>(t=isNaN(t)?0:t,Math.max(i,Math.min(t,s))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t){const h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}}componentDidLoad(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this,h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}updateByStep(t){const{max:i,min:s,step:h}=this,e=Math.floor((i-s)/h);for(let i=0;i<=e;i++){const o=s+h*i,a=i===e?null:s+h*(i+1);if(t===o)break;if(!a&&t>o&&(t=o),a&&t>o&&t<a){t=t-o<h/2?o:a;break}}const o=(t-s)/(i-s)*100;this.value=t,this.percent=o}render(){const{showValue:t,backgroundColor:i,activeColor:e,blockColor:o,name:a,percent:n,value:l}=this;let r=this.blockSize;const c={backgroundColor:i},u=n>100?100:n,d={width:`${u}%`,backgroundColor:e};r<12&&(r=12),r>28&&(r=28);const f={left:`${u}%`,width:`${r}px`,height:`${r}px`,backgroundColor:o,marginTop:`-${Math.floor(r/2)}px`,marginLeft:`-${Math.floor(r/2)}px`};return s(h,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:c,ref:t=>this.sliderInsRef=t},s("div",{style:d,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:f}),s("input",{type:"hidden",name:a,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return e(this)}static get watchers(){return{value:["function"]}}};export{o as taro_slider_core}
1
+ import{r as t,c as i,h as s,H as h,g as e}from"./p-9137dcab.js";const a=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:h,totalWidth:e,max:a,min:o,ogX:n,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==h)return;t.preventDefault();let r=(t.targetTouches[0].pageX-n)/e*100+l;r=this.handleValueUpdate(r,0,100),this.updateByStep(o+.01*r*(a-o)),this.onChanging.emit({detail:t.detail,value:this.value})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(t,i=this.min,s=this.max)=>(t=isNaN(t)?0:t,Math.max(i,Math.min(t,s))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t){const h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}}componentDidLoad(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this,h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}updateByStep(t){const{max:i,min:s,step:h}=this,e=Math.floor((i-s)/h);for(let i=0;i<=e;i++){const a=s+h*i,o=i===e?null:s+h*(i+1);if(t===a)break;if(!o&&t>a&&(t=a),o&&t>a&&t<o){t=t-a<h/2?a:o;break}}const a=(t-s)/(i-s)*100;this.value=t,this.percent=a}render(){const{showValue:t,backgroundColor:i,activeColor:e,blockColor:a,name:o,percent:n,value:l}=this;let r=this.blockSize;const c={backgroundColor:i},u=n>100?100:n,d={width:`${u}%`,backgroundColor:e};r<12&&(r=12),r>28&&(r=28);const f={left:`${u}%`,width:`${r}px`,height:`${r}px`,backgroundColor:a,marginTop:`-${Math.floor(r/2)}px`,marginLeft:`-${Math.floor(r/2)}px`};return s(h,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:c,ref:t=>this.sliderInsRef=t},s("div",{style:d,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:f}),s("input",{type:"hidden",name:o,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return e(this)}static get watchers(){return{value:["function"]}}};export{a as taro_slider_core}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as o,H as s}from"./p-78e3ebb9.js";import{d as r}from"./p-d3c7f87d.js";import{c as n}from"./p-76724e58.js";function a(t){if(t){const i=/([\w-]*)\s*:\s*([^;]*)/g,e={};let o;for(;o=i.exec(t);)e[`${o[1]}`]=o[2].trim();return e}}const c=class{constructor(e){t(this,e),this.onChange=i(this,"onselect",7),this.onSelectStart=i(this,"onselectstart",7),this.onSelectEnd=i(this,"onselectend",7),this.handleSelected=r((()=>{const t=this.el.childNodes;let i=0,e="0";for(const o in t){const s=t[o].offsetHeight;if(i+s/2>this.el.scrollTop){e=o;break}i+=s}this.el.scrollTo({top:i,behavior:"smooth"}),this.onChange.emit({curIndex:this.col,selectedIndex:e}),this.onSelectEnd.emit()}),500),this.col=void 0,this.initialPosition="0",this.paddingVertical=0,this.isInit=!1,this.isMove=!1}onScroll(t){this.isMove||(this.isMove=!0,this.onSelectStart.emit()),this.handleSelected()}onMouseEnd(){this.isMove&&(this.isMove=!1,this.handleSelected())}onTouchEnd(){this.isMove=!1,this.handleSelected()}componentDidUpdate(){if(!this.isInit){this.isInit=!0;const t=this.el.childNodes;let i=0,e=0;for(const o in t){const s=t[o];if(this.initialPosition===o||!s||"number"!=typeof s.offsetHeight)break;e+=s.offsetHeight,i++}this.el.scrollTo({top:e}),i>=t.length&&this.onChange.emit({curIndex:this.col,selectedIndex:i-1})}}render(){const{paddingVertical:t=0}=this;return e(s,{class:"taro-picker-view-column-container",style:{"padding-top":`${t}px`,"padding-bottom":`${t}px`}})}get el(){return o(this)}};c.style=".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";const l=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onPickStart=i(this,"pickstart",7),this.onPickEnd=i(this,"pickend",7),this.indicatorStyle=void 0,this.indicatorClass=void 0,this.value=void 0,this.maskStyle=void 0,this.maskClass=void 0}onSelect(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&(this.value[+t.detail.curIndex]=+t.detail.selectedIndex,this.onChange.emit({value:this.value}))}onSelectStart(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickStart.emit()}onPickerColEnd(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickEnd.emit()}componentDidLoad(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((t,i)=>{var e;t.setAttribute("col",`${i}`);let o="0";this.value&&this.value.length>i&&(o=`${this.value[i]}`);const s=(this.el.getBoundingClientRect().height-((null===(e=this.indicator)||void 0===e?void 0:e.offsetHeight)||0))/2;t.setAttribute("initial-position",`${o}`),t.setAttribute("padding-vertical",`${s}`)}))}componentDidRender(){this.el.childNodes.forEach((t=>{"TARO-PICKER-VIEW-COLUMN-CORE"!==t.tagName&&"taro-picker-view-mask-container"!==t.className&&this.el.removeChild(t)}))}render(){const t=n("taro-picker-view-mask-indicator",this.indicatorClass),i=n("taro-picker-view-mask-top",this.maskClass),o=n("taro-picker-view-mask-bottom",this.maskClass),r=a(this.indicatorStyle),c=a(this.maskStyle),l=a(this.maskStyle);return e(s,{class:"taro-picker-view-container"},e("slot",null),e("div",{class:"taro-picker-view-mask-container"},e("div",{class:i,style:c}),e("div",{class:t,style:r,ref:t=>this.indicator=t}),e("div",{class:o,style:l})))}get el(){return o(this)}};l.style=".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{display:-ms-flexbox;display:flex;position:absolute;left:0;right:0;top:0;bottom:0;-ms-flex-direction:column;flex-direction:column;pointer-events:none}.taro-picker-view-mask-indicator{display:-ms-flexbox;display:flex;border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px}.taro-picker-view-mask-top{-ms-flex:1;flex:1;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}.taro-picker-view-mask-bottom{-ms-flex:1;flex:1;background:-webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background:linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}";export{c as taro_picker_view_column_core,l as taro_picker_view_core}
1
+ import{r as t,c as i,h as e,g as o,H as s}from"./p-9137dcab.js";import{d as r}from"./p-d3c7f87d.js";import{c as n}from"./p-de951a46.js";function a(t){if(t){const i=/([\w-]*)\s*:\s*([^;]*)/g,e={};let o;for(;o=i.exec(t);)e[`${o[1]}`]=o[2].trim();return e}}const c=class{constructor(e){t(this,e),this.onChange=i(this,"onselect",7),this.onSelectStart=i(this,"onselectstart",7),this.onSelectEnd=i(this,"onselectend",7),this.handleSelected=r((()=>{const t=this.el.childNodes;let i=0,e="0";for(const o in t){const s=t[o].offsetHeight;if(i+s/2>this.el.scrollTop){e=o;break}i+=s}this.el.scrollTo({top:i,behavior:"smooth"}),this.onChange.emit({curIndex:this.col,selectedIndex:e}),this.onSelectEnd.emit()}),500),this.col=void 0,this.initialPosition="0",this.paddingVertical=0,this.isInit=!1,this.isMove=!1}onScroll(t){this.isMove||(this.isMove=!0,this.onSelectStart.emit()),this.handleSelected()}onMouseEnd(){this.isMove&&(this.isMove=!1,this.handleSelected())}onTouchEnd(){this.isMove=!1,this.handleSelected()}componentDidUpdate(){if(!this.isInit){this.isInit=!0;const t=this.el.childNodes;let i=0,e=0;for(const o in t){const s=t[o];if(this.initialPosition===o||!s||"number"!=typeof s.offsetHeight)break;e+=s.offsetHeight,i++}this.el.scrollTo({top:e}),i>=t.length&&this.onChange.emit({curIndex:this.col,selectedIndex:i-1})}}render(){const{paddingVertical:t=0}=this;return e(s,{class:"taro-picker-view-column-container",style:{"padding-top":`${t}px`,"padding-bottom":`${t}px`}})}get el(){return o(this)}};c.style=".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";const l=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onPickStart=i(this,"pickstart",7),this.onPickEnd=i(this,"pickend",7),this.indicatorStyle=void 0,this.indicatorClass=void 0,this.value=void 0,this.maskStyle=void 0,this.maskClass=void 0}onSelect(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&(this.value[+t.detail.curIndex]=+t.detail.selectedIndex,this.onChange.emit({value:this.value}))}onSelectStart(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickStart.emit()}onPickerColEnd(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickEnd.emit()}componentDidLoad(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((t,i)=>{var e;t.setAttribute("col",`${i}`);let o="0";this.value&&this.value.length>i&&(o=`${this.value[i]}`);const s=(this.el.getBoundingClientRect().height-((null===(e=this.indicator)||void 0===e?void 0:e.offsetHeight)||0))/2;t.setAttribute("initial-position",`${o}`),t.setAttribute("padding-vertical",`${s}`)}))}componentDidRender(){this.el.childNodes.forEach((t=>{"TARO-PICKER-VIEW-COLUMN-CORE"!==t.tagName&&"taro-picker-view-mask-container"!==t.className&&this.el.removeChild(t)}))}render(){const t=n("taro-picker-view-mask-indicator",this.indicatorClass),i=n("taro-picker-view-mask-top",this.maskClass),o=n("taro-picker-view-mask-bottom",this.maskClass),r=a(this.indicatorStyle),c=a(this.maskStyle),l=a(this.maskStyle);return e(s,{class:"taro-picker-view-container"},e("slot",null),e("div",{class:"taro-picker-view-mask-container"},e("div",{class:i,style:c}),e("div",{class:t,style:r,ref:t=>this.indicator=t}),e("div",{class:o,style:l})))}get el(){return o(this)}};l.style=".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{display:-ms-flexbox;display:flex;position:absolute;left:0;right:0;top:0;bottom:0;-ms-flex-direction:column;flex-direction:column;pointer-events:none}.taro-picker-view-mask-indicator{display:-ms-flexbox;display:flex;border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px}.taro-picker-view-mask-top{-ms-flex:1;flex:1;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}.taro-picker-view-mask-bottom{-ms-flex:1;flex:1;background:-webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background:linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}";export{c as taro_picker_view_column_core,l as taro_picker_view_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as s,H as t}from"./p-9137dcab.js";import{c as r}from"./p-de951a46.js";const i=class{constructor(s){o(this,s),this.type=void 0,this.size="23",this.color=void 0}render(){const{type:o,size:i,color:c}=this,e=null==o?void 0:o.replace(/_/g,"-"),a=r({[`weui-icon-${e}`]:!0});return s(t,{class:a,style:{"font-size":`${i}px`,color:c}})}};export{i as taro_icon_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_live_pusher_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("LivePusher",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r,h as n,H as o}from"./p-9137dcab.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(n){r(this,n)}componentDidLoad(){t("InlinePaymentPanel",this)}render(){return n(o,null)}};export{a as taro_inline_payment_panel_core}
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){s("Lifestyle",this)}render(){return o(t,null)}};export{e as taro_lifestyle_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("RtcRoomItem",this)}render(){return r(t,null)}};export{a as taro_rtc_room_item_core}
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Ad",this)}render(){return o(t,null)}};export{a as taro_ad_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_like_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Like",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_like_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Like",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_follow_swan_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FollowSwan",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_follow_swan_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FollowSwan",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_live_player_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as s,h as r,H as o}from"./p-9137dcab.js";const t=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:t,borderRadius:i,fontSize:e,strokeWidth:a,activeColor:n,backgroundColor:c,active:h}=this,d=s>100?100:s<0?0:s,p=h?"width 1s ease-in-out":"none";return r(o,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:a+"px",backgroundColor:c}},r("div",{class:"weui-progress__inner-bar",style:{width:`${d}%`,transition:p,WebkitTransition:p,backgroundColor:n,borderRadius:i?`${i}px`:"0px"}})),t&&r("div",{class:"weui-progress__opr",style:{"font-size":`${e}px`}},r("span",null,d,"%")))}};export{t as taro_progress_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,i,o,s,n,r,a;return{setters:[function(t){e=t.r;i=t.c;o=t.h;s=t.H;n=t.g},function(t){r=t.c},function(t){a=t.h},function(){}],execute:function(){var h="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var u=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=i(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){a(this.el)};t.prototype.render=function(){var t;var e=r((t={},t["".concat(this.hoverClass)]=this.hover,t));var i={};if(!!this.animation){i["animation"]=this.animation;i["data-animation"]=this.animation}return o(s,Object.assign({class:e},i),o("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());u.style=h}}}));
@@ -0,0 +1 @@
1
+ import{r,h as t,H as o}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){r(this,t)}componentDidLoad(){s("TabItem",this)}render(){return t(o,null)}};export{a as taro_tab_item_core}
@@ -0,0 +1 @@
1
+ import{r as t,h as o,H as r}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){t(this,o)}componentDidLoad(){s("ContactButton",this)}render(){return o(r,null)}};export{a as taro_contact_button_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_comment_list_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentList",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_comment_list_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentList",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-61f225ef.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var a=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(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 i=Date.now()-this.startTime;if(i<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 i=n((t={},t["".concat(this.hoverClass)]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());a.style=r}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var a=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(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 i=Date.now()-this.startTime;if(i<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 i=n((t={},t["".concat(this.hoverClass)]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());a.style=r}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){a("AnimationView",this)}render(){return r(t,null)}};export{s as taro_animation_view_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.r;r=t.h}],execute:function(){var n=t("taro_label_core",function(){function t(t){e(this,t);this.for=undefined}t.prototype.render=function(){return r("label",{htmlFor:this.for},r("slot",null))};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.r;r=t.h}],execute:function(){var n=t("taro_label_core",function(){function t(t){e(this,t);this.for=undefined}t.prototype.render=function(){return r("label",{htmlFor:this.for},r("slot",null))};return t}())}}}));
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,g as r}from"./p-78e3ebb9.js";const o=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:r,disabled:o,nativeProps:a}=this;return i(s,{className:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:r,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return r(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};var a,h=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),h(this,a,t.detail.value,"f"),this.onChange.emit({value:c(this,a,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-radio-core");h(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(s,{class:"weui-cells_radiogroup"})}get el(){return r(this)}};a=new WeakMap;export{o as taro_radio_core,n as taro_radio_group_core}
1
+ import{r as t,c as e,h as i,H as s,g as r}from"./p-9137dcab.js";const o=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:r,disabled:o,nativeProps:a}=this;return i(s,{className:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:r,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return r(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};var a,h=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),h(this,a,t.detail.value,"f"),this.onChange.emit({value:c(this,a,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-radio-core");h(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(s,{class:"weui-cells_radiogroup"})}get el(){return r(this)}};a=new WeakMap;export{o as taro_radio_core,n as taro_radio_group_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("RootPortal",this)}render(){return r(t,null)}};export{a as taro_root_portal_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("CommentList",this)}render(){return t(r,null)}};export{a as taro_comment_list_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_page_meta_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("PageMeta",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_grid_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("GridView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_grid_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("GridView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{r as t,c as s,h as i}from"./p-78e3ebb9.js";const o=class{constructor(i){t(this,i),this.onError=s(this,"error",7),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onEnded=s(this,"ended",7),this.src=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.nativeProps={}}bindevent(){this.audio.addEventListener("timeupdate",(t=>{this.onTimeUpdate.emit({duration:t.srcElement.duration,currentTime:t.srcElement.duration})})),this.audio.addEventListener("ended",(()=>{this.onEnded.emit()})),this.audio.addEventListener("play",(()=>{this.onPlay.emit()})),this.audio.addEventListener("pause",(t=>{this.onPause.emit(t)})),this.audio.addEventListener("error",(t=>{var s;this.onError.emit({errMsg:null===(s=t.srcElement.error)||void 0===s?void 0:s.code})}))}componentDidLoad(){this.bindevent()}render(){const{src:t,controls:s,autoplay:o,loop:e,muted:h,nativeProps:r}=this;return i("audio",Object.assign({src:t,controls:s,autoplay:o,loop:e,muted:h,ref:t=>{this.audio=t}},r))}};o.style="audio{max-width:100%;outline:none}";export{o as taro_audio_core}
1
+ import{r as t,c as s,h as i}from"./p-9137dcab.js";const o=class{constructor(i){t(this,i),this.onError=s(this,"error",7),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onEnded=s(this,"ended",7),this.src=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.nativeProps={}}bindevent(){this.audio.addEventListener("timeupdate",(t=>{this.onTimeUpdate.emit({duration:t.srcElement.duration,currentTime:t.srcElement.duration})})),this.audio.addEventListener("ended",(()=>{this.onEnded.emit()})),this.audio.addEventListener("play",(()=>{this.onPlay.emit()})),this.audio.addEventListener("pause",(t=>{this.onPause.emit(t)})),this.audio.addEventListener("error",(t=>{var s;this.onError.emit({errMsg:null===(s=t.srcElement.error)||void 0===s?void 0:s.code})}))}componentDidLoad(){this.bindevent()}render(){const{src:t,controls:s,autoplay:o,loop:h,muted:e,nativeProps:r}=this;return i("audio",Object.assign({src:t,controls:s,autoplay:o,loop:h,muted:e,ref:t=>{this.audio=t}},r))}};o.style="audio{max-width:100%;outline:none}";export{o as taro_audio_core}
@@ -0,0 +1 @@
1
+ import{r,h as o,H as a}from"./p-9137dcab.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("NavigationBar",this)}render(){return o(a,null)}};export{s as taro_navigation_bar_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_sticky_header_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("StickyHeader",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_channel_video_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("ChannelVideo",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_channel_video_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("ChannelVideo",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_functional_page_navigator_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FunctionalPageNavigator",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RtcRoom",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,r,o,e;return{setters:[function(t){n=t.r;r=t.h;o=t.H},function(t){e=t.n},function(){}],execute:function(){var i=t("taro_navigation_bar_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("NavigationBar",this)};t.prototype.render=function(){return r(o,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("AdCustom",this)}render(){return r(t,null)}};export{a as taro_ad_custom_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("NativeSlot",this)}render(){return t(r,null)}};export{a as taro_native_slot_core}
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,o,e,r){function l(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,n){function i(t){try{c(r.next(t))}catch(t){n(t)}}function s(t){try{c(r["throw"](t))}catch(t){n(t)}}function c(t){t.done?e(t.value):l(t.value).then(i,s)}c((r=r.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,l,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(o){return c([t,o])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(e=0)),e)try{if(r=1,l&&(n=s[0]&2?l["return"]:s[0]?l["throw"]||((n=l["return"])&&n.call(l),0):l.next)&&!(n=n.call(l,s[1])).done)return n;if(l=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;l=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=o.call(t,e)}catch(t){s=[6,t];l=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js","./p-bd5177d3.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var o,e,r,l,n,i,s,c;return{setters:[function(t){o=t.r;e=t.c;r=t.h;l=t.H;n=t.g},function(t){i=t.c},function(t){s=t.d},function(t){c=t.h},function(){}],execute:function(){var a="taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";function u(t,o,e,r){if(e===void 0){e=500}if(t===o||typeof t!=="number"){return}var l=o-t;var n=Date.now();var i=o>=t;function s(t,o,e,r){return e*t/r+o}function c(){t=s(Date.now()-n,t,l,e);if(i&&t>=o||!i&&o>=t){r(o);return}r(t);requestAnimationFrame(c)}c()}var f=t("taro_scroll_view_core",function(){function t(t){var r=this;o(this,t);this.onScroll=e(this,"scroll",3);this.onScrollToUpper=e(this,"scrolltoupper",3);this.onScrollToLower=e(this,"scrolltolower",3);this._scrollLeft=0;this._scrollTop=0;this.upperAndLower=s((function(){var t=r.el,o=t.offsetWidth,e=t.offsetHeight,l=t.scrollLeft,n=t.scrollTop,i=t.scrollHeight,s=t.scrollWidth;var c=Number(r.lowerThreshold);var a=Number(r.upperThreshold);if(!isNaN(c)&&(r.scrollY&&e+n+c>=i||r.scrollX&&o+l+c>=s)){r.onScrollToLower.emit({direction:r.scrollX?"right":r.scrollY?"bottom":""})}if(!isNaN(a)&&(r.scrollY&&n<=a||r.scrollX&&l<=a)){r.onScrollToUpper.emit({direction:r.scrollX?"left":r.scrollY?"top":""})}}),200);this.scrollX=false;this.scrollY=false;this.upperThreshold=50;this.lowerThreshold=50;this.mpScrollTop=undefined;this.mpScrollLeft=undefined;this.mpScrollIntoView=undefined;this.mpScrollIntoViewAlignment=undefined;this.animated=false}t.prototype.watchScrollLeft=function(t){var o=Number(t);var e=this.animated;this.mpScrollToMethod({left:o,animated:e})};t.prototype.watchScrollTop=function(t){var o=Number(t);var e=this.animated;this.mpScrollToMethod({top:o,animated:e})};t.prototype.watchScrollIntoView=function(t){this.mpScrollIntoViewMethod(t)};t.prototype.handleScroll=function(t){if(t instanceof CustomEvent)return;t.stopPropagation();var o=this.el,e=o.scrollLeft,r=o.scrollTop,l=o.scrollHeight,n=o.scrollWidth;this._scrollLeft=e;this._scrollTop=r;this.upperAndLower();this.onScroll.emit({scrollLeft:e,scrollTop:r,scrollHeight:l,scrollWidth:n})};t.prototype.handleTouchMove=function(t){if(t instanceof CustomEvent)return;t.stopPropagation()};t.prototype.mpScrollToMethod=function(t){return __awaiter(this,void 0,void 0,(function(){var o,e,r,l,n;var i=this;return __generator(this,(function(s){o=t.top,e=t.left,r=t.duration,l=t.animated,n=l===void 0?false:l;if(this.scrollY&&typeof o==="number"&&!isNaN(o)&&o!==this._scrollTop){if(n){u(this._scrollTop,o,r,(function(t){return i.el.scrollTop=t}))}else{this.el.scrollTop=o}this._scrollTop=o}if(this.scrollX&&typeof e==="number"&&!isNaN(e)&&e!==this._scrollLeft){if(n){u(this._scrollLeft,e,r,(function(t){return i.el.scrollLeft=t}))}else{this.el.scrollLeft=e}this._scrollLeft=e}return[2]}))}))};t.prototype.mpScrollIntoViewMethod=function(t){return __awaiter(this,void 0,void 0,(function(){var o;return __generator(this,(function(e){if(typeof t==="string"&&t){(o=document.querySelector("#".concat(t)))===null||o===void 0?void 0:o.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY?this.mpScrollIntoViewAlignment||"center":"center",inline:this.scrollX?this.mpScrollIntoViewAlignment||"start":"start"})}return[2]}))}))};t.prototype.componentDidLoad=function(){var t=Number(this.mpScrollTop);var o=Number(this.mpScrollLeft);var e=this.animated;this.mpScrollToMethod({top:t,left:o,animated:e})};t.prototype.componentDidRender=function(){c(this.el)};t.prototype.render=function(){var t=this,o=t.scrollX,e=t.scrollY;var n=i({"taro-scroll-view__scroll-x":o,"taro-scroll-view__scroll-y":e});return r(l,{class:n},r("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}},enumerable:false,configurable:true});return t}());f.style=a}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,c,e;return{setters:[function(t){n=t.r;o=t.h;c=t.H},function(t){e=t.n},function(){}],execute:function(){var r=t("taro_official_account_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("OfficialAccount",this)};t.prototype.render=function(){return o(c,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(t,i){"use strict";var o,e,r,a,s;return{setters:[function(t){o=t.r;e=t.c;r=t.h;a=t.H},function(t){s=t.c}],execute:function(){var n='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}';i.import("./p-3b1d2d37.system.js");var h=t("taro_image_core",function(){function t(t){o(this,t);this.onLoad=e(this,"load",7);this.onError=e(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,r=t.naturalHeight;this.onLoad.emit({width:i,height:o});this.aspectFillMode=e>r?"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,n=o.mode,h=n===void 0?"scaleToFill":n,d=o.lazyLoad,m=d===void 0?false:d,g=o.aspectFillMode,l=g===void 0?"width":g,c=o.imageOnLoad,f=o.imageOnError,p=o.nativeProps,_=o.didLoad;var u=s({"taro-img__widthfix":h==="widthFix"});var b=s("taro-img__mode-".concat(h.toLowerCase().replace(/\s/g,"")),(t={},t["taro-img__mode-aspectfill--".concat(l)]=h==="aspectFill",t));return r(a,{class:u},r("img",Object.assign({ref:function(t){return i.imgRef=t},class:b,src:m&&!_?undefined:e,onLoad:c.bind(this),onError:f.bind(this)},p)))};return t}());h.style=n}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var u=t("taro_contact_button_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("ContactButton",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_contact_button_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("ContactButton",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("Login",this)}render(){return r(t,null)}};export{a as taro_login_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("CommentDetail",this)}render(){return t(r,null)}};export{a as taro_comment_detail_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(o){"use strict";var t,r,e,a,i,n;return{setters:[function(o){t=o.r;r=o.c;e=o.h;a=o.H;i=o.g},function(o){n=o.c}],execute:function(){var c='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 b=o("taro_button_core",function(){function o(o){t(this,o);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(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,i=t.hoverClass,c=t.type,b=t.size,d=t.plain,l=t.loading,s=t.hover;var u=n((o={},o["".concat(i)]=s&&!r,o));return e(a,{class:u,type:c,plain:d,loading:l,size:b,disabled:r},l&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());b.style=c}}}));
@@ -0,0 +1 @@
1
+ import o from"@tarojs/taro";function t(t="",n={}){console.error(`H5 暂不支持 ${t} 组件!`),o.eventCenter.trigger("__taroNotSupport",{name:t,instance:n,type:"component",category:"temporarily"})}function n(o){var t;null===(t=null==o?void 0:o.childNodes)||void 0===t||t.forEach((o=>{o.nodeType===document.COMMENT_NODE&&o["s-cn"]&&(o["s-cn"]=!1),o.nodeType!==document.COMMENT_NODE&&o["s-sr"]&&(o["s-sr"]=!1)}))}export{n as h,t as n}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_map_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Map",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_map_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Map",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1,7 @@
1
+ var r,n,e=(r=function(r){
2
+ /*!
3
+ Copyright (c) 2018 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */
7
+ !function(){var n={}.hasOwnProperty;function e(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var t=typeof o;if("string"===t||"number"===t)r.push(o);else if(Array.isArray(o)){if(o.length){var u=e.apply(null,o);u&&r.push(u)}}else if("object"===t){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var f in o)n.call(o,f)&&o[f]&&r.push(f)}}}return r.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}()},r(n={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}}),n.exports);export{e as c}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_comment_detail_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentDetail",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_comment_detail_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentDetail",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var s="taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{display:block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:0.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";var c=e("taro_rich_text_core",function(){function e(e){var n=this;t(this,e);this.renderNode=function(e){if("type"in e&&e.type==="text"){var t=(e.text||"").replace(/&nbsp;/g," ");return t}else if("name"in e&&e.name){var s=e.name,c=e.attrs,i=e.children;var a={};var o=[];if(c&&typeof c==="object"){var u=function(e){var t=c[e];if(e==="style"&&typeof t==="string"){var r=t.split(";").map((function(e){return e.trim()})).filter((function(e){return e}));var n={};r.forEach((function(e){if(!e)return;var t=/(.+): *(.+)/g.exec(e);if(!t)return;var r=t[1],s=t[2];var c=r.replace(/-([a-z])/g,(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e[1].toUpperCase()}));n[c]=s}));if(Object.keys(n).length){a.style=n}return"continue"}a[e]=t};for(var l in c){u(l)}}if(i&&i.length){o=i.map((function(e){return n.renderNode(e)}))}return r(s,a,o)}return null};this.nodes=undefined;this.selectable=false;this.userSelect=false;this.space=undefined}e.prototype.render=function(){var e=this,t=e.nodes,s=e.renderNode;if(Array.isArray(t)){return r(n,null,t.map((function(e){return s(e)})))}else{return r(n,{innerHTML:t})}};return e}());c.style=s}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_camera_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Camera",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_camera_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Camera",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Editor",this)}render(){return o(t,null)}};export{a as taro_editor_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js"],(function(r){"use strict";var t,s,e;return{setters:[function(r){t=r.r;s=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){t(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,t=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,c=r.activeColor,u=r.backgroundColor,h=r.active;var d=t>100?100:t<0?0:t;var l={height:a+"px",backgroundColor:u};var p=h?"width 1s ease-in-out":"none";var v={width:"".concat(d,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(e,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:l},s("div",{class:"weui-progress__inner-bar",style:v})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return r}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js"],(function(r){"use strict";var t,s,e;return{setters:[function(r){t=r.r;s=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){t(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,t=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,c=r.activeColor,u=r.backgroundColor,h=r.active;var d=t>100?100:t<0?0:t;var l={height:a+"px",backgroundColor:u};var p=h?"width 1s ease-in-out":"none";var v={width:"".concat(d,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(e,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:l},s("div",{class:"weui-progress__inner-bar",style:v})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return r}())}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(a=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-1a0e1932.system.js"],(function(e){"use strict";var t,n,a,i,r;return{setters:[function(e){t=e.r;n=e.h;a=e.g;i=e.H;r=e.c}],execute:function(){var o="taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";var s=e("taro_movable_area_core",function(){function e(e){var n=this;t(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){n.views=[];var e=n.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){n.views.push(e)}));n.updateArea()};this.handleTouchStart=function(e){var t=e.touches;if(!t||t.length<=1){return}var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};n.scaleLength=Math.sqrt(a.width*a.width+a.height*a.height);if(n.scaleArea){return}var i=function(e,t){var n=function(e,t){if(!(e=e.parentNode)){return false}return(!(e instanceof HTMLElement)||e!==document.body)&&(e===t||e===t.element||e.element===t||n(e,t))};for(var a=0;a<t.length;a++){var i=t[a];if(e===i["element"]||n(e,i)){return i}}};var r=i(t[0].target,n.views);var o=i(t[1].target,n.views);n.scaleTarget=r&&r===o?r:undefined};this.handleTouchMove=function(e){var t=e.touches;if(!t||t.length<=1){return}e.preventDefault();var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};if(n.scaleLength>0){n.updateScale(Math.sqrt(a.width*a.width+a.height*a.height)/n.scaleLength)}};this.handleTouchEnd=function(e){var t,a;if(e.touches&&e.touches.length||!e.changedTouches){return}n.scaleLength=0;if(n.scaleArea){n.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["endScale"])===null||a===void 0?void 0:a.call(t)}n.scaleTarget=undefined};this.updateScale=function(e){var t,a;if(!e||e===1){return}if(n.scaleArea){n.views.forEach((function(t){var n;(n=t["setScale"])===null||n===void 0?void 0:n.call(t,e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["setScale"])===null||a===void 0?void 0:a.call(t,e)}};this.updateArea=function(){var e=window.getComputedStyle(n.element);var t=n.element.getBoundingClientRect();var a=["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])}));n.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:n.element,area:{height:t.height-i[0]-i[1],width:t.width-a[0]-a[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n,a;if(t.attributeName==="class"||t.attributeName==="style"){var i=e.element.offsetWidth;var r=e.element.offsetHeight;if(i!==((n=e.offset)===null||n===void 0?void 0:n.width)||r!==((a=e.offset)===null||a===void 0?void 0:a.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 n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=o;var c="taro-movable-view-core{display:inline-block;position:absolute;left:0;top:0;width:10px;height:10px}";var l=e("taro_movable_view_core",function(){function e(e){var n=this;t(this,e);this.onChange=r(this,"change",7);this.onScale=r(this,"scale",7);this.onHTouchMove=r(this,"htouchmove",7);this.onVTouchMove=r(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,t){var a=false;e>n.maxX?(e=n.maxX,a=true):e<n.minX&&(e=n.minX,a=true);t>n.maxY?(t=n.maxY,a=true):t<n.minY&&(t=n.minY,a=true);return{x:e,y:t,outOfBounds:a}};this.animationTo=function(e,t,a,i,r,o,s){if(n.animation){n.setTransform(e,t,a,i,r,o);s===null||s===void 0?void 0:s()}else{n.setTransform(e,t,a,i,r,o)}};this.setTransform=function(e,t,a,i,r,o){e=Number(e.toFixed(1));t=Number(t.toFixed(1));a=Number((a!==null&&a!==void 0?a:n.currentScale).toFixed(3));if(!n.outOfBounds){var s=n.getLimitXY(e,t);e=s.x;t=s.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,n.scaleOffset.x);var u=c(t,n.scaleOffset.y);if(n.translateX!==e||n.translateY!==t){!r&&n.onChange.emit({x:l,y:u,source:i})}if(a!==n.currentScale){o&&n.onScale.emit({scale:a,x:l,y:u})}var h="translateX(".concat(e,"px) translateY(").concat(t,"px) translateZ(0px) scale(").concat(a,")");n.element.style.transform=h;n.element.style.webkitTransform=h;n.translateX=e;n.translateY=t;n.currentScale=a};this.updateOffset=function(){var e=function(t,n){if(t===n||!t.offsetParent){return{left:0,top:0}}var a=e(t.offsetParent,n);return{left:t.offsetLeft+a.left,top:t.offsetTop+a.top}};if(!n.parent){return}var t=e(n.element,n.parent);n.offset.x=t.left;n.offset.y=t.top};this.updateScaleOffset=function(e){if(e===void 0){e=n.currentScale}var t=n.element.getBoundingClientRect();n.height=t.height/n.currentScale;n.width=t.width/n.currentScale;n.scaleOffset.x=(n.width*e-n.width)/2;n.scaleOffset.y=(n.height*e-n.height)/2};this.updateBoundary=function(){var e=0-n.offset.x+n.scaleOffset.x;var t=n.area.width-n.width-n.offset.x-n.scaleOffset.x;n.minX=Math.min(e,t);n.maxX=Math.max(e,t);var a=0-n.offset.y+n.scaleOffset.y;var i=n.area.height-n.height-n.offset.y-n.scaleOffset.y;n.minY=Math.min(a,i);n.maxY=Math.max(a,i)};this.updateScale=function(e,t,a){if(!n.scale){return}var i=n.adjustScale(e);n.updateScaleOffset(i);n.updateBoundary();var r=n.getLimitXY(n.translateX,n.translateY),o=r.x,s=r.y;if(t){n.animationTo(o,s,i,"",true,true,a)}else if(!n.updating){n.updating=true;requestAnimationFrame((function(){n.setTransform(o,s,i,"",true,true);n.updating=false}))}};this.setOriginScale=function(e){n.originScale=e};this.adjustScale=function(e){return Math.min(10,n.scaleMax,Math.max(.5,n.scaleMin,e))};this.handleTouchStart=function(e){var t=e.touches;if(n.disabled||t.length>1||!n.element){return}var a=t[0];n.touching=true;n.firstMoveFireEvent=false;n.origin.x=a.screenX;n.origin.y=a.screenY;n.baseX=n.translateX;n.baseY=n.translateY;n.element.style.willChange="transform"};this.handleTouchMove=function(e){var t=e.touches;if(n.disabled||!n.element||n.scaling||!n.touching||t.length>1){return}e.preventDefault();var a=t[0];var i=a.screenX-n.origin.x;var r=a.screenY-n.origin.y;n.setTransform(n.xMove?i+n.baseX:0,n.yMove?r+n.baseY:0);if(!n.firstMoveFireEvent){n.firstMoveFireEvent=true;var o=Math.abs(i)>Math.abs(r)?n.onHTouchMove:n.onVTouchMove;o.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var t=e.changedTouches[0];if(n.disabled||!n.touching||!t){return}n.touching=false;var a=t.screenX-n.origin.x;var i=t.screenY-n.origin.y;n.setTransform(n.xMove?a+n.baseX:0,n.yMove?i+n.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,n=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){e=this.scale?this.scaleValue:1;this.area=n;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 n=t.attributeName;if(n&&["class","style"].includes(n)){var a=t.oldValue;var i=t.target.getAttribute(n);if(a===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(n==="style"&&r(i)===r(a)){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 n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(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}());l.style=c}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(a=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,n,a,i,r;return{setters:[function(e){t=e.r;n=e.h;a=e.g;i=e.H;r=e.c}],execute:function(){var o="taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";var s=e("taro_movable_area_core",function(){function e(e){var n=this;t(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){n.views=[];var e=n.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){n.views.push(e)}));n.updateArea()};this.handleTouchStart=function(e){var t=e.touches;if(!t||t.length<=1){return}var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};n.scaleLength=Math.sqrt(a.width*a.width+a.height*a.height);if(n.scaleArea){return}var i=function(e,t){var n=function(e,t){if(!(e=e.parentNode)){return false}return(!(e instanceof HTMLElement)||e!==document.body)&&(e===t||e===t.element||e.element===t||n(e,t))};for(var a=0;a<t.length;a++){var i=t[a];if(e===i["element"]||n(e,i)){return i}}};var r=i(t[0].target,n.views);var o=i(t[1].target,n.views);n.scaleTarget=r&&r===o?r:undefined};this.handleTouchMove=function(e){var t=e.touches;if(!t||t.length<=1){return}e.preventDefault();var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};if(n.scaleLength>0){n.updateScale(Math.sqrt(a.width*a.width+a.height*a.height)/n.scaleLength)}};this.handleTouchEnd=function(e){var t,a;if(e.touches&&e.touches.length||!e.changedTouches){return}n.scaleLength=0;if(n.scaleArea){n.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["endScale"])===null||a===void 0?void 0:a.call(t)}n.scaleTarget=undefined};this.updateScale=function(e){var t,a;if(!e||e===1){return}if(n.scaleArea){n.views.forEach((function(t){var n;(n=t["setScale"])===null||n===void 0?void 0:n.call(t,e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["setScale"])===null||a===void 0?void 0:a.call(t,e)}};this.updateArea=function(){var e=window.getComputedStyle(n.element);var t=n.element.getBoundingClientRect();var a=["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])}));n.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:n.element,area:{height:t.height-i[0]-i[1],width:t.width-a[0]-a[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n,a;if(t.attributeName==="class"||t.attributeName==="style"){var i=e.element.offsetWidth;var r=e.element.offsetHeight;if(i!==((n=e.offset)===null||n===void 0?void 0:n.width)||r!==((a=e.offset)===null||a===void 0?void 0:a.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 n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=o;var c="taro-movable-view-core{display:inline-block;position:absolute;left:0;top:0;width:10px;height:10px}";var l=e("taro_movable_view_core",function(){function e(e){var n=this;t(this,e);this.onChange=r(this,"change",7);this.onScale=r(this,"scale",7);this.onHTouchMove=r(this,"htouchmove",7);this.onVTouchMove=r(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,t){var a=false;e>n.maxX?(e=n.maxX,a=true):e<n.minX&&(e=n.minX,a=true);t>n.maxY?(t=n.maxY,a=true):t<n.minY&&(t=n.minY,a=true);return{x:e,y:t,outOfBounds:a}};this.animationTo=function(e,t,a,i,r,o,s){if(n.animation){n.setTransform(e,t,a,i,r,o);s===null||s===void 0?void 0:s()}else{n.setTransform(e,t,a,i,r,o)}};this.setTransform=function(e,t,a,i,r,o){e=Number(e.toFixed(1));t=Number(t.toFixed(1));a=Number((a!==null&&a!==void 0?a:n.currentScale).toFixed(3));if(!n.outOfBounds){var s=n.getLimitXY(e,t);e=s.x;t=s.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,n.scaleOffset.x);var u=c(t,n.scaleOffset.y);if(n.translateX!==e||n.translateY!==t){!r&&n.onChange.emit({x:l,y:u,source:i})}if(a!==n.currentScale){o&&n.onScale.emit({scale:a,x:l,y:u})}var h="translateX(".concat(e,"px) translateY(").concat(t,"px) translateZ(0px) scale(").concat(a,")");n.element.style.transform=h;n.element.style.webkitTransform=h;n.translateX=e;n.translateY=t;n.currentScale=a};this.updateOffset=function(){var e=function(t,n){if(t===n||!t.offsetParent){return{left:0,top:0}}var a=e(t.offsetParent,n);return{left:t.offsetLeft+a.left,top:t.offsetTop+a.top}};if(!n.parent){return}var t=e(n.element,n.parent);n.offset.x=t.left;n.offset.y=t.top};this.updateScaleOffset=function(e){if(e===void 0){e=n.currentScale}var t=n.element.getBoundingClientRect();n.height=t.height/n.currentScale;n.width=t.width/n.currentScale;n.scaleOffset.x=(n.width*e-n.width)/2;n.scaleOffset.y=(n.height*e-n.height)/2};this.updateBoundary=function(){var e=0-n.offset.x+n.scaleOffset.x;var t=n.area.width-n.width-n.offset.x-n.scaleOffset.x;n.minX=Math.min(e,t);n.maxX=Math.max(e,t);var a=0-n.offset.y+n.scaleOffset.y;var i=n.area.height-n.height-n.offset.y-n.scaleOffset.y;n.minY=Math.min(a,i);n.maxY=Math.max(a,i)};this.updateScale=function(e,t,a){if(!n.scale){return}var i=n.adjustScale(e);n.updateScaleOffset(i);n.updateBoundary();var r=n.getLimitXY(n.translateX,n.translateY),o=r.x,s=r.y;if(t){n.animationTo(o,s,i,"",true,true,a)}else if(!n.updating){n.updating=true;requestAnimationFrame((function(){n.setTransform(o,s,i,"",true,true);n.updating=false}))}};this.setOriginScale=function(e){n.originScale=e};this.adjustScale=function(e){return Math.min(10,n.scaleMax,Math.max(.5,n.scaleMin,e))};this.handleTouchStart=function(e){var t=e.touches;if(n.disabled||t.length>1||!n.element){return}var a=t[0];n.touching=true;n.firstMoveFireEvent=false;n.origin.x=a.screenX;n.origin.y=a.screenY;n.baseX=n.translateX;n.baseY=n.translateY;n.element.style.willChange="transform"};this.handleTouchMove=function(e){var t=e.touches;if(n.disabled||!n.element||n.scaling||!n.touching||t.length>1){return}e.preventDefault();var a=t[0];var i=a.screenX-n.origin.x;var r=a.screenY-n.origin.y;n.setTransform(n.xMove?i+n.baseX:0,n.yMove?r+n.baseY:0);if(!n.firstMoveFireEvent){n.firstMoveFireEvent=true;var o=Math.abs(i)>Math.abs(r)?n.onHTouchMove:n.onVTouchMove;o.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var t=e.changedTouches[0];if(n.disabled||!n.touching||!t){return}n.touching=false;var a=t.screenX-n.origin.x;var i=t.screenY-n.origin.y;n.setTransform(n.xMove?a+n.baseX:0,n.yMove?i+n.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,n=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){e=this.scale?this.scaleValue:1;this.area=n;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 n=t.attributeName;if(n&&["class","style"].includes(n)){var a=t.oldValue;var i=t.target.getAttribute(n);if(a===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(n==="style"&&r(i)===r(a)){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 n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(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}());l.style=c}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as s}from"./p-9137dcab.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){t("KeyboardAccessory",this)}render(){return o(s,null)}};export{a as taro_keyboard_accessory_core}