@brumaombra/ui-vintage 0.6.8 → 0.7.3

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 (697) hide show
  1. package/README.md +61 -51
  2. package/module.mjs +75 -0
  3. package/package.json +82 -272
  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/{dist/components/blog/index.d.ts → src/components/blog/index.ts} +1 -1
  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/{dist/components/content/index.d.ts → src/components/content/index.ts} +1 -1
  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} +2 -4
  281. package/{dist/i18n/en.json.d.ts → src/i18n/en.json} +2 -4
  282. package/{dist/i18n/es.json.d.ts → src/i18n/es.json} +2 -4
  283. package/{dist/i18n/fr.json.d.ts → src/i18n/fr.json} +2 -4
  284. package/{dist/i18n/it.json.d.ts → src/i18n/it.json} +2 -4
  285. package/{dist/i18n/ja.json.d.ts → src/i18n/ja.json} +2 -4
  286. package/{dist/i18n/pt.json.d.ts → src/i18n/pt.json} +2 -4
  287. package/{dist/i18n/ru.json.d.ts → src/i18n/ru.json} +2 -4
  288. package/{dist/i18n/zh.json.d.ts → src/i18n/zh.json} +2 -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-DhRDOi2d.js +0 -361
  297. package/dist/BackgroundGrid-BJDDcLzF.js +0 -13
  298. package/dist/Badge.vue_vue_type_script_setup_true_lang-DH_klSVA.js +0 -33
  299. package/dist/Busy-BOXgYrox.js +0 -55
  300. package/dist/BusyIndicator-D-4YHN2L.js +0 -4
  301. package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-C6OtvF0h.js +0 -3800
  302. package/dist/Card.vue_vue_type_script_setup_true_lang-CZhFtxSD.js +0 -30
  303. package/dist/CardContent.vue_vue_type_script_setup_true_lang-BxI0-dse.js +0 -22
  304. package/dist/CardFooter.vue_vue_type_script_setup_true_lang-LFjBZHcl.js +0 -22
  305. package/dist/CardText.vue_vue_type_script_setup_true_lang-zUPNe9HY.js +0 -22
  306. package/dist/ChineseFlag-CVrOCbRz.js +0 -18
  307. package/dist/Collection-4P3HQ4uU.js +0 -76
  308. package/dist/ConfigProvider-DYO65bNW.js +0 -6
  309. package/dist/ConfirmDialog-Zu4m9TY-.js +0 -4
  310. package/dist/DatePicker.vue_vue_type_script_setup_true_lang-CzMhKnrj.js +0 -88
  311. package/dist/DialogClose-DxCTEp0d.js +0 -36
  312. package/dist/DialogPortal-BiMJAKLg.js +0 -36
  313. package/dist/DialogTitle-jKgSCoXM.js +0 -526
  314. package/dist/DialogTitle.vue_vue_type_script_setup_true_lang-D0Ephm9c.js +0 -184
  315. package/dist/DialogTrigger-Cb3rLcid.js +0 -52
  316. package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-CH3ODMDF.js +0 -59
  317. package/dist/EnglishFlag-BrpG8XMW.js +0 -18
  318. package/dist/FocusScope-mzbqk6Y_.js +0 -448
  319. package/dist/FrenchFlag-CUdQacS3.js +0 -35
  320. package/dist/GermanFlag-Bc1CeEHw.js +0 -35
  321. package/dist/HugeiconsIcon.vue-By2RXWWz.js +0 -111
  322. package/dist/Input.vue_vue_type_script_setup_true_lang-BGGOqKHs.js +0 -37
  323. package/dist/ItalianFlag-BAdg13z7.js +0 -34
  324. package/dist/JapaneseFlag-Dnd2ITzZ.js +0 -27
  325. package/dist/Label.vue_vue_type_script_setup_true_lang-BzD7wUHQ.js +0 -65
  326. package/dist/LandingContent.vue_vue_type_script_setup_true_lang-BySDoKff.js +0 -21
  327. package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-D1_ZjIFj.js +0 -159
  328. package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-Cu_ksJtE.js +0 -63
  329. package/dist/LandingShell.vue_vue_type_script_setup_true_lang-D6n-hLum.js +0 -49
  330. package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-Be0obsa3.js +0 -61
  331. package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-CwCrRir_.js +0 -53
  332. package/dist/MessageDialog-ChS4d2qN.js +0 -4
  333. package/dist/MessageToast-CMvpwf2m.js +0 -79
  334. package/dist/NativeSelectOption.vue_vue_type_script_setup_true_lang-CcnlTqUN.js +0 -75
  335. package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-Bu5YDhSO.js +0 -801
  336. package/dist/PopperContent-DUJ8a4i0.js +0 -2144
  337. package/dist/PortugueseFlag-DU2jEbaQ.js +0 -19
  338. package/dist/Presence-CTmUEdMR.js +0 -168
  339. package/dist/Primitive-D3IcFg81.js +0 -61
  340. package/dist/Progress.vue_vue_type_script_setup_true_lang-ZKUFAYop.js +0 -188
  341. package/dist/RussianFlag-Cnc4PHmq.js +0 -29
  342. package/dist/Separator-CFm_M4pb.js +0 -87
  343. package/dist/Separator.vue_vue_type_script_setup_true_lang-BDH2gelV.js +0 -29
  344. package/dist/SheetTitle.vue_vue_type_script_setup_true_lang-DZ-80X9J.js +0 -167
  345. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CK-Q0Oxk.js +0 -20
  346. package/dist/Slider.vue_vue_type_script_setup_true_lang-Cz1oQX11.js +0 -803
  347. package/dist/SpanishFlag-Dy-C9kGk.js +0 -28
  348. package/dist/Switch.vue_vue_type_script_setup_true_lang-BzUQzI2p.js +0 -227
  349. package/dist/TableHeader.vue_vue_type_script_setup_true_lang-BMHYThM4.js +0 -123
  350. package/dist/Teleport-DTOwRCqx.js +0 -315
  351. package/dist/TimePicker.vue_vue_type_script_setup_true_lang-C3Ww9XT5.js +0 -51
  352. package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-CIBac9lA.js +0 -1120
  353. package/dist/VisuallyHidden-udQT2Fmo.js +0 -60
  354. package/dist/VisuallyHiddenInput-D5eipDQU.js +0 -142
  355. package/dist/_plugin-vue_export-helper-1tPrXgE0.js +0 -10
  356. package/dist/alert-dialog.js +0 -165
  357. package/dist/alert.js +0 -66
  358. package/dist/background-grid.js +0 -5
  359. package/dist/badge.js +0 -4
  360. package/dist/blog.js +0 -938
  361. package/dist/breadcrumb.js +0 -159
  362. package/dist/busy-indicator.js +0 -66
  363. package/dist/busy.js +0 -4
  364. package/dist/button.js +0 -67
  365. package/dist/calendar.js +0 -15
  366. package/dist/card-grid.js +0 -58
  367. package/dist/card.js +0 -84
  368. package/dist/chip.js +0 -47
  369. package/dist/clamp-D5Ye0kJT.js +0 -6
  370. package/dist/color-tokens-D9BviGPK.js +0 -40
  371. package/dist/command.js +0 -1099
  372. package/dist/components/background-grid/BackgroundGrid.vue.d.ts +0 -2
  373. package/dist/components/background-grid/index.d.ts +0 -2
  374. package/dist/components/busy-indicator/BusyIndicator.vue.d.ts +0 -2
  375. package/dist/components/busy-indicator/busy-indicator-state.d.ts +0 -15
  376. package/dist/components/busy-indicator/index.d.ts +0 -3
  377. package/dist/components/card-grid/CardGrid.vue.d.ts +0 -88
  378. package/dist/components/card-grid/index.d.ts +0 -2
  379. package/dist/components/chip/Chip.vue.d.ts +0 -17
  380. package/dist/components/chip/index.d.ts +0 -2
  381. package/dist/components/confirm-dialog/ConfirmDialog.vue.d.ts +0 -2
  382. package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +0 -40
  383. package/dist/components/confirm-dialog/index.d.ts +0 -3
  384. package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +0 -67
  385. package/dist/components/dashboard-shell/index.d.ts +0 -2
  386. package/dist/components/data-list/DataList.vue.d.ts +0 -21
  387. package/dist/components/data-list/DataListItem.vue.d.ts +0 -21
  388. package/dist/components/data-list/DataListLabel.vue.d.ts +0 -21
  389. package/dist/components/data-list/DataListText.vue.d.ts +0 -21
  390. package/dist/components/data-list/DataListValue.vue.d.ts +0 -21
  391. package/dist/components/data-list/index.d.ts +0 -5
  392. package/dist/components/empty-state-card/EmptyStateCard.vue.d.ts +0 -73
  393. package/dist/components/error-page/ErrorPage.vue.d.ts +0 -51
  394. package/dist/components/error-page/index.d.ts +0 -2
  395. package/dist/components/info-card/InfoCard.vue.d.ts +0 -46
  396. package/dist/components/info-card/index.d.ts +0 -2
  397. package/dist/components/landing/index.d.ts +0 -6
  398. package/dist/components/landing/landing-content/LandingContent.vue.d.ts +0 -21
  399. package/dist/components/landing/landing-content/index.d.ts +0 -2
  400. package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +0 -39
  401. package/dist/components/landing/landing-footer/index.d.ts +0 -3
  402. package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +0 -32
  403. package/dist/components/landing/landing-navbar/index.d.ts +0 -2
  404. package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +0 -31
  405. package/dist/components/landing/landing-shell/index.d.ts +0 -2
  406. package/dist/components/language-flag/LanguageFlag.vue.d.ts +0 -14
  407. package/dist/components/language-flag/flags/ChineseFlag.vue.d.ts +0 -2
  408. package/dist/components/language-flag/flags/EnglishFlag.vue.d.ts +0 -2
  409. package/dist/components/language-flag/flags/FrenchFlag.vue.d.ts +0 -2
  410. package/dist/components/language-flag/flags/GermanFlag.vue.d.ts +0 -2
  411. package/dist/components/language-flag/flags/ItalianFlag.vue.d.ts +0 -2
  412. package/dist/components/language-flag/flags/JapaneseFlag.vue.d.ts +0 -2
  413. package/dist/components/language-flag/flags/PortugueseFlag.vue.d.ts +0 -2
  414. package/dist/components/language-flag/flags/RussianFlag.vue.d.ts +0 -2
  415. package/dist/components/language-flag/flags/SpanishFlag.vue.d.ts +0 -2
  416. package/dist/components/language-selector/LanguageSelector.vue.d.ts +0 -31
  417. package/dist/components/load-more-button/LoadMoreButton.vue.d.ts +0 -36
  418. package/dist/components/loading-state-card/LoadingStateCard.vue.d.ts +0 -55
  419. package/dist/components/message-dialog/MessageDialog.vue.d.ts +0 -2
  420. package/dist/components/message-dialog/index.d.ts +0 -3
  421. package/dist/components/message-dialog/message-dialog-state.d.ts +0 -30
  422. package/dist/components/message-toast/MessageToast.vue.d.ts +0 -2
  423. package/dist/components/message-toast/index.d.ts +0 -2
  424. package/dist/components/message-toast/message-toast-state.d.ts +0 -18
  425. package/dist/components/page-header/PageHeader.vue.d.ts +0 -48
  426. package/dist/components/page-header/index.d.ts +0 -2
  427. package/dist/components/progress-component/ProgressComponent.vue.d.ts +0 -47
  428. package/dist/components/single-value-card/SingleValueCard.vue.d.ts +0 -40
  429. package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +0 -23
  430. package/dist/components/slider-form-component/index.d.ts +0 -2
  431. package/dist/components/switch-form-component/SwitchFormComponent.vue.d.ts +0 -12
  432. package/dist/components/switch-form-component/index.d.ts +0 -2
  433. package/dist/components/text-link/TextLink.vue.d.ts +0 -35
  434. package/dist/components/text-link/index.d.ts +0 -2
  435. package/dist/components/theme-selector/ThemeSelector.vue.d.ts +0 -2
  436. package/dist/components/theme-selector/index.d.ts +0 -2
  437. package/dist/components/ui/alert/Alert.vue.d.ts +0 -23
  438. package/dist/components/ui/alert/AlertDescription.vue.d.ts +0 -21
  439. package/dist/components/ui/alert/AlertTitle.vue.d.ts +0 -21
  440. package/dist/components/ui/alert/index.d.ts +0 -9
  441. package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +0 -25
  442. package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +0 -22
  443. package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +0 -22
  444. package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +0 -36
  445. package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +0 -22
  446. package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +0 -21
  447. package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +0 -21
  448. package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +0 -22
  449. package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +0 -18
  450. package/dist/components/ui/alert-dialog/index.d.ts +0 -9
  451. package/dist/components/ui/badge/Badge.vue.d.ts +0 -16
  452. package/dist/components/ui/badge/index.d.ts +0 -1
  453. package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +0 -21
  454. package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +0 -21
  455. package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +0 -21
  456. package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +0 -24
  457. package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +0 -21
  458. package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +0 -21
  459. package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +0 -21
  460. package/dist/components/ui/breadcrumb/index.d.ts +0 -7
  461. package/dist/components/ui/busy/Busy.vue.d.ts +0 -27
  462. package/dist/components/ui/busy/index.d.ts +0 -1
  463. package/dist/components/ui/button/Button.vue.d.ts +0 -27
  464. package/dist/components/ui/button/index.d.ts +0 -7
  465. package/dist/components/ui/calendar/Calendar.vue.d.ts +0 -44
  466. package/dist/components/ui/calendar/CalendarCell.vue.d.ts +0 -22
  467. package/dist/components/ui/calendar/CalendarCellTrigger.vue.d.ts +0 -24
  468. package/dist/components/ui/calendar/CalendarGrid.vue.d.ts +0 -22
  469. package/dist/components/ui/calendar/CalendarGridBody.vue.d.ts +0 -18
  470. package/dist/components/ui/calendar/CalendarGridHead.vue.d.ts +0 -22
  471. package/dist/components/ui/calendar/CalendarGridRow.vue.d.ts +0 -22
  472. package/dist/components/ui/calendar/CalendarHeadCell.vue.d.ts +0 -22
  473. package/dist/components/ui/calendar/CalendarHeader.vue.d.ts +0 -22
  474. package/dist/components/ui/calendar/CalendarHeading.vue.d.ts +0 -28
  475. package/dist/components/ui/calendar/CalendarNextButton.vue.d.ts +0 -22
  476. package/dist/components/ui/calendar/CalendarPrevButton.vue.d.ts +0 -22
  477. package/dist/components/ui/calendar/index.d.ts +0 -13
  478. package/dist/components/ui/card/Card.vue.d.ts +0 -24
  479. package/dist/components/ui/card/CardAction.vue.d.ts +0 -21
  480. package/dist/components/ui/card/CardContent.vue.d.ts +0 -21
  481. package/dist/components/ui/card/CardDescription.vue.d.ts +0 -21
  482. package/dist/components/ui/card/CardFooter.vue.d.ts +0 -21
  483. package/dist/components/ui/card/CardHeader.vue.d.ts +0 -21
  484. package/dist/components/ui/card/CardText.vue.d.ts +0 -21
  485. package/dist/components/ui/card/CardTitle.vue.d.ts +0 -21
  486. package/dist/components/ui/card/index.d.ts +0 -8
  487. package/dist/components/ui/command/Command.vue.d.ts +0 -40
  488. package/dist/components/ui/command/CommandDialog.vue.d.ts +0 -32
  489. package/dist/components/ui/command/CommandEmpty.vue.d.ts +0 -22
  490. package/dist/components/ui/command/CommandGroup.vue.d.ts +0 -23
  491. package/dist/components/ui/command/CommandInput.vue.d.ts +0 -7
  492. package/dist/components/ui/command/CommandItem.vue.d.ts +0 -30
  493. package/dist/components/ui/command/CommandList.vue.d.ts +0 -22
  494. package/dist/components/ui/command/CommandSeparator.vue.d.ts +0 -22
  495. package/dist/components/ui/command/CommandShortcut.vue.d.ts +0 -21
  496. package/dist/components/ui/command/index.d.ts +0 -90
  497. package/dist/components/ui/date-picker/DatePicker.vue.d.ts +0 -21
  498. package/dist/components/ui/date-picker/index.d.ts +0 -2
  499. package/dist/components/ui/date-time-picker/DateTimePicker.vue.d.ts +0 -27
  500. package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -25
  501. package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -18
  502. package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -39
  503. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -22
  504. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -21
  505. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -21
  506. package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +0 -22
  507. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -39
  508. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -22
  509. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -18
  510. package/dist/components/ui/dialog/index.d.ts +0 -10
  511. package/dist/components/ui/field/Field.vue.d.ts +0 -23
  512. package/dist/components/ui/field/FieldContent.vue.d.ts +0 -21
  513. package/dist/components/ui/field/FieldDescription.vue.d.ts +0 -21
  514. package/dist/components/ui/field/FieldError.vue.d.ts +0 -24
  515. package/dist/components/ui/field/FieldGroup.vue.d.ts +0 -21
  516. package/dist/components/ui/field/FieldLabel.vue.d.ts +0 -21
  517. package/dist/components/ui/field/FieldLegend.vue.d.ts +0 -22
  518. package/dist/components/ui/field/FieldSeparator.vue.d.ts +0 -21
  519. package/dist/components/ui/field/FieldSet.vue.d.ts +0 -21
  520. package/dist/components/ui/field/FieldTitle.vue.d.ts +0 -21
  521. package/dist/components/ui/field/index.d.ts +0 -15
  522. package/dist/components/ui/input/Input.vue.d.ts +0 -12
  523. package/dist/components/ui/input/index.d.ts +0 -1
  524. package/dist/components/ui/label/Label.vue.d.ts +0 -22
  525. package/dist/components/ui/label/index.d.ts +0 -1
  526. package/dist/components/ui/native-select/NativeSelect.vue.d.ts +0 -27
  527. package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +0 -21
  528. package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +0 -21
  529. package/dist/components/ui/native-select/index.d.ts +0 -3
  530. package/dist/components/ui/popover/Popover.vue.d.ts +0 -25
  531. package/dist/components/ui/popover/PopoverAnchor.vue.d.ts +0 -18
  532. package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -39
  533. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -18
  534. package/dist/components/ui/popover/index.d.ts +0 -4
  535. package/dist/components/ui/progress/Progress.vue.d.ts +0 -9
  536. package/dist/components/ui/progress/index.d.ts +0 -1
  537. package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +0 -22
  538. package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +0 -9
  539. package/dist/components/ui/scroll-area/index.d.ts +0 -2
  540. package/dist/components/ui/select/Select.vue.d.ts +0 -28
  541. package/dist/components/ui/select/SelectContent.vue.d.ts +0 -35
  542. package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -18
  543. package/dist/components/ui/select/SelectItem.vue.d.ts +0 -24
  544. package/dist/components/ui/select/SelectItemContent.vue.d.ts +0 -15
  545. package/dist/components/ui/select/SelectItemText.vue.d.ts +0 -18
  546. package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -22
  547. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -22
  548. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -22
  549. package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -7
  550. package/dist/components/ui/select/SelectTrigger.vue.d.ts +0 -25
  551. package/dist/components/ui/select/SelectValue.vue.d.ts +0 -18
  552. package/dist/components/ui/select/SelectValueContent.vue.d.ts +0 -16
  553. package/dist/components/ui/select/index.d.ts +0 -13
  554. package/dist/components/ui/separator/Separator.vue.d.ts +0 -10
  555. package/dist/components/ui/separator/index.d.ts +0 -1
  556. package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -25
  557. package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -18
  558. package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -39
  559. package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -22
  560. package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -21
  561. package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -21
  562. package/dist/components/ui/sheet/SheetOverlay.vue.d.ts +0 -22
  563. package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -22
  564. package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -18
  565. package/dist/components/ui/sheet/index.d.ts +0 -8
  566. package/dist/components/ui/sidebar/Sidebar.vue.d.ts +0 -25
  567. package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +0 -21
  568. package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +0 -21
  569. package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +0 -21
  570. package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +0 -22
  571. package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +0 -21
  572. package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +0 -22
  573. package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +0 -21
  574. package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +0 -21
  575. package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +0 -21
  576. package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +0 -21
  577. package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +0 -25
  578. package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +0 -21
  579. package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +0 -27
  580. package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +0 -30
  581. package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +0 -21
  582. package/dist/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +0 -7
  583. package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +0 -21
  584. package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +0 -27
  585. package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +0 -21
  586. package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +0 -32
  587. package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +0 -21
  588. package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +0 -21
  589. package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +0 -6
  590. package/dist/components/ui/sidebar/index.d.ts +0 -38
  591. package/dist/components/ui/sidebar/utils.d.ts +0 -56
  592. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +0 -6
  593. package/dist/components/ui/skeleton/index.d.ts +0 -1
  594. package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
  595. package/dist/components/ui/slider/index.d.ts +0 -1
  596. package/dist/components/ui/switch/Switch.vue.d.ts +0 -29
  597. package/dist/components/ui/switch/index.d.ts +0 -1
  598. package/dist/components/ui/table/Table.vue.d.ts +0 -21
  599. package/dist/components/ui/table/TableBody.vue.d.ts +0 -21
  600. package/dist/components/ui/table/TableCaption.vue.d.ts +0 -21
  601. package/dist/components/ui/table/TableCell.vue.d.ts +0 -21
  602. package/dist/components/ui/table/TableEmpty.vue.d.ts +0 -24
  603. package/dist/components/ui/table/TableFooter.vue.d.ts +0 -21
  604. package/dist/components/ui/table/TableHead.vue.d.ts +0 -21
  605. package/dist/components/ui/table/TableHeader.vue.d.ts +0 -21
  606. package/dist/components/ui/table/TableRow.vue.d.ts +0 -21
  607. package/dist/components/ui/table/index.d.ts +0 -9
  608. package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -28
  609. package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -22
  610. package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -22
  611. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -22
  612. package/dist/components/ui/tabs/index.d.ts +0 -4
  613. package/dist/components/ui/textarea/Textarea.vue.d.ts +0 -12
  614. package/dist/components/ui/textarea/index.d.ts +0 -1
  615. package/dist/components/ui/time-picker/TimePicker.vue.d.ts +0 -21
  616. package/dist/components/ui/time-picker/index.d.ts +0 -2
  617. package/dist/components/ui/tooltip/Tooltip.vue.d.ts +0 -24
  618. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +0 -30
  619. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +0 -20
  620. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +0 -18
  621. package/dist/components/ui/tooltip/index.d.ts +0 -4
  622. package/dist/confirm-dialog.js +0 -228
  623. package/dist/content.js +0 -210
  624. package/dist/createContext-BabAT1K8.js +0 -19
  625. package/dist/dashboard-shell.js +0 -231
  626. package/dist/data-list.js +0 -97
  627. package/dist/date-picker.js +0 -5
  628. package/dist/date-time-picker.js +0 -140
  629. package/dist/dialog.js +0 -147
  630. package/dist/empty-state-card.js +0 -5
  631. package/dist/error-page.js +0 -115
  632. package/dist/field.js +0 -294
  633. package/dist/getActiveElement-Bmy6QsUb.js +0 -9
  634. package/dist/i18n.js +0 -778
  635. package/dist/index-DDJjWaIl.js +0 -363
  636. package/dist/index-DDurQzrB.js +0 -44
  637. package/dist/index-Dw56kNV0.js +0 -251
  638. package/dist/index.min-CUZWqaEQ.js +0 -32
  639. package/dist/info-card.js +0 -65
  640. package/dist/input.js +0 -4
  641. package/dist/label.js +0 -4
  642. package/dist/landing-content.js +0 -5
  643. package/dist/landing-footer.js +0 -5
  644. package/dist/landing-navbar.js +0 -5
  645. package/dist/landing-shell.js +0 -5
  646. package/dist/landing.js +0 -11
  647. package/dist/language-flag.js +0 -61
  648. package/dist/language-selector.js +0 -169
  649. package/dist/lib/color-tokens.d.ts +0 -6
  650. package/dist/lib/i18n.d.ts +0 -1417
  651. package/dist/lib/utils.d.ts +0 -3
  652. package/dist/load-more-button.js +0 -5
  653. package/dist/loading-state-card.js +0 -5
  654. package/dist/message-dialog.js +0 -226
  655. package/dist/message-toast.js +0 -103
  656. package/dist/native-select.js +0 -25
  657. package/dist/nullish-D3tMkl6i.js +0 -6
  658. package/dist/page-header.js +0 -57
  659. package/dist/popover.js +0 -65
  660. package/dist/progress-component.js +0 -51
  661. package/dist/progress.js +0 -4
  662. package/dist/scroll-area.js +0 -1080
  663. package/dist/select.js +0 -2222
  664. package/dist/separator.js +0 -4
  665. package/dist/sheet.js +0 -68
  666. package/dist/sidebar.js +0 -807
  667. package/dist/single-value-card.js +0 -64
  668. package/dist/skeleton.js +0 -4
  669. package/dist/slider-form-component.js +0 -60
  670. package/dist/slider.js +0 -4
  671. package/dist/style.css +0 -5705
  672. package/dist/style.d.ts +0 -0
  673. package/dist/style.js +0 -1
  674. package/dist/switch-form-component.js +0 -40
  675. package/dist/switch.js +0 -4
  676. package/dist/table.js +0 -82
  677. package/dist/tabs.js +0 -658
  678. package/dist/text-link.js +0 -39
  679. package/dist/textarea.js +0 -37
  680. package/dist/theme-selector.js +0 -159
  681. package/dist/time-picker.js +0 -5
  682. package/dist/tooltip.js +0 -32
  683. package/dist/useDirection-B2bMgzzV.js +0 -12
  684. package/dist/useFocusGuards-2C1jyYW5.js +0 -29
  685. package/dist/useFormControl-DZ4LnB9F.js +0 -11
  686. package/dist/useForwardExpose-BcX3VRdS.js +0 -58
  687. package/dist/useForwardPropsEmits-GlUGKcIz.js +0 -47
  688. package/dist/useId-CF6wz41D.js +0 -16
  689. package/dist/useKbd-JjFOu4f7.js +0 -41
  690. package/dist/useNonce-CWj1JlPB.js +0 -12
  691. package/dist/usePrimitiveElement-BCpwlakH.js +0 -16
  692. package/dist/useSize-DUgGY9t1.js +0 -51
  693. package/dist/useTypeahead-4RK0Emcv.js +0 -159
  694. package/dist/utils-DbR1EZn-.js +0 -16
  695. package/dist/utils-DbYZ4xaD.js +0 -3204
  696. package/dist/utils-hdwtyAF3.js +0 -44
  697. package/dist/utils.js +0 -5
@@ -1,363 +0,0 @@
1
- import { computed, watch, shallowRef, shallowReadonly, customRef, toValue, isRef, reactive, unref, getCurrentInstance, getCurrentScope, hasInjectionContext, inject, onScopeDispose, onBeforeUnmount, watchEffect, readonly, effectScope, toRefs } from "vue";
2
- function computedEager(fn, options) {
3
- var _options$flush;
4
- const result = shallowRef();
5
- watchEffect(() => {
6
- result.value = fn();
7
- }, {
8
- ...options,
9
- flush: (_options$flush = options === null || options === void 0 ? void 0 : options.flush) !== null && _options$flush !== void 0 ? _options$flush : "sync"
10
- });
11
- return readonly(result);
12
- }
13
- function computedWithControl(source, fn, options = {}) {
14
- let v = void 0;
15
- let track;
16
- let trigger;
17
- let dirty = true;
18
- const update = () => {
19
- dirty = true;
20
- trigger();
21
- };
22
- watch(source, update, {
23
- flush: "sync",
24
- ...options
25
- });
26
- const get$1 = typeof fn === "function" ? fn : fn.get;
27
- const set$1 = typeof fn === "function" ? void 0 : fn.set;
28
- const result = customRef((_track, _trigger) => {
29
- track = _track;
30
- trigger = _trigger;
31
- return {
32
- get() {
33
- if (dirty) {
34
- v = get$1(v);
35
- dirty = false;
36
- }
37
- track();
38
- return v;
39
- },
40
- set(v$1) {
41
- set$1 === null || set$1 === void 0 || set$1(v$1);
42
- }
43
- };
44
- });
45
- result.trigger = update;
46
- return result;
47
- }
48
- function tryOnScopeDispose(fn, failSilently) {
49
- if (getCurrentScope()) {
50
- onScopeDispose(fn, failSilently);
51
- return true;
52
- }
53
- return false;
54
- }
55
- // @__NO_SIDE_EFFECTS__
56
- function createEventHook() {
57
- const fns = /* @__PURE__ */ new Set();
58
- const off = (fn) => {
59
- fns.delete(fn);
60
- };
61
- const clear = () => {
62
- fns.clear();
63
- };
64
- const on = (fn) => {
65
- fns.add(fn);
66
- const offFn = () => off(fn);
67
- tryOnScopeDispose(offFn);
68
- return { off: offFn };
69
- };
70
- const trigger = (...args) => {
71
- return Promise.all(Array.from(fns).map((fn) => fn(...args)));
72
- };
73
- return {
74
- on,
75
- off,
76
- trigger,
77
- clear
78
- };
79
- }
80
- // @__NO_SIDE_EFFECTS__
81
- function createGlobalState(stateFactory) {
82
- let initialized = false;
83
- let state;
84
- const scope = effectScope(true);
85
- return (...args) => {
86
- if (!initialized) {
87
- state = scope.run(() => stateFactory(...args));
88
- initialized = true;
89
- }
90
- return state;
91
- };
92
- }
93
- const localProvidedStateMap = /* @__PURE__ */ new WeakMap();
94
- const injectLocal = /* @__NO_SIDE_EFFECTS__ */ (...args) => {
95
- var _getCurrentInstance;
96
- const key = args[0];
97
- const instance = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.proxy;
98
- const owner = instance !== null && instance !== void 0 ? instance : getCurrentScope();
99
- if (owner == null && !hasInjectionContext()) throw new Error("injectLocal must be called in setup");
100
- if (owner && localProvidedStateMap.has(owner) && key in localProvidedStateMap.get(owner)) return localProvidedStateMap.get(owner)[key];
101
- return inject(...args);
102
- };
103
- const isClient = typeof window !== "undefined" && typeof document !== "undefined";
104
- typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
105
- const isDef = (val) => typeof val !== "undefined";
106
- const toString = Object.prototype.toString;
107
- const isObject = (val) => toString.call(val) === "[object Object]";
108
- const noop = () => {
109
- };
110
- const isIOS = /* @__PURE__ */ getIsIOS();
111
- function getIsIOS() {
112
- var _window, _window2, _window3;
113
- return isClient && !!((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.navigator) === null || _window2 === void 0 ? void 0 : _window2.maxTouchPoints) > 2 && /iPad|Macintosh/.test((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.navigator.userAgent));
114
- }
115
- function createFilterWrapper(filter, fn) {
116
- function wrapper(...args) {
117
- return new Promise((resolve, reject) => {
118
- Promise.resolve(filter(() => fn.apply(this, args), {
119
- fn,
120
- thisArg: this,
121
- args
122
- })).then(resolve).catch(reject);
123
- });
124
- }
125
- return wrapper;
126
- }
127
- function debounceFilter(ms, options = {}) {
128
- let timer;
129
- let maxTimer;
130
- let lastRejector = noop;
131
- const _clearTimeout = (timer$1) => {
132
- clearTimeout(timer$1);
133
- lastRejector();
134
- lastRejector = noop;
135
- };
136
- let lastInvoker;
137
- const filter = (invoke$1) => {
138
- const duration = toValue(ms);
139
- const maxDuration = toValue(options.maxWait);
140
- if (timer) _clearTimeout(timer);
141
- if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
142
- if (maxTimer) {
143
- _clearTimeout(maxTimer);
144
- maxTimer = void 0;
145
- }
146
- return Promise.resolve(invoke$1());
147
- }
148
- return new Promise((resolve, reject) => {
149
- lastRejector = options.rejectOnCancel ? reject : resolve;
150
- lastInvoker = invoke$1;
151
- if (maxDuration && !maxTimer) maxTimer = setTimeout(() => {
152
- if (timer) _clearTimeout(timer);
153
- maxTimer = void 0;
154
- resolve(lastInvoker());
155
- }, maxDuration);
156
- timer = setTimeout(() => {
157
- if (maxTimer) _clearTimeout(maxTimer);
158
- maxTimer = void 0;
159
- resolve(invoke$1());
160
- }, duration);
161
- });
162
- };
163
- return filter;
164
- }
165
- function pxValue(px) {
166
- return px.endsWith("rem") ? Number.parseFloat(px) * 16 : Number.parseFloat(px);
167
- }
168
- function toArray(value) {
169
- return Array.isArray(value) ? value : [value];
170
- }
171
- function cacheStringFunction(fn) {
172
- const cache = /* @__PURE__ */ Object.create(null);
173
- return (str) => {
174
- return cache[str] || (cache[str] = fn(str));
175
- };
176
- }
177
- const camelizeRE = /-(\w)/g;
178
- const camelize = cacheStringFunction((str) => {
179
- return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
180
- });
181
- function getLifeCycleTarget(target) {
182
- return getCurrentInstance();
183
- }
184
- // @__NO_SIDE_EFFECTS__
185
- function createSharedComposable(composable) {
186
- if (!isClient) return composable;
187
- let subscribers = 0;
188
- let state;
189
- let scope;
190
- const dispose = () => {
191
- subscribers -= 1;
192
- if (scope && subscribers <= 0) {
193
- scope.stop();
194
- state = void 0;
195
- scope = void 0;
196
- }
197
- };
198
- return (...args) => {
199
- subscribers += 1;
200
- if (!scope) {
201
- scope = effectScope(true);
202
- state = scope.run(() => composable(...args));
203
- }
204
- tryOnScopeDispose(dispose);
205
- return state;
206
- };
207
- }
208
- // @__NO_SIDE_EFFECTS__
209
- function makeDestructurable(obj, arr) {
210
- if (typeof Symbol !== "undefined") {
211
- const clone = { ...obj };
212
- Object.defineProperty(clone, Symbol.iterator, {
213
- enumerable: false,
214
- value() {
215
- let index = 0;
216
- return { next: () => ({
217
- value: arr[index++],
218
- done: index > arr.length
219
- }) };
220
- }
221
- });
222
- return clone;
223
- } else return Object.assign([...arr], obj);
224
- }
225
- function toReactive(objectRef) {
226
- if (!isRef(objectRef)) return reactive(objectRef);
227
- return reactive(new Proxy({}, {
228
- get(_, p, receiver) {
229
- return unref(Reflect.get(objectRef.value, p, receiver));
230
- },
231
- set(_, p, value) {
232
- if (isRef(objectRef.value[p]) && !isRef(value)) objectRef.value[p].value = value;
233
- else objectRef.value[p] = value;
234
- return true;
235
- },
236
- deleteProperty(_, p) {
237
- return Reflect.deleteProperty(objectRef.value, p);
238
- },
239
- has(_, p) {
240
- return Reflect.has(objectRef.value, p);
241
- },
242
- ownKeys() {
243
- return Object.keys(objectRef.value);
244
- },
245
- getOwnPropertyDescriptor() {
246
- return {
247
- enumerable: true,
248
- configurable: true
249
- };
250
- }
251
- }));
252
- }
253
- function reactiveComputed(fn) {
254
- return toReactive(computed(fn));
255
- }
256
- function reactiveOmit(obj, ...keys) {
257
- const flatKeys = keys.flat();
258
- const predicate = flatKeys[0];
259
- return reactiveComputed(() => typeof predicate === "function" ? Object.fromEntries(Object.entries(toRefs(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(toRefs(obj)).filter((e) => !flatKeys.includes(e[0]))));
260
- }
261
- function refAutoReset(defaultValue, afterMs = 1e4) {
262
- return customRef((track, trigger) => {
263
- let value = toValue(defaultValue);
264
- let timer;
265
- const resetAfter = () => setTimeout(() => {
266
- value = toValue(defaultValue);
267
- trigger();
268
- }, toValue(afterMs));
269
- tryOnScopeDispose(() => {
270
- clearTimeout(timer);
271
- });
272
- return {
273
- get() {
274
- track();
275
- return value;
276
- },
277
- set(newValue) {
278
- value = newValue;
279
- trigger();
280
- clearTimeout(timer);
281
- timer = resetAfter();
282
- }
283
- };
284
- });
285
- }
286
- // @__NO_SIDE_EFFECTS__
287
- function useDebounceFn(fn, ms = 200, options = {}) {
288
- return createFilterWrapper(debounceFilter(ms, options), fn);
289
- }
290
- function tryOnBeforeUnmount(fn, target) {
291
- if (getLifeCycleTarget()) onBeforeUnmount(fn, target);
292
- }
293
- function useTimeoutFn(cb, interval, options = {}) {
294
- const { immediate = true, immediateCallback = false } = options;
295
- const isPending = shallowRef(false);
296
- let timer;
297
- function clear() {
298
- if (timer) {
299
- clearTimeout(timer);
300
- timer = void 0;
301
- }
302
- }
303
- function stop() {
304
- isPending.value = false;
305
- clear();
306
- }
307
- function start(...args) {
308
- if (immediateCallback) cb();
309
- clear();
310
- isPending.value = true;
311
- timer = setTimeout(() => {
312
- isPending.value = false;
313
- timer = void 0;
314
- cb(...args);
315
- }, toValue(interval));
316
- }
317
- if (immediate) {
318
- isPending.value = true;
319
- if (isClient) start();
320
- }
321
- tryOnScopeDispose(stop);
322
- return {
323
- isPending: shallowReadonly(isPending),
324
- start,
325
- stop
326
- };
327
- }
328
- function watchImmediate(source, cb, options) {
329
- return watch(source, cb, {
330
- ...options,
331
- immediate: true
332
- });
333
- }
334
- function watchOnce(source, cb, options) {
335
- return watch(source, cb, {
336
- ...options,
337
- once: true
338
- });
339
- }
340
- export {
341
- injectLocal as a,
342
- isDef as b,
343
- computedWithControl as c,
344
- camelize as d,
345
- tryOnScopeDispose as e,
346
- isObject as f,
347
- refAutoReset as g,
348
- tryOnBeforeUnmount as h,
349
- isClient as i,
350
- createSharedComposable as j,
351
- isIOS as k,
352
- createGlobalState as l,
353
- makeDestructurable as m,
354
- computedEager as n,
355
- createEventHook as o,
356
- pxValue as p,
357
- useDebounceFn as q,
358
- reactiveOmit as r,
359
- watchOnce as s,
360
- toArray as t,
361
- useTimeoutFn as u,
362
- watchImmediate as w
363
- };
@@ -1,44 +0,0 @@
1
- import { a as clsx } from "./utils-DbYZ4xaD.js";
2
- const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
3
- const cx = clsx;
4
- const cva = (base, config) => (props) => {
5
- var _config_compoundVariants;
6
- if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
7
- const { variants, defaultVariants } = config;
8
- const getVariantClassNames = Object.keys(variants).map((variant) => {
9
- const variantProp = props === null || props === void 0 ? void 0 : props[variant];
10
- const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
11
- if (variantProp === null) return null;
12
- const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
13
- return variants[variant][variantKey];
14
- });
15
- const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
16
- let [key, value] = param;
17
- if (value === void 0) {
18
- return acc;
19
- }
20
- acc[key] = value;
21
- return acc;
22
- }, {});
23
- const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
24
- let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
25
- return Object.entries(compoundVariantOptions).every((param2) => {
26
- let [key, value] = param2;
27
- return Array.isArray(value) ? value.includes({
28
- ...defaultVariants,
29
- ...propsWithoutUndefined
30
- }[key]) : {
31
- ...defaultVariants,
32
- ...propsWithoutUndefined
33
- }[key] === value;
34
- }) ? [
35
- ...acc,
36
- cvClass,
37
- cvClassName
38
- ] : acc;
39
- }, []);
40
- return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
41
- };
42
- export {
43
- cva as c
44
- };
@@ -1,251 +0,0 @@
1
- import { p as pxValue, t as toArray, w as watchImmediate, i as isClient, c as computedWithControl, m as makeDestructurable, a as injectLocal, b as isDef, d as camelize, e as tryOnScopeDispose, f as isObject } from "./index-DDJjWaIl.js";
2
- import { shallowRef, watchEffect, toValue, computed, getCurrentInstance, ref, watch, nextTick, onUpdated, onMounted, defineComponent, hasInjectionContext, unref } from "vue";
3
- // @__NO_SIDE_EFFECTS__
4
- function createReusableTemplate(options = {}) {
5
- const { inheritAttrs = true } = options;
6
- const render = shallowRef();
7
- const define = defineComponent({ setup(_, { slots }) {
8
- return () => {
9
- render.value = slots.default;
10
- };
11
- } });
12
- const reuse = defineComponent({
13
- inheritAttrs,
14
- props: options.props,
15
- setup(props, { attrs, slots }) {
16
- return () => {
17
- var _render$value;
18
- if (!render.value && true) throw new Error("[VueUse] Failed to find the definition of reusable template");
19
- const vnode = (_render$value = render.value) === null || _render$value === void 0 ? void 0 : _render$value.call(render, {
20
- ...options.props == null ? keysToCamelKebabCase(attrs) : props,
21
- $slots: slots
22
- });
23
- return inheritAttrs && (vnode === null || vnode === void 0 ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;
24
- };
25
- }
26
- });
27
- return makeDestructurable({
28
- define,
29
- reuse
30
- }, [define, reuse]);
31
- }
32
- function keysToCamelKebabCase(obj) {
33
- const newObj = {};
34
- for (const key in obj) newObj[camelize(key)] = obj[key];
35
- return newObj;
36
- }
37
- const defaultWindow = isClient ? window : void 0;
38
- const defaultDocument = isClient ? window.document : void 0;
39
- function unrefElement(elRef) {
40
- var _$el;
41
- const plain = toValue(elRef);
42
- return (_$el = plain === null || plain === void 0 ? void 0 : plain.$el) !== null && _$el !== void 0 ? _$el : plain;
43
- }
44
- function useEventListener(...args) {
45
- const register = (el, event, listener, options) => {
46
- el.addEventListener(event, listener, options);
47
- return () => el.removeEventListener(event, listener, options);
48
- };
49
- const firstParamTargets = computed(() => {
50
- const test = toArray(toValue(args[0])).filter((e) => e != null);
51
- return test.every((e) => typeof e !== "string") ? test : void 0;
52
- });
53
- return watchImmediate(() => {
54
- var _firstParamTargets$va, _firstParamTargets$va2;
55
- return [
56
- (_firstParamTargets$va = (_firstParamTargets$va2 = firstParamTargets.value) === null || _firstParamTargets$va2 === void 0 ? void 0 : _firstParamTargets$va2.map((e) => unrefElement(e))) !== null && _firstParamTargets$va !== void 0 ? _firstParamTargets$va : [defaultWindow].filter((e) => e != null),
57
- toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
58
- toArray(unref(firstParamTargets.value ? args[2] : args[1])),
59
- toValue(firstParamTargets.value ? args[3] : args[2])
60
- ];
61
- }, ([raw_targets, raw_events, raw_listeners, raw_options], _, onCleanup) => {
62
- if (!(raw_targets === null || raw_targets === void 0 ? void 0 : raw_targets.length) || !(raw_events === null || raw_events === void 0 ? void 0 : raw_events.length) || !(raw_listeners === null || raw_listeners === void 0 ? void 0 : raw_listeners.length)) return;
63
- const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
64
- const cleanups = raw_targets.flatMap((el) => raw_events.flatMap((event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))));
65
- onCleanup(() => {
66
- cleanups.forEach((fn) => fn());
67
- });
68
- }, { flush: "post" });
69
- }
70
- // @__NO_SIDE_EFFECTS__
71
- function useMounted() {
72
- const isMounted = shallowRef(false);
73
- const instance = getCurrentInstance();
74
- if (instance) onMounted(() => {
75
- isMounted.value = true;
76
- }, instance);
77
- return isMounted;
78
- }
79
- // @__NO_SIDE_EFFECTS__
80
- function useSupported(callback) {
81
- const isMounted = /* @__PURE__ */ useMounted();
82
- return computed(() => {
83
- isMounted.value;
84
- return Boolean(callback());
85
- });
86
- }
87
- function createKeyPredicate(keyFilter) {
88
- if (typeof keyFilter === "function") return keyFilter;
89
- else if (typeof keyFilter === "string") return (event) => event.key === keyFilter;
90
- else if (Array.isArray(keyFilter)) return (event) => keyFilter.includes(event.key);
91
- return () => true;
92
- }
93
- function onKeyStroke(...args) {
94
- let key;
95
- let handler;
96
- let options = {};
97
- if (args.length === 3) {
98
- key = args[0];
99
- handler = args[1];
100
- options = args[2];
101
- } else if (args.length === 2) if (typeof args[1] === "object") {
102
- key = true;
103
- handler = args[0];
104
- options = args[1];
105
- } else {
106
- key = args[0];
107
- handler = args[1];
108
- }
109
- else {
110
- key = true;
111
- handler = args[0];
112
- }
113
- const { target = defaultWindow, eventName = "keydown", passive = false, dedupe = false } = options;
114
- const predicate = createKeyPredicate(key);
115
- const listener = (e) => {
116
- if (e.repeat && toValue(dedupe)) return;
117
- if (predicate(e)) handler(e);
118
- };
119
- return useEventListener(target, eventName, listener, passive);
120
- }
121
- const ssrWidthSymbol = Symbol("vueuse-ssr-width");
122
- // @__NO_SIDE_EFFECTS__
123
- function useSSRWidth() {
124
- const ssrWidth = hasInjectionContext() ? injectLocal(ssrWidthSymbol, null) : null;
125
- return typeof ssrWidth === "number" ? ssrWidth : void 0;
126
- }
127
- function useMediaQuery(query, options = {}) {
128
- const { window: window$1 = defaultWindow, ssrWidth = /* @__PURE__ */ useSSRWidth() } = options;
129
- const isSupported = /* @__PURE__ */ useSupported(() => window$1 && "matchMedia" in window$1 && typeof window$1.matchMedia === "function");
130
- const ssrSupport = shallowRef(typeof ssrWidth === "number");
131
- const mediaQuery = shallowRef();
132
- const matches = shallowRef(false);
133
- const handler = (event) => {
134
- matches.value = event.matches;
135
- };
136
- watchEffect(() => {
137
- if (ssrSupport.value) {
138
- ssrSupport.value = !isSupported.value;
139
- matches.value = toValue(query).split(",").some((queryString) => {
140
- const not = queryString.includes("not all");
141
- const minWidth = queryString.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
142
- const maxWidth = queryString.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
143
- let res = Boolean(minWidth || maxWidth);
144
- if (minWidth && res) res = ssrWidth >= pxValue(minWidth[1]);
145
- if (maxWidth && res) res = ssrWidth <= pxValue(maxWidth[1]);
146
- return not ? !res : res;
147
- });
148
- return;
149
- }
150
- if (!isSupported.value) return;
151
- mediaQuery.value = window$1.matchMedia(toValue(query));
152
- matches.value = mediaQuery.value.matches;
153
- });
154
- useEventListener(mediaQuery, "change", handler, { passive: true });
155
- return computed(() => matches.value);
156
- }
157
- function cloneFnJSON(source) {
158
- return JSON.parse(JSON.stringify(source));
159
- }
160
- function useCurrentElement(rootComponent) {
161
- const vm = getCurrentInstance();
162
- const currentElement = computedWithControl(() => null, () => rootComponent ? unrefElement(rootComponent) : vm.proxy.$el);
163
- onUpdated(currentElement.trigger);
164
- onMounted(currentElement.trigger);
165
- return currentElement;
166
- }
167
- function useResizeObserver(target, callback, options = {}) {
168
- const { window: window$1 = defaultWindow, ...observerOptions } = options;
169
- let observer;
170
- const isSupported = /* @__PURE__ */ useSupported(() => window$1 && "ResizeObserver" in window$1);
171
- const cleanup = () => {
172
- if (observer) {
173
- observer.disconnect();
174
- observer = void 0;
175
- }
176
- };
177
- const stopWatch = watch(computed(() => {
178
- const _targets = toValue(target);
179
- return Array.isArray(_targets) ? _targets.map((el) => unrefElement(el)) : [unrefElement(_targets)];
180
- }), (els) => {
181
- cleanup();
182
- if (isSupported.value && window$1) {
183
- observer = new ResizeObserver(callback);
184
- for (const _el of els) if (_el) observer.observe(_el, observerOptions);
185
- }
186
- }, {
187
- immediate: true,
188
- flush: "post"
189
- });
190
- const stop = () => {
191
- cleanup();
192
- stopWatch();
193
- };
194
- tryOnScopeDispose(stop);
195
- return {
196
- isSupported,
197
- stop
198
- };
199
- }
200
- // @__NO_SIDE_EFFECTS__
201
- function useVModel(props, key, emit, options = {}) {
202
- var _vm$$emit, _vm$proxy;
203
- const { clone = false, passive = false, eventName, deep = false, defaultValue, shouldEmit } = options;
204
- const vm = getCurrentInstance();
205
- const _emit = emit || (vm === null || vm === void 0 ? void 0 : vm.emit) || (vm === null || vm === void 0 || (_vm$$emit = vm.$emit) === null || _vm$$emit === void 0 ? void 0 : _vm$$emit.bind(vm)) || (vm === null || vm === void 0 || (_vm$proxy = vm.proxy) === null || _vm$proxy === void 0 || (_vm$proxy = _vm$proxy.$emit) === null || _vm$proxy === void 0 ? void 0 : _vm$proxy.bind(vm === null || vm === void 0 ? void 0 : vm.proxy));
206
- let event = eventName;
207
- if (!key) key = "modelValue";
208
- event = event || `update:${key.toString()}`;
209
- const cloneFn = (val) => !clone ? val : typeof clone === "function" ? clone(val) : cloneFnJSON(val);
210
- const getValue$1 = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;
211
- const triggerEmit = (value) => {
212
- if (shouldEmit) {
213
- if (shouldEmit(value)) _emit(event, value);
214
- } else _emit(event, value);
215
- };
216
- if (passive) {
217
- const proxy = ref(getValue$1());
218
- let isUpdating = false;
219
- watch(() => props[key], (v) => {
220
- if (!isUpdating) {
221
- isUpdating = true;
222
- proxy.value = cloneFn(v);
223
- nextTick(() => isUpdating = false);
224
- }
225
- });
226
- watch(proxy, (v) => {
227
- if (!isUpdating && (v !== props[key] || deep)) triggerEmit(v);
228
- }, { deep });
229
- return proxy;
230
- } else return computed({
231
- get() {
232
- return getValue$1();
233
- },
234
- set(value) {
235
- triggerEmit(value);
236
- }
237
- });
238
- }
239
- export {
240
- useVModel as a,
241
- useMounted as b,
242
- useEventListener as c,
243
- defaultWindow as d,
244
- useResizeObserver as e,
245
- useCurrentElement as f,
246
- useMediaQuery as g,
247
- defaultDocument as h,
248
- createReusableTemplate as i,
249
- onKeyStroke as o,
250
- unrefElement as u
251
- };