@brumaombra/ui-vintage 0.6.7 → 0.7.1

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 (693) hide show
  1. package/README.md +61 -51
  2. package/module.mjs +75 -0
  3. package/package.json +81 -264
  4. package/src/components/background-grid/BackgroundGrid.vue +5 -0
  5. package/src/components/background-grid/index.ts +2 -0
  6. package/src/components/blog/AllPostsSection.vue +46 -0
  7. package/src/components/blog/BlogFAQSection.vue +71 -0
  8. package/src/components/blog/BlogHeaderSection.vue +35 -0
  9. package/src/components/blog/BlogInfoSection.vue +70 -0
  10. package/src/components/blog/BlogSectionTitle.vue +12 -0
  11. package/src/components/blog/CategoriesList.vue +17 -0
  12. package/src/components/blog/CategoriesSection.vue +14 -0
  13. package/src/components/blog/CategoryCard.vue +34 -0
  14. package/src/components/blog/HeaderCarousel.vue +194 -0
  15. package/src/components/blog/PostCard.vue +56 -0
  16. package/src/components/blog/PostsList.vue +16 -0
  17. package/src/components/blog/SocialShareSidebar.vue +94 -0
  18. package/src/components/blog/TableOfContents.vue +114 -0
  19. package/src/components/blog/index.ts +13 -0
  20. package/src/components/busy-indicator/BusyIndicator.vue +14 -0
  21. package/src/components/busy-indicator/busy-indicator-state.ts +88 -0
  22. package/src/components/busy-indicator/index.ts +3 -0
  23. package/src/components/card-grid/CardGrid.vue +47 -0
  24. package/src/components/card-grid/index.ts +2 -0
  25. package/src/components/chip/Chip.vue +40 -0
  26. package/src/components/chip/index.ts +2 -0
  27. package/src/components/confirm-dialog/ConfirmDialog.vue +60 -0
  28. package/src/components/confirm-dialog/confirm-dialog-state.ts +200 -0
  29. package/src/components/confirm-dialog/index.ts +12 -0
  30. package/src/components/content/BlogList.vue +60 -0
  31. package/src/components/content/BlogTable.vue +56 -0
  32. package/src/components/content/ProseHr.vue +26 -0
  33. package/src/components/content/index.ts +3 -0
  34. package/src/components/dashboard-shell/DashboardShell.vue +205 -0
  35. package/src/components/dashboard-shell/index.ts +2 -0
  36. package/src/components/data-list/DataList.vue +19 -0
  37. package/src/components/data-list/DataListItem.vue +17 -0
  38. package/src/components/data-list/DataListLabel.vue +17 -0
  39. package/src/components/data-list/DataListText.vue +17 -0
  40. package/src/components/data-list/DataListValue.vue +17 -0
  41. package/src/components/data-list/index.ts +5 -0
  42. package/src/components/empty-state-card/EmptyStateCard.vue +54 -0
  43. package/{dist/components/empty-state-card/index.d.ts → src/components/empty-state-card/index.ts} +1 -1
  44. package/src/components/error-page/ErrorPage.vue +118 -0
  45. package/src/components/error-page/index.ts +2 -0
  46. package/src/components/info-card/InfoCard.vue +42 -0
  47. package/src/components/info-card/index.ts +2 -0
  48. package/src/components/landing/index.ts +6 -0
  49. package/src/components/landing/landing-content/LandingContent.vue +17 -0
  50. package/src/components/landing/landing-content/index.ts +2 -0
  51. package/src/components/landing/landing-footer/LandingFooter.vue +151 -0
  52. package/src/components/landing/landing-footer/index.ts +3 -0
  53. package/src/components/landing/landing-navbar/LandingNavbar.vue +48 -0
  54. package/src/components/landing/landing-navbar/index.ts +2 -0
  55. package/src/components/landing/landing-shell/LandingShell.vue +58 -0
  56. package/src/components/landing/landing-shell/index.ts +2 -0
  57. package/src/components/language-flag/LanguageFlag.vue +54 -0
  58. package/src/components/language-flag/flags/ChineseFlag.vue +10 -0
  59. package/src/components/language-flag/flags/EnglishFlag.vue +9 -0
  60. package/src/components/language-flag/flags/FrenchFlag.vue +7 -0
  61. package/src/components/language-flag/flags/GermanFlag.vue +7 -0
  62. package/src/components/language-flag/flags/ItalianFlag.vue +9 -0
  63. package/src/components/language-flag/flags/JapaneseFlag.vue +6 -0
  64. package/src/components/language-flag/flags/PortugueseFlag.vue +59 -0
  65. package/src/components/language-flag/flags/RussianFlag.vue +7 -0
  66. package/src/components/language-flag/flags/SpanishFlag.vue +6 -0
  67. package/{dist/components/language-flag/index.d.ts → src/components/language-flag/index.ts} +1 -1
  68. package/src/components/language-selector/LanguageSelector.vue +154 -0
  69. package/{dist/components/language-selector/index.d.ts → src/components/language-selector/index.ts} +1 -1
  70. package/src/components/load-more-button/LoadMoreButton.vue +44 -0
  71. package/{dist/components/load-more-button/index.d.ts → src/components/load-more-button/index.ts} +1 -1
  72. package/src/components/loading-state-card/LoadingStateCard.vue +43 -0
  73. package/{dist/components/loading-state-card/index.d.ts → src/components/loading-state-card/index.ts} +1 -1
  74. package/src/components/message-dialog/MessageDialog.vue +101 -0
  75. package/src/components/message-dialog/index.ts +11 -0
  76. package/src/components/message-dialog/message-dialog-state.ts +168 -0
  77. package/src/components/message-toast/MessageToast.vue +75 -0
  78. package/src/components/message-toast/index.ts +9 -0
  79. package/src/components/message-toast/message-toast-state.ts +167 -0
  80. package/src/components/page-header/PageHeader.vue +52 -0
  81. package/src/components/page-header/index.ts +2 -0
  82. package/src/components/progress-component/ProgressComponent.vue +45 -0
  83. package/{dist/components/progress-component/index.d.ts → src/components/progress-component/index.ts} +1 -1
  84. package/src/components/single-value-card/SingleValueCard.vue +51 -0
  85. package/{dist/components/single-value-card/index.d.ts → src/components/single-value-card/index.ts} +1 -1
  86. package/src/components/slider-form-component/SliderFormComponent.vue +71 -0
  87. package/src/components/slider-form-component/index.ts +2 -0
  88. package/src/components/switch-form-component/SwitchFormComponent.vue +39 -0
  89. package/src/components/switch-form-component/index.ts +2 -0
  90. package/src/components/text-link/TextLink.vue +33 -0
  91. package/src/components/text-link/index.ts +2 -0
  92. package/src/components/theme-selector/ThemeSelector.vue +129 -0
  93. package/src/components/theme-selector/index.ts +2 -0
  94. package/src/components/ui/alert/Alert.vue +17 -0
  95. package/src/components/ui/alert/AlertDescription.vue +14 -0
  96. package/src/components/ui/alert/AlertTitle.vue +14 -0
  97. package/src/components/ui/alert/index.ts +15 -0
  98. package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
  99. package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
  100. package/src/components/ui/alert-dialog/AlertDialogCancel.vue +22 -0
  101. package/src/components/ui/alert-dialog/AlertDialogContent.vue +36 -0
  102. package/src/components/ui/alert-dialog/AlertDialogDescription.vue +19 -0
  103. package/src/components/ui/alert-dialog/AlertDialogFooter.vue +18 -0
  104. package/src/components/ui/alert-dialog/AlertDialogHeader.vue +14 -0
  105. package/src/components/ui/alert-dialog/AlertDialogTitle.vue +17 -0
  106. package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
  107. package/src/components/ui/alert-dialog/index.ts +9 -0
  108. package/src/components/ui/badge/Badge.vue +26 -0
  109. package/src/components/ui/badge/index.ts +1 -0
  110. package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
  111. package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +24 -0
  112. package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
  113. package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
  114. package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
  115. package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
  116. package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +23 -0
  117. package/src/components/ui/breadcrumb/index.ts +7 -0
  118. package/src/components/ui/busy/Busy.vue +45 -0
  119. package/src/components/ui/busy/index.ts +1 -0
  120. package/src/components/ui/button/Button.vue +24 -0
  121. package/src/components/ui/button/index.ts +41 -0
  122. package/src/components/ui/calendar/Calendar.vue +139 -0
  123. package/src/components/ui/calendar/CalendarCell.vue +23 -0
  124. package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
  125. package/src/components/ui/calendar/CalendarGrid.vue +23 -0
  126. package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
  127. package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
  128. package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
  129. package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
  130. package/src/components/ui/calendar/CalendarHeader.vue +23 -0
  131. package/src/components/ui/calendar/CalendarHeading.vue +30 -0
  132. package/src/components/ui/calendar/CalendarNextButton.vue +32 -0
  133. package/src/components/ui/calendar/CalendarPrevButton.vue +32 -0
  134. package/src/components/ui/calendar/index.ts +14 -0
  135. package/src/components/ui/card/Card.vue +31 -0
  136. package/src/components/ui/card/CardAction.vue +14 -0
  137. package/src/components/ui/card/CardContent.vue +14 -0
  138. package/src/components/ui/card/CardDescription.vue +14 -0
  139. package/src/components/ui/card/CardFooter.vue +14 -0
  140. package/src/components/ui/card/CardHeader.vue +14 -0
  141. package/src/components/ui/card/CardText.vue +14 -0
  142. package/src/components/ui/card/CardTitle.vue +14 -0
  143. package/src/components/ui/card/index.ts +8 -0
  144. package/src/components/ui/command/Command.vue +83 -0
  145. package/src/components/ui/command/CommandDialog.vue +31 -0
  146. package/src/components/ui/command/CommandEmpty.vue +27 -0
  147. package/src/components/ui/command/CommandGroup.vue +47 -0
  148. package/src/components/ui/command/CommandInput.vue +31 -0
  149. package/src/components/ui/command/CommandItem.vue +76 -0
  150. package/src/components/ui/command/CommandList.vue +25 -0
  151. package/src/components/ui/command/CommandSeparator.vue +17 -0
  152. package/src/components/ui/command/CommandShortcut.vue +14 -0
  153. package/src/components/ui/command/index.ts +25 -0
  154. package/src/components/ui/date-picker/DatePicker.vue +67 -0
  155. package/src/components/ui/date-picker/index.ts +2 -0
  156. package/src/components/ui/date-time-picker/DateTimePicker.vue +170 -0
  157. package/{dist/components/ui/date-time-picker/index.d.ts → src/components/ui/date-time-picker/index.ts} +2 -2
  158. package/src/components/ui/dialog/Dialog.vue +15 -0
  159. package/src/components/ui/dialog/DialogClose.vue +15 -0
  160. package/src/components/ui/dialog/DialogContent.vue +54 -0
  161. package/src/components/ui/dialog/DialogDescription.vue +19 -0
  162. package/src/components/ui/dialog/DialogFooter.vue +18 -0
  163. package/src/components/ui/dialog/DialogHeader.vue +14 -0
  164. package/src/components/ui/dialog/DialogOverlay.vue +17 -0
  165. package/src/components/ui/dialog/DialogScrollContent.vue +57 -0
  166. package/src/components/ui/dialog/DialogTitle.vue +19 -0
  167. package/src/components/ui/dialog/DialogTrigger.vue +12 -0
  168. package/src/components/ui/dialog/index.ts +10 -0
  169. package/src/components/ui/field/Field.vue +20 -0
  170. package/src/components/ui/field/FieldContent.vue +17 -0
  171. package/src/components/ui/field/FieldDescription.vue +19 -0
  172. package/src/components/ui/field/FieldError.vue +48 -0
  173. package/src/components/ui/field/FieldGroup.vue +17 -0
  174. package/src/components/ui/field/FieldLabel.vue +20 -0
  175. package/src/components/ui/field/FieldLegend.vue +20 -0
  176. package/src/components/ui/field/FieldSeparator.vue +21 -0
  177. package/src/components/ui/field/FieldSet.vue +18 -0
  178. package/src/components/ui/field/FieldTitle.vue +17 -0
  179. package/src/components/ui/field/index.ts +41 -0
  180. package/src/components/ui/input/Input.vue +29 -0
  181. package/src/components/ui/input/index.ts +1 -0
  182. package/src/components/ui/label/Label.vue +21 -0
  183. package/src/components/ui/label/index.ts +1 -0
  184. package/src/components/ui/native-select/NativeSelect.vue +52 -0
  185. package/src/components/ui/native-select/NativeSelectOptGroup.vue +12 -0
  186. package/src/components/ui/native-select/NativeSelectOption.vue +12 -0
  187. package/src/components/ui/native-select/index.ts +3 -0
  188. package/src/components/ui/popover/Popover.vue +15 -0
  189. package/src/components/ui/popover/PopoverAnchor.vue +12 -0
  190. package/src/components/ui/popover/PopoverContent.vue +40 -0
  191. package/src/components/ui/popover/PopoverTrigger.vue +12 -0
  192. package/src/components/ui/popover/index.ts +4 -0
  193. package/src/components/ui/progress/Progress.vue +38 -0
  194. package/src/components/ui/progress/index.ts +1 -0
  195. package/src/components/ui/scroll-area/ScrollArea.vue +33 -0
  196. package/src/components/ui/scroll-area/ScrollBar.vue +32 -0
  197. package/src/components/ui/scroll-area/index.ts +2 -0
  198. package/src/components/ui/select/Select.vue +15 -0
  199. package/src/components/ui/select/SelectContent.vue +50 -0
  200. package/src/components/ui/select/SelectGroup.vue +12 -0
  201. package/src/components/ui/select/SelectItem.vue +50 -0
  202. package/src/components/ui/select/SelectItemContent.vue +40 -0
  203. package/src/components/ui/select/SelectItemText.vue +12 -0
  204. package/src/components/ui/select/SelectLabel.vue +14 -0
  205. package/src/components/ui/select/SelectScrollDownButton.vue +23 -0
  206. package/src/components/ui/select/SelectScrollUpButton.vue +23 -0
  207. package/src/components/ui/select/SelectSeparator.vue +15 -0
  208. package/src/components/ui/select/SelectTrigger.vue +31 -0
  209. package/src/components/ui/select/SelectValue.vue +12 -0
  210. package/src/components/ui/select/SelectValueContent.vue +44 -0
  211. package/src/components/ui/select/index.ts +13 -0
  212. package/src/components/ui/separator/Separator.vue +24 -0
  213. package/src/components/ui/separator/index.ts +1 -0
  214. package/src/components/ui/sheet/Sheet.vue +15 -0
  215. package/src/components/ui/sheet/SheetClose.vue +12 -0
  216. package/src/components/ui/sheet/SheetContent.vue +49 -0
  217. package/src/components/ui/sheet/SheetDescription.vue +17 -0
  218. package/src/components/ui/sheet/SheetFooter.vue +12 -0
  219. package/src/components/ui/sheet/SheetHeader.vue +12 -0
  220. package/src/components/ui/sheet/SheetOverlay.vue +17 -0
  221. package/src/components/ui/sheet/SheetTitle.vue +17 -0
  222. package/src/components/ui/sheet/SheetTrigger.vue +12 -0
  223. package/src/components/ui/sheet/index.ts +8 -0
  224. package/src/components/ui/sidebar/Sidebar.vue +77 -0
  225. package/src/components/ui/sidebar/SidebarContent.vue +14 -0
  226. package/src/components/ui/sidebar/SidebarFooter.vue +14 -0
  227. package/src/components/ui/sidebar/SidebarGroup.vue +14 -0
  228. package/src/components/ui/sidebar/SidebarGroupAction.vue +21 -0
  229. package/src/components/ui/sidebar/SidebarGroupContent.vue +14 -0
  230. package/src/components/ui/sidebar/SidebarGroupLabel.vue +19 -0
  231. package/src/components/ui/sidebar/SidebarHeader.vue +14 -0
  232. package/src/components/ui/sidebar/SidebarInput.vue +18 -0
  233. package/src/components/ui/sidebar/SidebarInset.vue +18 -0
  234. package/src/components/ui/sidebar/SidebarMenu.vue +14 -0
  235. package/src/components/ui/sidebar/SidebarMenuAction.vue +30 -0
  236. package/src/components/ui/sidebar/SidebarMenuBadge.vue +23 -0
  237. package/src/components/ui/sidebar/SidebarMenuButton.vue +44 -0
  238. package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +27 -0
  239. package/src/components/ui/sidebar/SidebarMenuItem.vue +14 -0
  240. package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +20 -0
  241. package/src/components/ui/sidebar/SidebarMenuSub.vue +18 -0
  242. package/src/components/ui/sidebar/SidebarMenuSubButton.vue +28 -0
  243. package/src/components/ui/sidebar/SidebarMenuSubItem.vue +14 -0
  244. package/src/components/ui/sidebar/SidebarProvider.vue +79 -0
  245. package/src/components/ui/sidebar/SidebarRail.vue +25 -0
  246. package/src/components/ui/sidebar/SidebarSeparator.vue +15 -0
  247. package/src/components/ui/sidebar/SidebarTrigger.vue +21 -0
  248. package/src/components/ui/sidebar/index.ts +64 -0
  249. package/src/components/ui/sidebar/utils.ts +19 -0
  250. package/src/components/ui/skeleton/Skeleton.vue +14 -0
  251. package/src/components/ui/skeleton/index.ts +1 -0
  252. package/src/components/ui/slider/Slider.vue +27 -0
  253. package/src/components/ui/slider/index.ts +1 -0
  254. package/src/components/ui/switch/Switch.vue +30 -0
  255. package/src/components/ui/switch/index.ts +1 -0
  256. package/src/components/ui/table/Table.vue +16 -0
  257. package/src/components/ui/table/TableBody.vue +17 -0
  258. package/src/components/ui/table/TableCaption.vue +17 -0
  259. package/src/components/ui/table/TableCell.vue +22 -0
  260. package/src/components/ui/table/TableEmpty.vue +34 -0
  261. package/src/components/ui/table/TableFooter.vue +17 -0
  262. package/src/components/ui/table/TableHead.vue +17 -0
  263. package/src/components/ui/table/TableHeader.vue +17 -0
  264. package/src/components/ui/table/TableRow.vue +17 -0
  265. package/src/components/ui/table/index.ts +9 -0
  266. package/src/components/ui/tabs/Tabs.vue +24 -0
  267. package/src/components/ui/tabs/TabsContent.vue +21 -0
  268. package/src/components/ui/tabs/TabsList.vue +24 -0
  269. package/src/components/ui/tabs/TabsTrigger.vue +26 -0
  270. package/src/components/ui/tabs/index.ts +4 -0
  271. package/src/components/ui/textarea/Textarea.vue +29 -0
  272. package/src/components/ui/textarea/index.ts +1 -0
  273. package/src/components/ui/time-picker/TimePicker.vue +56 -0
  274. package/src/components/ui/time-picker/index.ts +2 -0
  275. package/src/components/ui/tooltip/Tooltip.vue +15 -0
  276. package/src/components/ui/tooltip/TooltipContent.vue +30 -0
  277. package/src/components/ui/tooltip/TooltipProvider.vue +14 -0
  278. package/src/components/ui/tooltip/TooltipTrigger.vue +12 -0
  279. package/src/components/ui/tooltip/index.ts +4 -0
  280. package/{dist/i18n/de.json.d.ts → src/i18n/de.json} +26 -4
  281. package/{dist/i18n/en.json.d.ts → src/i18n/en.json} +26 -4
  282. package/{dist/i18n/es.json.d.ts → src/i18n/es.json} +26 -4
  283. package/{dist/i18n/fr.json.d.ts → src/i18n/fr.json} +26 -4
  284. package/{dist/i18n/it.json.d.ts → src/i18n/it.json} +26 -4
  285. package/{dist/i18n/ja.json.d.ts → src/i18n/ja.json} +26 -4
  286. package/{dist/i18n/pt.json.d.ts → src/i18n/pt.json} +26 -4
  287. package/{dist/i18n/ru.json.d.ts → src/i18n/ru.json} +26 -4
  288. package/{dist/i18n/zh.json.d.ts → src/i18n/zh.json} +26 -4
  289. package/src/lib/color-tokens.ts +51 -0
  290. package/src/lib/i18n.ts +85 -0
  291. package/src/lib/utils.ts +29 -0
  292. package/src/nuxt-components.d.ts +5 -0
  293. package/src/runtime/ui-vintage-i18n-plugin.js +48 -0
  294. package/src/shims-vue.d.ts +5 -0
  295. package/src/styles.css +224 -0
  296. package/dist/AlertDialogTitle.vue_vue_type_script_setup_true_lang-_UW48pv7.js +0 -361
  297. package/dist/BackgroundGrid-BJDDcLzF.js +0 -13
  298. package/dist/Busy-DRHkNObd.js +0 -55
  299. package/dist/BusyIndicator-D-4YHN2L.js +0 -4
  300. package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-D4jkKsDX.js +0 -3800
  301. package/dist/Card.vue_vue_type_script_setup_true_lang-DwBhZuSq.js +0 -30
  302. package/dist/CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js +0 -22
  303. package/dist/CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js +0 -22
  304. package/dist/CardText.vue_vue_type_script_setup_true_lang-CJ66un34.js +0 -22
  305. package/dist/ChineseFlag-CVrOCbRz.js +0 -18
  306. package/dist/Collection-4P3HQ4uU.js +0 -76
  307. package/dist/ConfigProvider-DYO65bNW.js +0 -6
  308. package/dist/ConfirmDialog-Zu4m9TY-.js +0 -4
  309. package/dist/DatePicker.vue_vue_type_script_setup_true_lang-C_bocxOu.js +0 -88
  310. package/dist/DialogClose-DxCTEp0d.js +0 -36
  311. package/dist/DialogPortal-BiMJAKLg.js +0 -36
  312. package/dist/DialogTitle-jKgSCoXM.js +0 -526
  313. package/dist/DialogTitle.vue_vue_type_script_setup_true_lang-B79YbKSf.js +0 -184
  314. package/dist/DialogTrigger-Cb3rLcid.js +0 -52
  315. package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-B2-mxoaA.js +0 -59
  316. package/dist/EnglishFlag-BrpG8XMW.js +0 -18
  317. package/dist/FocusScope-mzbqk6Y_.js +0 -448
  318. package/dist/FrenchFlag-CUdQacS3.js +0 -35
  319. package/dist/GermanFlag-Bc1CeEHw.js +0 -35
  320. package/dist/HugeiconsIcon.vue-By2RXWWz.js +0 -111
  321. package/dist/Input.vue_vue_type_script_setup_true_lang-KQETSF2I.js +0 -37
  322. package/dist/ItalianFlag-BAdg13z7.js +0 -34
  323. package/dist/JapaneseFlag-Dnd2ITzZ.js +0 -27
  324. package/dist/Label.vue_vue_type_script_setup_true_lang-BzHEIagR.js +0 -65
  325. package/dist/LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js +0 -21
  326. package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-Dxc03HyK.js +0 -159
  327. package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-DDB1dSjS.js +0 -63
  328. package/dist/LandingShell.vue_vue_type_script_setup_true_lang-B1PnJ78g.js +0 -49
  329. package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-DkaLgfxc.js +0 -61
  330. package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-BSErG9UN.js +0 -53
  331. package/dist/MessageDialog-ChS4d2qN.js +0 -4
  332. package/dist/MessageToast-DBztWhRL.js +0 -79
  333. package/dist/NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js +0 -75
  334. package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.js +0 -801
  335. package/dist/PopperContent-DUJ8a4i0.js +0 -2144
  336. package/dist/PortugueseFlag-DU2jEbaQ.js +0 -19
  337. package/dist/Presence-CTmUEdMR.js +0 -168
  338. package/dist/Primitive-D3IcFg81.js +0 -61
  339. package/dist/Progress.vue_vue_type_script_setup_true_lang-BDJfyW-d.js +0 -188
  340. package/dist/RussianFlag-Cnc4PHmq.js +0 -29
  341. package/dist/Separator-CFm_M4pb.js +0 -87
  342. package/dist/Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js +0 -29
  343. package/dist/SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js +0 -167
  344. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js +0 -20
  345. package/dist/Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js +0 -803
  346. package/dist/SpanishFlag-Dy-C9kGk.js +0 -28
  347. package/dist/Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js +0 -227
  348. package/dist/Teleport-DTOwRCqx.js +0 -315
  349. package/dist/TimePicker.vue_vue_type_script_setup_true_lang-CwuwDICo.js +0 -51
  350. package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js +0 -1120
  351. package/dist/VisuallyHidden-udQT2Fmo.js +0 -60
  352. package/dist/VisuallyHiddenInput-D5eipDQU.js +0 -142
  353. package/dist/_plugin-vue_export-helper-1tPrXgE0.js +0 -10
  354. package/dist/alert-dialog.js +0 -165
  355. package/dist/alert.js +0 -66
  356. package/dist/background-grid.js +0 -5
  357. package/dist/badge.js +0 -33
  358. package/dist/breadcrumb.js +0 -159
  359. package/dist/busy-indicator.js +0 -66
  360. package/dist/busy.js +0 -4
  361. package/dist/button.js +0 -67
  362. package/dist/calendar.js +0 -15
  363. package/dist/card-grid.js +0 -58
  364. package/dist/card.js +0 -84
  365. package/dist/chip.js +0 -47
  366. package/dist/clamp-D5Ye0kJT.js +0 -6
  367. package/dist/color-tokens-D9BviGPK.js +0 -40
  368. package/dist/command.js +0 -1099
  369. package/dist/components/background-grid/BackgroundGrid.vue.d.ts +0 -2
  370. package/dist/components/background-grid/index.d.ts +0 -2
  371. package/dist/components/busy-indicator/BusyIndicator.vue.d.ts +0 -2
  372. package/dist/components/busy-indicator/busy-indicator-state.d.ts +0 -15
  373. package/dist/components/busy-indicator/index.d.ts +0 -3
  374. package/dist/components/card-grid/CardGrid.vue.d.ts +0 -88
  375. package/dist/components/card-grid/index.d.ts +0 -2
  376. package/dist/components/chip/Chip.vue.d.ts +0 -17
  377. package/dist/components/chip/index.d.ts +0 -2
  378. package/dist/components/confirm-dialog/ConfirmDialog.vue.d.ts +0 -2
  379. package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +0 -40
  380. package/dist/components/confirm-dialog/index.d.ts +0 -3
  381. package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +0 -67
  382. package/dist/components/dashboard-shell/index.d.ts +0 -2
  383. package/dist/components/data-list/DataList.vue.d.ts +0 -21
  384. package/dist/components/data-list/DataListItem.vue.d.ts +0 -21
  385. package/dist/components/data-list/DataListLabel.vue.d.ts +0 -21
  386. package/dist/components/data-list/DataListText.vue.d.ts +0 -21
  387. package/dist/components/data-list/DataListValue.vue.d.ts +0 -21
  388. package/dist/components/data-list/index.d.ts +0 -5
  389. package/dist/components/empty-state-card/EmptyStateCard.vue.d.ts +0 -73
  390. package/dist/components/error-page/ErrorPage.vue.d.ts +0 -51
  391. package/dist/components/error-page/index.d.ts +0 -2
  392. package/dist/components/info-card/InfoCard.vue.d.ts +0 -46
  393. package/dist/components/info-card/index.d.ts +0 -2
  394. package/dist/components/landing/index.d.ts +0 -6
  395. package/dist/components/landing/landing-content/LandingContent.vue.d.ts +0 -21
  396. package/dist/components/landing/landing-content/index.d.ts +0 -2
  397. package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +0 -39
  398. package/dist/components/landing/landing-footer/index.d.ts +0 -3
  399. package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +0 -32
  400. package/dist/components/landing/landing-navbar/index.d.ts +0 -2
  401. package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +0 -31
  402. package/dist/components/landing/landing-shell/index.d.ts +0 -2
  403. package/dist/components/language-flag/LanguageFlag.vue.d.ts +0 -14
  404. package/dist/components/language-flag/flags/ChineseFlag.vue.d.ts +0 -2
  405. package/dist/components/language-flag/flags/EnglishFlag.vue.d.ts +0 -2
  406. package/dist/components/language-flag/flags/FrenchFlag.vue.d.ts +0 -2
  407. package/dist/components/language-flag/flags/GermanFlag.vue.d.ts +0 -2
  408. package/dist/components/language-flag/flags/ItalianFlag.vue.d.ts +0 -2
  409. package/dist/components/language-flag/flags/JapaneseFlag.vue.d.ts +0 -2
  410. package/dist/components/language-flag/flags/PortugueseFlag.vue.d.ts +0 -2
  411. package/dist/components/language-flag/flags/RussianFlag.vue.d.ts +0 -2
  412. package/dist/components/language-flag/flags/SpanishFlag.vue.d.ts +0 -2
  413. package/dist/components/language-selector/LanguageSelector.vue.d.ts +0 -31
  414. package/dist/components/load-more-button/LoadMoreButton.vue.d.ts +0 -36
  415. package/dist/components/loading-state-card/LoadingStateCard.vue.d.ts +0 -55
  416. package/dist/components/message-dialog/MessageDialog.vue.d.ts +0 -2
  417. package/dist/components/message-dialog/index.d.ts +0 -3
  418. package/dist/components/message-dialog/message-dialog-state.d.ts +0 -30
  419. package/dist/components/message-toast/MessageToast.vue.d.ts +0 -2
  420. package/dist/components/message-toast/index.d.ts +0 -2
  421. package/dist/components/message-toast/message-toast-state.d.ts +0 -18
  422. package/dist/components/page-header/PageHeader.vue.d.ts +0 -48
  423. package/dist/components/page-header/index.d.ts +0 -2
  424. package/dist/components/progress-component/ProgressComponent.vue.d.ts +0 -47
  425. package/dist/components/single-value-card/SingleValueCard.vue.d.ts +0 -40
  426. package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +0 -23
  427. package/dist/components/slider-form-component/index.d.ts +0 -2
  428. package/dist/components/switch-form-component/SwitchFormComponent.vue.d.ts +0 -12
  429. package/dist/components/switch-form-component/index.d.ts +0 -2
  430. package/dist/components/text-link/TextLink.vue.d.ts +0 -35
  431. package/dist/components/text-link/index.d.ts +0 -2
  432. package/dist/components/theme-selector/ThemeSelector.vue.d.ts +0 -2
  433. package/dist/components/theme-selector/index.d.ts +0 -2
  434. package/dist/components/ui/alert/Alert.vue.d.ts +0 -23
  435. package/dist/components/ui/alert/AlertDescription.vue.d.ts +0 -21
  436. package/dist/components/ui/alert/AlertTitle.vue.d.ts +0 -21
  437. package/dist/components/ui/alert/index.d.ts +0 -9
  438. package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +0 -25
  439. package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +0 -22
  440. package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +0 -22
  441. package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +0 -36
  442. package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +0 -22
  443. package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +0 -21
  444. package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +0 -21
  445. package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +0 -22
  446. package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +0 -18
  447. package/dist/components/ui/alert-dialog/index.d.ts +0 -9
  448. package/dist/components/ui/badge/Badge.vue.d.ts +0 -16
  449. package/dist/components/ui/badge/index.d.ts +0 -1
  450. package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +0 -21
  451. package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +0 -21
  452. package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +0 -21
  453. package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +0 -24
  454. package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +0 -21
  455. package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +0 -21
  456. package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +0 -21
  457. package/dist/components/ui/breadcrumb/index.d.ts +0 -7
  458. package/dist/components/ui/busy/Busy.vue.d.ts +0 -27
  459. package/dist/components/ui/busy/index.d.ts +0 -1
  460. package/dist/components/ui/button/Button.vue.d.ts +0 -27
  461. package/dist/components/ui/button/index.d.ts +0 -7
  462. package/dist/components/ui/calendar/Calendar.vue.d.ts +0 -44
  463. package/dist/components/ui/calendar/CalendarCell.vue.d.ts +0 -22
  464. package/dist/components/ui/calendar/CalendarCellTrigger.vue.d.ts +0 -24
  465. package/dist/components/ui/calendar/CalendarGrid.vue.d.ts +0 -22
  466. package/dist/components/ui/calendar/CalendarGridBody.vue.d.ts +0 -18
  467. package/dist/components/ui/calendar/CalendarGridHead.vue.d.ts +0 -22
  468. package/dist/components/ui/calendar/CalendarGridRow.vue.d.ts +0 -22
  469. package/dist/components/ui/calendar/CalendarHeadCell.vue.d.ts +0 -22
  470. package/dist/components/ui/calendar/CalendarHeader.vue.d.ts +0 -22
  471. package/dist/components/ui/calendar/CalendarHeading.vue.d.ts +0 -28
  472. package/dist/components/ui/calendar/CalendarNextButton.vue.d.ts +0 -22
  473. package/dist/components/ui/calendar/CalendarPrevButton.vue.d.ts +0 -22
  474. package/dist/components/ui/calendar/index.d.ts +0 -13
  475. package/dist/components/ui/card/Card.vue.d.ts +0 -24
  476. package/dist/components/ui/card/CardAction.vue.d.ts +0 -21
  477. package/dist/components/ui/card/CardContent.vue.d.ts +0 -21
  478. package/dist/components/ui/card/CardDescription.vue.d.ts +0 -21
  479. package/dist/components/ui/card/CardFooter.vue.d.ts +0 -21
  480. package/dist/components/ui/card/CardHeader.vue.d.ts +0 -21
  481. package/dist/components/ui/card/CardText.vue.d.ts +0 -21
  482. package/dist/components/ui/card/CardTitle.vue.d.ts +0 -21
  483. package/dist/components/ui/card/index.d.ts +0 -8
  484. package/dist/components/ui/command/Command.vue.d.ts +0 -40
  485. package/dist/components/ui/command/CommandDialog.vue.d.ts +0 -32
  486. package/dist/components/ui/command/CommandEmpty.vue.d.ts +0 -22
  487. package/dist/components/ui/command/CommandGroup.vue.d.ts +0 -23
  488. package/dist/components/ui/command/CommandInput.vue.d.ts +0 -7
  489. package/dist/components/ui/command/CommandItem.vue.d.ts +0 -30
  490. package/dist/components/ui/command/CommandList.vue.d.ts +0 -22
  491. package/dist/components/ui/command/CommandSeparator.vue.d.ts +0 -22
  492. package/dist/components/ui/command/CommandShortcut.vue.d.ts +0 -21
  493. package/dist/components/ui/command/index.d.ts +0 -90
  494. package/dist/components/ui/date-picker/DatePicker.vue.d.ts +0 -21
  495. package/dist/components/ui/date-picker/index.d.ts +0 -2
  496. package/dist/components/ui/date-time-picker/DateTimePicker.vue.d.ts +0 -27
  497. package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -25
  498. package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -18
  499. package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -39
  500. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -22
  501. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -21
  502. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -21
  503. package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +0 -22
  504. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -39
  505. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -22
  506. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -18
  507. package/dist/components/ui/dialog/index.d.ts +0 -10
  508. package/dist/components/ui/field/Field.vue.d.ts +0 -23
  509. package/dist/components/ui/field/FieldContent.vue.d.ts +0 -21
  510. package/dist/components/ui/field/FieldDescription.vue.d.ts +0 -21
  511. package/dist/components/ui/field/FieldError.vue.d.ts +0 -24
  512. package/dist/components/ui/field/FieldGroup.vue.d.ts +0 -21
  513. package/dist/components/ui/field/FieldLabel.vue.d.ts +0 -21
  514. package/dist/components/ui/field/FieldLegend.vue.d.ts +0 -22
  515. package/dist/components/ui/field/FieldSeparator.vue.d.ts +0 -21
  516. package/dist/components/ui/field/FieldSet.vue.d.ts +0 -21
  517. package/dist/components/ui/field/FieldTitle.vue.d.ts +0 -21
  518. package/dist/components/ui/field/index.d.ts +0 -15
  519. package/dist/components/ui/input/Input.vue.d.ts +0 -12
  520. package/dist/components/ui/input/index.d.ts +0 -1
  521. package/dist/components/ui/label/Label.vue.d.ts +0 -22
  522. package/dist/components/ui/label/index.d.ts +0 -1
  523. package/dist/components/ui/native-select/NativeSelect.vue.d.ts +0 -27
  524. package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +0 -21
  525. package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +0 -21
  526. package/dist/components/ui/native-select/index.d.ts +0 -3
  527. package/dist/components/ui/popover/Popover.vue.d.ts +0 -25
  528. package/dist/components/ui/popover/PopoverAnchor.vue.d.ts +0 -18
  529. package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -39
  530. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -18
  531. package/dist/components/ui/popover/index.d.ts +0 -4
  532. package/dist/components/ui/progress/Progress.vue.d.ts +0 -9
  533. package/dist/components/ui/progress/index.d.ts +0 -1
  534. package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +0 -22
  535. package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +0 -9
  536. package/dist/components/ui/scroll-area/index.d.ts +0 -2
  537. package/dist/components/ui/select/Select.vue.d.ts +0 -28
  538. package/dist/components/ui/select/SelectContent.vue.d.ts +0 -35
  539. package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -18
  540. package/dist/components/ui/select/SelectItem.vue.d.ts +0 -24
  541. package/dist/components/ui/select/SelectItemContent.vue.d.ts +0 -15
  542. package/dist/components/ui/select/SelectItemText.vue.d.ts +0 -18
  543. package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -22
  544. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -22
  545. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -22
  546. package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -7
  547. package/dist/components/ui/select/SelectTrigger.vue.d.ts +0 -25
  548. package/dist/components/ui/select/SelectValue.vue.d.ts +0 -18
  549. package/dist/components/ui/select/SelectValueContent.vue.d.ts +0 -16
  550. package/dist/components/ui/select/index.d.ts +0 -13
  551. package/dist/components/ui/separator/Separator.vue.d.ts +0 -10
  552. package/dist/components/ui/separator/index.d.ts +0 -1
  553. package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -25
  554. package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -18
  555. package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -39
  556. package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -22
  557. package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -21
  558. package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -21
  559. package/dist/components/ui/sheet/SheetOverlay.vue.d.ts +0 -22
  560. package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -22
  561. package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -18
  562. package/dist/components/ui/sheet/index.d.ts +0 -8
  563. package/dist/components/ui/sidebar/Sidebar.vue.d.ts +0 -25
  564. package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +0 -21
  565. package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +0 -21
  566. package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +0 -21
  567. package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +0 -22
  568. package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +0 -21
  569. package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +0 -22
  570. package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +0 -21
  571. package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +0 -21
  572. package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +0 -21
  573. package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +0 -21
  574. package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +0 -25
  575. package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +0 -21
  576. package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +0 -27
  577. package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +0 -30
  578. package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +0 -21
  579. package/dist/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +0 -7
  580. package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +0 -21
  581. package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +0 -27
  582. package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +0 -21
  583. package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +0 -32
  584. package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +0 -21
  585. package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +0 -21
  586. package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +0 -6
  587. package/dist/components/ui/sidebar/index.d.ts +0 -38
  588. package/dist/components/ui/sidebar/utils.d.ts +0 -56
  589. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +0 -6
  590. package/dist/components/ui/skeleton/index.d.ts +0 -1
  591. package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
  592. package/dist/components/ui/slider/index.d.ts +0 -1
  593. package/dist/components/ui/switch/Switch.vue.d.ts +0 -29
  594. package/dist/components/ui/switch/index.d.ts +0 -1
  595. package/dist/components/ui/table/Table.vue.d.ts +0 -21
  596. package/dist/components/ui/table/TableBody.vue.d.ts +0 -21
  597. package/dist/components/ui/table/TableCaption.vue.d.ts +0 -21
  598. package/dist/components/ui/table/TableCell.vue.d.ts +0 -21
  599. package/dist/components/ui/table/TableEmpty.vue.d.ts +0 -24
  600. package/dist/components/ui/table/TableFooter.vue.d.ts +0 -21
  601. package/dist/components/ui/table/TableHead.vue.d.ts +0 -21
  602. package/dist/components/ui/table/TableHeader.vue.d.ts +0 -21
  603. package/dist/components/ui/table/TableRow.vue.d.ts +0 -21
  604. package/dist/components/ui/table/index.d.ts +0 -9
  605. package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -28
  606. package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -22
  607. package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -22
  608. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -22
  609. package/dist/components/ui/tabs/index.d.ts +0 -4
  610. package/dist/components/ui/textarea/Textarea.vue.d.ts +0 -12
  611. package/dist/components/ui/textarea/index.d.ts +0 -1
  612. package/dist/components/ui/time-picker/TimePicker.vue.d.ts +0 -21
  613. package/dist/components/ui/time-picker/index.d.ts +0 -2
  614. package/dist/components/ui/tooltip/Tooltip.vue.d.ts +0 -24
  615. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +0 -30
  616. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +0 -20
  617. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +0 -18
  618. package/dist/components/ui/tooltip/index.d.ts +0 -4
  619. package/dist/confirm-dialog.js +0 -228
  620. package/dist/createContext-BabAT1K8.js +0 -19
  621. package/dist/dashboard-shell.js +0 -231
  622. package/dist/data-list.js +0 -97
  623. package/dist/date-picker.js +0 -5
  624. package/dist/date-time-picker.js +0 -140
  625. package/dist/dialog.js +0 -147
  626. package/dist/empty-state-card.js +0 -5
  627. package/dist/error-page.js +0 -115
  628. package/dist/field.js +0 -294
  629. package/dist/getActiveElement-Bmy6QsUb.js +0 -9
  630. package/dist/i18n.js +0 -562
  631. package/dist/index-DDJjWaIl.js +0 -363
  632. package/dist/index-Dw56kNV0.js +0 -251
  633. package/dist/index-FpH8cK6B.js +0 -44
  634. package/dist/index.min-CZ9FIOXr.js +0 -23
  635. package/dist/info-card.js +0 -65
  636. package/dist/input.js +0 -4
  637. package/dist/label.js +0 -4
  638. package/dist/landing-content.js +0 -5
  639. package/dist/landing-footer.js +0 -5
  640. package/dist/landing-navbar.js +0 -5
  641. package/dist/landing-shell.js +0 -5
  642. package/dist/landing.js +0 -11
  643. package/dist/language-flag.js +0 -61
  644. package/dist/language-selector.js +0 -169
  645. package/dist/lib/color-tokens.d.ts +0 -6
  646. package/dist/lib/i18n.d.ts +0 -985
  647. package/dist/lib/utils.d.ts +0 -2
  648. package/dist/load-more-button.js +0 -5
  649. package/dist/loading-state-card.js +0 -5
  650. package/dist/message-dialog.js +0 -226
  651. package/dist/message-toast.js +0 -103
  652. package/dist/native-select.js +0 -25
  653. package/dist/nullish-D3tMkl6i.js +0 -6
  654. package/dist/page-header.js +0 -57
  655. package/dist/popover.js +0 -65
  656. package/dist/progress-component.js +0 -51
  657. package/dist/progress.js +0 -4
  658. package/dist/scroll-area.js +0 -1080
  659. package/dist/select.js +0 -2222
  660. package/dist/separator.js +0 -4
  661. package/dist/sheet.js +0 -68
  662. package/dist/sidebar.js +0 -807
  663. package/dist/single-value-card.js +0 -64
  664. package/dist/skeleton.js +0 -4
  665. package/dist/slider-form-component.js +0 -60
  666. package/dist/slider.js +0 -4
  667. package/dist/style.css +0 -5128
  668. package/dist/style.d.ts +0 -0
  669. package/dist/style.js +0 -1
  670. package/dist/switch-form-component.js +0 -40
  671. package/dist/switch.js +0 -4
  672. package/dist/table.js +0 -193
  673. package/dist/tabs.js +0 -658
  674. package/dist/text-link.js +0 -39
  675. package/dist/textarea.js +0 -37
  676. package/dist/theme-selector.js +0 -159
  677. package/dist/time-picker.js +0 -5
  678. package/dist/tooltip.js +0 -32
  679. package/dist/useDirection-B2bMgzzV.js +0 -12
  680. package/dist/useFocusGuards-2C1jyYW5.js +0 -29
  681. package/dist/useFormControl-DZ4LnB9F.js +0 -11
  682. package/dist/useForwardExpose-BcX3VRdS.js +0 -58
  683. package/dist/useForwardPropsEmits-GlUGKcIz.js +0 -47
  684. package/dist/useId-CF6wz41D.js +0 -16
  685. package/dist/useKbd-JjFOu4f7.js +0 -41
  686. package/dist/useNonce-CWj1JlPB.js +0 -12
  687. package/dist/usePrimitiveElement-BCpwlakH.js +0 -16
  688. package/dist/useSize-DUgGY9t1.js +0 -51
  689. package/dist/useTypeahead-4RK0Emcv.js +0 -159
  690. package/dist/utils-Bz4m9VPB.js +0 -3192
  691. package/dist/utils-DbR1EZn-.js +0 -16
  692. package/dist/utils-hdwtyAF3.js +0 -44
  693. package/dist/utils.js +0 -4
package/dist/command.js DELETED
@@ -1,1099 +0,0 @@
1
- import { c as createContext } from "./createContext-BabAT1K8.js";
2
- import { computed, unref, defineComponent, toRefs, ref, watch, nextTick, openBlock, createBlock, withCtx, renderSlot, createCommentVNode, createVNode, withKeys, withModifiers, watchSyncEffect, onMounted, onUnmounted, mergeProps, withMemo, reactive, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, createElementVNode, createElementBlock, normalizeClass } from "vue";
3
- import { u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-GlUGKcIz.js";
4
- import { i as isEqual, u as useTypeahead } from "./useTypeahead-4RK0Emcv.js";
5
- import { u as useDirection } from "./useDirection-B2bMgzzV.js";
6
- import { u as useFormControl } from "./useFormControl-DZ4LnB9F.js";
7
- import { u as useKbd } from "./useKbd-JjFOu4f7.js";
8
- import { P as Primitive } from "./Primitive-D3IcFg81.js";
9
- import { u as usePrimitiveElement } from "./usePrimitiveElement-BCpwlakH.js";
10
- import { u as useCollection } from "./Collection-4P3HQ4uU.js";
11
- import { V as VisuallyHiddenInput_default } from "./VisuallyHiddenInput-D5eipDQU.js";
12
- import { g as getFocusIntent } from "./utils-hdwtyAF3.js";
13
- import { a as useVModel, f as useCurrentElement } from "./index-Dw56kNV0.js";
14
- import { o as createEventHook, g as refAutoReset, r as reactiveOmit } from "./index-DDJjWaIl.js";
15
- import { c as cn } from "./utils-Bz4m9VPB.js";
16
- import { _ as _sfc_main$9, a as _sfc_main$a, c as _sfc_main$b, e as _sfc_main$c, b as _sfc_main$d } from "./DialogTitle.vue_vue_type_script_setup_true_lang-B79YbKSf.js";
17
- import { u as useId } from "./useId-CF6wz41D.js";
18
- import { p as pkr } from "./index.min-CZ9FIOXr.js";
19
- import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
20
- import { h as handleAndDispatchCustomEvent } from "./Teleport-DTOwRCqx.js";
21
- import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
22
- import { S as Separator_default } from "./Separator-CFm_M4pb.js";
23
- function findValuesBetween(array, start, end) {
24
- const startIndex = array.findIndex((i) => isEqual(i, start));
25
- const endIndex = array.findIndex((i) => isEqual(i, end));
26
- if (startIndex === -1 || endIndex === -1) return [];
27
- const [minIndex, maxIndex] = [startIndex, endIndex].sort((a, b) => a - b);
28
- return array.slice(minIndex, maxIndex + 1);
29
- }
30
- function useFilter(options) {
31
- const computedOptions = computed(() => unref(options));
32
- const collator = computed(() => new Intl.Collator("en", {
33
- usage: "search",
34
- ...computedOptions.value
35
- }));
36
- const startsWith = (string, substring) => {
37
- if (substring.length === 0) return true;
38
- string = string.normalize("NFC");
39
- substring = substring.normalize("NFC");
40
- return collator.value.compare(string.slice(0, substring.length), substring) === 0;
41
- };
42
- const endsWith = (string, substring) => {
43
- if (substring.length === 0) return true;
44
- string = string.normalize("NFC");
45
- substring = substring.normalize("NFC");
46
- return collator.value.compare(string.slice(-substring.length), substring) === 0;
47
- };
48
- const contains = (string, substring) => {
49
- if (substring.length === 0) return true;
50
- string = string.normalize("NFC");
51
- substring = substring.normalize("NFC");
52
- let scan = 0;
53
- const sliceLen = substring.length;
54
- for (; scan + sliceLen <= string.length; scan++) {
55
- const slice = string.slice(scan, scan + sliceLen);
56
- if (collator.value.compare(substring, slice) === 0) return true;
57
- }
58
- return false;
59
- };
60
- return {
61
- startsWith,
62
- endsWith,
63
- contains
64
- };
65
- }
66
- function valueComparator(value, currentValue, comparator) {
67
- if (value === void 0) return false;
68
- else if (Array.isArray(value)) return value.some((val) => compare(val, currentValue, comparator));
69
- else return compare(value, currentValue, comparator);
70
- }
71
- function compare(value, currentValue, comparator) {
72
- if (value === void 0 || currentValue === void 0) return false;
73
- if (typeof value === "string") return value === currentValue;
74
- if (typeof comparator === "function") return comparator(value, currentValue);
75
- if (typeof comparator === "string") return (value == null ? void 0 : value[comparator]) === (currentValue == null ? void 0 : currentValue[comparator]);
76
- return isEqual(value, currentValue);
77
- }
78
- const [injectListboxRootContext, provideListboxRootContext] = createContext("ListboxRoot");
79
- var ListboxRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
80
- __name: "ListboxRoot",
81
- props: {
82
- modelValue: {
83
- type: null,
84
- required: false
85
- },
86
- defaultValue: {
87
- type: null,
88
- required: false
89
- },
90
- multiple: {
91
- type: Boolean,
92
- required: false
93
- },
94
- orientation: {
95
- type: String,
96
- required: false,
97
- default: "vertical"
98
- },
99
- dir: {
100
- type: String,
101
- required: false
102
- },
103
- disabled: {
104
- type: Boolean,
105
- required: false
106
- },
107
- selectionBehavior: {
108
- type: String,
109
- required: false,
110
- default: "toggle"
111
- },
112
- highlightOnHover: {
113
- type: Boolean,
114
- required: false
115
- },
116
- by: {
117
- type: [String, Function],
118
- required: false
119
- },
120
- asChild: {
121
- type: Boolean,
122
- required: false
123
- },
124
- as: {
125
- type: null,
126
- required: false
127
- },
128
- name: {
129
- type: String,
130
- required: false
131
- },
132
- required: {
133
- type: Boolean,
134
- required: false
135
- }
136
- },
137
- emits: [
138
- "update:modelValue",
139
- "highlight",
140
- "entryFocus",
141
- "leave"
142
- ],
143
- setup(__props, { expose: __expose, emit: __emit }) {
144
- const props = __props;
145
- const emits = __emit;
146
- const { multiple, highlightOnHover, orientation, disabled, selectionBehavior, dir: propDir } = toRefs(props);
147
- const { getItems } = useCollection({ isProvider: true });
148
- const { handleTypeaheadSearch } = useTypeahead();
149
- const { primitiveElement, currentElement } = usePrimitiveElement();
150
- const kbd = useKbd();
151
- const dir = useDirection(propDir);
152
- const isFormControl = useFormControl(currentElement);
153
- const firstValue = ref();
154
- const isUserAction = ref(false);
155
- const focusable = ref(true);
156
- const modelValue = useVModel(props, "modelValue", emits, {
157
- defaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),
158
- passive: props.modelValue === void 0,
159
- deep: true
160
- });
161
- function onValueChange(val) {
162
- isUserAction.value = true;
163
- if (props.multiple) {
164
- const modelArray = Array.isArray(modelValue.value) ? [...modelValue.value] : [];
165
- const index = modelArray.findIndex((i) => compare(i, val, props.by));
166
- if (props.selectionBehavior === "toggle") {
167
- index === -1 ? modelArray.push(val) : modelArray.splice(index, 1);
168
- modelValue.value = modelArray;
169
- } else {
170
- modelValue.value = [val];
171
- firstValue.value = val;
172
- }
173
- } else if (props.selectionBehavior === "toggle") if (compare(modelValue.value, val, props.by)) modelValue.value = void 0;
174
- else modelValue.value = val;
175
- else modelValue.value = val;
176
- setTimeout(() => {
177
- isUserAction.value = false;
178
- }, 1);
179
- }
180
- const highlightedElement = ref(null);
181
- const previousElement = ref(null);
182
- const isVirtual = ref(false);
183
- const isComposing = ref(false);
184
- const virtualFocusHook = createEventHook();
185
- const virtualKeydownHook = createEventHook();
186
- const virtualHighlightHook = createEventHook();
187
- function getCollectionItem() {
188
- return getItems().map((i) => i.ref).filter((i) => i.dataset.disabled !== "");
189
- }
190
- function changeHighlight(el, scrollIntoView = true) {
191
- if (!el) return;
192
- highlightedElement.value = el;
193
- if (focusable.value) highlightedElement.value.focus();
194
- if (scrollIntoView) highlightedElement.value.scrollIntoView({ block: "nearest" });
195
- const highlightedItem = getItems().find((i) => i.ref === el);
196
- emits("highlight", highlightedItem);
197
- }
198
- function highlightItem(value) {
199
- if (isVirtual.value) virtualHighlightHook.trigger(value);
200
- else {
201
- const item = getItems().find((i) => compare(i.value, value, props.by));
202
- if (item) {
203
- highlightedElement.value = item.ref;
204
- changeHighlight(item.ref);
205
- }
206
- }
207
- }
208
- function onKeydownEnter(event) {
209
- if (highlightedElement.value && highlightedElement.value.isConnected) {
210
- event.preventDefault();
211
- event.stopPropagation();
212
- if (!isComposing.value) highlightedElement.value.click();
213
- }
214
- }
215
- function onKeydownTypeAhead(event) {
216
- if (!focusable.value) return;
217
- isUserAction.value = true;
218
- if (isVirtual.value) virtualKeydownHook.trigger(event);
219
- else {
220
- const isMetaKey = event.altKey || event.ctrlKey || event.metaKey;
221
- if (isMetaKey && event.key === "a" && multiple.value) {
222
- const collection = getItems();
223
- const values = collection.map((i) => i.value);
224
- modelValue.value = [...values];
225
- event.preventDefault();
226
- changeHighlight(collection[collection.length - 1].ref);
227
- } else if (!isMetaKey) {
228
- const el = handleTypeaheadSearch(event.key, getItems());
229
- if (el) changeHighlight(el);
230
- }
231
- }
232
- setTimeout(() => {
233
- isUserAction.value = false;
234
- }, 1);
235
- }
236
- function onCompositionStart() {
237
- isComposing.value = true;
238
- }
239
- function onCompositionEnd() {
240
- nextTick(() => {
241
- isComposing.value = false;
242
- });
243
- }
244
- function highlightFirstItem() {
245
- nextTick(() => {
246
- const event = new KeyboardEvent("keydown", { key: "PageUp" });
247
- onKeydownNavigation(event);
248
- });
249
- }
250
- function onLeave(event) {
251
- const el = highlightedElement.value;
252
- if (el == null ? void 0 : el.isConnected) previousElement.value = el;
253
- highlightedElement.value = null;
254
- emits("leave", event);
255
- }
256
- function onEnter(event) {
257
- var _a, _b;
258
- const entryFocusEvent = new CustomEvent("listbox.entryFocus", {
259
- bubbles: false,
260
- cancelable: true
261
- });
262
- (_a = event.currentTarget) == null ? void 0 : _a.dispatchEvent(entryFocusEvent);
263
- emits("entryFocus", entryFocusEvent);
264
- if (entryFocusEvent.defaultPrevented) return;
265
- if (previousElement.value) changeHighlight(previousElement.value);
266
- else {
267
- const el = (_b = getCollectionItem()) == null ? void 0 : _b[0];
268
- changeHighlight(el);
269
- }
270
- }
271
- function onKeydownNavigation(event) {
272
- const intent = getFocusIntent(event, orientation.value, dir.value);
273
- if (!intent) return;
274
- let collection = getCollectionItem();
275
- if (highlightedElement.value) {
276
- if (intent === "last") collection.reverse();
277
- else if (intent === "prev" || intent === "next") {
278
- if (intent === "prev") collection.reverse();
279
- const currentIndex = collection.indexOf(highlightedElement.value);
280
- collection = collection.slice(currentIndex + 1);
281
- }
282
- handleMultipleReplace(event, collection[0]);
283
- }
284
- if (collection.length) {
285
- const index = !highlightedElement.value && intent === "prev" ? collection.length - 1 : 0;
286
- changeHighlight(collection[index]);
287
- }
288
- if (isVirtual.value) return virtualKeydownHook.trigger(event);
289
- }
290
- function handleMultipleReplace(event, targetEl) {
291
- var _a;
292
- if (isVirtual.value || props.selectionBehavior !== "replace" || !multiple.value || !Array.isArray(modelValue.value)) return;
293
- const isMetaKey = event.altKey || event.ctrlKey || event.metaKey;
294
- if (isMetaKey && !event.shiftKey) return;
295
- if (event.shiftKey) {
296
- const collection = getItems().filter((i) => i.ref.dataset.disabled !== "");
297
- let lastValue = (_a = collection.find((i) => i.ref === targetEl)) == null ? void 0 : _a.value;
298
- if (event.key === kbd.END) lastValue = collection[collection.length - 1].value;
299
- else if (event.key === kbd.HOME) lastValue = collection[0].value;
300
- if (!lastValue || !firstValue.value) return;
301
- const values = findValuesBetween(collection.map((i) => i.value), firstValue.value, lastValue);
302
- modelValue.value = values;
303
- }
304
- }
305
- async function highlightSelected(event) {
306
- await nextTick();
307
- if (isVirtual.value) virtualFocusHook.trigger(event);
308
- else {
309
- const collection = getCollectionItem();
310
- const item = collection.find((i) => i.dataset.state === "checked");
311
- if (item) changeHighlight(item);
312
- else if (collection.length) changeHighlight(collection[0]);
313
- }
314
- }
315
- watch(modelValue, () => {
316
- if (!isUserAction.value) nextTick(() => {
317
- highlightSelected();
318
- });
319
- }, {
320
- immediate: true,
321
- deep: true
322
- });
323
- __expose({
324
- highlightedElement,
325
- highlightItem,
326
- highlightFirstItem,
327
- highlightSelected,
328
- getItems
329
- });
330
- provideListboxRootContext({
331
- modelValue,
332
- onValueChange,
333
- multiple,
334
- orientation,
335
- dir,
336
- disabled,
337
- highlightOnHover,
338
- highlightedElement,
339
- isVirtual,
340
- virtualFocusHook,
341
- virtualKeydownHook,
342
- virtualHighlightHook,
343
- by: props.by,
344
- firstValue,
345
- selectionBehavior,
346
- focusable,
347
- onLeave,
348
- onEnter,
349
- changeHighlight,
350
- onKeydownEnter,
351
- onKeydownNavigation,
352
- onKeydownTypeAhead,
353
- onCompositionStart,
354
- onCompositionEnd,
355
- highlightFirstItem
356
- });
357
- return (_ctx, _cache) => {
358
- return openBlock(), createBlock(unref(Primitive), {
359
- ref_key: "primitiveElement",
360
- ref: primitiveElement,
361
- as: _ctx.as,
362
- "as-child": _ctx.asChild,
363
- dir: unref(dir),
364
- "data-disabled": unref(disabled) ? "" : void 0,
365
- onPointerleave: onLeave,
366
- onFocusout: _cache[0] || (_cache[0] = async (event) => {
367
- const target = event.relatedTarget || event.target;
368
- await nextTick();
369
- if (highlightedElement.value && unref(currentElement) && !unref(currentElement).contains(target)) onLeave(event);
370
- })
371
- }, {
372
- default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) }), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {
373
- key: 0,
374
- name: _ctx.name,
375
- value: unref(modelValue),
376
- disabled: unref(disabled),
377
- required: _ctx.required
378
- }, null, 8, [
379
- "name",
380
- "value",
381
- "disabled",
382
- "required"
383
- ])) : createCommentVNode("v-if", true)]),
384
- _: 3
385
- }, 8, [
386
- "as",
387
- "as-child",
388
- "dir",
389
- "data-disabled"
390
- ]);
391
- };
392
- }
393
- });
394
- var ListboxRoot_default = ListboxRoot_vue_vue_type_script_setup_true_lang_default;
395
- var ListboxContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
396
- __name: "ListboxContent",
397
- props: {
398
- asChild: {
399
- type: Boolean,
400
- required: false
401
- },
402
- as: {
403
- type: null,
404
- required: false
405
- }
406
- },
407
- setup(__props) {
408
- const { CollectionSlot } = useCollection();
409
- const rootContext = injectListboxRootContext();
410
- const isClickFocus = refAutoReset(false, 10);
411
- return (_ctx, _cache) => {
412
- return openBlock(), createBlock(unref(CollectionSlot), null, {
413
- default: withCtx(() => [createVNode(unref(Primitive), {
414
- role: "listbox",
415
- as: _ctx.as,
416
- "as-child": _ctx.asChild,
417
- tabindex: unref(rootContext).focusable.value ? unref(rootContext).highlightedElement.value ? "-1" : "0" : "-1",
418
- "aria-orientation": unref(rootContext).orientation.value,
419
- "aria-multiselectable": !!unref(rootContext).multiple.value,
420
- "data-orientation": unref(rootContext).orientation.value,
421
- onMousedown: _cache[0] || (_cache[0] = withModifiers(($event) => isClickFocus.value = true, ["left"])),
422
- onFocus: _cache[1] || (_cache[1] = (ev) => {
423
- if (unref(isClickFocus)) return;
424
- unref(rootContext).onEnter(ev);
425
- }),
426
- onKeydown: [
427
- _cache[2] || (_cache[2] = withKeys((event) => {
428
- if (unref(rootContext).orientation.value === "vertical" && (event.key === "ArrowLeft" || event.key === "ArrowRight") || unref(rootContext).orientation.value === "horizontal" && (event.key === "ArrowUp" || event.key === "ArrowDown")) return;
429
- event.preventDefault();
430
- unref(rootContext).focusable.value && unref(rootContext).onKeydownNavigation(event);
431
- }, [
432
- "down",
433
- "up",
434
- "left",
435
- "right",
436
- "home",
437
- "end"
438
- ])),
439
- withKeys(unref(rootContext).onKeydownEnter, ["enter"]),
440
- unref(rootContext).onKeydownTypeAhead
441
- ]
442
- }, {
443
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
444
- _: 3
445
- }, 8, [
446
- "as",
447
- "as-child",
448
- "tabindex",
449
- "aria-orientation",
450
- "aria-multiselectable",
451
- "data-orientation",
452
- "onKeydown"
453
- ])]),
454
- _: 3
455
- });
456
- };
457
- }
458
- });
459
- var ListboxContent_default = ListboxContent_vue_vue_type_script_setup_true_lang_default;
460
- var ListboxFilter_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
461
- __name: "ListboxFilter",
462
- props: {
463
- modelValue: {
464
- type: String,
465
- required: false
466
- },
467
- autoFocus: {
468
- type: Boolean,
469
- required: false
470
- },
471
- disabled: {
472
- type: Boolean,
473
- required: false
474
- },
475
- asChild: {
476
- type: Boolean,
477
- required: false
478
- },
479
- as: {
480
- type: null,
481
- required: false,
482
- default: "input"
483
- }
484
- },
485
- emits: ["update:modelValue"],
486
- setup(__props, { emit: __emit }) {
487
- const props = __props;
488
- const emits = __emit;
489
- const modelValue = useVModel(props, "modelValue", emits, {
490
- defaultValue: "",
491
- passive: props.modelValue === void 0
492
- });
493
- const rootContext = injectListboxRootContext();
494
- const { primitiveElement, currentElement } = usePrimitiveElement();
495
- const disabled = computed(() => props.disabled || rootContext.disabled.value || false);
496
- const activedescendant = ref();
497
- watchSyncEffect(() => {
498
- var _a;
499
- return activedescendant.value = (_a = rootContext.highlightedElement.value) == null ? void 0 : _a.id;
500
- });
501
- onMounted(() => {
502
- rootContext.focusable.value = false;
503
- setTimeout(() => {
504
- var _a;
505
- if (props.autoFocus) (_a = currentElement.value) == null ? void 0 : _a.focus();
506
- }, 1);
507
- });
508
- onUnmounted(() => {
509
- rootContext.focusable.value = true;
510
- });
511
- return (_ctx, _cache) => {
512
- return openBlock(), createBlock(unref(Primitive), {
513
- ref_key: "primitiveElement",
514
- ref: primitiveElement,
515
- as: _ctx.as,
516
- "as-child": _ctx.asChild,
517
- value: unref(modelValue),
518
- disabled: disabled.value ? "" : void 0,
519
- "data-disabled": disabled.value ? "" : void 0,
520
- "aria-disabled": disabled.value ?? void 0,
521
- "aria-activedescendant": activedescendant.value,
522
- type: "text",
523
- onKeydown: [withKeys(withModifiers(unref(rootContext).onKeydownNavigation, ["prevent"]), [
524
- "down",
525
- "up",
526
- "home",
527
- "end"
528
- ]), withKeys(unref(rootContext).onKeydownEnter, ["enter"])],
529
- onInput: _cache[0] || (_cache[0] = (event) => {
530
- modelValue.value = event.target.value;
531
- unref(rootContext).highlightFirstItem();
532
- }),
533
- onCompositionstart: unref(rootContext).onCompositionStart,
534
- onCompositionend: unref(rootContext).onCompositionEnd
535
- }, {
536
- default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) })]),
537
- _: 3
538
- }, 8, [
539
- "as",
540
- "as-child",
541
- "value",
542
- "disabled",
543
- "data-disabled",
544
- "aria-disabled",
545
- "aria-activedescendant",
546
- "onKeydown",
547
- "onCompositionstart",
548
- "onCompositionend"
549
- ]);
550
- };
551
- }
552
- });
553
- var ListboxFilter_default = ListboxFilter_vue_vue_type_script_setup_true_lang_default;
554
- const [injectListboxGroupContext, provideListboxGroupContext] = createContext("ListboxGroup");
555
- var ListboxGroup_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
556
- __name: "ListboxGroup",
557
- props: {
558
- asChild: {
559
- type: Boolean,
560
- required: false
561
- },
562
- as: {
563
- type: null,
564
- required: false
565
- }
566
- },
567
- setup(__props) {
568
- const props = __props;
569
- const id = useId(void 0, "reka-listbox-group");
570
- provideListboxGroupContext({ id });
571
- return (_ctx, _cache) => {
572
- return openBlock(), createBlock(unref(Primitive), mergeProps({ role: "group" }, props, { "aria-labelledby": unref(id) }), {
573
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
574
- _: 3
575
- }, 16, ["aria-labelledby"]);
576
- };
577
- }
578
- });
579
- var ListboxGroup_default = ListboxGroup_vue_vue_type_script_setup_true_lang_default;
580
- var ListboxGroupLabel_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
581
- __name: "ListboxGroupLabel",
582
- props: {
583
- for: {
584
- type: String,
585
- required: false
586
- },
587
- asChild: {
588
- type: Boolean,
589
- required: false
590
- },
591
- as: {
592
- type: null,
593
- required: false,
594
- default: "div"
595
- }
596
- },
597
- setup(__props) {
598
- const props = __props;
599
- const groupContext = injectListboxGroupContext({ id: "" });
600
- return (_ctx, _cache) => {
601
- return openBlock(), createBlock(unref(Primitive), mergeProps(props, { id: unref(groupContext).id }), {
602
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
603
- _: 3
604
- }, 16, ["id"]);
605
- };
606
- }
607
- });
608
- var ListboxGroupLabel_default = ListboxGroupLabel_vue_vue_type_script_setup_true_lang_default;
609
- const LISTBOX_SELECT = "listbox.select";
610
- const [injectListboxItemContext, provideListboxItemContext] = createContext("ListboxItem");
611
- var ListboxItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
612
- __name: "ListboxItem",
613
- props: {
614
- value: {
615
- type: null,
616
- required: true
617
- },
618
- disabled: {
619
- type: Boolean,
620
- required: false
621
- },
622
- asChild: {
623
- type: Boolean,
624
- required: false
625
- },
626
- as: {
627
- type: null,
628
- required: false,
629
- default: "div"
630
- }
631
- },
632
- emits: ["select"],
633
- setup(__props, { emit: __emit }) {
634
- const props = __props;
635
- const emits = __emit;
636
- const id = useId(void 0, "reka-listbox-item");
637
- const { CollectionItem } = useCollection();
638
- const { forwardRef, currentElement } = useForwardExpose();
639
- const rootContext = injectListboxRootContext();
640
- const isHighlighted = computed(() => currentElement.value === rootContext.highlightedElement.value);
641
- const isSelected = computed(() => valueComparator(rootContext.modelValue.value, props.value, rootContext.by));
642
- const disabled = computed(() => rootContext.disabled.value || props.disabled);
643
- async function handleSelect(ev) {
644
- emits("select", ev);
645
- if (ev == null ? void 0 : ev.defaultPrevented) return;
646
- if (!disabled.value && ev) {
647
- rootContext.onValueChange(props.value);
648
- rootContext.changeHighlight(currentElement.value);
649
- }
650
- }
651
- function handleSelectCustomEvent(ev) {
652
- const eventDetail = {
653
- originalEvent: ev,
654
- value: props.value
655
- };
656
- handleAndDispatchCustomEvent(LISTBOX_SELECT, handleSelect, eventDetail);
657
- }
658
- provideListboxItemContext({ isSelected });
659
- return (_ctx, _cache) => {
660
- return openBlock(), createBlock(unref(CollectionItem), { value: _ctx.value }, {
661
- default: withCtx(() => [withMemo([isHighlighted.value, isSelected.value], () => createVNode(unref(Primitive), mergeProps({ id: unref(id) }, _ctx.$attrs, {
662
- ref: unref(forwardRef),
663
- role: "option",
664
- tabindex: unref(rootContext).focusable.value ? isHighlighted.value ? "0" : "-1" : -1,
665
- "aria-selected": isSelected.value,
666
- as: _ctx.as,
667
- "as-child": _ctx.asChild,
668
- disabled: disabled.value ? "" : void 0,
669
- "data-disabled": disabled.value ? "" : void 0,
670
- "data-highlighted": isHighlighted.value ? "" : void 0,
671
- "data-state": isSelected.value ? "checked" : "unchecked",
672
- onClick: handleSelectCustomEvent,
673
- onKeydown: withKeys(withModifiers(handleSelectCustomEvent, ["prevent"]), ["space"]),
674
- onPointermove: _cache[0] || (_cache[0] = () => {
675
- if (unref(rootContext).highlightedElement.value === unref(currentElement)) return;
676
- if (unref(rootContext).highlightOnHover.value && !unref(rootContext).focusable.value) unref(rootContext).changeHighlight(unref(currentElement), false);
677
- })
678
- }), {
679
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
680
- _: 3
681
- }, 16, [
682
- "id",
683
- "tabindex",
684
- "aria-selected",
685
- "as",
686
- "as-child",
687
- "disabled",
688
- "data-disabled",
689
- "data-highlighted",
690
- "data-state",
691
- "onKeydown"
692
- ]), _cache, 1)]),
693
- _: 3
694
- }, 8, ["value"]);
695
- };
696
- }
697
- });
698
- var ListboxItem_default = ListboxItem_vue_vue_type_script_setup_true_lang_default;
699
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
700
- __name: "Command",
701
- props: {
702
- modelValue: { default: "" },
703
- defaultValue: {},
704
- multiple: { type: Boolean },
705
- orientation: {},
706
- dir: {},
707
- disabled: { type: Boolean },
708
- selectionBehavior: {},
709
- highlightOnHover: { type: Boolean },
710
- by: {},
711
- asChild: { type: Boolean },
712
- as: {},
713
- name: {},
714
- required: { type: Boolean },
715
- class: {}
716
- },
717
- emits: ["update:modelValue", "highlight", "entryFocus", "leave"],
718
- setup(__props, { emit: __emit }) {
719
- const props = __props;
720
- const emits = __emit;
721
- const delegatedProps = reactiveOmit(props, "class");
722
- const forwarded = useForwardPropsEmits(delegatedProps, emits);
723
- const allItems = ref(/* @__PURE__ */ new Map());
724
- const allGroups = ref(/* @__PURE__ */ new Map());
725
- const { contains } = useFilter({ sensitivity: "base" });
726
- const filterState = reactive({
727
- search: "",
728
- filtered: {
729
- /** The count of all visible items. */
730
- count: 0,
731
- /** Map from visible item id to its search score. */
732
- items: /* @__PURE__ */ new Map(),
733
- /** Set of groups with at least one visible item. */
734
- groups: /* @__PURE__ */ new Set()
735
- }
736
- });
737
- function filterItems() {
738
- if (!filterState.search) {
739
- filterState.filtered.count = allItems.value.size;
740
- return;
741
- }
742
- filterState.filtered.groups = /* @__PURE__ */ new Set();
743
- let itemCount = 0;
744
- for (const [id, value] of allItems.value) {
745
- const score = contains(value, filterState.search);
746
- filterState.filtered.items.set(id, score ? 1 : 0);
747
- if (score)
748
- itemCount++;
749
- }
750
- for (const [groupId, group] of allGroups.value) {
751
- for (const itemId of group) {
752
- if (filterState.filtered.items.get(itemId) > 0) {
753
- filterState.filtered.groups.add(groupId);
754
- break;
755
- }
756
- }
757
- }
758
- filterState.filtered.count = itemCount;
759
- }
760
- watch(() => filterState.search, () => {
761
- filterItems();
762
- });
763
- provideCommandContext({
764
- allItems,
765
- allGroups,
766
- filterState
767
- });
768
- return (_ctx, _cache) => {
769
- return openBlock(), createBlock(unref(ListboxRoot_default), mergeProps({ "data-slot": "command" }, unref(forwarded), {
770
- class: unref(cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded transition-colors duration-300 ease-in-out", props.class)
771
- }), {
772
- default: withCtx(() => [
773
- renderSlot(_ctx.$slots, "default")
774
- ]),
775
- _: 3
776
- }, 16, ["class"]);
777
- };
778
- }
779
- });
780
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
781
- __name: "CommandDialog",
782
- props: {
783
- open: { type: Boolean },
784
- defaultOpen: { type: Boolean },
785
- modal: { type: Boolean },
786
- title: { default: "Command Palette" },
787
- description: { default: "Search for a command to run..." }
788
- },
789
- emits: ["update:open"],
790
- setup(__props, { emit: __emit }) {
791
- const props = __props;
792
- const emits = __emit;
793
- const forwarded = useForwardPropsEmits(props, emits);
794
- return (_ctx, _cache) => {
795
- return openBlock(), createBlock(unref(_sfc_main$9), normalizeProps(guardReactiveProps(unref(forwarded))), {
796
- default: withCtx((slotProps) => [
797
- createVNode(unref(_sfc_main$a), { class: "overflow-hidden p-0" }, {
798
- default: withCtx(() => [
799
- createVNode(unref(_sfc_main$b), { class: "sr-only" }, {
800
- default: withCtx(() => [
801
- createVNode(unref(_sfc_main$c), null, {
802
- default: withCtx(() => [
803
- createTextVNode(toDisplayString(_ctx.title), 1)
804
- ]),
805
- _: 1
806
- }),
807
- createVNode(unref(_sfc_main$d), null, {
808
- default: withCtx(() => [
809
- createTextVNode(toDisplayString(_ctx.description), 1)
810
- ]),
811
- _: 1
812
- })
813
- ]),
814
- _: 1
815
- }),
816
- createVNode(_sfc_main$8, null, {
817
- default: withCtx(() => [
818
- renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))
819
- ]),
820
- _: 2
821
- }, 1024)
822
- ]),
823
- _: 2
824
- }, 1024)
825
- ]),
826
- _: 3
827
- }, 16);
828
- };
829
- }
830
- });
831
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
832
- __name: "CommandEmpty",
833
- props: {
834
- asChild: { type: Boolean },
835
- as: {},
836
- class: {}
837
- },
838
- setup(__props) {
839
- const props = __props;
840
- const delegatedProps = reactiveOmit(props, "class");
841
- const { filterState } = useCommand();
842
- const isRender = computed(
843
- () => !!filterState.search && filterState.filtered.count === 0
844
- );
845
- return (_ctx, _cache) => {
846
- return isRender.value ? (openBlock(), createBlock(unref(Primitive), mergeProps({
847
- key: 0,
848
- "data-slot": "command-empty"
849
- }, unref(delegatedProps), {
850
- class: unref(cn)("py-6 text-center text-sm", props.class)
851
- }), {
852
- default: withCtx(() => [
853
- renderSlot(_ctx.$slots, "default")
854
- ]),
855
- _: 3
856
- }, 16, ["class"])) : createCommentVNode("", true);
857
- };
858
- }
859
- });
860
- const _hoisted_1$2 = { class: "p-2" };
861
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
862
- __name: "CommandGroup",
863
- props: {
864
- asChild: { type: Boolean },
865
- as: {},
866
- class: {},
867
- heading: {}
868
- },
869
- setup(__props) {
870
- const props = __props;
871
- const delegatedProps = reactiveOmit(props, "class");
872
- const { allGroups, filterState } = useCommand();
873
- const id = useId();
874
- const isRender = computed(() => !filterState.search ? true : filterState.filtered.groups.has(id));
875
- provideCommandGroupContext({ id });
876
- onMounted(() => {
877
- if (!allGroups.value.has(id))
878
- allGroups.value.set(id, /* @__PURE__ */ new Set());
879
- });
880
- onUnmounted(() => {
881
- allGroups.value.delete(id);
882
- });
883
- return (_ctx, _cache) => {
884
- return openBlock(), createBlock(unref(ListboxGroup_default), mergeProps(unref(delegatedProps), {
885
- id: unref(id),
886
- "data-slot": "command-group",
887
- class: unref(cn)("text-foreground overflow-hidden", props.class),
888
- hidden: isRender.value ? void 0 : true
889
- }), {
890
- default: withCtx(() => [
891
- _ctx.heading ? (openBlock(), createBlock(unref(ListboxGroupLabel_default), {
892
- key: 0,
893
- "data-slot": "command-group-heading",
894
- class: "border-b border-(--border-light) px-3 py-2 text-xs font-semibold uppercase tracking-[0.16em] text-(--text-secondary-light) dark:border-(--border-dark) dark:text-(--text-secondary-dark)"
895
- }, {
896
- default: withCtx(() => [
897
- createTextVNode(toDisplayString(_ctx.heading), 1)
898
- ]),
899
- _: 1
900
- })) : createCommentVNode("", true),
901
- createElementVNode("div", _hoisted_1$2, [
902
- renderSlot(_ctx.$slots, "default")
903
- ])
904
- ]),
905
- _: 3
906
- }, 16, ["id", "class", "hidden"]);
907
- };
908
- }
909
- });
910
- const _hoisted_1$1 = {
911
- "data-slot": "command-input-wrapper",
912
- class: "flex h-9 items-center gap-2 border-b px-3"
913
- };
914
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
915
- ...{
916
- inheritAttrs: false
917
- },
918
- __name: "CommandInput",
919
- props: {
920
- modelValue: {},
921
- autoFocus: { type: Boolean },
922
- disabled: { type: Boolean },
923
- asChild: { type: Boolean },
924
- as: {},
925
- class: {}
926
- },
927
- setup(__props) {
928
- const props = __props;
929
- const delegatedProps = reactiveOmit(props, "class");
930
- const forwardedProps = useForwardProps(delegatedProps);
931
- const { filterState } = useCommand();
932
- return (_ctx, _cache) => {
933
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
934
- createVNode(unref(HugeiconsIcon), {
935
- icon: unref(pkr),
936
- class: "size-4 shrink-0 opacity-50"
937
- }, null, 8, ["icon"]),
938
- createVNode(unref(ListboxFilter_default), mergeProps({ ...unref(forwardedProps), ..._ctx.$attrs }, {
939
- modelValue: unref(filterState).search,
940
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(filterState).search = $event),
941
- "data-slot": "command-input",
942
- "auto-focus": "",
943
- class: unref(cn)("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", props.class)
944
- }), null, 16, ["modelValue", "class"])
945
- ]);
946
- };
947
- }
948
- });
949
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
950
- __name: "CommandItem",
951
- props: {
952
- value: {},
953
- disabled: { type: Boolean },
954
- asChild: { type: Boolean },
955
- as: {},
956
- class: {}
957
- },
958
- emits: ["select"],
959
- setup(__props, { emit: __emit }) {
960
- const props = __props;
961
- const emits = __emit;
962
- const delegatedProps = reactiveOmit(props, "class");
963
- const forwarded = useForwardPropsEmits(delegatedProps, emits);
964
- const id = useId();
965
- const { filterState, allItems, allGroups } = useCommand();
966
- const groupContext = useCommandGroup();
967
- const isRender = computed(() => {
968
- if (!filterState.search) {
969
- return true;
970
- } else {
971
- const filteredCurrentItem = filterState.filtered.items.get(id);
972
- if (filteredCurrentItem === void 0) {
973
- return true;
974
- }
975
- return filteredCurrentItem > 0;
976
- }
977
- });
978
- const itemRef = ref();
979
- const currentElement = useCurrentElement(itemRef);
980
- onMounted(() => {
981
- var _a, _b;
982
- if (!(currentElement.value instanceof HTMLElement))
983
- return;
984
- allItems.value.set(id, currentElement.value.textContent ?? (((_a = props.value) == null ? void 0 : _a.toString()) ?? ""));
985
- const groupId = groupContext == null ? void 0 : groupContext.id;
986
- if (groupId) {
987
- if (!allGroups.value.has(groupId)) {
988
- allGroups.value.set(groupId, /* @__PURE__ */ new Set([id]));
989
- } else {
990
- (_b = allGroups.value.get(groupId)) == null ? void 0 : _b.add(id);
991
- }
992
- }
993
- });
994
- onUnmounted(() => {
995
- allItems.value.delete(id);
996
- });
997
- return (_ctx, _cache) => {
998
- return isRender.value ? (openBlock(), createBlock(unref(ListboxItem_default), mergeProps({ key: 0 }, unref(forwarded), {
999
- id: unref(id),
1000
- ref_key: "itemRef",
1001
- ref: itemRef,
1002
- "data-slot": "command-item",
1003
- class: unref(cn)("relative flex cursor-pointer items-center gap-3 rounded px-3 py-2 text-left text-sm font-semibold text-(--text-secondary-light) outline-hidden transition-colors duration-200 select-none data-[highlighted]:bg-(--bg-selected-light) data-[highlighted]:text-(--text-primary-light) data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:text-(--text-secondary-dark) dark:data-[highlighted]:bg-(--bg-selected-dark) dark:data-[highlighted]:text-(--text-primary-dark) [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-current", props.class),
1004
- onSelect: _cache[0] || (_cache[0] = () => {
1005
- unref(filterState).search = "";
1006
- })
1007
- }), {
1008
- default: withCtx(() => [
1009
- renderSlot(_ctx.$slots, "default")
1010
- ]),
1011
- _: 3
1012
- }, 16, ["id", "class"])) : createCommentVNode("", true);
1013
- };
1014
- }
1015
- });
1016
- const _hoisted_1 = { role: "presentation" };
1017
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1018
- __name: "CommandList",
1019
- props: {
1020
- asChild: { type: Boolean },
1021
- as: {},
1022
- class: {}
1023
- },
1024
- setup(__props) {
1025
- const props = __props;
1026
- const delegatedProps = reactiveOmit(props, "class");
1027
- const forwarded = useForwardProps(delegatedProps);
1028
- return (_ctx, _cache) => {
1029
- return openBlock(), createBlock(unref(ListboxContent_default), mergeProps({ "data-slot": "command-list" }, unref(forwarded), {
1030
- class: unref(cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", props.class)
1031
- }), {
1032
- default: withCtx(() => [
1033
- createElementVNode("div", _hoisted_1, [
1034
- renderSlot(_ctx.$slots, "default")
1035
- ])
1036
- ]),
1037
- _: 3
1038
- }, 16, ["class"]);
1039
- };
1040
- }
1041
- });
1042
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1043
- __name: "CommandSeparator",
1044
- props: {
1045
- orientation: {},
1046
- decorative: { type: Boolean },
1047
- asChild: { type: Boolean },
1048
- as: {},
1049
- class: {}
1050
- },
1051
- setup(__props) {
1052
- const props = __props;
1053
- const delegatedProps = reactiveOmit(props, "class");
1054
- return (_ctx, _cache) => {
1055
- return openBlock(), createBlock(unref(Separator_default), mergeProps({ "data-slot": "command-separator" }, unref(delegatedProps), {
1056
- class: unref(cn)("bg-border -mx-1 h-px", props.class)
1057
- }), {
1058
- default: withCtx(() => [
1059
- renderSlot(_ctx.$slots, "default")
1060
- ]),
1061
- _: 3
1062
- }, 16, ["class"]);
1063
- };
1064
- }
1065
- });
1066
- const _sfc_main = /* @__PURE__ */ defineComponent({
1067
- __name: "CommandShortcut",
1068
- props: {
1069
- class: {}
1070
- },
1071
- setup(__props) {
1072
- const props = __props;
1073
- return (_ctx, _cache) => {
1074
- return openBlock(), createElementBlock("span", {
1075
- "data-slot": "command-shortcut",
1076
- class: normalizeClass(unref(cn)("text-muted-foreground ml-auto text-xs tracking-widest", props.class))
1077
- }, [
1078
- renderSlot(_ctx.$slots, "default")
1079
- ], 2);
1080
- };
1081
- }
1082
- });
1083
- const [useCommand, provideCommandContext] = createContext("Command");
1084
- const [useCommandGroup, provideCommandGroupContext] = createContext("CommandGroup");
1085
- export {
1086
- _sfc_main$8 as Command,
1087
- _sfc_main$7 as CommandDialog,
1088
- _sfc_main$6 as CommandEmpty,
1089
- _sfc_main$5 as CommandGroup,
1090
- _sfc_main$4 as CommandInput,
1091
- _sfc_main$3 as CommandItem,
1092
- _sfc_main$2 as CommandList,
1093
- _sfc_main$1 as CommandSeparator,
1094
- _sfc_main as CommandShortcut,
1095
- provideCommandContext,
1096
- provideCommandGroupContext,
1097
- useCommand,
1098
- useCommandGroup
1099
- };