@roadtrip/components 2.43.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 (588) hide show
  1. package/dist/cjs/index-a2306350.js +2 -14
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/road-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/road-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/road-autocomplete.cjs.entry.js +1 -1
  6. package/dist/cjs/road-avatar.cjs.entry.js +1 -1
  7. package/dist/cjs/road-badge_14.cjs.entry.js +808 -0
  8. package/dist/cjs/road-card.cjs.entry.js +1 -1
  9. package/dist/cjs/road-carousel-item.cjs.entry.js +1 -1
  10. package/dist/cjs/road-carousel.cjs.entry.js +6454 -24
  11. package/dist/cjs/road-checkbox.cjs.entry.js +1 -1
  12. package/dist/cjs/road-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/road-collapse.cjs.entry.js +1 -1
  14. package/dist/cjs/road-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
  16. package/dist/cjs/road-duration.cjs.entry.js +1 -1
  17. package/dist/cjs/road-flap.cjs.entry.js +1 -1
  18. package/dist/cjs/road-img.cjs.entry.js +1 -1
  19. package/dist/cjs/road-modal.cjs.entry.js +1 -1
  20. package/dist/cjs/road-navbar-item.cjs.entry.js +1 -1
  21. package/dist/cjs/road-navbar.cjs.entry.js +1 -1
  22. package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
  23. package/dist/cjs/road-progress.cjs.entry.js +1 -1
  24. package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
  25. package/dist/cjs/road-radio.cjs.entry.js +1 -1
  26. package/dist/cjs/road-range.cjs.entry.js +1 -1
  27. package/dist/cjs/road-rating.cjs.entry.js +1 -1
  28. package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
  29. package/dist/cjs/road-select.cjs.entry.js +1 -1
  30. package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
  31. package/dist/cjs/road-spinner.cjs.entry.js +1 -1
  32. package/dist/cjs/road-stepper.cjs.entry.js +1 -1
  33. package/dist/cjs/road-switch.cjs.entry.js +1 -1
  34. package/dist/cjs/road-tab-bar.cjs.entry.js +1 -1
  35. package/dist/cjs/road-tab-button.cjs.entry.js +1 -1
  36. package/dist/cjs/road-table.cjs.entry.js +1 -1
  37. package/dist/cjs/road-textarea.cjs.entry.js +1 -1
  38. package/dist/cjs/road-toast.cjs.entry.js +1 -1
  39. package/dist/cjs/road-toggle.cjs.entry.js +1 -1
  40. package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
  41. package/dist/cjs/road-tooltip.cjs.entry.js +1 -1
  42. package/dist/cjs/roadtrip.cjs.js +1 -1
  43. package/dist/collection/components/carousel/carousel.css +25 -29
  44. package/dist/collection/components/carousel/carousel.js +3 -2
  45. package/dist/collection/components/counter/counter.css +18 -2
  46. package/dist/collection/components/counter/counter.js +118 -94
  47. package/dist/collection/components/counter/counter.stories.js +3 -13
  48. package/dist/collection/components/icon/svg/battery-start-stop-outline.svg +1 -1
  49. package/dist/collection/components/icon/svg/electric-color.svg +1 -1
  50. package/dist/collection/components/icon/svg/electric-outline.svg +1 -1
  51. package/dist/collection/components/icon/svg/electric-solid.svg +1 -1
  52. package/dist/collection/components/icon/svg/file-contract-color.svg +1 -0
  53. package/dist/collection/components/icon/svg/file-contract-outline.svg +1 -0
  54. package/dist/collection/components/icon/svg/flag-belgium.svg +1 -1
  55. package/dist/collection/components/icon/svg/flag-germany.svg +1 -1
  56. package/dist/collection/components/icon/svg/motor-starter-color.svg +1 -0
  57. package/dist/collection/components/icon/svg/motor-starter-outline.svg +1 -0
  58. package/dist/collection/components/icon/svg/seat-bike-front-color.svg +1 -0
  59. package/dist/collection/components/icon/svg/seat-bike-front-outline.svg +1 -0
  60. package/dist/collection/components/icon/svg/seat-bike-rear-color.svg +1 -0
  61. package/dist/collection/components/icon/svg/seat-bike-rear-junior-color.svg +1 -0
  62. package/dist/collection/components/icon/svg/seat-bike-rear-junior-outline.svg +1 -0
  63. package/dist/collection/components/icon/svg/seat-bike-rear-outline.svg +1 -0
  64. package/dist/collection/components/icon/svg/seat-bike-trailer-color.svg +1 -0
  65. package/dist/collection/components/icon/svg/seat-bike-trailer-outline.svg +1 -0
  66. package/dist/collection/components/icon/svg/shock-absorber-body-part-color.svg +1 -0
  67. package/dist/collection/components/icon/svg/shock-absorber-color.svg +1 -1
  68. package/dist/collection/components/icon/svg/shock-absorber-outline.svg +1 -1
  69. package/dist/collection/components/icon/svg/smart-repair-color.svg +1 -0
  70. package/dist/collection/components/icon/svg/smart-repair-outline.svg +1 -0
  71. package/dist/collection/components/icon/svg/{snowflake-solid color.svg → snowflake-solid-color.svg} +0 -0
  72. package/dist/collection/components/icon/svg/sticker-certified-pickerl-color.svg +1 -0
  73. package/dist/collection/components/icon/svg/sticker-certified-pickerl-outline.svg +1 -0
  74. package/dist/collection/components/icon/svg/tire-received-color.svg +1 -0
  75. package/dist/collection/components/icon/svg/tire-received-outline.svg +1 -0
  76. package/dist/collection/components/icon/svg/tire-received-solid.svg +1 -0
  77. package/dist/collection/components/icon/svg/tire-swap-color.svg +1 -0
  78. package/dist/collection/components/icon/svg/tire-swap-outline.svg +1 -0
  79. package/dist/collection/components/icon/svg/tire-swap-solid.svg +1 -0
  80. package/dist/collection/components/icon/svg/tire-transfer-color.svg +1 -0
  81. package/dist/collection/components/icon/svg/tire-transfer-outline.svg +1 -0
  82. package/dist/collection/components/icon/svg/tire-transfer-solid.svg +1 -0
  83. package/dist/collection/components/icon/svg/vehicle-4wd-color.svg +1 -1
  84. package/dist/collection/components/icon/svg/vehicle-4wd-outline.svg +1 -1
  85. package/dist/collection/components/icon/svg/vehicle-battery-service-color.svg +1 -1
  86. package/dist/collection/components/icon/svg/vehicle-battery-service-outline.svg +1 -1
  87. package/dist/collection/components/icon/svg/vehicle-bus-color.svg +1 -1
  88. package/dist/collection/components/icon/svg/vehicle-bus-outline.svg +1 -1
  89. package/dist/collection/components/icon/svg/vehicle-car-moto-color.svg +1 -1
  90. package/dist/collection/components/icon/svg/vehicle-car-moto-outline.svg +1 -1
  91. package/dist/collection/components/icon/svg/vehicle-car-sad-color.svg +1 -1
  92. package/dist/collection/components/icon/svg/vehicle-car-sad-outline.svg +1 -1
  93. package/dist/collection/components/icon/svg/vehicle-car-search-color.svg +1 -1
  94. package/dist/collection/components/icon/svg/vehicle-car-search-outline.svg +1 -1
  95. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind-color.svg +1 -1
  96. package/dist/collection/components/icon/svg/{vehicle-car-side-tire-front-outline-color.svg → vehicle-car-side-tire-behind-outline-color.svg} +0 -0
  97. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind-outline.svg +1 -1
  98. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind-solid.svg +1 -1
  99. package/dist/collection/components/icon/svg/vehicle-car-side-tire-behind.svg +1 -1
  100. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front-color.svg +1 -1
  101. package/dist/collection/components/icon/svg/{vehicle-car-side-tire-behind-oultine.svg → vehicle-car-side-tire-front-oultine.svg} +0 -0
  102. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front-outline.svg +1 -1
  103. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front-solid.svg +1 -1
  104. package/dist/collection/components/icon/svg/vehicle-car-side-tire-front.svg +1 -1
  105. package/dist/collection/components/icon/svg/vehicle-car-sound-color.svg +1 -1
  106. package/dist/collection/components/icon/svg/vehicle-car-sound-outline.svg +1 -1
  107. package/dist/collection/components/icon/svg/vehicle-caravan-color.svg +1 -1
  108. package/dist/collection/components/icon/svg/vehicle-caravan-outline.svg +1 -1
  109. package/dist/collection/components/icon/svg/vehicle-carport-color.svg +1 -1
  110. package/dist/collection/components/icon/svg/vehicle-carport-outline.svg +1 -1
  111. package/dist/collection/components/icon/svg/vehicle-collector-color.svg +1 -1
  112. package/dist/collection/components/icon/svg/vehicle-collector-outline.svg +1 -1
  113. package/dist/collection/components/icon/svg/vehicle-delivery-color.svg +1 -1
  114. package/dist/collection/components/icon/svg/vehicle-delivery-fast-color.svg +1 -1
  115. package/dist/collection/components/icon/svg/vehicle-delivery-fast-outline.svg +1 -1
  116. package/dist/collection/components/icon/svg/vehicle-delivery-free-return-color.svg +1 -1
  117. package/dist/collection/components/icon/svg/vehicle-delivery-free-return-outline.svg +1 -1
  118. package/dist/collection/components/icon/svg/vehicle-delivery-meeting-color.svg +1 -1
  119. package/dist/collection/components/icon/svg/vehicle-delivery-meeting-outline.svg +1 -1
  120. package/dist/collection/components/icon/svg/vehicle-delivery-outline.svg +1 -1
  121. package/dist/collection/components/icon/svg/vehicle-drive-carport-color.svg +1 -1
  122. package/dist/collection/components/icon/svg/vehicle-drive-carport-outline.svg +1 -1
  123. package/dist/collection/components/icon/svg/vehicle-drive-color.svg +1 -1
  124. package/dist/collection/components/icon/svg/vehicle-drive-outline.svg +1 -1
  125. package/dist/collection/components/icon/svg/vehicle-micro-color.svg +1 -1
  126. package/dist/collection/components/icon/svg/vehicle-micro-outline.svg +1 -1
  127. package/dist/collection/components/icon/svg/vehicle-minivan-color.svg +1 -1
  128. package/dist/collection/components/icon/svg/vehicle-minivan-outline.svg +1 -1
  129. package/dist/collection/components/icon/svg/vehicle-moto-color.svg +1 -1
  130. package/dist/collection/components/icon/svg/vehicle-moto-outline.svg +1 -1
  131. package/dist/collection/components/icon/svg/vehicle-moto-solid.svg +1 -1
  132. package/dist/collection/components/icon/svg/vehicle-mower-color.svg +1 -1
  133. package/dist/collection/components/icon/svg/vehicle-mower-outline.svg +1 -1
  134. package/dist/collection/components/icon/svg/vehicle-mower-solid.svg +1 -1
  135. package/dist/collection/components/icon/svg/vehicle-pickup-color.svg +1 -1
  136. package/dist/collection/components/icon/svg/vehicle-pickup-outline.svg +1 -1
  137. package/dist/collection/components/icon/svg/vehicle-pickup-van-color.svg +1 -1
  138. package/dist/collection/components/icon/svg/vehicle-pickup-van-outline.svg +1 -1
  139. package/dist/collection/components/icon/svg/vehicle-quad-color.svg +1 -1
  140. package/dist/collection/components/icon/svg/vehicle-quad-outline.svg +1 -1
  141. package/dist/collection/components/icon/svg/vehicle-quad-solid.svg +1 -1
  142. package/dist/collection/components/icon/svg/vehicle-rent-bike-electric-color.svg +1 -1
  143. package/dist/collection/components/icon/svg/vehicle-rent-bike-electric-outline.svg +1 -1
  144. package/dist/collection/components/icon/svg/vehicle-rent-bike-electric-solid.svg +1 -1
  145. package/dist/collection/components/icon/svg/vehicle-rent-car-color.svg +1 -1
  146. package/dist/collection/components/icon/svg/vehicle-rent-car-micro-color.svg +1 -1
  147. package/dist/collection/components/icon/svg/vehicle-rent-car-micro-outline.svg +1 -1
  148. package/dist/collection/components/icon/svg/vehicle-rent-car-outline.svg +1 -1
  149. package/dist/collection/components/icon/svg/vehicle-rent-trailer-outline.svg +1 -1
  150. package/dist/collection/components/icon/svg/vehicle-rent-trailer-solid.svg +1 -1
  151. package/dist/collection/components/icon/svg/vehicle-repair-car-color.svg +1 -1
  152. package/dist/collection/components/icon/svg/vehicle-repair-car-outline.svg +1 -1
  153. package/dist/collection/components/icon/svg/vehicle-repair-moto-color.svg +1 -1
  154. package/dist/collection/components/icon/svg/vehicle-repair-moto-outline.svg +1 -1
  155. package/dist/collection/components/icon/svg/vehicle-repair-moto-solid.svg +1 -1
  156. package/dist/collection/components/icon/svg/vehicle-repair-pickup-van-color.svg +1 -1
  157. package/dist/collection/components/icon/svg/vehicle-repair-pickup-van-outline.svg +1 -1
  158. package/dist/collection/components/icon/svg/vehicle-repair-pickup-van-solid.svg +1 -1
  159. package/dist/collection/components/icon/svg/vehicle-repair-van-color.svg +1 -1
  160. package/dist/collection/components/icon/svg/vehicle-repair-van-outline.svg +1 -1
  161. package/dist/collection/components/icon/svg/vehicle-road-grip-color.svg +1 -1
  162. package/dist/collection/components/icon/svg/vehicle-road-grip-outline.svg +1 -1
  163. package/dist/collection/components/icon/svg/vehicle-road-grip-solid.svg +1 -1
  164. package/dist/collection/components/icon/svg/vehicle-roadster-color.svg +1 -1
  165. package/dist/collection/components/icon/svg/vehicle-roadster-outline.svg +1 -1
  166. package/dist/collection/components/icon/svg/vehicle-roofrack-color.svg +1 -0
  167. package/dist/collection/components/icon/svg/vehicle-roofrack-outline.svg +1 -0
  168. package/dist/collection/components/icon/svg/vehicle-roofrack-solid.svg +1 -0
  169. package/dist/collection/components/icon/svg/vehicle-scooter-color.svg +1 -1
  170. package/dist/collection/components/icon/svg/vehicle-scooter-outline.svg +1 -1
  171. package/dist/collection/components/icon/svg/vehicle-scooter-solid.svg +1 -1
  172. package/dist/collection/components/icon/svg/vehicle-sedan-color.svg +1 -1
  173. package/dist/collection/components/icon/svg/vehicle-sedan-outline.svg +1 -1
  174. package/dist/collection/components/icon/svg/vehicle-sport-color.svg +1 -1
  175. package/dist/collection/components/icon/svg/vehicle-sport-outline.svg +1 -1
  176. package/dist/collection/components/icon/svg/vehicle-suv-color.svg +1 -1
  177. package/dist/collection/components/icon/svg/vehicle-suv-outline.svg +1 -1
  178. package/dist/collection/components/icon/svg/vehicle-tractor-color.svg +1 -1
  179. package/dist/collection/components/icon/svg/vehicle-tractor-outline.svg +1 -1
  180. package/dist/collection/components/icon/svg/vehicle-trailer-solid.svg +1 -1
  181. package/dist/collection/components/icon/svg/vehicle-truck-outline.svg +1 -1
  182. package/dist/collection/components/icon/svg/vehicle-van-color.svg +1 -1
  183. package/dist/collection/components/icon/svg/vehicle-van-outline.svg +1 -1
  184. package/dist/collection/components/icon/svg/vehicle-workshop-color.svg +1 -1
  185. package/dist/collection/components/icon/svg/vehicle-workshop-outline.svg +1 -1
  186. package/dist/esm/index-a99a5e7b.js +2 -14
  187. package/dist/esm/loader.js +1 -1
  188. package/dist/esm/road-accordion.entry.js +1 -1
  189. package/dist/esm/road-alert.entry.js +1 -1
  190. package/dist/esm/road-autocomplete.entry.js +1 -1
  191. package/dist/esm/road-avatar.entry.js +1 -1
  192. package/dist/esm/road-badge_14.entry.js +791 -0
  193. package/dist/esm/road-card.entry.js +1 -1
  194. package/dist/esm/road-carousel-item.entry.js +1 -1
  195. package/dist/esm/road-carousel.entry.js +6433 -3
  196. package/dist/esm/road-checkbox.entry.js +1 -1
  197. package/dist/esm/road-chip.entry.js +1 -1
  198. package/dist/esm/road-collapse.entry.js +1 -1
  199. package/dist/esm/road-dialog.entry.js +1 -1
  200. package/dist/esm/road-dropdown.entry.js +1 -1
  201. package/dist/esm/road-duration.entry.js +1 -1
  202. package/dist/esm/road-flap.entry.js +1 -1
  203. package/dist/esm/road-img.entry.js +1 -1
  204. package/dist/esm/road-modal.entry.js +1 -1
  205. package/dist/esm/road-navbar-item.entry.js +1 -1
  206. package/dist/esm/road-navbar.entry.js +1 -1
  207. package/dist/esm/road-plate-number.entry.js +1 -1
  208. package/dist/esm/road-progress.entry.js +1 -1
  209. package/dist/esm/road-radio-group.entry.js +1 -1
  210. package/dist/esm/road-radio.entry.js +1 -1
  211. package/dist/esm/road-range.entry.js +1 -1
  212. package/dist/esm/road-rating.entry.js +1 -1
  213. package/dist/esm/road-select-filter.entry.js +1 -1
  214. package/dist/esm/road-select.entry.js +1 -1
  215. package/dist/esm/road-skeleton.entry.js +1 -1
  216. package/dist/esm/road-spinner.entry.js +1 -1
  217. package/dist/esm/road-stepper.entry.js +1 -1
  218. package/dist/esm/road-switch.entry.js +1 -1
  219. package/dist/esm/road-tab-bar.entry.js +1 -1
  220. package/dist/esm/road-tab-button.entry.js +1 -1
  221. package/dist/esm/road-table.entry.js +1 -1
  222. package/dist/esm/road-textarea.entry.js +1 -1
  223. package/dist/esm/road-toast.entry.js +1 -1
  224. package/dist/esm/road-toggle.entry.js +1 -1
  225. package/dist/esm/road-toolbar-title.entry.js +1 -1
  226. package/dist/esm/road-tooltip.entry.js +1 -1
  227. package/dist/esm/roadtrip.js +1 -1
  228. package/dist/html.html-data.json +2 -2
  229. package/dist/icons/icons.svg +1 -1
  230. package/dist/icons/index.d.ts +31 -2
  231. package/dist/icons/index.js +135 -106
  232. package/dist/index.js +1 -1
  233. package/dist/loader/index.js +1 -1
  234. package/dist/roadtrip/p-095d5ffc.entry.js +1 -0
  235. package/dist/roadtrip/p-0ca6fb50.entry.js +1 -0
  236. package/dist/roadtrip/p-0ce45fe7.entry.js +1 -0
  237. package/dist/roadtrip/p-1361d4c7.entry.js +1 -0
  238. package/dist/roadtrip/{p-34e74cd7.entry.js → p-1871fe52.entry.js} +1 -1
  239. package/dist/roadtrip/{p-fa538a78.entry.js → p-1c8fba28.entry.js} +1 -1
  240. package/dist/roadtrip/p-23d1fa76.entry.js +1 -0
  241. package/dist/roadtrip/p-2b92deb4.entry.js +1 -0
  242. package/dist/roadtrip/p-2c87e848.entry.js +1 -0
  243. package/dist/roadtrip/p-2db00cbc.entry.js +1 -0
  244. package/dist/roadtrip/p-34045b69.entry.js +1 -0
  245. package/dist/roadtrip/p-350b8f54.entry.js +1 -0
  246. package/dist/roadtrip/p-4056c748.entry.js +1 -0
  247. package/dist/roadtrip/p-40bfdbfa.entry.js +1 -0
  248. package/dist/roadtrip/p-4354fc7f.entry.js +1 -0
  249. package/dist/roadtrip/p-5198817e.entry.js +1 -0
  250. package/dist/roadtrip/p-5d29e9c8.entry.js +1 -0
  251. package/dist/roadtrip/p-6246e09a.entry.js +1 -0
  252. package/dist/roadtrip/p-6298ef24.entry.js +1 -0
  253. package/dist/roadtrip/{p-066b7c0c.entry.js → p-64c0d798.entry.js} +1 -1
  254. package/dist/roadtrip/p-6862b9f8.entry.js +1 -0
  255. package/dist/roadtrip/p-70540977.entry.js +1 -0
  256. package/dist/roadtrip/{p-02abddd6.entry.js → p-835ad24a.entry.js} +1 -1
  257. package/dist/roadtrip/p-924cade0.entry.js +1 -0
  258. package/dist/roadtrip/{p-1d9bada8.entry.js → p-96475c17.entry.js} +1 -1
  259. package/dist/roadtrip/p-97d330e0.entry.js +1 -0
  260. package/dist/roadtrip/p-aafa4ced.entry.js +1 -0
  261. package/dist/roadtrip/p-aeb7cc19.entry.js +1 -0
  262. package/dist/roadtrip/{p-05ea6c4a.entry.js → p-b09d2170.entry.js} +1 -1
  263. package/dist/roadtrip/{p-264b3fae.entry.js → p-ba09f82a.entry.js} +1 -1
  264. package/dist/roadtrip/p-cc47e29d.entry.js +1 -0
  265. package/dist/roadtrip/p-d2d83075.entry.js +1 -0
  266. package/dist/roadtrip/p-d5a7bdc7.entry.js +1 -0
  267. package/dist/roadtrip/p-de4ccbde.entry.js +1 -0
  268. package/dist/roadtrip/p-e348e3a3.entry.js +1 -0
  269. package/dist/roadtrip/p-e5d7e62d.entry.js +1 -0
  270. package/dist/roadtrip/p-e602feab.entry.js +1 -0
  271. package/dist/roadtrip/{p-5ead79b3.entry.js → p-ea053d07.entry.js} +1 -1
  272. package/dist/roadtrip/p-edc33971.entry.js +1 -0
  273. package/dist/roadtrip/roadtrip.css +1 -1
  274. package/dist/roadtrip/roadtrip.esm.js +1 -1
  275. package/dist/roadtrip/svg/battery-start-stop-outline.svg +1 -1
  276. package/dist/roadtrip/svg/electric-color.svg +1 -1
  277. package/dist/roadtrip/svg/electric-outline.svg +1 -1
  278. package/dist/roadtrip/svg/electric-solid.svg +1 -1
  279. package/dist/roadtrip/svg/file-contract-color.svg +1 -0
  280. package/dist/roadtrip/svg/file-contract-outline.svg +1 -0
  281. package/dist/roadtrip/svg/flag-belgium.svg +1 -1
  282. package/dist/roadtrip/svg/flag-germany.svg +1 -1
  283. package/dist/roadtrip/svg/motor-starter-color.svg +1 -0
  284. package/dist/roadtrip/svg/motor-starter-outline.svg +1 -0
  285. package/dist/roadtrip/svg/seat-bike-front-color.svg +1 -0
  286. package/dist/roadtrip/svg/seat-bike-front-outline.svg +1 -0
  287. package/dist/roadtrip/svg/seat-bike-rear-color.svg +1 -0
  288. package/dist/roadtrip/svg/seat-bike-rear-junior-color.svg +1 -0
  289. package/dist/roadtrip/svg/seat-bike-rear-junior-outline.svg +1 -0
  290. package/dist/roadtrip/svg/seat-bike-rear-outline.svg +1 -0
  291. package/dist/roadtrip/svg/seat-bike-trailer-color.svg +1 -0
  292. package/dist/roadtrip/svg/seat-bike-trailer-outline.svg +1 -0
  293. package/dist/roadtrip/svg/shock-absorber-body-part-color.svg +1 -0
  294. package/dist/roadtrip/svg/shock-absorber-color.svg +1 -1
  295. package/dist/roadtrip/svg/shock-absorber-outline.svg +1 -1
  296. package/dist/roadtrip/svg/smart-repair-color.svg +1 -0
  297. package/dist/roadtrip/svg/smart-repair-outline.svg +1 -0
  298. package/dist/roadtrip/svg/{snowflake-solid color.svg → snowflake-solid-color.svg} +0 -0
  299. package/dist/roadtrip/svg/sticker-certified-pickerl-color.svg +1 -0
  300. package/dist/roadtrip/svg/sticker-certified-pickerl-outline.svg +1 -0
  301. package/dist/roadtrip/svg/tire-received-color.svg +1 -0
  302. package/dist/roadtrip/svg/tire-received-outline.svg +1 -0
  303. package/dist/roadtrip/svg/tire-received-solid.svg +1 -0
  304. package/dist/roadtrip/svg/tire-swap-color.svg +1 -0
  305. package/dist/roadtrip/svg/tire-swap-outline.svg +1 -0
  306. package/dist/roadtrip/svg/tire-swap-solid.svg +1 -0
  307. package/dist/roadtrip/svg/tire-transfer-color.svg +1 -0
  308. package/dist/roadtrip/svg/tire-transfer-outline.svg +1 -0
  309. package/dist/roadtrip/svg/tire-transfer-solid.svg +1 -0
  310. package/dist/roadtrip/svg/vehicle-4wd-color.svg +1 -1
  311. package/dist/roadtrip/svg/vehicle-4wd-outline.svg +1 -1
  312. package/dist/roadtrip/svg/vehicle-battery-service-color.svg +1 -1
  313. package/dist/roadtrip/svg/vehicle-battery-service-outline.svg +1 -1
  314. package/dist/roadtrip/svg/vehicle-bus-color.svg +1 -1
  315. package/dist/roadtrip/svg/vehicle-bus-outline.svg +1 -1
  316. package/dist/roadtrip/svg/vehicle-car-moto-color.svg +1 -1
  317. package/dist/roadtrip/svg/vehicle-car-moto-outline.svg +1 -1
  318. package/dist/roadtrip/svg/vehicle-car-sad-color.svg +1 -1
  319. package/dist/roadtrip/svg/vehicle-car-sad-outline.svg +1 -1
  320. package/dist/roadtrip/svg/vehicle-car-search-color.svg +1 -1
  321. package/dist/roadtrip/svg/vehicle-car-search-outline.svg +1 -1
  322. package/dist/roadtrip/svg/vehicle-car-side-tire-behind-color.svg +1 -1
  323. package/dist/roadtrip/svg/{vehicle-car-side-tire-front-outline-color.svg → vehicle-car-side-tire-behind-outline-color.svg} +0 -0
  324. package/dist/roadtrip/svg/vehicle-car-side-tire-behind-outline.svg +1 -1
  325. package/dist/roadtrip/svg/vehicle-car-side-tire-behind-solid.svg +1 -1
  326. package/dist/roadtrip/svg/vehicle-car-side-tire-behind.svg +1 -1
  327. package/dist/roadtrip/svg/vehicle-car-side-tire-front-color.svg +1 -1
  328. package/dist/roadtrip/svg/{vehicle-car-side-tire-behind-oultine.svg → vehicle-car-side-tire-front-oultine.svg} +0 -0
  329. package/dist/roadtrip/svg/vehicle-car-side-tire-front-outline.svg +1 -1
  330. package/dist/roadtrip/svg/vehicle-car-side-tire-front-solid.svg +1 -1
  331. package/dist/roadtrip/svg/vehicle-car-side-tire-front.svg +1 -1
  332. package/dist/roadtrip/svg/vehicle-car-sound-color.svg +1 -1
  333. package/dist/roadtrip/svg/vehicle-car-sound-outline.svg +1 -1
  334. package/dist/roadtrip/svg/vehicle-caravan-color.svg +1 -1
  335. package/dist/roadtrip/svg/vehicle-caravan-outline.svg +1 -1
  336. package/dist/roadtrip/svg/vehicle-carport-color.svg +1 -1
  337. package/dist/roadtrip/svg/vehicle-carport-outline.svg +1 -1
  338. package/dist/roadtrip/svg/vehicle-collector-color.svg +1 -1
  339. package/dist/roadtrip/svg/vehicle-collector-outline.svg +1 -1
  340. package/dist/roadtrip/svg/vehicle-delivery-color.svg +1 -1
  341. package/dist/roadtrip/svg/vehicle-delivery-fast-color.svg +1 -1
  342. package/dist/roadtrip/svg/vehicle-delivery-fast-outline.svg +1 -1
  343. package/dist/roadtrip/svg/vehicle-delivery-free-return-color.svg +1 -1
  344. package/dist/roadtrip/svg/vehicle-delivery-free-return-outline.svg +1 -1
  345. package/dist/roadtrip/svg/vehicle-delivery-meeting-color.svg +1 -1
  346. package/dist/roadtrip/svg/vehicle-delivery-meeting-outline.svg +1 -1
  347. package/dist/roadtrip/svg/vehicle-delivery-outline.svg +1 -1
  348. package/dist/roadtrip/svg/vehicle-drive-carport-color.svg +1 -1
  349. package/dist/roadtrip/svg/vehicle-drive-carport-outline.svg +1 -1
  350. package/dist/roadtrip/svg/vehicle-drive-color.svg +1 -1
  351. package/dist/roadtrip/svg/vehicle-drive-outline.svg +1 -1
  352. package/dist/roadtrip/svg/vehicle-micro-color.svg +1 -1
  353. package/dist/roadtrip/svg/vehicle-micro-outline.svg +1 -1
  354. package/dist/roadtrip/svg/vehicle-minivan-color.svg +1 -1
  355. package/dist/roadtrip/svg/vehicle-minivan-outline.svg +1 -1
  356. package/dist/roadtrip/svg/vehicle-moto-color.svg +1 -1
  357. package/dist/roadtrip/svg/vehicle-moto-outline.svg +1 -1
  358. package/dist/roadtrip/svg/vehicle-moto-solid.svg +1 -1
  359. package/dist/roadtrip/svg/vehicle-mower-color.svg +1 -1
  360. package/dist/roadtrip/svg/vehicle-mower-outline.svg +1 -1
  361. package/dist/roadtrip/svg/vehicle-mower-solid.svg +1 -1
  362. package/dist/roadtrip/svg/vehicle-pickup-color.svg +1 -1
  363. package/dist/roadtrip/svg/vehicle-pickup-outline.svg +1 -1
  364. package/dist/roadtrip/svg/vehicle-pickup-van-color.svg +1 -1
  365. package/dist/roadtrip/svg/vehicle-pickup-van-outline.svg +1 -1
  366. package/dist/roadtrip/svg/vehicle-quad-color.svg +1 -1
  367. package/dist/roadtrip/svg/vehicle-quad-outline.svg +1 -1
  368. package/dist/roadtrip/svg/vehicle-quad-solid.svg +1 -1
  369. package/dist/roadtrip/svg/vehicle-rent-bike-electric-color.svg +1 -1
  370. package/dist/roadtrip/svg/vehicle-rent-bike-electric-outline.svg +1 -1
  371. package/dist/roadtrip/svg/vehicle-rent-bike-electric-solid.svg +1 -1
  372. package/dist/roadtrip/svg/vehicle-rent-car-color.svg +1 -1
  373. package/dist/roadtrip/svg/vehicle-rent-car-micro-color.svg +1 -1
  374. package/dist/roadtrip/svg/vehicle-rent-car-micro-outline.svg +1 -1
  375. package/dist/roadtrip/svg/vehicle-rent-car-outline.svg +1 -1
  376. package/dist/roadtrip/svg/vehicle-rent-trailer-outline.svg +1 -1
  377. package/dist/roadtrip/svg/vehicle-rent-trailer-solid.svg +1 -1
  378. package/dist/roadtrip/svg/vehicle-repair-car-color.svg +1 -1
  379. package/dist/roadtrip/svg/vehicle-repair-car-outline.svg +1 -1
  380. package/dist/roadtrip/svg/vehicle-repair-moto-color.svg +1 -1
  381. package/dist/roadtrip/svg/vehicle-repair-moto-outline.svg +1 -1
  382. package/dist/roadtrip/svg/vehicle-repair-moto-solid.svg +1 -1
  383. package/dist/roadtrip/svg/vehicle-repair-pickup-van-color.svg +1 -1
  384. package/dist/roadtrip/svg/vehicle-repair-pickup-van-outline.svg +1 -1
  385. package/dist/roadtrip/svg/vehicle-repair-pickup-van-solid.svg +1 -1
  386. package/dist/roadtrip/svg/vehicle-repair-van-color.svg +1 -1
  387. package/dist/roadtrip/svg/vehicle-repair-van-outline.svg +1 -1
  388. package/dist/roadtrip/svg/vehicle-road-grip-color.svg +1 -1
  389. package/dist/roadtrip/svg/vehicle-road-grip-outline.svg +1 -1
  390. package/dist/roadtrip/svg/vehicle-road-grip-solid.svg +1 -1
  391. package/dist/roadtrip/svg/vehicle-roadster-color.svg +1 -1
  392. package/dist/roadtrip/svg/vehicle-roadster-outline.svg +1 -1
  393. package/dist/roadtrip/svg/vehicle-roofrack-color.svg +1 -0
  394. package/dist/roadtrip/svg/vehicle-roofrack-outline.svg +1 -0
  395. package/dist/roadtrip/svg/vehicle-roofrack-solid.svg +1 -0
  396. package/dist/roadtrip/svg/vehicle-scooter-color.svg +1 -1
  397. package/dist/roadtrip/svg/vehicle-scooter-outline.svg +1 -1
  398. package/dist/roadtrip/svg/vehicle-scooter-solid.svg +1 -1
  399. package/dist/roadtrip/svg/vehicle-sedan-color.svg +1 -1
  400. package/dist/roadtrip/svg/vehicle-sedan-outline.svg +1 -1
  401. package/dist/roadtrip/svg/vehicle-sport-color.svg +1 -1
  402. package/dist/roadtrip/svg/vehicle-sport-outline.svg +1 -1
  403. package/dist/roadtrip/svg/vehicle-suv-color.svg +1 -1
  404. package/dist/roadtrip/svg/vehicle-suv-outline.svg +1 -1
  405. package/dist/roadtrip/svg/vehicle-tractor-color.svg +1 -1
  406. package/dist/roadtrip/svg/vehicle-tractor-outline.svg +1 -1
  407. package/dist/roadtrip/svg/vehicle-trailer-solid.svg +1 -1
  408. package/dist/roadtrip/svg/vehicle-truck-outline.svg +1 -1
  409. package/dist/roadtrip/svg/vehicle-van-color.svg +1 -1
  410. package/dist/roadtrip/svg/vehicle-van-outline.svg +1 -1
  411. package/dist/roadtrip/svg/vehicle-workshop-color.svg +1 -1
  412. package/dist/roadtrip/svg/vehicle-workshop-outline.svg +1 -1
  413. package/dist/types/components/counter/counter.d.ts +31 -13
  414. package/dist/types/components.d.ts +24 -11
  415. package/icons/icons.svg +1 -1
  416. package/icons/index.d.ts +31 -2
  417. package/icons/index.js +135 -106
  418. package/package.json +2 -2
  419. package/dist/cjs/road-badge_11.cjs.entry.js +0 -532
  420. package/dist/cjs/road-counter.cjs.entry.js +0 -70
  421. package/dist/cjs/road-input-group.cjs.entry.js +0 -29
  422. package/dist/cjs/road-input.cjs.entry.js +0 -144
  423. package/dist/cjs/swiper.bundle-dec9b216.js +0 -10002
  424. package/dist/collection/components/carousel/swiper/swiper-interface.d.ts +0 -1
  425. package/dist/collection/components/carousel/swiper/swiper.bundle.js +0 -10002
  426. package/dist/collection/components/carousel/swiper/swiper.js +0 -4
  427. package/dist/esm/road-badge_11.entry.js +0 -518
  428. package/dist/esm/road-counter.entry.js +0 -66
  429. package/dist/esm/road-input-group.entry.js +0 -25
  430. package/dist/esm/road-input.entry.js +0 -140
  431. package/dist/esm/swiper.bundle-6070542b.js +0 -10000
  432. package/dist/esm-es5/app-ca51f056.js +0 -1
  433. package/dist/esm-es5/css-shim-88cc621b.js +0 -1
  434. package/dist/esm-es5/dom-665d6011.js +0 -21
  435. package/dist/esm-es5/focus-visible-0fc6119c.js +0 -1
  436. package/dist/esm-es5/index-3e2c0645.js +0 -1
  437. package/dist/esm-es5/index-a99a5e7b.js +0 -1
  438. package/dist/esm-es5/index.js +0 -1
  439. package/dist/esm-es5/loader.js +0 -1
  440. package/dist/esm-es5/polyfill-2b159e86.js +0 -1
  441. package/dist/esm-es5/road-accordion.entry.js +0 -1
  442. package/dist/esm-es5/road-alert.entry.js +0 -1
  443. package/dist/esm-es5/road-autocomplete.entry.js +0 -1
  444. package/dist/esm-es5/road-avatar.entry.js +0 -1
  445. package/dist/esm-es5/road-badge_11.entry.js +0 -1
  446. package/dist/esm-es5/road-banner.entry.js +0 -1
  447. package/dist/esm-es5/road-card.entry.js +0 -1
  448. package/dist/esm-es5/road-carousel-item.entry.js +0 -1
  449. package/dist/esm-es5/road-carousel.entry.js +0 -1
  450. package/dist/esm-es5/road-checkbox.entry.js +0 -1
  451. package/dist/esm-es5/road-chip.entry.js +0 -1
  452. package/dist/esm-es5/road-collapse.entry.js +0 -1
  453. package/dist/esm-es5/road-counter.entry.js +0 -1
  454. package/dist/esm-es5/road-dialog.entry.js +0 -1
  455. package/dist/esm-es5/road-dropdown.entry.js +0 -1
  456. package/dist/esm-es5/road-duration.entry.js +0 -1
  457. package/dist/esm-es5/road-flap.entry.js +0 -1
  458. package/dist/esm-es5/road-img.entry.js +0 -1
  459. package/dist/esm-es5/road-input-group.entry.js +0 -1
  460. package/dist/esm-es5/road-input.entry.js +0 -1
  461. package/dist/esm-es5/road-modal.entry.js +0 -1
  462. package/dist/esm-es5/road-navbar-item.entry.js +0 -1
  463. package/dist/esm-es5/road-navbar.entry.js +0 -1
  464. package/dist/esm-es5/road-plate-number.entry.js +0 -1
  465. package/dist/esm-es5/road-progress.entry.js +0 -1
  466. package/dist/esm-es5/road-radio-group.entry.js +0 -1
  467. package/dist/esm-es5/road-radio.entry.js +0 -1
  468. package/dist/esm-es5/road-range.entry.js +0 -1
  469. package/dist/esm-es5/road-rating.entry.js +0 -1
  470. package/dist/esm-es5/road-select-filter.entry.js +0 -1
  471. package/dist/esm-es5/road-select.entry.js +0 -1
  472. package/dist/esm-es5/road-skeleton.entry.js +0 -1
  473. package/dist/esm-es5/road-spinner.entry.js +0 -1
  474. package/dist/esm-es5/road-stepper.entry.js +0 -1
  475. package/dist/esm-es5/road-switch.entry.js +0 -1
  476. package/dist/esm-es5/road-tab-bar.entry.js +0 -1
  477. package/dist/esm-es5/road-tab-button.entry.js +0 -1
  478. package/dist/esm-es5/road-tab.entry.js +0 -1
  479. package/dist/esm-es5/road-table.entry.js +0 -1
  480. package/dist/esm-es5/road-tabs.entry.js +0 -1
  481. package/dist/esm-es5/road-text.entry.js +0 -1
  482. package/dist/esm-es5/road-textarea.entry.js +0 -1
  483. package/dist/esm-es5/road-toast.entry.js +0 -1
  484. package/dist/esm-es5/road-toggle.entry.js +0 -1
  485. package/dist/esm-es5/road-toolbar-title.entry.js +0 -1
  486. package/dist/esm-es5/road-tooltip.entry.js +0 -1
  487. package/dist/esm-es5/roadtrip.js +0 -1
  488. package/dist/esm-es5/shadow-css-b18e99d7.js +0 -12
  489. package/dist/esm-es5/swiper.bundle-6070542b.js +0 -1
  490. package/dist/esm-es5/utils-0ec32b47.js +0 -1
  491. package/dist/roadtrip/p-03f20bd5.entry.js +0 -1
  492. package/dist/roadtrip/p-066b2ea8.system.entry.js +0 -1
  493. package/dist/roadtrip/p-06a36703.system.entry.js +0 -1
  494. package/dist/roadtrip/p-06aee93b.entry.js +0 -1
  495. package/dist/roadtrip/p-1275744e.system.entry.js +0 -1
  496. package/dist/roadtrip/p-132c7432.entry.js +0 -1
  497. package/dist/roadtrip/p-156e8176.entry.js +0 -1
  498. package/dist/roadtrip/p-15d069b6.system.entry.js +0 -1
  499. package/dist/roadtrip/p-1a6ecd11.entry.js +0 -1
  500. package/dist/roadtrip/p-1cef6c4b.entry.js +0 -1
  501. package/dist/roadtrip/p-1dbd9764.system.js +0 -1
  502. package/dist/roadtrip/p-1e102214.system.entry.js +0 -1
  503. package/dist/roadtrip/p-20d63257.system.entry.js +0 -1
  504. package/dist/roadtrip/p-2322b732.entry.js +0 -1
  505. package/dist/roadtrip/p-24f07baf.entry.js +0 -1
  506. package/dist/roadtrip/p-2916b2f9.entry.js +0 -1
  507. package/dist/roadtrip/p-2bd6cb84.system.js +0 -1
  508. package/dist/roadtrip/p-2d9fe422.system.entry.js +0 -1
  509. package/dist/roadtrip/p-2f07b733.entry.js +0 -1
  510. package/dist/roadtrip/p-30db6549.system.entry.js +0 -1
  511. package/dist/roadtrip/p-3324945a.system.entry.js +0 -1
  512. package/dist/roadtrip/p-35d79a01.system.entry.js +0 -1
  513. package/dist/roadtrip/p-3851a850.entry.js +0 -1
  514. package/dist/roadtrip/p-39860f00.system.entry.js +0 -1
  515. package/dist/roadtrip/p-3e9c0e68.entry.js +0 -1
  516. package/dist/roadtrip/p-40306741.system.entry.js +0 -1
  517. package/dist/roadtrip/p-452b23cc.system.entry.js +0 -1
  518. package/dist/roadtrip/p-4573f1af.entry.js +0 -1
  519. package/dist/roadtrip/p-48768f1f.entry.js +0 -1
  520. package/dist/roadtrip/p-4bf16b71.system.js +0 -1
  521. package/dist/roadtrip/p-4fa992b0.entry.js +0 -1
  522. package/dist/roadtrip/p-5390ac80.system.entry.js +0 -1
  523. package/dist/roadtrip/p-586f5022.system.entry.js +0 -1
  524. package/dist/roadtrip/p-59e76c1d.system.entry.js +0 -1
  525. package/dist/roadtrip/p-5b90334d.system.entry.js +0 -1
  526. package/dist/roadtrip/p-5c07717b.entry.js +0 -1
  527. package/dist/roadtrip/p-5d438dd2.system.entry.js +0 -1
  528. package/dist/roadtrip/p-5dd55f41.system.entry.js +0 -1
  529. package/dist/roadtrip/p-5f40570b.entry.js +0 -1
  530. package/dist/roadtrip/p-63daafae.js +0 -1
  531. package/dist/roadtrip/p-66256bbc.system.entry.js +0 -1
  532. package/dist/roadtrip/p-6a050b2c.system.js +0 -21
  533. package/dist/roadtrip/p-6e530e30.system.js +0 -1
  534. package/dist/roadtrip/p-6ed82065.entry.js +0 -1
  535. package/dist/roadtrip/p-70ef3992.entry.js +0 -1
  536. package/dist/roadtrip/p-71d7e859.system.entry.js +0 -1
  537. package/dist/roadtrip/p-801c9922.system.js +0 -1
  538. package/dist/roadtrip/p-838c5326.system.entry.js +0 -1
  539. package/dist/roadtrip/p-8459879b.system.js +0 -1
  540. package/dist/roadtrip/p-87a26ac6.system.js +0 -1
  541. package/dist/roadtrip/p-88092d06.system.js +0 -13
  542. package/dist/roadtrip/p-897d6b9a.entry.js +0 -1
  543. package/dist/roadtrip/p-899ee828.system.entry.js +0 -1
  544. package/dist/roadtrip/p-8aa8be00.entry.js +0 -1
  545. package/dist/roadtrip/p-8ba830ff.system.entry.js +0 -1
  546. package/dist/roadtrip/p-8e983042.entry.js +0 -1
  547. package/dist/roadtrip/p-8eef5119.entry.js +0 -1
  548. package/dist/roadtrip/p-90eac9fd.entry.js +0 -1
  549. package/dist/roadtrip/p-92ad461a.system.entry.js +0 -1
  550. package/dist/roadtrip/p-9738887f.system.entry.js +0 -1
  551. package/dist/roadtrip/p-99716cdc.entry.js +0 -1
  552. package/dist/roadtrip/p-a6c837c2.system.entry.js +0 -1
  553. package/dist/roadtrip/p-a834d9c6.system.entry.js +0 -1
  554. package/dist/roadtrip/p-a99d8e34.system.entry.js +0 -1
  555. package/dist/roadtrip/p-ae2b17ba.system.entry.js +0 -1
  556. package/dist/roadtrip/p-af28a565.entry.js +0 -1
  557. package/dist/roadtrip/p-afec7bc1.system.entry.js +0 -1
  558. package/dist/roadtrip/p-b122f1dd.system.entry.js +0 -1
  559. package/dist/roadtrip/p-b2f4c9ea.entry.js +0 -1
  560. package/dist/roadtrip/p-b306eeef.system.entry.js +0 -1
  561. package/dist/roadtrip/p-b5c57d5e.entry.js +0 -1
  562. package/dist/roadtrip/p-bbbbe085.system.entry.js +0 -1
  563. package/dist/roadtrip/p-c094e6d0.entry.js +0 -1
  564. package/dist/roadtrip/p-c0f54b95.entry.js +0 -1
  565. package/dist/roadtrip/p-c2d86689.system.entry.js +0 -1
  566. package/dist/roadtrip/p-c45e619f.system.entry.js +0 -1
  567. package/dist/roadtrip/p-d02c02d5.system.entry.js +0 -1
  568. package/dist/roadtrip/p-d03d2e7e.system.entry.js +0 -1
  569. package/dist/roadtrip/p-d3890e7d.system.entry.js +0 -1
  570. package/dist/roadtrip/p-d3d3be26.entry.js +0 -1
  571. package/dist/roadtrip/p-d847f67d.system.entry.js +0 -1
  572. package/dist/roadtrip/p-d8769566.system.entry.js +0 -1
  573. package/dist/roadtrip/p-db5431c3.system.js +0 -2
  574. package/dist/roadtrip/p-e2652fee.system.js +0 -1
  575. package/dist/roadtrip/p-e7438d82.system.entry.js +0 -1
  576. package/dist/roadtrip/p-e99ab4dd.system.entry.js +0 -1
  577. package/dist/roadtrip/p-e9e37e9d.entry.js +0 -1
  578. package/dist/roadtrip/p-eadf5c3c.system.entry.js +0 -1
  579. package/dist/roadtrip/p-eb9fd742.system.entry.js +0 -1
  580. package/dist/roadtrip/p-f0bfa22f.entry.js +0 -1
  581. package/dist/roadtrip/p-fda23e85.system.entry.js +0 -1
  582. package/dist/roadtrip/p-feab34cb.entry.js +0 -1
  583. package/dist/roadtrip/p-ffbbba64.system.js +0 -1
  584. package/dist/roadtrip/roadtrip.js +0 -133
  585. package/dist/roadtrip/swiper/swiper-interface.d.ts +0 -1
  586. package/dist/roadtrip/swiper/swiper.bundle.js +0 -10002
  587. package/dist/roadtrip/swiper/swiper.js +0 -4
  588. package/dist/types/components/carousel/swiper/swiper-interface.d.ts +0 -1
@@ -0,0 +1,791 @@
1
+ import { r as registerInstance, h, H as Host, c as createEvent, e as getElement } from './index-a99a5e7b.js';
2
+ import './polyfill-2b159e86.js';
3
+ import { n as navigationChevron, a as navigationClose } from './index-3e2c0645.js';
4
+ import { i as isStr, g as getUrl, b as getName } from './utils-0ec32b47.js';
5
+
6
+ const badgeCss = ":host{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:1rem;min-height:1rem;padding:0 0.3125rem;font-family:var(--road-font, sans-serif);font-size:0.625rem;font-weight:700;white-space:nowrap;border-radius:1rem}:host(.badge-bubble){min-width:0.25rem;min-height:0.25rem;padding:0}:host(.badge-primary){color:var(--road-primary-contrast);background-color:var(--road-primary-500)}:host(.badge-secondary){color:var(--road-primary-contrast);background-color:var(--road-primary-500)}:host(.badge-accent){color:var(--road-secondary-contrast);background-color:var(--road-secondary-500)}:host(.badge-info){color:var(--road-info-contrast);background-color:var(--road-info-default)}:host(.badge-success){color:var(--road-success-contrast);background-color:var(--road-success-default)}:host(.badge-warning){color:var(--road-warning-contrast);background-color:var(--road-warning-default)}:host(.badge-danger){color:var(--road-danger-contrast);background-color:var(--road-danger-default)}";
7
+
8
+ const Badge = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ /**
12
+ * Color of the badge
13
+ */
14
+ this.color = 'secondary';
15
+ /**
16
+ * if `true` the badge will be displayed has a little bubble
17
+ */
18
+ this.bubble = false;
19
+ }
20
+ render() {
21
+ const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
22
+ const bubbleClass = this.bubble ? 'badge-bubble' : '';
23
+ return (h(Host, { class: `${colorClass} ${bubbleClass}` }, h("slot", null)));
24
+ }
25
+ };
26
+ Badge.style = badgeCss;
27
+
28
+ const buttonCss = ":host{--border-radius:0.25rem;--font-size:1rem;--margin-bottom:1rem;--padding-start:1.5rem;--padding-end:1.5rem;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:3rem;padding:0;margin-bottom:var(--margin-bottom);font-family:var(--road-font, sans-serif);font-size:var(--font-size);font-weight:700;line-height:1.375;color:var(--road-grey-900);text-decoration:none;white-space:nowrap;vertical-align:middle;background:transparent;border:1px solid transparent;border-radius:var(--border-radius);transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}:host(:hover){text-decoration:none}:host(.focus-visible){outline:0}.button-native{position:relative;z-index:1;display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;padding:0 var(--padding-end) 0 var(--padding-start);margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;border:none;outline:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}:host(.btn-default:not([disabled]).focus-visible){background:var(--road-grey-200)}:host(.btn-primary){color:var(--road-primary-contrast);background:var(--road-primary-500)}:host(.btn-primary) ::slotted(road-icon){color:var(--road-primary-contrast)}:host(.btn-primary:not([disabled]):hover),:host(.btn-primary:not([disabled]).focus-visible){background:var(--road-primary-700)}:host(.btn-secondary){color:var(--road-primary-contrast);background:var(--road-primary-500)}:host(.btn-secondary) ::slotted(road-icon){color:var(--road-primary-contrast)}:host(.btn-secondary:not([disabled]):hover),:host(.btn-secondary:not([disabled]).focus-visible){background:var(--road-primary-700)}:host(.btn-link){font-weight:400;color:var(--road-primary-500);background:transparent}:host(.btn-link:not([disabled]):hover),:host(.btn-link:not([disabled]).focus-visible){color:var(--road-primary-700)}:host(.btn-outline-primary),:host(.btn-outline-secondary),:host(.btn-outline-default){background:transparent}:host(.btn-outline-default){color:var(--road-grey-600);background:var(--road-grey-000);border-color:var(--road-grey-600)}:host(.btn-outline-default) ::slotted(road-icon){color:var(--road-grey-600)}:host(.btn-outline-default:hover),:host(.btn-outline-default.focus-visible){background:var(--road-grey-200)}:host(.btn-outline-primary){color:var(--road-primary-500);border-color:var(--road-primary-500)}:host(.btn-outline-primary) ::slotted(road-icon){color:var(--road-primary-500)}:host(.btn-outline-primary:hover),:host(.btn-outline-primary.focus-visible){background:var(--road-primary-100)}:host(.btn-outline-secondary){color:var(--road-primary-500);border-color:var(--road-primary-500)}:host(.btn-outline-secondary) ::slotted(road-icon){color:var(--road-primary-500)}:host(.btn-outline-secondary:hover),:host(.btn-outline-secondary.focus-visible){background:var(--road-primary-100)}:host([aria-disabled]){pointer-events:none;opacity:0.16}.button-native:disabled{cursor:not-allowed}::slotted([slot=\"start\"]){margin-right:0.5rem}::slotted([slot=\"end\"]){margin-left:0.5rem}:host(.btn-xl){height:3.5rem}:host(.btn-xl) ::slotted(road-icon){width:2rem;height:2rem}:host(.btn-md){--font-size:0.875rem;height:2.5rem}:host(.btn-md) ::slotted(road-icon){width:1.5rem;height:1.5rem}:host(.btn-sm){--font-size:0.875rem;height:2rem}:host(.btn-sm) ::slotted(road-icon){width:1.25rem;height:1.25rem}:host(.btn-block){width:100%}::slotted(road-badge){position:absolute;top:4px;left:calc(50% + 0.375rem);z-index:1;box-sizing:border-box;height:auto}";
29
+
30
+ const Button = class {
31
+ constructor(hostRef) {
32
+ registerInstance(this, hostRef);
33
+ this.roadfocus = createEvent(this, "roadfocus", 7);
34
+ this.roadFocus = createEvent(this, "roadFocus", 7);
35
+ this.roadblur = createEvent(this, "roadblur", 7);
36
+ this.roadBlur = createEvent(this, "roadBlur", 7);
37
+ /**
38
+ * The color to use from your application's color palette.
39
+ */
40
+ this.color = 'default';
41
+ /**
42
+ * The button size.
43
+ */
44
+ this.size = 'lg';
45
+ /**
46
+ * The type of the button.
47
+ */
48
+ this.buttonType = 'button';
49
+ /**
50
+ * If `true`, the user cannot interact with the button.
51
+ */
52
+ this.disabled = false;
53
+ /**
54
+ * Set to `true` for a full-width button.
55
+ */
56
+ this.expand = false;
57
+ /**
58
+ * Set to `true` for a transparent button with a border
59
+ */
60
+ this.outline = false;
61
+ this.onClick = (ev) => {
62
+ if (this.el.shadowRoot && this.el.attachShadow) {
63
+ // this button wants to specifically submit a form
64
+ // climb up the dom to see if we're in a <form>
65
+ // and if so, then use JS to submit it
66
+ const form = this.el.closest('form');
67
+ if (form) {
68
+ ev.preventDefault();
69
+ const fakeButton = document.createElement('button');
70
+ fakeButton.type = this.buttonType;
71
+ fakeButton.style.display = 'none';
72
+ form.appendChild(fakeButton);
73
+ fakeButton.click();
74
+ fakeButton.remove();
75
+ }
76
+ }
77
+ };
78
+ this.onFocus = () => {
79
+ this.roadfocus.emit();
80
+ this.roadFocus.emit();
81
+ };
82
+ this.onBlur = () => {
83
+ this.roadblur.emit();
84
+ this.roadBlur.emit();
85
+ };
86
+ }
87
+ render() {
88
+ const { buttonType, disabled, href, rel, target, color } = this;
89
+ const TagType = this.href === undefined ? 'button' : 'a';
90
+ const attrs = (TagType === 'button')
91
+ ? { type: buttonType }
92
+ : {
93
+ download: this.download,
94
+ href,
95
+ rel,
96
+ target,
97
+ };
98
+ const colorClass = this.outline ? `btn-outline-${color}` : `btn-${color}`;
99
+ const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
100
+ const expandClass = this.expand ? 'btn-block' : '';
101
+ return (h(Host, { class: `${colorClass} ${sizeClass} ${expandClass}`, onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, h(TagType, Object.assign({}, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), h("slot", { name: "start" }), h("slot", null), h("slot", { name: "end" }))));
102
+ }
103
+ get el() { return getElement(this); }
104
+ };
105
+ Button.style = buttonCss;
106
+
107
+ const colCss = ":host{position:relative;flex-basis:0;flex-grow:1;width:100%;max-width:100%;min-height:1px;padding-right:8px;padding-left:8px}:host(.col-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-3){flex:0 0 25%;max-width:25%}:host(.col-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-6){flex:0 0 50%;max-width:50%}:host(.col-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-9){flex:0 0 75%;max-width:75%}:host(.col-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-12){flex:0 0 100%;max-width:100%}:host(.offset-1){margin-left:8.3333%}:host(.offset-2){margin-left:16.6667%}:host(.offset-3){margin-left:25%}:host(.offset-4){margin-left:33.3333%}:host(.offset-5){margin-left:41.6667%}:host(.offset-6){margin-left:50%}:host(.offset-7){margin-left:58.3333%}:host(.offset-8){margin-left:66.6667%}:host(.offset-9){margin-left:75%}:host(.offset-10){margin-left:83.3333%}:host(.offset-11){margin-left:91.6667%}@media (min-width: 576px){:host(.col-sm){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-sm-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-sm-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-sm-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-sm-3){flex:0 0 25%;max-width:25%}:host(.col-sm-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-sm-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-sm-6){flex:0 0 50%;max-width:50%}:host(.col-sm-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-sm-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-sm-9){flex:0 0 75%;max-width:75%}:host(.col-sm-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-sm-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-sm-12){flex:0 0 100%;max-width:100%}:host(.offset-sm-0){margin-left:0}:host(.offset-sm-1){margin-left:8.3333%}:host(.offset-sm-2){margin-left:16.6667%}:host(.offset-sm-3){margin-left:25%}:host(.offset-sm-4){margin-left:33.3333%}:host(.offset-sm-5){margin-left:41.6667%}:host(.offset-sm-6){margin-left:50%}:host(.offset-sm-7){margin-left:58.3333%}:host(.offset-sm-8){margin-left:66.6667%}:host(.offset-sm-9){margin-left:75%}:host(.offset-sm-10){margin-left:83.3333%}:host(.offset-sm-11){margin-left:91.6667%}}@media (min-width: 768px){:host(.col-md){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-md-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-md-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-md-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-md-3){flex:0 0 25%;max-width:25%}:host(.col-md-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-md-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-md-6){flex:0 0 50%;max-width:50%}:host(.col-md-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-md-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-md-9){flex:0 0 75%;max-width:75%}:host(.col-md-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-md-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-md-12){flex:0 0 100%;max-width:100%}:host(.offset-md-0){margin-left:0}:host(.offset-md-1){margin-left:8.3333%}:host(.offset-md-2){margin-left:16.6667%}:host(.offset-md-3){margin-left:25%}:host(.offset-md-4){margin-left:33.3333%}:host(.offset-md-5){margin-left:41.6667%}:host(.offset-md-6){margin-left:50%}:host(.offset-md-7){margin-left:58.3333%}:host(.offset-md-8){margin-left:66.6667%}:host(.offset-md-9){margin-left:75%}:host(.offset-md-10){margin-left:83.3333%}:host(.offset-md-11){margin-left:91.6667%}}@media (min-width: 992px){:host(.col-lg){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-lg-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-lg-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-lg-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-lg-3){flex:0 0 25%;max-width:25%}:host(.col-lg-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-lg-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-lg-6){flex:0 0 50%;max-width:50%}:host(.col-lg-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-lg-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-lg-9){flex:0 0 75%;max-width:75%}:host(.col-lg-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-lg-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-lg-12){flex:0 0 100%;max-width:100%}:host(.offset-lg-0){margin-left:0}:host(.offset-lg-1){margin-left:8.3333%}:host(.offset-lg-2){margin-left:16.6667%}:host(.offset-lg-3){margin-left:25%}:host(.offset-lg-4){margin-left:33.3333%}:host(.offset-lg-5){margin-left:41.6667%}:host(.offset-lg-6){margin-left:50%}:host(.offset-lg-7){margin-left:58.3333%}:host(.offset-lg-8){margin-left:66.6667%}:host(.offset-lg-9){margin-left:75%}:host(.offset-lg-10){margin-left:83.3333%}:host(.offset-lg-11){margin-left:91.6667%}}@media (min-width: 1200px){:host(.col-xl){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-xl-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-xl-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-xl-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-xl-3){flex:0 0 25%;max-width:25%}:host(.col-xl-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-xl-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-xl-6){flex:0 0 50%;max-width:50%}:host(.col-xl-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-xl-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-xl-9){flex:0 0 75%;max-width:75%}:host(.col-xl-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-xl-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-xl-12){flex:0 0 100%;max-width:100%}:host(.offset-xl-0){margin-left:0}:host(.offset-xl-1){margin-left:8.3333%}:host(.offset-xl-2){margin-left:16.6667%}:host(.offset-xl-3){margin-left:25%}:host(.offset-xl-4){margin-left:33.3333%}:host(.offset-xl-5){margin-left:41.6667%}:host(.offset-xl-6){margin-left:50%}:host(.offset-xl-7){margin-left:58.3333%}:host(.offset-xl-8){margin-left:66.6667%}:host(.offset-xl-9){margin-left:75%}:host(.offset-xl-10){margin-left:83.3333%}:host(.offset-xl-11){margin-left:91.6667%}}";
108
+
109
+ const Col = class {
110
+ constructor(hostRef) {
111
+ registerInstance(this, hostRef);
112
+ }
113
+ render() {
114
+ return (h("slot", null));
115
+ }
116
+ };
117
+ Col.style = colCss;
118
+
119
+ const counterCss = ".sc-road-counter-h{display:block}road-input.sc-road-counter{--input-text-align:center;--border-radius:0;--margin-bottom:0}road-button.sc-road-counter{font-size:1.5rem;line-height:1.4;background:var(--road-grey-100);border:1px solid var(--road-grey-500)}road-button.sc-road-counter:hover{background:var(--road-grey-200)}.counter-md.sc-road-counter{height:2.5rem}.counter-sm.sc-road-counter{height:2rem}.counter-md.sc-road-counter road-input.sc-road-counter{--height:2.5rem}.counter-md.sc-road-counter road-button.sc-road-counter{min-width:2.5rem}.counter-sm.sc-road-counter road-input.sc-road-counter{--height:2rem}.counter-sm.sc-road-counter road-button.sc-road-counter{min-width:2rem}.disabled.sc-road-counter{pointer-events:none;background:var(--road-grey-000);cursor:not-allowed}.disabled.sc-road-counter:hover{background:var(--road-grey-000)}";
120
+
121
+ const Counter = class {
122
+ constructor(hostRef) {
123
+ registerInstance(this, hostRef);
124
+ this.roadIncrease = createEvent(this, "roadIncrease", 7);
125
+ this.roadDecrease = createEvent(this, "roadDecrease", 7);
126
+ this.roadChange = createEvent(this, "roadChange", 7);
127
+ this.roadDustbinClick = createEvent(this, "roadDustbinClick", 7);
128
+ this.leftIconClasses = "";
129
+ this.rightIconClasses = "";
130
+ this.isDustbinVisible = false;
131
+ /**
132
+ * The id of counter
133
+ */
134
+ this.inputId = `road-counter-${counterIds++}`;
135
+ /**
136
+ * The minimum value, which must not be greater than its maximum (max attribute) value.
137
+ */
138
+ this.min = 0;
139
+ /**
140
+ * The value of the counter.
141
+ */
142
+ this.value = 1;
143
+ /**
144
+ * Set to `true` to add the dustbin icon if the value is equal to the min.
145
+ */
146
+ this.dustbin = false;
147
+ this.setIsDustbinVisible = (valueInput) => {
148
+ if (valueInput > this.min) {
149
+ this.isDustbinVisible = false;
150
+ }
151
+ else if (this.dustbin) {
152
+ this.isDustbinVisible = true;
153
+ }
154
+ else {
155
+ this.isDustbinVisible = false;
156
+ }
157
+ };
158
+ this.increase = () => {
159
+ this.inputElement.querySelector('input').stepUp();
160
+ let valueInput = parseInt(this.inputElement.querySelector('input').value);
161
+ if (!valueInput) {
162
+ valueInput = this.min;
163
+ }
164
+ this.onValueChange(valueInput);
165
+ this.roadIncrease.emit({ value: valueInput });
166
+ };
167
+ this.decrease = () => {
168
+ if (this.isDustbinVisible) {
169
+ this.roadDustbinClick.emit();
170
+ return;
171
+ }
172
+ this.inputElement.querySelector('input').stepDown();
173
+ let valueInput = parseInt(this.inputElement.querySelector('input').value);
174
+ if (!valueInput) {
175
+ valueInput = this.min;
176
+ }
177
+ this.onValueChange(valueInput);
178
+ this.roadDecrease.emit({ value: valueInput });
179
+ };
180
+ this.checkValue = (ev) => {
181
+ const input = ev.target;
182
+ const value = input.value && parseInt(input.value);
183
+ if (value == null || value === "")
184
+ return;
185
+ if (value < this.min) {
186
+ input.value = this.min.toString();
187
+ }
188
+ else if (this.max && value > this.max) {
189
+ input.value = this.max.toString();
190
+ }
191
+ this.onValueChange(parseInt(input.value));
192
+ };
193
+ this.onRoadChange = (ev) => {
194
+ ev.stopPropagation();
195
+ const input = ev.target;
196
+ const value = input.value && parseInt(input.value);
197
+ if (value !== null && value !== "") {
198
+ if (value < this.min) {
199
+ this.roadChange.emit({ value: this.min });
200
+ }
201
+ else if (this.max && value > this.max) {
202
+ this.roadChange.emit({ value: this.max });
203
+ }
204
+ else {
205
+ this.roadChange.emit({ value: parseInt(input.value) });
206
+ }
207
+ }
208
+ else {
209
+ this.roadChange.emit({ value: null });
210
+ }
211
+ };
212
+ }
213
+ onValueChange(valueInput) {
214
+ this.setIsDustbinVisible(valueInput);
215
+ this.setIconsClasses(valueInput);
216
+ }
217
+ setIconsClasses(valueInput) {
218
+ valueInput = valueInput !== null && valueInput !== void 0 ? valueInput : parseInt(this.inputElement.querySelector('input').value);
219
+ this.leftIconClasses = valueInput <= this.min && !this.dustbin ? "disabled" : "";
220
+ this.rightIconClasses = this.max && valueInput >= this.max ? "disabled" : "";
221
+ }
222
+ componentWillLoad() {
223
+ this.onValueChange(this.value);
224
+ }
225
+ render() {
226
+ return (h("road-input-group", { class: this.size && `counter-${this.size}` }, h("road-button", { slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses }, h("road-icon", { name: this.isDustbinVisible ? "delete-forever" : "navigation-add-less", ref: (el) => this.iconCounterLess = el, size: this.size })), h("road-input", { ref: (el) => this.inputElement = el, type: "number", min: this.min.toString(), max: (this.max && this.max.toString()), step: this.step, value: this.value, onRoadChange: this.onRoadChange, onKeyUp: this.checkValue }), h("road-button", { slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses }, h("road-icon", { name: "navigation-add-more", size: this.size }))));
227
+ }
228
+ get el() { return getElement(this); }
229
+ };
230
+ let counterIds = 0;
231
+ Counter.style = counterCss;
232
+
233
+ const drawerDarkCss = ":host{--background:var(--road-grey-000);--color:var(--road-grey-900);--header-icon:var(--road-grey-900);--header-color:var(--road-grey-900);--header-background:var(--road-grey-000);--header-delimiter:0;--back-chevron-color:var(--road-grey-900);--max-height:auto;--z-index:10;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;justify-content:flex-start;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--color);visibility:hidden !important;opacity:0;transition:opacity 0.15s linear, visibility 0.15s}.drawer-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay)}.drawer-dialog{position:relative;width:100%;pointer-events:none;transition:transform 0.3s ease-out;transform:translateX(-100%)}:host(.drawer-right){justify-content:flex-end}:host(.drawer-right) .drawer-dialog{transform:translateX(100%)}:host(.drawer-bottom){align-items:flex-end}:host(.drawer-bottom) .drawer-dialog{width:100%;max-height:var(--max-height);transform:translateY(100%)}:host(.drawer-bottom) .drawer-content{height:auto}.drawer-content{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;pointer-events:auto;background-color:var(--background);background-clip:padding-box;box-shadow:0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)}.drawer-header{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;height:3.5rem;color:var(--header-color);background:var(--header-background);border-color:var(--road-grey-300);border-style:solid;border-width:var(--header-delimiter)}.drawer-header road-icon{flex-shrink:0;color:var(--header-icon)}.drawer-header-inverse{--header-icon:var(--road-primary-contrast);--header-color:var(--road-primary-contrast);--header-background:var(--road-primary-900);margin-bottom:2.5rem}.drawer-action,.drawer-close{display:flex;align-items:center;justify-content:center;height:3.5rem;padding:0.5rem;font-family:inherit;font-size:0.875rem;color:inherit;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon{color:var(--back-chevron-color)}.drawer-action~.drawer-title,.drawer-close~.drawer-title{padding-left:0}.drawer-action-left,.drawer-close-left{margin-right:auto}.drawer-title{display:flex;flex-grow:1;align-items:center;justify-content:center;height:3.5rem;padding-left:3.5rem;margin:0;font-size:1rem;font-weight:400}.drawer-body{overflow-y:auto}:host(.drawer-right) .drawer-body,:host(.drawer-left) .drawer-body{height:calc(100vh - 3.5rem)}.drawer-inner{padding:0 1rem 2.5rem}@media (min-width: 768px){.drawer-inner{padding:0 2rem 2.5rem}}:host(.drawer-open){visibility:visible !important;opacity:1}:host(.drawer-open) .drawer-dialog{transform:none}:host{--background:var(--road-grey-999);--color:var(--road-grey-000);--header-icon:var(--road-grey-000)}";
234
+
235
+ const drawerLightCss = ":host{--background:var(--road-grey-000);--color:var(--road-grey-900);--header-icon:var(--road-grey-900);--header-color:var(--road-grey-900);--header-background:var(--road-grey-000);--header-delimiter:0;--back-chevron-color:var(--road-grey-900);--max-height:auto;--z-index:10;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;justify-content:flex-start;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--color);visibility:hidden !important;opacity:0;transition:opacity 0.15s linear, visibility 0.15s}.drawer-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay)}.drawer-dialog{position:relative;width:100%;pointer-events:none;transition:transform 0.3s ease-out;transform:translateX(-100%)}:host(.drawer-right){justify-content:flex-end}:host(.drawer-right) .drawer-dialog{transform:translateX(100%)}:host(.drawer-bottom){align-items:flex-end}:host(.drawer-bottom) .drawer-dialog{width:100%;max-height:var(--max-height);transform:translateY(100%)}:host(.drawer-bottom) .drawer-content{height:auto}.drawer-content{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;pointer-events:auto;background-color:var(--background);background-clip:padding-box;box-shadow:0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)}.drawer-header{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;height:3.5rem;color:var(--header-color);background:var(--header-background);border-color:var(--road-grey-300);border-style:solid;border-width:var(--header-delimiter)}.drawer-header road-icon{flex-shrink:0;color:var(--header-icon)}.drawer-header-inverse{--header-icon:var(--road-primary-contrast);--header-color:var(--road-primary-contrast);--header-background:var(--road-primary-900);margin-bottom:2.5rem}.drawer-action,.drawer-close{display:flex;align-items:center;justify-content:center;height:3.5rem;padding:0.5rem;font-family:inherit;font-size:0.875rem;color:inherit;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon{color:var(--back-chevron-color)}.drawer-action~.drawer-title,.drawer-close~.drawer-title{padding-left:0}.drawer-action-left,.drawer-close-left{margin-right:auto}.drawer-title{display:flex;flex-grow:1;align-items:center;justify-content:center;height:3.5rem;padding-left:3.5rem;margin:0;font-size:1rem;font-weight:400}.drawer-body{overflow-y:auto}:host(.drawer-right) .drawer-body,:host(.drawer-left) .drawer-body{height:calc(100vh - 3.5rem)}.drawer-inner{padding:0 1rem 2.5rem}@media (min-width: 768px){.drawer-inner{padding:0 2rem 2.5rem}}:host(.drawer-open){visibility:visible !important;opacity:1}:host(.drawer-open) .drawer-dialog{transform:none}";
236
+
237
+ const Drawer = class {
238
+ constructor(hostRef) {
239
+ registerInstance(this, hostRef);
240
+ this.onOpen = createEvent(this, "open", 7);
241
+ this.onClose = createEvent(this, "close", 7);
242
+ this.onBack = createEvent(this, "back", 7);
243
+ /**
244
+ * Set isOpen property to true to open the drawer
245
+ */
246
+ this.isOpen = false;
247
+ /**
248
+ * position of the drawer. e.g. left, right, bottom
249
+ */
250
+ this.position = 'left';
251
+ /**
252
+ * Width of the drawer
253
+ */
254
+ this.drawerWidth = 480;
255
+ /**
256
+ * Inverse header colors
257
+ */
258
+ this.hasInverseHeader = false;
259
+ /**
260
+ * Show / hide back icon
261
+ */
262
+ this.hasBackIcon = false;
263
+ /**
264
+ * Show / hide close icon
265
+ */
266
+ this.hasCloseIcon = true;
267
+ /**
268
+ * Close the dialog when clicking on the cross or layer
269
+ */
270
+ this.onClick = (ev) => {
271
+ ev.stopPropagation();
272
+ ev.preventDefault();
273
+ this.close();
274
+ };
275
+ /**
276
+ * Close the dialog when clicking on the cross or layer
277
+ */
278
+ this.onClickBack = (event) => {
279
+ event.stopPropagation();
280
+ event.preventDefault();
281
+ this.back();
282
+ };
283
+ }
284
+ /**
285
+ * Open the drawer
286
+ */
287
+ async open() {
288
+ this.isOpen = true;
289
+ }
290
+ /**
291
+ * Close the drawer
292
+ */
293
+ async close() {
294
+ this.isOpen = false;
295
+ }
296
+ /**
297
+ * Return to previous state of the drawer content
298
+ */
299
+ async back() {
300
+ this.onBack.emit();
301
+ }
302
+ handleOpen(openValue) {
303
+ if (openValue === true) {
304
+ this.onOpen.emit();
305
+ }
306
+ else {
307
+ this.el.addEventListener('transitionend', () => {
308
+ this.onClose.emit();
309
+ this.el.shadowRoot && (this.el.shadowRoot.querySelector('.drawer-body').scrollTop = 0);
310
+ }, { once: true });
311
+ }
312
+ }
313
+ /**
314
+ * Close the dialog when press Escape key
315
+ */
316
+ onEscape(event) {
317
+ if (event.key === 'Escape' || event.key === "Esc") {
318
+ this.close();
319
+ }
320
+ }
321
+ /**
322
+ * Call close function when clicking an element with data-dismiss="modal" attribute
323
+ */
324
+ componentDidLoad() {
325
+ this.el.querySelectorAll('[data-dismiss="modal"]').forEach(item => {
326
+ item.addEventListener('click', () => this.close());
327
+ });
328
+ }
329
+ render() {
330
+ const drawerIsOpenClass = this.isOpen ? 'drawer-open' : '';
331
+ const inverseHeaderClass = this.hasInverseHeader ? 'drawer-header-inverse' : '';
332
+ const drawerDelimiterClass = this.drawerTitle !== undefined && !this.hasInverseHeader ? 'drawer-delimiter' : '';
333
+ const backIconElement = this.hasBackIcon ? h("button", { type: "button", class: "drawer-action", "aria-label": "Back", onClick: this.onClickBack }, h("road-icon", { icon: navigationChevron, rotate: "180" }), this.backText) : '';
334
+ const closeIconElement = this.hasCloseIcon ? h("button", { type: "button", class: "drawer-close", onClick: this.onClick, "aria-label": "Close" }, h("road-icon", { icon: navigationClose, "aria-hidden": "true" })) : '';
335
+ const drawerWidthValue = this.position === 'bottom' ? '100%' : this.drawerWidth + 'px';
336
+ return (h(Host, { class: `drawer ${drawerIsOpenClass} drawer-${this.position}`, tabindex: "-1", role: "dialog" }, h("div", { class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), h("div", { class: "drawer-dialog", style: { maxWidth: `${drawerWidthValue}` }, role: "document", tabindex: "0" }, h("div", { class: "drawer-content" }, h("header", { class: `drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}` }, backIconElement, this.drawerTitle !== undefined ? h("h2", { class: "drawer-title" }, this.drawerTitle) : h("div", { class: "drawer-title" }, h("slot", { name: "title" })), closeIconElement), h("div", { class: "drawer-body" }, h("slot", null))))));
337
+ }
338
+ get el() { return getElement(this); }
339
+ static get watchers() { return {
340
+ "isOpen": ["handleOpen"]
341
+ }; }
342
+ };
343
+ Drawer.style = {
344
+ dark: drawerDarkCss,
345
+ light: drawerLightCss
346
+ };
347
+
348
+ const gridCss = ":host{box-sizing:border-box;display:block;width:100%;padding-right:8px;padding-left:8px;margin-right:auto;margin-left:auto}@media (min-width: 768px){:host{padding-right:24px;padding-left:24px}}";
349
+
350
+ const Grid = class {
351
+ constructor(hostRef) {
352
+ registerInstance(this, hostRef);
353
+ }
354
+ render() {
355
+ return (h("slot", null));
356
+ }
357
+ };
358
+ Grid.style = gridCss;
359
+
360
+ const validateContent = (svgContent) => {
361
+ const div = document.createElement('div');
362
+ div.innerHTML = svgContent;
363
+ // setup this way to ensure it works on our buddy IE
364
+ for (let i = div.childNodes.length - 1; i >= 0; i--) {
365
+ if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {
366
+ div.removeChild(div.childNodes[i]);
367
+ }
368
+ }
369
+ // must only have 1 root element
370
+ const svgElm = div.firstElementChild;
371
+ if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {
372
+ const svgClass = svgElm.getAttribute('class') || '';
373
+ svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());
374
+ // root element must be an svg
375
+ // lets double check we've got valid elements
376
+ // do not allow scripts
377
+ if (isValid(svgElm)) {
378
+ return div.innerHTML;
379
+ }
380
+ }
381
+ return '';
382
+ };
383
+ const isValid = (elm) => {
384
+ if (elm.nodeType === 1) {
385
+ if (elm.nodeName.toLowerCase() === 'script') {
386
+ return false;
387
+ }
388
+ for (let i = 0; i < elm.attributes.length; i++) {
389
+ const val = elm.attributes[i].value;
390
+ if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {
391
+ return false;
392
+ }
393
+ }
394
+ for (let i = 0; i < elm.childNodes.length; i++) {
395
+ if (!isValid(elm.childNodes[i])) {
396
+ return false;
397
+ }
398
+ }
399
+ }
400
+ return true;
401
+ };
402
+
403
+ const roadiconContent = new Map();
404
+ const requests = new Map();
405
+ const getSvgContent = (url, sanitize) => {
406
+ // see if we already have a request for this url
407
+ let req = requests.get(url);
408
+ if (!req) {
409
+ if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {
410
+ // we don't already have a request
411
+ // @ts-ignore
412
+ req = fetch(url).then((rsp) => {
413
+ if (rsp.ok) {
414
+ return rsp.text().then((svgContent) => {
415
+ if (svgContent && sanitize !== false) {
416
+ svgContent = validateContent(svgContent);
417
+ }
418
+ roadiconContent.set(url, svgContent || '');
419
+ });
420
+ }
421
+ roadiconContent.set(url, '');
422
+ });
423
+ // cache for the same requests
424
+ requests.set(url, req);
425
+ }
426
+ else {
427
+ // set to empty for ssr scenarios and resolve promise
428
+ roadiconContent.set(url, '');
429
+ return Promise.resolve();
430
+ }
431
+ }
432
+ return req;
433
+ };
434
+
435
+ const iconCss = ":host{box-sizing:content-box;display:inline-block;color:var(--road-grey-900);transition:fill 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;fill:currentColor;contain:strict}:host svg{display:block;width:100%;height:100%}:host(.icon-sm){width:1.25rem;height:1.25rem}:host(.icon-md){width:1.5rem;height:1.5rem}:host(.icon-lg){width:2rem;height:2rem}:host(.icon-3x){width:3rem;height:3rem}:host(.icon-4x){width:4rem;height:4rem}:host(.icon-primary){color:var(--road-primary-900)}:host(.icon-secondary){color:var(--road-primary-500)}:host(.icon-accent){color:var(--road-secondary-500)}:host(.icon-info){color:var(--road-info-default)}:host(.icon-success){color:var(--road-success-default)}:host(.icon-warning){color:var(--road-warning-default)}:host(.icon-danger){color:var(--road-danger-default)}:host(.icon-default){color:var(--road-grey-900)}:host(.icon-white){color:var(--road-grey-000)}:host(.icon-rotate-90){transform:rotate(90deg)}:host(.icon-rotate-180){transform:rotate(180deg)}:host(.icon-rotate-270){transform:rotate(270deg)}";
436
+
437
+ const Icon = class {
438
+ constructor(hostRef) {
439
+ registerInstance(this, hostRef);
440
+ this.isVisible = false;
441
+ /**
442
+ * The size of the icon.
443
+ * Available options are: `"sm"`, `"md"`, `"lg"`, `"3x"` and `"4x"`.
444
+ */
445
+ this.size = "lg";
446
+ /**
447
+ * If enabled, road-icon will be loaded lazily when it's visible in the viewport.
448
+ * Default, `false`.
449
+ */
450
+ this.lazy = false;
451
+ /**
452
+ * When set to `false`, SVG content that is HTTP fetched will not be checked
453
+ * if the response SVG content has any `<script>` elements, or any attributes
454
+ * that start with `on`, such as `onclick`.
455
+ */
456
+ this.sanitize = true;
457
+ }
458
+ componentWillLoad() {
459
+ this.waitUntilVisible(this.el, '50px', () => {
460
+ this.isVisible = true;
461
+ this.loadIcon();
462
+ });
463
+ }
464
+ disconnectedCallback() {
465
+ if (this.io) {
466
+ this.io.disconnect();
467
+ this.io = undefined;
468
+ }
469
+ }
470
+ waitUntilVisible(el, rootMargin, cb) {
471
+ if (this.lazy && window.IntersectionObserver) {
472
+ const io = this.io = new window.IntersectionObserver((data) => {
473
+ if (data[0].isIntersecting) {
474
+ io.disconnect();
475
+ this.io = undefined;
476
+ cb();
477
+ }
478
+ }, { rootMargin });
479
+ io.observe(el);
480
+ }
481
+ else {
482
+ // browser doesn't support IntersectionObserver
483
+ // so just fallback to always show it
484
+ cb();
485
+ }
486
+ }
487
+ loadIcon() {
488
+ if (this.isVisible) {
489
+ const url = getUrl(this);
490
+ if (url) {
491
+ if (roadiconContent.has(url)) {
492
+ // sync if it's already loaded
493
+ this.svgContent = roadiconContent.get(url);
494
+ }
495
+ else {
496
+ // async if it hasn't been loaded
497
+ getSvgContent(url, this.sanitize).then(() => (this.svgContent = roadiconContent.get(url)));
498
+ }
499
+ }
500
+ }
501
+ if (!this.ariaLabel && this.ariaHidden !== 'true') {
502
+ const label = getName(this.name, this.icon);
503
+ // user did not provide a label
504
+ // come up with the label based on the icon name
505
+ if (label) {
506
+ this.ariaLabel = label.replace(/-/g, ' ');
507
+ }
508
+ }
509
+ }
510
+ render() {
511
+ const colorClass = this.color !== undefined ? `icon-${this.color}` : '';
512
+ const sizeClass = this.size !== undefined ? `icon-${this.size}` : '';
513
+ const rotateClass = this.rotate !== undefined ? `icon-rotate-${this.rotate}` : '';
514
+ return (h(Host, { class: `${colorClass} ${sizeClass} ${rotateClass}`, "aria-hidden": "true" }, ((this.svgContent !== '')
515
+ ? h("div", { class: "icon-inner", innerHTML: this.svgContent })
516
+ : h("div", { class: "icon-inner" }))));
517
+ }
518
+ static get assetsDirs() { return ["svg"]; }
519
+ get el() { return getElement(this); }
520
+ static get watchers() { return {
521
+ "name": ["loadIcon"],
522
+ "src": ["loadIcon"],
523
+ "icon": ["loadIcon"]
524
+ }; }
525
+ };
526
+ Icon.style = iconCss;
527
+
528
+ const inputCss = ".sc-road-input-h{--height:3rem;--border-radius:0.25rem;--input-text-align:left;--margin-bottom:1rem;position:relative;display:block;margin-bottom:var(--margin-bottom);font-family:var(--road-font, sans-serif);color:var(--road-grey-900)}.form-control.sc-road-input{box-sizing:border-box;display:block;width:100%;height:var(--height);padding:0.75rem 1rem 0;margin:0;font-size:1rem;color:var(--road-grey-900);text-align:var(--input-text-align);background:var(--road-grey-000);border:1px solid var(--road-grey-500);border-radius:var(--border-radius);box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-control[type=\"number\"].sc-road-input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.form-control.sc-road-input::-webkit-calendar-picker-indicator{margin-top:-0.75rem}.form-control.sc-road-input::-webkit-date-and-time-value{padding-top:0.625rem}.form-control.sc-road-input::placeholder{color:var(--road-grey-500);opacity:1}@media (hover: hover){.form-control.sc-road-input:not(:disabled):hover{border-color:var(--road-primary-700)}}.form-control.sc-road-input:focus~.form-label.sc-road-input,.form-control[required].sc-road-input:valid~.form-label.sc-road-input,.form-control.has-value.sc-road-input~.form-label.sc-road-input,.form-control[type=\"date\"].sc-road-input~.form-label.sc-road-input,.form-control[type=\"time\"].sc-road-input~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-input:placeholder-shown~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-input:-ms-input-placeholder~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-input:not(:disabled):focus{border-color:var(--road-primary-700);outline:0}.form-control.sc-road-input:disabled,.form-control[readonly].sc-road-input{cursor:not-allowed;background:var(--road-grey-200);opacity:1}.form-label.sc-road-input{position:absolute;top:0.75rem;left:1rem;display:block;font-size:1rem;line-height:1.5;color:var(--road-grey-500);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.form-control.sc-road-input:required~.form-label.sc-road-input::after{color:var(--road-danger-default);content:\" *\"}.less-label.sc-road-input{padding-top:0}.input-xl.sc-road-input-h{--height:3.5rem}.input-xl.sc-road-input-h .form-control.sc-road-input{padding:1rem 1rem 0}.phone-number.sc-road-input-h .form-control.sc-road-input{padding-left:2rem}.phone-number.sc-road-input-h .form-label.sc-road-input{left:2rem}.input-xl.sc-road-input-h .form-label.sc-road-input{top:1rem}.input-xl.sc-road-input-h .form-control.sc-road-input:focus~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control[required].sc-road-input:valid~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control.has-value.sc-road-input~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control[type=\"date\"].sc-road-input~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control[type=\"time\"].sc-road-input~.form-label.sc-road-input{transform:scale(0.75) translateY(-0.625rem)}.input-xl.sc-road-input-h .form-control.sc-road-input:placeholder-shown~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.invalid-feedback.sc-road-input{display:none;width:100%;margin-top:0.5rem;font-size:0.75rem;color:var(--road-danger-text)}.form-control.is-invalid.sc-road-input,.was-validated.sc-road-input .form-control.sc-road-input:invalid{border-color:var(--road-danger-default)}.form-control.is-invalid.sc-road-input~.invalid-feedback.sc-road-input,.was-validated.sc-road-input .form-control.sc-road-input:invalid~.invalid-feedback.sc-road-input{display:block}.helper.sc-road-input{margin-top:0.5rem;font-size:0.875rem;color:var(--road-grey-500)}.form-control[type=\"password\"].sc-road-input~.checklist-password.sc-road-input .invalid.sc-road-input{color:var(--road-grey-500)}";
529
+
530
+ const debounceEvent = (event, wait) => {
531
+ const original = event._original || event;
532
+ return {
533
+ _original: event,
534
+ emit: debounce(original.emit.bind(original), wait),
535
+ };
536
+ };
537
+ const debounce = (func, wait = 0) => {
538
+ let timer;
539
+ return (...args) => {
540
+ clearTimeout(timer);
541
+ timer = setTimeout(func, wait, ...args);
542
+ };
543
+ };
544
+ const Input = class {
545
+ constructor(hostRef) {
546
+ registerInstance(this, hostRef);
547
+ this.roadinput = createEvent(this, "roadinput", 7);
548
+ this.roadInput = createEvent(this, "roadInput", 7);
549
+ this.roadchange = createEvent(this, "roadchange", 7);
550
+ this.roadChange = createEvent(this, "roadChange", 7);
551
+ this.roadblur = createEvent(this, "roadblur", 7);
552
+ this.roadBlur = createEvent(this, "roadBlur", 7);
553
+ this.roadfocus = createEvent(this, "roadfocus", 7);
554
+ this.roadFocus = createEvent(this, "roadFocus", 7);
555
+ /**
556
+ * The id of input
557
+ */
558
+ this.inputId = `road-input-${inputIds++}`;
559
+ /**
560
+ * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
561
+ */
562
+ this.autocapitalize = 'off';
563
+ /**
564
+ * Indicates whether the value of the control can be automatically completed by the browser.
565
+ */
566
+ this.autocomplete = 'off';
567
+ /**
568
+ * Whether auto correction should be enabled when the user is entering/editing the text value.
569
+ */
570
+ this.autocorrect = 'off';
571
+ /**
572
+ * This Boolean attribute lets you specify that a form control should have input focus when the page loads.
573
+ */
574
+ this.autofocus = false;
575
+ /**
576
+ * If `true`, the user cannot interact with the input.
577
+ */
578
+ this.disabled = false;
579
+ /**
580
+ * The name of the control, which is submitted with the form data.
581
+ */
582
+ this.name = this.inputId;
583
+ /**
584
+ * If `true`, the user cannot modify the value.
585
+ */
586
+ this.readonly = false;
587
+ /**
588
+ * If `true`, the user must fill in a value before submitting a form.
589
+ */
590
+ this.required = false;
591
+ /**
592
+ * If `true`, the element will have its spelling and grammar checked.
593
+ */
594
+ this.spellcheck = false;
595
+ /**
596
+ * The sizes of the input.
597
+ */
598
+ this.sizes = 'lg';
599
+ /**
600
+ * The type of control to display. The default type is text.
601
+ */
602
+ this.type = 'text';
603
+ /**
604
+ * The value of the input.
605
+ */
606
+ this.value = '';
607
+ /**
608
+ * Label for the field
609
+ */
610
+ this.label = '';
611
+ /**
612
+ * Set the amount of time, in milliseconds, to wait to trigger the `roadChange` event after each keystroke.
613
+ */
614
+ this.debounce = 0;
615
+ this.onInput = (ev) => {
616
+ const input = ev.target;
617
+ if (input) {
618
+ this.value = input.value || "";
619
+ }
620
+ this.roadinput.emit(ev);
621
+ this.roadInput.emit(ev);
622
+ };
623
+ this.onBlur = () => {
624
+ this.roadblur.emit();
625
+ this.roadBlur.emit();
626
+ };
627
+ this.onFocus = () => {
628
+ this.roadfocus.emit();
629
+ this.roadFocus.emit();
630
+ };
631
+ }
632
+ debounceChanged() {
633
+ this.roadchange = debounceEvent(this.roadchange, this.debounce);
634
+ this.roadChange = debounceEvent(this.roadChange, this.debounce);
635
+ }
636
+ /**
637
+ * Update the native input element when the value changes
638
+ */
639
+ valueChanged() {
640
+ this.roadchange.emit({ value: this.value == null ? this.value : this.value.toString() });
641
+ this.roadChange.emit({ value: this.value == null ? this.value : this.value.toString() });
642
+ }
643
+ getValue() {
644
+ return typeof this.value === 'number'
645
+ ? this.value.toString()
646
+ : (this.value || '').toString();
647
+ }
648
+ render() {
649
+ const value = this.getValue();
650
+ const labelId = this.inputId + '-label';
651
+ const hasValueClass = this.value !== '' ? 'has-value' : '';
652
+ const lessLabelClass = this.label !== '' ? '' : 'less-label';
653
+ const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
654
+ return (h(Host, { "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("input", { class: `form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`, id: this.inputId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, enterKeyHint: this.enterkeyhint, autoFocus: this.autofocus, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }), h("label", { class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && h("p", { class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { class: "helper" }, this.helper), this.type && this.type == 'password' &&
655
+ h("slot", { name: "checklistPassword" })));
656
+ }
657
+ static get watchers() { return {
658
+ "debounce": ["debounceChanged"],
659
+ "value": ["valueChanged"]
660
+ }; }
661
+ };
662
+ let inputIds = 0;
663
+ Input.style = inputCss;
664
+
665
+ const inputGroupCss = ":host{display:block}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%;font-family:var(--road-font, sans-serif)}::slotted(road-input),::slotted(input),::slotted(textarea),::slotted(road-select){position:relative;flex:1 1 auto;width:1%;margin-bottom:0}::slotted([slot=\"prepend\"]){margin-right:-3px;border-color:var(--road-grey-500);border-right-color:transparent;border-top-right-radius:0;border-bottom-right-radius:0}::slotted([slot=\"append\"]){margin-left:-0.25rem;border-color:var(--road-grey-500);border-left-width:0}@media (hover: hover){.input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]){border-color:var(--road-primary-700);border-right-color:transparent}.input-group:not(.is-disabled):hover ::slotted([slot=\"append\"]){border-color:var(--road-primary-700);border-left-color:transparent}:host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]){border-color:var(--road-primary-700)}}.input-group:focus-within ::slotted([slot=\"prepend\"]){border-color:var(--road-primary-700);border-right-color:transparent}:host(.phone-number-group) .input-group:focus-within ::slotted([slot=\"prepend\"]){border-color:var(--road-primary-700);border-right-color:transparent}.input-group:focus-within ::slotted([slot=\"append\"]){border-color:var(--road-primary-700);border-left-color:transparent}.input-group-prepend,.input-group-append{display:flex;height:3rem}::slotted(road-button){--padding-start:0.5rem;--padding-end:0.5rem;position:relative;z-index:2;min-width:3rem;margin:0;font-size:0.875rem}.input-group-prepend{z-index:1;order:-1}.input-group-prepend~.form-label{left:calc(3rem + 1px)}.input-group-append{position:relative;z-index:1;border-radius:0 0.25rem 0.25rem 0}::slotted(label){display:flex;align-items:center;padding:0 0.5rem;margin-bottom:0;color:var(--road-grey-900);text-align:center;white-space:nowrap;cursor:text;background:var(--road-grey-000);border:1px solid var(--road-grey-500);border-radius:0.25rem;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}::slotted(road-input:not(:first-child)),::slotted(road-select:not(:first-child)){border-radius:0}.input-group-append ::slotted([slot=\"append\"]){border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.input-group-prepend ::slotted([slot=\"prepend\"]){border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}:host(.phone-number-group) .input-group-prepend ::slotted([slot=\"prepend\"]){border-right:1px solid var(--road-grey-500);border-top-right-radius:0;border-bottom-right-radius:0}.input-group-prepend ::slotted(label){margin-right:calc(-1rem + 1px)}.input-group-append ::slotted(road-button){background-color:var(--road-grey-000)}.size-xl .input-group-prepend,.size-xl .input-group-append{height:3.5rem}.size-xl ::slotted(road-button){height:3.5rem}.input-group.is-invalid ::slotted([slot=\"append\"]),.input-group.is-invalid ::slotted([slot=\"prepend\"]){border-color:var(--road-danger-default)}:host(.phone-number-group) .input-group.is-invalid ::slotted([slot=\"prepend\"]){border-color:var(--road-danger-default)}.input-group.is-disabled ::slotted([slot=\"append\"]),.input-group.is-disabled ::slotted([slot=\"prepend\"]){cursor:not-allowed;background:var(--road-grey-200)}.is-disabled ::slotted(road-button){opacity:1}";
666
+
667
+ const InputGroup = class {
668
+ constructor(hostRef) {
669
+ registerInstance(this, hostRef);
670
+ }
671
+ componentDidLoad() {
672
+ var _a;
673
+ if (this.el.querySelector("road-input[disabled]")) {
674
+ (_a = this.el.querySelector("road-button")) === null || _a === void 0 ? void 0 : _a.setAttribute('disabled', "");
675
+ }
676
+ }
677
+ render() {
678
+ const errorClass = this.el.querySelector("road-input[error]") ? 'is-invalid' : '';
679
+ const disabledClass = this.el.querySelector("road-input[disabled]") ? 'is-disabled' : '';
680
+ const sizeClass = this.el.querySelector("road-input[sizes]") ? `size-${this.el.querySelector("road-input").sizes}` : '';
681
+ return (h("div", { class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, h("slot", null), h("div", { class: "input-group-prepend" }, h("slot", { name: "prepend" })), h("div", { class: "input-group-append" }, h("slot", { name: "append" }))));
682
+ }
683
+ get el() { return getElement(this); }
684
+ };
685
+ InputGroup.style = inputGroupCss;
686
+
687
+ const itemCss = ":host{--border-radius:0.25rem;--background-color:transparent;--detail-color:var(--road-grey-900);--inner-padding:1rem 0.5rem 1rem 0;--min-height:3.5rem;--padding-left:1rem;position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;overflow:hidden;text-decoration:none;outline:none}.item-native{position:relative;z-index:1;box-sizing:border-box;display:flex;align-items:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);padding:0 0 0 var(--padding-left);margin:0;overflow:inherit;font-family:inherit;font-size:inherit;color:var(--road-grey-900);background-color:var(--background-color);border-color:var(--road-grey-300);border-style:solid;border-width:var(--border-width, 0);border-radius:var(--border-radius);outline:none;transition:background 0.15s ease-in-out;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.item-active{background-color:var(--road-grey-100)}button.item-native:not(:disabled):not(.item-active):hover,button.item-native:not(:disabled):not(.item-active):focus{background-color:var(--road-grey-100)}.item-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{position:relative;box-sizing:border-box;display:flex;flex:1;flex-direction:inherit;align-items:center;align-self:stretch;width:100%;min-height:inherit;padding:var(--inner-padding);overflow:inherit;text-align:inherit;text-decoration:none;border-color:var(--road-grey-300);border-style:solid;border-width:var(--inner-border-width, 0);outline:0}.input-wrapper{box-sizing:border-box;display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;overflow:inherit;text-overflow:ellipsis}.item-detail-icon{color:var(--detail-color)}::slotted(road-icon){flex-shrink:0;margin-right:0.5rem}::slotted(road-img){flex-shrink:0;width:3rem;height:3rem;object-fit:cover;min-height:inherit;margin-right:1rem}::slotted(road-button){--padding-start:0.5rem;--padding-end:0.5rem;--margin-bottom:0}:host(.item-lines-none){--border-width:0 !important;--inner-border-width:0 !important}:host(.item-lines-full){--border-width:0 0 1px 0 !important;--inner-border-width:0 !important}:host(.item-lines-inset){--inner-border-width:0 0 1px 0 !important}";
688
+
689
+ const Item = class {
690
+ constructor(hostRef) {
691
+ registerInstance(this, hostRef);
692
+ this.multipleInputs = false;
693
+ /**
694
+ * If `true`, a button tag will be rendered and the item will be tappable.
695
+ */
696
+ this.button = false;
697
+ /**
698
+ * The icon to use when `detail` is set to `true`.
699
+ */
700
+ this.detailIcon = navigationChevron;
701
+ /**
702
+ * If `true`, the user cannot interact with the item.
703
+ */
704
+ this.disabled = false;
705
+ /**
706
+ * The type of the button. Only used when an `onclick` or `button` property is present.
707
+ */
708
+ this.type = 'button';
709
+ }
710
+ // If the item has an href or button property it will render a native
711
+ // anchor or button that is clickable
712
+ isClickable() {
713
+ return (this.href !== undefined || this.button);
714
+ }
715
+ render() {
716
+ const { detail, detailIcon, download, lines, disabled, href, rel, target } = this;
717
+ const clickable = this.isClickable();
718
+ const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
719
+ const attrs = (TagType === 'button')
720
+ ? { type: this.type }
721
+ : {
722
+ download,
723
+ href,
724
+ rel,
725
+ target,
726
+ };
727
+ const showDetail = detail !== undefined && detail;
728
+ return (h(Host, { "aria-disabled": disabled ? 'true' : null, class: {
729
+ [`item-lines-${lines}`]: lines !== undefined,
730
+ } }, h(TagType, Object.assign({}, attrs, { class: {
731
+ 'item-native': true,
732
+ 'item-active': this.active,
733
+ }, part: "native", disabled: disabled }), h("slot", { name: "start" }), h("div", { class: "item-inner" }, h("div", { class: "input-wrapper" }, h("slot", null)), h("slot", { name: "end" }), showDetail && h("road-icon", { icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
734
+ }
735
+ get el() { return getElement(this); }
736
+ };
737
+ Item.style = itemCss;
738
+
739
+ const labelCss = ":host{box-sizing:border-box;display:block;overflow:hidden;font-size:0.875rem;color:currentColor;text-overflow:ellipsis;white-space:nowrap}";
740
+
741
+ const Label = class {
742
+ constructor(hostRef) {
743
+ registerInstance(this, hostRef);
744
+ }
745
+ render() {
746
+ return (h("slot", null));
747
+ }
748
+ };
749
+ Label.style = labelCss;
750
+
751
+ const listCss = ":host{display:block;contain:content;list-style-type:none}:host(.list-lines-none) ::slotted(road-item){--border-width:0;--inner-border-width:0}:host(.list-lines-full){border:1px solid var(--road-grey-300);border-bottom:0}:host(.list-lines-full),:host(.list-lines-full) ::slotted(road-item){--border-width:0 0 1px 0;--inner-border-width:0}:host(.item-lines-inset),:host(.list-lines-inset) ::slotted(road-item){--inner-border-width:0 0 1px 0}";
752
+
753
+ const List = class {
754
+ constructor(hostRef) {
755
+ registerInstance(this, hostRef);
756
+ }
757
+ render() {
758
+ const { lines } = this;
759
+ return (h(Host, { class: {
760
+ [`list-lines-${lines}`]: lines !== undefined,
761
+ } }, h("slot", null)));
762
+ }
763
+ };
764
+ List.style = listCss;
765
+
766
+ const rowCss = ":host{display:flex;flex-wrap:wrap;max-width:1440px;margin-right:-8px;margin-left:-8px}@media (min-width: 1440px){:host{margin-right:auto;margin-left:auto}}:host(.flex-wrap){flex-wrap:wrap}:host(.flex-nowrap){flex-wrap:nowrap}:host(.justify-content-start){justify-content:flex-start}:host(.justify-content-end){justify-content:flex-end}:host(.justify-content-center){justify-content:center}:host(.justify-content-between){justify-content:space-between}:host(.justify-content-around){justify-content:space-around}:host(.align-items-start){align-items:flex-start}:host(.align-items-end){align-items:flex-end}:host(.align-items-center){align-items:center}:host(.align-items-baseline){align-items:baseline}:host(.align-items-stretch){align-items:stretch}@media (min-width: 576px){:host(.flex-sm-wrap){flex-wrap:wrap}:host(.flex-sm-nowrap){flex-wrap:nowrap}:host(.justify-content-sm-start){justify-content:flex-start}:host(.justify-content-sm-end){justify-content:flex-end}:host(.justify-content-sm-center){justify-content:center}:host(.justify-content-sm-between){justify-content:space-between}:host(.justify-content-sm-around){justify-content:space-around}:host(.align-items-sm-start){align-items:flex-start}:host(.align-items-sm-end){align-items:flex-end}:host(.align-items-sm-center){align-items:center}:host(.align-items-sm-baseline){align-items:baseline}:host(.align-items-sm-stretch){align-items:stretch}}@media (min-width: 768px){:host(.flex-md-wrap){flex-wrap:wrap}:host(.flex-md-nowrap){flex-wrap:nowrap}:host(.justify-content-md-start){justify-content:flex-start}:host(.justify-content-md-end){justify-content:flex-end}:host(.justify-content-md-center){justify-content:center}:host(.justify-content-md-between){justify-content:space-between}:host(.justify-content-md-around){justify-content:space-around}:host(.align-items-md-start){align-items:flex-start}:host(.align-items-md-end){align-items:flex-end}:host(.align-items-md-center){align-items:center}:host(.align-items-md-baseline){align-items:baseline}:host(.align-items-md-stretch){align-items:stretch}}@media (min-width: 992px){:host(.flex-lg-wrap){flex-wrap:wrap}:host(.flex-lg-nowrap){flex-wrap:nowrap}:host(.justify-content-lg-start){justify-content:flex-start}:host(.justify-content-lg-end){justify-content:flex-end}:host(.justify-content-lg-center){justify-content:center}:host(.justify-content-lg-between){justify-content:space-between}:host(.justify-content-lg-around){justify-content:space-around}:host(.align-items-lg-start){align-items:flex-start}:host(.align-items-lg-end){align-items:flex-end}:host(.align-items-lg-center){align-items:center}:host(.align-items-lg-baseline){align-items:baseline}:host(.align-items-lg-stretch){align-items:stretch}}@media (min-width: 1200px){:host(.flex-xl-wrap){flex-wrap:wrap}:host(.flex-xl-nowrap){flex-wrap:nowrap}:host(.justify-content-xl-start){justify-content:flex-start}:host(.justify-content-xl-end){justify-content:flex-end}:host(.justify-content-xl-center){justify-content:center}:host(.justify-content-xl-between){justify-content:space-between}:host(.justify-content-xl-around){justify-content:space-around}:host(.align-items-xl-start){align-items:flex-start}:host(.align-items-xl-end){align-items:flex-end}:host(.align-items-xl-center){align-items:center}:host(.align-items-xl-baseline){align-items:baseline}:host(.align-items-xl-stretch){align-items:stretch}}:host(.align-content-start){align-content:flex-start}:host(.align-content-end){align-content:flex-end}:host(.align-content-center){align-content:center}:host(.align-content-between){align-content:space-between}:host(.align-content-around){align-content:space-around}:host(.align-content-stretch){align-content:stretch}:host(.align-self-auto){align-self:auto}:host(.align-self-start){align-self:flex-start}:host(.align-self-end){align-self:flex-end}:host(.align-self-center){align-self:center}:host(.align-self-baseline){align-self:baseline}:host(.align-self-stretch){align-self:stretch}";
767
+
768
+ const Row = class {
769
+ constructor(hostRef) {
770
+ registerInstance(this, hostRef);
771
+ }
772
+ render() {
773
+ return (h(Host, null, h("slot", null)));
774
+ }
775
+ };
776
+ Row.style = rowCss;
777
+
778
+ const toolbarCss = ":host{position:relative;box-sizing:border-box;display:block;width:100%;contain:content;color:var(--road-grey-900);background:var(--road-grey-000);border-bottom:1px solid var(--road-grey-300)}.toolbar-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:3.5rem;contain:content;overflow:hidden}.toolbar-content{flex:1 1 0%;min-width:0;max-width:100%}::slotted(road-button){--margin-bottom:0;--padding-start:0.5rem;--padding-end:0.5rem;--border-radius:1.5rem;font-size:0.875rem;font-weight:400}:host(.toolbar-primary){color:var(--road-primary-contrast);background:var(--road-primary-900)}:host(.toolbar-secondary){color:var(--road-primary-contrast);background:var(--road-primary-500)}";
779
+
780
+ const Toolbar = class {
781
+ constructor(hostRef) {
782
+ registerInstance(this, hostRef);
783
+ }
784
+ render() {
785
+ const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
786
+ return (h(Host, { class: colorClass }, h("div", { class: "toolbar-container" }, h("slot", { name: "start" }), h("slot", { name: "primary" }), h("div", { class: "toolbar-content" }, h("slot", null)), h("slot", { name: "secondary" }), h("slot", { name: "end" }))));
787
+ }
788
+ };
789
+ Toolbar.style = toolbarCss;
790
+
791
+ export { Badge as road_badge, Button as road_button, Col as road_col, Counter as road_counter, Drawer as road_drawer, Grid as road_grid, Icon as road_icon, Input as road_input, InputGroup as road_input_group, Item as road_item, Label as road_label, List as road_list, Row as road_row, Toolbar as road_toolbar };