@tarojs/components 3.6.0-canary.9 → 3.6.1-alpha.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 (1358) hide show
  1. package/LICENSE +119 -1
  2. package/dist/cjs/index-dfd8638f.js +40 -0
  3. package/dist/cjs/index-dfd8638f.js.map +1 -0
  4. package/dist/cjs/index-e1b469cd.js +2066 -0
  5. package/dist/cjs/index-e1b469cd.js.map +1 -0
  6. package/dist/cjs/loader.cjs.js +4 -3
  7. package/dist/cjs/loader.cjs.js.map +1 -1
  8. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-button-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-components.cjs.js +7 -3
  23. package/dist/cjs/taro-components.cjs.js.map +1 -1
  24. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-icon-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-input-core.cjs.entry.js.map +1 -1
  37. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-navigator-core.cjs.entry.js.map +1 -1
  52. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  55. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  56. package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
  58. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  63. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  64. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  65. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +48 -52
  66. package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +1 -1
  67. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +49 -8
  71. package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
  72. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-tabbar.cjs.entry.js +18 -20
  75. package/dist/cjs/taro-tabbar.cjs.entry.js.map +1 -1
  76. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  77. package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-video-control_3.cjs.entry.js +6 -2
  80. package/dist/cjs/taro-video-control_3.cjs.entry.js.map +1 -1
  81. package/dist/cjs/taro-view-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  83. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  84. package/dist/collection/collection-manifest.json +2 -2
  85. package/dist/collection/components/input/input.js +6 -2
  86. package/dist/collection/components/input/input.js.map +1 -1
  87. package/dist/collection/components/navigator/navigator.js +0 -16
  88. package/dist/collection/components/navigator/navigator.js.map +1 -1
  89. package/dist/collection/components/scroll-view/scroll-view.js +93 -51
  90. package/dist/collection/components/scroll-view/scroll-view.js.map +1 -1
  91. package/dist/collection/components/swiper/swiper-item.js +37 -1
  92. package/dist/collection/components/swiper/swiper-item.js.map +1 -1
  93. package/dist/collection/components/swiper/swiper.js +12 -5
  94. package/dist/collection/components/swiper/swiper.js.map +1 -1
  95. package/dist/collection/components/tabbar/tabbar-item.js +7 -1
  96. package/dist/collection/components/tabbar/tabbar-item.js.map +1 -1
  97. package/dist/collection/components/tabbar/tabbar.js +4 -17
  98. package/dist/collection/components/tabbar/tabbar.js.map +1 -1
  99. package/dist/collection/components/video/video.js +23 -0
  100. package/dist/collection/components/video/video.js.map +1 -1
  101. package/dist/collection/utils/index.js +3 -0
  102. package/dist/collection/utils/index.js.map +1 -1
  103. package/dist/components/helper.js +15 -0
  104. package/dist/components/helper.js.map +1 -0
  105. package/dist/components/hls.js +27622 -0
  106. package/dist/components/hls.js.map +1 -0
  107. package/dist/components/index.d.ts +106 -0
  108. package/dist/components/index.js +79 -0
  109. package/dist/components/index.js.map +1 -0
  110. package/dist/components/index2.js +78 -0
  111. package/dist/components/index2.js.map +1 -0
  112. package/dist/components/index3.js +36 -0
  113. package/dist/components/index3.js.map +1 -0
  114. package/dist/components/intersection-observer.js +728 -0
  115. package/dist/components/intersection-observer.js.map +1 -0
  116. package/dist/components/picker-group.js +220 -0
  117. package/dist/components/picker-group.js.map +1 -0
  118. package/dist/components/taro-ad-core.d.ts +11 -0
  119. package/dist/components/taro-ad-core.js +35 -0
  120. package/dist/components/taro-ad-core.js.map +1 -0
  121. package/dist/components/taro-ad-custom-core.d.ts +11 -0
  122. package/dist/components/taro-ad-custom-core.js +35 -0
  123. package/dist/components/taro-ad-custom-core.js.map +1 -0
  124. package/dist/components/taro-animation-video-core.d.ts +11 -0
  125. package/dist/components/taro-animation-video-core.js +35 -0
  126. package/dist/components/taro-animation-video-core.js.map +1 -0
  127. package/dist/components/taro-animation-view-core.d.ts +11 -0
  128. package/dist/components/taro-animation-view-core.js +35 -0
  129. package/dist/components/taro-animation-view-core.js.map +1 -0
  130. package/dist/components/taro-ar-camera-core.d.ts +11 -0
  131. package/dist/components/taro-ar-camera-core.js +35 -0
  132. package/dist/components/taro-ar-camera-core.js.map +1 -0
  133. package/dist/components/taro-audio-core.d.ts +11 -0
  134. package/dist/components/taro-audio-core.js +80 -0
  135. package/dist/components/taro-audio-core.js.map +1 -0
  136. package/dist/components/taro-aweme-data-core.d.ts +11 -0
  137. package/dist/components/taro-aweme-data-core.js +35 -0
  138. package/dist/components/taro-aweme-data-core.js.map +1 -0
  139. package/dist/components/taro-block-core.d.ts +11 -0
  140. package/dist/components/taro-block-core.js +31 -0
  141. package/dist/components/taro-block-core.js.map +1 -0
  142. package/dist/components/taro-button-core.d.ts +11 -0
  143. package/dist/components/taro-button-core.js +102 -0
  144. package/dist/components/taro-button-core.js.map +1 -0
  145. package/dist/components/taro-camera-core.d.ts +11 -0
  146. package/dist/components/taro-camera-core.js +35 -0
  147. package/dist/components/taro-camera-core.js.map +1 -0
  148. package/dist/components/taro-canvas-core.d.ts +11 -0
  149. package/dist/components/taro-canvas-core.js +57 -0
  150. package/dist/components/taro-canvas-core.js.map +1 -0
  151. package/dist/components/taro-checkbox-core.d.ts +11 -0
  152. package/dist/components/taro-checkbox-core.js +81 -0
  153. package/dist/components/taro-checkbox-core.js.map +1 -0
  154. package/dist/components/taro-checkbox-group-core.d.ts +11 -0
  155. package/dist/components/taro-checkbox-group-core.js +71 -0
  156. package/dist/components/taro-checkbox-group-core.js.map +1 -0
  157. package/dist/components/taro-comment-detail-core.d.ts +11 -0
  158. package/dist/components/taro-comment-detail-core.js +35 -0
  159. package/dist/components/taro-comment-detail-core.js.map +1 -0
  160. package/dist/components/taro-comment-list-core.d.ts +11 -0
  161. package/dist/components/taro-comment-list-core.js +35 -0
  162. package/dist/components/taro-comment-list-core.js.map +1 -0
  163. package/dist/components/taro-contact-button-core.d.ts +11 -0
  164. package/dist/components/taro-contact-button-core.js +35 -0
  165. package/dist/components/taro-contact-button-core.js.map +1 -0
  166. package/dist/components/taro-cover-image-core.d.ts +11 -0
  167. package/dist/components/taro-cover-image-core.js +52 -0
  168. package/dist/components/taro-cover-image-core.js.map +1 -0
  169. package/dist/components/taro-cover-view-core.d.ts +11 -0
  170. package/dist/components/taro-cover-view-core.js +89 -0
  171. package/dist/components/taro-cover-view-core.js.map +1 -0
  172. package/dist/components/taro-custom-wrapper-core.d.ts +11 -0
  173. package/dist/components/taro-custom-wrapper-core.js +31 -0
  174. package/dist/components/taro-custom-wrapper-core.js.map +1 -0
  175. package/dist/components/taro-editor-core.d.ts +11 -0
  176. package/dist/components/taro-editor-core.js +35 -0
  177. package/dist/components/taro-editor-core.js.map +1 -0
  178. package/dist/components/taro-follow-swan-core.d.ts +11 -0
  179. package/dist/components/taro-follow-swan-core.js +35 -0
  180. package/dist/components/taro-follow-swan-core.js.map +1 -0
  181. package/dist/components/taro-form-core.d.ts +11 -0
  182. package/dist/components/taro-form-core.js +140 -0
  183. package/dist/components/taro-form-core.js.map +1 -0
  184. package/dist/components/taro-functional-page-navigator-core.d.ts +11 -0
  185. package/dist/components/taro-functional-page-navigator-core.js +35 -0
  186. package/dist/components/taro-functional-page-navigator-core.js.map +1 -0
  187. package/dist/components/taro-icon-core.d.ts +11 -0
  188. package/dist/components/taro-icon-core.js +48 -0
  189. package/dist/components/taro-icon-core.js.map +1 -0
  190. package/dist/components/taro-image-core.d.ts +11 -0
  191. package/dist/components/taro-image-core.js +81 -0
  192. package/dist/components/taro-image-core.js.map +1 -0
  193. package/dist/components/taro-inline-payment-panel-core.d.ts +11 -0
  194. package/dist/components/taro-inline-payment-panel-core.js +35 -0
  195. package/dist/components/taro-inline-payment-panel-core.js.map +1 -0
  196. package/dist/components/taro-input-core.d.ts +11 -0
  197. package/dist/components/taro-input-core.js +246 -0
  198. package/dist/components/taro-input-core.js.map +1 -0
  199. package/dist/components/taro-keyboard-accessory-core.d.ts +11 -0
  200. package/dist/components/taro-keyboard-accessory-core.js +35 -0
  201. package/dist/components/taro-keyboard-accessory-core.js.map +1 -0
  202. package/dist/components/taro-label-core.d.ts +11 -0
  203. package/dist/components/taro-label-core.js +34 -0
  204. package/dist/components/taro-label-core.js.map +1 -0
  205. package/dist/components/taro-lifestyle-core.d.ts +11 -0
  206. package/dist/components/taro-lifestyle-core.js +35 -0
  207. package/dist/components/taro-lifestyle-core.js.map +1 -0
  208. package/dist/components/taro-like-core.d.ts +11 -0
  209. package/dist/components/taro-like-core.js +35 -0
  210. package/dist/components/taro-like-core.js.map +1 -0
  211. package/dist/components/taro-live-player-core.d.ts +11 -0
  212. package/dist/components/taro-live-player-core.js +35 -0
  213. package/dist/components/taro-live-player-core.js.map +1 -0
  214. package/dist/components/taro-live-pusher-core.d.ts +11 -0
  215. package/dist/components/taro-live-pusher-core.js +35 -0
  216. package/dist/components/taro-live-pusher-core.js.map +1 -0
  217. package/dist/components/taro-login-core.d.ts +11 -0
  218. package/dist/components/taro-login-core.js +35 -0
  219. package/dist/components/taro-login-core.js.map +1 -0
  220. package/dist/components/taro-lottie-core.d.ts +11 -0
  221. package/dist/components/taro-lottie-core.js +35 -0
  222. package/dist/components/taro-lottie-core.js.map +1 -0
  223. package/dist/components/taro-map-core.d.ts +11 -0
  224. package/dist/components/taro-map-core.js +35 -0
  225. package/dist/components/taro-map-core.js.map +1 -0
  226. package/dist/components/taro-match-media-core.d.ts +11 -0
  227. package/dist/components/taro-match-media-core.js +35 -0
  228. package/dist/components/taro-match-media-core.js.map +1 -0
  229. package/dist/components/taro-movable-area-core.d.ts +11 -0
  230. package/dist/components/taro-movable-area-core.js +175 -0
  231. package/dist/components/taro-movable-area-core.js.map +1 -0
  232. package/dist/components/taro-movable-view-core.d.ts +11 -0
  233. package/dist/components/taro-movable-view-core.js +361 -0
  234. package/dist/components/taro-movable-view-core.js.map +1 -0
  235. package/dist/components/taro-native-slot-core.d.ts +11 -0
  236. package/dist/components/taro-native-slot-core.js +35 -0
  237. package/dist/components/taro-native-slot-core.js.map +1 -0
  238. package/dist/components/taro-navigation-bar-core.d.ts +11 -0
  239. package/dist/components/taro-navigation-bar-core.js +35 -0
  240. package/dist/components/taro-navigation-bar-core.js.map +1 -0
  241. package/dist/components/taro-navigator-core.d.ts +11 -0
  242. package/dist/components/taro-navigator-core.js +96 -0
  243. package/dist/components/taro-navigator-core.js.map +1 -0
  244. package/dist/components/taro-official-account-core.d.ts +11 -0
  245. package/dist/components/taro-official-account-core.js +35 -0
  246. package/dist/components/taro-official-account-core.js.map +1 -0
  247. package/dist/components/taro-open-data-core.d.ts +11 -0
  248. package/dist/components/taro-open-data-core.js +35 -0
  249. package/dist/components/taro-open-data-core.js.map +1 -0
  250. package/dist/components/taro-page-container-core.d.ts +11 -0
  251. package/dist/components/taro-page-container-core.js +35 -0
  252. package/dist/components/taro-page-container-core.js.map +1 -0
  253. package/dist/components/taro-page-meta-core.d.ts +11 -0
  254. package/dist/components/taro-page-meta-core.js +35 -0
  255. package/dist/components/taro-page-meta-core.js.map +1 -0
  256. package/dist/components/taro-picker-core.d.ts +11 -0
  257. package/dist/components/taro-picker-core.js +538 -0
  258. package/dist/components/taro-picker-core.js.map +1 -0
  259. package/dist/components/taro-picker-group.d.ts +11 -0
  260. package/dist/components/taro-picker-group.js +8 -0
  261. package/dist/components/taro-picker-group.js.map +1 -0
  262. package/dist/components/taro-picker-view-column-core.d.ts +11 -0
  263. package/dist/components/taro-picker-view-column-core.js +115 -0
  264. package/dist/components/taro-picker-view-column-core.js.map +1 -0
  265. package/dist/components/taro-picker-view-core.d.ts +11 -0
  266. package/dist/components/taro-picker-view-core.js +114 -0
  267. package/dist/components/taro-picker-view-core.js.map +1 -0
  268. package/dist/components/taro-progress-core.d.ts +11 -0
  269. package/dist/components/taro-progress-core.js +62 -0
  270. package/dist/components/taro-progress-core.js.map +1 -0
  271. package/dist/components/taro-pull-to-refresh.d.ts +11 -0
  272. package/dist/components/taro-pull-to-refresh.js +284 -0
  273. package/dist/components/taro-pull-to-refresh.js.map +1 -0
  274. package/dist/components/taro-radio-core.d.ts +11 -0
  275. package/dist/components/taro-radio-core.js +83 -0
  276. package/dist/components/taro-radio-core.js.map +1 -0
  277. package/dist/components/taro-radio-group-core.d.ts +11 -0
  278. package/dist/components/taro-radio-group-core.js +82 -0
  279. package/dist/components/taro-radio-group-core.js.map +1 -0
  280. package/dist/components/taro-rich-text-core.d.ts +11 -0
  281. package/dist/components/taro-rich-text-core.js +86 -0
  282. package/dist/components/taro-rich-text-core.js.map +1 -0
  283. package/dist/components/taro-root-portal-core.d.ts +11 -0
  284. package/dist/components/taro-root-portal-core.js +35 -0
  285. package/dist/components/taro-root-portal-core.js.map +1 -0
  286. package/dist/components/taro-rtc-room-core.d.ts +11 -0
  287. package/dist/components/taro-rtc-room-core.js +35 -0
  288. package/dist/components/taro-rtc-room-core.js.map +1 -0
  289. package/dist/components/taro-rtc-room-item-core.d.ts +11 -0
  290. package/dist/components/taro-rtc-room-item-core.js +35 -0
  291. package/dist/components/taro-rtc-room-item-core.js.map +1 -0
  292. package/dist/components/taro-scroll-view-core.d.ts +11 -0
  293. package/dist/components/taro-scroll-view-core.js +182 -0
  294. package/dist/components/taro-scroll-view-core.js.map +1 -0
  295. package/dist/components/taro-share-element-core.d.ts +11 -0
  296. package/dist/components/taro-share-element-core.js +35 -0
  297. package/dist/components/taro-share-element-core.js.map +1 -0
  298. package/dist/components/taro-slider-core.d.ts +11 -0
  299. package/dist/components/taro-slider-core.js +196 -0
  300. package/dist/components/taro-slider-core.js.map +1 -0
  301. package/dist/components/taro-slot-core.d.ts +11 -0
  302. package/dist/components/taro-slot-core.js +35 -0
  303. package/dist/components/taro-slot-core.js.map +1 -0
  304. package/dist/components/taro-swiper-core.d.ts +11 -0
  305. package/dist/components/taro-swiper-core.js +10172 -0
  306. package/dist/components/taro-swiper-core.js.map +1 -0
  307. package/dist/components/taro-swiper-item-core.d.ts +11 -0
  308. package/dist/components/taro-swiper-item-core.js +70 -0
  309. package/dist/components/taro-swiper-item-core.js.map +1 -0
  310. package/dist/components/taro-switch-core.d.ts +11 -0
  311. package/dist/components/taro-switch-core.js +87 -0
  312. package/dist/components/taro-switch-core.js.map +1 -0
  313. package/dist/components/taro-tab-item-core.d.ts +11 -0
  314. package/dist/components/taro-tab-item-core.js +35 -0
  315. package/dist/components/taro-tab-item-core.js.map +1 -0
  316. package/dist/components/taro-tabbar.d.ts +11 -0
  317. package/dist/components/taro-tabbar.js +455 -0
  318. package/dist/components/taro-tabbar.js.map +1 -0
  319. package/dist/components/taro-tabs-core.d.ts +11 -0
  320. package/dist/components/taro-tabs-core.js +35 -0
  321. package/dist/components/taro-tabs-core.js.map +1 -0
  322. package/dist/components/taro-text-core.d.ts +11 -0
  323. package/dist/components/taro-text-core.js +41 -0
  324. package/dist/components/taro-text-core.js.map +1 -0
  325. package/dist/components/taro-textarea-core.d.ts +11 -0
  326. package/dist/components/taro-textarea-core.js +164 -0
  327. package/dist/components/taro-textarea-core.js.map +1 -0
  328. package/dist/components/taro-video-control.d.ts +11 -0
  329. package/dist/components/taro-video-control.js +8 -0
  330. package/dist/components/taro-video-control.js.map +1 -0
  331. package/dist/components/taro-video-core.d.ts +11 -0
  332. package/dist/components/taro-video-core.js +490 -0
  333. package/dist/components/taro-video-core.js.map +1 -0
  334. package/dist/components/taro-video-danmu.d.ts +11 -0
  335. package/dist/components/taro-video-danmu.js +8 -0
  336. package/dist/components/taro-video-danmu.js.map +1 -0
  337. package/dist/components/taro-view-core.d.ts +11 -0
  338. package/dist/components/taro-view-core.js +101 -0
  339. package/dist/components/taro-view-core.js.map +1 -0
  340. package/dist/components/taro-voip-room-core.d.ts +11 -0
  341. package/dist/components/taro-voip-room-core.js +35 -0
  342. package/dist/components/taro-voip-room-core.js.map +1 -0
  343. package/dist/components/taro-web-view-core.d.ts +11 -0
  344. package/dist/components/taro-web-view-core.js +46 -0
  345. package/dist/components/taro-web-view-core.js.map +1 -0
  346. package/dist/components/video-control.js +233 -0
  347. package/dist/components/video-control.js.map +1 -0
  348. package/dist/components/video-danmu.js +110 -0
  349. package/dist/components/video-danmu.js.map +1 -0
  350. package/dist/esm/index-c948674f.js +2037 -0
  351. package/dist/esm/index-c948674f.js.map +1 -0
  352. package/dist/esm/index-d1b03e47.js +36 -0
  353. package/dist/esm/index-d1b03e47.js.map +1 -0
  354. package/dist/esm/loader.js +4 -3
  355. package/dist/esm/loader.js.map +1 -1
  356. package/dist/esm/polyfills/css-shim.js +1 -1
  357. package/dist/esm/taro-ad-core.entry.js +1 -1
  358. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  359. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  360. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  361. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  362. package/dist/esm/taro-audio-core.entry.js +1 -1
  363. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  364. package/dist/esm/taro-block-core.entry.js +1 -1
  365. package/dist/esm/taro-button-core.entry.js +1 -1
  366. package/dist/esm/taro-camera-core.entry.js +1 -1
  367. package/dist/esm/taro-canvas-core.entry.js +1 -1
  368. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  369. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  370. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  371. package/dist/esm/taro-components.js +4 -3
  372. package/dist/esm/taro-components.js.map +1 -1
  373. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  374. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  375. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  376. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  377. package/dist/esm/taro-editor-core.entry.js +1 -1
  378. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  379. package/dist/esm/taro-form-core.entry.js +1 -1
  380. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  381. package/dist/esm/taro-icon-core.entry.js +1 -1
  382. package/dist/esm/taro-image-core.entry.js +1 -1
  383. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  384. package/dist/esm/taro-input-core.entry.js +2 -2
  385. package/dist/esm/taro-input-core.entry.js.map +1 -1
  386. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  387. package/dist/esm/taro-label-core.entry.js +1 -1
  388. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  389. package/dist/esm/taro-like-core.entry.js +1 -1
  390. package/dist/esm/taro-live-player-core.entry.js +1 -1
  391. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  392. package/dist/esm/taro-login-core.entry.js +1 -1
  393. package/dist/esm/taro-lottie-core.entry.js +1 -1
  394. package/dist/esm/taro-map-core.entry.js +1 -1
  395. package/dist/esm/taro-match-media-core.entry.js +1 -1
  396. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  397. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  398. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  399. package/dist/esm/taro-navigator-core.entry.js +1 -1
  400. package/dist/esm/taro-navigator-core.entry.js.map +1 -1
  401. package/dist/esm/taro-official-account-core.entry.js +1 -1
  402. package/dist/esm/taro-open-data-core.entry.js +1 -1
  403. package/dist/esm/taro-page-container-core.entry.js +1 -1
  404. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  405. package/dist/esm/taro-picker-core_2.entry.js +1 -1
  406. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  407. package/dist/esm/taro-progress-core.entry.js +1 -1
  408. package/dist/esm/taro-pull-to-refresh.entry.js +1 -1
  409. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  410. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  411. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  412. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  413. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  414. package/dist/esm/taro-scroll-view-core.entry.js +48 -52
  415. package/dist/esm/taro-scroll-view-core.entry.js.map +1 -1
  416. package/dist/esm/taro-share-element-core.entry.js +1 -1
  417. package/dist/esm/taro-slider-core.entry.js +1 -1
  418. package/dist/esm/taro-slot-core.entry.js +1 -1
  419. package/dist/esm/taro-swiper-core_2.entry.js +49 -8
  420. package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
  421. package/dist/esm/taro-switch-core.entry.js +1 -1
  422. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  423. package/dist/esm/taro-tabbar.entry.js +16 -18
  424. package/dist/esm/taro-tabbar.entry.js.map +1 -1
  425. package/dist/esm/taro-tabs-core.entry.js +1 -1
  426. package/dist/esm/taro-text-core.entry.js +1 -1
  427. package/dist/esm/taro-textarea-core.entry.js +1 -1
  428. package/dist/esm/taro-video-control_3.entry.js +6 -2
  429. package/dist/esm/taro-video-control_3.entry.js.map +1 -1
  430. package/dist/esm/taro-view-core.entry.js +1 -1
  431. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  432. package/dist/esm/taro-web-view-core.entry.js +1 -1
  433. package/dist/esm-es5/helper-3d0ecf0f.js.map +1 -1
  434. package/dist/esm-es5/hls-221423a1.js.map +1 -1
  435. package/dist/esm-es5/index-1d8e8acd.js.map +1 -1
  436. package/dist/esm-es5/index-c948674f.js +3 -0
  437. package/dist/esm-es5/index-c948674f.js.map +1 -0
  438. package/dist/esm-es5/index-d1b03e47.js +2 -0
  439. package/dist/esm-es5/index-d1b03e47.js.map +1 -0
  440. package/dist/esm-es5/index.js.map +1 -1
  441. package/dist/esm-es5/intersection-observer-8e4c7135.js.map +1 -1
  442. package/dist/esm-es5/loader.js +1 -1
  443. package/dist/esm-es5/loader.js.map +1 -1
  444. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  445. package/dist/esm-es5/taro-ad-core.entry.js.map +1 -1
  446. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  447. package/dist/esm-es5/taro-ad-custom-core.entry.js.map +1 -1
  448. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  449. package/dist/esm-es5/taro-animation-video-core.entry.js.map +1 -1
  450. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  451. package/dist/esm-es5/taro-animation-view-core.entry.js.map +1 -1
  452. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  453. package/dist/esm-es5/taro-ar-camera-core.entry.js.map +1 -1
  454. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  455. package/dist/esm-es5/taro-audio-core.entry.js.map +1 -1
  456. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  457. package/dist/esm-es5/taro-aweme-data-core.entry.js.map +1 -1
  458. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  459. package/dist/esm-es5/taro-block-core.entry.js.map +1 -1
  460. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  461. package/dist/esm-es5/taro-button-core.entry.js.map +1 -1
  462. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  463. package/dist/esm-es5/taro-camera-core.entry.js.map +1 -1
  464. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  465. package/dist/esm-es5/taro-canvas-core.entry.js.map +1 -1
  466. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  467. package/dist/esm-es5/taro-checkbox-core_2.entry.js.map +1 -1
  468. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  469. package/dist/esm-es5/taro-comment-detail-core.entry.js.map +1 -1
  470. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  471. package/dist/esm-es5/taro-comment-list-core.entry.js.map +1 -1
  472. package/dist/esm-es5/taro-components.js +1 -1
  473. package/dist/esm-es5/taro-components.js.map +1 -1
  474. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  475. package/dist/esm-es5/taro-contact-button-core.entry.js.map +1 -1
  476. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  477. package/dist/esm-es5/taro-cover-image-core.entry.js.map +1 -1
  478. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  479. package/dist/esm-es5/taro-cover-view-core.entry.js.map +1 -1
  480. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  481. package/dist/esm-es5/taro-custom-wrapper-core.entry.js.map +1 -1
  482. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  483. package/dist/esm-es5/taro-editor-core.entry.js.map +1 -1
  484. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  485. package/dist/esm-es5/taro-follow-swan-core.entry.js.map +1 -1
  486. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  487. package/dist/esm-es5/taro-form-core.entry.js.map +1 -1
  488. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  489. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js.map +1 -1
  490. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  491. package/dist/esm-es5/taro-icon-core.entry.js.map +1 -1
  492. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  493. package/dist/esm-es5/taro-image-core.entry.js.map +1 -1
  494. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  495. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js.map +1 -1
  496. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  497. package/dist/esm-es5/taro-input-core.entry.js.map +1 -1
  498. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  499. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js.map +1 -1
  500. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  501. package/dist/esm-es5/taro-label-core.entry.js.map +1 -1
  502. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  503. package/dist/esm-es5/taro-lifestyle-core.entry.js.map +1 -1
  504. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  505. package/dist/esm-es5/taro-like-core.entry.js.map +1 -1
  506. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  507. package/dist/esm-es5/taro-live-player-core.entry.js.map +1 -1
  508. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  509. package/dist/esm-es5/taro-live-pusher-core.entry.js.map +1 -1
  510. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  511. package/dist/esm-es5/taro-login-core.entry.js.map +1 -1
  512. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  513. package/dist/esm-es5/taro-lottie-core.entry.js.map +1 -1
  514. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  515. package/dist/esm-es5/taro-map-core.entry.js.map +1 -1
  516. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  517. package/dist/esm-es5/taro-match-media-core.entry.js.map +1 -1
  518. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  519. package/dist/esm-es5/taro-movable-area-core_2.entry.js.map +1 -1
  520. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  521. package/dist/esm-es5/taro-native-slot-core.entry.js.map +1 -1
  522. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  523. package/dist/esm-es5/taro-navigation-bar-core.entry.js.map +1 -1
  524. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  525. package/dist/esm-es5/taro-navigator-core.entry.js.map +1 -1
  526. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  527. package/dist/esm-es5/taro-official-account-core.entry.js.map +1 -1
  528. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  529. package/dist/esm-es5/taro-open-data-core.entry.js.map +1 -1
  530. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  531. package/dist/esm-es5/taro-page-container-core.entry.js.map +1 -1
  532. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  533. package/dist/esm-es5/taro-page-meta-core.entry.js.map +1 -1
  534. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  535. package/dist/esm-es5/taro-picker-core_2.entry.js.map +1 -1
  536. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  537. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js.map +1 -1
  538. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  539. package/dist/esm-es5/taro-progress-core.entry.js.map +1 -1
  540. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  541. package/dist/esm-es5/taro-pull-to-refresh.entry.js.map +1 -1
  542. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  543. package/dist/esm-es5/taro-radio-core_2.entry.js.map +1 -1
  544. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  545. package/dist/esm-es5/taro-rich-text-core.entry.js.map +1 -1
  546. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  547. package/dist/esm-es5/taro-root-portal-core.entry.js.map +1 -1
  548. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  549. package/dist/esm-es5/taro-rtc-room-core.entry.js.map +1 -1
  550. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  551. package/dist/esm-es5/taro-rtc-room-item-core.entry.js.map +1 -1
  552. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  553. package/dist/esm-es5/taro-scroll-view-core.entry.js.map +1 -1
  554. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  555. package/dist/esm-es5/taro-share-element-core.entry.js.map +1 -1
  556. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  557. package/dist/esm-es5/taro-slider-core.entry.js.map +1 -1
  558. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  559. package/dist/esm-es5/taro-slot-core.entry.js.map +1 -1
  560. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  561. package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -1
  562. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  563. package/dist/esm-es5/taro-switch-core.entry.js.map +1 -1
  564. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  565. package/dist/esm-es5/taro-tab-item-core.entry.js.map +1 -1
  566. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  567. package/dist/esm-es5/taro-tabbar.entry.js.map +1 -1
  568. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  569. package/dist/esm-es5/taro-tabs-core.entry.js.map +1 -1
  570. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  571. package/dist/esm-es5/taro-text-core.entry.js.map +1 -1
  572. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  573. package/dist/esm-es5/taro-textarea-core.entry.js.map +1 -1
  574. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  575. package/dist/esm-es5/taro-video-control_3.entry.js.map +1 -1
  576. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  577. package/dist/esm-es5/taro-view-core.entry.js.map +1 -1
  578. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  579. package/dist/esm-es5/taro-voip-room-core.entry.js.map +1 -1
  580. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  581. package/dist/esm-es5/taro-web-view-core.entry.js.map +1 -1
  582. package/dist/taro-components/index.esm.js.map +1 -1
  583. package/dist/taro-components/p-020bcd8c.entry.js +2 -0
  584. package/dist/taro-components/p-020bcd8c.entry.js.map +1 -0
  585. package/dist/taro-components/p-03d4de13.entry.js +2 -0
  586. package/dist/taro-components/p-03d4de13.entry.js.map +1 -0
  587. package/dist/taro-components/p-05f3f84a.entry.js +2 -0
  588. package/dist/taro-components/p-05f3f84a.entry.js.map +1 -0
  589. package/dist/taro-components/p-087bf23a.system.entry.js +2 -0
  590. package/dist/taro-components/p-087bf23a.system.entry.js.map +1 -0
  591. package/dist/taro-components/p-0895120a.system.entry.js +2 -0
  592. package/dist/taro-components/p-0895120a.system.entry.js.map +1 -0
  593. package/dist/taro-components/p-08bb8dfc.system.entry.js +2 -0
  594. package/dist/taro-components/p-08bb8dfc.system.entry.js.map +1 -0
  595. package/dist/taro-components/p-09db02e6.entry.js +2 -0
  596. package/dist/taro-components/p-09db02e6.entry.js.map +1 -0
  597. package/dist/taro-components/p-0a165ad3.system.entry.js +2 -0
  598. package/dist/taro-components/p-0a165ad3.system.entry.js.map +1 -0
  599. package/dist/taro-components/p-0a9b984e.system.entry.js +2 -0
  600. package/dist/taro-components/p-0a9b984e.system.entry.js.map +1 -0
  601. package/dist/taro-components/p-0accc602.entry.js +2 -0
  602. package/dist/taro-components/p-0accc602.entry.js.map +1 -0
  603. package/dist/taro-components/p-0faf45d5.entry.js +2 -0
  604. package/dist/taro-components/p-0faf45d5.entry.js.map +1 -0
  605. package/dist/taro-components/p-10046f1a.system.entry.js +2 -0
  606. package/dist/taro-components/p-10046f1a.system.entry.js.map +1 -0
  607. package/dist/taro-components/p-10be7fb5.system.entry.js +2 -0
  608. package/dist/taro-components/p-10be7fb5.system.entry.js.map +1 -0
  609. package/dist/taro-components/p-15e45ed6.system.js.map +1 -1
  610. package/dist/taro-components/p-17302fe9.system.entry.js +2 -0
  611. package/dist/taro-components/p-17302fe9.system.entry.js.map +1 -0
  612. package/dist/taro-components/p-1743a04b.system.js.map +1 -1
  613. package/dist/taro-components/p-1941d333.system.entry.js +2 -0
  614. package/dist/taro-components/p-1941d333.system.entry.js.map +1 -0
  615. package/dist/taro-components/p-19e87e18.entry.js +2 -0
  616. package/dist/taro-components/p-19e87e18.entry.js.map +1 -0
  617. package/dist/taro-components/p-1a0e1932.system.js +3 -0
  618. package/dist/taro-components/p-1a0e1932.system.js.map +1 -0
  619. package/dist/taro-components/p-1c320250.system.entry.js +2 -0
  620. package/dist/taro-components/p-1c320250.system.entry.js.map +1 -0
  621. package/dist/taro-components/p-1c446c65.system.js +2 -0
  622. package/dist/taro-components/p-1c446c65.system.js.map +1 -0
  623. package/dist/taro-components/p-2024e133.system.entry.js +2 -0
  624. package/dist/taro-components/p-2024e133.system.entry.js.map +1 -0
  625. package/dist/taro-components/p-2049bdc4.entry.js +2 -0
  626. package/dist/taro-components/p-2049bdc4.entry.js.map +1 -0
  627. package/dist/taro-components/p-2357313b.entry.js +2 -0
  628. package/dist/taro-components/p-2357313b.entry.js.map +1 -0
  629. package/dist/taro-components/p-24c2fd23.entry.js +2 -0
  630. package/dist/taro-components/p-24c2fd23.entry.js.map +1 -0
  631. package/dist/taro-components/p-26889f3c.system.entry.js +2 -0
  632. package/dist/taro-components/p-26889f3c.system.entry.js.map +1 -0
  633. package/dist/taro-components/p-281278cf.entry.js +2 -0
  634. package/dist/taro-components/p-281278cf.entry.js.map +1 -0
  635. package/dist/taro-components/p-30f32fa2.system.entry.js +2 -0
  636. package/dist/taro-components/p-30f32fa2.system.entry.js.map +1 -0
  637. package/dist/taro-components/p-30fe0e81.system.entry.js +2 -0
  638. package/dist/taro-components/p-30fe0e81.system.entry.js.map +1 -0
  639. package/dist/taro-components/p-33223303.system.entry.js +2 -0
  640. package/dist/taro-components/p-33223303.system.entry.js.map +1 -0
  641. package/dist/taro-components/p-386ae2b2.entry.js +2 -0
  642. package/dist/taro-components/p-386ae2b2.entry.js.map +1 -0
  643. package/dist/taro-components/p-3b1d2d37.system.js.map +1 -1
  644. package/dist/taro-components/p-3bce88d9.entry.js +2 -0
  645. package/dist/taro-components/p-3bce88d9.entry.js.map +1 -0
  646. package/dist/taro-components/p-3f07f3d3.entry.js +2 -0
  647. package/dist/taro-components/p-3f07f3d3.entry.js.map +1 -0
  648. package/dist/taro-components/p-4086e546.system.entry.js +2 -0
  649. package/dist/taro-components/p-4086e546.system.entry.js.map +1 -0
  650. package/dist/taro-components/p-4190e20b.system.entry.js +2 -0
  651. package/dist/taro-components/p-4190e20b.system.entry.js.map +1 -0
  652. package/dist/taro-components/p-4263c9d9.entry.js +2 -0
  653. package/dist/taro-components/p-4263c9d9.entry.js.map +1 -0
  654. package/dist/taro-components/p-46244579.system.entry.js +2 -0
  655. package/dist/taro-components/p-46244579.system.entry.js.map +1 -0
  656. package/dist/taro-components/p-4915fdc1.system.entry.js +2 -0
  657. package/dist/taro-components/p-4915fdc1.system.entry.js.map +1 -0
  658. package/dist/taro-components/p-4a462c95.entry.js +2 -0
  659. package/dist/taro-components/p-4a462c95.entry.js.map +1 -0
  660. package/dist/taro-components/p-4bc85eb7.entry.js +2 -0
  661. package/dist/taro-components/p-4bc85eb7.entry.js.map +1 -0
  662. package/dist/taro-components/p-4d0da795.system.entry.js +2 -0
  663. package/dist/taro-components/p-4d0da795.system.entry.js.map +1 -0
  664. package/dist/taro-components/p-50ea2036.system.js.map +1 -1
  665. package/dist/taro-components/p-518146fd.system.entry.js +2 -0
  666. package/dist/taro-components/p-518146fd.system.entry.js.map +1 -0
  667. package/dist/taro-components/p-51b6fc09.system.entry.js +2 -0
  668. package/dist/taro-components/p-51b6fc09.system.entry.js.map +1 -0
  669. package/dist/taro-components/p-51caa3f3.entry.js +2 -0
  670. package/dist/taro-components/p-51caa3f3.entry.js.map +1 -0
  671. package/dist/taro-components/p-56da1da3.system.entry.js +2 -0
  672. package/dist/taro-components/p-56da1da3.system.entry.js.map +1 -0
  673. package/dist/taro-components/p-58877ef2.system.entry.js +2 -0
  674. package/dist/taro-components/p-58877ef2.system.entry.js.map +1 -0
  675. package/dist/taro-components/p-59590806.system.entry.js +2 -0
  676. package/dist/taro-components/p-59590806.system.entry.js.map +1 -0
  677. package/dist/taro-components/p-5d3acf86.entry.js +2 -0
  678. package/dist/taro-components/p-5d3acf86.entry.js.map +1 -0
  679. package/dist/taro-components/p-5f3c65f0.entry.js +2 -0
  680. package/dist/taro-components/p-5f3c65f0.entry.js.map +1 -0
  681. package/dist/taro-components/p-603ceecd.entry.js +2 -0
  682. package/dist/taro-components/p-603ceecd.entry.js.map +1 -0
  683. package/dist/taro-components/p-61f225ef.system.js.map +1 -1
  684. package/dist/taro-components/p-623b3eb6.system.entry.js +2 -0
  685. package/dist/taro-components/p-623b3eb6.system.entry.js.map +1 -0
  686. package/dist/taro-components/p-651586f8.system.entry.js +2 -0
  687. package/dist/taro-components/p-651586f8.system.entry.js.map +1 -0
  688. package/dist/taro-components/p-663e27a0.entry.js +2 -0
  689. package/dist/taro-components/p-663e27a0.entry.js.map +1 -0
  690. package/dist/taro-components/p-66b07ac0.entry.js +2 -0
  691. package/dist/taro-components/p-66b07ac0.entry.js.map +1 -0
  692. package/dist/taro-components/p-67c3a0ba.entry.js +2 -0
  693. package/dist/taro-components/p-67c3a0ba.entry.js.map +1 -0
  694. package/dist/taro-components/p-69f6784d.system.entry.js +2 -0
  695. package/dist/taro-components/p-69f6784d.system.entry.js.map +1 -0
  696. package/dist/taro-components/p-69fa7272.system.entry.js +2 -0
  697. package/dist/taro-components/p-69fa7272.system.entry.js.map +1 -0
  698. package/dist/taro-components/p-6a96da58.js.map +1 -1
  699. package/dist/taro-components/p-6bb1fdf2.entry.js +2 -0
  700. package/dist/taro-components/p-6bb1fdf2.entry.js.map +1 -0
  701. package/dist/taro-components/p-6dae898a.system.entry.js +2 -0
  702. package/dist/taro-components/p-6dae898a.system.entry.js.map +1 -0
  703. package/dist/taro-components/p-6f048097.system.entry.js +2 -0
  704. package/dist/taro-components/p-6f048097.system.entry.js.map +1 -0
  705. package/dist/taro-components/p-6f214fc3.system.entry.js +2 -0
  706. package/dist/taro-components/p-6f214fc3.system.entry.js.map +1 -0
  707. package/dist/taro-components/p-72f327e1.js.map +1 -1
  708. package/dist/taro-components/p-736053bb.system.entry.js +2 -0
  709. package/dist/taro-components/p-736053bb.system.entry.js.map +1 -0
  710. package/dist/taro-components/p-74bf8246.system.entry.js +2 -0
  711. package/dist/taro-components/p-74bf8246.system.entry.js.map +1 -0
  712. package/dist/taro-components/p-76724e58.js.map +1 -1
  713. package/dist/taro-components/p-76e6fbff.entry.js +2 -0
  714. package/dist/taro-components/p-76e6fbff.entry.js.map +1 -0
  715. package/dist/taro-components/p-780870eb.entry.js +2 -0
  716. package/dist/taro-components/p-780870eb.entry.js.map +1 -0
  717. package/dist/taro-components/p-78c30850.system.entry.js +2 -0
  718. package/dist/taro-components/p-78c30850.system.entry.js.map +1 -0
  719. package/dist/taro-components/p-78e3ebb9.js +3 -0
  720. package/dist/taro-components/p-78e3ebb9.js.map +1 -0
  721. package/dist/taro-components/p-7a2f11dc.entry.js +2 -0
  722. package/dist/taro-components/p-7a2f11dc.entry.js.map +1 -0
  723. package/dist/taro-components/p-7c1fec76.entry.js +2 -0
  724. package/dist/taro-components/p-7c1fec76.entry.js.map +1 -0
  725. package/dist/taro-components/p-7c6f0d5c.entry.js +2 -0
  726. package/dist/taro-components/p-7c6f0d5c.entry.js.map +1 -0
  727. package/dist/taro-components/p-7dd9c8da.system.entry.js +2 -0
  728. package/dist/taro-components/p-7dd9c8da.system.entry.js.map +1 -0
  729. package/dist/taro-components/p-8027e1c6.system.entry.js +2 -0
  730. package/dist/taro-components/p-8027e1c6.system.entry.js.map +1 -0
  731. package/dist/taro-components/p-828bd091.entry.js +2 -0
  732. package/dist/taro-components/p-828bd091.entry.js.map +1 -0
  733. package/dist/taro-components/p-8425ff09.entry.js +2 -0
  734. package/dist/taro-components/p-8425ff09.entry.js.map +1 -0
  735. package/dist/taro-components/p-8594d1e5.entry.js +2 -0
  736. package/dist/taro-components/p-8594d1e5.entry.js.map +1 -0
  737. package/dist/taro-components/p-8625c29c.entry.js +2 -0
  738. package/dist/taro-components/p-8625c29c.entry.js.map +1 -0
  739. package/dist/taro-components/p-88d64daa.system.entry.js +2 -0
  740. package/dist/taro-components/p-88d64daa.system.entry.js.map +1 -0
  741. package/dist/taro-components/p-88fbacdb.entry.js +2 -0
  742. package/dist/taro-components/p-88fbacdb.entry.js.map +1 -0
  743. package/dist/taro-components/p-895cd7c9.system.entry.js +2 -0
  744. package/dist/taro-components/p-895cd7c9.system.entry.js.map +1 -0
  745. package/dist/taro-components/p-8d2101be.system.entry.js +2 -0
  746. package/dist/taro-components/p-8d2101be.system.entry.js.map +1 -0
  747. package/dist/taro-components/p-8e5cc8fe.system.entry.js +2 -0
  748. package/dist/taro-components/p-8e5cc8fe.system.entry.js.map +1 -0
  749. package/dist/taro-components/p-908ddbb0.entry.js +2 -0
  750. package/dist/taro-components/p-908ddbb0.entry.js.map +1 -0
  751. package/dist/taro-components/p-91f8cd40.entry.js +2 -0
  752. package/dist/taro-components/p-91f8cd40.entry.js.map +1 -0
  753. package/dist/taro-components/p-93ccd68a.entry.js +2 -0
  754. package/dist/taro-components/p-93ccd68a.entry.js.map +1 -0
  755. package/dist/taro-components/p-955fbcfa.entry.js +2 -0
  756. package/dist/taro-components/p-955fbcfa.entry.js.map +1 -0
  757. package/dist/taro-components/p-95f70aea.system.entry.js +2 -0
  758. package/dist/taro-components/p-95f70aea.system.entry.js.map +1 -0
  759. package/dist/taro-components/p-97782cdd.system.entry.js +2 -0
  760. package/dist/taro-components/p-97782cdd.system.entry.js.map +1 -0
  761. package/dist/taro-components/p-982e431d.entry.js +2 -0
  762. package/dist/taro-components/p-982e431d.entry.js.map +1 -0
  763. package/dist/taro-components/p-9bc9f3a0.entry.js +2 -0
  764. package/dist/taro-components/p-9bc9f3a0.entry.js.map +1 -0
  765. package/dist/taro-components/p-9d4fa0d3.system.entry.js +2 -0
  766. package/dist/taro-components/p-9d4fa0d3.system.entry.js.map +1 -0
  767. package/dist/taro-components/p-a23a21e1.entry.js +2 -0
  768. package/dist/taro-components/p-a23a21e1.entry.js.map +1 -0
  769. package/dist/taro-components/p-a7789ed6.entry.js +2 -0
  770. package/dist/taro-components/p-a7789ed6.entry.js.map +1 -0
  771. package/dist/taro-components/p-adc37a00.entry.js +2 -0
  772. package/dist/taro-components/p-adc37a00.entry.js.map +1 -0
  773. package/dist/taro-components/p-ae3f1ed4.system.entry.js +2 -0
  774. package/dist/taro-components/p-ae3f1ed4.system.entry.js.map +1 -0
  775. package/dist/taro-components/p-b1249ebb.system.entry.js +2 -0
  776. package/dist/taro-components/p-b1249ebb.system.entry.js.map +1 -0
  777. package/dist/taro-components/p-b1c972e2.system.entry.js +2 -0
  778. package/dist/taro-components/p-b1c972e2.system.entry.js.map +1 -0
  779. package/dist/taro-components/p-b2bb02d7.system.entry.js +2 -0
  780. package/dist/taro-components/p-b2bb02d7.system.entry.js.map +1 -0
  781. package/dist/taro-components/p-b313c11a.entry.js +2 -0
  782. package/dist/taro-components/p-b313c11a.entry.js.map +1 -0
  783. package/dist/taro-components/p-b39b973e.entry.js +2 -0
  784. package/dist/taro-components/p-b39b973e.entry.js.map +1 -0
  785. package/dist/taro-components/p-b4419d86.entry.js +2 -0
  786. package/dist/taro-components/p-b4419d86.entry.js.map +1 -0
  787. package/dist/taro-components/p-b8ba5d0a.entry.js +2 -0
  788. package/dist/taro-components/p-b8ba5d0a.entry.js.map +1 -0
  789. package/dist/taro-components/p-bac3deb0.system.entry.js +2 -0
  790. package/dist/taro-components/p-bac3deb0.system.entry.js.map +1 -0
  791. package/dist/taro-components/p-bba8c3a7.system.entry.js +2 -0
  792. package/dist/taro-components/p-bba8c3a7.system.entry.js.map +1 -0
  793. package/dist/taro-components/p-bd5177d3.system.js +2 -0
  794. package/dist/taro-components/p-bd5177d3.system.js.map +1 -0
  795. package/dist/taro-components/p-c0bb8610.entry.js +2 -0
  796. package/dist/taro-components/p-c0bb8610.entry.js.map +1 -0
  797. package/dist/taro-components/p-c1c0e16d.entry.js +2 -0
  798. package/dist/taro-components/p-c1c0e16d.entry.js.map +1 -0
  799. package/dist/taro-components/p-c2ac8f08.entry.js +2 -0
  800. package/dist/taro-components/p-c2ac8f08.entry.js.map +1 -0
  801. package/dist/taro-components/p-c33733b3.system.entry.js +2 -0
  802. package/dist/taro-components/p-c33733b3.system.entry.js.map +1 -0
  803. package/dist/taro-components/p-c3e98fdf.entry.js +2 -0
  804. package/dist/taro-components/p-c3e98fdf.entry.js.map +1 -0
  805. package/dist/taro-components/p-c4fdb669.system.entry.js +2 -0
  806. package/dist/taro-components/p-c4fdb669.system.entry.js.map +1 -0
  807. package/dist/taro-components/p-c50087fd.entry.js +2 -0
  808. package/dist/taro-components/p-c50087fd.entry.js.map +1 -0
  809. package/dist/taro-components/p-c586a796.system.entry.js +2 -0
  810. package/dist/taro-components/p-c586a796.system.entry.js.map +1 -0
  811. package/dist/taro-components/p-c6385fc2.system.entry.js +2 -0
  812. package/dist/taro-components/p-c6385fc2.system.entry.js.map +1 -0
  813. package/dist/taro-components/p-c6e6dab1.system.entry.js +2 -0
  814. package/dist/taro-components/p-c6e6dab1.system.entry.js.map +1 -0
  815. package/dist/taro-components/p-c70dd956.system.entry.js +2 -0
  816. package/dist/taro-components/p-c70dd956.system.entry.js.map +1 -0
  817. package/dist/taro-components/p-d1d19ce9.entry.js +2 -0
  818. package/dist/taro-components/p-d1d19ce9.entry.js.map +1 -0
  819. package/dist/taro-components/p-d3c7f87d.js +2 -0
  820. package/dist/taro-components/p-d3c7f87d.js.map +1 -0
  821. package/dist/taro-components/p-d5234e7e.js.map +1 -1
  822. package/dist/taro-components/p-d562aae3.entry.js +2 -0
  823. package/dist/taro-components/p-d562aae3.entry.js.map +1 -0
  824. package/dist/taro-components/p-d61d3394.entry.js +2 -0
  825. package/dist/taro-components/p-d61d3394.entry.js.map +1 -0
  826. package/dist/taro-components/p-d621d190.entry.js +2 -0
  827. package/dist/taro-components/p-d621d190.entry.js.map +1 -0
  828. package/dist/taro-components/p-d8c8c63f.entry.js +2 -0
  829. package/dist/taro-components/p-d8c8c63f.entry.js.map +1 -0
  830. package/dist/taro-components/p-da5cdbf5.system.entry.js +2 -0
  831. package/dist/taro-components/p-da5cdbf5.system.entry.js.map +1 -0
  832. package/dist/taro-components/p-de2d8e2e.system.entry.js +2 -0
  833. package/dist/taro-components/p-de2d8e2e.system.entry.js.map +1 -0
  834. package/dist/taro-components/p-de356b29.system.entry.js +2 -0
  835. package/dist/taro-components/p-de356b29.system.entry.js.map +1 -0
  836. package/dist/taro-components/p-e0e4a403.entry.js +2 -0
  837. package/dist/taro-components/p-e0e4a403.entry.js.map +1 -0
  838. package/dist/taro-components/p-e3f8265d.system.entry.js +2 -0
  839. package/dist/taro-components/p-e3f8265d.system.entry.js.map +1 -0
  840. package/dist/taro-components/p-e53feb03.system.entry.js +2 -0
  841. package/dist/taro-components/p-e53feb03.system.entry.js.map +1 -0
  842. package/dist/taro-components/p-e67165fd.entry.js +2 -0
  843. package/dist/taro-components/p-e67165fd.entry.js.map +1 -0
  844. package/dist/taro-components/p-eb2a7609.entry.js +2 -0
  845. package/dist/taro-components/p-eb2a7609.entry.js.map +1 -0
  846. package/dist/taro-components/p-eb9adf17.entry.js +2 -0
  847. package/dist/taro-components/p-eb9adf17.entry.js.map +1 -0
  848. package/dist/taro-components/p-ef4c1fd4.entry.js +2 -0
  849. package/dist/taro-components/p-ef4c1fd4.entry.js.map +1 -0
  850. package/dist/taro-components/p-ef7e7d73.system.entry.js +2 -0
  851. package/dist/taro-components/p-ef7e7d73.system.entry.js.map +1 -0
  852. package/dist/taro-components/p-efa51030.system.entry.js +2 -0
  853. package/dist/taro-components/p-efa51030.system.entry.js.map +1 -0
  854. package/dist/taro-components/p-efe31b23.entry.js +2 -0
  855. package/dist/taro-components/p-efe31b23.entry.js.map +1 -0
  856. package/dist/taro-components/p-f034fb11.system.entry.js +2 -0
  857. package/dist/taro-components/p-f034fb11.system.entry.js.map +1 -0
  858. package/dist/taro-components/p-f499c0a0.system.entry.js +2 -0
  859. package/dist/taro-components/p-f499c0a0.system.entry.js.map +1 -0
  860. package/dist/taro-components/p-f88f0f55.entry.js +2 -0
  861. package/dist/taro-components/p-f88f0f55.entry.js.map +1 -0
  862. package/dist/taro-components/p-f9ac515e.system.entry.js +2 -0
  863. package/dist/taro-components/p-f9ac515e.system.entry.js.map +1 -0
  864. package/dist/taro-components/p-fa36fe8e.system.entry.js +2 -0
  865. package/dist/taro-components/p-fa36fe8e.system.entry.js.map +1 -0
  866. package/dist/taro-components/p-fcdac6ec.system.entry.js +2 -0
  867. package/dist/taro-components/p-fcdac6ec.system.entry.js.map +1 -0
  868. package/dist/taro-components/p-fda82bc1.entry.js +2 -0
  869. package/dist/taro-components/p-fda82bc1.entry.js.map +1 -0
  870. package/dist/taro-components/p-fe58b450.entry.js +2 -0
  871. package/dist/taro-components/p-fe58b450.entry.js.map +1 -0
  872. package/dist/taro-components/p-fec6746d.entry.js +2 -0
  873. package/dist/taro-components/p-fec6746d.entry.js.map +1 -0
  874. package/dist/taro-components/taro-components.esm.js +1 -1
  875. package/dist/taro-components/taro-components.esm.js.map +1 -1
  876. package/dist/taro-components/taro-components.js +1 -1
  877. package/dist/types/components/icon/icon.d.ts +1 -1
  878. package/dist/types/components/image/image.d.ts +1 -1
  879. package/dist/types/components/input/input.d.ts +1 -1
  880. package/dist/types/components/navigator/navigator.d.ts +0 -16
  881. package/dist/types/components/picker/picker.d.ts +3 -3
  882. package/dist/types/components/rich-text/rich-text.d.ts +3 -3
  883. package/dist/types/components/scroll-view/scroll-view.d.ts +4 -1
  884. package/dist/types/components/swiper/swiper-item.d.ts +2 -0
  885. package/dist/types/components/swiper/swiper.d.ts +1 -0
  886. package/dist/types/components/tabbar/tabbar-item.d.ts +2 -1
  887. package/dist/types/components.d.ts +26 -2
  888. package/dist/types/stencil-public-runtime.d.ts +59 -3
  889. package/dist/types/utils/index.d.ts +1 -0
  890. package/lib/react/component-lib/index.d.ts +55 -0
  891. package/lib/react/component-lib/index.js +68 -0
  892. package/lib/react/component-lib/index.js.map +1 -0
  893. package/lib/react/component-lib/input.d.ts +3 -0
  894. package/lib/react/component-lib/input.js +17 -0
  895. package/lib/react/component-lib/input.js.map +1 -0
  896. package/lib/react/component-lib/reactify-wc.d.ts +7 -0
  897. package/lib/react/component-lib/reactify-wc.js +176 -0
  898. package/lib/react/component-lib/reactify-wc.js.map +1 -0
  899. package/lib/react/components.d.ts +82 -0
  900. package/lib/react/components.js +85 -0
  901. package/lib/react/components.js.map +1 -0
  902. package/lib/react/helper.d.ts +10 -0
  903. package/lib/react/helper.js +7 -0
  904. package/lib/react/helper.js.map +1 -0
  905. package/lib/react/index.d.ts +1 -0
  906. package/lib/react/index.js +2 -0
  907. package/lib/react/index.js.map +1 -0
  908. package/lib/react/interfaces-4f837811.d.ts +30 -0
  909. package/lib/react/react-component-lib/createComponent.d.ts +10 -0
  910. package/lib/react/react-component-lib/createComponent.js +70 -0
  911. package/lib/react/react-component-lib/createComponent.js.map +1 -0
  912. package/lib/react/react-component-lib/createOverlayComponent.d.ts +21 -0
  913. package/lib/react/react-component-lib/createOverlayComponent.js +91 -0
  914. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -0
  915. package/lib/react/react-component-lib/index.d.ts +2 -0
  916. package/lib/react/react-component-lib/index.js +3 -0
  917. package/lib/react/react-component-lib/index.js.map +1 -0
  918. package/lib/react/react-component-lib/utils/attachProps.d.ts +13 -0
  919. package/lib/react/react-component-lib/utils/attachProps.js +87 -0
  920. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -0
  921. package/lib/react/react-component-lib/utils/case.d.ts +3 -0
  922. package/lib/react/react-component-lib/utils/case.js +9 -0
  923. package/lib/react/react-component-lib/utils/case.js.map +1 -0
  924. package/lib/react/react-component-lib/utils/index.d.ts +11 -0
  925. package/lib/react/react-component-lib/utils/index.js +37 -0
  926. package/lib/react/react-component-lib/utils/index.js.map +1 -0
  927. package/lib/vue2/component-lib/components.d.ts +111 -0
  928. package/lib/vue2/component-lib/components.js +74 -0
  929. package/lib/vue2/component-lib/components.js.map +1 -0
  930. package/lib/vue2/component-lib/createComponent.d.ts +14 -0
  931. package/lib/vue2/component-lib/createComponent.js +23 -0
  932. package/lib/vue2/component-lib/createComponent.js.map +1 -0
  933. package/lib/vue2/component-lib/createFormsComponent.d.ts +22 -0
  934. package/lib/vue2/component-lib/createFormsComponent.js +53 -0
  935. package/lib/vue2/component-lib/createFormsComponent.js.map +1 -0
  936. package/lib/vue2/component-lib/icon.d.ts +16 -0
  937. package/lib/vue2/component-lib/icon.js +23 -0
  938. package/lib/vue2/component-lib/icon.js.map +1 -0
  939. package/lib/vue2/component-lib/image.d.ts +16 -0
  940. package/lib/vue2/component-lib/image.js +24 -0
  941. package/lib/vue2/component-lib/image.js.map +1 -0
  942. package/lib/vue2/component-lib/index.d.ts +1 -0
  943. package/lib/vue2/component-lib/index.js +30 -0
  944. package/lib/vue2/component-lib/index.js.map +1 -0
  945. package/lib/vue2/component-lib/mixins/listeners.d.ts +6 -0
  946. package/lib/vue2/component-lib/mixins/listeners.js +14 -0
  947. package/lib/vue2/component-lib/mixins/listeners.js.map +1 -0
  948. package/lib/vue2/component-lib/mixins/refs.d.ts +5 -0
  949. package/lib/vue2/component-lib/mixins/refs.js +53 -0
  950. package/lib/vue2/component-lib/mixins/refs.js.map +1 -0
  951. package/lib/vue2/component-lib/picker.d.ts +25 -0
  952. package/lib/vue2/component-lib/picker.js +41 -0
  953. package/lib/vue2/component-lib/picker.js.map +1 -0
  954. package/lib/vue2/component-lib/scroll-view.d.ts +17 -0
  955. package/lib/vue2/component-lib/scroll-view.js +35 -0
  956. package/lib/vue2/component-lib/scroll-view.js.map +1 -0
  957. package/lib/vue2/component-lib/text.d.ts +16 -0
  958. package/lib/vue2/component-lib/text.js +24 -0
  959. package/lib/vue2/component-lib/text.js.map +1 -0
  960. package/lib/vue2/components.d.ts +356 -0
  961. package/lib/vue2/components.js +645 -0
  962. package/lib/vue2/components.js.map +1 -0
  963. package/lib/vue2/index.d.ts +3 -0
  964. package/lib/vue2/index.js +23 -0
  965. package/lib/vue2/index.js.map +1 -0
  966. package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.6.14/node_modules/vue-fragment/dist/vue-fragment.esm.js +4 -0
  967. package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.6.14/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +1 -0
  968. package/lib/vue2/vue-component-lib/utils.d.ts +6 -0
  969. package/lib/vue2/vue-component-lib/utils.js +34 -0
  970. package/lib/vue2/vue-component-lib/utils.js.map +1 -0
  971. package/lib/vue3/component-lib/createComponent.d.ts +10 -0
  972. package/lib/vue3/component-lib/createComponent.js +21 -0
  973. package/lib/vue3/component-lib/createComponent.js.map +1 -0
  974. package/lib/vue3/component-lib/createFormsComponent.d.ts +11 -0
  975. package/lib/vue3/component-lib/createFormsComponent.js +38 -0
  976. package/lib/vue3/component-lib/createFormsComponent.js.map +1 -0
  977. package/lib/vue3/component-lib/forwardRef.d.ts +2 -0
  978. package/lib/vue3/component-lib/forwardRef.js +13 -0
  979. package/lib/vue3/component-lib/forwardRef.js.map +1 -0
  980. package/lib/vue3/component-lib/icon.d.ts +11 -0
  981. package/lib/vue3/component-lib/icon.js +20 -0
  982. package/lib/vue3/component-lib/icon.js.map +1 -0
  983. package/lib/vue3/component-lib/image.d.ts +11 -0
  984. package/lib/vue3/component-lib/image.js +21 -0
  985. package/lib/vue3/component-lib/image.js.map +1 -0
  986. package/lib/vue3/component-lib/index.d.ts +442 -0
  987. package/lib/vue3/component-lib/index.js +68 -0
  988. package/lib/vue3/component-lib/index.js.map +1 -0
  989. package/lib/vue3/component-lib/scroll-view.d.ts +11 -0
  990. package/lib/vue3/component-lib/scroll-view.js +27 -0
  991. package/lib/vue3/component-lib/scroll-view.js.map +1 -0
  992. package/lib/vue3/component-lib/text.d.ts +11 -0
  993. package/lib/vue3/component-lib/text.js +21 -0
  994. package/lib/vue3/component-lib/text.js.map +1 -0
  995. package/lib/vue3/components.d.ts +82 -0
  996. package/lib/vue3/components.js +387 -0
  997. package/lib/vue3/components.js.map +1 -0
  998. package/lib/vue3/index.d.ts +3 -0
  999. package/lib/vue3/index.js +15 -0
  1000. package/lib/vue3/index.js.map +1 -0
  1001. package/lib/vue3/vue-component-lib/utils.d.ts +21 -0
  1002. package/lib/vue3/vue-component-lib/utils.js +163 -0
  1003. package/lib/vue3/vue-component-lib/utils.js.map +1 -0
  1004. package/loader/index.d.ts +9 -0
  1005. package/package.json +15 -13
  1006. package/types/ChannelLive.d.ts +22 -0
  1007. package/types/CommentList.d.ts +1 -0
  1008. package/types/CoverImage.d.ts +4 -4
  1009. package/types/CoverView.d.ts +2 -2
  1010. package/types/Input.d.ts +11 -6
  1011. package/types/LivePusher.d.ts +39 -0
  1012. package/types/Map.d.ts +6 -0
  1013. package/types/MovableArea.d.ts +2 -2
  1014. package/types/Navigator.d.ts +8 -8
  1015. package/types/Radio.d.ts +6 -6
  1016. package/types/RadioGroup.d.ts +2 -2
  1017. package/types/RootPortal.d.ts +0 -1
  1018. package/types/ScrollView.d.ts +1 -1
  1019. package/types/ShareElement.d.ts +0 -5
  1020. package/types/Swiper.d.ts +2 -2
  1021. package/types/Textarea.d.ts +22 -28
  1022. package/types/Video.d.ts +13 -9
  1023. package/types/VoipRoom.d.ts +6 -0
  1024. package/types/index.d.ts +1 -0
  1025. package/types/index.vue3.d.ts +4 -4
  1026. package/dist/cjs/index-47a1959e.js +0 -36
  1027. package/dist/cjs/index-47a1959e.js.map +0 -1
  1028. package/dist/cjs/index-9174e0b1.js +0 -1957
  1029. package/dist/cjs/index-9174e0b1.js.map +0 -1
  1030. package/dist/esm/index-5d881caf.js +0 -1929
  1031. package/dist/esm/index-5d881caf.js.map +0 -1
  1032. package/dist/esm/index-cad8203e.js +0 -33
  1033. package/dist/esm/index-cad8203e.js.map +0 -1
  1034. package/dist/esm-es5/index-5d881caf.js +0 -3
  1035. package/dist/esm-es5/index-5d881caf.js.map +0 -1
  1036. package/dist/esm-es5/index-cad8203e.js +0 -2
  1037. package/dist/esm-es5/index-cad8203e.js.map +0 -1
  1038. package/dist/react/component-lib/index.js +0 -74
  1039. package/dist/react/component-lib/input.js +0 -17
  1040. package/dist/react/component-lib/reactify-wc.js +0 -206
  1041. package/dist/react/components.js +0 -82
  1042. package/dist/react/helper.js +0 -8
  1043. package/dist/react/index.js +0 -1
  1044. package/dist/react/react-component-lib/createComponent.js +0 -99
  1045. package/dist/react/react-component-lib/createOverlayComponent.js +0 -178
  1046. package/dist/react/react-component-lib/index.js +0 -2
  1047. package/dist/react/react-component-lib/interfaces.js +0 -0
  1048. package/dist/react/react-component-lib/utils/attachProps.js +0 -98
  1049. package/dist/react/react-component-lib/utils/case.js +0 -10
  1050. package/dist/react/react-component-lib/utils/dev.js +0 -12
  1051. package/dist/react/react-component-lib/utils/index.js +0 -37
  1052. package/dist/taro-components/p-001ef419.system.entry.js +0 -2
  1053. package/dist/taro-components/p-001ef419.system.entry.js.map +0 -1
  1054. package/dist/taro-components/p-01dc54a5.entry.js +0 -2
  1055. package/dist/taro-components/p-01dc54a5.entry.js.map +0 -1
  1056. package/dist/taro-components/p-0382d7d0.system.entry.js +0 -2
  1057. package/dist/taro-components/p-0382d7d0.system.entry.js.map +0 -1
  1058. package/dist/taro-components/p-0a896bc7.entry.js +0 -2
  1059. package/dist/taro-components/p-0a896bc7.entry.js.map +0 -1
  1060. package/dist/taro-components/p-0b38e6c7.system.entry.js +0 -2
  1061. package/dist/taro-components/p-0b38e6c7.system.entry.js.map +0 -1
  1062. package/dist/taro-components/p-0be383a9.system.entry.js +0 -2
  1063. package/dist/taro-components/p-0be383a9.system.entry.js.map +0 -1
  1064. package/dist/taro-components/p-0d36ef6b.entry.js +0 -2
  1065. package/dist/taro-components/p-0d36ef6b.entry.js.map +0 -1
  1066. package/dist/taro-components/p-0ee6a068.entry.js +0 -2
  1067. package/dist/taro-components/p-0ee6a068.entry.js.map +0 -1
  1068. package/dist/taro-components/p-12e4b019.entry.js +0 -2
  1069. package/dist/taro-components/p-12e4b019.entry.js.map +0 -1
  1070. package/dist/taro-components/p-15dced71.system.entry.js +0 -2
  1071. package/dist/taro-components/p-15dced71.system.entry.js.map +0 -1
  1072. package/dist/taro-components/p-17657dca.entry.js +0 -2
  1073. package/dist/taro-components/p-17657dca.entry.js.map +0 -1
  1074. package/dist/taro-components/p-186ad7ff.entry.js +0 -2
  1075. package/dist/taro-components/p-186ad7ff.entry.js.map +0 -1
  1076. package/dist/taro-components/p-19afe402.entry.js +0 -2
  1077. package/dist/taro-components/p-19afe402.entry.js.map +0 -1
  1078. package/dist/taro-components/p-1a47133c.system.entry.js +0 -2
  1079. package/dist/taro-components/p-1a47133c.system.entry.js.map +0 -1
  1080. package/dist/taro-components/p-1ad0aa95.system.entry.js +0 -2
  1081. package/dist/taro-components/p-1ad0aa95.system.entry.js.map +0 -1
  1082. package/dist/taro-components/p-1b1420c9.system.entry.js +0 -2
  1083. package/dist/taro-components/p-1b1420c9.system.entry.js.map +0 -1
  1084. package/dist/taro-components/p-1b2556e2.system.entry.js +0 -2
  1085. package/dist/taro-components/p-1b2556e2.system.entry.js.map +0 -1
  1086. package/dist/taro-components/p-1b64d2a2.entry.js +0 -2
  1087. package/dist/taro-components/p-1b64d2a2.entry.js.map +0 -1
  1088. package/dist/taro-components/p-1bd3d09b.system.entry.js +0 -2
  1089. package/dist/taro-components/p-1bd3d09b.system.entry.js.map +0 -1
  1090. package/dist/taro-components/p-1cb76199.entry.js +0 -2
  1091. package/dist/taro-components/p-1cb76199.entry.js.map +0 -1
  1092. package/dist/taro-components/p-2096bc5f.entry.js +0 -2
  1093. package/dist/taro-components/p-2096bc5f.entry.js.map +0 -1
  1094. package/dist/taro-components/p-20ec6387.entry.js +0 -2
  1095. package/dist/taro-components/p-20ec6387.entry.js.map +0 -1
  1096. package/dist/taro-components/p-21b77a13.system.entry.js +0 -2
  1097. package/dist/taro-components/p-21b77a13.system.entry.js.map +0 -1
  1098. package/dist/taro-components/p-2243a376.entry.js +0 -2
  1099. package/dist/taro-components/p-2243a376.entry.js.map +0 -1
  1100. package/dist/taro-components/p-281a2bcf.entry.js +0 -2
  1101. package/dist/taro-components/p-281a2bcf.entry.js.map +0 -1
  1102. package/dist/taro-components/p-28dade4f.entry.js +0 -2
  1103. package/dist/taro-components/p-28dade4f.entry.js.map +0 -1
  1104. package/dist/taro-components/p-29f04296.entry.js +0 -2
  1105. package/dist/taro-components/p-29f04296.entry.js.map +0 -1
  1106. package/dist/taro-components/p-301a8b85.system.entry.js +0 -2
  1107. package/dist/taro-components/p-301a8b85.system.entry.js.map +0 -1
  1108. package/dist/taro-components/p-31e10d77.system.entry.js +0 -2
  1109. package/dist/taro-components/p-31e10d77.system.entry.js.map +0 -1
  1110. package/dist/taro-components/p-36c64ed0.system.entry.js +0 -2
  1111. package/dist/taro-components/p-36c64ed0.system.entry.js.map +0 -1
  1112. package/dist/taro-components/p-37d71e63.entry.js +0 -2
  1113. package/dist/taro-components/p-37d71e63.entry.js.map +0 -1
  1114. package/dist/taro-components/p-386b9de8.entry.js +0 -2
  1115. package/dist/taro-components/p-386b9de8.entry.js.map +0 -1
  1116. package/dist/taro-components/p-3b9a1125.entry.js +0 -2
  1117. package/dist/taro-components/p-3b9a1125.entry.js.map +0 -1
  1118. package/dist/taro-components/p-3c256e0e.entry.js +0 -2
  1119. package/dist/taro-components/p-3c256e0e.entry.js.map +0 -1
  1120. package/dist/taro-components/p-3e6b29c6.entry.js +0 -2
  1121. package/dist/taro-components/p-3e6b29c6.entry.js.map +0 -1
  1122. package/dist/taro-components/p-427a2872.entry.js +0 -2
  1123. package/dist/taro-components/p-427a2872.entry.js.map +0 -1
  1124. package/dist/taro-components/p-439a3349.system.entry.js +0 -2
  1125. package/dist/taro-components/p-439a3349.system.entry.js.map +0 -1
  1126. package/dist/taro-components/p-447386b2.system.entry.js +0 -2
  1127. package/dist/taro-components/p-447386b2.system.entry.js.map +0 -1
  1128. package/dist/taro-components/p-45b6ea0c.system.entry.js +0 -2
  1129. package/dist/taro-components/p-45b6ea0c.system.entry.js.map +0 -1
  1130. package/dist/taro-components/p-49a6cae4.system.entry.js +0 -2
  1131. package/dist/taro-components/p-49a6cae4.system.entry.js.map +0 -1
  1132. package/dist/taro-components/p-4b05e003.entry.js +0 -2
  1133. package/dist/taro-components/p-4b05e003.entry.js.map +0 -1
  1134. package/dist/taro-components/p-4b27df71.system.entry.js +0 -2
  1135. package/dist/taro-components/p-4b27df71.system.entry.js.map +0 -1
  1136. package/dist/taro-components/p-4b71c926.entry.js +0 -2
  1137. package/dist/taro-components/p-4b71c926.entry.js.map +0 -1
  1138. package/dist/taro-components/p-4fbb8b4c.system.entry.js +0 -2
  1139. package/dist/taro-components/p-4fbb8b4c.system.entry.js.map +0 -1
  1140. package/dist/taro-components/p-51040638.entry.js +0 -2
  1141. package/dist/taro-components/p-51040638.entry.js.map +0 -1
  1142. package/dist/taro-components/p-55519002.entry.js +0 -2
  1143. package/dist/taro-components/p-55519002.entry.js.map +0 -1
  1144. package/dist/taro-components/p-570222e2.entry.js +0 -2
  1145. package/dist/taro-components/p-570222e2.entry.js.map +0 -1
  1146. package/dist/taro-components/p-5746d7ce.js +0 -2
  1147. package/dist/taro-components/p-5746d7ce.js.map +0 -1
  1148. package/dist/taro-components/p-580a72d1.system.entry.js +0 -2
  1149. package/dist/taro-components/p-580a72d1.system.entry.js.map +0 -1
  1150. package/dist/taro-components/p-59418be7.system.entry.js +0 -2
  1151. package/dist/taro-components/p-59418be7.system.entry.js.map +0 -1
  1152. package/dist/taro-components/p-59e02aca.system.entry.js +0 -2
  1153. package/dist/taro-components/p-59e02aca.system.entry.js.map +0 -1
  1154. package/dist/taro-components/p-5b552407.entry.js +0 -2
  1155. package/dist/taro-components/p-5b552407.entry.js.map +0 -1
  1156. package/dist/taro-components/p-5bd1c1a1.entry.js +0 -2
  1157. package/dist/taro-components/p-5bd1c1a1.entry.js.map +0 -1
  1158. package/dist/taro-components/p-5bfefd19.js +0 -3
  1159. package/dist/taro-components/p-5bfefd19.js.map +0 -1
  1160. package/dist/taro-components/p-62d750a7.entry.js +0 -2
  1161. package/dist/taro-components/p-62d750a7.entry.js.map +0 -1
  1162. package/dist/taro-components/p-632f9a72.system.entry.js +0 -2
  1163. package/dist/taro-components/p-632f9a72.system.entry.js.map +0 -1
  1164. package/dist/taro-components/p-65971d99.entry.js +0 -2
  1165. package/dist/taro-components/p-65971d99.entry.js.map +0 -1
  1166. package/dist/taro-components/p-663d1bb9.system.js +0 -2
  1167. package/dist/taro-components/p-663d1bb9.system.js.map +0 -1
  1168. package/dist/taro-components/p-6831f7b1.system.entry.js +0 -2
  1169. package/dist/taro-components/p-6831f7b1.system.entry.js.map +0 -1
  1170. package/dist/taro-components/p-6af8be19.entry.js +0 -2
  1171. package/dist/taro-components/p-6af8be19.entry.js.map +0 -1
  1172. package/dist/taro-components/p-6c622fa2.system.entry.js +0 -2
  1173. package/dist/taro-components/p-6c622fa2.system.entry.js.map +0 -1
  1174. package/dist/taro-components/p-6cd941bc.entry.js +0 -2
  1175. package/dist/taro-components/p-6cd941bc.entry.js.map +0 -1
  1176. package/dist/taro-components/p-6ea2995b.entry.js +0 -2
  1177. package/dist/taro-components/p-6ea2995b.entry.js.map +0 -1
  1178. package/dist/taro-components/p-6f8af69f.entry.js +0 -2
  1179. package/dist/taro-components/p-6f8af69f.entry.js.map +0 -1
  1180. package/dist/taro-components/p-701b0286.system.entry.js +0 -2
  1181. package/dist/taro-components/p-701b0286.system.entry.js.map +0 -1
  1182. package/dist/taro-components/p-70defa84.entry.js +0 -2
  1183. package/dist/taro-components/p-70defa84.entry.js.map +0 -1
  1184. package/dist/taro-components/p-72f626ab.system.entry.js +0 -2
  1185. package/dist/taro-components/p-72f626ab.system.entry.js.map +0 -1
  1186. package/dist/taro-components/p-73106bc9.entry.js +0 -2
  1187. package/dist/taro-components/p-73106bc9.entry.js.map +0 -1
  1188. package/dist/taro-components/p-755be847.system.entry.js +0 -2
  1189. package/dist/taro-components/p-755be847.system.entry.js.map +0 -1
  1190. package/dist/taro-components/p-7afc274a.entry.js +0 -2
  1191. package/dist/taro-components/p-7afc274a.entry.js.map +0 -1
  1192. package/dist/taro-components/p-7bafbe22.entry.js +0 -2
  1193. package/dist/taro-components/p-7bafbe22.entry.js.map +0 -1
  1194. package/dist/taro-components/p-7e7a1e62.entry.js +0 -2
  1195. package/dist/taro-components/p-7e7a1e62.entry.js.map +0 -1
  1196. package/dist/taro-components/p-8231e748.entry.js +0 -2
  1197. package/dist/taro-components/p-8231e748.entry.js.map +0 -1
  1198. package/dist/taro-components/p-876edf66.entry.js +0 -2
  1199. package/dist/taro-components/p-876edf66.entry.js.map +0 -1
  1200. package/dist/taro-components/p-898aba38.system.entry.js +0 -2
  1201. package/dist/taro-components/p-898aba38.system.entry.js.map +0 -1
  1202. package/dist/taro-components/p-8a3620a6.system.entry.js +0 -2
  1203. package/dist/taro-components/p-8a3620a6.system.entry.js.map +0 -1
  1204. package/dist/taro-components/p-8a8f286f.system.js +0 -3
  1205. package/dist/taro-components/p-8a8f286f.system.js.map +0 -1
  1206. package/dist/taro-components/p-8bec95d4.system.entry.js +0 -2
  1207. package/dist/taro-components/p-8bec95d4.system.entry.js.map +0 -1
  1208. package/dist/taro-components/p-8c8fe164.system.entry.js +0 -2
  1209. package/dist/taro-components/p-8c8fe164.system.entry.js.map +0 -1
  1210. package/dist/taro-components/p-93cc7adc.entry.js +0 -2
  1211. package/dist/taro-components/p-93cc7adc.entry.js.map +0 -1
  1212. package/dist/taro-components/p-96a784f1.entry.js +0 -2
  1213. package/dist/taro-components/p-96a784f1.entry.js.map +0 -1
  1214. package/dist/taro-components/p-98901e99.system.entry.js +0 -2
  1215. package/dist/taro-components/p-98901e99.system.entry.js.map +0 -1
  1216. package/dist/taro-components/p-99bbe34a.system.entry.js +0 -2
  1217. package/dist/taro-components/p-99bbe34a.system.entry.js.map +0 -1
  1218. package/dist/taro-components/p-9e20c25c.entry.js +0 -2
  1219. package/dist/taro-components/p-9e20c25c.entry.js.map +0 -1
  1220. package/dist/taro-components/p-9f1ca602.system.entry.js +0 -2
  1221. package/dist/taro-components/p-9f1ca602.system.entry.js.map +0 -1
  1222. package/dist/taro-components/p-9f780103.system.entry.js +0 -2
  1223. package/dist/taro-components/p-9f780103.system.entry.js.map +0 -1
  1224. package/dist/taro-components/p-a1ace8c7.system.entry.js +0 -2
  1225. package/dist/taro-components/p-a1ace8c7.system.entry.js.map +0 -1
  1226. package/dist/taro-components/p-a29509fa.system.entry.js +0 -2
  1227. package/dist/taro-components/p-a29509fa.system.entry.js.map +0 -1
  1228. package/dist/taro-components/p-a4961ddd.entry.js +0 -2
  1229. package/dist/taro-components/p-a4961ddd.entry.js.map +0 -1
  1230. package/dist/taro-components/p-a6f2dc54.system.entry.js +0 -2
  1231. package/dist/taro-components/p-a6f2dc54.system.entry.js.map +0 -1
  1232. package/dist/taro-components/p-ab105c26.entry.js +0 -2
  1233. package/dist/taro-components/p-ab105c26.entry.js.map +0 -1
  1234. package/dist/taro-components/p-ad25cc91.system.entry.js +0 -2
  1235. package/dist/taro-components/p-ad25cc91.system.entry.js.map +0 -1
  1236. package/dist/taro-components/p-b04a56bd.system.entry.js +0 -2
  1237. package/dist/taro-components/p-b04a56bd.system.entry.js.map +0 -1
  1238. package/dist/taro-components/p-b10cb428.entry.js +0 -2
  1239. package/dist/taro-components/p-b10cb428.entry.js.map +0 -1
  1240. package/dist/taro-components/p-b4cccb3e.system.entry.js +0 -2
  1241. package/dist/taro-components/p-b4cccb3e.system.entry.js.map +0 -1
  1242. package/dist/taro-components/p-b4ec48c3.entry.js +0 -2
  1243. package/dist/taro-components/p-b4ec48c3.entry.js.map +0 -1
  1244. package/dist/taro-components/p-b500c116.system.entry.js +0 -2
  1245. package/dist/taro-components/p-b500c116.system.entry.js.map +0 -1
  1246. package/dist/taro-components/p-b6733e23.system.entry.js +0 -2
  1247. package/dist/taro-components/p-b6733e23.system.entry.js.map +0 -1
  1248. package/dist/taro-components/p-b832f4e8.entry.js +0 -2
  1249. package/dist/taro-components/p-b832f4e8.entry.js.map +0 -1
  1250. package/dist/taro-components/p-b88a55b4.system.entry.js +0 -2
  1251. package/dist/taro-components/p-b88a55b4.system.entry.js.map +0 -1
  1252. package/dist/taro-components/p-b90926cc.entry.js +0 -2
  1253. package/dist/taro-components/p-b90926cc.entry.js.map +0 -1
  1254. package/dist/taro-components/p-ba743573.entry.js +0 -2
  1255. package/dist/taro-components/p-ba743573.entry.js.map +0 -1
  1256. package/dist/taro-components/p-be3f5ac0.entry.js +0 -2
  1257. package/dist/taro-components/p-be3f5ac0.entry.js.map +0 -1
  1258. package/dist/taro-components/p-beea63a7.entry.js +0 -2
  1259. package/dist/taro-components/p-beea63a7.entry.js.map +0 -1
  1260. package/dist/taro-components/p-c0e3c822.system.entry.js +0 -2
  1261. package/dist/taro-components/p-c0e3c822.system.entry.js.map +0 -1
  1262. package/dist/taro-components/p-c3bb8fa6.entry.js +0 -2
  1263. package/dist/taro-components/p-c3bb8fa6.entry.js.map +0 -1
  1264. package/dist/taro-components/p-c43fe342.system.entry.js +0 -2
  1265. package/dist/taro-components/p-c43fe342.system.entry.js.map +0 -1
  1266. package/dist/taro-components/p-c4cf58af.system.entry.js +0 -2
  1267. package/dist/taro-components/p-c4cf58af.system.entry.js.map +0 -1
  1268. package/dist/taro-components/p-c5c331bf.system.entry.js +0 -2
  1269. package/dist/taro-components/p-c5c331bf.system.entry.js.map +0 -1
  1270. package/dist/taro-components/p-cb17d8bd.system.js +0 -2
  1271. package/dist/taro-components/p-cb17d8bd.system.js.map +0 -1
  1272. package/dist/taro-components/p-cbe2436d.system.entry.js +0 -2
  1273. package/dist/taro-components/p-cbe2436d.system.entry.js.map +0 -1
  1274. package/dist/taro-components/p-cd6a7eea.entry.js +0 -2
  1275. package/dist/taro-components/p-cd6a7eea.entry.js.map +0 -1
  1276. package/dist/taro-components/p-d388c097.entry.js +0 -2
  1277. package/dist/taro-components/p-d388c097.entry.js.map +0 -1
  1278. package/dist/taro-components/p-d4b6f19e.system.entry.js +0 -2
  1279. package/dist/taro-components/p-d4b6f19e.system.entry.js.map +0 -1
  1280. package/dist/taro-components/p-d619f198.system.entry.js +0 -2
  1281. package/dist/taro-components/p-d619f198.system.entry.js.map +0 -1
  1282. package/dist/taro-components/p-d6441fd8.entry.js +0 -2
  1283. package/dist/taro-components/p-d6441fd8.entry.js.map +0 -1
  1284. package/dist/taro-components/p-d7ab3e23.system.entry.js +0 -2
  1285. package/dist/taro-components/p-d7ab3e23.system.entry.js.map +0 -1
  1286. package/dist/taro-components/p-d7f4b10f.entry.js +0 -2
  1287. package/dist/taro-components/p-d7f4b10f.entry.js.map +0 -1
  1288. package/dist/taro-components/p-d85b216d.entry.js +0 -2
  1289. package/dist/taro-components/p-d85b216d.entry.js.map +0 -1
  1290. package/dist/taro-components/p-dcb48fd9.system.entry.js +0 -2
  1291. package/dist/taro-components/p-dcb48fd9.system.entry.js.map +0 -1
  1292. package/dist/taro-components/p-dcfb7d97.system.entry.js +0 -2
  1293. package/dist/taro-components/p-dcfb7d97.system.entry.js.map +0 -1
  1294. package/dist/taro-components/p-de762042.entry.js +0 -2
  1295. package/dist/taro-components/p-de762042.entry.js.map +0 -1
  1296. package/dist/taro-components/p-df862d0c.entry.js +0 -2
  1297. package/dist/taro-components/p-df862d0c.entry.js.map +0 -1
  1298. package/dist/taro-components/p-e0d6b00b.entry.js +0 -2
  1299. package/dist/taro-components/p-e0d6b00b.entry.js.map +0 -1
  1300. package/dist/taro-components/p-e4f1cc50.entry.js +0 -2
  1301. package/dist/taro-components/p-e4f1cc50.entry.js.map +0 -1
  1302. package/dist/taro-components/p-e5607803.system.entry.js +0 -2
  1303. package/dist/taro-components/p-e5607803.system.entry.js.map +0 -1
  1304. package/dist/taro-components/p-e59f999e.entry.js +0 -2
  1305. package/dist/taro-components/p-e59f999e.entry.js.map +0 -1
  1306. package/dist/taro-components/p-e7239faa.system.entry.js +0 -2
  1307. package/dist/taro-components/p-e7239faa.system.entry.js.map +0 -1
  1308. package/dist/taro-components/p-e7965c55.system.entry.js +0 -2
  1309. package/dist/taro-components/p-e7965c55.system.entry.js.map +0 -1
  1310. package/dist/taro-components/p-e98c07c3.system.entry.js +0 -2
  1311. package/dist/taro-components/p-e98c07c3.system.entry.js.map +0 -1
  1312. package/dist/taro-components/p-eddd00e9.system.entry.js +0 -2
  1313. package/dist/taro-components/p-eddd00e9.system.entry.js.map +0 -1
  1314. package/dist/taro-components/p-ef029c30.system.entry.js +0 -2
  1315. package/dist/taro-components/p-ef029c30.system.entry.js.map +0 -1
  1316. package/dist/taro-components/p-f00ee372.system.entry.js +0 -2
  1317. package/dist/taro-components/p-f00ee372.system.entry.js.map +0 -1
  1318. package/dist/taro-components/p-f0d0160d.system.entry.js +0 -2
  1319. package/dist/taro-components/p-f0d0160d.system.entry.js.map +0 -1
  1320. package/dist/taro-components/p-f120c272.entry.js +0 -2
  1321. package/dist/taro-components/p-f120c272.entry.js.map +0 -1
  1322. package/dist/taro-components/p-f2c75971.system.entry.js +0 -2
  1323. package/dist/taro-components/p-f2c75971.system.entry.js.map +0 -1
  1324. package/dist/taro-components/p-f81d14ad.entry.js +0 -2
  1325. package/dist/taro-components/p-f81d14ad.entry.js.map +0 -1
  1326. package/dist/taro-components/p-fae28cc1.system.entry.js +0 -2
  1327. package/dist/taro-components/p-fae28cc1.system.entry.js.map +0 -1
  1328. package/dist/taro-components/p-fb843ff2.system.entry.js +0 -2
  1329. package/dist/taro-components/p-fb843ff2.system.entry.js.map +0 -1
  1330. package/dist/taro-components/p-fc0fbcce.system.entry.js +0 -2
  1331. package/dist/taro-components/p-fc0fbcce.system.entry.js.map +0 -1
  1332. package/dist/taro-components/p-ffc44634.entry.js +0 -2
  1333. package/dist/taro-components/p-ffc44634.entry.js.map +0 -1
  1334. package/dist/vue2/component-lib/components.js +0 -71
  1335. package/dist/vue2/component-lib/createComponent.js +0 -21
  1336. package/dist/vue2/component-lib/createFormsComponent.js +0 -53
  1337. package/dist/vue2/component-lib/icon.js +0 -19
  1338. package/dist/vue2/component-lib/image.js +0 -20
  1339. package/dist/vue2/component-lib/index.js +0 -28
  1340. package/dist/vue2/component-lib/mixins/listeners.js +0 -14
  1341. package/dist/vue2/component-lib/mixins/refs.js +0 -44
  1342. package/dist/vue2/component-lib/picker.js +0 -40
  1343. package/dist/vue2/component-lib/scroll-view.js +0 -32
  1344. package/dist/vue2/component-lib/text.js +0 -20
  1345. package/dist/vue2/components.js +0 -542
  1346. package/dist/vue2/index.js +0 -22
  1347. package/dist/vue2/vue-component-lib/utils.js +0 -40
  1348. package/dist/vue3/component-lib/createComponent.js +0 -23
  1349. package/dist/vue3/component-lib/createFormsComponent.js +0 -43
  1350. package/dist/vue3/component-lib/forwardRef.js +0 -9
  1351. package/dist/vue3/component-lib/icon.js +0 -21
  1352. package/dist/vue3/component-lib/image.js +0 -22
  1353. package/dist/vue3/component-lib/index.js +0 -76
  1354. package/dist/vue3/component-lib/scroll-view.js +0 -28
  1355. package/dist/vue3/component-lib/text.js +0 -22
  1356. package/dist/vue3/components.js +0 -80
  1357. package/dist/vue3/index.js +0 -17
  1358. package/dist/vue3/vue-component-lib/utils.js +0 -175
@@ -0,0 +1,2037 @@
1
+ const NAMESPACE = 'taro-components';
2
+
3
+ /**
4
+ * Virtual DOM patching algorithm based on Snabbdom by
5
+ * Simon Friis Vindum (@paldepind)
6
+ * Licensed under the MIT License
7
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
8
+ *
9
+ * Modified for Stencil's renderer and slot projection
10
+ */
11
+ let contentRef;
12
+ let hostTagName;
13
+ let useNativeShadowDom = false;
14
+ let checkSlotFallbackVisibility = false;
15
+ let checkSlotRelocate = false;
16
+ let isSvgMode = false;
17
+ let queuePending = false;
18
+ const createTime = (fnName, tagName = '') => {
19
+ {
20
+ return () => {
21
+ return;
22
+ };
23
+ }
24
+ };
25
+ const uniqueTime = (key, measureText) => {
26
+ {
27
+ return () => {
28
+ return;
29
+ };
30
+ }
31
+ };
32
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
33
+ const XLINK_NS = 'http://www.w3.org/1999/xlink';
34
+ /**
35
+ * Default style mode id
36
+ */
37
+ /**
38
+ * Reusable empty obj/array
39
+ * Don't add values to these!!
40
+ */
41
+ const EMPTY_OBJ = {};
42
+ const isComplexType = (o) => {
43
+ // https://jsperf.com/typeof-fn-object/5
44
+ o = typeof o;
45
+ return o === 'object' || o === 'function';
46
+ };
47
+ /**
48
+ * Helper method for querying a `meta` tag that contains a nonce value
49
+ * out of a DOM's head.
50
+ *
51
+ * @param doc The DOM containing the `head` to query against
52
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
53
+ * exists or the tag has no content.
54
+ */
55
+ function queryNonceMetaTagContent(doc) {
56
+ var _a, _b, _c;
57
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
58
+ }
59
+ /**
60
+ * Production h() function based on Preact by
61
+ * Jason Miller (@developit)
62
+ * Licensed under the MIT License
63
+ * https://github.com/developit/preact/blob/master/LICENSE
64
+ *
65
+ * Modified for Stencil's compiler and vdom
66
+ */
67
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
68
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
69
+ const h = (nodeName, vnodeData, ...children) => {
70
+ let child = null;
71
+ let key = null;
72
+ let slotName = null;
73
+ let simple = false;
74
+ let lastSimple = false;
75
+ const vNodeChildren = [];
76
+ const walk = (c) => {
77
+ for (let i = 0; i < c.length; i++) {
78
+ child = c[i];
79
+ if (Array.isArray(child)) {
80
+ walk(child);
81
+ }
82
+ else if (child != null && typeof child !== 'boolean') {
83
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
84
+ child = String(child);
85
+ }
86
+ if (simple && lastSimple) {
87
+ // If the previous child was simple (string), we merge both
88
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
89
+ }
90
+ else {
91
+ // Append a new vNode, if it's text, we create a text vNode
92
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
93
+ }
94
+ lastSimple = simple;
95
+ }
96
+ }
97
+ };
98
+ walk(children);
99
+ if (vnodeData) {
100
+ // normalize class / classname attributes
101
+ if (vnodeData.key) {
102
+ key = vnodeData.key;
103
+ }
104
+ if (vnodeData.name) {
105
+ slotName = vnodeData.name;
106
+ }
107
+ {
108
+ const classData = vnodeData.className || vnodeData.class;
109
+ if (classData) {
110
+ vnodeData.class =
111
+ typeof classData !== 'object'
112
+ ? classData
113
+ : Object.keys(classData)
114
+ .filter((k) => classData[k])
115
+ .join(' ');
116
+ }
117
+ }
118
+ }
119
+ if (typeof nodeName === 'function') {
120
+ // nodeName is a functional component
121
+ return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
122
+ }
123
+ const vnode = newVNode(nodeName, null);
124
+ vnode.$attrs$ = vnodeData;
125
+ if (vNodeChildren.length > 0) {
126
+ vnode.$children$ = vNodeChildren;
127
+ }
128
+ {
129
+ vnode.$key$ = key;
130
+ }
131
+ {
132
+ vnode.$name$ = slotName;
133
+ }
134
+ return vnode;
135
+ };
136
+ /**
137
+ * A utility function for creating a virtual DOM node from a tag and some
138
+ * possible text content.
139
+ *
140
+ * @param tag the tag for this element
141
+ * @param text possible text content for the node
142
+ * @returns a newly-minted virtual DOM node
143
+ */
144
+ const newVNode = (tag, text) => {
145
+ const vnode = {
146
+ $flags$: 0,
147
+ $tag$: tag,
148
+ $text$: text,
149
+ $elm$: null,
150
+ $children$: null,
151
+ };
152
+ {
153
+ vnode.$attrs$ = null;
154
+ }
155
+ {
156
+ vnode.$key$ = null;
157
+ }
158
+ {
159
+ vnode.$name$ = null;
160
+ }
161
+ return vnode;
162
+ };
163
+ const Host = {};
164
+ /**
165
+ * Check whether a given node is a Host node or not
166
+ *
167
+ * @param node the virtual DOM node to check
168
+ * @returns whether it's a Host node or not
169
+ */
170
+ const isHost = (node) => node && node.$tag$ === Host;
171
+ /**
172
+ * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
173
+ *
174
+ * Note that these functions convert from {@link d.VNode} to
175
+ * {@link d.ChildNode} to give functional component developers a friendly
176
+ * interface.
177
+ */
178
+ const vdomFnUtils = {
179
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
180
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
181
+ };
182
+ /**
183
+ * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
184
+ * friendlier public interface (hence, 'convertToPublic').
185
+ *
186
+ * @param node the virtual DOM node to convert
187
+ * @returns a converted child node
188
+ */
189
+ const convertToPublic = (node) => ({
190
+ vattrs: node.$attrs$,
191
+ vchildren: node.$children$,
192
+ vkey: node.$key$,
193
+ vname: node.$name$,
194
+ vtag: node.$tag$,
195
+ vtext: node.$text$,
196
+ });
197
+ /**
198
+ * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
199
+ * order to use the resulting object in the virtual DOM. The initial object was
200
+ * likely created as part of presenting a public API, so converting it back
201
+ * involved making it 'private' again (hence, `convertToPrivate`).
202
+ *
203
+ * @param node the child node to convert
204
+ * @returns a converted virtual DOM node
205
+ */
206
+ const convertToPrivate = (node) => {
207
+ if (typeof node.vtag === 'function') {
208
+ const vnodeData = Object.assign({}, node.vattrs);
209
+ if (node.vkey) {
210
+ vnodeData.key = node.vkey;
211
+ }
212
+ if (node.vname) {
213
+ vnodeData.name = node.vname;
214
+ }
215
+ return h(node.vtag, vnodeData, ...(node.vchildren || []));
216
+ }
217
+ const vnode = newVNode(node.vtag, node.vtext);
218
+ vnode.$attrs$ = node.vattrs;
219
+ vnode.$children$ = node.vchildren;
220
+ vnode.$key$ = node.vkey;
221
+ vnode.$name$ = node.vname;
222
+ return vnode;
223
+ };
224
+ /**
225
+ * Parse a new property value for a given property type.
226
+ *
227
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
228
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
229
+ * 1. `any`, the type given to `propValue` in the function signature
230
+ * 2. the type stored from `propType`.
231
+ *
232
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
233
+ *
234
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
235
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
236
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
237
+ * ```tsx
238
+ * <my-cmp prop-val={0}></my-cmp>
239
+ * ```
240
+ *
241
+ * HTML prop values on the other hand, will always a string
242
+ *
243
+ * @param propValue the new value to coerce to some type
244
+ * @param propType the type of the prop, expressed as a binary number
245
+ * @returns the parsed/coerced value
246
+ */
247
+ const parsePropertyValue = (propValue, propType) => {
248
+ // ensure this value is of the correct prop type
249
+ if (propValue != null && !isComplexType(propValue)) {
250
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
251
+ // per the HTML spec, any string value means it is a boolean true value
252
+ // but we'll cheat here and say that the string "false" is the boolean false
253
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
254
+ }
255
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
256
+ // force it to be a number
257
+ return parseFloat(propValue);
258
+ }
259
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
260
+ // could have been passed as a number or boolean
261
+ // but we still want it as a string
262
+ return String(propValue);
263
+ }
264
+ // redundant return here for better minification
265
+ return propValue;
266
+ }
267
+ // not sure exactly what type we want
268
+ // so no need to change to a different type
269
+ return propValue;
270
+ };
271
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
272
+ const createEvent = (ref, name, flags) => {
273
+ const elm = getElement(ref);
274
+ return {
275
+ emit: (detail) => {
276
+ return emitEvent(elm, name, {
277
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
278
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
279
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
280
+ detail,
281
+ });
282
+ },
283
+ };
284
+ };
285
+ /**
286
+ * Helper function to create & dispatch a custom Event on a provided target
287
+ * @param elm the target of the Event
288
+ * @param name the name to give the custom Event
289
+ * @param opts options for configuring a custom Event
290
+ * @returns the custom Event
291
+ */
292
+ const emitEvent = (elm, name, opts) => {
293
+ const ev = plt.ce(name, opts);
294
+ elm.dispatchEvent(ev);
295
+ return ev;
296
+ };
297
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
298
+ const registerStyle = (scopeId, cssText, allowCS) => {
299
+ let style = styles.get(scopeId);
300
+ if (supportsConstructableStylesheets && allowCS) {
301
+ style = (style || new CSSStyleSheet());
302
+ if (typeof style === 'string') {
303
+ style = cssText;
304
+ }
305
+ else {
306
+ style.replaceSync(cssText);
307
+ }
308
+ }
309
+ else {
310
+ style = cssText;
311
+ }
312
+ styles.set(scopeId, style);
313
+ };
314
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
315
+ var _a;
316
+ let scopeId = getScopeId(cmpMeta);
317
+ const style = styles.get(scopeId);
318
+ // if an element is NOT connected then getRootNode() will return the wrong root node
319
+ // so the fallback is to always use the document for the root node in those cases
320
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
321
+ if (style) {
322
+ if (typeof style === 'string') {
323
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
324
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
325
+ let styleElm;
326
+ if (!appliedStyles) {
327
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
328
+ }
329
+ if (!appliedStyles.has(scopeId)) {
330
+ {
331
+ {
332
+ styleElm = doc.createElement('style');
333
+ styleElm.innerHTML = style;
334
+ }
335
+ // Apply CSP nonce to the style tag if it exists
336
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
337
+ if (nonce != null) {
338
+ styleElm.setAttribute('nonce', nonce);
339
+ }
340
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
341
+ }
342
+ if (appliedStyles) {
343
+ appliedStyles.add(scopeId);
344
+ }
345
+ }
346
+ }
347
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
348
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
349
+ }
350
+ }
351
+ return scopeId;
352
+ };
353
+ const attachStyles = (hostRef) => {
354
+ const cmpMeta = hostRef.$cmpMeta$;
355
+ const elm = hostRef.$hostElement$;
356
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
357
+ addStyle(elm.getRootNode(), cmpMeta);
358
+ endAttachStyles();
359
+ };
360
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
361
+ /**
362
+ * Production setAccessor() function based on Preact by
363
+ * Jason Miller (@developit)
364
+ * Licensed under the MIT License
365
+ * https://github.com/developit/preact/blob/master/LICENSE
366
+ *
367
+ * Modified for Stencil's compiler and vdom
368
+ */
369
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
370
+ if (oldValue !== newValue) {
371
+ let isProp = isMemberInElement(elm, memberName);
372
+ let ln = memberName.toLowerCase();
373
+ if (memberName === 'class') {
374
+ const classList = elm.classList;
375
+ const oldClasses = parseClassList(oldValue);
376
+ const newClasses = parseClassList(newValue);
377
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
378
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
379
+ }
380
+ else if (memberName === 'style') {
381
+ // update style attribute, css properties and values
382
+ {
383
+ for (const prop in oldValue) {
384
+ if (!newValue || newValue[prop] == null) {
385
+ if (prop.includes('-')) {
386
+ elm.style.removeProperty(prop);
387
+ }
388
+ else {
389
+ elm.style[prop] = '';
390
+ }
391
+ }
392
+ }
393
+ }
394
+ for (const prop in newValue) {
395
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
396
+ if (prop.includes('-')) {
397
+ elm.style.setProperty(prop, newValue[prop]);
398
+ }
399
+ else {
400
+ elm.style[prop] = newValue[prop];
401
+ }
402
+ }
403
+ }
404
+ }
405
+ else if (memberName === 'key')
406
+ ;
407
+ else if (memberName === 'ref') {
408
+ // minifier will clean this up
409
+ if (newValue) {
410
+ newValue(elm);
411
+ }
412
+ }
413
+ else if ((!isProp ) &&
414
+ memberName[0] === 'o' &&
415
+ memberName[1] === 'n') {
416
+ // Event Handlers
417
+ // so if the member name starts with "on" and the 3rd characters is
418
+ // a capital letter, and it's not already a member on the element,
419
+ // then we're assuming it's an event listener
420
+ if (memberName[2] === '-') {
421
+ // on- prefixed events
422
+ // allows to be explicit about the dom event to listen without any magic
423
+ // under the hood:
424
+ // <my-cmp on-click> // listens for "click"
425
+ // <my-cmp on-Click> // listens for "Click"
426
+ // <my-cmp on-ionChange> // listens for "ionChange"
427
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
428
+ memberName = memberName.slice(3);
429
+ }
430
+ else if (isMemberInElement(win, ln)) {
431
+ // standard event
432
+ // the JSX attribute could have been "onMouseOver" and the
433
+ // member name "onmouseover" is on the window's prototype
434
+ // so let's add the listener "mouseover", which is all lowercased
435
+ memberName = ln.slice(2);
436
+ }
437
+ else {
438
+ // custom event
439
+ // the JSX attribute could have been "onMyCustomEvent"
440
+ // so let's trim off the "on" prefix and lowercase the first character
441
+ // and add the listener "myCustomEvent"
442
+ // except for the first character, we keep the event name case
443
+ memberName = ln[2] + memberName.slice(3);
444
+ }
445
+ if (oldValue) {
446
+ plt.rel(elm, memberName, oldValue, false);
447
+ }
448
+ if (newValue) {
449
+ plt.ael(elm, memberName, newValue, false);
450
+ }
451
+ }
452
+ else {
453
+ // Set property if it exists and it's not a SVG
454
+ const isComplex = isComplexType(newValue);
455
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
456
+ try {
457
+ if (!elm.tagName.includes('-')) {
458
+ const n = newValue == null ? '' : newValue;
459
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
460
+ if (memberName === 'list') {
461
+ isProp = false;
462
+ }
463
+ else if (oldValue == null || elm[memberName] != n) {
464
+ elm[memberName] = n;
465
+ }
466
+ }
467
+ else {
468
+ elm[memberName] = newValue;
469
+ }
470
+ }
471
+ catch (e) { }
472
+ }
473
+ /**
474
+ * Need to manually update attribute if:
475
+ * - memberName is not an attribute
476
+ * - if we are rendering the host element in order to reflect attribute
477
+ * - if it's a SVG, since properties might not work in <svg>
478
+ * - if the newValue is null/undefined or 'false'.
479
+ */
480
+ let xlink = false;
481
+ {
482
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
483
+ memberName = ln;
484
+ xlink = true;
485
+ }
486
+ }
487
+ if (newValue == null || newValue === false) {
488
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
489
+ if (xlink) {
490
+ elm.removeAttributeNS(XLINK_NS, memberName);
491
+ }
492
+ else {
493
+ elm.removeAttribute(memberName);
494
+ }
495
+ }
496
+ }
497
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
498
+ newValue = newValue === true ? '' : newValue;
499
+ if (xlink) {
500
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
501
+ }
502
+ else {
503
+ elm.setAttribute(memberName, newValue);
504
+ }
505
+ }
506
+ }
507
+ }
508
+ };
509
+ const parseClassListRegex = /\s/;
510
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
511
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
512
+ // if the element passed in is a shadow root, which is a document fragment
513
+ // then we want to be adding attrs/props to the shadow root's "host" element
514
+ // if it's not a shadow root, then we add attrs/props to the same element
515
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
516
+ ? newVnode.$elm$.host
517
+ : newVnode.$elm$;
518
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
519
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
520
+ {
521
+ // remove attributes no longer present on the vnode by setting them to undefined
522
+ for (memberName in oldVnodeAttrs) {
523
+ if (!(memberName in newVnodeAttrs)) {
524
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
525
+ }
526
+ }
527
+ }
528
+ // add new & update changed attributes
529
+ for (memberName in newVnodeAttrs) {
530
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
531
+ }
532
+ };
533
+ /**
534
+ * Create a DOM Node corresponding to one of the children of a given VNode.
535
+ *
536
+ * @param oldParentVNode the parent VNode from the previous render
537
+ * @param newParentVNode the parent VNode from the current render
538
+ * @param childIndex the index of the VNode, in the _new_ parent node's
539
+ * children, for which we will create a new DOM node
540
+ * @param parentElm the parent DOM node which our new node will be a child of
541
+ * @returns the newly created node
542
+ */
543
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
544
+ // tslint:disable-next-line: prefer-const
545
+ const newVNode = newParentVNode.$children$[childIndex];
546
+ let i = 0;
547
+ let elm;
548
+ let childNode;
549
+ let oldVNode;
550
+ if (!useNativeShadowDom) {
551
+ // remember for later we need to check to relocate nodes
552
+ checkSlotRelocate = true;
553
+ if (newVNode.$tag$ === 'slot') {
554
+ newVNode.$flags$ |= newVNode.$children$
555
+ ? // slot element has fallback content
556
+ 2 /* VNODE_FLAGS.isSlotFallback */
557
+ : // slot element does not have fallback content
558
+ 1 /* VNODE_FLAGS.isSlotReference */;
559
+ }
560
+ }
561
+ if (newVNode.$text$ !== null) {
562
+ // create text node
563
+ elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
564
+ }
565
+ else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
566
+ // create a slot reference node
567
+ elm = newVNode.$elm$ =
568
+ doc.createTextNode('');
569
+ }
570
+ else {
571
+ // create element
572
+ elm = newVNode.$elm$ = (doc.createElement(newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
573
+ ? 'slot-fb'
574
+ : newVNode.$tag$));
575
+ // add css classes, attrs, props, listeners, etc.
576
+ {
577
+ updateElement(null, newVNode, isSvgMode);
578
+ }
579
+ if (newVNode.$children$) {
580
+ for (i = 0; i < newVNode.$children$.length; ++i) {
581
+ // create the node
582
+ childNode = createElm(oldParentVNode, newVNode, i);
583
+ // return node could have been null
584
+ if (childNode) {
585
+ // append our new node
586
+ elm.appendChild(childNode);
587
+ }
588
+ }
589
+ }
590
+ }
591
+ {
592
+ elm['s-hn'] = hostTagName;
593
+ if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
594
+ // remember the content reference comment
595
+ elm['s-sr'] = true;
596
+ // remember the content reference comment
597
+ elm['s-cr'] = contentRef;
598
+ // remember the slot name, or empty string for default slot
599
+ elm['s-sn'] = newVNode.$name$ || '';
600
+ // check if we've got an old vnode for this slot
601
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
602
+ if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
603
+ // we've got an old slot vnode and the wrapper is being replaced
604
+ // so let's move the old slot content back to it's original location
605
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
606
+ }
607
+ }
608
+ }
609
+ return elm;
610
+ };
611
+ const putBackInOriginalLocation = (parentElm, recursive) => {
612
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
613
+ const oldSlotChildNodes = parentElm.childNodes;
614
+ for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
615
+ const childNode = oldSlotChildNodes[i];
616
+ if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
617
+ // // this child node in the old element is from another component
618
+ // // remove this node from the old slot's parent
619
+ // childNode.remove();
620
+ // and relocate it back to it's original location
621
+ parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
622
+ // remove the old original location comment entirely
623
+ // later on the patch function will know what to do
624
+ // and move this to the correct spot in need be
625
+ childNode['s-ol'].remove();
626
+ childNode['s-ol'] = undefined;
627
+ checkSlotRelocate = true;
628
+ }
629
+ if (recursive) {
630
+ putBackInOriginalLocation(childNode, recursive);
631
+ }
632
+ }
633
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
634
+ };
635
+ /**
636
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
637
+ * add them to the DOM in the appropriate place.
638
+ *
639
+ * @param parentElm the DOM node which should be used as a parent for the new
640
+ * DOM nodes
641
+ * @param before a child of the `parentElm` which the new children should be
642
+ * inserted before (optional)
643
+ * @param parentVNode the parent virtual DOM node
644
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
645
+ * @param startIdx the index in the child virtual DOM nodes at which to start
646
+ * creating DOM nodes (inclusive)
647
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
648
+ * creating DOM nodes (inclusive)
649
+ */
650
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
651
+ let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
652
+ let childNode;
653
+ for (; startIdx <= endIdx; ++startIdx) {
654
+ if (vnodes[startIdx]) {
655
+ childNode = createElm(null, parentVNode, startIdx);
656
+ if (childNode) {
657
+ vnodes[startIdx].$elm$ = childNode;
658
+ containerElm.insertBefore(childNode, referenceNode(before) );
659
+ }
660
+ }
661
+ }
662
+ };
663
+ /**
664
+ * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
665
+ * This can be used to, for instance, clean up after a list of children which
666
+ * should no longer be shown.
667
+ *
668
+ * This function also handles some of Stencil's slot relocation logic.
669
+ *
670
+ * @param vnodes a list of virtual DOM nodes to remove
671
+ * @param startIdx the index at which to start removing nodes (inclusive)
672
+ * @param endIdx the index at which to stop removing nodes (inclusive)
673
+ * @param vnode a VNode
674
+ * @param elm an element
675
+ */
676
+ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
677
+ for (; startIdx <= endIdx; ++startIdx) {
678
+ if ((vnode = vnodes[startIdx])) {
679
+ elm = vnode.$elm$;
680
+ callNodeRefs(vnode);
681
+ {
682
+ // we're removing this element
683
+ // so it's possible we need to show slot fallback content now
684
+ checkSlotFallbackVisibility = true;
685
+ if (elm['s-ol']) {
686
+ // remove the original location comment
687
+ elm['s-ol'].remove();
688
+ }
689
+ else {
690
+ // it's possible that child nodes of the node
691
+ // that's being removed are slot nodes
692
+ putBackInOriginalLocation(elm, true);
693
+ }
694
+ }
695
+ // remove the vnode's element from the dom
696
+ elm.remove();
697
+ }
698
+ }
699
+ };
700
+ /**
701
+ * Reconcile the children of a new VNode with the children of an old VNode by
702
+ * traversing the two collections of children, identifying nodes that are
703
+ * conserved or changed, calling out to `patch` to make any necessary
704
+ * updates to the DOM, and rearranging DOM nodes as needed.
705
+ *
706
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
707
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
708
+ * 'windows' by storing start and end indices and references to the
709
+ * corresponding array entries. Initially the two 'windows' are basically equal
710
+ * to the entire array, but we progressively narrow the windows until there are
711
+ * no children left to update by doing the following:
712
+ *
713
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
714
+ * that if we have an initial array like the following we'll end up dealing
715
+ * only with a window bounded by the highlighted elements:
716
+ *
717
+ * [null, null, VNode1 , ... , VNode2, null, null]
718
+ * ^^^^^^ ^^^^^^
719
+ *
720
+ * 2. Check to see if the elements at the head and tail positions are equal
721
+ * across the windows. This will basically detect elements which haven't
722
+ * been added, removed, or changed position, i.e. if you had the following
723
+ * VNode elements (represented as HTML):
724
+ *
725
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
726
+ * newVNode: `<div><p><span>THERE</span></p></div>`
727
+ *
728
+ * Then when comparing the children of the `<div>` tag we check the equality
729
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
730
+ * same tag in the same position, we'd be able to avoid completely
731
+ * re-rendering the subtree under them with a new DOM element and would just
732
+ * call out to `patch` to handle reconciling their children and so on.
733
+ *
734
+ * 3. Check, for both windows, to see if the element at the beginning of the
735
+ * window corresponds to the element at the end of the other window. This is
736
+ * a heuristic which will let us identify _some_ situations in which
737
+ * elements have changed position, for instance it _should_ detect that the
738
+ * children nodes themselves have not changed but merely moved in the
739
+ * following example:
740
+ *
741
+ * oldVNode: `<div><element-one /><element-two /></div>`
742
+ * newVNode: `<div><element-two /><element-one /></div>`
743
+ *
744
+ * If we find cases like this then we also need to move the concrete DOM
745
+ * elements corresponding to the moved children to write the re-order to the
746
+ * DOM.
747
+ *
748
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
749
+ * nodes in the old children which have the same key as the first element in
750
+ * our window on the new children. If we find such a node we handle calling
751
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
752
+ * what we find.
753
+ *
754
+ * Finally, once we've narrowed our 'windows' to the point that either of them
755
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
756
+ * insertion or deletion that needs to happen to get a DOM state that correctly
757
+ * reflects the new child VNodes. If, for instance, after our window on the old
758
+ * children has collapsed we still have more nodes on the new children that
759
+ * we haven't dealt with yet then we need to add them, or if the new children
760
+ * collapse but we still have unhandled _old_ children then we need to make
761
+ * sure the corresponding DOM nodes are removed.
762
+ *
763
+ * @param parentElm the node into which the parent VNode is rendered
764
+ * @param oldCh the old children of the parent node
765
+ * @param newVNode the new VNode which will replace the parent
766
+ * @param newCh the new children of the parent node
767
+ */
768
+ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
769
+ let oldStartIdx = 0;
770
+ let newStartIdx = 0;
771
+ let idxInOld = 0;
772
+ let i = 0;
773
+ let oldEndIdx = oldCh.length - 1;
774
+ let oldStartVnode = oldCh[0];
775
+ let oldEndVnode = oldCh[oldEndIdx];
776
+ let newEndIdx = newCh.length - 1;
777
+ let newStartVnode = newCh[0];
778
+ let newEndVnode = newCh[newEndIdx];
779
+ let node;
780
+ let elmToMove;
781
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
782
+ if (oldStartVnode == null) {
783
+ // VNode might have been moved left
784
+ oldStartVnode = oldCh[++oldStartIdx];
785
+ }
786
+ else if (oldEndVnode == null) {
787
+ oldEndVnode = oldCh[--oldEndIdx];
788
+ }
789
+ else if (newStartVnode == null) {
790
+ newStartVnode = newCh[++newStartIdx];
791
+ }
792
+ else if (newEndVnode == null) {
793
+ newEndVnode = newCh[--newEndIdx];
794
+ }
795
+ else if (isSameVnode(oldStartVnode, newStartVnode)) {
796
+ // if the start nodes are the same then we should patch the new VNode
797
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
798
+ // indices to reflect that. We don't need to move any DOM Nodes around
799
+ // since things are matched up in order.
800
+ patch(oldStartVnode, newStartVnode);
801
+ oldStartVnode = oldCh[++oldStartIdx];
802
+ newStartVnode = newCh[++newStartIdx];
803
+ }
804
+ else if (isSameVnode(oldEndVnode, newEndVnode)) {
805
+ // likewise, if the end nodes are the same we patch new onto old and
806
+ // decrement our end indices, and also likewise in this case we don't
807
+ // need to move any DOM Nodes.
808
+ patch(oldEndVnode, newEndVnode);
809
+ oldEndVnode = oldCh[--oldEndIdx];
810
+ newEndVnode = newCh[--newEndIdx];
811
+ }
812
+ else if (isSameVnode(oldStartVnode, newEndVnode)) {
813
+ // case: "Vnode moved right"
814
+ //
815
+ // We've found that the last node in our window on the new children is
816
+ // the same VNode as the _first_ node in our window on the old children
817
+ // we're dealing with now. Visually, this is the layout of these two
818
+ // nodes:
819
+ //
820
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
821
+ // ^^^^^^^^^^^
822
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
823
+ // ^^^^^^^^^^^^^
824
+ //
825
+ // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
826
+ // and move the DOM element for `oldStartVnode`.
827
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
828
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
829
+ }
830
+ patch(oldStartVnode, newEndVnode);
831
+ // We need to move the element for `oldStartVnode` into a position which
832
+ // will be appropriate for `newEndVnode`. For this we can use
833
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
834
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
835
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
836
+ //
837
+ // <old-start-node />
838
+ // <some-intervening-node />
839
+ // <old-end-node />
840
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
841
+ // <next-sibling />
842
+ //
843
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
844
+ // the node for `oldStartVnode` at the end of the children of
845
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
846
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
847
+ // append it to the children of the parent element.
848
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
849
+ oldStartVnode = oldCh[++oldStartIdx];
850
+ newEndVnode = newCh[--newEndIdx];
851
+ }
852
+ else if (isSameVnode(oldEndVnode, newStartVnode)) {
853
+ // case: "Vnode moved left"
854
+ //
855
+ // We've found that the first node in our window on the new children is
856
+ // the same VNode as the _last_ node in our window on the old children.
857
+ // Visually, this is the layout of these two nodes:
858
+ //
859
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
860
+ // ^^^^^^^^^^^^^
861
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
862
+ // ^^^^^^^^^^^
863
+ //
864
+ // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
865
+ // (which will handle updating any changed attributes, reconciling their
866
+ // children etc) but we also need to move the DOM node to which
867
+ // `oldEndVnode` corresponds.
868
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
869
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
870
+ }
871
+ patch(oldEndVnode, newStartVnode);
872
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
873
+ // the same node, so since we're here we know that they are not. Thus we
874
+ // can move the element for `oldEndVnode` _before_ the element for
875
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
876
+ // future.
877
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
878
+ oldEndVnode = oldCh[--oldEndIdx];
879
+ newStartVnode = newCh[++newStartIdx];
880
+ }
881
+ else {
882
+ // Here we do some checks to match up old and new nodes based on the
883
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
884
+ // in the JSX for a DOM element in the implementation of a Stencil
885
+ // component.
886
+ //
887
+ // First we check to see if there are any nodes in the array of old
888
+ // children which have the same key as the first node in the new
889
+ // children.
890
+ idxInOld = -1;
891
+ {
892
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
893
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
894
+ idxInOld = i;
895
+ break;
896
+ }
897
+ }
898
+ }
899
+ if (idxInOld >= 0) {
900
+ // We found a node in the old children which matches up with the first
901
+ // node in the new children! So let's deal with that
902
+ elmToMove = oldCh[idxInOld];
903
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
904
+ // the tag doesn't match so we'll need a new DOM element
905
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld);
906
+ }
907
+ else {
908
+ patch(elmToMove, newStartVnode);
909
+ // invalidate the matching old node so that we won't try to update it
910
+ // again later on
911
+ oldCh[idxInOld] = undefined;
912
+ node = elmToMove.$elm$;
913
+ }
914
+ newStartVnode = newCh[++newStartIdx];
915
+ }
916
+ else {
917
+ // We either didn't find an element in the old children that matches
918
+ // the key of the first new child OR the build is not using `key`
919
+ // attributes at all. In either case we need to create a new element
920
+ // for the new node.
921
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
922
+ newStartVnode = newCh[++newStartIdx];
923
+ }
924
+ if (node) {
925
+ // if we created a new node then handle inserting it to the DOM
926
+ {
927
+ parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
928
+ }
929
+ }
930
+ }
931
+ }
932
+ if (oldStartIdx > oldEndIdx) {
933
+ // we have some more new nodes to add which don't match up with old nodes
934
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
935
+ }
936
+ else if (newStartIdx > newEndIdx) {
937
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
938
+ // in the new array, so lets remove them (which entails cleaning up the
939
+ // relevant DOM nodes)
940
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
941
+ }
942
+ };
943
+ /**
944
+ * Compare two VNodes to determine if they are the same
945
+ *
946
+ * **NB**: This function is an equality _heuristic_ based on the available
947
+ * information set on the two VNodes and can be misleading under certain
948
+ * circumstances. In particular, if the two nodes do not have `key` attrs
949
+ * (available under `$key$` on VNodes) then the function falls back on merely
950
+ * checking that they have the same tag.
951
+ *
952
+ * So, in other words, if `key` attrs are not set on VNodes which may be
953
+ * changing order within a `children` array or something along those lines then
954
+ * we could obtain a false negative and then have to do needless re-rendering
955
+ * (i.e. we'd say two VNodes aren't equal when in fact they should be).
956
+ *
957
+ * @param leftVNode the first VNode to check
958
+ * @param rightVNode the second VNode to check
959
+ * @returns whether they're equal or not
960
+ */
961
+ const isSameVnode = (leftVNode, rightVNode) => {
962
+ // compare if two vnode to see if they're "technically" the same
963
+ // need to have the same element tag, and same key to be the same
964
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
965
+ if (leftVNode.$tag$ === 'slot') {
966
+ return leftVNode.$name$ === rightVNode.$name$;
967
+ }
968
+ // this will be set if components in the build have `key` attrs set on them
969
+ {
970
+ return leftVNode.$key$ === rightVNode.$key$;
971
+ }
972
+ }
973
+ return false;
974
+ };
975
+ const referenceNode = (node) => {
976
+ // this node was relocated to a new location in the dom
977
+ // because of some other component's slot
978
+ // but we still have an html comment in place of where
979
+ // it's original location was according to it's original vdom
980
+ return (node && node['s-ol']) || node;
981
+ };
982
+ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
983
+ /**
984
+ * Handle reconciling an outdated VNode with a new one which corresponds to
985
+ * it. This function handles flushing updates to the DOM and reconciling the
986
+ * children of the two nodes (if any).
987
+ *
988
+ * @param oldVNode an old VNode whose DOM element and children we want to update
989
+ * @param newVNode a new VNode representing an updated version of the old one
990
+ */
991
+ const patch = (oldVNode, newVNode) => {
992
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
993
+ const oldChildren = oldVNode.$children$;
994
+ const newChildren = newVNode.$children$;
995
+ const tag = newVNode.$tag$;
996
+ const text = newVNode.$text$;
997
+ let defaultHolder;
998
+ if (text === null) {
999
+ {
1000
+ if (tag === 'slot')
1001
+ ;
1002
+ else {
1003
+ // either this is the first render of an element OR it's an update
1004
+ // AND we already know it's possible it could have changed
1005
+ // this updates the element's css classes, attrs, props, listeners, etc.
1006
+ updateElement(oldVNode, newVNode, isSvgMode);
1007
+ }
1008
+ }
1009
+ if (oldChildren !== null && newChildren !== null) {
1010
+ // looks like there's child vnodes for both the old and new vnodes
1011
+ // so we need to call `updateChildren` to reconcile them
1012
+ updateChildren(elm, oldChildren, newVNode, newChildren);
1013
+ }
1014
+ else if (newChildren !== null) {
1015
+ // no old child vnodes, but there are new child vnodes to add
1016
+ if (oldVNode.$text$ !== null) {
1017
+ // the old vnode was text, so be sure to clear it out
1018
+ elm.textContent = '';
1019
+ }
1020
+ // add the new vnode children
1021
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
1022
+ }
1023
+ else if (oldChildren !== null) {
1024
+ // no new child vnodes, but there are old child vnodes to remove
1025
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1026
+ }
1027
+ }
1028
+ else if ((defaultHolder = elm['s-cr'])) {
1029
+ // this element has slotted content
1030
+ defaultHolder.parentNode.textContent = text;
1031
+ }
1032
+ else if (oldVNode.$text$ !== text) {
1033
+ // update the text content for the text only vnode
1034
+ // and also only if the text is different than before
1035
+ elm.data = text;
1036
+ }
1037
+ };
1038
+ const updateFallbackSlotVisibility = (elm) => {
1039
+ // tslint:disable-next-line: prefer-const
1040
+ const childNodes = elm.childNodes;
1041
+ let childNode;
1042
+ let i;
1043
+ let ilen;
1044
+ let j;
1045
+ let slotNameAttr;
1046
+ let nodeType;
1047
+ for (i = 0, ilen = childNodes.length; i < ilen; i++) {
1048
+ childNode = childNodes[i];
1049
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1050
+ if (childNode['s-sr']) {
1051
+ // this is a slot fallback node
1052
+ // get the slot name for this slot reference node
1053
+ slotNameAttr = childNode['s-sn'];
1054
+ // by default always show a fallback slot node
1055
+ // then hide it if there are other slots in the light dom
1056
+ childNode.hidden = false;
1057
+ for (j = 0; j < ilen; j++) {
1058
+ nodeType = childNodes[j].nodeType;
1059
+ if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
1060
+ // this sibling node is from a different component OR is a named fallback slot node
1061
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1062
+ childNode.hidden = true;
1063
+ break;
1064
+ }
1065
+ }
1066
+ else {
1067
+ // this is a default fallback slot node
1068
+ // any element or text node (with content)
1069
+ // should hide the default fallback slot node
1070
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1071
+ (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
1072
+ childNode.hidden = true;
1073
+ break;
1074
+ }
1075
+ }
1076
+ }
1077
+ }
1078
+ // keep drilling down
1079
+ updateFallbackSlotVisibility(childNode);
1080
+ }
1081
+ }
1082
+ };
1083
+ const relocateNodes = [];
1084
+ const relocateSlotContent = (elm) => {
1085
+ // tslint:disable-next-line: prefer-const
1086
+ let childNode;
1087
+ let node;
1088
+ let hostContentNodes;
1089
+ let slotNameAttr;
1090
+ let relocateNodeData;
1091
+ let j;
1092
+ let i = 0;
1093
+ const childNodes = elm.childNodes;
1094
+ const ilen = childNodes.length;
1095
+ for (; i < ilen; i++) {
1096
+ childNode = childNodes[i];
1097
+ if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
1098
+ // first got the content reference comment node
1099
+ // then we got it's parent, which is where all the host content is in now
1100
+ hostContentNodes = node.parentNode.childNodes;
1101
+ slotNameAttr = childNode['s-sn'];
1102
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1103
+ node = hostContentNodes[j];
1104
+ if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
1105
+ // let's do some relocating to its new home
1106
+ // but never relocate a content reference node
1107
+ // that is suppose to always represent the original content location
1108
+ if (isNodeLocatedInSlot(node, slotNameAttr)) {
1109
+ // it's possible we've already decided to relocate this node
1110
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1111
+ // made some changes to slots
1112
+ // let's make sure we also double check
1113
+ // fallbacks are correctly hidden or shown
1114
+ checkSlotFallbackVisibility = true;
1115
+ node['s-sn'] = node['s-sn'] || slotNameAttr;
1116
+ if (relocateNodeData) {
1117
+ // previously we never found a slot home for this node
1118
+ // but turns out we did, so let's remember it now
1119
+ relocateNodeData.$slotRefNode$ = childNode;
1120
+ }
1121
+ else {
1122
+ // add to our list of nodes to relocate
1123
+ relocateNodes.push({
1124
+ $slotRefNode$: childNode,
1125
+ $nodeToRelocate$: node,
1126
+ });
1127
+ }
1128
+ if (node['s-sr']) {
1129
+ relocateNodes.map((relocateNode) => {
1130
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
1131
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1132
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1133
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1134
+ }
1135
+ }
1136
+ });
1137
+ }
1138
+ }
1139
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1140
+ // so far this element does not have a slot home, not setting slotRefNode on purpose
1141
+ // if we never find a home for this element then we'll need to hide it
1142
+ relocateNodes.push({
1143
+ $nodeToRelocate$: node,
1144
+ });
1145
+ }
1146
+ }
1147
+ }
1148
+ }
1149
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1150
+ relocateSlotContent(childNode);
1151
+ }
1152
+ }
1153
+ };
1154
+ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1155
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1156
+ if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
1157
+ return true;
1158
+ }
1159
+ if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
1160
+ return true;
1161
+ }
1162
+ return false;
1163
+ }
1164
+ if (nodeToRelocate['s-sn'] === slotNameAttr) {
1165
+ return true;
1166
+ }
1167
+ return slotNameAttr === '';
1168
+ };
1169
+ const callNodeRefs = (vNode) => {
1170
+ {
1171
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1172
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
1173
+ }
1174
+ };
1175
+ /**
1176
+ * The main entry point for Stencil's virtual DOM-based rendering engine
1177
+ *
1178
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
1179
+ * function will handle creating a virtual DOM tree with a single root, patching
1180
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
1181
+ * relocation, and reflecting attributes.
1182
+ *
1183
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
1184
+ * the DOM node into which it should be rendered.
1185
+ * @param renderFnResults the virtual DOM nodes to be rendered
1186
+ */
1187
+ const renderVdom = (hostRef, renderFnResults) => {
1188
+ const hostElm = hostRef.$hostElement$;
1189
+ const cmpMeta = hostRef.$cmpMeta$;
1190
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1191
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1192
+ hostTagName = hostElm.tagName;
1193
+ if (cmpMeta.$attrsToReflect$) {
1194
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1195
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1196
+ }
1197
+ rootVnode.$tag$ = null;
1198
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1199
+ hostRef.$vnode$ = rootVnode;
1200
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm);
1201
+ {
1202
+ contentRef = hostElm['s-cr'];
1203
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1204
+ // always reset
1205
+ checkSlotFallbackVisibility = false;
1206
+ }
1207
+ // synchronous patch
1208
+ patch(oldVNode, rootVnode);
1209
+ {
1210
+ // while we're moving nodes around existing nodes, temporarily disable
1211
+ // the disconnectCallback from working
1212
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1213
+ if (checkSlotRelocate) {
1214
+ relocateSlotContent(rootVnode.$elm$);
1215
+ let relocateData;
1216
+ let nodeToRelocate;
1217
+ let orgLocationNode;
1218
+ let parentNodeRef;
1219
+ let insertBeforeNode;
1220
+ let refNode;
1221
+ let i = 0;
1222
+ for (; i < relocateNodes.length; i++) {
1223
+ relocateData = relocateNodes[i];
1224
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1225
+ if (!nodeToRelocate['s-ol']) {
1226
+ // add a reference node marking this node's original location
1227
+ // keep a reference to this node for later lookups
1228
+ orgLocationNode =
1229
+ doc.createTextNode('');
1230
+ orgLocationNode['s-nr'] = nodeToRelocate;
1231
+ nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
1232
+ }
1233
+ }
1234
+ for (i = 0; i < relocateNodes.length; i++) {
1235
+ relocateData = relocateNodes[i];
1236
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1237
+ if (relocateData.$slotRefNode$) {
1238
+ // by default we're just going to insert it directly
1239
+ // after the slot reference node
1240
+ parentNodeRef = relocateData.$slotRefNode$.parentNode;
1241
+ insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
1242
+ orgLocationNode = nodeToRelocate['s-ol'];
1243
+ while ((orgLocationNode = orgLocationNode.previousSibling)) {
1244
+ refNode = orgLocationNode['s-nr'];
1245
+ if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
1246
+ refNode = refNode.nextSibling;
1247
+ if (!refNode || !refNode['s-nr']) {
1248
+ insertBeforeNode = refNode;
1249
+ break;
1250
+ }
1251
+ }
1252
+ }
1253
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1254
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
1255
+ // we've checked that it's worth while to relocate
1256
+ // since that the node to relocate
1257
+ // has a different next sibling or parent relocated
1258
+ if (nodeToRelocate !== insertBeforeNode) {
1259
+ if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
1260
+ // probably a component in the index.html that doesn't have it's hostname set
1261
+ nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
1262
+ }
1263
+ // add it back to the dom but in its new home
1264
+ parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1265
+ }
1266
+ }
1267
+ }
1268
+ else {
1269
+ // this node doesn't have a slot home to go to, so let's hide it
1270
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1271
+ nodeToRelocate.hidden = true;
1272
+ }
1273
+ }
1274
+ }
1275
+ }
1276
+ if (checkSlotFallbackVisibility) {
1277
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1278
+ }
1279
+ // done moving nodes around
1280
+ // allow the disconnect callback to work again
1281
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1282
+ // always reset
1283
+ relocateNodes.length = 0;
1284
+ }
1285
+ };
1286
+ const attachToAncestor = (hostRef, ancestorComponent) => {
1287
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1288
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1289
+ }
1290
+ };
1291
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
1292
+ {
1293
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1294
+ }
1295
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1296
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1297
+ return;
1298
+ }
1299
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1300
+ // there is no ancestor component or the ancestor component
1301
+ // has already fired off its lifecycle update then
1302
+ // fire off the initial update
1303
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1304
+ return writeTask(dispatch) ;
1305
+ };
1306
+ const dispatchHooks = (hostRef, isInitialLoad) => {
1307
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1308
+ const instance = hostRef.$lazyInstance$ ;
1309
+ let promise;
1310
+ if (isInitialLoad) {
1311
+ {
1312
+ hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1313
+ if (hostRef.$queuedListeners$) {
1314
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1315
+ hostRef.$queuedListeners$ = null;
1316
+ }
1317
+ }
1318
+ {
1319
+ promise = safeCall(instance, 'componentWillLoad');
1320
+ }
1321
+ }
1322
+ else {
1323
+ {
1324
+ promise = safeCall(instance, 'componentWillUpdate');
1325
+ }
1326
+ }
1327
+ endSchedule();
1328
+ return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1329
+ };
1330
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1331
+ // updateComponent
1332
+ const elm = hostRef.$hostElement$;
1333
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1334
+ const rc = elm['s-rc'];
1335
+ if (isInitialLoad) {
1336
+ // DOM WRITE!
1337
+ attachStyles(hostRef);
1338
+ }
1339
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1340
+ {
1341
+ callRender(hostRef, instance);
1342
+ }
1343
+ if (rc) {
1344
+ // ok, so turns out there are some child host elements
1345
+ // waiting on this parent element to load
1346
+ // let's fire off all update callbacks waiting
1347
+ rc.map((cb) => cb());
1348
+ elm['s-rc'] = undefined;
1349
+ }
1350
+ endRender();
1351
+ endUpdate();
1352
+ {
1353
+ const childrenPromises = elm['s-p'];
1354
+ const postUpdate = () => postUpdateComponent(hostRef);
1355
+ if (childrenPromises.length === 0) {
1356
+ postUpdate();
1357
+ }
1358
+ else {
1359
+ Promise.all(childrenPromises).then(postUpdate);
1360
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1361
+ childrenPromises.length = 0;
1362
+ }
1363
+ }
1364
+ };
1365
+ const callRender = (hostRef, instance, elm) => {
1366
+ try {
1367
+ instance = instance.render() ;
1368
+ {
1369
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1370
+ }
1371
+ {
1372
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1373
+ }
1374
+ {
1375
+ {
1376
+ // looks like we've got child nodes to render into this host element
1377
+ // or we need to update the css class/attrs on the host element
1378
+ // DOM WRITE!
1379
+ {
1380
+ renderVdom(hostRef, instance);
1381
+ }
1382
+ }
1383
+ }
1384
+ }
1385
+ catch (e) {
1386
+ consoleError(e, hostRef.$hostElement$);
1387
+ }
1388
+ return null;
1389
+ };
1390
+ const postUpdateComponent = (hostRef) => {
1391
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1392
+ const elm = hostRef.$hostElement$;
1393
+ const endPostUpdate = createTime('postUpdate', tagName);
1394
+ const instance = hostRef.$lazyInstance$ ;
1395
+ const ancestorComponent = hostRef.$ancestorComponent$;
1396
+ {
1397
+ safeCall(instance, 'componentDidRender');
1398
+ }
1399
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1400
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1401
+ {
1402
+ // DOM WRITE!
1403
+ addHydratedFlag(elm);
1404
+ }
1405
+ {
1406
+ safeCall(instance, 'componentDidLoad');
1407
+ }
1408
+ endPostUpdate();
1409
+ {
1410
+ hostRef.$onReadyResolve$(elm);
1411
+ if (!ancestorComponent) {
1412
+ appDidLoad();
1413
+ }
1414
+ }
1415
+ }
1416
+ else {
1417
+ {
1418
+ safeCall(instance, 'componentDidUpdate');
1419
+ }
1420
+ endPostUpdate();
1421
+ }
1422
+ {
1423
+ hostRef.$onInstanceResolve$(elm);
1424
+ }
1425
+ // load events fire from bottom to top
1426
+ // the deepest elements load first then bubbles up
1427
+ {
1428
+ if (hostRef.$onRenderResolve$) {
1429
+ hostRef.$onRenderResolve$();
1430
+ hostRef.$onRenderResolve$ = undefined;
1431
+ }
1432
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1433
+ nextTick(() => scheduleUpdate(hostRef, false));
1434
+ }
1435
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1436
+ }
1437
+ // ( •_•)
1438
+ // ( •_•)>⌐■-■
1439
+ // (⌐■_■)
1440
+ };
1441
+ const appDidLoad = (who) => {
1442
+ // on appload
1443
+ // we have finish the first big initial render
1444
+ {
1445
+ addHydratedFlag(doc.documentElement);
1446
+ }
1447
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1448
+ };
1449
+ const safeCall = (instance, method, arg) => {
1450
+ if (instance && instance[method]) {
1451
+ try {
1452
+ return instance[method](arg);
1453
+ }
1454
+ catch (e) {
1455
+ consoleError(e);
1456
+ }
1457
+ }
1458
+ return undefined;
1459
+ };
1460
+ const then = (promise, thenFn) => {
1461
+ return promise && promise.then ? promise.then(thenFn) : thenFn();
1462
+ };
1463
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1464
+ ;
1465
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1466
+ const setValue = (ref, propName, newVal, cmpMeta) => {
1467
+ // check our new property value against our internal value
1468
+ const hostRef = getHostRef(ref);
1469
+ const elm = hostRef.$hostElement$ ;
1470
+ const oldVal = hostRef.$instanceValues$.get(propName);
1471
+ const flags = hostRef.$flags$;
1472
+ const instance = hostRef.$lazyInstance$ ;
1473
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1474
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1475
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1476
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1477
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1478
+ // gadzooks! the property's value has changed!!
1479
+ // set our new value!
1480
+ hostRef.$instanceValues$.set(propName, newVal);
1481
+ if (instance) {
1482
+ // get an array of method names of watch functions to call
1483
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1484
+ const watchMethods = cmpMeta.$watchers$[propName];
1485
+ if (watchMethods) {
1486
+ // this instance is watching for when this property changed
1487
+ watchMethods.map((watchMethodName) => {
1488
+ try {
1489
+ // fire off each of the watch methods that are watching this property
1490
+ instance[watchMethodName](newVal, oldVal, propName);
1491
+ }
1492
+ catch (e) {
1493
+ consoleError(e, elm);
1494
+ }
1495
+ });
1496
+ }
1497
+ }
1498
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1499
+ // looks like this value actually changed, so we've got work to do!
1500
+ // but only if we've already rendered, otherwise just chill out
1501
+ // queue that we need to do an update, but don't worry about queuing
1502
+ // up millions cuz this function ensures it only runs once
1503
+ scheduleUpdate(hostRef, false);
1504
+ }
1505
+ }
1506
+ }
1507
+ };
1508
+ /**
1509
+ * Attach a series of runtime constructs to a compiled Stencil component
1510
+ * constructor, including getters and setters for the `@Prop` and `@State`
1511
+ * decorators, callbacks for when attributes change, and so on.
1512
+ *
1513
+ * @param Cstr the constructor for a component that we need to process
1514
+ * @param cmpMeta metadata collected previously about the component
1515
+ * @param flags a number used to store a series of bit flags
1516
+ * @returns a reference to the same constructor passed in (but now mutated)
1517
+ */
1518
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1519
+ if (cmpMeta.$members$) {
1520
+ if (Cstr.watchers) {
1521
+ cmpMeta.$watchers$ = Cstr.watchers;
1522
+ }
1523
+ // It's better to have a const than two Object.entries()
1524
+ const members = Object.entries(cmpMeta.$members$);
1525
+ const prototype = Cstr.prototype;
1526
+ members.map(([memberName, [memberFlags]]) => {
1527
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1528
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1529
+ // proxyComponent - prop
1530
+ Object.defineProperty(prototype, memberName, {
1531
+ get() {
1532
+ // proxyComponent, get value
1533
+ return getValue(this, memberName);
1534
+ },
1535
+ set(newValue) {
1536
+ // proxyComponent, set value
1537
+ setValue(this, memberName, newValue, cmpMeta);
1538
+ },
1539
+ configurable: true,
1540
+ enumerable: true,
1541
+ });
1542
+ }
1543
+ else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1544
+ memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1545
+ // proxyComponent - method
1546
+ Object.defineProperty(prototype, memberName, {
1547
+ value(...args) {
1548
+ const ref = getHostRef(this);
1549
+ return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1550
+ },
1551
+ });
1552
+ }
1553
+ });
1554
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1555
+ const attrNameToPropName = new Map();
1556
+ prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1557
+ plt.jmp(() => {
1558
+ const propName = attrNameToPropName.get(attrName);
1559
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1560
+ // in the case where an attribute was set inline.
1561
+ // ```html
1562
+ // <my-component some-attribute="some-value"></my-component>
1563
+ // ```
1564
+ //
1565
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1566
+ // programmatically changes it before it has been upgraded as shown below:
1567
+ //
1568
+ // ```html
1569
+ // <!-- this component has _not_ been upgraded yet -->
1570
+ // <my-component id="test" some-attribute="some-value"></my-component>
1571
+ // <script>
1572
+ // // grab non-upgraded component
1573
+ // el = document.querySelector("#test");
1574
+ // el.someAttribute = "another-value";
1575
+ // // upgrade component
1576
+ // customElements.define('my-component', MyComponent);
1577
+ // </script>
1578
+ // ```
1579
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1580
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1581
+ // to the value that was set inline i.e. "some-value" from above example. When
1582
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1583
+ //
1584
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1585
+ // by connectedCallback as this attributeChangedCallback will not fire.
1586
+ //
1587
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1588
+ //
1589
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1590
+ // properties here given that this goes against best practices outlined here
1591
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1592
+ if (this.hasOwnProperty(propName)) {
1593
+ newValue = this[propName];
1594
+ delete this[propName];
1595
+ }
1596
+ else if (prototype.hasOwnProperty(propName) &&
1597
+ typeof this[propName] === 'number' &&
1598
+ this[propName] == newValue) {
1599
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1600
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1601
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1602
+ return;
1603
+ }
1604
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1605
+ });
1606
+ };
1607
+ // create an array of attributes to observe
1608
+ // and also create a map of html attribute name to js property name
1609
+ Cstr.observedAttributes = members
1610
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1611
+ .map(([propName, m]) => {
1612
+ const attrName = m[1] || propName;
1613
+ attrNameToPropName.set(attrName, propName);
1614
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1615
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1616
+ }
1617
+ return attrName;
1618
+ });
1619
+ }
1620
+ }
1621
+ return Cstr;
1622
+ };
1623
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1624
+ // initializeComponent
1625
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1626
+ {
1627
+ // we haven't initialized this element yet
1628
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1629
+ // lazy loaded components
1630
+ // request the component's implementation to be
1631
+ // wired up with the host element
1632
+ Cstr = loadModule(cmpMeta);
1633
+ if (Cstr.then) {
1634
+ // Await creates a micro-task avoid if possible
1635
+ const endLoad = uniqueTime();
1636
+ Cstr = await Cstr;
1637
+ endLoad();
1638
+ }
1639
+ if (!Cstr.isProxied) {
1640
+ // we've never proxied this Constructor before
1641
+ // let's add the getters/setters to its prototype before
1642
+ // the first time we create an instance of the implementation
1643
+ {
1644
+ cmpMeta.$watchers$ = Cstr.watchers;
1645
+ }
1646
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1647
+ Cstr.isProxied = true;
1648
+ }
1649
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1650
+ // ok, time to construct the instance
1651
+ // but let's keep track of when we start and stop
1652
+ // so that the getters/setters don't incorrectly step on data
1653
+ {
1654
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1655
+ }
1656
+ // construct the lazy-loaded component implementation
1657
+ // passing the hostRef is very important during
1658
+ // construction in order to directly wire together the
1659
+ // host element and the lazy-loaded instance
1660
+ try {
1661
+ new Cstr(hostRef);
1662
+ }
1663
+ catch (e) {
1664
+ consoleError(e);
1665
+ }
1666
+ {
1667
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1668
+ }
1669
+ {
1670
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1671
+ }
1672
+ endNewInstance();
1673
+ fireConnectedCallback(hostRef.$lazyInstance$);
1674
+ }
1675
+ if (Cstr.style) {
1676
+ // this component has styles but we haven't registered them yet
1677
+ let style = Cstr.style;
1678
+ const scopeId = getScopeId(cmpMeta);
1679
+ if (!styles.has(scopeId)) {
1680
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1681
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1682
+ endRegisterStyles();
1683
+ }
1684
+ }
1685
+ }
1686
+ // we've successfully created a lazy instance
1687
+ const ancestorComponent = hostRef.$ancestorComponent$;
1688
+ const schedule = () => scheduleUpdate(hostRef, true);
1689
+ if (ancestorComponent && ancestorComponent['s-rc']) {
1690
+ // this is the initial load and this component it has an ancestor component
1691
+ // but the ancestor component has NOT fired its will update lifecycle yet
1692
+ // so let's just cool our jets and wait for the ancestor to continue first
1693
+ // this will get fired off when the ancestor component
1694
+ // finally gets around to rendering its lazy self
1695
+ // fire off the initial update
1696
+ ancestorComponent['s-rc'].push(schedule);
1697
+ }
1698
+ else {
1699
+ schedule();
1700
+ }
1701
+ };
1702
+ const fireConnectedCallback = (instance) => {
1703
+ {
1704
+ safeCall(instance, 'connectedCallback');
1705
+ }
1706
+ };
1707
+ const connectedCallback = (elm) => {
1708
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1709
+ const hostRef = getHostRef(elm);
1710
+ const cmpMeta = hostRef.$cmpMeta$;
1711
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1712
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1713
+ // first time this component has connected
1714
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1715
+ {
1716
+ // initUpdate
1717
+ // if the slot polyfill is required we'll need to put some nodes
1718
+ // in here to act as original content anchors as we move nodes around
1719
+ // host element has been connected to the DOM
1720
+ if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1721
+ setContentReference(elm);
1722
+ }
1723
+ }
1724
+ {
1725
+ // find the first ancestor component (if there is one) and register
1726
+ // this component as one of the actively loading child components for its ancestor
1727
+ let ancestorComponent = elm;
1728
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1729
+ // climb up the ancestors looking for the first
1730
+ // component that hasn't finished its lifecycle update yet
1731
+ if (ancestorComponent['s-p']) {
1732
+ // we found this components first ancestor component
1733
+ // keep a reference to this component's ancestor component
1734
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1735
+ break;
1736
+ }
1737
+ }
1738
+ }
1739
+ // Lazy properties
1740
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1741
+ if (cmpMeta.$members$) {
1742
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1743
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1744
+ const value = elm[memberName];
1745
+ delete elm[memberName];
1746
+ elm[memberName] = value;
1747
+ }
1748
+ });
1749
+ }
1750
+ {
1751
+ initializeComponent(elm, hostRef, cmpMeta);
1752
+ }
1753
+ }
1754
+ else {
1755
+ // not the first time this has connected
1756
+ // reattach any event listeners to the host
1757
+ // since they would have been removed when disconnected
1758
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1759
+ // fire off connectedCallback() on component instance
1760
+ fireConnectedCallback(hostRef.$lazyInstance$);
1761
+ }
1762
+ endConnected();
1763
+ }
1764
+ };
1765
+ const setContentReference = (elm) => {
1766
+ // only required when we're NOT using native shadow dom (slot)
1767
+ // or this browser doesn't support native shadow dom
1768
+ // and this host element was NOT created with SSR
1769
+ // let's pick out the inner content for slot projection
1770
+ // create a node to represent where the original
1771
+ // content was first placed, which is useful later on
1772
+ const contentRefElm = (elm['s-cr'] = doc.createComment(''));
1773
+ contentRefElm['s-cn'] = true;
1774
+ elm.insertBefore(contentRefElm, elm.firstChild);
1775
+ };
1776
+ const disconnectedCallback = (elm) => {
1777
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1778
+ const hostRef = getHostRef(elm);
1779
+ const instance = hostRef.$lazyInstance$ ;
1780
+ {
1781
+ if (hostRef.$rmListeners$) {
1782
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1783
+ hostRef.$rmListeners$ = undefined;
1784
+ }
1785
+ }
1786
+ {
1787
+ safeCall(instance, 'disconnectedCallback');
1788
+ }
1789
+ }
1790
+ };
1791
+ const bootstrapLazy = (lazyBundles, options = {}) => {
1792
+ var _a;
1793
+ const endBootstrap = createTime();
1794
+ const cmpTags = [];
1795
+ const exclude = options.exclude || [];
1796
+ const customElements = win.customElements;
1797
+ const head = doc.head;
1798
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1799
+ const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1800
+ const deferredConnectedCallbacks = [];
1801
+ let appLoadFallback;
1802
+ let isBootstrapping = true;
1803
+ Object.assign(plt, options);
1804
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1805
+ lazyBundles.map((lazyBundle) => {
1806
+ lazyBundle[1].map((compactMeta) => {
1807
+ const cmpMeta = {
1808
+ $flags$: compactMeta[0],
1809
+ $tagName$: compactMeta[1],
1810
+ $members$: compactMeta[2],
1811
+ $listeners$: compactMeta[3],
1812
+ };
1813
+ {
1814
+ cmpMeta.$members$ = compactMeta[2];
1815
+ }
1816
+ {
1817
+ cmpMeta.$listeners$ = compactMeta[3];
1818
+ }
1819
+ {
1820
+ cmpMeta.$attrsToReflect$ = [];
1821
+ }
1822
+ {
1823
+ cmpMeta.$watchers$ = {};
1824
+ }
1825
+ const tagName = cmpMeta.$tagName$;
1826
+ const HostElement = class extends HTMLElement {
1827
+ // StencilLazyHost
1828
+ constructor(self) {
1829
+ // @ts-ignore
1830
+ super(self);
1831
+ self = this;
1832
+ registerHost(self, cmpMeta);
1833
+ }
1834
+ connectedCallback() {
1835
+ if (appLoadFallback) {
1836
+ clearTimeout(appLoadFallback);
1837
+ appLoadFallback = null;
1838
+ }
1839
+ if (isBootstrapping) {
1840
+ // connectedCallback will be processed once all components have been registered
1841
+ deferredConnectedCallbacks.push(this);
1842
+ }
1843
+ else {
1844
+ plt.jmp(() => connectedCallback(this));
1845
+ }
1846
+ }
1847
+ disconnectedCallback() {
1848
+ plt.jmp(() => disconnectedCallback(this));
1849
+ }
1850
+ componentOnReady() {
1851
+ return getHostRef(this).$onReadyPromise$;
1852
+ }
1853
+ };
1854
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1855
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1856
+ cmpTags.push(tagName);
1857
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1858
+ }
1859
+ });
1860
+ });
1861
+ {
1862
+ visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1863
+ visibilityStyle.setAttribute('data-styles', '');
1864
+ // Apply CSP nonce to the style tag if it exists
1865
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1866
+ if (nonce != null) {
1867
+ visibilityStyle.setAttribute('nonce', nonce);
1868
+ }
1869
+ head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1870
+ }
1871
+ // Process deferred connectedCallbacks now all components have been registered
1872
+ isBootstrapping = false;
1873
+ if (deferredConnectedCallbacks.length) {
1874
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1875
+ }
1876
+ else {
1877
+ {
1878
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
1879
+ }
1880
+ }
1881
+ // Fallback appLoad event
1882
+ endBootstrap();
1883
+ };
1884
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1885
+ if (listeners) {
1886
+ listeners.map(([flags, name, method]) => {
1887
+ const target = getHostListenerTarget(elm, flags) ;
1888
+ const handler = hostListenerProxy(hostRef, method);
1889
+ const opts = hostListenerOpts(flags);
1890
+ plt.ael(target, name, handler, opts);
1891
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1892
+ });
1893
+ }
1894
+ };
1895
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1896
+ try {
1897
+ {
1898
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
1899
+ // instance is ready, let's call it's member method for this event
1900
+ hostRef.$lazyInstance$[methodName](ev);
1901
+ }
1902
+ else {
1903
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1904
+ }
1905
+ }
1906
+ }
1907
+ catch (e) {
1908
+ consoleError(e);
1909
+ }
1910
+ };
1911
+ const getHostListenerTarget = (elm, flags) => {
1912
+ if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
1913
+ return doc;
1914
+ return elm;
1915
+ };
1916
+ // prettier-ignore
1917
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
1918
+ /**
1919
+ * Assigns the given value to the nonce property on the runtime platform object.
1920
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
1921
+ * @param nonce The value to be assigned to the platform nonce property.
1922
+ * @returns void
1923
+ */
1924
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
1925
+ const hostRefs = /*@__PURE__*/ new WeakMap();
1926
+ const getHostRef = (ref) => hostRefs.get(ref);
1927
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1928
+ const registerHost = (elm, cmpMeta) => {
1929
+ const hostRef = {
1930
+ $flags$: 0,
1931
+ $hostElement$: elm,
1932
+ $cmpMeta$: cmpMeta,
1933
+ $instanceValues$: new Map(),
1934
+ };
1935
+ {
1936
+ hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
1937
+ }
1938
+ {
1939
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1940
+ elm['s-p'] = [];
1941
+ elm['s-rc'] = [];
1942
+ }
1943
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1944
+ return hostRefs.set(elm, hostRef);
1945
+ };
1946
+ const isMemberInElement = (elm, memberName) => memberName in elm;
1947
+ const consoleError = (e, el) => (0, console.error)(e, el);
1948
+ const cmpModules = /*@__PURE__*/ new Map();
1949
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1950
+ // loadModuleImport
1951
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
1952
+ const bundleId = cmpMeta.$lazyBundleId$;
1953
+ const module = cmpModules.get(bundleId) ;
1954
+ if (module) {
1955
+ return module[exportName];
1956
+ }
1957
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1958
+ return import(
1959
+ /* @vite-ignore */
1960
+ /* webpackInclude: /\.entry\.js$/ */
1961
+ /* webpackExclude: /\.system\.entry\.js$/ */
1962
+ /* webpackMode: "lazy" */
1963
+ `./${bundleId}.entry.js${''}`).then((importedModule) => {
1964
+ {
1965
+ cmpModules.set(bundleId, importedModule);
1966
+ }
1967
+ return importedModule[exportName];
1968
+ }, consoleError);
1969
+ };
1970
+ const styles = /*@__PURE__*/ new Map();
1971
+ const win = typeof window !== 'undefined' ? window : {};
1972
+ const doc = win.document || { head: {} };
1973
+ const plt = {
1974
+ $flags$: 0,
1975
+ $resourcesUrl$: '',
1976
+ jmp: (h) => h(),
1977
+ raf: (h) => requestAnimationFrame(h),
1978
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
1979
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
1980
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
1981
+ };
1982
+ const promiseResolve = (v) => Promise.resolve(v);
1983
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
1984
+ try {
1985
+ new CSSStyleSheet();
1986
+ return typeof new CSSStyleSheet().replaceSync === 'function';
1987
+ }
1988
+ catch (e) { }
1989
+ return false;
1990
+ })()
1991
+ ;
1992
+ const queueDomReads = [];
1993
+ const queueDomWrites = [];
1994
+ const queueTask = (queue, write) => (cb) => {
1995
+ queue.push(cb);
1996
+ if (!queuePending) {
1997
+ queuePending = true;
1998
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
1999
+ nextTick(flush);
2000
+ }
2001
+ else {
2002
+ plt.raf(flush);
2003
+ }
2004
+ }
2005
+ };
2006
+ const consume = (queue) => {
2007
+ for (let i = 0; i < queue.length; i++) {
2008
+ try {
2009
+ queue[i](performance.now());
2010
+ }
2011
+ catch (e) {
2012
+ consoleError(e);
2013
+ }
2014
+ }
2015
+ queue.length = 0;
2016
+ };
2017
+ const flush = () => {
2018
+ // always force a bunch of medium callbacks to run, but still have
2019
+ // a throttle on how many can run in a certain time
2020
+ // DOM READS!!!
2021
+ consume(queueDomReads);
2022
+ // DOM WRITES!!!
2023
+ {
2024
+ consume(queueDomWrites);
2025
+ if ((queuePending = queueDomReads.length > 0)) {
2026
+ // still more to do yet, but we've run out of time
2027
+ // let's let this thing cool off and try again in the next tick
2028
+ plt.raf(flush);
2029
+ }
2030
+ }
2031
+ };
2032
+ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
2033
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2034
+
2035
+ export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2036
+
2037
+ //# sourceMappingURL=index-c948674f.js.map