@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,52 +0,0 @@
1
- import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
2
- import { u as useId } from "./useId-CF6wz41D.js";
3
- import { P as Primitive } from "./Primitive-D3IcFg81.js";
4
- import { i as injectDialogRootContext } from "./DialogTitle-jKgSCoXM.js";
5
- import { defineComponent, onMounted, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
6
- var DialogTrigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
7
- __name: "DialogTrigger",
8
- props: {
9
- asChild: {
10
- type: Boolean,
11
- required: false
12
- },
13
- as: {
14
- type: null,
15
- required: false,
16
- default: "button"
17
- }
18
- },
19
- setup(__props) {
20
- const props = __props;
21
- const rootContext = injectDialogRootContext();
22
- const { forwardRef, currentElement } = useForwardExpose();
23
- rootContext.contentId || (rootContext.contentId = useId(void 0, "reka-dialog-content"));
24
- onMounted(() => {
25
- rootContext.triggerElement.value = currentElement.value;
26
- });
27
- return (_ctx, _cache) => {
28
- return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
29
- ref: unref(forwardRef),
30
- type: _ctx.as === "button" ? "button" : void 0,
31
- "aria-haspopup": "dialog",
32
- "aria-expanded": unref(rootContext).open.value || false,
33
- "aria-controls": unref(rootContext).open.value ? unref(rootContext).contentId : void 0,
34
- "data-state": unref(rootContext).open.value ? "open" : "closed",
35
- onClick: unref(rootContext).onOpenToggle
36
- }), {
37
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
38
- _: 3
39
- }, 16, [
40
- "type",
41
- "aria-expanded",
42
- "aria-controls",
43
- "data-state",
44
- "onClick"
45
- ]);
46
- };
47
- }
48
- });
49
- var DialogTrigger_default = DialogTrigger_vue_vue_type_script_setup_true_lang_default;
50
- export {
51
- DialogTrigger_default as D
52
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, createElementBlock, toDisplayString, createCommentVNode, renderSlot } from "vue";
2
- import { useI18n } from "vue-i18n";
3
- import { u as u7 } from "./index.min-CZ9FIOXr.js";
4
- import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
5
- import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-DwBhZuSq.js";
6
- import { _ as _sfc_main$2 } from "./CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js";
7
- const _hoisted_1 = { class: "flex items-center justify-center text-4xl text-[var(--text-secondary-light)] opacity-40 dark:text-[var(--text-secondary-dark)]" };
8
- const _hoisted_2 = {
9
- key: 0,
10
- class: "text-sm font-bold text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)] md:text-lg"
11
- };
12
- const _hoisted_3 = {
13
- key: 1,
14
- class: "max-w-md text-xs text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)] md:text-sm"
15
- };
16
- const _hoisted_4 = { key: 2 };
17
- const _sfc_main = /* @__PURE__ */ defineComponent({
18
- __name: "EmptyStateCard",
19
- props: {
20
- icon: { type: [Object, Array], default: () => u7 },
21
- title: { type: String, default: "" },
22
- description: { type: String, default: "" },
23
- titleKey: { type: String, default: "" },
24
- descriptionKey: { type: String, default: "" }
25
- },
26
- setup(__props) {
27
- const props = __props;
28
- const { t } = useI18n();
29
- const hasCustomCopy = computed(() => Boolean(props.title || props.description || props.titleKey || props.descriptionKey));
30
- const resolvedTitle = computed(() => props.title || (props.titleKey ? t(props.titleKey) : "") || (!hasCustomCopy.value ? t("uiVintage.common.empty.title") : "") || (!hasCustomCopy.value ? "Nothing here yet" : ""));
31
- const resolvedDescription = computed(() => props.description || (props.descriptionKey ? t(props.descriptionKey) : "") || (!hasCustomCopy.value ? t("uiVintage.common.empty.description") : "") || (!hasCustomCopy.value ? "There is no content to show right now." : ""));
32
- return (_ctx, _cache) => {
33
- return openBlock(), createBlock(unref(_sfc_main$1), { class: "flex flex-col items-center justify-center px-4 py-8 text-center md:py-12" }, {
34
- default: withCtx(() => [
35
- createVNode(unref(_sfc_main$2), { class: "flex flex-col items-center justify-center !p-0 text-center" }, {
36
- default: withCtx(() => [
37
- createElementVNode("div", _hoisted_1, [
38
- createVNode(unref(HugeiconsIcon), {
39
- icon: props.icon,
40
- class: "size-10"
41
- }, null, 8, ["icon"])
42
- ]),
43
- resolvedTitle.value ? (openBlock(), createElementBlock("h3", _hoisted_2, toDisplayString(resolvedTitle.value), 1)) : createCommentVNode("", true),
44
- resolvedDescription.value ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(resolvedDescription.value), 1)) : createCommentVNode("", true),
45
- _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_4, [
46
- renderSlot(_ctx.$slots, "action")
47
- ])) : createCommentVNode("", true)
48
- ]),
49
- _: 3
50
- })
51
- ]),
52
- _: 3
53
- });
54
- };
55
- }
56
- });
57
- export {
58
- _sfc_main as _
59
- };
@@ -1,18 +0,0 @@
1
- import { openBlock, createElementBlock, createStaticVNode } from "vue";
2
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
3
- const _sfc_main = {};
4
- const _hoisted_1 = {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 640 480",
7
- "aria-hidden": "true",
8
- focusable: "false"
9
- };
10
- function _sfc_render(_ctx, _cache) {
11
- return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
12
- createStaticVNode('<path fill="#012169" d="M0 0h640v480H0z"></path><path fill="#FFF" d="m75 0 244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0z"></path><path fill="#C8102E" d="m424 281 216 159v40L369 281zm-184 20 6 35L54 480H0zM640 0v3L391 191l2-44L590 0zM0 0l239 176h-60L0 42z"></path><path fill="#FFF" d="M241 0v480h160V0zM0 160v160h640V160z"></path><path fill="#C8102E" d="M0 193v96h640v-96zM273 0v480h96V0z"></path>', 5)
13
- ]));
14
- }
15
- const EnglishFlag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
16
- export {
17
- EnglishFlag as default
18
- };
@@ -1,448 +0,0 @@
1
- import { i as injectConfigProviderContext } from "./ConfigProvider-DYO65bNW.js";
2
- import { computed, ref, watch, nextTick, onUnmounted, defineComponent, reactive, watchEffect, openBlock, createBlock, unref, withCtx, renderSlot } from "vue";
3
- import { c as useEventListener, u as unrefElement } from "./index-Dw56kNV0.js";
4
- import { h as tryOnBeforeUnmount, j as createSharedComposable, i as isClient, k as isIOS, l as createGlobalState } from "./index-DDJjWaIl.js";
5
- import { d as defu } from "./Teleport-DTOwRCqx.js";
6
- import { g as getActiveElement } from "./getActiveElement-Bmy6QsUb.js";
7
- import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
8
- import { P as Primitive } from "./Primitive-D3IcFg81.js";
9
- const useBodyLockStackCount = createSharedComposable(() => {
10
- const map = ref(/* @__PURE__ */ new Map());
11
- const initialOverflow = ref();
12
- const locked = computed(() => {
13
- for (const value of map.value.values()) if (value) return true;
14
- return false;
15
- });
16
- const context = injectConfigProviderContext({ scrollBody: ref(true) });
17
- let stopTouchMoveListener = null;
18
- const resetBodyStyle = () => {
19
- document.body.style.paddingRight = "";
20
- document.body.style.marginRight = "";
21
- document.body.style.pointerEvents = "";
22
- document.documentElement.style.removeProperty("--scrollbar-width");
23
- document.body.style.overflow = initialOverflow.value ?? "";
24
- isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());
25
- initialOverflow.value = void 0;
26
- };
27
- watch(locked, (val, oldVal) => {
28
- var _a;
29
- if (!isClient) return;
30
- if (!val) {
31
- if (oldVal) resetBodyStyle();
32
- return;
33
- }
34
- if (initialOverflow.value === void 0) initialOverflow.value = document.body.style.overflow;
35
- const verticalScrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
36
- const defaultConfig = {
37
- padding: verticalScrollbarWidth,
38
- margin: 0
39
- };
40
- const config = ((_a = context.scrollBody) == null ? void 0 : _a.value) ? typeof context.scrollBody.value === "object" ? defu({
41
- padding: context.scrollBody.value.padding === true ? verticalScrollbarWidth : context.scrollBody.value.padding,
42
- margin: context.scrollBody.value.margin === true ? verticalScrollbarWidth : context.scrollBody.value.margin
43
- }, defaultConfig) : defaultConfig : {
44
- padding: 0,
45
- margin: 0
46
- };
47
- if (verticalScrollbarWidth > 0) {
48
- document.body.style.paddingRight = typeof config.padding === "number" ? `${config.padding}px` : String(config.padding);
49
- document.body.style.marginRight = typeof config.margin === "number" ? `${config.margin}px` : String(config.margin);
50
- document.documentElement.style.setProperty("--scrollbar-width", `${verticalScrollbarWidth}px`);
51
- document.body.style.overflow = "hidden";
52
- }
53
- if (isIOS) stopTouchMoveListener = useEventListener(document, "touchmove", (e) => preventDefault(e), { passive: false });
54
- nextTick(() => {
55
- if (!locked.value) return;
56
- document.body.style.pointerEvents = "none";
57
- document.body.style.overflow = "hidden";
58
- });
59
- }, {
60
- immediate: true,
61
- flush: "sync"
62
- });
63
- return map;
64
- });
65
- function useBodyScrollLock(initialState) {
66
- const id = Math.random().toString(36).substring(2, 7);
67
- const map = useBodyLockStackCount();
68
- map.value.set(id, initialState ?? false);
69
- const locked = computed({
70
- get: () => map.value.get(id) ?? false,
71
- set: (value) => map.value.set(id, value)
72
- });
73
- tryOnBeforeUnmount(() => {
74
- map.value.delete(id);
75
- });
76
- return locked;
77
- }
78
- function checkOverflowScroll(ele) {
79
- const style = window.getComputedStyle(ele);
80
- if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientWidth < ele.scrollWidth || style.overflowY === "auto" && ele.clientHeight < ele.scrollHeight) return true;
81
- else {
82
- const parent = ele.parentNode;
83
- if (!(parent instanceof Element) || parent.tagName === "BODY") return false;
84
- return checkOverflowScroll(parent);
85
- }
86
- }
87
- function preventDefault(rawEvent) {
88
- const e = rawEvent || window.event;
89
- const _target = e.target;
90
- if (_target instanceof Element && checkOverflowScroll(_target)) return false;
91
- if (e.touches.length > 1) return true;
92
- if (e.preventDefault && e.cancelable) e.preventDefault();
93
- return false;
94
- }
95
- var getDefaultParent = function(originalTarget) {
96
- if (typeof document === "undefined") {
97
- return null;
98
- }
99
- var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;
100
- return sampleTarget.ownerDocument.body;
101
- };
102
- var counterMap = /* @__PURE__ */ new WeakMap();
103
- var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
104
- var markerMap = {};
105
- var lockCount = 0;
106
- var unwrapHost = function(node) {
107
- return node && (node.host || unwrapHost(node.parentNode));
108
- };
109
- var correctTargets = function(parent, targets) {
110
- return targets.map(function(target) {
111
- if (parent.contains(target)) {
112
- return target;
113
- }
114
- var correctedTarget = unwrapHost(target);
115
- if (correctedTarget && parent.contains(correctedTarget)) {
116
- return correctedTarget;
117
- }
118
- console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
119
- return null;
120
- }).filter(function(x) {
121
- return Boolean(x);
122
- });
123
- };
124
- var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
125
- var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
126
- if (!markerMap[markerName]) {
127
- markerMap[markerName] = /* @__PURE__ */ new WeakMap();
128
- }
129
- var markerCounter = markerMap[markerName];
130
- var hiddenNodes = [];
131
- var elementsToKeep = /* @__PURE__ */ new Set();
132
- var elementsToStop = new Set(targets);
133
- var keep = function(el) {
134
- if (!el || elementsToKeep.has(el)) {
135
- return;
136
- }
137
- elementsToKeep.add(el);
138
- keep(el.parentNode);
139
- };
140
- targets.forEach(keep);
141
- var deep = function(parent) {
142
- if (!parent || elementsToStop.has(parent)) {
143
- return;
144
- }
145
- Array.prototype.forEach.call(parent.children, function(node) {
146
- if (elementsToKeep.has(node)) {
147
- deep(node);
148
- } else {
149
- try {
150
- var attr = node.getAttribute(controlAttribute);
151
- var alreadyHidden = attr !== null && attr !== "false";
152
- var counterValue = (counterMap.get(node) || 0) + 1;
153
- var markerValue = (markerCounter.get(node) || 0) + 1;
154
- counterMap.set(node, counterValue);
155
- markerCounter.set(node, markerValue);
156
- hiddenNodes.push(node);
157
- if (counterValue === 1 && alreadyHidden) {
158
- uncontrolledNodes.set(node, true);
159
- }
160
- if (markerValue === 1) {
161
- node.setAttribute(markerName, "true");
162
- }
163
- if (!alreadyHidden) {
164
- node.setAttribute(controlAttribute, "true");
165
- }
166
- } catch (e) {
167
- console.error("aria-hidden: cannot operate on ", node, e);
168
- }
169
- }
170
- });
171
- };
172
- deep(parentNode);
173
- elementsToKeep.clear();
174
- lockCount++;
175
- return function() {
176
- hiddenNodes.forEach(function(node) {
177
- var counterValue = counterMap.get(node) - 1;
178
- var markerValue = markerCounter.get(node) - 1;
179
- counterMap.set(node, counterValue);
180
- markerCounter.set(node, markerValue);
181
- if (!counterValue) {
182
- if (!uncontrolledNodes.has(node)) {
183
- node.removeAttribute(controlAttribute);
184
- }
185
- uncontrolledNodes.delete(node);
186
- }
187
- if (!markerValue) {
188
- node.removeAttribute(markerName);
189
- }
190
- });
191
- lockCount--;
192
- if (!lockCount) {
193
- counterMap = /* @__PURE__ */ new WeakMap();
194
- counterMap = /* @__PURE__ */ new WeakMap();
195
- uncontrolledNodes = /* @__PURE__ */ new WeakMap();
196
- markerMap = {};
197
- }
198
- };
199
- };
200
- var hideOthers = function(originalTarget, parentNode, markerName) {
201
- if (markerName === void 0) {
202
- markerName = "data-aria-hidden";
203
- }
204
- var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
205
- var activeParentNode = getDefaultParent(originalTarget);
206
- if (!activeParentNode) {
207
- return function() {
208
- return null;
209
- };
210
- }
211
- targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
212
- return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
213
- };
214
- function useHideOthers(target) {
215
- let undo;
216
- watch(() => unrefElement(target), (el) => {
217
- let isInsideClosedPopover = false;
218
- try {
219
- isInsideClosedPopover = !!(el == null ? void 0 : el.closest("[popover]:not(:popover-open)"));
220
- } catch {
221
- }
222
- if (el && !isInsideClosedPopover) undo = hideOthers(el);
223
- else if (undo) undo();
224
- });
225
- onUnmounted(() => {
226
- if (undo) undo();
227
- });
228
- }
229
- const useFocusStackState = createGlobalState(() => {
230
- const stack = ref([]);
231
- return stack;
232
- });
233
- function createFocusScopesStack() {
234
- const stack = useFocusStackState();
235
- return {
236
- add(focusScope) {
237
- const activeFocusScope = stack.value[0];
238
- if (focusScope !== activeFocusScope) activeFocusScope == null ? void 0 : activeFocusScope.pause();
239
- stack.value = arrayRemove(stack.value, focusScope);
240
- stack.value.unshift(focusScope);
241
- },
242
- remove(focusScope) {
243
- var _a;
244
- stack.value = arrayRemove(stack.value, focusScope);
245
- (_a = stack.value[0]) == null ? void 0 : _a.resume();
246
- }
247
- };
248
- }
249
- function arrayRemove(array, item) {
250
- const updatedArray = [...array];
251
- const index = updatedArray.indexOf(item);
252
- if (index !== -1) updatedArray.splice(index, 1);
253
- return updatedArray;
254
- }
255
- const AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
256
- const AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
257
- const EVENT_OPTIONS = {
258
- bubbles: false,
259
- cancelable: true
260
- };
261
- function focusFirst(candidates, { select = false } = {}) {
262
- const previouslyFocusedElement = getActiveElement();
263
- for (const candidate of candidates) {
264
- focus(candidate, { select });
265
- if (getActiveElement() !== previouslyFocusedElement) return true;
266
- }
267
- }
268
- function getTabbableEdges(container) {
269
- const candidates = getTabbableCandidates(container);
270
- const first = findVisible(candidates, container);
271
- const last = findVisible(candidates.reverse(), container);
272
- return [first, last];
273
- }
274
- function getTabbableCandidates(container) {
275
- const nodes = [];
276
- const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, { acceptNode: (node) => {
277
- const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
278
- if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
279
- return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
280
- } });
281
- while (walker.nextNode()) nodes.push(walker.currentNode);
282
- return nodes;
283
- }
284
- function findVisible(elements, container) {
285
- for (const element of elements) if (!isHidden(element, { upTo: container })) return element;
286
- }
287
- function isHidden(node, { upTo }) {
288
- if (getComputedStyle(node).visibility === "hidden") return true;
289
- while (node) {
290
- if (upTo !== void 0 && node === upTo) return false;
291
- if (getComputedStyle(node).display === "none") return true;
292
- node = node.parentElement;
293
- }
294
- return false;
295
- }
296
- function isSelectableInput(element) {
297
- return element instanceof HTMLInputElement && "select" in element;
298
- }
299
- function focus(element, { select = false } = {}) {
300
- if (element && element.focus) {
301
- const previouslyFocusedElement = getActiveElement();
302
- element.focus({ preventScroll: true });
303
- if (element !== previouslyFocusedElement && isSelectableInput(element) && select) element.select();
304
- }
305
- }
306
- var FocusScope_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
307
- __name: "FocusScope",
308
- props: {
309
- loop: {
310
- type: Boolean,
311
- required: false,
312
- default: false
313
- },
314
- trapped: {
315
- type: Boolean,
316
- required: false,
317
- default: false
318
- },
319
- asChild: {
320
- type: Boolean,
321
- required: false
322
- },
323
- as: {
324
- type: null,
325
- required: false
326
- }
327
- },
328
- emits: ["mountAutoFocus", "unmountAutoFocus"],
329
- setup(__props, { emit: __emit }) {
330
- const props = __props;
331
- const emits = __emit;
332
- const { currentRef, currentElement } = useForwardExpose();
333
- const lastFocusedElementRef = ref(null);
334
- const focusScopesStack = createFocusScopesStack();
335
- const focusScope = reactive({
336
- paused: false,
337
- pause() {
338
- this.paused = true;
339
- },
340
- resume() {
341
- this.paused = false;
342
- }
343
- });
344
- watchEffect((cleanupFn) => {
345
- if (!isClient) return;
346
- const container = currentElement.value;
347
- if (!props.trapped) return;
348
- function handleFocusIn(event) {
349
- if (focusScope.paused || !container) return;
350
- const target = event.target;
351
- if (container.contains(target)) lastFocusedElementRef.value = target;
352
- else focus(lastFocusedElementRef.value, { select: true });
353
- }
354
- function handleFocusOut(event) {
355
- if (focusScope.paused || !container) return;
356
- const relatedTarget = event.relatedTarget;
357
- if (relatedTarget === null) return;
358
- if (!container.contains(relatedTarget)) focus(lastFocusedElementRef.value, { select: true });
359
- }
360
- function handleMutations(mutations) {
361
- const isLastFocusedElementExist = container.contains(lastFocusedElementRef.value);
362
- if (!isLastFocusedElementExist) focus(container);
363
- }
364
- document.addEventListener("focusin", handleFocusIn);
365
- document.addEventListener("focusout", handleFocusOut);
366
- const mutationObserver = new MutationObserver(handleMutations);
367
- if (container) mutationObserver.observe(container, {
368
- childList: true,
369
- subtree: true
370
- });
371
- cleanupFn(() => {
372
- document.removeEventListener("focusin", handleFocusIn);
373
- document.removeEventListener("focusout", handleFocusOut);
374
- mutationObserver.disconnect();
375
- });
376
- });
377
- watchEffect(async (cleanupFn) => {
378
- const container = currentElement.value;
379
- await nextTick();
380
- if (!container) return;
381
- focusScopesStack.add(focusScope);
382
- const previouslyFocusedElement = getActiveElement();
383
- const hasFocusedCandidate = container.contains(previouslyFocusedElement);
384
- if (!hasFocusedCandidate) {
385
- const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
386
- container.addEventListener(AUTOFOCUS_ON_MOUNT, (ev) => emits("mountAutoFocus", ev));
387
- container.dispatchEvent(mountEvent);
388
- if (!mountEvent.defaultPrevented) {
389
- focusFirst(getTabbableCandidates(container), { select: true });
390
- if (getActiveElement() === previouslyFocusedElement) focus(container);
391
- }
392
- }
393
- cleanupFn(() => {
394
- container.removeEventListener(AUTOFOCUS_ON_MOUNT, (ev) => emits("mountAutoFocus", ev));
395
- const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
396
- const unmountEventHandler = (ev) => {
397
- emits("unmountAutoFocus", ev);
398
- };
399
- container.addEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
400
- container.dispatchEvent(unmountEvent);
401
- setTimeout(() => {
402
- if (!unmountEvent.defaultPrevented) focus(previouslyFocusedElement ?? document.body, { select: true });
403
- container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
404
- focusScopesStack.remove(focusScope);
405
- }, 0);
406
- });
407
- });
408
- function handleKeyDown(event) {
409
- if (!props.loop && !props.trapped) return;
410
- if (focusScope.paused) return;
411
- const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
412
- const focusedElement = getActiveElement();
413
- if (isTabKey && focusedElement) {
414
- const container = event.currentTarget;
415
- const [first, last] = getTabbableEdges(container);
416
- const hasTabbableElementsInside = first && last;
417
- if (!hasTabbableElementsInside) {
418
- if (focusedElement === container) event.preventDefault();
419
- } else if (!event.shiftKey && focusedElement === last) {
420
- event.preventDefault();
421
- if (props.loop) focus(first, { select: true });
422
- } else if (event.shiftKey && focusedElement === first) {
423
- event.preventDefault();
424
- if (props.loop) focus(last, { select: true });
425
- }
426
- }
427
- }
428
- return (_ctx, _cache) => {
429
- return openBlock(), createBlock(unref(Primitive), {
430
- ref_key: "currentRef",
431
- ref: currentRef,
432
- tabindex: "-1",
433
- "as-child": _ctx.asChild,
434
- as: _ctx.as,
435
- onKeydown: handleKeyDown
436
- }, {
437
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
438
- _: 3
439
- }, 8, ["as-child", "as"]);
440
- };
441
- }
442
- });
443
- var FocusScope_default = FocusScope_vue_vue_type_script_setup_true_lang_default;
444
- export {
445
- FocusScope_default as F,
446
- useBodyScrollLock as a,
447
- useHideOthers as u
448
- };
@@ -1,35 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
3
- const _sfc_main = {};
4
- const _hoisted_1 = {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 3 2",
7
- "aria-hidden": "true",
8
- focusable: "false"
9
- };
10
- function _sfc_render(_ctx, _cache) {
11
- return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
12
- createElementVNode("rect", {
13
- width: "1",
14
- height: "2",
15
- x: "0",
16
- fill: "#002654"
17
- }, null, -1),
18
- createElementVNode("rect", {
19
- width: "1",
20
- height: "2",
21
- x: "1",
22
- fill: "#ffffff"
23
- }, null, -1),
24
- createElementVNode("rect", {
25
- width: "1",
26
- height: "2",
27
- x: "2",
28
- fill: "#ce1126"
29
- }, null, -1)
30
- ]));
31
- }
32
- const FrenchFlag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
33
- export {
34
- FrenchFlag as default
35
- };
@@ -1,35 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from "vue";
2
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
3
- const _sfc_main = {};
4
- const _hoisted_1 = {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 5 3",
7
- "aria-hidden": "true",
8
- focusable: "false"
9
- };
10
- function _sfc_render(_ctx, _cache) {
11
- return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
12
- createElementVNode("rect", {
13
- width: "5",
14
- height: "1",
15
- y: "0",
16
- fill: "#000000"
17
- }, null, -1),
18
- createElementVNode("rect", {
19
- width: "5",
20
- height: "1",
21
- y: "1",
22
- fill: "#dd0000"
23
- }, null, -1),
24
- createElementVNode("rect", {
25
- width: "5",
26
- height: "1",
27
- y: "2",
28
- fill: "#ffce00"
29
- }, null, -1)
30
- ]));
31
- }
32
- const GermanFlag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
33
- export {
34
- GermanFlag as default
35
- };