bitboss-ui 3.0.0-beta.74 → 3.0.0-beta.76

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 (321) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +16 -10
  3. package/dist/ai/BbAlert.md +1 -1
  4. package/dist/ai/BbAvatar.md +86 -58
  5. package/dist/ai/BbBadge.md +1 -1
  6. package/dist/ai/BbBreadcrumbs.md +3 -3
  7. package/dist/ai/BbButton.md +4 -4
  8. package/dist/ai/BbCalendar.md +5 -2
  9. package/dist/ai/BbCheckboxGroup.md +5 -4
  10. package/dist/ai/BbColorInput.md +13 -1
  11. package/dist/ai/BbColorPalette.md +12 -7
  12. package/dist/ai/BbConfirm.md +1 -1
  13. package/dist/ai/BbDatePicker.md +13 -1
  14. package/dist/ai/BbDatePickerInput.md +18 -2
  15. package/dist/ai/BbDialog.md +6 -3
  16. package/dist/ai/BbDropdown.md +174 -77
  17. package/dist/ai/BbDropdownButton.md +37 -16
  18. package/dist/ai/BbGallery.md +3 -2
  19. package/dist/ai/BbIcon.md +10 -10
  20. package/dist/ai/BbNumberInput.md +3 -1
  21. package/dist/ai/BbOffCanvas.md +3 -2
  22. package/dist/ai/BbPopover.md +1 -1
  23. package/dist/ai/BbRadioGroup.md +4 -4
  24. package/dist/ai/BbSelect.md +227 -105
  25. package/dist/ai/BbSelectPopover.md +139 -14
  26. package/dist/ai/BbSwitchGroup.md +5 -4
  27. package/dist/ai/BbTable.md +18 -17
  28. package/dist/ai/BbTimePicker.md +13 -1
  29. package/dist/ai/BbTimePickerInput.md +16 -2
  30. package/dist/ai/BbToast.md +3 -2
  31. package/dist/ai/BbTree.md +5 -1
  32. package/dist/ai/CommonPopover.md +1 -0
  33. package/dist/ai/FlatListBox.md +1 -0
  34. package/dist/ai/GroupedListBox.md +3 -2
  35. package/dist/ai/ListBox.md +4 -2
  36. package/dist/ai/OptionsContainer.md +4 -4
  37. package/dist/ai/changelog.json +310 -7
  38. package/dist/ai/components.json +33 -35
  39. package/dist/ai/composables/useToast.md +2 -2
  40. package/dist/ai/design-tokens.json +60 -0
  41. package/dist/ai/guides/agent-contract.md +9 -5
  42. package/dist/ai/guides/calendars-and-digits.md +1 -1
  43. package/dist/ai/guides/design-tokens.md +13 -0
  44. package/dist/ai/guides/eslint-rules.md +1 -1
  45. package/dist/ai/guides/fetch-items-playbook.md +7 -11
  46. package/dist/ai/guides/icons-policy.md +32 -11
  47. package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
  48. package/dist/ai/guides/migration/adoption-checklist.md +1 -1
  49. package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
  50. package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
  51. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
  52. package/dist/ai/guides/migration/components/bb-icon.md +4 -4
  53. package/dist/ai/guides/migration/components/bb-table.md +2 -1
  54. package/dist/ai/guides/migration/components/bb-toast.md +2 -2
  55. package/dist/ai/guides/migration/v2-to-v3.md +70 -24
  56. package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
  57. package/dist/ai/guides/migration/v3-beta-tooling.md +1 -0
  58. package/dist/ai/guides/passthrough.md +58 -58
  59. package/dist/ai/helpers/inertia/manifest.json +1 -1
  60. package/dist/ai/index.md +1 -1
  61. package/dist/ai/manifest/common.json +1 -0
  62. package/dist/ai/manifest/components/BbAvatar.json +5 -2
  63. package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
  64. package/dist/ai/manifest/components/BbCarousel.json +0 -3
  65. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  66. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
  67. package/dist/ai/manifest/components/BbColorInput.json +5 -2
  68. package/dist/ai/manifest/components/BbColorPalette.json +5 -2
  69. package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
  70. package/dist/ai/manifest/components/BbDatePicker.json +3 -0
  71. package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
  72. package/dist/ai/manifest/components/BbDialog.tree.json +3 -1
  73. package/dist/ai/manifest/components/BbDropdown.json +36 -28
  74. package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
  75. package/dist/ai/manifest/components/BbDropdown.tree.json +21 -11
  76. package/dist/ai/manifest/components/BbDropdownButton.json +24 -16
  77. package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
  78. package/dist/ai/manifest/components/BbDropdownButton.tree.json +4 -0
  79. package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
  80. package/dist/ai/manifest/components/BbOffCanvas.tree.json +3 -1
  81. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  82. package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
  83. package/dist/ai/manifest/components/BbSelect.json +47 -40
  84. package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
  85. package/dist/ai/manifest/components/BbSelectPopover.json +14 -7
  86. package/dist/ai/manifest/components/BbSelectPopover.tree.json +9 -2
  87. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  88. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
  89. package/dist/ai/manifest/components/BbTable.json +6 -6
  90. package/dist/ai/manifest/components/BbTable.tree.json +9 -1
  91. package/dist/ai/manifest/components/BbTimePicker.json +5 -2
  92. package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
  93. package/dist/ai/manifest/components/BbTree.json +1 -1
  94. package/dist/ai/manifest/components/CommonPopover.json +1 -0
  95. package/dist/ai/manifest/components/FlatListBox.json +2 -1
  96. package/dist/ai/manifest/components/GroupedListBox.json +3 -2
  97. package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
  98. package/dist/ai/manifest/components/ListBox.json +3 -2
  99. package/dist/ai/manifest/components/ListBox.tree.json +1 -1
  100. package/dist/ai/manifest/components/OptionsContainer.json +6 -4
  101. package/dist/ai/manifest/index.json +2 -2
  102. package/dist/ai/manifest/meta.json +0 -3
  103. package/dist/ai/manifest/types.advanced.json +6 -6
  104. package/dist/ai/manifest/types.api.json +1 -3
  105. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
  106. package/dist/ai/recipes/inertia/onboarding.md +1 -1
  107. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
  108. package/dist/ai/recipes/nuxt/onboarding.md +1 -1
  109. package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
  110. package/dist/ai/recipes/vue/onboarding.md +2 -2
  111. package/dist/ai/source/BbAccordion.md +4 -5
  112. package/dist/ai/source/BbAvatar.md +128 -11
  113. package/dist/ai/source/BbBadge.md +18 -7
  114. package/dist/ai/source/BbBreadcrumbs.md +57 -56
  115. package/dist/ai/source/BbButton.md +41 -25
  116. package/dist/ai/source/BbCalendar.md +8 -6
  117. package/dist/ai/source/BbCarousel.md +41 -34
  118. package/dist/ai/source/BbCheckboxGroup.md +15 -9
  119. package/dist/ai/source/BbColorInput.md +19 -0
  120. package/dist/ai/source/BbColorPalette.md +23 -2
  121. package/dist/ai/source/BbDatePicker.md +18 -0
  122. package/dist/ai/source/BbDatePickerInput.md +47 -3
  123. package/dist/ai/source/BbDialog.md +14 -1
  124. package/dist/ai/source/BbDropdown.md +296 -99
  125. package/dist/ai/source/BbDropdownButton.md +61 -19
  126. package/dist/ai/source/BbDropdownGroup.md +189 -98
  127. package/dist/ai/source/BbGallery.md +82 -60
  128. package/dist/ai/source/BbHost.md +12 -0
  129. package/dist/ai/source/BbNumberInput.md +17 -10
  130. package/dist/ai/source/BbOffCanvas.md +14 -1
  131. package/dist/ai/source/BbPagination.md +12 -28
  132. package/dist/ai/source/BbRadioGroup.md +12 -5
  133. package/dist/ai/source/BbRating.md +4 -4
  134. package/dist/ai/source/BbSelect.md +151 -112
  135. package/dist/ai/source/BbSelectPopover.md +244 -29
  136. package/dist/ai/source/BbSwitchGroup.md +11 -4
  137. package/dist/ai/source/BbTable.md +114 -35
  138. package/dist/ai/source/BbTimePicker.md +19 -0
  139. package/dist/ai/source/BbTimePickerInput.md +21 -2
  140. package/dist/ai/source/BbToast.md +2 -2
  141. package/dist/ai/source/BbToastPortal.md +2 -2
  142. package/dist/ai/source/BbTree.md +1 -1
  143. package/dist/ai/source/ClearableButton.md +4 -2
  144. package/dist/ai/source/CommonPopover.md +24 -1
  145. package/dist/ai/source/ErrorIcon.md +4 -3
  146. package/dist/ai/source/FlatListBox.md +33 -7
  147. package/dist/ai/source/GroupedListBox.md +85 -14
  148. package/dist/ai/source/ListBox.md +11 -1
  149. package/dist/ai/source/OptionsContainer.md +29 -11
  150. package/dist/ai/source/WarningIcon.md +4 -3
  151. package/dist/assets/svgs/close.svg_raw.js +1 -1
  152. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  153. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
  154. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
  155. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +62 -43
  156. package/dist/components/BbAvatar/avatarIdentity.js +25 -0
  157. package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
  158. package/dist/components/BbAvatar/types.d.ts +24 -5
  159. package/dist/components/BbAvatar/types.js +5 -1
  160. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
  161. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +66 -64
  162. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +141 -146
  163. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
  164. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  165. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
  166. package/dist/components/BbCalendar/useDayGrid.js +120 -123
  167. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +503 -502
  168. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
  169. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
  170. package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
  171. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
  172. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
  173. package/dist/components/BbColorInput/types.d.ts +7 -0
  174. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
  175. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +208 -196
  176. package/dist/components/BbColorPalette/types.d.ts +7 -0
  177. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +3 -1
  178. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +84 -73
  179. package/dist/components/BbDatePicker/types.d.ts +7 -0
  180. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -2
  181. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +496 -510
  182. package/dist/components/BbDatePickerInput/types.d.ts +7 -0
  183. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +219 -211
  184. package/dist/components/BbDialog/leaveGhost.js +22 -17
  185. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +106 -100
  186. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
  187. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +416 -369
  188. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +404 -354
  189. package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
  190. package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
  191. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +117 -102
  192. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +67 -38
  193. package/dist/components/BbDropdown/normalizeGroups.js +6 -2
  194. package/dist/components/BbDropdown/ptKeys.generated.d.ts +44 -20
  195. package/dist/components/BbDropdown/types.d.ts +109 -87
  196. package/dist/components/BbDropdown/types.js +3 -0
  197. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -1
  198. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +101 -65
  199. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +153 -57
  200. package/dist/components/BbDropdownButton/types.d.ts +23 -10
  201. package/dist/components/BbDropdownButton/types.js +4 -0
  202. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  203. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +335 -312
  204. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
  205. package/dist/components/BbIcon/iconCache.js +1 -1
  206. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  207. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +9 -5
  208. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +152 -144
  209. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
  210. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
  211. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  212. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
  213. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -104
  214. package/dist/components/BbRadioGroup/types.d.ts +4 -7
  215. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  216. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
  217. package/dist/components/BbSelect/BbSelect.vue.d.ts +32 -20
  218. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +217 -196
  219. package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
  220. package/dist/components/BbSelect/types.d.ts +110 -111
  221. package/dist/components/BbSelect/types.js +1 -27
  222. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +8 -3
  223. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +728 -653
  224. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
  225. package/dist/components/BbSelectPopover/types.d.ts +32 -17
  226. package/dist/components/BbSelectPopover/types.js +3 -1
  227. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  228. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
  229. package/dist/components/BbSwitchGroup/types.d.ts +3 -6
  230. package/dist/components/BbTable/BbTable.vue.d.ts +2 -4
  231. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1171 -1152
  232. package/dist/components/BbTable/BbTableDataRow.js +97 -90
  233. package/dist/components/BbTable/types.d.ts +11 -10
  234. package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
  235. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
  236. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +145 -134
  237. package/dist/components/BbTimePicker/types.d.ts +7 -0
  238. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +4 -2
  239. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +290 -280
  240. package/dist/components/BbTimePickerInput/types.d.ts +7 -0
  241. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -78
  242. package/dist/components/BbToast/types.d.ts +2 -2
  243. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
  244. package/dist/components/BbTree/types.d.ts +1 -1
  245. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
  246. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  247. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
  248. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +13 -1
  249. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  250. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +122 -102
  251. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +182 -153
  252. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
  253. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
  254. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  255. package/dist/composables/useInternalIcon.js +25 -0
  256. package/dist/composables/useItemsGetter.js +34 -32
  257. package/dist/composables/useOpenModel.js +20 -0
  258. package/dist/deprecation/ai-deprecations.json.js +1 -1
  259. package/dist/i18n/locales/ar.json +2 -0
  260. package/dist/i18n/locales/cs.json +2 -0
  261. package/dist/i18n/locales/da.json +2 -0
  262. package/dist/i18n/locales/de-CH.json +2 -0
  263. package/dist/i18n/locales/de.json +2 -0
  264. package/dist/i18n/locales/el.json +2 -0
  265. package/dist/i18n/locales/en-GB.json +2 -0
  266. package/dist/i18n/locales/en.json +2 -0
  267. package/dist/i18n/locales/es-MX.json +2 -0
  268. package/dist/i18n/locales/es.json +2 -0
  269. package/dist/i18n/locales/fa.json +2 -0
  270. package/dist/i18n/locales/fi.json +2 -0
  271. package/dist/i18n/locales/fr.json +2 -0
  272. package/dist/i18n/locales/he.json +2 -0
  273. package/dist/i18n/locales/hu.json +2 -0
  274. package/dist/i18n/locales/it.json +2 -0
  275. package/dist/i18n/locales/ja.json +2 -0
  276. package/dist/i18n/locales/ko.json +2 -0
  277. package/dist/i18n/locales/nb.json +2 -0
  278. package/dist/i18n/locales/nl.json +2 -0
  279. package/dist/i18n/locales/pl.json +2 -0
  280. package/dist/i18n/locales/pt-BR.json +2 -0
  281. package/dist/i18n/locales/pt-PT.json +2 -0
  282. package/dist/i18n/locales/ro.json +2 -0
  283. package/dist/i18n/locales/ru.json +2 -0
  284. package/dist/i18n/locales/sv.json +2 -0
  285. package/dist/i18n/locales/tr.json +2 -0
  286. package/dist/i18n/locales/uk.json +2 -0
  287. package/dist/i18n/locales/zh-CN.json +2 -0
  288. package/dist/i18n/locales/zh-HK.json +2 -0
  289. package/dist/i18n/locales/zh-TW.json +2 -0
  290. package/dist/icon-scan.d.ts +1 -1
  291. package/dist/icon-scan.js +68 -61
  292. package/dist/index.d.ts +2 -2
  293. package/dist/llms-full.txt +1038 -451
  294. package/dist/llms-medium.txt +33 -28
  295. package/dist/llms.txt +2 -2
  296. package/dist/locale-blueprint.json +2 -0
  297. package/dist/nuxt.js +1 -1
  298. package/dist/styles.css +2 -2
  299. package/dist/types/ActionButton.d.ts +2 -3
  300. package/dist/types/Config.d.ts +8 -1
  301. package/dist/types/ConfigDefaults.d.ts +10 -2
  302. package/dist/types/Option.d.ts +10 -0
  303. package/dist/types/internalIcons.d.ts +89 -0
  304. package/dist/types/internalIcons.js +158 -0
  305. package/dist/types/ptComponentMap.d.ts +5 -5
  306. package/dist/utilities/functions/slotContent.js +19 -0
  307. package/dist/utils/configDefaults.js +75 -64
  308. package/dist/utils/iconsOption.js +48 -0
  309. package/dist/utils/loadRetry.js +8 -0
  310. package/dist/utils/versionCheck.js +1 -1
  311. package/dist/vite-plugin.d.ts +10 -16
  312. package/dist/vite.js +323 -307
  313. package/llms.txt +2 -2
  314. package/package.json +3 -1
  315. package/scripts/README.md +2 -0
  316. package/scripts/lib/adoption-checklist.json +1 -1
  317. package/scripts/lib/agent-setup.mjs +44 -26
  318. package/scripts/lib/update-install.mjs +48 -0
  319. package/scripts/lib/validate-bb-markup.mjs +93 -12
  320. package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
  321. package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
@@ -103,6 +103,11 @@ export declare const BB_DATE_PICKER_INPUT_PT: {
103
103
  */
104
104
  type BbDatePickerInputPtProps = /* @vue-ignore */ PtCompoundProps<typeof BB_DATE_PICKER_INPUT_PT, PtVariantAttrs<TextControlPtPart | 'activator', keyof DatePickerInputVariantRegistry>> & BbDatePickerInputPtKeys;
105
105
  export type BbDatePickerInputBaseProps = BbDatePickerInputPtProps & {
106
+ /**
107
+ * Whether the panel is open (`v-model:open`; `v-model` stays the value).
108
+ * Bound, the app opens and closes it; unbound, the initial state.
109
+ */
110
+ open?: boolean;
106
111
  /**
107
112
  * Passthrough, object form: the same keys as the `pt:*` attributes
108
113
  * without the prefix. See the `pt:<part>` row.
@@ -439,6 +444,8 @@ export type BbDatePickerInputEvents<R extends boolean = boolean> = {
439
444
  (e: 'shown'): void;
440
445
  /** Emitted as soon as the calendar surface starts to close. */
441
446
  (e: 'hide'): void;
447
+ /** The panel opened or closed (`v-model:open`). */
448
+ (e: 'update:open', value: boolean): void;
442
449
  /** Emitted once the calendar surface has finished closing. */
443
450
  (e: 'hidden'): void;
444
451
  /**
@@ -32,20 +32,20 @@ import { provideOverlaySubmitGuard as Ne } from "../../composables/formSubmitLoc
32
32
  import { ownCompleteListener as Pe, useOverlayActions as Fe } from "./overlayActions.js";
33
33
  import { provideOverlayStandIn as Ie, rootElementOf as Le, routeNativeCommand as Re, useOverlayHost as ze } from "../../composables/overlayRegistry.js";
34
34
  import { provideStandInClose as Be, useOverlayNavigation as Ve } from "../../composables/useOverlayNavigation.js";
35
- import { Fragment as He, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as Ue, createSlots as We, createTextVNode as Ge, createVNode as Ke, defineComponent as c, getCurrentInstance as qe, mergeModels as l, mergeProps as u, nextTick as Je, onBeforeUnmount as Ye, onDeactivated as Xe, onMounted as Ze, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, toHandlers as Qe, unref as h, useAttrs as $e, useModel as et, useSlots as tt, watch as g, withCtx as _, withModifiers as nt } from "vue";
35
+ import { Fragment as He, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as Ue, createSlots as We, createTextVNode as Ge, createVNode as Ke, defineComponent as qe, getCurrentInstance as Je, mergeModels as c, mergeProps as l, nextTick as Ye, onBeforeUnmount as Xe, onDeactivated as Ze, onMounted as Qe, openBlock as u, ref as d, renderSlot as f, toDisplayString as p, toHandlers as $e, unref as m, useAttrs as et, useModel as tt, useSlots as nt, watch as h, withCtx as g, withModifiers as rt } from "vue";
36
36
  // src/components/BbDialog/BbDialog.vue?vue&type=script&setup=true&lang.ts
37
- var rt = [
37
+ var it = [
38
38
  "id",
39
39
  "aria-describedby",
40
40
  "aria-labelledby",
41
41
  "inert"
42
- ], it = { class: "bb-dialog__body-content" }, at = {
42
+ ], at = { class: "bb-dialog__body-content" }, ot = {
43
43
  "aria-live": "polite",
44
44
  class: "bb-sr-only"
45
- }, ot = 4, v = /*@__PURE__*/ c({
45
+ }, st = 4, _ = /*@__PURE__*/ qe({
46
46
  inheritAttrs: !1,
47
47
  __name: "BbDialog",
48
- props: /*@__PURE__*/ l({
48
+ props: /*@__PURE__*/ c({
49
49
  "pt:root": {},
50
50
  "pt:root:open": {},
51
51
  "pt:root:fullscreen": {},
@@ -122,193 +122,201 @@ var rt = [
122
122
  snap: {},
123
123
  snapModifiers: {}
124
124
  }),
125
- emits: /*@__PURE__*/ l([
125
+ emits: /*@__PURE__*/ c([
126
126
  "complete",
127
127
  "show",
128
128
  "hide",
129
129
  "shown",
130
130
  "hidden"
131
131
  ], ["update:modelValue", "update:snap"]),
132
- setup(r, { emit: c }) {
133
- let l = et(r, "modelValue"), v = et(r, "snap"), y = r, b = c, x = tt();
132
+ setup(r, { emit: qe }) {
133
+ let c = tt(r, "modelValue"), _ = tt(r, "snap"), v = r, y = qe, b = nt();
134
134
  process.env.NODE_ENV !== "production" && de("BbDialog", ue("BbDialog"));
135
- let { t: S } = ae(), { isMobile: C } = se(), { resolve: st } = ce(), w = ge("BbDialog", y, {
135
+ let { t: x } = ae(), { isMobile: S } = se(), { resolve: ct } = ce(), C = ge("BbDialog", v, {
136
136
  adaptive: !0,
137
137
  fullscreen: !1
138
- }), ct = _e("BbDialog", ve), T = () => w.adaptive && C.value ? "canvas" : "dialog", E = f(T());
139
- Ee(() => E.value === "canvas" ? S("dialog.closeLabel").value : null);
140
- let lt = qe(), D = ze("dialog", {
141
- id: () => y.id,
142
- model: l,
143
- element: () => Le(lt),
144
- defaultData: () => y.defaultData,
145
- onComplete: () => Pe(lt)
138
+ }), lt = _e("BbDialog", ve), w = () => C.adaptive && S.value ? "canvas" : "dialog", T = d(w());
139
+ Ee(() => T.value === "canvas" ? x("dialog.closeLabel").value : null);
140
+ let ut = Je(), E = ze("dialog", {
141
+ id: () => v.id,
142
+ model: c,
143
+ element: () => Le(ut),
144
+ defaultData: () => v.defaultData,
145
+ onComplete: () => Pe(ut)
146
146
  });
147
147
  Ie();
148
- let ut = Be();
149
- y.navigation && D.onDemand && process.env.NODE_ENV !== "production" && oe().warn("BbDialog: `navigation` is ignored on a dialog opened on demand: it has no place in the page URL. For a URL dialog, render the wrapper in the page and open it by id."), Ve({
148
+ let dt = Be();
149
+ v.navigation && E.onDemand && process.env.NODE_ENV !== "production" && oe().warn("BbDialog: `navigation` is ignored on a dialog opened on demand: it has no place in the page URL. For a URL dialog, render the wrapper in the page and open it by id."), Ve({
150
150
  component: "BbDialog",
151
- enabled: () => !!y.navigation && !D.onDemand,
152
- key: () => y.queryKey,
153
- replace: () => !!y.replace,
154
- id: () => y.id,
155
- model: l,
151
+ enabled: () => !!v.navigation && !E.onDemand,
152
+ key: () => v.queryKey,
153
+ replace: () => !!v.replace,
154
+ id: () => v.id,
155
+ model: c,
156
156
  requestClose: () => {
157
- if (E.value === "dialog") return en("escape");
158
- let e = ut();
157
+ if (T.value === "dialog") return en("escape");
158
+ let e = dt();
159
159
  return e === null ? (Q("escape"), !0) : e;
160
160
  }
161
161
  });
162
- let dt = () => {
163
- D.afterHidden(), b("hidden");
162
+ let ft = () => {
163
+ E.afterHidden(), y("hidden");
164
164
  };
165
- g([() => w.adaptive, C], () => {
166
- l.value || (E.value = T());
165
+ h([() => C.adaptive, S], () => {
166
+ c.value || (T.value = w());
167
167
  });
168
- let O = $e(), k = be({
168
+ let D = et(), O = be({
169
169
  component: "BbDialog",
170
- attrs: O,
171
- props: y,
170
+ attrs: D,
171
+ props: v,
172
172
  parts: ye.parts,
173
173
  states: ye.states,
174
174
  active: {
175
- open: () => l.value,
176
- fullscreen: () => I.value
175
+ open: () => c.value,
176
+ fullscreen: () => F.value
177
177
  }
178
- }), ft = i(() => u({
178
+ }), pt = i(() => l({
179
179
  class: "bb-dialog__close",
180
180
  onClick: $
181
- }, k.close)), pt = i(() => ({
182
- id: D.domId.value || y.id,
183
- description: y.description,
184
- preventClose: y.preventClose ?? (D.completing.value ? !0 : void 0),
185
- eager: y.eager,
186
- focusTarget: y.focusTarget,
187
- fullscreen: w.fullscreen,
188
- hideClose: y.hideClose,
189
- persistent: y.persistent,
190
- stack: y.stack,
191
- title: y.title,
192
- transitionDuration: y.transitionDuration,
181
+ }, O.close)), mt = i(() => ({
182
+ id: E.domId.value || v.id,
183
+ description: v.description,
184
+ preventClose: v.preventClose ?? (E.completing.value ? !0 : void 0),
185
+ eager: v.eager,
186
+ focusTarget: v.focusTarget,
187
+ fullscreen: C.fullscreen,
188
+ hideClose: v.hideClose,
189
+ persistent: v.persistent,
190
+ stack: v.stack,
191
+ title: v.title,
192
+ transitionDuration: v.transitionDuration,
193
193
  side: "bottom",
194
194
  draggable: !0,
195
195
  size: "auto",
196
- snapPoints: y.snapPoints,
197
- snap: v.value,
198
- ok: L.resolved.value.ok ?? void 0,
199
- cancel: L.resolved.value.cancel ?? void 0,
200
- actions: L.resolved.value.actions,
196
+ snapPoints: v.snapPoints,
197
+ snap: _.value,
198
+ ok: I.resolved.value.ok ?? void 0,
199
+ cancel: I.resolved.value.cancel ?? void 0,
200
+ actions: I.resolved.value.actions,
201
201
  "onUpdate:snap": (e) => {
202
- v.value = e;
202
+ _.value = e;
203
203
  },
204
- ...Se(y.offCanvasProps)
205
- })), mt = i(() => {
206
- let { class: e, ...t } = O;
207
- return u(pt.value, t);
208
- }), A = f(null), j = `title_${ie().id.value}`, ht = `desc_${ie().id.value}`, M = () => !!y.description || !!x.description, N = () => !!y.title || !!x.title, gt = () => N() || M(), _t = le(() => l.value || y.eager, { initialValue: l.value || y.eager }), P = i(() => !!y.eager || l.value || K.value), F = f(0);
209
- g(l, (e, t) => {
210
- e && !t && !y.eager && F.value++;
204
+ ...Se(v.offCanvasProps)
205
+ })), ht = i(() => {
206
+ let { class: e, ...t } = D;
207
+ return l(mt.value, t);
208
+ }), k = d(null), A = `title_${ie().id.value}`, gt = `desc_${ie().id.value}`, j = () => !!v.description || !!b.description, M = () => !!v.title || !!b.title, _t = () => M() || j(), vt = le(() => c.value || v.eager, { initialValue: c.value || v.eager }), N = i(() => !!v.eager || c.value || G.value), P = d(0);
209
+ h(c, (e, t) => {
210
+ e && !t && !v.eager && P.value++;
211
211
  }, { flush: "sync" });
212
- let I = i(() => w.fullscreen === !0 || w.fullscreen === "mobile" && C.value), vt = () => typeof document < "u", yt = Ne(), bt = yt.saving, L = Fe({
212
+ let F = i(() => C.fullscreen === !0 || C.fullscreen === "mobile" && S.value), yt = () => typeof document < "u", bt = Ne(), xt = bt.saving, I = Fe({
213
213
  component: "BbDialog",
214
- props: () => y,
215
- surface: yt,
216
- complete: D.complete,
217
- data: () => D.data.value,
214
+ props: () => v,
215
+ surface: bt,
216
+ complete: E.complete,
217
+ data: () => E.data.value,
218
218
  close: () => $(),
219
- closeLocked: () => R.value,
219
+ closeLocked: () => L.value,
220
220
  block: "bb-dialog"
221
- }), xt = () => L.render(), R = i(() => y.preventClose ?? (bt() || D.completing.value)), St = i(() => R.value || !!y.persistent), z = f(!1), B = f(null), Ct = () => {
222
- B.value = null;
223
- }, wt = (e) => {
224
- B.value = {
221
+ }), St = () => I.render(), L = i(() => v.preventClose ?? (xt() || E.completing.value)), Ct = i(() => L.value || !!v.persistent), R = d(!1), z = d(null), wt = () => {
222
+ z.value = null;
223
+ }, Tt = (e) => {
224
+ z.value = {
225
225
  startX: e.clientX,
226
226
  startY: e.clientY,
227
227
  startedOnBackdrop: e.target === e.currentTarget
228
228
  };
229
- }, Tt = (e) => {
230
- let t = B.value;
231
- Ct(), t && !t.startedOnBackdrop || t && (Math.abs(e.clientX - t.startX) > ot || Math.abs(e.clientY - t.startY) > ot) || $t(e, "backdrop");
232
- }, V, Et = Me(() => S("dialog.closeRefused").value), H = (e) => {
233
- Et.announce(), clearTimeout(V), z.value = !0, V = setTimeout(() => {
234
- z.value = !1;
229
+ }, Et = (e) => {
230
+ let t = z.value;
231
+ wt(), t && !t.startedOnBackdrop || t && (Math.abs(e.clientX - t.startX) > st || Math.abs(e.clientY - t.startY) > st) || $t(e, "backdrop");
232
+ }, B, Dt = Me(() => x("dialog.closeRefused").value), V = (e) => {
233
+ Dt.announce(), clearTimeout(B), R.value = !0, B = setTimeout(() => {
234
+ R.value = !1;
235
235
  }, e);
236
- }, U = Symbol("bb-dialog-escape"), Dt = t(), W = !1, Ot = () => {
237
- let e = { element: () => A.value };
238
- W ? ee(U, Dt, e) : ne(U, e), vt() && document.addEventListener("keydown", jt, { capture: !0 });
239
- }, kt = () => {
240
- re(U), vt() && document.removeEventListener("keydown", jt, { capture: !0 });
236
+ }, H = Symbol("bb-dialog-escape"), Ot = t(), U = !1, kt = () => {
237
+ let e = { element: () => k.value };
238
+ U ? ee(H, Ot, e) : ne(H, e), yt() && document.addEventListener("keydown", Mt, { capture: !0 });
241
239
  }, At = () => {
242
- y.focusTarget && xe(A.value, y.focusTarget)?.focus();
243
- }, jt = (e) => {
244
- if (e.key === "Escape" && !Y.value && te(U) && (e.stopImmediatePropagation(), St.value)) return e.preventDefault(), H(200), !1;
245
- }, G = f(0), K = f(!1);
246
- je(K);
247
- let q = Symbol("bb-dialog"), { stacks: Mt, openOrder: Nt, closing: Pt, enter: Ft, leave: It, registerOpen: Lt, deregisterOpen: Rt, setClosing: J } = ke(), zt = () => {
248
- Lt(q), y.stack && Ft(y.stack, q);
249
- }, Bt = () => {
250
- Rt(q), y.stack && It(y.stack, q);
251
- }, Y = i(() => {
252
- if (!y.stack) return !1;
253
- let e = Mt.value[y.stack];
254
- return !e || !e.includes(q) ? !1 : e[e.length - 1] !== q;
255
- }), Vt = i(() => Nt.value.indexOf(q)), Ht = (e, t) => g([t, () => Pt.value.length > 0], ([t, ee]) => {
240
+ re(H), yt() && document.removeEventListener("keydown", Mt, { capture: !0 });
241
+ }, jt = () => {
242
+ v.focusTarget && xe(k.value, v.focusTarget)?.focus();
243
+ }, Mt = (e) => {
244
+ if (e.key === "Escape" && !J.value && te(H) && (e.stopImmediatePropagation(), Ct.value)) return e.preventDefault(), V(200), !1;
245
+ }, W = d(0), G = d(!1);
246
+ je(G);
247
+ let K = Symbol("bb-dialog"), { stacks: Nt, openOrder: Pt, closing: Ft, enter: It, leave: Lt, registerOpen: Rt, deregisterOpen: zt, setClosing: q } = ke(), Bt = () => {
248
+ Rt(K), v.stack && It(v.stack, K);
249
+ }, Vt = () => {
250
+ zt(K), v.stack && Lt(v.stack, K);
251
+ }, J = i(() => {
252
+ if (!v.stack) return !1;
253
+ let e = Nt.value[v.stack];
254
+ return !e || !e.includes(K) ? !1 : e[e.length - 1] !== K;
255
+ }), Ht = i(() => Pt.value.indexOf(K)), Ut = (e, t) => h([t, () => Ft.value.length > 0], ([t, ee]) => {
256
256
  t !== -1 && (e.value = ee && e.value || t > 0);
257
- }, { immediate: !0 }), Ut = f(!1);
258
- Ht(Ut, Vt);
259
- let Wt = i(() => (Vt.value !== -1 || K.value) && Ut.value), Gt = i(() => y.stack ? Mt.value[y.stack]?.indexOf(q) ?? -1 : -1), Kt = f(!1);
260
- Ht(Kt, Gt);
261
- let qt = i(() => (Gt.value !== -1 || K.value) && Kt.value), Jt = f(), X = null, Z = null, Yt = null, Xt = async (e) => {
257
+ }, { immediate: !0 }), Wt = d(!1);
258
+ Ut(Wt, Ht);
259
+ let Gt = i(() => (Ht.value !== -1 || G.value) && Wt.value), Kt = i(() => v.stack ? Nt.value[v.stack]?.indexOf(K) ?? -1 : -1), qt = d(!1);
260
+ Ut(qt, Kt);
261
+ let Jt = i(() => (Kt.value !== -1 || G.value) && qt.value), Yt = d(), Y = null, X = null, Z = null, Xt = async (e) => {
262
262
  if (e) {
263
- b("show"), G.value++, Jt.value = De(), Ot(), await Je(), K.value = !0, A.value && !A.value.open && (Yt = document.activeElement, A.value.showModal()), Z = null, me(q), zt(), J(q, !1), A.value && (X = Ae(A.value)), At();
264
- let e = G.value;
265
- await n(y.transitionDuration), await he(A.value), e === G.value && l.value && b("shown");
263
+ y("show"), W.value++, Yt.value = De(), kt(), await Ye(), G.value = !0, k.value && !k.value.open && (Z = document.activeElement, k.value.showModal()), X = null, me(K), Bt(), q(K, !1), k.value && (Y = Ae(k.value)), jt();
264
+ let e = W.value;
265
+ await n(v.transitionDuration), await he(k.value), e === W.value && c.value && y("shown");
266
266
  } else {
267
- b("hide", D.closingResult()), Z = performance.now(), J(q, !0), Bt();
268
- let e = G.value;
269
- if (await n(y.transitionDuration), e !== G.value) return;
270
- kt(), A.value?.close(), pe(q), X?.(), X = null, K.value = !1, J(q, !1), dt();
267
+ y("hide", E.closingResult()), X = performance.now(), q(K, !0), Vt();
268
+ let e = W.value;
269
+ if (await n(v.transitionDuration), e !== W.value) return;
270
+ At(), k.value?.close(), pe(K), Y?.(), Y = null, G.value = !1, q(K, !1), ft();
271
271
  }
272
272
  }, Zt = () => {
273
- process.env.NODE_ENV !== "production" && x.header && !y.title && O["aria-labelledby"] == null && Je(() => {
274
- A.value && !document.getElementById(j) && oe().warn(`BbDialog: the #header slot does not contain an element with id="${j}", so aria-labelledby points at nothing and the dialog announces as unnamed. Bind the slot's \`titleId\` to your heading: <template #header="{ titleId }"><h2 :id="titleId">…</h2></template>.`);
273
+ process.env.NODE_ENV !== "production" && b.header && !v.title && D["aria-labelledby"] == null && Ye(() => {
274
+ k.value && !document.getElementById(A) && oe().warn(`BbDialog: the #header slot does not contain an element with id="${A}", so aria-labelledby points at nothing and the dialog announces as unnamed. Bind the slot's \`titleId\` to your heading: <template #header="{ titleId }"><h2 :id="titleId">…</h2></template>.`);
275
275
  });
276
276
  };
277
- g(l, (e) => {
278
- e && (E.value = T()), E.value === "dialog" && Xt(e);
279
- }), Ze(() => {
280
- l.value && E.value === "dialog" && (W = !0, Xt(!0), W = !1);
281
- }), g(_t, (e) => {
277
+ h(c, (e) => {
278
+ e && (T.value = w()), T.value === "dialog" && Xt(e);
279
+ }), Qe(() => {
280
+ c.value && T.value === "dialog" && (U = !0, Xt(!0), U = !1);
281
+ }), h(vt, (e) => {
282
282
  e && Zt();
283
283
  }, {
284
284
  immediate: !0,
285
285
  flush: "post"
286
- }), Ye(() => {
287
- fe(A.value, {
288
- id: q,
286
+ }), Xe(() => {
287
+ fe(k.value, {
288
+ id: K,
289
289
  openClass: "bb-dialog--open",
290
- duration: y.transitionDuration,
291
- closingSince: Z,
292
- opener: Yt
293
- }), A.value?.open && A.value.close(), clearTimeout(V), kt(), Bt(), J(q, !1), X?.(), X = null;
290
+ duration: v.transitionDuration,
291
+ closingSince: X,
292
+ opener: Z
293
+ }), k.value?.open && k.value.close(), clearTimeout(B), At(), Vt(), q(K, !1), Y?.(), Y = null;
294
294
  });
295
- let Qt = i(() => I.value ? "100%" : e(st(y.size), ct.value)), $t = (e, t = "escape") => {
295
+ let Qt = i(() => F.value ? "100%" : e(ct(v.size), lt.value)), $t = (e, t = "escape") => {
296
296
  if (e.preventDefault(), !en(t)) return !1;
297
- }, en = (e) => St.value ? (H(300), !1) : (Q(e), !0), Q = (e) => {
298
- D.record(e), l.value = !1;
297
+ }, en = (e) => Ct.value ? (V(300), !1) : (Q(e), !0), Q = (e) => {
298
+ E.record(e), c.value = !1;
299
299
  }, $ = () => {
300
- R.value ? H(300) : Q("close");
300
+ L.value ? V(300) : Q("close");
301
301
  }, tn = (e) => Re(e, {
302
- show: D.show,
302
+ show: E.show,
303
303
  close: $,
304
- open: () => l.value
304
+ open: () => c.value
305
305
  });
306
- return Xe(() => Q("unmounted")), (e, t) => E.value === "canvas" ? (d(), a(Te, u({
306
+ return Ze(() => {
307
+ G.value && fe(k.value, {
308
+ id: K,
309
+ openClass: "bb-dialog--open",
310
+ duration: v.transitionDuration,
311
+ closingSince: X,
312
+ opener: Z
313
+ }), Q("unmounted");
314
+ }), (e, t) => T.value === "canvas" ? (u(), a(Te, l({
307
315
  key: 0,
308
- modelValue: l.value,
309
- "onUpdate:modelValue": t[0] ||= (e) => l.value = e,
316
+ modelValue: c.value,
317
+ "onUpdate:modelValue": t[0] ||= (e) => c.value = e,
310
318
  class: "bb-dialog__sheet",
311
- pt: h(k).forward({
319
+ pt: m(O).forward({
312
320
  root: "root",
313
321
  header: "header",
314
322
  title: "title",
@@ -317,134 +325,134 @@ var rt = [
317
325
  footer: "footer",
318
326
  close: "close",
319
327
  sheet: "root"
320
- }, h(Ce).states, () => r.offCanvasProps?.pt)
321
- }, mt.value, {
322
- onHidden: dt,
323
- onHide: t[1] ||= (e) => b("hide", h(D).closingResult()),
324
- onShow: t[2] ||= (e) => b("show"),
325
- onShown: t[3] ||= (e) => b("shown")
328
+ }, m(Ce).states, () => r.offCanvasProps?.pt)
329
+ }, ht.value, {
330
+ onHidden: ft,
331
+ onHide: t[1] ||= (e) => y("hide", m(E).closingResult()),
332
+ onShow: t[2] ||= (e) => y("show"),
333
+ onShown: t[3] ||= (e) => y("shown")
326
334
  }), We({ _: 2 }, [
327
335
  e.$slots.default ? {
328
336
  name: "default",
329
- fn: _((t) => [p(e.$slots, "default", u(t, {
330
- complete: h(D).complete,
331
- data: h(D).data.value,
332
- reset: h(D).reset
337
+ fn: g((t) => [f(e.$slots, "default", l(t, {
338
+ complete: m(E).complete,
339
+ data: m(E).data.value,
340
+ reset: m(E).reset
333
341
  }))]),
334
342
  key: "0"
335
343
  } : void 0,
336
344
  e.$slots.header ? {
337
345
  name: "header",
338
- fn: _((t) => [p(e.$slots, "header", u(t, {
339
- complete: h(D).complete,
340
- data: h(D).data.value,
341
- reset: h(D).reset
346
+ fn: g((t) => [f(e.$slots, "header", l(t, {
347
+ complete: m(E).complete,
348
+ data: m(E).data.value,
349
+ reset: m(E).reset
342
350
  }))]),
343
351
  key: "1"
344
352
  } : void 0,
345
353
  e.$slots.title ? {
346
354
  name: "title",
347
- fn: _((t) => [p(e.$slots, "title", u(t, { data: h(D).data.value }))]),
355
+ fn: g((t) => [f(e.$slots, "title", l(t, { data: m(E).data.value }))]),
348
356
  key: "2"
349
357
  } : void 0,
350
358
  e.$slots.description ? {
351
359
  name: "description",
352
- fn: _((t) => [p(e.$slots, "description", u(t, { data: h(D).data.value }))]),
360
+ fn: g((t) => [f(e.$slots, "description", l(t, { data: m(E).data.value }))]),
353
361
  key: "3"
354
362
  } : void 0,
355
363
  e.$slots.footer ? {
356
364
  name: "footer",
357
- fn: _((t) => [p(e.$slots, "footer", u(t, {
358
- complete: h(D).complete,
359
- data: h(D).data.value,
360
- reset: h(D).reset
365
+ fn: g((t) => [f(e.$slots, "footer", l(t, {
366
+ complete: m(E).complete,
367
+ data: m(E).data.value,
368
+ reset: m(E).reset
361
369
  }))]),
362
370
  key: "4"
363
371
  } : void 0
364
- ]), 1040, ["modelValue", "pt"])) : (d(), s("dialog", u({
372
+ ]), 1040, ["modelValue", "pt"])) : (u(), s("dialog", l({
365
373
  key: 1,
366
- id: h(D).domId.value || void 0,
374
+ id: m(E).domId.value || void 0,
367
375
  ref_key: "dialog",
368
- ref: A,
369
- "aria-describedby": P.value && M() ? ht : void 0,
370
- "aria-labelledby": P.value && (N() || e.$slots.header) ? j : void 0,
376
+ ref: k,
377
+ "aria-describedby": N.value && j() ? gt : void 0,
378
+ "aria-labelledby": N.value && (M() || e.$slots.header) ? A : void 0,
371
379
  class: ["bb-dialog", {
372
- "bb-dialog--open": l.value,
373
- "bb-dialog--visible": K.value,
374
- "bb-dialog--fullscreen": I.value,
375
- "bb-dialog--mobile": h(C),
376
- "bb-dialog--deny-close": z.value,
377
- "bb-dialog--covered": Y.value,
378
- "bb-dialog--above": Wt.value,
379
- "bb-dialog--covering": qt.value
380
+ "bb-dialog--open": c.value,
381
+ "bb-dialog--visible": G.value,
382
+ "bb-dialog--fullscreen": F.value,
383
+ "bb-dialog--mobile": m(S),
384
+ "bb-dialog--deny-close": R.value,
385
+ "bb-dialog--covered": J.value,
386
+ "bb-dialog--above": Gt.value,
387
+ "bb-dialog--covering": Jt.value
380
388
  }],
381
- inert: !l.value && !K.value || Y.value,
389
+ inert: !c.value && !G.value || J.value,
382
390
  style: {
383
391
  "--max-width": Qt.value,
384
- ...Jt.value,
385
- "--transition-duration": `${y.transitionDuration}ms`
392
+ ...Yt.value,
393
+ "--transition-duration": `${v.transitionDuration}ms`
386
394
  }
387
- }, Qe(h(Oe), !0), {
388
- onCancel: nt($t, ["self"]),
395
+ }, $e(m(Oe), !0), {
396
+ onCancel: rt($t, ["self"]),
389
397
  onCommand: tn,
390
- onClick: nt(Tt, ["self"]),
391
- onPointercancel: Ct,
392
- onPointerdown: wt
393
- }, h(k).rootAttrs), [P.value ? (d(), s(He, { key: 0 }, [
394
- gt() || e.$slots.header ? (d(), s("div", u({
395
- key: `body-1-${F.value}`,
398
+ onClick: rt(Et, ["self"]),
399
+ onPointercancel: wt,
400
+ onPointerdown: Tt
401
+ }, m(O).rootAttrs), [N.value ? (u(), s(He, { key: 0 }, [
402
+ _t() || e.$slots.header ? (u(), s("div", l({
403
+ key: `body-1-${P.value}`,
396
404
  class: "bb-dialog__header"
397
- }, h(k).header), [p(e.$slots, "header", {
405
+ }, m(O).header), [f(e.$slots, "header", {
398
406
  close: $,
399
- complete: h(D).complete,
400
- data: h(D).data.value,
401
- reset: h(D).reset,
407
+ complete: m(E).complete,
408
+ data: m(E).data.value,
409
+ reset: m(E).reset,
402
410
  title: r.title,
403
- titleId: j
411
+ titleId: A
404
412
  }, () => [
405
- N() ? (d(), s("span", u({
413
+ M() ? (u(), s("span", l({
406
414
  key: 0,
407
- id: j,
415
+ id: A,
408
416
  class: "bb-dialog__title"
409
- }, h(k).title), [p(e.$slots, "title", {
410
- data: h(D).data.value,
417
+ }, m(O).title), [f(e.$slots, "title", {
418
+ data: m(E).data.value,
411
419
  text: r.title
412
- }, () => [Ge(m(r.title), 1)])], 16)) : o("", !0),
413
- M() ? (d(), s("p", u({
420
+ }, () => [Ge(p(r.title), 1)])], 16)) : o("", !0),
421
+ j() ? (u(), s("p", l({
414
422
  key: 1,
415
- id: ht,
423
+ id: gt,
416
424
  class: "bb-dialog__description"
417
- }, h(k).description), [p(e.$slots, "description", {
418
- data: h(D).data.value,
425
+ }, m(O).description), [f(e.$slots, "description", {
426
+ data: m(E).data.value,
419
427
  text: r.description
420
- }, () => [Ge(m(r.description), 1)])], 16)) : o("", !0),
421
- r.hideClose ? o("", !0) : (d(), a(we, u({
428
+ }, () => [Ge(p(r.description), 1)])], 16)) : o("", !0),
429
+ r.hideClose ? o("", !0) : (u(), a(we, l({
422
430
  key: 2,
423
- "aria-label": h(S)("dialog.closeLabel").value
424
- }, ft.value), null, 16, ["aria-label"]))
431
+ "aria-label": m(x)("dialog.closeLabel").value
432
+ }, pt.value), null, 16, ["aria-label"]))
425
433
  ])], 16)) : o("", !0),
426
- (d(), s("div", u({
427
- key: `body-2-${F.value}`,
434
+ (u(), s("div", l({
435
+ key: `body-2-${P.value}`,
428
436
  class: "bb-dialog__content scrollbar-border"
429
- }, h(k).content), [Ue("div", it, [!gt() && !e.$slots.header && !r.hideClose ? (d(), a(we, u({
437
+ }, m(O).content), [Ue("div", at, [!_t() && !e.$slots.header && !r.hideClose ? (u(), a(we, l({
430
438
  key: 0,
431
- "aria-label": h(S)("dialog.closeLabel").value
432
- }, ft.value), null, 16, ["aria-label"])) : o("", !0), p(e.$slots, "default", {
439
+ "aria-label": m(x)("dialog.closeLabel").value
440
+ }, pt.value), null, 16, ["aria-label"])) : o("", !0), f(e.$slots, "default", {
433
441
  close: $,
434
- complete: h(D).complete,
435
- data: h(D).data.value,
436
- reset: h(D).reset
442
+ complete: m(E).complete,
443
+ data: m(E).data.value,
444
+ reset: m(E).reset
437
445
  })])], 16)),
438
- (d(), s("div", u({
439
- key: `body-3-${F.value}`,
446
+ (u(), s("div", l({
447
+ key: `body-3-${P.value}`,
440
448
  class: "bb-dialog__footer"
441
- }, h(k).footer), [p(e.$slots, "footer", {
449
+ }, m(O).footer), [f(e.$slots, "footer", {
442
450
  close: $,
443
- complete: h(D).complete,
444
- data: h(D).data.value,
445
- reset: h(D).reset
446
- }, () => [Ke(xt)])], 16))
447
- ], 64)) : o("", !0), Ue("span", at, m(h(Et).text.value), 1)], 16, rt));
451
+ complete: m(E).complete,
452
+ data: m(E).data.value,
453
+ reset: m(E).reset
454
+ }, () => [Ke(St)])], 16))
455
+ ], 64)) : o("", !0), Ue("span", ot, p(m(Dt).text.value), 1)], 16, it));
448
456
  }
449
457
  });
450
- export { v as default };
458
+ export { _ as default };