@roadtrip/components 2.42.0 → 2.44.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 (822) hide show
  1. package/dist/cjs/{app-79994847.js → app-d94011e3.js} +1 -1
  2. package/dist/cjs/css-shim-1269258a.js +6 -0
  3. package/dist/cjs/{dom-417ccd20.js → dom-36862b77.js} +1 -1
  4. package/dist/cjs/{index-9b63596c.js → index-a2306350.js} +689 -277
  5. package/dist/cjs/index.cjs.js +2 -2
  6. package/dist/cjs/loader.cjs.js +5 -5
  7. package/dist/cjs/road-accordion.cjs.entry.js +14 -4
  8. package/dist/cjs/road-alert.cjs.entry.js +3 -3
  9. package/dist/cjs/road-autocomplete.cjs.entry.js +3 -3
  10. package/dist/cjs/road-avatar.cjs.entry.js +3 -3
  11. package/dist/cjs/road-badge_14.cjs.entry.js +808 -0
  12. package/dist/cjs/road-banner.cjs.entry.js +2 -2
  13. package/dist/cjs/road-card.cjs.entry.js +3 -3
  14. package/dist/cjs/road-carousel-item.cjs.entry.js +3 -3
  15. package/dist/cjs/road-carousel.cjs.entry.js +6461 -31
  16. package/dist/cjs/road-checkbox.cjs.entry.js +3 -3
  17. package/dist/cjs/road-chip.cjs.entry.js +3 -3
  18. package/dist/cjs/road-collapse.cjs.entry.js +3 -3
  19. package/dist/cjs/road-dialog.cjs.entry.js +3 -3
  20. package/dist/cjs/road-dropdown.cjs.entry.js +3 -3
  21. package/dist/cjs/road-duration.cjs.entry.js +3 -3
  22. package/dist/cjs/road-flap.cjs.entry.js +3 -3
  23. package/dist/cjs/road-img.cjs.entry.js +3 -3
  24. package/dist/cjs/road-modal.cjs.entry.js +3 -3
  25. package/dist/cjs/road-navbar-item.cjs.entry.js +3 -3
  26. package/dist/cjs/road-navbar.cjs.entry.js +3 -3
  27. package/dist/cjs/road-plate-number.cjs.entry.js +3 -3
  28. package/dist/cjs/road-progress.cjs.entry.js +3 -3
  29. package/dist/cjs/road-radio-group.cjs.entry.js +3 -3
  30. package/dist/cjs/road-radio.cjs.entry.js +3 -3
  31. package/dist/cjs/road-range.cjs.entry.js +3 -3
  32. package/dist/cjs/road-rating.cjs.entry.js +3 -3
  33. package/dist/cjs/road-select-filter.cjs.entry.js +6 -4
  34. package/dist/cjs/road-select.cjs.entry.js +3 -3
  35. package/dist/cjs/road-skeleton.cjs.entry.js +3 -3
  36. package/dist/cjs/road-spinner.cjs.entry.js +3 -3
  37. package/dist/cjs/road-stepper.cjs.entry.js +3 -3
  38. package/dist/cjs/road-switch.cjs.entry.js +3 -3
  39. package/dist/cjs/road-tab-bar.cjs.entry.js +3 -3
  40. package/dist/cjs/road-tab-button.cjs.entry.js +3 -3
  41. package/dist/cjs/road-tab.cjs.entry.js +2 -2
  42. package/dist/cjs/road-table.cjs.entry.js +3 -3
  43. package/dist/cjs/road-tabs.cjs.entry.js +2 -2
  44. package/dist/cjs/road-text.cjs.entry.js +2 -2
  45. package/dist/cjs/road-textarea.cjs.entry.js +3 -3
  46. package/dist/cjs/road-toast.cjs.entry.js +3 -3
  47. package/dist/cjs/road-toggle.cjs.entry.js +3 -3
  48. package/dist/cjs/road-toolbar-title.cjs.entry.js +3 -3
  49. package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
  50. package/dist/cjs/roadtrip.cjs.js +5 -5
  51. package/dist/cjs/{shadow-css-432b27e3.js → shadow-css-346c0795.js} +2 -3
  52. package/dist/cjs/{utils-90171b88.js → utils-5c31da25.js} +1 -1
  53. package/dist/collection/collection-manifest.json +2 -2
  54. package/dist/collection/components/accordion/accordion.css +22 -8
  55. package/dist/collection/components/accordion/accordion.js +95 -49
  56. package/dist/collection/components/accordion/accordion.stories.js +9 -1
  57. package/dist/collection/components/alert/alert.js +86 -87
  58. package/dist/collection/components/autocomplete/autocomplete.js +97 -87
  59. package/dist/collection/components/avatar/avatar.js +11 -7
  60. package/dist/collection/components/badge/badge.js +55 -50
  61. package/dist/collection/components/banner/banner.js +118 -113
  62. package/dist/collection/components/button/button.css +1 -0
  63. package/dist/collection/components/button/button.js +251 -247
  64. package/dist/collection/components/card/card.js +172 -165
  65. package/dist/collection/components/carousel/carousel.css +25 -29
  66. package/dist/collection/components/carousel/carousel.js +652 -646
  67. package/dist/collection/components/carousel-item/carousel-item.js +12 -9
  68. package/dist/collection/components/checkbox/checkbox.js +309 -308
  69. package/dist/collection/components/chip/chip.js +85 -82
  70. package/dist/collection/components/col/col.js +11 -7
  71. package/dist/collection/components/collapse/collapse.js +85 -84
  72. package/dist/collection/components/counter/counter.css +18 -2
  73. package/dist/collection/components/counter/counter.js +283 -256
  74. package/dist/collection/components/counter/counter.stories.js +3 -13
  75. package/dist/collection/components/dialog/dialog.js +181 -180
  76. package/dist/collection/components/drawer/drawer.js +263 -262
  77. package/dist/collection/components/dropdown/dropdown.js +84 -84
  78. package/dist/collection/components/duration/duration.js +160 -155
  79. package/dist/collection/components/flap/flap.js +51 -46
  80. package/dist/collection/components/grid/grid.css +9 -0
  81. package/dist/collection/components/grid/grid.js +11 -7
  82. package/dist/collection/components/icon/icon.js +201 -191
  83. package/dist/collection/components/icon/svg/battery-start-stop-color.svg +1 -1
  84. package/dist/collection/components/icon/svg/battery-start-stop-outline.svg +1 -1
  85. package/dist/collection/components/icon/svg/bike-inflation-color.svg +1 -1
  86. package/dist/collection/components/icon/svg/bike-inflation-outline.svg +1 -1
  87. package/dist/collection/components/icon/svg/electric-color.svg +1 -1
  88. package/dist/collection/components/icon/svg/electric-outline.svg +1 -1
  89. package/dist/collection/components/icon/svg/electric-solid.svg +1 -1
  90. package/dist/collection/components/icon/svg/file-contract-color.svg +1 -0
  91. package/dist/collection/components/icon/svg/file-contract-outline.svg +1 -0
  92. package/dist/collection/components/icon/svg/flag-belgium.svg +1 -1
  93. package/dist/collection/components/icon/svg/flag-germany.svg +1 -1
  94. package/dist/collection/components/icon/svg/motor-starter-color.svg +1 -0
  95. package/dist/collection/components/icon/svg/motor-starter-outline.svg +1 -0
  96. package/dist/collection/components/icon/svg/people-disability-wheelchair-color.svg +1 -1
  97. package/dist/collection/components/icon/svg/people-disability-wheelchair-solid.svg +1 -1
  98. package/dist/collection/components/icon/svg/seat-bike-front-color.svg +1 -0
  99. package/dist/collection/components/icon/svg/seat-bike-front-outline.svg +1 -0
  100. package/dist/collection/components/icon/svg/seat-bike-rear-color.svg +1 -0
  101. package/dist/collection/components/icon/svg/seat-bike-rear-junior-color.svg +1 -0
  102. package/dist/collection/components/icon/svg/seat-bike-rear-junior-outline.svg +1 -0
  103. package/dist/collection/components/icon/svg/seat-bike-rear-outline.svg +1 -0
  104. package/dist/collection/components/icon/svg/seat-bike-trailer-color.svg +1 -0
  105. package/dist/collection/components/icon/svg/seat-bike-trailer-outline.svg +1 -0
  106. package/dist/collection/components/icon/svg/shock-absorber-body-part-color.svg +1 -0
  107. package/dist/collection/components/icon/svg/shock-absorber-color.svg +1 -1
  108. package/dist/collection/components/icon/svg/shock-absorber-outline.svg +1 -1
  109. package/dist/collection/components/icon/svg/smart-repair-color.svg +1 -0
  110. package/dist/collection/components/icon/svg/smart-repair-outline.svg +1 -0
  111. package/dist/collection/components/icon/svg/{snowflake-solid color.svg → snowflake-solid-color.svg} +0 -0
  112. package/dist/collection/components/icon/svg/social-linkedin-badge.svg +1 -1
  113. package/dist/collection/components/icon/svg/sticker-certified-pickerl-color.svg +1 -0
  114. package/dist/collection/components/icon/svg/sticker-certified-pickerl-outline.svg +1 -0
  115. package/dist/collection/components/icon/svg/timer-1u-color.svg +1 -1
  116. package/dist/collection/components/icon/svg/timer-1u-outline.svg +1 -1
  117. package/dist/collection/components/icon/svg/tire-inflation-color.svg +1 -1
  118. package/dist/collection/components/icon/svg/tire-inflation-outline.svg +1 -1
  119. package/dist/collection/components/icon/svg/tire-received-color.svg +1 -0
  120. package/dist/collection/components/icon/svg/tire-received-outline.svg +1 -0
  121. package/dist/collection/components/icon/svg/tire-received-solid.svg +1 -0
  122. package/dist/collection/components/icon/svg/tire-swap-color.svg +1 -0
  123. package/dist/collection/components/icon/svg/tire-swap-outline.svg +1 -0
  124. package/dist/collection/components/icon/svg/tire-swap-solid.svg +1 -0
  125. package/dist/collection/components/icon/svg/tire-transfer-color.svg +1 -0
  126. package/dist/collection/components/icon/svg/tire-transfer-outline.svg +1 -0
  127. package/dist/collection/components/icon/svg/tire-transfer-solid.svg +1 -0
  128. package/dist/collection/components/icon/svg/vehicle-4wd-color.svg +1 -0
  129. package/dist/collection/components/icon/svg/vehicle-4wd-outline.svg +1 -0
  130. package/dist/collection/components/icon/svg/vehicle-4wd-solid.svg +1 -0
  131. package/dist/collection/components/icon/svg/vehicle-acc-color.svg +1 -1
  132. package/dist/collection/components/icon/svg/vehicle-acc-outline.svg +1 -1
  133. package/dist/collection/components/icon/svg/vehicle-acc-solid.svg +1 -1
  134. package/dist/collection/components/icon/svg/vehicle-battery-service-color.svg +1 -1
  135. package/dist/collection/components/icon/svg/vehicle-battery-service-outline.svg +1 -1
  136. package/dist/collection/components/icon/svg/vehicle-battery-service-solid.svg +1 -1
  137. package/dist/collection/components/icon/svg/vehicle-bike-repair-color.svg +1 -1
  138. package/dist/collection/components/icon/svg/vehicle-bike-repair-outline.svg +1 -1
  139. package/dist/collection/components/icon/svg/vehicle-bike-repair-solid.svg +1 -1
  140. package/dist/collection/components/icon/svg/vehicle-bus-color.svg +1 -0
  141. package/dist/collection/components/icon/svg/vehicle-bus-outline.svg +1 -1
  142. package/dist/collection/components/icon/svg/vehicle-bus-solid.svg +1 -1
  143. package/dist/collection/components/icon/svg/vehicle-car-moto-color.svg +1 -0
  144. package/dist/collection/components/icon/svg/vehicle-car-moto-outline.svg +1 -0
  145. package/dist/collection/components/icon/svg/vehicle-car-moto-solid.svg +1 -1
  146. package/dist/collection/components/icon/svg/vehicle-car-sad-color.svg +1 -0
  147. package/dist/collection/components/icon/svg/vehicle-car-sad-outline.svg +1 -1
  148. package/dist/collection/components/icon/svg/vehicle-car-sad-solid.svg +1 -1
  149. package/dist/collection/components/icon/svg/vehicle-car-search-color.svg +1 -0
  150. package/dist/collection/components/icon/svg/vehicle-car-search-outline.svg +1 -1
  151. package/dist/collection/components/icon/svg/vehicle-car-search-solid.svg +1 -1
  152. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind-color.svg +1 -1
  153. package/dist/collection/components/icon/svg/{vehicle-car-side-tire-front-outline-color.svg → vehicle-car-side-tire-behind-outline-color.svg} +0 -0
  154. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind-outline.svg +1 -1
  155. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind-solid.svg +1 -1
  156. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind.svg +1 -1
  157. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front-color.svg +1 -1
  158. package/dist/collection/components/icon/svg/{vehicle-car-side-tire-behind-oultine.svg → vehicle-car-side-tire-front-oultine.svg} +0 -0
  159. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front-outline.svg +1 -1
  160. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front-solid.svg +1 -1
  161. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front.svg +1 -1
  162. package/dist/collection/components/icon/svg/vehicle-car-sound-color.svg +1 -0
  163. package/dist/collection/components/icon/svg/vehicle-car-sound-outline.svg +1 -1
  164. package/dist/collection/components/icon/svg/vehicle-car-sound-solid.svg +1 -1
  165. package/dist/collection/components/icon/svg/vehicle-caravan-color.svg +1 -0
  166. package/dist/collection/components/icon/svg/vehicle-caravan-outline.svg +1 -0
  167. package/dist/collection/components/icon/svg/vehicle-caravan-solid.svg +1 -1
  168. package/dist/collection/components/icon/svg/vehicle-carport-color.svg +1 -1
  169. package/dist/collection/components/icon/svg/vehicle-carport-outline.svg +1 -1
  170. package/dist/collection/components/icon/svg/vehicle-collector-color.svg +1 -0
  171. package/dist/collection/components/icon/svg/vehicle-collector-outline.svg +1 -0
  172. package/dist/collection/components/icon/svg/vehicle-collector-solid.svg +1 -1
  173. package/dist/collection/components/icon/svg/vehicle-delivery-color.svg +1 -0
  174. package/dist/collection/components/icon/svg/vehicle-delivery-fast-color.svg +1 -1
  175. package/dist/collection/components/icon/svg/vehicle-delivery-fast-outline.svg +1 -1
  176. package/dist/collection/components/icon/svg/vehicle-delivery-fast-solid.svg +1 -1
  177. package/dist/collection/components/icon/svg/vehicle-delivery-free-return-color.svg +1 -1
  178. package/dist/collection/components/icon/svg/vehicle-delivery-free-return-outline.svg +1 -1
  179. package/dist/collection/components/icon/svg/vehicle-delivery-free-return-solid.svg +1 -1
  180. package/dist/collection/components/icon/svg/vehicle-delivery-meeting-color.svg +1 -1
  181. package/dist/collection/components/icon/svg/vehicle-delivery-meeting-outline.svg +1 -1
  182. package/dist/collection/components/icon/svg/vehicle-delivery-meeting-solid.svg +1 -1
  183. package/dist/collection/components/icon/svg/vehicle-delivery-outline.svg +1 -1
  184. package/dist/collection/components/icon/svg/vehicle-delivery-solid.svg +1 -1
  185. package/dist/collection/components/icon/svg/vehicle-distance-color.svg +1 -1
  186. package/dist/collection/components/icon/svg/vehicle-distance-outline.svg +1 -1
  187. package/dist/collection/components/icon/svg/vehicle-drive-carport-color.svg +1 -1
  188. package/dist/collection/components/icon/svg/vehicle-drive-carport-outline.svg +1 -1
  189. package/dist/collection/components/icon/svg/vehicle-drive-color.svg +1 -1
  190. package/dist/collection/components/icon/svg/vehicle-drive-outline.svg +1 -1
  191. package/dist/collection/components/icon/svg/vehicle-micro-color.svg +1 -0
  192. package/dist/collection/components/icon/svg/vehicle-micro-outline.svg +1 -0
  193. package/dist/collection/components/icon/svg/vehicle-micro-solid.svg +1 -0
  194. package/dist/collection/components/icon/svg/vehicle-minivan-color.svg +1 -0
  195. package/dist/collection/components/icon/svg/vehicle-minivan-outline.svg +1 -0
  196. package/dist/collection/components/icon/svg/vehicle-minivan-solid.svg +1 -0
  197. package/dist/collection/components/icon/svg/vehicle-moto-color.svg +1 -1
  198. package/dist/collection/components/icon/svg/vehicle-moto-outline.svg +1 -1
  199. package/dist/collection/components/icon/svg/vehicle-moto-solid.svg +1 -1
  200. package/dist/collection/components/icon/svg/vehicle-mower-color.svg +1 -0
  201. package/dist/collection/components/icon/svg/vehicle-mower-outline.svg +1 -0
  202. package/dist/collection/components/icon/svg/vehicle-mower-solid.svg +1 -1
  203. package/dist/collection/components/icon/svg/vehicle-pickup-color.svg +1 -0
  204. package/dist/collection/components/icon/svg/vehicle-pickup-outline.svg +1 -0
  205. package/dist/collection/components/icon/svg/vehicle-pickup-solid.svg +1 -1
  206. package/dist/collection/components/icon/svg/vehicle-pickup-van-color.svg +1 -0
  207. package/dist/collection/components/icon/svg/vehicle-pickup-van-outline.svg +1 -1
  208. package/dist/collection/components/icon/svg/vehicle-pickup-van-solid.svg +1 -1
  209. package/dist/collection/components/icon/svg/vehicle-quad-color.svg +1 -0
  210. package/dist/collection/components/icon/svg/vehicle-quad-outline.svg +1 -0
  211. package/dist/collection/components/icon/svg/vehicle-quad-solid.svg +1 -1
  212. package/dist/collection/components/icon/svg/vehicle-rent-bike-electric-color.svg +1 -0
  213. package/dist/collection/components/icon/svg/vehicle-rent-bike-electric-outline.svg +1 -0
  214. package/dist/collection/components/icon/svg/vehicle-rent-bike-electric-solid.svg +1 -1
  215. package/dist/collection/components/icon/svg/vehicle-rent-car-color.svg +1 -0
  216. package/dist/collection/components/icon/svg/vehicle-rent-car-micro-color.svg +1 -0
  217. package/dist/collection/components/icon/svg/vehicle-rent-car-micro-outline.svg +1 -0
  218. package/dist/collection/components/icon/svg/vehicle-rent-car-micro-solid.svg +1 -0
  219. package/dist/collection/components/icon/svg/vehicle-rent-car-outline.svg +1 -0
  220. package/dist/collection/components/icon/svg/vehicle-rent-car-solid.svg +1 -1
  221. package/dist/collection/components/icon/svg/vehicle-rent-trailer-color.svg +1 -0
  222. package/dist/collection/components/icon/svg/vehicle-rent-trailer-outline.svg +1 -0
  223. package/dist/collection/components/icon/svg/vehicle-rent-trailer-solid.svg +1 -1
  224. package/dist/collection/components/icon/svg/vehicle-repair-car-color.svg +1 -0
  225. package/dist/collection/components/icon/svg/vehicle-repair-car-outline.svg +1 -0
  226. package/dist/collection/components/icon/svg/vehicle-repair-car-solid.svg +1 -1
  227. package/dist/collection/components/icon/svg/vehicle-repair-moto-color.svg +1 -0
  228. package/dist/collection/components/icon/svg/vehicle-repair-moto-outline.svg +1 -0
  229. package/dist/collection/components/icon/svg/vehicle-repair-moto-solid.svg +1 -1
  230. package/dist/collection/components/icon/svg/vehicle-repair-pickup-van-color.svg +1 -0
  231. package/dist/collection/components/icon/svg/vehicle-repair-pickup-van-outline.svg +1 -0
  232. package/dist/collection/components/icon/svg/vehicle-repair-pickup-van-solid.svg +1 -1
  233. package/dist/collection/components/icon/svg/vehicle-repair-van-color.svg +1 -0
  234. package/dist/collection/components/icon/svg/vehicle-repair-van-outline.svg +1 -0
  235. package/dist/collection/components/icon/svg/vehicle-repair-van-solid.svg +1 -1
  236. package/dist/collection/components/icon/svg/vehicle-road-grip-color.svg +1 -0
  237. package/dist/collection/components/icon/svg/vehicle-road-grip-outline.svg +1 -1
  238. package/dist/collection/components/icon/svg/vehicle-road-grip-solid.svg +1 -1
  239. package/dist/collection/components/icon/svg/vehicle-roadster-color.svg +1 -0
  240. package/dist/collection/components/icon/svg/vehicle-roadster-outline.svg +1 -0
  241. package/dist/collection/components/icon/svg/vehicle-roadster-solid.svg +1 -0
  242. package/dist/collection/components/icon/svg/vehicle-roofrack-color.svg +1 -0
  243. package/dist/collection/components/icon/svg/vehicle-roofrack-outline.svg +1 -0
  244. package/dist/collection/components/icon/svg/vehicle-roofrack-solid.svg +1 -0
  245. package/dist/collection/components/icon/svg/vehicle-scooter-color.svg +1 -1
  246. package/dist/collection/components/icon/svg/vehicle-scooter-outline.svg +1 -1
  247. package/dist/collection/components/icon/svg/vehicle-scooter-solid.svg +1 -1
  248. package/dist/collection/components/icon/svg/vehicle-sedan-color.svg +1 -0
  249. package/dist/collection/components/icon/svg/vehicle-sedan-outline.svg +1 -0
  250. package/dist/collection/components/icon/svg/vehicle-sedan-solid.svg +1 -0
  251. package/dist/collection/components/icon/svg/vehicle-sport-color.svg +1 -0
  252. package/dist/collection/components/icon/svg/vehicle-sport-outline.svg +1 -0
  253. package/dist/collection/components/icon/svg/vehicle-sport-solid.svg +1 -0
  254. package/dist/collection/components/icon/svg/vehicle-station-wagon-color.svg +1 -0
  255. package/dist/collection/components/icon/svg/vehicle-station-wagon-outline.svg +1 -0
  256. package/dist/collection/components/icon/svg/vehicle-station-wagon-solid.svg +1 -0
  257. package/dist/collection/components/icon/svg/vehicle-suv-color.svg +1 -0
  258. package/dist/collection/components/icon/svg/vehicle-suv-outline.svg +1 -0
  259. package/dist/collection/components/icon/svg/vehicle-suv-solid.svg +1 -1
  260. package/dist/collection/components/icon/svg/vehicle-tractor-color.svg +1 -0
  261. package/dist/collection/components/icon/svg/vehicle-tractor-outline.svg +1 -0
  262. package/dist/collection/components/icon/svg/vehicle-tractor-solid.svg +1 -1
  263. package/dist/collection/components/icon/svg/vehicle-trailer-color.svg +1 -0
  264. package/dist/collection/components/icon/svg/vehicle-trailer-outline.svg +1 -0
  265. package/dist/collection/components/icon/svg/vehicle-trailer-solid.svg +1 -1
  266. package/dist/collection/components/icon/svg/vehicle-truck-color.svg +1 -0
  267. package/dist/collection/components/icon/svg/vehicle-truck-outline.svg +1 -0
  268. package/dist/collection/components/icon/svg/vehicle-truck-solid.svg +1 -1
  269. package/dist/collection/components/icon/svg/vehicle-van-color.svg +1 -0
  270. package/dist/collection/components/icon/svg/vehicle-van-outline.svg +1 -1
  271. package/dist/collection/components/icon/svg/vehicle-van-solid.svg +1 -1
  272. package/dist/collection/components/icon/svg/vehicle-workshop-color.svg +1 -1
  273. package/dist/collection/components/icon/svg/vehicle-workshop-outline.svg +1 -1
  274. package/dist/collection/components/icon/svg/vehicle-workshop-solid.svg +1 -1
  275. package/dist/collection/components/icon/svg/weather-sun-color.svg +1 -1
  276. package/dist/collection/components/icon/svg/weather-sun-outline-color.svg +1 -1
  277. package/dist/collection/components/icon/svg/weather-sun-snow-color.svg +1 -1
  278. package/dist/collection/components/icon/svg/weather-sun-snow-outline-color.svg +1 -1
  279. package/dist/collection/components/icon/svg/weather-sun-snow-solid-color.svg +1 -1
  280. package/dist/collection/components/icon/svg/weather-sun-solid-color.svg +1 -1
  281. package/dist/collection/components/img/img.js +162 -151
  282. package/dist/collection/components/input/input.js +647 -642
  283. package/dist/collection/components/input-group/input-group.js +12 -13
  284. package/dist/collection/components/item/item.js +205 -204
  285. package/dist/collection/components/label/label.js +11 -7
  286. package/dist/collection/components/list/list.js +33 -28
  287. package/dist/collection/components/modal/modal.js +160 -157
  288. package/dist/collection/components/navbar/navbar.js +92 -81
  289. package/dist/collection/components/navbar-item/navbar-item.js +190 -183
  290. package/dist/collection/components/plate-number/plate-number.js +265 -262
  291. package/dist/collection/components/progress/progress.js +68 -65
  292. package/dist/collection/components/radio/radio.js +272 -262
  293. package/dist/collection/components/radio-group/radio-group.js +210 -207
  294. package/dist/collection/components/range/range.js +180 -176
  295. package/dist/collection/components/rating/rating.js +85 -88
  296. package/dist/collection/components/row/row.js +12 -9
  297. package/dist/collection/components/select/select.js +310 -305
  298. package/dist/collection/components/select-filter/select-filter.js +176 -164
  299. package/dist/collection/components/select-filter/select-filter.stories.js +2 -2
  300. package/dist/collection/components/skeleton/skeleton.js +11 -7
  301. package/dist/collection/components/spinner/spinner.js +51 -46
  302. package/dist/collection/components/stepper/stepper.js +116 -130
  303. package/dist/collection/components/switch/switch.js +315 -310
  304. package/dist/collection/components/tab/tab.js +71 -64
  305. package/dist/collection/components/tab-bar/tab-bar.js +128 -119
  306. package/dist/collection/components/tab-button/tab-button.js +184 -177
  307. package/dist/collection/components/table/table.js +11 -7
  308. package/dist/collection/components/tabs/tabs.js +154 -147
  309. package/dist/collection/components/text/text.js +34 -29
  310. package/dist/collection/components/textarea/textarea.js +529 -523
  311. package/dist/collection/components/toast/toast.css +1 -1
  312. package/dist/collection/components/toast/toast.js +143 -136
  313. package/dist/collection/components/toggle/toggle.js +315 -310
  314. package/dist/collection/components/toolbar/toolbar.js +33 -34
  315. package/dist/collection/components/toolbar-title/toolbar-title.js +12 -9
  316. package/dist/collection/components/tooltip/tooltip.js +153 -149
  317. package/dist/esm/{app-a32f9d74.js → app-ca51f056.js} +1 -1
  318. package/dist/esm/css-shim-88cc621b.js +4 -0
  319. package/dist/esm/{dom-ba83fb9d.js → dom-665d6011.js} +1 -1
  320. package/dist/esm/{index-0c8a0e04.js → index-a99a5e7b.js} +689 -277
  321. package/dist/esm/index.js +2 -2
  322. package/dist/esm/loader.js +5 -5
  323. package/dist/esm/polyfills/css-shim.js +1 -1
  324. package/dist/esm/road-accordion.entry.js +14 -4
  325. package/dist/esm/road-alert.entry.js +3 -3
  326. package/dist/esm/road-autocomplete.entry.js +3 -3
  327. package/dist/esm/road-avatar.entry.js +3 -3
  328. package/dist/esm/road-badge_14.entry.js +791 -0
  329. package/dist/esm/road-banner.entry.js +2 -2
  330. package/dist/esm/road-card.entry.js +3 -3
  331. package/dist/esm/road-carousel-item.entry.js +3 -3
  332. package/dist/esm/road-carousel.entry.js +6441 -11
  333. package/dist/esm/road-checkbox.entry.js +3 -3
  334. package/dist/esm/road-chip.entry.js +3 -3
  335. package/dist/esm/road-collapse.entry.js +3 -3
  336. package/dist/esm/road-dialog.entry.js +3 -3
  337. package/dist/esm/road-dropdown.entry.js +3 -3
  338. package/dist/esm/road-duration.entry.js +3 -3
  339. package/dist/esm/road-flap.entry.js +3 -3
  340. package/dist/esm/road-img.entry.js +3 -3
  341. package/dist/esm/road-modal.entry.js +3 -3
  342. package/dist/esm/road-navbar-item.entry.js +3 -3
  343. package/dist/esm/road-navbar.entry.js +3 -3
  344. package/dist/esm/road-plate-number.entry.js +3 -3
  345. package/dist/esm/road-progress.entry.js +3 -3
  346. package/dist/esm/road-radio-group.entry.js +3 -3
  347. package/dist/esm/road-radio.entry.js +3 -3
  348. package/dist/esm/road-range.entry.js +3 -3
  349. package/dist/esm/road-rating.entry.js +3 -3
  350. package/dist/esm/road-select-filter.entry.js +6 -4
  351. package/dist/esm/road-select.entry.js +3 -3
  352. package/dist/esm/road-skeleton.entry.js +3 -3
  353. package/dist/esm/road-spinner.entry.js +3 -3
  354. package/dist/esm/road-stepper.entry.js +3 -3
  355. package/dist/esm/road-switch.entry.js +3 -3
  356. package/dist/esm/road-tab-bar.entry.js +3 -3
  357. package/dist/esm/road-tab-button.entry.js +3 -3
  358. package/dist/esm/road-tab.entry.js +2 -2
  359. package/dist/esm/road-table.entry.js +3 -3
  360. package/dist/esm/road-tabs.entry.js +2 -2
  361. package/dist/esm/road-text.entry.js +2 -2
  362. package/dist/esm/road-textarea.entry.js +3 -3
  363. package/dist/esm/road-toast.entry.js +3 -3
  364. package/dist/esm/road-toggle.entry.js +3 -3
  365. package/dist/esm/road-toolbar-title.entry.js +3 -3
  366. package/dist/esm/road-tooltip.entry.js +3 -3
  367. package/dist/esm/roadtrip.js +5 -5
  368. package/dist/esm/{shadow-css-bfd5796e.js → shadow-css-b18e99d7.js} +2 -3
  369. package/dist/esm/{utils-39de47f7.js → utils-0ec32b47.js} +1 -1
  370. package/dist/html.html-data.json +21 -13
  371. package/dist/icons/icons.svg +1 -1
  372. package/dist/icons/index.d.ts +97 -2
  373. package/dist/icons/index.js +184 -89
  374. package/dist/index.js +1 -1
  375. package/dist/loader/index.js +1 -1
  376. package/dist/loader/package.json +1 -0
  377. package/dist/roadtrip/index.esm.js +1 -1
  378. package/dist/roadtrip/p-05f7da47.entry.js +1 -0
  379. package/dist/roadtrip/p-095d5ffc.entry.js +1 -0
  380. package/dist/roadtrip/p-0ca6fb50.entry.js +1 -0
  381. package/dist/roadtrip/p-0ce45fe7.entry.js +1 -0
  382. package/dist/roadtrip/p-1361d4c7.entry.js +1 -0
  383. package/dist/roadtrip/p-1871fe52.entry.js +1 -0
  384. package/dist/roadtrip/p-1c8fba28.entry.js +1 -0
  385. package/dist/roadtrip/p-23d1fa76.entry.js +1 -0
  386. package/dist/roadtrip/p-2b92deb4.entry.js +1 -0
  387. package/dist/roadtrip/p-2c87e848.entry.js +1 -0
  388. package/dist/roadtrip/p-2db00cbc.entry.js +1 -0
  389. package/dist/roadtrip/p-34045b69.entry.js +1 -0
  390. package/dist/roadtrip/p-350b8f54.entry.js +1 -0
  391. package/dist/roadtrip/p-4056c748.entry.js +1 -0
  392. package/dist/roadtrip/p-40bfdbfa.entry.js +1 -0
  393. package/dist/roadtrip/p-4354fc7f.entry.js +1 -0
  394. package/dist/roadtrip/p-4b12d113.js +1 -0
  395. package/dist/roadtrip/p-5198817e.entry.js +1 -0
  396. package/dist/roadtrip/p-5d29e9c8.entry.js +1 -0
  397. package/dist/roadtrip/p-6246e09a.entry.js +1 -0
  398. package/dist/roadtrip/p-6298ef24.entry.js +1 -0
  399. package/dist/roadtrip/{p-ac0761c3.js → p-62b28500.js} +0 -0
  400. package/dist/roadtrip/p-6312516e.js +1 -0
  401. package/dist/roadtrip/{p-22ff574e.entry.js → p-64c0d798.entry.js} +1 -1
  402. package/dist/roadtrip/p-6862b9f8.entry.js +1 -0
  403. package/dist/roadtrip/p-70540977.entry.js +1 -0
  404. package/dist/roadtrip/p-835ad24a.entry.js +1 -0
  405. package/dist/roadtrip/p-924cade0.entry.js +1 -0
  406. package/dist/roadtrip/p-96475c17.entry.js +1 -0
  407. package/dist/roadtrip/p-97d330e0.entry.js +1 -0
  408. package/dist/roadtrip/p-aafa4ced.entry.js +1 -0
  409. package/dist/roadtrip/p-aeb7cc19.entry.js +1 -0
  410. package/dist/roadtrip/p-b09d2170.entry.js +1 -0
  411. package/dist/roadtrip/p-ba09f82a.entry.js +1 -0
  412. package/dist/roadtrip/p-c468b520.entry.js +1 -0
  413. package/dist/roadtrip/p-cc47e29d.entry.js +1 -0
  414. package/dist/roadtrip/p-cdc666bc.js +2 -0
  415. package/dist/roadtrip/p-d2d83075.entry.js +1 -0
  416. package/dist/roadtrip/p-d5a7bdc7.entry.js +1 -0
  417. package/dist/roadtrip/p-de4ccbde.entry.js +1 -0
  418. package/dist/roadtrip/p-e348e3a3.entry.js +1 -0
  419. package/dist/roadtrip/p-e5d7e62d.entry.js +1 -0
  420. package/dist/roadtrip/p-e602feab.entry.js +1 -0
  421. package/dist/roadtrip/p-e64fe690.js +1 -0
  422. package/dist/roadtrip/p-e6a69601.entry.js +1 -0
  423. package/dist/roadtrip/p-ea053d07.entry.js +1 -0
  424. package/dist/roadtrip/p-ea321cc5.entry.js +1 -0
  425. package/dist/roadtrip/p-edc33971.entry.js +1 -0
  426. package/dist/roadtrip/{p-93dab753.js → p-f26ed61d.js} +1 -1
  427. package/dist/roadtrip/roadtrip.css +1 -1
  428. package/dist/roadtrip/roadtrip.esm.js +1 -1
  429. package/dist/roadtrip/svg/battery-start-stop-color.svg +1 -1
  430. package/dist/roadtrip/svg/battery-start-stop-outline.svg +1 -1
  431. package/dist/roadtrip/svg/bike-inflation-color.svg +1 -1
  432. package/dist/roadtrip/svg/bike-inflation-outline.svg +1 -1
  433. package/dist/roadtrip/svg/electric-color.svg +1 -1
  434. package/dist/roadtrip/svg/electric-outline.svg +1 -1
  435. package/dist/roadtrip/svg/electric-solid.svg +1 -1
  436. package/dist/roadtrip/svg/file-contract-color.svg +1 -0
  437. package/dist/roadtrip/svg/file-contract-outline.svg +1 -0
  438. package/dist/roadtrip/svg/flag-belgium.svg +1 -1
  439. package/dist/roadtrip/svg/flag-germany.svg +1 -1
  440. package/dist/roadtrip/svg/motor-starter-color.svg +1 -0
  441. package/dist/roadtrip/svg/motor-starter-outline.svg +1 -0
  442. package/dist/roadtrip/svg/people-disability-wheelchair-color.svg +1 -1
  443. package/dist/roadtrip/svg/people-disability-wheelchair-solid.svg +1 -1
  444. package/dist/roadtrip/svg/seat-bike-front-color.svg +1 -0
  445. package/dist/roadtrip/svg/seat-bike-front-outline.svg +1 -0
  446. package/dist/roadtrip/svg/seat-bike-rear-color.svg +1 -0
  447. package/dist/roadtrip/svg/seat-bike-rear-junior-color.svg +1 -0
  448. package/dist/roadtrip/svg/seat-bike-rear-junior-outline.svg +1 -0
  449. package/dist/roadtrip/svg/seat-bike-rear-outline.svg +1 -0
  450. package/dist/roadtrip/svg/seat-bike-trailer-color.svg +1 -0
  451. package/dist/roadtrip/svg/seat-bike-trailer-outline.svg +1 -0
  452. package/dist/roadtrip/svg/shock-absorber-body-part-color.svg +1 -0
  453. package/dist/roadtrip/svg/shock-absorber-color.svg +1 -1
  454. package/dist/roadtrip/svg/shock-absorber-outline.svg +1 -1
  455. package/dist/roadtrip/svg/smart-repair-color.svg +1 -0
  456. package/dist/roadtrip/svg/smart-repair-outline.svg +1 -0
  457. package/dist/roadtrip/svg/{snowflake-solid color.svg → snowflake-solid-color.svg} +0 -0
  458. package/dist/roadtrip/svg/social-linkedin-badge.svg +1 -1
  459. package/dist/roadtrip/svg/sticker-certified-pickerl-color.svg +1 -0
  460. package/dist/roadtrip/svg/sticker-certified-pickerl-outline.svg +1 -0
  461. package/dist/roadtrip/svg/timer-1u-color.svg +1 -1
  462. package/dist/roadtrip/svg/timer-1u-outline.svg +1 -1
  463. package/dist/roadtrip/svg/tire-inflation-color.svg +1 -1
  464. package/dist/roadtrip/svg/tire-inflation-outline.svg +1 -1
  465. package/dist/roadtrip/svg/tire-received-color.svg +1 -0
  466. package/dist/roadtrip/svg/tire-received-outline.svg +1 -0
  467. package/dist/roadtrip/svg/tire-received-solid.svg +1 -0
  468. package/dist/roadtrip/svg/tire-swap-color.svg +1 -0
  469. package/dist/roadtrip/svg/tire-swap-outline.svg +1 -0
  470. package/dist/roadtrip/svg/tire-swap-solid.svg +1 -0
  471. package/dist/roadtrip/svg/tire-transfer-color.svg +1 -0
  472. package/dist/roadtrip/svg/tire-transfer-outline.svg +1 -0
  473. package/dist/roadtrip/svg/tire-transfer-solid.svg +1 -0
  474. package/dist/roadtrip/svg/vehicle-4wd-color.svg +1 -0
  475. package/dist/roadtrip/svg/vehicle-4wd-outline.svg +1 -0
  476. package/dist/roadtrip/svg/vehicle-4wd-solid.svg +1 -0
  477. package/dist/roadtrip/svg/vehicle-acc-color.svg +1 -1
  478. package/dist/roadtrip/svg/vehicle-acc-outline.svg +1 -1
  479. package/dist/roadtrip/svg/vehicle-acc-solid.svg +1 -1
  480. package/dist/roadtrip/svg/vehicle-battery-service-color.svg +1 -1
  481. package/dist/roadtrip/svg/vehicle-battery-service-outline.svg +1 -1
  482. package/dist/roadtrip/svg/vehicle-battery-service-solid.svg +1 -1
  483. package/dist/roadtrip/svg/vehicle-bike-repair-color.svg +1 -1
  484. package/dist/roadtrip/svg/vehicle-bike-repair-outline.svg +1 -1
  485. package/dist/roadtrip/svg/vehicle-bike-repair-solid.svg +1 -1
  486. package/dist/roadtrip/svg/vehicle-bus-color.svg +1 -0
  487. package/dist/roadtrip/svg/vehicle-bus-outline.svg +1 -1
  488. package/dist/roadtrip/svg/vehicle-bus-solid.svg +1 -1
  489. package/dist/roadtrip/svg/vehicle-car-moto-color.svg +1 -0
  490. package/dist/roadtrip/svg/vehicle-car-moto-outline.svg +1 -0
  491. package/dist/roadtrip/svg/vehicle-car-moto-solid.svg +1 -1
  492. package/dist/roadtrip/svg/vehicle-car-sad-color.svg +1 -0
  493. package/dist/roadtrip/svg/vehicle-car-sad-outline.svg +1 -1
  494. package/dist/roadtrip/svg/vehicle-car-sad-solid.svg +1 -1
  495. package/dist/roadtrip/svg/vehicle-car-search-color.svg +1 -0
  496. package/dist/roadtrip/svg/vehicle-car-search-outline.svg +1 -1
  497. package/dist/roadtrip/svg/vehicle-car-search-solid.svg +1 -1
  498. package/dist/roadtrip/svg/vehicle-car-side-tire-behind-color.svg +1 -1
  499. package/dist/roadtrip/svg/{vehicle-car-side-tire-front-outline-color.svg → vehicle-car-side-tire-behind-outline-color.svg} +0 -0
  500. package/dist/roadtrip/svg/vehicle-car-side-tire-behind-outline.svg +1 -1
  501. package/dist/roadtrip/svg/vehicle-car-side-tire-behind-solid.svg +1 -1
  502. package/dist/roadtrip/svg/vehicle-car-side-tire-behind.svg +1 -1
  503. package/dist/roadtrip/svg/vehicle-car-side-tire-front-color.svg +1 -1
  504. package/dist/roadtrip/svg/{vehicle-car-side-tire-behind-oultine.svg → vehicle-car-side-tire-front-oultine.svg} +0 -0
  505. package/dist/roadtrip/svg/vehicle-car-side-tire-front-outline.svg +1 -1
  506. package/dist/roadtrip/svg/vehicle-car-side-tire-front-solid.svg +1 -1
  507. package/dist/roadtrip/svg/vehicle-car-side-tire-front.svg +1 -1
  508. package/dist/roadtrip/svg/vehicle-car-sound-color.svg +1 -0
  509. package/dist/roadtrip/svg/vehicle-car-sound-outline.svg +1 -1
  510. package/dist/roadtrip/svg/vehicle-car-sound-solid.svg +1 -1
  511. package/dist/roadtrip/svg/vehicle-caravan-color.svg +1 -0
  512. package/dist/roadtrip/svg/vehicle-caravan-outline.svg +1 -0
  513. package/dist/roadtrip/svg/vehicle-caravan-solid.svg +1 -1
  514. package/dist/roadtrip/svg/vehicle-carport-color.svg +1 -1
  515. package/dist/roadtrip/svg/vehicle-carport-outline.svg +1 -1
  516. package/dist/roadtrip/svg/vehicle-collector-color.svg +1 -0
  517. package/dist/roadtrip/svg/vehicle-collector-outline.svg +1 -0
  518. package/dist/roadtrip/svg/vehicle-collector-solid.svg +1 -1
  519. package/dist/roadtrip/svg/vehicle-delivery-color.svg +1 -0
  520. package/dist/roadtrip/svg/vehicle-delivery-fast-color.svg +1 -1
  521. package/dist/roadtrip/svg/vehicle-delivery-fast-outline.svg +1 -1
  522. package/dist/roadtrip/svg/vehicle-delivery-fast-solid.svg +1 -1
  523. package/dist/roadtrip/svg/vehicle-delivery-free-return-color.svg +1 -1
  524. package/dist/roadtrip/svg/vehicle-delivery-free-return-outline.svg +1 -1
  525. package/dist/roadtrip/svg/vehicle-delivery-free-return-solid.svg +1 -1
  526. package/dist/roadtrip/svg/vehicle-delivery-meeting-color.svg +1 -1
  527. package/dist/roadtrip/svg/vehicle-delivery-meeting-outline.svg +1 -1
  528. package/dist/roadtrip/svg/vehicle-delivery-meeting-solid.svg +1 -1
  529. package/dist/roadtrip/svg/vehicle-delivery-outline.svg +1 -1
  530. package/dist/roadtrip/svg/vehicle-delivery-solid.svg +1 -1
  531. package/dist/roadtrip/svg/vehicle-distance-color.svg +1 -1
  532. package/dist/roadtrip/svg/vehicle-distance-outline.svg +1 -1
  533. package/dist/roadtrip/svg/vehicle-drive-carport-color.svg +1 -1
  534. package/dist/roadtrip/svg/vehicle-drive-carport-outline.svg +1 -1
  535. package/dist/roadtrip/svg/vehicle-drive-color.svg +1 -1
  536. package/dist/roadtrip/svg/vehicle-drive-outline.svg +1 -1
  537. package/dist/roadtrip/svg/vehicle-micro-color.svg +1 -0
  538. package/dist/roadtrip/svg/vehicle-micro-outline.svg +1 -0
  539. package/dist/roadtrip/svg/vehicle-micro-solid.svg +1 -0
  540. package/dist/roadtrip/svg/vehicle-minivan-color.svg +1 -0
  541. package/dist/roadtrip/svg/vehicle-minivan-outline.svg +1 -0
  542. package/dist/roadtrip/svg/vehicle-minivan-solid.svg +1 -0
  543. package/dist/roadtrip/svg/vehicle-moto-color.svg +1 -1
  544. package/dist/roadtrip/svg/vehicle-moto-outline.svg +1 -1
  545. package/dist/roadtrip/svg/vehicle-moto-solid.svg +1 -1
  546. package/dist/roadtrip/svg/vehicle-mower-color.svg +1 -0
  547. package/dist/roadtrip/svg/vehicle-mower-outline.svg +1 -0
  548. package/dist/roadtrip/svg/vehicle-mower-solid.svg +1 -1
  549. package/dist/roadtrip/svg/vehicle-pickup-color.svg +1 -0
  550. package/dist/roadtrip/svg/vehicle-pickup-outline.svg +1 -0
  551. package/dist/roadtrip/svg/vehicle-pickup-solid.svg +1 -1
  552. package/dist/roadtrip/svg/vehicle-pickup-van-color.svg +1 -0
  553. package/dist/roadtrip/svg/vehicle-pickup-van-outline.svg +1 -1
  554. package/dist/roadtrip/svg/vehicle-pickup-van-solid.svg +1 -1
  555. package/dist/roadtrip/svg/vehicle-quad-color.svg +1 -0
  556. package/dist/roadtrip/svg/vehicle-quad-outline.svg +1 -0
  557. package/dist/roadtrip/svg/vehicle-quad-solid.svg +1 -1
  558. package/dist/roadtrip/svg/vehicle-rent-bike-electric-color.svg +1 -0
  559. package/dist/roadtrip/svg/vehicle-rent-bike-electric-outline.svg +1 -0
  560. package/dist/roadtrip/svg/vehicle-rent-bike-electric-solid.svg +1 -1
  561. package/dist/roadtrip/svg/vehicle-rent-car-color.svg +1 -0
  562. package/dist/roadtrip/svg/vehicle-rent-car-micro-color.svg +1 -0
  563. package/dist/roadtrip/svg/vehicle-rent-car-micro-outline.svg +1 -0
  564. package/dist/roadtrip/svg/vehicle-rent-car-micro-solid.svg +1 -0
  565. package/dist/roadtrip/svg/vehicle-rent-car-outline.svg +1 -0
  566. package/dist/roadtrip/svg/vehicle-rent-car-solid.svg +1 -1
  567. package/dist/roadtrip/svg/vehicle-rent-trailer-color.svg +1 -0
  568. package/dist/roadtrip/svg/vehicle-rent-trailer-outline.svg +1 -0
  569. package/dist/roadtrip/svg/vehicle-rent-trailer-solid.svg +1 -1
  570. package/dist/roadtrip/svg/vehicle-repair-car-color.svg +1 -0
  571. package/dist/roadtrip/svg/vehicle-repair-car-outline.svg +1 -0
  572. package/dist/roadtrip/svg/vehicle-repair-car-solid.svg +1 -1
  573. package/dist/roadtrip/svg/vehicle-repair-moto-color.svg +1 -0
  574. package/dist/roadtrip/svg/vehicle-repair-moto-outline.svg +1 -0
  575. package/dist/roadtrip/svg/vehicle-repair-moto-solid.svg +1 -1
  576. package/dist/roadtrip/svg/vehicle-repair-pickup-van-color.svg +1 -0
  577. package/dist/roadtrip/svg/vehicle-repair-pickup-van-outline.svg +1 -0
  578. package/dist/roadtrip/svg/vehicle-repair-pickup-van-solid.svg +1 -1
  579. package/dist/roadtrip/svg/vehicle-repair-van-color.svg +1 -0
  580. package/dist/roadtrip/svg/vehicle-repair-van-outline.svg +1 -0
  581. package/dist/roadtrip/svg/vehicle-repair-van-solid.svg +1 -1
  582. package/dist/roadtrip/svg/vehicle-road-grip-color.svg +1 -0
  583. package/dist/roadtrip/svg/vehicle-road-grip-outline.svg +1 -1
  584. package/dist/roadtrip/svg/vehicle-road-grip-solid.svg +1 -1
  585. package/dist/roadtrip/svg/vehicle-roadster-color.svg +1 -0
  586. package/dist/roadtrip/svg/vehicle-roadster-outline.svg +1 -0
  587. package/dist/roadtrip/svg/vehicle-roadster-solid.svg +1 -0
  588. package/dist/roadtrip/svg/vehicle-roofrack-color.svg +1 -0
  589. package/dist/roadtrip/svg/vehicle-roofrack-outline.svg +1 -0
  590. package/dist/roadtrip/svg/vehicle-roofrack-solid.svg +1 -0
  591. package/dist/roadtrip/svg/vehicle-scooter-color.svg +1 -1
  592. package/dist/roadtrip/svg/vehicle-scooter-outline.svg +1 -1
  593. package/dist/roadtrip/svg/vehicle-scooter-solid.svg +1 -1
  594. package/dist/roadtrip/svg/vehicle-sedan-color.svg +1 -0
  595. package/dist/roadtrip/svg/vehicle-sedan-outline.svg +1 -0
  596. package/dist/roadtrip/svg/vehicle-sedan-solid.svg +1 -0
  597. package/dist/roadtrip/svg/vehicle-sport-color.svg +1 -0
  598. package/dist/roadtrip/svg/vehicle-sport-outline.svg +1 -0
  599. package/dist/roadtrip/svg/vehicle-sport-solid.svg +1 -0
  600. package/dist/roadtrip/svg/vehicle-station-wagon-color.svg +1 -0
  601. package/dist/roadtrip/svg/vehicle-station-wagon-outline.svg +1 -0
  602. package/dist/roadtrip/svg/vehicle-station-wagon-solid.svg +1 -0
  603. package/dist/roadtrip/svg/vehicle-suv-color.svg +1 -0
  604. package/dist/roadtrip/svg/vehicle-suv-outline.svg +1 -0
  605. package/dist/roadtrip/svg/vehicle-suv-solid.svg +1 -1
  606. package/dist/roadtrip/svg/vehicle-tractor-color.svg +1 -0
  607. package/dist/roadtrip/svg/vehicle-tractor-outline.svg +1 -0
  608. package/dist/roadtrip/svg/vehicle-tractor-solid.svg +1 -1
  609. package/dist/roadtrip/svg/vehicle-trailer-color.svg +1 -0
  610. package/dist/roadtrip/svg/vehicle-trailer-outline.svg +1 -0
  611. package/dist/roadtrip/svg/vehicle-trailer-solid.svg +1 -1
  612. package/dist/roadtrip/svg/vehicle-truck-color.svg +1 -0
  613. package/dist/roadtrip/svg/vehicle-truck-outline.svg +1 -0
  614. package/dist/roadtrip/svg/vehicle-truck-solid.svg +1 -1
  615. package/dist/roadtrip/svg/vehicle-van-color.svg +1 -0
  616. package/dist/roadtrip/svg/vehicle-van-outline.svg +1 -1
  617. package/dist/roadtrip/svg/vehicle-van-solid.svg +1 -1
  618. package/dist/roadtrip/svg/vehicle-workshop-color.svg +1 -1
  619. package/dist/roadtrip/svg/vehicle-workshop-outline.svg +1 -1
  620. package/dist/roadtrip/svg/vehicle-workshop-solid.svg +1 -1
  621. package/dist/roadtrip/svg/weather-sun-color.svg +1 -1
  622. package/dist/roadtrip/svg/weather-sun-outline-color.svg +1 -1
  623. package/dist/roadtrip/svg/weather-sun-snow-color.svg +1 -1
  624. package/dist/roadtrip/svg/weather-sun-snow-outline-color.svg +1 -1
  625. package/dist/roadtrip/svg/weather-sun-snow-solid-color.svg +1 -1
  626. package/dist/roadtrip/svg/weather-sun-solid-color.svg +1 -1
  627. package/dist/types/components/accordion/accordion.d.ts +8 -0
  628. package/dist/types/components/carousel/carousel.d.ts +1 -0
  629. package/dist/types/components/counter/counter.d.ts +31 -13
  630. package/dist/types/components.d.ts +218 -77
  631. package/dist/types/stencil-public-runtime.d.ts +15 -4
  632. package/icons/icons.svg +1 -1
  633. package/icons/index.d.ts +97 -2
  634. package/icons/index.js +184 -89
  635. package/package.json +7 -7
  636. package/dist/cjs/css-shim-9a05bb86.js +0 -6
  637. package/dist/cjs/road-badge_11.cjs.entry.js +0 -532
  638. package/dist/cjs/road-counter.cjs.entry.js +0 -70
  639. package/dist/cjs/road-input-group.cjs.entry.js +0 -29
  640. package/dist/cjs/road-input.cjs.entry.js +0 -144
  641. package/dist/cjs/swiper.bundle-dec9b216.js +0 -10002
  642. package/dist/collection/components/carousel/swiper/swiper-interface.d.ts +0 -1
  643. package/dist/collection/components/carousel/swiper/swiper.bundle.js +0 -10002
  644. package/dist/collection/components/carousel/swiper/swiper.js +0 -4
  645. package/dist/esm/css-shim-17041dc7.js +0 -4
  646. package/dist/esm/road-badge_11.entry.js +0 -518
  647. package/dist/esm/road-counter.entry.js +0 -66
  648. package/dist/esm/road-input-group.entry.js +0 -25
  649. package/dist/esm/road-input.entry.js +0 -140
  650. package/dist/esm/swiper.bundle-6070542b.js +0 -10000
  651. package/dist/esm-es5/app-a32f9d74.js +0 -1
  652. package/dist/esm-es5/css-shim-17041dc7.js +0 -1
  653. package/dist/esm-es5/dom-ba83fb9d.js +0 -21
  654. package/dist/esm-es5/focus-visible-0fc6119c.js +0 -1
  655. package/dist/esm-es5/index-0c8a0e04.js +0 -1
  656. package/dist/esm-es5/index-3e2c0645.js +0 -1
  657. package/dist/esm-es5/index.js +0 -1
  658. package/dist/esm-es5/loader.js +0 -1
  659. package/dist/esm-es5/polyfill-2b159e86.js +0 -1
  660. package/dist/esm-es5/road-accordion.entry.js +0 -1
  661. package/dist/esm-es5/road-alert.entry.js +0 -1
  662. package/dist/esm-es5/road-autocomplete.entry.js +0 -1
  663. package/dist/esm-es5/road-avatar.entry.js +0 -1
  664. package/dist/esm-es5/road-badge_11.entry.js +0 -1
  665. package/dist/esm-es5/road-banner.entry.js +0 -1
  666. package/dist/esm-es5/road-card.entry.js +0 -1
  667. package/dist/esm-es5/road-carousel-item.entry.js +0 -1
  668. package/dist/esm-es5/road-carousel.entry.js +0 -1
  669. package/dist/esm-es5/road-checkbox.entry.js +0 -1
  670. package/dist/esm-es5/road-chip.entry.js +0 -1
  671. package/dist/esm-es5/road-collapse.entry.js +0 -1
  672. package/dist/esm-es5/road-counter.entry.js +0 -1
  673. package/dist/esm-es5/road-dialog.entry.js +0 -1
  674. package/dist/esm-es5/road-dropdown.entry.js +0 -1
  675. package/dist/esm-es5/road-duration.entry.js +0 -1
  676. package/dist/esm-es5/road-flap.entry.js +0 -1
  677. package/dist/esm-es5/road-img.entry.js +0 -1
  678. package/dist/esm-es5/road-input-group.entry.js +0 -1
  679. package/dist/esm-es5/road-input.entry.js +0 -1
  680. package/dist/esm-es5/road-modal.entry.js +0 -1
  681. package/dist/esm-es5/road-navbar-item.entry.js +0 -1
  682. package/dist/esm-es5/road-navbar.entry.js +0 -1
  683. package/dist/esm-es5/road-plate-number.entry.js +0 -1
  684. package/dist/esm-es5/road-progress.entry.js +0 -1
  685. package/dist/esm-es5/road-radio-group.entry.js +0 -1
  686. package/dist/esm-es5/road-radio.entry.js +0 -1
  687. package/dist/esm-es5/road-range.entry.js +0 -1
  688. package/dist/esm-es5/road-rating.entry.js +0 -1
  689. package/dist/esm-es5/road-select-filter.entry.js +0 -1
  690. package/dist/esm-es5/road-select.entry.js +0 -1
  691. package/dist/esm-es5/road-skeleton.entry.js +0 -1
  692. package/dist/esm-es5/road-spinner.entry.js +0 -1
  693. package/dist/esm-es5/road-stepper.entry.js +0 -1
  694. package/dist/esm-es5/road-switch.entry.js +0 -1
  695. package/dist/esm-es5/road-tab-bar.entry.js +0 -1
  696. package/dist/esm-es5/road-tab-button.entry.js +0 -1
  697. package/dist/esm-es5/road-tab.entry.js +0 -1
  698. package/dist/esm-es5/road-table.entry.js +0 -1
  699. package/dist/esm-es5/road-tabs.entry.js +0 -1
  700. package/dist/esm-es5/road-text.entry.js +0 -1
  701. package/dist/esm-es5/road-textarea.entry.js +0 -1
  702. package/dist/esm-es5/road-toast.entry.js +0 -1
  703. package/dist/esm-es5/road-toggle.entry.js +0 -1
  704. package/dist/esm-es5/road-toolbar-title.entry.js +0 -1
  705. package/dist/esm-es5/road-tooltip.entry.js +0 -1
  706. package/dist/esm-es5/roadtrip.js +0 -1
  707. package/dist/esm-es5/shadow-css-bfd5796e.js +0 -12
  708. package/dist/esm-es5/swiper.bundle-6070542b.js +0 -1
  709. package/dist/esm-es5/utils-39de47f7.js +0 -1
  710. package/dist/roadtrip/p-05961c88.system.js +0 -1
  711. package/dist/roadtrip/p-0a34a8cf.entry.js +0 -1
  712. package/dist/roadtrip/p-102d3882.system.js +0 -1
  713. package/dist/roadtrip/p-1108fffd.entry.js +0 -1
  714. package/dist/roadtrip/p-12293413.system.entry.js +0 -1
  715. package/dist/roadtrip/p-1347a27e.entry.js +0 -1
  716. package/dist/roadtrip/p-13c18cec.system.entry.js +0 -1
  717. package/dist/roadtrip/p-19f72337.entry.js +0 -1
  718. package/dist/roadtrip/p-1f1464ba.entry.js +0 -1
  719. package/dist/roadtrip/p-218b1c60.entry.js +0 -1
  720. package/dist/roadtrip/p-21acc566.entry.js +0 -1
  721. package/dist/roadtrip/p-288298fa.system.entry.js +0 -1
  722. package/dist/roadtrip/p-2e918486.entry.js +0 -1
  723. package/dist/roadtrip/p-33e38a04.js +0 -1
  724. package/dist/roadtrip/p-3683fe49.system.js +0 -13
  725. package/dist/roadtrip/p-382e4c17.entry.js +0 -1
  726. package/dist/roadtrip/p-39a93000.entry.js +0 -1
  727. package/dist/roadtrip/p-3e953654.system.entry.js +0 -1
  728. package/dist/roadtrip/p-3ee7ff2a.system.entry.js +0 -1
  729. package/dist/roadtrip/p-40fc1632.system.entry.js +0 -1
  730. package/dist/roadtrip/p-41ca895a.entry.js +0 -1
  731. package/dist/roadtrip/p-467f5310.system.entry.js +0 -1
  732. package/dist/roadtrip/p-46c22946.js +0 -1
  733. package/dist/roadtrip/p-4e8c413a.entry.js +0 -1
  734. package/dist/roadtrip/p-52cf548c.entry.js +0 -1
  735. package/dist/roadtrip/p-57e46bbc.system.entry.js +0 -1
  736. package/dist/roadtrip/p-5a426113.system.entry.js +0 -1
  737. package/dist/roadtrip/p-5d6d5348.system.entry.js +0 -1
  738. package/dist/roadtrip/p-5f21ee83.entry.js +0 -1
  739. package/dist/roadtrip/p-604130ce.entry.js +0 -1
  740. package/dist/roadtrip/p-604a0940.system.entry.js +0 -1
  741. package/dist/roadtrip/p-6117d969.system.entry.js +0 -1
  742. package/dist/roadtrip/p-6195c41f.system.entry.js +0 -1
  743. package/dist/roadtrip/p-63daafae.js +0 -1
  744. package/dist/roadtrip/p-688e41f2.entry.js +0 -1
  745. package/dist/roadtrip/p-697078eb.entry.js +0 -1
  746. package/dist/roadtrip/p-6a123e72.system.entry.js +0 -1
  747. package/dist/roadtrip/p-701cba5a.system.entry.js +0 -1
  748. package/dist/roadtrip/p-7118c44a.entry.js +0 -1
  749. package/dist/roadtrip/p-7154119b.system.js +0 -21
  750. package/dist/roadtrip/p-72d2813d.system.entry.js +0 -1
  751. package/dist/roadtrip/p-731c9b95.system.entry.js +0 -1
  752. package/dist/roadtrip/p-76bede83.system.entry.js +0 -1
  753. package/dist/roadtrip/p-77167161.entry.js +0 -1
  754. package/dist/roadtrip/p-78315356.entry.js +0 -1
  755. package/dist/roadtrip/p-785ade45.system.entry.js +0 -1
  756. package/dist/roadtrip/p-794dd500.entry.js +0 -1
  757. package/dist/roadtrip/p-7ac2c7d2.entry.js +0 -1
  758. package/dist/roadtrip/p-7b733694.js +0 -1
  759. package/dist/roadtrip/p-7cb7d25b.system.entry.js +0 -1
  760. package/dist/roadtrip/p-7f2cba6f.system.entry.js +0 -1
  761. package/dist/roadtrip/p-801c9922.system.js +0 -1
  762. package/dist/roadtrip/p-83926ef1.system.entry.js +0 -1
  763. package/dist/roadtrip/p-8459879b.system.js +0 -1
  764. package/dist/roadtrip/p-85c918f6.system.entry.js +0 -1
  765. package/dist/roadtrip/p-864ed7f9.system.entry.js +0 -1
  766. package/dist/roadtrip/p-87a26ac6.system.js +0 -1
  767. package/dist/roadtrip/p-896f49f2.entry.js +0 -1
  768. package/dist/roadtrip/p-8c2d1876.entry.js +0 -1
  769. package/dist/roadtrip/p-9309300a.entry.js +0 -1
  770. package/dist/roadtrip/p-9337ed51.system.entry.js +0 -1
  771. package/dist/roadtrip/p-9aaa4745.system.entry.js +0 -1
  772. package/dist/roadtrip/p-a00ea5b7.entry.js +0 -1
  773. package/dist/roadtrip/p-a5de9990.system.entry.js +0 -1
  774. package/dist/roadtrip/p-a61e74f3.entry.js +0 -1
  775. package/dist/roadtrip/p-a64d28d7.entry.js +0 -1
  776. package/dist/roadtrip/p-a7565a49.system.entry.js +0 -1
  777. package/dist/roadtrip/p-a82fd96a.entry.js +0 -1
  778. package/dist/roadtrip/p-a9538932.entry.js +0 -1
  779. package/dist/roadtrip/p-ad1136ff.system.entry.js +0 -1
  780. package/dist/roadtrip/p-ad92df4f.system.js +0 -1
  781. package/dist/roadtrip/p-af49dca4.entry.js +0 -1
  782. package/dist/roadtrip/p-b205281e.system.js +0 -1
  783. package/dist/roadtrip/p-b591a3f7.system.entry.js +0 -1
  784. package/dist/roadtrip/p-bd6463ab.system.entry.js +0 -1
  785. package/dist/roadtrip/p-c1088217.system.entry.js +0 -1
  786. package/dist/roadtrip/p-c5004910.entry.js +0 -1
  787. package/dist/roadtrip/p-c53458d4.system.entry.js +0 -1
  788. package/dist/roadtrip/p-c9409f80.system.entry.js +0 -1
  789. package/dist/roadtrip/p-cab68ba7.entry.js +0 -1
  790. package/dist/roadtrip/p-cc00e9dc.system.entry.js +0 -1
  791. package/dist/roadtrip/p-d18db10c.system.entry.js +0 -1
  792. package/dist/roadtrip/p-d42af23b.system.entry.js +0 -1
  793. package/dist/roadtrip/p-d492d058.entry.js +0 -1
  794. package/dist/roadtrip/p-db6e9fac.system.entry.js +0 -1
  795. package/dist/roadtrip/p-dbee6661.entry.js +0 -1
  796. package/dist/roadtrip/p-dfa3c709.system.entry.js +0 -1
  797. package/dist/roadtrip/p-e18fa251.entry.js +0 -1
  798. package/dist/roadtrip/p-e2a9123a.system.entry.js +0 -1
  799. package/dist/roadtrip/p-e502dd83.system.entry.js +0 -1
  800. package/dist/roadtrip/p-e5756d79.entry.js +0 -1
  801. package/dist/roadtrip/p-e6664bbe.entry.js +0 -1
  802. package/dist/roadtrip/p-e6d673ea.system.entry.js +0 -1
  803. package/dist/roadtrip/p-e82b49d1.entry.js +0 -1
  804. package/dist/roadtrip/p-ea1fe2a5.entry.js +0 -1
  805. package/dist/roadtrip/p-ee16482c.entry.js +0 -1
  806. package/dist/roadtrip/p-ee1e6fe7.system.entry.js +0 -1
  807. package/dist/roadtrip/p-efa19d38.system.js +0 -1
  808. package/dist/roadtrip/p-f00aa43f.system.entry.js +0 -1
  809. package/dist/roadtrip/p-f0ec3a64.entry.js +0 -1
  810. package/dist/roadtrip/p-f33e4ac5.system.js +0 -1
  811. package/dist/roadtrip/p-f5d32536.entry.js +0 -1
  812. package/dist/roadtrip/p-f631ead3.system.entry.js +0 -1
  813. package/dist/roadtrip/p-f6631560.js +0 -1
  814. package/dist/roadtrip/p-f7f442a7.entry.js +0 -1
  815. package/dist/roadtrip/p-f95a5e84.system.entry.js +0 -1
  816. package/dist/roadtrip/p-fc63310b.entry.js +0 -1
  817. package/dist/roadtrip/p-ffbbba64.system.js +0 -1
  818. package/dist/roadtrip/roadtrip.js +0 -132
  819. package/dist/roadtrip/swiper/swiper-interface.d.ts +0 -1
  820. package/dist/roadtrip/swiper/swiper.bundle.js +0 -10002
  821. package/dist/roadtrip/swiper/swiper.js +0 -4
  822. package/dist/types/components/carousel/swiper/swiper-interface.d.ts +0 -1
@@ -22,6 +22,14 @@ function _interopNamespace(e) {
22
22
 
23
23
  const NAMESPACE = 'roadtrip';
24
24
 
25
+ /**
26
+ * Virtual DOM patching algorithm based on Snabbdom by
27
+ * Simon Friis Vindum (@paldepind)
28
+ * Licensed under the MIT License
29
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
30
+ *
31
+ * Modified for Stencil's renderer and slot projection
32
+ */
25
33
  let scopeId;
26
34
  let contentRef;
27
35
  let hostTagName;
@@ -30,68 +38,10 @@ let checkSlotFallbackVisibility = false;
30
38
  let checkSlotRelocate = false;
31
39
  let isSvgMode = false;
32
40
  let queuePending = false;
33
- const win = typeof window !== 'undefined' ? window : {};
34
- const CSS = win.CSS ;
35
- const doc = win.document || { head: {} };
36
- const plt = {
37
- $flags$: 0,
38
- $resourcesUrl$: '',
39
- jmp: (h) => h(),
40
- raf: (h) => requestAnimationFrame(h),
41
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
42
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
43
- ce: (eventName, opts) => new CustomEvent(eventName, opts),
44
- };
45
- const supportsShadow = /*@__PURE__*/ (() => (doc.head.attachShadow + '').indexOf('[native') > -1)()
46
- ;
47
- const promiseResolve = (v) => Promise.resolve(v);
48
- const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
49
- try {
50
- new CSSStyleSheet();
51
- return typeof new CSSStyleSheet().replace === 'function';
52
- }
53
- catch (e) { }
54
- return false;
55
- })()
56
- ;
57
- const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
58
- if (listeners) {
59
- listeners.map(([flags, name, method]) => {
60
- const target = getHostListenerTarget(elm, flags) ;
61
- const handler = hostListenerProxy(hostRef, method);
62
- const opts = hostListenerOpts(flags);
63
- plt.ael(target, name, handler, opts);
64
- (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
65
- });
66
- }
67
- };
68
- const hostListenerProxy = (hostRef, methodName) => (ev) => {
69
- try {
70
- {
71
- if (hostRef.$flags$ & 256 /* isListenReady */) {
72
- // instance is ready, let's call it's member method for this event
73
- hostRef.$lazyInstance$[methodName](ev);
74
- }
75
- else {
76
- (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
77
- }
78
- }
79
- }
80
- catch (e) {
81
- consoleError(e);
82
- }
83
- };
84
- const getHostListenerTarget = (elm, flags) => {
85
- if (flags & 4 /* TargetDocument */)
86
- return doc;
87
- if (flags & 8 /* TargetWindow */)
88
- return win;
89
- return elm;
41
+ const getAssetPath = (path) => {
42
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
43
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
90
44
  };
91
- // prettier-ignore
92
- const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
93
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
94
- const XLINK_NS = 'http://www.w3.org/1999/xlink';
95
45
  const createTime = (fnName, tagName = '') => {
96
46
  {
97
47
  return () => {
@@ -106,89 +56,8 @@ const uniqueTime = (key, measureText) => {
106
56
  };
107
57
  }
108
58
  };
109
- const rootAppliedStyles = new WeakMap();
110
- const registerStyle = (scopeId, cssText, allowCS) => {
111
- let style = styles.get(scopeId);
112
- if (supportsConstructibleStylesheets && allowCS) {
113
- style = (style || new CSSStyleSheet());
114
- style.replace(cssText);
115
- }
116
- else {
117
- style = cssText;
118
- }
119
- styles.set(scopeId, style);
120
- };
121
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
122
- let scopeId = getScopeId(cmpMeta, mode);
123
- let style = styles.get(scopeId);
124
- // if an element is NOT connected then getRootNode() will return the wrong root node
125
- // so the fallback is to always use the document for the root node in those cases
126
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
127
- if (style) {
128
- if (typeof style === 'string') {
129
- styleContainerNode = styleContainerNode.head || styleContainerNode;
130
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
131
- let styleElm;
132
- if (!appliedStyles) {
133
- rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
134
- }
135
- if (!appliedStyles.has(scopeId)) {
136
- {
137
- if (plt.$cssShim$) {
138
- styleElm = plt.$cssShim$.createHostStyle(hostElm, scopeId, style, !!(cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */));
139
- const newScopeId = styleElm['s-sc'];
140
- if (newScopeId) {
141
- scopeId = newScopeId;
142
- // we don't want to add this styleID to the appliedStyles Set
143
- // since the cssVarShim might need to apply several different
144
- // stylesheets for the same component
145
- appliedStyles = null;
146
- }
147
- }
148
- else {
149
- styleElm = doc.createElement('style');
150
- styleElm.innerHTML = style;
151
- }
152
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
153
- }
154
- if (appliedStyles) {
155
- appliedStyles.add(scopeId);
156
- }
157
- }
158
- }
159
- else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
160
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
161
- }
162
- }
163
- return scopeId;
164
- };
165
- const attachStyles = (hostRef) => {
166
- const cmpMeta = hostRef.$cmpMeta$;
167
- const elm = hostRef.$hostElement$;
168
- const flags = cmpMeta.$flags$;
169
- const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
170
- const scopeId = addStyle(supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$, elm);
171
- if (flags & 10 /* needsScopedEncapsulation */) {
172
- // only required when we're NOT using native shadow dom (slot)
173
- // or this browser doesn't support native shadow dom
174
- // and this host element was NOT created with SSR
175
- // let's pick out the inner content for slot projection
176
- // create a node to represent where the original
177
- // content was first placed, which is useful later on
178
- // DOM WRITE!!
179
- elm['s-sc'] = scopeId;
180
- elm.classList.add(scopeId + '-h');
181
- if (flags & 2 /* scopedCssEncapsulation */) {
182
- elm.classList.add(scopeId + '-s');
183
- }
184
- }
185
- endAttachStyles();
186
- };
187
- const getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);
188
- // Private
189
- const computeMode = (elm) => modeResolutionChain.map((h) => h(elm)).find((m) => !!m);
190
- // Public
191
- const setMode = (handler) => modeResolutionChain.push(handler);
59
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
60
+ const XLINK_NS = 'http://www.w3.org/1999/xlink';
192
61
  /**
193
62
  * Default style mode id
194
63
  */
@@ -225,7 +94,7 @@ const h = (nodeName, vnodeData, ...children) => {
225
94
  let slotName = null;
226
95
  let simple = false;
227
96
  let lastSimple = false;
228
- let vNodeChildren = [];
97
+ const vNodeChildren = [];
229
98
  const walk = (c) => {
230
99
  for (let i = 0; i < c.length; i++) {
231
100
  child = c[i];
@@ -337,6 +206,167 @@ const convertToPrivate = (node) => {
337
206
  vnode.$name$ = node.vname;
338
207
  return vnode;
339
208
  };
209
+ // Private
210
+ const computeMode = (elm) => modeResolutionChain.map((h) => h(elm)).find((m) => !!m);
211
+ // Public
212
+ const setMode = (handler) => modeResolutionChain.push(handler);
213
+ /**
214
+ * Parse a new property value for a given property type.
215
+ *
216
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
217
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
218
+ * 1. `any`, the type given to `propValue` in the function signature
219
+ * 2. the type stored from `propType`.
220
+ *
221
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
222
+ *
223
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
224
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
225
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
226
+ * ```tsx
227
+ * <my-cmp prop-val={0}></my-cmp>
228
+ * ```
229
+ *
230
+ * HTML prop values on the other hand, will always a string
231
+ *
232
+ * @param propValue the new value to coerce to some type
233
+ * @param propType the type of the prop, expressed as a binary number
234
+ * @returns the parsed/coerced value
235
+ */
236
+ const parsePropertyValue = (propValue, propType) => {
237
+ // ensure this value is of the correct prop type
238
+ if (propValue != null && !isComplexType(propValue)) {
239
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
240
+ // per the HTML spec, any string value means it is a boolean true value
241
+ // but we'll cheat here and say that the string "false" is the boolean false
242
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
243
+ }
244
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
245
+ // force it to be a number
246
+ return parseFloat(propValue);
247
+ }
248
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
249
+ // could have been passed as a number or boolean
250
+ // but we still want it as a string
251
+ return String(propValue);
252
+ }
253
+ // redundant return here for better minification
254
+ return propValue;
255
+ }
256
+ // not sure exactly what type we want
257
+ // so no need to change to a different type
258
+ return propValue;
259
+ };
260
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
261
+ const createEvent = (ref, name, flags) => {
262
+ const elm = getElement(ref);
263
+ return {
264
+ emit: (detail) => {
265
+ return emitEvent(elm, name, {
266
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
267
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
268
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
269
+ detail,
270
+ });
271
+ },
272
+ };
273
+ };
274
+ /**
275
+ * Helper function to create & dispatch a custom Event on a provided target
276
+ * @param elm the target of the Event
277
+ * @param name the name to give the custom Event
278
+ * @param opts options for configuring a custom Event
279
+ * @returns the custom Event
280
+ */
281
+ const emitEvent = (elm, name, opts) => {
282
+ const ev = plt.ce(name, opts);
283
+ elm.dispatchEvent(ev);
284
+ return ev;
285
+ };
286
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
287
+ const registerStyle = (scopeId, cssText, allowCS) => {
288
+ let style = styles.get(scopeId);
289
+ if (supportsConstructableStylesheets && allowCS) {
290
+ style = (style || new CSSStyleSheet());
291
+ if (typeof style === 'string') {
292
+ style = cssText;
293
+ }
294
+ else {
295
+ style.replaceSync(cssText);
296
+ }
297
+ }
298
+ else {
299
+ style = cssText;
300
+ }
301
+ styles.set(scopeId, style);
302
+ };
303
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
304
+ let scopeId = getScopeId(cmpMeta, mode);
305
+ const style = styles.get(scopeId);
306
+ // if an element is NOT connected then getRootNode() will return the wrong root node
307
+ // so the fallback is to always use the document for the root node in those cases
308
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
309
+ if (style) {
310
+ if (typeof style === 'string') {
311
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
312
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
313
+ let styleElm;
314
+ if (!appliedStyles) {
315
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
316
+ }
317
+ if (!appliedStyles.has(scopeId)) {
318
+ {
319
+ if (plt.$cssShim$) {
320
+ styleElm = plt.$cssShim$.createHostStyle(hostElm, scopeId, style, !!(cmpMeta.$flags$ & 10 /* CMP_FLAGS.needsScopedEncapsulation */));
321
+ const newScopeId = styleElm['s-sc'];
322
+ if (newScopeId) {
323
+ scopeId = newScopeId;
324
+ // we don't want to add this styleID to the appliedStyles Set
325
+ // since the cssVarShim might need to apply several different
326
+ // stylesheets for the same component
327
+ appliedStyles = null;
328
+ }
329
+ }
330
+ else {
331
+ styleElm = doc.createElement('style');
332
+ styleElm.innerHTML = style;
333
+ }
334
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
335
+ }
336
+ if (appliedStyles) {
337
+ appliedStyles.add(scopeId);
338
+ }
339
+ }
340
+ }
341
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
342
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
343
+ }
344
+ }
345
+ return scopeId;
346
+ };
347
+ const attachStyles = (hostRef) => {
348
+ const cmpMeta = hostRef.$cmpMeta$;
349
+ const elm = hostRef.$hostElement$;
350
+ const flags = cmpMeta.$flags$;
351
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
352
+ const scopeId = addStyle(supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$, elm);
353
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
354
+ // only required when we're NOT using native shadow dom (slot)
355
+ // or this browser doesn't support native shadow dom
356
+ // and this host element was NOT created with SSR
357
+ // let's pick out the inner content for slot projection
358
+ // create a node to represent where the original
359
+ // content was first placed, which is useful later on
360
+ // DOM WRITE!!
361
+ elm['s-sc'] = scopeId;
362
+ elm.classList.add(scopeId + '-h');
363
+ if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
364
+ elm.classList.add(scopeId + '-s');
365
+ }
366
+ }
367
+ endAttachStyles();
368
+ };
369
+ const getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32 /* CMP_FLAGS.hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);
340
370
  /**
341
371
  * Production setAccessor() function based on Preact by
342
372
  * Jason Miller (@developit)
@@ -434,7 +464,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
434
464
  if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
435
465
  try {
436
466
  if (!elm.tagName.includes('-')) {
437
- let n = newValue == null ? '' : newValue;
467
+ const n = newValue == null ? '' : newValue;
438
468
  // Workaround for Safari, moving the <input> caret when re-assigning the same valued
439
469
  if (memberName === 'list') {
440
470
  isProp = false;
@@ -473,7 +503,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
473
503
  }
474
504
  }
475
505
  }
476
- else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
506
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
477
507
  newValue = newValue === true ? '' : newValue;
478
508
  if (xlink) {
479
509
  elm.setAttributeNS(XLINK_NS, memberName, newValue);
@@ -491,7 +521,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
491
521
  // if the element passed in is a shadow root, which is a document fragment
492
522
  // then we want to be adding attrs/props to the shadow root's "host" element
493
523
  // if it's not a shadow root, then we add attrs/props to the same element
494
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
524
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
495
525
  ? newVnode.$elm$.host
496
526
  : newVnode.$elm$;
497
527
  const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
@@ -509,9 +539,19 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
509
539
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
510
540
  }
511
541
  };
542
+ /**
543
+ * Create a DOM Node corresponding to one of the children of a given VNode.
544
+ *
545
+ * @param oldParentVNode the parent VNode from the previous render
546
+ * @param newParentVNode the parent VNode from the current render
547
+ * @param childIndex the index of the VNode, in the _new_ parent node's
548
+ * children, for which we will create a new DOM node
549
+ * @param parentElm the parent DOM node which our new node will be a child of
550
+ * @returns the newly created node
551
+ */
512
552
  const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
513
553
  // tslint:disable-next-line: prefer-const
514
- let newVNode = newParentVNode.$children$[childIndex];
554
+ const newVNode = newParentVNode.$children$[childIndex];
515
555
  let i = 0;
516
556
  let elm;
517
557
  let childNode;
@@ -526,16 +566,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
526
566
  }
527
567
  newVNode.$flags$ |= newVNode.$children$
528
568
  ? // slot element has fallback content
529
- 2 /* isSlotFallback */
569
+ 2 /* VNODE_FLAGS.isSlotFallback */
530
570
  : // slot element does not have fallback content
531
- 1 /* isSlotReference */;
571
+ 1 /* VNODE_FLAGS.isSlotReference */;
532
572
  }
533
573
  }
534
574
  if (newVNode.$text$ !== null) {
535
575
  // create text node
536
576
  elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
537
577
  }
538
- else if (newVNode.$flags$ & 1 /* isSlotReference */) {
578
+ else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
539
579
  // create a slot reference node
540
580
  elm = newVNode.$elm$ =
541
581
  doc.createTextNode('');
@@ -545,7 +585,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
545
585
  isSvgMode = newVNode.$tag$ === 'svg';
546
586
  }
547
587
  // create element
548
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
588
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
549
589
  ? 'slot-fb'
550
590
  : newVNode.$tag$)
551
591
  );
@@ -585,7 +625,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
585
625
  }
586
626
  {
587
627
  elm['s-hn'] = hostTagName;
588
- if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
628
+ if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
589
629
  // remember the content reference comment
590
630
  elm['s-sr'] = true;
591
631
  // remember the content reference comment
@@ -604,7 +644,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
604
644
  return elm;
605
645
  };
606
646
  const putBackInOriginalLocation = (parentElm, recursive) => {
607
- plt.$flags$ |= 1 /* isTmpDisconnected */;
647
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
608
648
  const oldSlotChildNodes = parentElm.childNodes;
609
649
  for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
610
650
  const childNode = oldSlotChildNodes[i];
@@ -625,7 +665,7 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
625
665
  putBackInOriginalLocation(childNode, recursive);
626
666
  }
627
667
  }
628
- plt.$flags$ &= ~1 /* isTmpDisconnected */;
668
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
629
669
  };
630
670
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
631
671
  let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
@@ -667,6 +707,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
667
707
  }
668
708
  }
669
709
  };
710
+ /**
711
+ * Reconcile the children of a new VNode with the children of an old VNode by
712
+ * traversing the two collections of children, identifying nodes that are
713
+ * conserved or changed, calling out to `patch` to make any necessary
714
+ * updates to the DOM, and rearranging DOM nodes as needed.
715
+ *
716
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
717
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
718
+ * 'windows' by storing start and end indices and references to the
719
+ * corresponding array entries. Initially the two 'windows' are basically equal
720
+ * to the entire array, but we progressively narrow the windows until there are
721
+ * no children left to update by doing the following:
722
+ *
723
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
724
+ * that if we have an initial array like the following we'll end up dealing
725
+ * only with a window bounded by the highlighted elements:
726
+ *
727
+ * [null, null, VNode1 , ... , VNode2, null, null]
728
+ * ^^^^^^ ^^^^^^
729
+ *
730
+ * 2. Check to see if the elements at the head and tail positions are equal
731
+ * across the windows. This will basically detect elements which haven't
732
+ * been added, removed, or changed position, i.e. if you had the following
733
+ * VNode elements (represented as HTML):
734
+ *
735
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
736
+ * newVNode: `<div><p><span>THERE</span></p></div>`
737
+ *
738
+ * Then when comparing the children of the `<div>` tag we check the equality
739
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
740
+ * same tag in the same position, we'd be able to avoid completely
741
+ * re-rendering the subtree under them with a new DOM element and would just
742
+ * call out to `patch` to handle reconciling their children and so on.
743
+ *
744
+ * 3. Check, for both windows, to see if the element at the beginning of the
745
+ * window corresponds to the element at the end of the other window. This is
746
+ * a heuristic which will let us identify _some_ situations in which
747
+ * elements have changed position, for instance it _should_ detect that the
748
+ * children nodes themselves have not changed but merely moved in the
749
+ * following example:
750
+ *
751
+ * oldVNode: `<div><element-one /><element-two /></div>`
752
+ * newVNode: `<div><element-two /><element-one /></div>`
753
+ *
754
+ * If we find cases like this then we also need to move the concrete DOM
755
+ * elements corresponding to the moved children to write the re-order to the
756
+ * DOM.
757
+ *
758
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
759
+ * nodes in the old children which have the same key as the first element in
760
+ * our window on the new children. If we find such a node we handle calling
761
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
762
+ * what we find.
763
+ *
764
+ * Finally, once we've narrowed our 'windows' to the point that either of them
765
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
766
+ * insertion or deletion that needs to happen to get a DOM state that correctly
767
+ * reflects the new child VNodes. If, for instance, after our window on the old
768
+ * children has collapsed we still have more nodes on the new children that
769
+ * we haven't dealt with yet then we need to add them, or if the new children
770
+ * collapse but we still have unhandled _old_ children then we need to make
771
+ * sure the corresponding DOM nodes are removed.
772
+ *
773
+ * @param parentElm the node into which the parent VNode is rendered
774
+ * @param oldCh the old children of the parent node
775
+ * @param newVNode the new VNode which will replace the parent
776
+ * @param newCh the new children of the parent node
777
+ */
670
778
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
671
779
  let oldStartIdx = 0;
672
780
  let newStartIdx = 0;
@@ -682,7 +790,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
682
790
  let elmToMove;
683
791
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
684
792
  if (oldStartVnode == null) {
685
- // Vnode might have been moved left
793
+ // VNode might have been moved left
686
794
  oldStartVnode = oldCh[++oldStartIdx];
687
795
  }
688
796
  else if (oldEndVnode == null) {
@@ -695,37 +803,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
695
803
  newEndVnode = newCh[--newEndIdx];
696
804
  }
697
805
  else if (isSameVnode(oldStartVnode, newStartVnode)) {
806
+ // if the start nodes are the same then we should patch the new VNode
807
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
808
+ // indices to reflect that. We don't need to move any DOM Nodes around
809
+ // since things are matched up in order.
698
810
  patch(oldStartVnode, newStartVnode);
699
811
  oldStartVnode = oldCh[++oldStartIdx];
700
812
  newStartVnode = newCh[++newStartIdx];
701
813
  }
702
814
  else if (isSameVnode(oldEndVnode, newEndVnode)) {
815
+ // likewise, if the end nodes are the same we patch new onto old and
816
+ // decrement our end indices, and also likewise in this case we don't
817
+ // need to move any DOM Nodes.
703
818
  patch(oldEndVnode, newEndVnode);
704
819
  oldEndVnode = oldCh[--oldEndIdx];
705
820
  newEndVnode = newCh[--newEndIdx];
706
821
  }
707
822
  else if (isSameVnode(oldStartVnode, newEndVnode)) {
708
- // Vnode moved right
823
+ // case: "Vnode moved right"
824
+ //
825
+ // We've found that the last node in our window on the new children is
826
+ // the same VNode as the _first_ node in our window on the old children
827
+ // we're dealing with now. Visually, this is the layout of these two
828
+ // nodes:
829
+ //
830
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
831
+ // ^^^^^^^^^^^
832
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
833
+ // ^^^^^^^^^^^^^
834
+ //
835
+ // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
836
+ // and move the DOM element for `oldStartVnode`.
709
837
  if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
710
838
  putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
711
839
  }
712
840
  patch(oldStartVnode, newEndVnode);
841
+ // We need to move the element for `oldStartVnode` into a position which
842
+ // will be appropriate for `newEndVnode`. For this we can use
843
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
844
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
845
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
846
+ //
847
+ // <old-start-node />
848
+ // <some-intervening-node />
849
+ // <old-end-node />
850
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
851
+ // <next-sibling />
852
+ //
853
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
854
+ // the node for `oldStartVnode` at the end of the children of
855
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
856
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
857
+ // append it to the children of the parent element.
713
858
  parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
714
859
  oldStartVnode = oldCh[++oldStartIdx];
715
860
  newEndVnode = newCh[--newEndIdx];
716
861
  }
717
862
  else if (isSameVnode(oldEndVnode, newStartVnode)) {
718
- // Vnode moved left
863
+ // case: "Vnode moved left"
864
+ //
865
+ // We've found that the first node in our window on the new children is
866
+ // the same VNode as the _last_ node in our window on the old children.
867
+ // Visually, this is the layout of these two nodes:
868
+ //
869
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
870
+ // ^^^^^^^^^^^^^
871
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
872
+ // ^^^^^^^^^^^
873
+ //
874
+ // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
875
+ // (which will handle updating any changed attributes, reconciling their
876
+ // children etc) but we also need to move the DOM node to which
877
+ // `oldEndVnode` corresponds.
719
878
  if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
720
879
  putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
721
880
  }
722
881
  patch(oldEndVnode, newStartVnode);
882
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
883
+ // the same node, so since we're here we know that they are not. Thus we
884
+ // can move the element for `oldEndVnode` _before_ the element for
885
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
886
+ // future.
723
887
  parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
724
888
  oldEndVnode = oldCh[--oldEndIdx];
725
889
  newStartVnode = newCh[++newStartIdx];
726
890
  }
727
891
  else {
728
- // createKeyToOldIdx
892
+ // Here we do some checks to match up old and new nodes based on the
893
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
894
+ // in the JSX for a DOM element in the implementation of a Stencil
895
+ // component.
896
+ //
897
+ // First we check to see if there are any nodes in the array of old
898
+ // children which have the same key as the first node in the new
899
+ // children.
729
900
  idxInOld = -1;
730
901
  {
731
902
  for (i = oldStartIdx; i <= oldEndIdx; ++i) {
@@ -736,23 +907,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
736
907
  }
737
908
  }
738
909
  if (idxInOld >= 0) {
910
+ // We found a node in the old children which matches up with the first
911
+ // node in the new children! So let's deal with that
739
912
  elmToMove = oldCh[idxInOld];
740
913
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
914
+ // the tag doesn't match so we'll need a new DOM element
741
915
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
742
916
  }
743
917
  else {
744
918
  patch(elmToMove, newStartVnode);
919
+ // invalidate the matching old node so that we won't try to update it
920
+ // again later on
745
921
  oldCh[idxInOld] = undefined;
746
922
  node = elmToMove.$elm$;
747
923
  }
748
924
  newStartVnode = newCh[++newStartIdx];
749
925
  }
750
926
  else {
751
- // new element
927
+ // We either didn't find an element in the old children that matches
928
+ // the key of the first new child OR the build is not using `key`
929
+ // attributes at all. In either case we need to create a new element
930
+ // for the new node.
752
931
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
753
932
  newStartVnode = newCh[++newStartIdx];
754
933
  }
755
934
  if (node) {
935
+ // if we created a new node then handle inserting it to the DOM
756
936
  {
757
937
  parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
758
938
  }
@@ -760,21 +940,43 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
760
940
  }
761
941
  }
762
942
  if (oldStartIdx > oldEndIdx) {
943
+ // we have some more new nodes to add which don't match up with old nodes
763
944
  addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
764
945
  }
765
946
  else if (newStartIdx > newEndIdx) {
947
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
948
+ // in the new array, so lets remove them (which entails cleaning up the
949
+ // relevant DOM nodes)
766
950
  removeVnodes(oldCh, oldStartIdx, oldEndIdx);
767
951
  }
768
952
  };
769
- const isSameVnode = (vnode1, vnode2) => {
953
+ /**
954
+ * Compare two VNodes to determine if they are the same
955
+ *
956
+ * **NB**: This function is an equality _heuristic_ based on the available
957
+ * information set on the two VNodes and can be misleading under certain
958
+ * circumstances. In particular, if the two nodes do not have `key` attrs
959
+ * (available under `$key$` on VNodes) then the function falls back on merely
960
+ * checking that they have the same tag.
961
+ *
962
+ * So, in other words, if `key` attrs are not set on VNodes which may be
963
+ * changing order within a `children` array or something along those lines then
964
+ * we could obtain a false positive and then have to do needless re-rendering.
965
+ *
966
+ * @param leftVNode the first VNode to check
967
+ * @param rightVNode the second VNode to check
968
+ * @returns whether they're equal or not
969
+ */
970
+ const isSameVnode = (leftVNode, rightVNode) => {
770
971
  // compare if two vnode to see if they're "technically" the same
771
972
  // need to have the same element tag, and same key to be the same
772
- if (vnode1.$tag$ === vnode2.$tag$) {
773
- if (vnode1.$tag$ === 'slot') {
774
- return vnode1.$name$ === vnode2.$name$;
973
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
974
+ if (leftVNode.$tag$ === 'slot') {
975
+ return leftVNode.$name$ === rightVNode.$name$;
775
976
  }
977
+ // this will be set if components in the build have `key` attrs set on them
776
978
  {
777
- return vnode1.$key$ === vnode2.$key$;
979
+ return leftVNode.$key$ === rightVNode.$key$;
778
980
  }
779
981
  }
780
982
  return false;
@@ -787,6 +989,14 @@ const referenceNode = (node) => {
787
989
  return (node && node['s-ol']) || node;
788
990
  };
789
991
  const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
992
+ /**
993
+ * Handle reconciling an outdated VNode with a new one which corresponds to
994
+ * it. This function handles flushing updates to the DOM and reconciling the
995
+ * children of the two nodes (if any).
996
+ *
997
+ * @param oldVNode an old VNode whose DOM element and children we want to update
998
+ * @param newVNode a new VNode representing an updated version of the old one
999
+ */
790
1000
  const patch = (oldVNode, newVNode) => {
791
1001
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
792
1002
  const oldChildren = oldVNode.$children$;
@@ -800,7 +1010,6 @@ const patch = (oldVNode, newVNode) => {
800
1010
  // only add this to the when the compiler sees we're using an svg somewhere
801
1011
  isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
802
1012
  }
803
- // element node
804
1013
  {
805
1014
  if (tag === 'slot')
806
1015
  ;
@@ -813,6 +1022,7 @@ const patch = (oldVNode, newVNode) => {
813
1022
  }
814
1023
  if (oldChildren !== null && newChildren !== null) {
815
1024
  // looks like there's child vnodes for both the old and new vnodes
1025
+ // so we need to call `updateChildren` to reconcile them
816
1026
  updateChildren(elm, oldChildren, newVNode, newChildren);
817
1027
  }
818
1028
  else if (newChildren !== null) {
@@ -844,7 +1054,7 @@ const patch = (oldVNode, newVNode) => {
844
1054
  };
845
1055
  const updateFallbackSlotVisibility = (elm) => {
846
1056
  // tslint:disable-next-line: prefer-const
847
- let childNodes = elm.childNodes;
1057
+ const childNodes = elm.childNodes;
848
1058
  let childNode;
849
1059
  let i;
850
1060
  let ilen;
@@ -853,7 +1063,7 @@ const updateFallbackSlotVisibility = (elm) => {
853
1063
  let nodeType;
854
1064
  for (i = 0, ilen = childNodes.length; i < ilen; i++) {
855
1065
  childNode = childNodes[i];
856
- if (childNode.nodeType === 1 /* ElementNode */) {
1066
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
857
1067
  if (childNode['s-sr']) {
858
1068
  // this is a slot fallback node
859
1069
  // get the slot name for this slot reference node
@@ -865,7 +1075,7 @@ const updateFallbackSlotVisibility = (elm) => {
865
1075
  nodeType = childNodes[j].nodeType;
866
1076
  if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
867
1077
  // this sibling node is from a different component OR is a named fallback slot node
868
- if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1078
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
869
1079
  childNode.hidden = true;
870
1080
  break;
871
1081
  }
@@ -874,8 +1084,8 @@ const updateFallbackSlotVisibility = (elm) => {
874
1084
  // this is a default fallback slot node
875
1085
  // any element or text node (with content)
876
1086
  // should hide the default fallback slot node
877
- if (nodeType === 1 /* ElementNode */ ||
878
- (nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
1087
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1088
+ (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
879
1089
  childNode.hidden = true;
880
1090
  break;
881
1091
  }
@@ -897,8 +1107,8 @@ const relocateSlotContent = (elm) => {
897
1107
  let relocateNodeData;
898
1108
  let j;
899
1109
  let i = 0;
900
- let childNodes = elm.childNodes;
901
- let ilen = childNodes.length;
1110
+ const childNodes = elm.childNodes;
1111
+ const ilen = childNodes.length;
902
1112
  for (; i < ilen; i++) {
903
1113
  childNode = childNodes[i];
904
1114
  if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
@@ -953,13 +1163,13 @@ const relocateSlotContent = (elm) => {
953
1163
  }
954
1164
  }
955
1165
  }
956
- if (childNode.nodeType === 1 /* ElementNode */) {
1166
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
957
1167
  relocateSlotContent(childNode);
958
1168
  }
959
1169
  }
960
1170
  };
961
1171
  const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
962
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1172
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
963
1173
  if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
964
1174
  return true;
965
1175
  }
@@ -990,7 +1200,7 @@ const renderVdom = (hostRef, renderFnResults) => {
990
1200
  cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
991
1201
  }
992
1202
  rootVnode.$tag$ = null;
993
- rootVnode.$flags$ |= 4 /* isHost */;
1203
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
994
1204
  hostRef.$vnode$ = rootVnode;
995
1205
  rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
996
1206
  {
@@ -998,7 +1208,7 @@ const renderVdom = (hostRef, renderFnResults) => {
998
1208
  }
999
1209
  {
1000
1210
  contentRef = hostElm['s-cr'];
1001
- useNativeShadowDom = supportsShadow && (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1211
+ useNativeShadowDom = supportsShadow && (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1002
1212
  // always reset
1003
1213
  checkSlotFallbackVisibility = false;
1004
1214
  }
@@ -1007,7 +1217,7 @@ const renderVdom = (hostRef, renderFnResults) => {
1007
1217
  {
1008
1218
  // while we're moving nodes around existing nodes, temporarily disable
1009
1219
  // the disconnectCallback from working
1010
- plt.$flags$ |= 1 /* isTmpDisconnected */;
1220
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1011
1221
  if (checkSlotRelocate) {
1012
1222
  relocateSlotContent(rootVnode.$elm$);
1013
1223
  let relocateData;
@@ -1065,7 +1275,7 @@ const renderVdom = (hostRef, renderFnResults) => {
1065
1275
  }
1066
1276
  else {
1067
1277
  // this node doesn't have a slot home to go to, so let's hide it
1068
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1278
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1069
1279
  nodeToRelocate.hidden = true;
1070
1280
  }
1071
1281
  }
@@ -1076,37 +1286,11 @@ const renderVdom = (hostRef, renderFnResults) => {
1076
1286
  }
1077
1287
  // done moving nodes around
1078
1288
  // allow the disconnect callback to work again
1079
- plt.$flags$ &= ~1 /* isTmpDisconnected */;
1289
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1080
1290
  // always reset
1081
1291
  relocateNodes.length = 0;
1082
1292
  }
1083
1293
  };
1084
- const getElement = (ref) => (getHostRef(ref).$hostElement$ );
1085
- const createEvent = (ref, name, flags) => {
1086
- const elm = getElement(ref);
1087
- return {
1088
- emit: (detail) => {
1089
- return emitEvent(elm, name, {
1090
- bubbles: !!(flags & 4 /* Bubbles */),
1091
- composed: !!(flags & 2 /* Composed */),
1092
- cancelable: !!(flags & 1 /* Cancellable */),
1093
- detail,
1094
- });
1095
- },
1096
- };
1097
- };
1098
- /**
1099
- * Helper function to create & dispatch a custom Event on a provided target
1100
- * @param elm the target of the Event
1101
- * @param name the name to give the custom Event
1102
- * @param opts options for configuring a custom Event
1103
- * @returns the custom Event
1104
- */
1105
- const emitEvent = (elm, name, opts) => {
1106
- const ev = plt.ce(name, opts);
1107
- elm.dispatchEvent(ev);
1108
- return ev;
1109
- };
1110
1294
  const attachToAncestor = (hostRef, ancestorComponent) => {
1111
1295
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1112
1296
  ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
@@ -1114,10 +1298,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
1114
1298
  };
1115
1299
  const scheduleUpdate = (hostRef, isInitialLoad) => {
1116
1300
  {
1117
- hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1301
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1118
1302
  }
1119
- if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1120
- hostRef.$flags$ |= 512 /* needsRerender */;
1303
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1304
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1121
1305
  return;
1122
1306
  }
1123
1307
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
@@ -1133,7 +1317,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
1133
1317
  let promise;
1134
1318
  if (isInitialLoad) {
1135
1319
  {
1136
- hostRef.$flags$ |= 256 /* isListenReady */;
1320
+ hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1137
1321
  if (hostRef.$queuedListeners$) {
1138
1322
  hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1139
1323
  hostRef.$queuedListeners$ = null;
@@ -1182,7 +1366,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1182
1366
  }
1183
1367
  else {
1184
1368
  Promise.all(childrenPromises).then(postUpdate);
1185
- hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1369
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1186
1370
  childrenPromises.length = 0;
1187
1371
  }
1188
1372
  }
@@ -1191,10 +1375,10 @@ const callRender = (hostRef, instance, elm) => {
1191
1375
  try {
1192
1376
  instance = instance.render() ;
1193
1377
  {
1194
- hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1378
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1195
1379
  }
1196
1380
  {
1197
- hostRef.$flags$ |= 2 /* hasRendered */;
1381
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1198
1382
  }
1199
1383
  {
1200
1384
  {
@@ -1218,8 +1402,8 @@ const postUpdateComponent = (hostRef) => {
1218
1402
  const endPostUpdate = createTime('postUpdate', tagName);
1219
1403
  const instance = hostRef.$lazyInstance$ ;
1220
1404
  const ancestorComponent = hostRef.$ancestorComponent$;
1221
- if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1222
- hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1405
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1406
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1223
1407
  {
1224
1408
  // DOM WRITE!
1225
1409
  addHydratedFlag(elm);
@@ -1248,10 +1432,10 @@ const postUpdateComponent = (hostRef) => {
1248
1432
  hostRef.$onRenderResolve$();
1249
1433
  hostRef.$onRenderResolve$ = undefined;
1250
1434
  }
1251
- if (hostRef.$flags$ & 512 /* needsRerender */) {
1435
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1252
1436
  nextTick(() => scheduleUpdate(hostRef, false));
1253
1437
  }
1254
- hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1438
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1255
1439
  }
1256
1440
  // ( •_•)
1257
1441
  // ( •_•)>⌐■-■
@@ -1281,30 +1465,6 @@ const then = (promise, thenFn) => {
1281
1465
  };
1282
1466
  const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1283
1467
  ;
1284
- const parsePropertyValue = (propValue, propType) => {
1285
- // ensure this value is of the correct prop type
1286
- if (propValue != null && !isComplexType(propValue)) {
1287
- if (propType & 4 /* Boolean */) {
1288
- // per the HTML spec, any string value means it is a boolean true value
1289
- // but we'll cheat here and say that the string "false" is the boolean false
1290
- return propValue === 'false' ? false : propValue === '' || !!propValue;
1291
- }
1292
- if (propType & 2 /* Number */) {
1293
- // force it to be a number
1294
- return parseFloat(propValue);
1295
- }
1296
- if (propType & 1 /* String */) {
1297
- // could have been passed as a number or boolean
1298
- // but we still want it as a string
1299
- return String(propValue);
1300
- }
1301
- // redundant return here for better minification
1302
- return propValue;
1303
- }
1304
- // not sure exactly what type we want
1305
- // so no need to change to a different type
1306
- return propValue;
1307
- };
1308
1468
  const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1309
1469
  const setValue = (ref, propName, newVal, cmpMeta) => {
1310
1470
  // check our new property value against our internal value
@@ -1314,13 +1474,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1314
1474
  const flags = hostRef.$flags$;
1315
1475
  const instance = hostRef.$lazyInstance$ ;
1316
1476
  newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1317
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && newVal !== oldVal) {
1477
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1478
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1479
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1480
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1318
1481
  // gadzooks! the property's value has changed!!
1319
1482
  // set our new value!
1320
1483
  hostRef.$instanceValues$.set(propName, newVal);
1321
1484
  if (instance) {
1322
1485
  // get an array of method names of watch functions to call
1323
- if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1486
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1324
1487
  const watchMethods = cmpMeta.$watchers$[propName];
1325
1488
  if (watchMethods) {
1326
1489
  // this instance is watching for when this property changed
@@ -1335,7 +1498,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1335
1498
  });
1336
1499
  }
1337
1500
  }
1338
- if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1501
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1339
1502
  // looks like this value actually changed, so we've got work to do!
1340
1503
  // but only if we've already rendered, otherwise just chill out
1341
1504
  // queue that we need to do an update, but don't worry about queuing
@@ -1345,6 +1508,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1345
1508
  }
1346
1509
  }
1347
1510
  };
1511
+ /**
1512
+ * Attach a series of runtime constructs to a compiled Stencil component
1513
+ * constructor, including getters and setters for the `@Prop` and `@State`
1514
+ * decorators, callbacks for when attributes change, and so on.
1515
+ *
1516
+ * @param Cstr the constructor for a component that we need to process
1517
+ * @param cmpMeta metadata collected previously about the component
1518
+ * @param flags a number used to store a series of bit flags
1519
+ * @returns a reference to the same constructor passed in (but now mutated)
1520
+ */
1348
1521
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1349
1522
  if (cmpMeta.$members$) {
1350
1523
  if (Cstr.watchers) {
@@ -1354,8 +1527,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1354
1527
  const members = Object.entries(cmpMeta.$members$);
1355
1528
  const prototype = Cstr.prototype;
1356
1529
  members.map(([memberName, [memberFlags]]) => {
1357
- if ((memberFlags & 31 /* Prop */ ||
1358
- ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1530
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1531
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1359
1532
  // proxyComponent - prop
1360
1533
  Object.defineProperty(prototype, memberName, {
1361
1534
  get() {
@@ -1370,8 +1543,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1370
1543
  enumerable: true,
1371
1544
  });
1372
1545
  }
1373
- else if (flags & 1 /* isElementConstructor */ &&
1374
- memberFlags & 64 /* Method */) {
1546
+ else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1547
+ memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1375
1548
  // proxyComponent - method
1376
1549
  Object.defineProperty(prototype, memberName, {
1377
1550
  value(...args) {
@@ -1381,7 +1554,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1381
1554
  });
1382
1555
  }
1383
1556
  });
1384
- if ((flags & 1 /* isElementConstructor */)) {
1557
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1385
1558
  const attrNameToPropName = new Map();
1386
1559
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1387
1560
  plt.jmp(() => {
@@ -1437,11 +1610,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1437
1610
  // create an array of attributes to observe
1438
1611
  // and also create a map of html attribute name to js property name
1439
1612
  Cstr.observedAttributes = members
1440
- .filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
1613
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1441
1614
  .map(([propName, m]) => {
1442
1615
  const attrName = m[1] || propName;
1443
1616
  attrNameToPropName.set(attrName, propName);
1444
- if (m[0] & 512 /* ReflectAttr */) {
1617
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1445
1618
  cmpMeta.$attrsToReflect$.push([propName, attrName]);
1446
1619
  }
1447
1620
  return attrName;
@@ -1452,10 +1625,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1452
1625
  };
1453
1626
  const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1454
1627
  // initializeComponent
1455
- if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1628
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1456
1629
  {
1457
1630
  // we haven't initialized this element yet
1458
- hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1631
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1459
1632
  // lazy loaded components
1460
1633
  // request the component's implementation to be
1461
1634
  // wired up with the host element
@@ -1473,7 +1646,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1473
1646
  {
1474
1647
  cmpMeta.$watchers$ = Cstr.watchers;
1475
1648
  }
1476
- proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1649
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1477
1650
  Cstr.isProxied = true;
1478
1651
  }
1479
1652
  const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
@@ -1481,7 +1654,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1481
1654
  // but let's keep track of when we start and stop
1482
1655
  // so that the getters/setters don't incorrectly step on data
1483
1656
  {
1484
- hostRef.$flags$ |= 8 /* isConstructingInstance */;
1657
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1485
1658
  }
1486
1659
  // construct the lazy-loaded component implementation
1487
1660
  // passing the hostRef is very important during
@@ -1494,10 +1667,10 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1494
1667
  consoleError(e);
1495
1668
  }
1496
1669
  {
1497
- hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1670
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1498
1671
  }
1499
1672
  {
1500
- hostRef.$flags$ |= 128 /* isWatchReady */;
1673
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1501
1674
  }
1502
1675
  endNewInstance();
1503
1676
  fireConnectedCallback(hostRef.$lazyInstance$);
@@ -1511,10 +1684,10 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1511
1684
  const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);
1512
1685
  if (!styles.has(scopeId)) {
1513
1686
  const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1514
- if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {
1515
- style = await Promise.resolve().then(function () { return require('./shadow-css-432b27e3.js'); }).then((m) => m.scopeCss(style, scopeId, false));
1687
+ if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
1688
+ style = await Promise.resolve().then(function () { return require('./shadow-css-346c0795.js'); }).then((m) => m.scopeCss(style, scopeId, false));
1516
1689
  }
1517
- registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1690
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1518
1691
  endRegisterStyles();
1519
1692
  }
1520
1693
  }
@@ -1541,19 +1714,19 @@ const fireConnectedCallback = (instance) => {
1541
1714
  }
1542
1715
  };
1543
1716
  const connectedCallback = (elm) => {
1544
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1717
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1545
1718
  const hostRef = getHostRef(elm);
1546
1719
  const cmpMeta = hostRef.$cmpMeta$;
1547
1720
  const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1548
- if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1721
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1549
1722
  // first time this component has connected
1550
- hostRef.$flags$ |= 1 /* hasConnected */;
1723
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1551
1724
  {
1552
1725
  // initUpdate
1553
1726
  // if the slot polyfill is required we'll need to put some nodes
1554
1727
  // in here to act as original content anchors as we move nodes around
1555
1728
  // host element has been connected to the DOM
1556
- if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
1729
+ if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1557
1730
  setContentReference(elm);
1558
1731
  }
1559
1732
  }
@@ -1576,7 +1749,7 @@ const connectedCallback = (elm) => {
1576
1749
  // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1577
1750
  if (cmpMeta.$members$) {
1578
1751
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1579
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1752
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1580
1753
  const value = elm[memberName];
1581
1754
  delete elm[memberName];
1582
1755
  elm[memberName] = value;
@@ -1610,7 +1783,7 @@ const setContentReference = (elm) => {
1610
1783
  elm.insertBefore(contentRefElm, elm.firstChild);
1611
1784
  };
1612
1785
  const disconnectedCallback = (elm) => {
1613
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1786
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1614
1787
  const hostRef = getHostRef(elm);
1615
1788
  const instance = hostRef.$lazyInstance$ ;
1616
1789
  {
@@ -1661,8 +1834,8 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1661
1834
  {
1662
1835
  cmpMeta.$watchers$ = {};
1663
1836
  }
1664
- if (!supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1665
- cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
1837
+ if (!supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1838
+ cmpMeta.$flags$ |= 8 /* CMP_FLAGS.needsShadowDomShim */;
1666
1839
  }
1667
1840
  const tagName = cmpMeta.$tagName$;
1668
1841
  const HostElement = class extends HTMLElement {
@@ -1672,7 +1845,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1672
1845
  super(self);
1673
1846
  self = this;
1674
1847
  registerHost(self, cmpMeta);
1675
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1848
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1676
1849
  // this component is using shadow dom
1677
1850
  // and this browser supports shadow dom
1678
1851
  // add the read-only property "shadowRoot" to the host element
@@ -1710,7 +1883,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1710
1883
  cmpMeta.$lazyBundleId$ = lazyBundle[0];
1711
1884
  if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1712
1885
  cmpTags.push(tagName);
1713
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1886
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1714
1887
  }
1715
1888
  });
1716
1889
  });
@@ -1732,11 +1905,43 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1732
1905
  // Fallback appLoad event
1733
1906
  endBootstrap();
1734
1907
  };
1735
- const getAssetPath = (path) => {
1736
- const assetUrl = new URL(path, plt.$resourcesUrl$);
1737
- return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
1908
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1909
+ if (listeners) {
1910
+ listeners.map(([flags, name, method]) => {
1911
+ const target = getHostListenerTarget(elm, flags) ;
1912
+ const handler = hostListenerProxy(hostRef, method);
1913
+ const opts = hostListenerOpts(flags);
1914
+ plt.ael(target, name, handler, opts);
1915
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1916
+ });
1917
+ }
1738
1918
  };
1739
- const hostRefs = new WeakMap();
1919
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1920
+ try {
1921
+ {
1922
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
1923
+ // instance is ready, let's call it's member method for this event
1924
+ hostRef.$lazyInstance$[methodName](ev);
1925
+ }
1926
+ else {
1927
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1928
+ }
1929
+ }
1930
+ }
1931
+ catch (e) {
1932
+ consoleError(e);
1933
+ }
1934
+ };
1935
+ const getHostListenerTarget = (elm, flags) => {
1936
+ if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
1937
+ return doc;
1938
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1939
+ return win;
1940
+ return elm;
1941
+ };
1942
+ // prettier-ignore
1943
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
1944
+ const hostRefs = /*@__PURE__*/ new WeakMap();
1740
1945
  const getHostRef = (ref) => hostRefs.get(ref);
1741
1946
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1742
1947
  const registerHost = (elm, cmpMeta) => {
@@ -1768,7 +1973,190 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1768
1973
  if (module) {
1769
1974
  return module[exportName];
1770
1975
  }
1976
+
1977
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1978
+ const processMod = importedModule => {
1979
+ cmpModules.set(bundleId, importedModule);
1980
+ return importedModule[exportName];
1981
+ }
1982
+ switch(bundleId) {
1983
+
1984
+ case 'road-badge_14.cjs':
1985
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1986
+ /* webpackMode: "lazy" */
1987
+ './road-badge_14.cjs.entry.js')); }).then(processMod, consoleError);
1988
+ case 'road-accordion.cjs':
1989
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1990
+ /* webpackMode: "lazy" */
1991
+ './road-accordion.cjs.entry.js')); }).then(processMod, consoleError);
1992
+ case 'road-alert.cjs':
1993
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1994
+ /* webpackMode: "lazy" */
1995
+ './road-alert.cjs.entry.js')); }).then(processMod, consoleError);
1996
+ case 'road-autocomplete.cjs':
1997
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1998
+ /* webpackMode: "lazy" */
1999
+ './road-autocomplete.cjs.entry.js')); }).then(processMod, consoleError);
2000
+ case 'road-avatar.cjs':
2001
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2002
+ /* webpackMode: "lazy" */
2003
+ './road-avatar.cjs.entry.js')); }).then(processMod, consoleError);
2004
+ case 'road-banner.cjs':
2005
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2006
+ /* webpackMode: "lazy" */
2007
+ './road-banner.cjs.entry.js')); }).then(processMod, consoleError);
2008
+ case 'road-carousel.cjs':
2009
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2010
+ /* webpackMode: "lazy" */
2011
+ './road-carousel.cjs.entry.js')); }).then(processMod, consoleError);
2012
+ case 'road-carousel-item.cjs':
2013
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2014
+ /* webpackMode: "lazy" */
2015
+ './road-carousel-item.cjs.entry.js')); }).then(processMod, consoleError);
2016
+ case 'road-checkbox.cjs':
2017
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2018
+ /* webpackMode: "lazy" */
2019
+ './road-checkbox.cjs.entry.js')); }).then(processMod, consoleError);
2020
+ case 'road-chip.cjs':
2021
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2022
+ /* webpackMode: "lazy" */
2023
+ './road-chip.cjs.entry.js')); }).then(processMod, consoleError);
2024
+ case 'road-collapse.cjs':
2025
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2026
+ /* webpackMode: "lazy" */
2027
+ './road-collapse.cjs.entry.js')); }).then(processMod, consoleError);
2028
+ case 'road-dialog.cjs':
2029
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2030
+ /* webpackMode: "lazy" */
2031
+ './road-dialog.cjs.entry.js')); }).then(processMod, consoleError);
2032
+ case 'road-dropdown.cjs':
2033
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2034
+ /* webpackMode: "lazy" */
2035
+ './road-dropdown.cjs.entry.js')); }).then(processMod, consoleError);
2036
+ case 'road-duration.cjs':
2037
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2038
+ /* webpackMode: "lazy" */
2039
+ './road-duration.cjs.entry.js')); }).then(processMod, consoleError);
2040
+ case 'road-flap.cjs':
2041
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2042
+ /* webpackMode: "lazy" */
2043
+ './road-flap.cjs.entry.js')); }).then(processMod, consoleError);
2044
+ case 'road-img.cjs':
2045
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2046
+ /* webpackMode: "lazy" */
2047
+ './road-img.cjs.entry.js')); }).then(processMod, consoleError);
2048
+ case 'road-modal.cjs':
2049
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2050
+ /* webpackMode: "lazy" */
2051
+ './road-modal.cjs.entry.js')); }).then(processMod, consoleError);
2052
+ case 'road-navbar.cjs':
2053
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2054
+ /* webpackMode: "lazy" */
2055
+ './road-navbar.cjs.entry.js')); }).then(processMod, consoleError);
2056
+ case 'road-navbar-item.cjs':
2057
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2058
+ /* webpackMode: "lazy" */
2059
+ './road-navbar-item.cjs.entry.js')); }).then(processMod, consoleError);
2060
+ case 'road-plate-number.cjs':
2061
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2062
+ /* webpackMode: "lazy" */
2063
+ './road-plate-number.cjs.entry.js')); }).then(processMod, consoleError);
2064
+ case 'road-progress.cjs':
2065
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2066
+ /* webpackMode: "lazy" */
2067
+ './road-progress.cjs.entry.js')); }).then(processMod, consoleError);
2068
+ case 'road-radio.cjs':
2069
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2070
+ /* webpackMode: "lazy" */
2071
+ './road-radio.cjs.entry.js')); }).then(processMod, consoleError);
2072
+ case 'road-radio-group.cjs':
2073
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2074
+ /* webpackMode: "lazy" */
2075
+ './road-radio-group.cjs.entry.js')); }).then(processMod, consoleError);
2076
+ case 'road-range.cjs':
2077
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2078
+ /* webpackMode: "lazy" */
2079
+ './road-range.cjs.entry.js')); }).then(processMod, consoleError);
2080
+ case 'road-rating.cjs':
2081
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2082
+ /* webpackMode: "lazy" */
2083
+ './road-rating.cjs.entry.js')); }).then(processMod, consoleError);
2084
+ case 'road-select.cjs':
2085
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2086
+ /* webpackMode: "lazy" */
2087
+ './road-select.cjs.entry.js')); }).then(processMod, consoleError);
2088
+ case 'road-select-filter.cjs':
2089
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2090
+ /* webpackMode: "lazy" */
2091
+ './road-select-filter.cjs.entry.js')); }).then(processMod, consoleError);
2092
+ case 'road-skeleton.cjs':
2093
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2094
+ /* webpackMode: "lazy" */
2095
+ './road-skeleton.cjs.entry.js')); }).then(processMod, consoleError);
2096
+ case 'road-spinner.cjs':
2097
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2098
+ /* webpackMode: "lazy" */
2099
+ './road-spinner.cjs.entry.js')); }).then(processMod, consoleError);
2100
+ case 'road-stepper.cjs':
2101
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2102
+ /* webpackMode: "lazy" */
2103
+ './road-stepper.cjs.entry.js')); }).then(processMod, consoleError);
2104
+ case 'road-switch.cjs':
2105
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2106
+ /* webpackMode: "lazy" */
2107
+ './road-switch.cjs.entry.js')); }).then(processMod, consoleError);
2108
+ case 'road-tab.cjs':
2109
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2110
+ /* webpackMode: "lazy" */
2111
+ './road-tab.cjs.entry.js')); }).then(processMod, consoleError);
2112
+ case 'road-tab-bar.cjs':
2113
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2114
+ /* webpackMode: "lazy" */
2115
+ './road-tab-bar.cjs.entry.js')); }).then(processMod, consoleError);
2116
+ case 'road-tab-button.cjs':
2117
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2118
+ /* webpackMode: "lazy" */
2119
+ './road-tab-button.cjs.entry.js')); }).then(processMod, consoleError);
2120
+ case 'road-table.cjs':
2121
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2122
+ /* webpackMode: "lazy" */
2123
+ './road-table.cjs.entry.js')); }).then(processMod, consoleError);
2124
+ case 'road-tabs.cjs':
2125
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2126
+ /* webpackMode: "lazy" */
2127
+ './road-tabs.cjs.entry.js')); }).then(processMod, consoleError);
2128
+ case 'road-text.cjs':
2129
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2130
+ /* webpackMode: "lazy" */
2131
+ './road-text.cjs.entry.js')); }).then(processMod, consoleError);
2132
+ case 'road-textarea.cjs':
2133
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2134
+ /* webpackMode: "lazy" */
2135
+ './road-textarea.cjs.entry.js')); }).then(processMod, consoleError);
2136
+ case 'road-toast.cjs':
2137
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2138
+ /* webpackMode: "lazy" */
2139
+ './road-toast.cjs.entry.js')); }).then(processMod, consoleError);
2140
+ case 'road-toggle.cjs':
2141
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2142
+ /* webpackMode: "lazy" */
2143
+ './road-toggle.cjs.entry.js')); }).then(processMod, consoleError);
2144
+ case 'road-toolbar-title.cjs':
2145
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2146
+ /* webpackMode: "lazy" */
2147
+ './road-toolbar-title.cjs.entry.js')); }).then(processMod, consoleError);
2148
+ case 'road-tooltip.cjs':
2149
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2150
+ /* webpackMode: "lazy" */
2151
+ './road-tooltip.cjs.entry.js')); }).then(processMod, consoleError);
2152
+ case 'road-card.cjs':
2153
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2154
+ /* webpackMode: "lazy" */
2155
+ './road-card.cjs.entry.js')); }).then(processMod, consoleError);
2156
+ }
2157
+ }
1771
2158
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2159
+ /* @vite-ignore */
1772
2160
  /* webpackInclude: /\.entry\.js$/ */
1773
2161
  /* webpackExclude: /\.system\.entry\.js$/ */
1774
2162
  /* webpackMode: "lazy" */
@@ -1779,15 +2167,39 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1779
2167
  return importedModule[exportName];
1780
2168
  }, consoleError);
1781
2169
  };
1782
- const styles = new Map();
2170
+ const styles = /*@__PURE__*/ new Map();
1783
2171
  const modeResolutionChain = [];
2172
+ const win = typeof window !== 'undefined' ? window : {};
2173
+ const CSS = win.CSS ;
2174
+ const doc = win.document || { head: {} };
2175
+ const plt = {
2176
+ $flags$: 0,
2177
+ $resourcesUrl$: '',
2178
+ jmp: (h) => h(),
2179
+ raf: (h) => requestAnimationFrame(h),
2180
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
2181
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2182
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
2183
+ };
2184
+ const supportsShadow = /*@__PURE__*/ (() => (doc.head.attachShadow + '').indexOf('[native') > -1)()
2185
+ ;
2186
+ const promiseResolve = (v) => Promise.resolve(v);
2187
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2188
+ try {
2189
+ new CSSStyleSheet();
2190
+ return typeof new CSSStyleSheet().replaceSync === 'function';
2191
+ }
2192
+ catch (e) { }
2193
+ return false;
2194
+ })()
2195
+ ;
1784
2196
  const queueDomReads = [];
1785
2197
  const queueDomWrites = [];
1786
2198
  const queueTask = (queue, write) => (cb) => {
1787
2199
  queue.push(cb);
1788
2200
  if (!queuePending) {
1789
2201
  queuePending = true;
1790
- if (write && plt.$flags$ & 4 /* queueSync */) {
2202
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
1791
2203
  nextTick(flush);
1792
2204
  }
1793
2205
  else {