@beeq/core 1.12.0 → 1.12.2-beta.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 (454) hide show
  1. package/dist/beeq/beeq.esm.js +44 -1
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/index.esm.js +69 -1
  4. package/dist/{components/p-Bi6ozE0v.js → beeq/p-1011ae42.entry.js} +89 -2
  5. package/dist/beeq/{p-e394c440.entry.js.map → p-1011ae42.entry.js.map} +1 -1
  6. package/dist/beeq/p-110c262d.entry.js +173 -0
  7. package/dist/beeq/{p-b4a612db.entry.js.map → p-110c262d.entry.js.map} +1 -1
  8. package/dist/beeq/p-11671252.entry.js +128 -0
  9. package/dist/beeq/{p-a7a74198.entry.js.map → p-11671252.entry.js.map} +1 -1
  10. package/dist/beeq/p-11fcb99b.entry.js +281 -0
  11. package/dist/beeq/{p-5e186220.entry.js.map → p-11fcb99b.entry.js.map} +1 -1
  12. package/dist/beeq/p-1aba3eec.entry.js +150 -0
  13. package/dist/beeq/{p-3c491238.entry.js.map → p-1aba3eec.entry.js.map} +1 -1
  14. package/dist/beeq/p-20162842.entry.js +151 -0
  15. package/dist/beeq/{p-8cd20d85.entry.js.map → p-20162842.entry.js.map} +1 -1
  16. package/dist/beeq/p-3a4c4de9.entry.js +188 -0
  17. package/dist/beeq/{p-28c6cdbc.entry.js.map → p-3a4c4de9.entry.js.map} +1 -1
  18. package/dist/beeq/p-426fd908.entry.js +215 -0
  19. package/dist/beeq/{p-8fd716b1.entry.js.map → p-426fd908.entry.js.map} +1 -1
  20. package/dist/beeq/p-47571092.entry.js +289 -0
  21. package/dist/beeq/{p-e39e3d9c.entry.js.map → p-47571092.entry.js.map} +1 -1
  22. package/dist/beeq/p-49e90223.entry.js +86 -0
  23. package/dist/beeq/{p-63f1dcd2.entry.js.map → p-49e90223.entry.js.map} +1 -1
  24. package/dist/beeq/p-4b00a155.entry.js +747 -0
  25. package/dist/beeq/{p-f477b7ac.entry.js.map → p-4b00a155.entry.js.map} +1 -1
  26. package/dist/beeq/p-54ddd09f.entry.js +392 -0
  27. package/dist/beeq/{p-59cb331c.entry.js.map → p-54ddd09f.entry.js.map} +1 -1
  28. package/dist/{components/p-BcmnHFqE.js → beeq/p-6b68123f.entry.js} +246 -2
  29. package/dist/beeq/{p-96a79f9b.entry.js.map → p-6b68123f.entry.js.map} +1 -1
  30. package/dist/beeq/p-6d708caf.entry.js +339 -0
  31. package/dist/beeq/{p-a09d8901.entry.js.map → p-6d708caf.entry.js.map} +1 -1
  32. package/dist/beeq/p-70607940.entry.js +174 -0
  33. package/dist/beeq/{p-552d3e73.entry.js.map → p-70607940.entry.js.map} +1 -1
  34. package/dist/beeq/p-72c376a9.entry.js +165 -0
  35. package/dist/beeq/{p-6cac6da2.entry.js.map → p-72c376a9.entry.js.map} +1 -1
  36. package/dist/beeq/p-78bbd845.entry.js +109 -0
  37. package/dist/beeq/{p-be1b3e87.entry.js.map → p-78bbd845.entry.js.map} +1 -1
  38. package/dist/beeq/p-8012f01d.entry.js +556 -0
  39. package/dist/beeq/{p-ecef6efa.entry.js.map → p-8012f01d.entry.js.map} +1 -1
  40. package/dist/beeq/p-8b5934a3.entry.js +158 -0
  41. package/dist/beeq/{p-c414e7c0.entry.js.map → p-8b5934a3.entry.js.map} +1 -1
  42. package/dist/beeq/p-94c2081a.entry.js +681 -0
  43. package/dist/beeq/{p-8379d440.entry.js.map → p-94c2081a.entry.js.map} +1 -1
  44. package/dist/beeq/p-95979cb0.entry.js +289 -0
  45. package/dist/beeq/{p-76d65605.entry.js.map → p-95979cb0.entry.js.map} +1 -1
  46. package/dist/beeq/p-978b2249.entry.js +196 -0
  47. package/dist/beeq/{p-22e2de76.entry.js.map → p-978b2249.entry.js.map} +1 -1
  48. package/dist/beeq/p-9a78587d.entry.js +138 -0
  49. package/dist/beeq/{p-258e890f.entry.js.map → p-9a78587d.entry.js.map} +1 -1
  50. package/dist/beeq/p-B4sM1t6Z.js +8 -1
  51. package/dist/beeq/p-BNvWMggA.js +23 -1
  52. package/dist/beeq/p-BRMw_HGf.js +8 -1
  53. package/dist/beeq/p-BRbYDZoo.js +10 -1
  54. package/dist/beeq/p-BcPwGxIn.js +9 -1
  55. package/dist/beeq/p-BsSDkLU5.js +26 -1
  56. package/dist/beeq/p-BtYhUEAn.js +9 -0
  57. package/dist/beeq/p-BtYhUEAn.js.map +1 -0
  58. package/dist/beeq/p-C33fRBEf.js +151 -1
  59. package/dist/beeq/p-CCNjsDdb.js +88 -1
  60. package/dist/beeq/p-CVw85-WU.js +64 -1
  61. package/dist/beeq/p-Cau9SvT4.js +12 -1
  62. package/dist/beeq/p-CmKvDWiL.js +1787 -0
  63. package/dist/beeq/p-CmKvDWiL.js.map +1 -0
  64. package/dist/beeq/p-CpKQ7XUL.js +284 -1
  65. package/dist/beeq/p-D0hQxkOP.js +2816 -0
  66. package/dist/beeq/p-D0hQxkOP.js.map +1 -0
  67. package/dist/beeq/p-D1A0LpG_.js +10 -1
  68. package/dist/beeq/p-DdvbF5yL.js +119 -1
  69. package/dist/beeq/p-DnkZCdMA.js +8 -1
  70. package/dist/beeq/p-Ds7rcaFH.js +65 -1
  71. package/dist/beeq/p-Dx-CEPSQ.js +13 -1
  72. package/dist/beeq/p-_RvVpeh2.js +29 -1
  73. package/dist/beeq/p-ac7cd72b.entry.js +322 -0
  74. package/dist/beeq/{p-8a5e127b.entry.js.map → p-ac7cd72b.entry.js.map} +1 -1
  75. package/dist/beeq/p-ae85a23a.entry.js +408 -0
  76. package/dist/beeq/{p-a9cc76af.entry.js.map → p-ae85a23a.entry.js.map} +1 -1
  77. package/dist/beeq/p-b0f9a0cb.entry.js +296 -0
  78. package/dist/beeq/{p-043a472a.entry.js.map → p-b0f9a0cb.entry.js.map} +1 -1
  79. package/dist/beeq/p-b194e120.entry.js +293 -0
  80. package/dist/beeq/{p-b7de07f5.entry.js.map → p-b194e120.entry.js.map} +1 -1
  81. package/dist/beeq/p-b2858324.entry.js +210 -0
  82. package/dist/beeq/{p-dfd80d40.entry.js.map → p-b2858324.entry.js.map} +1 -1
  83. package/dist/beeq/p-c34fc2c7.entry.js +351 -0
  84. package/dist/beeq/{p-039f7907.entry.js.map → p-c34fc2c7.entry.js.map} +1 -1
  85. package/dist/beeq/p-c630a8b8.entry.js +442 -0
  86. package/dist/beeq/{p-d4ffd9f1.entry.js.map → p-c630a8b8.entry.js.map} +1 -1
  87. package/dist/beeq/p-cb9b1edc.entry.js +232 -0
  88. package/dist/beeq/{p-20de0359.entry.js.map → p-cb9b1edc.entry.js.map} +1 -1
  89. package/dist/beeq/p-cc6b349e.entry.js +172 -0
  90. package/dist/beeq/{p-904e521c.entry.js.map → p-cc6b349e.entry.js.map} +1 -1
  91. package/dist/beeq/p-d0edfaa5.entry.js +388 -0
  92. package/dist/beeq/{p-90b0fef1.entry.js.map → p-d0edfaa5.entry.js.map} +1 -1
  93. package/dist/beeq/{p-be1b3e87.entry.js → p-db09cc1e.entry.js} +83 -2
  94. package/dist/beeq/{p-1b988f57.entry.js.map → p-db09cc1e.entry.js.map} +1 -1
  95. package/dist/beeq/p-f6d82c39.entry.js +206 -0
  96. package/dist/beeq/{p-52334e53.entry.js.map → p-f6d82c39.entry.js.map} +1 -1
  97. package/dist/beeq/p-f83010e9.entry.js +118 -0
  98. package/dist/beeq/{p-8e9d8445.entry.js.map → p-f83010e9.entry.js.map} +1 -1
  99. package/dist/beeq/p-f97c679f.entry.js +233 -0
  100. package/dist/beeq/{p-55b686b4.entry.js.map → p-f97c679f.entry.js.map} +1 -1
  101. package/dist/beeq/{p-63f1dcd2.entry.js → p-ff327b98.entry.js} +116 -2
  102. package/dist/beeq/{p-47404d61.entry.js.map → p-ff327b98.entry.js.map} +1 -1
  103. package/dist/beeq/p-ff73f344.entry.js +396 -0
  104. package/dist/beeq/{p-50cbee50.entry.js.map → p-ff73f344.entry.js.map} +1 -1
  105. package/dist/beeq/p-lysmVw2n.js +12 -1
  106. package/dist/beeq/p-uqkxeAeG.js +88 -1
  107. package/dist/beeq/p-zh4P02Kn.js +21 -1
  108. package/dist/beeq.html-custom-data.json +80 -80
  109. package/dist/cjs/app-globals-BY_z0SzA.js +12 -0
  110. package/dist/cjs/app-globals-BY_z0SzA.js.map +1 -0
  111. package/dist/cjs/beeq.cjs.js +3 -2
  112. package/dist/cjs/beeq.cjs.js.map +1 -1
  113. package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
  114. package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
  115. package/dist/cjs/bq-accordion.cjs.entry.js +1 -1
  116. package/dist/cjs/bq-alert.cjs.entry.js +2 -2
  117. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  118. package/dist/cjs/bq-avatar.cjs.entry.js +2 -2
  119. package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
  120. package/dist/cjs/bq-badge.cjs.entry.js +1 -1
  121. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -2
  122. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
  123. package/dist/cjs/bq-breadcrumb.cjs.entry.js +2 -2
  124. package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
  125. package/dist/cjs/bq-button_2.cjs.entry.js +2 -2
  126. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  127. package/dist/cjs/bq-card.cjs.entry.js +2 -2
  128. package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
  129. package/dist/cjs/bq-checkbox.cjs.entry.js +2 -2
  130. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
  131. package/dist/cjs/bq-date-picker.cjs.entry.js +2 -2
  132. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  133. package/dist/cjs/bq-dialog.cjs.entry.js +2 -2
  134. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
  135. package/dist/cjs/bq-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/bq-drawer.cjs.entry.js +2 -2
  137. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  138. package/dist/cjs/bq-dropdown_2.cjs.entry.js +4 -4
  139. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
  140. package/dist/cjs/bq-empty-state.cjs.entry.js +2 -2
  141. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
  142. package/dist/cjs/bq-input.cjs.entry.js +2 -2
  143. package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
  144. package/dist/cjs/bq-notification.cjs.entry.js +2 -2
  145. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  146. package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
  147. package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
  148. package/dist/cjs/bq-option-list_2.cjs.entry.js +3 -3
  149. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
  150. package/dist/cjs/bq-option.cjs.entry.js +1 -1
  151. package/dist/cjs/bq-page-title.cjs.entry.js +2 -2
  152. package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
  153. package/dist/cjs/bq-progress.cjs.entry.js +2 -2
  154. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
  155. package/dist/cjs/bq-radio-group.cjs.entry.js +1 -1
  156. package/dist/cjs/bq-radio.cjs.entry.js +1 -1
  157. package/dist/cjs/bq-select.cjs.entry.js +2 -2
  158. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  159. package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
  160. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
  161. package/dist/cjs/bq-side-menu.cjs.entry.js +1 -1
  162. package/dist/cjs/bq-slider.cjs.entry.js +1 -1
  163. package/dist/cjs/bq-spinner.cjs.entry.js +2 -2
  164. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
  165. package/dist/cjs/bq-status.cjs.entry.js +2 -2
  166. package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
  167. package/dist/cjs/bq-step-item.cjs.entry.js +2 -2
  168. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  169. package/dist/cjs/bq-steps.cjs.entry.js +1 -1
  170. package/dist/cjs/bq-switch.cjs.entry.js +2 -2
  171. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
  172. package/dist/cjs/bq-tab-group.cjs.entry.js +1 -1
  173. package/dist/cjs/bq-tab.cjs.entry.js +2 -2
  174. package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
  175. package/dist/cjs/bq-textarea.cjs.entry.js +2 -2
  176. package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
  177. package/dist/cjs/bq-toast.cjs.entry.js +2 -2
  178. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  179. package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
  180. package/dist/cjs/{index-Cnm84YLJ.js → index-BwvwUnfB.js} +21 -15
  181. package/dist/cjs/index-BwvwUnfB.js.map +1 -0
  182. package/dist/cjs/{index-D7RDSS0K.js → index-CxAIhsq5.js} +81 -75
  183. package/dist/cjs/index-CxAIhsq5.js.map +1 -0
  184. package/dist/cjs/loader.cjs.js +3 -2
  185. package/dist/cjs/loader.cjs.js.map +1 -1
  186. package/dist/collection/components/select/bq-select.js +2 -2
  187. package/dist/collection/components/select/scss/bq-select.css +1 -1
  188. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  189. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  190. package/dist/components/bq-accordion-group.js +157 -1
  191. package/dist/components/bq-accordion-group.js.map +1 -1
  192. package/dist/components/bq-accordion.js +444 -1
  193. package/dist/components/bq-accordion.js.map +1 -1
  194. package/dist/components/bq-alert.js +354 -1
  195. package/dist/components/bq-alert.js.map +1 -1
  196. package/dist/components/bq-avatar.js +206 -1
  197. package/dist/components/bq-avatar.js.map +1 -1
  198. package/dist/components/bq-badge.js +8 -1
  199. package/dist/components/bq-breadcrumb-item.js +129 -1
  200. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  201. package/dist/components/bq-breadcrumb.js +138 -1
  202. package/dist/components/bq-breadcrumb.js.map +1 -1
  203. package/dist/components/bq-button.js +8 -1
  204. package/dist/components/bq-card.js +118 -1
  205. package/dist/components/bq-card.js.map +1 -1
  206. package/dist/components/bq-checkbox.js +314 -1
  207. package/dist/components/bq-checkbox.js.map +1 -1
  208. package/dist/components/bq-date-picker.js +1113 -1
  209. package/dist/components/bq-date-picker.js.map +1 -1
  210. package/dist/components/bq-dialog.js +347 -1
  211. package/dist/components/bq-dialog.js.map +1 -1
  212. package/dist/components/bq-divider.js +8 -1
  213. package/dist/components/bq-drawer.js +356 -1
  214. package/dist/components/bq-drawer.js.map +1 -1
  215. package/dist/components/bq-dropdown.js +8 -1
  216. package/dist/components/bq-empty-state.js +192 -1
  217. package/dist/components/bq-empty-state.js.map +1 -1
  218. package/dist/components/bq-icon.js +8 -1
  219. package/dist/components/bq-input.js +502 -1
  220. package/dist/components/bq-input.js.map +1 -1
  221. package/dist/components/bq-notification.js +381 -1
  222. package/dist/components/bq-notification.js.map +1 -1
  223. package/dist/components/bq-option-group.js +104 -1
  224. package/dist/components/bq-option-group.js.map +1 -1
  225. package/dist/components/bq-option-list.js +8 -1
  226. package/dist/components/bq-option.js +200 -1
  227. package/dist/components/bq-option.js.map +1 -1
  228. package/dist/components/bq-page-title.js +150 -1
  229. package/dist/components/bq-page-title.js.map +1 -1
  230. package/dist/components/bq-panel.js +8 -1
  231. package/dist/components/bq-progress.js +220 -1
  232. package/dist/components/bq-progress.js.map +1 -1
  233. package/dist/components/bq-radio-group.js +457 -1
  234. package/dist/components/bq-radio-group.js.map +1 -1
  235. package/dist/components/bq-radio.js +219 -1
  236. package/dist/components/bq-radio.js.map +1 -1
  237. package/dist/components/bq-select.js +794 -1
  238. package/dist/components/bq-select.js.map +1 -1
  239. package/dist/components/bq-side-menu-item.js +181 -1
  240. package/dist/components/bq-side-menu-item.js.map +1 -1
  241. package/dist/components/bq-side-menu.js +200 -1
  242. package/dist/components/bq-side-menu.js.map +1 -1
  243. package/dist/components/bq-slider.js +443 -1
  244. package/dist/components/bq-slider.js.map +1 -1
  245. package/dist/components/bq-spinner.js +248 -1
  246. package/dist/components/bq-spinner.js.map +1 -1
  247. package/dist/components/bq-status.js +119 -1
  248. package/dist/components/bq-status.js.map +1 -1
  249. package/dist/components/bq-step-item.js +236 -1
  250. package/dist/components/bq-step-item.js.map +1 -1
  251. package/dist/components/bq-steps.js +175 -1
  252. package/dist/components/bq-steps.js.map +1 -1
  253. package/dist/components/bq-switch.js +330 -1
  254. package/dist/components/bq-switch.js.map +1 -1
  255. package/dist/components/bq-tab-group.js +273 -1
  256. package/dist/components/bq-tab-group.js.map +1 -1
  257. package/dist/components/bq-tab.js +248 -1
  258. package/dist/components/bq-tab.js.map +1 -1
  259. package/dist/components/bq-tag.js +8 -1
  260. package/dist/components/bq-textarea.js +393 -1
  261. package/dist/components/bq-textarea.js.map +1 -1
  262. package/dist/components/bq-toast.js +281 -1
  263. package/dist/components/bq-toast.js.map +1 -1
  264. package/dist/components/bq-tooltip.js +8 -1
  265. package/dist/components/index.js +149 -1
  266. package/dist/components/index.js.map +1 -1
  267. package/dist/components/p-B4sM1t6Z.js +8 -1
  268. package/dist/components/p-B4sM1t6Z.js.map +1 -1
  269. package/dist/components/p-BRMw_HGf.js +8 -1
  270. package/dist/components/p-BRMw_HGf.js.map +1 -1
  271. package/dist/components/p-BRbYDZoo.js +10 -1
  272. package/dist/components/p-BRbYDZoo.js.map +1 -1
  273. package/dist/components/p-BcPwGxIn.js +9 -1
  274. package/dist/components/p-BcPwGxIn.js.map +1 -1
  275. package/dist/components/p-BsSDkLU5.js +26 -1
  276. package/dist/components/p-BsSDkLU5.js.map +1 -1
  277. package/dist/{beeq/p-8cd20d85.entry.js → components/p-C8_OKNHL.js} +221 -2
  278. package/dist/components/{p-plkW8XNd.js.map → p-C8_OKNHL.js.map} +1 -1
  279. package/dist/components/p-C97BzPa8.js +177 -0
  280. package/dist/components/{p-DhVt1fuD.js.map → p-C97BzPa8.js.map} +1 -1
  281. package/dist/components/p-CMejKLsB.js +248 -0
  282. package/dist/components/{p-SKH1pCPg.js.map → p-CMejKLsB.js.map} +1 -1
  283. package/dist/components/p-CVw85-WU.js +64 -1
  284. package/dist/components/p-CVw85-WU.js.map +1 -1
  285. package/dist/{beeq/p-55b686b4.entry.js → components/p-CXLw0i9p.js} +291 -2
  286. package/dist/components/{p-BcmnHFqE.js.map → p-CXLw0i9p.js.map} +1 -1
  287. package/dist/components/p-CmKvDWiL.js +1787 -0
  288. package/dist/components/p-CmKvDWiL.js.map +1 -0
  289. package/dist/components/p-D1A0LpG_.js +10 -1
  290. package/dist/components/p-D1A0LpG_.js.map +1 -1
  291. package/dist/{beeq/p-ecef6efa.entry.js → components/p-DBPU_cIr.js} +334 -2
  292. package/dist/components/{p-yO5LAmkd.js.map → p-DBPU_cIr.js.map} +1 -1
  293. package/dist/components/p-DDCN9O42.js +2669 -0
  294. package/dist/components/p-DDCN9O42.js.map +1 -0
  295. package/dist/components/p-DHhUeR-_.js +377 -0
  296. package/dist/components/{p-qVvRSuP7.js.map → p-DHhUeR-_.js.map} +1 -1
  297. package/dist/components/p-DSqLegVR.js +100 -0
  298. package/dist/components/{p-C6pBQ61U.js.map → p-DSqLegVR.js.map} +1 -1
  299. package/dist/components/p-DdvbF5yL.js +119 -1
  300. package/dist/components/p-DdvbF5yL.js.map +1 -1
  301. package/dist/components/p-DnkZCdMA.js +8 -1
  302. package/dist/components/p-DnkZCdMA.js.map +1 -1
  303. package/dist/components/p-Dx-CEPSQ.js +13 -1
  304. package/dist/components/p-Dx-CEPSQ.js.map +1 -1
  305. package/dist/{beeq/p-96a79f9b.entry.js → components/p-YyF6_fWE.js} +381 -2
  306. package/dist/components/{p-Bi6ozE0v.js.map → p-YyF6_fWE.js.map} +1 -1
  307. package/dist/components/p-_RvVpeh2.js +29 -1
  308. package/dist/components/p-_RvVpeh2.js.map +1 -1
  309. package/dist/components/p-lysmVw2n.js +12 -1
  310. package/dist/components/p-lysmVw2n.js.map +1 -1
  311. package/dist/components/p-qOL6hl5s.js +298 -0
  312. package/dist/components/{p-B93kqFqH.js.map → p-qOL6hl5s.js.map} +1 -1
  313. package/dist/components/p-uqkxeAeG.js +88 -1
  314. package/dist/components/p-uqkxeAeG.js.map +1 -1
  315. package/dist/components/p-zh4P02Kn.js +21 -1
  316. package/dist/components/p-zh4P02Kn.js.map +1 -1
  317. package/dist/custom-elements.json +1514 -1514
  318. package/dist/esm/app-globals-BtYhUEAn.js +10 -0
  319. package/dist/esm/app-globals-BtYhUEAn.js.map +1 -0
  320. package/dist/esm/beeq.js +3 -2
  321. package/dist/esm/beeq.js.map +1 -1
  322. package/dist/esm/bq-accordion-group.entry.js +2 -2
  323. package/dist/esm/bq-accordion-group.entry.js.map +1 -1
  324. package/dist/esm/bq-accordion.entry.js +1 -1
  325. package/dist/esm/bq-alert.entry.js +2 -2
  326. package/dist/esm/bq-alert.entry.js.map +1 -1
  327. package/dist/esm/bq-avatar.entry.js +2 -2
  328. package/dist/esm/bq-avatar.entry.js.map +1 -1
  329. package/dist/esm/bq-badge.entry.js +1 -1
  330. package/dist/esm/bq-breadcrumb-item.entry.js +2 -2
  331. package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
  332. package/dist/esm/bq-breadcrumb.entry.js +2 -2
  333. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  334. package/dist/esm/bq-button_2.entry.js +2 -2
  335. package/dist/esm/bq-button_2.entry.js.map +1 -1
  336. package/dist/esm/bq-card.entry.js +2 -2
  337. package/dist/esm/bq-card.entry.js.map +1 -1
  338. package/dist/esm/bq-checkbox.entry.js +2 -2
  339. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  340. package/dist/esm/bq-date-picker.entry.js +2 -2
  341. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  342. package/dist/esm/bq-dialog.entry.js +2 -2
  343. package/dist/esm/bq-dialog.entry.js.map +1 -1
  344. package/dist/esm/bq-divider.entry.js +1 -1
  345. package/dist/esm/bq-drawer.entry.js +2 -2
  346. package/dist/esm/bq-drawer.entry.js.map +1 -1
  347. package/dist/esm/bq-dropdown_2.entry.js +4 -4
  348. package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
  349. package/dist/esm/bq-empty-state.entry.js +2 -2
  350. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  351. package/dist/esm/bq-input.entry.js +2 -2
  352. package/dist/esm/bq-input.entry.js.map +1 -1
  353. package/dist/esm/bq-notification.entry.js +2 -2
  354. package/dist/esm/bq-notification.entry.js.map +1 -1
  355. package/dist/esm/bq-option-group.entry.js +2 -2
  356. package/dist/esm/bq-option-group.entry.js.map +1 -1
  357. package/dist/esm/bq-option-list_2.entry.js +3 -3
  358. package/dist/esm/bq-option-list_2.entry.js.map +1 -1
  359. package/dist/esm/bq-option.entry.js +1 -1
  360. package/dist/esm/bq-page-title.entry.js +2 -2
  361. package/dist/esm/bq-page-title.entry.js.map +1 -1
  362. package/dist/esm/bq-progress.entry.js +2 -2
  363. package/dist/esm/bq-progress.entry.js.map +1 -1
  364. package/dist/esm/bq-radio-group.entry.js +1 -1
  365. package/dist/esm/bq-radio.entry.js +1 -1
  366. package/dist/esm/bq-select.entry.js +2 -2
  367. package/dist/esm/bq-select.entry.js.map +1 -1
  368. package/dist/esm/bq-side-menu-item.entry.js +2 -2
  369. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  370. package/dist/esm/bq-side-menu.entry.js +1 -1
  371. package/dist/esm/bq-slider.entry.js +1 -1
  372. package/dist/esm/bq-spinner.entry.js +2 -2
  373. package/dist/esm/bq-spinner.entry.js.map +1 -1
  374. package/dist/esm/bq-status.entry.js +2 -2
  375. package/dist/esm/bq-status.entry.js.map +1 -1
  376. package/dist/esm/bq-step-item.entry.js +2 -2
  377. package/dist/esm/bq-step-item.entry.js.map +1 -1
  378. package/dist/esm/bq-steps.entry.js +1 -1
  379. package/dist/esm/bq-switch.entry.js +2 -2
  380. package/dist/esm/bq-switch.entry.js.map +1 -1
  381. package/dist/esm/bq-tab-group.entry.js +1 -1
  382. package/dist/esm/bq-tab.entry.js +2 -2
  383. package/dist/esm/bq-tab.entry.js.map +1 -1
  384. package/dist/esm/bq-textarea.entry.js +2 -2
  385. package/dist/esm/bq-textarea.entry.js.map +1 -1
  386. package/dist/esm/bq-toast.entry.js +2 -2
  387. package/dist/esm/bq-toast.entry.js.map +1 -1
  388. package/dist/esm/bq-tooltip.entry.js +2 -2
  389. package/dist/esm/{index-CgIw4Syg.js → index-CmKvDWiL.js} +81 -75
  390. package/dist/esm/index-CmKvDWiL.js.map +1 -0
  391. package/dist/esm/{index-BIw6Ac7W.js → index-D0hQxkOP.js} +22 -15
  392. package/dist/esm/index-D0hQxkOP.js.map +1 -0
  393. package/dist/esm/loader.js +3 -2
  394. package/dist/esm/loader.js.map +1 -1
  395. package/dist/hydrate/index.js +82 -82
  396. package/dist/hydrate/index.mjs +82 -82
  397. package/dist/stencil.config.js +1 -0
  398. package/dist/stencil.config.js.map +1 -1
  399. package/package.json +4 -4
  400. package/dist/beeq/p-039f7907.entry.js +0 -6
  401. package/dist/beeq/p-043a472a.entry.js +0 -6
  402. package/dist/beeq/p-1b988f57.entry.js +0 -6
  403. package/dist/beeq/p-20de0359.entry.js +0 -6
  404. package/dist/beeq/p-22e2de76.entry.js +0 -6
  405. package/dist/beeq/p-258e890f.entry.js +0 -6
  406. package/dist/beeq/p-28c6cdbc.entry.js +0 -6
  407. package/dist/beeq/p-3c491238.entry.js +0 -6
  408. package/dist/beeq/p-47404d61.entry.js +0 -6
  409. package/dist/beeq/p-50cbee50.entry.js +0 -6
  410. package/dist/beeq/p-52334e53.entry.js +0 -6
  411. package/dist/beeq/p-552d3e73.entry.js +0 -6
  412. package/dist/beeq/p-59cb331c.entry.js +0 -6
  413. package/dist/beeq/p-5e186220.entry.js +0 -6
  414. package/dist/beeq/p-6cac6da2.entry.js +0 -6
  415. package/dist/beeq/p-76d65605.entry.js +0 -6
  416. package/dist/beeq/p-8379d440.entry.js +0 -6
  417. package/dist/beeq/p-8a5e127b.entry.js +0 -6
  418. package/dist/beeq/p-8e9d8445.entry.js +0 -6
  419. package/dist/beeq/p-8fd716b1.entry.js +0 -6
  420. package/dist/beeq/p-904e521c.entry.js +0 -6
  421. package/dist/beeq/p-90b0fef1.entry.js +0 -6
  422. package/dist/beeq/p-BIw6Ac7W.js +0 -7
  423. package/dist/beeq/p-BIw6Ac7W.js.map +0 -1
  424. package/dist/beeq/p-CgIw4Syg.js +0 -6
  425. package/dist/beeq/p-CgIw4Syg.js.map +0 -1
  426. package/dist/beeq/p-a09d8901.entry.js +0 -6
  427. package/dist/beeq/p-a7a74198.entry.js +0 -6
  428. package/dist/beeq/p-a9cc76af.entry.js +0 -6
  429. package/dist/beeq/p-b4a612db.entry.js +0 -6
  430. package/dist/beeq/p-b7de07f5.entry.js +0 -6
  431. package/dist/beeq/p-c414e7c0.entry.js +0 -6
  432. package/dist/beeq/p-d4ffd9f1.entry.js +0 -6
  433. package/dist/beeq/p-dfd80d40.entry.js +0 -6
  434. package/dist/beeq/p-e394c440.entry.js +0 -6
  435. package/dist/beeq/p-e39e3d9c.entry.js +0 -6
  436. package/dist/beeq/p-f477b7ac.entry.js +0 -6
  437. package/dist/cjs/index-Cnm84YLJ.js.map +0 -1
  438. package/dist/cjs/index-D7RDSS0K.js.map +0 -1
  439. package/dist/components/p-B93kqFqH.js +0 -6
  440. package/dist/components/p-C6pBQ61U.js +0 -6
  441. package/dist/components/p-CCQ_5HvV.js +0 -6
  442. package/dist/components/p-CCQ_5HvV.js.map +0 -1
  443. package/dist/components/p-CgIw4Syg.js +0 -6
  444. package/dist/components/p-CgIw4Syg.js.map +0 -1
  445. package/dist/components/p-DhVt1fuD.js +0 -6
  446. package/dist/components/p-SKH1pCPg.js +0 -6
  447. package/dist/components/p-plkW8XNd.js +0 -6
  448. package/dist/components/p-qVvRSuP7.js +0 -6
  449. package/dist/components/p-yO5LAmkd.js +0 -6
  450. package/dist/esm/index-BIw6Ac7W.js.map +0 -1
  451. package/dist/esm/index-CgIw4Syg.js.map +0 -1
  452. /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/jest.config.d.ts +0 -0
  453. /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/stencil.config.d.ts +0 -0
  454. /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/tailwind.config.d.ts +0 -0
@@ -2,5 +2,358 @@
2
2
  * Built by Endavans
3
3
  * © https://beeq.design - Apache 2 License.
4
4
  */
5
- import{p as r,H as a,c as e,d as b,j as t,e as n,t as i}from"./p-CCQ_5HvV.js";import{d as q}from"./p-CVw85-WU.js";import{v as o}from"./p-zh4P02Kn.js";import{b as s}from"./p-uqkxeAeG.js";import{l as d,e as l}from"./p-DdvbF5yL.js";import{d as c}from"./p-yO5LAmkd.js";import{d as v}from"./p-Bi6ozE0v.js";const u=["info","success","warning","error","default"];const g=()=>`.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.z-\\[var\\(--bq-alert--z-index\\)\\]{z-index:var(--bq-alert--z-index)}.block{display:block}.flex{display:flex}.hidden{display:none}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-\\[var\\(--bq-alert--border-radius\\)\\]{border-radius:var(--bq-alert--border-radius)}.rounded-none{border-radius:var(--bq-radius--none)}.border-\\[length\\:--bq-alert--border-width\\]{border-width:var(--bq-alert--border-width)}.border-\\[color\\:--bq-alert--border-default\\]{border-color:var(--bq-alert--border-default)}.border-\\[color\\:--bq-alert--border-error\\]{border-color:var(--bq-alert--border-error)}.border-\\[color\\:--bq-alert--border-info\\]{border-color:var(--bq-alert--border-info)}.border-\\[color\\:--bq-alert--border-success\\]{border-color:var(--bq-alert--border-success)}.border-\\[color\\:--bq-alert--border-warning\\]{border-color:var(--bq-alert--border-warning)}.bg-\\[color\\:--bq-alert--background-default\\]{background-color:var(--bq-alert--background-default)}.bg-\\[color\\:--bq-alert--background-error\\]{background-color:var(--bq-alert--background-error)}.bg-\\[color\\:--bq-alert--background-info\\]{background-color:var(--bq-alert--background-info)}.bg-\\[color\\:--bq-alert--background-success\\]{background-color:var(--bq-alert--background-success)}.bg-\\[color\\:--bq-alert--background-warning\\]{background-color:var(--bq-alert--background-warning)}.text-\\[color\\:--bq-alert--icon-color-default\\]{color:var(--bq-alert--icon-color-default)}.text-\\[color\\:--bq-alert--icon-color-error\\]{color:var(--bq-alert--icon-color-error)}.text-\\[color\\:--bq-alert--icon-color-info\\]{color:var(--bq-alert--icon-color-info)}.text-\\[color\\:--bq-alert--icon-color-success\\]{color:var(--bq-alert--icon-color-success)}.text-\\[color\\:--bq-alert--icon-color-warning\\]{color:var(--bq-alert--icon-color-warning)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.is-full{inline-size:100%}.min-is-\\[--bq-alert--min-width\\]{min-inline-size:var(--bq-alert--min-width)}.p-b-\\[--bq-alert--padding\\]{padding-block:var(--bq-alert--padding)}.p-i-\\[--bq-alert--padding\\]{padding-inline:var(--bq-alert--padding)}.inset-bs-0{inset-block-start:0}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-alert--background:var(--bq-ui--secondary);--bq-alert--border-radius:var(--bq-radius--s);--bq-alert--content-footer-gap:var(--bq-spacing-s);--bq-alert--title-body-gap:var(--bq-spacing-s);--bq-alert--background-info:var(--bq-ui--brand-alt);--bq-alert--background-success:var(--bq-ui--success-alt);--bq-alert--background-warning:var(--bq-ui--warning-alt);--bq-alert--background-error:var(--bq-ui--danger-alt);--bq-alert--background-default:var(--bq-ui--primary);--bq-alert--border-info:var(--bq-stroke--brand);--bq-alert--border-success:var(--bq-stroke--success);--bq-alert--border-warning:var(--bq-stroke--warning);--bq-alert--border-error:var(--bq-stroke--danger);--bq-alert--border-default:var(--bq-stroke--secondary);--bq-alert--border-width:var(--bq-stroke-s);--bq-alert--border-style:solid;--bq-alert--icon-color-info:var(--bq-icon--brand);--bq-alert--icon-color-success:var(--bq-icon--success);--bq-alert--icon-color-warning:var(--bq-icon--warning);--bq-alert--icon-color-error:var(--bq-icon--danger);--bq-alert--icon-color-default:var(--bq-icon--primary);--bq-alert--padding:var(--bq-spacing-s);--bq-alert--min-width:320px;display:block}:host(.is-hidden){display:none}:host(.is-sticky){inline-size:100%;inset:0;inset-block-start:0;position:fixed;z-index:var(--bq-alert--z-index)}:host(.is-sticky) .bq-alert{align-items:center;border-radius:var(--bq-radius--none);justify-content:center}.bq-alert{border-radius:var(--bq-alert--border-radius);border-style:var(--bq-alert--border-style);border-width:var(--bq-alert--border-width);display:flex;min-inline-size:var(--bq-alert--min-width);padding-block:var(--bq-alert--padding);padding-inline:var(--bq-alert--padding);position:relative;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-alert__default{background-color:var(--bq-alert--background-default);border-color:var(--bq-alert--border-default)}.bq-alert__error{background-color:var(--bq-alert--background-error);border-color:var(--bq-alert--border-error)}.bq-alert__info{background-color:var(--bq-alert--background-info);border-color:var(--bq-alert--border-info)}.bq-alert__success{background-color:var(--bq-alert--background-success);border-color:var(--bq-alert--border-success)}.bq-alert__warning{background-color:var(--bq-alert--background-warning);border-color:var(--bq-alert--border-warning)}.bq-alert__icon--default{color:var(--bq-alert--icon-color-default)}.bq-alert__icon--error{color:var(--bq-alert--icon-color-error)}.bq-alert__icon--info{color:var(--bq-alert--icon-color-info)}.bq-alert__icon--success{color:var(--bq-alert--icon-color-success)}.bq-alert__icon--warning{color:var(--bq-alert--icon-color-warning)}.static{position:static}.absolute{position:absolute}.sticky{position:sticky}.end-s{inset-inline-end:var(--bq-spacing-s)}.me-s{margin-inline-end:var(--bq-spacing-s)}.\\!hidden{display:none!important}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.gap-\\[--bq-alert--content-footer-gap\\]{gap:var(--bq-alert--content-footer-gap)}.gap-\\[--bq-alert--title-body-gap\\]{gap:var(--bq-alert--title-body-gap)}.gap-xs{gap:var(--bq-spacing-xs)}.text-left{text-align:left}.align-top{vertical-align:top}.text-s{font-size:var(--bq-font-size--s)}.font-semibold{font-weight:var(--bq-font-weight--semibold)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\\[\\&\\:\\:part\\(label\\)\\]\\:inline-flex::part(label){display:inline-flex}.inline{display:inline}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.text-\\[--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}`;const f=r(class r extends a{constructor(r){super();if(r!==false){this.__registerHost()}this.__attachShadow();this.bqHide=e(this,"bqHide");this.bqShow=e(this,"bqShow");this.bqAfterShow=e(this,"bqAfterShow");this.bqAfterHide=e(this,"bqAfterHide")}autoDismissDebounce;bodyElem;footerElem;alertElement;get el(){return this}hasContent=false;hasFooter=false;autoDismiss;border="s";disableClose;hideIcon;open;time=3e3;type="default";sticky;handleTimeout(){this.autoDismissDebounce?.cancel();if(!this.autoDismiss)return;this.autoDismissDebounce=q((()=>{this.hide()}),this.time);if(this.open)this.autoDismissDebounce()}handleOpenChange(){this.autoDismissDebounce?.cancel();if(!this.open){this.handleHide();return}this.handleShow();if(this.autoDismiss){this.autoDismissDebounce()}}checkPropValues(){o(u,"info",this.el,"type")}bqHide;bqShow;bqAfterShow;bqAfterHide;componentWillLoad(){this.checkPropValues();this.handleTimeout()}componentDidLoad(){this.handleSlotChange();if(!this.open){this.el.classList.add("is-hidden")}}async hide(){this.open=false}async show(){this.open=true}handleHide=async()=>{const r=this.bqHide.emit(this.el);if(!r.defaultPrevented){await d(this.alertElement);this.el.classList.add("is-hidden");this.handleTransitionEnd()}};handleShow=async()=>{const r=this.bqShow.emit(this.el);if(!r.defaultPrevented){this.el.classList.remove("is-hidden");await l(this.alertElement);this.handleTransitionEnd()}};handleTransitionEnd=()=>{if(this.open){this.bqAfterShow.emit();return}this.bqAfterHide.emit()};handleSlotChange=()=>{this.hasContent=s(this.bodyElem,"body");this.hasFooter=s(this.footerElem,"footer")};get iconName(){const r={error:"x-circle",success:"check-circle",warning:"warning-circle"};return r[this.type]||"info"}render(){const r={...this.border&&{"--bq-alert--border-radius":`var(--bq-radius--${this.border})`}};return b(n,{"aria-hidden":!this.open?"true":"false",class:{"is-sticky":this.sticky},hidden:!this.open?"true":"false",role:"alert",style:r,children:t("div",{class:{[`bq-alert bq-alert__${this.type}`]:true,"is-sticky":this.sticky},"data-transition-enter":"transition ease-out duration-300","data-transition-enter-end":"opacity-100","data-transition-enter-start":"opacity-0","data-transition-leave":"transition ease-in duration-200","data-transition-leave-end":"opacity-0","data-transition-leave-start":"opacity-100",part:"wrapper",ref:r=>{this.alertElement=r},children:[!this.disableClose&&b("bq-button",{appearance:"text",border:"s",class:"absolute end-s [&::part(label)]:inline-flex",exportparts:"button:btn-close",label:"Close alert",onBqClick:()=>this.hide(),onlyIcon:true,size:"small",children:b("slot",{name:"btn-close",children:b("bq-icon",{name:"x",size:16,"aria-hidden":"true"},"b1c1758a819624255c9e9145313c53d0948d4317")},"9dc4997fd7e21ec7458c47b7bfa2bff408663441")},"8ac13cae18e896c21764d0cb02e64dc5d2ef252b"),b("div",{class:{[`bq-alert__icon--${this.type} me-s flex text-left align-top`]:true,"!hidden":this.hideIcon},part:"icon-outline",children:b("slot",{name:"icon",children:this.type!=="default"&&b("bq-icon",{exportparts:"base,svg",name:this.iconName,part:"icon"},"29f8f4952a239f9f4a306cc2f3c4d6a2f50f207d")},"85628e82cb4356decdf9db2af4250004d005c9df")},"e2130b19c0b877305c137b26d9f1efac69a8216b"),t("div",{class:"flex flex-col items-start gap-[--bq-alert--content-footer-gap]",part:"main",children:[t("div",{class:"flex flex-col gap-[--bq-alert--title-body-gap]",part:"content",children:[b("div",{class:{"title-font font-semibold text-primary leading-regular":true,"flex items-center":this.sticky},part:"title",children:b("slot",{},"411768f320069e92044541cfa6e1b3eedbffee81")},"430660e5ef44ce9a028987c21b3831314169c942"),b("div",{class:{"text-primary text-s leading-regular":true,"!hidden":!this.hasContent},part:"body",ref:r=>{this.bodyElem=r},children:b("slot",{name:"body",onSlotchange:this.handleSlotChange},"3bad0d049a96f74a3201e1c83f2d68e1a10fbb08")},"838d7681c34d77ade64c6ab6f388ead217876964")]},"60d8d20becdfda022fb96146f933319f5c13cfe0"),b("div",{class:{"flex items-start gap-xs":true,"!hidden":!this.hasFooter},part:"footer",ref:r=>{this.footerElem=r},children:b("slot",{name:"footer",onSlotchange:this.handleSlotChange},"04585ea20396f2d84da3e8ca6171454ae06cbea5")},"9cd1165fa934ee302c494a1e4b6c35cff8c7279f")]},"c506271b985b19933d5248fad1025e50441dbbf6")]},"d2164298c7747c1de7d6c58e523902d814c24eae")},"5c32cd7d95e520e31c12879d16358a5f049ecad5")}static get watchers(){return{autoDismiss:[{handleTimeout:0}],time:[{handleTimeout:0}],open:[{handleOpenChange:0}],type:[{checkPropValues:0}]}}static get style(){return g()}},[769,"bq-alert",{autoDismiss:[516,"auto-dismiss"],border:[513],disableClose:[516,"disable-close"],hideIcon:[516,"hide-icon"],open:[1540],time:[514],type:[513],sticky:[516],hasContent:[32],hasFooter:[32],hide:[64],show:[64]},undefined,{autoDismiss:[{handleTimeout:0}],time:[{handleTimeout:0}],open:[{handleOpenChange:0}],type:[{checkPropValues:0}]}]);function h(){if(typeof customElements==="undefined"){return}const r=["bq-alert","bq-button","bq-icon"];r.forEach((r=>{switch(r){case"bq-alert":if(!customElements.get(i(r))){customElements.define(i(r),f)}break;case"bq-button":if(!customElements.get(i(r))){c()}break;case"bq-icon":if(!customElements.get(i(r))){v()}break}}))}const p=f;const m=h;export{p as BqAlert,m as defineCustomElement};
5
+ import { p as r, H as a, c as e, d as b, j as t, e as n, t as i } from "./p-DDCN9O42.js";
6
+
7
+ import { d as q } from "./p-CVw85-WU.js";
8
+
9
+ import { v as o } from "./p-zh4P02Kn.js";
10
+
11
+ import { b as s } from "./p-uqkxeAeG.js";
12
+
13
+ import { l, e as d } from "./p-DdvbF5yL.js";
14
+
15
+ import { d as c } from "./p-DBPU_cIr.js";
16
+
17
+ import { d as v } from "./p-YyF6_fWE.js";
18
+
19
+ const u = [ "info", "success", "warning", "error", "default" ];
20
+
21
+ const bqAlertCss = () => `.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.z-\\[var\\(--bq-alert--z-index\\)\\]{z-index:var(--bq-alert--z-index)}.block{display:block}.flex{display:flex}.hidden{display:none}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-\\[var\\(--bq-alert--border-radius\\)\\]{border-radius:var(--bq-alert--border-radius)}.rounded-none{border-radius:var(--bq-radius--none)}.border-\\[length\\:--bq-alert--border-width\\]{border-width:var(--bq-alert--border-width)}.border-\\[color\\:--bq-alert--border-default\\]{border-color:var(--bq-alert--border-default)}.border-\\[color\\:--bq-alert--border-error\\]{border-color:var(--bq-alert--border-error)}.border-\\[color\\:--bq-alert--border-info\\]{border-color:var(--bq-alert--border-info)}.border-\\[color\\:--bq-alert--border-success\\]{border-color:var(--bq-alert--border-success)}.border-\\[color\\:--bq-alert--border-warning\\]{border-color:var(--bq-alert--border-warning)}.bg-\\[color\\:--bq-alert--background-default\\]{background-color:var(--bq-alert--background-default)}.bg-\\[color\\:--bq-alert--background-error\\]{background-color:var(--bq-alert--background-error)}.bg-\\[color\\:--bq-alert--background-info\\]{background-color:var(--bq-alert--background-info)}.bg-\\[color\\:--bq-alert--background-success\\]{background-color:var(--bq-alert--background-success)}.bg-\\[color\\:--bq-alert--background-warning\\]{background-color:var(--bq-alert--background-warning)}.text-\\[color\\:--bq-alert--icon-color-default\\]{color:var(--bq-alert--icon-color-default)}.text-\\[color\\:--bq-alert--icon-color-error\\]{color:var(--bq-alert--icon-color-error)}.text-\\[color\\:--bq-alert--icon-color-info\\]{color:var(--bq-alert--icon-color-info)}.text-\\[color\\:--bq-alert--icon-color-success\\]{color:var(--bq-alert--icon-color-success)}.text-\\[color\\:--bq-alert--icon-color-warning\\]{color:var(--bq-alert--icon-color-warning)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.is-full{inline-size:100%}.min-is-\\[--bq-alert--min-width\\]{min-inline-size:var(--bq-alert--min-width)}.p-b-\\[--bq-alert--padding\\]{padding-block:var(--bq-alert--padding)}.p-i-\\[--bq-alert--padding\\]{padding-inline:var(--bq-alert--padding)}.inset-bs-0{inset-block-start:0}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-alert--background:var(--bq-ui--secondary);--bq-alert--border-radius:var(--bq-radius--s);--bq-alert--content-footer-gap:var(--bq-spacing-s);--bq-alert--title-body-gap:var(--bq-spacing-s);--bq-alert--background-info:var(--bq-ui--brand-alt);--bq-alert--background-success:var(--bq-ui--success-alt);--bq-alert--background-warning:var(--bq-ui--warning-alt);--bq-alert--background-error:var(--bq-ui--danger-alt);--bq-alert--background-default:var(--bq-ui--primary);--bq-alert--border-info:var(--bq-stroke--brand);--bq-alert--border-success:var(--bq-stroke--success);--bq-alert--border-warning:var(--bq-stroke--warning);--bq-alert--border-error:var(--bq-stroke--danger);--bq-alert--border-default:var(--bq-stroke--secondary);--bq-alert--border-width:var(--bq-stroke-s);--bq-alert--border-style:solid;--bq-alert--icon-color-info:var(--bq-icon--brand);--bq-alert--icon-color-success:var(--bq-icon--success);--bq-alert--icon-color-warning:var(--bq-icon--warning);--bq-alert--icon-color-error:var(--bq-icon--danger);--bq-alert--icon-color-default:var(--bq-icon--primary);--bq-alert--padding:var(--bq-spacing-s);--bq-alert--min-width:320px;display:block}:host(.is-hidden){display:none}:host(.is-sticky){inline-size:100%;inset:0;inset-block-start:0;position:fixed;z-index:var(--bq-alert--z-index)}:host(.is-sticky) .bq-alert{align-items:center;border-radius:var(--bq-radius--none);justify-content:center}.bq-alert{border-radius:var(--bq-alert--border-radius);border-style:var(--bq-alert--border-style);border-width:var(--bq-alert--border-width);display:flex;min-inline-size:var(--bq-alert--min-width);padding-block:var(--bq-alert--padding);padding-inline:var(--bq-alert--padding);position:relative;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-alert__default{background-color:var(--bq-alert--background-default);border-color:var(--bq-alert--border-default)}.bq-alert__error{background-color:var(--bq-alert--background-error);border-color:var(--bq-alert--border-error)}.bq-alert__info{background-color:var(--bq-alert--background-info);border-color:var(--bq-alert--border-info)}.bq-alert__success{background-color:var(--bq-alert--background-success);border-color:var(--bq-alert--border-success)}.bq-alert__warning{background-color:var(--bq-alert--background-warning);border-color:var(--bq-alert--border-warning)}.bq-alert__icon--default{color:var(--bq-alert--icon-color-default)}.bq-alert__icon--error{color:var(--bq-alert--icon-color-error)}.bq-alert__icon--info{color:var(--bq-alert--icon-color-info)}.bq-alert__icon--success{color:var(--bq-alert--icon-color-success)}.bq-alert__icon--warning{color:var(--bq-alert--icon-color-warning)}.static{position:static}.absolute{position:absolute}.sticky{position:sticky}.end-s{inset-inline-end:var(--bq-spacing-s)}.me-s{margin-inline-end:var(--bq-spacing-s)}.\\!hidden{display:none!important}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.gap-\\[--bq-alert--content-footer-gap\\]{gap:var(--bq-alert--content-footer-gap)}.gap-\\[--bq-alert--title-body-gap\\]{gap:var(--bq-alert--title-body-gap)}.gap-xs{gap:var(--bq-spacing-xs)}.text-left{text-align:left}.align-top{vertical-align:top}.text-s{font-size:var(--bq-font-size--s)}.font-semibold{font-weight:var(--bq-font-weight--semibold)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\\[\\&\\:\\:part\\(label\\)\\]\\:inline-flex::part(label){display:inline-flex}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.text-\\[--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}`;
22
+
23
+ const g = r(class r extends a {
24
+ constructor(r) {
25
+ super();
26
+ if (r !== false) {
27
+ this.__registerHost();
28
+ }
29
+ this.__attachShadow();
30
+ this.bqHide = e(this, "bqHide");
31
+ this.bqShow = e(this, "bqShow");
32
+ this.bqAfterShow = e(this, "bqAfterShow");
33
+ this.bqAfterHide = e(this, "bqAfterHide");
34
+ }
35
+ // Own Properties
36
+ // ====================
37
+ autoDismissDebounce;
38
+ bodyElem;
39
+ footerElem;
40
+ alertElement;
41
+ get el() {
42
+ return this;
43
+ }
44
+ // State() variables
45
+ // Inlined decorator, alphabetical order
46
+ // =======================================
47
+ hasContent=false;
48
+ hasFooter=false;
49
+ // Public Property API
50
+ // ========================
51
+ /** If true, the alert will automatically hide after the specified amount of time */
52
+ autoDismiss;
53
+ /** The corner radius of the alert component */
54
+ border="s";
55
+ /** If true, the close button at the top right of the alert won't be shown */
56
+ disableClose;
57
+ /** If true, the alert icon won't be shown */
58
+ hideIcon;
59
+ /** If true, the alert will be shown */
60
+ open;
61
+ /** The length of time, in milliseconds, after which the alert will close itself. Only valid if `autoDismiss="true"` */
62
+ time=3e3;
63
+ /** Type of Alert */
64
+ type="default";
65
+ /** If true, the alert component will remain fixed at the top of the page, occupying the full viewport */
66
+ sticky;
67
+ // Prop lifecycle events
68
+ // =======================
69
+ handleTimeout() {
70
+ this.autoDismissDebounce?.cancel();
71
+ if (!this.autoDismiss) return;
72
+ this.autoDismissDebounce = q((() => {
73
+ this.hide();
74
+ }), this.time);
75
+ // Make sure to autodismiss the notification if the `auto-dismiss` value changed while open
76
+ if (this.open) this.autoDismissDebounce();
77
+ }
78
+ handleOpenChange() {
79
+ this.autoDismissDebounce?.cancel();
80
+ if (!this.open) {
81
+ this.handleHide();
82
+ return;
83
+ }
84
+ this.handleShow();
85
+ if (this.autoDismiss) {
86
+ this.autoDismissDebounce();
87
+ }
88
+ }
89
+ checkPropValues() {
90
+ o(u, "info", this.el, "type");
91
+ }
92
+ // Events section
93
+ // Requires JSDocs for public API documentation
94
+ // ==============================================
95
+ /** Callback handler to be called when the alert is hidden */
96
+ bqHide;
97
+ /** Callback handler to be called when the alert is shown */
98
+ bqShow;
99
+ /** Callback handler to be called after the alert has been shown */
100
+ bqAfterShow;
101
+ /** Callback handler to be called after the alert has been hidden */
102
+ bqAfterHide;
103
+ // Component lifecycle events
104
+ // Ordered by their natural call order
105
+ // =====================================
106
+ componentWillLoad() {
107
+ this.checkPropValues();
108
+ this.handleTimeout();
109
+ }
110
+ componentDidLoad() {
111
+ this.handleSlotChange();
112
+ if (!this.open) {
113
+ this.el.classList.add("is-hidden");
114
+ }
115
+ }
116
+ // Listeners
117
+ // ==============
118
+ // Public methods API
119
+ // These methods are exposed on the host element.
120
+ // Always use two lines.
121
+ // Public Methods must be async.
122
+ // Requires JSDocs for public API documentation.
123
+ // ===============================================
124
+ /** Method to be called to hide the alert component */
125
+ async hide() {
126
+ this.open = false;
127
+ }
128
+ /** Method to be called to show the alert component */ async show() {
129
+ this.open = true;
130
+ }
131
+ // Local methods
132
+ // Internal business logic.
133
+ // These methods cannot be called from the host element.
134
+ // =======================================================
135
+ handleHide=async () => {
136
+ const r = this.bqHide.emit(this.el);
137
+ if (!r.defaultPrevented) {
138
+ await l(this.alertElement);
139
+ this.el.classList.add("is-hidden");
140
+ this.handleTransitionEnd();
141
+ }
142
+ };
143
+ handleShow=async () => {
144
+ const r = this.bqShow.emit(this.el);
145
+ if (!r.defaultPrevented) {
146
+ this.el.classList.remove("is-hidden");
147
+ await d(this.alertElement);
148
+ this.handleTransitionEnd();
149
+ }
150
+ };
151
+ handleTransitionEnd=() => {
152
+ if (this.open) {
153
+ this.bqAfterShow.emit();
154
+ return;
155
+ }
156
+ this.bqAfterHide.emit();
157
+ };
158
+ handleSlotChange=() => {
159
+ this.hasContent = s(this.bodyElem, "body");
160
+ this.hasFooter = s(this.footerElem, "footer");
161
+ };
162
+ get iconName() {
163
+ const r = {
164
+ error: "x-circle",
165
+ success: "check-circle",
166
+ warning: "warning-circle"
167
+ };
168
+ return r[this.type] || "info";
169
+ }
170
+ // render() function
171
+ // Always the last one in the class.
172
+ // ===================================
173
+ render() {
174
+ const r = {
175
+ ...this.border && {
176
+ "--bq-alert--border-radius": `var(--bq-radius--${this.border})`
177
+ }
178
+ };
179
+ return b(n, {
180
+ "aria-hidden": !this.open ? "true" : "false",
181
+ class: {
182
+ "is-sticky": this.sticky
183
+ },
184
+ hidden: !this.open ? "true" : "false",
185
+ role: "alert",
186
+ style: r,
187
+ children: t("div", {
188
+ class: {
189
+ [`bq-alert bq-alert__${this.type}`]: true,
190
+ "is-sticky": this.sticky
191
+ },
192
+ "data-transition-enter": "transition ease-out duration-300",
193
+ "data-transition-enter-end": "opacity-100",
194
+ "data-transition-enter-start": "opacity-0",
195
+ "data-transition-leave": "transition ease-in duration-200",
196
+ "data-transition-leave-end": "opacity-0",
197
+ "data-transition-leave-start": "opacity-100",
198
+ part: "wrapper",
199
+ ref: r => {
200
+ this.alertElement = r;
201
+ },
202
+ children: [ !this.disableClose && b("bq-button", {
203
+ appearance: "text",
204
+ border: "s",
205
+ class: "absolute end-s [&::part(label)]:inline-flex",
206
+ exportparts: "button:btn-close",
207
+ label: "Close alert",
208
+ onBqClick: () => this.hide(),
209
+ onlyIcon: true,
210
+ size: "small",
211
+ children: b("slot", {
212
+ name: "btn-close",
213
+ children: b("bq-icon", {
214
+ name: "x",
215
+ size: 16,
216
+ "aria-hidden": "true"
217
+ }, "b1c1758a819624255c9e9145313c53d0948d4317")
218
+ }, "9dc4997fd7e21ec7458c47b7bfa2bff408663441")
219
+ }, "8ac13cae18e896c21764d0cb02e64dc5d2ef252b"), b("div", {
220
+ class: {
221
+ [`bq-alert__icon--${this.type} me-s flex text-left align-top`]: true,
222
+ "!hidden": this.hideIcon
223
+ },
224
+ part: "icon-outline",
225
+ children: b("slot", {
226
+ name: "icon",
227
+ children: this.type !== "default" && b("bq-icon", {
228
+ exportparts: "base,svg",
229
+ name: this.iconName,
230
+ part: "icon"
231
+ }, "29f8f4952a239f9f4a306cc2f3c4d6a2f50f207d")
232
+ }, "85628e82cb4356decdf9db2af4250004d005c9df")
233
+ }, "e2130b19c0b877305c137b26d9f1efac69a8216b"), t("div", {
234
+ class: "flex flex-col items-start gap-[--bq-alert--content-footer-gap]",
235
+ part: "main",
236
+ children: [ t("div", {
237
+ class: "flex flex-col gap-[--bq-alert--title-body-gap]",
238
+ part: "content",
239
+ children: [ b("div", {
240
+ class: {
241
+ "title-font font-semibold text-primary leading-regular": true,
242
+ "flex items-center": this.sticky
243
+ },
244
+ part: "title",
245
+ children: b("slot", {}, "411768f320069e92044541cfa6e1b3eedbffee81")
246
+ }, "430660e5ef44ce9a028987c21b3831314169c942"), b("div", {
247
+ class: {
248
+ "text-primary text-s leading-regular": true,
249
+ "!hidden": !this.hasContent
250
+ },
251
+ part: "body",
252
+ ref: r => {
253
+ this.bodyElem = r;
254
+ },
255
+ children: b("slot", {
256
+ name: "body",
257
+ onSlotchange: this.handleSlotChange
258
+ }, "3bad0d049a96f74a3201e1c83f2d68e1a10fbb08")
259
+ }, "838d7681c34d77ade64c6ab6f388ead217876964") ]
260
+ }, "60d8d20becdfda022fb96146f933319f5c13cfe0"), b("div", {
261
+ class: {
262
+ "flex items-start gap-xs": true,
263
+ "!hidden": !this.hasFooter
264
+ },
265
+ part: "footer",
266
+ ref: r => {
267
+ this.footerElem = r;
268
+ },
269
+ children: b("slot", {
270
+ name: "footer",
271
+ onSlotchange: this.handleSlotChange
272
+ }, "04585ea20396f2d84da3e8ca6171454ae06cbea5")
273
+ }, "9cd1165fa934ee302c494a1e4b6c35cff8c7279f") ]
274
+ }, "c506271b985b19933d5248fad1025e50441dbbf6") ]
275
+ }, "d2164298c7747c1de7d6c58e523902d814c24eae")
276
+ }, "5c32cd7d95e520e31c12879d16358a5f049ecad5");
277
+ }
278
+ static get watchers() {
279
+ return {
280
+ autoDismiss: [ {
281
+ handleTimeout: 0
282
+ } ],
283
+ time: [ {
284
+ handleTimeout: 0
285
+ } ],
286
+ open: [ {
287
+ handleOpenChange: 0
288
+ } ],
289
+ type: [ {
290
+ checkPropValues: 0
291
+ } ]
292
+ };
293
+ }
294
+ static get style() {
295
+ return bqAlertCss();
296
+ }
297
+ }, [ 769, "bq-alert", {
298
+ autoDismiss: [ 516, "auto-dismiss" ],
299
+ border: [ 513 ],
300
+ disableClose: [ 516, "disable-close" ],
301
+ hideIcon: [ 516, "hide-icon" ],
302
+ open: [ 1540 ],
303
+ time: [ 514 ],
304
+ type: [ 513 ],
305
+ sticky: [ 516 ],
306
+ hasContent: [ 32 ],
307
+ hasFooter: [ 32 ],
308
+ hide: [ 64 ],
309
+ show: [ 64 ]
310
+ }, undefined, {
311
+ autoDismiss: [ {
312
+ handleTimeout: 0
313
+ } ],
314
+ time: [ {
315
+ handleTimeout: 0
316
+ } ],
317
+ open: [ {
318
+ handleOpenChange: 0
319
+ } ],
320
+ type: [ {
321
+ checkPropValues: 0
322
+ } ]
323
+ } ]);
324
+
325
+ function defineCustomElement$1() {
326
+ if (typeof customElements === "undefined") {
327
+ return;
328
+ }
329
+ const r = [ "bq-alert", "bq-button", "bq-icon" ];
330
+ r.forEach((r => {
331
+ switch (r) {
332
+ case "bq-alert":
333
+ if (!customElements.get(i(r))) {
334
+ customElements.define(i(r), g);
335
+ }
336
+ break;
337
+
338
+ case "bq-button":
339
+ if (!customElements.get(i(r))) {
340
+ c();
341
+ }
342
+ break;
343
+
344
+ case "bq-icon":
345
+ if (!customElements.get(i(r))) {
346
+ v();
347
+ }
348
+ break;
349
+ }
350
+ }));
351
+ }
352
+
353
+ const f = g;
354
+
355
+ const h = defineCustomElement$1;
356
+
357
+ export { f as BqAlert, h as defineCustomElement };
358
+ //# sourceMappingURL=bq-alert.js.map
6
359
  //# sourceMappingURL=bq-alert.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ALERT_TYPE","bqAlertCss","BqAlert","__stencil_proxyCustomElement","HTMLElement","autoDismissDebounce","bodyElem","footerElem","alertElement","hasContent","hasFooter","autoDismiss","border","disableClose","hideIcon","open","time","type","sticky","handleTimeout","this","cancel","debounce","hide","handleOpenChange","handleHide","handleShow","checkPropValues","validatePropValue","el","bqHide","bqShow","bqAfterShow","bqAfterHide","componentWillLoad","componentDidLoad","handleSlotChange","classList","add","show","async","ev","emit","defaultPrevented","leave","handleTransitionEnd","remove","enter","hasSlotContent","iconName","error","success","warning","render","style","_jsx","Host","class","hidden","role","children","_jsxs","part","ref","div","appearance","exportparts","label","onBqClick","onlyIcon","size","name","onSlotchange"],"sources":["../../packages/beeq/src/components/alert/bq-alert.types.ts","../../packages/beeq/src/components/alert/scss/bq-alert.scss?tag=bq-alert&encapsulation=shadow","../../packages/beeq/src/components/alert/bq-alert.tsx"],"sourcesContent":["export const ALERT_TYPE = ['info', 'success', 'warning', 'error', 'default'] as const;\nexport type TAlertType = (typeof ALERT_TYPE)[number];\n\nexport const ALERT_BORDER_RADIUS = ['none', 'xs2', 'xs', 's', 'm', 'l', 'full'] as const;\nexport type TAlertBorderRadius = (typeof ALERT_BORDER_RADIUS)[number];\n","/* -------------------------------------------------------------------------- */\n/* Alert styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-alert.variables';\n\n:host {\n @apply block;\n}\n\n:host(.is-hidden) {\n @apply hidden;\n}\n\n:host(.is-sticky) {\n @apply fixed inset-0 z-[var(--bq-alert--z-index)] is-full inset-bs-0;\n\n .bq-alert {\n @apply items-center justify-center rounded-none;\n }\n}\n\n.bq-alert {\n @apply relative flex transition-all min-is-[--bq-alert--min-width] p-b-[--bq-alert--padding] p-i-[--bq-alert--padding];\n @apply rounded-[var(--bq-alert--border-radius)] border-[length:--bq-alert--border-width];\n\n border-style: var(--bq-alert--border-style);\n}\n\n/**\n * Set the alert background and border color based on the type value selected\n */\n\n.bq-alert__default {\n @apply border-[color:--bq-alert--border-default] bg-[color:--bq-alert--background-default];\n}\n\n.bq-alert__error {\n @apply border-[color:--bq-alert--border-error] bg-[color:--bq-alert--background-error];\n}\n\n.bq-alert__info {\n @apply border-[color:--bq-alert--border-info] bg-[color:--bq-alert--background-info];\n}\n\n.bq-alert__success {\n @apply border-[color:--bq-alert--border-success] bg-[color:--bq-alert--background-success];\n}\n\n.bq-alert__warning {\n @apply border-[color:--bq-alert--border-warning] bg-[color:--bq-alert--background-warning];\n}\n\n/**\n * Set the alert icon color based on the type value selected\n */\n.bq-alert__icon {\n &--default {\n @apply text-[color:--bq-alert--icon-color-default];\n }\n\n &--error {\n @apply text-[color:--bq-alert--icon-color-error];\n }\n\n &--info {\n @apply text-[color:--bq-alert--icon-color-info];\n }\n\n &--success {\n @apply text-[color:--bq-alert--icon-color-success];\n }\n\n &--warning {\n @apply text-[color:--bq-alert--icon-color-warning];\n }\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { debounce, enter, hasSlotContent, leave, type TDebounce, validatePropValue } from '../../shared/utils';\nimport type { TAlertBorderRadius, TAlertType } from './bq-alert.types';\nimport { ALERT_TYPE } from './bq-alert.types';\n\n/**\n * The Alert is a user interface component used to convey important information to the user in a clear and concise manner.\n * It can be used to notify users of success, failure, warning, or any other type of information that needs to be brought to their attention.\n *\n * @example How to use it\n * ```html\n * <bq-alert>\n * <bq-icon name=\"star\" slot=\"icon\"></bq-icon>\n * Title\n * <span slot=\"body\">\n * Description\n * <a class=\"bq-link\" href=\"https://example.com\">Link</a>\n * </span>\n * <div slot=\"footer\">\n * <bq-button appearance=\"primary\" size=\"small\">Button</bq-button>\n * <bq-button appearance=\"link\" size=\"small\">Button</bq-button>\n * </div>\n * </bq-alert>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/848a50-alert\n * @status stable\n *\n * @dependency bq-button\n * @dependency bq-icon\n *\n * @attr {boolean} [auto-dismiss=false] - If true, the alert will automatically hide after the specified amount of time\n * @attr {\"none\" | \"xs2\" | \"xs\" | \"s\" | \"m\" | \"l\" | \"full\"} [border='s'] - The corner radius of the alert component\n * @attr {boolean} [disable-close=false] - If true, the close button at the top right of the alert won't be shown\n * @attr {boolean} [hide-icon=false] - If true, the alert icon won't be shown\n * @attr {boolean} [open=false] - If true, the alert will be shown\n * @attr {number} [time=3000] - The length of time, in milliseconds, after which the alert will close itself. Only valid if `autoDismiss=\"true\"`\n * @attr {\"info\" | \"success\" | \"warning\" | \"error\" | \"default\"} [type='default'] - Type of Alert\n * @attr {boolean} [sticky=false] - If true, the alert component will remain fixed at the top of the page, occupying the full viewport\n *\n * @event bqHide - Callback handler to be called when the alert is hidden\n * @event bqShow - Callback handler to be called when the alert is shown\n * @event bqAfterShow - Callback handler to be called after the alert has been shown\n * @event bqAfterHide - Callback handler to be called after the alert has been hidden\n *\n * @slot - The alert title content (no slot name required)\n * @slot body - The alert description content\n * @slot footer - The alert footer content\n * @slot icon - The predefined icon based on the alert type (info, success, warning, error, default)\n * @slot btn-close - The close button of the alert\n *\n * @part base - The `<div>` container of the predefined bq-icon component\n * @part body - The container `<div>` that wraps the alert description content\n * @part btn-close - The native button of the `bq-button` used to close the alert\n * @part content - The container `<div>` that wraps all the alert content (title, description, footer)\n * @part footer - The container `<div>` that wraps the alert footer content\n * @part icon - The `<bq-icon>` element used to render a predefined icon based on the alert type (info, success, warning, error, default)\n * @part icon-outline - The container `<div>` that wraps the icon element\n * @part main - The container `<div>` that wraps the alert main content (title, description)\n * @part svg - The `<svg>` element of the predefined bq-icon component\n * @part title - The container `<div>` that wraps the alert title content\n * @part wrapper - The wrapper container `<div>` of the element inside the shadow DOM\n *\n * @cssprop --bq-alert--background - The alert background color\n * @cssprop --bq-alert--border-radius - The alert border radius\n * @cssprop --bq-alert--content-footer-gap - The alert content and footer gap\n * @cssprop --bq-alert--title-body-gap - The alert title and body gap\n *\n * @cssprop --bq-alert--border-color - The alert border color\n * @cssprop --bq-alert--border-style - The alert border style\n * @cssprop --bq-alert--border-width - The alert border width\n *\n * @cssprop --bq-alert--background-info - The alert background color for info type\n * @cssprop --bq-alert--background-success - The alert background color for success type\n * @cssprop --bq-alert--background-warning - The alert background color for warning type\n * @cssprop --bq-alert--background-error - The alert background color for error type\n *\n * @cssprop --bq-alert--border-info - The alert border color for info type\n * @cssprop --bq-alert--border-success - The alert border color for success type\n * @cssprop --bq-alert--border-warning - The alert border color for warning type\n * @cssprop --bq-alert--border-error - The alert border color for error type\n *\n * @cssprop --bq-alert--icon-color-info - The alert icon color for info type\n * @cssprop --bq-alert--icon-color-success - The alert icon color for success type\n * @cssprop --bq-alert--icon-color-warning - The alert icon color for warning type\n * @cssprop --bq-alert--icon-color-error - The alert icon color for error type\n *\n * @cssprop --bq-alert--padding - The alert padding\n * @cssprop --bq-alert--min-width - The alert min width\n */\n@Component({\n tag: 'bq-alert',\n styleUrl: './scss/bq-alert.scss',\n shadow: true,\n})\nexport class BqAlert {\n // Own Properties\n // ====================\n\n private autoDismissDebounce: TDebounce<void>;\n private bodyElem: HTMLDivElement;\n private footerElem: HTMLDivElement;\n private alertElement: HTMLDivElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqAlertElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasContent = false;\n @State() private hasFooter = false;\n\n // Public Property API\n // ========================\n\n /** If true, the alert will automatically hide after the specified amount of time */\n @Prop({ reflect: true }) autoDismiss: boolean;\n\n /** The corner radius of the alert component */\n @Prop({ reflect: true }) border: TAlertBorderRadius = 's';\n\n /** If true, the close button at the top right of the alert won't be shown */\n @Prop({ reflect: true }) disableClose: boolean;\n\n /** If true, the alert icon won't be shown */\n @Prop({ reflect: true }) hideIcon: boolean;\n\n /** If true, the alert will be shown */\n @Prop({ reflect: true, mutable: true }) open: boolean;\n\n /** The length of time, in milliseconds, after which the alert will close itself. Only valid if `autoDismiss=\"true\"` */\n @Prop({ reflect: true }) time: number = 3000;\n\n /** Type of Alert */\n @Prop({ reflect: true }) type: TAlertType = 'default';\n\n /** If true, the alert component will remain fixed at the top of the page, occupying the full viewport */\n @Prop({ reflect: true }) sticky: boolean;\n\n // Prop lifecycle events\n // =======================\n @Watch('autoDismiss')\n @Watch('time')\n handleTimeout() {\n this.autoDismissDebounce?.cancel();\n if (!this.autoDismiss) return;\n\n this.autoDismissDebounce = debounce(() => {\n this.hide();\n }, this.time);\n // Make sure to autodismiss the notification if the `auto-dismiss` value changed while open\n if (this.open) this.autoDismissDebounce();\n }\n\n @Watch('open')\n handleOpenChange() {\n this.autoDismissDebounce?.cancel();\n\n if (!this.open) {\n this.handleHide();\n return;\n }\n\n this.handleShow();\n\n if (this.autoDismiss) {\n this.autoDismissDebounce();\n }\n }\n\n @Watch('type')\n checkPropValues() {\n validatePropValue(ALERT_TYPE, 'info', this.el, 'type');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the alert is hidden */\n @Event() bqHide!: EventEmitter;\n\n /** Callback handler to be called when the alert is shown */\n @Event() bqShow!: EventEmitter;\n\n /** Callback handler to be called after the alert has been shown */\n @Event() bqAfterShow!: EventEmitter;\n\n /** Callback handler to be called after the alert has been hidden */\n @Event() bqAfterHide!: EventEmitter;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkPropValues();\n this.handleTimeout();\n }\n\n componentDidLoad() {\n this.handleSlotChange();\n\n if (!this.open) {\n this.el.classList.add('is-hidden');\n }\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n /** Method to be called to hide the alert component */\n @Method()\n async hide(): Promise<void> {\n this.open = false;\n }\n\n /** Method to be called to show the alert component */\n @Method()\n async show(): Promise<void> {\n this.open = true;\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleHide = async () => {\n const ev = this.bqHide.emit(this.el);\n if (!ev.defaultPrevented) {\n await leave(this.alertElement);\n this.el.classList.add('is-hidden');\n this.handleTransitionEnd();\n }\n };\n\n private handleShow = async () => {\n const ev = this.bqShow.emit(this.el);\n if (!ev.defaultPrevented) {\n this.el.classList.remove('is-hidden');\n await enter(this.alertElement);\n this.handleTransitionEnd();\n }\n };\n\n private handleTransitionEnd = () => {\n if (this.open) {\n this.bqAfterShow.emit();\n return;\n }\n\n this.bqAfterHide.emit();\n };\n\n private handleSlotChange = () => {\n this.hasContent = hasSlotContent(this.bodyElem, 'body');\n this.hasFooter = hasSlotContent(this.footerElem, 'footer');\n };\n\n private get iconName(): string {\n const iconName = {\n error: 'x-circle',\n success: 'check-circle',\n warning: 'warning-circle',\n };\n\n return iconName[this.type] || 'info';\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const style = {\n ...(this.border && { '--bq-alert--border-radius': `var(--bq-radius--${this.border})` }),\n };\n\n return (\n <Host\n aria-hidden={!this.open ? 'true' : 'false'}\n class={{ 'is-sticky': this.sticky }}\n hidden={!this.open ? 'true' : 'false'}\n role=\"alert\"\n style={style}\n >\n <div\n class={{ [`bq-alert bq-alert__${this.type}`]: true, 'is-sticky': this.sticky }}\n data-transition-enter=\"transition ease-out duration-300\"\n data-transition-enter-end=\"opacity-100\"\n data-transition-enter-start=\"opacity-0\"\n data-transition-leave=\"transition ease-in duration-200\"\n data-transition-leave-end=\"opacity-0\"\n data-transition-leave-start=\"opacity-100\"\n part=\"wrapper\"\n ref={(div) => {\n this.alertElement = div;\n }}\n >\n {/* CLOSE BUTTON */}\n {!this.disableClose && (\n <bq-button\n appearance=\"text\"\n border=\"s\"\n class=\"absolute end-s [&::part(label)]:inline-flex\"\n exportparts=\"button:btn-close\"\n label=\"Close alert\"\n onBqClick={() => this.hide()}\n onlyIcon\n size=\"small\"\n >\n <slot name=\"btn-close\">\n <bq-icon name=\"x\" size={16} aria-hidden=\"true\" />\n </slot>\n </bq-button>\n )}\n {/* ICON */}\n <div\n class={{\n [`bq-alert__icon--${this.type} me-s flex text-left align-top`]: true,\n '!hidden': this.hideIcon,\n }}\n part=\"icon-outline\"\n >\n <slot name=\"icon\">\n {this.type !== 'default' && <bq-icon exportparts=\"base,svg\" name={this.iconName} part=\"icon\" />}\n </slot>\n </div>\n {/* MAIN */}\n <div class=\"flex flex-col items-start gap-[--bq-alert--content-footer-gap]\" part=\"main\">\n <div class=\"flex flex-col gap-[--bq-alert--title-body-gap]\" part=\"content\">\n {/* TITLE */}\n <div\n class={{\n 'title-font font-semibold text-primary leading-regular': true,\n 'flex items-center': this.sticky,\n }}\n part=\"title\"\n >\n <slot />\n </div>\n {/* BODY */}\n <div\n class={{ 'text-primary text-s leading-regular': true, '!hidden': !this.hasContent }}\n part=\"body\"\n ref={(div) => {\n this.bodyElem = div;\n }}\n >\n <slot name=\"body\" onSlotchange={this.handleSlotChange} />\n </div>\n </div>\n {/* FOOTER */}\n <div\n class={{ 'flex items-start gap-xs': true, '!hidden': !this.hasFooter }}\n part=\"footer\"\n ref={(div) => {\n this.footerElem = div;\n }}\n >\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":";;;;6SAAO,MAAMA,EAAa,CAAC,OAAQ,UAAW,UAAW,QAAS,WCAlE,MAAMC,EAAa,IAAM,sizB,MCiGZC,EAAOC,EAAA,MAAAD,UAAAE,E,yNAIVC,oBACAC,SACAC,WACAC,a,qBAWSC,WAAa,MACbC,UAAY,MAMJC,YAGAC,OAA6B,IAG7BC,aAGAC,SAGeC,KAGfC,KAAe,IAGfC,KAAmB,UAGnBC,OAMzB,aAAAC,GACEC,KAAKf,qBAAqBgB,SAC1B,IAAKD,KAAKT,YAAa,OAEvBS,KAAKf,oBAAsBiB,GAAS,KAClCF,KAAKG,MAAM,GACVH,KAAKJ,MAER,GAAII,KAAKL,KAAMK,KAAKf,qB,CAItB,gBAAAmB,GACEJ,KAAKf,qBAAqBgB,SAE1B,IAAKD,KAAKL,KAAM,CACdK,KAAKK,aACL,M,CAGFL,KAAKM,aAEL,GAAIN,KAAKT,YAAa,CACpBS,KAAKf,qB,EAKT,eAAAsB,GACEC,EAAkB5B,EAAY,OAAQoB,KAAKS,GAAI,O,CAQxCC,OAGAC,OAGAC,YAGAC,YAMT,iBAAAC,GACEd,KAAKO,kBACLP,KAAKD,e,CAGP,gBAAAgB,GACEf,KAAKgB,mBAEL,IAAKhB,KAAKL,KAAM,CACdK,KAAKS,GAAGQ,UAAUC,IAAI,Y,EAgB1B,UAAMf,GACJH,KAAKL,KAAO,K,CAKd,UAAMwB,GACJnB,KAAKL,KAAO,I,CAQNU,WAAae,UACnB,MAAMC,EAAKrB,KAAKU,OAAOY,KAAKtB,KAAKS,IACjC,IAAKY,EAAGE,iBAAkB,OAClBC,EAAMxB,KAAKZ,cACjBY,KAAKS,GAAGQ,UAAUC,IAAI,aACtBlB,KAAKyB,qB,GAIDnB,WAAac,UACnB,MAAMC,EAAKrB,KAAKW,OAAOW,KAAKtB,KAAKS,IACjC,IAAKY,EAAGE,iBAAkB,CACxBvB,KAAKS,GAAGQ,UAAUS,OAAO,mBACnBC,EAAM3B,KAAKZ,cACjBY,KAAKyB,qB,GAIDA,oBAAsB,KAC5B,GAAIzB,KAAKL,KAAM,CACbK,KAAKY,YAAYU,OACjB,M,CAGFtB,KAAKa,YAAYS,MAAM,EAGjBN,iBAAmB,KACzBhB,KAAKX,WAAauC,EAAe5B,KAAKd,SAAU,QAChDc,KAAKV,UAAYsC,EAAe5B,KAAKb,WAAY,SAAS,EAG5D,YAAY0C,GACV,MAAMA,EAAW,CACfC,MAAO,WACPC,QAAS,eACTC,QAAS,kBAGX,OAAOH,EAAS7B,KAAKH,OAAS,M,CAOhC,MAAAoC,GACE,MAAMC,EAAQ,IACRlC,KAAKR,QAAU,CAAE,4BAA6B,oBAAoBQ,KAAKR,YAG7E,OACE2C,EAACC,EAAI,gBACWpC,KAAKL,KAAO,OAAS,QACnC0C,MAAO,CAAE,YAAarC,KAAKF,QAC3BwC,QAAStC,KAAKL,KAAO,OAAS,QAC9B4C,KAAK,QACLL,MAAOA,EAAKM,SAEZC,EACE,OAAAJ,MAAO,CAAE,CAAC,sBAAsBrC,KAAKH,QAAS,KAAM,YAAaG,KAAKF,QAAQ,wBACxD,mCAAkC,4BAC9B,cACE,0CAAW,wBACjB,kCAAiC,4BAC7B,YACE,4CAC5B4C,KAAK,UACLC,IAAMC,IACJ5C,KAAKZ,aAAewD,CAAG,EAIxBJ,SAAA,EAACxC,KAAKP,cACL0C,EAAA,aACEU,WAAW,OACXrD,OAAO,IACP6C,MAAM,8CACNS,YAAY,mBACZC,MAAM,cACNC,UAAW,IAAMhD,KAAKG,OACtB8C,SACA,KAAAC,KAAK,QAELV,SAAAL,EAAA,QAAMgB,KAAK,YACTX,SAAAL,EAAA,WAASgB,KAAK,IAAID,KAAM,GAAgB,sBAAS,0FAEzC,4CAGdf,EAAA,OACEE,MAAO,CACL,CAAC,mBAAmBrC,KAAKH,sCAAuC,KAChE,UAAWG,KAAKN,UAElBgD,KAAK,eAELF,SAAAL,EAAA,QAAMgB,KAAK,OACRX,SAAAxC,KAAKH,OAAS,WAAasC,EAAS,WAAAW,YAAY,WAAWK,KAAMnD,KAAK6B,SAAUa,KAAK,QAAS,0FAE7F,4CAEND,SAAKJ,MAAM,iEAAiEK,KAAK,OAC/EF,SAAA,CAAAC,EAAA,OAAKJ,MAAM,iDAAiDK,KAAK,UAASF,SAAA,CAExEL,EACE,OAAAE,MAAO,CACL,wDAAyD,KACzD,oBAAqBrC,KAAKF,QAE5B4C,KAAK,QAAOF,SAEZL,yDACI,4CAENA,EACE,OAAAE,MAAO,CAAE,sCAAuC,KAAM,WAAYrC,KAAKX,YACvEqD,KAAK,OACLC,IAAMC,IACJ5C,KAAKd,SAAW0D,CAAG,EACpBJ,SAEDL,EAAM,QAAAgB,KAAK,OAAOC,aAAcpD,KAAKgB,kBAAgB,6CACjD,0FAGRmB,EACE,OAAAE,MAAO,CAAE,0BAA2B,KAAM,WAAYrC,KAAKV,WAC3DoD,KAAK,SACLC,IAAMC,IACJ5C,KAAKb,WAAayD,CAAG,EACtBJ,SAEDL,EAAM,QAAAgB,KAAK,SAASC,aAAcpD,KAAKgB,kBAAoB,2FACvD,8CAEJ,wF","ignoreList":[]}
1
+ {"version":3,"names":["ALERT_TYPE","bqAlertCss","BqAlert","__stencil_proxyCustomElement","HTMLElement","autoDismissDebounce","bodyElem","footerElem","alertElement","hasContent","hasFooter","autoDismiss","border","disableClose","hideIcon","open","time","type","sticky","handleTimeout","this","cancel","debounce","hide","handleOpenChange","handleHide","handleShow","checkPropValues","validatePropValue","el","bqHide","bqShow","bqAfterShow","bqAfterHide","componentWillLoad","componentDidLoad","handleSlotChange","classList","add","show","async","ev","emit","defaultPrevented","leave","handleTransitionEnd","remove","enter","hasSlotContent","iconName","error","success","warning","render","style","_jsx","Host","class","hidden","role","children","_jsxs","part","ref","div","appearance","exportparts","label","onBqClick","onlyIcon","size","name","onSlotchange"],"sources":["../../packages/beeq/src/components/alert/bq-alert.types.ts","../../packages/beeq/src/components/alert/scss/bq-alert.scss?tag=bq-alert&encapsulation=shadow","../../packages/beeq/src/components/alert/bq-alert.tsx"],"sourcesContent":["export const ALERT_TYPE = ['info', 'success', 'warning', 'error', 'default'] as const;\nexport type TAlertType = (typeof ALERT_TYPE)[number];\n\nexport const ALERT_BORDER_RADIUS = ['none', 'xs2', 'xs', 's', 'm', 'l', 'full'] as const;\nexport type TAlertBorderRadius = (typeof ALERT_BORDER_RADIUS)[number];\n","/* -------------------------------------------------------------------------- */\n/* Alert styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-alert.variables';\n\n:host {\n @apply block;\n}\n\n:host(.is-hidden) {\n @apply hidden;\n}\n\n:host(.is-sticky) {\n @apply fixed inset-0 z-[var(--bq-alert--z-index)] is-full inset-bs-0;\n\n .bq-alert {\n @apply items-center justify-center rounded-none;\n }\n}\n\n.bq-alert {\n @apply relative flex transition-all min-is-[--bq-alert--min-width] p-b-[--bq-alert--padding] p-i-[--bq-alert--padding];\n @apply rounded-[var(--bq-alert--border-radius)] border-[length:--bq-alert--border-width];\n\n border-style: var(--bq-alert--border-style);\n}\n\n/**\n * Set the alert background and border color based on the type value selected\n */\n\n.bq-alert__default {\n @apply border-[color:--bq-alert--border-default] bg-[color:--bq-alert--background-default];\n}\n\n.bq-alert__error {\n @apply border-[color:--bq-alert--border-error] bg-[color:--bq-alert--background-error];\n}\n\n.bq-alert__info {\n @apply border-[color:--bq-alert--border-info] bg-[color:--bq-alert--background-info];\n}\n\n.bq-alert__success {\n @apply border-[color:--bq-alert--border-success] bg-[color:--bq-alert--background-success];\n}\n\n.bq-alert__warning {\n @apply border-[color:--bq-alert--border-warning] bg-[color:--bq-alert--background-warning];\n}\n\n/**\n * Set the alert icon color based on the type value selected\n */\n.bq-alert__icon {\n &--default {\n @apply text-[color:--bq-alert--icon-color-default];\n }\n\n &--error {\n @apply text-[color:--bq-alert--icon-color-error];\n }\n\n &--info {\n @apply text-[color:--bq-alert--icon-color-info];\n }\n\n &--success {\n @apply text-[color:--bq-alert--icon-color-success];\n }\n\n &--warning {\n @apply text-[color:--bq-alert--icon-color-warning];\n }\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { debounce, enter, hasSlotContent, leave, type TDebounce, validatePropValue } from '../../shared/utils';\nimport type { TAlertBorderRadius, TAlertType } from './bq-alert.types';\nimport { ALERT_TYPE } from './bq-alert.types';\n\n/**\n * The Alert is a user interface component used to convey important information to the user in a clear and concise manner.\n * It can be used to notify users of success, failure, warning, or any other type of information that needs to be brought to their attention.\n *\n * @example How to use it\n * ```html\n * <bq-alert>\n * <bq-icon name=\"star\" slot=\"icon\"></bq-icon>\n * Title\n * <span slot=\"body\">\n * Description\n * <a class=\"bq-link\" href=\"https://example.com\">Link</a>\n * </span>\n * <div slot=\"footer\">\n * <bq-button appearance=\"primary\" size=\"small\">Button</bq-button>\n * <bq-button appearance=\"link\" size=\"small\">Button</bq-button>\n * </div>\n * </bq-alert>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/848a50-alert\n * @status stable\n *\n * @dependency bq-button\n * @dependency bq-icon\n *\n * @attr {boolean} [auto-dismiss=false] - If true, the alert will automatically hide after the specified amount of time\n * @attr {\"none\" | \"xs2\" | \"xs\" | \"s\" | \"m\" | \"l\" | \"full\"} [border='s'] - The corner radius of the alert component\n * @attr {boolean} [disable-close=false] - If true, the close button at the top right of the alert won't be shown\n * @attr {boolean} [hide-icon=false] - If true, the alert icon won't be shown\n * @attr {boolean} [open=false] - If true, the alert will be shown\n * @attr {number} [time=3000] - The length of time, in milliseconds, after which the alert will close itself. Only valid if `autoDismiss=\"true\"`\n * @attr {\"info\" | \"success\" | \"warning\" | \"error\" | \"default\"} [type='default'] - Type of Alert\n * @attr {boolean} [sticky=false] - If true, the alert component will remain fixed at the top of the page, occupying the full viewport\n *\n * @event bqHide - Callback handler to be called when the alert is hidden\n * @event bqShow - Callback handler to be called when the alert is shown\n * @event bqAfterShow - Callback handler to be called after the alert has been shown\n * @event bqAfterHide - Callback handler to be called after the alert has been hidden\n *\n * @slot - The alert title content (no slot name required)\n * @slot body - The alert description content\n * @slot footer - The alert footer content\n * @slot icon - The predefined icon based on the alert type (info, success, warning, error, default)\n * @slot btn-close - The close button of the alert\n *\n * @part base - The `<div>` container of the predefined bq-icon component\n * @part body - The container `<div>` that wraps the alert description content\n * @part btn-close - The native button of the `bq-button` used to close the alert\n * @part content - The container `<div>` that wraps all the alert content (title, description, footer)\n * @part footer - The container `<div>` that wraps the alert footer content\n * @part icon - The `<bq-icon>` element used to render a predefined icon based on the alert type (info, success, warning, error, default)\n * @part icon-outline - The container `<div>` that wraps the icon element\n * @part main - The container `<div>` that wraps the alert main content (title, description)\n * @part svg - The `<svg>` element of the predefined bq-icon component\n * @part title - The container `<div>` that wraps the alert title content\n * @part wrapper - The wrapper container `<div>` of the element inside the shadow DOM\n *\n * @cssprop --bq-alert--background - The alert background color\n * @cssprop --bq-alert--border-radius - The alert border radius\n * @cssprop --bq-alert--content-footer-gap - The alert content and footer gap\n * @cssprop --bq-alert--title-body-gap - The alert title and body gap\n *\n * @cssprop --bq-alert--border-color - The alert border color\n * @cssprop --bq-alert--border-style - The alert border style\n * @cssprop --bq-alert--border-width - The alert border width\n *\n * @cssprop --bq-alert--background-info - The alert background color for info type\n * @cssprop --bq-alert--background-success - The alert background color for success type\n * @cssprop --bq-alert--background-warning - The alert background color for warning type\n * @cssprop --bq-alert--background-error - The alert background color for error type\n *\n * @cssprop --bq-alert--border-info - The alert border color for info type\n * @cssprop --bq-alert--border-success - The alert border color for success type\n * @cssprop --bq-alert--border-warning - The alert border color for warning type\n * @cssprop --bq-alert--border-error - The alert border color for error type\n *\n * @cssprop --bq-alert--icon-color-info - The alert icon color for info type\n * @cssprop --bq-alert--icon-color-success - The alert icon color for success type\n * @cssprop --bq-alert--icon-color-warning - The alert icon color for warning type\n * @cssprop --bq-alert--icon-color-error - The alert icon color for error type\n *\n * @cssprop --bq-alert--padding - The alert padding\n * @cssprop --bq-alert--min-width - The alert min width\n */\n@Component({\n tag: 'bq-alert',\n styleUrl: './scss/bq-alert.scss',\n shadow: true,\n})\nexport class BqAlert {\n // Own Properties\n // ====================\n\n private autoDismissDebounce: TDebounce<void>;\n private bodyElem: HTMLDivElement;\n private footerElem: HTMLDivElement;\n private alertElement: HTMLDivElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqAlertElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasContent = false;\n @State() private hasFooter = false;\n\n // Public Property API\n // ========================\n\n /** If true, the alert will automatically hide after the specified amount of time */\n @Prop({ reflect: true }) autoDismiss: boolean;\n\n /** The corner radius of the alert component */\n @Prop({ reflect: true }) border: TAlertBorderRadius = 's';\n\n /** If true, the close button at the top right of the alert won't be shown */\n @Prop({ reflect: true }) disableClose: boolean;\n\n /** If true, the alert icon won't be shown */\n @Prop({ reflect: true }) hideIcon: boolean;\n\n /** If true, the alert will be shown */\n @Prop({ reflect: true, mutable: true }) open: boolean;\n\n /** The length of time, in milliseconds, after which the alert will close itself. Only valid if `autoDismiss=\"true\"` */\n @Prop({ reflect: true }) time: number = 3000;\n\n /** Type of Alert */\n @Prop({ reflect: true }) type: TAlertType = 'default';\n\n /** If true, the alert component will remain fixed at the top of the page, occupying the full viewport */\n @Prop({ reflect: true }) sticky: boolean;\n\n // Prop lifecycle events\n // =======================\n @Watch('autoDismiss')\n @Watch('time')\n handleTimeout() {\n this.autoDismissDebounce?.cancel();\n if (!this.autoDismiss) return;\n\n this.autoDismissDebounce = debounce(() => {\n this.hide();\n }, this.time);\n // Make sure to autodismiss the notification if the `auto-dismiss` value changed while open\n if (this.open) this.autoDismissDebounce();\n }\n\n @Watch('open')\n handleOpenChange() {\n this.autoDismissDebounce?.cancel();\n\n if (!this.open) {\n this.handleHide();\n return;\n }\n\n this.handleShow();\n\n if (this.autoDismiss) {\n this.autoDismissDebounce();\n }\n }\n\n @Watch('type')\n checkPropValues() {\n validatePropValue(ALERT_TYPE, 'info', this.el, 'type');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the alert is hidden */\n @Event() bqHide!: EventEmitter;\n\n /** Callback handler to be called when the alert is shown */\n @Event() bqShow!: EventEmitter;\n\n /** Callback handler to be called after the alert has been shown */\n @Event() bqAfterShow!: EventEmitter;\n\n /** Callback handler to be called after the alert has been hidden */\n @Event() bqAfterHide!: EventEmitter;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkPropValues();\n this.handleTimeout();\n }\n\n componentDidLoad() {\n this.handleSlotChange();\n\n if (!this.open) {\n this.el.classList.add('is-hidden');\n }\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n /** Method to be called to hide the alert component */\n @Method()\n async hide(): Promise<void> {\n this.open = false;\n }\n\n /** Method to be called to show the alert component */\n @Method()\n async show(): Promise<void> {\n this.open = true;\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleHide = async () => {\n const ev = this.bqHide.emit(this.el);\n if (!ev.defaultPrevented) {\n await leave(this.alertElement);\n this.el.classList.add('is-hidden');\n this.handleTransitionEnd();\n }\n };\n\n private handleShow = async () => {\n const ev = this.bqShow.emit(this.el);\n if (!ev.defaultPrevented) {\n this.el.classList.remove('is-hidden');\n await enter(this.alertElement);\n this.handleTransitionEnd();\n }\n };\n\n private handleTransitionEnd = () => {\n if (this.open) {\n this.bqAfterShow.emit();\n return;\n }\n\n this.bqAfterHide.emit();\n };\n\n private handleSlotChange = () => {\n this.hasContent = hasSlotContent(this.bodyElem, 'body');\n this.hasFooter = hasSlotContent(this.footerElem, 'footer');\n };\n\n private get iconName(): string {\n const iconName = {\n error: 'x-circle',\n success: 'check-circle',\n warning: 'warning-circle',\n };\n\n return iconName[this.type] || 'info';\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const style = {\n ...(this.border && { '--bq-alert--border-radius': `var(--bq-radius--${this.border})` }),\n };\n\n return (\n <Host\n aria-hidden={!this.open ? 'true' : 'false'}\n class={{ 'is-sticky': this.sticky }}\n hidden={!this.open ? 'true' : 'false'}\n role=\"alert\"\n style={style}\n >\n <div\n class={{ [`bq-alert bq-alert__${this.type}`]: true, 'is-sticky': this.sticky }}\n data-transition-enter=\"transition ease-out duration-300\"\n data-transition-enter-end=\"opacity-100\"\n data-transition-enter-start=\"opacity-0\"\n data-transition-leave=\"transition ease-in duration-200\"\n data-transition-leave-end=\"opacity-0\"\n data-transition-leave-start=\"opacity-100\"\n part=\"wrapper\"\n ref={(div) => {\n this.alertElement = div;\n }}\n >\n {/* CLOSE BUTTON */}\n {!this.disableClose && (\n <bq-button\n appearance=\"text\"\n border=\"s\"\n class=\"absolute end-s [&::part(label)]:inline-flex\"\n exportparts=\"button:btn-close\"\n label=\"Close alert\"\n onBqClick={() => this.hide()}\n onlyIcon\n size=\"small\"\n >\n <slot name=\"btn-close\">\n <bq-icon name=\"x\" size={16} aria-hidden=\"true\" />\n </slot>\n </bq-button>\n )}\n {/* ICON */}\n <div\n class={{\n [`bq-alert__icon--${this.type} me-s flex text-left align-top`]: true,\n '!hidden': this.hideIcon,\n }}\n part=\"icon-outline\"\n >\n <slot name=\"icon\">\n {this.type !== 'default' && <bq-icon exportparts=\"base,svg\" name={this.iconName} part=\"icon\" />}\n </slot>\n </div>\n {/* MAIN */}\n <div class=\"flex flex-col items-start gap-[--bq-alert--content-footer-gap]\" part=\"main\">\n <div class=\"flex flex-col gap-[--bq-alert--title-body-gap]\" part=\"content\">\n {/* TITLE */}\n <div\n class={{\n 'title-font font-semibold text-primary leading-regular': true,\n 'flex items-center': this.sticky,\n }}\n part=\"title\"\n >\n <slot />\n </div>\n {/* BODY */}\n <div\n class={{ 'text-primary text-s leading-regular': true, '!hidden': !this.hasContent }}\n part=\"body\"\n ref={(div) => {\n this.bodyElem = div;\n }}\n >\n <slot name=\"body\" onSlotchange={this.handleSlotChange} />\n </div>\n </div>\n {/* FOOTER */}\n <div\n class={{ 'flex items-start gap-xs': true, '!hidden': !this.hasFooter }}\n part=\"footer\"\n ref={(div) => {\n this.footerElem = div;\n }}\n >\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}