@tarojs/components 3.6.22-nightly.0 → 3.6.22-nightly.4

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 (558) hide show
  1. package/LICENSE +7 -0
  2. package/dist/cjs/{index-e751dfe3.js → index-dbbe9dde.js} +3 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-button-core.cjs.entry.js +8 -4
  13. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-components.cjs.js +1 -1
  21. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-cover-view-core.cjs.entry.js +7 -3
  24. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-icon-core.cjs.entry.js +10 -3
  31. package/dist/cjs/taro-image-core.cjs.entry.js +13 -8
  32. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +4 -4
  46. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-navigator-core.cjs.entry.js +4 -3
  49. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-picker-core_2.cjs.entry.js +9 -5
  54. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +11 -7
  55. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  56. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -5
  57. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  59. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +8 -4
  63. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  64. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  65. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +20 -9863
  70. package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
  71. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  72. package/dist/cjs/taro-tabbar.cjs.entry.js +28 -99
  73. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  75. package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
  76. package/dist/cjs/taro-video-control_3.cjs.entry.js +33 -9
  77. package/dist/cjs/taro-view-core.cjs.entry.js +8 -4
  78. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  80. package/dist/collection/components/audio/style/index.css +1 -4
  81. package/dist/collection/components/button/style/index.css +1 -160
  82. package/dist/collection/components/canvas/style/index.css +1 -6
  83. package/dist/collection/components/checkbox/style/index.css +1 -39
  84. package/dist/collection/components/cover-image/style/index.css +1 -5
  85. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  86. package/dist/collection/components/icon/icon.js +10 -0
  87. package/dist/collection/components/icon/style/index.css +1 -0
  88. package/dist/collection/components/image/image.js +4 -3
  89. package/dist/collection/components/image/style/index.css +1 -73
  90. package/dist/collection/components/input/input.js +2 -2
  91. package/dist/collection/components/input/style/index.css +1 -0
  92. package/dist/collection/components/movable-area/area.css +1 -6
  93. package/dist/collection/components/movable-area/view.css +1 -8
  94. package/dist/collection/components/navigator/style/index.css +1 -3
  95. package/dist/collection/components/picker/style/index.css +1 -4
  96. package/dist/collection/components/picker-view/style/column.css +1 -12
  97. package/dist/collection/components/picker-view/style/index.css +1 -28
  98. package/dist/collection/components/progress/progress.js +10 -0
  99. package/dist/collection/components/progress/style/index.css +1 -0
  100. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  101. package/dist/collection/components/rich-text/style/index.css +1 -16
  102. package/dist/collection/components/scroll-view/style/index.css +1 -17
  103. package/dist/collection/components/slider/slider.js +10 -0
  104. package/dist/collection/components/slider/style/index.css +1 -0
  105. package/dist/collection/components/swiper/style/index.css +2 -19
  106. package/dist/collection/components/switch/style/index.css +1 -10
  107. package/dist/collection/components/tabbar/style/index.css +1 -53
  108. package/dist/collection/components/text/style/index.css +1 -26
  109. package/dist/collection/components/textarea/style/index.css +1 -22
  110. package/dist/collection/components/video/style/index.css +1 -327
  111. package/dist/collection/components/view/style/index.css +1 -9
  112. package/dist/collection/components/web-view/style/index.css +1 -12
  113. package/dist/components/index2.js +31 -68
  114. package/dist/components/taro-audio-core.js +1 -1
  115. package/dist/components/taro-button-core.js +3 -3
  116. package/dist/components/taro-canvas-core.js +1 -1
  117. package/dist/components/taro-checkbox-core.js +1 -1
  118. package/dist/components/taro-cover-image-core.js +1 -1
  119. package/dist/components/taro-cover-view-core.js +2 -2
  120. package/dist/components/taro-icon-core.js +5 -2
  121. package/dist/components/taro-image-core.js +8 -7
  122. package/dist/components/taro-input-core.js +1 -1
  123. package/dist/components/taro-movable-area-core.js +1 -1
  124. package/dist/components/taro-movable-view-core.js +1 -1
  125. package/dist/components/taro-navigator-core.js +2 -2
  126. package/dist/components/taro-picker-core.js +4 -4
  127. package/dist/components/taro-picker-view-column-core.js +2 -2
  128. package/dist/components/taro-picker-view-core.js +5 -5
  129. package/dist/components/taro-progress-core.js +3 -0
  130. package/dist/components/taro-pull-to-refresh-core.js +4 -4
  131. package/dist/components/taro-rich-text-core.js +1 -1
  132. package/dist/components/taro-scroll-view-core.js +4 -4
  133. package/dist/components/taro-slider-core.js +3 -0
  134. package/dist/components/taro-swiper-core.js +8 -9856
  135. package/dist/components/taro-switch-core.js +1 -1
  136. package/dist/components/taro-tabbar.js +7 -80
  137. package/dist/components/taro-text-core.js +1 -1
  138. package/dist/components/taro-textarea-core.js +1 -1
  139. package/dist/components/taro-video-core.js +8 -8
  140. package/dist/components/taro-view-core.js +3 -3
  141. package/dist/components/taro-web-view-core.js +1 -1
  142. package/dist/esm/{index-980f930f.js → index-486e187e.js} +3 -1
  143. package/dist/esm/loader.js +2 -2
  144. package/dist/esm/taro-ad-core.entry.js +1 -1
  145. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  146. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  147. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  148. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  149. package/dist/esm/taro-audio-core.entry.js +2 -2
  150. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  151. package/dist/esm/taro-block-core.entry.js +1 -1
  152. package/dist/esm/taro-button-core.entry.js +4 -4
  153. package/dist/esm/taro-camera-core.entry.js +1 -1
  154. package/dist/esm/taro-canvas-core.entry.js +2 -2
  155. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  156. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  157. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  158. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  159. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  160. package/dist/esm/taro-components.js +2 -2
  161. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  162. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  163. package/dist/esm/taro-cover-view-core.entry.js +3 -3
  164. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  165. package/dist/esm/taro-editor-core.entry.js +1 -1
  166. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  167. package/dist/esm/taro-form-core.entry.js +1 -1
  168. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  169. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  170. package/dist/esm/taro-icon-core.entry.js +6 -3
  171. package/dist/esm/taro-image-core.entry.js +9 -8
  172. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  173. package/dist/esm/taro-input-core.entry.js +2 -2
  174. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  175. package/dist/esm/taro-label-core.entry.js +1 -1
  176. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  177. package/dist/esm/taro-like-core.entry.js +1 -1
  178. package/dist/esm/taro-list-view-core.entry.js +1 -1
  179. package/dist/esm/taro-live-player-core.entry.js +1 -1
  180. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  181. package/dist/esm/taro-login-core.entry.js +1 -1
  182. package/dist/esm/taro-lottie-core.entry.js +1 -1
  183. package/dist/esm/taro-map-core.entry.js +1 -1
  184. package/dist/esm/taro-match-media-core.entry.js +1 -1
  185. package/dist/esm/taro-movable-area-core_2.entry.js +4 -4
  186. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  187. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  188. package/dist/esm/taro-navigator-core.entry.js +3 -3
  189. package/dist/esm/taro-official-account-core.entry.js +1 -1
  190. package/dist/esm/taro-open-data-core.entry.js +1 -1
  191. package/dist/esm/taro-page-container-core.entry.js +1 -1
  192. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  193. package/dist/esm/taro-picker-core_2.entry.js +5 -5
  194. package/dist/esm/taro-picker-view-column-core_2.entry.js +7 -7
  195. package/dist/esm/taro-progress-core.entry.js +4 -1
  196. package/dist/esm/taro-pull-to-refresh-core.entry.js +5 -5
  197. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  198. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  199. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  200. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  201. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  202. package/dist/esm/taro-scroll-view-core.entry.js +4 -4
  203. package/dist/esm/taro-share-element-core.entry.js +1 -1
  204. package/dist/esm/taro-slider-core.entry.js +4 -1
  205. package/dist/esm/taro-slot-core.entry.js +1 -1
  206. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  207. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  208. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  209. package/dist/esm/taro-swiper-core_2.entry.js +6 -9854
  210. package/dist/esm/taro-switch-core.entry.js +2 -2
  211. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  212. package/dist/esm/taro-tabbar.entry.js +7 -80
  213. package/dist/esm/taro-tabs-core.entry.js +1 -1
  214. package/dist/esm/taro-text-core.entry.js +2 -2
  215. package/dist/esm/taro-textarea-core.entry.js +2 -2
  216. package/dist/esm/taro-video-control_3.entry.js +8 -8
  217. package/dist/esm/taro-view-core.entry.js +4 -4
  218. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  219. package/dist/esm/taro-web-view-core.entry.js +2 -2
  220. package/dist/esm-es5/{index-980f930f.js → index-486e187e.js} +1 -1
  221. package/dist/esm-es5/loader.js +1 -1
  222. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  223. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  228. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  236. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-components.js +1 -1
  239. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  256. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  264. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  265. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  266. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  267. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  268. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  269. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  272. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  273. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  274. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  276. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  277. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  288. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  291. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  292. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  295. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  298. package/dist/taro-components/{p-ebc7b6fc.entry.js → p-00d05751.entry.js} +1 -1
  299. package/dist/taro-components/p-014534ca.system.entry.js +1 -0
  300. package/dist/taro-components/p-015b3025.system.entry.js +1 -0
  301. package/dist/taro-components/{p-0d7a705b.system.entry.js → p-02dd30fa.system.entry.js} +1 -1
  302. package/dist/taro-components/p-03f1de43.system.entry.js +1 -0
  303. package/dist/taro-components/{p-9e03bc7a.system.entry.js → p-040f15f2.system.entry.js} +1 -1
  304. package/dist/taro-components/{p-a74c970c.system.entry.js → p-07e94301.system.entry.js} +1 -1
  305. package/dist/taro-components/{p-5e91398a.system.entry.js → p-0cf04b3d.system.entry.js} +1 -1
  306. package/dist/taro-components/p-0d538950.system.entry.js +1 -0
  307. package/dist/taro-components/p-0e3d8ada.entry.js +1 -0
  308. package/dist/taro-components/p-101f49dd.entry.js +1 -0
  309. package/dist/taro-components/p-10d3c795.system.entry.js +1 -0
  310. package/dist/taro-components/{p-7e8e355b.system.entry.js → p-114f89d6.system.entry.js} +1 -1
  311. package/dist/taro-components/p-1182efdd.system.entry.js +1 -0
  312. package/dist/taro-components/{p-2da9c8fd.entry.js → p-128f9eb0.entry.js} +1 -1
  313. package/dist/taro-components/{p-208e438c.system.entry.js → p-1b42ba7e.system.entry.js} +1 -1
  314. package/dist/taro-components/{p-e598f47b.entry.js → p-1ced140d.entry.js} +1 -1
  315. package/dist/taro-components/{p-fbb2446e.entry.js → p-1d25f4e3.entry.js} +1 -1
  316. package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-1e3d7899.system.entry.js} +1 -1
  317. package/dist/taro-components/{p-de96861c.system.entry.js → p-1ee83d63.system.entry.js} +1 -1
  318. package/dist/taro-components/p-2059cbc0.system.entry.js +1 -0
  319. package/dist/taro-components/{p-15624788.system.entry.js → p-205a0692.system.entry.js} +1 -1
  320. package/dist/taro-components/p-232d907e.entry.js +1 -0
  321. package/dist/taro-components/p-25bbf4aa.system.entry.js +1 -0
  322. package/dist/taro-components/{p-b07cd197.system.entry.js → p-26545e4e.system.entry.js} +1 -1
  323. package/dist/taro-components/p-28bf8423.system.entry.js +1 -0
  324. package/dist/taro-components/{p-3004e71a.system.entry.js → p-290fd78b.system.entry.js} +1 -1
  325. package/dist/taro-components/{p-a4951dd6.entry.js → p-2d6d4850.entry.js} +1 -1
  326. package/dist/taro-components/p-2f403f7f.entry.js +1 -0
  327. package/dist/taro-components/{p-a2d590ad.entry.js → p-2f683899.entry.js} +1 -1
  328. package/dist/taro-components/p-30623371.entry.js +1 -0
  329. package/dist/taro-components/{p-a2141e85.system.entry.js → p-34933f34.system.entry.js} +1 -1
  330. package/dist/taro-components/{p-92d04741.system.entry.js → p-352b6b6b.system.entry.js} +1 -1
  331. package/dist/taro-components/p-35e96af8.system.entry.js +1 -0
  332. package/dist/taro-components/{p-f78823a1.entry.js → p-37593ce7.entry.js} +1 -1
  333. package/dist/taro-components/p-387f300a.entry.js +1 -0
  334. package/dist/taro-components/p-3afbae36.entry.js +1 -0
  335. package/dist/taro-components/p-3bd04d38.entry.js +1 -0
  336. package/dist/taro-components/{p-21c07cb3.system.entry.js → p-3ca9aa19.system.entry.js} +1 -1
  337. package/dist/taro-components/{p-ce303d12.system.entry.js → p-3d76b46e.system.entry.js} +1 -1
  338. package/dist/taro-components/p-3dadbe4c.system.entry.js +1 -0
  339. package/dist/taro-components/{p-ef322936.entry.js → p-3e9bf572.entry.js} +1 -1
  340. package/dist/taro-components/p-449f60fa.entry.js +1 -0
  341. package/dist/taro-components/p-46661961.entry.js +1 -0
  342. package/dist/taro-components/{p-124ac21f.entry.js → p-48e5ddaa.entry.js} +1 -1
  343. package/dist/taro-components/{p-43720011.entry.js → p-4928ee37.entry.js} +1 -1
  344. package/dist/taro-components/p-4a3acea0.system.entry.js +1 -0
  345. package/dist/taro-components/{p-84958ace.entry.js → p-4cbd26dd.entry.js} +1 -1
  346. package/dist/taro-components/p-4d435e0e.entry.js +1 -0
  347. package/dist/taro-components/p-4dd5f401.system.entry.js +1 -0
  348. package/dist/taro-components/{p-d2e0b15c.entry.js → p-4e4cc6ab.entry.js} +1 -1
  349. package/dist/taro-components/{p-fac4ce6f.system.entry.js → p-50e1ba06.system.entry.js} +1 -1
  350. package/dist/taro-components/{p-a6e2dd48.entry.js → p-510a69b3.entry.js} +1 -1
  351. package/dist/taro-components/p-5307637c.system.entry.js +1 -0
  352. package/dist/taro-components/{p-5870248f.system.entry.js → p-54941baf.system.entry.js} +1 -1
  353. package/dist/taro-components/{p-0e3b37e9.entry.js → p-55be4215.entry.js} +1 -1
  354. package/dist/taro-components/{p-c913b635.system.entry.js → p-578f19ea.system.entry.js} +1 -1
  355. package/dist/taro-components/{p-a90221ab.system.entry.js → p-581e844d.system.entry.js} +1 -1
  356. package/dist/taro-components/{p-f02b6f70.entry.js → p-59187d48.entry.js} +1 -1
  357. package/dist/taro-components/p-5920356c.system.entry.js +1 -0
  358. package/dist/taro-components/p-5a1bb2d3.system.entry.js +1 -0
  359. package/dist/taro-components/{p-1cf16dfa.entry.js → p-5bb60b5e.entry.js} +1 -1
  360. package/dist/taro-components/p-6066e633.entry.js +1 -0
  361. package/dist/taro-components/{p-5994d9f2.system.entry.js → p-6229bb7d.system.entry.js} +1 -1
  362. package/dist/taro-components/p-6483b3e4.entry.js +1 -0
  363. package/dist/taro-components/p-64f5abce.entry.js +1 -0
  364. package/dist/taro-components/p-69e747dc.entry.js +1 -0
  365. package/dist/taro-components/{p-7e6b54cb.system.js → p-6bbb639a.system.js} +2 -2
  366. package/dist/taro-components/p-6cf765b7.system.entry.js +1 -0
  367. package/dist/taro-components/{p-f2c86846.entry.js → p-6e9d509a.entry.js} +1 -1
  368. package/dist/taro-components/p-6f027b85.entry.js +1 -0
  369. package/dist/taro-components/p-72b954ce.system.entry.js +1 -0
  370. package/dist/taro-components/{p-473afc8e.system.entry.js → p-74b1be20.system.entry.js} +1 -1
  371. package/dist/taro-components/p-74e7dda9.entry.js +1 -0
  372. package/dist/taro-components/{p-58cc2e6d.system.entry.js → p-758e3319.system.entry.js} +1 -1
  373. package/dist/taro-components/{p-b5b30493.system.entry.js → p-75b927b4.system.entry.js} +1 -1
  374. package/dist/taro-components/p-764cd497.entry.js +1 -0
  375. package/dist/taro-components/{p-657cb6e4.system.entry.js → p-76f3547f.system.entry.js} +1 -1
  376. package/dist/taro-components/p-77ba4f09.system.entry.js +1 -0
  377. package/dist/taro-components/p-7b463b27.entry.js +1 -0
  378. package/dist/taro-components/p-7b6f6526.system.entry.js +1 -0
  379. package/dist/taro-components/p-7bd1345f.entry.js +1 -0
  380. package/dist/taro-components/{p-be96eb59.system.entry.js → p-7cecf08e.system.entry.js} +1 -1
  381. package/dist/taro-components/{p-6cde54e5.system.entry.js → p-7f084a29.system.entry.js} +1 -1
  382. package/dist/taro-components/p-7f2096b0.entry.js +1 -0
  383. package/dist/taro-components/{p-600e89cc.system.entry.js → p-80106cc2.system.entry.js} +1 -1
  384. package/dist/taro-components/{p-76996fcb.entry.js → p-80278124.entry.js} +1 -1
  385. package/dist/taro-components/p-83699a53.entry.js +1 -0
  386. package/dist/taro-components/{p-38ee526a.entry.js → p-846aa5ec.entry.js} +1 -1
  387. package/dist/taro-components/{p-e740320c.entry.js → p-861834ce.entry.js} +1 -1
  388. package/dist/taro-components/{p-d1756770.entry.js → p-870e0d9d.entry.js} +1 -1
  389. package/dist/taro-components/{p-69c43a81.entry.js → p-87422c88.entry.js} +1 -1
  390. package/dist/taro-components/p-88c5f0eb.system.entry.js +1 -0
  391. package/dist/taro-components/{p-22bf7daf.entry.js → p-8b70fd1d.entry.js} +1 -1
  392. package/dist/taro-components/{p-0e8199b7.entry.js → p-8d437a7f.entry.js} +1 -1
  393. package/dist/taro-components/{p-519fbe84.system.entry.js → p-8df92f90.system.entry.js} +1 -1
  394. package/dist/taro-components/p-8e45a207.system.entry.js +1 -0
  395. package/dist/taro-components/p-9253a23b.entry.js +1 -0
  396. package/dist/taro-components/{p-7726b789.system.entry.js → p-940d41e9.system.entry.js} +1 -1
  397. package/dist/taro-components/p-9477bad9.entry.js +1 -0
  398. package/dist/taro-components/p-95e88e0f.entry.js +1 -0
  399. package/dist/taro-components/{p-0ec2e88a.entry.js → p-970623a1.entry.js} +1 -1
  400. package/dist/taro-components/{p-24d9836e.entry.js → p-9890bb7b.entry.js} +1 -1
  401. package/dist/taro-components/{p-9137dcab.js → p-98b1fc13.js} +2 -2
  402. package/dist/taro-components/{p-8d990f1c.system.entry.js → p-9937cf08.system.entry.js} +1 -1
  403. package/dist/taro-components/p-9a5bfa2a.system.entry.js +1 -0
  404. package/dist/taro-components/{p-bc541cd8.entry.js → p-9b4e5578.entry.js} +1 -1
  405. package/dist/taro-components/{p-065a10d7.entry.js → p-9e138188.entry.js} +1 -1
  406. package/dist/taro-components/p-9fb50df3.entry.js +1 -0
  407. package/dist/taro-components/p-a61e195b.entry.js +1 -0
  408. package/dist/taro-components/{p-ed331c06.system.js → p-a972aa1d.system.js} +1 -1
  409. package/dist/taro-components/p-ae128150.entry.js +1 -0
  410. package/dist/taro-components/p-b04cdd9a.system.entry.js +1 -0
  411. package/dist/taro-components/{p-f2235cbb.entry.js → p-b317674b.entry.js} +1 -1
  412. package/dist/taro-components/p-b85cc3e9.entry.js +1 -0
  413. package/dist/taro-components/p-b8858af9.system.entry.js +1 -0
  414. package/dist/taro-components/p-b8c7e5cd.system.entry.js +1 -0
  415. package/dist/taro-components/{p-da3db323.entry.js → p-b8e2465a.entry.js} +1 -1
  416. package/dist/taro-components/p-b96f3432.system.entry.js +1 -0
  417. package/dist/taro-components/{p-bf0e0394.entry.js → p-ba195b39.entry.js} +1 -1
  418. package/dist/taro-components/{p-1b789738.system.entry.js → p-ba50342b.system.entry.js} +1 -1
  419. package/dist/taro-components/{p-0fa96970.entry.js → p-bb712e32.entry.js} +1 -1
  420. package/dist/taro-components/{p-9ea4f297.entry.js → p-bba220a9.entry.js} +1 -1
  421. package/dist/taro-components/{p-f420680c.system.entry.js → p-bcf5d78a.system.entry.js} +1 -1
  422. package/dist/taro-components/p-bdee068b.system.entry.js +1 -0
  423. package/dist/taro-components/p-bf3a666f.entry.js +1 -0
  424. package/dist/taro-components/{p-aa04f605.entry.js → p-c0f710ae.entry.js} +1 -1
  425. package/dist/taro-components/p-c86f1bc0.entry.js +1 -0
  426. package/dist/taro-components/p-cbc19d63.entry.js +1 -0
  427. package/dist/taro-components/p-d03136d7.system.entry.js +1 -0
  428. package/dist/taro-components/p-d78ab2de.system.entry.js +1 -0
  429. package/dist/taro-components/p-d8b1db26.system.entry.js +1 -0
  430. package/dist/taro-components/{p-36d4407e.system.entry.js → p-dbb47d14.system.entry.js} +1 -1
  431. package/dist/taro-components/{p-f1304456.entry.js → p-dc98486d.entry.js} +1 -1
  432. package/dist/taro-components/{p-c1a3fecf.system.entry.js → p-de3e1cee.system.entry.js} +1 -1
  433. package/dist/taro-components/p-df6e6333.system.entry.js +1 -0
  434. package/dist/taro-components/{p-8ca82a56.entry.js → p-e1c2e636.entry.js} +1 -1
  435. package/dist/taro-components/p-e254406f.system.entry.js +1 -0
  436. package/dist/taro-components/{p-30805bdf.entry.js → p-e25c2a22.entry.js} +1 -1
  437. package/dist/taro-components/{p-b641e598.entry.js → p-e26c787b.entry.js} +1 -1
  438. package/dist/taro-components/p-e457a83a.system.entry.js +1 -0
  439. package/dist/taro-components/p-e56e52a1.entry.js +1 -0
  440. package/dist/taro-components/{p-29638de3.entry.js → p-e7d82e00.entry.js} +1 -1
  441. package/dist/taro-components/p-e849f74a.system.entry.js +1 -0
  442. package/dist/taro-components/p-eb7709ea.system.entry.js +1 -0
  443. package/dist/taro-components/{p-9d76d7a9.system.entry.js → p-ebf38559.system.entry.js} +1 -1
  444. package/dist/taro-components/p-ec82a895.entry.js +1 -0
  445. package/dist/taro-components/p-eeb6aeb5.system.entry.js +1 -0
  446. package/dist/taro-components/p-ef0aff29.entry.js +1 -0
  447. package/dist/taro-components/p-f554428f.system.entry.js +1 -0
  448. package/dist/taro-components/p-fbd33d55.system.entry.js +1 -0
  449. package/dist/taro-components/p-fd1d75db.entry.js +1 -0
  450. package/dist/taro-components/{p-ccc64042.system.entry.js → p-ff7dfc5c.system.entry.js} +1 -1
  451. package/dist/taro-components/taro-components.css +1 -5
  452. package/dist/taro-components/taro-components.esm.js +1 -1
  453. package/dist/taro-components/taro-components.js +1 -1
  454. package/dist/types/components/tabbar/tabbar.d.ts +1 -1
  455. package/package.json +12 -10
  456. package/types/Checkbox.d.ts +4 -0
  457. package/types/Input.d.ts +4 -0
  458. package/types/Picker.d.ts +5 -1
  459. package/types/PickerView.d.ts +4 -0
  460. package/types/Radio.d.ts +4 -0
  461. package/types/Slider.d.ts +4 -0
  462. package/types/Switch.d.ts +4 -0
  463. package/types/Textarea.d.ts +4 -0
  464. package/types/common.d.ts +2 -1
  465. package/dist/cjs/hls-00fec546.js +0 -25673
  466. package/dist/cjs/index-f6805218.js +0 -73
  467. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  468. package/dist/collection/components/input/index.css +0 -12
  469. package/dist/components/hls.js +0 -25671
  470. package/dist/components/index3.js +0 -34
  471. package/dist/components/intersection-observer.js +0 -726
  472. package/dist/esm/hls-4018c7ea.js +0 -25671
  473. package/dist/esm/index-c3e4004b.js +0 -71
  474. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  475. package/dist/esm-es5/hls-4018c7ea.js +0 -1
  476. package/dist/esm-es5/index-c3e4004b.js +0 -7
  477. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  478. package/dist/taro-components/p-00ed4bbb.entry.js +0 -1
  479. package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
  480. package/dist/taro-components/p-06671eee.entry.js +0 -1
  481. package/dist/taro-components/p-085076c5.system.entry.js +0 -1
  482. package/dist/taro-components/p-08b7ecd7.system.entry.js +0 -1
  483. package/dist/taro-components/p-0a250d71.system.entry.js +0 -1
  484. package/dist/taro-components/p-0cedad18.system.entry.js +0 -1
  485. package/dist/taro-components/p-0fe855c6.entry.js +0 -1
  486. package/dist/taro-components/p-117633e9.system.entry.js +0 -1
  487. package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
  488. package/dist/taro-components/p-1f118969.system.entry.js +0 -1
  489. package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
  490. package/dist/taro-components/p-2ec68968.system.js +0 -7
  491. package/dist/taro-components/p-32e9981a.system.entry.js +0 -1
  492. package/dist/taro-components/p-357ba712.system.entry.js +0 -1
  493. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  494. package/dist/taro-components/p-3f3abe55.system.entry.js +0 -1
  495. package/dist/taro-components/p-425c209a.entry.js +0 -1
  496. package/dist/taro-components/p-43efbf30.js +0 -1
  497. package/dist/taro-components/p-4cedbe5e.system.entry.js +0 -1
  498. package/dist/taro-components/p-4fc40739.entry.js +0 -1
  499. package/dist/taro-components/p-5756cf00.system.entry.js +0 -1
  500. package/dist/taro-components/p-5ebc7010.system.entry.js +0 -1
  501. package/dist/taro-components/p-64eb91f7.entry.js +0 -1
  502. package/dist/taro-components/p-6aa2ac6a.system.entry.js +0 -1
  503. package/dist/taro-components/p-72b118b0.entry.js +0 -1
  504. package/dist/taro-components/p-72f327e1.js +0 -1
  505. package/dist/taro-components/p-78e4805e.entry.js +0 -1
  506. package/dist/taro-components/p-7b68dee8.entry.js +0 -1
  507. package/dist/taro-components/p-7bfc5f3d.entry.js +0 -1
  508. package/dist/taro-components/p-862b38b9.entry.js +0 -1
  509. package/dist/taro-components/p-8ccaf5e8.entry.js +0 -1
  510. package/dist/taro-components/p-962f28cb.entry.js +0 -1
  511. package/dist/taro-components/p-982bb5bf.entry.js +0 -1
  512. package/dist/taro-components/p-99e16df8.entry.js +0 -1
  513. package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
  514. package/dist/taro-components/p-9b0298bf.entry.js +0 -1
  515. package/dist/taro-components/p-9dcba4a7.system.entry.js +0 -1
  516. package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
  517. package/dist/taro-components/p-9eeba192.entry.js +0 -1
  518. package/dist/taro-components/p-9fe49bab.entry.js +0 -1
  519. package/dist/taro-components/p-9feff958.system.entry.js +0 -1
  520. package/dist/taro-components/p-a1763153.entry.js +0 -1
  521. package/dist/taro-components/p-a20fed0a.entry.js +0 -1
  522. package/dist/taro-components/p-a4882902.system.entry.js +0 -1
  523. package/dist/taro-components/p-a5a51112.entry.js +0 -1
  524. package/dist/taro-components/p-a7d31b01.system.entry.js +0 -1
  525. package/dist/taro-components/p-a940a65b.entry.js +0 -1
  526. package/dist/taro-components/p-a94e3347.system.entry.js +0 -1
  527. package/dist/taro-components/p-ad9b04e0.entry.js +0 -1
  528. package/dist/taro-components/p-b0fc8752.entry.js +0 -1
  529. package/dist/taro-components/p-b1d2b575.system.entry.js +0 -1
  530. package/dist/taro-components/p-b201ff38.entry.js +0 -1
  531. package/dist/taro-components/p-bd4ed8b1.entry.js +0 -1
  532. package/dist/taro-components/p-bf0c8449.system.entry.js +0 -1
  533. package/dist/taro-components/p-c0080d83.entry.js +0 -1
  534. package/dist/taro-components/p-c99e14b5.entry.js +0 -1
  535. package/dist/taro-components/p-cb406f85.system.entry.js +0 -1
  536. package/dist/taro-components/p-cbcaad0e.system.entry.js +0 -1
  537. package/dist/taro-components/p-d025a415.system.entry.js +0 -1
  538. package/dist/taro-components/p-d550aea9.system.entry.js +0 -1
  539. package/dist/taro-components/p-d867e333.system.entry.js +0 -1
  540. package/dist/taro-components/p-d9dcc6c6.entry.js +0 -1
  541. package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
  542. package/dist/taro-components/p-dadd02ca.entry.js +0 -1
  543. package/dist/taro-components/p-dc5d65a0.system.entry.js +0 -1
  544. package/dist/taro-components/p-de951a46.js +0 -7
  545. package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
  546. package/dist/taro-components/p-e2cd5dd3.system.entry.js +0 -1
  547. package/dist/taro-components/p-e6481671.system.entry.js +0 -1
  548. package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
  549. package/dist/taro-components/p-e78775ce.system.js +0 -1
  550. package/dist/taro-components/p-e976c6c9.system.entry.js +0 -1
  551. package/dist/taro-components/p-ea0d5d4f.system.entry.js +0 -1
  552. package/dist/taro-components/p-eee6e075.system.entry.js +0 -1
  553. package/dist/taro-components/p-f0340edf.entry.js +0 -1
  554. package/dist/taro-components/p-f23cfdc8.entry.js +0 -1
  555. package/dist/taro-components/p-f4d86882.entry.js +0 -1
  556. package/dist/taro-components/p-f533bc2f.entry.js +0 -1
  557. package/dist/taro-components/p-f658de2e.entry.js +0 -1
  558. package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
@@ -1,7 +0,0 @@
1
- function createCommonjsModule(r,e,n){return n={path:e,exports:{},require:function(r,e){return commonjsRequire()}},r(n,n.exports),n.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var classnames=createCommonjsModule((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 e={}.hasOwnProperty;function n(){var r=[];for(var o=0;o<arguments.length;o++){var t=arguments[o];if(!t)continue;var i=typeof t;if(i==="string"||i==="number"){r.push(t)}else if(Array.isArray(t)){if(t.length){var s=n.apply(null,t);if(s){r.push(s)}}}else if(i==="object"){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){r.push(t.toString());continue}for(var u in t){if(e.call(t,u)&&t[u]){r.push(u)}}}}return r.join(" ")}if(r.exports){n.default=n;r.exports=n}else{window.classNames=n}})()}));export{classnames as c};
@@ -1 +0,0 @@
1
- (function(){if(typeof window!=="object"){return}if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){if(!("isIntersecting"in window.IntersectionObserverEntry.prototype)){Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}})}return}var t=window.document;function e(t){this.time=t.time;this.target=t.target;this.rootBounds=t.rootBounds;this.boundingClientRect=t.boundingClientRect;this.intersectionRect=t.intersectionRect||a();this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect;var n=e.width*e.height;var r=this.intersectionRect;var i=r.width*r.height;if(n){this.intersectionRatio=Number((i/n).toFixed(4))}else{this.intersectionRatio=this.isIntersecting?1:0}}function n(t,e){var n=e||{};if(typeof t!="function"){throw new Error("callback must be a function")}if(n.root&&n.root.nodeType!=1){throw new Error("root must be an Element")}this._checkForIntersections=i(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=t;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(n.rootMargin);this.thresholds=this._initThresholds(n.threshold);this.root=n.root||null;this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}n.prototype.THROTTLE_TIMEOUT=100;n.prototype.POLL_INTERVAL=null;n.prototype.USE_MUTATION_OBSERVER=true;n.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(e){return}if(!(t&&t.nodeType==1)){throw new Error("target must be an Element")}this._registerInstance();this._observationTargets.push({element:t,entry:null});this._monitorIntersections();this._checkForIntersections()};n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t}));if(!this._observationTargets.length){this._unmonitorIntersections();this._unregisterInstance()}};n.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance()};n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();this._queuedEntries=[];return t};n.prototype._initThresholds=function(t){var e=t||[0];if(!Array.isArray(e))e=[e];return e.sort().filter((function(t,e,n){if(typeof t!="number"||isNaN(t)||t<0||t>1){throw new Error("threshold must be a number between 0 and 1 inclusively")}return t!==n[e-1]}))};n.prototype._parseRootMargin=function(t){var e=t||"0px";var n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e){throw new Error("rootMargin must be specified in pixels or percent")}return{value:parseFloat(e[1]),unit:e[2]}}));n[1]=n[1]||n[0];n[2]=n[2]||n[0];n[3]=n[3]||n[1];return n};n.prototype._monitorIntersections=function(){if(!this._monitoringIntersections){this._monitoringIntersections=true;if(this.POLL_INTERVAL){this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL)}else{o(window,"resize",this._checkForIntersections,true);o(t,"scroll",this._checkForIntersections,true);if(this.USE_MUTATION_OBSERVER&&"MutationObserver"in window){this._domObserver=new MutationObserver(this._checkForIntersections);this._domObserver.observe(t,{attributes:true,childList:true,characterData:true,subtree:true})}}}};n.prototype._unmonitorIntersections=function(){if(this._monitoringIntersections){this._monitoringIntersections=false;clearInterval(this._monitoringInterval);this._monitoringInterval=null;s(window,"resize",this._checkForIntersections,true);s(t,"scroll",this._checkForIntersections,true);if(this._domObserver){this._domObserver.disconnect();this._domObserver=null}}};n.prototype._checkForIntersections=function(){var t=this._rootIsInDom();var n=t?this._getRootRect():a();this._observationTargets.forEach((function(i){var o=i.element;var s=c(o);var h=this._rootContainsTarget(o);var a=i.entry;var u=t&&h&&this._computeTargetAndRootIntersection(o,n);var f=i.entry=new e({time:r(),target:o,boundingClientRect:s,rootBounds:n,intersectionRect:u});if(!a){this._queuedEntries.push(f)}else if(t&&h){if(this._hasCrossedThreshold(a,f)){this._queuedEntries.push(f)}}else{if(a&&a.isIntersecting){this._queuedEntries.push(f)}}}),this);if(this._queuedEntries.length){this._callback(this.takeRecords(),this)}};n.prototype._computeTargetAndRootIntersection=function(e,n){if(window.getComputedStyle(e).display=="none")return;var r=c(e);var i=r;var o=f(e);var s=false;while(!s){var a=null;var u=o.nodeType==1?window.getComputedStyle(o):{};if(u.display=="none")return;if(o==this.root||o==t){s=true;a=n}else{if(o!=t.body&&o!=t.documentElement&&u.overflow!="visible"){a=c(o)}}if(a){i=h(a,i);if(!i)break}o=f(o)}return i};n.prototype._getRootRect=function(){var e;if(this.root){e=c(this.root)}else{var n=t.documentElement;var r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)};n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return e.unit=="px"?e.value:e.value*(n%2?t.width:t.height)/100}));var n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};n.width=n.right-n.left;n.height=n.bottom-n.top;return n};n.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1;var r=e.isIntersecting?e.intersectionRatio||0:-1;if(n===r)return;for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r){return true}}};n.prototype._rootIsInDom=function(){return!this.root||u(t,this.root)};n.prototype._rootContainsTarget=function(e){return u(this.root||t,e)};n.prototype._registerInstance=function(){};n.prototype._unregisterInstance=function(){};function r(){return window.performance&&performance.now&&performance.now()}function i(t,e){var n=null;return function(){if(!n){n=setTimeout((function(){t();n=null}),e)}}}function o(t,e,n,r){if(typeof t.addEventListener=="function"){t.addEventListener(e,n,r||false)}else if(typeof t.attachEvent=="function"){t.attachEvent("on"+e,n)}}function s(t,e,n,r){if(typeof t.removeEventListener=="function"){t.removeEventListener(e,n,r||false)}else if(typeof t.detatchEvent=="function"){t.detatchEvent("on"+e,n)}}function h(t,e){var n=Math.max(t.top,e.top);var r=Math.min(t.bottom,e.bottom);var i=Math.max(t.left,e.left);var o=Math.min(t.right,e.right);var s=o-i;var h=r-n;return s>=0&&h>=0&&{top:n,bottom:r,left:i,right:o,width:s,height:h}}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}if(!e)return a();if(!(e.width&&e.height)){e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}}return e}function a(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t,e){var n=e;while(n){if(n==t)return true;n=f(n)}return false}function f(t){var e=t.parentNode;if(e&&e.nodeType==11&&e.host){return e.host}if(e&&e.assignedSlot){return e.assignedSlot.parentNode}return e}window.IntersectionObserver=n;window.IntersectionObserverEntry=e})();
@@ -1 +0,0 @@
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("Camera",this)}render(){return o(a,null)}};export{s as taro_camera_core}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{u(i.next(t))}catch(t){a(t)}}function s(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):o(t.value).then(r,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(i=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{i=a=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(t){"use strict";var e,n,i,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g}],execute:function(){var a="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";function r(t,e,n){if(e==="search")t="search";if(n)t="password";if(typeof t==="undefined"){return"text"}if(!t){throw new Error("unexpected type")}if(t==="digit")t="number";return t}function s(t){return t!==null&&t!==void 0?t:""}var u=t("taro_input_core",function(){function t(t){var i=this;e(this,t);this.onInput=n(this,"input",7);this.onPaste=n(this,"paste",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onKeyDown=n(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.handleInput=function(t){t.stopPropagation();var e=i,n=e.type,o=e.maxlength,a=e.confirmType,s=e.password;if(!i.isOnComposition&&!i.onInputExcuted){var u=t.target.value;var l=r(n,a,s);i.onInputExcuted=true;if(l==="number"&&u&&o>-1&&o<=u.length){u=u.substring(0,o);t.target.value=u}i.value=u;i.onInput.emit({value:u,cursor:u.length});i.onInputExcuted=false}};this.handlePaste=function(t){t.stopPropagation();i.isOnPaste=true;i.onPaste.emit({value:t.target.value})};this.handleFocus=function(t){t.stopPropagation();i.onInputExcuted=false;i.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){t.stopPropagation();i.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();i.onChange.emit({value:t.target.value});if(i.isOnPaste){i.isOnPaste=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}};this.handleKeyDown=function(t){t.stopPropagation();var e=t.target.value;var n=t.keyCode||t.code;i.onInputExcuted=false;i.onKeyDown.emit({value:e,cursor:e.length,keyCode:n});n===13&&i.onConfirm.emit({value:e})};this.handleComposition=function(t){t.stopPropagation();if(!(t.target instanceof HTMLInputElement))return;if(t.type==="compositionend"){i.isOnComposition=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}else{i.isOnComposition=true}};this.handleBeforeInput=function(t){if(!t.data)return;var e=t.data&&/[0-9]/.test(t.data);if(i.type==="number"&&!e){t.preventDefault()}if(i.type==="digit"&&!e){if(t.data!=="."||t.data==="."&&t.target.value.indexOf(".")>-1){t.preventDefault()}}};this.value="";this.type=undefined;this.password=false;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.name=undefined;this.nativeProps={}}t.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.inputRef.focus();return[2]}))}))};t.prototype.watchAutoFocus=function(t,e){var n;if(!e&&t){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};t.prototype.watchValue=function(t){var e=s(t);if(this.inputRef.value!==e){this.inputRef.value=e}};t.prototype.componentDidLoad=function(){var t=this;var e,n,i,o,a;if(this.type==="file"){this.fileListener=function(){t.onInput.emit()};(e=this.inputRef)===null||e===void 0?void 0:e.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition);(o=this.inputRef)===null||o===void 0?void 0:o.addEventListener("beforeinput",this.handleBeforeInput);(a=this.inputRef)===null||a===void 0?void 0:a.addEventListener("textInput",this.handleBeforeInput)}};t.prototype.disconnectedCallback=function(){var t,e,n,i,o;if(this.type==="file"){(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("change",this.fileListener)}else{(e=this.inputRef)===null||e===void 0?void 0:e.removeEventListener("compositionstart",this.handleComposition);(n=this.inputRef)===null||n===void 0?void 0:n.removeEventListener("compositionend",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.removeEventListener("beforeinput",this.handleBeforeInput);(o=this.inputRef)===null||o===void 0?void 0:o.removeEventListener("textInput",this.handleBeforeInput)}};t.prototype.render=function(){var t=this;var e=this,n=e.value,o=e.type,a=e.password,u=e.placeholder,l=e.autoFocus,h=e.disabled,p=e.maxlength,f=e.confirmType,c=e.name,d=e.nativeProps;return i("input",Object.assign({ref:function(e){t.inputRef=e;if(l&&e)e.focus()},class:"weui-input",type:r(o,f,a),placeholder:u,autoFocus:l,disabled:h,maxlength:p,name:c,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d,{value:s(n)}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return t}());u.style=a}}}));
@@ -1 +0,0 @@
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}onTouchStart(){this.onSelectStart.emit()}onTouchEnd(){this.handleSelected()}componentDidLoad(){this.handleChange()}componentDidUpdate(){this.handleChange()}handleChange(){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}onPropsChange(){this.handleValueChange()}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.handleValueChange()}handleValueChange(){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)}static get watchers(){return{value:["onPropsChange"]}}};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 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","@tarojs/taro","./p-2ec68968.system.js"],(function(e){"use strict";var t,i,r,s,a,n;return{setters:[function(e){t=e.r;i=e.c;r=e.h;s=e.H},function(e){a=e.default},function(e){n=e.c}],execute:function(){var c=".navigator-hover{background:#efefef}";var o=e("taro_navigator_core",function(){function e(e){t(this,e);this.onSuccess=i(this,"cuccess",7);this.onFail=i(this,"fail",7);this.onComplete=i(this,"complete",7);this.hoverClass=undefined;this.url=undefined;this.openType="navigate";this.isHover=false;this.delta=0}e.prototype.onClick=function(){var e=this,t=e.openType,i=e.onSuccess,r=e.onFail,s=e.onComplete;var n=Promise.resolve();switch(t){case"navigate":n=a.navigateTo({url:this.url});break;case"redirect":n=a.redirectTo({url:this.url});break;case"switchTab":n=a.switchTab({url:this.url});break;case"reLaunch":n=a.reLaunch({url:this.url});break;case"navigateBack":n=a.navigateBack({delta:this.delta});break;case"exit":n=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'));break}if(n){n.then((function(e){i.emit(e)})).catch((function(e){r.emit(e)})).finally((function(){s.emit()}))}};e.prototype.render=function(){var e;var t=this,i=t.isHover,a=t.hoverClass;return r(s,{class:n((e={},e[a]=i,e))})};return e}());o.style=c}}}));
@@ -1 +0,0 @@
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_ad_custom_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AdCustom",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +0,0 @@
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_keyboard_accessory_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("KeyboardAccessory",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function u(e){try{s(n["throw"](e))}catch(e){a(e)}}function s(e){e.done?i(e.value):r(e.value).then(o,u)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(i=0)),i)try{if(n=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;r=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(u[0]===6&&i.label<a[1]){i.label=a[1];a=u;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(u);break}if(a[2])i.ops.pop();i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e];r=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,a;n<r;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(e){"use strict";var t,i,n,r,a,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;a=e.g},function(e){o=e.c}],execute:function(){function u(e,t){var i=[];for(var n=e;n<=t;n++){i.push("".concat(n<10?"0":"").concat(n))}return i}var s=__spreadArray(__spreadArray(["20","21","22","23"],u(0,23),true),["00","01","02","03"],false);var h=__spreadArray(__spreadArray(["56","57","58","59"],u(0,59),true),["00","01","02","03"],false);function l(e,t){if(!isNaN(+e)&&e>=0&&e<t.length)return true;return false}function c(e){if(!/^\d{1,2}:\d{1,2}$/.test(e))return false;var t=e.split(":").map((function(e){return+e}));if(t[0]<0||t[0]>23)return false;if(t[1]<0||t[1]>59)return false;return true}function d(e,t){var i=e.split(":").map((function(e){return+e}));var n=t.split(":").map((function(e){return+e}));if(i[0]<n[0])return true;if(i[0]===n[0]&&i[1]<=n[1])return true;return false}function f(e){if(!e)return false;var t=new Date(e.replace(/-/g,"/"));return isNaN(t.getMonth())?false:t}function p(e,t){if(t===4||t===6||t===9||t===11)return 30;if(t===2){if(e%4===0&&e%100!==0||e%400===0)return 29;else return 28}return 31}function v(e){var t;if(Array.isArray(e)){t=e.map((function(e){return String(e)}))}else{t=e}return t}function g(e,t){var i=[];for(var n=e;n<=t;n++){i.push(n)}return i}function m(e,t){return g(e,t)}function y(e,t,i){var n=1;var r=12;if(e.getFullYear()===i){n=e.getMonth()+1}if(t.getFullYear()===i){r=t.getMonth()+1}return g(n,r)}function _(e,t,i,n){var r=1;var a=p(i,n);if(e.getFullYear()===i&&e.getMonth()+1===n){r=e.getDate()}if(t.getFullYear()===i&&t.getMonth()+1===n){a=t.getDate()}return g(r,a)}var k=102;var w=34;var C=w*7;var x=".weui-picker,.weui-picker__hd{font-size:12px}";var M=e("taro_picker_core",function(){function e(e){var r=this;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=function(){if(r.disabled)return;r.height=r.getHeightByIndex();r.hidden=false};this.getHeightByIndex=function(){var e=r.index.map((function(e){var t=0;if(r.mode==="time"){t=w*4}return k-w*e-t}));return e};this.hidePicker=function(){r.fadeOut=true;setTimeout((function(){r.hidden=true;r.fadeOut=false}),350)};this.handleChange=function(){r.hidePicker();r.index=r.height.map((function(e){return(k-e)/w}));var e=r.index.length&&r.mode!=="selector"?r.index:r.index[0];if(r.mode==="time"){var t=[s.slice(),h.slice()];var i=r.index.map((function(e,i){return t[i][e]}));r.index=i.map((function(e){return parseInt(e)}));e=i.join(":")}if(r.mode==="date"){var n=r.pickerDate,a=n._start,o=n._end,u=n._updateValue;var l=u[0];var c=u[1];var d=m(a.getFullYear(),o.getFullYear());var f=y(a,o,l);var p=_(a,o,l,c);var v=d[r.index[0]];var g=f[r.index[1]];var C=p[r.index[2]];if(r.fields==="year"){e=[v]}else if(r.fields==="month"){e=[v,g]}else{e=[v,g,C]}e=e.map((function(e){return e<10?"0".concat(e):e})).join("-")}r.value=e;r.pickerValue=r.value;r.onChange.emit({value:e})};this.handleColumnChange=function(e){var t=e.detail,i=t.columnId,n=t.height;r.onColumnChange.emit({column:Number(i),value:(k-n)/w})};this.handleCancel=function(){r.hidePicker();r.onCancel.emit()};this.updateHeight=function(e,t,i){if(i===void 0){i=false}var n=__spreadArray([],r.height,true);n[t]=e;r.height=n;if(i){var a=r,o=a.start,u=a.end;if(!c(o))o="00:00";if(!c(u))u="23:59";if(!d(o,u))return;var l=[s.slice(),h.slice()];var f=r.height.map((function(e){return(k-e)/w}));var p=f.map((function(e,t){return l[t][e]})).join(":");if(!d(o,p)){var v=o.split(":").map((function(e){return k-w*(+e+4)}));requestAnimationFrame((function(){return r.height=v}))}else if(!d(p,u)){var g=u.split(":").map((function(e){return k-w*(+e+4)}));requestAnimationFrame((function(){return r.height=g}))}}};this.updateDay=function(e,t){var i=r.pickerDate,n=i._start,a=i._end,o=i._updateValue;o[t]=e;var u=o[0];var s=o[1];var h=o[2];if(t===0){var l=y(n,a,u);var c=l[l.length-1];var d=l[0];if(s>c)o[1]=c;if(s<d)o[1]=d;var f=l.indexOf(o[1]);var p=k-w*f;r.updateDay(o[1],1);r.updateHeight(p,"1")}else if(t===1){var v=_(n,a,u,s);var c=v[v.length-1];var d=v[0];if(h>c)o[2]=c;if(h<d)o[2]=d;var f=v.indexOf(o[2]);var p=k-w*f;r.updateDay(o[2],2);r.updateHeight(p,"2")}};this.getSelector=function(){return n("taro-picker-group",{range:r.range,rangeKey:r.rangeKey,height:r.height[0],updateHeight:r.updateHeight,columnId:"0"})};this.getMultiSelector=function(){return r.range.map((function(e,t){return n("taro-picker-group",{range:e,rangeKey:r.rangeKey,height:r.height[t],updateHeight:r.updateHeight,onColumnChange:r.handleColumnChange,columnId:String(t)})}))};this.getTimeSelector=function(){var e=s.slice();var t=h.slice();return[n("taro-picker-group",{mode:"time",range:e,height:r.height[0],updateHeight:r.updateHeight,columnId:"0"}),n("taro-picker-group",{mode:"time",range:t,height:r.height[1],updateHeight:r.updateHeight,columnId:"1"})]};this.getDateSelector=function(){var e=r,t=e.fields,i=e.height;var a=r.pickerDate,o=a._start,u=a._end,s=a._updateValue;var h=s[0];var l=s[1];var c=m(o.getFullYear(),u.getFullYear()).map((function(e){return"".concat(e,"年")}));var d=y(o,u,h).map((function(e){return"".concat(e<10?"0".concat(e):e,"月")}));var f=_(o,u,h,l).map((function(e){return"".concat(e<10?"0".concat(e):e,"日")}));var p=[n("taro-picker-group",{mode:"date",range:c,height:i[0],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"0"})];if(t==="month"||t==="day"){p.push(n("taro-picker-group",{mode:"date",range:d,height:i[1],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"1"}))}if(t==="day"){p.push(n("taro-picker-group",{mode:"date",range:f,height:i[2],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"2"}))}return p};this.mode="selector";this.disabled=false;this.range=[];this.rangeKey=undefined;this.value=undefined;this.start="";this.end="";this.fields="day";this.name="";this.textProps={};this.pickerValue=[];this.height=[];this.hidden=true;this.fadeOut=false;this.isWillLoadCalled=false}e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.handleProps()};e.prototype.componentDidLoad=function(){if(this.overlay){document.body.appendChild(this.overlay)}};e.prototype.disconnectedCallback=function(){var e;if(this.overlay){(e=this.overlay.parentNode)===null||e===void 0?void 0:e.removeChild(this.overlay)}};e.prototype.onPropsChange=function(){if(!this.isWillLoadCalled)return;this.handleProps()};e.prototype.handleProps=function(){var e=this;var t=this,i=t.mode,n=t.start,r=t.end;if(i==="selector"){var a=this.value;this.index=[l(a,this.range)?Math.floor(a):0]}else if(i==="multiSelector"){var o=this.value;this.index=[];this.range.forEach((function(t,i){var n=o===null||o===void 0?void 0:o[i];var r=l(n,t)?Math.floor(n):0;e.index.push(r)}))}else if(i==="time"){var a=this.value;if(!c(a)){console.warn("time picker value illegal");a="0:0"}var u=a.split(":").map((function(e){return+e}));this.index=u}else if(i==="date"){var a=this.value;var s=f(a)||new Date((new Date).setHours(0,0,0,0));var h=f(n)||new Date("1970/01/01");var d=f(r)||new Date("2999/01/01");if(!(h<=d)){throw new Error("Picker start time must be less than end time.")}if(!(s>=h&&s<=d)){s=h}var p=s.getFullYear();var v=s.getMonth()+1;var g=s.getDate();var k=m(h.getFullYear(),d.getFullYear());var w=y(h,d,p);var C=_(h,d,p,v);this.index=[k.indexOf(p),w.indexOf(v),C.indexOf(g)];if(!this.pickerDate||this.pickerDate._value.getTime()!==s.getTime()||this.pickerDate._start.getTime()!==h.getTime()||this.pickerDate._end.getTime()!==d.getTime()){this.pickerDate={_value:s,_start:h,_end:d,_updateValue:[p,v,g]}}}else{throw new Error('Picker not support "'.concat(i,'" mode.'))}this.height=this.getHeightByIndex();this.pickerValue=this.value;if(i==="date"){var x=this.pickerValue;if(this.fields==="month"){this.pickerValue=x.split("-").slice(0,2).join("-")}else if(this.fields==="year"){this.pickerValue=x.split("-")[0]}}};e.prototype.render=function(){var e=this;var t,i;var a=this,u=a.name,s=a.mode,h=a.fadeOut,l=a.hidden;var c;switch(s){case"multiSelector":c=this.getMultiSelector();break;case"time":c=this.getTimeSelector();break;case"date":c=this.getDateSelector();break;default:c=this.getSelector()}var d=o("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":h});var f=o("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":h});var p=l?{display:"none"}:{};return n(r,null,n("div",{onClick:this.showPicker},n("slot",null),n("input",{type:"hidden",name:u,value:v(this.pickerValue)})),n("div",{class:"weui-picker__overlay",style:p,ref:function(t){e.overlay=t}},n("div",{class:d,onClick:this.handleCancel}),n("div",{class:f},n("div",{class:"weui-picker__hd"},n("div",{class:"weui-picker__action",onClick:this.handleCancel},(t=this.textProps.cancelText)!==null&&t!==void 0?t:"取消"),n("div",{class:"weui-picker__action",onClick:this.handleChange},(i=this.textProps.okText)!==null&&i!==void 0?i:"确定")),n("div",{class:"weui-picker__bd"},c),n("input",{type:"hidden",name:u,value:v(this.pickerValue)}))))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}},enumerable:false,configurable:true});return e}());M.style=x;var b=e("taro_picker_group",function(){function e(e){t(this,e);this.onColumnChange=i(this,"columnChange",7);this.mode=undefined;this.range=[];this.rangeKey=undefined;this.height=undefined;this.columnId=undefined;this.updateHeight=undefined;this.updateDay=undefined;this.startY=undefined;this.preY=undefined;this.hadMove=undefined;this.touchEnd=undefined;this.isMove=undefined}e.prototype.getPosition=function(){var e=this.touchEnd?.3:0;var t="translate3d(0, ".concat(this.height,"px, 0)");var i="transform ".concat(e,"s");return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}};e.prototype.formulaUnlimitedScroll=function(e,t,i){var n=this;var r=this,a=r.height,o=r.updateHeight,u=r.columnId;var s=i==="up"?1:-1;this.touchEnd=false;o(-e*s*w+a,u);requestAnimationFrame((function(){n.touchEnd=true;var i=Math.round(t/-w)+e*s;var r=k-w*i;o(r,u,true)}))};e.prototype.handleMoveStart=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.startY=e;this.preY=e;this.hadMove=false;return[2]}))}))};e.prototype.handleMoving=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n;return __generator(this,(function(r){t=e;i=t-this.preY;this.preY=t;this.touchEnd=false;if(Math.abs(t-this.startY)>10)this.hadMove=true;n=this.height+i;if(this.mode==="time"){if(this.columnId==="0"){if(n>k-w*3){n=k-w*27+i}if(n<k-w*28){n=k-w*4+i}}else if(this.columnId==="1"){if(n>k-w*3){n=k-w*63+i}if(n<k-w*64){n=k-w*4+i}}}this.updateHeight(n,this.columnId);return[2]}))}))};e.prototype.handleMoveEnd=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,r,a,o,u,s,h,l,c,d,f,p;return __generator(this,(function(v){t=this,i=t.mode,n=t.range,r=t.height,a=t.updateHeight,o=t.columnId;u=0;s=-w*(n.length-1);h=e;this.touchEnd=true;if(!this.hadMove){c=window.innerHeight;d=c-C/2;l=r-k-(h-d);if(i==="time"){if(o==="0"){if(l>-w*2.5){return[2,this.formulaUnlimitedScroll(24,l,"up")]}if(l<-w*28.5){return[2,this.formulaUnlimitedScroll(24,l,"down")]}}else if(o==="1"){if(l>-w*2.5){return[2,this.formulaUnlimitedScroll(60,l,"up")]}if(l<-w*64.5){return[2,this.formulaUnlimitedScroll(60,l,"down")]}}}}else{l=r-k}if(l>u)l=0;if(l<s)l=s;f=Math.round(l/-w);p=k-w*f;if(this.mode==="date"&&typeof this.updateDay==="function"){if(this.columnId==="0"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),0)}if(this.columnId==="1"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),1)}if(this.columnId==="2"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),2)}}a(p,o,i==="time");this.onColumnChange.emit({columnId:o,height:p});return[2]}))}))};e.prototype.onMouseDown=function(e){this.isMove=true;this.handleMoveStart(e.clientY)};e.prototype.onMouseMove=function(e){if(!this.isMove)return;this.handleMoving(e.clientY)};e.prototype.onMouseMoveEnd=function(e){if(!this.isMove)return;this.isMove=false;this.handleMoveEnd(e.clientY)};e.prototype.onTouchStart=function(e){this.handleMoveStart(e.changedTouches[0].clientY)};e.prototype.onTouchMove=function(e){this.handleMoving(e.changedTouches[0].clientY)};e.prototype.onTouchEnd=function(e){this.handleMoveEnd(e.changedTouches[0].clientY)};e.prototype.render=function(){var e=this,t=e.range,i=e.rangeKey;var a=t.map((function(e){var t=i?e[i]:e;return n("div",{class:"weui-picker__item"},t)}));return n(r,{class:"weui-picker__group"},n("div",{class:"weui-picker__mask"}),n("div",{class:"weui-picker__indicator"}),n("div",{class:"weui-picker__content",style:this.getPosition()},a))};return e}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-9137dcab.js";const h=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.switchChange=t=>{t.stopPropagation();const i=t.target.checked;this.isChecked=i,this.onChange.emit({value:i})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isChecked=void 0,this.isWillLoadCalled=!1}function(t,i){this.isWillLoadCalled&&t!==i&&(this.isChecked=t)}componentWillLoad(){this.isWillLoadCalled=!0,this.isChecked=this.checked}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.isChecked,configurable:!0})}render(){const{type:t,color:i,isChecked:e,name:h,disabled:c,nativeProps:o}=this;return s("input",Object.assign({type:"checkbox",class:`weui-${t}`,style:e?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{},checked:e,name:h,disabled:c,onChange:this.switchChange},o))}get el(){return e(this)}static get watchers(){return{checked:["function"]}}};h.style="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";export{h as taro_switch_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,i,a,n,r;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;r=e.g}],execute:function(){var o=e("taro_slider_core",function(){function e(e){var a=this;t(this,e);this.onChange=i(this,"change",7);this.onChanging=i(this,"changing",7);this.handleTouchStart=function(e){if(a.touching||a.disabled)return;a.touching=true;a.touchId=e.targetTouches[0].identifier;a.totalWidth=a.sliderInsRef.clientWidth||1;a.ogX=e.targetTouches[0].pageX;a.ogPercent=a.percent};this.handleTouchMove=function(e){var t=a,i=t.disabled,n=t.touching,r=t.touchId,o=t.totalWidth,l=t.max,s=t.min,h=t.ogX,u=t.ogPercent;if(!n||i)return;if(e.targetTouches[0].identifier!==r)return;e.preventDefault();var c=e.targetTouches[0].pageX;var d=c-h;var f=d/o*100+u;f=a.handleValueUpdate(f,0,100);var v=s+f*.01*(l-s);a.updateByStep(v);a.onChanging.emit({detail:e.detail,value:a.value})};this.handleTouchEnd=function(e){var t=a,i=t.disabled,n=t.touching;if(!n||i)return;if(a.percent!==a.ogPercent){a.onChange.emit({detail:e.detail,value:a.value})}a.touching=false;a.touchId=null;a.ogX=0;a.ogPercent=0};this.handleValueUpdate=function(e,t,i){if(t===void 0){t=a.min}if(i===void 0){i=a.max}e=isNaN(e)?0:e;return Math.max(t,Math.min(e,i))};this.min=0;this.max=100;this.step=1;this.disabled=false;this.value=0;this.activeColor="#1aad19";this.backgroundColor="#e9e9e9";this.blockSize=28;this.blockColor="#ffffff";this.showValue=false;this.name="";this.totalWidth=1;this.touching=false;this.ogX=0;this.touchId=null;this.percent=0;this.ogPercent=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e){if(!this.isWillLoadCalled)return;var t=this,i=t.max,a=t.min;if(e!==null){var n=this.handleValueUpdate(e,a,i);this.updateByStep(n)}};e.prototype.componentDidLoad=function(){this.handler.addEventListener("touchstart",this.handleTouchStart);this.handler.addEventListener("touchmove",this.handleTouchMove);this.handler.addEventListener("touchend",this.handleTouchEnd)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;var e=this,t=e.value,i=e.max,a=e.min;var n=this.handleValueUpdate(t,a,i);this.updateByStep(n)};e.prototype.updateByStep=function(e){var t=this,i=t.max,a=t.min,n=t.step;var r=Math.floor((i-a)/n);for(var o=0;o<=r;o++){var l=a+n*o;var s=o===r?null:a+n*(o+1);if(e===l)break;if(!s&&e>l){e=l}if(s&&e>l&&e<s){if(e-l<n/2){e=l}else{e=s}break}}var h=(e-a)/(i-a)*100;this.value=e;this.percent=h};e.prototype.render=function(){var e=this;var t=this,i=t.showValue,r=t.backgroundColor,o=t.activeColor,l=t.blockColor,s=t.name,h=t.percent,u=t.value;var c=this.blockSize;var d={backgroundColor:r};var f=h>100?100:h;var v={width:"".concat(f,"%"),backgroundColor:o};if(c<12){c=12}if(c>28){c=28}var p={left:"".concat(f,"%"),width:"".concat(c,"px"),height:"".concat(c,"px"),backgroundColor:l,marginTop:"-".concat(Math.floor(c/2),"px"),marginLeft:"-".concat(Math.floor(c/2),"px")};return a(n,{class:"weui-slider-box"},a("div",{class:"weui-slider"},a("div",{class:"weui-slider__inner",style:d,ref:function(t){return e.sliderInsRef=t}},a("div",{style:v,class:"weui-slider__track"}),a("div",{class:"weui-slider__handler",ref:function(t){if(t)e.handler=t},style:p}),a("input",{type:"hidden",name:s,value:u}))),i&&a("div",{class:"weui-slider-box__value"},u))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["function"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,i,n,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;o=e.g}],execute:function(){var s="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var r=e("taro_switch_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;n.isChecked=t;n.onChange.emit({value:t})};this.type="switch";this.checked=false;this.color="#04BE02";this.name=undefined;this.disabled=false;this.nativeProps={};this.isChecked=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,o=e.isChecked,s=e.name,r=e.disabled,c=e.nativeProps;var h=o?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return n("input",Object.assign({type:"checkbox",class:"weui-".concat(t),style:h,checked:o,name:s,disabled:r,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());r.style=s}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,r,e,o;return{setters:[function(t){n=t.r;r=t.h;e=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_editor_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Editor",this)};t.prototype.render=function(){return r(e,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,n,r,i,o;return{setters:[function(e){t=e.r;n=e.c;r=e.h;i=e.H;o=e.g}],execute:function(){var a='.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 c=e("taro_checkbox_core",function(){function e(e){var r=this;t(this,e);this.onChange=n(this,"checkboxchange",7);this.handleChange=function(e){e.stopPropagation();r.onChange.emit({value:r.value})};this.name=undefined;this.value="";this.color=undefined;this.id=undefined;this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,o=t.name,a=t.color,c=t.value,l=t.disabled,s=t.nativeProps;return r(i,{className:"weui-cells_checkbox"},r("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:c,name:o,class:"taro-checkbox_checked",style:{color:a},checked:n,disabled:l,onChange:this.handleChange},s)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}());c.style=a;var l=undefined&&undefined.__classPrivateFieldSet||function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n};var s=undefined&&undefined.__classPrivateFieldGet||function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)};var u;var h=e("taro_checkbox_group_core",function(){function e(e){t(this,e);this.onChange=n(this,"change",7);this.uniqueName=Date.now().toString(36);u.set(this,void 0);this.name=undefined}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");l(this,u,this.getValues(t),"f");this.onChange.emit({value:s(this,u,"f")})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!s(e,u,"f")){var t=e.el.querySelectorAll("taro-checkbox-core");l(e,u,e.getValues(t),"f")}return s(e,u,"f")},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return r(i,null)};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u=new WeakMap}}}));
@@ -1,7 +0,0 @@
1
- System.register([],(function(r){"use strict";return{execute:function(){function t(r,t,e){return e={path:t,exports:{},require:function(r,t){return n()}},r(e,e.exports),e.exports}function n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var e=r("c",t((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 t={}.hasOwnProperty;function n(){var r=[];for(var e=0;e<arguments.length;e++){var i=arguments[e];if(!i)continue;var o=typeof i;if(o==="string"||o==="number"){r.push(i)}else if(Array.isArray(i)){if(i.length){var u=n.apply(null,i);if(u){r.push(u)}}}else if(o==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var s in i){if(t.call(i,s)&&i[s]){r.push(s)}}}}return r.join(" ")}if(r.exports){n.default=n;r.exports=n}else{window.classNames=n}})()})))}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_share_element_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("ShareElement",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js"],(function(t){"use strict";var e,r,n;return{setters:[function(t){e=t.r;r=t.h;n=t.H}],execute:function(){var u=t("taro_block_core",function(){function t(t){e(this,t)}t.prototype.render=function(){return r(n,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register([],(function(){"use strict";return{execute:function(){(function(){if(typeof window!=="object"){return}if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){if(!("isIntersecting"in window.IntersectionObserverEntry.prototype)){Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}})}return}var t=window.document;function e(t){this.time=t.time;this.target=t.target;this.rootBounds=t.rootBounds;this.boundingClientRect=t.boundingClientRect;this.intersectionRect=t.intersectionRect||a();this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect;var n=e.width*e.height;var r=this.intersectionRect;var i=r.width*r.height;if(n){this.intersectionRatio=Number((i/n).toFixed(4))}else{this.intersectionRatio=this.isIntersecting?1:0}}function n(t,e){var n=e||{};if(typeof t!="function"){throw new Error("callback must be a function")}if(n.root&&n.root.nodeType!=1){throw new Error("root must be an Element")}this._checkForIntersections=i(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=t;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(n.rootMargin);this.thresholds=this._initThresholds(n.threshold);this.root=n.root||null;this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}n.prototype.THROTTLE_TIMEOUT=100;n.prototype.POLL_INTERVAL=null;n.prototype.USE_MUTATION_OBSERVER=true;n.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(e){return}if(!(t&&t.nodeType==1)){throw new Error("target must be an Element")}this._registerInstance();this._observationTargets.push({element:t,entry:null});this._monitorIntersections();this._checkForIntersections()};n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t}));if(!this._observationTargets.length){this._unmonitorIntersections();this._unregisterInstance()}};n.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance()};n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();this._queuedEntries=[];return t};n.prototype._initThresholds=function(t){var e=t||[0];if(!Array.isArray(e))e=[e];return e.sort().filter((function(t,e,n){if(typeof t!="number"||isNaN(t)||t<0||t>1){throw new Error("threshold must be a number between 0 and 1 inclusively")}return t!==n[e-1]}))};n.prototype._parseRootMargin=function(t){var e=t||"0px";var n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e){throw new Error("rootMargin must be specified in pixels or percent")}return{value:parseFloat(e[1]),unit:e[2]}}));n[1]=n[1]||n[0];n[2]=n[2]||n[0];n[3]=n[3]||n[1];return n};n.prototype._monitorIntersections=function(){if(!this._monitoringIntersections){this._monitoringIntersections=true;if(this.POLL_INTERVAL){this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL)}else{o(window,"resize",this._checkForIntersections,true);o(t,"scroll",this._checkForIntersections,true);if(this.USE_MUTATION_OBSERVER&&"MutationObserver"in window){this._domObserver=new MutationObserver(this._checkForIntersections);this._domObserver.observe(t,{attributes:true,childList:true,characterData:true,subtree:true})}}}};n.prototype._unmonitorIntersections=function(){if(this._monitoringIntersections){this._monitoringIntersections=false;clearInterval(this._monitoringInterval);this._monitoringInterval=null;s(window,"resize",this._checkForIntersections,true);s(t,"scroll",this._checkForIntersections,true);if(this._domObserver){this._domObserver.disconnect();this._domObserver=null}}};n.prototype._checkForIntersections=function(){var t=this._rootIsInDom();var n=t?this._getRootRect():a();this._observationTargets.forEach((function(i){var o=i.element;var s=c(o);var h=this._rootContainsTarget(o);var a=i.entry;var u=t&&h&&this._computeTargetAndRootIntersection(o,n);var f=i.entry=new e({time:r(),target:o,boundingClientRect:s,rootBounds:n,intersectionRect:u});if(!a){this._queuedEntries.push(f)}else if(t&&h){if(this._hasCrossedThreshold(a,f)){this._queuedEntries.push(f)}}else{if(a&&a.isIntersecting){this._queuedEntries.push(f)}}}),this);if(this._queuedEntries.length){this._callback(this.takeRecords(),this)}};n.prototype._computeTargetAndRootIntersection=function(e,n){if(window.getComputedStyle(e).display=="none")return;var r=c(e);var i=r;var o=f(e);var s=false;while(!s){var a=null;var u=o.nodeType==1?window.getComputedStyle(o):{};if(u.display=="none")return;if(o==this.root||o==t){s=true;a=n}else{if(o!=t.body&&o!=t.documentElement&&u.overflow!="visible"){a=c(o)}}if(a){i=h(a,i);if(!i)break}o=f(o)}return i};n.prototype._getRootRect=function(){var e;if(this.root){e=c(this.root)}else{var n=t.documentElement;var r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)};n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return e.unit=="px"?e.value:e.value*(n%2?t.width:t.height)/100}));var n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};n.width=n.right-n.left;n.height=n.bottom-n.top;return n};n.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1;var r=e.isIntersecting?e.intersectionRatio||0:-1;if(n===r)return;for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r){return true}}};n.prototype._rootIsInDom=function(){return!this.root||u(t,this.root)};n.prototype._rootContainsTarget=function(e){return u(this.root||t,e)};n.prototype._registerInstance=function(){};n.prototype._unregisterInstance=function(){};function r(){return window.performance&&performance.now&&performance.now()}function i(t,e){var n=null;return function(){if(!n){n=setTimeout((function(){t();n=null}),e)}}}function o(t,e,n,r){if(typeof t.addEventListener=="function"){t.addEventListener(e,n,r||false)}else if(typeof t.attachEvent=="function"){t.attachEvent("on"+e,n)}}function s(t,e,n,r){if(typeof t.removeEventListener=="function"){t.removeEventListener(e,n,r||false)}else if(typeof t.detatchEvent=="function"){t.detatchEvent("on"+e,n)}}function h(t,e){var n=Math.max(t.top,e.top);var r=Math.min(t.bottom,e.bottom);var i=Math.max(t.left,e.left);var o=Math.min(t.right,e.right);var s=o-i;var h=r-n;return s>=0&&h>=0&&{top:n,bottom:r,left:i,right:o,width:s,height:h}}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}if(!e)return a();if(!(e.width&&e.height)){e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}}return e}function a(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t,e){var n=e;while(n){if(n==t)return true;n=f(n)}return false}function f(t){var e=t.parentNode;if(e&&e.nodeType==11&&e.host){return e.host}if(e&&e.assignedSlot){return e.assignedSlot.parentNode}return e}window.IntersectionObserver=n;window.IntersectionObserverEntry=e})()}}}));
@@ -1 +0,0 @@
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_login_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Login",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as s}from"./p-9137dcab.js";const r=class{constructor(t){e(this,t),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}render(){const e={};return"number"==typeof this.numberOfLines&&(e["--line-clamp"]=this.numberOfLines),t(s,{style:e},t("slot",null))}};r.style="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)}";export{r as taro_text_core}