@beeq/core 1.8.0-beta.0 → 1.8.0-beta.2

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 (417) hide show
  1. package/dist/beeq/beeq.esm.js +43 -1
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/index.esm.js +64 -1
  4. package/dist/beeq/index.esm.js.map +1 -1
  5. package/dist/beeq/p-026222c6.entry.js +309 -0
  6. package/dist/beeq/{p-63ad9702.entry.js.map → p-026222c6.entry.js.map} +1 -1
  7. package/dist/beeq/p-04d98ed3.entry.js +257 -0
  8. package/dist/beeq/p-04d98ed3.entry.js.map +1 -0
  9. package/dist/beeq/p-05685544.entry.js +121 -0
  10. package/dist/beeq/{p-c9c942e6.entry.js.map → p-05685544.entry.js.map} +1 -1
  11. package/dist/beeq/p-0ab0b58d.js +25 -1
  12. package/dist/beeq/p-0ab0b58d.js.map +1 -1
  13. package/dist/beeq/p-0c42c08a.js +1811 -0
  14. package/dist/beeq/p-0c42c08a.js.map +1 -0
  15. package/dist/beeq/p-0ebe73ef.entry.js +149 -0
  16. package/dist/beeq/{p-571b40ff.entry.js.map → p-0ebe73ef.entry.js.map} +1 -1
  17. package/dist/beeq/p-115ed5b2.js +25 -1
  18. package/dist/beeq/p-115ed5b2.js.map +1 -1
  19. package/dist/beeq/p-11eaeb5d.entry.js +330 -0
  20. package/dist/beeq/{p-4739f5c3.entry.js.map → p-11eaeb5d.entry.js.map} +1 -1
  21. package/dist/beeq/p-12dbc6ac.entry.js +87 -0
  22. package/dist/beeq/{p-3b2ce34b.entry.js.map → p-12dbc6ac.entry.js.map} +1 -1
  23. package/dist/beeq/p-19df76ba.entry.js +220 -0
  24. package/dist/beeq/{p-79b7547b.entry.js.map → p-19df76ba.entry.js.map} +1 -1
  25. package/dist/beeq/p-1c8b6eb4.js +12 -1
  26. package/dist/beeq/p-1c8b6eb4.js.map +1 -1
  27. package/dist/beeq/p-1f3a4359.js +11 -1
  28. package/dist/beeq/p-1f3a4359.js.map +1 -1
  29. package/dist/beeq/p-2ef721e1.entry.js +261 -0
  30. package/dist/beeq/{p-52577f3a.entry.js.map → p-2ef721e1.entry.js.map} +1 -1
  31. package/dist/beeq/p-37466506.entry.js +103 -0
  32. package/dist/beeq/{p-b90c6de9.entry.js.map → p-37466506.entry.js.map} +1 -1
  33. package/dist/beeq/p-377c70d1.entry.js +173 -0
  34. package/dist/beeq/{p-eddb77c7.entry.js.map → p-377c70d1.entry.js.map} +1 -1
  35. package/dist/beeq/p-38d4bd8a.js +1934 -1
  36. package/dist/beeq/p-38d4bd8a.js.map +1 -1
  37. package/dist/beeq/p-3dd0e436.entry.js +130 -0
  38. package/dist/beeq/p-3dd0e436.entry.js.map +1 -0
  39. package/dist/beeq/p-3fd0d92d.js +1228 -1
  40. package/dist/beeq/p-3fd0d92d.js.map +1 -1
  41. package/dist/beeq/p-41033fe6.entry.js +84 -0
  42. package/dist/beeq/{p-94d62f1b.entry.js.map → p-41033fe6.entry.js.map} +1 -1
  43. package/dist/beeq/p-43e4fcdb.entry.js +173 -0
  44. package/dist/beeq/{p-9c6c6646.entry.js.map → p-43e4fcdb.entry.js.map} +1 -1
  45. package/dist/beeq/p-4a235cd2.entry.js +258 -0
  46. package/dist/beeq/{p-b9544567.entry.js.map → p-4a235cd2.entry.js.map} +1 -1
  47. package/dist/beeq/p-4a3d8532.entry.js +205 -0
  48. package/dist/beeq/{p-8059836c.entry.js.map → p-4a3d8532.entry.js.map} +1 -1
  49. package/dist/beeq/p-4dd962a7.entry.js +104 -0
  50. package/dist/beeq/{p-ae8ffb81.entry.js.map → p-4dd962a7.entry.js.map} +1 -1
  51. package/dist/beeq/p-4eccc020.entry.js +203 -0
  52. package/dist/beeq/{p-a006be9e.entry.js.map → p-4eccc020.entry.js.map} +1 -1
  53. package/dist/beeq/p-4fc098bb.entry.js +90 -0
  54. package/dist/beeq/{p-be664fb0.entry.js.map → p-4fc098bb.entry.js.map} +1 -1
  55. package/dist/beeq/p-513bab02.js +16 -0
  56. package/dist/beeq/{p-aee056e5.js.map → p-513bab02.js.map} +1 -1
  57. package/dist/beeq/p-57621be1.js +9 -1
  58. package/dist/beeq/p-57621be1.js.map +1 -1
  59. package/dist/beeq/p-5eab4f55.entry.js +117 -0
  60. package/dist/beeq/{p-9f40249f.entry.js.map → p-5eab4f55.entry.js.map} +1 -1
  61. package/dist/beeq/p-600e7c38.entry.js +102 -0
  62. package/dist/beeq/{p-633319f3.entry.js.map → p-600e7c38.entry.js.map} +1 -1
  63. package/dist/beeq/p-687da041.js +20 -1
  64. package/dist/beeq/p-687da041.js.map +1 -1
  65. package/dist/beeq/p-7089c66a.entry.js +156 -0
  66. package/dist/beeq/{p-235328ee.entry.js.map → p-7089c66a.entry.js.map} +1 -1
  67. package/dist/beeq/p-734853f9.entry.js +259 -0
  68. package/dist/beeq/{p-d2bbae3b.entry.js.map → p-734853f9.entry.js.map} +1 -1
  69. package/dist/beeq/p-7774eec3.entry.js +135 -0
  70. package/dist/beeq/{p-255fcbe4.entry.js.map → p-7774eec3.entry.js.map} +1 -1
  71. package/dist/beeq/p-7b9ff03f.entry.js +437 -0
  72. package/dist/beeq/p-7b9ff03f.entry.js.map +1 -0
  73. package/dist/beeq/p-7c06dfec.entry.js +204 -0
  74. package/dist/beeq/{p-a8cb8989.entry.js.map → p-7c06dfec.entry.js.map} +1 -1
  75. package/dist/beeq/p-900d4e78.entry.js +102 -0
  76. package/dist/beeq/{p-b7281046.entry.js.map → p-900d4e78.entry.js.map} +1 -1
  77. package/dist/beeq/p-911e07b7.entry.js +513 -0
  78. package/dist/beeq/p-911e07b7.entry.js.map +1 -0
  79. package/dist/beeq/p-924ebf7d.entry.js +394 -0
  80. package/dist/beeq/p-924ebf7d.entry.js.map +1 -0
  81. package/dist/beeq/p-951ba558.js +64 -1
  82. package/dist/beeq/p-951ba558.js.map +1 -1
  83. package/dist/beeq/p-99829fc7.js +8 -1
  84. package/dist/beeq/p-99829fc7.js.map +1 -1
  85. package/dist/beeq/p-9aa18e2f.entry.js +303 -0
  86. package/dist/beeq/p-9aa18e2f.entry.js.map +1 -0
  87. package/dist/beeq/p-a5dc1c94.js +118 -1
  88. package/dist/beeq/p-a5dc1c94.js.map +1 -1
  89. package/dist/beeq/p-a8cad5ab.js +5 -1
  90. package/dist/beeq/p-a8cad5ab.js.map +1 -1
  91. package/dist/beeq/p-ae94b9f8.entry.js +144 -0
  92. package/dist/beeq/{p-41bac721.entry.js.map → p-ae94b9f8.entry.js.map} +1 -1
  93. package/dist/beeq/p-af062402.js +7 -1
  94. package/dist/beeq/p-af062402.js.map +1 -1
  95. package/dist/beeq/p-b38e8c5a.entry.js +208 -0
  96. package/dist/beeq/p-b38e8c5a.entry.js.map +1 -0
  97. package/dist/beeq/p-b4278945.entry.js +195 -0
  98. package/dist/beeq/{p-a7b0fd0b.entry.js.map → p-b4278945.entry.js.map} +1 -1
  99. package/dist/beeq/p-b48545b6.entry.js +248 -0
  100. package/dist/beeq/{p-4ba2bec7.entry.js.map → p-b48545b6.entry.js.map} +1 -1
  101. package/dist/beeq/p-c907de72.entry.js +145 -0
  102. package/dist/beeq/{p-96d7f361.entry.js.map → p-c907de72.entry.js.map} +1 -1
  103. package/dist/beeq/p-ceb3bb9a.entry.js +187 -0
  104. package/dist/beeq/p-ceb3bb9a.entry.js.map +1 -0
  105. package/dist/beeq/p-d3008f60.entry.js +279 -0
  106. package/dist/beeq/p-d3008f60.entry.js.map +1 -0
  107. package/dist/beeq/p-d7a88b16.js +87 -1
  108. package/dist/beeq/p-d7a88b16.js.map +1 -1
  109. package/dist/beeq/p-e5afdf8c.js +87 -0
  110. package/dist/beeq/p-e5afdf8c.js.map +1 -0
  111. package/dist/beeq/p-e7d75b87.entry.js +144 -0
  112. package/dist/beeq/{p-6e026fad.entry.js.map → p-e7d75b87.entry.js.map} +1 -1
  113. package/dist/beeq/p-ecd27cf2.js +11 -1
  114. package/dist/beeq/p-ecd27cf2.js.map +1 -1
  115. package/dist/beeq/p-f00abfb8.entry.js +145 -0
  116. package/dist/beeq/{p-90c5851d.entry.js.map → p-f00abfb8.entry.js.map} +1 -1
  117. package/dist/beeq/p-f8663855.entry.js +329 -0
  118. package/dist/beeq/{p-e6382462.entry.js.map → p-f8663855.entry.js.map} +1 -1
  119. package/dist/cjs/assetsPath-7ead23b7.js +89 -0
  120. package/dist/cjs/assetsPath-7ead23b7.js.map +1 -0
  121. package/dist/cjs/beeq.cjs.js +2 -2
  122. package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
  123. package/dist/cjs/bq-accordion.cjs.entry.js +2 -2
  124. package/dist/cjs/bq-alert.cjs.entry.js +19 -25
  125. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  126. package/dist/cjs/bq-avatar.cjs.entry.js +5 -5
  127. package/dist/cjs/bq-badge.cjs.entry.js +4 -4
  128. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +6 -6
  129. package/dist/cjs/bq-breadcrumb.cjs.entry.js +3 -3
  130. package/dist/cjs/bq-button_2.cjs.entry.js +16 -10
  131. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  132. package/dist/cjs/bq-card.cjs.entry.js +4 -4
  133. package/dist/cjs/bq-checkbox.cjs.entry.js +4 -4
  134. package/dist/cjs/bq-date-picker.cjs.entry.js +10 -7
  135. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  136. package/dist/cjs/bq-dialog.cjs.entry.js +7 -7
  137. package/dist/cjs/bq-divider.cjs.entry.js +9 -6
  138. package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
  139. package/dist/cjs/bq-drawer.cjs.entry.js +7 -7
  140. package/dist/cjs/bq-dropdown_2.cjs.entry.js +3 -3
  141. package/dist/cjs/bq-empty-state.cjs.entry.js +6 -6
  142. package/dist/cjs/bq-input.cjs.entry.js +7 -7
  143. package/dist/cjs/bq-notification.cjs.entry.js +26 -19
  144. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  145. package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
  146. package/dist/cjs/bq-option-list_2.cjs.entry.js +7 -7
  147. package/dist/cjs/bq-option.cjs.entry.js +6 -6
  148. package/dist/cjs/bq-page-title.cjs.entry.js +4 -4
  149. package/dist/cjs/bq-progress.cjs.entry.js +6 -6
  150. package/dist/cjs/bq-radio-group.cjs.entry.js +3 -3
  151. package/dist/cjs/bq-radio.cjs.entry.js +3 -3
  152. package/dist/cjs/bq-select.cjs.entry.js +21 -15
  153. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  154. package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
  155. package/dist/cjs/bq-side-menu.cjs.entry.js +3 -3
  156. package/dist/cjs/bq-slider.cjs.entry.js +12 -6
  157. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  158. package/dist/cjs/bq-spinner.cjs.entry.js +6 -6
  159. package/dist/cjs/bq-status.cjs.entry.js +3 -3
  160. package/dist/cjs/bq-step-item.cjs.entry.js +9 -6
  161. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  162. package/dist/cjs/bq-steps.cjs.entry.js +3 -3
  163. package/dist/cjs/bq-switch.cjs.entry.js +4 -4
  164. package/dist/cjs/bq-tab-group.cjs.entry.js +5 -5
  165. package/dist/cjs/bq-tab.cjs.entry.js +4 -4
  166. package/dist/cjs/bq-textarea.cjs.entry.js +5 -5
  167. package/dist/cjs/bq-toast.cjs.entry.js +29 -31
  168. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  169. package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
  170. package/dist/cjs/{index-e6d59dbb.js → index-1d3aac65.js} +20 -2
  171. package/dist/cjs/index-1d3aac65.js.map +1 -0
  172. package/dist/cjs/index.cjs.js +2 -2
  173. package/dist/cjs/{isDefined-4f4a320b.js → isDefined-a9dd6d5b.js} +2 -2
  174. package/dist/cjs/{isDefined-4f4a320b.js.map → isDefined-a9dd6d5b.js.map} +1 -1
  175. package/dist/cjs/loader.cjs.js +2 -2
  176. package/dist/collection/components/alert/bq-alert.js +26 -26
  177. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  178. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  179. package/dist/collection/components/avatar/bq-avatar.js +3 -3
  180. package/dist/collection/components/badge/bq-badge.js +2 -2
  181. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +1 -1
  182. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +3 -3
  183. package/dist/collection/components/button/bq-button.js +2 -2
  184. package/dist/collection/components/card/bq-card.js +2 -2
  185. package/dist/collection/components/checkbox/bq-checkbox.js +2 -2
  186. package/dist/collection/components/date-picker/bq-date-picker.js +6 -3
  187. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  188. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  189. package/dist/collection/components/dialog/bq-dialog.js +4 -4
  190. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  191. package/dist/collection/components/divider/bq-divider.js +7 -4
  192. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  193. package/dist/collection/components/drawer/bq-drawer.js +4 -4
  194. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  195. package/dist/collection/components/dropdown/bq-dropdown.js +1 -1
  196. package/dist/collection/components/empty-state/bq-empty-state.js +4 -4
  197. package/dist/collection/components/icon/bq-icon.js +13 -7
  198. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  199. package/dist/collection/components/input/bq-input.js +4 -4
  200. package/dist/collection/components/notification/bq-notification.js +31 -17
  201. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  202. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  203. package/dist/collection/components/option/bq-option.js +4 -4
  204. package/dist/collection/components/option-group/bq-option-group.js +1 -1
  205. package/dist/collection/components/option-list/bq-option-list.js +1 -1
  206. package/dist/collection/components/page-title/bq-page-title.js +2 -2
  207. package/dist/collection/components/panel/bq-panel.js +1 -1
  208. package/dist/collection/components/progress/bq-progress.js +4 -4
  209. package/dist/collection/components/radio/bq-radio.js +2 -2
  210. package/dist/collection/components/radio-group/bq-radio-group.js +1 -1
  211. package/dist/collection/components/select/bq-select.js +18 -12
  212. package/dist/collection/components/select/bq-select.js.map +1 -1
  213. package/dist/collection/components/select/scss/bq-select.css +1 -1
  214. package/dist/collection/components/side-menu/bq-side-menu.js +1 -1
  215. package/dist/collection/components/slider/bq-slider.js +10 -4
  216. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  217. package/dist/collection/components/spinner/bq-spinner.js +4 -4
  218. package/dist/collection/components/status/bq-status.js +1 -1
  219. package/dist/collection/components/step-item/bq-step-item.js +7 -4
  220. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  221. package/dist/collection/components/steps/bq-steps.js +1 -1
  222. package/dist/collection/components/switch/bq-switch.js +2 -2
  223. package/dist/collection/components/tab/bq-tab.js +2 -2
  224. package/dist/collection/components/tab-group/bq-tab-group.js +3 -3
  225. package/dist/collection/components/tag/bq-tag.js +3 -3
  226. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  227. package/dist/collection/components/textarea/bq-textarea.js +3 -3
  228. package/dist/collection/components/toast/bq-toast.js +35 -29
  229. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  230. package/dist/collection/components/tooltip/bq-tooltip.js +1 -1
  231. package/dist/collection/index.js +1 -0
  232. package/dist/collection/index.js.map +1 -1
  233. package/dist/collection/shared/utils/assetsPath.js +64 -27
  234. package/dist/collection/shared/utils/assetsPath.js.map +1 -1
  235. package/dist/components/assetsPath.js +64 -27
  236. package/dist/components/assetsPath.js.map +1 -1
  237. package/dist/components/bq-alert.js +17 -23
  238. package/dist/components/bq-alert.js.map +1 -1
  239. package/dist/components/bq-avatar.js +3 -3
  240. package/dist/components/bq-badge2.js +2 -2
  241. package/dist/components/bq-breadcrumb-item.js +3 -3
  242. package/dist/components/bq-breadcrumb.js +1 -1
  243. package/dist/components/bq-button2.js +2 -2
  244. package/dist/components/bq-card.js +2 -2
  245. package/dist/components/bq-checkbox.js +2 -2
  246. package/dist/components/bq-date-picker.js +7 -4
  247. package/dist/components/bq-date-picker.js.map +1 -1
  248. package/dist/components/bq-dialog.js +5 -5
  249. package/dist/components/bq-divider2.js +7 -4
  250. package/dist/components/bq-divider2.js.map +1 -1
  251. package/dist/components/bq-drawer.js +5 -5
  252. package/dist/components/bq-dropdown2.js +1 -1
  253. package/dist/components/bq-empty-state.js +4 -4
  254. package/dist/components/bq-icon2.js +11 -5
  255. package/dist/components/bq-icon2.js.map +1 -1
  256. package/dist/components/bq-input.js +4 -4
  257. package/dist/components/bq-notification.js +25 -17
  258. package/dist/components/bq-notification.js.map +1 -1
  259. package/dist/components/bq-option-group.js +1 -1
  260. package/dist/components/bq-option-list2.js +1 -1
  261. package/dist/components/bq-option.js +4 -4
  262. package/dist/components/bq-page-title.js +2 -2
  263. package/dist/components/bq-panel2.js +1 -1
  264. package/dist/components/bq-progress.js +4 -4
  265. package/dist/components/bq-radio-group.js +1 -1
  266. package/dist/components/bq-radio.js +2 -2
  267. package/dist/components/bq-select.js +19 -13
  268. package/dist/components/bq-select.js.map +1 -1
  269. package/dist/components/bq-side-menu.js +1 -1
  270. package/dist/components/bq-slider.js +10 -4
  271. package/dist/components/bq-slider.js.map +1 -1
  272. package/dist/components/bq-spinner.js +4 -4
  273. package/dist/components/bq-status.js +1 -1
  274. package/dist/components/bq-step-item.js +7 -4
  275. package/dist/components/bq-step-item.js.map +1 -1
  276. package/dist/components/bq-steps.js +1 -1
  277. package/dist/components/bq-switch.js +2 -2
  278. package/dist/components/bq-tab-group.js +3 -3
  279. package/dist/components/bq-tab.js +2 -2
  280. package/dist/components/bq-tag2.js +4 -4
  281. package/dist/components/bq-textarea.js +3 -3
  282. package/dist/components/bq-toast.js +28 -29
  283. package/dist/components/bq-toast.js.map +1 -1
  284. package/dist/components/bq-tooltip2.js +1 -1
  285. package/dist/esm/assetsPath-c02b0e16.js +86 -0
  286. package/dist/esm/assetsPath-c02b0e16.js.map +1 -0
  287. package/dist/esm/beeq.js +3 -3
  288. package/dist/esm/bq-accordion-group.entry.js +2 -2
  289. package/dist/esm/bq-accordion.entry.js +2 -2
  290. package/dist/esm/bq-alert.entry.js +19 -25
  291. package/dist/esm/bq-alert.entry.js.map +1 -1
  292. package/dist/esm/bq-avatar.entry.js +5 -5
  293. package/dist/esm/bq-badge.entry.js +4 -4
  294. package/dist/esm/bq-breadcrumb-item.entry.js +6 -6
  295. package/dist/esm/bq-breadcrumb.entry.js +3 -3
  296. package/dist/esm/bq-button_2.entry.js +16 -10
  297. package/dist/esm/bq-button_2.entry.js.map +1 -1
  298. package/dist/esm/bq-card.entry.js +4 -4
  299. package/dist/esm/bq-checkbox.entry.js +4 -4
  300. package/dist/esm/bq-date-picker.entry.js +10 -7
  301. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  302. package/dist/esm/bq-dialog.entry.js +7 -7
  303. package/dist/esm/bq-divider.entry.js +9 -6
  304. package/dist/esm/bq-divider.entry.js.map +1 -1
  305. package/dist/esm/bq-drawer.entry.js +7 -7
  306. package/dist/esm/bq-dropdown_2.entry.js +3 -3
  307. package/dist/esm/bq-empty-state.entry.js +6 -6
  308. package/dist/esm/bq-input.entry.js +7 -7
  309. package/dist/esm/bq-notification.entry.js +26 -19
  310. package/dist/esm/bq-notification.entry.js.map +1 -1
  311. package/dist/esm/bq-option-group.entry.js +2 -2
  312. package/dist/esm/bq-option-list_2.entry.js +7 -7
  313. package/dist/esm/bq-option.entry.js +6 -6
  314. package/dist/esm/bq-page-title.entry.js +4 -4
  315. package/dist/esm/bq-progress.entry.js +6 -6
  316. package/dist/esm/bq-radio-group.entry.js +3 -3
  317. package/dist/esm/bq-radio.entry.js +3 -3
  318. package/dist/esm/bq-select.entry.js +22 -16
  319. package/dist/esm/bq-select.entry.js.map +1 -1
  320. package/dist/esm/bq-side-menu-item.entry.js +2 -2
  321. package/dist/esm/bq-side-menu.entry.js +3 -3
  322. package/dist/esm/bq-slider.entry.js +12 -6
  323. package/dist/esm/bq-slider.entry.js.map +1 -1
  324. package/dist/esm/bq-spinner.entry.js +6 -6
  325. package/dist/esm/bq-status.entry.js +3 -3
  326. package/dist/esm/bq-step-item.entry.js +9 -6
  327. package/dist/esm/bq-step-item.entry.js.map +1 -1
  328. package/dist/esm/bq-steps.entry.js +3 -3
  329. package/dist/esm/bq-switch.entry.js +4 -4
  330. package/dist/esm/bq-tab-group.entry.js +5 -5
  331. package/dist/esm/bq-tab.entry.js +4 -4
  332. package/dist/esm/bq-textarea.entry.js +5 -5
  333. package/dist/esm/bq-toast.entry.js +29 -31
  334. package/dist/esm/bq-toast.entry.js.map +1 -1
  335. package/dist/esm/bq-tooltip.entry.js +2 -2
  336. package/dist/esm/{index-efc1c2ef.js → index-f69556fe.js} +20 -2
  337. package/dist/esm/index-f69556fe.js.map +1 -0
  338. package/dist/esm/index.js +3 -3
  339. package/dist/esm/{isDefined-91ae4cd3.js → isDefined-1e676215.js} +2 -2
  340. package/dist/esm/{isDefined-91ae4cd3.js.map → isDefined-1e676215.js.map} +1 -1
  341. package/dist/esm/loader.js +3 -3
  342. package/dist/hydrate/index.js +281 -201
  343. package/dist/hydrate/index.mjs +281 -201
  344. package/dist/stencil.config.js +6 -0
  345. package/dist/stencil.config.js.map +1 -1
  346. package/dist/types/components/alert/bq-alert.d.ts +10 -4
  347. package/dist/types/components/date-picker/bq-date-picker.d.ts +1 -0
  348. package/dist/types/components/divider/bq-divider.d.ts +1 -0
  349. package/dist/types/components/icon/bq-icon.d.ts +3 -1
  350. package/dist/types/components/notification/bq-notification.d.ts +8 -0
  351. package/dist/types/components/select/bq-select.d.ts +2 -0
  352. package/dist/types/components/slider/bq-slider.d.ts +2 -0
  353. package/dist/types/components/step-item/bq-step-item.d.ts +1 -0
  354. package/dist/types/components/toast/bq-toast.d.ts +5 -0
  355. package/dist/types/components.d.ts +8 -8
  356. package/dist/types/index.d.ts +1 -1
  357. package/dist/types/shared/utils/assetsPath.d.ts +18 -11
  358. package/package.json +4 -4
  359. package/dist/beeq/p-235328ee.entry.js +0 -6
  360. package/dist/beeq/p-255fcbe4.entry.js +0 -6
  361. package/dist/beeq/p-268dc1e3.entry.js +0 -6
  362. package/dist/beeq/p-268dc1e3.entry.js.map +0 -1
  363. package/dist/beeq/p-3aa41d80.entry.js +0 -6
  364. package/dist/beeq/p-3aa41d80.entry.js.map +0 -1
  365. package/dist/beeq/p-3b2ce34b.entry.js +0 -6
  366. package/dist/beeq/p-41bac721.entry.js +0 -6
  367. package/dist/beeq/p-4739f5c3.entry.js +0 -6
  368. package/dist/beeq/p-4ba2bec7.entry.js +0 -6
  369. package/dist/beeq/p-52577f3a.entry.js +0 -6
  370. package/dist/beeq/p-571b40ff.entry.js +0 -6
  371. package/dist/beeq/p-606c080c.entry.js +0 -6
  372. package/dist/beeq/p-606c080c.entry.js.map +0 -1
  373. package/dist/beeq/p-633319f3.entry.js +0 -6
  374. package/dist/beeq/p-63ad9702.entry.js +0 -6
  375. package/dist/beeq/p-6e026fad.entry.js +0 -6
  376. package/dist/beeq/p-6edc8a33.js +0 -6
  377. package/dist/beeq/p-6edc8a33.js.map +0 -1
  378. package/dist/beeq/p-76e714c6.js +0 -7
  379. package/dist/beeq/p-76e714c6.js.map +0 -1
  380. package/dist/beeq/p-79b7547b.entry.js +0 -6
  381. package/dist/beeq/p-7f23cde7.entry.js +0 -6
  382. package/dist/beeq/p-7f23cde7.entry.js.map +0 -1
  383. package/dist/beeq/p-8059836c.entry.js +0 -6
  384. package/dist/beeq/p-8b7c7049.entry.js +0 -6
  385. package/dist/beeq/p-8b7c7049.entry.js.map +0 -1
  386. package/dist/beeq/p-90c5851d.entry.js +0 -6
  387. package/dist/beeq/p-94d62f1b.entry.js +0 -6
  388. package/dist/beeq/p-96d7f361.entry.js +0 -6
  389. package/dist/beeq/p-9acfedb8.entry.js +0 -6
  390. package/dist/beeq/p-9acfedb8.entry.js.map +0 -1
  391. package/dist/beeq/p-9c6c6646.entry.js +0 -6
  392. package/dist/beeq/p-9cd26e8d.entry.js +0 -6
  393. package/dist/beeq/p-9cd26e8d.entry.js.map +0 -1
  394. package/dist/beeq/p-9f40249f.entry.js +0 -6
  395. package/dist/beeq/p-a006be9e.entry.js +0 -6
  396. package/dist/beeq/p-a7b0fd0b.entry.js +0 -6
  397. package/dist/beeq/p-a8cb8989.entry.js +0 -6
  398. package/dist/beeq/p-ae8ffb81.entry.js +0 -6
  399. package/dist/beeq/p-aee056e5.js +0 -6
  400. package/dist/beeq/p-b7281046.entry.js +0 -6
  401. package/dist/beeq/p-b90c6de9.entry.js +0 -6
  402. package/dist/beeq/p-b9544567.entry.js +0 -6
  403. package/dist/beeq/p-be664fb0.entry.js +0 -6
  404. package/dist/beeq/p-c9c942e6.entry.js +0 -6
  405. package/dist/beeq/p-d2bbae3b.entry.js +0 -6
  406. package/dist/beeq/p-ddb23180.entry.js +0 -6
  407. package/dist/beeq/p-ddb23180.entry.js.map +0 -1
  408. package/dist/beeq/p-e6382462.entry.js +0 -6
  409. package/dist/beeq/p-eab59153.entry.js +0 -6
  410. package/dist/beeq/p-eab59153.entry.js.map +0 -1
  411. package/dist/beeq/p-eddb77c7.entry.js +0 -6
  412. package/dist/cjs/assetsPath-eac0a3bf.js +0 -52
  413. package/dist/cjs/assetsPath-eac0a3bf.js.map +0 -1
  414. package/dist/cjs/index-e6d59dbb.js.map +0 -1
  415. package/dist/esm/assetsPath-ae18c25e.js +0 -49
  416. package/dist/esm/assetsPath-ae18c25e.js.map +0 -1
  417. package/dist/esm/index-efc1c2ef.js.map +0 -1
@@ -0,0 +1,513 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ import { r as e, c as r, h as a, g as t } from "./p-0c42c08a.js";
6
+
7
+ import "./p-e5afdf8c.js";
8
+
9
+ import { d as b } from "./p-951ba558.js";
10
+
11
+ import { i } from "./p-513bab02.js";
12
+
13
+ import { i as n } from "./p-57621be1.js";
14
+
15
+ import { i as s } from "./p-99829fc7.js";
16
+
17
+ import { i as o } from "./p-ecd27cf2.js";
18
+
19
+ import { b as q } from "./p-d7a88b16.js";
20
+
21
+ const l = '::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{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);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;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}}: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.light,.light,:root,[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-200);--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}.beeq.dark,.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-800);--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}.endava,[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,[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-200);--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-800);--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}.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))}.pointer-events-none{pointer-events:none}.m-0{margin:0}.me-\\[--bq-select--gap\\]{margin-inline-end:var(--bq-select--gap)}.me-xs2{margin-inline-end:var(--bq-spacing-xs2)}.ms-\\[--bq-select--gap\\]{margin-inline-start:var(--bq-select--gap)}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.cursor-\\[inherit\\]{cursor:inherit}.cursor-not-allowed{cursor:not-allowed}.select-none{user-select:none}.appearance-none{appearance:none}.items-center{align-items:center}.gap-xs2{gap:var(--bq-spacing-xs2)}.text-nowrap{text-wrap:nowrap}.rounded-\\[--bq-select--border-radius\\]{border-radius:var(--bq-select--border-radius)}.rounded-xs{border-radius:var(--bq-radius--xs)}.border-\\[length\\:--bq-select--border-width\\]{border-width:var(--bq-select--border-width)}.border-none{border-style:none}.border-\\[color\\:--bq-select--border-color-focus\\]{border-color:var(--bq-select--border-color-focus)}.border-\\[color\\:--bq-select--border-color\\]{border-color:var(--bq-select--border-color)}.border-stroke-danger{border-color:var(--bq-stroke--danger)}.border-stroke-success{border-color:var(--bq-stroke--success)}.border-stroke-warning{border-color:var(--bq-stroke--warning)}.bg-\\[inherit\\]{background-color:inherit}.p-0{padding:0}.pe-\\[--bq-select--padding-end\\]{padding-inline-end:var(--bq-select--padding-end)}.ps-\\[--bq-select--padding-start\\]{padding-inline-start:var(--bq-select--padding-start)}.font-\\[inherit\\]{font-family:inherit}.text-\\[length\\:--bq-select--helper-text-size\\]{font-size:var(--bq-select--helper-text-size)}.text-\\[length\\:--bq-select--label-text-size\\]{font-size:var(--bq-select--label-text-size)}.text-\\[length\\:--bq-select--text-size\\]{font-size:var(--bq-select--text-size)}.text-\\[length\\:inherit\\]{font-size:inherit}.leading-small{line-height:var(--bq-font-line-height--small)}.text-\\[color\\:--bq-select--helper-text-color\\]{color:var(--bq-select--helper-text-color)}.text-\\[color\\:--bq-select--label-text-color\\]{color:var(--bq-select--label-text-color)}.text-\\[color\\:--bq-select--text-color\\]{color:var(--bq-select--text-color)}.text-\\[color\\:inherit\\]{color:inherit}.text-\\[color\\:var\\(--bq-select--text-color\\)\\]{color:var(--bq-select--text-color)}.text-text-danger{color:var(--bq-text--danger)}.text-text-success{color:var(--bq-text--success)}.text-text-warning{color:var(--bq-text--warning)}.opacity-60{opacity:.6}.transition-\\[border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.border-active-stroke-danger{border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.border-active-stroke-success{border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.border-active-stroke-warning{border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bs-auto{block-size:auto}.min-bs-\\[var\\(--bq-select--icon-size\\)\\]{min-block-size:var(--bq-select--icon-size)}.min-is-0{min-inline-size:0}.p-b-\\[var\\(--bq-select--paddingY\\)\\]{padding-block:var(--bq-select--paddingY)}.m-be-\\[--bq-select--label-margin-bottom\\]{margin-block-end:var(--bq-select--label-margin-bottom)}.m-bs-\\[--bq-select--helper-margin-top\\]{margin-block-start:var(--bq-select--helper-margin-top)}.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-select--background-color:var(--bq-ui--primary);--bq-select--border-color:var(--bq-stroke--tertiary);--bq-select--border-color-focus:var(--bq-stroke--brand);--bq-select--border-radius:var(--bq-radius--s);--bq-select--border-width:var(--bq-stroke-s);--bq-select--border-style:solid;--bq-select--gap:var(--bq-spacing-xs);--bq-select--helper-margin-top:var(--bq-spacing-xs);--bq-select--helper-text-size:var(--bq-font-size--s);--bq-select--helper-text-color:var(--bq-text--primary);--bq-select--icon-size:24px;--bq-select--label-margin-bottom:var(--bq-spacing-xs);--bq-select--label-text-size:var(--bq-font-size--s);--bq-select--label-text-color:var(--bq-text--primary);--bq-select--padding-start:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--padding-end:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--paddingY:calc(var(--bq-spacing-s) - var(--bq-select--border-width));--bq-select--text-color:var(--bq-text--primary);--bq-select--text-size:var(--bq-font-size--m);--bq-select--text-placeholder-color:var(--bq-text--secondary);display:block;width:100%}.bq-select__label{align-items:center;color:var(--bq-select--label-text-color);display:flex;font-size:var(--bq-select--label-text-size);margin-block-end:var(--bq-select--label-margin-bottom)}.bq-select__helper-text{color:var(--bq-select--helper-text-color);font-size:var(--bq-select--helper-text-size);margin-block-start:var(--bq-select--helper-margin-top)}.bq-select__helper-text.validation-error{color:var(--bq-text--danger)}.bq-select__helper-text.validation-success{color:var(--bq-text--success)}.bq-select__helper-text.validation-warning{color:var(--bq-text--warning)}.bq-select__dropdown:has(:focus-within,:focus-visible) .bq-select__control{--bq-ring-width:1px;--bq-ring-offset-width:0;--bq-ring-color-focus:var(--bq-select--border-color-focus);border-color:var(--bq-select--border-color-focus);outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-select__control{align-items:center;border-color:var(--bq-select--border-color);border-radius:var(--bq-select--border-radius);border-style:var(--bq-select--border-style);border-width:var(--bq-select--border-width);color:var(--bq-select--text-color);display:flex;font-size:var(--bq-select--text-size);inline-size:100%;padding-block:var(--bq-select--paddingY);padding-inline-end:var(--bq-select--padding-end);padding-inline-start:var(--bq-select--padding-start);transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-select__control::placeholder{color:var(--bq-select--text-placeholder-color)}.bq-select__control:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.bq-select__control:not(.disabled):focus-within .bq-select__control--clear,.bq-select__control:not(.disabled):hover .bq-select__control--clear{display:inline-block}.bq-select__control.disabled{cursor:not-allowed;opacity:.6}.bq-select__control.validation-error{border-color:var(--bq-stroke--danger)}.bq-select__control.validation-error:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-hover) 20%)}.bq-select__control.validation-error:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--danger);border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.bq-select__control.validation-success{border-color:var(--bq-stroke--success)}.bq-select__control.validation-success:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-hover) 20%)}.bq-select__control.validation-success:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--success);border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.bq-select__control.validation-warning{border-color:var(--bq-stroke--warning)}.bq-select__control.validation-warning:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-hover) 20%)}.bq-select__control.validation-warning:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--warning);border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bq-select__control--input{appearance:none;background-color:inherit;border-style:none;-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:inherit;flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0;min-block-size:var(--bq-select--icon-size);min-inline-size:0;padding:0;user-select:none}.bq-select__control--input:focus{outline:2px solid transparent;outline-offset:2px}.bq-select__control--input:focus-visible{outline:2px solid transparent;outline-offset:2px}.bq-select__control--clear::part(button){--bq-ring-width:initial;--bq-ring-offset-width:initial;--bq-ring-color-focus:initial;block-size:auto;border-radius:var(--bq-radius--xs);border-style:none;padding:0}.bq-select__control--prefix,.bq-select__control--suffix{align-items:center;color:var(--bq-select--text-color);display:flex;pointer-events:none}.bq-select__control--prefix{margin-inline-end:var(--bq-select--gap)}.bq-select__control--suffix{margin-inline-start:var(--bq-select--gap);transition-duration:.3s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-select__tags{display:flex;flex:1 1 0%;gap:var(--bq-spacing-xs2);margin-inline-end:var(--bq-spacing-xs2)}.bq-select__tags ::slotted(bq-tag),.bq-select__tags bq-tag{display:inline-flex}.bq-select__tags bq-tag::part(text){text-wrap:nowrap;line-height:var(--bq-font-line-height--small)}::slotted(bq-icon),bq-icon{--bq-icon--size:var(--bq-select--icon-size)!important}.placeholder\\:text-\\[color\\:--bq-select--text-placeholder-color\\]::placeholder{color:var(--bq-select--text-placeholder-color)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.rotate-0,.rotate-180{--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))}.blur,.filter{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)}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.\\!hidden{display:none!important}.hidden{display:none}.flex-grow{flex-grow:1}.rotate-0{--tw-rotate:0deg}.rotate-180{--tw-rotate:180deg}.overflow-x-auto{overflow-x:auto}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.is-full{inline-size:100%}.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}}.text-\\[color\\:--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)}.text-m{font-size:var(--bq-font-size--m)}.text-s{font-size:var(--bq-font-size--s)}.text-xs{font-size:var(--bq-font-size--xs)}.relative{position:relative}.flex-col{flex-direction:column}.gap-y-\\[--bq-option-group--gapY-list\\]{row-gap:var(--bq-option-group--gapY-list)}';
22
+
23
+ const c = l;
24
+
25
+ const d = class {
26
+ constructor(a) {
27
+ e(this, a);
28
+ this.bqBlur = r(this, "bqBlur", 7);
29
+ this.bqClear = r(this, "bqClear", 7);
30
+ this.bqFocus = r(this, "bqFocus", 7);
31
+ this.bqSelect = r(this, "bqSelect", 7);
32
+ if (a.$hostElement$["s-ei"]) {
33
+ this.internals = a.$hostElement$["s-ei"];
34
+ } else {
35
+ this.internals = a.$hostElement$.attachInternals();
36
+ a.$hostElement$["s-ei"] = this.internals;
37
+ }
38
+ this.fallbackInputId = "select";
39
+ // Local methods
40
+ // Internal business logic.
41
+ // These methods cannot be called from the host element.
42
+ // =======================================================
43
+ this.initMultipleValue = () => {
44
+ if (!this.multiple) return;
45
+ this.value = Array.isArray(this.value) ? this.value : Array.from(JSON.parse(String(this.value)));
46
+ };
47
+ this.handleBlur = () => {
48
+ if (this.disabled) return;
49
+ this.bqBlur.emit(this.el);
50
+ };
51
+ this.handleFocus = () => {
52
+ if (this.disabled) return;
53
+ this.bqFocus.emit(this.el);
54
+ };
55
+ this.handleSelect = e => {
56
+ if (this.disabled) return;
57
+ if (this.multiple) {
58
+ e.stopPropagation();
59
+ }
60
+ const {value: r, item: a} = e.detail;
61
+ if (this.multiple) {
62
+ this.handleMultipleSelection(a);
63
+ // Clear the input value after selecting an item
64
+ this.inputElem.value = "";
65
+ // If multiple selection is enabled, emit the selected items array instead of relying on
66
+ // the option list to emit the value of the selected item
67
+ this.bqSelect.emit({
68
+ value: this.value,
69
+ item: a
70
+ });
71
+ } else {
72
+ this.value = r;
73
+ }
74
+ this.resetOptionsVisibility();
75
+ this.inputElem.focus();
76
+ };
77
+ this.handleMultipleSelection = e => {
78
+ // Set has O(1) complexity for insertion, deletion, and search operations, compared to an Array's O(n)
79
+ const r = new Set(this.selectedOptions);
80
+ if (r.has(e)) {
81
+ r.delete(e);
82
+ } else {
83
+ r.add(e);
84
+ }
85
+ this.selectedOptions = Array.from(r);
86
+ this.value = this.selectedOptions.map((e => e.value));
87
+ };
88
+ this.handleSearchFilter = e => {
89
+ var r, a;
90
+ if (this.disabled) return;
91
+ (r = this.debounceQuery) === null || r === void 0 ? void 0 : r.cancel();
92
+ const t = (a = e.target.value) === null || a === void 0 ? void 0 : a.toLowerCase().trim();
93
+ if (!i(t)) {
94
+ this.clear();
95
+ } else {
96
+ this.debounceQuery = b((() => {
97
+ this.options.forEach((e => {
98
+ const r = this.getOptionLabel(e).toLowerCase();
99
+ e.hidden = !r.includes(t);
100
+ }));
101
+ }), this.debounceTime);
102
+ this.debounceQuery();
103
+ }
104
+ // The panel will close once a selection is made
105
+ // so we need to make sure it's open when the user is typing and the query is not empty
106
+ this.open = true;
107
+ };
108
+ this.handleClearClick = e => {
109
+ (async () => {
110
+ await this.clear();
111
+ })();
112
+ this.inputElem.focus();
113
+ e.stopPropagation();
114
+ };
115
+ this.handleTagRemove = e => {
116
+ if (this.disabled) return;
117
+ this.handleMultipleSelection(e);
118
+ this.bqSelect.emit({
119
+ value: this.value,
120
+ item: e
121
+ });
122
+ };
123
+ this.handleLabelSlotChange = () => {
124
+ this.hasLabel = q(this.labelElem);
125
+ };
126
+ this.handlePrefixSlotChange = () => {
127
+ this.hasPrefix = q(this.prefixElem);
128
+ };
129
+ this.handleSuffixSlotChange = () => {
130
+ this.hasSuffix = q(this.suffixElem);
131
+ };
132
+ this.handleHelperTextSlotChange = () => {
133
+ this.hasHelperText = q(this.helperTextElem);
134
+ };
135
+ this.resetOptionsVisibility = () => {
136
+ this.options.forEach((e => e.hidden = false));
137
+ };
138
+ this.syncItemsFromValue = () => {
139
+ const {internals: e, options: r, value: a} = this;
140
+ if (!r.length) return;
141
+ // Sync selected state of the BqOption elements
142
+ this.syncSelectedOptionsState();
143
+ if (this.multiple) {
144
+ // Sync selected options for multiple selection mode
145
+ this.selectedOptions = r.filter((e => {
146
+ var r;
147
+ return (r = this.value) === null || r === void 0 ? void 0 : r.includes(e.value);
148
+ }));
149
+ } else {
150
+ // Sync display label for single selection mode
151
+ this.updateDisplayLabel();
152
+ }
153
+ e.setFormValue(!s(a) ? `${a}` : undefined);
154
+ };
155
+ /**
156
+ * Syncs the selected state of the BqOption elements which value is included in the `value` property.
157
+ * Notice that value can be a string or an array of strings.
158
+ *
159
+ * @private
160
+ * @memberof BqSelect
161
+ */ this.syncSelectedOptionsState = () => {
162
+ const {options: e, multiple: r, value: a} = this;
163
+ const t = String(a).toLowerCase();
164
+ e.forEach((e => {
165
+ if (r && Array.isArray(a)) {
166
+ e.selected = a.includes(e.value);
167
+ } else {
168
+ e.selected = e.value.toLowerCase() === t;
169
+ }
170
+ }));
171
+ };
172
+ /**
173
+ * Updates the display value of the input element based on the selected option.
174
+ *
175
+ * @private
176
+ * @memberof BqSelect
177
+ */ this.updateDisplayLabel = () => {
178
+ const {value: e, options: r, inputElem: a} = this;
179
+ const t = r.find((r => r.value === e));
180
+ const b = t ? this.getOptionLabel(t) : "";
181
+ a.value = b;
182
+ this.displayValue = b;
183
+ };
184
+ this.getOptionLabel = e => {
185
+ var r;
186
+ if (!e) return;
187
+ return (r = e.innerText.trim()) !== null && r !== void 0 ? r : "";
188
+ };
189
+ this.displayValue = undefined;
190
+ this.hasHelperText = false;
191
+ this.selectedOptions = [];
192
+ this.hasLabel = false;
193
+ this.hasPrefix = false;
194
+ this.hasSuffix = false;
195
+ this.hasValue = false;
196
+ this.autofocus = undefined;
197
+ this.clearButtonLabel = "Clear value";
198
+ this.debounceTime = 0;
199
+ this.disabled = false;
200
+ this.disableClear = false;
201
+ this.distance = 8;
202
+ this.form = undefined;
203
+ this.keepOpenOnSelect = false;
204
+ this.name = undefined;
205
+ this.maxTagsVisible = 2;
206
+ this.multiple = false;
207
+ this.open = false;
208
+ this.panelHeight = undefined;
209
+ this.placeholder = undefined;
210
+ this.placement = "bottom";
211
+ this.readonly = undefined;
212
+ this.required = undefined;
213
+ this.sameWidth = true;
214
+ this.skidding = 0;
215
+ this.strategy = "fixed";
216
+ this.validationStatus = "none";
217
+ this.value = undefined;
218
+ }
219
+ // Prop lifecycle events
220
+ // =======================
221
+ handleValueChange() {
222
+ if (this.multiple && o(this.value)) {
223
+ // NOTE: we ensure that value is an array, changing the value will trigger Watch to execute thus the return
224
+ this.value = Array.from(JSON.parse(String(this.value)));
225
+ this.internals.setFormValue(this.value.join(","));
226
+ return;
227
+ }
228
+ this.syncItemsFromValue();
229
+ }
230
+ // Component lifecycle events
231
+ // Ordered by their natural call order
232
+ // =====================================
233
+ connectedCallback() {
234
+ this.initMultipleValue();
235
+ }
236
+ componentWillLoad() {
237
+ this.initMultipleValue();
238
+ }
239
+ componentDidLoad() {
240
+ if (this.multiple && Array.isArray(this.value)) {
241
+ this.selectedOptions = this.options.filter((e => this.value.includes(e.value)));
242
+ }
243
+ this.handleValueChange();
244
+ }
245
+ formAssociatedCallback() {
246
+ this.internals.role = "combobox";
247
+ this.internals.ariaExpanded = this.open ? "true" : "false";
248
+ }
249
+ async formResetCallback() {
250
+ if (s(this.value)) return;
251
+ this.internals.setValidity({});
252
+ this.clear();
253
+ }
254
+ // Listeners
255
+ // ==============
256
+ handleOpenChange(e) {
257
+ if (!e.composedPath().includes(this.el)) return;
258
+ this.open = e.detail.open;
259
+ }
260
+ stopOptionFocusBlurPropagation(e) {
261
+ // Stop propagation of focus and blur events coming from the `bq-option` elements
262
+ if (n(e.target, "bq-select")) return;
263
+ e.stopPropagation();
264
+ }
265
+ // Public methods API
266
+ // These methods are exposed on the host element.
267
+ // Always use two lines.
268
+ // Public Methods must be async.
269
+ // Requires JSDocs for public API documentation.
270
+ // ===============================================
271
+ /**
272
+ * Clears the selected value.
273
+ *
274
+ * @return {Promise<void>}
275
+ * @memberof BqSelect
276
+ */
277
+ async clear() {
278
+ if (this.disabled) return;
279
+ const {multiple: e, inputElem: r, bqClear: a, el: t} = this;
280
+ // Clear value and selected options
281
+ this.value = undefined;
282
+ this.selectedOptions = [];
283
+ // Clear display value and input element if not multiple
284
+ if (!e) {
285
+ this.displayValue = undefined;
286
+ r.value = undefined;
287
+ }
288
+ // Update form value and reset options visibility
289
+ this.resetOptionsVisibility();
290
+ // Emit clear event
291
+ a.emit(t);
292
+ }
293
+ get options() {
294
+ return Array.from(this.el.querySelectorAll("bq-option"));
295
+ }
296
+ get displayPlaceholder() {
297
+ // Hide the placeholder when multiple selection is enabled and there are selected items
298
+ return this.multiple && this.selectedOptions.length !== 0 ? undefined : this.placeholder;
299
+ }
300
+ get displayTags() {
301
+ return this.selectedOptions.map(((e, r) => {
302
+ if (r < this.maxTagsVisible || this.maxTagsVisible < 0) {
303
+ return a("bq-tag", {
304
+ key: e.value,
305
+ removable: true,
306
+ size: "xsmall",
307
+ variant: "filled",
308
+ onBqClose: r => {
309
+ // NOTE: prevents triggering bqClose on parent
310
+ r.stopPropagation();
311
+ this.handleTagRemove(e);
312
+ },
313
+ // Prevent the tag from closing the panel when clicked
314
+ onClick: e => e.stopPropagation(),
315
+ exportparts: "wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close",
316
+ part: "tag"
317
+ }, this.getOptionLabel(e));
318
+ } else if (r === this.maxTagsVisible) {
319
+ return a("bq-tag", {
320
+ key: "more",
321
+ size: "xsmall",
322
+ variant: "filled",
323
+ exportparts: "wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close",
324
+ part: "tag"
325
+ }, "+", this.selectedOptions.length - r);
326
+ }
327
+ return null;
328
+ }));
329
+ }
330
+ get hasClearIcon() {
331
+ if (this.disableClear || this.disabled) {
332
+ return false;
333
+ }
334
+ if (this.multiple) {
335
+ return this.selectedOptions.length > 0;
336
+ }
337
+ return i(this.displayValue);
338
+ }
339
+ // render() function
340
+ // Always the last one in the class.
341
+ // ===================================
342
+ render() {
343
+ const e = `bq-select__label-${this.name || this.fallbackInputId}`;
344
+ return a("div", {
345
+ key: "55829401b022a5f00273a858ee7b9d75b1b65360",
346
+ class: "bq-select",
347
+ part: "base"
348
+ }, a("label", {
349
+ key: "a73c31867c9656e80827a3a4b6a2df28f76a2b32",
350
+ id: e,
351
+ class: {
352
+ "bq-select__label": true,
353
+ "!hidden": !this.hasLabel
354
+ },
355
+ htmlFor: this.name || this.fallbackInputId,
356
+ ref: e => this.labelElem = e,
357
+ part: "label"
358
+ }, a("slot", {
359
+ key: "b215056b25255568d0668bcb967074550c8da489",
360
+ name: "label",
361
+ onSlotchange: this.handleLabelSlotChange
362
+ })), a("bq-dropdown", {
363
+ key: "a7f6274ea7a233f6c0f76459bc591ce034e25333",
364
+ class: "bq-select__dropdown w-full",
365
+ disabled: this.disabled,
366
+ distance: this.distance,
367
+ keepOpenOnSelect: this.keepOpenOnSelect,
368
+ open: this.open,
369
+ panelHeight: this.panelHeight,
370
+ placement: this.placement,
371
+ sameWidth: this.sameWidth,
372
+ skidding: this.skidding,
373
+ strategy: this.strategy,
374
+ exportparts: "panel"
375
+ }, a("div", {
376
+ key: "41029f6221aebd9d31fcc627070dbcf2a90731c1",
377
+ class: {
378
+ "bq-select__control": true,
379
+ [`validation-${this.validationStatus}`]: true,
380
+ disabled: this.disabled
381
+ },
382
+ part: "control",
383
+ slot: "trigger"
384
+ }, a("span", {
385
+ key: "31d901136c7859067c0cf887cc582d4ac012a0cb",
386
+ class: {
387
+ "bq-select__control--prefix": true,
388
+ "!hidden": !this.hasPrefix
389
+ },
390
+ ref: e => this.prefixElem = e,
391
+ part: "prefix"
392
+ }, a("slot", {
393
+ key: "e16a3d2c64bc8186e8addb8bcb3ec83d18b24eec",
394
+ name: "prefix",
395
+ onSlotchange: this.handlePrefixSlotChange
396
+ })), a("div", {
397
+ key: "08fc7f11f5b70a21d9537bfc69b45923debaebd9",
398
+ class: "flex flex-1 overflow-x-auto",
399
+ part: "input-outline"
400
+ }, this.multiple && a("span", {
401
+ key: "c329a96747d81d21a59f5ad9053282830956953f",
402
+ class: "bq-select__tags",
403
+ part: "tags"
404
+ }, a("slot", {
405
+ key: "e6155cdf85c6fad5f8670d5dad2229fe53f51866",
406
+ name: "tags"
407
+ }, this.displayTags)), a("input", {
408
+ key: "9fd5a9bb693d3612bd9373aa2646fb6bbde3437f",
409
+ id: this.name || this.fallbackInputId,
410
+ class: "bq-select__control--input flex-grow is-full",
411
+ autoComplete: "off",
412
+ autoCapitalize: "off",
413
+ autoFocus: this.autofocus,
414
+ "aria-disabled": this.disabled ? "true" : "false",
415
+ "aria-controls": `bq-options-${this.name}`,
416
+ "aria-expanded": this.open ? "true" : "false",
417
+ "aria-haspopup": "listbox",
418
+ disabled: this.disabled,
419
+ form: this.form,
420
+ name: this.name,
421
+ placeholder: this.displayPlaceholder,
422
+ ref: e => this.inputElem = e,
423
+ readOnly: this.readonly,
424
+ required: this.required,
425
+ role: "combobox",
426
+ spellcheck: false,
427
+ type: "text",
428
+ value: this.displayValue,
429
+ part: "input",
430
+ // Events
431
+ onBlur: this.handleBlur,
432
+ onFocus: this.handleFocus,
433
+ onInput: this.handleSearchFilter
434
+ })), this.hasClearIcon &&
435
+ // The clear button will be visible as long as the input has a value
436
+ // and the parent group is hovered or has focus-within
437
+ a("bq-button", {
438
+ key: "0b8065dc1d92392e2ff3c954fbd6f35dbd71ee23",
439
+ class: "bq-select__control--clear ms-[--bq-select--gap]",
440
+ appearance: "text",
441
+ "aria-label": this.clearButtonLabel,
442
+ size: "small",
443
+ onBqClick: this.handleClearClick,
444
+ part: "clear-btn",
445
+ exportparts: "button",
446
+ tabIndex: -1
447
+ }, a("slot", {
448
+ key: "0f9d2e731b20b922d3ca0c6b500992ec87067837",
449
+ name: "clear-icon"
450
+ }, a("bq-icon", {
451
+ key: "59c371a4495ec06dbaa84ecba73f6b26714052a5",
452
+ name: "x-circle",
453
+ class: "flex"
454
+ }))), a("span", {
455
+ key: "9a8466ae07509495820ab839893f932edbf9170d",
456
+ class: {
457
+ "bq-select__control--suffix": true,
458
+ "rotate-180": this.open,
459
+ "rotate-0": !this.open
460
+ },
461
+ ref: e => this.suffixElem = e,
462
+ part: "suffix"
463
+ }, a("slot", {
464
+ key: "fe04890c1f1547c20f9c5b405b9a335e7f9ba059",
465
+ name: "suffix",
466
+ onSlotchange: this.handleSuffixSlotChange
467
+ }, a("bq-icon", {
468
+ key: "3156fff9eccd1c3c8ef937450cd544ed156c442a",
469
+ name: "caret-down",
470
+ class: "flex"
471
+ })))), a("bq-option-list", {
472
+ key: "296ed3bb8790298885b5983ffabd99491ea2c216",
473
+ id: `bq-options-${this.name}`,
474
+ onBqSelect: this.handleSelect,
475
+ "aria-expanded": this.open ? "true" : "false",
476
+ exportparts: "base:option-list",
477
+ role: "listbox"
478
+ }, a("slot", {
479
+ key: "3ffe467e744a7c25ad6298fb46a50ce64cf79f52"
480
+ }))), a("div", {
481
+ key: "3fe2974c294022ec84e94c6ee31e229bcdf8a4a3",
482
+ class: {
483
+ [`bq-select__helper-text validation-${this.validationStatus}`]: true,
484
+ "!hidden": !this.hasHelperText
485
+ },
486
+ ref: e => this.helperTextElem = e,
487
+ part: "helper-text"
488
+ }, a("slot", {
489
+ key: "67bbf93f0344f35c7f226c93b0636082264e1053",
490
+ name: "helper-text",
491
+ onSlotchange: this.handleHelperTextSlotChange
492
+ })));
493
+ }
494
+ static get delegatesFocus() {
495
+ return true;
496
+ }
497
+ static get formAssociated() {
498
+ return true;
499
+ }
500
+ get el() {
501
+ return t(this);
502
+ }
503
+ static get watchers() {
504
+ return {
505
+ value: [ "handleValueChange" ]
506
+ };
507
+ }
508
+ };
509
+
510
+ d.style = c;
511
+
512
+ export { d as bq_select };
513
+ //# sourceMappingURL=p-911e07b7.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bqSelectCss","BqSelectStyle0","BqSelect","this","fallbackInputId","initMultipleValue","multiple","value","Array","isArray","from","JSON","parse","String","handleBlur","disabled","bqBlur","emit","el","handleFocus","bqFocus","handleSelect","ev","stopPropagation","item","detail","handleMultipleSelection","inputElem","bqSelect","resetOptionsVisibility","focus","selectedOptionsSet","Set","selectedOptions","has","delete","add","map","handleSearchFilter","_a","debounceQuery","cancel","query","_b","target","toLowerCase","trim","isDefined","clear","debounce","options","forEach","itemLabel","getOptionLabel","hidden","includes","debounceTime","open","handleClearClick","handleTagRemove","handleLabelSlotChange","hasLabel","hasSlotContent","labelElem","handlePrefixSlotChange","hasPrefix","prefixElem","handleSuffixSlotChange","hasSuffix","suffixElem","handleHelperTextSlotChange","hasHelperText","helperTextElem","syncItemsFromValue","internals","length","syncSelectedOptionsState","filter","option","updateDisplayLabel","setFormValue","isNil","undefined","lowerCaseValue","selected","checkedItem","find","displayValue","innerText","handleValueChange","isString","join","connectedCallback","componentWillLoad","componentDidLoad","formAssociatedCallback","role","ariaExpanded","formResetCallback","setValidity","handleOpenChange","composedPath","stopOptionFocusBlurPropagation","isHTMLElement","bqClear","querySelectorAll","displayPlaceholder","placeholder","displayTags","index","maxTagsVisible","h","key","removable","size","variant","onBqClose","event","onClick","exportparts","part","hasClearIcon","disableClear","render","labelId","name","class","id","htmlFor","ref","onSlotchange","distance","keepOpenOnSelect","panelHeight","placement","sameWidth","skidding","strategy","validationStatus","slot","spanElem","autoComplete","autoCapitalize","autoFocus","autofocus","form","readOnly","readonly","required","spellcheck","type","onBlur","onFocus","onInput","appearance","clearButtonLabel","onBqClick","tabIndex","onBqSelect","divElem"],"sources":["../../packages/beeq/src/components/select/scss/bq-select.scss?tag=bq-select&encapsulation=shadow","../../packages/beeq/src/components/select/bq-select.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Select styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-select.variables';\n\n:host {\n @apply block w-full;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Label and Helper text */\n/* -------------------------------------------------------------------------- */\n\n.bq-select__label {\n @apply flex items-center m-be-[--bq-select--label-margin-bottom];\n @apply text-[length:--bq-select--label-text-size] text-[color:--bq-select--label-text-color];\n}\n\n.bq-select__helper-text {\n @apply text-[length:--bq-select--helper-text-size] text-[color:--bq-select--helper-text-color] m-bs-[--bq-select--helper-margin-top];\n}\n\n.bq-select__helper-text.validation-error {\n @apply text-text-danger;\n}\n\n.bq-select__helper-text.validation-success {\n @apply text-text-success;\n}\n\n.bq-select__helper-text.validation-warning {\n @apply text-text-warning;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Select input group control */\n/* -------------------------------------------------------------------------- */\n\n.bq-select__dropdown:has(:focus-within, :focus-visible) {\n // The focus state will be controlled by the dropdown element\n // if any of its children has focus, the dropdown will set the focus state to the .bq-select__control\n .bq-select__control {\n --bq-ring-width: 1px;\n --bq-ring-offset-width: 0;\n --bq-ring-color-focus: var(--bq-select--border-color-focus);\n\n @apply focus border-[color:--bq-select--border-color-focus];\n }\n}\n\n.bq-select__control {\n @apply flex items-center transition-[border-color,box-shadow] is-full;\n // Border\n @apply rounded-[--bq-select--border-radius] border-[length:--bq-select--border-width] border-[color:--bq-select--border-color];\n // Padding\n @apply pe-[--bq-select--padding-end] ps-[--bq-select--padding-start] p-b-[var(--bq-select--paddingY)];\n // Text\n @apply select-none text-[length:--bq-select--text-size] text-[color:--bq-select--text-color] placeholder:text-[color:--bq-select--text-placeholder-color];\n // Hover\n @apply [&:not(.disabled):not(:focus-within)]:hover:border-hover-stroke-brand;\n\n border-style: var(--bq-select--border-style);\n\n // Enable clear button whenever the input group control is hovered or has focus\n &:not(.disabled):hover,\n &:not(.disabled):focus-within {\n .bq-select__control--clear {\n @apply inline-block;\n }\n }\n}\n\n.bq-select__control.disabled {\n @apply cursor-not-allowed opacity-60;\n}\n\n/* ------------------------------- Validation ------------------------------- */\n\n.bq-select__control.validation-error {\n @apply border-stroke-danger [&:not(.disabled):not(:focus-within)]:hover:border-hover-stroke-danger;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(colors.stroke.danger);\n\n @apply border-active-stroke-danger;\n }\n}\n\n.bq-select__control.validation-success {\n @apply border-stroke-success [&:not(.disabled):not(:focus-within)]:hover:border-hover-stroke-success;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(colors.stroke.success);\n\n @apply border-active-stroke-success;\n }\n}\n\n.bq-select__control.validation-warning {\n @apply border-stroke-warning [&:not(.disabled):not(:focus-within)]:hover:border-hover-stroke-warning;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(colors.stroke.warning);\n\n @apply border-active-stroke-warning;\n }\n}\n\n/* -------------------------------------------------------------------------- */\n/* Native HTML Input */\n/* -------------------------------------------------------------------------- */\n\n.bq-select__control--input {\n @apply flex-auto cursor-[inherit] select-none appearance-none bg-[inherit] font-[inherit] text-[length:inherit] text-[color:inherit];\n @apply m-0 border-none p-0 min-bs-[var(--bq-select--icon-size)] min-is-0 focus:outline-none focus-visible:outline-none;\n\n box-shadow: none;\n font-weight: inherit;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Clear button */\n/* -------------------------------------------------------------------------- */\n\n.bq-select__control--clear::part(button) {\n // Since the clear button is inside the input group control,\n // we need to reset the focus ring styles\n --bq-ring-width: initial;\n --bq-ring-offset-width: initial;\n --bq-ring-color-focus: initial;\n\n @apply rounded-xs border-none p-0 bs-auto;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Prefix and suffix */\n/* -------------------------------------------------------------------------- */\n\n.bq-select__control--prefix,\n.bq-select__control--suffix {\n @apply pointer-events-none flex items-center text-[color:var(--bq-select--text-color)];\n}\n\n.bq-select__control--prefix {\n @apply me-[--bq-select--gap];\n}\n\n.bq-select__control--suffix {\n @apply ms-[--bq-select--gap] transition-transform duration-300 ease-in-out;\n}\n\n.bq-select__tags {\n @apply me-xs2 flex flex-1 gap-xs2;\n\n bq-tag,\n ::slotted(bq-tag) {\n @apply inline-flex;\n }\n\n bq-tag::part(text) {\n @apply text-nowrap leading-small;\n }\n}\n\n/* -------------------------------------------------------------------------- */\n/* Slotted and internal icons */\n/* -------------------------------------------------------------------------- */\n\nbq-icon,\n::slotted(bq-icon) {\n --bq-icon--size: var(--bq-select--icon-size) !important;\n}\n","import {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\n\nimport { Placement } from '../../services/interfaces';\nimport { debounce, hasSlotContent, isDefined, isHTMLElement, isNil, isString, TDebounce } from '../../shared/utils';\nimport { TInputValidation } from '../input/bq-input.types';\n\nexport type TSelectValue = string | string[];\n\n/**\n * @part base - The component's base wrapper.\n * @part button - The native HTML button used under the hood in the clear button.\n * @part clear-btn - The clear button.\n * @part control - The input control wrapper.\n * @part input-outline - The input outline wrapper that holds the tags container and the native HTML input used under the hood.\n * @part helper-text - The helper text slot container.\n * @part input - The native HTML input element used under the hood.\n * @part label - The label slot container.\n * @part panel - The select panel container\n * @part prefix - The prefix slot container.\n * @part suffix - The suffix slot container.\n * @part tags - The tags container of the BqTags for multiple selection.\n * @part tag - The tag container of the BqTag for multiple selection.\n * @part tag__base - The base wrapper of the BqTag for multiple selection.\n * @part tag__prefix - The prefix slot container of the BqTag for multiple selection.\n * @part tag__text - The text slot container of the BqTag for multiple selection.\n * @part tag__btn-close - The close button of the BqTag for multiple selection.\n * @part option-list - The option list container.\n */\n@Component({\n tag: 'bq-select',\n styleUrl: './scss/bq-select.scss',\n formAssociated: true,\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqSelect {\n // Own Properties\n // ====================\n\n private helperTextElem?: HTMLElement;\n private inputElem?: HTMLInputElement;\n private labelElem?: HTMLElement;\n private prefixElem?: HTMLElement;\n private suffixElem?: HTMLElement;\n\n private debounceQuery: TDebounce<void>;\n\n private fallbackInputId = 'select';\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqSelectElement;\n @AttachInternals() internals!: ElementInternals;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() displayValue?: string;\n @State() hasHelperText = false;\n @State() selectedOptions: HTMLBqOptionElement[] = [];\n\n @State() hasLabel = false;\n @State() hasPrefix = false;\n @State() hasSuffix = false;\n @State() hasValue = false;\n\n // Public Property API\n // ========================\n\n /** If true, the Select input will be focused on component render */\n @Prop({ reflect: true }) autofocus: boolean;\n\n /** The clear button aria label */\n @Prop({ reflect: true }) clearButtonLabel? = 'Clear value';\n\n /**\n * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the input value changes.\n * A value of 0 means no debouncing will occur.\n */\n @Prop({ reflect: true, mutable: true }) debounceTime? = 0;\n\n /**\n * Indicates whether the Select input is disabled or not.\n * If `true`, the Select is disabled and cannot be interacted with.\n */\n @Prop({ mutable: true }) disabled?: boolean = false;\n\n /** If true, the clear button won't be displayed */\n @Prop({ reflect: true }) disableClear? = false;\n\n /** Represents the distance (gutter or margin) between the Select panel and the input element. */\n @Prop({ reflect: true }) distance?: number = 8;\n\n /** The ID of the form that the Select input belongs to. */\n @Prop({ reflect: true }) form?: string;\n\n /** If true, the Select panel will remain open after a selection is made. */\n @Prop({ reflect: true }) keepOpenOnSelect?: boolean = false;\n\n /** The Select input name. */\n @Prop({ reflect: true }) name!: string;\n\n /** The maximum number of tags to display when multiple selection is enabled */\n @Prop({ mutable: true }) maxTagsVisible: number = 2;\n\n /** If true, the Select input will allow multiple selections. */\n @Prop({ reflect: true }) multiple?: boolean = false;\n\n /** If true, the Select panel will be visible. */\n @Prop({ reflect: true, mutable: true }) open?: boolean = false;\n\n /** When set, it will override the height of the Select panel. */\n @Prop({ reflect: true }) panelHeight?: string;\n\n /** The Select input placeholder text value */\n @Prop({ reflect: true }) placeholder?: string;\n\n /** Position of the Select panel */\n @Prop({ reflect: true }) placement?: Placement = 'bottom';\n\n /** If true, the list of options cannot be filtered (searching won't be available) */\n @Prop({ reflect: true }) readonly?: boolean;\n\n /** Indicates whether or not the Select input is required to be filled out before submitting the form. */\n @Prop({ reflect: true }) required?: boolean;\n\n /** Whether the panel should have the Select same width as the input element */\n @Prop({ reflect: true }) sameWidth?: boolean = true;\n\n /** Represents the skidding between the Select panel and the input element. */\n @Prop({ reflect: true }) skidding?: number = 0;\n\n /** Defines the strategy to position the Select panel */\n @Prop({ reflect: true }) strategy?: 'fixed' | 'absolute' = 'fixed';\n\n /**\n * The validation status of the Select input.\n *\n * @remarks\n * This property is used to indicate the validation status of the select input. It can be set to one of the following values:\n * - `'none'`: No validation status is set.\n * - `'error'`: The input has a validation error.\n * - `'warning'`: The input has a validation warning.\n * - `'success'`: The input has passed validation.\n */\n @Prop({ reflect: true }) validationStatus: TInputValidation = 'none';\n\n /** The select input value, it can be used to reset the field to a previous value */\n @Prop({ reflect: true, mutable: true }) value: TSelectValue;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('value')\n handleValueChange() {\n if (this.multiple && isString(this.value)) {\n // NOTE: we ensure that value is an array, changing the value will trigger Watch to execute thus the return\n this.value = Array.from(JSON.parse(String(this.value)));\n this.internals.setFormValue(this.value.join(','));\n return;\n }\n\n this.syncItemsFromValue();\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler emitted when the Select input loses focus */\n @Event() bqBlur!: EventEmitter<HTMLBqSelectElement>;\n\n /** Callback handler emitted when the selected value has been cleared */\n @Event() bqClear!: EventEmitter<HTMLBqSelectElement>;\n\n /** Callback handler emitted when the Select input has received focus */\n @Event() bqFocus!: EventEmitter<HTMLBqSelectElement>;\n\n /** Callback handler emitted when the selected value has changed */\n @Event() bqSelect!: EventEmitter<{ value: string | number | string[]; item: HTMLBqOptionElement }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.initMultipleValue();\n }\n\n componentWillLoad() {\n this.initMultipleValue();\n }\n\n componentDidLoad() {\n if (this.multiple && Array.isArray(this.value)) {\n this.selectedOptions = this.options.filter((item) => this.value.includes(item.value));\n }\n\n this.handleValueChange();\n }\n\n formAssociatedCallback() {\n this.internals.role = 'combobox';\n this.internals.ariaExpanded = this.open ? 'true' : 'false';\n }\n\n async formResetCallback() {\n if (isNil(this.value)) return;\n\n this.internals.setValidity({});\n this.clear();\n }\n\n // Listeners\n // ==============\n\n @Listen('bqOpen', { capture: true })\n handleOpenChange(ev: CustomEvent<{ open: boolean }>) {\n if (!ev.composedPath().includes(this.el)) return;\n\n this.open = ev.detail.open;\n }\n\n @Listen('bqFocus', { capture: true })\n @Listen('bqBlur', { capture: true })\n stopOptionFocusBlurPropagation(ev: CustomEvent) {\n // Stop propagation of focus and blur events coming from the `bq-option` elements\n if (isHTMLElement(ev.target, 'bq-select')) return;\n\n ev.stopPropagation();\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 * Clears the selected value.\n *\n * @return {Promise<void>}\n * @memberof BqSelect\n */\n @Method()\n async clear(): Promise<void> {\n if (this.disabled) return;\n\n const { multiple, inputElem, bqClear, el } = this;\n\n // Clear value and selected options\n this.value = undefined;\n this.selectedOptions = [];\n\n // Clear display value and input element if not multiple\n if (!multiple) {\n this.displayValue = undefined;\n inputElem.value = undefined;\n }\n\n // Update form value and reset options visibility\n this.resetOptionsVisibility();\n\n // Emit clear event\n bqClear.emit(el);\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private initMultipleValue = () => {\n if (!this.multiple) return;\n\n this.value = Array.isArray(this.value) ? this.value : Array.from(JSON.parse(String(this.value)));\n };\n\n private handleBlur = () => {\n if (this.disabled) return;\n\n this.bqBlur.emit(this.el);\n };\n\n private handleFocus = () => {\n if (this.disabled) return;\n\n this.bqFocus.emit(this.el);\n };\n\n private handleSelect = (ev: CustomEvent<{ value: TSelectValue; item: HTMLBqOptionElement }>) => {\n if (this.disabled) return;\n\n if (this.multiple) {\n ev.stopPropagation();\n }\n\n const { value, item } = ev.detail;\n\n if (this.multiple) {\n this.handleMultipleSelection(item);\n // Clear the input value after selecting an item\n this.inputElem.value = '';\n // If multiple selection is enabled, emit the selected items array instead of relying on\n // the option list to emit the value of the selected item\n this.bqSelect.emit({ value: this.value, item });\n } else {\n this.value = value;\n }\n\n this.resetOptionsVisibility();\n this.inputElem.focus();\n };\n\n private handleMultipleSelection = (item: HTMLBqOptionElement) => {\n // Set has O(1) complexity for insertion, deletion, and search operations, compared to an Array's O(n)\n const selectedOptionsSet = new Set(this.selectedOptions);\n\n if (selectedOptionsSet.has(item)) {\n selectedOptionsSet.delete(item);\n } else {\n selectedOptionsSet.add(item);\n }\n\n this.selectedOptions = Array.from(selectedOptionsSet);\n this.value = this.selectedOptions.map((item) => item.value);\n };\n\n private handleSearchFilter = (ev: Event) => {\n if (this.disabled) return;\n\n this.debounceQuery?.cancel();\n\n const query = (ev.target as HTMLInputElement).value?.toLowerCase().trim();\n\n if (!isDefined(query)) {\n this.clear();\n } else {\n this.debounceQuery = debounce(() => {\n this.options.forEach((item: HTMLBqOptionElement) => {\n const itemLabel = this.getOptionLabel(item).toLowerCase();\n item.hidden = !itemLabel.includes(query);\n });\n }, this.debounceTime);\n\n this.debounceQuery();\n }\n\n // The panel will close once a selection is made\n // so we need to make sure it's open when the user is typing and the query is not empty\n this.open = true;\n };\n\n private handleClearClick = (ev: CustomEvent) => {\n (async () => {\n await this.clear();\n })();\n this.inputElem.focus();\n\n ev.stopPropagation();\n };\n\n private handleTagRemove = (item: HTMLBqOptionElement) => {\n if (this.disabled) return;\n\n this.handleMultipleSelection(item);\n this.bqSelect.emit({ value: this.value, item });\n };\n\n private handleLabelSlotChange = () => {\n this.hasLabel = hasSlotContent(this.labelElem);\n };\n\n private handlePrefixSlotChange = () => {\n this.hasPrefix = hasSlotContent(this.prefixElem);\n };\n\n private handleSuffixSlotChange = () => {\n this.hasSuffix = hasSlotContent(this.suffixElem);\n };\n\n private handleHelperTextSlotChange = () => {\n this.hasHelperText = hasSlotContent(this.helperTextElem);\n };\n\n private resetOptionsVisibility = () => {\n this.options.forEach((item: HTMLBqOptionElement) => (item.hidden = false));\n };\n\n private syncItemsFromValue = () => {\n const { internals, options, value } = this;\n if (!options.length) return;\n\n // Sync selected state of the BqOption elements\n this.syncSelectedOptionsState();\n\n if (this.multiple) {\n // Sync selected options for multiple selection mode\n this.selectedOptions = options.filter((option) => this.value?.includes(option.value));\n } else {\n // Sync display label for single selection mode\n this.updateDisplayLabel();\n }\n\n internals.setFormValue(!isNil(value) ? `${value}` : undefined);\n };\n\n /**\n * Syncs the selected state of the BqOption elements which value is included in the `value` property.\n * Notice that value can be a string or an array of strings.\n *\n * @private\n * @memberof BqSelect\n */\n private syncSelectedOptionsState = () => {\n const { options, multiple, value } = this;\n const lowerCaseValue = String(value).toLowerCase();\n\n options.forEach((option: HTMLBqOptionElement) => {\n if (multiple && Array.isArray(value)) {\n option.selected = value.includes(option.value);\n } else {\n option.selected = option.value.toLowerCase() === lowerCaseValue;\n }\n });\n };\n\n /**\n * Updates the display value of the input element based on the selected option.\n *\n * @private\n * @memberof BqSelect\n */\n private updateDisplayLabel = () => {\n const { value, options, inputElem } = this;\n\n const checkedItem = options.find((item) => item.value === value);\n const displayValue = checkedItem ? this.getOptionLabel(checkedItem) : '';\n\n inputElem.value = displayValue;\n this.displayValue = displayValue;\n };\n\n private getOptionLabel = (item: HTMLBqOptionElement) => {\n if (!item) return;\n return item.innerText.trim() ?? '';\n };\n\n private get options() {\n return Array.from(this.el.querySelectorAll('bq-option'));\n }\n\n private get displayPlaceholder() {\n // Hide the placeholder when multiple selection is enabled and there are selected items\n return this.multiple && this.selectedOptions.length !== 0 ? undefined : this.placeholder;\n }\n\n private get displayTags() {\n return this.selectedOptions.map((item, index) => {\n if (index < this.maxTagsVisible || this.maxTagsVisible < 0) {\n return (\n <bq-tag\n key={item.value}\n removable\n size=\"xsmall\"\n variant=\"filled\"\n onBqClose={(event) => {\n // NOTE: prevents triggering bqClose on parent\n event.stopPropagation();\n this.handleTagRemove(item);\n }}\n // Prevent the tag from closing the panel when clicked\n onClick={(ev: MouseEvent) => ev.stopPropagation()}\n exportparts=\"wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close\"\n part=\"tag\"\n >\n {this.getOptionLabel(item)}\n </bq-tag>\n );\n } else if (index === this.maxTagsVisible) {\n return (\n <bq-tag\n key=\"more\"\n size=\"xsmall\"\n variant=\"filled\"\n exportparts=\"wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close\"\n part=\"tag\"\n >\n +{this.selectedOptions.length - index}\n </bq-tag>\n );\n }\n\n return null;\n });\n }\n\n private get hasClearIcon() {\n if (this.disableClear || this.disabled) {\n return false;\n }\n\n if (this.multiple) {\n return this.selectedOptions.length > 0;\n }\n\n return isDefined(this.displayValue);\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const labelId = `bq-select__label-${this.name || this.fallbackInputId}`;\n\n return (\n <div class=\"bq-select\" part=\"base\">\n {/* Label */}\n <label\n id={labelId}\n class={{ 'bq-select__label': true, '!hidden': !this.hasLabel }}\n htmlFor={this.name || this.fallbackInputId}\n ref={(labelElem: HTMLSpanElement) => (this.labelElem = labelElem)}\n part=\"label\"\n >\n <slot name=\"label\" onSlotchange={this.handleLabelSlotChange} />\n </label>\n {/* Select dropdown */}\n <bq-dropdown\n class=\"bq-select__dropdown w-full\"\n disabled={this.disabled}\n distance={this.distance}\n keepOpenOnSelect={this.keepOpenOnSelect}\n open={this.open}\n panelHeight={this.panelHeight}\n placement={this.placement}\n sameWidth={this.sameWidth}\n skidding={this.skidding}\n strategy={this.strategy}\n exportparts=\"panel\"\n >\n {/* Input control group */}\n <div\n class={{\n 'bq-select__control': true,\n [`validation-${this.validationStatus}`]: true,\n disabled: this.disabled,\n }}\n part=\"control\"\n slot=\"trigger\"\n >\n {/* Prefix */}\n <span\n class={{ 'bq-select__control--prefix': true, '!hidden': !this.hasPrefix }}\n ref={(spanElem: HTMLSpanElement) => (this.prefixElem = spanElem)}\n part=\"prefix\"\n >\n <slot name=\"prefix\" onSlotchange={this.handlePrefixSlotChange} />\n </span>\n <div class=\"flex flex-1 overflow-x-auto\" part=\"input-outline\">\n {/* Display selected values using BqTags for multiple selection */}\n {this.multiple && (\n <span class=\"bq-select__tags\" part=\"tags\">\n <slot name=\"tags\">{this.displayTags}</slot>\n </span>\n )}\n {/* HTML Input */}\n <input\n id={this.name || this.fallbackInputId}\n class=\"bq-select__control--input flex-grow is-full\"\n autoComplete=\"off\"\n autoCapitalize=\"off\"\n autoFocus={this.autofocus}\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-controls={`bq-options-${this.name}`}\n aria-expanded={this.open ? 'true' : 'false'}\n aria-haspopup=\"listbox\"\n disabled={this.disabled}\n form={this.form}\n name={this.name}\n placeholder={this.displayPlaceholder}\n ref={(inputElem: HTMLInputElement) => (this.inputElem = inputElem)}\n readOnly={this.readonly}\n required={this.required}\n role=\"combobox\"\n spellcheck={false}\n type=\"text\"\n value={this.displayValue}\n part=\"input\"\n // Events\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onInput={this.handleSearchFilter}\n />\n </div>\n {/* Clear Button */}\n {this.hasClearIcon && (\n // The clear button will be visible as long as the input has a value\n // and the parent group is hovered or has focus-within\n <bq-button\n class=\"bq-select__control--clear ms-[--bq-select--gap]\"\n appearance=\"text\"\n aria-label={this.clearButtonLabel}\n size=\"small\"\n onBqClick={this.handleClearClick}\n part=\"clear-btn\"\n exportparts=\"button\"\n tabIndex={-1}\n >\n <slot name=\"clear-icon\">\n <bq-icon name=\"x-circle\" class=\"flex\" />\n </slot>\n </bq-button>\n )}\n {/* Suffix */}\n <span\n class={{ 'bq-select__control--suffix': true, 'rotate-180': this.open, 'rotate-0': !this.open }}\n ref={(spanElem: HTMLSpanElement) => (this.suffixElem = spanElem)}\n part=\"suffix\"\n >\n <slot name=\"suffix\" onSlotchange={this.handleSuffixSlotChange}>\n <bq-icon name=\"caret-down\" class=\"flex\" />\n </slot>\n </span>\n </div>\n <bq-option-list\n id={`bq-options-${this.name}`}\n onBqSelect={this.handleSelect}\n aria-expanded={this.open ? 'true' : 'false'}\n exportparts=\"base:option-list\"\n role=\"listbox\"\n >\n <slot />\n </bq-option-list>\n </bq-dropdown>\n {/* Helper text */}\n <div\n class={{\n [`bq-select__helper-text validation-${this.validationStatus}`]: true,\n '!hidden': !this.hasHelperText,\n }}\n ref={(divElem: HTMLDivElement) => (this.helperTextElem = divElem)}\n part=\"helper-text\"\n >\n <slot name=\"helper-text\" onSlotchange={this.handleHelperTextSlotChange} />\n </div>\n </div>\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAMA,IAAc;;AACpB,MAAAC,IAAeD;;MC+CFE,IAAQ;;;;;;;;;;;;;IAYXC,KAAAC,kBAAkB;;;;;QAoOlBD,KAAAE,oBAAoB;MAC1B,KAAKF,KAAKG,UAAU;MAEpBH,KAAKI,QAAQC,MAAMC,QAAQN,KAAKI,SAASJ,KAAKI,QAAQC,MAAME,KAAKC,KAAKC,MAAMC,OAAOV,KAAKI;AAAQ;IAG1FJ,KAAAW,aAAa;MACnB,IAAIX,KAAKY,UAAU;MAEnBZ,KAAKa,OAAOC,KAAKd,KAAKe;AAAG;IAGnBf,KAAAgB,cAAc;MACpB,IAAIhB,KAAKY,UAAU;MAEnBZ,KAAKiB,QAAQH,KAAKd,KAAKe;AAAG;IAGpBf,KAAAkB,eAAgBC;MACtB,IAAInB,KAAKY,UAAU;MAEnB,IAAIZ,KAAKG,UAAU;QACjBgB,EAAGC;;MAGL,OAAMhB,OAAEA,GAAKiB,MAAEA,KAASF,EAAGG;MAE3B,IAAItB,KAAKG,UAAU;QACjBH,KAAKuB,wBAAwBF;;gBAE7BrB,KAAKwB,UAAUpB,QAAQ;;;gBAGvBJ,KAAKyB,SAASX,KAAK;UAAEV,OAAOJ,KAAKI;UAAOiB;;aACnC;QACLrB,KAAKI,QAAQA;;MAGfJ,KAAK0B;MACL1B,KAAKwB,UAAUG;AAAO;IAGhB3B,KAAAuB,0BAA2BF;;MAEjC,MAAMO,IAAqB,IAAIC,IAAI7B,KAAK8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