@tarojs/components 3.5.0-alpha.3 → 3.5.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/cjs/{index-dd4b7ba3.js → index-4495e5cf.js} +89 -54
  2. package/dist/{esm/index-3c78bcaf.js → cjs/index-dffbd352.js} +12 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  5. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  6. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  9. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  11. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +4 -4
  12. package/dist/cjs/taro-components.cjs.js +2 -2
  13. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-cover-view-core.cjs.entry.js +3 -3
  15. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-icon-core.cjs.entry.js +3 -3
  20. package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
  21. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  26. package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  28. package/dist/cjs/taro-movable-area-core.cjs.entry.js +2 -2
  29. package/dist/cjs/taro-movable-view-core.cjs.entry.js +2 -2
  30. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-navigator-core.cjs.entry.js +3 -3
  32. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  33. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  35. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-picker-core_2.cjs.entry.js +4 -4
  37. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +2 -2
  38. package/dist/cjs/taro-picker-view-core.cjs.entry.js +3 -3
  39. package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
  40. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +3 -3
  41. package/dist/cjs/taro-radio-core_2.cjs.entry.js +3 -3
  42. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  43. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
  44. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
  46. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  47. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +4 -4
  48. package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-tabbar.cjs.entry.js +3 -3
  50. package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
  51. package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-video-control_3.cjs.entry.js +27677 -26
  53. package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
  54. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  56. package/dist/collection/collection-manifest.json +2 -2
  57. package/dist/collection/components/checkbox/style/index.css +1 -2
  58. package/dist/collection/components/video/utils.js +4 -3
  59. package/dist/collection/components/video/video-control.js +6 -6
  60. package/dist/collection/components/video/video.js +47 -7
  61. package/dist/esm/{index-5bd7cbab.js → index-789b3db7.js} +89 -54
  62. package/dist/{cjs/index-b9715722.js → esm/index-cd1a2d33.js} +6 -2
  63. package/dist/esm/loader.js +2 -2
  64. package/dist/esm/polyfills/css-shim.js +1 -1
  65. package/dist/esm/taro-ad-core.entry.js +2 -2
  66. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  67. package/dist/esm/taro-audio-core.entry.js +2 -2
  68. package/dist/esm/taro-block-core.entry.js +2 -2
  69. package/dist/esm/taro-button-core.entry.js +3 -3
  70. package/dist/esm/taro-camera-core.entry.js +2 -2
  71. package/dist/esm/taro-canvas-core.entry.js +2 -2
  72. package/dist/esm/taro-checkbox-core_2.entry.js +4 -4
  73. package/dist/esm/taro-components.js +2 -2
  74. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  75. package/dist/esm/taro-cover-view-core.entry.js +3 -3
  76. package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
  77. package/dist/esm/taro-editor-core.entry.js +2 -2
  78. package/dist/esm/taro-form-core.entry.js +2 -2
  79. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  80. package/dist/esm/taro-icon-core.entry.js +3 -3
  81. package/dist/esm/taro-image-core.entry.js +3 -3
  82. package/dist/esm/taro-input-core.entry.js +2 -2
  83. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  84. package/dist/esm/taro-label-core.entry.js +2 -2
  85. package/dist/esm/taro-live-player-core.entry.js +2 -2
  86. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  87. package/dist/esm/taro-map-core.entry.js +2 -2
  88. package/dist/esm/taro-match-media-core.entry.js +2 -2
  89. package/dist/esm/taro-movable-area-core.entry.js +2 -2
  90. package/dist/esm/taro-movable-view-core.entry.js +2 -2
  91. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  92. package/dist/esm/taro-navigator-core.entry.js +3 -3
  93. package/dist/esm/taro-official-account-core.entry.js +2 -2
  94. package/dist/esm/taro-open-data-core.entry.js +2 -2
  95. package/dist/esm/taro-page-container-core.entry.js +2 -2
  96. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  97. package/dist/esm/taro-picker-core_2.entry.js +4 -4
  98. package/dist/esm/taro-picker-view-column-core.entry.js +2 -2
  99. package/dist/esm/taro-picker-view-core.entry.js +3 -3
  100. package/dist/esm/taro-progress-core.entry.js +2 -2
  101. package/dist/esm/taro-pull-to-refresh.entry.js +3 -3
  102. package/dist/esm/taro-radio-core_2.entry.js +3 -3
  103. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  104. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  105. package/dist/esm/taro-share-element-core.entry.js +2 -2
  106. package/dist/esm/taro-slider-core.entry.js +2 -2
  107. package/dist/esm/taro-slot-core.entry.js +2 -2
  108. package/dist/esm/taro-swiper-core_2.entry.js +4 -4
  109. package/dist/esm/taro-switch-core.entry.js +2 -2
  110. package/dist/esm/taro-tabbar.entry.js +3 -3
  111. package/dist/esm/taro-text-core.entry.js +3 -3
  112. package/dist/esm/taro-textarea-core.entry.js +2 -2
  113. package/dist/esm/taro-video-control_3.entry.js +27672 -21
  114. package/dist/esm/taro-view-core.entry.js +3 -3
  115. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  116. package/dist/esm/taro-web-view-core.entry.js +2 -2
  117. package/dist/esm-es5/index-789b3db7.js +1 -0
  118. package/dist/esm-es5/index-cd1a2d33.js +7 -0
  119. package/dist/esm-es5/loader.js +1 -1
  120. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  121. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  122. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  123. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  124. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  126. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  128. package/dist/esm-es5/taro-components.js +1 -1
  129. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  131. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  132. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  133. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  134. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  135. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  136. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  137. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  138. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  139. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  140. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  141. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  142. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  143. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  144. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  145. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  146. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  147. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  148. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  149. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  150. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  151. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  152. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  153. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  154. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  155. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  156. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  157. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  158. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  159. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  160. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  162. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  164. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  166. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  167. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-video-control_3.entry.js +365 -1
  169. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  170. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  172. package/dist/taro-components/{p-d91ab597.system.entry.js → p-0141754f.system.entry.js} +1 -1
  173. package/dist/taro-components/p-02282c70.system.entry.js +1 -0
  174. package/dist/taro-components/p-0674e57b.system.js +1 -0
  175. package/dist/taro-components/p-0adcc512.entry.js +1 -0
  176. package/dist/taro-components/p-107c83e4.system.entry.js +1 -0
  177. package/dist/taro-components/p-15f00e71.entry.js +1 -0
  178. package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-1900c26d.system.entry.js} +1 -1
  179. package/dist/taro-components/{p-a05d66d1.system.entry.js → p-1a01e5a6.system.entry.js} +1 -1
  180. package/dist/taro-components/{p-0c18bd18.system.entry.js → p-1ae9ff34.system.entry.js} +1 -1
  181. package/dist/taro-components/p-1da081b6.entry.js +1 -0
  182. package/dist/taro-components/p-2927361f.entry.js +1 -0
  183. package/dist/taro-components/p-29f2cbdf.system.entry.js +1 -0
  184. package/dist/taro-components/p-2e78c090.entry.js +1 -0
  185. package/dist/taro-components/p-34477097.system.entry.js +1 -0
  186. package/dist/taro-components/p-3546a833.entry.js +1 -0
  187. package/dist/taro-components/{p-cc36cee7.entry.js → p-36727043.entry.js} +1 -1
  188. package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-3774a0b9.system.entry.js} +1 -1
  189. package/dist/taro-components/p-3eb5219a.entry.js +1 -0
  190. package/dist/taro-components/p-404fbc7c.entry.js +1 -0
  191. package/dist/taro-components/{p-0472e474.system.entry.js → p-40711024.system.entry.js} +1 -1
  192. package/dist/taro-components/{p-336f2b2a.system.entry.js → p-407aada8.system.entry.js} +1 -1
  193. package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-42b45ac3.system.entry.js} +1 -1
  194. package/dist/taro-components/{p-527a38ee.system.entry.js → p-431dd581.system.entry.js} +1 -1
  195. package/dist/taro-components/p-44aa312d.system.entry.js +1 -0
  196. package/dist/taro-components/p-4651474c.entry.js +1 -0
  197. package/dist/taro-components/p-47484bac.system.entry.js +1 -0
  198. package/dist/taro-components/p-47eb9dcc.entry.js +1 -0
  199. package/dist/taro-components/p-497a5d9a.entry.js +1 -0
  200. package/dist/taro-components/{p-fb0959c1.system.entry.js → p-4c8f288d.system.entry.js} +1 -1
  201. package/dist/taro-components/p-4d4637df.entry.js +1 -0
  202. package/dist/taro-components/{p-3643d8f7.system.entry.js → p-4e108995.system.entry.js} +1 -1
  203. package/dist/taro-components/p-4eda1f6b.entry.js +1 -0
  204. package/dist/taro-components/p-518e7b29.entry.js +1 -0
  205. package/dist/taro-components/p-52033dd2.entry.js +1 -0
  206. package/dist/taro-components/p-52e0c86e.system.entry.js +1 -0
  207. package/dist/taro-components/p-557d86fe.entry.js +1 -0
  208. package/dist/taro-components/{p-4aa4de0f.system.entry.js → p-55da9401.system.entry.js} +1 -1
  209. package/dist/taro-components/p-5d51b5b0.entry.js +1 -0
  210. package/dist/taro-components/{p-7cdad34e.system.entry.js → p-5d8ba574.system.entry.js} +1 -1
  211. package/dist/taro-components/{p-cdffee54.system.entry.js → p-5ebf2333.system.entry.js} +1 -1
  212. package/dist/taro-components/p-5f4d0d5b.system.js +7 -0
  213. package/dist/taro-components/p-61645135.system.entry.js +365 -0
  214. package/dist/taro-components/p-64e67d96.system.entry.js +1 -0
  215. package/dist/taro-components/p-720134e9.system.entry.js +1 -0
  216. package/dist/taro-components/p-7309764b.entry.js +1 -0
  217. package/dist/taro-components/p-75c07a8d.system.entry.js +1 -0
  218. package/dist/taro-components/p-76ab644c.entry.js +1 -0
  219. package/dist/taro-components/{p-703dfad8.system.entry.js → p-780c1853.system.entry.js} +1 -1
  220. package/dist/taro-components/p-783af5b6.entry.js +1 -0
  221. package/dist/taro-components/p-7868d50a.system.entry.js +1 -0
  222. package/dist/taro-components/p-7b43bfe6.entry.js +1 -0
  223. package/dist/taro-components/{p-964692f7.system.entry.js → p-7be1a0bb.system.entry.js} +1 -1
  224. package/dist/taro-components/p-7c5be4ff.entry.js +1 -0
  225. package/dist/taro-components/p-7e5d2d7a.js +7 -0
  226. package/dist/taro-components/p-7ee03392.system.entry.js +1 -0
  227. package/dist/taro-components/{p-da8edf69.system.entry.js → p-8194107c.system.entry.js} +1 -1
  228. package/dist/taro-components/{p-fdd73355.system.entry.js → p-8554900a.system.entry.js} +1 -1
  229. package/dist/taro-components/p-87282837.entry.js +1 -0
  230. package/dist/taro-components/p-8870f200.entry.js +1 -0
  231. package/dist/taro-components/p-89b902ef.entry.js +1 -0
  232. package/dist/taro-components/p-8ab7c95f.entry.js +1 -0
  233. package/dist/taro-components/p-8b9fdd2d.entry.js +1 -0
  234. package/dist/taro-components/p-8e56fb48.entry.js +1 -0
  235. package/dist/taro-components/p-8fd6b016.entry.js +1 -0
  236. package/dist/taro-components/{p-e61d2113.system.entry.js → p-954862dc.system.entry.js} +1 -1
  237. package/dist/taro-components/p-95bd702e.entry.js +1 -0
  238. package/dist/taro-components/{p-98b47fc9.system.entry.js → p-96232b22.system.entry.js} +1 -1
  239. package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-97e8bb30.system.entry.js} +1 -1
  240. package/dist/taro-components/{p-1e4f1702.system.entry.js → p-99b8a7a2.system.entry.js} +1 -1
  241. package/dist/taro-components/p-a06fb894.system.entry.js +1 -0
  242. package/dist/taro-components/p-a0c6319e.entry.js +1 -0
  243. package/dist/taro-components/p-a296ef29.entry.js +1 -0
  244. package/dist/taro-components/{p-264b7229.system.entry.js → p-a3933a47.system.entry.js} +1 -1
  245. package/dist/taro-components/p-a39fc58e.entry.js +1 -0
  246. package/dist/taro-components/p-a5b29178.system.entry.js +1 -0
  247. package/dist/taro-components/p-a64d8c69.entry.js +1 -0
  248. package/dist/taro-components/{p-58623cdd.system.entry.js → p-a66340b0.system.entry.js} +1 -1
  249. package/dist/taro-components/{p-33ee636a.system.js → p-aab7f8e8.system.js} +1 -1
  250. package/dist/taro-components/p-abe4452a.entry.js +1 -0
  251. package/dist/taro-components/p-b1cf6698.system.entry.js +1 -0
  252. package/dist/taro-components/p-b3eaf173.entry.js +365 -0
  253. package/dist/taro-components/p-b6956e54.entry.js +1 -0
  254. package/dist/taro-components/{p-34188530.system.entry.js → p-be4406bd.system.entry.js} +1 -1
  255. package/dist/taro-components/{p-1b790eb0.system.entry.js → p-bfd76333.system.entry.js} +1 -1
  256. package/dist/taro-components/{p-08ea5931.system.entry.js → p-c090756b.system.entry.js} +1 -1
  257. package/dist/taro-components/p-c28a79eb.entry.js +1 -0
  258. package/dist/taro-components/{p-df5a19b0.system.entry.js → p-c2a225ef.system.entry.js} +1 -1
  259. package/dist/taro-components/{p-4cd044c4.system.entry.js → p-c36df190.system.entry.js} +1 -1
  260. package/dist/taro-components/p-c503bd98.system.entry.js +1 -0
  261. package/dist/taro-components/p-ca1f541c.system.entry.js +1 -0
  262. package/dist/taro-components/p-cabc377f.entry.js +1 -0
  263. package/dist/taro-components/p-cf9e80c9.entry.js +1 -0
  264. package/dist/taro-components/p-d1c28dd0.entry.js +1 -0
  265. package/dist/taro-components/p-d21dd145.js +1 -0
  266. package/dist/taro-components/p-d5bfba7d.entry.js +1 -0
  267. package/dist/taro-components/{p-08aba8db.system.entry.js → p-d6e42063.system.entry.js} +1 -1
  268. package/dist/taro-components/p-df00945b.entry.js +1 -0
  269. package/dist/taro-components/p-e28a1c0e.entry.js +1 -0
  270. package/dist/taro-components/p-e43c8d69.system.entry.js +1 -0
  271. package/dist/taro-components/p-f201d652.system.entry.js +1 -0
  272. package/dist/taro-components/p-f2add48e.entry.js +1 -0
  273. package/dist/taro-components/p-f46523cb.entry.js +1 -0
  274. package/dist/taro-components/p-f4e38010.entry.js +1 -0
  275. package/dist/taro-components/p-f7fc979d.entry.js +1 -0
  276. package/dist/taro-components/p-f8eb7e74.system.entry.js +1 -0
  277. package/dist/taro-components/p-fb1de68d.entry.js +1 -0
  278. package/dist/taro-components/p-fbf0fb63.entry.js +1 -0
  279. package/dist/taro-components/taro-components.esm.js +1 -1
  280. package/dist/taro-components/taro-components.js +1 -1
  281. package/dist/types/components/video/utils.d.ts +2 -1
  282. package/dist/types/components/video/video-control.d.ts +1 -1
  283. package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +62 -0
  284. package/dist/types/props.js +1 -0
  285. package/dist/types/stencil-public-runtime.d.ts +6 -4
  286. package/package.json +14 -8
  287. package/types/Block.d.ts +5 -2
  288. package/types/Checkbox.d.ts +1 -1
  289. package/types/CheckboxGroup.d.ts +1 -1
  290. package/types/CoverImage.d.ts +1 -1
  291. package/types/CoverView.d.ts +1 -1
  292. package/types/CustomWrapper.d.ts +2 -2
  293. package/types/Editor.d.ts +10 -10
  294. package/types/Form.d.ts +6 -6
  295. package/types/Label.d.ts +2 -2
  296. package/types/OfficialAccount.d.ts +3 -3
  297. package/types/PickerViewColumn.d.ts +3 -1
  298. package/types/Progress.d.ts +1 -1
  299. package/types/Radio.d.ts +1 -1
  300. package/types/RichText.d.ts +1 -1
  301. package/types/ScrollView.d.ts +6 -6
  302. package/types/Slider.d.ts +1 -1
  303. package/types/Slot.d.ts +2 -2
  304. package/types/Swiper.d.ts +2 -2
  305. package/types/Switch.d.ts +1 -1
  306. package/types/Text.d.ts +2 -2
  307. package/types/Video.d.ts +1 -1
  308. package/types/View.d.ts +2 -2
  309. package/types/WebView.d.ts +1 -1
  310. package/types/index.d.ts +53 -52
  311. package/types/index.vue3.d.ts +71 -73
  312. package/types/props.ts +73 -0
  313. package/dist/esm-es5/index-3c78bcaf.js +0 -7
  314. package/dist/esm-es5/index-5bd7cbab.js +0 -1
  315. package/dist/taro-components/p-0303f9e0.entry.js +0 -1
  316. package/dist/taro-components/p-065ec61d.entry.js +0 -1
  317. package/dist/taro-components/p-06af26db.system.entry.js +0 -1
  318. package/dist/taro-components/p-06bffead.entry.js +0 -1
  319. package/dist/taro-components/p-07062966.entry.js +0 -1
  320. package/dist/taro-components/p-078230a0.system.entry.js +0 -1
  321. package/dist/taro-components/p-0c2982fc.system.entry.js +0 -1
  322. package/dist/taro-components/p-0ee69803.entry.js +0 -1
  323. package/dist/taro-components/p-11932905.entry.js +0 -1
  324. package/dist/taro-components/p-14dbbb42.entry.js +0 -1
  325. package/dist/taro-components/p-15bea37d.entry.js +0 -1
  326. package/dist/taro-components/p-17039974.system.entry.js +0 -1
  327. package/dist/taro-components/p-1b48afb1.entry.js +0 -1
  328. package/dist/taro-components/p-1c625d7d.entry.js +0 -1
  329. package/dist/taro-components/p-2d2f8064.entry.js +0 -1
  330. package/dist/taro-components/p-3334ac67.system.entry.js +0 -1
  331. package/dist/taro-components/p-3633bb84.entry.js +0 -1
  332. package/dist/taro-components/p-37cfdd8f.js +0 -7
  333. package/dist/taro-components/p-3c0230ba.entry.js +0 -1
  334. package/dist/taro-components/p-3dfb1807.entry.js +0 -1
  335. package/dist/taro-components/p-4039bcb5.entry.js +0 -1
  336. package/dist/taro-components/p-44b60b72.entry.js +0 -1
  337. package/dist/taro-components/p-554e1039.entry.js +0 -1
  338. package/dist/taro-components/p-55b0a30b.entry.js +0 -1
  339. package/dist/taro-components/p-59d38db0.entry.js +0 -1
  340. package/dist/taro-components/p-5c6aeb55.entry.js +0 -1
  341. package/dist/taro-components/p-5d5baadf.entry.js +0 -1
  342. package/dist/taro-components/p-5f8b5f62.entry.js +0 -1
  343. package/dist/taro-components/p-7423fc3b.system.entry.js +0 -1
  344. package/dist/taro-components/p-74540410.entry.js +0 -1
  345. package/dist/taro-components/p-758fb1ba.entry.js +0 -1
  346. package/dist/taro-components/p-7721e046.entry.js +0 -1
  347. package/dist/taro-components/p-786653af.system.entry.js +0 -1
  348. package/dist/taro-components/p-7d848382.system.entry.js +0 -1
  349. package/dist/taro-components/p-7fdd59f0.entry.js +0 -1
  350. package/dist/taro-components/p-865c21b5.entry.js +0 -1
  351. package/dist/taro-components/p-8a5e67cb.entry.js +0 -1
  352. package/dist/taro-components/p-8b2bf902.system.entry.js +0 -1
  353. package/dist/taro-components/p-8db237e0.entry.js +0 -1
  354. package/dist/taro-components/p-8e0150eb.system.entry.js +0 -1
  355. package/dist/taro-components/p-8f90fca9.system.entry.js +0 -1
  356. package/dist/taro-components/p-92a31933.system.entry.js +0 -1
  357. package/dist/taro-components/p-92e95d3f.entry.js +0 -1
  358. package/dist/taro-components/p-94502fc3.entry.js +0 -1
  359. package/dist/taro-components/p-94c20f60.system.js +0 -7
  360. package/dist/taro-components/p-99cb65a6.system.entry.js +0 -1
  361. package/dist/taro-components/p-9a618935.system.entry.js +0 -1
  362. package/dist/taro-components/p-9d0ab7c4.entry.js +0 -1
  363. package/dist/taro-components/p-a1423df9.entry.js +0 -1
  364. package/dist/taro-components/p-a1863c96.entry.js +0 -1
  365. package/dist/taro-components/p-aae3e479.entry.js +0 -1
  366. package/dist/taro-components/p-b2d01686.system.js +0 -1
  367. package/dist/taro-components/p-b6d6c744.entry.js +0 -1
  368. package/dist/taro-components/p-b75d8a65.entry.js +0 -1
  369. package/dist/taro-components/p-b87cf623.entry.js +0 -1
  370. package/dist/taro-components/p-b9280444.entry.js +0 -1
  371. package/dist/taro-components/p-bd3fa355.system.entry.js +0 -1
  372. package/dist/taro-components/p-c218c298.entry.js +0 -1
  373. package/dist/taro-components/p-c362734b.entry.js +0 -1
  374. package/dist/taro-components/p-c5a86c19.system.entry.js +0 -1
  375. package/dist/taro-components/p-cb395e7d.entry.js +0 -1
  376. package/dist/taro-components/p-cea9a198.system.entry.js +0 -1
  377. package/dist/taro-components/p-cf55a63c.entry.js +0 -1
  378. package/dist/taro-components/p-cfbfeee8.entry.js +0 -1
  379. package/dist/taro-components/p-d0c608a8.entry.js +0 -1
  380. package/dist/taro-components/p-d1c2481c.system.entry.js +0 -1
  381. package/dist/taro-components/p-e0ad978e.entry.js +0 -1
  382. package/dist/taro-components/p-e27798a4.entry.js +0 -1
  383. package/dist/taro-components/p-e2f6448d.system.entry.js +0 -1
  384. package/dist/taro-components/p-e35230e0.entry.js +0 -1
  385. package/dist/taro-components/p-e6298500.entry.js +0 -1
  386. package/dist/taro-components/p-ebf5b2eb.system.entry.js +0 -1
  387. package/dist/taro-components/p-f05e1558.js +0 -1
  388. package/dist/taro-components/p-f5fe8711.entry.js +0 -1
  389. package/dist/taro-components/p-fc4939c6.system.entry.js +0 -1
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dd4b7ba3.js');
6
- const index$1 = require('./index-b9715722.js');
5
+ const index = require('./index-4495e5cf.js');
6
+ const index$1 = require('./index-dffbd352.js');
7
7
 
8
8
  const indexCss = "body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";
9
9
 
10
- let View = class {
10
+ const View = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
13
  this.onLongPress = index.createEvent(this, "longpress", 7);
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dd4b7ba3.js');
5
+ const index = require('./index-4495e5cf.js');
6
6
 
7
- let VoipRoom = class {
7
+ const VoipRoom = class {
8
8
  constructor(hostRef) {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dd4b7ba3.js');
5
+ const index = require('./index-4495e5cf.js');
6
6
 
7
7
  const indexCss = "iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";
8
8
 
9
- let WebView = class {
9
+ const WebView = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
12
  this.onLoad = index.createEvent(this, "load", 7);
@@ -60,8 +60,8 @@
60
60
  ],
61
61
  "compiler": {
62
62
  "name": "@stencil/core",
63
- "version": "2.9.0",
64
- "typescriptVersion": "4.2.3"
63
+ "version": "2.15.1",
64
+ "typescriptVersion": "4.5.4"
65
65
  },
66
66
  "collections": [],
67
67
  "bundles": [
@@ -1,4 +1,3 @@
1
- @charset "UTF-8";
2
1
  .taro-checkbox {
3
2
  display: inline-block;
4
3
  position: relative;
@@ -34,7 +33,7 @@
34
33
  font-variant: normal;
35
34
  font-size: inherit;
36
35
  color: inherit;
37
- content: "";
36
+ content: "\ea08";
38
37
  transform: translate(-50%, -48%) scale(0.73);
39
38
  speak: none;
40
39
  }
@@ -1,8 +1,8 @@
1
1
  export const formatTime = (time) => {
2
- if (time === null)
2
+ if (!time)
3
3
  return '';
4
- const sec = Math.round(time / 1000 % 60);
5
- const min = Math.floor((time - sec) / 1000 / 60);
4
+ const sec = Math.round(time % 60);
5
+ const min = Math.round((time - sec) / 60);
6
6
  return `${min < 10 ? `0${min}` : min}:${sec < 10 ? `0${sec}` : sec}`;
7
7
  };
8
8
  export const calcDist = (x, y) => {
@@ -93,3 +93,4 @@ export const screenFn = (function () {
93
93
  // and the fn variable is set to this returned value.
94
94
  return ret;
95
95
  })();
96
+ export const isHls = url => /\.(m3u8)($|\?)/i.test(url);
@@ -15,15 +15,15 @@ export class VideoControl {
15
15
  this.visible = false;
16
16
  this.isDraggingProgressBall = false;
17
17
  this.percentage = 0;
18
- this.progressDimentions = {
18
+ this.progressDimensions = {
19
19
  left: 0,
20
20
  width: 0
21
21
  };
22
22
  this.calcPercentage = (pageX) => {
23
- let pos = pageX - this.progressDimentions.left;
23
+ let pos = pageX - this.progressDimensions.left;
24
24
  pos = Math.max(pos, 0);
25
- pos = Math.min(pos, this.progressDimentions.width);
26
- return pos / this.progressDimentions.width;
25
+ pos = Math.min(pos, this.progressDimensions.width);
26
+ return pos / this.progressDimensions.width;
27
27
  };
28
28
  this.onDragProgressBallStart = () => {
29
29
  this.isDraggingProgressBall = true;
@@ -108,8 +108,8 @@ export class VideoControl {
108
108
  if (!ref)
109
109
  return;
110
110
  const rect = ref.getBoundingClientRect();
111
- this.progressDimentions.left = rect.left;
112
- this.progressDimentions.width = rect.width;
111
+ this.progressDimensions.left = rect.left;
112
+ this.progressDimensions.width = rect.width;
113
113
  } },
114
114
  h("div", { class: 'taro-video-progress-buffered', style: { width: '100%' } }),
115
115
  h("div", { class: 'taro-video-ball', ref: dom => (this.progressBallRef = dom), onTouchStart: this.onDragProgressBallStart, style: {
@@ -10,8 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11
11
  import { Component, h, Prop, State, Event, Host, Watch, Listen, Element, Method } from '@stencil/core';
12
12
  import classNames from 'classnames';
13
+ import Hls from 'hls.js';
13
14
  import { throttle } from '../../utils';
14
- import { formatTime, calcDist, normalizeNumber, screenFn } from './utils';
15
+ import { formatTime, calcDist, normalizeNumber, screenFn, isHls } from './utils';
15
16
  export class Video {
16
17
  constructor() {
17
18
  this.currentTime = 0;
@@ -92,7 +93,7 @@ export class Video {
92
93
  this.isFullScreen = false;
93
94
  this.fullScreenTimestamp = new Date().getTime();
94
95
  this.isMute = false;
95
- this.analyseGesture = (e) => {
96
+ this.analyzeGesture = (e) => {
96
97
  var _a;
97
98
  const obj = {
98
99
  type: 'none'
@@ -134,6 +135,37 @@ export class Video {
134
135
  obj.dataY = normalizeNumber(distY / 200);
135
136
  return obj;
136
137
  };
138
+ this.loadNativePlayer = () => {
139
+ if (this.videoRef) {
140
+ this.videoRef.src = this.src;
141
+ this.videoRef.load();
142
+ }
143
+ };
144
+ this.init = () => {
145
+ const { src, videoRef } = this;
146
+ if (isHls(src)) {
147
+ if (Hls.isSupported()) {
148
+ if (this.hls) {
149
+ this.hls.destroy();
150
+ }
151
+ this.hls = new Hls();
152
+ this.hls.loadSource(src);
153
+ this.hls.attachMedia(videoRef);
154
+ this.hls.on(Hls.Events.MANIFEST_PARSED, () => {
155
+ this.autoplay && this.play();
156
+ });
157
+ }
158
+ else if (videoRef.canPlayType('application/vnd.apple.mpegurl')) {
159
+ this.loadNativePlayer();
160
+ }
161
+ else {
162
+ console.error('该浏览器不支持 HLS 播放');
163
+ }
164
+ }
165
+ else {
166
+ this.loadNativePlayer();
167
+ }
168
+ };
137
169
  this.handlePlay = () => {
138
170
  this.isPlaying = true;
139
171
  this.isFirst = false;
@@ -259,6 +291,7 @@ export class Video {
259
291
  this._enableDanmu = this.enableDanmu;
260
292
  }
261
293
  componentDidLoad() {
294
+ this.init();
262
295
  if (this.initialTime) {
263
296
  this.videoRef.currentTime = this.initialTime;
264
297
  }
@@ -278,13 +311,16 @@ export class Video {
278
311
  watchEnableDanmu(newVal) {
279
312
  this._enableDanmu = newVal;
280
313
  }
314
+ watchSrc() {
315
+ this.init();
316
+ }
281
317
  onDocumentTouchMove(e) {
282
318
  return __awaiter(this, void 0, void 0, function* () {
283
319
  if (this.lastTouchScreenX === undefined || this.lastTouchScreenY === undefined)
284
320
  return;
285
321
  if (yield this.controlsRef.getIsDraggingProgressBall())
286
322
  return;
287
- const gestureObj = this.analyseGesture(e);
323
+ const gestureObj = this.analyzeGesture(e);
288
324
  if (gestureObj.type === 'adjustVolume') {
289
325
  this.toastVolumeRef.style.visibility = 'visible';
290
326
  const nextVolume = Math.max(Math.min(this.lastVolume - gestureObj.dataY, 1), 0);
@@ -357,8 +393,9 @@ export class Video {
357
393
  });
358
394
  }
359
395
  render() {
360
- const { src, controls, autoplay, loop, muted, poster, objectFit, isFirst, isMute, isFullScreen, duration, _duration, showCenterPlayBtn, isPlaying, _enableDanmu, showMuteBtn, danmuBtn, showFullscreenBtn, nativeProps } = this;
361
- const durationTime = formatTime(duration || _duration || null);
396
+ const { controls, autoplay, loop, muted, poster, objectFit, isFirst, isMute, isFullScreen, showCenterPlayBtn, isPlaying, _enableDanmu, showMuteBtn, danmuBtn, showFullscreenBtn, nativeProps } = this;
397
+ const duration = this.duration || this._duration;
398
+ const durationTime = formatTime(duration);
362
399
  return (h(Host, { class: classNames('taro-video-container', {
363
400
  'taro-video-type-fullscreen': isFullScreen
364
401
  }), onTouchStart: this.onTouchStartContainer, onClick: this.onClickContainer },
@@ -368,7 +405,7 @@ export class Video {
368
405
  if (dom) {
369
406
  this.videoRef = dom;
370
407
  }
371
- }, src: src, autoplay: autoplay, loop: loop, muted: muted, poster: controls ? poster : undefined, playsinline: true, "webkit-playsinline": true, onPlay: this.handlePlay, onPause: this.handlePause, onEnded: this.handleEnded, onTimeUpdate: this.handleTimeUpdate, onError: this.handleError, onDurationChange: this.handleDurationChange, onProgress: this.handleProgress, onLoadedMetaData: this.handleLoadedMetaData }, nativeProps), "\u6682\u65F6\u4E0D\u652F\u6301\u64AD\u653E\u8BE5\u89C6\u9891"),
408
+ }, autoplay: autoplay, loop: loop, muted: muted, poster: controls ? poster : undefined, playsinline: true, "webkit-playsinline": true, onPlay: this.handlePlay, onPause: this.handlePause, onEnded: this.handleEnded, onTimeUpdate: this.handleTimeUpdate, onError: this.handleError, onDurationChange: this.handleDurationChange, onProgress: this.handleProgress, onLoadedMetaData: this.handleLoadedMetaData }, nativeProps), "\u6682\u65F6\u4E0D\u652F\u6301\u64AD\u653E\u8BE5\u89C6\u9891"),
372
409
  h("taro-video-danmu", { ref: dom => {
373
410
  if (dom) {
374
411
  this.danmuRef = dom;
@@ -381,7 +418,7 @@ export class Video {
381
418
  if (dom) {
382
419
  this.controlsRef = dom;
383
420
  }
384
- }, controls: controls, currentTime: this.currentTime, duration: this.duration || this._duration || undefined, isPlaying: this.isPlaying, pauseFunc: this._pause, playFunc: this._play, seekFunc: this._seek, showPlayBtn: this.showPlayBtn, showProgress: this.showProgress },
421
+ }, controls: controls, currentTime: this.currentTime, duration: duration, isPlaying: this.isPlaying, pauseFunc: this._pause, playFunc: this._play, seekFunc: this._seek, showPlayBtn: this.showPlayBtn, showProgress: this.showProgress },
385
422
  showMuteBtn && (h("div", { class: classNames('taro-video-mute', {
386
423
  'taro-video-type-mute': isMute
387
424
  }), onClick: this.toggleMute })),
@@ -1048,6 +1085,9 @@ export class Video {
1048
1085
  static get watchers() { return [{
1049
1086
  "propName": "enableDanmu",
1050
1087
  "methodName": "watchEnableDanmu"
1088
+ }, {
1089
+ "propName": "src",
1090
+ "methodName": "watchSrc"
1051
1091
  }]; }
1052
1092
  static get listeners() { return [{
1053
1093
  "name": "touchmove",
@@ -374,7 +374,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
374
374
  // Workaround for Safari, moving the <input> caret when re-assigning the same valued
375
375
  if (memberName === 'list') {
376
376
  isProp = false;
377
- // tslint:disable-next-line: triple-equals
378
377
  }
379
378
  else if (oldValue == null || elm[memberName] != n) {
380
379
  elm[memberName] = n;
@@ -1179,6 +1178,29 @@ const then = (promise, thenFn) => {
1179
1178
  };
1180
1179
  const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1181
1180
  ;
1181
+ /**
1182
+ * Parse a new property value for a given property type.
1183
+ *
1184
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
1185
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
1186
+ * 1. `any`, the type given to `propValue` in the function signature
1187
+ * 2. the type stored from `propType`.
1188
+ *
1189
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
1190
+ *
1191
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
1192
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
1193
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
1194
+ * ```tsx
1195
+ * <my-cmp prop-val={0}></my-cmp>
1196
+ * ```
1197
+ *
1198
+ * HTML prop values on the other hand, will always a string
1199
+ *
1200
+ * @param propValue the new value to coerce to some type
1201
+ * @param propType the type of the prop, expressed as a binary number
1202
+ * @returns the parsed/coerced value
1203
+ */
1182
1204
  const parsePropertyValue = (propValue, propType) => {
1183
1205
  // ensure this value is of the correct prop type
1184
1206
  if (propValue != null && !isComplexType(propValue)) {
@@ -1212,7 +1234,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1212
1234
  const flags = hostRef.$flags$;
1213
1235
  const instance = hostRef.$lazyInstance$ ;
1214
1236
  newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1215
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && newVal !== oldVal) {
1237
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1238
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1239
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1240
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1216
1241
  // gadzooks! the property's value has changed!!
1217
1242
  // set our new value!
1218
1243
  hostRef.$instanceValues$.set(propName, newVal);
@@ -1284,14 +1309,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1284
1309
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1285
1310
  plt.jmp(() => {
1286
1311
  const propName = attrNameToPropName.get(attrName);
1287
- // In a webcomponent lifecyle the attributeChangedCallback runs prior to connectedCallback
1312
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1288
1313
  // in the case where an attribute was set inline.
1289
1314
  // ```html
1290
1315
  // <my-component some-attribute="some-value"></my-component>
1291
1316
  // ```
1292
1317
  //
1293
- // There is an edge case where a developer sets the attribute inline on a custom element and then programatically
1294
- // changes it before it has been upgraded as shown below:
1318
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1319
+ // programmatically changes it before it has been upgraded as shown below:
1295
1320
  //
1296
1321
  // ```html
1297
1322
  // <!-- this component has _not_ been upgraded yet -->
@@ -1301,13 +1326,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1301
1326
  // el = document.querySelector("#test");
1302
1327
  // el.someAttribute = "another-value";
1303
1328
  // // upgrade component
1304
- // cutsomElements.define('my-component', MyComponent);
1329
+ // customElements.define('my-component', MyComponent);
1305
1330
  // </script>
1306
1331
  // ```
1307
1332
  // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1308
1333
  // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1309
1334
  // to the value that was set inline i.e. "some-value" from above example. When
1310
- // the connectedCallback attempts to unshadow it will use "some-value" as the intial value rather than "another-value"
1335
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1311
1336
  //
1312
1337
  // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1313
1338
  // by connectedCallback as this attributeChangedCallback will not fire.
@@ -1321,6 +1346,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1321
1346
  newValue = this[propName];
1322
1347
  delete this[propName];
1323
1348
  }
1349
+ else if (prototype.hasOwnProperty(propName) &&
1350
+ typeof this[propName] === 'number' &&
1351
+ this[propName] == newValue) {
1352
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1353
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1354
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1355
+ return;
1356
+ }
1324
1357
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1325
1358
  });
1326
1359
  };
@@ -1403,7 +1436,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1403
1436
  const ancestorComponent = hostRef.$ancestorComponent$;
1404
1437
  const schedule = () => scheduleUpdate(hostRef, true);
1405
1438
  if (ancestorComponent && ancestorComponent['s-rc']) {
1406
- // this is the intial load and this component it has an ancestor component
1439
+ // this is the initial load and this component it has an ancestor component
1407
1440
  // but the ancestor component has NOT fired its will update lifecycle yet
1408
1441
  // so let's just cool our jets and wait for the ancestor to continue first
1409
1442
  // this will get fired off when the ancestor component
@@ -1510,57 +1543,59 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1510
1543
  let isBootstrapping = true;
1511
1544
  Object.assign(plt, options);
1512
1545
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1513
- lazyBundles.map((lazyBundle) => lazyBundle[1].map((compactMeta) => {
1514
- const cmpMeta = {
1515
- $flags$: compactMeta[0],
1516
- $tagName$: compactMeta[1],
1517
- $members$: compactMeta[2],
1518
- $listeners$: compactMeta[3],
1519
- };
1520
- {
1521
- cmpMeta.$members$ = compactMeta[2];
1522
- }
1523
- {
1524
- cmpMeta.$listeners$ = compactMeta[3];
1525
- }
1526
- {
1527
- cmpMeta.$watchers$ = {};
1528
- }
1529
- const tagName = cmpMeta.$tagName$;
1530
- const HostElement = class extends HTMLElement {
1531
- // StencilLazyHost
1532
- constructor(self) {
1533
- // @ts-ignore
1534
- super(self);
1535
- self = this;
1536
- registerHost(self, cmpMeta);
1546
+ lazyBundles.map((lazyBundle) => {
1547
+ lazyBundle[1].map((compactMeta) => {
1548
+ const cmpMeta = {
1549
+ $flags$: compactMeta[0],
1550
+ $tagName$: compactMeta[1],
1551
+ $members$: compactMeta[2],
1552
+ $listeners$: compactMeta[3],
1553
+ };
1554
+ {
1555
+ cmpMeta.$members$ = compactMeta[2];
1537
1556
  }
1538
- connectedCallback() {
1539
- if (appLoadFallback) {
1540
- clearTimeout(appLoadFallback);
1541
- appLoadFallback = null;
1557
+ {
1558
+ cmpMeta.$listeners$ = compactMeta[3];
1559
+ }
1560
+ {
1561
+ cmpMeta.$watchers$ = {};
1562
+ }
1563
+ const tagName = cmpMeta.$tagName$;
1564
+ const HostElement = class extends HTMLElement {
1565
+ // StencilLazyHost
1566
+ constructor(self) {
1567
+ // @ts-ignore
1568
+ super(self);
1569
+ self = this;
1570
+ registerHost(self, cmpMeta);
1571
+ }
1572
+ connectedCallback() {
1573
+ if (appLoadFallback) {
1574
+ clearTimeout(appLoadFallback);
1575
+ appLoadFallback = null;
1576
+ }
1577
+ if (isBootstrapping) {
1578
+ // connectedCallback will be processed once all components have been registered
1579
+ deferredConnectedCallbacks.push(this);
1580
+ }
1581
+ else {
1582
+ plt.jmp(() => connectedCallback(this));
1583
+ }
1542
1584
  }
1543
- if (isBootstrapping) {
1544
- // connectedCallback will be processed once all components have been registered
1545
- deferredConnectedCallbacks.push(this);
1585
+ disconnectedCallback() {
1586
+ plt.jmp(() => disconnectedCallback(this));
1546
1587
  }
1547
- else {
1548
- plt.jmp(() => connectedCallback(this));
1588
+ componentOnReady() {
1589
+ return getHostRef(this).$onReadyPromise$;
1549
1590
  }
1591
+ };
1592
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1593
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1594
+ cmpTags.push(tagName);
1595
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1550
1596
  }
1551
- disconnectedCallback() {
1552
- plt.jmp(() => disconnectedCallback(this));
1553
- }
1554
- componentOnReady() {
1555
- return getHostRef(this).$onReadyPromise$;
1556
- }
1557
- };
1558
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
1559
- if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1560
- cmpTags.push(tagName);
1561
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1562
- }
1563
- }));
1597
+ });
1598
+ });
1564
1599
  {
1565
1600
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1566
1601
  visibilityStyle.setAttribute('data-styles', '');
@@ -1,4 +1,8 @@
1
- 'use strict';
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ function getDefaultExportFromCjs (x) {
4
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
+ }
2
6
 
3
7
  function createCommonjsModule(fn, basedir, module) {
4
8
  return module = {
@@ -69,4 +73,4 @@ var classnames = createCommonjsModule(function (module) {
69
73
  }());
70
74
  });
71
75
 
72
- exports.classnames = classnames;
76
+ export { createCommonjsModule as a, commonjsGlobal as b, classnames as c, getDefaultExportFromCjs as g };
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-5bd7cbab.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-789b3db7.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.9.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.15.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\."+t,"."+r)}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t=s.scopeId+"-"+this.count,o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
1
+ var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-5bd7cbab.js';
1
+ import { r as registerInstance, h, H as Host } from './index-789b3db7.js';
2
2
 
3
- let Ad = class {
3
+ const Ad = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-5bd7cbab.js';
1
+ import { r as registerInstance, h, H as Host } from './index-789b3db7.js';
2
2
 
3
- let AdCustom = class {
3
+ const AdCustom = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-5bd7cbab.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-789b3db7.js';
2
2
 
3
3
  const indexCss = "audio{max-width:100%;outline:none}";
4
4
 
5
- let Audio = class {
5
+ const Audio = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.onError = createEvent(this, "error", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-5bd7cbab.js';
1
+ import { r as registerInstance, h, H as Host } from './index-789b3db7.js';
2
2
 
3
- let Block = class {
3
+ const Block = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5bd7cbab.js';
2
- import { c as classnames } from './index-3c78bcaf.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-789b3db7.js';
2
+ import { c as classnames } from './index-cd1a2d33.js';
3
3
 
4
4
  const indexCss = "taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:\" \";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}";
5
5
 
6
- let Button = class {
6
+ const Button = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
9
  this.onSubmit = createEvent(this, "tarobuttonsubmit", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-5bd7cbab.js';
1
+ import { r as registerInstance, h, H as Host } from './index-789b3db7.js';
2
2
 
3
- let Camera = class {
3
+ const Camera = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5bd7cbab.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-789b3db7.js';
2
2
 
3
3
  const indexCss = "taro-canvas-core{display:block;position:relative;width:300px;height:150px}";
4
4
 
5
5
  const LONG_TAP_DELAY = 500;
6
- let Canvas = class {
6
+ const Canvas = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
9
  this.onLongTap = createEvent(this, "longtap", 7);