bitboss-ui 3.0.0-beta.67 → 3.0.0-beta.68

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 (541) hide show
  1. package/README.md +1 -1
  2. package/bin/bitboss-ui-mcp.mjs +87 -19
  3. package/bin/bitboss-ui.mjs +6 -2
  4. package/dist/ai/BbAlert.md +15 -11
  5. package/dist/ai/BbAsterisk.md +1 -1
  6. package/dist/ai/BbAvatar.md +2 -2
  7. package/dist/ai/BbBadge.md +4 -4
  8. package/dist/ai/BbBaseCheckboxIcon.md +4 -0
  9. package/dist/ai/BbBaseRadioIcon.md +7 -3
  10. package/dist/ai/BbBaseSwitchIcon.md +11 -2
  11. package/dist/ai/BbBreadcrumbs.md +2 -2
  12. package/dist/ai/BbButton.md +62 -9
  13. package/dist/ai/BbCalendar.md +1 -1
  14. package/dist/ai/BbCheckbox.md +23 -5
  15. package/dist/ai/BbCheckboxGroup.md +52 -25
  16. package/dist/ai/BbColorInput.md +13 -12
  17. package/dist/ai/BbColorPalette.md +5 -5
  18. package/dist/ai/BbConfigScope.md +218 -0
  19. package/dist/ai/BbConfirm.md +24 -21
  20. package/dist/ai/BbDatePicker.md +4 -4
  21. package/dist/ai/BbDatePickerInput.md +16 -15
  22. package/dist/ai/BbDialog.md +10 -9
  23. package/dist/ai/BbDropdown.md +26 -16
  24. package/dist/ai/BbDropdownButton.md +18 -18
  25. package/dist/ai/BbDropzone.md +1 -1
  26. package/dist/ai/BbForm.md +6 -4
  27. package/dist/ai/BbHost.md +19 -13
  28. package/dist/ai/BbIcon.md +3 -3
  29. package/dist/ai/BbIndicator.md +4 -4
  30. package/dist/ai/BbNumberInput.md +17 -13
  31. package/dist/ai/BbOffCanvas.md +4 -3
  32. package/dist/ai/BbPagination.md +10 -2
  33. package/dist/ai/BbPopover.md +5 -5
  34. package/dist/ai/BbRadio.md +23 -4
  35. package/dist/ai/BbRadioGroup.md +69 -30
  36. package/dist/ai/BbRating.md +5 -5
  37. package/dist/ai/BbSelect.md +74 -39
  38. package/dist/ai/BbSelectPopover.md +28 -26
  39. package/dist/ai/BbSlider.md +258 -61
  40. package/dist/ai/BbSpinner.md +2 -2
  41. package/dist/ai/BbSwitch.md +27 -4
  42. package/dist/ai/BbSwitchGroup.md +22 -13
  43. package/dist/ai/BbTable.md +10 -5
  44. package/dist/ai/BbTabs.md +6 -6
  45. package/dist/ai/BbTabsRoot.md +1 -1
  46. package/dist/ai/BbTag.md +12 -11
  47. package/dist/ai/BbTextInput.md +25 -17
  48. package/dist/ai/BbTextarea.md +15 -14
  49. package/dist/ai/BbTimePicker.md +3 -3
  50. package/dist/ai/BbTimePickerInput.md +12 -11
  51. package/dist/ai/BbToast.md +65 -26
  52. package/dist/ai/BbTooltip.md +2 -2
  53. package/dist/ai/CommonField.md +2 -2
  54. package/dist/ai/CommonFieldInput.md +2 -1
  55. package/dist/ai/FlatListBox.md +4 -3
  56. package/dist/ai/GroupedListBox.md +4 -3
  57. package/dist/ai/ListBox.md +5 -4
  58. package/dist/ai/OptionsContainer.md +17 -1
  59. package/dist/ai/changelog.json +454 -7
  60. package/dist/ai/components.json +77 -69
  61. package/dist/ai/composables/useBbConfig.md +3 -3
  62. package/dist/ai/composables/useBbDialog.md +1 -1
  63. package/dist/ai/composables/useBbFormField.md +1 -1
  64. package/dist/ai/composables/useConfirm.md +1 -1
  65. package/dist/ai/composables/useToast.md +16 -16
  66. package/dist/ai/design-tokens.json +10 -5
  67. package/dist/ai/guides/agent-contract.md +8 -8
  68. package/dist/ai/guides/ai-router.md +1 -1
  69. package/dist/ai/guides/app-layout.md +1 -1
  70. package/dist/ai/guides/design-language.md +17 -13
  71. package/dist/ai/guides/design-tokens.md +81 -42
  72. package/dist/ai/guides/eslint-rules.md +3 -1
  73. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  74. package/dist/ai/guides/icons-policy.md +1 -1
  75. package/dist/ai/guides/inline-edit-playbook.md +1 -1
  76. package/dist/ai/guides/installation-and-plugin-setup.md +335 -161
  77. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  78. package/dist/ai/guides/migration/components/bb-alert.md +2 -2
  79. package/dist/ai/guides/migration/components/bb-badge.md +1 -1
  80. package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
  81. package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
  82. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
  83. package/dist/ai/guides/migration/components/bb-host.md +10 -8
  84. package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
  85. package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
  86. package/dist/ai/guides/migration/components/bb-select.md +3 -3
  87. package/dist/ai/guides/migration/components/bb-slider.md +17 -2
  88. package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
  89. package/dist/ai/guides/migration/components/bb-toast.md +6 -6
  90. package/dist/ai/guides/migration/components/use-confirm.md +1 -1
  91. package/dist/ai/guides/migration/v2-to-v3.md +191 -56
  92. package/dist/ai/guides/migration/v3-beta-tooling.md +2 -2
  93. package/dist/ai/guides/passthrough.md +140 -131
  94. package/dist/ai/guides/typescript-generic-components.md +7 -7
  95. package/dist/ai/guides/validated-forms.md +5 -5
  96. package/dist/ai/guides/validation-libraries.md +4 -4
  97. package/dist/ai/helpers/inertia/manifest.json +1 -1
  98. package/dist/ai/index.md +3 -3
  99. package/dist/ai/manifest/common.json +9 -11
  100. package/dist/ai/manifest/components/BbAlert.json +3 -2
  101. package/dist/ai/manifest/components/BbAvatar.json +2 -1
  102. package/dist/ai/manifest/components/BbBadge.json +3 -2
  103. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
  104. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
  105. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
  106. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  107. package/dist/ai/manifest/components/BbButton.json +4 -3
  108. package/dist/ai/manifest/components/BbButton.tree.json +3 -1
  109. package/dist/ai/manifest/components/BbCalendar.tree.json +1 -0
  110. package/dist/ai/manifest/components/BbCheckbox.json +4 -3
  111. package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
  112. package/dist/ai/manifest/components/BbCheckboxGroup.json +17 -14
  113. package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
  114. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +25 -4
  115. package/dist/ai/manifest/components/BbColorInput.json +6 -5
  116. package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
  117. package/dist/ai/manifest/components/BbColorPalette.json +2 -1
  118. package/dist/ai/manifest/components/BbColorPalette.tree.json +2 -1
  119. package/dist/ai/manifest/components/BbConfigScope.json +23 -0
  120. package/dist/ai/manifest/components/BbConfirm.json +2 -1
  121. package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
  122. package/dist/ai/manifest/components/BbDatePicker.json +2 -1
  123. package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
  124. package/dist/ai/manifest/components/BbDatePickerInput.json +6 -5
  125. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +6 -4
  126. package/dist/ai/manifest/components/BbDialog.json +3 -2
  127. package/dist/ai/manifest/components/BbDialog.tree.json +2 -2
  128. package/dist/ai/manifest/components/BbDropdown.json +7 -4
  129. package/dist/ai/manifest/components/BbDropdown.tree.json +1 -1
  130. package/dist/ai/manifest/components/BbDropdownButton.json +11 -8
  131. package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
  132. package/dist/ai/manifest/components/BbDropzone.json +1 -0
  133. package/dist/ai/manifest/components/BbForm.json +1 -1
  134. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  135. package/dist/ai/manifest/components/BbIcon.json +2 -1
  136. package/dist/ai/manifest/components/BbIndicator.json +2 -1
  137. package/dist/ai/manifest/components/BbNumberInput.json +5 -4
  138. package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
  139. package/dist/ai/manifest/components/BbOffCanvas.json +2 -1
  140. package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
  141. package/dist/ai/manifest/components/BbPagination.json +1 -1
  142. package/dist/ai/manifest/components/BbPagination.tree.json +2 -1
  143. package/dist/ai/manifest/components/BbPopover.json +2 -1
  144. package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
  145. package/dist/ai/manifest/components/BbRadio.json +3 -2
  146. package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
  147. package/dist/ai/manifest/components/BbRadioGroup.json +21 -18
  148. package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
  149. package/dist/ai/manifest/components/BbRadioGroup.tree.json +25 -4
  150. package/dist/ai/manifest/components/BbRating.json +3 -2
  151. package/dist/ai/manifest/components/BbSelect.json +11 -9
  152. package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
  153. package/dist/ai/manifest/components/BbSelectPopover.json +11 -9
  154. package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -2
  155. package/dist/ai/manifest/components/BbSlider.json +20 -18
  156. package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
  157. package/dist/ai/manifest/components/BbSlider.tree.json +4 -2
  158. package/dist/ai/manifest/components/BbSwitch.json +2 -1
  159. package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
  160. package/dist/ai/manifest/components/BbSwitchGroup.json +7 -5
  161. package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
  162. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +6 -2
  163. package/dist/ai/manifest/components/BbTable.json +3 -2
  164. package/dist/ai/manifest/components/BbTable.tree.json +4 -3
  165. package/dist/ai/manifest/components/BbTabs.json +3 -2
  166. package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
  167. package/dist/ai/manifest/components/BbTag.json +6 -5
  168. package/dist/ai/manifest/components/BbTag.tree.json +3 -2
  169. package/dist/ai/manifest/components/BbTextInput.json +5 -4
  170. package/dist/ai/manifest/components/BbTextInput.tree.json +3 -2
  171. package/dist/ai/manifest/components/BbTextarea.json +6 -5
  172. package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
  173. package/dist/ai/manifest/components/BbTimePicker.json +2 -1
  174. package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
  175. package/dist/ai/manifest/components/BbTimePickerInput.json +6 -5
  176. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
  177. package/dist/ai/manifest/components/BbToast.json +2 -1
  178. package/dist/ai/manifest/components/BbToast.tree.json +6 -1
  179. package/dist/ai/manifest/components/BbTooltip.json +1 -0
  180. package/dist/ai/manifest/components/CommonField.json +2 -2
  181. package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
  182. package/dist/ai/manifest/components/CommonFieldInput.tree.json +2 -0
  183. package/dist/ai/manifest/components/FlatListBox.json +1 -1
  184. package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
  185. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  186. package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
  187. package/dist/ai/manifest/components/ListBox.json +1 -1
  188. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  189. package/dist/ai/manifest/components/OptionsContainer.json +3 -2
  190. package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
  191. package/dist/ai/manifest/index.json +3 -3
  192. package/dist/ai/manifest/meta.json +16 -7
  193. package/dist/ai/manifest/types.advanced.json +5 -6
  194. package/dist/ai/manifest/types.api.json +15 -6
  195. package/dist/ai/manifest/types.wrapper.json +2 -2
  196. package/dist/ai/recipes/inertia/approvals-inbox.md +2 -2
  197. package/dist/ai/recipes/inertia/inline-edit-workspace.md +13 -9
  198. package/dist/ai/recipes/inertia/onboarding.md +2 -2
  199. package/dist/ai/recipes/inertia/ownership-atlas.md +2 -2
  200. package/dist/ai/recipes/inertia/record-form.md +2 -2
  201. package/dist/ai/recipes/inertia/records-workspace.md +2 -2
  202. package/dist/ai/recipes/inertia/settings-workspace.md +5 -4
  203. package/dist/ai/recipes/inertia/upload-center.md +3 -3
  204. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  205. package/dist/ai/recipes/nuxt/approvals-inbox.md +2 -2
  206. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -9
  207. package/dist/ai/recipes/nuxt/onboarding.md +2 -2
  208. package/dist/ai/recipes/nuxt/ownership-atlas.md +2 -2
  209. package/dist/ai/recipes/nuxt/record-form.md +2 -2
  210. package/dist/ai/recipes/nuxt/records-workspace.md +2 -2
  211. package/dist/ai/recipes/nuxt/settings-workspace.md +5 -4
  212. package/dist/ai/recipes/nuxt/upload-center.md +4 -4
  213. package/dist/ai/recipes/nuxt/wizard-form.md +2 -2
  214. package/dist/ai/recipes/vue/approvals-inbox.md +2 -2
  215. package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -9
  216. package/dist/ai/recipes/vue/onboarding.md +2 -2
  217. package/dist/ai/recipes/vue/ownership-atlas.md +2 -2
  218. package/dist/ai/recipes/vue/record-form.md +2 -2
  219. package/dist/ai/recipes/vue/records-workspace.md +2 -2
  220. package/dist/ai/recipes/vue/settings-workspace.md +5 -4
  221. package/dist/ai/recipes/vue/upload-center.md +4 -4
  222. package/dist/ai/recipes/vue/wizard-form.md +2 -2
  223. package/dist/ai/source/BbAlert.md +10 -4
  224. package/dist/ai/source/BbAvatar.md +5 -4
  225. package/dist/ai/source/BbBadge.md +16 -9
  226. package/dist/ai/source/BbBadgeButton.md +1 -1
  227. package/dist/ai/source/BbBaseCheckboxIcon.md +7 -5
  228. package/dist/ai/source/BbBaseRadioIcon.md +17 -11
  229. package/dist/ai/source/BbBaseSwitchIcon.md +14 -9
  230. package/dist/ai/source/BbButton.md +38 -22
  231. package/dist/ai/source/BbCalendar.md +5 -30
  232. package/dist/ai/source/BbCheckbox.md +20 -7
  233. package/dist/ai/source/BbCheckboxGroup.md +66 -27
  234. package/dist/ai/source/BbColorInput.md +29 -22
  235. package/dist/ai/source/BbColorPalette.md +23 -22
  236. package/dist/ai/source/BbConfigScope.md +123 -0
  237. package/dist/ai/source/BbConfirm.md +5 -3
  238. package/dist/ai/source/BbDatePicker.md +18 -8
  239. package/dist/ai/source/BbDatePickerInput.md +44 -27
  240. package/dist/ai/source/BbDialog.md +23 -13
  241. package/dist/ai/source/BbDropdown.md +61 -25
  242. package/dist/ai/source/BbDropdownButton.md +67 -25
  243. package/dist/ai/source/BbDropdownGroup.md +38 -15
  244. package/dist/ai/source/BbForm.md +1 -1
  245. package/dist/ai/source/BbHost.md +4 -4
  246. package/dist/ai/source/BbHoverCard.md +6 -2
  247. package/dist/ai/source/BbIcon.md +5 -4
  248. package/dist/ai/source/BbIndicator.md +1 -1
  249. package/dist/ai/source/BbNumberInput.md +44 -30
  250. package/dist/ai/source/BbOffCanvas.md +17 -10
  251. package/dist/ai/source/BbPagination.md +10 -18
  252. package/dist/ai/source/BbPopover.md +17 -9
  253. package/dist/ai/source/BbPopoverPortal.md +2 -2
  254. package/dist/ai/source/BbRadio.md +18 -7
  255. package/dist/ai/source/BbRadioGroup.md +67 -27
  256. package/dist/ai/source/BbRating.md +21 -11
  257. package/dist/ai/source/BbSelect.md +51 -32
  258. package/dist/ai/source/BbSelectPopover.md +81 -38
  259. package/dist/ai/source/BbSlider.md +929 -565
  260. package/dist/ai/source/BbSwitchGroup.md +28 -9
  261. package/dist/ai/source/BbTable.md +17 -30
  262. package/dist/ai/source/BbTabs.md +5 -2
  263. package/dist/ai/source/BbTabsList.md +1 -1
  264. package/dist/ai/source/BbTabsPanels.md +1 -1
  265. package/dist/ai/source/BbTabsRoot.md +1 -1
  266. package/dist/ai/source/BbTag.md +27 -20
  267. package/dist/ai/source/BbTextInput.md +29 -26
  268. package/dist/ai/source/BbTextarea.md +53 -45
  269. package/dist/ai/source/BbTimePicker.md +19 -7
  270. package/dist/ai/source/BbTimePickerInput.md +34 -21
  271. package/dist/ai/source/BbToast.md +18 -9
  272. package/dist/ai/source/BbToastPortal.md +14 -6
  273. package/dist/ai/source/BbTooltip.md +1 -1
  274. package/dist/ai/source/CommonFieldInput.md +9 -4
  275. package/dist/ai/source/FlatListBox.md +11 -1
  276. package/dist/ai/source/GroupedListBox.md +12 -1
  277. package/dist/ai/source/ListBox.md +1 -1
  278. package/dist/ai/source/OptionsContainer.md +48 -1
  279. package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
  280. package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
  281. package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
  282. package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
  283. package/dist/assets/svgs/close.svg_raw.js +3 -0
  284. package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
  285. package/dist/assets/svgs/move.svg_raw.js +3 -0
  286. package/dist/assets/svgs/x.svg_raw.js +3 -0
  287. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
  288. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +48 -44
  289. package/dist/components/BbAlert/types.d.ts +1 -1
  290. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
  291. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +54 -53
  292. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -56
  293. package/dist/components/BbBadge/types.d.ts +1 -1
  294. package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
  295. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +110 -98
  296. package/dist/components/BbButton/types.d.ts +12 -10
  297. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +17 -17
  298. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +298 -313
  299. package/dist/components/BbCalendar/useCalendarGrid.js +3 -2
  300. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
  301. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +94 -82
  302. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +78 -55
  303. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +184 -151
  304. package/dist/components/BbCheckboxGroup/types.d.ts +10 -5
  305. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  306. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
  307. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +82 -71
  308. package/dist/components/BbColorInput/types.d.ts +8 -8
  309. package/dist/components/BbColorInput/types.js +1 -1
  310. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  311. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +180 -182
  312. package/dist/components/BbColorPalette/types.d.ts +2 -2
  313. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
  314. package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
  315. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
  316. package/dist/components/BbConfigScope/types.d.ts +20 -0
  317. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +3 -3
  318. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +31 -31
  319. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +171 -170
  320. package/dist/components/BbDatePicker/types.d.ts +2 -2
  321. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +110 -110
  322. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +457 -441
  323. package/dist/components/BbDatePickerInput/types.d.ts +8 -8
  324. package/dist/components/BbDatePickerInput/types.js +1 -1
  325. package/dist/components/BbDialog/BbDialog.vue.d.ts +4 -3
  326. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +204 -197
  327. package/dist/components/BbDialog/types.d.ts +2 -2
  328. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
  329. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +302 -286
  330. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +348 -344
  331. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +97 -97
  332. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
  333. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +2 -2
  334. package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
  335. package/dist/components/BbDropdown/pointerTrail.js +26 -0
  336. package/dist/components/BbDropdown/types.d.ts +25 -13
  337. package/dist/components/BbDropdown/types.js +11 -2
  338. package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
  339. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
  340. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -69
  341. package/dist/components/BbDropdownButton/types.d.ts +30 -13
  342. package/dist/components/BbDropdownButton/types.js +7 -3
  343. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -5
  344. package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
  345. package/dist/components/BbForm/BbFormCustomField.js +2 -2
  346. package/dist/components/BbForm/bindFormField.js +66 -66
  347. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +1 -1
  348. package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
  349. package/dist/components/BbHost/types.d.ts +2 -2
  350. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +2 -2
  351. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +158 -157
  352. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  353. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +41 -40
  354. package/dist/components/BbIndicator/types.d.ts +1 -1
  355. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
  356. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +248 -232
  357. package/dist/components/BbNumberInput/types.d.ts +12 -11
  358. package/dist/components/BbNumberInput/types.js +1 -1
  359. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  360. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +275 -274
  361. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  362. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +104 -108
  363. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  364. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +90 -90
  365. package/dist/components/BbPopover/types.d.ts +2 -2
  366. package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
  367. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +105 -93
  368. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +72 -49
  369. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +214 -181
  370. package/dist/components/BbRadioGroup/types.d.ts +11 -5
  371. package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
  372. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +139 -128
  373. package/dist/components/BbSelect/BbSelect.vue.d.ts +174 -155
  374. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +179 -158
  375. package/dist/components/BbSelect/types.d.ts +23 -19
  376. package/dist/components/BbSelect/types.js +4 -2
  377. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +21 -16
  378. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +637 -623
  379. package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
  380. package/dist/components/BbSelectPopover/reclickClears.js +4 -0
  381. package/dist/components/BbSelectPopover/types.d.ts +21 -16
  382. package/dist/components/BbSelectPopover/types.js +3 -1
  383. package/dist/components/BbSlider/BbSlider.vue.d.ts +22 -15
  384. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +382 -315
  385. package/dist/components/BbSlider/types.d.ts +136 -47
  386. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
  387. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +28 -27
  388. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +3 -0
  389. package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
  390. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1128 -1135
  391. package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
  392. package/dist/components/BbTabs/BbTabs.vue.d.ts +21 -21
  393. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +8 -2
  394. package/dist/components/BbTabs/types.d.ts +1 -1
  395. package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
  396. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +196 -185
  397. package/dist/components/BbTag/types.d.ts +7 -7
  398. package/dist/components/BbTag/types.js +1 -1
  399. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +30 -30
  400. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +66 -55
  401. package/dist/components/BbTextInput/types.d.ts +9 -9
  402. package/dist/components/BbTextInput/types.js +1 -1
  403. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +30 -30
  404. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +96 -86
  405. package/dist/components/BbTextarea/types.d.ts +8 -8
  406. package/dist/components/BbTextarea/types.js +1 -1
  407. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -12
  408. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +131 -130
  409. package/dist/components/BbTimePicker/types.d.ts +2 -2
  410. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +73 -73
  411. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +286 -273
  412. package/dist/components/BbTimePickerInput/types.d.ts +8 -8
  413. package/dist/components/BbTimePickerInput/types.js +1 -1
  414. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +3 -3
  415. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +75 -80
  416. package/dist/components/BbToast/types.d.ts +2 -2
  417. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
  418. package/dist/components/BbTooltip/types.d.ts +1 -1
  419. package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
  420. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  421. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +11 -16
  422. package/dist/components/CommonFieldInput/types.d.ts +1 -1
  423. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  424. package/dist/components/FlatListBox/types.d.ts +1 -1
  425. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  426. package/dist/components/GroupedListBox/types.d.ts +1 -1
  427. package/dist/components/ListBox/types.d.ts +1 -1
  428. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +87 -69
  429. package/dist/components/OptionsContainer/types.d.ts +5 -0
  430. package/dist/components/Transitions/Slide.vue.d.ts +1 -1
  431. package/dist/composables/useBbTabs.js +94 -90
  432. package/dist/composables/useConfig.js +2 -9
  433. package/dist/composables/useConfigDefaults.d.ts +54 -0
  434. package/dist/composables/useConfigDefaults.js +56 -0
  435. package/dist/composables/useConfirm.d.ts +7 -7
  436. package/dist/composables/useFormBinding.d.ts +1 -1
  437. package/dist/composables/useFormBinding.js +3 -3
  438. package/dist/composables/usePassthrough.d.ts +7 -5
  439. package/dist/composables/usePassthrough.js +137 -133
  440. package/dist/composables/useToast.d.ts +5 -4
  441. package/dist/composables/useToast.js +47 -37
  442. package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
  443. package/dist/deprecation/ai-deprecations.json.js +1 -1
  444. package/dist/directives/bbDropdown.js +7 -7
  445. package/dist/i18n/locales/cs.json +2 -1
  446. package/dist/i18n/locales/da.json +2 -1
  447. package/dist/i18n/locales/de-CH.json +2 -1
  448. package/dist/i18n/locales/de.json +2 -1
  449. package/dist/i18n/locales/el.json +2 -1
  450. package/dist/i18n/locales/en-GB.json +2 -1
  451. package/dist/i18n/locales/en.json +2 -1
  452. package/dist/i18n/locales/es-MX.json +2 -1
  453. package/dist/i18n/locales/es.json +2 -1
  454. package/dist/i18n/locales/fi.json +2 -1
  455. package/dist/i18n/locales/fr.json +2 -1
  456. package/dist/i18n/locales/hu.json +2 -1
  457. package/dist/i18n/locales/it.json +2 -1
  458. package/dist/i18n/locales/ja.json +2 -1
  459. package/dist/i18n/locales/ko.json +2 -1
  460. package/dist/i18n/locales/nb.json +2 -1
  461. package/dist/i18n/locales/nl.json +2 -1
  462. package/dist/i18n/locales/pl.json +2 -1
  463. package/dist/i18n/locales/pt-BR.json +2 -1
  464. package/dist/i18n/locales/pt-PT.json +2 -1
  465. package/dist/i18n/locales/ro.json +2 -1
  466. package/dist/i18n/locales/ru.json +2 -1
  467. package/dist/i18n/locales/sv.json +2 -1
  468. package/dist/i18n/locales/tr.json +2 -1
  469. package/dist/i18n/locales/uk.json +2 -1
  470. package/dist/i18n/locales/zh-CN.json +2 -1
  471. package/dist/i18n/locales/zh-HK.json +2 -1
  472. package/dist/i18n/locales/zh-TW.json +2 -1
  473. package/dist/index.d.ts +5 -5
  474. package/dist/index.js +2 -2
  475. package/dist/llms-full.txt +2273 -1243
  476. package/dist/llms-medium.txt +362 -184
  477. package/dist/llms.txt +4 -4
  478. package/dist/locale-blueprint.json +2 -1
  479. package/dist/nuxt-auto-imports.js +1 -1
  480. package/dist/nuxt-module.d.ts +1 -1
  481. package/dist/nuxt.js +17 -17
  482. package/dist/project-dts.d.ts +72 -10
  483. package/dist/project-dts.js +69 -21
  484. package/dist/styles.css +2 -2
  485. package/dist/types/AlertVariant.d.ts +1 -1
  486. package/dist/types/BadgeVariant.d.ts +1 -1
  487. package/dist/types/ButtonVariant.d.ts +1 -1
  488. package/dist/types/CheckboxVariant.d.ts +7 -4
  489. package/dist/types/CheckboxVariant.js +5 -1
  490. package/dist/types/Config.d.ts +17 -103
  491. package/dist/types/ConfigDefaults.d.ts +352 -0
  492. package/dist/types/ConfigDefaults.js +115 -0
  493. package/dist/types/ConfirmVariant.d.ts +1 -1
  494. package/dist/types/DropdownItemVariant.d.ts +1 -1
  495. package/dist/types/FieldLayout.d.ts +3 -3
  496. package/dist/types/IndicatorVariant.d.ts +1 -1
  497. package/dist/types/InputVariant.d.ts +57 -24
  498. package/dist/types/RadioVariant.d.ts +7 -4
  499. package/dist/types/RadioVariant.js +5 -1
  500. package/dist/types/SizeScale.d.ts +4 -0
  501. package/dist/types/SizeScale.js +17 -0
  502. package/dist/types/TabsVariant.d.ts +1 -1
  503. package/dist/types/ToastVariant.d.ts +1 -1
  504. package/dist/types/TooltipVariant.d.ts +1 -1
  505. package/dist/types/passthrough.d.ts +6 -6
  506. package/dist/types/ptComponentMap.d.ts +14 -14
  507. package/dist/utilities/functions/searchRank.d.ts +19 -0
  508. package/dist/utilities/functions/searchRank.js +76 -0
  509. package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
  510. package/dist/utils/configDefaults.d.ts +33 -0
  511. package/dist/utils/configDefaults.js +140 -0
  512. package/dist/utils/configScope.d.ts +43 -0
  513. package/dist/utils/configScope.js +13 -0
  514. package/dist/utils/passthrough.d.ts +4 -7
  515. package/dist/utils/passthrough.js +31 -29
  516. package/dist/utils/versionCheck.js +1 -1
  517. package/dist/vite-plugin.d.ts +54 -191
  518. package/dist/vite.js +318 -367
  519. package/llms.txt +4 -4
  520. package/package.json +3 -3
  521. package/scripts/lib/adoption-checklist.json +2 -2
  522. package/scripts/lib/agent-manifest.mjs +2 -0
  523. package/scripts/lib/eslint-disable.mjs +2 -0
  524. package/scripts/lib/eslint-plugin.d.ts +4 -2
  525. package/scripts/lib/eslint-plugin.mjs +67 -0
  526. package/scripts/lib/idiom-scan.mjs +8 -7
  527. package/scripts/lib/project-variant-dts.mjs +105 -36
  528. package/scripts/lib/validate-bb-markup.mjs +73 -13
  529. package/dist/ai/BbPtScope.md +0 -138
  530. package/dist/ai/manifest/components/BbPtScope.json +0 -21
  531. package/dist/ai/source/BbPtScope.md +0 -54
  532. package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
  533. package/dist/components/BbPtScope/BbPtScope.vue.js +0 -4
  534. package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -12
  535. package/dist/components/BbPtScope/types.d.ts +0 -15
  536. package/dist/types/PtScope.d.ts +0 -15
  537. package/dist/utilities/functions/head.js +0 -3
  538. package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
  539. package/dist/utilities/functions/matchAnyKey.js +0 -14
  540. package/dist/utils/ptScope.d.ts +0 -8
  541. package/dist/utils/ptScope.js +0 -3
@@ -7,50 +7,51 @@ import a from "./BbDropdownList.vue.js";
7
7
  import ee from "./DropdownRow.vue.js";
8
8
  import { isImeComposing as o } from "../../utilities/functions/isImeComposing.js";
9
9
  import { extractHtmlContainer as s } from "../../utilities/functions/extractDomContainer.js";
10
- import { matchAnyKey as te } from "../../utilities/functions/matchAnyKey.js";
10
+ import { keyHaystacks as te, rankByQuery as ne } from "../../utilities/functions/searchRank.js";
11
11
  import { slotKey as c } from "../../utilities/functions/slotKey.js";
12
- import ne from "../../assets/svgs/search.svg_raw.js";
13
- import { useId as re } from "../../composables/useId.js";
14
- import { useImeDismissBlur as ie } from "../../composables/useImeDismissBlur.js";
15
- import { useLocale as ae } from "../../composables/useLocale.js";
16
- import { useConfig as oe } from "../../composables/useConfig.js";
17
- import { isPrintableTypeaheadKey as se, normalizeSearchToken as ce, useTypeahead as le } from "../../composables/useTypeahead.js";
18
- import { useSheetSurface as ue } from "../../composables/useSheetSurface.js";
19
- import { levelHasSearch as de, normalizeGroups as fe, sectionTitle as pe } from "./normalizeGroups.js";
20
- import { useDropdownContext as me } from "./useDropdownContext.js";
21
- import { focusQuietly as he, focusVisibly as ge } from "../../utils/focusVisibility.js";
22
- import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as _e, createVNode as ve, defineComponent as h, h as ye, mergeProps as g, nextTick as be, normalizeClass as _, normalizeStyle as xe, onBeforeUnmount as Se, onMounted as Ce, onUpdated as we, openBlock as v, ref as y, renderList as b, resolveDynamicComponent as x, toDisplayString as S, unref as C, watch as w, watchEffect as Te, withCtx as T, withKeys as Ee, withModifiers as De } from "vue";
12
+ import re from "../../assets/svgs/search.svg_raw.js";
13
+ import { useId as ie } from "../../composables/useId.js";
14
+ import { useImeDismissBlur as ae } from "../../composables/useImeDismissBlur.js";
15
+ import { useLocale as oe } from "../../composables/useLocale.js";
16
+ import { useConfig as se } from "../../composables/useConfig.js";
17
+ import { isPrintableTypeaheadKey as ce, normalizeSearchToken as le, useTypeahead as ue } from "../../composables/useTypeahead.js";
18
+ import { useSheetSurface as de } from "../../composables/useSheetSurface.js";
19
+ import { levelHasSearch as fe, normalizeGroups as pe, sectionTitle as me } from "./normalizeGroups.js";
20
+ import { useDropdownContext as he } from "./useDropdownContext.js";
21
+ import { markRowsChanged as ge, pointerStill as _e, trackPointer as ve } from "./pointerTrail.js";
22
+ import { focusQuietly as ye, focusVisibly as be } from "../../utils/focusVisibility.js";
23
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as xe, createVNode as Se, defineComponent as h, h as Ce, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as we, onBeforeUnmount as Te, onMounted as y, onUpdated as Ee, openBlock as b, ref as x, renderList as S, resolveDynamicComponent as C, toDisplayString as w, unref as T, watch as E, watchEffect as De, withCtx as D, withKeys as Oe, withModifiers as ke } from "vue";
23
24
  // src/components/BbDropdown/BbDropdownList.vue?vue&type=script&setup=true&lang.ts
24
- var Oe = {
25
+ var Ae = {
25
26
  key: 0,
26
27
  "aria-hidden": "true",
27
28
  class: "bb-dropdown__divider"
28
- }, ke = [
29
+ }, je = [
29
30
  "id",
30
31
  "role",
31
32
  "tabindex",
32
33
  "onClick",
33
34
  "onKeydown"
34
- ], Ae = {
35
+ ], Me = {
35
36
  key: 4,
36
37
  class: "group-title__content"
37
- }, je = {
38
+ }, Ne = {
38
39
  key: 2,
39
40
  class: "bb-dropdown__sheet-selection"
40
- }, Me = { class: "bb-dropdown__sheet-chips" }, Ne = {
41
+ }, Pe = { class: "bb-dropdown__sheet-chips" }, Fe = {
41
42
  key: 3,
42
43
  class: "bb-dropdown__group-search",
43
44
  role: "none"
44
- }, Pe = [
45
+ }, Ie = [
45
46
  "aria-label",
46
47
  "placeholder",
47
48
  "value",
48
49
  "onInput"
49
- ], Fe = {
50
+ ], Le = {
50
51
  key: 0,
51
52
  "aria-hidden": "true",
52
53
  class: "bb-dropdown__group-loading"
53
- }, Ie = ["aria-labelledby", "role"], Le = ["id"], Re = { class: "group-title__content" }, ze = { class: "item__content" }, Be = [
54
+ }, Re = ["aria-labelledby", "role"], ze = ["id"], Be = { class: "group-title__content" }, Ve = { class: "item__content" }, He = [
54
55
  "id",
55
56
  "aria-label",
56
57
  "data-bb-dropdown-surface",
@@ -58,7 +59,7 @@ var Oe = {
58
59
  "role",
59
60
  "onKeydown",
60
61
  "onPointerleave"
61
- ], Ve = 289, He = 160, Ue = 100, We = 120, Ge = /*@__PURE__*/ h({
62
+ ], Ue = 289, We = 160, Ge = 100, Ke = 120, qe = /*@__PURE__*/ h({
62
63
  __name: "BbDropdownList",
63
64
  props: {
64
65
  groups: {},
@@ -68,42 +69,41 @@ var Oe = {
68
69
  slotDepth: {}
69
70
  },
70
71
  emits: ["close-level"],
71
- setup(h, { expose: Ge, emit: Ke }) {
72
- let E = h, qe = Ke, Je = u(() => E.slotDepth ?? E.level), D = me(), { inSheet: O } = ue(), { t: Ye } = ae(), Xe = Ye("select.searchLabel"), Ze = Ye("common.emptyText"), Qe = (e, t, n) => {
73
- if (e.placeholder || n === !1) return !0;
74
- let r = n && n.length ? n : e.description == null ? ["label"] : ["label", "description"];
72
+ setup(h, { expose: qe, emit: Je }) {
73
+ let O = h, Ye = Je, Xe = u(() => O.slotDepth ?? O.level), k = he(), { inSheet: A } = de(), { t: Ze } = oe(), Qe = Ze("select.searchLabel"), $e = Ze("common.emptyText"), et = (e, t) => {
74
+ let n = t && t.length ? t : e.description == null ? ["label"] : ["label", "description"];
75
75
  try {
76
- return te(e, r, t);
76
+ return te(e, n);
77
77
  } catch {
78
- return !1;
78
+ return [];
79
79
  }
80
- }, k = u(() => E.groups.map((e) => rt($e(e)))), $e = (e) => {
81
- if (!e.searchable || !e.id || D.isPipelineGroup(e.id)) return e;
82
- let t = D.queryFor(e.id).trim();
80
+ }, j = u(() => O.groups.map((e) => at(tt(e)))), tt = (e) => {
81
+ if (!e.searchable || !e.id || k.isPipelineGroup(e.id)) return e;
82
+ let t = k.queryFor(e.id).trim();
83
83
  if (!t) return e;
84
- let n = e.items.filter((n) => Qe(n, t, e.filterBy));
85
- return n.length ? {
84
+ let n = e.filterBy, r = n === !1 ? e.items : [...e.items.filter((e) => e.placeholder), ...ne(e.items.filter((e) => !e.placeholder), (e) => et(e, n), t, e.groupBy == null ? void 0 : (t) => nt(e, t))];
85
+ return r.length ? {
86
86
  ...e,
87
- items: n
87
+ items: r
88
88
  } : {
89
89
  ...e,
90
90
  items: [{
91
91
  rowKey: "__bb-dropdown:no-results__",
92
92
  domKey: "no-results",
93
93
  placeholder: "empty",
94
- label: D.emptyText.value ?? Ze.value,
94
+ label: k.emptyText.value ?? $e.value,
95
95
  disabled: !0
96
96
  }]
97
97
  };
98
- }, et = (e, t) => {
99
- if (!t.placeholder) return "section" in t ? t.section : pe(e.groupBy, t);
100
- }, tt = /* @__PURE__ */ new WeakMap(), nt = /* @__PURE__ */ new WeakMap(), rt = (e) => {
98
+ }, nt = (e, t) => {
99
+ if (!t.placeholder) return "section" in t ? t.section : me(e.groupBy, t);
100
+ }, rt = /* @__PURE__ */ new WeakMap(), it = /* @__PURE__ */ new WeakMap(), at = (e) => {
101
101
  if (e.groupBy == null) return e;
102
- let t = nt.get(e.items);
102
+ let t = it.get(e.items);
103
103
  if (!t) {
104
104
  let n = /* @__PURE__ */ new Map();
105
105
  for (let t of e.items) {
106
- let r = et(e, t), i = r === void 0 ? "" : `section:${r}`, a = n.get(i);
106
+ let r = nt(e, t), i = r === void 0 ? "" : `section:${r}`, a = n.get(i);
107
107
  a || n.set(i, a = {
108
108
  title: r,
109
109
  items: []
@@ -119,550 +119,554 @@ var Oe = {
119
119
  start: t.length,
120
120
  items: n.items
121
121
  }), t.push(...n.items);
122
- nt.set(e.items, t), tt.set(t, a);
122
+ it.set(e.items, t), rt.set(t, a);
123
123
  }
124
124
  return {
125
125
  ...e,
126
126
  items: t
127
127
  };
128
- }, it = (e) => tt.get(e.items) ?? [{
128
+ }, ot = (e) => rt.get(e.items) ?? [{
129
129
  key: "",
130
130
  start: 0,
131
131
  items: e.items
132
- }], at = (e, { slots: t, attrs: n }) => e.titled ? ye("div", n, t.default?.()) : t.default?.();
133
- at.props = ["titled"], at.inheritAttrs = !1;
134
- let ot = u(() => {
135
- if (E.level === 0) for (let [e, t] of k.value.entries()) {
132
+ }], st = (e, { slots: t, attrs: n }) => e.titled ? Ce("div", n, t.default?.()) : t.default?.();
133
+ st.props = ["titled"], st.inheritAttrs = !1;
134
+ let ct = u(() => {
135
+ if (O.level === 0) for (let [e, t] of j.value.entries()) {
136
136
  let n = t.items.find((e) => e.placeholder);
137
137
  if (n) return {
138
138
  gi: e,
139
139
  item: n
140
140
  };
141
141
  }
142
- }), A = {}, st = (e, t) => {
143
- t instanceof HTMLElement ? A[e] = t : delete A[e];
144
- }, ct, j = E.level !== 0 || typeof MutationObserver > "u" ? void 0 : new MutationObserver(() => M()), M = () => {
145
- let e = ot.value, t = e ? A[e.gi] : void 0;
146
- if (t !== ct && (j?.disconnect(), ct = t, t && j?.observe(t, {
142
+ }), lt = {}, ut = (e, t) => {
143
+ t instanceof HTMLElement ? lt[e] = t : delete lt[e];
144
+ }, dt, M = O.level !== 0 || typeof MutationObserver > "u" ? void 0 : new MutationObserver(() => N()), N = () => {
145
+ let e = ct.value, t = e ? lt[e.gi] : void 0;
146
+ if (t !== dt && (M?.disconnect(), dt = t, t && M?.observe(t, {
147
147
  characterData: !0,
148
148
  childList: !0,
149
149
  subtree: !0
150
- })), E.level !== 0) return;
151
- let n = t && e && F(e.item) ? t.textContent?.replace(/\s+/g, " ").trim() : void 0;
152
- D.setStatus(n || e?.item.label);
150
+ })), O.level !== 0) return;
151
+ let n = t && e && I(e.item) ? t.textContent?.replace(/\s+/g, " ").trim() : void 0;
152
+ k.setStatus(n || e?.item.label);
153
153
  };
154
- Ce(M), we(M), w(ot, M, { flush: "post" }), Se(() => j?.disconnect()), Te(() => {
155
- for (let e of E.groups) e.id && D.isPipelineGroup(e.id) && D.activateGroup(e.id);
154
+ y(N), y(() => {
155
+ ve(), ge();
156
+ }), Ee(N), E(ct, N, { flush: "post" }), Te(() => M?.disconnect()), De(() => {
157
+ for (let e of O.groups) e.id && k.isPipelineGroup(e.id) && k.activateGroup(e.id);
156
158
  });
157
- let N = y({}), lt = (e, t) => {
159
+ let P = x({}), ft = (e, t) => {
158
160
  let n = s(t);
159
- n instanceof HTMLInputElement ? N.value[e] = n : delete N.value[e];
160
- }, ut = u(() => k.value.find((e) => e.searchable && e.id)?.id), dt = (e) => {
161
- if (O.value) return;
162
- let t = e.maxHeight ?? (e.searchable ? Ve : void 0);
161
+ n instanceof HTMLInputElement ? P.value[e] = n : delete P.value[e];
162
+ }, pt = u(() => j.value.find((e) => e.searchable && e.id)?.id), mt = (e) => {
163
+ if (A.value) return;
164
+ let t = e.maxHeight ?? (e.searchable ? Ue : void 0);
163
165
  if (t != null && t !== 0 && t !== "none") return typeof t == "number" ? `${t}px` : t;
164
- }, ft = (e) => fe(e).map((e) => e.selectable ? {
166
+ }, ht = (e) => pe(e).map((e) => e.selectable ? {
165
167
  ...e,
166
- selected: D.selectedFor(e.id ?? "")
167
- } : e), pt = /* @__PURE__ */ new WeakMap(), mt = (e) => {
168
- let t = pt.get(e);
169
- return t === void 0 && pt.set(e, t = ht(e)), t;
170
- }, ht = (e) => {
168
+ selected: k.selectedFor(e.id ?? "")
169
+ } : e), gt = /* @__PURE__ */ new WeakMap(), _t = (e) => {
170
+ let t = gt.get(e);
171
+ return t === void 0 && gt.set(e, t = vt(e)), t;
172
+ }, vt = (e) => {
171
173
  if (e.slotKey) return c(e.slotKey);
172
174
  if (e.keyless) return null;
173
175
  let t = e.value;
174
176
  return typeof t == "number" ? c(String(t)) : typeof t == "string" && t !== "" ? c(t) : null;
175
- }, gt = (e, t) => {
176
- let n = mt(e);
177
- if (n !== null) return D.slots[t ? `${n}:${t}` : n];
178
- }, _t = (e, t, n) => gt(t, n) ?? vt(e, n), vt = (e, t) => {
177
+ }, yt = (e, t) => {
178
+ let n = _t(e);
179
+ if (n !== null) return k.slots[t ? `${n}:${t}` : n];
180
+ }, bt = (e, t, n) => yt(t, n) ?? xt(e, n), xt = (e, t) => {
179
181
  if (!e.id) return;
180
182
  let n = `${c(e.id)}:item`;
181
- return D.slots[t ? `${n}:${t}` : n];
182
- }, yt = (e) => e.variant && e.variant !== "default" ? `bb-dropdown__item--variant-${e.variant}` : void 0, bt = (e) => e.variant && e.variant !== "default" ? `bb-dropdown__group-title--variant-${e.variant}` : void 0, xt = (e) => e.selectable ? e.multiple ? "menuitemcheckbox" : "menuitemradio" : "menuitem", St = (e, t) => e.selected.includes(t.rowKey), Ct = /* @__PURE__ */ new WeakMap(), wt = (e, t) => {
183
+ return k.slots[t ? `${n}:${t}` : n];
184
+ }, St = (e) => e.variant && e.variant !== "default" ? `bb-dropdown__item--variant-${e.variant}` : void 0, Ct = (e) => e.variant && e.variant !== "default" ? `bb-dropdown__group-title--variant-${e.variant}` : void 0, wt = (e) => e.selectable ? e.multiple ? "menuitemcheckbox" : "menuitemradio" : "menuitem", Tt = (e, t) => e.selected.includes(t.rowKey), Et = /* @__PURE__ */ new WeakMap(), Dt = (e, t) => {
183
185
  let n = Object.keys(e);
184
186
  return n.length === Object.keys(t).length && n.every((n) => n === "selected" || e[n] === t[n]);
185
- }, Tt = (e) => {
186
- let t = Ct.get(e.items);
187
- return t && wt(t, e) ? t : (Ct.set(e.items, e), e);
188
- }, P = (e) => {
187
+ }, Ot = (e) => {
188
+ let t = Et.get(e.items);
189
+ return t && Dt(t, e) ? t : (Et.set(e.items, e), e);
190
+ }, F = (e) => {
189
191
  let t = 0;
190
- for (let n = 0; n < e; n++) t += k.value[n]?.items.length ?? 0;
192
+ for (let n = 0; n < e; n++) t += j.value[n]?.items.length ?? 0;
191
193
  return t;
192
- }, Et = /* @__PURE__ */ new Set([...e.filter((e) => e !== "text" && e !== "disabled")]), Dt = (e) => {
194
+ }, kt = /* @__PURE__ */ new Set([...e.filter((e) => e !== "text" && e !== "disabled")]), At = (e) => {
193
195
  let t = {};
194
- for (let [n, r] of Object.entries(e)) Et.has(n) && (t[n] = r);
196
+ for (let [n, r] of Object.entries(e)) kt.has(n) && (t[n] = r);
195
197
  return t;
196
- }, Ot = (e, t, n, r, i) => {
197
- let a = kt("item", t, r, i);
198
- return g(Dt(t), {
199
- "aria-busy": D.isItemLoading(t.rowKey) || void 0,
198
+ }, jt = (e, t, n, r, i) => {
199
+ let a = Mt("item", t, r, i);
200
+ return g(At(t), {
201
+ "aria-busy": k.isItemLoading(t.rowKey) || void 0,
200
202
  "aria-checked": e.selectable ? r : void 0,
201
- "aria-labelledby": zt(e, t, n, a),
202
- "aria-expanded": t.items ? J.value === t.rowKey : void 0,
203
- "aria-haspopup": t.items ? Ht(t) ? "dialog" : "menu" : void 0,
204
- "aria-controls": t.items && J.value === t.rowKey ? Ut(t) : void 0,
205
- class: [yt(t), {
203
+ "aria-labelledby": Ht(e, t, n, a),
204
+ "aria-expanded": t.items ? Y.value === t.rowKey : void 0,
205
+ "aria-haspopup": t.items ? Gt(t) ? "dialog" : "menu" : void 0,
206
+ "aria-controls": t.items && Y.value === t.rowKey ? Kt(t) : void 0,
207
+ class: [St(t), {
206
208
  "bb-dropdown__item--selected": r,
207
209
  "bb-dropdown__item--has-submenu": !!t.items,
208
210
  "bb-dropdown__item--description": !!t.description
209
211
  }],
210
212
  "data-dropdown-item": "",
211
- disabled: t.disabled || D.disabled.value,
212
- role: xt(e),
213
+ disabled: t.disabled || k.disabled.value,
214
+ role: wt(e),
213
215
  tabindex: -1,
214
- onClick: (r) => Mn(e, t, n, r),
215
- onKeydown: (e) => Nn(t, n, e),
216
- onMousedown: (t) => jn(e, t),
217
- onPointerenter: (e) => Dn(t, n, e),
218
- onPointerleave: (e) => kn(t, e)
219
- }, a, { "aria-describedby": Bt(e, t, n, a) });
216
+ onClick: (r) => Ln(e, t, n, r),
217
+ onKeydown: (e) => Rn(t, n, e),
218
+ onMousedown: (t) => In(e, t),
219
+ onPointerenter: (e) => Mn(t, n, e),
220
+ onPointerleave: (e) => Pn(t, e)
221
+ }, a, { "aria-describedby": Ut(e, t, n, a) });
220
222
  };
221
- function kt(e, t, n, r) {
222
- return D.passthrough.part(e, {
223
+ function Mt(e, t, n, r) {
224
+ return k.passthrough.part(e, {
223
225
  selected: n,
224
- disabled: t.disabled || D.disabled.value || void 0,
226
+ disabled: t.disabled || k.disabled.value || void 0,
225
227
  activeLink: !!r?.activeLink,
226
228
  exactActiveLink: !!r?.exactActiveLink
227
- }, At(t), t.variant ?? "default");
229
+ }, L(t), t.variant ?? "default");
228
230
  }
229
- let F = (e) => e.placeholder ? D.slots[e.placeholder === "loading" ? "loading" : "empty"] : void 0, At = (e) => {
231
+ let Nt = (e) => k.passthrough.part("submenu", {}, L(e), e.variant ?? "default"), I = (e) => e.placeholder ? k.slots[e.placeholder === "loading" ? "loading" : "empty"] : void 0, L = (e) => {
230
232
  let { rowKey: t, domKey: n, keyless: r, section: i, ...a } = e;
231
233
  return a;
232
- }, jt = (e) => ({
234
+ }, Pt = (e) => ({
233
235
  id: e.id,
234
236
  label: e.label,
235
237
  meta: e.meta,
236
238
  multiple: e.multiple,
237
239
  selectable: e.selectable
238
- }), Mt = (e, t, n, r, i) => ({
239
- disabled: t.disabled || D.disabled.value,
240
- group: jt(e),
240
+ }), Ft = (e, t, n, r, i) => ({
241
+ disabled: t.disabled || k.disabled.value,
242
+ group: Pt(e),
241
243
  groupTitle: !1,
242
244
  index: n,
243
- item: At(t),
244
- level: Je.value,
245
+ item: L(t),
246
+ level: Xe.value,
245
247
  selected: r,
246
- loading: D.isItemLoading(t.rowKey),
247
- open: D.open.value,
248
- placement: D.placement.value,
248
+ loading: k.isItemLoading(t.rowKey),
249
+ open: k.open.value,
250
+ placement: k.placement.value,
249
251
  label: t.label,
250
252
  description: t.description,
251
253
  activeLink: !!i?.activeLink,
252
254
  exactActiveLink: !!i?.exactActiveLink
253
- }), I = (e, t) => {
255
+ }), R = (e, t) => {
254
256
  if (!e.id) return;
255
257
  let n = c(e.id);
256
- return D.slots[t ? `${n}:${t}` : n];
257
- }, L = (e) => !e.hideLabel && (!!e.label || !!e["prepend:icon"] || !!e["append:icon"] || !!I(e) || !!I(e, "prepend") || !!I(e, "append")), Nt = (e) => !e.id || !e.selectable || !e.multiple ? [] : D.selectedChipsFor(e.id), R = re().id, Pt = (e) => `${R.value}_group-title_${e}`, Ft = (e, t) => `${R.value}_section-title_${e}_${c(t) || "none"}`, It = (e) => `${R.value}_row-text_${e}`, Lt = (e) => `${R.value}_row-description_${e}`, Rt = (e, t) => !!t.description && !_t(e, t), zt = (e, t, n, r) => Rt(e, t) && !r["aria-label"] && !r["aria-labelledby"] ? It(n) : r["aria-labelledby"], Bt = (e, t, n, r) => {
258
+ return k.slots[t ? `${n}:${t}` : n];
259
+ }, z = (e) => !e.hideLabel && (!!e.label || !!e["prepend:icon"] || !!e["append:icon"] || !!R(e) || !!R(e, "prepend") || !!R(e, "append")), It = (e) => !e.id || !e.selectable || !e.multiple ? [] : k.selectedChipsFor(e.id), B = ie().id, Lt = (e) => `${B.value}_group-title_${e}`, Rt = (e, t) => `${B.value}_section-title_${e}_${c(t) || "none"}`, zt = (e) => `${B.value}_row-text_${e}`, Bt = (e) => `${B.value}_row-description_${e}`, Vt = (e, t) => !!t.description && !bt(e, t), Ht = (e, t, n, r) => Vt(e, t) && !r["aria-label"] && !r["aria-labelledby"] ? zt(n) : r["aria-labelledby"], Ut = (e, t, n, r) => {
258
260
  let i = r["aria-describedby"];
259
- return Rt(e, t) ? [i, Lt(n)].filter(Boolean).join(" ") : i;
260
- }, Vt = u(() => de(k.value)), Ht = (e) => !!e.items && de(ft(e.items)), Ut = (e) => `submenu_${D.rootId}_${e.domKey}`, Wt = (e) => Vt.value ? "menu" : L(e) ? "group" : "none", Gt = (e, t) => L(e) ? Pt(t) : void 0, z = (e, t) => ({
261
- disabled: D.disabled.value,
262
- group: jt(e),
261
+ return Vt(e, t) ? [i, Bt(n)].filter(Boolean).join(" ") : i;
262
+ }, Wt = u(() => fe(j.value)), Gt = (e) => !!e.items && fe(ht(e.items)), Kt = (e) => `submenu_${k.rootId}_${e.domKey}`, qt = (e) => Wt.value ? "menu" : z(e) ? "group" : "none", Jt = (e, t) => z(e) ? Lt(t) : void 0, V = (e, t) => ({
263
+ disabled: k.disabled.value,
264
+ group: Pt(e),
263
265
  groupTitle: !0,
264
266
  index: t,
265
267
  item: e,
266
- level: Je.value,
268
+ level: Xe.value,
267
269
  selected: !1,
268
270
  loading: !1,
269
- open: D.open.value,
270
- placement: D.placement.value,
271
+ open: k.open.value,
272
+ placement: k.placement.value,
271
273
  label: e.label
272
- }), Kt = (e) => e.key === "Escape" || e.key === "Esc", qt = (e) => getComputedStyle(e).direction === "rtl", Jt = (e) => {
274
+ }), Yt = (e) => e.key === "Escape" || e.key === "Esc", Xt = (e) => getComputedStyle(e).direction === "rtl", Zt = (e) => {
273
275
  let { key: t, currentTarget: n } = e;
274
- return t !== "ArrowLeft" && t !== "ArrowRight" || !(n instanceof Element) || !qt(n) ? t : t === "ArrowLeft" ? "ArrowRight" : "ArrowLeft";
275
- }, B = y({}), Yt = (e, t) => {
276
+ return t !== "ArrowLeft" && t !== "ArrowRight" || !(n instanceof Element) || !Xt(n) ? t : t === "ArrowLeft" ? "ArrowRight" : "ArrowLeft";
277
+ }, H = x({}), Qt = (e, t) => {
276
278
  let n = s(t);
277
- n ? B.value[e] = n : delete B.value[e];
278
- }, V = y({}), Xt = (e, t) => {
279
+ n ? H.value[e] = n : delete H.value[e];
280
+ }, U = x({}), $t = (e, t) => {
279
281
  let n = s(t);
280
- n instanceof HTMLElement ? V.value[e] = n : delete V.value[e];
281
- }, H = () => {
282
+ n instanceof HTMLElement ? U.value[e] = n : delete U.value[e];
283
+ }, W = () => {
282
284
  let e = [], t = 0;
283
- for (let n of k.value) {
284
- n.onClick && L(n) && e.push(t - .5);
285
- for (let r of n.items) r.disabled || D.disabled.value || e.push(t), t++;
285
+ for (let n of j.value) {
286
+ n.onClick && z(n) && e.push(t - .5);
287
+ for (let r of n.items) r.disabled || k.disabled.value || e.push(t), t++;
286
288
  }
287
289
  return e;
288
- }, Zt = (e) => {
290
+ }, en = (e) => {
289
291
  let t = 0;
290
- for (let n = 0; n < k.value.length; n++) {
292
+ for (let n = 0; n < j.value.length; n++) {
291
293
  if (t - .5 === e) return n;
292
- t += k.value[n].items.length;
294
+ t += j.value[n].items.length;
293
295
  }
294
296
  return -1;
295
- }, U = (e, t) => {
297
+ }, G = (e, t) => {
296
298
  if (e == null) return;
297
- let n = Number.isInteger(e) ? B.value[e] : V.value[Zt(e)];
298
- t === void 0 ? n?.focus() : t ? ge(n) : he(n);
299
- }, Qt = () => Object.values(N.value).some((e) => e === document.activeElement);
300
- ie({
301
- active: O,
302
- input: () => Object.values(N.value).find((e) => e === document.activeElement) ?? null
299
+ let n = Number.isInteger(e) ? H.value[e] : U.value[en(e)];
300
+ t === void 0 ? n?.focus() : t ? be(n) : ye(n);
301
+ }, tn = () => Object.values(P.value).some((e) => e === document.activeElement);
302
+ ae({
303
+ active: A,
304
+ input: () => Object.values(P.value).find((e) => e === document.activeElement) ?? null
303
305
  });
304
- let $t = () => {
305
- let e = ut.value;
306
- return e ? (N.value[e]?.focus(), !0) : !1;
307
- }, W = (e) => U(H()[0], e), en = (e) => {
306
+ let nn = () => {
307
+ let e = pt.value;
308
+ return e ? (P.value[e]?.focus(), !0) : !1;
309
+ }, rn = (e) => G(W()[0], e), an = (e) => {
308
310
  let t = 0;
309
- for (let n of k.value) for (let r of n.items) {
311
+ for (let n of j.value) for (let r of n.items) {
310
312
  if (r.rowKey === e) return t;
311
313
  t++;
312
314
  }
313
315
  return -1;
314
- }, G = (e, t) => {
315
- let n = H();
316
+ }, K = (e, t) => {
317
+ let n = W();
316
318
  if (!n.length) return;
317
319
  let r = n.indexOf(e), i = r === -1 ? t > 0 ? 0 : n.length - 1 : (r + t + n.length) % n.length;
318
- U(n[i], !0);
319
- }, K = (e) => {
320
- (O.value || !$t()) && W(e);
320
+ G(n[i], !0);
321
321
  }, q = (e) => {
322
- let t = H();
323
- U(t[t.length - 1], e);
324
- }, tn = (e, t) => {
325
- let n = en(e);
326
- n === -1 ? K(t) : U(n, t);
327
- }, nn = (e) => {
322
+ (A.value || !nn()) && rn(e);
323
+ }, J = (e) => {
324
+ let t = W();
325
+ G(t[t.length - 1], e);
326
+ }, on = (e, t) => {
327
+ let n = an(e);
328
+ n === -1 ? q(t) : G(n, t);
329
+ }, sn = (e) => {
328
330
  let t = 0;
329
- for (let n of k.value) for (let r of n.items) {
331
+ for (let n of j.value) for (let r of n.items) {
330
332
  if (t === e) return r;
331
333
  t++;
332
334
  }
333
- }, rn = oe(), an = le({
334
- candidates: () => H().filter(Number.isInteger),
335
- getTokens: (e) => [ce(nn(e)?.label ?? "", rn.locale)],
335
+ }, cn = se(), ln = ue({
336
+ candidates: () => W().filter(Number.isInteger),
337
+ getTokens: (e) => [le(sn(e)?.label ?? "", cn.locale)],
336
338
  getCurrent: () => {
337
- let e = Object.entries(B.value).find(([, e]) => e === document.activeElement);
339
+ let e = Object.entries(H.value).find(([, e]) => e === document.activeElement);
338
340
  return e ? Number(e[0]) : void 0;
339
341
  },
340
- onMatch: (e) => U(e, !0),
341
- locale: () => rn.locale
342
- }), on = (e) => {
343
- se(e) && an.onKeydown(e);
344
- }, sn = {
345
- ArrowDown: () => W(!0),
346
- ArrowUp: () => q(!0),
347
- Down: () => W(!0),
348
- Esc: () => D.close(),
349
- Escape: () => D.close(),
350
- Up: () => q(!0)
351
- }, cn = (e) => {
352
- if (o(e) || E.level > 0 && Kt(e)) return;
353
- let t = sn[e.key];
342
+ onMatch: (e) => G(e, !0),
343
+ locale: () => cn.locale
344
+ }), un = (e) => {
345
+ ce(e) && ln.onKeydown(e);
346
+ }, dn = {
347
+ ArrowDown: () => rn(!0),
348
+ ArrowUp: () => J(!0),
349
+ Down: () => rn(!0),
350
+ Esc: () => k.close(),
351
+ Escape: () => k.close(),
352
+ Up: () => J(!0)
353
+ }, fn = (e) => {
354
+ if (o(e) || O.level > 0 && Yt(e)) return;
355
+ let t = dn[e.key];
354
356
  t && (e.stopPropagation(), e.preventDefault(), t());
355
357
  };
356
- Ce(() => {
357
- E.level === 0 && ut.value && !O.value && be(() => $t());
358
+ y(() => {
359
+ O.level === 0 && pt.value && !A.value && _(() => nn());
358
360
  });
359
- let J = y(null), ln = y({}), Y, X, un = 0, Z = y(null), dn;
360
- w(J, (e, t) => {
361
- t != null && D.open.value && vn(t) && U(en(t)), clearTimeout(dn), Z.value = t ?? null, t != null && (dn = setTimeout(() => {
362
- Z.value = null;
363
- }, We));
361
+ let Y = x(null), pn = x({}), X, Z, mn = 0, hn = x(null), gn;
362
+ E(Y, (e, t) => {
363
+ t != null && k.open.value && Cn(t) && G(an(t)), clearTimeout(gn), hn.value = t ?? null, t != null && (gn = setTimeout(() => {
364
+ hn.value = null;
365
+ }, Ke));
364
366
  });
365
- let fn = (e) => J.value !== e && Z.value !== e, pn = y(0), mn = y("right-start"), hn = () => {
366
- let e = Object.values(B.value)[0], t = e?.closest(".bb-dropdown");
367
+ let _n = (e) => Y.value !== e && hn.value !== e, vn = x(0), yn = x("right-start"), bn = () => {
368
+ let e = Object.values(H.value)[0], t = e?.closest(".bb-dropdown");
367
369
  if (!e || !t) return;
368
- let n = qt(e);
369
- mn.value = n ? "left-start" : "right-start";
370
+ let n = Xt(e);
371
+ yn.value = n ? "left-start" : "right-start";
370
372
  let r = t.getBoundingClientRect(), i = e.getBoundingClientRect();
371
- pn.value = Math.max(0, n ? i.left - r.left : r.right - i.right);
372
- }, gn = {}, _n = (e, t) => {
373
- t instanceof HTMLElement ? gn[e] = t : delete gn[e];
374
- }, vn = (e) => !!gn[e]?.contains(document.activeElement), yn = (e, t) => {
375
- Kt(t) && !t.defaultPrevented && !o(t) && D.ownsEscape() && (t.preventDefault(), t.stopPropagation(), En(e));
376
- }, bn = (e, t) => {
377
- t ? ln.value[e] = t : delete ln.value[e];
378
- }, Q = () => clearTimeout(Y), $ = () => clearTimeout(X);
379
- Se(() => {
380
- clearTimeout(X), clearTimeout(Y), clearTimeout(dn);
373
+ vn.value = Math.max(0, n ? i.left - r.left : r.right - i.right);
374
+ }, xn = {}, Sn = (e, t) => {
375
+ t instanceof HTMLElement ? xn[e] = t : delete xn[e];
376
+ }, Cn = (e) => !!xn[e]?.contains(document.activeElement), wn = (e, t) => {
377
+ Yt(t) && !t.defaultPrevented && !o(t) && k.ownsEscape() && (t.preventDefault(), t.stopPropagation(), jn(e));
378
+ }, Tn = (e, t) => {
379
+ t ? pn.value[e] = t : delete pn.value[e];
380
+ }, Q = () => clearTimeout(X), $ = () => clearTimeout(Z);
381
+ Te(() => {
382
+ clearTimeout(Z), clearTimeout(X), clearTimeout(gn);
381
383
  });
382
- let xn = (e) => {
383
- $(), clearTimeout(Y), Y = setTimeout(() => {
384
- J.value === e && (J.value = null);
385
- }, He);
386
- }, Sn = (e) => {
384
+ let En = (e) => {
385
+ $(), clearTimeout(X), X = setTimeout(() => {
386
+ Y.value === e && (Y.value = null);
387
+ }, We);
388
+ }, Dn = (e) => {
387
389
  let t = e.trim();
388
390
  return t ? t.endsWith("ms") ? Number.parseFloat(t) || 0 : t.endsWith("s") ? (Number.parseFloat(t) || 0) * 1e3 : Number.parseFloat(t) || 0 : 0;
389
- }, Cn = (e) => {
390
- let t = B.value[e];
391
+ }, On = (e) => {
392
+ let t = H.value[e];
391
393
  if (!t) return 0;
392
394
  let n = t.closest(".bb-common-popover");
393
395
  if (!n) return 0;
394
- let r = getComputedStyle(n).getPropertyValue("--transition-duration"), i = Sn(r);
396
+ let r = getComputedStyle(n).getPropertyValue("--transition-duration"), i = Dn(r);
395
397
  if (!i) return 0;
396
- let a = performance.now() - un;
398
+ let a = performance.now() - mn;
397
399
  return Math.max(0, i - a + 16);
398
- }, wn = async (e, t) => {
399
- Q(), hn(), J.value = e, t !== void 0 && (await be(), ln.value[e]?.focusFirst(t));
400
+ }, kn = async (e, t) => {
401
+ Q(), bn(), Y.value = e, t !== void 0 && (await _(), pn.value[e]?.focusFirst(t));
400
402
  };
401
- w(D.open, (e) => {
402
- e ? un = performance.now() : ($(), Q(), J.value = null);
403
+ E(k.open, (e) => {
404
+ e ? mn = performance.now() : ($(), Q(), Y.value = null);
403
405
  });
404
- let Tn = (e, t) => {
405
- t ? J.value = e : J.value === e && (J.value = null);
406
- }, En = (e) => {
407
- J.value = null, be(() => U(e, !0));
408
- }, Dn = (e, t, n) => {
409
- if (n.pointerType !== "mouse") return;
410
- if (Q(), $(), J.value !== null && J.value === e.rowKey) {
411
- vn(e.rowKey) || U(t);
406
+ let An = (e, t) => {
407
+ t ? Y.value = e : Y.value === e && (Y.value = null);
408
+ }, jn = (e) => {
409
+ Y.value = null, _(() => G(e, !0));
410
+ }, Mn = (e, t, n) => {
411
+ if (n.pointerType !== "mouse" || _e(n)) return;
412
+ if (Q(), $(), Y.value !== null && Y.value === e.rowKey) {
413
+ Cn(e.rowKey) || G(t);
412
414
  return;
413
415
  }
414
416
  let r = () => {
415
- U(t), e.items ? wn(e.rowKey) : J.value = null;
417
+ G(t), e.items ? kn(e.rowKey) : Y.value = null;
416
418
  };
417
- if (J.value !== null) {
418
- let e = en(J.value);
419
- e >= 0 && Math.abs(t - e) <= 1 ? X = setTimeout(r, Ue) : r();
419
+ if (Y.value !== null) {
420
+ let e = an(Y.value);
421
+ e >= 0 && Math.abs(t - e) <= 1 ? Z = setTimeout(r, Ge) : r();
420
422
  return;
421
423
  }
422
- let i = e.items ? Cn(t) : 0;
423
- i ? X = setTimeout(r, i) : r();
424
- }, On = () => {
424
+ let i = e.items ? On(t) : 0;
425
+ i ? Z = setTimeout(r, i) : r();
426
+ }, Nn = () => {
425
427
  Q(), $();
426
- }, kn = (e, t) => {
427
- t.pointerType === "mouse" && e.items && xn(e.rowKey);
428
- }, An = (e, t) => {
429
- t.pointerType === "mouse" && xn(e);
430
- }, jn = (e, t) => {
428
+ }, Pn = (e, t) => {
429
+ t.pointerType === "mouse" && e.items && En(e.rowKey);
430
+ }, Fn = (e, t) => {
431
+ t.pointerType === "mouse" && En(e);
432
+ }, In = (e, t) => {
431
433
  e.searchable && t.preventDefault();
432
- }, Mn = (e, t, n, r) => {
433
- t.disabled || D.disabled.value || D.isItemLoading(t.rowKey) || (t.items ? (r.stopPropagation(), Q(), $(), E.navigate ? E.navigate(t) : wn(t.rowKey, r.detail === 0)) : e.selectable && e.id ? (r.stopPropagation(), D.toggleSelect(e, t), D.runItemAction(t, r), Qt() || U(n)) : (r.stopPropagation(), D.runItemAction(t, r, { close: !0 })));
434
- }, Nn = (e, t, n) => {
435
- switch (Jt(n)) {
434
+ }, Ln = (e, t, n, r) => {
435
+ t.disabled || k.disabled.value || k.isItemLoading(t.rowKey) || (t.items ? (r.stopPropagation(), Q(), $(), O.navigate ? O.navigate(t) : kn(t.rowKey, r.detail === 0)) : e.selectable && e.id ? (r.stopPropagation(), k.toggleSelect(e, t), k.runItemAction(t, r), tn() || G(n)) : (r.stopPropagation(), k.runItemAction(t, r, { close: !0 })));
436
+ }, Rn = (e, t, n) => {
437
+ switch (Zt(n)) {
436
438
  case "ArrowDown":
437
- n.preventDefault(), $(), Q(), J.value = null, G(t, 1);
439
+ n.preventDefault(), $(), Q(), Y.value = null, K(t, 1);
438
440
  break;
439
441
  case "ArrowUp":
440
- n.preventDefault(), $(), Q(), J.value = null, G(t, -1);
442
+ n.preventDefault(), $(), Q(), Y.value = null, K(t, -1);
441
443
  break;
442
444
  case "Home":
443
- n.preventDefault(), K(!0);
445
+ n.preventDefault(), q(!0);
444
446
  break;
445
447
  case "End":
446
- n.preventDefault(), q(!0);
448
+ n.preventDefault(), J(!0);
447
449
  break;
448
450
  case "ArrowRight":
449
- e.items && (n.preventDefault(), n.stopPropagation(), E.navigate ? E.navigate(e) : wn(e.rowKey, !0));
451
+ e.items && (n.preventDefault(), n.stopPropagation(), O.navigate ? O.navigate(e) : kn(e.rowKey, !0));
450
452
  break;
451
453
  case "ArrowLeft":
452
- E.back ? (n.preventDefault(), n.stopPropagation(), E.back()) : E.level > 0 && (n.preventDefault(), n.stopPropagation(), qe("close-level"));
454
+ O.back ? (n.preventDefault(), n.stopPropagation(), O.back()) : O.level > 0 && (n.preventDefault(), n.stopPropagation(), Ye("close-level"));
453
455
  break;
454
- default: on(n);
456
+ default: un(n);
455
457
  }
456
- }, Pn = (e, t) => {
457
- let n = P(e) - .5;
458
- switch (Jt(t)) {
458
+ }, zn = (e, t) => {
459
+ let n = F(e) - .5;
460
+ switch (Zt(t)) {
459
461
  case "ArrowDown":
460
- t.preventDefault(), G(n, 1);
462
+ t.preventDefault(), K(n, 1);
461
463
  break;
462
464
  case "ArrowUp":
463
- t.preventDefault(), G(n, -1);
465
+ t.preventDefault(), K(n, -1);
464
466
  break;
465
467
  case "Home":
466
- t.preventDefault(), K(!0);
468
+ t.preventDefault(), q(!0);
467
469
  break;
468
470
  case "End":
469
- t.preventDefault(), q(!0);
471
+ t.preventDefault(), J(!0);
470
472
  break;
471
473
  case "ArrowLeft":
472
- E.back ? (t.preventDefault(), t.stopPropagation(), E.back()) : E.level > 0 && (t.preventDefault(), t.stopPropagation(), qe("close-level"));
474
+ O.back ? (t.preventDefault(), t.stopPropagation(), O.back()) : O.level > 0 && (t.preventDefault(), t.stopPropagation(), Ye("close-level"));
473
475
  break;
474
- default: on(t);
476
+ default: un(t);
475
477
  }
476
- }, Fn = {
477
- slots: D.slots,
478
- setItemEl: Yt,
479
- itemAttrs: Ot,
480
- rowPart: kt,
481
- slotProps: Mt,
482
- rowSlot: _t,
483
- itemSlot: gt,
484
- groupRowSlot: vt,
485
- rowTextId: It,
486
- rowDescriptionId: Lt
478
+ }, Bn = {
479
+ slots: k.slots,
480
+ setItemEl: Qt,
481
+ itemAttrs: jt,
482
+ rowPart: Mt,
483
+ slotProps: Ft,
484
+ rowSlot: bt,
485
+ itemSlot: yt,
486
+ groupRowSlot: xt,
487
+ rowTextId: zt,
488
+ rowDescriptionId: Bt
487
489
  };
488
- return Ge({
489
- focusFirst: K,
490
- focusLast: q,
491
- focusRow: tn
492
- }), (e, o) => (v(!0), p(l, null, b(k.value, (e, s) => (v(), p(l, { key: e.id ?? s }, [
493
- e.divider ? (v(), p("hr", Oe)) : f("", !0),
494
- L(e) ? (v(), p("div", {
490
+ return qe({
491
+ focusFirst: q,
492
+ focusLast: J,
493
+ focusRow: on
494
+ }), (e, o) => (b(!0), p(l, null, S(j.value, (e, s) => (b(), p(l, { key: e.id ?? s }, [
495
+ e.divider ? (b(), p("hr", Ae)) : f("", !0),
496
+ z(e) ? (b(), p("div", {
495
497
  key: 1,
496
- id: Pt(s),
498
+ id: Lt(s),
497
499
  ref_for: !0,
498
- ref: (e) => Xt(s, e),
499
- class: _(["bb-dropdown__group-title", bt(e)]),
500
+ ref: (e) => $t(s, e),
501
+ class: v(["bb-dropdown__group-title", Ct(e)]),
500
502
  role: e.onClick ? "menuitem" : "presentation",
501
503
  tabindex: e.onClick ? -1 : void 0,
502
504
  onClick: (t) => e.onClick?.(t),
503
505
  onKeydown: [
504
- (t) => e.onClick && Pn(s, t),
505
- Ee((t) => e.onClick?.(t), ["enter"]),
506
- Ee(De((t) => e.onClick?.(t), ["prevent"]), ["space"])
506
+ (t) => e.onClick && zn(s, t),
507
+ Oe((t) => e.onClick?.(t), ["enter"]),
508
+ Oe(ke((t) => e.onClick?.(t), ["prevent"]), ["space"])
507
509
  ]
508
510
  }, [
509
- I(e, "prepend") ? (v(), d(x(I(e, "prepend")), g({
511
+ R(e, "prepend") ? (b(), d(C(R(e, "prepend")), g({
510
512
  key: 0,
511
513
  ref_for: !0
512
- }, z(e, P(s))), null, 16)) : C(D).slots["item:prepend"] ? (v(), d(x(C(D).slots["item:prepend"]), g({
514
+ }, V(e, F(s))), null, 16)) : T(k).slots["item:prepend"] ? (b(), d(C(T(k).slots["item:prepend"]), g({
513
515
  key: 1,
514
516
  ref_for: !0
515
- }, z(e, P(s))), null, 16)) : e["prepend:icon"] ? (v(), d(n, {
517
+ }, V(e, F(s))), null, 16)) : e["prepend:icon"] ? (b(), d(n, {
516
518
  key: 2,
517
519
  class: "group-title__prepend-icon",
518
520
  icon: e["prepend:icon"]
519
521
  }, null, 8, ["icon"])) : f("", !0),
520
- I(e) ? (v(), d(x(I(e)), g({
522
+ R(e) ? (b(), d(C(R(e)), g({
521
523
  key: 3,
522
524
  ref_for: !0
523
- }, z(e, P(s))), null, 16)) : e.label ? (v(), p("span", Ae, S(e.label), 1)) : f("", !0),
524
- I(e, "append") ? (v(), d(x(I(e, "append")), g({
525
+ }, V(e, F(s))), null, 16)) : e.label ? (b(), p("span", Me, w(e.label), 1)) : f("", !0),
526
+ R(e, "append") ? (b(), d(C(R(e, "append")), g({
525
527
  key: 5,
526
528
  ref_for: !0
527
- }, z(e, P(s))), null, 16)) : C(D).slots["item:append"] ? (v(), d(x(C(D).slots["item:append"]), g({
529
+ }, V(e, F(s))), null, 16)) : T(k).slots["item:append"] ? (b(), d(C(T(k).slots["item:append"]), g({
528
530
  key: 6,
529
531
  ref_for: !0
530
- }, z(e, P(s))), null, 16)) : e["append:icon"] ? (v(), d(n, {
532
+ }, V(e, F(s))), null, 16)) : e["append:icon"] ? (b(), d(n, {
531
533
  key: 7,
532
534
  class: "group-title__append-icon",
533
535
  icon: e["append:icon"]
534
536
  }, null, 8, ["icon"])) : f("", !0)
535
- ], 42, ke)) : f("", !0),
536
- C(O) && Nt(e).length ? (v(), p("div", je, [m("div", Me, [(v(!0), p(l, null, b(Nt(e), (n) => (v(), d(t, {
537
+ ], 42, je)) : f("", !0),
538
+ T(A) && It(e).length ? (b(), p("div", Ne, [m("div", Pe, [(b(!0), p(l, null, S(It(e), (n) => (b(), d(t, {
537
539
  key: n.key,
538
540
  class: "bb-dropdown__sheet-chip",
539
- clearable: !C(D).disabled.value,
541
+ clearable: !T(k).disabled.value,
540
542
  size: "xl",
541
543
  variant: "secondary",
542
- "onClick:clear": (t) => C(D).deselect(e.id, n.key),
543
- onMousedown: o[0] ||= De(() => {}, ["prevent"])
544
+ "onClick:clear": (t) => T(k).deselect(e.id, n.key),
545
+ onMousedown: o[0] ||= ke(() => {}, ["prevent"])
544
546
  }, {
545
- default: T(() => [_e(S(n.text), 1)]),
547
+ default: D(() => [xe(w(n.text), 1)]),
546
548
  _: 2
547
549
  }, 1032, ["clearable", "onClick:clear"]))), 128))])])) : f("", !0),
548
- e.searchable && e.id ? (v(), p("div", Ne, [
549
- ve(n, {
550
+ e.searchable && e.id ? (b(), p("div", Fe, [
551
+ Se(n, {
550
552
  "aria-hidden": "true",
551
553
  class: "bb-dropdown__search-icon",
552
554
  focusable: "false",
553
- icon: C(ne)
555
+ icon: T(re)
554
556
  }, null, 8, ["icon"]),
555
557
  m("input", g({
556
558
  ref_for: !0,
557
- ref: (t) => lt(e.id, t),
558
- "aria-label": e.searchPlaceholder || C(Xe),
559
+ ref: (t) => ft(e.id, t),
560
+ "aria-label": e.searchPlaceholder || T(Qe),
559
561
  autocomplete: "off",
560
562
  class: "bb-dropdown__search-input",
561
- placeholder: e.searchPlaceholder || C(Xe),
563
+ placeholder: e.searchPlaceholder || T(Qe),
562
564
  role: "searchbox",
563
565
  type: "text",
564
- value: C(D).queryFor(e.id)
565
- }, { ref_for: !0 }, C(D).passthrough.input, {
566
- onInput: (t) => C(D).setQuery(e.id, t.target.value),
567
- onKeydown: cn
568
- }), null, 16, Pe),
569
- e.id && C(D).isGroupLoading(e.id) ? (v(), p("div", Fe)) : f("", !0)
566
+ value: T(k).queryFor(e.id)
567
+ }, { ref_for: !0 }, T(k).passthrough.input, {
568
+ onInput: (t) => T(k).setQuery(e.id, t.target.value),
569
+ onKeydown: fn
570
+ }), null, 16, Ie),
571
+ e.id && T(k).isGroupLoading(e.id) ? (b(), p("div", Le)) : f("", !0)
570
572
  ])) : f("", !0),
571
573
  m("div", {
572
- "aria-labelledby": Gt(e, s),
573
- class: _(["bb-dropdown__group-items", {
574
- "bb-dropdown__group-items--capped": !!dt(e),
575
- "bb-dropdown__group-items--loading": !!e.id && C(D).isGroupLoading(e.id)
574
+ "aria-labelledby": Jt(e, s),
575
+ class: v(["bb-dropdown__group-items", {
576
+ "bb-dropdown__group-items--capped": !!mt(e),
577
+ "bb-dropdown__group-items--loading": !!e.id && T(k).isGroupLoading(e.id)
576
578
  }]),
577
- role: Wt(e),
578
- style: xe({ maxHeight: dt(e) })
579
- }, [(v(!0), p(l, null, b(it(e), (t) => (v(), d(at, g({
579
+ role: qt(e),
580
+ style: we({ maxHeight: mt(e) })
581
+ }, [(b(!0), p(l, null, S(ot(e), (t) => (b(), d(st, g({
580
582
  key: t.key,
581
583
  titled: !!t.title
582
584
  }, { ref_for: !0 }, t.title ? {
583
585
  class: "bb-dropdown__section",
584
586
  role: "group",
585
- "aria-labelledby": Ft(s, t.key)
587
+ "aria-labelledby": Rt(s, t.key)
586
588
  } : {}), {
587
- default: T(() => [t.title ? (v(), p("div", {
589
+ default: D(() => [t.title ? (b(), p("div", {
588
590
  key: 0,
589
- id: Ft(s, t.key),
591
+ id: Rt(s, t.key),
590
592
  class: "bb-dropdown__group-title bb-dropdown__section-title",
591
593
  role: "presentation"
592
- }, [m("span", Re, S(t.title), 1)], 8, Le)) : f("", !0), (v(!0), p(l, null, b(t.items, (n, o) => (v(), p(l, { key: n.rowKey }, [n.placeholder ? (v(), p("div", {
594
+ }, [m("span", Be, w(t.title), 1)], 8, ze)) : f("", !0), (b(!0), p(l, null, S(t.items, (n, o) => (b(), p(l, { key: n.rowKey }, [n.placeholder ? (b(), p("div", {
593
595
  key: 0,
594
596
  ref_for: !0,
595
- ref: (e) => st(s, e),
596
- class: _(["bb-dropdown__placeholder", `bb-dropdown__placeholder--${n.placeholder}`]),
597
+ ref: (e) => ut(s, e),
598
+ class: v(["bb-dropdown__placeholder", `bb-dropdown__placeholder--${n.placeholder}`]),
597
599
  role: "presentation"
598
- }, [F(n) ? (v(), d(x(F(n)), g({
600
+ }, [I(n) ? (b(), d(C(I(n)), g({
599
601
  key: 0,
600
602
  error: n.placeholder === "loading" ? void 0 : n.error ?? null
601
603
  }, { ref_for: !0 }, {
602
604
  groupId: e.id,
603
- query: e.id ? C(D).queryFor(e.id) : "",
605
+ query: e.id ? T(k).queryFor(e.id) : "",
604
606
  text: n.label
605
- }), null, 16, ["error"])) : (v(), p(l, { key: 1 }, [n.placeholder === "failed" ? (v(), d(r, {
607
+ }), null, 16, ["error"])) : (b(), p(l, { key: 1 }, [n.placeholder === "failed" ? (b(), d(r, {
606
608
  key: 0,
607
609
  class: "bb-dropdown__placeholder-icon"
608
- })) : f("", !0), m("span", ze, S(n.label), 1)], 64))], 2)) : (v(), p(l, { key: 1 }, [ve(ee, {
609
- group: Tt(e),
610
- index: P(s) + t.start + o,
610
+ })) : f("", !0), m("span", Ve, w(n.label), 1)], 64))], 2)) : (b(), p(l, { key: 1 }, [Se(ee, {
611
+ group: Ot(e),
612
+ index: F(s) + t.start + o,
611
613
  item: n,
612
- row: Fn,
613
- selected: !!e.selectable && St(e, n)
614
+ row: Bn,
615
+ selected: !!e.selectable && Tt(e, n)
614
616
  }, null, 8, [
615
617
  "group",
616
618
  "index",
617
619
  "item",
618
620
  "selected"
619
- ]), n.items && !h.navigate ? (v(), d(i, {
621
+ ]), n.items && !h.navigate ? (b(), d(i, {
620
622
  key: 0,
621
- anchor: B.value[P(s) + t.start + o],
623
+ anchor: H.value[F(s) + t.start + o],
624
+ "bubble-attrs": Nt(n),
622
625
  class: "bb-dropdown bb-dropdown--submenu",
623
626
  "hide-arrow": "",
624
- "model-value": J.value === n.rowKey,
625
- offset: pn.value,
626
- placement: mn.value,
627
+ "model-value": Y.value === n.rowKey,
628
+ offset: vn.value,
629
+ placement: yn.value,
627
630
  role: "none",
628
- "transition-duration": We,
629
- "onUpdate:modelValue": (e) => Tn(n.rowKey, e)
631
+ "transition-duration": Ke,
632
+ "onUpdate:modelValue": (e) => An(n.rowKey, e)
630
633
  }, {
631
- default: T(({ availableHeight: e }) => [m("span", {
632
- id: Ut(n),
634
+ default: D(({ availableHeight: e }) => [m("span", {
635
+ id: Kt(n),
633
636
  ref_for: !0,
634
- ref: (e) => _n(n.rowKey, e),
637
+ ref: (e) => Sn(n.rowKey, e),
635
638
  "aria-label": n.label,
636
639
  class: "bb-dropdown__list",
637
- "data-bb-dropdown-surface": C(D).rootId,
638
- inert: fn(n.rowKey),
639
- role: Ht(n) ? "dialog" : "menu",
640
- style: xe({ "--max-h": e == null ? void 0 : `${e}px` }),
641
- onKeydown: (e) => yn(P(s) + t.start + o, e),
642
- onPointerenter: On,
643
- onPointerleave: (e) => An(n.rowKey, e)
644
- }, [ve(a, {
640
+ "data-bb-dropdown-surface": T(k).rootId,
641
+ inert: _n(n.rowKey),
642
+ role: Gt(n) ? "dialog" : "menu",
643
+ style: we({ "--max-h": e == null ? void 0 : `${e}px` }),
644
+ onKeydown: (e) => wn(F(s) + t.start + o, e),
645
+ onPointerenter: Nn,
646
+ onPointerleave: (e) => Fn(n.rowKey, e)
647
+ }, [Se(a, {
645
648
  ref_for: !0,
646
- ref: (e) => bn(n.rowKey, e),
647
- groups: ft(n.items),
649
+ ref: (e) => Tn(n.rowKey, e),
650
+ groups: ht(n.items),
648
651
  level: h.level + 1,
649
- onCloseLevel: (e) => En(P(s) + t.start + o)
652
+ onCloseLevel: (e) => jn(F(s) + t.start + o)
650
653
  }, null, 8, [
651
654
  "groups",
652
655
  "level",
653
656
  "onCloseLevel"
654
- ])], 44, Be)]),
657
+ ])], 44, He)]),
655
658
  _: 2
656
659
  }, 1032, [
657
660
  "anchor",
661
+ "bubble-attrs",
658
662
  "model-value",
659
663
  "offset",
660
664
  "placement",
661
665
  "onUpdate:modelValue"
662
666
  ])) : f("", !0)], 64))], 64))), 128))]),
663
667
  _: 2
664
- }, 1040, ["titled"]))), 128))], 14, Ie)
668
+ }, 1040, ["titled"]))), 128))], 14, Re)
665
669
  ], 64))), 128));
666
670
  }
667
671
  });
668
- export { Ge as default };
672
+ export { qe as default };