@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
@@ -1,803 +0,0 @@
1
- import { defineComponent, toRefs, ref, computed, openBlock, createBlock, unref, normalizeStyle, withCtx, renderSlot, resolveDynamicComponent, mergeProps, createCommentVNode, toRaw, onMounted, onUnmounted, createVNode, createElementBlock, Fragment, renderList } from "vue";
2
- import { u as useForwardPropsEmits } from "./useForwardPropsEmits-GlUGKcIz.js";
3
- import { c as clamp } from "./clamp-D5Ye0kJT.js";
4
- import { c as createContext } from "./createContext-BabAT1K8.js";
5
- import { u as useDirection } from "./useDirection-B2bMgzzV.js";
6
- import { u as useFormControl } from "./useFormControl-DZ4LnB9F.js";
7
- import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
8
- import { u as useCollection } from "./Collection-4P3HQ4uU.js";
9
- import { V as VisuallyHiddenInput_default } from "./VisuallyHiddenInput-D5eipDQU.js";
10
- import { P as Primitive } from "./Primitive-D3IcFg81.js";
11
- import { a as useVModel, b as useMounted } from "./index-Dw56kNV0.js";
12
- import { u as useSize } from "./useSize-DUgGY9t1.js";
13
- import { c as cn } from "./utils-Bz4m9VPB.js";
14
- import { r as reactiveOmit } from "./index-DDJjWaIl.js";
15
- function getNextSortedValues(prevValues = [], nextValue, atIndex) {
16
- const nextValues = [...prevValues];
17
- nextValues[atIndex] = nextValue;
18
- return nextValues.sort((a, b) => a - b);
19
- }
20
- function convertValueToPercentage(value, min, max) {
21
- const maxSteps = max - min;
22
- const percentPerStep = 100 / maxSteps;
23
- const percentage = percentPerStep * (value - min);
24
- return clamp(percentage, 0, 100);
25
- }
26
- function getLabel(index, totalValues) {
27
- if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;
28
- else if (totalValues === 2) return ["Minimum", "Maximum"][index];
29
- else return void 0;
30
- }
31
- function getClosestValueIndex(values, nextValue) {
32
- if (values.length === 1) return 0;
33
- const distances = values.map((value) => Math.abs(value - nextValue));
34
- const closestDistance = Math.min(...distances);
35
- return distances.indexOf(closestDistance);
36
- }
37
- function getThumbInBoundsOffset(width, left, direction) {
38
- const halfWidth = width / 2;
39
- const halfPercent = 50;
40
- const offset = linearScale([0, halfPercent], [0, halfWidth]);
41
- return (halfWidth - offset(left) * direction) * direction;
42
- }
43
- function getStepsBetweenValues(values) {
44
- return values.slice(0, -1).map((value, index) => values[index + 1] - value);
45
- }
46
- function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
47
- if (minStepsBetweenValues > 0) {
48
- const stepsBetweenValues = getStepsBetweenValues(values);
49
- const actualMinStepsBetweenValues = Math.min(...stepsBetweenValues);
50
- return actualMinStepsBetweenValues >= minStepsBetweenValues;
51
- }
52
- return true;
53
- }
54
- function linearScale(input, output) {
55
- return (value) => {
56
- if (input[0] === input[1] || output[0] === output[1]) return output[0];
57
- const ratio = (output[1] - output[0]) / (input[1] - input[0]);
58
- return output[0] + ratio * (value - input[0]);
59
- };
60
- }
61
- function getDecimalCount(value) {
62
- return (String(value).split(".")[1] || "").length;
63
- }
64
- function roundValue(value, decimalCount) {
65
- const rounder = 10 ** decimalCount;
66
- return Math.round(value * rounder) / rounder;
67
- }
68
- const PAGE_KEYS = ["PageUp", "PageDown"];
69
- const ARROW_KEYS = [
70
- "ArrowUp",
71
- "ArrowDown",
72
- "ArrowLeft",
73
- "ArrowRight"
74
- ];
75
- const BACK_KEYS = {
76
- "from-left": [
77
- "Home",
78
- "PageDown",
79
- "ArrowDown",
80
- "ArrowLeft"
81
- ],
82
- "from-right": [
83
- "Home",
84
- "PageDown",
85
- "ArrowDown",
86
- "ArrowRight"
87
- ],
88
- "from-bottom": [
89
- "Home",
90
- "PageDown",
91
- "ArrowDown",
92
- "ArrowLeft"
93
- ],
94
- "from-top": [
95
- "Home",
96
- "PageUp",
97
- "ArrowUp",
98
- "ArrowLeft"
99
- ]
100
- };
101
- const [injectSliderOrientationContext, provideSliderOrientationContext] = createContext(["SliderVertical", "SliderHorizontal"]);
102
- var SliderHorizontal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
103
- __name: "SliderHorizontal",
104
- props: {
105
- dir: {
106
- type: String,
107
- required: false
108
- },
109
- min: {
110
- type: Number,
111
- required: true
112
- },
113
- max: {
114
- type: Number,
115
- required: true
116
- },
117
- inverted: {
118
- type: Boolean,
119
- required: true
120
- }
121
- },
122
- emits: [
123
- "slideEnd",
124
- "slideStart",
125
- "slideMove",
126
- "homeKeyDown",
127
- "endKeyDown",
128
- "stepKeyDown"
129
- ],
130
- setup(__props, { emit: __emit }) {
131
- const props = __props;
132
- const emits = __emit;
133
- const { max, min, dir, inverted } = toRefs(props);
134
- const { forwardRef, currentElement: sliderElement } = useForwardExpose();
135
- const rootContext = injectSliderRootContext();
136
- const offsetPosition = ref();
137
- const rectRef = ref();
138
- const isSlidingFromLeft = computed(() => (dir == null ? void 0 : dir.value) !== "rtl" && !inverted.value || (dir == null ? void 0 : dir.value) !== "ltr" && inverted.value);
139
- function getValueFromPointerEvent(event, slideStart) {
140
- const rect = rectRef.value || sliderElement.value.getBoundingClientRect();
141
- const thumb = [...rootContext.thumbElements.value][rootContext.valueIndexToChangeRef.value];
142
- const thumbWidth = rootContext.thumbAlignment.value === "contain" ? thumb.clientWidth : 0;
143
- if (!offsetPosition.value && !slideStart && rootContext.thumbAlignment.value === "contain") offsetPosition.value = event.clientX - thumb.getBoundingClientRect().left;
144
- const input = [0, rect.width - thumbWidth];
145
- const output = isSlidingFromLeft.value ? [min.value, max.value] : [max.value, min.value];
146
- const value = linearScale(input, output);
147
- rectRef.value = rect;
148
- const position = slideStart ? event.clientX - rect.left - thumbWidth / 2 : event.clientX - rect.left - (offsetPosition.value ?? 0);
149
- return value(position);
150
- }
151
- const startEdge = computed(() => isSlidingFromLeft.value ? "left" : "right");
152
- const endEdge = computed(() => isSlidingFromLeft.value ? "right" : "left");
153
- const direction = computed(() => isSlidingFromLeft.value ? 1 : -1);
154
- provideSliderOrientationContext({
155
- startEdge,
156
- endEdge,
157
- direction,
158
- size: "width"
159
- });
160
- return (_ctx, _cache) => {
161
- return openBlock(), createBlock(SliderImpl_default, {
162
- ref: unref(forwardRef),
163
- dir: unref(dir),
164
- "data-orientation": "horizontal",
165
- style: normalizeStyle({ ["--reka-slider-thumb-transform"]: !isSlidingFromLeft.value && unref(rootContext).thumbAlignment.value === "overflow" ? "translateX(50%)" : "translateX(-50%)" }),
166
- onSlideStart: _cache[0] || (_cache[0] = (event) => {
167
- const value = getValueFromPointerEvent(event, true);
168
- emits("slideStart", value);
169
- }),
170
- onSlideMove: _cache[1] || (_cache[1] = (event) => {
171
- const value = getValueFromPointerEvent(event);
172
- emits("slideMove", value);
173
- }),
174
- onSlideEnd: _cache[2] || (_cache[2] = () => {
175
- rectRef.value = void 0;
176
- offsetPosition.value = void 0;
177
- emits("slideEnd");
178
- }),
179
- onStepKeyDown: _cache[3] || (_cache[3] = (event) => {
180
- const slideDirection = isSlidingFromLeft.value ? "from-left" : "from-right";
181
- const isBackKey = unref(BACK_KEYS)[slideDirection].includes(event.key);
182
- emits("stepKeyDown", event, isBackKey ? -1 : 1);
183
- }),
184
- onEndKeyDown: _cache[4] || (_cache[4] = ($event) => emits("endKeyDown", $event)),
185
- onHomeKeyDown: _cache[5] || (_cache[5] = ($event) => emits("homeKeyDown", $event))
186
- }, {
187
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
188
- _: 3
189
- }, 8, ["dir", "style"]);
190
- };
191
- }
192
- });
193
- var SliderHorizontal_default = SliderHorizontal_vue_vue_type_script_setup_true_lang_default;
194
- var SliderVertical_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
195
- __name: "SliderVertical",
196
- props: {
197
- min: {
198
- type: Number,
199
- required: true
200
- },
201
- max: {
202
- type: Number,
203
- required: true
204
- },
205
- inverted: {
206
- type: Boolean,
207
- required: true
208
- }
209
- },
210
- emits: [
211
- "slideEnd",
212
- "slideStart",
213
- "slideMove",
214
- "homeKeyDown",
215
- "endKeyDown",
216
- "stepKeyDown"
217
- ],
218
- setup(__props, { emit: __emit }) {
219
- const props = __props;
220
- const emits = __emit;
221
- const { max, min, inverted } = toRefs(props);
222
- const rootContext = injectSliderRootContext();
223
- const { forwardRef, currentElement: sliderElement } = useForwardExpose();
224
- const offsetPosition = ref();
225
- const rectRef = ref();
226
- const isSlidingFromBottom = computed(() => !inverted.value);
227
- function getValueFromPointerEvent(event, slideStart) {
228
- const rect = rectRef.value || sliderElement.value.getBoundingClientRect();
229
- const thumb = [...rootContext.thumbElements.value][rootContext.valueIndexToChangeRef.value];
230
- const thumbHeight = rootContext.thumbAlignment.value === "contain" ? thumb.clientHeight : 0;
231
- if (!offsetPosition.value && !slideStart && rootContext.thumbAlignment.value === "contain") offsetPosition.value = event.clientY - thumb.getBoundingClientRect().top;
232
- const input = [0, rect.height - thumbHeight];
233
- const output = isSlidingFromBottom.value ? [max.value, min.value] : [min.value, max.value];
234
- const value = linearScale(input, output);
235
- const position = slideStart ? event.clientY - rect.top - thumbHeight / 2 : event.clientY - rect.top - (offsetPosition.value ?? 0);
236
- rectRef.value = rect;
237
- return value(position);
238
- }
239
- const startEdge = computed(() => isSlidingFromBottom.value ? "bottom" : "top");
240
- const endEdge = computed(() => isSlidingFromBottom.value ? "top" : "bottom");
241
- const direction = computed(() => isSlidingFromBottom.value ? 1 : -1);
242
- provideSliderOrientationContext({
243
- startEdge,
244
- endEdge,
245
- direction,
246
- size: "height"
247
- });
248
- return (_ctx, _cache) => {
249
- return openBlock(), createBlock(SliderImpl_default, {
250
- ref: unref(forwardRef),
251
- "data-orientation": "vertical",
252
- style: normalizeStyle({ ["--reka-slider-thumb-transform"]: !isSlidingFromBottom.value && unref(rootContext).thumbAlignment.value === "overflow" ? "translateY(-50%)" : "translateY(50%)" }),
253
- onSlideStart: _cache[0] || (_cache[0] = (event) => {
254
- const value = getValueFromPointerEvent(event, true);
255
- emits("slideStart", value);
256
- }),
257
- onSlideMove: _cache[1] || (_cache[1] = (event) => {
258
- const value = getValueFromPointerEvent(event);
259
- emits("slideMove", value);
260
- }),
261
- onSlideEnd: _cache[2] || (_cache[2] = () => {
262
- rectRef.value = void 0;
263
- offsetPosition.value = void 0;
264
- emits("slideEnd");
265
- }),
266
- onStepKeyDown: _cache[3] || (_cache[3] = (event) => {
267
- const slideDirection = isSlidingFromBottom.value ? "from-bottom" : "from-top";
268
- const isBackKey = unref(BACK_KEYS)[slideDirection].includes(event.key);
269
- emits("stepKeyDown", event, isBackKey ? -1 : 1);
270
- }),
271
- onEndKeyDown: _cache[4] || (_cache[4] = ($event) => emits("endKeyDown", $event)),
272
- onHomeKeyDown: _cache[5] || (_cache[5] = ($event) => emits("homeKeyDown", $event))
273
- }, {
274
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
275
- _: 3
276
- }, 8, ["style"]);
277
- };
278
- }
279
- });
280
- var SliderVertical_default = SliderVertical_vue_vue_type_script_setup_true_lang_default;
281
- const [injectSliderRootContext, provideSliderRootContext] = createContext("SliderRoot");
282
- var SliderRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
283
- inheritAttrs: false,
284
- __name: "SliderRoot",
285
- props: {
286
- defaultValue: {
287
- type: Array,
288
- required: false,
289
- default: () => [0]
290
- },
291
- modelValue: {
292
- type: [Array, null],
293
- required: false
294
- },
295
- disabled: {
296
- type: Boolean,
297
- required: false,
298
- default: false
299
- },
300
- orientation: {
301
- type: String,
302
- required: false,
303
- default: "horizontal"
304
- },
305
- dir: {
306
- type: String,
307
- required: false
308
- },
309
- inverted: {
310
- type: Boolean,
311
- required: false,
312
- default: false
313
- },
314
- min: {
315
- type: Number,
316
- required: false,
317
- default: 0
318
- },
319
- max: {
320
- type: Number,
321
- required: false,
322
- default: 100
323
- },
324
- step: {
325
- type: Number,
326
- required: false,
327
- default: 1
328
- },
329
- minStepsBetweenThumbs: {
330
- type: Number,
331
- required: false,
332
- default: 0
333
- },
334
- thumbAlignment: {
335
- type: String,
336
- required: false,
337
- default: "contain"
338
- },
339
- asChild: {
340
- type: Boolean,
341
- required: false
342
- },
343
- as: {
344
- type: null,
345
- required: false,
346
- default: "span"
347
- },
348
- name: {
349
- type: String,
350
- required: false
351
- },
352
- required: {
353
- type: Boolean,
354
- required: false
355
- }
356
- },
357
- emits: ["update:modelValue", "valueCommit"],
358
- setup(__props, { emit: __emit }) {
359
- const props = __props;
360
- const emits = __emit;
361
- const { min, max, step, minStepsBetweenThumbs, orientation, disabled, thumbAlignment, dir: propDir } = toRefs(props);
362
- const dir = useDirection(propDir);
363
- const { forwardRef, currentElement } = useForwardExpose();
364
- const isFormControl = useFormControl(currentElement);
365
- const { CollectionSlot } = useCollection({ isProvider: true });
366
- const modelValue = useVModel(props, "modelValue", emits, {
367
- defaultValue: props.defaultValue,
368
- passive: props.modelValue === void 0
369
- });
370
- const currentModelValue = computed(() => Array.isArray(modelValue.value) ? [...modelValue.value] : []);
371
- const valueIndexToChangeRef = ref(0);
372
- const valuesBeforeSlideStartRef = ref(currentModelValue.value);
373
- function handleSlideStart(value) {
374
- const closestIndex = getClosestValueIndex(currentModelValue.value, value);
375
- updateValues(value, closestIndex);
376
- }
377
- function handleSlideMove(value) {
378
- updateValues(value, valueIndexToChangeRef.value);
379
- }
380
- function handleSlideEnd() {
381
- const prevValue = valuesBeforeSlideStartRef.value[valueIndexToChangeRef.value];
382
- const nextValue = currentModelValue.value[valueIndexToChangeRef.value];
383
- const hasChanged = nextValue !== prevValue;
384
- if (hasChanged) emits("valueCommit", toRaw(currentModelValue.value));
385
- }
386
- function updateValues(value, atIndex, { commit } = { commit: false }) {
387
- var _a;
388
- const decimalCount = getDecimalCount(step.value);
389
- const snapToStep = roundValue(Math.round((value - min.value) / step.value) * step.value + min.value, decimalCount);
390
- const nextValue = clamp(snapToStep, min.value, max.value);
391
- const nextValues = getNextSortedValues(currentModelValue.value, nextValue, atIndex);
392
- if (hasMinStepsBetweenValues(nextValues, minStepsBetweenThumbs.value * step.value)) {
393
- valueIndexToChangeRef.value = nextValues.indexOf(nextValue);
394
- const hasChanged = String(nextValues) !== String(modelValue.value);
395
- if (hasChanged && commit) emits("valueCommit", nextValues);
396
- if (hasChanged) {
397
- (_a = thumbElements.value[valueIndexToChangeRef.value]) == null ? void 0 : _a.focus();
398
- modelValue.value = nextValues;
399
- }
400
- }
401
- }
402
- const thumbElements = ref([]);
403
- provideSliderRootContext({
404
- modelValue,
405
- currentModelValue,
406
- valueIndexToChangeRef,
407
- thumbElements,
408
- orientation,
409
- min,
410
- max,
411
- disabled,
412
- thumbAlignment
413
- });
414
- return (_ctx, _cache) => {
415
- return openBlock(), createBlock(unref(CollectionSlot), null, {
416
- default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(orientation) === "horizontal" ? SliderHorizontal_default : SliderVertical_default), mergeProps(_ctx.$attrs, {
417
- ref: unref(forwardRef),
418
- "as-child": _ctx.asChild,
419
- as: _ctx.as,
420
- min: unref(min),
421
- max: unref(max),
422
- dir: unref(dir),
423
- inverted: _ctx.inverted,
424
- "aria-disabled": unref(disabled),
425
- "data-disabled": unref(disabled) ? "" : void 0,
426
- onPointerdown: _cache[0] || (_cache[0] = () => {
427
- if (!unref(disabled)) valuesBeforeSlideStartRef.value = currentModelValue.value;
428
- }),
429
- onSlideStart: _cache[1] || (_cache[1] = ($event) => !unref(disabled) && handleSlideStart($event)),
430
- onSlideMove: _cache[2] || (_cache[2] = ($event) => !unref(disabled) && handleSlideMove($event)),
431
- onSlideEnd: _cache[3] || (_cache[3] = ($event) => !unref(disabled) && handleSlideEnd()),
432
- onHomeKeyDown: _cache[4] || (_cache[4] = ($event) => !unref(disabled) && updateValues(unref(min), 0, { commit: true })),
433
- onEndKeyDown: _cache[5] || (_cache[5] = ($event) => !unref(disabled) && updateValues(unref(max), currentModelValue.value.length - 1, { commit: true })),
434
- onStepKeyDown: _cache[6] || (_cache[6] = (event, direction) => {
435
- if (!unref(disabled)) {
436
- const isPageKey = unref(PAGE_KEYS).includes(event.key);
437
- const isSkipKey = isPageKey || event.shiftKey && unref(ARROW_KEYS).includes(event.key);
438
- const multiplier = isSkipKey ? 10 : 1;
439
- const atIndex = valueIndexToChangeRef.value;
440
- const value = currentModelValue.value[atIndex];
441
- const stepInDirection = unref(step) * multiplier * direction;
442
- updateValues(value + stepInDirection, atIndex, { commit: true });
443
- }
444
- })
445
- }), {
446
- default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) }), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {
447
- key: 0,
448
- type: "number",
449
- value: unref(modelValue),
450
- name: _ctx.name,
451
- required: _ctx.required,
452
- disabled: unref(disabled),
453
- step: unref(step)
454
- }, null, 8, [
455
- "value",
456
- "name",
457
- "required",
458
- "disabled",
459
- "step"
460
- ])) : createCommentVNode("v-if", true)]),
461
- _: 3
462
- }, 16, [
463
- "as-child",
464
- "as",
465
- "min",
466
- "max",
467
- "dir",
468
- "inverted",
469
- "aria-disabled",
470
- "data-disabled"
471
- ]))]),
472
- _: 3
473
- });
474
- };
475
- }
476
- });
477
- var SliderRoot_default = SliderRoot_vue_vue_type_script_setup_true_lang_default;
478
- var SliderImpl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
479
- __name: "SliderImpl",
480
- props: {
481
- asChild: {
482
- type: Boolean,
483
- required: false
484
- },
485
- as: {
486
- type: null,
487
- required: false,
488
- default: "span"
489
- }
490
- },
491
- emits: [
492
- "slideStart",
493
- "slideMove",
494
- "slideEnd",
495
- "homeKeyDown",
496
- "endKeyDown",
497
- "stepKeyDown"
498
- ],
499
- setup(__props, { emit: __emit }) {
500
- const props = __props;
501
- const emits = __emit;
502
- const rootContext = injectSliderRootContext();
503
- return (_ctx, _cache) => {
504
- return openBlock(), createBlock(unref(Primitive), mergeProps({ "data-slider-impl": "" }, props, {
505
- onKeydown: _cache[0] || (_cache[0] = (event) => {
506
- if (event.key === "Home") {
507
- emits("homeKeyDown", event);
508
- event.preventDefault();
509
- } else if (event.key === "End") {
510
- emits("endKeyDown", event);
511
- event.preventDefault();
512
- } else if (unref(PAGE_KEYS).concat(unref(ARROW_KEYS)).includes(event.key)) {
513
- emits("stepKeyDown", event);
514
- event.preventDefault();
515
- }
516
- }),
517
- onPointerdown: _cache[1] || (_cache[1] = (event) => {
518
- const target = event.target;
519
- target.setPointerCapture(event.pointerId);
520
- event.preventDefault();
521
- if (unref(rootContext).thumbElements.value.includes(target)) target.focus();
522
- else emits("slideStart", event);
523
- }),
524
- onPointermove: _cache[2] || (_cache[2] = (event) => {
525
- const target = event.target;
526
- if (target.hasPointerCapture(event.pointerId)) emits("slideMove", event);
527
- }),
528
- onPointerup: _cache[3] || (_cache[3] = (event) => {
529
- const target = event.target;
530
- if (target.hasPointerCapture(event.pointerId)) {
531
- target.releasePointerCapture(event.pointerId);
532
- emits("slideEnd", event);
533
- }
534
- })
535
- }), {
536
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
537
- _: 3
538
- }, 16);
539
- };
540
- }
541
- });
542
- var SliderImpl_default = SliderImpl_vue_vue_type_script_setup_true_lang_default;
543
- var SliderRange_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
544
- __name: "SliderRange",
545
- props: {
546
- asChild: {
547
- type: Boolean,
548
- required: false
549
- },
550
- as: {
551
- type: null,
552
- required: false,
553
- default: "span"
554
- }
555
- },
556
- setup(__props) {
557
- const rootContext = injectSliderRootContext();
558
- const orientation = injectSliderOrientationContext();
559
- useForwardExpose();
560
- const percentages = computed(() => rootContext.currentModelValue.value.map((value) => convertValueToPercentage(value, rootContext.min.value, rootContext.max.value)));
561
- const offsetStart = computed(() => rootContext.currentModelValue.value.length > 1 ? Math.min(...percentages.value) : 0);
562
- const offsetEnd = computed(() => 100 - Math.max(...percentages.value, 0));
563
- return (_ctx, _cache) => {
564
- return openBlock(), createBlock(unref(Primitive), {
565
- "data-disabled": unref(rootContext).disabled.value ? "" : void 0,
566
- "data-orientation": unref(rootContext).orientation.value,
567
- "as-child": _ctx.asChild,
568
- as: _ctx.as,
569
- style: normalizeStyle({
570
- [unref(orientation).startEdge.value]: `${offsetStart.value}%`,
571
- [unref(orientation).endEdge.value]: `${offsetEnd.value}%`
572
- })
573
- }, {
574
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
575
- _: 3
576
- }, 8, [
577
- "data-disabled",
578
- "data-orientation",
579
- "as-child",
580
- "as",
581
- "style"
582
- ]);
583
- };
584
- }
585
- });
586
- var SliderRange_default = SliderRange_vue_vue_type_script_setup_true_lang_default;
587
- var SliderThumbImpl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
588
- inheritAttrs: false,
589
- __name: "SliderThumbImpl",
590
- props: {
591
- index: {
592
- type: Number,
593
- required: true
594
- },
595
- asChild: {
596
- type: Boolean,
597
- required: false
598
- },
599
- as: {
600
- type: null,
601
- required: false
602
- }
603
- },
604
- setup(__props) {
605
- const props = __props;
606
- const rootContext = injectSliderRootContext();
607
- const orientation = injectSliderOrientationContext();
608
- const { forwardRef, currentElement: thumbElement } = useForwardExpose();
609
- const { CollectionItem } = useCollection();
610
- const value = computed(() => {
611
- var _a, _b;
612
- return (_b = (_a = rootContext.modelValue) == null ? void 0 : _a.value) == null ? void 0 : _b[props.index];
613
- });
614
- const percent = computed(() => value.value === void 0 ? 0 : convertValueToPercentage(value.value, rootContext.min.value ?? 0, rootContext.max.value ?? 100));
615
- const label = computed(() => {
616
- var _a, _b;
617
- return getLabel(props.index, ((_b = (_a = rootContext.modelValue) == null ? void 0 : _a.value) == null ? void 0 : _b.length) ?? 0);
618
- });
619
- const size = useSize(thumbElement);
620
- const orientationSize = computed(() => size[orientation.size].value);
621
- const thumbInBoundsOffset = computed(() => {
622
- if (rootContext.thumbAlignment.value === "overflow" || !orientationSize.value) return 0;
623
- else return getThumbInBoundsOffset(orientationSize.value, percent.value, orientation.direction.value);
624
- });
625
- const isMounted = useMounted();
626
- onMounted(() => {
627
- rootContext.thumbElements.value.push(thumbElement.value);
628
- });
629
- onUnmounted(() => {
630
- const i = rootContext.thumbElements.value.findIndex((i$1) => i$1 === thumbElement.value) ?? -1;
631
- rootContext.thumbElements.value.splice(i, 1);
632
- });
633
- return (_ctx, _cache) => {
634
- return openBlock(), createBlock(unref(CollectionItem), null, {
635
- default: withCtx(() => [createVNode(unref(Primitive), mergeProps(_ctx.$attrs, {
636
- ref: unref(forwardRef),
637
- role: "slider",
638
- tabindex: unref(rootContext).disabled.value ? void 0 : 0,
639
- "aria-label": _ctx.$attrs["aria-label"] || label.value,
640
- "data-disabled": unref(rootContext).disabled.value ? "" : void 0,
641
- "data-orientation": unref(rootContext).orientation.value,
642
- "aria-valuenow": value.value,
643
- "aria-valuemin": unref(rootContext).min.value,
644
- "aria-valuemax": unref(rootContext).max.value,
645
- "aria-orientation": unref(rootContext).orientation.value,
646
- "as-child": _ctx.asChild,
647
- as: _ctx.as,
648
- style: {
649
- transform: "var(--reka-slider-thumb-transform)",
650
- position: "absolute",
651
- [unref(orientation).startEdge.value]: `calc(${percent.value}% + ${thumbInBoundsOffset.value}px)`,
652
- display: !unref(isMounted) && value.value === void 0 ? "none" : void 0
653
- },
654
- onFocus: _cache[0] || (_cache[0] = () => {
655
- unref(rootContext).valueIndexToChangeRef.value = _ctx.index;
656
- })
657
- }), {
658
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
659
- _: 3
660
- }, 16, [
661
- "tabindex",
662
- "aria-label",
663
- "data-disabled",
664
- "data-orientation",
665
- "aria-valuenow",
666
- "aria-valuemin",
667
- "aria-valuemax",
668
- "aria-orientation",
669
- "as-child",
670
- "as",
671
- "style"
672
- ])]),
673
- _: 3
674
- });
675
- };
676
- }
677
- });
678
- var SliderThumbImpl_default = SliderThumbImpl_vue_vue_type_script_setup_true_lang_default;
679
- var SliderThumb_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
680
- __name: "SliderThumb",
681
- props: {
682
- asChild: {
683
- type: Boolean,
684
- required: false
685
- },
686
- as: {
687
- type: null,
688
- required: false,
689
- default: "span"
690
- }
691
- },
692
- setup(__props) {
693
- const props = __props;
694
- const { getItems } = useCollection();
695
- const { forwardRef, currentElement: thumbElement } = useForwardExpose();
696
- const index = computed(() => thumbElement.value ? getItems(true).findIndex((i) => i.ref === thumbElement.value) : -1);
697
- return (_ctx, _cache) => {
698
- return openBlock(), createBlock(SliderThumbImpl_default, mergeProps({ ref: unref(forwardRef) }, props, { index: index.value }), {
699
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
700
- _: 3
701
- }, 16, ["index"]);
702
- };
703
- }
704
- });
705
- var SliderThumb_default = SliderThumb_vue_vue_type_script_setup_true_lang_default;
706
- var SliderTrack_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
707
- __name: "SliderTrack",
708
- props: {
709
- asChild: {
710
- type: Boolean,
711
- required: false
712
- },
713
- as: {
714
- type: null,
715
- required: false,
716
- default: "span"
717
- }
718
- },
719
- setup(__props) {
720
- const rootContext = injectSliderRootContext();
721
- useForwardExpose();
722
- return (_ctx, _cache) => {
723
- return openBlock(), createBlock(unref(Primitive), {
724
- "as-child": _ctx.asChild,
725
- as: _ctx.as,
726
- "data-disabled": unref(rootContext).disabled.value ? "" : void 0,
727
- "data-orientation": unref(rootContext).orientation.value
728
- }, {
729
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
730
- _: 3
731
- }, 8, [
732
- "as-child",
733
- "as",
734
- "data-disabled",
735
- "data-orientation"
736
- ]);
737
- };
738
- }
739
- });
740
- var SliderTrack_default = SliderTrack_vue_vue_type_script_setup_true_lang_default;
741
- const _sfc_main = /* @__PURE__ */ defineComponent({
742
- __name: "Slider",
743
- props: {
744
- defaultValue: {},
745
- modelValue: {},
746
- disabled: { type: Boolean },
747
- orientation: {},
748
- dir: {},
749
- inverted: { type: Boolean },
750
- min: {},
751
- max: {},
752
- step: {},
753
- minStepsBetweenThumbs: {},
754
- thumbAlignment: {},
755
- asChild: { type: Boolean },
756
- as: {},
757
- name: {},
758
- required: { type: Boolean },
759
- class: {}
760
- },
761
- emits: ["update:modelValue", "valueCommit"],
762
- setup(__props, { emit: __emit }) {
763
- const props = __props;
764
- const emits = __emit;
765
- const delegatedProps = reactiveOmit(props, "class");
766
- const forwarded = useForwardPropsEmits(delegatedProps, emits);
767
- return (_ctx, _cache) => {
768
- return openBlock(), createBlock(unref(SliderRoot_default), mergeProps({
769
- "data-slot": "slider",
770
- class: unref(cn)(
771
- "relative flex w-full cursor-pointer touch-none items-center select-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
772
- props.class
773
- )
774
- }, unref(forwarded)), {
775
- default: withCtx(({ modelValue }) => [
776
- createVNode(unref(SliderTrack_default), {
777
- "data-slot": "slider-track",
778
- class: "bg-muted relative grow overflow-hidden rounded data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2"
779
- }, {
780
- default: withCtx(() => [
781
- createVNode(unref(SliderRange_default), {
782
- "data-slot": "slider-range",
783
- class: "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
784
- })
785
- ]),
786
- _: 1
787
- }),
788
- (openBlock(true), createElementBlock(Fragment, null, renderList(modelValue, (_, key) => {
789
- return openBlock(), createBlock(unref(SliderThumb_default), {
790
- key,
791
- "data-slot": "slider-thumb",
792
- class: "bg-white border-primary ring-ring/50 block size-5 shrink-0 rounded border shadow-sm transition-[color,box-shadow,transform] hover:scale-105 hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
793
- });
794
- }), 128))
795
- ]),
796
- _: 1
797
- }, 16, ["class"]);
798
- };
799
- }
800
- });
801
- export {
802
- _sfc_main as _
803
- };