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
package/dist/vite.js CHANGED
@@ -1,35 +1,37 @@
1
1
  import { DEFAULT_MAX_FILE_SIZE as e, IconScanner as t, extractIconCandidates as n, globToRegExp as r, hasGlobMagic as i, iconLiteralRegExp as a, iconScanCacheFile as o } from "./icon-scan.js";
2
2
  import { BB_LAYERS as s, TAILWIND_V3_LAYERS as c, TAILWIND_V4_LAYERS as l, validateCssLayers as u } from "./utils/cssLayers.js";
3
- import { BUILTIN_LOCALE_KEYS as d, DICTIONARY_HOME as f, LOCALE_TABLE as p, aliasesOf as ee, localeKeyOf as m, nearestLocaleKey as h } from "./i18n/regions.js";
4
- import { regionHints as g } from "./i18n/regionHints.js";
5
- import { validatePtGlobalMap as te, validatePtScopes as ne } from "./utils/passthrough.js";
6
- import { DEFAULT_VARIANT_REGISTRIES as _, VARIANT_PT_COMPONENTS as v, VARIANT_REGISTRY_OPTIONS as y, customVariants as re, emptyStringControls as ie, isInTypeScriptProgram as ae, projectVariantRegistries as oe, resolveProjectDtsPath as se, variantIconsOf as ce, writeProjectDts as le } from "./project-dts.js";
3
+ import { BUILTIN_LOCALE_KEYS as d, DICTIONARY_HOME as f, LOCALE_TABLE as p, aliasesOf as ee, localeKeyOf as m, nearestLocaleKey as te } from "./i18n/regions.js";
4
+ import { regionHints as ne } from "./i18n/regionHints.js";
5
+ import { validatePtGlobalMap as re } from "./utils/passthrough.js";
6
+ import { closestName as ie, ptOfComponents as ae, validateComponentsMap as oe, validateConfigScopes as se, validateRemovedOptions as ce, withoutPt as le } from "./utils/configDefaults.js";
7
+ import { DEFAULT_VARIANT_REGISTRIES as h, VARIANT_COMPONENTS as ue, VARIANT_PT_COMPONENTS as g, VARIANT_REGISTRY_OPTIONS as _, customVariants as de, emptyStringControls as fe, flattenVariants as pe, isInTypeScriptProgram as me, projectVariantRegistries as he, resolveProjectDtsPath as ge, variantIconsOf as _e, variantOptionLabel as v, writeProjectDts as ve } from "./project-dts.js";
8
+ import { DEFAULTS_ALLOWLIST as y } from "./types/ConfigDefaults.js";
7
9
  import { existsSync as b, mkdirSync as x, readFileSync as S, readdirSync as C, writeFileSync as w } from "node:fs";
8
- import { basename as ue, dirname as T, isAbsolute as E, join as D, relative as O, resolve as k } from "node:path";
9
- import { fileURLToPath as de } from "node:url";
10
- import { createRequire as A } from "node:module";
11
- import { convertParsedSVG as j, getIconData as fe, iconToHTML as M, iconToSVG as pe, parseSVGContent as me, stringToIcon as he } from "@iconify/utils";
10
+ import { basename as ye, dirname as T, isAbsolute as E, join as D, relative as be, resolve as O } from "node:path";
11
+ import { fileURLToPath as xe } from "node:url";
12
+ import { createRequire as k } from "node:module";
13
+ import { convertParsedSVG as Se, getIconData as A, iconToHTML as j, iconToSVG as M, parseSVGContent as Ce, stringToIcon as we } from "@iconify/utils";
12
14
  // src/vite-plugin.ts
13
- function ge(e) {
14
- let t = pe(e, {
15
+ function Te(e) {
16
+ let t = M(e, {
15
17
  width: "unset",
16
18
  height: "unset"
17
19
  });
18
- return M(t.body, t.attributes);
20
+ return j(t.body, t.attributes);
19
21
  }
20
- function N(e, t) {
22
+ function Ee(e, t) {
21
23
  try {
22
- let n = A(D(e, "package.json"));
24
+ let n = k(D(e, "package.json"));
23
25
  return JSON.parse(S(n.resolve(`${t}/icons.json`), "utf-8"));
24
26
  } catch {
25
27
  return null;
26
28
  }
27
29
  }
28
- function _e(e, t) {
30
+ function De(e, t) {
29
31
  return e !== "heroicons" || !/-(?:20|16)-/.test(t);
30
32
  }
31
- function ve(e) {
32
- let t = k(e);
33
+ function N(e) {
34
+ let t = O(e);
33
35
  for (;;) {
34
36
  let e = D(t, "node_modules", "@iconify-json");
35
37
  if (b(e)) return e;
@@ -38,37 +40,37 @@ function ve(e) {
38
40
  t = n;
39
41
  }
40
42
  }
41
- function ye(e) {
43
+ function Oe(e) {
42
44
  try {
43
- let t = ve(e);
45
+ let t = N(e);
44
46
  if (!t) return [];
45
47
  let n = T(T(t));
46
48
  return C(t, { encoding: "utf-8" }).flatMap((t) => {
47
- let r = N(n, `@iconify-json/${t}`) ?? N(e, `@iconify-json/${t}`);
49
+ let r = Ee(n, `@iconify-json/${t}`) ?? Ee(e, `@iconify-json/${t}`);
48
50
  return r ? [r] : [];
49
51
  });
50
52
  } catch {
51
53
  return [];
52
54
  }
53
55
  }
54
- function be(e) {
56
+ function ke(e) {
55
57
  try {
56
- let t = A(D(e, "package.json")), n = JSON.parse(S(t.resolve("@iconify/collections/collections.json"), "utf-8"));
58
+ let t = k(D(e, "package.json")), n = JSON.parse(S(t.resolve("@iconify/collections/collections.json"), "utf-8"));
57
59
  return new Set(Object.keys(n));
58
60
  } catch {
59
61
  return /* @__PURE__ */ new Set();
60
62
  }
61
63
  }
62
- var xe = "(key, loaded, known, all, ip) => {\n const c = key.indexOf(':'); const p = key.slice(0, c); const n = key.slice(c + 1);\n if (p === 'local' || !/^[a-z][a-z0-9-]*$/.test(p) || !/^[a-z0-9][a-z0-9-]*$/.test(n)) return null;\n const installed = loaded.size ? `installed sets: ${[...loaded].join(', ')}` : 'no @iconify-json/* set is installed';\n const fix = `If the name is composed at runtime or comes from a database, add it to the plugin's \\`iconWhitelist\\``;\n if (loaded.has(p)) {\n const set = all(p);\n if (set && set.includes(n)) return `[bitboss-ui] icon \"${key}\" exists in the ${p} icon set but is not bundled: no scanned source file contains the literal \"${key}\" and it is not in \\`iconWhitelist\\`. Write it as a literal, or — if the name is composed at runtime or comes from a database — add it to the plugin's \\`iconWhitelist\\`.`;\n const names = set ?? known(p);\n const sq = n.replace(/-/g, '');\n const sug = names.find((x) => x.replace(/-/g, '') === sq) ?? (n.length >= 3 ? names.find((x) => x.includes(n) || (x.length >= 3 && n.includes(x))) : undefined);\n const hint = sug ? ` — did you mean \"${p}:${sug}\"?` : '';\n if (set) return `[bitboss-ui] icon \"${key}\" does not exist in the ${p} icon set${hint}`;\n return `[bitboss-ui] icon \"${key}\" is not bundled: it is not among the ${p} names found as literals in scanned source, nor in \\`iconWhitelist\\`${hint}. ${fix}; if it is a typo, fix the name.`;\n }\n const pkg = `@iconify-json/${p}`; const cmd = `run: npm install -D ${pkg}`;\n if (ip.has(p)) return `[bitboss-ui] \"${key}\" requires \"${pkg}\" — ${cmd} (${installed})`;\n if (ip.size) return `[bitboss-ui] \"${key}\" — \"${p}\" is neither an installed icon set nor a known Iconify prefix (${installed})`;\n return `[bitboss-ui] \"${key}\" — no installed icon set has the prefix \"${p}\" (${installed}). If \"${p}\" is an Iconify set, ${cmd}`;\n}", P = Function(`return ${xe};`)();
63
- function Se(e, t) {
64
- return [...Object.keys(e.icons), ...Object.keys(e.aliases ?? {})].filter((n) => (!t || t(n)) && fe(e, n) !== null);
64
+ var Ae = "(key, loaded, known, all, ip) => {\n const c = key.indexOf(':'); const p = key.slice(0, c); const n = key.slice(c + 1);\n if (p === 'local' || !/^[a-z][a-z0-9-]*$/.test(p) || !/^[a-z0-9][a-z0-9-]*$/.test(n)) return null;\n const installed = loaded.size ? `installed sets: ${[...loaded].join(', ')}` : 'no @iconify-json/* set is installed';\n const fix = `If the name is composed at runtime or comes from a database, add it to the plugin's \\`iconWhitelist\\``;\n if (loaded.has(p)) {\n const set = all(p);\n if (set && set.includes(n)) return `[bitboss-ui] icon \"${key}\" exists in the ${p} icon set but is not bundled: no scanned source file contains the literal \"${key}\" and it is not in \\`iconWhitelist\\`. Write it as a literal, or — if the name is composed at runtime or comes from a database — add it to the plugin's \\`iconWhitelist\\`.`;\n const names = set ?? known(p);\n const sq = n.replace(/-/g, '');\n const sug = names.find((x) => x.replace(/-/g, '') === sq) ?? (n.length >= 3 ? names.find((x) => x.includes(n) || (x.length >= 3 && n.includes(x))) : undefined);\n const hint = sug ? ` — did you mean \"${p}:${sug}\"?` : '';\n if (set) return `[bitboss-ui] icon \"${key}\" does not exist in the ${p} icon set${hint}`;\n return `[bitboss-ui] icon \"${key}\" is not bundled: it is not among the ${p} names found as literals in scanned source, nor in \\`iconWhitelist\\`${hint}. ${fix}; if it is a typo, fix the name.`;\n }\n const pkg = `@iconify-json/${p}`; const cmd = `run: npm install -D ${pkg}`;\n if (ip.has(p)) return `[bitboss-ui] \"${key}\" requires \"${pkg}\" — ${cmd} (${installed})`;\n if (ip.size) return `[bitboss-ui] \"${key}\" — \"${p}\" is neither an installed icon set nor a known Iconify prefix (${installed})`;\n return `[bitboss-ui] \"${key}\" — no installed icon set has the prefix \"${p}\" (${installed}). If \"${p}\" is an Iconify set, ${cmd}`;\n}", P = Function(`return ${Ae};`)();
65
+ function je(e, t) {
66
+ return [...Object.keys(e.icons), ...Object.keys(e.aliases ?? {})].filter((n) => (!t || t(n)) && A(e, n) !== null);
65
67
  }
66
- function Ce(e, t, n, a) {
68
+ function Me(e, t, n, a) {
67
69
  let o = /* @__PURE__ */ new Set(), s = [], c = new Set(t.keys()), l = /* @__PURE__ */ new Map(), u = (e) => {
68
70
  let r = l.get(e);
69
71
  if (!r) {
70
72
  let i = t.get(e);
71
- r = i ? Se(i, n.get(e)) : [], l.set(e, r);
73
+ r = i ? je(i, n.get(e)) : [], l.set(e, r);
72
74
  }
73
75
  return r;
74
76
  };
@@ -96,14 +98,14 @@ function Ce(e, t, n, a) {
96
98
  continue;
97
99
  }
98
100
  let ee = t.get(f), m = n.get(f);
99
- fe(ee, p) && (!m || m(p)) ? o.add(e) : s.push(P(e, c, u, u, new Set(a)) ?? `[bitboss-ui] iconWhitelist entry "${l}" does not resolve`);
101
+ A(ee, p) && (!m || m(p)) ? o.add(e) : s.push(P(e, c, u, u, new Set(a)) ?? `[bitboss-ui] iconWhitelist entry "${l}" does not resolve`);
100
102
  }
101
103
  return {
102
104
  icons: [...o],
103
105
  errors: s
104
106
  };
105
107
  }
106
- function we(e, t) {
108
+ function Ne(e, t) {
107
109
  let n = D(e, "node_modules", ".cache", "bitboss-ui", "version"), r = null;
108
110
  try {
109
111
  r = S(n, "utf-8").trim() || null;
@@ -114,72 +116,52 @@ function we(e, t) {
114
116
  } catch {}
115
117
  return !r || t === "0" ? null : `[bitboss-ui] upgraded ${r} → ${t}. What breaks between them: npx bitboss-ui changelog --since ${r}`;
116
118
  }
117
- function Te(e) {
118
- let t = O(process.cwd(), e);
119
+ function Pe(e) {
120
+ let t = be(process.cwd(), e);
119
121
  return t && !t.startsWith("..") && !E(t) ? t : e;
120
122
  }
121
123
  var F = /* @__PURE__ */ new Set();
122
- function Ee(e) {
124
+ function Fe(e) {
123
125
  try {
124
126
  return JSON.parse(S(D(e, "..", "package.json"), "utf-8")).version ?? "0";
125
127
  } catch {
126
128
  return "0";
127
129
  }
128
130
  }
129
- var I = T(de(import.meta.url));
130
- function L(e, t) {
131
- let n = Array.from({ length: t.length + 1 }, (e, t) => t);
132
- for (let r = 1; r <= e.length; r++) {
133
- let i = n[0];
134
- n[0] = r;
135
- for (let a = 1; a <= t.length; a++) {
136
- let o = n[a];
137
- n[a] = Math.min(n[a] + 1, n[a - 1] + 1, i + (e[r - 1] === t[a - 1] ? 0 : 1)), i = o;
138
- }
139
- }
140
- return n[t.length];
141
- }
142
- var R = (e, t) => {
143
- let n = null, r = Infinity;
144
- for (let i of t) {
145
- let t = L(e.toLowerCase(), i.toLowerCase());
146
- t < r && (r = t, n = i);
147
- }
148
- return n && r <= Math.max(2, Math.floor(e.length / 3)) ? n : null;
149
- }, z = () => {
131
+ var I = T(xe(import.meta.url)), Ie = () => {
150
132
  for (let e of [D(I, "ai", "components.json"), D(I, "..", "dist", "ai", "components.json")]) if (b(e)) return e;
151
133
  return null;
152
- }, B = (e) => {
134
+ }, Le = (e) => {
153
135
  try {
154
136
  let { components: t } = JSON.parse(S(e, "utf-8"));
155
137
  return Array.isArray(t) ? new Map(t.map((e) => [e.name, e])) : null;
156
138
  } catch {
157
139
  return null;
158
140
  }
159
- }, De = (e) => Object.keys(v).filter((t) => v[t].includes(e));
160
- function Oe(e, t = z()) {
161
- let n = t ? B(t) : null;
141
+ }, Re = (e) => Object.keys(g).filter((t) => g[t].includes(e));
142
+ function ze(e, t = Ie()) {
143
+ let n = t ? Le(t) : null;
162
144
  if (!n) return null;
163
- for (let t of Object.keys(v)) {
164
- let r = y[t], i = re(_[t], e[r]);
165
- if (i.length) for (let e of v[t]) {
145
+ for (let t of Object.keys(g)) {
146
+ let r = _[t], i = de(h[t], e[r]);
147
+ if (i.length) for (let e of g[t]) {
166
148
  let t = n.get(e);
167
149
  if (!t) continue;
168
- let a = new Set(De(e).flatMap((e) => [..._[e]])), o = new Set(t.props.map((e) => e.name.split(":")).filter((e) => e[0] === "pt" && e[2] && !a.has(e[2])).map((e) => e[2])), s = i.find((e) => o.has(e));
169
- if (s) return `[bitboss-ui] ${r}: "${s}" is a passthrough state of ${e}, so \`pt:<part>:${s}\` could not tell the state from the variant. Give the variant another name.`;
150
+ let a = new Set(Re(e).flatMap((e) => [...h[e]])), o = new Set(t.props.map((e) => e.name.split(":")).filter((e) => e[0] === "pt" && e[2] && !a.has(e[2])).map((e) => e[2])), s = i.find((e) => o.has(e));
151
+ if (s) return `[bitboss-ui] ${v(r)}: "${s}" is a passthrough state of ${e}, so \`pt:<part>:${s}\` could not tell the state from the variant. Give the variant another name.`;
170
152
  }
171
153
  }
172
154
  return null;
173
155
  }
174
- function ke(e, t = z(), n = "pt", r = {}) {
156
+ function Be(e, t = Ie(), n = "pt", r = {}) {
175
157
  if (!e || !t) return null;
176
- let i = B(t);
158
+ let i = Le(t);
177
159
  if (!i) return null;
178
160
  for (let [t, a] of Object.entries(e)) {
179
161
  let e = i.get(t);
180
162
  if (!e) {
181
- let e = R(t, [...i.keys()]);
182
- return `[bitboss-ui] ${n}.${t}: no component is called "${t}"${e ? ` — did you mean "${e}"?` : ""}. A pt map is keyed by component name (ai/guides/passthrough.md).`;
163
+ let e = ie(t, [...i.keys()]);
164
+ return `[bitboss-ui] ${n}.${t}: no component is called "${t}"${e ? ` — did you mean "${e}"?` : ""}. The map is keyed by component name (ai/guides/passthrough.md).`;
183
165
  }
184
166
  let o = e.props.map((e) => e.name).filter((e) => e.startsWith("pt:"));
185
167
  if (!o.length) return `[bitboss-ui] ${n}.${t}: ${t} declares no passthrough parts.`;
@@ -190,28 +172,28 @@ function ke(e, t = z(), n = "pt", r = {}) {
190
172
  if (i) {
191
173
  let [, r, a] = i, s = a.split("&"), c = s.find((e, t) => s.indexOf(e) !== t), l = s.filter((e) => !o.includes(`pt:${r}:${e}`));
192
174
  if (s.every(Boolean) && !c && !l.length) continue;
193
- return `[bitboss-ui] ${n}.${t}["${e}"] matches nothing and would be ignored. ${s.some((e) => !e) ? "A state is empty." : c ? `"${c}" is written twice.` : l.map((e) => {
175
+ return `[bitboss-ui] ${n}.${t}.pt["${e}"] matches nothing and would be ignored. ${s.some((e) => !e) ? "A state is empty." : c ? `"${c}" is written twice.` : l.map((e) => {
194
176
  let n = o.filter((t) => t.endsWith(`:${e}`)).map((e) => e.split(":")[1]);
195
177
  return n.length ? `"${e}" never reaches "${r}" on ${t}; it reaches ${n.join(", ")}.` : `"${e}" is not a state of ${t}.`;
196
178
  }).join(" ")}`;
197
179
  }
198
180
  let [a, l] = e.split(":");
199
- if (l && e.split(":").length === 2 && De(t).some((e) => re(_[e], r[y[e]]).includes(l) && _[e].some((e) => o.includes(`pt:${a}:${e}`)))) continue;
181
+ if (l && e.split(":").length === 2 && Re(t).some((e) => de(h[e], r[_[e]]).includes(l) && h[e].some((e) => o.includes(`pt:${a}:${e}`)))) continue;
200
182
  let u = l && s.includes(a) ? o.filter((e) => e.endsWith(`:${l}`)).map((e) => e.split(":")[1]) : [];
201
- return `[bitboss-ui] ${n}.${t}["${e}"] matches nothing and would be ignored. ${u.length ? `"${l}" never reaches "${a}" on ${t}; it reaches ${u.join(", ")}.` : s.includes(a) ? c.length === 0 ? `${t} has no states — use "${a}" alone.` : `"${l}" is not a state of ${t}. States: ${c.join(", ")}.` : `"${a}" is not a part of ${t}. Parts: ${s.join(", ")}.`}`;
183
+ return `[bitboss-ui] ${n}.${t}.pt["${e}"] matches nothing and would be ignored. ${u.length ? `"${l}" never reaches "${a}" on ${t}; it reaches ${u.join(", ")}.` : s.includes(a) ? c.length === 0 ? `${t} has no states — use "${a}" alone.` : `"${l}" is not a state of ${t}. States: ${c.join(", ")}.` : `"${a}" is not a part of ${t}. Parts: ${s.join(", ")}.`}`;
202
184
  }
203
185
  }
204
186
  return null;
205
187
  }
206
- var Ae = D(I, "i18n", "locales"), je = (e) => {
207
- let t = h(e);
188
+ var L = D(I, "i18n", "locales"), Ve = (e) => {
189
+ let t = te(e);
208
190
  return t ? ` — did you mean '${t}'?` : "";
209
191
  };
210
- function Me(e) {
192
+ function He(e) {
211
193
  let t = e.customLocaleKeys ?? [], n = m(e.locale) ?? "en", r = [], i = /* @__PURE__ */ new Set([n, "en"]);
212
194
  for (let n of e.enabledLocales ?? []) {
213
195
  let e = m(n);
214
- e ? i.add(e) : t.includes(n) || r.push(`[bitboss-ui] \`enabledLocales\` entry '${n}' is not a built-in locale${je(n)} — ignored.`);
196
+ e ? i.add(e) : t.includes(n) || r.push(`[bitboss-ui] \`enabledLocales\` entry '${n}' is not a built-in locale${Ve(n)} — ignored.`);
215
197
  }
216
198
  return {
217
199
  enabled: [...i].sort(),
@@ -219,23 +201,23 @@ function Me(e) {
219
201
  warnings: r
220
202
  };
221
203
  }
222
- function Ne(e) {
204
+ function Ue(e) {
223
205
  let t = /* @__PURE__ */ new Map();
224
206
  for (let n of e) {
225
207
  let e = p[n].dictionary;
226
- t.has(e) || t.set(e, JSON.parse(S(D(Ae, `${e}.json`), "utf-8")));
208
+ t.has(e) || t.set(e, JSON.parse(S(D(L, `${e}.json`), "utf-8")));
227
209
  }
228
210
  let n = [...t].map(([e, t]) => `\t${JSON.stringify(e)}: ${JSON.stringify(t)},`), r = [];
229
211
  for (let n of e) {
230
212
  let { tag: e, dictionary: i } = p[n];
231
213
  if (f[i] === e) continue;
232
- let a = g(t.get(i).datePickerInput, e);
214
+ let a = ne(t.get(i).datePickerInput, e);
233
215
  a && r.push(`\t${JSON.stringify(n)}: ${JSON.stringify({ datePickerInput: a })},`);
234
216
  }
235
217
  return `export const locales = {\n${n.join("\n")}\n};\nexport const regionFormats = {\n${r.join("\n")}\n};\n`;
236
218
  }
237
- function Pe(e) {
238
- let t = A(import.meta.url), n = [], r = [];
219
+ function We(e) {
220
+ let t = k(import.meta.url), n = [], r = [];
239
221
  for (let i of e) {
240
222
  let e = m(i), a = e ? p[e].dayjs : i;
241
223
  if (a !== null) try {
@@ -252,22 +234,22 @@ function Pe(e) {
252
234
  missing: r
253
235
  };
254
236
  }
255
- function Fe(e) {
237
+ function Ge(e) {
256
238
  let t = [...new Set(e.map(({ pack: e }) => e))];
257
239
  return `${t.map((e, t) => `import l${t} from ${JSON.stringify(`dayjs/locale/${e}`)};`).join("\n")}\nexport const dayjsLocales = {\n${e.map(({ key: e, pack: n }) => `\t${JSON.stringify(e)}: l${t.indexOf(n)},`).join("\n")}\n};\n`;
258
240
  }
259
- function Ie(e, t, n = I, r) {
241
+ function Ke(e, t, n = I, r) {
260
242
  if (e === !1) return "export default null;\n";
261
243
  let i;
262
244
  if (e === void 0) {
263
245
  let e = D(n, "passthrough-deduper.js");
264
246
  i = b(e) ? e : D(n, "utils/passthroughDeduper.ts");
265
- let a = r ?? Be(t);
247
+ let a = r ?? Xe(t);
266
248
  if (Object.keys(a).length) return `import { createPassthroughDeduper } from ${JSON.stringify(i)};\nexport default createPassthroughDeduper(${JSON.stringify(a)});\n`;
267
- } else i = e.startsWith(".") || E(e) ? k(t, e) : e;
249
+ } else i = e.startsWith(".") || E(e) ? O(t, e) : e;
268
250
  return `export { default } from ${JSON.stringify(i)};\n`;
269
251
  }
270
- var V = [
252
+ var R = [
271
253
  "inset-shadow",
272
254
  "drop-shadow",
273
255
  "text-shadow",
@@ -286,7 +268,7 @@ var V = [
286
268
  "ease",
287
269
  "font",
288
270
  "text"
289
- ], H = /* @__PURE__ */ new Set([
271
+ ], z = /* @__PURE__ */ new Set([
290
272
  "node_modules",
291
273
  "dist",
292
274
  "build",
@@ -299,28 +281,28 @@ var V = [
299
281
  "public",
300
282
  "coverage"
301
283
  ]);
302
- function Le(e) {
284
+ function qe(e) {
303
285
  let t = {};
304
286
  for (let n of e.matchAll(/@theme\b[^{]*\{([^}]*)\}/g)) for (let [, e] of n[1].matchAll(/--([a-z0-9-]+)\s*:/g)) {
305
287
  if (e.includes("--")) continue;
306
- let n = V.find((t) => e.startsWith(`${t}-`));
288
+ let n = R.find((t) => e.startsWith(`${t}-`));
307
289
  n && (t[n] ??= /* @__PURE__ */ new Set()).add(e.slice(n.length + 1));
308
290
  }
309
291
  return Object.fromEntries(Object.entries(t).map(([e, t]) => [e, [...t]]));
310
292
  }
311
- function U(e) {
293
+ function B(e) {
312
294
  let t = {};
313
295
  for (let n of e) for (let [e, r] of Object.entries(n)) for (let n of r) (t[e] ??= /* @__PURE__ */ new Set()).add(n);
314
296
  return Object.fromEntries(Object.keys(t).sort().map((e) => [e, [...t[e]].sort()]));
315
297
  }
316
- function Re(e, t) {
298
+ function Je(e, t) {
317
299
  if (!t.endsWith(".css")) return !1;
318
- let n = O(e, t);
300
+ let n = be(e, t);
319
301
  if (!n || n.startsWith("..") || E(n)) return !1;
320
302
  let r = n.split(/[\\/]/);
321
- return r.length <= 7 && !r.some((e) => H.has(e));
303
+ return r.length <= 7 && !r.some((e) => z.has(e));
322
304
  }
323
- function ze(e) {
305
+ function Ye(e) {
324
306
  let t = /* @__PURE__ */ new Map(), n = (e, r) => {
325
307
  let i = (() => {
326
308
  try {
@@ -331,39 +313,36 @@ function ze(e) {
331
313
  })();
332
314
  for (let a of i) {
333
315
  let i = D(e, a.name);
334
- if (a.isDirectory()) r < 6 && !H.has(a.name) && n(i, r + 1);
316
+ if (a.isDirectory()) r < 6 && !z.has(a.name) && n(i, r + 1);
335
317
  else if (a.name.endsWith(".css")) {
336
- let e = W(i);
318
+ let e = V(i);
337
319
  Object.keys(e).length && t.set(i, e);
338
320
  }
339
321
  }
340
322
  };
341
323
  return e && n(e, 0), t;
342
324
  }
343
- var W = (e) => {
325
+ var V = (e) => {
344
326
  try {
345
- return Le(S(e, "utf-8"));
327
+ return qe(S(e, "utf-8"));
346
328
  } catch {
347
329
  return {};
348
330
  }
349
331
  };
350
- function Be(e) {
351
- return U(ze(e).values());
332
+ function Xe(e) {
333
+ return B(Ye(e).values());
352
334
  }
353
- function Ve(e) {
335
+ function Ze(e) {
354
336
  return e === void 0 || e === !1 || typeof e == "string" && e.trim() ? null : "[bitboss-ui] passthroughDeduper must be false or a module path whose default export is (className: string) => string, e.g. passthroughDeduper: './src/utils/cn.ts'. Remove the key to use the bundled tailwind-merge.";
355
337
  }
356
- function He(e) {
357
- return e === void 0 || typeof e == "number" && Number.isInteger(e) && e >= 0 ? null : `[bitboss-ui] autoDisableWritingThreshold must be a non-negative integer (received ${JSON.stringify(e)}); 0 turns the 'auto' rule off. Remove the key for the default, 6.`;
358
- }
359
- var Ue = "@inertiajs/vue3", We = [
338
+ var Qe = "@inertiajs/vue3", H = [
360
339
  "dependencies",
361
340
  "devDependencies",
362
341
  "peerDependencies",
363
342
  "optionalDependencies"
364
343
  ];
365
- function Ge(e) {
366
- let t = k(e);
344
+ function U(e) {
345
+ let t = O(e);
367
346
  for (;;) {
368
347
  let e = D(t, "package.json");
369
348
  if (b(e)) try {
@@ -376,14 +355,14 @@ function Ge(e) {
376
355
  t = n;
377
356
  }
378
357
  }
379
- function Ke(e, t) {
380
- return We.some((n) => {
358
+ function W(e, t) {
359
+ return H.some((n) => {
381
360
  let r = e[n];
382
361
  return typeof r == "object" && !!r && t in r;
383
362
  });
384
363
  }
385
- function qe(e, t) {
386
- let n = t.split("/"), r = k(e);
364
+ function $e(e, t) {
365
+ let n = t.split("/"), r = O(e);
387
366
  for (;;) {
388
367
  if (b(D(r, "node_modules", ...n))) return !0;
389
368
  let e = T(r);
@@ -391,14 +370,14 @@ function qe(e, t) {
391
370
  r = e;
392
371
  }
393
372
  }
394
- function Je(e) {
395
- let t = Ge(e);
396
- return !t || !Ke(t, Ue) ? !1 : qe(e, Ue);
373
+ function et(e) {
374
+ let t = U(e);
375
+ return !t || !W(t, Qe) ? !1 : $e(e, Qe);
397
376
  }
398
- function Ye(e) {
377
+ function tt(e) {
399
378
  return e ? "export { Link as InertiaLink } from '@inertiajs/vue3';\n" : "export const InertiaLink = null;\n";
400
379
  }
401
- var Xe = [
380
+ var nt = [
402
381
  "@floating-ui/vue",
403
382
  "@tanstack/vue-virtual",
404
383
  "@vueuse/core",
@@ -414,34 +393,34 @@ var Xe = [
414
393
  "mime",
415
394
  "object-code",
416
395
  "tailwind-merge"
417
- ], Ze = ["bitboss-ui"], Qe = Ue, G = "bitboss-ui";
418
- function $e(e) {
396
+ ], rt = ["bitboss-ui"], it = Qe, G = "bitboss-ui";
397
+ function at(e) {
419
398
  return typeof e == "string" ? e === G : (e.lastIndex = 0, e.test(G));
420
399
  }
421
- function et(e) {
422
- return e === !0 ? [] : e == null || e === !1 ? [G] : (Array.isArray(e) ? e : [e]).some($e) ? [] : [G];
400
+ function ot(e) {
401
+ return e === !0 ? [] : e == null || e === !1 ? [G] : (Array.isArray(e) ? e : [e]).some(at) ? [] : [G];
423
402
  }
424
- var tt = "virtual:bitboss-ui/icons", nt = "\0virtual:bitboss-ui/icons", rt = "virtual:bitboss-ui/config", it = "\0virtual:bitboss-ui/config", at = "virtual:bitboss-ui/dayjs-locales", ot = "\0virtual:bitboss-ui/dayjs-locales", st = "virtual:bitboss-ui/locales", ct = "\0virtual:bitboss-ui/locales", lt = "virtual:bitboss-ui/styles", ut = "\0virtual:bitboss-ui/styles", dt = "virtual:bitboss-ui/vee-validate-missing", ft = "\0virtual:bitboss-ui/vee-validate-missing", pt = "bitboss-ui:vee-validate-missing", K = "[bitboss-ui] BbForm needs vee-validate, which is not installed: run `npm i vee-validate` (an optional peer, >=4.10.0 <5). An app without forms needs nothing.", mt = ["useForm", "useField"];
425
- function ht() {
403
+ var st = "virtual:bitboss-ui/icons", ct = "\0virtual:bitboss-ui/icons", lt = "virtual:bitboss-ui/config", ut = "\0virtual:bitboss-ui/config", dt = "virtual:bitboss-ui/dayjs-locales", ft = "\0virtual:bitboss-ui/dayjs-locales", pt = "virtual:bitboss-ui/locales", mt = "\0virtual:bitboss-ui/locales", ht = "virtual:bitboss-ui/styles", gt = "\0virtual:bitboss-ui/styles", _t = "virtual:bitboss-ui/vee-validate-missing", vt = "\0virtual:bitboss-ui/vee-validate-missing", yt = "bitboss-ui:vee-validate-missing", bt = "[bitboss-ui] BbForm needs vee-validate, which is not installed: run `npm i vee-validate` (an optional peer, >=4.10.0 <5). An app without forms needs nothing.", xt = ["useForm", "useField"];
404
+ function St() {
426
405
  return [
427
- `const fail = () => { throw new Error(${JSON.stringify(K)} + ' (${pt})'); };`,
428
- ...mt.map((e) => `export const ${e} = fail;`),
406
+ `const fail = () => { throw new Error(${JSON.stringify(bt)} + ' (${yt})'); };`,
407
+ ...xt.map((e) => `export const ${e} = fail;`),
429
408
  ""
430
409
  ].join("\n");
431
410
  }
432
- function gt(e) {
411
+ function Ct(e) {
433
412
  return /import\s*\{[^}]*\bBbForm\b[^}]*\}\s*from\s*['"]bitboss-ui(?:\/validated)?['"]/.test(e) || /<(?:BbForm|bb-form)[\s>/]/.test(e) || /resolveComponent\(\s*['"](?:BbForm|bb-form)['"]/.test(e);
434
413
  }
435
- var _t = "virtual:bitboss-ui/link", vt = "\0virtual:bitboss-ui/link", yt = "virtual:bitboss-ui/passthrough-deduper", bt = "\0virtual:bitboss-ui/passthrough-deduper";
436
- function xt() {
414
+ var wt = "virtual:bitboss-ui/link", Tt = "\0virtual:bitboss-ui/link", Et = "virtual:bitboss-ui/passthrough-deduper", Dt = "\0virtual:bitboss-ui/passthrough-deduper";
415
+ function Ot() {
437
416
  let e = D(I, "styles.css");
438
417
  return b(e) ? S(e, "utf-8") : ["main.css", "variables.css"].map((e) => {
439
418
  let t = D(I, "assets/css", e);
440
419
  return b(t) ? S(t, "utf-8") : "";
441
420
  }).join("\n");
442
421
  }
443
- var St = "local", Ct = "./assets/icons";
444
- function wt(e) {
422
+ var kt = "local", At = "./assets/icons";
423
+ function jt(e) {
445
424
  let t = {};
446
425
  try {
447
426
  let n = C(e, {
@@ -449,15 +428,15 @@ function wt(e) {
449
428
  encoding: "utf-8"
450
429
  }).filter((e) => e.endsWith(".svg"));
451
430
  for (let r of n) {
452
- let n = ue(r, ".svg");
431
+ let n = ye(r, ".svg");
453
432
  try {
454
- let i = me(S(D(e, r), "utf-8")), a = i && j(i);
433
+ let i = Ce(S(D(e, r), "utf-8")), a = i && Se(i);
455
434
  a && (t[n] = a);
456
435
  } catch {}
457
436
  }
458
437
  } catch {}
459
438
  return {
460
- prefix: St,
439
+ prefix: kt,
461
440
  info: {
462
441
  name: "Local",
463
442
  author: { name: "Icons automatically inferred from the icons installed locally" },
@@ -466,38 +445,38 @@ function wt(e) {
466
445
  icons: t
467
446
  };
468
447
  }
469
- var q = "./.vscode/bitboss-ui.local-icons.json", J = "iconify.customCollectionJsonPaths", Y = "tailwindCSS.classAttributes", X = "tailwindCSS.experimental.classRegex", Tt = "editor.quickSuggestions", Z = "pt(?::[\\w&-]+)*", Et = [
448
+ var K = "./.vscode/bitboss-ui.local-icons.json", q = "iconify.customCollectionJsonPaths", J = "tailwindCSS.classAttributes", Y = "tailwindCSS.experimental.classRegex", Mt = "editor.quickSuggestions", X = "pt(?::[\\w&-]+)*", Nt = [
470
449
  "class",
471
450
  "className",
472
451
  "ngClass",
473
452
  "class:list"
474
- ], Dt = "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*", Ot = [
453
+ ], Pt = "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*", Ft = [
475
454
  "\\?\\s*'([^\\s':][^']*)'",
476
455
  "'([^\\s':][^']*)'(?!\\s*:)",
477
456
  "\\?\\s*\"([^\\s\":][^\"]*)\"",
478
457
  "\"([^\\s\":][^\"]*)\"(?!\\s*:)",
479
458
  "\\?\\s*`([^\\s`:][^`]*)`",
480
459
  "`([^\\s`:][^`]*)`(?!\\s*:)"
481
- ], Q = [
482
- `${Dt}"([\\s\\S]*?)"`,
483
- `${Dt}'([\\s\\S]*?)'`,
460
+ ], Z = [
461
+ `${Pt}"([\\s\\S]*?)"`,
462
+ `${Pt}'([\\s\\S]*?)'`,
484
463
  "\\bpt\\s*:\\s*\\{([\\s\\S]*?)\\}"
485
- ].flatMap((e) => Ot.map((t) => [e, t])), kt = { strings: "on" }, At = () => ({
486
- [J]: [q],
487
- [Y]: [...Et, Z],
488
- [X]: Q,
489
- [Tt]: kt
464
+ ].flatMap((e) => Ft.map((t) => [e, t])), It = { strings: "on" }, Lt = () => ({
465
+ [q]: [K],
466
+ [J]: [...Nt, X],
467
+ [Y]: Z,
468
+ [Mt]: It
490
469
  });
491
- function jt(e, t) {
492
- let n = D(t, q);
470
+ function Rt(e, t) {
471
+ let n = D(t, K);
493
472
  try {
494
- return x(T(n), { recursive: !0 }), w(n, JSON.stringify(wt(e)), "utf-8"), null;
473
+ return x(T(n), { recursive: !0 }), w(n, JSON.stringify(jt(e)), "utf-8"), null;
495
474
  } catch (e) {
496
- return `[bitboss-ui] could not write ${q} (${e instanceof Error ? e.message : String(e)}) — the Iconify editor extension will not preview local icons. ${Rt}`;
475
+ return `[bitboss-ui] could not write ${K} (${e instanceof Error ? e.message : String(e)}) — the Iconify editor extension will not preview local icons. ${Q}`;
497
476
  }
498
477
  }
499
- function Mt(e, t) {
500
- if (e === Ct) return null;
478
+ function zt(e, t) {
479
+ if (e === At) return null;
501
480
  let n = 0;
502
481
  try {
503
482
  n = C(t, {
@@ -509,7 +488,7 @@ function Mt(e, t) {
509
488
  }
510
489
  return n > 0 ? null : `[bitboss-ui] iconDir "${e}" resolves to ${t}, which contains no .svg files — no \`local:\` icon will render. A relative iconDir resolves from the Vite root (under Nuxt, \`app/\`).`;
511
490
  }
512
- function Nt(e) {
491
+ function Bt(e) {
513
492
  let t = "", n = !1, r = !1, i = !1;
514
493
  for (let a = 0; a < e.length; a++) {
515
494
  let o = e[a], s = e[a + 1];
@@ -517,8 +496,8 @@ function Nt(e) {
517
496
  }
518
497
  return t;
519
498
  }
520
- var Pt = (e) => e === " " || e === " " || e === "\n" || e === "\r";
521
- function Ft(e, t) {
499
+ var Vt = (e) => e === " " || e === " " || e === "\n" || e === "\r";
500
+ function Ht(e, t) {
522
501
  let n = !1, r = !1;
523
502
  for (let i = t; i < e.length; i++) {
524
503
  let t = e[i], a = e[i + 1];
@@ -526,11 +505,11 @@ function Ft(e, t) {
526
505
  else if (r) t === "*" && a === "/" && (r = !1, i++);
527
506
  else if (t === "/" && a === "/") n = !0, i++;
528
507
  else if (t === "/" && a === "*") r = !0, i++;
529
- else if (!Pt(t)) return i;
508
+ else if (!Vt(t)) return i;
530
509
  }
531
510
  return -1;
532
511
  }
533
- function It(e, t) {
512
+ function Ut(e, t) {
534
513
  let n = !1, r = !1, i = !1, a = -1, o = 0, s = null;
535
514
  for (let c = 0; c < e.length; c++) {
536
515
  let l = e[c], u = e[c + 1];
@@ -545,19 +524,19 @@ function It(e, t) {
545
524
  } else if (l === "/" && u === "/") n = !0, c++;
546
525
  else if (l === "/" && u === "*") r = !0, c++;
547
526
  else if (l === "\"") i = !0, a = c;
548
- else if (!Pt(l)) {
527
+ else if (!Vt(l)) {
549
528
  if (l === ":" && s !== null) {
550
529
  let n = s === t;
551
530
  if (s = null, !n) continue;
552
- let r = Ft(e, c + 1);
553
- return r === -1 || e[r] !== "[" ? null : Lt(e, r);
531
+ let r = Ht(e, c + 1);
532
+ return r === -1 || e[r] !== "[" ? null : Wt(e, r);
554
533
  }
555
534
  s = null, l === "{" || l === "[" ? o++ : (l === "}" || l === "]") && o--;
556
535
  }
557
536
  }
558
537
  return null;
559
538
  }
560
- function Lt(e, t) {
539
+ function Wt(e, t) {
561
540
  let n = !1, r = !1, i = !1, a = 0, o = -1;
562
541
  for (let s = t; s < e.length; s++) {
563
542
  let c = e[s], l = e[s + 1];
@@ -572,7 +551,7 @@ function Lt(e, t) {
572
551
  } else if (c === "/" && l === "/") n = !0, s++;
573
552
  else if (c === "/" && l === "*") r = !0, s++;
574
553
  else if (c === "\"") i = !0, o = s + 1;
575
- else if (!Pt(c)) {
554
+ else if (!Vt(c)) {
576
555
  if (c === "[" || c === "{") a++, s > t && (o = s + 1);
577
556
  else if (c === "]" || c === "}") {
578
557
  if (a--, a === 0 && c === "]") return {
@@ -586,10 +565,10 @@ function Lt(e, t) {
586
565
  }
587
566
  return null;
588
567
  }
589
- var Rt = "Set `vscodeSettings: false` in the plugin options to disable this write.", $ = `add "${J}": ["${q}"], "${Y}" (include ${JSON.stringify(Z)}), and "${X}" for passthrough IntelliSense`, zt = (e) => Array.isArray(e) && e.some((e) => typeof e == "string" && (e === "pt(?::[\\w&-]+)*" || e === "pt" || e.startsWith("pt:") || e.startsWith("pt("))), Bt = (e) => Array.isArray(e) ? Q.filter((t) => !e.some((e) => JSON.stringify(e) === JSON.stringify(t))) : [...Q], Vt = (e) => JSON.stringify(e, null, " ").replace(/\n/g, "\n ");
590
- function Ht(e, t, n) {
568
+ var Q = "Set `vscodeSettings: false` in the plugin options to disable this write.", $ = `add "${q}": ["${K}"], "${J}" (include ${JSON.stringify(X)}), and "${Y}" for passthrough IntelliSense`, Gt = (e) => Array.isArray(e) && e.some((e) => typeof e == "string" && (e === "pt(?::[\\w&-]+)*" || e === "pt" || e.startsWith("pt:") || e.startsWith("pt("))), Kt = (e) => Array.isArray(e) ? Z.filter((t) => !e.some((e) => JSON.stringify(e) === JSON.stringify(t))) : [...Z], qt = (e) => JSON.stringify(e, null, " ").replace(/\n/g, "\n ");
569
+ function Jt(e, t, n) {
591
570
  if (n.length === 0) return e;
592
- let r = It(e, t);
571
+ let r = Ut(e, t);
593
572
  if (!r) return null;
594
573
  if (r.lastSignificantEnd === -1) return e.slice(0, r.close) + n.join(", ") + e.slice(r.close);
595
574
  if (e.slice(r.open + 1, r.close).includes("\n")) {
@@ -598,17 +577,17 @@ function Ht(e, t, n) {
598
577
  }
599
578
  return e.slice(0, r.lastSignificantEnd) + `, ${n.join(", ")}` + e.slice(r.lastSignificantEnd);
600
579
  }
601
- function Ut(e, t, n) {
580
+ function Yt(e, t, n) {
602
581
  if (t.length === 0) return e;
603
- let r = Ft(e, 0);
582
+ let r = Ht(e, 0);
604
583
  if (r === -1 || e[r] !== "{") return null;
605
584
  let i = t.map((e, r) => {
606
585
  let i = r === t.length - 1, a = n || !i ? "," : "", o = n || !i ? "" : "\n";
607
- return `\n\t${JSON.stringify(e.key)}: ${Vt(e.value)}${a}${o}`;
586
+ return `\n\t${JSON.stringify(e.key)}: ${qt(e.value)}${a}${o}`;
608
587
  }).join("");
609
588
  return e.slice(0, r + 1) + i + e.slice(r + 1);
610
589
  }
611
- function Wt(e, t) {
590
+ function Xt(e, t) {
612
591
  let n = D(e, ".vscode"), r = D(n, "settings.json"), i = "";
613
592
  try {
614
593
  i = S(r, "utf-8");
@@ -619,58 +598,58 @@ function Wt(e, t) {
619
598
  try {
620
599
  return x(n, { recursive: !0 }), w(r, e, "utf-8"), !0;
621
600
  } catch (e) {
622
- return t.warn(`[bitboss-ui] could not write .vscode/settings.json (${e instanceof Error ? e.message : String(e)}) — ${$}. ${Rt}`), !1;
601
+ return t.warn(`[bitboss-ui] could not write .vscode/settings.json (${e instanceof Error ? e.message : String(e)}) — ${$}. ${Q}`), !1;
623
602
  }
624
603
  };
625
604
  if (!i.trim()) {
626
- if (!s(JSON.stringify(At(), null, " ") + "\n")) return;
627
- t.info(`[bitboss-ui] .vscode/settings.json: wrote "${q}" on "${J}", Tailwind "${Y}" / "${X}" for passthrough, and "${Tt}". ${Rt}`);
605
+ if (!s(JSON.stringify(Lt(), null, " ") + "\n")) return;
606
+ t.info(`[bitboss-ui] .vscode/settings.json: wrote "${K}" on "${q}", Tailwind "${J}" / "${Y}" for passthrough, and "${Mt}". ${Q}`);
628
607
  return;
629
608
  }
630
609
  let c;
631
610
  try {
632
- c = JSON.parse(Nt(i));
611
+ c = JSON.parse(Bt(i));
633
612
  } catch {
634
613
  t.warn(`[bitboss-ui] Could not parse .vscode/settings.json — ${$}.`);
635
614
  return;
636
615
  }
637
616
  let l = (e) => {
638
617
  try {
639
- return c = JSON.parse(Nt(e)), i = e, !0;
618
+ return c = JSON.parse(Bt(e)), i = e, !0;
640
619
  } catch {
641
620
  return t.warn(`[bitboss-ui] Could not parse .vscode/settings.json after splice — ${$}.`), !1;
642
621
  }
643
622
  }, u = (e, n, r) => {
644
623
  if (!Array.isArray(c[e])) return t.warn(`[bitboss-ui] .vscode/settings.json has a non-array "${e}" — ${$}.`), !1;
645
- let a = Ht(i, e, n);
624
+ let a = Jt(i, e, n);
646
625
  return a ? l(a) ? (o(r), !0) : !1 : (t.warn(`[bitboss-ui] Could not locate "${e}" in .vscode/settings.json — ${$}.`), !1);
647
626
  };
648
- if (!i.includes("./.vscode/bitboss-ui.local-icons.json") && J in c && u(J, [JSON.stringify(q)], `added "${q}" to "${J}"`), Y in c && !zt(c[Y]) && u(Y, [JSON.stringify(Z)], `added ${JSON.stringify(Z)} to "${Y}"`), X in c) {
649
- let e = Bt(c[X]);
650
- e.length > 0 && u(X, e.map((e) => JSON.stringify(e)), `added ${e.length} "${X}" ${e.length === 1 ? "entry" : "entries"} for passthrough`);
627
+ if (!i.includes("./.vscode/bitboss-ui.local-icons.json") && q in c && u(q, [JSON.stringify(K)], `added "${K}" to "${q}"`), J in c && !Gt(c[J]) && u(J, [JSON.stringify(X)], `added ${JSON.stringify(X)} to "${J}"`), Y in c) {
628
+ let e = Kt(c[Y]);
629
+ e.length > 0 && u(Y, e.map((e) => JSON.stringify(e)), `added ${e.length} "${Y}" ${e.length === 1 ? "entry" : "entries"} for passthrough`);
651
630
  }
652
631
  let d = [];
653
- if (!(J in c) && !i.includes("./.vscode/bitboss-ui.local-icons.json") && d.push({
632
+ if (!(q in c) && !i.includes("./.vscode/bitboss-ui.local-icons.json") && d.push({
633
+ key: q,
634
+ value: [K]
635
+ }), J in c || d.push({
654
636
  key: J,
655
- value: [q]
637
+ value: [...Nt, X]
656
638
  }), Y in c || d.push({
657
639
  key: Y,
658
- value: [...Et, Z]
659
- }), X in c || d.push({
660
- key: X,
661
- value: Q
662
- }), Tt in c || d.push({
663
- key: Tt,
664
- value: kt
640
+ value: Z
641
+ }), Mt in c || d.push({
642
+ key: Mt,
643
+ value: It
665
644
  }), d.length > 0) {
666
- let e = Object.keys(c).length > 0, n = Ut(i, d, e);
645
+ let e = Object.keys(c).length > 0, n = Yt(i, d, e);
667
646
  if (!n) t.warn(`[bitboss-ui] .vscode/settings.json is not a JSON object — ${$}.`);
668
647
  else if (l(n)) for (let e of d) o(`added "${e.key}"`);
669
648
  }
670
- a.length !== 0 && s(i) && t.info(`[bitboss-ui] .vscode/settings.json: ${a.join("; ")}. ${Rt}`);
649
+ a.length !== 0 && s(i) && t.info(`[bitboss-ui] .vscode/settings.json: ${a.join("; ")}. ${Q}`);
671
650
  }
672
- var Gt = "virtual:bb-icon/", Kt = "\0virtual:bb-icon/";
673
- async function qt(e, t) {
651
+ var Zt = "virtual:bb-icon/", Qt = "\0virtual:bb-icon/";
652
+ async function $t(e, t) {
674
653
  try {
675
654
  let { ensureMcpConfigs: n, missingMcpPeers: r } = await import(
676
655
  /* @vite-ignore */
@@ -686,96 +665,106 @@ async function qt(e, t) {
686
665
  t.warn(`[bitboss-ui] MCP: could not register dev server (${n})`);
687
666
  }
688
667
  }
689
- var Jt = (e) => e, Yt = Symbol.for("bitboss-ui:editorRoot");
690
- function Xt(e = {}) {
691
- let n = {
692
- iconDir: Ct,
693
- ...e
694
- }, r = e[Yt];
695
- if ("cssLayers" in n && n.cssLayers === void 0) throw Error("[bitboss-ui] cssLayers is present but undefined. If you passed an imported constant such as TAILWIND_V4_LAYERS, the installed bitboss-ui does not export it (older dist?) — upgrade, or pass the array literal. Remove the key entirely for an unlayered sheet.");
696
- let i = u(n.cssLayers, { resetCss: n.resetCss ?? !1 });
697
- if (i) throw Error(i);
698
- let a = te(n.pt);
668
+ var en = Symbol.for("bitboss-ui:editorRoot");
669
+ function tn(e = {}) {
670
+ let n = ce(e);
671
+ if (n) throw Error(n);
672
+ let r = Ie(), i = r ? [...Le(r)?.keys() ?? []] : void 0, a = oe(e.components, {
673
+ variantComponents: ue,
674
+ knownComponents: i
675
+ });
699
676
  if (a) throw Error(a);
700
- let s = Oe(n);
677
+ let s = se(e.configScopes, {
678
+ variantComponents: ue,
679
+ knownComponents: i
680
+ });
701
681
  if (s) throw Error(s);
702
- let c = ke(n.pt, void 0, "pt", n);
703
- if (c) throw Error(c);
704
- let l = ne(n.ptScopes);
705
- if (l) throw Error(l);
706
- for (let [e, t] of Object.entries(n.ptScopes ?? {})) {
707
- let r = ke(t, void 0, `ptScopes.${e}`, n);
708
- if (r) throw Error(r);
709
- }
710
- let f = Ve(n.passthroughDeduper);
711
- if (f) throw Error(f);
712
- let p = He(n.autoDisableWritingThreshold);
682
+ let { components: c } = e, l = {
683
+ iconDir: At,
684
+ ...Object.fromEntries(Object.entries(e).filter(([e]) => !Object.values(_).includes(e))),
685
+ ...pe(c),
686
+ pt: ae(c)
687
+ }, f = e[en];
688
+ if ("cssLayers" in l && l.cssLayers === void 0) throw Error("[bitboss-ui] cssLayers is present but undefined. If you passed an imported constant such as TAILWIND_V4_LAYERS, the installed bitboss-ui does not export it (older dist?) — upgrade, or pass the array literal. Remove the key entirely for an unlayered sheet.");
689
+ let p = u(l.cssLayers, { resetCss: l.resetCss ?? !1 });
713
690
  if (p) throw Error(p);
714
- let h, g, v, x, C = !0, w = [], T = !1, E, D, de = !1, A = (e, t, n) => {
715
- let r = jt(e, t);
716
- r && !de && (de = !0, n(r));
691
+ let te = re(l.pt);
692
+ if (te) throw Error(te);
693
+ let ne = ze(l);
694
+ if (ne) throw Error(ne);
695
+ let ie = Be(l.pt, void 0, "components", l);
696
+ if (ie) throw Error(ie);
697
+ for (let [e, t] of Object.entries(l.configScopes ?? {})) {
698
+ let n = Be(ae(t), void 0, `configScopes.${e}`, l);
699
+ if (n) throw Error(n);
700
+ }
701
+ let g = Ze(l.passthroughDeduper);
702
+ if (g) throw Error(g);
703
+ let v, y, x, C, w = !0, T = [], E = !1, D, xe, k = !1, Se = (e, t, n) => {
704
+ let r = Rt(e, t);
705
+ r && !k && (k = !0, n(r));
717
706
  }, j = {
718
707
  info: (e) => console.warn(e),
719
708
  warn: (e) => console.warn(e)
720
- }, M = [], pe = [], me = [], { enabled: N, defaultLocale: ve, warnings: P } = Me({
721
- locale: n.locale,
722
- enabledLocales: n.enabledLocales,
709
+ }, M = [], Ce = [], Ee = [], { enabled: N, defaultLocale: P, warnings: Re } = He({
710
+ locale: l.locale,
711
+ enabledLocales: l.enabledLocales,
723
712
  customLocaleKeys: M
724
- }), L = Pe([...N, ...M]), R = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Set(), De = () => {
725
- R.clear(), z.clear(), B = be(h);
726
- for (let e of ye(h)) R.set(e.prefix, e), z.set(e.prefix, (t) => _e(e.prefix, t));
727
- V = null, H = null;
728
- }, Ae = (e, t) => {
713
+ }), L = We([...N, ...M]), R = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Set(), Xe = () => {
714
+ R.clear(), z.clear(), V = ke(v);
715
+ for (let e of Oe(v)) R.set(e.prefix, e), z.set(e.prefix, (t) => De(e.prefix, t));
716
+ H = null, U = null;
717
+ }, Qe = (e, t) => {
729
718
  let n = R.get(e);
730
719
  if (!n) return !1;
731
720
  let r = z.get(e);
732
- return fe(n, t) !== null && (!r || r(t));
733
- }, V = null, H = null, W = null, Be = () => H || (H = (async () => {
734
- let e = n.iconsScanner ?? {}, r = JSON.stringify({
735
- version: Ee(I),
721
+ return A(n, t) !== null && (!r || r(t));
722
+ }, H = null, U = null, W = null, G = () => U || (U = (async () => {
723
+ let e = l.iconsScanner ?? {}, n = JSON.stringify({
724
+ version: Fe(I),
736
725
  sets: Array.from(R.entries()).map(([e, t]) => [e, t.lastModified ?? 0]).sort(([e], [t]) => e < t ? -1 : +(e > t)),
737
726
  include: e.include ?? [],
738
727
  exclude: e.exclude ?? [],
739
728
  maxFileSize: e.maxFileSize ?? null
740
- }), i = new t({
741
- root: h,
742
- outDir: E ?? k(h, "dist"),
729
+ }), r = new t({
730
+ root: v,
731
+ outDir: D ?? O(v, "dist"),
743
732
  scanner: e,
744
733
  prefixes: Array.from(R.keys()),
745
- resolves: Ae,
746
- cacheFile: o(h),
747
- cacheKey: r
748
- }), a = await i.scan();
749
- if (a.cold && j.info(`[bitboss-ui] icon scan: ${a.files} files in ${a.elapsed}ms${a.workers ? ` on ${a.workers} threads` : ""} (${i.icons.size} provider icons referenced)`), V = i, W) for (let e of i.includeDirs) W.add(e);
750
- return i;
751
- })(), H);
734
+ resolves: Qe,
735
+ cacheFile: o(v),
736
+ cacheKey: n
737
+ }), i = await r.scan();
738
+ if (i.cold && j.info(`[bitboss-ui] icon scan: ${i.files} files in ${i.elapsed}ms${i.workers ? ` on ${i.workers} threads` : ""} (${r.icons.size} provider icons referenced)`), H = r, W) for (let e of r.includeDirs) W.add(e);
739
+ return r;
740
+ })(), U);
752
741
  return {
753
742
  name: "bitboss-ui:icon-registry",
754
743
  configEnvironment(e, t) {
755
744
  if (e !== "client") return;
756
- let n = t.optimizeDeps?.include ?? [], r = w.filter((e) => !n.includes(e));
745
+ let n = t.optimizeDeps?.include ?? [], r = T.filter((e) => !n.includes(e));
757
746
  if (r.length) return { optimizeDeps: { include: r } };
758
747
  },
759
748
  config(e) {
760
749
  let t = e.optimizeDeps?.include ?? [], n = e.optimizeDeps?.exclude ?? [], r = e.root ?? process.cwd();
761
- C = qe(r, "vee-validate");
762
- let i = Je(r) ? [...Xe, Qe] : Xe, a = L.found.map(({ pack: e }) => `dayjs/locale/${e}`);
763
- w = [...i, ...a];
750
+ w = $e(r, "vee-validate");
751
+ let i = et(r) ? [...nt, it] : nt, a = L.found.map(({ pack: e }) => `dayjs/locale/${e}`);
752
+ T = [...i, ...a];
764
753
  let o = (e.build?.assetsDir ?? "assets").replace(/\/+$/, ""), s = e.build?.rollupOptions?.output, c = (Array.isArray(s) ? s[0] : s)?.chunkFileNames, l = e.ssr;
765
754
  l && l.noExternal === !1 && delete l.noExternal;
766
- let u = et(l?.noExternal);
755
+ let u = ot(l?.noExternal);
767
756
  return {
768
- ...C ? {} : { resolve: { alias: [{
757
+ ...w ? {} : { resolve: { alias: [{
769
758
  find: /^vee-validate$/,
770
- replacement: dt
759
+ replacement: _t
771
760
  }] } },
772
761
  optimizeDeps: {
773
762
  include: [...i, ...a].filter((e) => !t.includes(e)),
774
- exclude: Ze.filter((e) => !n.includes(e))
763
+ exclude: rt.filter((e) => !n.includes(e))
775
764
  },
776
765
  ...u.length ? { ssr: { noExternal: u } } : {},
777
766
  build: { rollupOptions: { output: { chunkFileNames(e) {
778
- if (e.facadeModuleId?.startsWith(Kt)) {
767
+ if (e.facadeModuleId?.startsWith(Qt)) {
779
768
  let t = e.facadeModuleId.slice(17);
780
769
  return `${o}/icons/${t.replace("/", "_")}-[hash].js`;
781
770
  }
@@ -784,149 +773,111 @@ function Xt(e = {}) {
784
773
  };
785
774
  },
786
775
  transform(e, t) {
787
- return C || t.includes("/node_modules/") || t.startsWith("\0") || !/\.(vue|[cm]?[jt]sx?)(\?|$)/.test(t) || gt(e) && this.error(`${K}\n used in ${O(h || process.cwd(), t.split("?")[0])}`), null;
776
+ return w || t.includes("/node_modules/") || t.startsWith("\0") || !/\.(vue|[cm]?[jt]sx?)(\?|$)/.test(t) || Ct(e) && this.error(`${bt}\n used in ${be(v || process.cwd(), t.split("?")[0])}`), null;
788
777
  },
789
778
  renderChunk(e) {
790
- return !C && e.includes(pt) && this.error(K), null;
779
+ return !w && e.includes(yt) && this.error(bt), null;
791
780
  },
792
781
  configResolved(e) {
793
- h = e.root, x = r ?? h, T = e.command === "build", E = k(h, e.build?.outDir ?? "dist"), D = e.build?.rollupOptions?.input, e.logger && (j = e.logger);
782
+ v = e.root, C = f ?? v, E = e.command === "build", D = O(v, e.build?.outDir ?? "dist"), xe = e.build?.rollupOptions?.input, e.logger && (j = e.logger);
794
783
  },
795
784
  resolveId(e) {
796
- if (e === tt) return nt;
797
- if (e === rt) return it;
798
- if (e === at) return ot;
799
785
  if (e === st) return ct;
800
786
  if (e === lt) return ut;
801
- if (e === _t) return vt;
802
787
  if (e === dt) return ft;
803
- if (e === yt) return bt;
804
- if (e.startsWith(Gt)) return "\0" + e;
788
+ if (e === pt) return mt;
789
+ if (e === ht) return gt;
790
+ if (e === wt) return Tt;
791
+ if (e === _t) return vt;
792
+ if (e === Et) return Dt;
793
+ if (e.startsWith(Zt)) return "\0" + e;
805
794
  },
806
795
  async load(e) {
807
- if (e === it) {
808
- let { iconDir: e, enabledLocales: t, passthroughDeduper: r, ptScopes: i, ...a } = n, o = {
796
+ if (e === ut) {
797
+ let { iconDir: e, enabledLocales: t, passthroughDeduper: n, configScopes: r, components: i, pt: a, ...o } = l, s = {
809
798
  inertiaLinkName: "Link",
810
799
  nuxtLinkName: "NuxtLink",
811
800
  linkActiveClass: "router-link-active",
812
801
  linkExactActiveClass: "router-link-exact-active",
813
802
  mobileMaxWidth: 768,
814
803
  ssrViewportWidth: 1024,
815
- adaptive: !0,
816
- autoDisableWritingThreshold: 6,
817
- defaultInputLabelMode: "outside",
818
804
  locale: "en",
819
805
  injectStyles: !0,
820
806
  resetCss: !1,
821
807
  cssLayers: void 0,
822
808
  injectDirectives: !0,
823
- requiredAsterisk: !0,
824
- toastPosition: "bottom-right",
825
- ...a,
826
- formControls: {
827
- textInputNullValue: "null",
828
- textareaNullValue: "null",
829
- validationMode: "balanced",
830
- ...a.formControls
831
- },
832
- confirm: { ...a.confirm },
833
- pt: a.pt ?? {},
809
+ ...Object.fromEntries(Object.entries(o).filter(([e]) => !Object.values(_).includes(e))),
810
+ pt: l.pt,
811
+ components: le(l.components),
834
812
  variantIcons: {
835
- toast: ce(n.toastVariants),
836
- alert: ce(n.alertVariants)
837
- },
838
- variantNames: Object.fromEntries(Object.keys(y).map((e) => [y[e], re(_[e], n[y[e]])])),
839
- defaultLocale: ve,
840
- iconDefaultSizes: {
841
- xs: 12,
842
- sm: 16,
843
- md: 24,
844
- lg: 28,
845
- xl: 36,
846
- "2xl": 40,
847
- ...a.iconDefaultSizes
813
+ toast: _e(l.toastVariants),
814
+ alert: _e(l.alertVariants)
848
815
  },
849
- dialogDefaultSizes: {
850
- xs: 320,
851
- sm: 384,
852
- md: 448,
853
- lg: 512,
854
- xl: 576,
855
- "2xl": 672,
856
- ...a.dialogDefaultSizes
857
- },
858
- offCanvasDefaultSizes: {
859
- xs: 320,
860
- sm: 384,
861
- md: 448,
862
- lg: 512,
863
- xl: 576,
864
- "2xl": 672,
865
- ...a.offCanvasDefaultSizes
866
- }
816
+ variantNames: Object.fromEntries(Object.keys(_).map((e) => [_[e], de(h[e], l[_[e]])])),
817
+ defaultLocale: P
867
818
  };
868
- return `import { reactive } from 'vue';\nexport const config = reactive(${JSON.stringify(o)});\nexport const ptScopes = ${JSON.stringify(i ?? {})};\n`;
819
+ return `import { reactive } from 'vue';\nexport const config = reactive(${JSON.stringify(s)});\nexport const configScopes = ${JSON.stringify(r ?? {})};\n`;
869
820
  }
870
- if (e === ct) return Ne(N);
871
- if (e === ot) return Fe(L.found);
872
- if (e === ut) return `export default ${JSON.stringify(xt())};`;
873
- if (e === ft) return ht();
874
- if (e === vt) return Ye(Je(h));
875
- if (e === bt) {
876
- if (n.passthroughDeduper !== void 0) return Ie(n.passthroughDeduper, h);
877
- g ??= ze(h);
878
- let e = U(g.values());
879
- return v = JSON.stringify(e), Ie(void 0, h, void 0, e);
821
+ if (e === mt) return Ue(N);
822
+ if (e === ft) return Ge(L.found);
823
+ if (e === gt) return `export default ${JSON.stringify(Ot())};`;
824
+ if (e === vt) return St();
825
+ if (e === Tt) return tt(et(v));
826
+ if (e === Dt) {
827
+ if (l.passthroughDeduper !== void 0) return Ke(l.passthroughDeduper, v);
828
+ y ??= Ye(v);
829
+ let e = B(y.values());
830
+ return x = JSON.stringify(e), Ke(void 0, v, void 0, e);
880
831
  }
881
- if (e.startsWith(Kt)) {
832
+ if (e.startsWith(Qt)) {
882
833
  let t = e.slice(17), n = t.indexOf("/"), r = t.slice(0, n), i = t.slice(n + 1), a = R.get(r);
883
834
  a || this.error(`[bitboss-ui] cannot load "${r}:${i}" — @iconify-json/${r} is not installed.\n Run: npm install -D @iconify-json/${r}`);
884
- let o = fe(a, i);
885
- return o || this.error(`[bitboss-ui] icon "${i}" does not exist in the ${r} icon set`), `export default ${JSON.stringify(ge(o))};`;
835
+ let o = A(a, i);
836
+ return o || this.error(`[bitboss-ui] icon "${i}" does not exist in the ${r} icon set`), `export default ${JSON.stringify(Te(o))};`;
886
837
  }
887
- if (e !== nt) return;
888
- let t = k(h, n.iconDir), r = "/" + O(h, t).replace(/\\/g, "/") + "/**/*.svg", i = await Be(), a = Ce(n.iconWhitelist ?? [], R, z, B);
889
- a.errors.length > 0 && this.error(a.errors.length === 1 ? a.errors[0] : `[bitboss-ui] iconWhitelist has ${a.errors.length} entries that do not resolve:\n - ${a.errors.map((e) => e.replace(/^\[bitboss-ui\] /, "")).join("\n - ")}`);
890
- let o = /* @__PURE__ */ new Set([...i.icons, ...a.icons]), s = Array.from(o).sort().flatMap((e) => {
891
- let t = he(e);
892
- return t ? [`\t${JSON.stringify(e)}: () => import(${JSON.stringify(Gt + t.prefix + "/" + t.name)}).then(m => m.default),`] : [];
893
- }).join("\n"), c = T ? null : Object.fromEntries(Array.from(R.entries()).map(([e, t]) => [e, Se(t, z.get(e))]));
894
- return `const _local = import.meta.glob(${JSON.stringify(r)}, { query: '?raw', import: 'default' });\nconst _localIcons = Object.fromEntries(Object.entries(_local).map(([k, l]) => { const f = k.split(/[/\\\\]+/).pop(); return [\`local:\${f.replace(/\\.svg$/i, '')}\`, l]; }));\nconst _icons = {\n` + (s ? s + "\n" : "") + `\t..._localIcons,\n};\nconst _ip = new Set(${JSON.stringify(Array.from(B))});\nconst _loaded = new Set(${JSON.stringify(Array.from(R.keys()))});\nconst _all = ${c ? JSON.stringify(c) : "null"};\nconst _diag = ${xe};\nconst _fail = (msg) => () => { const _e = new Error(); import.meta.hot?.send('bitboss-ui:icon-missing', { msg, stack: _e.stack }); return Promise.reject(new Error(msg)); };\nexport const icons = new Proxy(_icons, {\n\tget(t, k) {\n\t\tif (k in t || typeof k !== 'string' || !k.includes(':')) return t[k];\n\t\tconst _msg = _diag(k, _loaded, (p) => Object.keys(t).filter((x) => x.startsWith(p + ':')).map((x) => x.slice(p.length + 1)), (p) => (_all && _all[p]) || null, _ip);\n\t\treturn _msg ? _fail(_msg) : undefined;\n\t},\n});\n`;
838
+ if (e !== ct) return;
839
+ let t = O(v, l.iconDir), n = "/" + be(v, t).replace(/\\/g, "/") + "/**/*.svg", r = await G(), i = Me(l.iconWhitelist ?? [], R, z, V);
840
+ i.errors.length > 0 && this.error(i.errors.length === 1 ? i.errors[0] : `[bitboss-ui] iconWhitelist has ${i.errors.length} entries that do not resolve:\n - ${i.errors.map((e) => e.replace(/^\[bitboss-ui\] /, "")).join("\n - ")}`);
841
+ let a = /* @__PURE__ */ new Set([...r.icons, ...i.icons]), o = Array.from(a).sort().flatMap((e) => {
842
+ let t = we(e);
843
+ return t ? [`\t${JSON.stringify(e)}: () => import(${JSON.stringify(Zt + t.prefix + "/" + t.name)}).then(m => m.default),`] : [];
844
+ }).join("\n"), s = E ? null : Object.fromEntries(Array.from(R.entries()).map(([e, t]) => [e, je(t, z.get(e))]));
845
+ return `const _local = import.meta.glob(${JSON.stringify(n)}, { query: '?raw', import: 'default' });\nconst _localIcons = Object.fromEntries(Object.entries(_local).map(([k, l]) => { const f = k.split(/[/\\\\]+/).pop(); return [\`local:\${f.replace(/\\.svg$/i, '')}\`, l]; }));\nconst _icons = {\n` + (o ? o + "\n" : "") + `\t..._localIcons,\n};\nconst _ip = new Set(${JSON.stringify(Array.from(V))});\nconst _loaded = new Set(${JSON.stringify(Array.from(R.keys()))});\nconst _all = ${s ? JSON.stringify(s) : "null"};\nconst _diag = ${Ae};\nconst _fail = (msg) => () => { const _e = new Error(); import.meta.hot?.send('bitboss-ui:icon-missing', { msg, stack: _e.stack }); return Promise.reject(new Error(msg)); };\nexport const icons = new Proxy(_icons, {\n\tget(t, k) {\n\t\tif (k in t || typeof k !== 'string' || !k.includes(':')) return t[k];\n\t\tconst _msg = _diag(k, _loaded, (p) => Object.keys(t).filter((x) => x.startsWith(p + ':')).map((x) => x.slice(p.length + 1)), (p) => (_all && _all[p]) || null, _ip);\n\t\treturn _msg ? _fail(_msg) : undefined;\n\t},\n});\n`;
895
846
  },
896
847
  buildStart() {
897
- De();
898
- let e = k(h, n.iconDir), t = Mt(n.iconDir, e);
899
- if (t && this.warn(t), !T) {
900
- let e = we(x, Ee(I));
848
+ Xe();
849
+ let e = O(v, l.iconDir), t = zt(l.iconDir, e);
850
+ if (t && this.warn(t), !E) {
851
+ let e = Ne(C, Fe(I));
901
852
  e && this.warn(e);
902
853
  }
903
- !T && n.vscodeSettings !== !1 && (A(e, x, (e) => this.warn(e)), Wt(x, {
854
+ !E && l.vscodeSettings !== !1 && (Se(e, C, (e) => this.warn(e)), Xt(C, {
904
855
  info: (e) => this.info(e),
905
856
  warn: (e) => this.warn(e)
906
857
  }));
907
- for (let e of pe) this.warn(e);
908
- for (let e of P) this.warn(e);
909
- for (let e of me) this.warn(e);
858
+ for (let e of Ce) this.warn(e);
859
+ for (let e of Re) this.warn(e);
860
+ for (let e of Ee) this.warn(e);
910
861
  for (let e of L.missing) this.warn(`[bitboss-ui] locale '${e}' has no dayjs counterpart (dayjs/locale/${e}) — its calendars fall back to English. Dayjs locale names: https://github.com/iamkun/dayjs/tree/dev/src/locale`);
911
- n.locale && !m(n.locale) && !M.includes(n.locale) && this.warn(`[bitboss-ui] \`locale: '${n.locale}'\` is not a built-in locale${je(n.locale)} — the library ships ${d.length} locales. Strings fall back to the default locale.`);
912
- let r = se({
913
- root: h,
914
- input: D,
915
- dts: n.dts
862
+ l.locale && !m(l.locale) && !M.includes(l.locale) && this.warn(`[bitboss-ui] \`locale: '${l.locale}'\` is not a built-in locale${Ve(l.locale)} — the library ships ${d.length} locales. Strings fall back to the default locale.`);
863
+ let n = ge({
864
+ root: v,
865
+ input: xe,
866
+ dts: l.dts
916
867
  });
917
- if (r) {
918
- let e = oe(n), t = le(r, {
868
+ if (n) {
869
+ let e = he(l), t = ve(n, {
919
870
  ...e,
920
871
  LocaleRegistry: [...N.flatMap((e) => [e, ...ee(e)]), ...M],
921
- PtScopeRegistry: Object.keys(n.ptScopes ?? {}),
922
- EmptyStringControlRegistry: ie(n.formControls)
923
- }), i = Te(r);
924
- t === "changed" ? this.info(`[bitboss-ui] Wrote ${i} — commit this file so CI and teammates get matching types.`) : typeof t == "object" && !F.has("write") && (F.add("write"), this.warn(`[bitboss-ui] could not write ${i} (${t.error}). The committed copy still types the app; regenerate it where the project is writable.`)), !F.has("program") && b(r) && (F.add("program"), ae(h, r) === !1 && this.warn(`[bitboss-ui] ${i} is outside your TypeScript project — custom names will look like typos. Set \`dts\` to a path inside your app sources (for example resources/js/).`));
872
+ ConfigScopeRegistry: Object.keys(l.configScopes ?? {}),
873
+ EmptyStringControlRegistry: fe(l.components)
874
+ }), r = Pe(n);
875
+ t === "changed" ? this.info(`[bitboss-ui] Wrote ${r} — commit this file so CI and teammates get matching types.`) : typeof t == "object" && !F.has("write") && (F.add("write"), this.warn(`[bitboss-ui] could not write ${r} (${t.error}). The committed copy still types the app; regenerate it where the project is writable.`)), !F.has("program") && b(n) && (F.add("program"), me(v, n) === !1 && this.warn(`[bitboss-ui] ${r} is outside your TypeScript project — custom names will look like typos. Set \`dts\` to a path inside your app sources (for example resources/js/).`));
925
876
  }
926
877
  },
927
878
  configureServer(e) {
928
- n.mcp && qt(r ?? e.config.root, e.config.logger);
929
- let t = k(e.config.root, n.iconDir), i = (e) => e.startsWith(t) && e.endsWith(".svg");
879
+ l.mcp && $t(f ?? e.config.root, e.config.logger);
880
+ let t = O(e.config.root, l.iconDir), n = (e) => e.startsWith(t) && e.endsWith(".svg");
930
881
  e.ws.on("bitboss-ui:icon-missing", (t) => {
931
882
  if (process.env.VITEST || e.config.mode === "test") return;
932
883
  let n = t.stack ? t.stack.replace(/^Error/, `Error: ${t.msg}`) : `Error: ${t.msg}`;
@@ -939,53 +890,53 @@ function Xt(e = {}) {
939
890
  }
940
891
  });
941
892
  });
942
- let a = async (t, r) => {
943
- if (n.passthroughDeduper !== void 0 || !g || !Re(h, t)) return;
944
- let i = r ? {} : Le((() => {
893
+ let r = async (t, n) => {
894
+ if (l.passthroughDeduper !== void 0 || !y || !Je(v, t)) return;
895
+ let r = n ? {} : qe((() => {
945
896
  try {
946
897
  return S(t, "utf-8");
947
898
  } catch {
948
899
  return "";
949
900
  }
950
901
  })());
951
- if (Object.keys(i).length) g.set(t, i);
952
- else if (!g.delete(t)) return;
953
- let a = JSON.stringify(U(g.values()));
954
- if (a === v) return;
955
- v = a;
956
- let o = e.moduleGraph.getModuleById(bt);
957
- o && await e.reloadModule(o);
902
+ if (Object.keys(r).length) y.set(t, r);
903
+ else if (!y.delete(t)) return;
904
+ let i = JSON.stringify(B(y.values()));
905
+ if (i === x) return;
906
+ x = i;
907
+ let a = e.moduleGraph.getModuleById(Dt);
908
+ a && await e.reloadModule(a);
958
909
  };
959
- e.watcher.on("change", (e) => void a(e, !1)), e.watcher.on("add", (e) => void a(e, !1)), e.watcher.on("unlink", (e) => void a(e, !0));
960
- let o = async () => {
961
- let t = e.moduleGraph.getModuleById(nt);
910
+ e.watcher.on("change", (e) => void r(e, !1)), e.watcher.on("add", (e) => void r(e, !1)), e.watcher.on("unlink", (e) => void r(e, !0));
911
+ let i = async () => {
912
+ let t = e.moduleGraph.getModuleById(ct);
962
913
  t && await e.reloadModule(t);
963
- }, s, c = () => {
964
- clearTimeout(s), s = setTimeout(() => void V?.persist(), 500);
965
- }, l = Promise.resolve(), u = (e, t) => {
966
- l = l.then(async () => {
967
- if (!V) return;
914
+ }, a, o = () => {
915
+ clearTimeout(a), a = setTimeout(() => void H?.persist(), 500);
916
+ }, s = Promise.resolve(), c = (e, t) => {
917
+ s = s.then(async () => {
918
+ if (!H) return;
968
919
  let n;
969
- if (ue(t) === ".gitignore") {
970
- let e = V.icons;
971
- V.resetGitignores(), await V.scan();
972
- let t = V.icons;
920
+ if (ye(t) === ".gitignore") {
921
+ let e = H.icons;
922
+ H.resetGitignores(), await H.scan();
923
+ let t = H.icons;
973
924
  n = e.size !== t.size || [...e].some((e) => !t.has(e));
974
- } else n = e === "unlink" ? V.removeFile(t) : await V.updateFile(t);
975
- c(), n && await o();
925
+ } else n = e === "unlink" ? H.removeFile(t) : await H.updateFile(t);
926
+ o(), n && await i();
976
927
  }).catch((e) => {
977
928
  j.warn(`[bitboss-ui] icon scan: could not update ${t} (${e instanceof Error ? e.message : String(e)})`);
978
929
  });
979
930
  };
980
- if (W = e.watcher, V) for (let e of V.includeDirs) W.add(e);
981
- for (let a of [
931
+ if (W = e.watcher, H) for (let e of H.includeDirs) W.add(e);
932
+ for (let r of [
982
933
  "add",
983
934
  "change",
984
935
  "unlink"
985
- ]) e.watcher.on(a, (o) => {
986
- i(o) ? n.vscodeSettings !== !1 && A(t, r ?? e.config.root, (e) => j.warn(e)) : u(a, o);
936
+ ]) e.watcher.on(r, (i) => {
937
+ n(i) ? l.vscodeSettings !== !1 && Se(t, f ?? e.config.root, (e) => j.warn(e)) : c(r, i);
987
938
  });
988
939
  }
989
940
  };
990
941
  }
991
- export { s as BB_LAYERS, d as BUILTIN_LOCALE_KEYS, e as DEFAULT_MAX_FILE_SIZE, _ as DEFAULT_VARIANT_REGISTRIES, t as IconScanner, q as LOCAL_ICONS_JSON_PATH, Ze as REQUIRED_OPTIMIZE_DEPS_EXCLUDE, Xe as REQUIRED_OPTIMIZE_DEPS_INCLUDE, G as SSR_NO_EXTERNAL, Et as TAILWIND_CLASS_ATTRIBUTES_DEFAULTS, Z as TAILWIND_PT_CLASS_ATTRIBUTE, Q as TAILWIND_PT_CLASS_REGEX, c as TAILWIND_V3_LAYERS, l as TAILWIND_V4_LAYERS, K as VEE_MISSING_MESSAGE, Xt as bitbossUi, Be as collectThemeNames, At as defaultVscodeSettings, Jt as definePt, P as diagnoseMissingIcon, Ce as expandIconWhitelist, n as extractIconCandidates, Fe as generateDayjsLocalesModule, Ye as generateLinkModule, Ne as generateLocalesModule, Ie as generatePassthroughDeduperModule, ht as generateVeeMissingModule, Je as hasInertia, a as iconLiteralRegExp, o as iconScanCacheFile, Re as isAppThemeCss, Mt as localIconDirWarning, U as mergeThemeNames, Pe as resolveDayjsLocales, Me as resolveEnabledLocales, et as resolveSsrNoExternal, ze as scanThemeFiles, Nt as stripJsonComments, Le as themeNamesInCss, Wt as updateVscodeSettings, we as upgradeHint, gt as usesBbForm, He as validateAutoDisableWritingThreshold, Ve as validatePassthroughDeduper, ke as validatePtGlobalMapNames, Oe as validateVariantNames, jt as writeLocalIconifyCollection };
942
+ export { s as BB_LAYERS, d as BUILTIN_LOCALE_KEYS, y as DEFAULTS_ALLOWLIST, e as DEFAULT_MAX_FILE_SIZE, h as DEFAULT_VARIANT_REGISTRIES, t as IconScanner, K as LOCAL_ICONS_JSON_PATH, rt as REQUIRED_OPTIMIZE_DEPS_EXCLUDE, nt as REQUIRED_OPTIMIZE_DEPS_INCLUDE, G as SSR_NO_EXTERNAL, Nt as TAILWIND_CLASS_ATTRIBUTES_DEFAULTS, X as TAILWIND_PT_CLASS_ATTRIBUTE, Z as TAILWIND_PT_CLASS_REGEX, c as TAILWIND_V3_LAYERS, l as TAILWIND_V4_LAYERS, bt as VEE_MISSING_MESSAGE, tn as bitbossUi, Xe as collectThemeNames, Lt as defaultVscodeSettings, P as diagnoseMissingIcon, Me as expandIconWhitelist, n as extractIconCandidates, Ge as generateDayjsLocalesModule, tt as generateLinkModule, Ue as generateLocalesModule, Ke as generatePassthroughDeduperModule, St as generateVeeMissingModule, et as hasInertia, a as iconLiteralRegExp, o as iconScanCacheFile, Je as isAppThemeCss, zt as localIconDirWarning, B as mergeThemeNames, We as resolveDayjsLocales, He as resolveEnabledLocales, ot as resolveSsrNoExternal, Ye as scanThemeFiles, Bt as stripJsonComments, qe as themeNamesInCss, Xt as updateVscodeSettings, Ne as upgradeHint, Ct as usesBbForm, Ze as validatePassthroughDeduper, Be as validatePtGlobalMapNames, ze as validateVariantNames, Rt as writeLocalIconifyCollection };