@tarojs/components 4.0.0-canary.8 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (825) hide show
  1. package/LICENSE +17 -3
  2. package/README.md +1 -1
  3. package/dist/cjs/{index-5a8221ec.js → index-09efe07d.js} +208 -2
  4. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  5. package/dist/cjs/{index-b8c435ee.js → index-b873e40f.js} +45 -27
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  16. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-components.cjs.js +2 -2
  24. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  26. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
  29. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
  34. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-icon-core.cjs.entry.js +5 -2
  36. package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
  37. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
  44. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-map-core.cjs.entry.js +1325 -6
  50. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
  52. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
  56. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
  57. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
  59. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -3
  63. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +5 -5
  64. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  65. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -3
  66. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  68. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +4 -4
  72. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  74. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  76. package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
  77. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +58 -9868
  80. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  81. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-tabbar.cjs.entry.js +15 -87
  83. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  84. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  85. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  86. package/dist/cjs/taro-video-control_3.cjs.entry.js +38 -9
  87. package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
  88. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  89. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  90. package/dist/collection/collection-manifest.json +7 -0
  91. package/dist/collection/components/audio/style/index.css +1 -4
  92. package/dist/collection/components/button/style/index.css +1 -160
  93. package/dist/collection/components/canvas/style/index.css +1 -6
  94. package/dist/collection/components/checkbox/style/index.css +1 -39
  95. package/dist/collection/components/cover-image/style/index.css +1 -5
  96. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  97. package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
  98. package/dist/collection/components/grid-builder/grid-builder.js +11 -0
  99. package/dist/collection/components/icon/icon.js +10 -0
  100. package/dist/collection/components/icon/style/index.css +1 -0
  101. package/dist/collection/components/image/image.js +4 -3
  102. package/dist/collection/components/image/style/index.css +1 -73
  103. package/dist/collection/components/input/input.js +2 -2
  104. package/dist/collection/components/input/style/index.css +1 -0
  105. package/dist/collection/components/list-builder/list-builder.js +11 -0
  106. package/dist/collection/components/map/map.js +1806 -4
  107. package/dist/collection/components/map/style/map.css +1 -0
  108. package/dist/collection/components/movable-area/area.css +1 -6
  109. package/dist/collection/components/movable-area/movable-area.js +2 -1
  110. package/dist/collection/components/movable-area/movable-view.js +3 -1
  111. package/dist/collection/components/movable-area/view.css +1 -8
  112. package/dist/collection/components/navigator/style/index.css +1 -3
  113. package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
  114. package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
  115. package/dist/collection/components/open-container/open-container.js +11 -0
  116. package/dist/collection/components/picker/style/index.css +1 -4
  117. package/dist/collection/components/picker-view/style/column.css +1 -12
  118. package/dist/collection/components/picker-view/style/index.css +1 -28
  119. package/dist/collection/components/progress/progress.js +10 -0
  120. package/dist/collection/components/progress/style/index.css +1 -0
  121. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
  122. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  123. package/dist/collection/components/rich-text/style/index.css +1 -16
  124. package/dist/collection/components/scroll-view/style/index.css +1 -17
  125. package/dist/collection/components/slider/slider.js +10 -0
  126. package/dist/collection/components/slider/style/index.css +1 -0
  127. package/dist/collection/components/span/span.js +11 -0
  128. package/dist/collection/components/swiper/style/index.css +2 -19
  129. package/dist/collection/components/swiper/swiper.js +59 -5
  130. package/dist/collection/components/switch/style/index.css +1 -10
  131. package/dist/collection/components/switch/switch.js +12 -12
  132. package/dist/collection/components/tabbar/style/index.css +1 -53
  133. package/dist/collection/components/tabbar/tabbar.js +1 -1
  134. package/dist/collection/components/text/style/index.css +1 -26
  135. package/dist/collection/components/textarea/style/index.css +1 -22
  136. package/dist/collection/components/textarea/textarea.js +11 -0
  137. package/dist/collection/components/video/style/index.css +1 -327
  138. package/dist/collection/components/video/video.js +8 -3
  139. package/dist/collection/components/view/style/index.css +1 -9
  140. package/dist/collection/components/web-view/style/index.css +1 -12
  141. package/dist/collection/utils/index.js +10 -0
  142. package/dist/components/index.d.ts +7 -0
  143. package/dist/components/index.js +7 -0
  144. package/dist/components/index2.js +45 -27
  145. package/dist/components/index3.js +6 -1
  146. package/dist/components/taro-audio-core.js +1 -1
  147. package/dist/components/taro-button-core.js +1 -1
  148. package/dist/components/taro-canvas-core.js +1 -1
  149. package/dist/components/taro-checkbox-core.js +1 -1
  150. package/dist/components/taro-cover-image-core.js +1 -1
  151. package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
  152. package/dist/components/taro-draggable-sheet-core.js +33 -0
  153. package/dist/components/taro-grid-builder-core.d.ts +11 -0
  154. package/dist/components/taro-grid-builder-core.js +33 -0
  155. package/dist/components/taro-icon-core.js +3 -0
  156. package/dist/components/taro-image-core.js +5 -4
  157. package/dist/components/taro-input-core.js +1 -1
  158. package/dist/components/taro-list-builder-core.d.ts +11 -0
  159. package/dist/components/taro-list-builder-core.js +33 -0
  160. package/dist/components/taro-map-core.js +1349 -6
  161. package/dist/components/taro-movable-area-core.js +3 -2
  162. package/dist/components/taro-movable-view-core.js +4 -2
  163. package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
  164. package/dist/components/taro-nested-scroll-body-core.js +33 -0
  165. package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
  166. package/dist/components/taro-nested-scroll-header-core.js +33 -0
  167. package/dist/components/taro-open-container-core.d.ts +11 -0
  168. package/dist/components/taro-open-container-core.js +33 -0
  169. package/dist/components/taro-picker-core.js +1 -1
  170. package/dist/components/taro-picker-view-column-core.js +1 -1
  171. package/dist/components/taro-picker-view-core.js +1 -1
  172. package/dist/components/taro-progress-core.js +3 -0
  173. package/dist/components/taro-pull-to-refresh-core.js +4 -1
  174. package/dist/components/taro-rich-text-core.js +1 -1
  175. package/dist/components/taro-scroll-view-core.js +1 -1
  176. package/dist/components/taro-slider-core.js +3 -0
  177. package/dist/components/taro-span-core.d.ts +11 -0
  178. package/dist/components/taro-span-core.js +33 -0
  179. package/dist/components/taro-swiper-core.js +45 -9858
  180. package/dist/components/taro-switch-core.js +13 -13
  181. package/dist/components/taro-tabbar.js +4 -77
  182. package/dist/components/taro-text-core.js +1 -1
  183. package/dist/components/taro-textarea-core.js +11 -2
  184. package/dist/components/taro-video-core.js +10 -5
  185. package/dist/components/taro-view-core.js +1 -1
  186. package/dist/components/taro-web-view-core.js +1 -1
  187. package/dist/esm/{index-6bb77c5f.js → index-9924aee9.js} +208 -2
  188. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  189. package/dist/esm/{index-a74b6944.js → index-b9522531.js} +45 -27
  190. package/dist/esm/loader.js +3 -3
  191. package/dist/esm/taro-ad-core.entry.js +1 -1
  192. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  193. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  194. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  195. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  196. package/dist/esm/taro-audio-core.entry.js +2 -2
  197. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  198. package/dist/esm/taro-block-core.entry.js +1 -1
  199. package/dist/esm/taro-button-core.entry.js +3 -3
  200. package/dist/esm/taro-camera-core.entry.js +1 -1
  201. package/dist/esm/taro-canvas-core.entry.js +2 -2
  202. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  203. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  204. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  205. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  206. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  207. package/dist/esm/taro-components.js +3 -3
  208. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  209. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  210. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  211. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  212. package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
  213. package/dist/esm/taro-editor-core.entry.js +1 -1
  214. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  215. package/dist/esm/taro-form-core.entry.js +1 -1
  216. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  217. package/dist/esm/taro-grid-builder-core.entry.js +17 -0
  218. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  219. package/dist/esm/taro-icon-core.entry.js +5 -2
  220. package/dist/esm/taro-image-core.entry.js +7 -6
  221. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  222. package/dist/esm/taro-input-core.entry.js +2 -2
  223. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  224. package/dist/esm/taro-label-core.entry.js +1 -1
  225. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  226. package/dist/esm/taro-like-core.entry.js +1 -1
  227. package/dist/esm/taro-list-builder-core.entry.js +17 -0
  228. package/dist/esm/taro-list-view-core.entry.js +1 -1
  229. package/dist/esm/taro-live-player-core.entry.js +1 -1
  230. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  231. package/dist/esm/taro-login-core.entry.js +1 -1
  232. package/dist/esm/taro-lottie-core.entry.js +1 -1
  233. package/dist/esm/taro-map-core.entry.js +1321 -6
  234. package/dist/esm/taro-match-media-core.entry.js +1 -1
  235. package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
  236. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  237. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  238. package/dist/esm/taro-navigator-core.entry.js +2 -2
  239. package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
  240. package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
  241. package/dist/esm/taro-official-account-core.entry.js +1 -1
  242. package/dist/esm/taro-open-container-core.entry.js +17 -0
  243. package/dist/esm/taro-open-data-core.entry.js +1 -1
  244. package/dist/esm/taro-page-container-core.entry.js +1 -1
  245. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  246. package/dist/esm/taro-picker-core_2.entry.js +3 -3
  247. package/dist/esm/taro-picker-view-column-core_2.entry.js +5 -5
  248. package/dist/esm/taro-progress-core.entry.js +4 -1
  249. package/dist/esm/taro-pull-to-refresh-core.entry.js +6 -3
  250. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  251. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  252. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  253. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  254. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  255. package/dist/esm/taro-scroll-view-core.entry.js +4 -4
  256. package/dist/esm/taro-share-element-core.entry.js +1 -1
  257. package/dist/esm/taro-slider-core.entry.js +4 -1
  258. package/dist/esm/taro-slot-core.entry.js +1 -1
  259. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  260. package/dist/esm/taro-span-core.entry.js +17 -0
  261. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  262. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  263. package/dist/esm/taro-swiper-core_2.entry.js +45 -9859
  264. package/dist/esm/taro-switch-core.entry.js +13 -12
  265. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  266. package/dist/esm/taro-tabbar.entry.js +6 -79
  267. package/dist/esm/taro-tabs-core.entry.js +1 -1
  268. package/dist/esm/taro-text-core.entry.js +2 -2
  269. package/dist/esm/taro-textarea-core.entry.js +12 -3
  270. package/dist/esm/taro-video-control_3.entry.js +13 -8
  271. package/dist/esm/taro-view-core.entry.js +3 -3
  272. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  273. package/dist/esm/taro-web-view-core.entry.js +2 -2
  274. package/dist/esm-es5/index-9924aee9.js +2 -0
  275. package/dist/esm-es5/index-a00a7418.js +1 -0
  276. package/dist/esm-es5/index-b9522531.js +7 -0
  277. package/dist/esm-es5/loader.js +1 -1
  278. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  292. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-components.js +1 -1
  295. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  299. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -0
  300. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  302. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  303. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  304. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -0
  305. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  306. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  307. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  309. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  312. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  313. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  314. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -0
  315. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  316. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  317. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  318. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  319. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  320. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  321. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  322. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  323. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  324. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  325. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  326. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -0
  327. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
  328. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  329. package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
  330. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  331. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  332. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  333. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  334. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  335. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  336. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  337. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  338. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  339. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  340. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  341. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  342. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  343. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  344. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  345. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  346. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  347. package/dist/esm-es5/taro-span-core.entry.js +1 -0
  348. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  349. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  350. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  351. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  352. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  353. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  354. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  355. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  356. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  357. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  358. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  359. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  360. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  361. package/dist/hydrate/index.d.ts +217 -0
  362. package/dist/hydrate/index.js +14603 -0
  363. package/dist/hydrate/package.json +6 -0
  364. package/dist/taro-components/p-010faa87.system.js +1 -0
  365. package/dist/taro-components/p-02465454.system.entry.js +1 -0
  366. package/dist/taro-components/p-02d4d104.entry.js +1 -0
  367. package/dist/taro-components/p-03dc0283.entry.js +1 -0
  368. package/dist/taro-components/p-047e4bfe.entry.js +1 -0
  369. package/dist/taro-components/{p-028ad016.system.entry.js → p-06adeb65.system.entry.js} +1 -1
  370. package/dist/taro-components/p-078cb65e.entry.js +1 -0
  371. package/dist/taro-components/{p-6d7165eb.system.entry.js → p-07ae6678.system.entry.js} +1 -1
  372. package/dist/taro-components/p-07f27474.entry.js +1 -0
  373. package/dist/taro-components/{p-635fe530.system.entry.js → p-083c3147.system.entry.js} +1 -1
  374. package/dist/taro-components/p-0a64f78c.system.entry.js +1 -0
  375. package/dist/taro-components/p-0f2c1ecc.entry.js +1 -0
  376. package/dist/taro-components/{p-7dee8f07.system.entry.js → p-0f480c38.system.entry.js} +1 -1
  377. package/dist/taro-components/{p-18ea7e10.system.entry.js → p-0fc790c0.system.entry.js} +1 -1
  378. package/dist/taro-components/{p-aae38fe8.entry.js → p-0ff5a55b.entry.js} +1 -1
  379. package/dist/taro-components/p-12582166.entry.js +1 -0
  380. package/dist/taro-components/p-156e9634.system.entry.js +1 -0
  381. package/dist/taro-components/p-160d710a.js +7 -0
  382. package/dist/taro-components/{p-25fffbbe.system.entry.js → p-17938fa0.system.entry.js} +1 -1
  383. package/dist/taro-components/{p-46a9adcf.system.entry.js → p-17b9f865.system.entry.js} +1 -1
  384. package/dist/taro-components/p-17e72555.entry.js +1 -0
  385. package/dist/taro-components/p-18c039ef.entry.js +1 -0
  386. package/dist/taro-components/{p-6e1f0e6d.system.entry.js → p-1bd4da3b.system.entry.js} +1 -1
  387. package/dist/taro-components/p-1c37143a.system.entry.js +1 -0
  388. package/dist/taro-components/p-1eea2828.entry.js +1 -0
  389. package/dist/taro-components/p-204996e7.entry.js +1 -0
  390. package/dist/taro-components/{p-23f15c7b.entry.js → p-2649c7ae.entry.js} +1 -1
  391. package/dist/taro-components/p-26eb2f3f.entry.js +1 -0
  392. package/dist/taro-components/p-27041d86.system.entry.js +1 -0
  393. package/dist/taro-components/{p-3d7626a9.system.entry.js → p-27d372b4.system.entry.js} +1 -1
  394. package/dist/taro-components/{p-6c48d884.entry.js → p-280795f2.entry.js} +1 -1
  395. package/dist/taro-components/p-292470e5.entry.js +1 -0
  396. package/dist/taro-components/p-2d537212.entry.js +1 -0
  397. package/dist/taro-components/p-2f177716.entry.js +1 -0
  398. package/dist/taro-components/{p-9f5ebe09.system.entry.js → p-3293c5d9.system.entry.js} +1 -1
  399. package/dist/taro-components/p-32c0f326.entry.js +1 -0
  400. package/dist/taro-components/p-35dec732.entry.js +1 -0
  401. package/dist/taro-components/{p-fff30a48.entry.js → p-38b29261.entry.js} +1 -1
  402. package/dist/taro-components/{p-c7679d57.entry.js → p-3a180dc7.entry.js} +1 -1
  403. package/dist/taro-components/{p-f094089c.system.entry.js → p-3b36196b.system.entry.js} +1 -1
  404. package/dist/taro-components/{p-222573ad.entry.js → p-3bfe9260.entry.js} +1 -1
  405. package/dist/taro-components/{p-345cb56f.entry.js → p-3cf08137.entry.js} +1 -1
  406. package/dist/taro-components/{p-8c93f3e0.entry.js → p-402c7f93.entry.js} +1 -1
  407. package/dist/taro-components/p-425d1d69.entry.js +1 -0
  408. package/dist/taro-components/p-43367dd1.entry.js +1 -0
  409. package/dist/taro-components/p-443b9a72.system.js +7 -0
  410. package/dist/taro-components/p-443e31ab.system.entry.js +1 -0
  411. package/dist/taro-components/p-4523b1c7.entry.js +1 -0
  412. package/dist/taro-components/p-46a66c43.entry.js +1 -0
  413. package/dist/taro-components/{p-03538d40.system.entry.js → p-47790dc0.system.entry.js} +1 -1
  414. package/dist/taro-components/{p-747bdbaa.system.entry.js → p-4979e93c.system.entry.js} +1 -1
  415. package/dist/taro-components/p-4a8b4d58.system.entry.js +1 -0
  416. package/dist/taro-components/{p-aa1ea71b.system.entry.js → p-4ac48df1.system.entry.js} +1 -1
  417. package/dist/taro-components/{p-c2259653.system.entry.js → p-4fad4beb.system.entry.js} +1 -1
  418. package/dist/taro-components/{p-e7232d54.system.entry.js → p-50849470.system.entry.js} +1 -1
  419. package/dist/taro-components/p-53e62840.system.entry.js +1 -0
  420. package/dist/taro-components/p-55e12654.entry.js +1 -0
  421. package/dist/taro-components/p-56552c9e.entry.js +1 -0
  422. package/dist/taro-components/p-56a82bf3.entry.js +1 -0
  423. package/dist/taro-components/p-57911e2c.system.entry.js +1 -0
  424. package/dist/taro-components/{p-3aaf0fb7.system.entry.js → p-57b77f17.system.entry.js} +1 -1
  425. package/dist/taro-components/{p-d86ce035.system.entry.js → p-5884c108.system.entry.js} +1 -1
  426. package/dist/taro-components/p-5893c3ed.js +1 -0
  427. package/dist/taro-components/{p-cd34c92e.system.entry.js → p-5b9aa4b0.system.entry.js} +1 -1
  428. package/dist/taro-components/{p-feddde29.system.entry.js → p-5c156db3.system.entry.js} +1 -1
  429. package/dist/taro-components/{p-b94dcfbe.entry.js → p-5c98f478.entry.js} +1 -1
  430. package/dist/taro-components/p-5f23dc41.system.entry.js +1 -0
  431. package/dist/taro-components/{p-58d410c6.system.entry.js → p-61a325d2.system.entry.js} +1 -1
  432. package/dist/taro-components/{p-3967311b.system.entry.js → p-6282bdee.system.entry.js} +1 -1
  433. package/dist/taro-components/{p-67dcb636.system.entry.js → p-65d11e99.system.entry.js} +1 -1
  434. package/dist/taro-components/{p-1eb875d0.system.entry.js → p-6654374e.system.entry.js} +1 -1
  435. package/dist/taro-components/p-6664a2ca.system.entry.js +1 -0
  436. package/dist/taro-components/p-68197378.entry.js +1 -0
  437. package/dist/taro-components/p-6989c232.entry.js +1 -0
  438. package/dist/taro-components/{p-3708575b.system.entry.js → p-6b83388c.system.entry.js} +1 -1
  439. package/dist/taro-components/p-6ba08ce0.system.entry.js +1 -0
  440. package/dist/taro-components/p-6cc0bcb9.entry.js +1 -0
  441. package/dist/taro-components/p-7163d09e.system.js +1 -0
  442. package/dist/taro-components/{p-edb9e04e.system.entry.js → p-75b4c1fc.system.entry.js} +1 -1
  443. package/dist/taro-components/p-75d01c60.system.js +2 -0
  444. package/dist/taro-components/{p-e487b8b4.system.entry.js → p-75ded8a0.system.entry.js} +1 -1
  445. package/dist/taro-components/p-77e82dfa.entry.js +1 -0
  446. package/dist/taro-components/{p-f232cf02.entry.js → p-79cad66b.entry.js} +1 -1
  447. package/dist/taro-components/p-7ca2d075.system.entry.js +1 -0
  448. package/dist/taro-components/{p-fdccd9b3.system.entry.js → p-7e054ae7.system.entry.js} +1 -1
  449. package/dist/taro-components/p-7e692c70.entry.js +1 -0
  450. package/dist/taro-components/p-7ebd4310.entry.js +1 -0
  451. package/dist/taro-components/p-7fdbcf4d.entry.js +1 -0
  452. package/dist/taro-components/{p-bbbe728b.system.entry.js → p-8179438b.system.entry.js} +1 -1
  453. package/dist/taro-components/{p-1c1d9be8.entry.js → p-84998109.entry.js} +1 -1
  454. package/dist/taro-components/{p-7ad33036.system.entry.js → p-855619b6.system.entry.js} +1 -1
  455. package/dist/taro-components/p-8b0c9d3f.entry.js +1 -0
  456. package/dist/taro-components/{p-0b6e9013.system.entry.js → p-91ee1f8a.system.entry.js} +1 -1
  457. package/dist/taro-components/p-937a6c36.entry.js +1 -0
  458. package/dist/taro-components/{p-475f9ed3.system.entry.js → p-938f9036.system.entry.js} +1 -1
  459. package/dist/taro-components/{p-70c81b7e.entry.js → p-93a2b2e9.entry.js} +1 -1
  460. package/dist/taro-components/p-93b02321.entry.js +1 -0
  461. package/dist/taro-components/p-9571836f.entry.js +1 -0
  462. package/dist/taro-components/{p-b4e3f72e.system.entry.js → p-97b09fb4.system.entry.js} +1 -1
  463. package/dist/taro-components/p-9b6b17c4.system.entry.js +1 -0
  464. package/dist/taro-components/{p-c968ea43.system.entry.js → p-9e359fff.system.entry.js} +1 -1
  465. package/dist/taro-components/p-9f53e26c.system.entry.js +1 -0
  466. package/dist/taro-components/{p-178cb282.system.entry.js → p-a25aca16.system.entry.js} +1 -1
  467. package/dist/taro-components/p-a50c6736.entry.js +1 -0
  468. package/dist/taro-components/{p-32b41faa.system.entry.js → p-a96f8f60.system.entry.js} +1 -1
  469. package/dist/taro-components/{p-9c566d7d.system.entry.js → p-a9ca8247.system.entry.js} +1 -1
  470. package/dist/taro-components/p-aabac550.entry.js +1 -0
  471. package/dist/taro-components/p-ab0e0366.system.entry.js +1 -0
  472. package/dist/taro-components/p-ac2be5f3.entry.js +1 -0
  473. package/dist/taro-components/p-ac714300.system.entry.js +1 -0
  474. package/dist/taro-components/{p-1d3ed211.system.entry.js → p-ac9fb309.system.entry.js} +1 -1
  475. package/dist/taro-components/p-acb113bd.entry.js +1 -0
  476. package/dist/taro-components/p-b087ad2a.system.entry.js +1 -0
  477. package/dist/taro-components/p-b1f80b6b.entry.js +1 -0
  478. package/dist/taro-components/p-b4577a12.system.entry.js +1 -0
  479. package/dist/taro-components/{p-fbc2b53e.entry.js → p-b4c7bb48.entry.js} +1 -1
  480. package/dist/taro-components/p-ba11ef7d.entry.js +1 -0
  481. package/dist/taro-components/{p-810b9a86.system.entry.js → p-ba5e7ec4.system.entry.js} +1 -1
  482. package/dist/taro-components/p-bb67318d.entry.js +1 -0
  483. package/dist/taro-components/{p-6f45f110.entry.js → p-bd57edcd.entry.js} +1 -1
  484. package/dist/taro-components/{p-f43ba9ed.entry.js → p-be055537.entry.js} +1 -1
  485. package/dist/taro-components/{p-eab8a6b0.entry.js → p-be1701b2.entry.js} +1 -1
  486. package/dist/taro-components/{p-e769cea4.system.entry.js → p-c056d527.system.entry.js} +1 -1
  487. package/dist/taro-components/{p-039e15a4.system.entry.js → p-c0c567e5.system.entry.js} +1 -1
  488. package/dist/taro-components/p-c3dc7072.entry.js +1 -0
  489. package/dist/taro-components/{p-680ba5a1.system.entry.js → p-c677414d.system.entry.js} +1 -1
  490. package/dist/taro-components/p-c71d5745.system.entry.js +1 -0
  491. package/dist/taro-components/{p-a7ecb97a.entry.js → p-c7836e2b.entry.js} +1 -1
  492. package/dist/taro-components/p-c7d8c076.system.entry.js +1 -0
  493. package/dist/taro-components/{p-7de7d96c.entry.js → p-c8cd6e16.entry.js} +1 -1
  494. package/dist/taro-components/p-c95d2b90.entry.js +1 -0
  495. package/dist/taro-components/p-ca6a5916.system.entry.js +1 -0
  496. package/dist/taro-components/{p-dea67974.system.entry.js → p-cae6c5d0.system.entry.js} +1 -1
  497. package/dist/taro-components/{p-6d1e33e1.system.entry.js → p-cafbb3d9.system.entry.js} +1 -1
  498. package/dist/taro-components/p-ccbaba23.entry.js +1 -0
  499. package/dist/taro-components/{p-443fe754.system.entry.js → p-d05eb105.system.entry.js} +1 -1
  500. package/dist/taro-components/{p-346162b4.system.entry.js → p-d2203687.system.entry.js} +1 -1
  501. package/dist/taro-components/{p-f8970571.entry.js → p-d5603857.entry.js} +1 -1
  502. package/dist/taro-components/{p-72d7fae0.system.entry.js → p-d73b3a94.system.entry.js} +1 -1
  503. package/dist/taro-components/p-d87a68f6.entry.js +1 -0
  504. package/dist/taro-components/p-d973d536.entry.js +1 -0
  505. package/dist/taro-components/{p-48c52124.entry.js → p-d9884371.entry.js} +1 -1
  506. package/dist/taro-components/p-dc08715a.entry.js +1 -0
  507. package/dist/taro-components/{p-20e38f24.entry.js → p-dc25fa81.entry.js} +1 -1
  508. package/dist/taro-components/p-dcf5747c.system.entry.js +1 -0
  509. package/dist/taro-components/{p-abd51173.system.entry.js → p-ddf75d6a.system.entry.js} +1 -1
  510. package/dist/taro-components/{p-c3c69a95.system.entry.js → p-ded98693.system.entry.js} +1 -1
  511. package/dist/taro-components/{p-0780df27.entry.js → p-dedf50a9.entry.js} +1 -1
  512. package/dist/taro-components/{p-8d797863.system.entry.js → p-df7c6216.system.entry.js} +1 -1
  513. package/dist/taro-components/p-e1cce2f1.entry.js +1 -0
  514. package/dist/taro-components/p-e2e7bc16.entry.js +1 -0
  515. package/dist/taro-components/p-e3d825d1.system.entry.js +1 -0
  516. package/dist/taro-components/p-e5ef41f2.system.entry.js +1 -0
  517. package/dist/taro-components/p-e62a1287.js +2 -0
  518. package/dist/taro-components/p-e681d764.entry.js +1 -0
  519. package/dist/taro-components/p-e853a2c8.system.entry.js +1 -0
  520. package/dist/taro-components/p-ebad862a.system.entry.js +1 -0
  521. package/dist/taro-components/p-ebb1ae64.entry.js +1 -0
  522. package/dist/taro-components/p-f034a433.entry.js +1 -0
  523. package/dist/taro-components/{p-4cc2e06e.entry.js → p-f168fffc.entry.js} +1 -1
  524. package/dist/taro-components/p-f367a754.entry.js +1 -0
  525. package/dist/taro-components/{p-2713fc1a.entry.js → p-f43f26cf.entry.js} +1 -1
  526. package/dist/taro-components/{p-8b604d50.entry.js → p-f5f3a111.entry.js} +1 -1
  527. package/dist/taro-components/{p-1ac9622e.entry.js → p-f8f2461f.entry.js} +1 -1
  528. package/dist/taro-components/p-f9935901.system.entry.js +1 -0
  529. package/dist/taro-components/{p-1411cd2e.system.entry.js → p-fa31b2de.system.entry.js} +1 -1
  530. package/dist/taro-components/p-fab63183.entry.js +1 -0
  531. package/dist/taro-components/{p-4ff6ad99.system.entry.js → p-fbf13159.system.entry.js} +1 -1
  532. package/dist/taro-components/p-fe5eefdc.system.entry.js +1 -0
  533. package/dist/taro-components/{p-d8f78d99.system.entry.js → p-feb89474.system.entry.js} +1 -1
  534. package/dist/taro-components/p-ff772345.entry.js +1 -0
  535. package/dist/taro-components/taro-components.css +1 -5
  536. package/dist/taro-components/taro-components.esm.js +1 -1
  537. package/dist/taro-components/taro-components.js +1 -1
  538. package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
  539. package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
  540. package/dist/types/components/list-builder/list-builder.d.ts +5 -0
  541. package/dist/types/components/map/map.d.ts +145 -2
  542. package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
  543. package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
  544. package/dist/types/components/open-container/open-container.d.ts +5 -0
  545. package/dist/types/components/span/span.d.ts +5 -0
  546. package/dist/types/components/swiper/swiper.d.ts +5 -0
  547. package/dist/types/components/switch/switch.d.ts +3 -3
  548. package/dist/types/components/textarea/textarea.d.ts +1 -0
  549. package/dist/types/components.d.ts +313 -1
  550. package/dist/types/utils/index.d.ts +2 -0
  551. package/global.css +1 -0
  552. package/lib/react/component-lib/index.d.ts +53 -53
  553. package/lib/react/component-lib/input.d.ts +1 -1
  554. package/lib/react/component-lib/input.js.map +1 -1
  555. package/lib/react/component-lib/reactify-wc.d.ts +1 -1
  556. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  557. package/lib/react/components.d.ts +92 -85
  558. package/lib/react/components.js +11 -2
  559. package/lib/react/components.js.map +1 -1
  560. package/lib/react/helper.d.ts +4 -2
  561. package/lib/react/helper.js.map +1 -1
  562. package/lib/react/index.d.ts +1 -1
  563. package/lib/react/index.js +1 -1
  564. package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +1 -0
  565. package/lib/react/react-component-lib/createComponent.d.ts +3 -3
  566. package/lib/react/react-component-lib/createComponent.js +3 -2
  567. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  568. package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -5
  569. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  570. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  571. package/lib/react/react-component-lib/index.d.ts +2 -2
  572. package/lib/react/{interfaces-f526f1a2.d.ts → react-component-lib/interfaces.d.ts} +4 -5
  573. package/lib/react/react-component-lib/utils/attachProps.d.ts +18 -9
  574. package/lib/react/react-component-lib/utils/attachProps.js +86 -10
  575. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  576. package/lib/react/react-component-lib/utils/case.d.ts +2 -3
  577. package/lib/react/react-component-lib/utils/dev.d.ts +6 -0
  578. package/lib/react/react-component-lib/utils/index.d.ts +9 -10
  579. package/lib/react/react-component-lib/utils/index.js +1 -1
  580. package/lib/react/react-component-lib/utils/index.js.map +1 -1
  581. package/lib/solid/component-lib/index.d.ts +53 -0
  582. package/lib/solid/component-lib/index.js +69 -0
  583. package/lib/solid/component-lib/index.js.map +1 -0
  584. package/lib/solid/components.d.ts +92 -0
  585. package/lib/solid/components.js +102 -0
  586. package/lib/solid/components.js.map +1 -0
  587. package/lib/solid/helper.d.ts +3 -0
  588. package/lib/solid/helper.js +7 -0
  589. package/lib/solid/helper.js.map +1 -0
  590. package/lib/solid/index.d.ts +1 -0
  591. package/lib/solid/index.js +2 -0
  592. package/lib/solid/solid-component-lib/createComponent.d.ts +10 -0
  593. package/lib/solid/solid-component-lib/createComponent.js +67 -0
  594. package/lib/solid/solid-component-lib/createComponent.js.map +1 -0
  595. package/lib/solid/solid-component-lib/index.d.ts +1 -0
  596. package/lib/solid/solid-component-lib/index.js +2 -0
  597. package/lib/solid/solid-component-lib/index.js.map +1 -0
  598. package/lib/solid/solid-component-lib/interfaces.d.ts +33 -0
  599. package/lib/solid/solid-component-lib/utils/case.d.ts +3 -0
  600. package/lib/solid/solid-component-lib/utils/case.js +6 -0
  601. package/lib/solid/solid-component-lib/utils/case.js.map +1 -0
  602. package/lib/solid/solid-component-lib/utils/element.d.ts +6 -0
  603. package/lib/solid/solid-component-lib/utils/element.js +48 -0
  604. package/lib/solid/solid-component-lib/utils/element.js.map +1 -0
  605. package/lib/solid/solid-component-lib/utils/index.d.ts +2 -0
  606. package/lib/solid/solid-component-lib/utils/index.js +3 -0
  607. package/lib/solid/solid-component-lib/utils/index.js.map +1 -0
  608. package/lib/vue3/component-lib/createComponent.d.ts +1 -2
  609. package/lib/vue3/component-lib/createFormsComponent.d.ts +1 -2
  610. package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
  611. package/lib/vue3/component-lib/forwardRef.d.ts +1 -2
  612. package/lib/vue3/component-lib/icon.d.ts +1 -1
  613. package/lib/vue3/component-lib/image.d.ts +1 -1
  614. package/lib/vue3/component-lib/index.d.ts +52 -53
  615. package/lib/vue3/component-lib/scroll-view.d.ts +1 -1
  616. package/lib/vue3/component-lib/scroll-view.js.map +1 -1
  617. package/lib/vue3/component-lib/text.d.ts +1 -1
  618. package/lib/vue3/components-loader.d.ts +1 -2
  619. package/lib/vue3/components-loader.js.map +1 -1
  620. package/lib/vue3/components.d.ts +91 -85
  621. package/lib/vue3/components.js +41 -3
  622. package/lib/vue3/components.js.map +1 -1
  623. package/lib/vue3/index.d.ts +1 -1
  624. package/lib/vue3/index.js +1 -1
  625. package/lib/vue3/vue-component-lib/utils.d.ts +2 -3
  626. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  627. package/package.json +34 -23
  628. package/types/Audio.d.ts +11 -11
  629. package/types/Button.d.ts +9 -9
  630. package/types/Canvas.d.ts +11 -11
  631. package/types/Checkbox.d.ts +8 -8
  632. package/types/CheckboxGroup.d.ts +3 -3
  633. package/types/CoverImage.d.ts +4 -4
  634. package/types/CoverView.d.ts +1 -1
  635. package/types/CustomWrapper.d.ts +1 -1
  636. package/types/DraggableSheet.d.ts +47 -0
  637. package/types/Form.d.ts +4 -4
  638. package/types/GridBuilder.d.ts +72 -0
  639. package/types/GridView.d.ts +18 -4
  640. package/types/Icon.d.ts +4 -4
  641. package/types/Image.d.ts +8 -8
  642. package/types/Input.d.ts +22 -17
  643. package/types/Label.d.ts +2 -2
  644. package/types/ListBuilder.d.ts +55 -0
  645. package/types/ListView.d.ts +9 -2
  646. package/types/Map.d.ts +0 -2
  647. package/types/MovableArea.d.ts +2 -2
  648. package/types/MovableView.d.ts +18 -18
  649. package/types/NativeSlot.d.ts +1 -1
  650. package/types/NavigationBar.d.ts +5 -5
  651. package/types/Navigator.d.ts +8 -8
  652. package/types/NestedScrollBody.d.ts +15 -0
  653. package/types/NestedScrollHeader.d.ts +15 -0
  654. package/types/OpenContainer.d.ts +74 -0
  655. package/types/PageMeta.d.ts +13 -7
  656. package/types/Picker.d.ts +49 -28
  657. package/types/PickerView.d.ts +6 -1
  658. package/types/PickerViewColumn.d.ts +1 -1
  659. package/types/Progress.d.ts +13 -13
  660. package/types/Radio.d.ts +7 -7
  661. package/types/RadioGroup.d.ts +2 -2
  662. package/types/RichText.d.ts +5 -5
  663. package/types/Script.d.ts +37 -0
  664. package/types/ScrollView.d.ts +21 -15
  665. package/types/ShareElement.d.ts +1 -0
  666. package/types/Slider.d.ts +18 -13
  667. package/types/Slot.d.ts +1 -1
  668. package/types/Snapshot.d.ts +12 -3
  669. package/types/Span.d.ts +14 -0
  670. package/types/StickyHeader.d.ts +15 -2
  671. package/types/StickySection.d.ts +7 -1
  672. package/types/Swiper.d.ts +18 -20
  673. package/types/SwiperItem.d.ts +2 -2
  674. package/types/Switch.d.ts +12 -7
  675. package/types/Text.d.ts +20 -4
  676. package/types/Textarea.d.ts +18 -13
  677. package/types/Video.d.ts +30 -30
  678. package/types/View.d.ts +4 -4
  679. package/types/WebView.d.ts +4 -4
  680. package/types/common.d.ts +2 -2
  681. package/types/index.d.ts +8 -0
  682. package/types/index.vue3.d.ts +4 -0
  683. package/dist/cjs/hls-dfcad743.js +0 -25797
  684. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  685. package/dist/collection/components/input/index.css +0 -12
  686. package/dist/components/hls.js +0 -25795
  687. package/dist/components/intersection-observer.js +0 -726
  688. package/dist/esm/hls-268fc25b.js +0 -25795
  689. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  690. package/dist/esm-es5/hls-268fc25b.js +0 -1
  691. package/dist/esm-es5/index-6bb77c5f.js +0 -2
  692. package/dist/esm-es5/index-a74b6944.js +0 -7
  693. package/dist/esm-es5/index-d1b03e47.js +0 -1
  694. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  695. package/dist/taro-components/p-00113225.system.entry.js +0 -1
  696. package/dist/taro-components/p-0030841b.system.js +0 -1
  697. package/dist/taro-components/p-0910d414.entry.js +0 -1
  698. package/dist/taro-components/p-0e37fb54.entry.js +0 -1
  699. package/dist/taro-components/p-11c962b9.entry.js +0 -1
  700. package/dist/taro-components/p-139d64f1.entry.js +0 -1
  701. package/dist/taro-components/p-175edd50.entry.js +0 -1
  702. package/dist/taro-components/p-19f218e6.js +0 -7
  703. package/dist/taro-components/p-1c95795d.entry.js +0 -1
  704. package/dist/taro-components/p-1f36cd5f.entry.js +0 -1
  705. package/dist/taro-components/p-1f88349b.entry.js +0 -1
  706. package/dist/taro-components/p-2145dccb.entry.js +0 -1
  707. package/dist/taro-components/p-215881b4.entry.js +0 -1
  708. package/dist/taro-components/p-2339a4d3.entry.js +0 -1
  709. package/dist/taro-components/p-277892fe.system.entry.js +0 -1
  710. package/dist/taro-components/p-27c756c5.system.entry.js +0 -1
  711. package/dist/taro-components/p-2aff4cdb.entry.js +0 -1
  712. package/dist/taro-components/p-2e2487bf.system.entry.js +0 -1
  713. package/dist/taro-components/p-332dc867.entry.js +0 -1
  714. package/dist/taro-components/p-333305e3.entry.js +0 -1
  715. package/dist/taro-components/p-34de4101.system.js +0 -7
  716. package/dist/taro-components/p-35160fd2.entry.js +0 -1
  717. package/dist/taro-components/p-37edf3f6.entry.js +0 -1
  718. package/dist/taro-components/p-3ad92100.system.entry.js +0 -1
  719. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  720. package/dist/taro-components/p-3cd71da3.system.entry.js +0 -1
  721. package/dist/taro-components/p-401743f9.system.entry.js +0 -1
  722. package/dist/taro-components/p-4aeb3859.system.entry.js +0 -1
  723. package/dist/taro-components/p-4d609ebb.system.entry.js +0 -1
  724. package/dist/taro-components/p-4d89b685.entry.js +0 -1
  725. package/dist/taro-components/p-527c55ca.entry.js +0 -1
  726. package/dist/taro-components/p-550c350a.entry.js +0 -1
  727. package/dist/taro-components/p-5b028f1b.js +0 -1
  728. package/dist/taro-components/p-619b9fe5.system.entry.js +0 -1
  729. package/dist/taro-components/p-6df6fd58.entry.js +0 -1
  730. package/dist/taro-components/p-6f5e162d.entry.js +0 -1
  731. package/dist/taro-components/p-70bd0541.entry.js +0 -1
  732. package/dist/taro-components/p-728b6f8f.system.entry.js +0 -1
  733. package/dist/taro-components/p-72f327e1.js +0 -1
  734. package/dist/taro-components/p-79b675c8.entry.js +0 -1
  735. package/dist/taro-components/p-7b39971e.system.entry.js +0 -1
  736. package/dist/taro-components/p-7ba17143.entry.js +0 -1
  737. package/dist/taro-components/p-7be1f603.entry.js +0 -1
  738. package/dist/taro-components/p-7e90dfef.js +0 -2
  739. package/dist/taro-components/p-817b319c.system.entry.js +0 -1
  740. package/dist/taro-components/p-907d2fe0.entry.js +0 -1
  741. package/dist/taro-components/p-93a3d6ee.entry.js +0 -1
  742. package/dist/taro-components/p-9c91aee3.system.entry.js +0 -1
  743. package/dist/taro-components/p-9e788d33.entry.js +0 -1
  744. package/dist/taro-components/p-9feeee0f.system.entry.js +0 -1
  745. package/dist/taro-components/p-a3dad439.entry.js +0 -1
  746. package/dist/taro-components/p-a4ea7a51.system.entry.js +0 -1
  747. package/dist/taro-components/p-a54735cb.entry.js +0 -1
  748. package/dist/taro-components/p-a5adbf15.system.entry.js +0 -1
  749. package/dist/taro-components/p-a744e7aa.entry.js +0 -1
  750. package/dist/taro-components/p-b1977132.entry.js +0 -1
  751. package/dist/taro-components/p-b2ad9709.entry.js +0 -1
  752. package/dist/taro-components/p-b3780eab.system.entry.js +0 -1
  753. package/dist/taro-components/p-b69bcd43.entry.js +0 -1
  754. package/dist/taro-components/p-b9c2a210.system.entry.js +0 -1
  755. package/dist/taro-components/p-bb454378.entry.js +0 -1
  756. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  757. package/dist/taro-components/p-bd6574cf.entry.js +0 -1
  758. package/dist/taro-components/p-bfea77f9.entry.js +0 -1
  759. package/dist/taro-components/p-c0a59843.entry.js +0 -1
  760. package/dist/taro-components/p-cb21f4f1.entry.js +0 -1
  761. package/dist/taro-components/p-cd0f3444.entry.js +0 -1
  762. package/dist/taro-components/p-cdd48677.system.js +0 -2
  763. package/dist/taro-components/p-d3c7f87d.js +0 -1
  764. package/dist/taro-components/p-d42968e9.system.entry.js +0 -1
  765. package/dist/taro-components/p-d55f870d.entry.js +0 -1
  766. package/dist/taro-components/p-d81577b8.system.entry.js +0 -1
  767. package/dist/taro-components/p-daabfc6e.entry.js +0 -1
  768. package/dist/taro-components/p-dda03c84.entry.js +0 -1
  769. package/dist/taro-components/p-deff0bb8.entry.js +0 -1
  770. package/dist/taro-components/p-e6e3c1d7.entry.js +0 -1
  771. package/dist/taro-components/p-e82e16a1.entry.js +0 -1
  772. package/dist/taro-components/p-ee4da4db.system.js +0 -1
  773. package/dist/taro-components/p-f003caad.entry.js +0 -1
  774. package/dist/taro-components/p-f111303f.entry.js +0 -1
  775. package/dist/taro-components/p-f75d094e.system.entry.js +0 -1
  776. package/dist/taro-components/p-fbec1f96.entry.js +0 -1
  777. package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js.map +0 -1
  778. package/lib/vue2/component-lib/components.d.ts +0 -111
  779. package/lib/vue2/component-lib/components.js +0 -74
  780. package/lib/vue2/component-lib/components.js.map +0 -1
  781. package/lib/vue2/component-lib/createComponent.d.ts +0 -14
  782. package/lib/vue2/component-lib/createComponent.js +0 -23
  783. package/lib/vue2/component-lib/createComponent.js.map +0 -1
  784. package/lib/vue2/component-lib/createFormsComponent.d.ts +0 -22
  785. package/lib/vue2/component-lib/createFormsComponent.js +0 -53
  786. package/lib/vue2/component-lib/createFormsComponent.js.map +0 -1
  787. package/lib/vue2/component-lib/icon.d.ts +0 -16
  788. package/lib/vue2/component-lib/icon.js +0 -23
  789. package/lib/vue2/component-lib/icon.js.map +0 -1
  790. package/lib/vue2/component-lib/image.d.ts +0 -16
  791. package/lib/vue2/component-lib/image.js +0 -24
  792. package/lib/vue2/component-lib/image.js.map +0 -1
  793. package/lib/vue2/component-lib/index.d.ts +0 -1
  794. package/lib/vue2/component-lib/index.js +0 -25
  795. package/lib/vue2/component-lib/index.js.map +0 -1
  796. package/lib/vue2/component-lib/mixins/listeners.d.ts +0 -6
  797. package/lib/vue2/component-lib/mixins/listeners.js +0 -14
  798. package/lib/vue2/component-lib/mixins/listeners.js.map +0 -1
  799. package/lib/vue2/component-lib/mixins/refs.d.ts +0 -5
  800. package/lib/vue2/component-lib/mixins/refs.js +0 -53
  801. package/lib/vue2/component-lib/mixins/refs.js.map +0 -1
  802. package/lib/vue2/component-lib/picker.d.ts +0 -25
  803. package/lib/vue2/component-lib/picker.js +0 -41
  804. package/lib/vue2/component-lib/picker.js.map +0 -1
  805. package/lib/vue2/component-lib/scroll-view.d.ts +0 -17
  806. package/lib/vue2/component-lib/scroll-view.js +0 -35
  807. package/lib/vue2/component-lib/scroll-view.js.map +0 -1
  808. package/lib/vue2/component-lib/text.d.ts +0 -16
  809. package/lib/vue2/component-lib/text.js +0 -24
  810. package/lib/vue2/component-lib/text.js.map +0 -1
  811. package/lib/vue2/components-loader.d.ts +0 -2
  812. package/lib/vue2/components-loader.js +0 -21
  813. package/lib/vue2/components-loader.js.map +0 -1
  814. package/lib/vue2/components.d.ts +0 -373
  815. package/lib/vue2/components.js +0 -583
  816. package/lib/vue2/components.js.map +0 -1
  817. package/lib/vue2/index.d.ts +0 -1
  818. package/lib/vue2/index.js +0 -2
  819. package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -4
  820. package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -1
  821. package/lib/vue2/vue-component-lib/utils.d.ts +0 -10
  822. package/lib/vue2/vue-component-lib/utils.js +0 -51
  823. package/lib/vue2/vue-component-lib/utils.js.map +0 -1
  824. /package/lib/react/node_modules/.pnpm/{tslib@2.6.2 → @rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5}/node_modules/tslib/tslib.es6.js +0 -0
  825. /package/lib/{vue2 → solid}/index.js.map +0 -0
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as i,H as h,c as e}from"./p-7e90dfef.js";const o=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!(t instanceof HTMLElement)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},o=e(s[0].target,this.views),a=e(s[1].target,this.views);this.scaleTarget=o&&o===a?o:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};o.style="taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";const a=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={x:0,y:0},this.area={width:0,height:0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={x:0,y:0},this.scaleOffset={x:0,y:0},this.getLimitXY=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};a.style="taro-movable-view-core{display:inline-block;position:absolute;left:0;top:0;width:10px;height:10px}";export{o as taro_movable_area_core,a as taro_movable_view_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){s("Editor",this)}render(){return o(t,null)}};export{e as taro_editor_core}
@@ -1 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-cdd48677.system.js","@tarojs/taro","@tarojs/router/dist/utils","./p-34de4101.system.js","./p-bd5177d3.system.js"],(function(e){"use strict";var t,a,r,o,n,i,s,l,d,b,h,c;return{setters:[function(e){t=e.h;a=e.r;r=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.stripSuffix;l=e.stripBasename;d=e.addLeadingSlash;b=e.getCurrentPage},function(e){h=e.c},function(e){c=e.i}],execute:function(){var f=function(e){var t=e||"";var a;var r={path:null,query:null,fragment:null};a=t.indexOf("#");if(a>-1){r.fragment=t.substring(a+1);t=t.substring(0,a)}a=t.indexOf("?");if(a>-1){r.query=t.substring(a+1);t=t.substring(0,a)}r.path=t;return r};function u(e){return e.charAt(0)==="/"}function v(e,t){for(var a=t,r=a+1,o=e.length;r<o;a+=1,r+=1){e[a]=e[r]}e.pop()}function g(e,t){if(t===undefined)t="";var a=e&&e.split("/")||[];var r=t&&t.split("/")||[];var o=e&&u(e);var n=t&&u(t);var i=o||n;if(e&&u(e)){r=a}else if(a.length){r.pop();r=r.concat(a)}if(!r.length)return"/";var s;if(r.length){var l=r[r.length-1];s=l==="."||l===".."||l===""}else{s=false}var d=0;for(var b=r.length;b>=0;b--){var h=r[b];if(h==="."){v(r,b)}else if(h===".."){v(r,b);d++}else if(d){v(r,b);d--}}if(!i)for(;d--;d)r.unshift("..");if(i&&r[0]!==""&&(!r[0]||!u(r[0])))r.unshift("");var c=r.join("/");if(s&&c.substr(-1)!=="/")c+="/";return c}var p=function(e){var a=e.index,r=e.isSelected,o=r===void 0?false:r,n=e.textColor,s=e.iconPath,l=e.badgeText,d=e.showRedDot,b=d===void 0?false:d,f=e.pagePath,u=e.text,v=e.onSelect;var g=h("weui-tabbar__item",{"weui-bar__item_on":o});var p={position:"absolute",top:"-2px",right:"-13px"};var _={position:"absolute",top:"0",right:"-6px"};function m(){var e=i.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&c(this)){e.onTabItemTap({index:a,pagePath:f,text:u})}v(a)}return t("a",{key:a,href:"javascript:;",class:g,onClick:m},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:s,alt:"",class:"weui-tabbar__icon"}),!!l&&t("span",{class:"weui-badge taro-tabbar-badge",style:p},l),b&&t("span",{class:"weui-badge weui-badge_dot",style:_})),t("p",{class:"weui-tabbar__label",style:{color:n}},u))};var _="html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:var(--taro-tabbar-height);-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var m=0;var T=1;var B=2;var y="taro-tabbar__tabbar";var H="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var C=e("taro_tabbar",function(){function e(e){var t=this;a(this,e);this.onLongPress=r(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var a=t.customRoutes.filter((function(t){var a=t[1];var r=f(a).path;var o=f(e).path;return r===o}));return s(a.length?a[0][0]:e,".html")};this.getSelectedIndex=function(e){var a=-1;t.list.forEach((function(t,r){var o=t.pagePath;var n=f(e).path;var i=f(o).path;if(n===i){a=r}}));return a};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var a=e.url,r=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=g(a,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);r({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var a;var r=(a=e===null||e===void 0?void 0:e.toLocation)===null||a===void 0?void 0:a.path;var o;if(typeof r==="string"){var n=t.conf.basename||"/";o=l(d(r||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var a=e.index,r=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(a in i){i[a].showRedDot=false;i[a].badgeText=r;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].badgeText=null;r({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].showRedDot=true;r({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].showRedDot=false;r({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var a=e.successHandler;t.status=m;a({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var a=e.animation,r=e.successHandler;t.status=a?B:T;r({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var a=e.color,r=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(a)t.color=a;if(r)t.selectedColor=r;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var a=e.index,r=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(a in l){if(r)l[a].iconPath=r;if(o)l[a].selectedIconPath=o;if(n)l[a].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=m}e.prototype.componentWillLoad=function(){var e,t;var a=((e=this.conf)===null||e===void 0?void 0:e.list)||[];var r=((t=this.conf)===null||t===void 0?void 0:t.customRoutes)||{};if(Object.prototype.toString.call(a)!=="[object Array]"||a.length<2||a.length>5){throw new Error("tabBar 配置错误")}this.homePage=d(this.conf.homePage);var o=function(e){var t;var a=r[e];e=d(e);if(typeof a==="string"){n.customRoutes.push([e,d(a)])}else if((a===null||a===void 0?void 0:a.length)>0){(t=n.customRoutes).push.apply(t,a.map((function(t){return[e,d(t)]})))}};var n=this;for(var i in r){o(i)}a.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=a;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor};e.prototype.getCurrentUrl=function(){var e=b(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,a;var r=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var s=this.status;var l=h("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var d=this.selectedIndex===-1||s===T;var b=s===B;return t(o,{class:h(y,"".concat(y,"-").concat(i),(a={},a[H]=d,a[x]=b,a))},t("div",{class:l,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,a){var o=r.selectedIndex===a;var n;var i;if(o){n=r.selectedColor||"";i=e.selectedIconPath}else{n=r.color||"";i=e.iconPath}return t(p,{index:a,onSelect:r.switchTab.bind(r),isSelected:o,textColor:n,iconPath:i,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());C.style=_}}}));
@@ -1 +0,0 @@
1
- import{r as s,c as e,h as t,H as a}from"./p-7e90dfef.js";import i from"@tarojs/taro";import{c as r}from"./p-19f218e6.js";const o=class{constructor(t){s(this,t),this.onSuccess=e(this,"cuccess",7),this.onFail=e(this,"fail",7),this.onComplete=e(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}onClick(){const{openType:s,onSuccess:e,onFail:t,onComplete:a}=this;let r=Promise.resolve();switch(s){case"navigate":r=i.navigateTo({url:this.url});break;case"redirect":r=i.redirectTo({url:this.url});break;case"switchTab":r=i.switchTab({url:this.url});break;case"reLaunch":r=i.reLaunch({url:this.url});break;case"navigateBack":r=i.navigateBack({delta:this.delta});break;case"exit":r=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}r&&r.then((s=>{e.emit(s)})).catch((s=>{t.emit(s)})).finally((()=>{a.emit()}))}render(){const{isHover:s,hoverClass:e}=this;return t(a,{class:r({[e]:s})})}};o.style=".navigator-hover{background:#efefef}";export{o as taro_navigator_core}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tslib.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,111 +0,0 @@
1
- declare const components: (string | (string | {
2
- type: string;
3
- component: {
4
- name: string;
5
- mixins: ({
6
- computed: {
7
- listeners(): any;
8
- };
9
- } | {
10
- mounted(): void;
11
- beforeDestroy(): void;
12
- })[];
13
- props: {
14
- scrollX: BooleanConstructor;
15
- scrollY: BooleanConstructor;
16
- };
17
- render(createElement: any): any;
18
- };
19
- })[] | (string | {
20
- classNames: string[];
21
- })[] | (string | {
22
- type: string;
23
- component: {
24
- name: string;
25
- mixins: ({
26
- computed: {
27
- listeners(): any;
28
- };
29
- } | {
30
- mounted(): void;
31
- beforeDestroy(): void;
32
- })[];
33
- props: {
34
- type: StringConstructor;
35
- };
36
- render(createElement: any): any;
37
- };
38
- })[] | (string | {
39
- type: string;
40
- component: {
41
- name: string;
42
- mixins: ({
43
- computed: {
44
- listeners(): any;
45
- };
46
- } | {
47
- mounted(): void;
48
- beforeDestroy(): void;
49
- })[];
50
- props: {
51
- selectable: BooleanConstructor;
52
- };
53
- render(createElement: any): any;
54
- };
55
- })[] | (string | {
56
- type: string;
57
- event: string;
58
- })[] | (string | {
59
- type: string;
60
- component: {
61
- name: string;
62
- mixins: ({
63
- computed: {
64
- listeners(): any;
65
- };
66
- } | {
67
- mounted(): void;
68
- beforeDestroy(): void;
69
- })[];
70
- model: {
71
- event: string;
72
- };
73
- props: {
74
- range: ArrayConstructor;
75
- rangeKey: StringConstructor;
76
- value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
77
- };
78
- mounted(): void;
79
- watch: {
80
- value(newVal: any): void;
81
- };
82
- render(createElement: any): any;
83
- };
84
- })[] | (string | {
85
- type: string;
86
- event: string;
87
- modelValue: string;
88
- classNames: string[];
89
- })[] | (string | {
90
- type: string;
91
- event: string;
92
- modelValue: string;
93
- })[] | (string | {
94
- type: string;
95
- component: {
96
- name: string;
97
- mixins: ({
98
- computed: {
99
- listeners(): any;
100
- };
101
- } | {
102
- mounted(): void;
103
- beforeDestroy(): void;
104
- })[];
105
- props: {
106
- mode: StringConstructor;
107
- };
108
- render(createElement: any): any;
109
- };
110
- })[])[];
111
- export { components as default };
@@ -1,74 +0,0 @@
1
- import Icon from './icon.js';
2
- import Image from './image.js';
3
- import Picker from './picker.js';
4
- import ScrollView from './scroll-view.js';
5
- import Text from './text.js';
6
-
7
- const components = [
8
- // 视图容器
9
- 'taro-cover-image',
10
- 'taro-cover-view',
11
- 'taro-match-media',
12
- 'taro-movable-area',
13
- 'taro-movable-view',
14
- 'taro-page-container',
15
- 'taro-root-portal',
16
- ['taro-scroll-view', { type: 'component', component: ScrollView }],
17
- 'taro-share-element',
18
- 'taro-swiper',
19
- ['taro-swiper-item', { classNames: ['swiper-slide'] }],
20
- 'taro-view',
21
- // 基础内容
22
- ['taro-icon', { type: 'component', component: Icon }],
23
- ['taro-progress', { classNames: ['weui-progress'] }],
24
- 'taro-rich-text',
25
- ['taro-text', { type: 'component', component: Text }],
26
- // 表单组件
27
- 'taro-button',
28
- ['taro-checkbox', { classNames: ['weui-cells_checkbox'] }],
29
- 'taro-checkbox-group',
30
- 'taro-editor',
31
- 'taro-form',
32
- ['taro-input', { type: 'forms', event: 'input' }],
33
- 'taro-keyboard-accessory',
34
- 'taro-label',
35
- ['taro-picker', { type: 'component', component: Picker }],
36
- 'taro-picker-view',
37
- 'taro-picker-view-column',
38
- ['taro-radio', { classNames: ['weui-cells_checkbox'] }],
39
- ['taro-radio-group', { classNames: ['weui-cells_radiogroup'] }],
40
- ['taro-slider', { type: 'forms', event: 'change', modelValue: 'value', classNames: ['weui-slider-box'] }],
41
- ['taro-switch', { type: 'forms', event: 'change', modelValue: 'checked' }],
42
- ['taro-textarea', { type: 'forms', event: 'input' }],
43
- // 导航
44
- 'taro-functional-page-navigator',
45
- 'taro-navigator',
46
- // 媒体组件
47
- 'taro-audio',
48
- 'taro-camera',
49
- ['taro-image', { type: 'component', component: Image }],
50
- 'taro-live-player',
51
- ['taro-video', { classNames: ['taro-video-container'] }],
52
- 'taro-voip-room',
53
- // 地图
54
- 'taro-map',
55
- // 画布
56
- 'taro-canvas',
57
- // 开放能力
58
- 'taro-web-view',
59
- 'taro-ad',
60
- 'taro-ad-custom',
61
- 'taro-official-account',
62
- 'taro-open-data',
63
- // 导航栏
64
- 'taro-navigation-bar',
65
- // 页面属性配置节点
66
- 'taro-page-meta',
67
- // 其他
68
- 'taro-block',
69
- 'taro-custom-wrapper',
70
- 'taro-slot'
71
- ];
72
-
73
- export { components as default };
74
- //# sourceMappingURL=components.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"components.js","sources":["../../../../taro-components-library-vue2/src/component-lib/components.ts"],"sourcesContent":["import Icon from './icon'\nimport Image from './image'\nimport Picker from './picker'\nimport ScrollView from './scroll-view'\nimport Text from './text'\n\nconst components = [\n // 视图容器\n 'taro-cover-image',\n 'taro-cover-view',\n 'taro-match-media',\n 'taro-movable-area',\n 'taro-movable-view',\n 'taro-page-container',\n 'taro-root-portal',\n ['taro-scroll-view', { type: 'component', component: ScrollView }],\n 'taro-share-element',\n 'taro-swiper',\n ['taro-swiper-item', { classNames: ['swiper-slide'] }],\n 'taro-view',\n\n // 基础内容\n ['taro-icon', { type: 'component', component: Icon }],\n ['taro-progress', { classNames: ['weui-progress'] }],\n 'taro-rich-text',\n ['taro-text', { type: 'component', component: Text }],\n\n // 表单组件\n 'taro-button',\n ['taro-checkbox', { classNames: ['weui-cells_checkbox'] }],\n 'taro-checkbox-group',\n 'taro-editor',\n 'taro-form',\n ['taro-input', { type: 'forms', event: 'input' }],\n 'taro-keyboard-accessory',\n 'taro-label',\n ['taro-picker', { type: 'component', component: Picker }],\n 'taro-picker-view',\n 'taro-picker-view-column',\n ['taro-radio', { classNames: ['weui-cells_checkbox'] }],\n ['taro-radio-group', { classNames: ['weui-cells_radiogroup'] }],\n ['taro-slider', { type: 'forms', event: 'change', modelValue: 'value', classNames: ['weui-slider-box'] }],\n ['taro-switch', { type: 'forms', event: 'change', modelValue: 'checked' }],\n ['taro-textarea', { type: 'forms', event: 'input' }],\n\n // 导航\n 'taro-functional-page-navigator',\n 'taro-navigator',\n\n // 媒体组件\n 'taro-audio',\n 'taro-camera',\n ['taro-image', { type: 'component', component: Image }],\n 'taro-live-player',\n ['taro-video', { classNames: ['taro-video-container'] }],\n 'taro-voip-room',\n\n // 地图\n 'taro-map',\n\n // 画布\n 'taro-canvas',\n\n // 开放能力\n 'taro-web-view',\n 'taro-ad',\n 'taro-ad-custom',\n 'taro-official-account',\n 'taro-open-data',\n\n // 导航栏\n 'taro-navigation-bar',\n\n // 页面属性配置节点\n 'taro-page-meta',\n\n // 其他\n 'taro-block',\n 'taro-custom-wrapper',\n 'taro-slot'\n]\n\nexport default components\n"],"names":[],"mappings":";;;;;;AAMA,MAAM,UAAU,GAAG;;IAEjB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,qBAAqB;IACrB,kBAAkB;IAClB,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;IAClE,oBAAoB;IACpB,aAAa;IACb,CAAC,kBAAkB,EAAE,EAAE,UAAU,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;IACtD,WAAW;;IAGX,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IACrD,CAAC,eAAe,EAAE,EAAE,UAAU,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;IACpD,gBAAgB;IAChB,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;IAGrD,aAAa;IACb,CAAC,eAAe,EAAE,EAAE,UAAU,EAAE,CAAC,qBAAqB,CAAC,EAAE,CAAC;IAC1D,qBAAqB;IACrB,aAAa;IACb,WAAW;IACX,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;IACjD,yBAAyB;IACzB,YAAY;IACZ,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;IACzD,kBAAkB;IAClB,yBAAyB;IACzB,CAAC,YAAY,EAAE,EAAE,UAAU,EAAE,CAAC,qBAAqB,CAAC,EAAE,CAAC;IACvD,CAAC,kBAAkB,EAAE,EAAE,UAAU,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC;IAC/D,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AACzG,IAAA,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;IAC1E,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;;IAGpD,gCAAgC;IAChC,gBAAgB;;IAGhB,YAAY;IACZ,aAAa;IACb,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IACvD,kBAAkB;IAClB,CAAC,YAAY,EAAE,EAAE,UAAU,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;IACxD,gBAAgB;;IAGhB,UAAU;;IAGV,aAAa;;IAGb,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,uBAAuB;IACvB,gBAAgB;;IAGhB,qBAAqB;;IAGrB,gBAAgB;;IAGhB,YAAY;IACZ,qBAAqB;IACrB,WAAW;;;;;"}
@@ -1,14 +0,0 @@
1
- declare function createComponent(name: any, classNames?: any[]): {
2
- name: any;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- props: string[];
12
- render(createElement: any): any;
13
- };
14
- export { createComponent as default };
@@ -1,23 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- function createComponent(name, classNames = []) {
5
- return {
6
- name,
7
- mixins: [listeners, refs],
8
- props: ['nativeProps'],
9
- render(createElement) {
10
- return createElement(`${name}-core`, {
11
- class: ['hydrated', ...classNames],
12
- domProps: {
13
- nativeProps: this.nativeProps
14
- },
15
- attrs: this.$attrs,
16
- on: this.listeners
17
- }, this.$slots.default);
18
- }
19
- };
20
- }
21
-
22
- export { createComponent as default };
23
- //# sourceMappingURL=createComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-vue2/src/component-lib/createComponent.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default function createComponent (name, classNames = []) {\n return {\n name,\n mixins: [listeners, refs],\n props: ['nativeProps'],\n render (createElement) {\n return createElement(`${name}-core`, {\n class: ['hydrated', ...classNames],\n domProps: {\n nativeProps: this.nativeProps\n },\n attrs: this.$attrs,\n on: this.listeners\n }, this.$slots.default)\n }\n }\n}\n"],"names":[],"mappings":";;;AAGwB,SAAA,eAAe,CAAE,IAAI,EAAE,UAAU,GAAG,EAAE,EAAA;IAC5D,OAAO;QACL,IAAI;AACJ,QAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;QACzB,KAAK,EAAE,CAAC,aAAa,CAAC;AACtB,QAAA,MAAM,CAAE,aAAa,EAAA;AACnB,YAAA,OAAO,aAAa,CAAC,CAAG,EAAA,IAAI,OAAO,EAAE;AACnC,gBAAA,KAAK,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,CAAC;AAClC,gBAAA,QAAQ,EAAE;oBACR,WAAW,EAAE,IAAI,CAAC,WAAW;AAC9B,iBAAA;gBACD,KAAK,EAAE,IAAI,CAAC,MAAM;gBAClB,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,aAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACxB;KACF,CAAA;AACH;;;;"}
@@ -1,22 +0,0 @@
1
- declare function createFormsComponent(name: any, event: any, modelValue?: string, classNames?: any[]): {
2
- name: any;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- model: {
12
- prop: string;
13
- event: string;
14
- };
15
- props: Record<string, any>;
16
- methods: {
17
- input(e: any): void;
18
- change(e: any): void;
19
- };
20
- render(createElement: any): any;
21
- };
22
- export { createFormsComponent as default };
@@ -1,53 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- function createFormsComponent(name, event, modelValue = 'value', classNames = []) {
5
- const props = {
6
- nativeProps: {
7
- type: Object
8
- }
9
- };
10
- if (name === 'taro-input') {
11
- props.focus = Boolean;
12
- }
13
- return {
14
- name,
15
- mixins: [listeners, refs],
16
- model: {
17
- prop: modelValue,
18
- event: 'model'
19
- },
20
- props,
21
- methods: {
22
- input(e) {
23
- this.$emit('input', e);
24
- this.$emit('model', e.target.value);
25
- },
26
- change(e) {
27
- this.$emit('change', e);
28
- this.$emit('model', e.target.value);
29
- }
30
- },
31
- render(createElement) {
32
- // eslint-disable-next-line
33
- const self = this;
34
- const attrs = this.$attrs || {};
35
- if (name === 'taro-input') {
36
- attrs['auto-focus'] = self.focus;
37
- }
38
- const on = Object.assign({}, self.listeners);
39
- on[event] = self[event];
40
- return createElement(`${name}-core`, {
41
- class: ['hydrated', ...classNames],
42
- domProps: {
43
- nativeProps: this.nativeProps
44
- },
45
- attrs,
46
- on
47
- }, self.$slots.default);
48
- }
49
- };
50
- }
51
-
52
- export { createFormsComponent as default };
53
- //# sourceMappingURL=createFormsComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createFormsComponent.js","sources":["../../../../taro-components-library-vue2/src/component-lib/createFormsComponent.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default function createFormsComponent (name, event, modelValue = 'value', classNames = []) {\n const props: Record<string, any> = {\n nativeProps: {\n type: Object\n }\n }\n if (name === 'taro-input') {\n props.focus = Boolean\n }\n\n return {\n name,\n mixins: [listeners, refs],\n model: {\n prop: modelValue,\n event: 'model'\n },\n props,\n methods: {\n input (e) {\n this.$emit('input', e)\n this.$emit('model', e.target.value)\n },\n change (e) {\n this.$emit('change', e)\n this.$emit('model', e.target.value)\n }\n },\n render (createElement) {\n // eslint-disable-next-line\n const self = this;\n\n const attrs = this.$attrs || {}\n if (name === 'taro-input') {\n attrs['auto-focus'] = self.focus\n }\n\n const on = { ...self.listeners }\n on[event] = self[event]\n\n return createElement(`${name}-core`, {\n class: ['hydrated', ...classNames],\n domProps: {\n nativeProps: this.nativeProps\n },\n attrs,\n on\n }, self.$slots.default)\n }\n }\n}\n"],"names":[],"mappings":";;;AAGwB,SAAA,oBAAoB,CAAE,IAAI,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,EAAE,UAAU,GAAG,EAAE,EAAA;AAC9F,IAAA,MAAM,KAAK,GAAwB;AACjC,QAAA,WAAW,EAAE;AACX,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;KACF,CAAA;IACD,IAAI,IAAI,KAAK,YAAY,EAAE;AACzB,QAAA,KAAK,CAAC,KAAK,GAAG,OAAO,CAAA;AACtB,KAAA;IAED,OAAO;QACL,IAAI;AACJ,QAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;QACD,KAAK;AACL,QAAA,OAAO,EAAE;AACP,YAAA,KAAK,CAAE,CAAC,EAAA;AACN,gBAAA,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAA;gBACtB,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;aACpC;AACD,YAAA,MAAM,CAAE,CAAC,EAAA;AACP,gBAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;gBACvB,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;aACpC;AACF,SAAA;AACD,QAAA,MAAM,CAAE,aAAa,EAAA;;YAEnB,MAAM,IAAI,GAAG,IAAI,CAAC;AAElB,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;YAC/B,IAAI,IAAI,KAAK,YAAY,EAAE;AACzB,gBAAA,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,KAAK,CAAA;AACjC,aAAA;AAED,YAAA,MAAM,EAAE,GAAQ,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,IAAI,CAAC,SAAS,CAAE,CAAA;YAChC,EAAE,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAA;AAEvB,YAAA,OAAO,aAAa,CAAC,CAAG,EAAA,IAAI,OAAO,EAAE;AACnC,gBAAA,KAAK,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,CAAC;AAClC,gBAAA,QAAQ,EAAE;oBACR,WAAW,EAAE,IAAI,CAAC,WAAW;AAC9B,iBAAA;gBACD,KAAK;gBACL,EAAE;AACH,aAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACxB;KACF,CAAA;AACH;;;;"}
@@ -1,16 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- props: {
12
- type: StringConstructor;
13
- };
14
- render(createElement: any): any;
15
- };
16
- export { _default as default };
@@ -1,23 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- var Icon = {
5
- name: 'taro-icon',
6
- mixins: [listeners, refs],
7
- props: {
8
- type: String
9
- },
10
- render(createElement) {
11
- const iconType = this.type.replace(/_/g, '-');
12
- return createElement('taro-icon-core', {
13
- class: ['hydrated', `weui-icon-${iconType}`],
14
- attrs: {
15
- type: this.type
16
- },
17
- on: this.listeners
18
- }, this.$slots.default);
19
- }
20
- };
21
-
22
- export { Icon as default };
23
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sources":["../../../../taro-components-library-vue2/src/component-lib/icon.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-icon',\n mixins: [listeners, refs],\n props: {\n type: String\n },\n render (createElement) {\n const iconType = this.type.replace(/_/g, '-')\n return createElement('taro-icon-core', {\n class: ['hydrated', `weui-icon-${iconType}`],\n attrs: {\n type: this.type\n },\n on: this.listeners\n }, this.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,WAAe;AACb,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;AACnB,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;QAC7C,OAAO,aAAa,CAAC,gBAAgB,EAAE;AACrC,YAAA,KAAK,EAAE,CAAC,UAAU,EAAE,CAAa,UAAA,EAAA,QAAQ,EAAE,CAAC;AAC5C,YAAA,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;AAChB,aAAA;YACD,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
@@ -1,16 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- props: {
12
- mode: StringConstructor;
13
- };
14
- render(createElement: any): any;
15
- };
16
- export { _default as default };
@@ -1,24 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- var Image = {
5
- name: 'taro-image',
6
- mixins: [listeners, refs],
7
- props: {
8
- mode: String
9
- },
10
- render(createElement) {
11
- return createElement('taro-image-core', {
12
- class: ['hydrated', {
13
- 'taro-img__widthfix': this.mode === 'widthFix'
14
- }],
15
- attrs: {
16
- mode: this.mode
17
- },
18
- on: this.listeners
19
- }, this.$slots.default);
20
- }
21
- };
22
-
23
- export { Image as default };
24
- //# sourceMappingURL=image.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image.js","sources":["../../../../taro-components-library-vue2/src/component-lib/image.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-image',\n mixins: [listeners, refs],\n props: {\n mode: String\n },\n render (createElement) {\n return createElement('taro-image-core', {\n class: ['hydrated', {\n 'taro-img__widthfix': this.mode === 'widthFix'\n }],\n attrs: {\n mode: this.mode\n },\n on: this.listeners\n }, this.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,YAAe;AACb,IAAA,IAAI,EAAE,YAAY;AAClB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;QACnB,OAAO,aAAa,CAAC,iBAAiB,EAAE;YACtC,KAAK,EAAE,CAAC,UAAU,EAAE;AAClB,oBAAA,oBAAoB,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU;iBAC/C,CAAC;AACF,YAAA,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;AAChB,aAAA;YACD,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,25 +0,0 @@
1
- import Vue from 'vue';
2
- import components from './components.js';
3
- import createComponent from './createComponent.js';
4
- import createFormsComponent from './createFormsComponent.js';
5
-
6
- components.forEach(params => {
7
- if (typeof params === 'string') {
8
- Vue.component(params, createComponent(params));
9
- }
10
- else if (params instanceof Array) {
11
- const [name, props] = params;
12
- const { classNames, type = 'simple' } = props;
13
- if (type === 'simple') {
14
- Vue.component(name, createComponent(name, classNames));
15
- }
16
- else if (type === 'forms') {
17
- const { event, modelValue } = props;
18
- Vue.component(name, createFormsComponent(name, event, modelValue, classNames));
19
- }
20
- else if (type === 'component') {
21
- Vue.component(name, props.component);
22
- }
23
- }
24
- });
25
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../taro-components-library-vue2/src/component-lib/index.ts"],"sourcesContent":["import Vue from 'vue'\n\nimport components from './components'\nimport createComponent from './createComponent'\nimport createFormsComponent from './createFormsComponent'\n\ncomponents.forEach(params => {\n if (typeof params === 'string') {\n Vue.component(params, createComponent(params))\n } else if (params instanceof Array) {\n const [name, props] = params as [string, Record<string, any>]\n const { classNames, type = 'simple' } = props\n\n if (type === 'simple') {\n Vue.component(name, createComponent(name, classNames))\n } else if (type === 'forms') {\n const { event, modelValue } = props\n Vue.component(name, createFormsComponent(name, event, modelValue, classNames))\n } else if (type === 'component') {\n Vue.component(name, props.component)\n }\n }\n})\n"],"names":[],"mappings":";;;;;AAMA,UAAU,CAAC,OAAO,CAAC,MAAM,IAAG;AAC1B,IAAA,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;QAC9B,GAAG,CAAC,SAAS,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAA;AAC/C,KAAA;SAAM,IAAI,MAAM,YAAY,KAAK,EAAE;AAClC,QAAA,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,MAAuC,CAAA;QAC7D,MAAM,EAAE,UAAU,EAAE,IAAI,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAA;QAE7C,IAAI,IAAI,KAAK,QAAQ,EAAE;AACrB,YAAA,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,eAAe,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAA;AACvD,SAAA;aAAM,IAAI,IAAI,KAAK,OAAO,EAAE;AAC3B,YAAA,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAA;AACnC,YAAA,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,oBAAoB,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAA;AAC/E,SAAA;aAAM,IAAI,IAAI,KAAK,WAAW,EAAE;YAC/B,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;AACrC,SAAA;AACF,KAAA;AACH,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const listeners: {
2
- computed: {
3
- listeners(): any;
4
- };
5
- };
6
- export { listeners };
@@ -1,14 +0,0 @@
1
- const listeners = {
2
- computed: {
3
- listeners() {
4
- // eslint-disable-next-line
5
- const vm = this;
6
- return Object.assign(Object.assign({}, vm.$listeners), { click(e) {
7
- vm.$emit('tap', e);
8
- } });
9
- }
10
- }
11
- };
12
-
13
- export { listeners };
14
- //# sourceMappingURL=listeners.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listeners.js","sources":["../../../../../taro-components-library-vue2/src/component-lib/mixins/listeners.ts"],"sourcesContent":["export const listeners = {\n computed: {\n listeners () {\n // eslint-disable-next-line\n const vm = this\n return {\n ...vm.$listeners,\n click (e) {\n vm.$emit('tap', e)\n }\n }\n }\n }\n}\n"],"names":[],"mappings":"AAAa,MAAA,SAAS,GAAG;AACvB,IAAA,QAAQ,EAAE;QACR,SAAS,GAAA;;YAEP,MAAM,EAAE,GAAG,IAAI,CAAA;AACf,YAAA,OAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACK,EAAE,CAAC,UAAU,CAChB,EAAA,EAAA,KAAK,CAAE,CAAC,EAAA;AACN,oBAAA,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;AACpB,iBAAC,EACF,CAAA,CAAA;SACF;AACF,KAAA;;;;;"}
@@ -1,5 +0,0 @@
1
- declare const refs: {
2
- mounted(): void;
3
- beforeDestroy(): void;
4
- };
5
- export { refs };
@@ -1,53 +0,0 @@
1
- const refs = {
2
- mounted() {
3
- if (this.$parent &&
4
- typeof this.$parent.$refs === 'object' &&
5
- Object.keys(this.$parent.$refs).length) {
6
- const refs = this.$parent.$refs;
7
- if (this._refCacheKey) {
8
- refs[this._refCacheKey] = this.$el;
9
- }
10
- else {
11
- for (const key in refs) {
12
- const ref = refs[key];
13
- if (ref === this) {
14
- this._refCacheKey = key;
15
- refs[key] = this.$el;
16
- break;
17
- }
18
- else if (Array.isArray(ref)) {
19
- const index = ref.indexOf(this);
20
- if (index > -1) {
21
- ref[index] = this.$el;
22
- break;
23
- }
24
- }
25
- }
26
- }
27
- }
28
- },
29
- beforeDestroy() {
30
- if (this.$parent &&
31
- typeof this.$parent.$refs === 'object' &&
32
- Object.keys(this.$parent.$refs).length) {
33
- const refs = this.$parent.$refs;
34
- if (this._refCacheKey) {
35
- refs[this._refCacheKey] = this;
36
- }
37
- else {
38
- for (const key in refs) {
39
- if (Array.isArray(refs[key])) {
40
- const index = refs[key].indexOf(this.$el);
41
- if (index > -1) {
42
- refs[key][index] = this;
43
- break;
44
- }
45
- }
46
- }
47
- }
48
- }
49
- }
50
- };
51
-
52
- export { refs };
53
- //# sourceMappingURL=refs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"refs.js","sources":["../../../../../taro-components-library-vue2/src/component-lib/mixins/refs.ts"],"sourcesContent":["export const refs = {\n mounted () {\n if (\n this.$parent &&\n typeof this.$parent.$refs === 'object' &&\n Object.keys(this.$parent.$refs).length\n ) {\n const refs = this.$parent.$refs\n\n if (this._refCacheKey) {\n refs[this._refCacheKey] = this.$el\n } else {\n for (const key in refs) {\n const ref = refs[key]\n if (ref === this) {\n this._refCacheKey = key\n refs[key] = this.$el\n break\n } else if (Array.isArray(ref)) {\n const index = ref.indexOf(this)\n if (index > -1) {\n ref[index] = this.$el\n break\n }\n }\n }\n }\n }\n },\n beforeDestroy () {\n if (\n this.$parent &&\n typeof this.$parent.$refs === 'object' &&\n Object.keys(this.$parent.$refs).length\n ) {\n const refs = this.$parent.$refs\n\n if (this._refCacheKey) {\n refs[this._refCacheKey] = this\n } else {\n for (const key in refs) {\n if (Array.isArray(refs[key])) {\n const index = refs[key].indexOf(this.$el)\n if (index > -1) {\n refs[key][index] = this\n break\n }\n }\n }\n }\n }\n }\n}\n"],"names":[],"mappings":"AAAa,MAAA,IAAI,GAAG;IAClB,OAAO,GAAA;QACL,IACE,IAAI,CAAC,OAAO;AACZ,YAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,KAAK,QAAQ;YACtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EACtC;AACA,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAA;YAE/B,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;AACnC,aAAA;AAAM,iBAAA;AACL,gBAAA,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;AACtB,oBAAA,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAA;oBACrB,IAAI,GAAG,KAAK,IAAI,EAAE;AAChB,wBAAA,IAAI,CAAC,YAAY,GAAG,GAAG,CAAA;AACvB,wBAAA,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;wBACpB,MAAK;AACN,qBAAA;AAAM,yBAAA,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;wBAC7B,MAAM,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;AAC/B,wBAAA,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE;AACd,4BAAA,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;4BACrB,MAAK;AACN,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;IACD,aAAa,GAAA;QACX,IACE,IAAI,CAAC,OAAO;AACZ,YAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,KAAK,QAAQ;YACtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EACtC;AACA,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAA;YAE/B,IAAI,IAAI,CAAC,YAAY,EAAE;AACrB,gBAAA,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAA;AAC/B,aAAA;AAAM,iBAAA;AACL,gBAAA,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;oBACtB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE;AAC5B,wBAAA,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACzC,wBAAA,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE;4BACd,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI,CAAA;4BACvB,MAAK;AACN,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;;;;;"}
@@ -1,25 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- model: {
12
- event: string;
13
- };
14
- props: {
15
- range: ArrayConstructor;
16
- rangeKey: StringConstructor;
17
- value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
18
- };
19
- mounted(): void;
20
- watch: {
21
- value(newVal: any): void;
22
- };
23
- render(createElement: any): any;
24
- };
25
- export { _default as default };