@beeq/core 1.11.2 → 1.12.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 (737) hide show
  1. package/dist/beeq/beeq.esm.js +1 -1
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/index.esm.js +1 -1
  4. package/dist/beeq/p-039f7907.entry.js +6 -0
  5. package/dist/beeq/p-039f7907.entry.js.map +1 -0
  6. package/dist/beeq/{p-eb47c1ae.entry.js → p-043a472a.entry.js} +2 -2
  7. package/dist/beeq/p-043a472a.entry.js.map +1 -0
  8. package/dist/beeq/p-1b988f57.entry.js +6 -0
  9. package/dist/beeq/p-1b988f57.entry.js.map +1 -0
  10. package/dist/beeq/p-20de0359.entry.js +6 -0
  11. package/dist/beeq/p-20de0359.entry.js.map +1 -0
  12. package/dist/beeq/p-22e2de76.entry.js +6 -0
  13. package/dist/beeq/p-22e2de76.entry.js.map +1 -0
  14. package/dist/beeq/p-258e890f.entry.js +6 -0
  15. package/dist/beeq/p-258e890f.entry.js.map +1 -0
  16. package/dist/beeq/p-28c6cdbc.entry.js +6 -0
  17. package/dist/beeq/p-28c6cdbc.entry.js.map +1 -0
  18. package/dist/beeq/p-3c491238.entry.js +6 -0
  19. package/dist/beeq/p-3c491238.entry.js.map +1 -0
  20. package/dist/beeq/{p-cd53041f.entry.js → p-47404d61.entry.js} +2 -2
  21. package/dist/beeq/p-47404d61.entry.js.map +1 -0
  22. package/dist/beeq/p-50cbee50.entry.js +6 -0
  23. package/dist/beeq/p-50cbee50.entry.js.map +1 -0
  24. package/dist/beeq/{p-b88b2573.entry.js → p-52334e53.entry.js} +2 -2
  25. package/dist/{cjs/bq-tab.entry.cjs.js.map → beeq/p-52334e53.entry.js.map} +1 -1
  26. package/dist/beeq/p-552d3e73.entry.js +6 -0
  27. package/dist/beeq/p-552d3e73.entry.js.map +1 -0
  28. package/dist/{components/p-CXUO6Zub.js → beeq/p-55b686b4.entry.js} +2 -2
  29. package/dist/beeq/p-55b686b4.entry.js.map +1 -0
  30. package/dist/beeq/p-59cb331c.entry.js +6 -0
  31. package/dist/beeq/p-59cb331c.entry.js.map +1 -0
  32. package/dist/beeq/p-5e186220.entry.js +6 -0
  33. package/dist/beeq/p-5e186220.entry.js.map +1 -0
  34. package/dist/beeq/p-63f1dcd2.entry.js +6 -0
  35. package/dist/beeq/p-63f1dcd2.entry.js.map +1 -0
  36. package/dist/beeq/{p-662578a2.entry.js → p-6cac6da2.entry.js} +2 -2
  37. package/dist/beeq/p-6cac6da2.entry.js.map +1 -0
  38. package/dist/beeq/p-76d65605.entry.js +6 -0
  39. package/dist/beeq/p-76d65605.entry.js.map +1 -0
  40. package/dist/beeq/p-8379d440.entry.js +6 -0
  41. package/dist/beeq/p-8379d440.entry.js.map +1 -0
  42. package/dist/{components/p-B5XEhmuc.js → beeq/p-8a5e127b.entry.js} +2 -2
  43. package/dist/beeq/p-8a5e127b.entry.js.map +1 -0
  44. package/dist/beeq/{p-84e62655.entry.js → p-8cd20d85.entry.js} +2 -2
  45. package/dist/beeq/p-8cd20d85.entry.js.map +1 -0
  46. package/dist/beeq/{p-cb0639d5.entry.js → p-8e9d8445.entry.js} +2 -2
  47. package/dist/beeq/p-8e9d8445.entry.js.map +1 -0
  48. package/dist/{components/p-DHdYy1q5.js → beeq/p-8fd716b1.entry.js} +2 -2
  49. package/dist/beeq/p-8fd716b1.entry.js.map +1 -0
  50. package/dist/beeq/p-904e521c.entry.js +6 -0
  51. package/dist/beeq/p-904e521c.entry.js.map +1 -0
  52. package/dist/beeq/p-90b0fef1.entry.js +6 -0
  53. package/dist/beeq/p-90b0fef1.entry.js.map +1 -0
  54. package/dist/beeq/p-96a79f9b.entry.js +6 -0
  55. package/dist/beeq/p-96a79f9b.entry.js.map +1 -0
  56. package/dist/beeq/p-BIw6Ac7W.js +7 -0
  57. package/dist/beeq/p-BIw6Ac7W.js.map +1 -0
  58. package/dist/beeq/p-BRMw_HGf.js +6 -0
  59. package/dist/beeq/p-BRMw_HGf.js.map +1 -0
  60. package/dist/beeq/p-C33fRBEf.js +6 -0
  61. package/dist/beeq/p-C33fRBEf.js.map +1 -0
  62. package/dist/beeq/p-CpKQ7XUL.js +6 -0
  63. package/dist/beeq/p-CpKQ7XUL.js.map +1 -0
  64. package/dist/beeq/p-D1A0LpG_.js +6 -0
  65. package/dist/beeq/{p-BxgDLPzX.js.map → p-D1A0LpG_.js.map} +1 -1
  66. package/dist/beeq/p-a09d8901.entry.js +6 -0
  67. package/dist/beeq/p-a09d8901.entry.js.map +1 -0
  68. package/dist/beeq/p-a7a74198.entry.js +6 -0
  69. package/dist/beeq/p-a7a74198.entry.js.map +1 -0
  70. package/dist/beeq/p-a9cc76af.entry.js +6 -0
  71. package/dist/beeq/p-a9cc76af.entry.js.map +1 -0
  72. package/dist/beeq/p-b4a612db.entry.js +6 -0
  73. package/dist/beeq/p-b4a612db.entry.js.map +1 -0
  74. package/dist/beeq/{p-dc5aa386.entry.js → p-b7de07f5.entry.js} +2 -2
  75. package/dist/beeq/p-b7de07f5.entry.js.map +1 -0
  76. package/dist/beeq/p-be1b3e87.entry.js +6 -0
  77. package/dist/beeq/p-be1b3e87.entry.js.map +1 -0
  78. package/dist/beeq/p-c414e7c0.entry.js +6 -0
  79. package/dist/beeq/p-c414e7c0.entry.js.map +1 -0
  80. package/dist/beeq/p-d4ffd9f1.entry.js +6 -0
  81. package/dist/beeq/p-d4ffd9f1.entry.js.map +1 -0
  82. package/dist/{components/p-16lKXCDk.js → beeq/p-dfd80d40.entry.js} +2 -2
  83. package/dist/beeq/p-dfd80d40.entry.js.map +1 -0
  84. package/dist/beeq/{p-0bf5e367.entry.js → p-e394c440.entry.js} +2 -2
  85. package/dist/beeq/p-e394c440.entry.js.map +1 -0
  86. package/dist/beeq/p-e39e3d9c.entry.js +6 -0
  87. package/dist/beeq/{bq-switch.entry.esm.js.map → p-e39e3d9c.entry.js.map} +1 -1
  88. package/dist/beeq/p-ecef6efa.entry.js +6 -0
  89. package/dist/beeq/p-ecef6efa.entry.js.map +1 -0
  90. package/dist/beeq/p-f477b7ac.entry.js +6 -0
  91. package/dist/beeq/p-f477b7ac.entry.js.map +1 -0
  92. package/dist/beeq.html-custom-data.json +103 -48
  93. package/dist/cjs/beeq.cjs.js +5 -3
  94. package/dist/cjs/beeq.cjs.js.map +1 -1
  95. package/dist/cjs/bq-accordion-group.cjs.entry.js +20 -9
  96. package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -0
  97. package/dist/cjs/bq-accordion.cjs.entry.js +31 -20
  98. package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -0
  99. package/dist/cjs/bq-alert.cjs.entry.js +31 -20
  100. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -0
  101. package/dist/cjs/bq-avatar.cjs.entry.js +32 -19
  102. package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -0
  103. package/dist/cjs/bq-badge.cjs.entry.js +17 -12
  104. package/dist/cjs/bq-badge.cjs.entry.js.map +1 -0
  105. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +7 -4
  106. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -0
  107. package/dist/cjs/bq-breadcrumb.cjs.entry.js +11 -8
  108. package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -0
  109. package/dist/cjs/bq-button_2.cjs.entry.js +63 -30
  110. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -0
  111. package/dist/cjs/bq-card.cjs.entry.js +15 -10
  112. package/dist/cjs/bq-card.cjs.entry.js.map +1 -0
  113. package/dist/cjs/bq-checkbox.cjs.entry.js +16 -9
  114. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -0
  115. package/dist/cjs/bq-date-picker.cjs.entry.js +189 -137
  116. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -0
  117. package/dist/cjs/bq-dialog.cjs.entry.js +29 -20
  118. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -0
  119. package/dist/cjs/bq-divider.cjs.entry.js +29 -20
  120. package/dist/cjs/{bq-divider.entry.cjs.js.map → bq-divider.cjs.entry.js.map} +1 -1
  121. package/dist/cjs/bq-drawer.cjs.entry.js +33 -24
  122. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -0
  123. package/dist/cjs/bq-dropdown_2.cjs.entry.js +37 -18
  124. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -0
  125. package/dist/cjs/bq-empty-state.cjs.entry.js +34 -29
  126. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -0
  127. package/dist/cjs/bq-input.cjs.entry.js +31 -26
  128. package/dist/cjs/bq-input.cjs.entry.js.map +1 -0
  129. package/dist/cjs/bq-notification.cjs.entry.js +29 -18
  130. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -0
  131. package/dist/cjs/bq-option-group.cjs.entry.js +7 -4
  132. package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -0
  133. package/dist/cjs/bq-option-list_2.cjs.entry.js +25 -18
  134. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -0
  135. package/dist/cjs/bq-option.cjs.entry.js +20 -17
  136. package/dist/cjs/bq-option.cjs.entry.js.map +1 -0
  137. package/dist/cjs/bq-page-title.cjs.entry.js +16 -13
  138. package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -0
  139. package/dist/cjs/bq-progress.cjs.entry.js +30 -19
  140. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -0
  141. package/dist/cjs/bq-radio-group.cjs.entry.js +33 -12
  142. package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -0
  143. package/dist/cjs/bq-radio.cjs.entry.js +14 -11
  144. package/dist/cjs/bq-radio.cjs.entry.js.map +1 -0
  145. package/dist/cjs/bq-select.cjs.entry.js +56 -34
  146. package/dist/cjs/bq-select.cjs.entry.js.map +1 -0
  147. package/dist/cjs/bq-side-menu-item.cjs.entry.js +11 -8
  148. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -0
  149. package/dist/cjs/bq-side-menu.cjs.entry.js +13 -8
  150. package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -0
  151. package/dist/cjs/bq-slider.cjs.entry.js +38 -29
  152. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -0
  153. package/dist/cjs/bq-spinner.cjs.entry.js +25 -16
  154. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -0
  155. package/dist/cjs/bq-status.cjs.entry.js +10 -5
  156. package/dist/cjs/bq-status.cjs.entry.js.map +1 -0
  157. package/dist/cjs/bq-step-item.cjs.entry.js +37 -19
  158. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -0
  159. package/dist/cjs/bq-steps.cjs.entry.js +34 -10
  160. package/dist/cjs/bq-steps.cjs.entry.js.map +1 -0
  161. package/dist/cjs/{bq-steps.types-D4B3f19X.js → bq-steps.types-BvbHJAPO.js} +4 -2
  162. package/dist/cjs/bq-steps.types-BvbHJAPO.js.map +1 -0
  163. package/dist/cjs/bq-switch.cjs.entry.js +18 -13
  164. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -0
  165. package/dist/cjs/bq-tab-group.cjs.entry.js +29 -16
  166. package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -0
  167. package/dist/cjs/bq-tab.cjs.entry.js +19 -10
  168. package/dist/cjs/bq-tab.cjs.entry.js.map +1 -0
  169. package/dist/cjs/bq-textarea.cjs.entry.js +28 -21
  170. package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -0
  171. package/dist/cjs/bq-toast.cjs.entry.js +19 -8
  172. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -0
  173. package/dist/cjs/bq-tooltip.cjs.entry.js +28 -15
  174. package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -0
  175. package/dist/{collection/shared/utils/date.js → cjs/form-COLxwVaW.js} +146 -3
  176. package/dist/cjs/form-COLxwVaW.js.map +1 -0
  177. package/dist/cjs/index-C09ZVaB4.js +154 -0
  178. package/dist/cjs/index-C09ZVaB4.js.map +1 -0
  179. package/dist/cjs/{index-g8MkV15i.js → index-Cnm84YLJ.js} +294 -365
  180. package/dist/cjs/index-Cnm84YLJ.js.map +1 -0
  181. package/dist/cjs/index.cjs.js +13 -4
  182. package/dist/cjs/index.cjs.js.map +1 -1
  183. package/dist/cjs/{isHTMLElement-DMA6t4n4.js → isHTMLElement-CtkOWsTF.js} +3 -3
  184. package/dist/{esm/isHTMLElement-BxgDLPzX.js.map → cjs/isHTMLElement-CtkOWsTF.js.map} +1 -1
  185. package/dist/cjs/loader.cjs.js +4 -2
  186. package/dist/collection/collection-manifest.json +2 -2
  187. package/dist/collection/components/accordion/bq-accordion.js +18 -16
  188. package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
  189. package/dist/collection/components/accordion-group/bq-accordion-group.js +6 -4
  190. package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
  191. package/dist/collection/components/alert/bq-alert.js +20 -17
  192. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  193. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  194. package/dist/collection/components/avatar/bq-avatar.js +18 -15
  195. package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
  196. package/dist/collection/components/badge/bq-badge.js +12 -10
  197. package/dist/collection/components/badge/bq-badge.js.map +1 -1
  198. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +7 -6
  199. package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
  200. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +2 -2
  201. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
  202. package/dist/collection/components/button/bq-button.js +93 -36
  203. package/dist/collection/components/button/bq-button.js.map +1 -1
  204. package/dist/collection/components/button/scss/bq-button.css +1 -1
  205. package/dist/collection/components/card/bq-card.js +12 -9
  206. package/dist/collection/components/card/bq-card.js.map +1 -1
  207. package/dist/collection/components/checkbox/bq-checkbox.js +5 -5
  208. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  209. package/dist/collection/components/date-picker/bq-date-picker.js +113 -102
  210. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  211. package/dist/collection/components/date-picker/bq-date-picker.types.js +1 -0
  212. package/dist/collection/components/date-picker/bq-date-picker.types.js.map +1 -1
  213. package/dist/collection/components/date-picker/helper/constants.js +23 -0
  214. package/dist/collection/components/date-picker/helper/constants.js.map +1 -0
  215. package/dist/collection/components/date-picker/{helper → libs}/callyLibrary.js +57 -38
  216. package/dist/collection/components/date-picker/libs/callyLibrary.js.map +1 -0
  217. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  218. package/dist/collection/components/dialog/bq-dialog.js +21 -18
  219. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  220. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  221. package/dist/collection/components/divider/bq-divider.js +22 -18
  222. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  223. package/dist/collection/components/divider/scss/bq-divider.css +1 -1
  224. package/dist/collection/components/drawer/bq-drawer.js +24 -21
  225. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  226. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  227. package/dist/collection/components/dropdown/bq-dropdown.js +4 -3
  228. package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
  229. package/dist/collection/components/empty-state/bq-empty-state.js +28 -27
  230. package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
  231. package/dist/collection/components/icon/bq-icon.js +5 -3
  232. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  233. package/dist/collection/components/input/bq-input.js +28 -25
  234. package/dist/collection/components/input/bq-input.js.map +1 -1
  235. package/dist/collection/components/input/scss/bq-input.css +1 -1
  236. package/dist/collection/components/notification/bq-notification.js +17 -14
  237. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  238. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  239. package/dist/collection/components/option/bq-option.js +16 -15
  240. package/dist/collection/components/option/bq-option.js.map +1 -1
  241. package/dist/collection/components/option-group/bq-option-group.js +2 -2
  242. package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
  243. package/dist/collection/components/option-list/bq-option-list.js +2 -2
  244. package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
  245. package/dist/collection/components/page-title/bq-page-title.js +11 -11
  246. package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
  247. package/dist/collection/components/panel/bq-panel.js +5 -4
  248. package/dist/collection/components/panel/bq-panel.js.map +1 -1
  249. package/dist/collection/components/progress/bq-progress.js +20 -16
  250. package/dist/collection/components/progress/bq-progress.js.map +1 -1
  251. package/dist/collection/components/radio/bq-radio.js +10 -9
  252. package/dist/collection/components/radio/bq-radio.js.map +1 -1
  253. package/dist/collection/components/radio-group/bq-radio-group.js +5 -3
  254. package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
  255. package/dist/collection/components/select/bq-select.js +48 -29
  256. package/dist/collection/components/select/bq-select.js.map +1 -1
  257. package/dist/collection/components/select/scss/bq-select.css +1 -1
  258. package/dist/collection/components/side-menu/bq-side-menu.js +8 -6
  259. package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
  260. package/dist/collection/components/side-menu-item/bq-side-menu-item.js +6 -6
  261. package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
  262. package/dist/collection/components/slider/bq-slider.js +30 -27
  263. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  264. package/dist/collection/components/spinner/bq-spinner.js +14 -12
  265. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  266. package/dist/collection/components/status/bq-status.js +4 -3
  267. package/dist/collection/components/status/bq-status.js.map +1 -1
  268. package/dist/collection/components/step-item/bq-step-item.js +105 -17
  269. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  270. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  271. package/dist/collection/components/steps/bq-steps.js +55 -8
  272. package/dist/collection/components/steps/bq-steps.js.map +1 -1
  273. package/dist/collection/components/steps/bq-steps.types.js +1 -0
  274. package/dist/collection/components/steps/bq-steps.types.js.map +1 -1
  275. package/dist/collection/components/steps/scss/bq-steps.css +1 -1
  276. package/dist/collection/components/switch/bq-switch.js +15 -12
  277. package/dist/collection/components/switch/bq-switch.js.map +1 -1
  278. package/dist/collection/components/tab/bq-tab.js +11 -8
  279. package/dist/collection/components/tab/bq-tab.js.map +1 -1
  280. package/dist/collection/components/tab-group/bq-tab-group.js +15 -11
  281. package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
  282. package/dist/collection/components/tag/bq-tag.js +19 -14
  283. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  284. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  285. package/dist/collection/components/textarea/bq-textarea.js +22 -19
  286. package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
  287. package/dist/collection/components/toast/bq-toast.js +9 -5
  288. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  289. package/dist/collection/components/tooltip/bq-tooltip.js +10 -9
  290. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  291. package/dist/collection/shared/utils/date/dateFormatting.js +86 -0
  292. package/dist/collection/shared/utils/date/dateFormatting.js.map +1 -0
  293. package/dist/{cjs/date-C-h2CBps.js → collection/shared/utils/date/dateParsing.js} +19 -8
  294. package/dist/collection/shared/utils/date/dateParsing.js.map +1 -0
  295. package/dist/collection/shared/utils/date/index.js +7 -0
  296. package/dist/collection/shared/utils/date/index.js.map +1 -0
  297. package/dist/collection/shared/utils/form.js +35 -0
  298. package/dist/collection/shared/utils/form.js.map +1 -0
  299. package/dist/collection/shared/utils/index.js +1 -0
  300. package/dist/collection/shared/utils/index.js.map +1 -1
  301. package/dist/collection/shared/utils/isHTMLElement.js +1 -1
  302. package/dist/collection/shared/utils/isHTMLElement.js.map +1 -1
  303. package/dist/components/bq-accordion-group.js +1 -1
  304. package/dist/components/bq-accordion-group.js.map +1 -1
  305. package/dist/components/bq-accordion.js +1 -1
  306. package/dist/components/bq-accordion.js.map +1 -1
  307. package/dist/components/bq-alert.js +1 -1
  308. package/dist/components/bq-alert.js.map +1 -1
  309. package/dist/components/bq-avatar.js +1 -1
  310. package/dist/components/bq-avatar.js.map +1 -1
  311. package/dist/components/bq-badge.js +1 -1
  312. package/dist/components/bq-breadcrumb-item.js +1 -1
  313. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  314. package/dist/components/bq-breadcrumb.js +1 -1
  315. package/dist/components/bq-breadcrumb.js.map +1 -1
  316. package/dist/components/bq-button.js +1 -1
  317. package/dist/components/bq-card.js +1 -1
  318. package/dist/components/bq-card.js.map +1 -1
  319. package/dist/components/bq-checkbox.js +1 -1
  320. package/dist/components/bq-checkbox.js.map +1 -1
  321. package/dist/components/bq-date-picker.js +1 -1
  322. package/dist/components/bq-date-picker.js.map +1 -1
  323. package/dist/components/bq-dialog.js +1 -1
  324. package/dist/components/bq-dialog.js.map +1 -1
  325. package/dist/components/bq-divider.js +1 -1
  326. package/dist/components/bq-drawer.js +1 -1
  327. package/dist/components/bq-drawer.js.map +1 -1
  328. package/dist/components/bq-dropdown.js +1 -1
  329. package/dist/components/bq-empty-state.js +1 -1
  330. package/dist/components/bq-empty-state.js.map +1 -1
  331. package/dist/components/bq-icon.js +1 -1
  332. package/dist/components/bq-input.js +1 -1
  333. package/dist/components/bq-input.js.map +1 -1
  334. package/dist/components/bq-notification.js +1 -1
  335. package/dist/components/bq-notification.js.map +1 -1
  336. package/dist/components/bq-option-group.js +1 -1
  337. package/dist/components/bq-option-group.js.map +1 -1
  338. package/dist/components/bq-option-list.js +1 -1
  339. package/dist/components/bq-option.js +1 -1
  340. package/dist/components/bq-option.js.map +1 -1
  341. package/dist/components/bq-page-title.js +1 -1
  342. package/dist/components/bq-page-title.js.map +1 -1
  343. package/dist/components/bq-panel.js +1 -1
  344. package/dist/components/bq-progress.js +1 -1
  345. package/dist/components/bq-progress.js.map +1 -1
  346. package/dist/components/bq-radio-group.js +1 -1
  347. package/dist/components/bq-radio-group.js.map +1 -1
  348. package/dist/components/bq-radio.js +1 -1
  349. package/dist/components/bq-radio.js.map +1 -1
  350. package/dist/components/bq-select.js +1 -1
  351. package/dist/components/bq-select.js.map +1 -1
  352. package/dist/components/bq-side-menu-item.js +1 -1
  353. package/dist/components/bq-side-menu-item.js.map +1 -1
  354. package/dist/components/bq-side-menu.js +1 -1
  355. package/dist/components/bq-side-menu.js.map +1 -1
  356. package/dist/components/bq-slider.js +1 -1
  357. package/dist/components/bq-slider.js.map +1 -1
  358. package/dist/components/bq-spinner.js +1 -1
  359. package/dist/components/bq-spinner.js.map +1 -1
  360. package/dist/components/bq-status.js +1 -1
  361. package/dist/components/bq-status.js.map +1 -1
  362. package/dist/components/bq-step-item.js +1 -1
  363. package/dist/components/bq-step-item.js.map +1 -1
  364. package/dist/components/bq-steps.js +1 -1
  365. package/dist/components/bq-steps.js.map +1 -1
  366. package/dist/components/bq-switch.js +1 -1
  367. package/dist/components/bq-switch.js.map +1 -1
  368. package/dist/components/bq-tab-group.js +1 -1
  369. package/dist/components/bq-tab-group.js.map +1 -1
  370. package/dist/components/bq-tab.js +1 -1
  371. package/dist/components/bq-tab.js.map +1 -1
  372. package/dist/components/bq-tag.js +1 -1
  373. package/dist/components/bq-textarea.js +1 -1
  374. package/dist/components/bq-textarea.js.map +1 -1
  375. package/dist/components/bq-toast.js +1 -1
  376. package/dist/components/bq-toast.js.map +1 -1
  377. package/dist/components/bq-tooltip.js +1 -1
  378. package/dist/components/index.d.ts +1 -0
  379. package/dist/components/index.js +1 -1
  380. package/dist/components/index.js.map +1 -1
  381. package/dist/{beeq/p-4647a0fb.entry.js → components/p-B93kqFqH.js} +2 -2
  382. package/dist/components/p-B93kqFqH.js.map +1 -0
  383. package/dist/components/p-BRMw_HGf.js +6 -0
  384. package/dist/components/p-BRMw_HGf.js.map +1 -0
  385. package/dist/components/p-BcmnHFqE.js +6 -0
  386. package/dist/components/p-BcmnHFqE.js.map +1 -0
  387. package/dist/components/p-Bi6ozE0v.js +6 -0
  388. package/dist/components/p-Bi6ozE0v.js.map +1 -0
  389. package/dist/{beeq/p-b1d2e472.entry.js → components/p-C6pBQ61U.js} +2 -2
  390. package/dist/components/p-C6pBQ61U.js.map +1 -0
  391. package/dist/components/{p-DGysEMss.js → p-CCQ_5HvV.js} +2 -2
  392. package/dist/components/p-CCQ_5HvV.js.map +1 -0
  393. package/dist/components/p-D1A0LpG_.js +6 -0
  394. package/dist/components/{p-BxgDLPzX.js.map → p-D1A0LpG_.js.map} +1 -1
  395. package/dist/components/p-DhVt1fuD.js +6 -0
  396. package/dist/components/p-DhVt1fuD.js.map +1 -0
  397. package/dist/components/p-SKH1pCPg.js +6 -0
  398. package/dist/components/p-SKH1pCPg.js.map +1 -0
  399. package/dist/components/{p-A6e1tN-B.js → p-plkW8XNd.js} +2 -2
  400. package/dist/components/p-plkW8XNd.js.map +1 -0
  401. package/dist/components/p-qVvRSuP7.js +6 -0
  402. package/dist/components/p-qVvRSuP7.js.map +1 -0
  403. package/dist/components/p-yO5LAmkd.js +6 -0
  404. package/dist/components/p-yO5LAmkd.js.map +1 -0
  405. package/dist/custom-elements.json +1543 -811
  406. package/dist/esm/beeq.js +6 -4
  407. package/dist/esm/beeq.js.map +1 -1
  408. package/dist/esm/bq-accordion-group.entry.js +20 -9
  409. package/dist/esm/bq-accordion-group.entry.js.map +1 -1
  410. package/dist/esm/bq-accordion.entry.js +31 -20
  411. package/dist/esm/bq-accordion.entry.js.map +1 -1
  412. package/dist/esm/bq-alert.entry.js +31 -20
  413. package/dist/esm/bq-alert.entry.js.map +1 -1
  414. package/dist/esm/bq-avatar.entry.js +32 -19
  415. package/dist/esm/bq-avatar.entry.js.map +1 -1
  416. package/dist/esm/bq-badge.entry.js +17 -12
  417. package/dist/esm/bq-badge.entry.js.map +1 -1
  418. package/dist/esm/bq-breadcrumb-item.entry.js +7 -4
  419. package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
  420. package/dist/esm/bq-breadcrumb.entry.js +11 -8
  421. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  422. package/dist/esm/bq-button_2.entry.js +63 -30
  423. package/dist/esm/bq-button_2.entry.js.map +1 -0
  424. package/dist/esm/bq-card.entry.js +15 -10
  425. package/dist/esm/bq-card.entry.js.map +1 -1
  426. package/dist/esm/bq-checkbox.entry.js +16 -9
  427. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  428. package/dist/esm/bq-date-picker.entry.js +188 -136
  429. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  430. package/dist/esm/bq-dialog.entry.js +29 -20
  431. package/dist/esm/bq-dialog.entry.js.map +1 -1
  432. package/dist/esm/bq-divider.entry.js +29 -20
  433. package/dist/esm/bq-divider.entry.js.map +1 -1
  434. package/dist/esm/bq-drawer.entry.js +33 -24
  435. package/dist/esm/bq-drawer.entry.js.map +1 -1
  436. package/dist/esm/bq-dropdown_2.entry.js +35 -16
  437. package/dist/esm/bq-dropdown_2.entry.js.map +1 -0
  438. package/dist/esm/bq-empty-state.entry.js +34 -29
  439. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  440. package/dist/esm/bq-input.entry.js +31 -26
  441. package/dist/esm/bq-input.entry.js.map +1 -1
  442. package/dist/esm/bq-notification.entry.js +29 -18
  443. package/dist/esm/bq-notification.entry.js.map +1 -1
  444. package/dist/esm/bq-option-group.entry.js +7 -4
  445. package/dist/esm/bq-option-group.entry.js.map +1 -1
  446. package/dist/esm/bq-option-list_2.entry.js +25 -18
  447. package/dist/esm/bq-option-list_2.entry.js.map +1 -0
  448. package/dist/esm/bq-option.entry.js +20 -17
  449. package/dist/esm/bq-option.entry.js.map +1 -1
  450. package/dist/esm/bq-page-title.entry.js +16 -13
  451. package/dist/esm/bq-page-title.entry.js.map +1 -1
  452. package/dist/esm/bq-progress.entry.js +30 -19
  453. package/dist/esm/bq-progress.entry.js.map +1 -1
  454. package/dist/esm/bq-radio-group.entry.js +33 -12
  455. package/dist/esm/bq-radio-group.entry.js.map +1 -1
  456. package/dist/esm/bq-radio.entry.js +14 -11
  457. package/dist/esm/bq-radio.entry.js.map +1 -1
  458. package/dist/esm/bq-select.entry.js +53 -31
  459. package/dist/esm/bq-select.entry.js.map +1 -1
  460. package/dist/esm/bq-side-menu-item.entry.js +11 -8
  461. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  462. package/dist/esm/bq-side-menu.entry.js +13 -8
  463. package/dist/esm/bq-side-menu.entry.js.map +1 -1
  464. package/dist/esm/bq-slider.entry.js +38 -29
  465. package/dist/esm/bq-slider.entry.js.map +1 -1
  466. package/dist/esm/bq-spinner.entry.js +25 -16
  467. package/dist/esm/bq-spinner.entry.js.map +1 -1
  468. package/dist/esm/bq-status.entry.js +10 -5
  469. package/dist/esm/bq-status.entry.js.map +1 -1
  470. package/dist/esm/bq-step-item.entry.js +37 -19
  471. package/dist/esm/bq-step-item.entry.js.map +1 -1
  472. package/dist/esm/bq-steps.entry.js +34 -10
  473. package/dist/esm/bq-steps.entry.js.map +1 -1
  474. package/dist/esm/bq-steps.types-BRMw_HGf.js +12 -0
  475. package/dist/esm/bq-steps.types-BRMw_HGf.js.map +1 -0
  476. package/dist/esm/bq-switch.entry.js +18 -13
  477. package/dist/esm/bq-switch.entry.js.map +1 -1
  478. package/dist/esm/bq-tab-group.entry.js +29 -16
  479. package/dist/esm/bq-tab-group.entry.js.map +1 -1
  480. package/dist/esm/bq-tab.entry.js +19 -10
  481. package/dist/esm/bq-tab.entry.js.map +1 -1
  482. package/dist/esm/bq-textarea.entry.js +28 -21
  483. package/dist/esm/bq-textarea.entry.js.map +1 -1
  484. package/dist/esm/bq-toast.entry.js +19 -8
  485. package/dist/esm/bq-toast.entry.js.map +1 -1
  486. package/dist/esm/bq-tooltip.entry.js +28 -15
  487. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  488. package/dist/esm/{date-igOoibr-.js → form-DLjuE3KX.js} +132 -3
  489. package/dist/esm/form-DLjuE3KX.js.map +1 -0
  490. package/dist/esm/{index-BOf9EC3C.js → index-BIw6Ac7W.js} +295 -365
  491. package/dist/esm/index-BIw6Ac7W.js.map +1 -0
  492. package/dist/esm/index-C33fRBEf.js +151 -0
  493. package/dist/esm/index-C33fRBEf.js.map +1 -0
  494. package/dist/esm/index.js +4 -2
  495. package/dist/esm/{isHTMLElement-BxgDLPzX.js → isHTMLElement-D1A0LpG_.js} +3 -3
  496. package/dist/{cjs/isHTMLElement-DMA6t4n4.js.map → esm/isHTMLElement-D1A0LpG_.js.map} +1 -1
  497. package/dist/esm/loader.js +5 -3
  498. package/dist/hydrate/index.d.ts +12 -0
  499. package/dist/hydrate/index.js +6360 -2418
  500. package/dist/hydrate/index.mjs +6359 -2419
  501. package/dist/stencil.config.js +1 -0
  502. package/dist/stencil.config.js.map +1 -1
  503. package/dist/types/components/accordion/bq-accordion.d.ts +1 -1
  504. package/dist/types/components/accordion-group/bq-accordion-group.d.ts +1 -1
  505. package/dist/types/components/alert/bq-alert.d.ts +2 -2
  506. package/dist/types/components/avatar/bq-avatar.d.ts +1 -1
  507. package/dist/types/components/badge/bq-badge.d.ts +1 -1
  508. package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +1 -1
  509. package/dist/types/components/breadcrumb-item/bq-breadcrumb-item.d.ts +1 -1
  510. package/dist/types/components/button/bq-button.d.ts +18 -15
  511. package/dist/types/components/card/bq-card.d.ts +1 -1
  512. package/dist/types/components/checkbox/bq-checkbox.d.ts +1 -1
  513. package/dist/types/components/date-picker/bq-date-picker.d.ts +63 -18
  514. package/dist/types/components/date-picker/bq-date-picker.types.d.ts +31 -5
  515. package/dist/types/components/date-picker/helper/constants.d.ts +18 -0
  516. package/dist/types/components/date-picker/libs/callyLibrary.d.ts +15 -0
  517. package/dist/types/components/dialog/bq-dialog.d.ts +1 -1
  518. package/dist/types/components/divider/bq-divider.d.ts +1 -1
  519. package/dist/types/components/drawer/bq-drawer.d.ts +1 -1
  520. package/dist/types/components/dropdown/bq-dropdown.d.ts +1 -1
  521. package/dist/types/components/empty-state/bq-empty-state.d.ts +1 -1
  522. package/dist/types/components/icon/bq-icon.d.ts +1 -1
  523. package/dist/types/components/input/bq-input.d.ts +1 -1
  524. package/dist/types/components/notification/bq-notification.d.ts +1 -1
  525. package/dist/types/components/option/bq-option.d.ts +1 -1
  526. package/dist/types/components/option-group/bq-option-group.d.ts +1 -1
  527. package/dist/types/components/option-list/bq-option-list.d.ts +1 -1
  528. package/dist/types/components/page-title/bq-page-title.d.ts +1 -1
  529. package/dist/types/components/panel/bq-panel.d.ts +1 -1
  530. package/dist/types/components/progress/bq-progress.d.ts +1 -1
  531. package/dist/types/components/radio/bq-radio.d.ts +1 -1
  532. package/dist/types/components/radio-group/bq-radio-group.d.ts +1 -1
  533. package/dist/types/components/select/bq-select.d.ts +2 -1
  534. package/dist/types/components/side-menu/bq-side-menu.d.ts +1 -1
  535. package/dist/types/components/side-menu-item/bq-side-menu-item.d.ts +1 -1
  536. package/dist/types/components/slider/bq-slider.d.ts +1 -1
  537. package/dist/types/components/spinner/bq-spinner.d.ts +1 -1
  538. package/dist/types/components/status/bq-status.d.ts +1 -1
  539. package/dist/types/components/step-item/bq-step-item.d.ts +12 -2
  540. package/dist/types/components/steps/bq-steps.d.ts +6 -2
  541. package/dist/types/components/steps/bq-steps.types.d.ts +2 -0
  542. package/dist/types/components/switch/bq-switch.d.ts +1 -1
  543. package/dist/types/components/tab/bq-tab.d.ts +1 -1
  544. package/dist/types/components/tab-group/bq-tab-group.d.ts +1 -1
  545. package/dist/types/components/tag/bq-tag.d.ts +1 -1
  546. package/dist/types/components/textarea/bq-textarea.d.ts +1 -1
  547. package/dist/types/components/toast/bq-toast.d.ts +1 -1
  548. package/dist/types/components/tooltip/bq-tooltip.d.ts +1 -1
  549. package/dist/types/components.d.ts +114 -27
  550. package/dist/types/shared/utils/date/dateFormatting.d.ts +29 -0
  551. package/dist/types/shared/utils/{date.d.ts → date/dateParsing.d.ts} +16 -2
  552. package/dist/types/shared/utils/date/index.d.ts +2 -0
  553. package/dist/types/shared/utils/form.d.ts +28 -0
  554. package/dist/types/shared/utils/index.d.ts +1 -0
  555. package/dist/types/stencil-public-runtime.d.ts +87 -4
  556. package/package.json +3 -2
  557. package/dist/beeq/bq-accordion-group.entry.esm.js.map +0 -1
  558. package/dist/beeq/bq-accordion.entry.esm.js.map +0 -1
  559. package/dist/beeq/bq-alert.entry.esm.js.map +0 -1
  560. package/dist/beeq/bq-avatar.entry.esm.js.map +0 -1
  561. package/dist/beeq/bq-badge.entry.esm.js.map +0 -1
  562. package/dist/beeq/bq-breadcrumb-item.entry.esm.js.map +0 -1
  563. package/dist/beeq/bq-breadcrumb.entry.esm.js.map +0 -1
  564. package/dist/beeq/bq-button.bq-icon.entry.esm.js.map +0 -1
  565. package/dist/beeq/bq-card.entry.esm.js.map +0 -1
  566. package/dist/beeq/bq-checkbox.entry.esm.js.map +0 -1
  567. package/dist/beeq/bq-date-picker.entry.esm.js.map +0 -1
  568. package/dist/beeq/bq-dialog.entry.esm.js.map +0 -1
  569. package/dist/beeq/bq-divider.entry.esm.js.map +0 -1
  570. package/dist/beeq/bq-drawer.entry.esm.js.map +0 -1
  571. package/dist/beeq/bq-dropdown.bq-panel.entry.esm.js.map +0 -1
  572. package/dist/beeq/bq-empty-state.entry.esm.js.map +0 -1
  573. package/dist/beeq/bq-input.entry.esm.js.map +0 -1
  574. package/dist/beeq/bq-notification.entry.esm.js.map +0 -1
  575. package/dist/beeq/bq-option-group.entry.esm.js.map +0 -1
  576. package/dist/beeq/bq-option-list.bq-tag.entry.esm.js.map +0 -1
  577. package/dist/beeq/bq-option.entry.esm.js.map +0 -1
  578. package/dist/beeq/bq-page-title.entry.esm.js.map +0 -1
  579. package/dist/beeq/bq-progress.entry.esm.js.map +0 -1
  580. package/dist/beeq/bq-radio-group.entry.esm.js.map +0 -1
  581. package/dist/beeq/bq-radio.entry.esm.js.map +0 -1
  582. package/dist/beeq/bq-select.entry.esm.js.map +0 -1
  583. package/dist/beeq/bq-side-menu-item.entry.esm.js.map +0 -1
  584. package/dist/beeq/bq-side-menu.entry.esm.js.map +0 -1
  585. package/dist/beeq/bq-slider.entry.esm.js.map +0 -1
  586. package/dist/beeq/bq-spinner.entry.esm.js.map +0 -1
  587. package/dist/beeq/bq-status.entry.esm.js.map +0 -1
  588. package/dist/beeq/bq-step-item.entry.esm.js.map +0 -1
  589. package/dist/beeq/bq-steps.entry.esm.js.map +0 -1
  590. package/dist/beeq/bq-tab-group.entry.esm.js.map +0 -1
  591. package/dist/beeq/bq-tab.entry.esm.js.map +0 -1
  592. package/dist/beeq/bq-textarea.entry.esm.js.map +0 -1
  593. package/dist/beeq/bq-toast.entry.esm.js.map +0 -1
  594. package/dist/beeq/bq-tooltip.entry.esm.js.map +0 -1
  595. package/dist/beeq/loader.esm.js.map +0 -1
  596. package/dist/beeq/p-0bf5e367.entry.js.map +0 -1
  597. package/dist/beeq/p-16defa87.entry.js +0 -6
  598. package/dist/beeq/p-16defa87.entry.js.map +0 -1
  599. package/dist/beeq/p-17de1ba4.entry.js +0 -6
  600. package/dist/beeq/p-17de1ba4.entry.js.map +0 -1
  601. package/dist/beeq/p-1df8fe61.entry.js +0 -6
  602. package/dist/beeq/p-1df8fe61.entry.js.map +0 -1
  603. package/dist/beeq/p-24749f67.entry.js +0 -6
  604. package/dist/beeq/p-24749f67.entry.js.map +0 -1
  605. package/dist/beeq/p-38add122.entry.js +0 -6
  606. package/dist/beeq/p-38add122.entry.js.map +0 -1
  607. package/dist/beeq/p-454fa535.entry.js +0 -6
  608. package/dist/beeq/p-454fa535.entry.js.map +0 -1
  609. package/dist/beeq/p-4647a0fb.entry.js.map +0 -1
  610. package/dist/beeq/p-4725a142.entry.js +0 -6
  611. package/dist/beeq/p-4725a142.entry.js.map +0 -1
  612. package/dist/beeq/p-51351eed.entry.js +0 -6
  613. package/dist/beeq/p-51351eed.entry.js.map +0 -1
  614. package/dist/beeq/p-5b0a56e7.entry.js +0 -6
  615. package/dist/beeq/p-5b0a56e7.entry.js.map +0 -1
  616. package/dist/beeq/p-5c23324d.entry.js +0 -6
  617. package/dist/beeq/p-5c23324d.entry.js.map +0 -1
  618. package/dist/beeq/p-5df7df5d.entry.js +0 -6
  619. package/dist/beeq/p-5df7df5d.entry.js.map +0 -1
  620. package/dist/beeq/p-5e8c8e90.entry.js +0 -6
  621. package/dist/beeq/p-5e8c8e90.entry.js.map +0 -1
  622. package/dist/beeq/p-662578a2.entry.js.map +0 -1
  623. package/dist/beeq/p-6ae2ca4b.entry.js +0 -6
  624. package/dist/beeq/p-6ae2ca4b.entry.js.map +0 -1
  625. package/dist/beeq/p-7ca73c06.entry.js +0 -6
  626. package/dist/beeq/p-7ca73c06.entry.js.map +0 -1
  627. package/dist/beeq/p-84e62655.entry.js.map +0 -1
  628. package/dist/beeq/p-93d6f4f0.entry.js +0 -6
  629. package/dist/beeq/p-93d6f4f0.entry.js.map +0 -1
  630. package/dist/beeq/p-9585221e.entry.js +0 -6
  631. package/dist/beeq/p-9585221e.entry.js.map +0 -1
  632. package/dist/beeq/p-9c9a83f8.entry.js +0 -6
  633. package/dist/beeq/p-9c9a83f8.entry.js.map +0 -1
  634. package/dist/beeq/p-9e9baa82.entry.js +0 -6
  635. package/dist/beeq/p-9e9baa82.entry.js.map +0 -1
  636. package/dist/beeq/p-BOf9EC3C.js +0 -7
  637. package/dist/beeq/p-BOf9EC3C.js.map +0 -1
  638. package/dist/beeq/p-BxgDLPzX.js +0 -6
  639. package/dist/beeq/p-DEUOprS4.js +0 -6
  640. package/dist/beeq/p-DEUOprS4.js.map +0 -1
  641. package/dist/beeq/p-b1d2e472.entry.js.map +0 -1
  642. package/dist/beeq/p-b7efb629.entry.js +0 -6
  643. package/dist/beeq/p-b7efb629.entry.js.map +0 -1
  644. package/dist/beeq/p-b88b2573.entry.js.map +0 -1
  645. package/dist/beeq/p-bfca08f5.entry.js +0 -6
  646. package/dist/beeq/p-bfca08f5.entry.js.map +0 -1
  647. package/dist/beeq/p-c63b89d2.entry.js +0 -6
  648. package/dist/beeq/p-c63b89d2.entry.js.map +0 -1
  649. package/dist/beeq/p-ca93325b.entry.js +0 -6
  650. package/dist/beeq/p-ca93325b.entry.js.map +0 -1
  651. package/dist/beeq/p-cb0639d5.entry.js.map +0 -1
  652. package/dist/beeq/p-cd53041f.entry.js.map +0 -1
  653. package/dist/beeq/p-d31e8b6a.entry.js +0 -6
  654. package/dist/beeq/p-d31e8b6a.entry.js.map +0 -1
  655. package/dist/beeq/p-d8118f0b.entry.js +0 -6
  656. package/dist/beeq/p-d8118f0b.entry.js.map +0 -1
  657. package/dist/beeq/p-d9c5ab1d.entry.js +0 -6
  658. package/dist/beeq/p-d9c5ab1d.entry.js.map +0 -1
  659. package/dist/beeq/p-dc5aa386.entry.js.map +0 -1
  660. package/dist/beeq/p-dcda1181.entry.js +0 -6
  661. package/dist/beeq/p-dcda1181.entry.js.map +0 -1
  662. package/dist/beeq/p-eaa8c123.entry.js +0 -6
  663. package/dist/beeq/p-eaa8c123.entry.js.map +0 -1
  664. package/dist/beeq/p-eb47c1ae.entry.js.map +0 -1
  665. package/dist/beeq/p-eb6eac82.entry.js +0 -6
  666. package/dist/beeq/p-eb6eac82.entry.js.map +0 -1
  667. package/dist/beeq/p-f691f00c.entry.js +0 -6
  668. package/dist/beeq/p-f691f00c.entry.js.map +0 -1
  669. package/dist/beeq/p-igOoibr-.js +0 -6
  670. package/dist/beeq/p-igOoibr-.js.map +0 -1
  671. package/dist/cjs/bq-accordion-group.entry.cjs.js.map +0 -1
  672. package/dist/cjs/bq-accordion.entry.cjs.js.map +0 -1
  673. package/dist/cjs/bq-alert.entry.cjs.js.map +0 -1
  674. package/dist/cjs/bq-avatar.entry.cjs.js.map +0 -1
  675. package/dist/cjs/bq-badge.entry.cjs.js.map +0 -1
  676. package/dist/cjs/bq-breadcrumb-item.entry.cjs.js.map +0 -1
  677. package/dist/cjs/bq-breadcrumb.entry.cjs.js.map +0 -1
  678. package/dist/cjs/bq-button.bq-icon.entry.cjs.js.map +0 -1
  679. package/dist/cjs/bq-card.entry.cjs.js.map +0 -1
  680. package/dist/cjs/bq-checkbox.entry.cjs.js.map +0 -1
  681. package/dist/cjs/bq-date-picker.entry.cjs.js.map +0 -1
  682. package/dist/cjs/bq-dialog.entry.cjs.js.map +0 -1
  683. package/dist/cjs/bq-drawer.entry.cjs.js.map +0 -1
  684. package/dist/cjs/bq-dropdown.bq-panel.entry.cjs.js.map +0 -1
  685. package/dist/cjs/bq-empty-state.entry.cjs.js.map +0 -1
  686. package/dist/cjs/bq-input.entry.cjs.js.map +0 -1
  687. package/dist/cjs/bq-notification.entry.cjs.js.map +0 -1
  688. package/dist/cjs/bq-option-group.entry.cjs.js.map +0 -1
  689. package/dist/cjs/bq-option-list.bq-tag.entry.cjs.js.map +0 -1
  690. package/dist/cjs/bq-option.entry.cjs.js.map +0 -1
  691. package/dist/cjs/bq-page-title.entry.cjs.js.map +0 -1
  692. package/dist/cjs/bq-progress.entry.cjs.js.map +0 -1
  693. package/dist/cjs/bq-radio-group.entry.cjs.js.map +0 -1
  694. package/dist/cjs/bq-radio.entry.cjs.js.map +0 -1
  695. package/dist/cjs/bq-select.entry.cjs.js.map +0 -1
  696. package/dist/cjs/bq-side-menu-item.entry.cjs.js.map +0 -1
  697. package/dist/cjs/bq-side-menu.entry.cjs.js.map +0 -1
  698. package/dist/cjs/bq-slider.entry.cjs.js.map +0 -1
  699. package/dist/cjs/bq-spinner.entry.cjs.js.map +0 -1
  700. package/dist/cjs/bq-status.entry.cjs.js.map +0 -1
  701. package/dist/cjs/bq-step-item.entry.cjs.js.map +0 -1
  702. package/dist/cjs/bq-steps.entry.cjs.js.map +0 -1
  703. package/dist/cjs/bq-steps.types-D4B3f19X.js.map +0 -1
  704. package/dist/cjs/bq-switch.entry.cjs.js.map +0 -1
  705. package/dist/cjs/bq-tab-group.entry.cjs.js.map +0 -1
  706. package/dist/cjs/bq-textarea.entry.cjs.js.map +0 -1
  707. package/dist/cjs/bq-toast.entry.cjs.js.map +0 -1
  708. package/dist/cjs/bq-tooltip.entry.cjs.js.map +0 -1
  709. package/dist/cjs/date-C-h2CBps.js.map +0 -1
  710. package/dist/cjs/index-g8MkV15i.js.map +0 -1
  711. package/dist/collection/components/date-picker/helper/callyLibrary.js.map +0 -1
  712. package/dist/collection/shared/utils/date.js.map +0 -1
  713. package/dist/components/p-16lKXCDk.js.map +0 -1
  714. package/dist/components/p-A6e1tN-B.js.map +0 -1
  715. package/dist/components/p-B5XEhmuc.js.map +0 -1
  716. package/dist/components/p-BxgDLPzX.js +0 -6
  717. package/dist/components/p-CIV0haMJ.js +0 -6
  718. package/dist/components/p-CIV0haMJ.js.map +0 -1
  719. package/dist/components/p-CXUO6Zub.js.map +0 -1
  720. package/dist/components/p-D14_9VoZ.js +0 -6
  721. package/dist/components/p-D14_9VoZ.js.map +0 -1
  722. package/dist/components/p-DEUOprS4.js +0 -6
  723. package/dist/components/p-DEUOprS4.js.map +0 -1
  724. package/dist/components/p-DGysEMss.js.map +0 -1
  725. package/dist/components/p-DHdYy1q5.js.map +0 -1
  726. package/dist/components/p-DokL_HVP.js +0 -6
  727. package/dist/components/p-DokL_HVP.js.map +0 -1
  728. package/dist/components/p-eRUe5rRq.js +0 -6
  729. package/dist/components/p-eRUe5rRq.js.map +0 -1
  730. package/dist/esm/bq-button.bq-icon.entry.js.map +0 -1
  731. package/dist/esm/bq-dropdown.bq-panel.entry.js.map +0 -1
  732. package/dist/esm/bq-option-list.bq-tag.entry.js.map +0 -1
  733. package/dist/esm/bq-steps.types-DEUOprS4.js +0 -11
  734. package/dist/esm/bq-steps.types-DEUOprS4.js.map +0 -1
  735. package/dist/esm/date-igOoibr-.js.map +0 -1
  736. package/dist/esm/index-BOf9EC3C.js.map +0 -1
  737. package/dist/types/components/date-picker/helper/callyLibrary.d.ts +0 -11
@@ -1 +1 @@
1
- {"version":3,"names":["bqStepsCss","BqSteps","__stencil_proxyCustomElement","HTMLElement","stepElem","dividerColor","size","type","checkPropValues","validatePropValue","STEPS_SIZE","this","el","STEPS_TYPE","setStepItemProps","componentDidLoad","setCurrentStepItem","newCurrentStep","currentStep","bqSteps","find","step","status","slot","querySelector","assignedElements","flatten","filter","tagName","toLowerCase","forEach","bqStepElem","render","dividerPaddingTop","h","key","class","part","ref","div","exportparts","strokeColor","strokeThickness"],"sources":["../../packages/beeq/src/components/steps/scss/bq-steps.scss?tag=bq-steps&encapsulation=shadow","../../packages/beeq/src/components/steps/bq-steps.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Steps styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-steps.variables';\n\n:host {\n @apply block;\n}\n\n::slotted(bq-step-item:not(:first-child)) {\n @apply ps-[--bq-steps--gap];\n}\n","import { Component, Element, h, Method, Prop, Watch } from '@stencil/core';\n\nimport { validatePropValue } from '../../shared/utils';\nimport type { TStepsSize, TStepsType } from './bq-steps.types';\nimport { STEPS_SIZE, STEPS_TYPE } from './bq-steps.types';\n\n/**\n * The Steps Component is a UI element used to display a series of steps or stages in a process or task.\n * It is used to guide users through a process or task and to indicate their progress.\n *\n * @example How to use it\n * ```html\n * <bq-steps divider-color=\"stroke--primary\" type=\"dot\" size=\"medium\">\n * <bq-step-item status=\"completed\"> ... </bq-step-item>\n * <bq-step-item status=\"error\"> ... </bq-step-item>\n * <bq-step-item status=\"current\"> ... </bq-step-item>\n * <bq-step-item status=\"default\"> ... </bq-step-item>\n * </bq-steps>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/896b66-stepper\n * @status stable\n *\n * @dependency bq-divider\n *\n * @attr {string} divider-color - The color of the line that connects the steps. It should be a valid declarative color token.\n * @attr {\"medium\" | \"small\"} size - The size of the steps\n * @attr {\"numeric\" | \"icon\" | \"dot\"} type - The type of prefix element to use on the step items\n *\n * @slot - The step items\n *\n * @part container - The container wrapper of the Steps component\n * @part divider-base - The base wrapper of the divider component\n * @part divider-dash-start - The dash start wrapper of the divider component\n * @part divider-dash-end - The dash end wrapper of the divider component\n *\n * @cssprop --bq-steps--divider-color - Divider color\n * @cssprop --bq-steps--gap - Gap between steps\n */\n@Component({\n tag: 'bq-steps',\n styleUrl: './scss/bq-steps.scss',\n shadow: true,\n})\nexport class BqSteps {\n // Own Properties\n // ====================\n\n private stepElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqStepsElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** The color of the line that connects the steps. It should be a valid declarative color token. */\n @Prop({ reflect: true }) dividerColor: string = 'stroke--primary';\n\n /** The size of the steps */\n @Prop({ reflect: true }) size: TStepsSize = 'medium';\n\n /** The type of prefix element to use on the step items */\n @Prop({ reflect: true }) type: TStepsType;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('type')\n @Watch('size')\n checkPropValues() {\n validatePropValue(STEPS_SIZE, 'medium', this.el, 'size');\n validatePropValue(STEPS_TYPE, 'numeric', this.el, 'type');\n\n this.setStepItemProps();\n }\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.setStepItemProps();\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 /**\n * Set the current step item.\n * @param newCurrentStep - The step item to set as current.\n */\n @Method()\n async setCurrentStepItem(newCurrentStep: HTMLBqStepItemElement): Promise<void> {\n // Ideally, only one step item should be current.\n // So we change the status of the current step item to default.\n const currentStep = this.bqSteps.find((step) => step.status === 'current');\n if (currentStep) currentStep.status = 'default';\n // And then we set the status of the new current step item to current.\n newCurrentStep.status = 'current';\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private get bqSteps(): HTMLBqStepItemElement[] {\n if (!this.stepElem) return [];\n\n const slot = this.stepElem.querySelector('slot');\n return [...slot.assignedElements({ flatten: true })].filter(\n (el: HTMLBqSideMenuItemElement) => el.tagName.toLowerCase() === 'bq-step-item',\n ) as [HTMLBqSideMenuItemElement];\n }\n\n private setStepItemProps = () => {\n this.bqSteps.forEach((bqStepElem: HTMLBqStepItemElement) => {\n bqStepElem.size = this.size;\n bqStepElem.type = this.type;\n });\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n // !Note: We use a custom padding value for the medium size to avoid misalignment between the steps and the divider.\n const dividerPaddingTop = this.size === 'small' ? 'p-bs-m' : 'p-bs-5';\n\n return (\n <div\n class=\"relative flex w-full items-start justify-between\"\n part=\"container\"\n ref={(div) => {\n this.stepElem = div;\n }}\n >\n <slot />\n <bq-divider\n class={`-z-10 absolute inset-ie-0 inset-is-0 p-i-s ${dividerPaddingTop}`}\n exportparts=\"base:divider-base,dash-start:divider-dash-start,dash-end:divider-dash-end\"\n strokeColor={this.dividerColor}\n strokeThickness={2}\n />\n </div>\n );\n }\n}\n"],"mappings":";;;;qKAAA,MAAMA,EAAa,6+nB,MC4CNC,EAAOC,EAAA,MAAAD,UAAAE,E,iFAIVC,S,qBAeiBC,aAAuB,kBAGvBC,KAAmB,SAGnBC,KAOzB,eAAAC,GACEC,EAAkBC,EAAY,SAAUC,KAAKC,GAAI,QACjDH,EAAkBI,EAAY,UAAWF,KAAKC,GAAI,QAElDD,KAAKG,kB,CAUP,gBAAAC,GACEJ,KAAKG,kB,CAkBP,wBAAME,CAAmBC,GAGvB,MAAMC,EAAcP,KAAKQ,QAAQC,MAAMC,GAASA,EAAKC,SAAW,YAChE,GAAIJ,EAAaA,EAAYI,OAAS,UAEtCL,EAAeK,OAAS,S,CAQ1B,WAAYH,GACV,IAAKR,KAAKP,SAAU,MAAO,GAE3B,MAAMmB,EAAOZ,KAAKP,SAASoB,cAAc,QACzC,MAAO,IAAID,EAAKE,iBAAiB,CAAEC,QAAS,QAASC,QAClDf,GAAkCA,EAAGgB,QAAQC,gBAAkB,gB,CAI5Df,iBAAmB,KACzBH,KAAKQ,QAAQW,SAASC,IACpBA,EAAWzB,KAAOK,KAAKL,KACvByB,EAAWxB,KAAOI,KAAKJ,IAAI,GAC3B,EAOJ,MAAAyB,GAEE,MAAMC,EAAoBtB,KAAKL,OAAS,QAAU,SAAW,SAE7D,OACE4B,EAAA,OAAAC,IAAA,2CACEC,MAAM,mDACNC,KAAK,YACLC,IAAMC,IACJ5B,KAAKP,SAAWmC,CAAG,GAGrBL,EAAQ,QAAAC,IAAA,6CACRD,EACE,cAAAC,IAAA,2CAAAC,MAAO,8CAA8CH,IACrDO,YAAY,4EACZC,YAAa9B,KAAKN,aAClBqC,gBAAiB,I","ignoreList":[]}
1
+ {"version":3,"names":["bqStepsCss","BqSteps","__stencil_proxyCustomElement","HTMLElement","stepElem","dividerColor","orientation","size","type","checkPropValues","validatePropValue","STEPS_ORIENTATION","this","el","STEPS_SIZE","STEPS_TYPE","setStepItemProps","componentDidLoad","setCurrentStepItem","newCurrentStep","currentStep","bqSteps","find","step","status","slot","querySelector","assignedElements","flatten","filter","tagName","toLowerCase","forEach","bqStepElem","isLast","lastStepItem","at","render","_jsx","class","part","role","ref","div","children"],"sources":["../../packages/beeq/src/components/steps/scss/bq-steps.scss?tag=bq-steps&encapsulation=shadow","../../packages/beeq/src/components/steps/bq-steps.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Steps styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-steps.variables';\n\n:host {\n @apply box-border inline-flex;\n}\n\n:host([orientation='vertical']) {\n @apply flex bs-full;\n}\n","import { Component, Element, Method, Prop, Watch } from '@stencil/core';\n\nimport { validatePropValue } from '../../shared/utils';\nimport type { TStepsOrientation, TStepsSize, TStepsType } from './bq-steps.types';\nimport { STEPS_ORIENTATION, STEPS_SIZE, STEPS_TYPE } from './bq-steps.types';\n\n/**\n * The Steps Component is a UI element used to display a series of steps or stages in a process or task.\n * It is used to guide users through a process or task and to indicate their progress.\n *\n * @example How to use it\n * ```html\n * <bq-steps divider-color=\"stroke--primary\" type=\"dot\" size=\"medium\">\n * <bq-step-item status=\"completed\"> ... </bq-step-item>\n * <bq-step-item status=\"error\"> ... </bq-step-item>\n * <bq-step-item status=\"current\"> ... </bq-step-item>\n * <bq-step-item status=\"default\"> ... </bq-step-item>\n * </bq-steps>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/896b66-stepper\n * @status stable\n *\n * @dependency bq-divider\n *\n * @attr {string} divider-color - The color of the line that connects the steps. It should be a valid declarative color token.\n * @attr {\"horizontal\" | \"vertical\"} orientation - The orientation of the steps\n * @attr {\"medium\" | \"small\"} size - The size of the steps\n * @attr {\"numeric\" | \"icon\" | \"dot\"} type - The type of prefix element to use on the step items\n *\n * @slot - The step items\n *\n * @part container - The container wrapper of the Steps component\n * @part divider-base - The base wrapper of the divider component\n * @part divider-dash-start - The dash start wrapper of the divider component\n * @part divider-dash-end - The dash end wrapper of the divider component\n *\n * @cssprop --bq-steps--divider-color - Divider color\n * @cssprop --bq-steps--gap - Gap between steps\n */\n@Component({\n tag: 'bq-steps',\n styleUrl: './scss/bq-steps.scss',\n shadow: true,\n})\nexport class BqSteps {\n // Own Properties\n // ====================\n\n private stepElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqStepsElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** The color of the line that connects the steps. It should be a valid declarative color token. */\n @Prop({ reflect: true }) dividerColor: string = 'stroke--primary';\n\n /** The orientation of the steps */\n @Prop({ reflect: true }) orientation: TStepsOrientation = 'horizontal';\n\n /** The size of the steps */\n @Prop({ reflect: true }) size: TStepsSize = 'medium';\n\n /** The type of prefix element to use on the step items */\n @Prop({ reflect: true }) type: TStepsType;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('dividerColor')\n @Watch('orientation')\n @Watch('type')\n @Watch('size')\n checkPropValues() {\n validatePropValue(STEPS_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(STEPS_SIZE, 'medium', this.el, 'size');\n validatePropValue(STEPS_TYPE, 'numeric', this.el, 'type');\n\n this.setStepItemProps();\n }\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.setStepItemProps();\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 /**\n * Set the current step item.\n * @param newCurrentStep - The step item to set as current.\n */\n @Method()\n async setCurrentStepItem(newCurrentStep: HTMLBqStepItemElement): Promise<void> {\n // Ideally, only one step item should be current.\n // So we change the status of the current step item to default.\n const currentStep = this.bqSteps.find((step: HTMLBqStepItemElement) => step.status === 'current');\n if (currentStep) currentStep.status = 'default';\n // And then we set the status of the new current step item to current.\n newCurrentStep.status = 'current';\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private get bqSteps(): HTMLBqStepItemElement[] {\n if (!this.stepElem) return [];\n\n const slot = this.stepElem.querySelector('slot');\n return [...slot.assignedElements({ flatten: true })].filter(\n (el: HTMLBqStepItemElement) => el.tagName.toLowerCase() === 'bq-step-item',\n ) as [HTMLBqStepItemElement];\n }\n\n private setStepItemProps = () => {\n this.bqSteps.forEach((bqStepElem: HTMLBqStepItemElement) => {\n bqStepElem.isLast = bqStepElem === this.lastStepItem;\n bqStepElem.dividerColor = this.dividerColor;\n bqStepElem.orientation = this.orientation;\n bqStepElem.size = this.size;\n bqStepElem.type = this.type;\n });\n };\n\n private get lastStepItem(): HTMLBqStepItemElement | undefined {\n return this.bqSteps.at(-1);\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div\n class={{\n 'relative inline-flex items-start justify-between': true,\n 'is-full flex-row': this.orientation === 'horizontal',\n 'bs-full flex-col': this.orientation === 'vertical',\n }}\n part=\"container\"\n role=\"list\"\n ref={(div) => {\n this.stepElem = div;\n }}\n >\n <slot />\n </div>\n );\n }\n}\n"],"mappings":";;;;+IAAA,MAAMA,EAAa,IAAM,2xnB,MC6CZC,EAAOC,EAAA,MAAAD,UAAAE,E,iFAIVC,S,qBAeiBC,aAAuB,kBAGvBC,YAAiC,aAGjCC,KAAmB,SAGnBC,KASzB,eAAAC,GACEC,EAAkBC,EAAmB,aAAcC,KAAKC,GAAI,eAC5DH,EAAkBI,EAAY,SAAUF,KAAKC,GAAI,QACjDH,EAAkBK,EAAY,UAAWH,KAAKC,GAAI,QAElDD,KAAKI,kB,CAUP,gBAAAC,GACEL,KAAKI,kB,CAkBP,wBAAME,CAAmBC,GAGvB,MAAMC,EAAcR,KAAKS,QAAQC,MAAMC,GAAgCA,EAAKC,SAAW,YACvF,GAAIJ,EAAaA,EAAYI,OAAS,UAEtCL,EAAeK,OAAS,S,CAQ1B,WAAYH,GACV,IAAKT,KAAKR,SAAU,MAAO,GAE3B,MAAMqB,EAAOb,KAAKR,SAASsB,cAAc,QACzC,MAAO,IAAID,EAAKE,iBAAiB,CAAEC,QAAS,QAASC,QAClDhB,GAA8BA,EAAGiB,QAAQC,gBAAkB,gB,CAIxDf,iBAAmB,KACzBJ,KAAKS,QAAQW,SAASC,IACpBA,EAAWC,OAASD,IAAerB,KAAKuB,aACxCF,EAAW5B,aAAeO,KAAKP,aAC/B4B,EAAW3B,YAAcM,KAAKN,YAC9B2B,EAAW1B,KAAOK,KAAKL,KACvB0B,EAAWzB,KAAOI,KAAKJ,IAAI,GAC3B,EAGJ,gBAAY2B,GACV,OAAOvB,KAAKS,QAAQe,IAAG,E,CAOzB,MAAAC,GACE,OACEC,EACE,OAAAC,MAAO,CACL,mDAAoD,KACpD,mBAAoB3B,KAAKN,cAAgB,aACzC,mBAAoBM,KAAKN,cAAgB,YAE3CkC,KAAK,YACLC,KAAK,OACLC,IAAMC,IACJ/B,KAAKR,SAAWuC,CAAG,EAGrBC,SAAAN,EAAA,uDACI,2C","ignoreList":[]}
@@ -2,5 +2,5 @@
2
2
  * Built by Endavans
3
3
  * © https://beeq.design - Apache 2 License.
4
4
  */
5
- import{p as a,H as r,c as e,h as b,d as t}from"./p-DGysEMss.js";import{i as n}from"./p-BcPwGxIn.js";import{a as i}from"./p-uqkxeAeG.js";import{d as q}from"./p-DHdYy1q5.js";const s='.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}.absolute{position:absolute}.start-xs2{inset-inline-start:var(--bq-spacing-xs2)}.inline-block{display:inline-block}.flex{display:flex}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.items-center{align-items:center}.rounded-full{border-radius:var(--bq-radius--full)}.rounded-s{border-radius:var(--bq-radius--s)}.bg-ui-primary{background-color:var(--bq-ui--primary)}.opacity-60{opacity:.6}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.bg-hover-ui-primary{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bs-\\[--bq-switch--dot-size\\]{block-size:var(--bq-switch--dot-size)}.is-\\[--bq-switch--dot-size\\]{inline-size:var(--bq-switch--dot-size)}.is-full{inline-size:100%}.p-b-2{padding-block:.5rem}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-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-switch--height:24px;--bq-switch--justify-content:"start";--bq-switch--width:44px;--bq-switch--dot-size:calc(var(--bq-switch--height) - var(--bq-spacing-xs2)*2);display:inline-block}:host(.full-width){inline-size:100%}.bq-switch{-webkit-box-pack:var(--bq-switch--justify-content);-ms-flex-pack:var(--bq-switch--justify-content);align-items:center;border-radius:var(--bq-radius--s);cursor:pointer;display:flex;justify-content:var(--bq-switch--justify-content);padding-block:.5rem;padding-inline:.5rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-switch.has-background:not(.is-disabled):hover{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bq-switch.is-disabled{cursor:not-allowed;opacity:.6}.bq-switch--input:not(:disabled):focus-visible~.bq-switch--control,.bq-switch--input:not(:disabled):focus~.bq-switch--control{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-switch--control__dot{background-color:var(--bq-ui--primary);block-size:var(--bq-switch--dot-size);border-radius:var(--bq-radius--full);inline-size:var(--bq-switch--dot-size);inset-inline-start:var(--bq-spacing-xs2);position:absolute;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.group.is-checked .bq-switch--control__dot{background-color:var(--bq-icon--alt);inset-inline-start:calc(100% - var(--bq-switch--dot-size) - var(--bq-spacing-xs2))}.bq-switch--control__icon{--bq-icon--size:var(--bq-switch--dot-size)!important}.bq-switch--control__icon::part(base){display:flex}.group.is-checked .group-\\[\\&\\.is-checked\\]\\:start-\\[calc\\(100\\%_-_var\\(--bq-switch--dot-size\\)_-_var\\(--bq-spacing-xs2\\)\\)\\]{inset-inline-start:calc(100% - var(--bq-switch--dot-size) - var(--bq-spacing-xs2))}.group.is-checked .group-\\[\\&\\.is-checked\\]\\:bg-\\[--bq-icon--alt\\]{background-color:var(--bq-icon--alt)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.relative{position:relative}.me-s{margin-inline-end:var(--bq-spacing-s)}.ms-s{margin-inline-start:var(--bq-spacing-s)}.box-border{box-sizing:border-box}.flex-row-reverse{flex-direction:row-reverse}.justify-between{justify-content:space-between}.bg-ui-tertiary{background-color:var(--bq-ui--tertiary)}.text-m{font-size:var(--bq-font-size--m)}.font-medium{font-weight:var(--bq-font-weight--medium)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.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)}.\\!bs-\\[--bq-switch--dot-size\\]{block-size:var(--bq-switch--dot-size)!important}.\\!is-\\[--bq-switch--width\\]{inline-size:var(--bq-switch--width)!important}.bs-\\[--bq-switch--height\\]{block-size:var(--bq-switch--height)}.is-\\[--bq-switch--width\\]{inline-size:var(--bq-switch--width)}.p-b-xs2{padding-block:var(--bq-spacing-xs2)}.p-i-xs2{padding-inline:var(--bq-spacing-xs2)}.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}}.group.is-checked .group-\\[\\&\\.is-checked\\]\\:bg-ui-brand{background-color:var(--bq-ui--brand)}.peer:checked~.peer-checked\\:invisible{visibility:hidden}.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 o=a(class a extends r{constructor(a){super();if(a!==false){this.__registerHost()}this.__attachShadow();this.bqChange=e(this,"bqChange");this.bqFocus=e(this,"bqFocus");this.bqBlur=e(this,"bqBlur");this.internals=this.attachInternals()}labelElem;inputElem;prevCheckedValue;internals;get el(){return this}hasLabel=false;backgroundOnHover=false;checked=false;disabled=false;formValidationMessage;fullWidth=false;innerLabel="default";justifyContent="start";name;required=false;reverseOrder=false;value;handleRequiredChange(){this.updateFormValidity()}bqChange;bqFocus;bqBlur;componentWillLoad(){this.prevCheckedValue=this.checked}componentDidLoad(){this.handleSlotChange()}componentDidUpdate(){if(this.checked!==this.prevCheckedValue){this.bqChange.emit({checked:this.checked});this.prevCheckedValue=this.checked}}formAssociatedCallback(){this.setFormValue(this.checked);this.updateFormValidity()}formResetCallback(){this.checked=false;this.inputElem.removeAttribute("checked");this.internals?.setFormValue(undefined);this.updateFormValidity()}async vClick(){this.inputElem?.click()}async vFocus(){this.inputElem?.focus()}async vBlur(){this.inputElem?.blur()}handleChange=()=>{this.checked=!this.checked;this.inputElem.setAttribute("checked",`${this.checked}`);this.setFormValue(this.checked);this.updateFormValidity()};handleOnFocus=()=>{this.bqFocus.emit(this.el)};handleOnBlur=()=>{this.bqBlur.emit(this.el)};handleSlotChange=()=>{const a=this.labelElem?.querySelector("slot")??null;if(n(a))return;this.hasLabel=!!i(a,{recurse:true}).length};setFormValue=a=>{const r=a?"on":undefined;this.internals?.setFormValue(r,`${this.checked}`)};updateFormValidity=()=>{const{formValidationMessage:a,internals:r,required:e,checked:b,inputElem:t}=this;r?.states.clear();if(!(e&&!b)){r?.states.add("valid");r?.setValidity({});return}r?.states.add("invalid");r?.setValidity({valueMissing:true},a,t)};render(){const a={...this.justifyContent&&{"--bq-switch--justify-content":this.justifyContent}};const r={"has-background":this.backgroundOnHover,"is-checked":this.checked,"is-disabled":this.disabled,"flex-row-reverse":this.reverseOrder};return b(t,{key:"76d56097667e4691b47928d4c3108b7dfc3f8097",class:{"full-width":this.fullWidth},style:a},b("label",{key:"e1d1fe910b6d0e955f52cc5c6a6d7d44f426a0e1",class:{"bq-switch group":true,...r},part:"base"},b("input",{key:"05974b051de79fb7f77b4f2d150c57c904eb3a89","aria-checked":this.checked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-label":this.name,checked:this.checked,class:"bq-switch--input peer !bs-[--bq-switch--dot-size] !is-[--bq-switch--width] sr-only peer-checked:invisible",disabled:this.disabled,name:!n(this.name)?this.name:undefined,onBlur:this.handleOnBlur,onChange:this.handleChange,onFocus:this.handleOnFocus,ref:a=>{this.inputElem=a},required:this.required,role:"switch",type:"checkbox",value:this.value}),b("div",{key:"a44b7535d3a62e9f0ade9d727eeb236cc6c553bc",class:"bq-switch--control bs-[--bq-switch--height] is-[--bq-switch--width] relative box-border flex justify-between rounded-full bg-ui-tertiary p-b-xs2 p-i-xs2 transition duration-300 group-[&.is-checked]:bg-ui-brand",part:"control"},this.innerLabel==="icon"&&b("bq-icon",{key:"ad31a8b6a3da40950c31163cfacfe6d767c5ad41",class:"bq-switch--control__icon on",color:"icon--alt",name:"check",part:"icon-on",title:"On"}),this.innerLabel==="icon"&&b("bq-icon",{key:"9abf53dd57103e67833d9346b63ecf29ae112220",class:"bq-switch--control__icon off",color:"icon--inverse",name:"x",part:"icon-off",title:"Off"}),b("div",{key:"4f146fd587161b051cc4046320f522377f645154",class:"bq-switch--control__dot",part:"dot"})),b("span",{key:"52d9e9c181c88c9b6c897576e6a5a96cff26bc62",class:{"bq-switch--label font-medium text-m text-primary leading-regular transition-colors duration-300":true,"ms-s":this.hasLabel&&!this.reverseOrder,"me-s":this.hasLabel&&this.reverseOrder},part:"label",ref:a=>{this.labelElem=a}},b("slot",{key:"30b17cbefca70153b36a03a32cc426fc476db3d0",onSlotchange:this.handleSlotChange}))))}static get delegatesFocus(){return true}static get formAssociated(){return true}static get watchers(){return{required:["handleRequiredChange"]}}static get style(){return s}},[849,"bq-switch",{backgroundOnHover:[516,"background-on-hover"],checked:[1540],disabled:[516],formValidationMessage:[1025,"form-validation-message"],fullWidth:[516,"full-width"],innerLabel:[513,"inner-label"],justifyContent:[513,"justify-content"],name:[513],required:[516],reverseOrder:[516,"reverse-order"],value:[513],hasLabel:[32],vClick:[64],vFocus:[64],vBlur:[64]},undefined,{required:["handleRequiredChange"]}]);function c(){if(typeof customElements==="undefined"){return}const a=["bq-switch","bq-icon"];a.forEach((a=>{switch(a){case"bq-switch":if(!customElements.get(a)){customElements.define(a,o)}break;case"bq-icon":if(!customElements.get(a)){q()}break}}))}const d=o;const l=c;export{d as BqSwitch,l as defineCustomElement};
5
+ import{p as a,H as r,c as e,d as b,j as t,e as n,t as i}from"./p-CCQ_5HvV.js";import{i as q}from"./p-BcPwGxIn.js";import{a as s}from"./p-uqkxeAeG.js";import{d as o}from"./p-Bi6ozE0v.js";const c=()=>`.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}.absolute{position:absolute}.start-xs2{inset-inline-start:var(--bq-spacing-xs2)}.inline-block{display:inline-block}.flex{display:flex}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.items-center{align-items:center}.rounded-full{border-radius:var(--bq-radius--full)}.rounded-s{border-radius:var(--bq-radius--s)}.bg-ui-primary{background-color:var(--bq-ui--primary)}.opacity-60{opacity:.6}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.bg-hover-ui-primary{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bs-\\[--bq-switch--dot-size\\]{block-size:var(--bq-switch--dot-size)}.is-\\[--bq-switch--dot-size\\]{inline-size:var(--bq-switch--dot-size)}.is-full{inline-size:100%}.p-b-2{padding-block:.5rem}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-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-switch--height:24px;--bq-switch--justify-content:"start";--bq-switch--width:44px;--bq-switch--dot-size:calc(var(--bq-switch--height) - var(--bq-spacing-xs2)*2);display:inline-block}:host(.full-width){inline-size:100%}.bq-switch{-webkit-box-pack:var(--bq-switch--justify-content);-ms-flex-pack:var(--bq-switch--justify-content);align-items:center;border-radius:var(--bq-radius--s);cursor:pointer;display:flex;justify-content:var(--bq-switch--justify-content);padding-block:.5rem;padding-inline:.5rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-switch.has-background:not(.is-disabled):hover{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bq-switch.is-disabled{cursor:not-allowed;opacity:.6}.bq-switch--input:not(:disabled):focus-visible~.bq-switch--control,.bq-switch--input:not(:disabled):focus~.bq-switch--control{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-switch--control__dot{background-color:var(--bq-ui--primary);block-size:var(--bq-switch--dot-size);border-radius:var(--bq-radius--full);inline-size:var(--bq-switch--dot-size);inset-inline-start:var(--bq-spacing-xs2);position:absolute;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.group.is-checked .bq-switch--control__dot{background-color:var(--bq-icon--alt);inset-inline-start:calc(100% - var(--bq-switch--dot-size) - var(--bq-spacing-xs2))}.bq-switch--control__icon{--bq-icon--size:var(--bq-switch--dot-size)!important}.bq-switch--control__icon::part(base){display:flex}.group.is-checked .group-\\[\\&\\.is-checked\\]\\:start-\\[calc\\(100\\%_-_var\\(--bq-switch--dot-size\\)_-_var\\(--bq-spacing-xs2\\)\\)\\]{inset-inline-start:calc(100% - var(--bq-switch--dot-size) - var(--bq-spacing-xs2))}.group.is-checked .group-\\[\\&\\.is-checked\\]\\:bg-\\[--bq-icon--alt\\]{background-color:var(--bq-icon--alt)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.relative{position:relative}.me-s{margin-inline-end:var(--bq-spacing-s)}.ms-s{margin-inline-start:var(--bq-spacing-s)}.box-border{box-sizing:border-box}.flex-row-reverse{flex-direction:row-reverse}.justify-between{justify-content:space-between}.bg-ui-tertiary{background-color:var(--bq-ui--tertiary)}.text-m{font-size:var(--bq-font-size--m)}.font-medium{font-weight:var(--bq-font-weight--medium)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.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)}.\\!bs-\\[--bq-switch--dot-size\\]{block-size:var(--bq-switch--dot-size)!important}.\\!is-\\[--bq-switch--width\\]{inline-size:var(--bq-switch--width)!important}.bs-\\[--bq-switch--height\\]{block-size:var(--bq-switch--height)}.is-\\[--bq-switch--width\\]{inline-size:var(--bq-switch--width)}.p-b-xs2{padding-block:var(--bq-spacing-xs2)}.p-i-xs2{padding-inline:var(--bq-spacing-xs2)}.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}}.group.is-checked .group-\\[\\&\\.is-checked\\]\\:bg-ui-brand{background-color:var(--bq-ui--brand)}.peer:checked~.peer-checked\\:invisible{visibility:hidden}.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 d=a(class a extends r{constructor(a){super();if(a!==false){this.__registerHost()}this.__attachShadow();this.bqChange=e(this,"bqChange");this.bqFocus=e(this,"bqFocus");this.bqBlur=e(this,"bqBlur");this.internals=this.attachInternals()}labelElem;inputElem;prevCheckedValue;internals;get el(){return this}hasLabel=false;backgroundOnHover=false;checked=false;disabled=false;formValidationMessage;fullWidth=false;innerLabel="default";justifyContent="start";name;required=false;reverseOrder=false;value;handleRequiredChange(){this.updateFormValidity()}bqChange;bqFocus;bqBlur;componentWillLoad(){this.prevCheckedValue=this.checked}componentDidLoad(){this.handleSlotChange()}componentDidUpdate(){if(this.checked!==this.prevCheckedValue){this.bqChange.emit({checked:this.checked});this.prevCheckedValue=this.checked}}formAssociatedCallback(){this.setFormValue(this.checked);this.updateFormValidity()}formResetCallback(){this.checked=false;this.inputElem.removeAttribute("checked");this.internals?.setFormValue(undefined);this.updateFormValidity()}async vClick(){this.inputElem?.click()}async vFocus(){this.inputElem?.focus()}async vBlur(){this.inputElem?.blur()}handleChange=()=>{this.checked=!this.checked;this.inputElem.setAttribute("checked",`${this.checked}`);this.setFormValue(this.checked);this.updateFormValidity()};handleOnFocus=()=>{this.bqFocus.emit(this.el)};handleOnBlur=()=>{this.bqBlur.emit(this.el)};handleSlotChange=()=>{const a=this.labelElem?.querySelector("slot")??null;if(q(a))return;this.hasLabel=!!s(a,{recurse:true}).length};setFormValue=a=>{const r=a?"on":undefined;this.internals?.setFormValue(r,`${this.checked}`)};updateFormValidity=()=>{const{formValidationMessage:a,internals:r,required:e,checked:b,inputElem:t}=this;r?.states.clear();if(!(e&&!b)){r?.states.add("valid");r?.setValidity({});return}r?.states.add("invalid");r?.setValidity({valueMissing:true},a,t)};render(){const a={...this.justifyContent&&{"--bq-switch--justify-content":this.justifyContent}};const r={"has-background":this.backgroundOnHover,"is-checked":this.checked,"is-disabled":this.disabled,"flex-row-reverse":this.reverseOrder};return b(n,{class:{"full-width":this.fullWidth},style:a,children:t("label",{class:{"bq-switch group":true,...r},part:"base",children:[b("input",{"aria-checked":this.checked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-label":this.name,checked:this.checked,class:"bq-switch--input peer !bs-[--bq-switch--dot-size] !is-[--bq-switch--width] sr-only peer-checked:invisible",disabled:this.disabled,name:!q(this.name)?this.name:undefined,onBlur:this.handleOnBlur,onChange:this.handleChange,onFocus:this.handleOnFocus,ref:a=>{this.inputElem=a},required:this.required,role:"switch",type:"checkbox",value:this.value},"74f906055e93fc0faa9b94b5ca1441b8e6aa049a"),t("div",{class:"bq-switch--control bs-[--bq-switch--height] is-[--bq-switch--width] relative box-border flex justify-between rounded-full bg-ui-tertiary p-b-xs2 p-i-xs2 transition duration-300 group-[&.is-checked]:bg-ui-brand",part:"control",children:[this.innerLabel==="icon"&&b("bq-icon",{class:"bq-switch--control__icon on",color:"icon--alt",name:"check",part:"icon-on",title:"On"},"9ec8d3b779306d566dc4cfde53854a6f1da8fd35"),this.innerLabel==="icon"&&b("bq-icon",{class:"bq-switch--control__icon off",color:"icon--inverse",name:"x",part:"icon-off",title:"Off"},"cf69da92cae163e09aaf5ac0fcf862f0dd3f74ef"),b("div",{class:"bq-switch--control__dot",part:"dot"},"af52e94955e81c755c24cea20839738858fa52cb")]},"34714af149ed404749d8dc897ae64e939c271de7"),b("span",{class:{"bq-switch--label font-medium text-m text-primary leading-regular transition-colors duration-300":true,"ms-s":this.hasLabel&&!this.reverseOrder,"me-s":this.hasLabel&&this.reverseOrder},part:"label",ref:a=>{this.labelElem=a},children:b("slot",{onSlotchange:this.handleSlotChange},"89fbd9404e2a2db5828c2ad9525a661c8ec3e207")},"a935f08691c1002226a20cec1e9623e2496e5f75")]},"3e8f0376f2175520077de189ae48ce73fd633946")},"9a27424ab936d27ea5acd52829afcb57ffe3c92c")}static get delegatesFocus(){return true}static get formAssociated(){return true}static get watchers(){return{required:[{handleRequiredChange:0}]}}static get style(){return c()}},[849,"bq-switch",{backgroundOnHover:[516,"background-on-hover"],checked:[1540],disabled:[516],formValidationMessage:[1025,"form-validation-message"],fullWidth:[516,"full-width"],innerLabel:[513,"inner-label"],justifyContent:[513,"justify-content"],name:[513],required:[516],reverseOrder:[516,"reverse-order"],value:[513],hasLabel:[32],vClick:[64],vFocus:[64],vBlur:[64]},undefined,{required:[{handleRequiredChange:0}]}]);function l(){if(typeof customElements==="undefined"){return}const a=["bq-switch","bq-icon"];a.forEach((a=>{switch(a){case"bq-switch":if(!customElements.get(i(a))){customElements.define(i(a),d)}break;case"bq-icon":if(!customElements.get(i(a))){o()}break}}))}const u=d;const v=l;export{u as BqSwitch,v as defineCustomElement};
6
6
  //# sourceMappingURL=bq-switch.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["bqSwitchCss","BqSwitch","__stencil_proxyCustomElement","HTMLElement","labelElem","inputElem","prevCheckedValue","internals","hasLabel","backgroundOnHover","checked","disabled","formValidationMessage","fullWidth","innerLabel","justifyContent","name","required","reverseOrder","value","handleRequiredChange","this","updateFormValidity","bqChange","bqFocus","bqBlur","componentWillLoad","componentDidLoad","handleSlotChange","componentDidUpdate","emit","formAssociatedCallback","setFormValue","formResetCallback","removeAttribute","undefined","vClick","click","vFocus","focus","vBlur","blur","handleChange","setAttribute","handleOnFocus","el","handleOnBlur","slot","querySelector","isNil","getTextContent","recurse","length","states","clear","add","setValidity","valueMissing","render","hostStyle","labelCssClasses","h","Host","key","class","style","part","onBlur","onChange","onFocus","ref","input","role","type","color","title","span","onSlotchange"],"sources":["../../packages/beeq/src/components/switch/scss/bq-switch.scss?tag=bq-switch&encapsulation=shadow","../../packages/beeq/src/components/switch/bq-switch.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Switch styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-switch.variables';\n\n:host {\n @apply inline-block;\n}\n\n:host(.full-width) {\n @apply is-full;\n}\n\n.bq-switch {\n @apply flex cursor-pointer select-none items-center rounded-s transition-colors duration-300 p-b-2 p-i-2;\n\n justify-content: var(--bq-switch--justify-content);\n\n // Display background on hover (if enabled)\n &.has-background:not(.is-disabled):hover {\n @apply bg-hover-ui-primary;\n }\n\n &.is-disabled {\n @apply cursor-not-allowed opacity-60;\n }\n}\n\n.bq-switch--input:not(:disabled):focus,\n.bq-switch--input:not(:disabled):focus-visible {\n ~ .bq-switch--control {\n @apply focus;\n }\n}\n\n.bq-switch--control__dot {\n @apply absolute start-xs2 rounded-full bg-ui-primary bs-[--bq-switch--dot-size] is-[--bq-switch--dot-size];\n @apply group-[&.is-checked]:start-[calc(100%_-_var(--bq-switch--dot-size)_-_var(--bq-spacing-xs2))] group-[&.is-checked]:bg-[--bq-icon--alt];\n @apply transition-all duration-300;\n}\n\n.bq-switch--control__icon {\n --bq-icon--size: var(--bq-switch--dot-size) !important;\n\n &::part(base) {\n @apply flex;\n }\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { AttachInternals, Component, Element, Event, Host, h, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { getTextContent, isNil } from '../../shared/utils';\nimport type { TSwitchInnerLabel, TSwitchJustifyContent } from './bq-switch.types';\n\n/**\n * Toggle switches are digital on/off switches.\n * They should provide immediate results, giving users the freedom to control their preferences as needed.\n *\n * @example How to use it\n * ```html\n * <bq-switch inner-label=\"default\" justify-content=\"start\" name=\"bq-switch\" value=\"Switch value\">\n * Toggle me!\n * </bq-switch>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/49d9c9-switch\n * @status stable\n *\n * @dependency bq-icon\n *\n * @attr {boolean} background-on-hover - If `true`, a background will be displayed on hover\n * @attr {boolean} checked - It indicates whether if the switch is `ON` by default (when the page loads)\n * @attr {boolean} disabled - If `true`, the switch control will be disabled and no interaction will be allowed\n * @attr {string} form-validation-message - The native form validation message\n * @attr {boolean} full-width - If `true`, the component will take the full width space available on the parent container\n * @attr {\"default\" | \"icon\"} inner-label - It indicates how to to display the on/off marks inside the control, with icons or none (default)\n * @attr {\"start\" | \"end\" | \"center\" | \"space-between\" | \"space-around\" | \"space-evenly\"} justify-content - It defines how to distribute the space between and around the control and the label text\n * @attr {string} name - Name of the form control. Submitted with the form as part of a name/value pair\n * @attr {boolean} required - If `true`, it will indicate that the user must switch `ON` the element before the owning form can be submitted\n * @attr {boolean} reverse-order - If `true`, the order of the control and the label text will be changed\n * @attr {string} value - The input control's value, submitted as a name/value pair with form data\n *\n * @event bqChange - Handler to be called when the switch state changes\n * @event bqFocus - Handler to be called when the switch gets focus\n * @event bqBlur - Handler to be called when the switch loses focus\n *\n * @slot - The switch label text\n *\n * @part base - HTML `<label>` root container\n * @part control - HTML `<div>` element for the custom control\n * @part dot - HTML `<div>` element that acts as changing dot\n * @part icon-off - HTMLBqIcon `<pk-icon>` element used as the `OFF` mark inner label\n * @part icon-on - HTMLBqIcon `<pk-icon>` element used as the `ON` mark inner label\n * @part label - HTML `<span>` element that holds the label text\n *\n * @cssprop --bq-switch--height - Switch height\n * @cssprop --bq-switch--justify-content - Switch justify content\n * @cssprop --bq-switch--width - Switch width\n * @cssprop --bq-switch--dot-size - Switch dot size\n */\n@Component({\n tag: 'bq-switch',\n styleUrl: './scss/bq-switch.scss',\n formAssociated: true,\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqSwitch {\n // Own Properties\n // ====================\n\n private labelElem: HTMLSpanElement;\n private inputElem: HTMLInputElement;\n private prevCheckedValue: boolean;\n\n // Reference to host HTML element\n // ===================================\n\n @AttachInternals() internals!: ElementInternals;\n @Element() el!: HTMLBqSwitchElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() hasLabel = false;\n\n // Public Property API\n // ========================\n\n /** If true, a background will be displayed on hover */\n @Prop({ reflect: true }) backgroundOnHover?: boolean = false;\n\n /** It indicates whether if the switch is `ON` by default (when the page loads) */\n @Prop({ reflect: true, mutable: true }) checked?: boolean = false;\n\n /** If true, the switch control will be disabled and no interaction will be allowed */\n @Prop({ reflect: true }) disabled?: boolean = false;\n\n /** The native form validation message */\n @Prop({ mutable: true }) formValidationMessage?: string;\n\n /** If true, the component will take the full width space available on the parent container */\n @Prop({ reflect: true }) fullWidth?: boolean = false;\n\n /** It indicates how to to display the on/off marks inside the control, with icons or none (default) */\n @Prop({ reflect: true }) innerLabel?: TSwitchInnerLabel = 'default';\n\n /**\n * It defines how to distribute the space between and around the control and the label text\n * (https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content)\n */\n @Prop({ reflect: true }) justifyContent?: TSwitchJustifyContent = 'start';\n\n /** Name of the form control. Submitted with the form as part of a name/value pair */\n @Prop({ reflect: true }) name!: string;\n\n /** If `true`, it will indicate that the user must switch `ON` the element before the owning form can be submitted */\n @Prop({ reflect: true }) required?: boolean = false;\n\n /** If true, the order of the control and the label text will be changed */\n @Prop({ reflect: true }) reverseOrder?: boolean = false;\n\n /** The input control's value, submitted as a name/value pair with form data. */\n @Prop({ reflect: true }) value?: string;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('required')\n handleRequiredChange() {\n this.updateFormValidity();\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the switch state changes */\n @Event() bqChange: EventEmitter<{ checked: boolean }>;\n\n /** Handler to be called when the switch gets focus */\n @Event() bqFocus: EventEmitter<HTMLBqSwitchElement>;\n\n /** Handler to be called when the switch loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqSwitchElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.prevCheckedValue = this.checked;\n }\n\n componentDidLoad() {\n this.handleSlotChange();\n }\n\n componentDidUpdate() {\n /**\n * We need to trigger the `bqChange` immediately after the first update happens\n * so the checked attribute get applied, otherwise, a delay will happen\n * between the event emits and when the checked attribute value gets reflected in the element host.\n */\n if (this.checked !== this.prevCheckedValue) {\n this.bqChange.emit({ checked: this.checked });\n this.prevCheckedValue = this.checked;\n }\n }\n\n formAssociatedCallback() {\n this.setFormValue(this.checked);\n this.updateFormValidity();\n }\n\n formResetCallback() {\n // Reset the form value and validity state\n this.checked = false;\n this.inputElem.removeAttribute('checked');\n this.internals?.setFormValue(undefined);\n this.updateFormValidity();\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 /**\n * Simulate a click event on the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.click()`.\n */\n @Method()\n async vClick() {\n this.inputElem?.click();\n }\n\n /**\n * Sets focus on the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.focus()`.\n */\n @Method()\n async vFocus() {\n this.inputElem?.focus();\n }\n\n /**\n * Remove focus from the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.blur()`.\n */\n @Method()\n async vBlur() {\n this.inputElem?.blur();\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleChange = () => {\n this.checked = !this.checked;\n this.inputElem.setAttribute('checked', `${this.checked}`);\n this.setFormValue(this.checked);\n this.updateFormValidity();\n };\n\n private handleOnFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleOnBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleSlotChange = () => {\n const slot = this.labelElem?.querySelector('slot') ?? null;\n if (isNil(slot)) return;\n\n this.hasLabel = !!getTextContent(slot, { recurse: true }).length;\n };\n\n private setFormValue = (checked: boolean) => {\n const value = checked ? 'on' : undefined;\n // Set form value based on the checked state\n // Here we also pass the state of the component (2nd argument) as the state of the form control\n // Details: https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue\n this.internals?.setFormValue(value, `${this.checked}`);\n };\n\n private updateFormValidity = () => {\n const { formValidationMessage, internals, required, checked, inputElem } = this;\n // Clear the validity state\n internals?.states.clear();\n\n if (!(required && !checked)) {\n // If the switch component is not required or is checked, set the validity state to valid\n internals?.states.add('valid');\n internals?.setValidity({});\n return;\n }\n\n // Set validity state based on the required property and checked state\n internals?.states.add('invalid');\n internals?.setValidity({ valueMissing: true }, formValidationMessage, inputElem);\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const hostStyle = {\n ...(this.justifyContent && { '--bq-switch--justify-content': this.justifyContent }),\n };\n\n const labelCssClasses = {\n 'has-background': this.backgroundOnHover,\n 'is-checked': this.checked,\n 'is-disabled': this.disabled,\n 'flex-row-reverse': this.reverseOrder,\n };\n\n return (\n <Host class={{ 'full-width': this.fullWidth }} style={hostStyle}>\n <label class={{ 'bq-switch group': true, ...labelCssClasses }} part=\"base\">\n {/* Hidden native HTML input */}\n <input\n aria-checked={this.checked ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-label={this.name}\n checked={this.checked}\n class=\"bq-switch--input peer !bs-[--bq-switch--dot-size] !is-[--bq-switch--width] sr-only peer-checked:invisible\"\n disabled={this.disabled}\n name={!isNil(this.name) ? this.name : undefined}\n onBlur={this.handleOnBlur}\n onChange={this.handleChange}\n onFocus={this.handleOnFocus}\n ref={(input) => {\n this.inputElem = input;\n }}\n required={this.required}\n role=\"switch\"\n type=\"checkbox\"\n value={this.value}\n />\n {/* Control */}\n <div\n class=\"bq-switch--control bs-[--bq-switch--height] is-[--bq-switch--width] relative box-border flex justify-between rounded-full bg-ui-tertiary p-b-xs2 p-i-xs2 transition duration-300 group-[&.is-checked]:bg-ui-brand\"\n part=\"control\"\n >\n {this.innerLabel === 'icon' && (\n <bq-icon class=\"bq-switch--control__icon on\" color=\"icon--alt\" name=\"check\" part=\"icon-on\" title=\"On\" />\n )}\n {this.innerLabel === 'icon' && (\n <bq-icon\n class=\"bq-switch--control__icon off\"\n color=\"icon--inverse\"\n name=\"x\"\n part=\"icon-off\"\n title=\"Off\"\n />\n )}\n {/* Dot */}\n <div class=\"bq-switch--control__dot\" part=\"dot\" />\n </div>\n {/* Label */}\n <span\n class={{\n 'bq-switch--label font-medium text-m text-primary leading-regular transition-colors duration-300': true,\n 'ms-s': this.hasLabel && !this.reverseOrder,\n 'me-s': this.hasLabel && this.reverseOrder,\n }}\n part=\"label\"\n ref={(span) => {\n this.labelElem = span;\n }}\n >\n <slot onSlotchange={this.handleSlotChange} />\n </span>\n </label>\n </Host>\n );\n }\n}\n"],"mappings":";;;;4KAAA,MAAMA,EAAc,8kwB,MC4DPC,EAAQC,EAAA,MAAAD,UAAAE,E,oNAIXC,UACAC,UACAC,iBAKWC,U,qBAOVC,SAAW,MAMKC,kBAA8B,MAGfC,QAAoB,MAGnCC,SAAqB,MAGrBC,sBAGAC,UAAsB,MAGtBC,WAAiC,UAMjCC,eAAyC,QAGzCC,KAGAC,SAAqB,MAGrBC,aAAyB,MAGzBC,MAMzB,oBAAAC,GACEC,KAAKC,oB,CAQEC,SAGAC,QAGAC,OAMT,iBAAAC,GACEL,KAAKf,iBAAmBe,KAAKX,O,CAG/B,gBAAAiB,GACEN,KAAKO,kB,CAGP,kBAAAC,GAME,GAAIR,KAAKX,UAAYW,KAAKf,iBAAkB,CAC1Ce,KAAKE,SAASO,KAAK,CAAEpB,QAASW,KAAKX,UACnCW,KAAKf,iBAAmBe,KAAKX,O,EAIjC,sBAAAqB,GACEV,KAAKW,aAAaX,KAAKX,SACvBW,KAAKC,oB,CAGP,iBAAAW,GAEEZ,KAAKX,QAAU,MACfW,KAAKhB,UAAU6B,gBAAgB,WAC/Bb,KAAKd,WAAWyB,aAAaG,WAC7Bd,KAAKC,oB,CAkBP,YAAMc,GACJf,KAAKhB,WAAWgC,O,CAQlB,YAAMC,GACJjB,KAAKhB,WAAWkC,O,CAQlB,WAAMC,GACJnB,KAAKhB,WAAWoC,M,CAQVC,aAAe,KACrBrB,KAAKX,SAAWW,KAAKX,QACrBW,KAAKhB,UAAUsC,aAAa,UAAW,GAAGtB,KAAKX,WAC/CW,KAAKW,aAAaX,KAAKX,SACvBW,KAAKC,oBAAoB,EAGnBsB,cAAgB,KACtBvB,KAAKG,QAAQM,KAAKT,KAAKwB,GAAG,EAGpBC,aAAe,KACrBzB,KAAKI,OAAOK,KAAKT,KAAKwB,GAAG,EAGnBjB,iBAAmB,KACzB,MAAMmB,EAAO1B,KAAKjB,WAAW4C,cAAc,SAAW,KACtD,GAAIC,EAAMF,GAAO,OAEjB1B,KAAKb,WAAa0C,EAAeH,EAAM,CAAEI,QAAS,OAAQC,MAAM,EAG1DpB,aAAgBtB,IACtB,MAAMS,EAAQT,EAAU,KAAOyB,UAI/Bd,KAAKd,WAAWyB,aAAab,EAAO,GAAGE,KAAKX,UAAU,EAGhDY,mBAAqB,KAC3B,MAAMV,sBAAEA,EAAqBL,UAAEA,EAASU,SAAEA,EAAQP,QAAEA,EAAOL,UAAEA,GAAcgB,KAE3Ed,GAAW8C,OAAOC,QAElB,KAAMrC,IAAaP,GAAU,CAE3BH,GAAW8C,OAAOE,IAAI,SACtBhD,GAAWiD,YAAY,IACvB,M,CAIFjD,GAAW8C,OAAOE,IAAI,WACtBhD,GAAWiD,YAAY,CAAEC,aAAc,MAAQ7C,EAAuBP,EAAU,EAOlF,MAAAqD,GACE,MAAMC,EAAY,IACZtC,KAAKN,gBAAkB,CAAE,+BAAgCM,KAAKN,iBAGpE,MAAM6C,EAAkB,CACtB,iBAAkBvC,KAAKZ,kBACvB,aAAcY,KAAKX,QACnB,cAAeW,KAAKV,SACpB,mBAAoBU,KAAKH,cAG3B,OACE2C,EAACC,EAAK,CAAAC,IAAA,2CAAAC,MAAO,CAAE,aAAc3C,KAAKR,WAAaoD,MAAON,GACpDE,EAAA,SAAAE,IAAA,2CAAOC,MAAO,CAAE,kBAAmB,QAASJ,GAAmBM,KAAK,QAElEL,EAAA,SAAAE,IAAA,0DACgB1C,KAAKX,QAAU,OAAS,QAAO,gBAC9BW,KAAKV,SAAW,OAAS,QAC5B,aAAAU,KAAKL,KACjBN,QAASW,KAAKX,QACdsD,MAAM,4GACNrD,SAAUU,KAAKV,SACfK,MAAOiC,EAAM5B,KAAKL,MAAQK,KAAKL,KAAOmB,UACtCgC,OAAQ9C,KAAKyB,aACbsB,SAAU/C,KAAKqB,aACf2B,QAAShD,KAAKuB,cACd0B,IAAMC,IACJlD,KAAKhB,UAAYkE,CAAK,EAExBtD,SAAUI,KAAKJ,SACfuD,KAAK,SACLC,KAAK,WACLtD,MAAOE,KAAKF,QAGd0C,EAAA,OAAAE,IAAA,2CACEC,MAAM,oNACNE,KAAK,WAEJ7C,KAAKP,aAAe,QACnB+C,EAAA,WAAAE,IAAA,2CAASC,MAAM,8BAA8BU,MAAM,YAAY1D,KAAK,QAAQkD,KAAK,UAAUS,MAAM,OAElGtD,KAAKP,aAAe,QACnB+C,EAAA,WAAAE,IAAA,2CACEC,MAAM,+BACNU,MAAM,gBACN1D,KAAK,IACLkD,KAAK,WACLS,MAAM,QAIVd,EAAK,OAAAE,IAAA,2CAAAC,MAAM,0BAA0BE,KAAK,SAG5CL,EAAA,QAAAE,IAAA,2CACEC,MAAO,CACL,kGAAmG,KACnG,OAAQ3C,KAAKb,WAAaa,KAAKH,aAC/B,OAAQG,KAAKb,UAAYa,KAAKH,cAEhCgD,KAAK,QACLI,IAAMM,IACJvD,KAAKjB,UAAYwE,CAAI,GAGvBf,EAAM,QAAAE,IAAA,2CAAAc,aAAcxD,KAAKO,qB","ignoreList":[]}
1
+ {"version":3,"names":["bqSwitchCss","BqSwitch","__stencil_proxyCustomElement","HTMLElement","labelElem","inputElem","prevCheckedValue","internals","hasLabel","backgroundOnHover","checked","disabled","formValidationMessage","fullWidth","innerLabel","justifyContent","name","required","reverseOrder","value","handleRequiredChange","this","updateFormValidity","bqChange","bqFocus","bqBlur","componentWillLoad","componentDidLoad","handleSlotChange","componentDidUpdate","emit","formAssociatedCallback","setFormValue","formResetCallback","removeAttribute","undefined","vClick","click","vFocus","focus","vBlur","blur","handleChange","setAttribute","handleOnFocus","el","handleOnBlur","slot","querySelector","isNil","getTextContent","recurse","length","states","clear","add","setValidity","valueMissing","render","hostStyle","labelCssClasses","_jsx","Host","class","style","children","_jsxs","part","onBlur","onChange","onFocus","ref","input","role","type","color","title","span","onSlotchange"],"sources":["../../packages/beeq/src/components/switch/scss/bq-switch.scss?tag=bq-switch&encapsulation=shadow","../../packages/beeq/src/components/switch/bq-switch.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Switch styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-switch.variables';\n\n:host {\n @apply inline-block;\n}\n\n:host(.full-width) {\n @apply is-full;\n}\n\n.bq-switch {\n @apply flex cursor-pointer select-none items-center rounded-s transition-colors duration-300 p-b-2 p-i-2;\n\n justify-content: var(--bq-switch--justify-content);\n\n // Display background on hover (if enabled)\n &.has-background:not(.is-disabled):hover {\n @apply bg-hover-ui-primary;\n }\n\n &.is-disabled {\n @apply cursor-not-allowed opacity-60;\n }\n}\n\n.bq-switch--input:not(:disabled):focus,\n.bq-switch--input:not(:disabled):focus-visible {\n ~ .bq-switch--control {\n @apply focus;\n }\n}\n\n.bq-switch--control__dot {\n @apply absolute start-xs2 rounded-full bg-ui-primary bs-[--bq-switch--dot-size] is-[--bq-switch--dot-size];\n @apply group-[&.is-checked]:start-[calc(100%_-_var(--bq-switch--dot-size)_-_var(--bq-spacing-xs2))] group-[&.is-checked]:bg-[--bq-icon--alt];\n @apply transition-all duration-300;\n}\n\n.bq-switch--control__icon {\n --bq-icon--size: var(--bq-switch--dot-size) !important;\n\n &::part(base) {\n @apply flex;\n }\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { AttachInternals, Component, Element, Event, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { getTextContent, isNil } from '../../shared/utils';\nimport type { TSwitchInnerLabel, TSwitchJustifyContent } from './bq-switch.types';\n\n/**\n * Toggle switches are digital on/off switches.\n * They should provide immediate results, giving users the freedom to control their preferences as needed.\n *\n * @example How to use it\n * ```html\n * <bq-switch inner-label=\"default\" justify-content=\"start\" name=\"bq-switch\" value=\"Switch value\">\n * Toggle me!\n * </bq-switch>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/49d9c9-switch\n * @status stable\n *\n * @dependency bq-icon\n *\n * @attr {boolean} background-on-hover - If `true`, a background will be displayed on hover\n * @attr {boolean} checked - It indicates whether if the switch is `ON` by default (when the page loads)\n * @attr {boolean} disabled - If `true`, the switch control will be disabled and no interaction will be allowed\n * @attr {string} form-validation-message - The native form validation message\n * @attr {boolean} full-width - If `true`, the component will take the full width space available on the parent container\n * @attr {\"default\" | \"icon\"} inner-label - It indicates how to to display the on/off marks inside the control, with icons or none (default)\n * @attr {\"start\" | \"end\" | \"center\" | \"space-between\" | \"space-around\" | \"space-evenly\"} justify-content - It defines how to distribute the space between and around the control and the label text\n * @attr {string} name - Name of the form control. Submitted with the form as part of a name/value pair\n * @attr {boolean} required - If `true`, it will indicate that the user must switch `ON` the element before the owning form can be submitted\n * @attr {boolean} reverse-order - If `true`, the order of the control and the label text will be changed\n * @attr {string} value - The input control's value, submitted as a name/value pair with form data\n *\n * @event bqChange - Handler to be called when the switch state changes\n * @event bqFocus - Handler to be called when the switch gets focus\n * @event bqBlur - Handler to be called when the switch loses focus\n *\n * @slot - The switch label text\n *\n * @part base - HTML `<label>` root container\n * @part control - HTML `<div>` element for the custom control\n * @part dot - HTML `<div>` element that acts as changing dot\n * @part icon-off - HTMLBqIcon `<pk-icon>` element used as the `OFF` mark inner label\n * @part icon-on - HTMLBqIcon `<pk-icon>` element used as the `ON` mark inner label\n * @part label - HTML `<span>` element that holds the label text\n *\n * @cssprop --bq-switch--height - Switch height\n * @cssprop --bq-switch--justify-content - Switch justify content\n * @cssprop --bq-switch--width - Switch width\n * @cssprop --bq-switch--dot-size - Switch dot size\n */\n@Component({\n tag: 'bq-switch',\n styleUrl: './scss/bq-switch.scss',\n formAssociated: true,\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqSwitch {\n // Own Properties\n // ====================\n\n private labelElem: HTMLSpanElement;\n private inputElem: HTMLInputElement;\n private prevCheckedValue: boolean;\n\n // Reference to host HTML element\n // ===================================\n\n @AttachInternals() internals!: ElementInternals;\n @Element() el!: HTMLBqSwitchElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() hasLabel = false;\n\n // Public Property API\n // ========================\n\n /** If true, a background will be displayed on hover */\n @Prop({ reflect: true }) backgroundOnHover?: boolean = false;\n\n /** It indicates whether if the switch is `ON` by default (when the page loads) */\n @Prop({ reflect: true, mutable: true }) checked?: boolean = false;\n\n /** If true, the switch control will be disabled and no interaction will be allowed */\n @Prop({ reflect: true }) disabled?: boolean = false;\n\n /** The native form validation message */\n @Prop({ mutable: true }) formValidationMessage?: string;\n\n /** If true, the component will take the full width space available on the parent container */\n @Prop({ reflect: true }) fullWidth?: boolean = false;\n\n /** It indicates how to to display the on/off marks inside the control, with icons or none (default) */\n @Prop({ reflect: true }) innerLabel?: TSwitchInnerLabel = 'default';\n\n /**\n * It defines how to distribute the space between and around the control and the label text\n * (https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content)\n */\n @Prop({ reflect: true }) justifyContent?: TSwitchJustifyContent = 'start';\n\n /** Name of the form control. Submitted with the form as part of a name/value pair */\n @Prop({ reflect: true }) name!: string;\n\n /** If `true`, it will indicate that the user must switch `ON` the element before the owning form can be submitted */\n @Prop({ reflect: true }) required?: boolean = false;\n\n /** If true, the order of the control and the label text will be changed */\n @Prop({ reflect: true }) reverseOrder?: boolean = false;\n\n /** The input control's value, submitted as a name/value pair with form data. */\n @Prop({ reflect: true }) value?: string;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('required')\n handleRequiredChange() {\n this.updateFormValidity();\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the switch state changes */\n @Event() bqChange: EventEmitter<{ checked: boolean }>;\n\n /** Handler to be called when the switch gets focus */\n @Event() bqFocus: EventEmitter<HTMLBqSwitchElement>;\n\n /** Handler to be called when the switch loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqSwitchElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.prevCheckedValue = this.checked;\n }\n\n componentDidLoad() {\n this.handleSlotChange();\n }\n\n componentDidUpdate() {\n /**\n * We need to trigger the `bqChange` immediately after the first update happens\n * so the checked attribute get applied, otherwise, a delay will happen\n * between the event emits and when the checked attribute value gets reflected in the element host.\n */\n if (this.checked !== this.prevCheckedValue) {\n this.bqChange.emit({ checked: this.checked });\n this.prevCheckedValue = this.checked;\n }\n }\n\n formAssociatedCallback() {\n this.setFormValue(this.checked);\n this.updateFormValidity();\n }\n\n formResetCallback() {\n // Reset the form value and validity state\n this.checked = false;\n this.inputElem.removeAttribute('checked');\n this.internals?.setFormValue(undefined);\n this.updateFormValidity();\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 /**\n * Simulate a click event on the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.click()`.\n */\n @Method()\n async vClick() {\n this.inputElem?.click();\n }\n\n /**\n * Sets focus on the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.focus()`.\n */\n @Method()\n async vFocus() {\n this.inputElem?.focus();\n }\n\n /**\n * Remove focus from the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.blur()`.\n */\n @Method()\n async vBlur() {\n this.inputElem?.blur();\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleChange = () => {\n this.checked = !this.checked;\n this.inputElem.setAttribute('checked', `${this.checked}`);\n this.setFormValue(this.checked);\n this.updateFormValidity();\n };\n\n private handleOnFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleOnBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleSlotChange = () => {\n const slot = this.labelElem?.querySelector('slot') ?? null;\n if (isNil(slot)) return;\n\n this.hasLabel = !!getTextContent(slot, { recurse: true }).length;\n };\n\n private setFormValue = (checked: boolean) => {\n const value = checked ? 'on' : undefined;\n // Set form value based on the checked state\n // Here we also pass the state of the component (2nd argument) as the state of the form control\n // Details: https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue\n this.internals?.setFormValue(value, `${this.checked}`);\n };\n\n private updateFormValidity = () => {\n const { formValidationMessage, internals, required, checked, inputElem } = this;\n // Clear the validity state\n internals?.states.clear();\n\n if (!(required && !checked)) {\n // If the switch component is not required or is checked, set the validity state to valid\n internals?.states.add('valid');\n internals?.setValidity({});\n return;\n }\n\n // Set validity state based on the required property and checked state\n internals?.states.add('invalid');\n internals?.setValidity({ valueMissing: true }, formValidationMessage, inputElem);\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const hostStyle = {\n ...(this.justifyContent && { '--bq-switch--justify-content': this.justifyContent }),\n };\n\n const labelCssClasses = {\n 'has-background': this.backgroundOnHover,\n 'is-checked': this.checked,\n 'is-disabled': this.disabled,\n 'flex-row-reverse': this.reverseOrder,\n };\n\n return (\n <Host class={{ 'full-width': this.fullWidth }} style={hostStyle}>\n <label class={{ 'bq-switch group': true, ...labelCssClasses }} part=\"base\">\n {/* Hidden native HTML input */}\n <input\n aria-checked={this.checked ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-label={this.name}\n checked={this.checked}\n class=\"bq-switch--input peer !bs-[--bq-switch--dot-size] !is-[--bq-switch--width] sr-only peer-checked:invisible\"\n disabled={this.disabled}\n name={!isNil(this.name) ? this.name : undefined}\n onBlur={this.handleOnBlur}\n onChange={this.handleChange}\n onFocus={this.handleOnFocus}\n ref={(input) => {\n this.inputElem = input;\n }}\n required={this.required}\n role=\"switch\"\n type=\"checkbox\"\n value={this.value}\n />\n {/* Control */}\n <div\n class=\"bq-switch--control bs-[--bq-switch--height] is-[--bq-switch--width] relative box-border flex justify-between rounded-full bg-ui-tertiary p-b-xs2 p-i-xs2 transition duration-300 group-[&.is-checked]:bg-ui-brand\"\n part=\"control\"\n >\n {this.innerLabel === 'icon' && (\n <bq-icon class=\"bq-switch--control__icon on\" color=\"icon--alt\" name=\"check\" part=\"icon-on\" title=\"On\" />\n )}\n {this.innerLabel === 'icon' && (\n <bq-icon\n class=\"bq-switch--control__icon off\"\n color=\"icon--inverse\"\n name=\"x\"\n part=\"icon-off\"\n title=\"Off\"\n />\n )}\n {/* Dot */}\n <div class=\"bq-switch--control__dot\" part=\"dot\" />\n </div>\n {/* Label */}\n <span\n class={{\n 'bq-switch--label font-medium text-m text-primary leading-regular transition-colors duration-300': true,\n 'ms-s': this.hasLabel && !this.reverseOrder,\n 'me-s': this.hasLabel && this.reverseOrder,\n }}\n part=\"label\"\n ref={(span) => {\n this.labelElem = span;\n }}\n >\n <slot onSlotchange={this.handleSlotChange} />\n </span>\n </label>\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -2,5 +2,5 @@
2
2
  * Built by Endavans
3
3
  * © https://beeq.design - Apache 2 License.
4
4
  */
5
- import{p as a,H as r,c as e,h as b,d as n}from"./p-DGysEMss.js";import{d as t}from"./p-CVw85-WU.js";import{g as q}from"./p-BsSDkLU5.js";import{i}from"./p-BxgDLPzX.js";import{i as o}from"./p-BcPwGxIn.js";import{v as s}from"./p-zh4P02Kn.js";import{T as d,a as l,b as c}from"./p-DnkZCdMA.js";const v='::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}.absolute{position:absolute}.relative{position:relative}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.block{display:block}.flex{display:flex}.hidden{display:none}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-xs2{gap:var(--bq-spacing-xs2)}.border-0{border-width:0}.border-solid{border-style:solid}.border-primary{border-color:var(--bq-stroke--primary)}.p-xs2{padding:var(--bq-spacing-xs2)}.content-empty{--tw-content:"";content:var(--tw-content)}.content-none{--tw-content:none;content:var(--tw-content)}.bs-full{block-size:100%}.is-0{inline-size:0}.is-full{inline-size:100%}.inset-be-0{inset-block-end:0}.\\[border-block-end-width\\:--bq-stroke-s\\]{border-block-end-width:var(--bq-stroke-s)}.\\[border-block-end-width\\:0px\\]{border-block-end-width:0}.\\[border-inline-end-width\\:--bq-stroke-s\\]{border-inline-end-width:var(--bq-stroke-s)}.\\[border-inline-start-width\\:--bq-stroke-s\\]{border-inline-start-width:var(--bq-stroke-s)}@-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{display:block}.bq-tab-group{position:relative}.bq-tab-group:after{--tw-content:"";border-color:var(--bq-stroke--primary);border-style:solid;border-width:0;content:var(--tw-content);display:flex;position:absolute}.bq-tab-group--horizontal-end:after,.bq-tab-group--horizontal-start:after{border-block-end-width:var(--bq-stroke-s);inline-size:100%;inset-block-end:0}.bq-tab-group--horizontal-start{justify-content:flex-start}.bq-tab-group--horizontal-end{justify-content:flex-end}.bq-tab-group--vertical-start:after{block-size:100%;border-block-end-width:0;border-inline-end-width:var(--bq-stroke-s);inline-size:0;inset-inline-end:0}.bq-tab-group--vertical-end:after{block-size:100%;border-block-end-width:0;border-inline-start-width:var(--bq-stroke-s);inline-size:0;inset-inline-start:0}.bq-tab-group.no-divider:after{--tw-content:none;content:var(--tw-content)}.bq-tab-group--container{-ms-overflow-style:none;gap:var(--bq-spacing-xs2);padding:var(--bq-spacing-xs2);scrollbar-width:none}.bq-tab-group--container::-webkit-scrollbar{display:none}.static{position:static}.inline-block{display:inline-block}.flex-col{flex-direction:column}.overflow-x-auto{overflow-x:auto}.underline{text-decoration-line:underline}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ms-\\[--bq-tab--label-icon-gap\\]{margin-inline-start:var(--bq-tab--label-icon-gap)}.line-clamp-1{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;overflow:hidden}.items-center{align-items:center}.justify-center{justify-content:center}.text-brand{color:var(--bq-text--brand)}.text-primary{color:var(--bq-text--primary)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}';const u=a(class a extends r{constructor(a){super();if(a!==false){this.__registerHost()}this.__attachShadow();this.bqChange=e(this,"bqChange")}debouncedBqChange;get el(){return this}debounceTime=0;disableDivider=false;orientation="horizontal";placement="start";size="medium";value;checkDebounceChange(){if(this.debounceTime<0){this.debounceTime=Math.max(0,this.debounceTime)}if(this.debouncedBqChange){this.debouncedBqChange.cancel()}this.debouncedBqChange=t((a=>{this.bqChange.emit(a)}),this.debounceTime)}checkPropValues(){s(d,"medium",this.el,"size");s(l,"horizontal",this.el,"orientation");s(c,"start",this.el,"placement");this.bqTabElements.forEach((a=>{a.size=this.size;a.orientation=this.orientation;a.placement=this.placement;a.active=!o(this.value)?a.tabId===this.value:false}))}bqChange;componentWillLoad(){this.checkDebounceChange();this.checkPropValues()}componentDidLoad(){this.checkPropValues()}onKeyUp(a){const{target:r}=a;if(!i(r,"bq-tab"))return;this.makeTabsFocusable()}onBqClick(a){const{detail:r}=a;this.bqTabElements.forEach((a=>{a.active=a===r}));this.debouncedBqChange({value:r.tabId,target:r});this.selectTab(r)}async onBqKeyDown(a){const{target:r}=a;if(!i(r,"bq-tab"))return;const e={ArrowDown:"forward",ArrowRight:"forward",ArrowUp:"backward",ArrowLeft:"backward"};const b=e[a.detail.key];if(!b)return;await this.focusTabSibling(r,b)}onBqBlur(){this.restoreTabsFocus()}focusTabSibling=async(a,r)=>{let e=null;this.bqTabElements.forEach(((b,n,t)=>{b.active=false;if(b===a){e=q(t,n,r)}}));if(e){await e.vFocus();this.selectTab(e)}};makeTabsFocusable=()=>{this.bqTabElements.forEach((a=>{if(a.disabled)return;(async()=>{await a.enableFocus(true)})()}))};restoreTabsFocus=()=>{this.bqTabElements.forEach((a=>{if(a.disabled||a.active)return;(async()=>{await a.enableFocus(false)})()}))};get bqTabElements(){return Array.from(this.el.querySelectorAll("bq-tab"))}selectTab=a=>{const{tabId:r}=a;a.active=true;this.value=r;this.debouncedBqChange({value:r,target:a})};render(){return b(n,{key:"6139c8dfb78a7128d5f294c8fd62204cb6a70ddb",class:{"inline-block":this.orientation==="vertical"}},b("div",{key:"cc590d4c2ab4897f995046198c06d485eb1a5123",class:{[`bq-tab-group bq-tab-group--${this.orientation}-${this.placement} is-full flex`]:true,"no-divider":this.disableDivider},part:"base"},b("div",{key:"9af930823903202531e6597f8323400de792408c",class:{"bq-tab-group--container flex overflow-x-auto":true,"flex-col":this.orientation!=="horizontal"},part:"tabs",role:"tablist"},b("slot",{key:"00fac7b6caebd496d7c448ed2f00a593f81243cc"}))))}static get watchers(){return{debounceTime:["checkDebounceChange"],size:["checkPropValues"],value:["checkPropValues"],orientation:["checkPropValues"],placement:["checkPropValues"]}}static get style(){return v}},[769,"bq-tab-group",{debounceTime:[1538,"debounce-time"],disableDivider:[516,"disable-divider"],orientation:[513],placement:[513],size:[513],value:[1537]},[[19,"keyup","onKeyUp"],[1,"bqClick","onBqClick"],[1,"bqKeyDown","onBqKeyDown"],[3,"bqBlur","onBqBlur"]],{debounceTime:["checkDebounceChange"],size:["checkPropValues"],value:["checkPropValues"],orientation:["checkPropValues"],placement:["checkPropValues"]}]);function g(){if(typeof customElements==="undefined"){return}const a=["bq-tab-group"];a.forEach((a=>{switch(a){case"bq-tab-group":if(!customElements.get(a)){customElements.define(a,u)}break}}))}const f=u;const y=g;export{f as BqTabGroup,y as defineCustomElement};
5
+ import{p as a,H as r,c as e,d as b,e as n,t}from"./p-CCQ_5HvV.js";import{d as q}from"./p-CVw85-WU.js";import{g as i}from"./p-BsSDkLU5.js";import{i as o}from"./p-D1A0LpG_.js";import{i as s}from"./p-BcPwGxIn.js";import{v as d}from"./p-zh4P02Kn.js";import{T as l,a as c,b as v}from"./p-DnkZCdMA.js";const u=()=>`::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}.absolute{position:absolute}.relative{position:relative}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.block{display:block}.flex{display:flex}.hidden{display:none}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-xs2{gap:var(--bq-spacing-xs2)}.border-0{border-width:0}.border-solid{border-style:solid}.border-primary{border-color:var(--bq-stroke--primary)}.p-xs2{padding:var(--bq-spacing-xs2)}.content-empty{--tw-content:"";content:var(--tw-content)}.content-none{--tw-content:none;content:var(--tw-content)}.bs-full{block-size:100%}.is-0{inline-size:0}.is-full{inline-size:100%}.inset-be-0{inset-block-end:0}.\\[border-block-end-width\\:--bq-stroke-s\\]{border-block-end-width:var(--bq-stroke-s)}.\\[border-block-end-width\\:0px\\]{border-block-end-width:0}.\\[border-inline-end-width\\:--bq-stroke-s\\]{border-inline-end-width:var(--bq-stroke-s)}.\\[border-inline-start-width\\:--bq-stroke-s\\]{border-inline-start-width:var(--bq-stroke-s)}@-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{display:block}.bq-tab-group{position:relative}.bq-tab-group:after{--tw-content:"";border-color:var(--bq-stroke--primary);border-style:solid;border-width:0;content:var(--tw-content);display:flex;position:absolute}.bq-tab-group--horizontal-end:after,.bq-tab-group--horizontal-start:after{border-block-end-width:var(--bq-stroke-s);inline-size:100%;inset-block-end:0}.bq-tab-group--horizontal-start{justify-content:flex-start}.bq-tab-group--horizontal-end{justify-content:flex-end}.bq-tab-group--vertical-start:after{block-size:100%;border-block-end-width:0;border-inline-end-width:var(--bq-stroke-s);inline-size:0;inset-inline-end:0}.bq-tab-group--vertical-end:after{block-size:100%;border-block-end-width:0;border-inline-start-width:var(--bq-stroke-s);inline-size:0;inset-inline-start:0}.bq-tab-group.no-divider:after{--tw-content:none;content:var(--tw-content)}.bq-tab-group--container{-ms-overflow-style:none;gap:var(--bq-spacing-xs2);padding:var(--bq-spacing-xs2);scrollbar-width:none}.bq-tab-group--container::-webkit-scrollbar{display:none}.static{position:static}.inline-block{display:inline-block}.flex-col{flex-direction:column}.overflow-x-auto{overflow-x:auto}.underline{text-decoration-line:underline}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ms-\\[--bq-tab--label-icon-gap\\]{margin-inline-start:var(--bq-tab--label-icon-gap)}.line-clamp-1{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;overflow:hidden}.items-center{align-items:center}.justify-center{justify-content:center}.text-brand{color:var(--bq-text--brand)}.text-primary{color:var(--bq-text--primary)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}`;const g=a(class a extends r{constructor(a){super();if(a!==false){this.__registerHost()}this.__attachShadow();this.bqChange=e(this,"bqChange")}debouncedBqChange;get el(){return this}debounceTime=0;disableDivider=false;orientation="horizontal";placement="start";size="medium";value;checkDebounceChange(){if(this.debounceTime<0){this.debounceTime=Math.max(0,this.debounceTime)}if(this.debouncedBqChange){this.debouncedBqChange.cancel()}this.debouncedBqChange=q((a=>{this.bqChange.emit(a)}),this.debounceTime)}checkPropValues(){d(l,"medium",this.el,"size");d(c,"horizontal",this.el,"orientation");d(v,"start",this.el,"placement");this.bqTabElements.forEach((a=>{a.size=this.size;a.orientation=this.orientation;a.placement=this.placement;a.active=!s(this.value)?a.tabId===this.value:false}))}bqChange;componentWillLoad(){this.checkDebounceChange();this.checkPropValues()}componentDidLoad(){this.checkPropValues()}onKeyUp(a){const{target:r}=a;if(!o(r,"bq-tab"))return;this.makeTabsFocusable()}onBqClick(a){const{detail:r}=a;this.bqTabElements.forEach((a=>{a.active=a===r}));this.debouncedBqChange({value:r.tabId,target:r});this.selectTab(r)}async onBqKeyDown(a){const{target:r}=a;if(!o(r,"bq-tab"))return;const e={ArrowDown:"forward",ArrowRight:"forward",ArrowUp:"backward",ArrowLeft:"backward"};const b=e[a.detail.key];if(!b)return;await this.focusTabSibling(r,b)}onBqBlur(){this.restoreTabsFocus()}focusTabSibling=async(a,r)=>{let e=null;this.bqTabElements.forEach(((b,n,t)=>{b.active=false;if(b===a){e=i(t,n,r)}}));if(e){await e.vFocus();this.selectTab(e)}};makeTabsFocusable=()=>{this.bqTabElements.forEach((a=>{if(a.disabled)return;(async()=>{await a.enableFocus(true)})()}))};restoreTabsFocus=()=>{this.bqTabElements.forEach((a=>{if(a.disabled||a.active)return;(async()=>{await a.enableFocus(false)})()}))};get bqTabElements(){return Array.from(this.el.querySelectorAll("bq-tab"))}selectTab=a=>{const{tabId:r}=a;a.active=true;this.value=r;this.debouncedBqChange({value:r,target:a})};render(){return b(n,{class:{"inline-block":this.orientation==="vertical"},children:b("div",{class:{[`bq-tab-group bq-tab-group--${this.orientation}-${this.placement} is-full flex`]:true,"no-divider":this.disableDivider},part:"base",children:b("div",{class:{"bq-tab-group--container flex overflow-x-auto":true,"flex-col":this.orientation!=="horizontal"},part:"tabs",role:"tablist",children:b("slot",{},"c6a50f259ecaab21d223cc188f390a7d186ce2f8")},"71ba00dd69ed2cbaf547ca46a745dad58a4434c1")},"4f7c13e06144d733c851f1b8e62238bfdd4aabcd")},"50d10913b0d057c1f9272e4c577e65739e8b714a")}static get watchers(){return{debounceTime:[{checkDebounceChange:0}],size:[{checkPropValues:0}],value:[{checkPropValues:0}],orientation:[{checkPropValues:0}],placement:[{checkPropValues:0}]}}static get style(){return u()}},[769,"bq-tab-group",{debounceTime:[1538,"debounce-time"],disableDivider:[516,"disable-divider"],orientation:[513],placement:[513],size:[513],value:[1537]},[[19,"keyup","onKeyUp"],[1,"bqClick","onBqClick"],[1,"bqKeyDown","onBqKeyDown"],[3,"bqBlur","onBqBlur"]],{debounceTime:[{checkDebounceChange:0}],size:[{checkPropValues:0}],value:[{checkPropValues:0}],orientation:[{checkPropValues:0}],placement:[{checkPropValues:0}]}]);function f(){if(typeof customElements==="undefined"){return}const a=["bq-tab-group"];a.forEach((a=>{switch(a){case"bq-tab-group":if(!customElements.get(t(a))){customElements.define(t(a),g)}break}}))}const h=g;const y=f;export{h as BqTabGroup,y as defineCustomElement};
6
6
  //# sourceMappingURL=bq-tab-group.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["bqTabGroupCss","BqTabGroup","__stencil_proxyCustomElement","HTMLElement","debouncedBqChange","debounceTime","disableDivider","orientation","placement","size","value","checkDebounceChange","this","Math","max","cancel","debounce","event","bqChange","emit","checkPropValues","validatePropValue","TAB_SIZE","el","TAB_ORIENTATION","TAB_PLACEMENT","bqTabElements","forEach","bqTabElement","active","isNil","tabId","componentWillLoad","componentDidLoad","onKeyUp","target","isHTMLElement","makeTabsFocusable","onBqClick","detail","selectTab","onBqKeyDown","keyActions","ArrowDown","ArrowRight","ArrowUp","ArrowLeft","direction","key","focusTabSibling","onBqBlur","restoreTabsFocus","async","currentTarget","index","elements","getNextElement","vFocus","disabled","enableFocus","Array","from","querySelectorAll","render","h","Host","class","part","role"],"sources":["../../packages/beeq/src/components/tab-group/scss/bq-tab-group.scss?tag=bq-tab-group&encapsulation=shadow","../../packages/beeq/src/components/tab-group/bq-tab-group.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Tab styles */\n/* -------------------------------------------------------------------------- */\n\n:host {\n @apply block;\n}\n\n.bq-tab-group {\n @apply relative;\n\n &::after {\n @apply absolute flex border-0 border-solid border-primary content-empty;\n }\n\n &--horizontal-start,\n &--horizontal-end {\n &::after {\n @apply is-full inset-be-0 [border-block-end-width:--bq-stroke-s];\n }\n }\n\n &--horizontal-start {\n @apply justify-start;\n }\n\n &--horizontal-end {\n @apply justify-end;\n }\n\n &--vertical-start::after {\n @apply end-0 bs-full is-0 [border-block-end-width:0px] [border-inline-end-width:--bq-stroke-s];\n }\n\n &--vertical-end::after {\n @apply start-0 bs-full is-0 [border-block-end-width:0px] [border-inline-start-width:--bq-stroke-s];\n }\n}\n\n.bq-tab-group.no-divider {\n &::after {\n @apply content-none;\n }\n}\n\n.bq-tab-group--container {\n @include hide-scrollbar;\n @apply gap-xs2 p-xs2; // This will avoid cutting the outline focus style\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Host, h, Listen, Prop, Watch } from '@stencil/core';\n\nimport { debounce, getNextElement, isHTMLElement, isNil, type TDebounce, validatePropValue } from '../../shared/utils';\nimport type { TTabOrientation, TTabPlacement, TTabSize } from '../tab/bq-tab.types';\nimport { TAB_ORIENTATION, TAB_PLACEMENT, TAB_SIZE } from '../tab/bq-tab.types';\n\n/**\n * The tab group is a user interface element that allows users wrap a set of tab items.\n *\n * @example How to use it\n * ```html\n * <bq-tab-group value=\"5\">\n * <bq-tab tab-id=\"1\">Tab</bq-tab>\n * <bq-tab tab-id=\"2\" active>Tab</bq-tab>\n * <bq-tab tab-id=\"3\">Long Tab name</bq-tab>\n * <bq-tab tab-id=\"4\" disabled>Tab</bq-tab>\n * </bq-tab-group>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/775321-tabs\n * @status stable\n *\n * @attr {number} debounce-time - A number representing the delay value applied to bqChange event handler\n * @attr {boolean} disable-divider - If true, the underline divider below the tabs won't be shown\n * @attr {string} orientation - The direction that tab should be render\n * @attr {string} placement - The placement that tab should be render\n * @attr {string} size - The size of the tab\n * @attr {string} value - A string representing the id of the selected tab.\n *\n * @event bqChange - Handler to be called when the tab value changes\n *\n * @slot - The bq-tab items\n *\n * @part base - The HTML div wrapper inside the shadow DOM.\n * @part tabs - The HTML div used to hold the tab buttons.\n */\n@Component({\n tag: 'bq-tab-group',\n styleUrl: './scss/bq-tab-group.scss',\n shadow: true,\n})\nexport class BqTabGroup {\n // Own Properties\n // ====================\n\n private debouncedBqChange: TDebounce<{ value: string; target: HTMLBqTabElement }>;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqTabGroupElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** A number representing the delay value applied to bqChange event handler */\n @Prop({ reflect: true, mutable: true }) debounceTime = 0;\n\n /** If true, the underline divider below the tabs won't be shown */\n @Prop({ reflect: true }) disableDivider = false;\n\n /** The direction that tab should be render */\n @Prop({ reflect: true }) orientation?: TTabOrientation = 'horizontal';\n\n /** The placement that tab should be render */\n @Prop({ reflect: true }) placement?: TTabPlacement = 'start';\n\n /** The size of the tab */\n @Prop({ reflect: true }) size: TTabSize = 'medium';\n\n /** A string representing the id of the selected tab. */\n @Prop({ reflect: true, mutable: true }) value: string;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('debounceTime')\n checkDebounceChange() {\n if (this.debounceTime < 0) {\n this.debounceTime = Math.max(0, this.debounceTime);\n }\n\n if (this.debouncedBqChange) {\n this.debouncedBqChange.cancel();\n }\n\n this.debouncedBqChange = debounce((event: Parameters<typeof this.debouncedBqChange>[0]) => {\n this.bqChange.emit(event);\n }, this.debounceTime);\n }\n\n @Watch('size')\n @Watch('value')\n @Watch('orientation')\n @Watch('placement')\n checkPropValues() {\n validatePropValue(TAB_SIZE, 'medium', this.el, 'size');\n validatePropValue(TAB_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(TAB_PLACEMENT, 'start', this.el, 'placement');\n\n this.bqTabElements.forEach((bqTabElement) => {\n bqTabElement.size = this.size;\n bqTabElement.orientation = this.orientation;\n bqTabElement.placement = this.placement;\n bqTabElement.active = !isNil(this.value) ? bqTabElement.tabId === this.value : false;\n });\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the tab value changes */\n @Event() bqChange: EventEmitter<{ target: HTMLBqTabElement; value: string }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkDebounceChange();\n this.checkPropValues();\n }\n\n componentDidLoad() {\n this.checkPropValues();\n }\n\n // Listeners\n // ==============\n\n @Listen('keyup', { target: 'body', passive: true, capture: true })\n onKeyUp(event: KeyboardEvent) {\n const { target } = event;\n if (!isHTMLElement(target, 'bq-tab')) return;\n\n this.makeTabsFocusable();\n }\n\n @Listen('bqClick', { passive: true })\n onBqClick(event: CustomEvent<HTMLBqTabElement>) {\n const { detail: target } = event;\n this.bqTabElements.forEach((bqTabElement) => {\n bqTabElement.active = bqTabElement === target;\n });\n this.debouncedBqChange({ value: target.tabId, target });\n this.selectTab(target);\n }\n\n @Listen('bqKeyDown', { passive: true })\n async onBqKeyDown(event: CustomEvent<KeyboardEvent>) {\n const { target } = event;\n\n // NOTE: ensures the target is an HTML element with the tag name 'bq-tab'\n if (!isHTMLElement(target, 'bq-tab')) return;\n\n const keyActions: { [key: string]: 'forward' | 'backward' } = {\n ArrowDown: 'forward',\n ArrowRight: 'forward',\n ArrowUp: 'backward',\n ArrowLeft: 'backward',\n };\n\n // NOTE: gets the direction based on key pressed\n const direction = keyActions[event.detail.key];\n\n if (!direction) return;\n\n await this.focusTabSibling(target, direction);\n }\n\n @Listen('bqBlur', { capture: true, passive: true })\n onBqBlur() {\n this.restoreTabsFocus();\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 // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private focusTabSibling = async (\n currentTarget: HTMLBqTabElement,\n direction: 'forward' | 'backward',\n ): Promise<void> => {\n let target: HTMLBqTabElement | null = null;\n\n this.bqTabElements.forEach((bqTabElement, index, elements) => {\n bqTabElement.active = false;\n\n if (bqTabElement === currentTarget) {\n target = getNextElement(elements, index, direction);\n }\n });\n\n if (target) {\n await target.vFocus();\n this.selectTab(target);\n }\n };\n\n private makeTabsFocusable = (): void => {\n this.bqTabElements.forEach((bqTabElement) => {\n if (bqTabElement.disabled) return;\n\n /**\n * This is a \"fire and forget\" operation. The callback itself doesn't do anything special\n * with the asynchronous code (doesn't await it or do anything with the result)\n * Details: https://stackoverflow.com/a/63488201\n */\n (async () => {\n await bqTabElement.enableFocus(true);\n })();\n });\n };\n\n private restoreTabsFocus = (): void => {\n this.bqTabElements.forEach((bqTabElement) => {\n if (bqTabElement.disabled || bqTabElement.active) return;\n\n /** @See line #173 */\n (async () => {\n await bqTabElement.enableFocus(false);\n })();\n });\n };\n\n private get bqTabElements(): HTMLBqTabElement[] {\n return Array.from(this.el.querySelectorAll('bq-tab'));\n }\n\n private selectTab = (target: HTMLBqTabElement): void => {\n const { tabId } = target;\n target.active = true;\n this.value = tabId;\n this.debouncedBqChange({ value: tabId, target });\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <Host class={{ 'inline-block': this.orientation === 'vertical' }}>\n <div\n class={{\n [`bq-tab-group bq-tab-group--${this.orientation}-${this.placement} is-full flex`]: true,\n 'no-divider': this.disableDivider,\n }}\n part=\"base\"\n >\n <div\n class={{\n 'bq-tab-group--container flex overflow-x-auto': true,\n 'flex-col': this.orientation !== 'horizontal',\n }}\n part=\"tabs\"\n role=\"tablist\"\n >\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":";;;;iSAAA,MAAMA,EAAgB,yzqB,MC0CTC,EAAUC,EAAA,MAAAD,UAAAE,E,kHAIbC,kB,qBAegCC,aAAe,EAG9BC,eAAiB,MAGjBC,YAAgC,aAGhCC,UAA4B,QAG5BC,KAAiB,SAGFC,MAMxC,mBAAAC,GACE,GAAIC,KAAKP,aAAe,EAAG,CACzBO,KAAKP,aAAeQ,KAAKC,IAAI,EAAGF,KAAKP,a,CAGvC,GAAIO,KAAKR,kBAAmB,CAC1BQ,KAAKR,kBAAkBW,Q,CAGzBH,KAAKR,kBAAoBY,GAAUC,IACjCL,KAAKM,SAASC,KAAKF,EAAM,GACxBL,KAAKP,a,CAOV,eAAAe,GACEC,EAAkBC,EAAU,SAAUV,KAAKW,GAAI,QAC/CF,EAAkBG,EAAiB,aAAcZ,KAAKW,GAAI,eAC1DF,EAAkBI,EAAe,QAASb,KAAKW,GAAI,aAEnDX,KAAKc,cAAcC,SAASC,IAC1BA,EAAanB,KAAOG,KAAKH,KACzBmB,EAAarB,YAAcK,KAAKL,YAChCqB,EAAapB,UAAYI,KAAKJ,UAC9BoB,EAAaC,QAAUC,EAAMlB,KAAKF,OAASkB,EAAaG,QAAUnB,KAAKF,MAAQ,KAAK,G,CAS/EQ,SAMT,iBAAAc,GACEpB,KAAKD,sBACLC,KAAKQ,iB,CAGP,gBAAAa,GACErB,KAAKQ,iB,CAOP,OAAAc,CAAQjB,GACN,MAAMkB,OAAEA,GAAWlB,EACnB,IAAKmB,EAAcD,EAAQ,UAAW,OAEtCvB,KAAKyB,mB,CAIP,SAAAC,CAAUrB,GACR,MAAQsB,OAAQJ,GAAWlB,EAC3BL,KAAKc,cAAcC,SAASC,IAC1BA,EAAaC,OAASD,IAAiBO,CAAM,IAE/CvB,KAAKR,kBAAkB,CAAEM,MAAOyB,EAAOJ,MAAOI,WAC9CvB,KAAK4B,UAAUL,E,CAIjB,iBAAMM,CAAYxB,GAChB,MAAMkB,OAAEA,GAAWlB,EAGnB,IAAKmB,EAAcD,EAAQ,UAAW,OAEtC,MAAMO,EAAwD,CAC5DC,UAAW,UACXC,WAAY,UACZC,QAAS,WACTC,UAAW,YAIb,MAAMC,EAAYL,EAAWzB,EAAMsB,OAAOS,KAE1C,IAAKD,EAAW,aAEVnC,KAAKqC,gBAAgBd,EAAQY,E,CAIrC,QAAAG,GACEtC,KAAKuC,kB,CAeCF,gBAAkBG,MACxBC,EACAN,KAEA,IAAIZ,EAAkC,KAEtCvB,KAAKc,cAAcC,SAAQ,CAACC,EAAc0B,EAAOC,KAC/C3B,EAAaC,OAAS,MAEtB,GAAID,IAAiByB,EAAe,CAClClB,EAASqB,EAAeD,EAAUD,EAAOP,E,KAI7C,GAAIZ,EAAQ,OACJA,EAAOsB,SACb7C,KAAK4B,UAAUL,E,GAIXE,kBAAoB,KAC1BzB,KAAKc,cAAcC,SAASC,IAC1B,GAAIA,EAAa8B,SAAU,OAO3B,iBACQ9B,EAAa+B,YAAY,KAChC,EAFD,EAEI,GACJ,EAGIR,iBAAmB,KACzBvC,KAAKc,cAAcC,SAASC,IAC1B,GAAIA,EAAa8B,UAAY9B,EAAaC,OAAQ,OAGlD,iBACQD,EAAa+B,YAAY,MAChC,EAFD,EAEI,GACJ,EAGJ,iBAAYjC,GACV,OAAOkC,MAAMC,KAAKjD,KAAKW,GAAGuC,iBAAiB,U,CAGrCtB,UAAaL,IACnB,MAAMJ,MAAEA,GAAUI,EAClBA,EAAON,OAAS,KAChBjB,KAAKF,MAAQqB,EACbnB,KAAKR,kBAAkB,CAAEM,MAAOqB,EAAOI,UAAS,EAOlD,MAAA4B,GACE,OACEC,EAACC,EAAI,CAAAjB,IAAA,2CAACkB,MAAO,CAAE,eAAgBtD,KAAKL,cAAgB,aAClDyD,EAAA,OAAAhB,IAAA,2CACEkB,MAAO,CACL,CAAC,8BAA8BtD,KAAKL,eAAeK,KAAKJ,0BAA2B,KACnF,aAAcI,KAAKN,gBAErB6D,KAAK,QAELH,EAAA,OAAAhB,IAAA,2CACEkB,MAAO,CACL,+CAAgD,KAChD,WAAYtD,KAAKL,cAAgB,cAEnC4D,KAAK,OACLC,KAAK,WAELJ,EAAA,QAAAhB,IAAA,+C","ignoreList":[]}
1
+ {"version":3,"names":["bqTabGroupCss","BqTabGroup","__stencil_proxyCustomElement","HTMLElement","debouncedBqChange","debounceTime","disableDivider","orientation","placement","size","value","checkDebounceChange","this","Math","max","cancel","debounce","event","bqChange","emit","checkPropValues","validatePropValue","TAB_SIZE","el","TAB_ORIENTATION","TAB_PLACEMENT","bqTabElements","forEach","bqTabElement","active","isNil","tabId","componentWillLoad","componentDidLoad","onKeyUp","target","isHTMLElement","makeTabsFocusable","onBqClick","detail","selectTab","onBqKeyDown","keyActions","ArrowDown","ArrowRight","ArrowUp","ArrowLeft","direction","key","focusTabSibling","onBqBlur","restoreTabsFocus","async","currentTarget","index","elements","getNextElement","vFocus","disabled","enableFocus","Array","from","querySelectorAll","render","_jsx","Host","class","children","part","role"],"sources":["../../packages/beeq/src/components/tab-group/scss/bq-tab-group.scss?tag=bq-tab-group&encapsulation=shadow","../../packages/beeq/src/components/tab-group/bq-tab-group.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Tab styles */\n/* -------------------------------------------------------------------------- */\n\n:host {\n @apply block;\n}\n\n.bq-tab-group {\n @apply relative;\n\n &::after {\n @apply absolute flex border-0 border-solid border-primary content-empty;\n }\n\n &--horizontal-start,\n &--horizontal-end {\n &::after {\n @apply is-full inset-be-0 [border-block-end-width:--bq-stroke-s];\n }\n }\n\n &--horizontal-start {\n @apply justify-start;\n }\n\n &--horizontal-end {\n @apply justify-end;\n }\n\n &--vertical-start::after {\n @apply end-0 bs-full is-0 [border-block-end-width:0px] [border-inline-end-width:--bq-stroke-s];\n }\n\n &--vertical-end::after {\n @apply start-0 bs-full is-0 [border-block-end-width:0px] [border-inline-start-width:--bq-stroke-s];\n }\n}\n\n.bq-tab-group.no-divider {\n &::after {\n @apply content-none;\n }\n}\n\n.bq-tab-group--container {\n @include hide-scrollbar;\n @apply gap-xs2 p-xs2; // This will avoid cutting the outline focus style\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Host, Listen, Prop, Watch } from '@stencil/core';\n\nimport { debounce, getNextElement, isHTMLElement, isNil, type TDebounce, validatePropValue } from '../../shared/utils';\nimport type { TTabOrientation, TTabPlacement, TTabSize } from '../tab/bq-tab.types';\nimport { TAB_ORIENTATION, TAB_PLACEMENT, TAB_SIZE } from '../tab/bq-tab.types';\n\n/**\n * The tab group is a user interface element that allows users wrap a set of tab items.\n *\n * @example How to use it\n * ```html\n * <bq-tab-group value=\"5\">\n * <bq-tab tab-id=\"1\">Tab</bq-tab>\n * <bq-tab tab-id=\"2\" active>Tab</bq-tab>\n * <bq-tab tab-id=\"3\">Long Tab name</bq-tab>\n * <bq-tab tab-id=\"4\" disabled>Tab</bq-tab>\n * </bq-tab-group>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/775321-tabs\n * @status stable\n *\n * @attr {number} debounce-time - A number representing the delay value applied to bqChange event handler\n * @attr {boolean} disable-divider - If true, the underline divider below the tabs won't be shown\n * @attr {string} orientation - The direction that tab should be render\n * @attr {string} placement - The placement that tab should be render\n * @attr {string} size - The size of the tab\n * @attr {string} value - A string representing the id of the selected tab.\n *\n * @event bqChange - Handler to be called when the tab value changes\n *\n * @slot - The bq-tab items\n *\n * @part base - The HTML div wrapper inside the shadow DOM.\n * @part tabs - The HTML div used to hold the tab buttons.\n */\n@Component({\n tag: 'bq-tab-group',\n styleUrl: './scss/bq-tab-group.scss',\n shadow: true,\n})\nexport class BqTabGroup {\n // Own Properties\n // ====================\n\n private debouncedBqChange: TDebounce<{ value: string; target: HTMLBqTabElement }>;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqTabGroupElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** A number representing the delay value applied to bqChange event handler */\n @Prop({ reflect: true, mutable: true }) debounceTime = 0;\n\n /** If true, the underline divider below the tabs won't be shown */\n @Prop({ reflect: true }) disableDivider = false;\n\n /** The direction that tab should be render */\n @Prop({ reflect: true }) orientation?: TTabOrientation = 'horizontal';\n\n /** The placement that tab should be render */\n @Prop({ reflect: true }) placement?: TTabPlacement = 'start';\n\n /** The size of the tab */\n @Prop({ reflect: true }) size: TTabSize = 'medium';\n\n /** A string representing the id of the selected tab. */\n @Prop({ reflect: true, mutable: true }) value: string;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('debounceTime')\n checkDebounceChange() {\n if (this.debounceTime < 0) {\n this.debounceTime = Math.max(0, this.debounceTime);\n }\n\n if (this.debouncedBqChange) {\n this.debouncedBqChange.cancel();\n }\n\n this.debouncedBqChange = debounce((event: Parameters<typeof this.debouncedBqChange>[0]) => {\n this.bqChange.emit(event);\n }, this.debounceTime);\n }\n\n @Watch('size')\n @Watch('value')\n @Watch('orientation')\n @Watch('placement')\n checkPropValues() {\n validatePropValue(TAB_SIZE, 'medium', this.el, 'size');\n validatePropValue(TAB_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(TAB_PLACEMENT, 'start', this.el, 'placement');\n\n this.bqTabElements.forEach((bqTabElement) => {\n bqTabElement.size = this.size;\n bqTabElement.orientation = this.orientation;\n bqTabElement.placement = this.placement;\n bqTabElement.active = !isNil(this.value) ? bqTabElement.tabId === this.value : false;\n });\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the tab value changes */\n @Event() bqChange: EventEmitter<{ target: HTMLBqTabElement; value: string }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkDebounceChange();\n this.checkPropValues();\n }\n\n componentDidLoad() {\n this.checkPropValues();\n }\n\n // Listeners\n // ==============\n\n @Listen('keyup', { target: 'body', passive: true, capture: true })\n onKeyUp(event: KeyboardEvent) {\n const { target } = event;\n if (!isHTMLElement(target, 'bq-tab')) return;\n\n this.makeTabsFocusable();\n }\n\n @Listen('bqClick', { passive: true })\n onBqClick(event: CustomEvent<HTMLBqTabElement>) {\n const { detail: target } = event;\n this.bqTabElements.forEach((bqTabElement) => {\n bqTabElement.active = bqTabElement === target;\n });\n this.debouncedBqChange({ value: target.tabId, target });\n this.selectTab(target);\n }\n\n @Listen('bqKeyDown', { passive: true })\n async onBqKeyDown(event: CustomEvent<KeyboardEvent>) {\n const { target } = event;\n\n // NOTE: ensures the target is an HTML element with the tag name 'bq-tab'\n if (!isHTMLElement(target, 'bq-tab')) return;\n\n const keyActions: { [key: string]: 'forward' | 'backward' } = {\n ArrowDown: 'forward',\n ArrowRight: 'forward',\n ArrowUp: 'backward',\n ArrowLeft: 'backward',\n };\n\n // NOTE: gets the direction based on key pressed\n const direction = keyActions[event.detail.key];\n\n if (!direction) return;\n\n await this.focusTabSibling(target, direction);\n }\n\n @Listen('bqBlur', { capture: true, passive: true })\n onBqBlur() {\n this.restoreTabsFocus();\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 // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private focusTabSibling = async (\n currentTarget: HTMLBqTabElement,\n direction: 'forward' | 'backward',\n ): Promise<void> => {\n let target: HTMLBqTabElement | null = null;\n\n this.bqTabElements.forEach((bqTabElement, index, elements) => {\n bqTabElement.active = false;\n\n if (bqTabElement === currentTarget) {\n target = getNextElement(elements, index, direction);\n }\n });\n\n if (target) {\n await target.vFocus();\n this.selectTab(target);\n }\n };\n\n private makeTabsFocusable = (): void => {\n this.bqTabElements.forEach((bqTabElement) => {\n if (bqTabElement.disabled) return;\n\n /**\n * This is a \"fire and forget\" operation. The callback itself doesn't do anything special\n * with the asynchronous code (doesn't await it or do anything with the result)\n * Details: https://stackoverflow.com/a/63488201\n */\n (async () => {\n await bqTabElement.enableFocus(true);\n })();\n });\n };\n\n private restoreTabsFocus = (): void => {\n this.bqTabElements.forEach((bqTabElement) => {\n if (bqTabElement.disabled || bqTabElement.active) return;\n\n /** @See line #173 */\n (async () => {\n await bqTabElement.enableFocus(false);\n })();\n });\n };\n\n private get bqTabElements(): HTMLBqTabElement[] {\n return Array.from(this.el.querySelectorAll('bq-tab'));\n }\n\n private selectTab = (target: HTMLBqTabElement): void => {\n const { tabId } = target;\n target.active = true;\n this.value = tabId;\n this.debouncedBqChange({ value: tabId, target });\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <Host class={{ 'inline-block': this.orientation === 'vertical' }}>\n <div\n class={{\n [`bq-tab-group bq-tab-group--${this.orientation}-${this.placement} is-full flex`]: true,\n 'no-divider': this.disableDivider,\n }}\n part=\"base\"\n >\n <div\n class={{\n 'bq-tab-group--container flex overflow-x-auto': true,\n 'flex-col': this.orientation !== 'horizontal',\n }}\n part=\"tabs\"\n role=\"tablist\"\n >\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}