@krosoft/react 0.0.380 → 0.0.382

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 (220) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +13 -0
  2. package/dist/components/core/cards/DashboardCard.js +18 -0
  3. package/dist/components/core/cards/KpiCard.js +36 -0
  4. package/dist/components/core/cards/KpiCards.js +29 -0
  5. package/dist/components/core/cards/MetricCard.js +63 -0
  6. package/dist/components/core/cards/SkeletonCard.js +13 -0
  7. package/dist/components/core/cards/SkeletonCards.js +11 -0
  8. package/dist/components/core/cards/index.js +7 -1
  9. package/dist/components/core/changelog/AppChangelog.js +123 -0
  10. package/dist/components/core/changelog/AppChangelogEntry.js +85 -0
  11. package/dist/components/core/changelog/AppChangelogNav.js +39 -0
  12. package/dist/components/core/changelog/AppChangelogTagFilter.js +39 -0
  13. package/dist/components/core/changelog/index.js +1 -1
  14. package/dist/components/core/charts/BarChartHorizontal.js +80 -0
  15. package/dist/components/core/charts/BarChartVertical.js +68 -0
  16. package/dist/components/core/charts/ChartCard.js +44 -0
  17. package/dist/components/core/charts/CircularGauge.js +58 -0
  18. package/dist/components/core/charts/LineChart.js +69 -0
  19. package/dist/components/core/charts/PieChart.js +55 -0
  20. package/dist/components/core/charts/chartColors.js +10 -0
  21. package/dist/components/core/charts/chartTooltip.helper.js +15 -0
  22. package/dist/components/core/charts/index.js +8 -1
  23. package/dist/components/core/dialogs/AboutDialog.js +59 -0
  24. package/dist/components/core/dialogs/AppDialog.js +81 -0
  25. package/dist/components/core/dialogs/ConfirmationDialog.js +42 -0
  26. package/dist/components/core/dialogs/FormDialog.js +105 -0
  27. package/dist/components/core/dialogs/index.js +7 -4
  28. package/dist/components/core/filters/ActiveFilters.js +69 -0
  29. package/dist/components/core/filters/AdvancedFilters.js +103 -0
  30. package/dist/components/core/filters/ConditionFilter.js +162 -0
  31. package/dist/components/core/filters/ConditionFilterGroup.js +44 -0
  32. package/dist/components/core/filters/FilterField.js +64 -0
  33. package/dist/components/core/filters/FilterPills.js +13 -0
  34. package/dist/components/core/filters/FilterPillsGroup.js +39 -0
  35. package/dist/components/core/filters/FiltersContainer.js +54 -0
  36. package/dist/components/core/filters/FiltersMobileDrawer.js +57 -0
  37. package/dist/components/core/filters/TableFilter.js +101 -0
  38. package/dist/components/core/filters/index.js +11 -645
  39. package/dist/{GenericForm-Dxd6k7l-.js → components/core/forms/GenericForm.js} +45 -43
  40. package/dist/components/core/forms/index.js +1 -1
  41. package/dist/components/core/icons/FlagFrIcon.js +28 -0
  42. package/dist/{icons-n0m_1w7z.js → components/core/icons/FlagGbIcon.js} +3 -26
  43. package/dist/components/core/icons/index.js +3 -1
  44. package/dist/components/core/index.js +71 -27
  45. package/dist/components/core/inputs/DatePicker.js +46 -0
  46. package/dist/components/core/inputs/DateRangePicker.js +92 -0
  47. package/dist/{inputs-CBojnClc.js → components/core/inputs/FileDropzone.js} +8 -37
  48. package/dist/{ImageInput-BeIOm3GY.js → components/core/inputs/ImageInput.js} +5 -5
  49. package/dist/components/core/inputs/MultiSelect.js +191 -0
  50. package/dist/components/core/inputs/RatingInput.js +36 -0
  51. package/dist/{SearchInput-IT_Rvthr.js → components/core/inputs/SearchInput.js} +4 -4
  52. package/dist/components/core/inputs/SingleSelect.js +198 -0
  53. package/dist/components/core/inputs/index.js +9 -6
  54. package/dist/components/core/inputs/select.helper.js +46 -0
  55. package/dist/{language-DY0EYabh.js → components/core/language/LanguageSelector.js} +13 -12
  56. package/dist/components/core/language/index.js +1 -1
  57. package/dist/{AppActions-8HjAaTQK.js → components/core/layouts/AppActions.js} +19 -19
  58. package/dist/components/core/layouts/AppPageHeader.js +44 -0
  59. package/dist/{AppSubTitle-DI62BaaB.js → components/core/layouts/AppSubTitle.js} +3 -3
  60. package/dist/{AppTitle-BXoTrXQc.js → components/core/layouts/AppTitle.js} +3 -3
  61. package/dist/components/core/layouts/KpiCardsLayout.js +8 -0
  62. package/dist/components/core/layouts/index.js +6 -50
  63. package/dist/components/core/markdown/AppMarkdown.js +134 -0
  64. package/dist/components/core/markdown/AppMarkdownHeading.js +45 -0
  65. package/dist/components/core/markdown/index.js +1 -1
  66. package/dist/components/core/navbar/GlobalSearch.js +128 -0
  67. package/dist/components/core/navbar/NotificationsBell.js +133 -0
  68. package/dist/components/core/navbar/Sidebar.js +99 -0
  69. package/dist/components/core/navbar/SidebarHeader.js +26 -0
  70. package/dist/components/core/navbar/SidebarNavItem.js +72 -0
  71. package/dist/components/core/navbar/Topbar.js +25 -0
  72. package/dist/components/core/navbar/index.js +7 -1
  73. package/dist/{ErrorAlert-cJnfBL8H.js → components/core/states/ErrorAlert.js} +5 -5
  74. package/dist/{states-CJ8xE_Nm.js → components/core/states/ErrorState.js} +4 -11
  75. package/dist/components/core/states/LoadingState.js +12 -0
  76. package/dist/components/core/states/index.js +3 -2
  77. package/dist/components/core/table/DataTable.js +108 -0
  78. package/dist/components/core/table/JsonTableOutput.js +75 -0
  79. package/dist/components/core/table/TableActions.js +75 -0
  80. package/dist/components/core/table/TableBody.js +130 -0
  81. package/dist/components/core/table/TableBulkActions.js +47 -0
  82. package/dist/components/core/table/TableHeader.js +103 -0
  83. package/dist/components/core/table/TablePagination.js +102 -0
  84. package/dist/components/core/table/TableSettings.js +117 -0
  85. package/dist/components/core/table/index.js +9 -709
  86. package/dist/components/core/tabs/AppTabContainer.js +17 -0
  87. package/dist/components/core/tabs/AppTabHeader.js +19 -0
  88. package/dist/components/core/tabs/AppTabs.js +56 -0
  89. package/dist/components/core/tabs/AppVerticalTabs.js +105 -0
  90. package/dist/components/core/tabs/index.js +5 -188
  91. package/dist/{theme-DSumNHLX.js → components/core/theme/ThemeSelector.js} +13 -12
  92. package/dist/components/core/theme/index.js +1 -1
  93. package/dist/components/index.js +117 -34
  94. package/dist/components/ui/accordion.js +34 -0
  95. package/dist/components/ui/alert-dialog.js +54 -0
  96. package/dist/{alert-REQGK9bR.js → components/ui/alert.js} +2 -2
  97. package/dist/components/ui/aspect-ratio.js +5 -0
  98. package/dist/components/ui/avatar.js +25 -0
  99. package/dist/components/ui/badge.js +22 -0
  100. package/dist/components/ui/breadcrumb.js +60 -0
  101. package/dist/{tooltip-_geGvbS7.js → components/ui/button.js} +7 -17
  102. package/dist/components/ui/calendar.js +44 -0
  103. package/dist/components/ui/card.js +42 -0
  104. package/dist/components/ui/carousel.js +115 -0
  105. package/dist/{chart-wW-fwL3s.js → components/ui/chart.js} +51 -89
  106. package/dist/components/ui/checkbox.js +31 -0
  107. package/dist/components/ui/collapsible.js +5 -0
  108. package/dist/components/ui/command.js +84 -0
  109. package/dist/components/ui/context-menu.js +71 -0
  110. package/dist/components/ui/control.js +5 -0
  111. package/dist/components/ui/dialog.js +49 -0
  112. package/dist/components/ui/drawer.js +47 -0
  113. package/dist/components/ui/dropdown-menu.js +72 -0
  114. package/dist/components/ui/form.js +78 -0
  115. package/dist/components/ui/hover-card.js +15 -0
  116. package/dist/components/ui/index.js +49 -9
  117. package/dist/components/ui/input-otp.js +41 -0
  118. package/dist/components/ui/input.js +14 -0
  119. package/dist/components/ui/label.js +14 -0
  120. package/dist/components/ui/menubar.js +86 -0
  121. package/dist/components/ui/navigation-menu.js +58 -0
  122. package/dist/components/ui/pagination.js +62 -0
  123. package/dist/components/ui/popover.js +15 -0
  124. package/dist/components/ui/progress.js +17 -0
  125. package/dist/components/ui/radio-group.js +24 -0
  126. package/dist/components/ui/resizable.js +18 -0
  127. package/dist/components/ui/scroll-area.js +29 -0
  128. package/dist/{select-KWMg2_7Z.js → components/ui/select.js} +3 -3
  129. package/dist/components/ui/separator.js +15 -0
  130. package/dist/components/ui/sheet.js +58 -0
  131. package/dist/components/ui/simple-table.js +57 -0
  132. package/dist/{skeleton-D6Ga4BLw.js → components/ui/skeleton.js} +2 -2
  133. package/dist/components/ui/slider.js +17 -0
  134. package/dist/components/ui/sonner.js +23 -0
  135. package/dist/components/ui/switch.js +14 -0
  136. package/dist/components/ui/tabs.js +58 -0
  137. package/dist/components/ui/textarea.js +12 -0
  138. package/dist/components/ui/toast.js +53 -0
  139. package/dist/components/ui/toaster.js +22 -0
  140. package/dist/components/ui/toggle-group.js +37 -0
  141. package/dist/components/ui/toggle.js +34 -0
  142. package/dist/components/ui/tooltip.js +14 -0
  143. package/dist/{datatable-COQcYUrk.js → constants/datatable.js} +1 -1
  144. package/dist/constants/index.js +3 -5
  145. package/dist/constants/search.js +4 -0
  146. package/dist/contexts/index.js +3 -1
  147. package/dist/{sidebar.context-BahtU6hE.js → contexts/page.context.js} +2 -2
  148. package/dist/contexts/sidebar.context.js +5 -0
  149. package/dist/helpers/changelog.helper.js +69 -0
  150. package/dist/helpers/index.js +6 -166
  151. package/dist/{markdown.helper-YJE2H5KQ.js → helpers/markdown.helper.js} +1 -1
  152. package/dist/helpers/supabase.helper.js +41 -0
  153. package/dist/helpers/table.helper.js +56 -0
  154. package/dist/{tailwind.helper-CJaRYBmL.js → helpers/tailwind.helper.js} +1 -1
  155. package/dist/hooks/behavior/index.js +10 -1
  156. package/dist/hooks/behavior/useConfirmDeleteDialog.js +21 -0
  157. package/dist/hooks/behavior/useConfirmationDialog.js +23 -0
  158. package/dist/hooks/behavior/useDebounce.js +14 -0
  159. package/dist/hooks/behavior/useDebouncedValue.js +15 -0
  160. package/dist/hooks/behavior/useDialog.js +21 -0
  161. package/dist/hooks/behavior/usePage.js +10 -0
  162. package/dist/hooks/behavior/useSidebar.js +10 -0
  163. package/dist/hooks/behavior/useTable.js +83 -0
  164. package/dist/hooks/behavior/useUrlState.js +46 -0
  165. package/dist/hooks/index.js +20 -11
  166. package/dist/hooks/ui/index.js +11 -10
  167. package/dist/{useFixedColumns-Bo-Az3Hp.js → hooks/ui/useDataTable.js} +16 -52
  168. package/dist/{useDocumentTitle-VoQkict_.js → hooks/ui/useDocumentTitle.js} +2 -2
  169. package/dist/hooks/ui/useFixedColumns.js +38 -0
  170. package/dist/{useLanguage-DRnSb5H1.js → hooks/ui/useLanguage.js} +3 -3
  171. package/dist/{useMobile-pTQ8lWvt.js → hooks/ui/useMobile.js} +1 -1
  172. package/dist/{useNotifications-CyhTruIG.js → hooks/ui/useNotifications.js} +2 -2
  173. package/dist/{useScrollFade-D9kqJBDh.js → hooks/ui/useScrollFade.js} +1 -1
  174. package/dist/{ui-nQGnCss1.js → hooks/ui/useServerTable.js} +2 -2
  175. package/dist/{useTheme-DIZjiF5F.js → hooks/ui/useTheme.js} +3 -3
  176. package/dist/{useToast-UeDRLovh.js → hooks/ui/useToast.js} +1 -1
  177. package/dist/i18n/index.js +4 -1
  178. package/dist/i18n/krosoftLocales.js +13 -0
  179. package/dist/i18n/useDateFnsLocale.js +13 -0
  180. package/dist/i18n/useKrosoftTranslation.js +13 -0
  181. package/dist/locales/en.json.js +174 -0
  182. package/dist/locales/fr.json.js +174 -0
  183. package/dist/providers/SidebarProvider.js +42 -0
  184. package/dist/providers/index.js +1 -42
  185. package/dist/pwa/PwaUpdater.js +30 -0
  186. package/dist/pwa/index.js +3 -50
  187. package/dist/pwa/pwaUpdateToast.js +25 -0
  188. package/dist/seasonal/EffectSwitch.js +24 -0
  189. package/dist/seasonal/EmojiSnowfall.js +24 -0
  190. package/dist/seasonal/HalloweenEffect.js +17 -0
  191. package/dist/seasonal/SeasonalEffects.js +8 -0
  192. package/dist/seasonal/SeasonalEffectsSettings.js +35 -0
  193. package/dist/seasonal/SnowEffect.js +12 -0
  194. package/dist/seasonal/index.js +7 -120
  195. package/dist/seasonal/overlayStyle.js +12 -0
  196. package/dist/seasonal/seasons.js +7 -0
  197. package/dist/seasonal/useSeasonalEffects.js +20 -0
  198. package/dist/seasonal/useStoredToggle.js +21 -0
  199. package/dist/tailwind/index.js +7 -53
  200. package/dist/tokens/apply.js +16 -0
  201. package/dist/tokens/index.js +3 -38
  202. package/dist/tokens/radius.js +26 -0
  203. package/dist/types/index.js +0 -1
  204. package/dist/vendor/tailwindcss/lib/public/create-plugin.js +19 -0
  205. package/dist/vendor/tailwindcss/lib/util/createPlugin.js +30 -0
  206. package/dist/vendor/tailwindcss/plugin.js +10 -0
  207. package/package.json +4 -4
  208. package/dist/AppMarkdown-CAxm82x0.js +0 -171
  209. package/dist/MultiSelect-DPN046kI.js +0 -228
  210. package/dist/SingleSelect-DLY5WylQ.js +0 -313
  211. package/dist/behavior-B0BYivtN.js +0 -201
  212. package/dist/cards-DPzVebUM.js +0 -132
  213. package/dist/changelog-DyPFIscf.js +0 -257
  214. package/dist/charts-C7rKxkli.js +0 -342
  215. package/dist/dialogs-CG9Q7pqY.js +0 -269
  216. package/dist/i18n-BhLphJa3.js +0 -364
  217. package/dist/navbar-DD0V0pNE.js +0 -432
  218. package/dist/sheet-cWJO_wkT.js +0 -225
  219. package/dist/switch-DspImmo_.js +0 -24
  220. package/dist/ui-Fxy95kSJ.js +0 -1163
@@ -0,0 +1,72 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { CheckIcon as i, ChevronRightIcon as a, CircleIcon as o } from "lucide-react";
5
+ import * as s from "@radix-ui/react-dropdown-menu";
6
+ //#region src/components/ui/dropdown-menu.tsx
7
+ var c = s.Root, l = s.Trigger, u = s.Group, d = s.Portal, f = s.Sub, p = s.RadioGroup, m = t.forwardRef(({ className: t, inset: i, children: o, ...c }, l) => /* @__PURE__ */ r(s.SubTrigger, {
8
+ ref: l,
9
+ className: e("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent", i === !0 && "pl-8", t),
10
+ ...c,
11
+ children: [o, /* @__PURE__ */ n(a, { className: "ml-auto size-4" })]
12
+ }));
13
+ m.displayName = s.SubTrigger.displayName;
14
+ var h = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(s.SubContent, {
15
+ ref: i,
16
+ className: e("z-50 min-w-[8rem] overflow-hidden rounded-surface border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
17
+ ...r
18
+ }));
19
+ h.displayName = s.SubContent.displayName;
20
+ var g = t.forwardRef(({ className: t, sideOffset: r = 4, ...i }, a) => /* @__PURE__ */ n(s.Portal, { children: /* @__PURE__ */ n(s.Content, {
21
+ ref: a,
22
+ sideOffset: r,
23
+ className: e("z-50 min-w-[8rem] overflow-hidden rounded-surface border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
24
+ ...i
25
+ }) }));
26
+ g.displayName = s.Content.displayName;
27
+ var _ = t.forwardRef(({ className: t, inset: r, ...i }, a) => /* @__PURE__ */ n(s.Item, {
28
+ ref: a,
29
+ className: e("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground", r === !0 && "pl-8", t),
30
+ ...i
31
+ }));
32
+ _.displayName = s.Item.displayName;
33
+ var v = t.forwardRef(({ className: t, children: a, checked: o, ...c }, l) => /* @__PURE__ */ r(s.CheckboxItem, {
34
+ ref: l,
35
+ className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground", t),
36
+ checked: o,
37
+ ...c,
38
+ children: [/* @__PURE__ */ n("span", {
39
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
40
+ children: /* @__PURE__ */ n(s.ItemIndicator, { children: /* @__PURE__ */ n(i, { className: "size-4" }) })
41
+ }), a]
42
+ }));
43
+ v.displayName = s.CheckboxItem.displayName;
44
+ var y = t.forwardRef(({ className: t, children: i, ...a }, c) => /* @__PURE__ */ r(s.RadioItem, {
45
+ ref: c,
46
+ className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground", t),
47
+ ...a,
48
+ children: [/* @__PURE__ */ n("span", {
49
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
50
+ children: /* @__PURE__ */ n(s.ItemIndicator, { children: /* @__PURE__ */ n(o, { className: "h-2 w-2 fill-current" }) })
51
+ }), i]
52
+ }));
53
+ y.displayName = s.RadioItem.displayName;
54
+ var b = t.forwardRef(({ className: t, inset: r, ...i }, a) => /* @__PURE__ */ n(s.Label, {
55
+ ref: a,
56
+ className: e("px-2 py-1.5 text-sm font-semibold", r === !0 && "pl-8", t),
57
+ ...i
58
+ }));
59
+ b.displayName = s.Label.displayName;
60
+ var x = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(s.Separator, {
61
+ ref: i,
62
+ className: e("-mx-1 my-1 h-px bg-muted", t),
63
+ ...r
64
+ }));
65
+ x.displayName = s.Separator.displayName;
66
+ var S = ({ className: t, ...r }) => /* @__PURE__ */ n("span", {
67
+ className: e("ml-auto text-xs tracking-widest opacity-60", t),
68
+ ...r
69
+ });
70
+ S.displayName = "DropdownMenuShortcut";
71
+ //#endregion
72
+ export { c as DropdownMenu, v as DropdownMenuCheckboxItem, g as DropdownMenuContent, u as DropdownMenuGroup, _ as DropdownMenuItem, b as DropdownMenuLabel, d as DropdownMenuPortal, p as DropdownMenuRadioGroup, y as DropdownMenuRadioItem, x as DropdownMenuSeparator, S as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuSubContent, m as DropdownMenuSubTrigger, l as DropdownMenuTrigger };
@@ -0,0 +1,78 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import { Label as t } from "./label.js";
3
+ import * as n from "react";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ import { Slot as i } from "@radix-ui/react-slot";
6
+ import { Controller as a, FormProvider as o, useFormContext as s } from "react-hook-form";
7
+ //#region src/components/ui/form.tsx
8
+ var c = o, l = n.createContext({}), u = ({ ...e }) => /* @__PURE__ */ r(l.Provider, {
9
+ value: { name: e.name },
10
+ children: /* @__PURE__ */ r(a, { ...e })
11
+ }), d = () => {
12
+ let e = n.useContext(l), t = n.useContext(f), { getFieldState: r, formState: i } = s(), a = r(e.name, i);
13
+ if (!e) throw Error("useFormField should be used within <FormField>");
14
+ let { id: o } = t;
15
+ return {
16
+ id: o,
17
+ name: e.name,
18
+ formItemId: `${o}-form-item`,
19
+ formDescriptionId: `${o}-form-item-description`,
20
+ formMessageId: `${o}-form-item-message`,
21
+ ...a
22
+ };
23
+ }, f = n.createContext({}), p = n.forwardRef(({ className: t, ...i }, a) => {
24
+ let o = n.useId();
25
+ return /* @__PURE__ */ r(f.Provider, {
26
+ value: { id: o },
27
+ children: /* @__PURE__ */ r("div", {
28
+ ref: a,
29
+ className: e("space-y-2", t),
30
+ ...i
31
+ })
32
+ });
33
+ });
34
+ p.displayName = "FormItem";
35
+ var m = n.forwardRef(({ className: n, ...i }, a) => {
36
+ let { error: o, formItemId: s } = d();
37
+ return /* @__PURE__ */ r(t, {
38
+ ref: a,
39
+ className: e(o && "text-destructive", n),
40
+ htmlFor: s,
41
+ ...i
42
+ });
43
+ });
44
+ m.displayName = "FormLabel";
45
+ var h = n.forwardRef(({ ...e }, t) => {
46
+ let { error: n, formItemId: a, formDescriptionId: o, formMessageId: s } = d();
47
+ return /* @__PURE__ */ r(i, {
48
+ ref: t,
49
+ id: a,
50
+ "aria-describedby": n ? `${o} ${s}` : `${o}`,
51
+ "aria-invalid": !!n,
52
+ ...e
53
+ });
54
+ });
55
+ h.displayName = "FormControl";
56
+ var g = n.forwardRef(({ className: t, ...n }, i) => {
57
+ let { formDescriptionId: a } = d();
58
+ return /* @__PURE__ */ r("p", {
59
+ ref: i,
60
+ id: a,
61
+ className: e("text-sm text-muted-foreground", t),
62
+ ...n
63
+ });
64
+ });
65
+ g.displayName = "FormDescription";
66
+ var _ = n.forwardRef(({ className: t, children: n, ...i }, a) => {
67
+ let { error: o, formMessageId: s } = d(), c = o ? String(o?.message) : n;
68
+ return c ? /* @__PURE__ */ r("p", {
69
+ ref: a,
70
+ id: s,
71
+ className: e("text-sm font-medium text-destructive", t),
72
+ ...i,
73
+ children: c
74
+ }) : null;
75
+ });
76
+ _.displayName = "FormMessage";
77
+ //#endregion
78
+ export { c as Form, h as FormControl, g as FormDescription, u as FormField, p as FormItem, m as FormLabel, _ as FormMessage, d as useFormField };
@@ -0,0 +1,15 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import * as r from "@radix-ui/react-hover-card";
5
+ //#region src/components/ui/hover-card.tsx
6
+ var i = r.Root, a = r.Trigger, o = t.forwardRef(({ className: t, align: i = "center", sideOffset: a = 4, ...o }, s) => /* @__PURE__ */ n(r.Content, {
7
+ ref: s,
8
+ align: i,
9
+ sideOffset: a,
10
+ className: e("z-50 w-64 rounded-surface border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
11
+ ...o
12
+ }));
13
+ o.displayName = r.Content.displayName;
14
+ //#endregion
15
+ export { i as HoverCard, o as HoverCardContent, a as HoverCardTrigger };
@@ -1,9 +1,49 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../../chart-wW-fwL3s.js";
2
- import { $ as f, $t as p, A as m, An as h, At as g, B as _, Bn as v, Bt as y, C as b, Cn as x, Ct as S, D as C, Dn as w, Dt as T, E, En as D, Et as O, F as k, Fn as A, Ft as j, G as M, Gn as N, Gt as P, H as F, Hn as I, Ht as L, I as R, In as z, It as B, J as V, Jn as H, Jt as U, K as W, Kn as G, Kt as K, L as q, Ln as J, Lt as Y, M as X, Mn as Z, Mt as Q, N as $, Nn as ee, Nt as te, O as ne, On as re, Ot as ie, P as ae, Pn as oe, Pt as se, Q as ce, Qt as le, R as ue, Rn as de, Rt as fe, S as pe, Sn as me, St as he, T as ge, Tn as _e, Tt as ve, U as ye, Un as be, Ut as xe, V as Se, Vn as Ce, Vt as we, W as Te, Wn as Ee, Wt as De, X as Oe, Xn as ke, Xt as Ae, Y as je, Yn as Me, Yt as Ne, Z as Pe, Zt as Fe, _ as Ie, _n as Le, _t as Re, a as ze, an as Be, at as Ve, b as He, bn as Ue, bt as We, c as Ge, cn as Ke, ct as qe, d as Je, dn as Ye, dt as Xe, en as Ze, et as Qe, f as $e, fn as et, ft as tt, g as nt, gn as rt, gt as it, h as at, hn as ot, ht as st, i as ct, in as lt, it as ut, j as dt, jn as ft, jt as pt, k as mt, kn as ht, kt as gt, l as _t, ln as vt, lt as yt, m as bt, mn as xt, mt as St, n as Ct, nn as wt, nt as Tt, o as Et, on as Dt, ot as Ot, p as kt, pn as At, pt as jt, q as Mt, qn as Nt, qt as Pt, r as Ft, rn as It, rt as Lt, s as Rt, sn as zt, st as Bt, t as Vt, tn as Ht, tt as Ut, u as Wt, un as Gt, ut as Kt, v as qt, vn as Jt, vt as Yt, w as Xt, wn as Zt, wt as Qt, x as $t, xn as en, xt as tn, y as nn, yn as rn, yt as an, z as on, zn as sn, zt as cn } from "../../ui-Fxy95kSJ.js";
3
- import { n as ln, r as un, t as dn } from "../../alert-REQGK9bR.js";
4
- import { a as fn, c as pn, i as mn, l as hn, n as gn, o as _n, r as vn, s as yn, t as bn } from "../../tooltip-_geGvbS7.js";
5
- import { A as xn, C as Sn, D as Cn, E as wn, F as Tn, M as En, N as Dn, O as On, P as kn, S as An, T as jn, _ as Mn, a as Nn, b as Pn, c as Fn, d as In, f as Ln, g as Rn, h as zn, i as Bn, j as Vn, k as Hn, l as Un, m as Wn, n as Gn, o as Kn, p as qn, r as Jn, s as Yn, t as Xn, u as Zn, v as Qn, w as $n, x as er, y as tr } from "../../sheet-cWJO_wkT.js";
6
- import { n as nr, t as rr } from "../../switch-DspImmo_.js";
7
- import { a as ir, c as ar, i as or, l as sr, n as cr, o as lr, r as ur, s as dr, t as fr, u as pr } from "../../select-KWMg2_7Z.js";
8
- import { t as mr } from "../../skeleton-D6Ga4BLw.js";
9
- export { Nt as Accordion, H as AccordionContent, Me as AccordionItem, ke as AccordionTrigger, dn as Alert, ln as AlertDescription, de as AlertDialog, sn as AlertDialogAction, v as AlertDialogCancel, Ce as AlertDialogContent, I as AlertDialogDescription, be as AlertDialogFooter, Ee as AlertDialogHeader, N as AlertDialogTitle, G as AlertDialogTrigger, un as AlertTitle, J as AspectRatio, oe as Avatar, A as AvatarFallback, z as AvatarImage, Z as Badge, _e as Breadcrumb, D as BreadcrumbEllipsis, w as BreadcrumbItem, re as BreadcrumbLink, ht as BreadcrumbList, h as BreadcrumbPage, ft as BreadcrumbSeparator, pn as Button, Zt as Calendar, l as Card, t as CardContent, a as CardDescription, d as CardFooter, n as CardHeader, r as CardTitle, rn as Carousel, Ue as CarouselContent, en as CarouselItem, me as CarouselNext, x as CarouselPrevious, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, Jt as Checkbox, ot as Collapsible, rt as CollapsibleContent, Le as CollapsibleTrigger, Mn as Command, Qn as CommandDialog, tr as CommandEmpty, Pn as CommandGroup, er as CommandInput, An as CommandItem, Sn as CommandList, $n as CommandSeparator, jn as CommandShortcut, Ze as ContextMenu, Ht as ContextMenuCheckboxItem, wt as ContextMenuContent, It as ContextMenuGroup, lt as ContextMenuItem, Be as ContextMenuLabel, Dt as ContextMenuPortal, zt as ContextMenuRadioGroup, Ke as ContextMenuRadioItem, vt as ContextMenuSeparator, Gt as ContextMenuShortcut, Ye as ContextMenuSub, et as ContextMenuSubContent, At as ContextMenuSubTrigger, xt as ContextMenuTrigger, wn as Dialog, Cn as DialogClose, On as DialogContent, Hn as DialogDescription, xn as DialogFooter, Vn as DialogHeader, En as DialogOverlay, Dn as DialogPortal, kn as DialogTitle, Tn as DialogTrigger, De as Drawer, P as DrawerClose, K as DrawerContent, Pt as DrawerDescription, U as DrawerFooter, Ne as DrawerHeader, Ae as DrawerOverlay, Fe as DrawerPortal, le as DrawerTitle, p as DrawerTrigger, gt as DropdownMenu, g as DropdownMenuCheckboxItem, pt as DropdownMenuContent, Q as DropdownMenuGroup, te as DropdownMenuItem, se as DropdownMenuLabel, j as DropdownMenuPortal, B as DropdownMenuRadioGroup, Y as DropdownMenuRadioItem, fe as DropdownMenuSeparator, cn as DropdownMenuShortcut, y as DropdownMenuSub, we as DropdownMenuSubContent, L as DropdownMenuSubTrigger, xe as DropdownMenuTrigger, tn as Form, he as FormControl, S as FormDescription, Qt as FormField, ve as FormItem, O as FormLabel, T as FormMessage, Yt as HoverCard, an as HoverCardContent, We as HoverCardTrigger, Rn as Input, St as InputOTP, st as InputOTPGroup, it as InputOTPSeparator, Re as InputOTPSlot, nr as Label, ce as Menubar, f as MenubarCheckboxItem, Qe as MenubarContent, Ut as MenubarGroup, Tt as MenubarItem, Lt as MenubarLabel, ut as MenubarMenu, Ve as MenubarPortal, Ot as MenubarRadioGroup, Bt as MenubarRadioItem, qe as MenubarSeparator, yt as MenubarShortcut, Kt as MenubarSub, Xe as MenubarSubContent, tt as MenubarSubTrigger, jt as MenubarTrigger, ye as NavigationMenu, Te as NavigationMenuContent, M as NavigationMenuIndicator, W as NavigationMenuItem, Mt as NavigationMenuLink, V as NavigationMenuList, je as NavigationMenuTrigger, Oe as NavigationMenuViewport, R as Pagination, q as PaginationContent, ue as PaginationEllipsis, on as PaginationItem, _ as PaginationLink, Se as PaginationNext, F as PaginationPrevious, qn as Popover, Wn as PopoverContent, zn as PopoverTrigger, k as Progress, $ as RadioGroup, ae as RadioGroupItem, m as ResizableHandle, dt as ResizablePanel, X as ResizablePanelGroup, In as ScrollArea, Ln as ScrollBar, fr as Select, cr as SelectContent, ur as SelectGroup, or as SelectItem, ir as SelectLabel, lr as SelectScrollDownButton, dr as SelectScrollUpButton, ar as SelectSeparator, sr as SelectTrigger, pr as SelectValue, mt as Separator, Xn as Sheet, Gn as SheetClose, Jn as SheetContent, Bn as SheetDescription, Nn as SheetFooter, Kn as SheetHeader, Yn as SheetOverlay, Fn as SheetPortal, Un as SheetTitle, Zn as SheetTrigger, $t as SimpleTable, pe as SimpleTableBody, b as SimpleTableCaption, Xt as SimpleTableCell, ge as SimpleTableFooter, E as SimpleTableHead, C as SimpleTableHeader, ne as SimpleTableRow, mr as Skeleton, He as Slider, qt as Sonner, rr as Switch, bt as Tabs, at as TabsContent, nt as TabsList, Ie as TabsTrigger, kt as Textarea, Et as Toast, Rt as ToastAction, Ge as ToastClose, _t as ToastDescription, Wt as ToastProvider, Je as ToastTitle, $e as ToastViewport, ze as Toaster, Ft as Toggle, Vt as ToggleGroup, Ct as ToggleGroupItem, bn as Tooltip, gn as TooltipContent, vn as TooltipProvider, mn as TooltipTrigger, ee as badgeVariants, hn as buttonVariants, fn as controlBaseClass, _n as controlFilterWidthClass, yn as controlTriggerClass, Pe as navigationMenuTriggerStyle, nn as toast, ct as toggleVariants, ie as useFormField };
1
+ import { Card as e, CardContent as t, CardDescription as n, CardFooter as r, CardHeader as i, CardTitle as a } from "./card.js";
2
+ import { Accordion as o, AccordionContent as s, AccordionItem as c, AccordionTrigger as l } from "./accordion.js";
3
+ import { Alert as u, AlertDescription as d, AlertTitle as f } from "./alert.js";
4
+ import { Button as p, buttonVariants as m } from "./button.js";
5
+ import { AlertDialog as h, AlertDialogAction as g, AlertDialogCancel as _, AlertDialogContent as v, AlertDialogDescription as y, AlertDialogFooter as b, AlertDialogHeader as x, AlertDialogTitle as S, AlertDialogTrigger as C } from "./alert-dialog.js";
6
+ import { AspectRatio as w } from "./aspect-ratio.js";
7
+ import { Avatar as T, AvatarFallback as E, AvatarImage as D } from "./avatar.js";
8
+ import { Badge as O, badgeVariants as k } from "./badge.js";
9
+ import { Breadcrumb as A, BreadcrumbEllipsis as j, BreadcrumbItem as M, BreadcrumbLink as N, BreadcrumbList as P, BreadcrumbPage as F, BreadcrumbSeparator as I } from "./breadcrumb.js";
10
+ import { Calendar as L } from "./calendar.js";
11
+ import { Carousel as R, CarouselContent as z, CarouselItem as B, CarouselNext as V, CarouselPrevious as H } from "./carousel.js";
12
+ import { ChartContainer as U, ChartLegend as W, ChartLegendContent as G, ChartStyle as K, ChartTooltip as q, ChartTooltipContent as J } from "./chart.js";
13
+ import { Checkbox as Y } from "./checkbox.js";
14
+ import { Collapsible as X, CollapsibleContent as Z, CollapsibleTrigger as Q } from "./collapsible.js";
15
+ import { controlBaseClass as $, controlFilterWidthClass as ee, controlTriggerClass as te } from "./control.js";
16
+ import { Dialog as ne, DialogClose as re, DialogContent as ie, DialogDescription as ae, DialogFooter as oe, DialogHeader as se, DialogOverlay as ce, DialogPortal as le, DialogTitle as ue, DialogTrigger as de } from "./dialog.js";
17
+ import { Command as fe, CommandDialog as pe, CommandEmpty as me, CommandGroup as he, CommandInput as ge, CommandItem as _e, CommandList as ve, CommandSeparator as ye, CommandShortcut as be } from "./command.js";
18
+ import { ContextMenu as xe, ContextMenuCheckboxItem as Se, ContextMenuContent as Ce, ContextMenuGroup as we, ContextMenuItem as Te, ContextMenuLabel as Ee, ContextMenuPortal as De, ContextMenuRadioGroup as Oe, ContextMenuRadioItem as ke, ContextMenuSeparator as Ae, ContextMenuShortcut as je, ContextMenuSub as Me, ContextMenuSubContent as Ne, ContextMenuSubTrigger as Pe, ContextMenuTrigger as Fe } from "./context-menu.js";
19
+ import { Drawer as Ie, DrawerClose as Le, DrawerContent as Re, DrawerDescription as ze, DrawerFooter as Be, DrawerHeader as Ve, DrawerOverlay as He, DrawerPortal as Ue, DrawerTitle as We, DrawerTrigger as Ge } from "./drawer.js";
20
+ import { DropdownMenu as Ke, DropdownMenuCheckboxItem as qe, DropdownMenuContent as Je, DropdownMenuGroup as Ye, DropdownMenuItem as Xe, DropdownMenuLabel as Ze, DropdownMenuPortal as Qe, DropdownMenuRadioGroup as $e, DropdownMenuRadioItem as et, DropdownMenuSeparator as tt, DropdownMenuShortcut as nt, DropdownMenuSub as rt, DropdownMenuSubContent as it, DropdownMenuSubTrigger as at, DropdownMenuTrigger as ot } from "./dropdown-menu.js";
21
+ import { Label as st } from "./label.js";
22
+ import { Form as ct, FormControl as lt, FormDescription as ut, FormField as dt, FormItem as ft, FormLabel as pt, FormMessage as mt, useFormField as ht } from "./form.js";
23
+ import { HoverCard as gt, HoverCardContent as _t, HoverCardTrigger as vt } from "./hover-card.js";
24
+ import { Input as yt } from "./input.js";
25
+ import { InputOTP as bt, InputOTPGroup as xt, InputOTPSeparator as St, InputOTPSlot as Ct } from "./input-otp.js";
26
+ import { Menubar as wt, MenubarCheckboxItem as Tt, MenubarContent as Et, MenubarGroup as Dt, MenubarItem as Ot, MenubarLabel as kt, MenubarMenu as At, MenubarPortal as jt, MenubarRadioGroup as Mt, MenubarRadioItem as Nt, MenubarSeparator as Pt, MenubarShortcut as Ft, MenubarSub as It, MenubarSubContent as Lt, MenubarSubTrigger as Rt, MenubarTrigger as zt } from "./menubar.js";
27
+ import { NavigationMenu as Bt, NavigationMenuContent as Vt, NavigationMenuIndicator as Ht, NavigationMenuItem as Ut, NavigationMenuLink as Wt, NavigationMenuList as Gt, NavigationMenuTrigger as Kt, NavigationMenuViewport as qt, navigationMenuTriggerStyle as Jt } from "./navigation-menu.js";
28
+ import { Pagination as Yt, PaginationContent as Xt, PaginationEllipsis as Zt, PaginationItem as Qt, PaginationLink as $t, PaginationNext as en, PaginationPrevious as tn } from "./pagination.js";
29
+ import { Popover as nn, PopoverContent as rn, PopoverTrigger as an } from "./popover.js";
30
+ import { Progress as on } from "./progress.js";
31
+ import { RadioGroup as sn, RadioGroupItem as cn } from "./radio-group.js";
32
+ import { ResizableHandle as ln, ResizablePanel as un, ResizablePanelGroup as dn } from "./resizable.js";
33
+ import { ScrollArea as fn, ScrollBar as pn } from "./scroll-area.js";
34
+ import { Select as mn, SelectContent as hn, SelectGroup as gn, SelectItem as _n, SelectLabel as vn, SelectScrollDownButton as yn, SelectScrollUpButton as bn, SelectSeparator as xn, SelectTrigger as Sn, SelectValue as Cn } from "./select.js";
35
+ import { Separator as wn } from "./separator.js";
36
+ import { Sheet as Tn, SheetClose as En, SheetContent as Dn, SheetDescription as On, SheetFooter as kn, SheetHeader as An, SheetOverlay as jn, SheetPortal as Mn, SheetTitle as Nn, SheetTrigger as Pn } from "./sheet.js";
37
+ import { SimpleTable as Fn, SimpleTableBody as In, SimpleTableCaption as Ln, SimpleTableCell as Rn, SimpleTableFooter as zn, SimpleTableHead as Bn, SimpleTableHeader as Vn, SimpleTableRow as Hn } from "./simple-table.js";
38
+ import { Skeleton as Un } from "./skeleton.js";
39
+ import { Slider as Wn } from "./slider.js";
40
+ import { Toaster as Gn, toast as Kn } from "./sonner.js";
41
+ import { Switch as qn } from "./switch.js";
42
+ import { Tabs as Jn, TabsContent as Yn, TabsList as Xn, TabsTrigger as Zn } from "./tabs.js";
43
+ import { Textarea as Qn } from "./textarea.js";
44
+ import { Toast as $n, ToastAction as er, ToastClose as tr, ToastDescription as nr, ToastProvider as rr, ToastTitle as ir, ToastViewport as ar } from "./toast.js";
45
+ import { Toaster as or } from "./toaster.js";
46
+ import { Toggle as sr, toggleVariants as cr } from "./toggle.js";
47
+ import { ToggleGroup as lr, ToggleGroupItem as ur } from "./toggle-group.js";
48
+ import { Tooltip as dr, TooltipContent as fr, TooltipProvider as pr, TooltipTrigger as mr } from "./tooltip.js";
49
+ export { o as Accordion, s as AccordionContent, c as AccordionItem, l as AccordionTrigger, u as Alert, d as AlertDescription, h as AlertDialog, g as AlertDialogAction, _ as AlertDialogCancel, v as AlertDialogContent, y as AlertDialogDescription, b as AlertDialogFooter, x as AlertDialogHeader, S as AlertDialogTitle, C as AlertDialogTrigger, f as AlertTitle, w as AspectRatio, T as Avatar, E as AvatarFallback, D as AvatarImage, O as Badge, A as Breadcrumb, j as BreadcrumbEllipsis, M as BreadcrumbItem, N as BreadcrumbLink, P as BreadcrumbList, F as BreadcrumbPage, I as BreadcrumbSeparator, p as Button, L as Calendar, e as Card, t as CardContent, n as CardDescription, r as CardFooter, i as CardHeader, a as CardTitle, R as Carousel, z as CarouselContent, B as CarouselItem, V as CarouselNext, H as CarouselPrevious, U as ChartContainer, W as ChartLegend, G as ChartLegendContent, K as ChartStyle, q as ChartTooltip, J as ChartTooltipContent, Y as Checkbox, X as Collapsible, Z as CollapsibleContent, Q as CollapsibleTrigger, fe as Command, pe as CommandDialog, me as CommandEmpty, he as CommandGroup, ge as CommandInput, _e as CommandItem, ve as CommandList, ye as CommandSeparator, be as CommandShortcut, xe as ContextMenu, Se as ContextMenuCheckboxItem, Ce as ContextMenuContent, we as ContextMenuGroup, Te as ContextMenuItem, Ee as ContextMenuLabel, De as ContextMenuPortal, Oe as ContextMenuRadioGroup, ke as ContextMenuRadioItem, Ae as ContextMenuSeparator, je as ContextMenuShortcut, Me as ContextMenuSub, Ne as ContextMenuSubContent, Pe as ContextMenuSubTrigger, Fe as ContextMenuTrigger, ne as Dialog, re as DialogClose, ie as DialogContent, ae as DialogDescription, oe as DialogFooter, se as DialogHeader, ce as DialogOverlay, le as DialogPortal, ue as DialogTitle, de as DialogTrigger, Ie as Drawer, Le as DrawerClose, Re as DrawerContent, ze as DrawerDescription, Be as DrawerFooter, Ve as DrawerHeader, He as DrawerOverlay, Ue as DrawerPortal, We as DrawerTitle, Ge as DrawerTrigger, Ke as DropdownMenu, qe as DropdownMenuCheckboxItem, Je as DropdownMenuContent, Ye as DropdownMenuGroup, Xe as DropdownMenuItem, Ze as DropdownMenuLabel, Qe as DropdownMenuPortal, $e as DropdownMenuRadioGroup, et as DropdownMenuRadioItem, tt as DropdownMenuSeparator, nt as DropdownMenuShortcut, rt as DropdownMenuSub, it as DropdownMenuSubContent, at as DropdownMenuSubTrigger, ot as DropdownMenuTrigger, ct as Form, lt as FormControl, ut as FormDescription, dt as FormField, ft as FormItem, pt as FormLabel, mt as FormMessage, gt as HoverCard, _t as HoverCardContent, vt as HoverCardTrigger, yt as Input, bt as InputOTP, xt as InputOTPGroup, St as InputOTPSeparator, Ct as InputOTPSlot, st as Label, wt as Menubar, Tt as MenubarCheckboxItem, Et as MenubarContent, Dt as MenubarGroup, Ot as MenubarItem, kt as MenubarLabel, At as MenubarMenu, jt as MenubarPortal, Mt as MenubarRadioGroup, Nt as MenubarRadioItem, Pt as MenubarSeparator, Ft as MenubarShortcut, It as MenubarSub, Lt as MenubarSubContent, Rt as MenubarSubTrigger, zt as MenubarTrigger, Bt as NavigationMenu, Vt as NavigationMenuContent, Ht as NavigationMenuIndicator, Ut as NavigationMenuItem, Wt as NavigationMenuLink, Gt as NavigationMenuList, Kt as NavigationMenuTrigger, qt as NavigationMenuViewport, Yt as Pagination, Xt as PaginationContent, Zt as PaginationEllipsis, Qt as PaginationItem, $t as PaginationLink, en as PaginationNext, tn as PaginationPrevious, nn as Popover, rn as PopoverContent, an as PopoverTrigger, on as Progress, sn as RadioGroup, cn as RadioGroupItem, ln as ResizableHandle, un as ResizablePanel, dn as ResizablePanelGroup, fn as ScrollArea, pn as ScrollBar, mn as Select, hn as SelectContent, gn as SelectGroup, _n as SelectItem, vn as SelectLabel, yn as SelectScrollDownButton, bn as SelectScrollUpButton, xn as SelectSeparator, Sn as SelectTrigger, Cn as SelectValue, wn as Separator, Tn as Sheet, En as SheetClose, Dn as SheetContent, On as SheetDescription, kn as SheetFooter, An as SheetHeader, jn as SheetOverlay, Mn as SheetPortal, Nn as SheetTitle, Pn as SheetTrigger, Fn as SimpleTable, In as SimpleTableBody, Ln as SimpleTableCaption, Rn as SimpleTableCell, zn as SimpleTableFooter, Bn as SimpleTableHead, Vn as SimpleTableHeader, Hn as SimpleTableRow, Un as Skeleton, Wn as Slider, Gn as Sonner, qn as Switch, Jn as Tabs, Yn as TabsContent, Xn as TabsList, Zn as TabsTrigger, Qn as Textarea, $n as Toast, er as ToastAction, tr as ToastClose, nr as ToastDescription, rr as ToastProvider, ir as ToastTitle, ar as ToastViewport, or as Toaster, sr as Toggle, lr as ToggleGroup, ur as ToggleGroupItem, dr as Tooltip, fr as TooltipContent, pr as TooltipProvider, mr as TooltipTrigger, k as badgeVariants, m as buttonVariants, $ as controlBaseClass, ee as controlFilterWidthClass, te as controlTriggerClass, Jt as navigationMenuTriggerStyle, Kn as toast, cr as toggleVariants, ht as useFormField };
@@ -0,0 +1,41 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { Dot as i } from "lucide-react";
5
+ import { OTPInput as a, OTPInputContext as o } from "input-otp";
6
+ //#region src/components/ui/input-otp.tsx
7
+ var s = t.forwardRef(({ className: t, containerClassName: r, ...i }, o) => /* @__PURE__ */ n(a, {
8
+ ref: o,
9
+ containerClassName: e("flex items-center gap-2 has-[:disabled]:opacity-50", r),
10
+ className: e("disabled:cursor-not-allowed", t),
11
+ ...i
12
+ }));
13
+ s.displayName = "InputOTP";
14
+ var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
15
+ ref: i,
16
+ className: e("flex items-center", t),
17
+ ...r
18
+ }));
19
+ c.displayName = "InputOTPGroup";
20
+ var l = t.forwardRef(({ index: i, className: a, ...s }, c) => {
21
+ let { char: l, hasFakeCaret: u, isActive: d } = t.useContext(o).slots[i];
22
+ return /* @__PURE__ */ r("div", {
23
+ ref: c,
24
+ className: e("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-control first:border-l last:rounded-r-control", d && "z-10 ring-2 ring-ring ring-offset-background", a),
25
+ ...s,
26
+ children: [l, u && /* @__PURE__ */ n("div", {
27
+ className: "pointer-events-none absolute inset-0 flex items-center justify-center",
28
+ children: /* @__PURE__ */ n("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" })
29
+ })]
30
+ });
31
+ });
32
+ l.displayName = "InputOTPSlot";
33
+ var u = t.forwardRef(({ ...e }, t) => /* @__PURE__ */ n("div", {
34
+ ref: t,
35
+ role: "separator",
36
+ ...e,
37
+ children: /* @__PURE__ */ n(i, {})
38
+ }));
39
+ u.displayName = "InputOTPSeparator";
40
+ //#endregion
41
+ export { s as InputOTP, c as InputOTPGroup, u as InputOTPSeparator, l as InputOTPSlot };
@@ -0,0 +1,14 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import { controlBaseClass as t } from "./control.js";
3
+ import * as n from "react";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ //#region src/components/ui/input.tsx
6
+ var i = n.forwardRef(({ className: n, type: i, ...a }, o) => /* @__PURE__ */ r("input", {
7
+ type: i,
8
+ className: e(t, "flex w-full text-base file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:text-sm", n),
9
+ ref: o,
10
+ ...a
11
+ }));
12
+ i.displayName = "Input";
13
+ //#endregion
14
+ export { i as Input };
@@ -0,0 +1,14 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { cva as r } from "class-variance-authority";
5
+ import * as i from "@radix-ui/react-label";
6
+ //#region src/components/ui/label.tsx
7
+ var a = r("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), o = t.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n(i.Root, {
8
+ ref: o,
9
+ className: e(a(), t),
10
+ ...r
11
+ }));
12
+ o.displayName = "Label";
13
+ //#endregion
14
+ export { o as Label };
@@ -0,0 +1,86 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { Check as i, ChevronRight as a, Circle as o } from "lucide-react";
5
+ import * as s from "@radix-ui/react-menubar";
6
+ //#region src/components/ui/menubar.tsx
7
+ var c = s.Menu, l = s.Group, u = s.Portal, d = s.Sub, f = s.RadioGroup, p = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(s.Root, {
8
+ ref: i,
9
+ className: e("flex h-10 items-center space-x-1 rounded-surface border bg-background p-1", t),
10
+ ...r
11
+ }));
12
+ p.displayName = s.Root.displayName;
13
+ var m = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(s.Trigger, {
14
+ ref: i,
15
+ className: e("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", t),
16
+ ...r
17
+ }));
18
+ m.displayName = s.Trigger.displayName;
19
+ var h = t.forwardRef(({ className: t, inset: i, children: o, ...c }, l) => /* @__PURE__ */ r(s.SubTrigger, {
20
+ ref: l,
21
+ className: e("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", i && "pl-8", t),
22
+ ...c,
23
+ children: [o, /* @__PURE__ */ n(a, { className: "ml-auto size-4" })]
24
+ }));
25
+ h.displayName = s.SubTrigger.displayName;
26
+ var g = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(s.SubContent, {
27
+ ref: i,
28
+ className: e("z-50 min-w-[8rem] overflow-hidden rounded-surface border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
29
+ ...r
30
+ }));
31
+ g.displayName = s.SubContent.displayName;
32
+ var _ = t.forwardRef(({ className: t, align: r = "start", alignOffset: i = -4, sideOffset: a = 8, ...o }, c) => /* @__PURE__ */ n(s.Portal, { children: /* @__PURE__ */ n(s.Content, {
33
+ ref: c,
34
+ align: r,
35
+ alignOffset: i,
36
+ sideOffset: a,
37
+ className: e("z-50 min-w-[12rem] overflow-hidden rounded-surface border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
38
+ ...o
39
+ }) }));
40
+ _.displayName = s.Content.displayName;
41
+ var v = t.forwardRef(({ className: t, inset: r, ...i }, a) => /* @__PURE__ */ n(s.Item, {
42
+ ref: a,
43
+ className: e("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", r && "pl-8", t),
44
+ ...i
45
+ }));
46
+ v.displayName = s.Item.displayName;
47
+ var y = t.forwardRef(({ className: t, children: a, checked: o, ...c }, l) => /* @__PURE__ */ r(s.CheckboxItem, {
48
+ ref: l,
49
+ className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t),
50
+ checked: o,
51
+ ...c,
52
+ children: [/* @__PURE__ */ n("span", {
53
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
54
+ children: /* @__PURE__ */ n(s.ItemIndicator, { children: /* @__PURE__ */ n(i, { className: "size-4" }) })
55
+ }), a]
56
+ }));
57
+ y.displayName = s.CheckboxItem.displayName;
58
+ var b = t.forwardRef(({ className: t, children: i, ...a }, c) => /* @__PURE__ */ r(s.RadioItem, {
59
+ ref: c,
60
+ className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t),
61
+ ...a,
62
+ children: [/* @__PURE__ */ n("span", {
63
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
64
+ children: /* @__PURE__ */ n(s.ItemIndicator, { children: /* @__PURE__ */ n(o, { className: "h-2 w-2 fill-current" }) })
65
+ }), i]
66
+ }));
67
+ b.displayName = s.RadioItem.displayName;
68
+ var x = t.forwardRef(({ className: t, inset: r, ...i }, a) => /* @__PURE__ */ n(s.Label, {
69
+ ref: a,
70
+ className: e("px-2 py-1.5 text-sm font-semibold", r && "pl-8", t),
71
+ ...i
72
+ }));
73
+ x.displayName = s.Label.displayName;
74
+ var S = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(s.Separator, {
75
+ ref: i,
76
+ className: e("-mx-1 my-1 h-px bg-muted", t),
77
+ ...r
78
+ }));
79
+ S.displayName = s.Separator.displayName;
80
+ var C = ({ className: t, ...r }) => /* @__PURE__ */ n("span", {
81
+ className: e("ml-auto text-xs tracking-widest text-muted-foreground", t),
82
+ ...r
83
+ });
84
+ C.displayname = "MenubarShortcut";
85
+ //#endregion
86
+ export { p as Menubar, y as MenubarCheckboxItem, _ as MenubarContent, l as MenubarGroup, v as MenubarItem, x as MenubarLabel, c as MenubarMenu, u as MenubarPortal, f as MenubarRadioGroup, b as MenubarRadioItem, S as MenubarSeparator, C as MenubarShortcut, d as MenubarSub, g as MenubarSubContent, h as MenubarSubTrigger, m as MenubarTrigger };
@@ -0,0 +1,58 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { ChevronDown as i } from "lucide-react";
5
+ import { cva as a } from "class-variance-authority";
6
+ import * as o from "@radix-ui/react-navigation-menu";
7
+ //#region src/components/ui/navigation-menu.tsx
8
+ var s = t.forwardRef(({ className: t, children: i, ...a }, s) => /* @__PURE__ */ r(o.Root, {
9
+ ref: s,
10
+ className: e("relative z-10 flex max-w-max flex-1 items-center justify-center", t),
11
+ ...a,
12
+ children: [i, /* @__PURE__ */ n(m, {})]
13
+ }));
14
+ s.displayName = o.Root.displayName;
15
+ var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(o.List, {
16
+ ref: i,
17
+ className: e("group flex flex-1 list-none items-center justify-center space-x-1", t),
18
+ ...r
19
+ }));
20
+ c.displayName = o.List.displayName;
21
+ var l = o.Item, u = a("group inline-flex h-10 w-max items-center justify-center rounded-control bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"), d = t.forwardRef(({ className: t, children: a, ...s }, c) => /* @__PURE__ */ r(o.Trigger, {
22
+ ref: c,
23
+ className: e(u(), "group", t),
24
+ ...s,
25
+ children: [
26
+ a,
27
+ " ",
28
+ /* @__PURE__ */ n(i, {
29
+ className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
30
+ "aria-hidden": "true"
31
+ })
32
+ ]
33
+ }));
34
+ d.displayName = o.Trigger.displayName;
35
+ var f = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(o.Content, {
36
+ ref: i,
37
+ className: e("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ", t),
38
+ ...r
39
+ }));
40
+ f.displayName = o.Content.displayName;
41
+ var p = o.Link, m = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
42
+ className: e("absolute left-0 top-full flex justify-center"),
43
+ children: /* @__PURE__ */ n(o.Viewport, {
44
+ className: e("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-surface border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]", t),
45
+ ref: i,
46
+ ...r
47
+ })
48
+ }));
49
+ m.displayName = o.Viewport.displayName;
50
+ var h = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(o.Indicator, {
51
+ ref: i,
52
+ className: e("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in", t),
53
+ ...r,
54
+ children: /* @__PURE__ */ n("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
55
+ }));
56
+ h.displayName = o.Indicator.displayName;
57
+ //#endregion
58
+ export { s as NavigationMenu, f as NavigationMenuContent, h as NavigationMenuIndicator, l as NavigationMenuItem, p as NavigationMenuLink, c as NavigationMenuList, d as NavigationMenuTrigger, m as NavigationMenuViewport, u as navigationMenuTriggerStyle };
@@ -0,0 +1,62 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import { buttonVariants as t } from "./button.js";
3
+ import * as n from "react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { ChevronLeftIcon as a, ChevronRightIcon as o, MoreHorizontalIcon as s } from "lucide-react";
6
+ //#region src/components/ui/pagination.tsx
7
+ var c = ({ className: t, ...n }) => /* @__PURE__ */ r("nav", {
8
+ role: "navigation",
9
+ "aria-label": "pagination",
10
+ className: e("mx-auto flex w-full justify-center", t),
11
+ ...n
12
+ });
13
+ c.displayName = "Pagination";
14
+ var l = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r("ul", {
15
+ ref: i,
16
+ className: e("flex flex-row items-center gap-1", t),
17
+ ...n
18
+ }));
19
+ l.displayName = "PaginationContent";
20
+ var u = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r("li", {
21
+ ref: i,
22
+ className: e("", t),
23
+ ...n
24
+ }));
25
+ u.displayName = "PaginationItem";
26
+ var d = ({ className: n, isActive: i, size: a = "icon", ...o }) => /* @__PURE__ */ r("a", {
27
+ "aria-current": i ? "page" : void 0,
28
+ className: e(t({
29
+ variant: i ? "outline" : "ghost",
30
+ size: a
31
+ }), n),
32
+ ...o
33
+ });
34
+ d.displayName = "PaginationLink";
35
+ var f = ({ className: t, label: n = "Previous", ...o }) => /* @__PURE__ */ i(d, {
36
+ "aria-label": "Go to previous page",
37
+ size: "default",
38
+ className: e("gap-1 pl-2.5", t),
39
+ ...o,
40
+ children: [/* @__PURE__ */ r(a, { className: "size-4" }), /* @__PURE__ */ r("span", { children: n })]
41
+ });
42
+ f.displayName = "PaginationPrevious";
43
+ var p = ({ className: t, label: n = "Next", ...a }) => /* @__PURE__ */ i(d, {
44
+ "aria-label": "Go to next page",
45
+ size: "default",
46
+ className: e("gap-1 pr-2.5", t),
47
+ ...a,
48
+ children: [/* @__PURE__ */ r("span", { children: n }), /* @__PURE__ */ r(o, { className: "size-4" })]
49
+ });
50
+ p.displayName = "PaginationNext";
51
+ var m = ({ className: t, ...n }) => /* @__PURE__ */ i("span", {
52
+ "aria-hidden": !0,
53
+ className: e("flex h-9 w-9 items-center justify-center", t),
54
+ ...n,
55
+ children: [/* @__PURE__ */ r(s, { className: "size-4" }), /* @__PURE__ */ r("span", {
56
+ className: "sr-only",
57
+ children: "More pages"
58
+ })]
59
+ });
60
+ m.displayName = "PaginationEllipsis";
61
+ //#endregion
62
+ export { c as Pagination, l as PaginationContent, m as PaginationEllipsis, u as PaginationItem, d as PaginationLink, p as PaginationNext, f as PaginationPrevious };
@@ -0,0 +1,15 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import * as r from "@radix-ui/react-popover";
5
+ //#region src/components/ui/popover.tsx
6
+ var i = r.Root, a = r.Trigger, o = t.forwardRef(({ className: t, align: i = "center", sideOffset: a = 4, ...o }, s) => /* @__PURE__ */ n(r.Portal, { children: /* @__PURE__ */ n(r.Content, {
7
+ ref: s,
8
+ align: i,
9
+ sideOffset: a,
10
+ className: e("z-[100] w-72 rounded-surface border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
11
+ ...o
12
+ }) }));
13
+ o.displayName = r.Content.displayName;
14
+ //#endregion
15
+ export { i as Popover, o as PopoverContent, a as PopoverTrigger };
@@ -0,0 +1,17 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import * as r from "@radix-ui/react-progress";
5
+ //#region src/components/ui/progress.tsx
6
+ var i = t.forwardRef(({ className: t, value: i, indeterminate: a = !1, ...o }, s) => /* @__PURE__ */ n(r.Root, {
7
+ ref: s,
8
+ className: e("relative h-4 w-full overflow-hidden rounded-full bg-secondary", t),
9
+ ...o,
10
+ children: /* @__PURE__ */ n(r.Indicator, {
11
+ className: e("h-full w-full flex-1 bg-primary transition-all", a && "animate-progress origin-left"),
12
+ style: a ? void 0 : { transform: `translateX(-${(100 - (i ?? 0)).toString()}%)` }
13
+ })
14
+ }));
15
+ i.displayName = r.Root.displayName;
16
+ //#endregion
17
+ export { i as Progress };
@@ -0,0 +1,24 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { Circle as r } from "lucide-react";
5
+ import * as i from "@radix-ui/react-radio-group";
6
+ //#region src/components/ui/radio-group.tsx
7
+ var a = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Root, {
8
+ className: e("grid gap-2", t),
9
+ ...r,
10
+ ref: a
11
+ }));
12
+ a.displayName = i.Root.displayName;
13
+ var o = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(i.Item, {
14
+ ref: o,
15
+ className: e("aspect-square size-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", t),
16
+ ...a,
17
+ children: /* @__PURE__ */ n(i.Indicator, {
18
+ className: "flex items-center justify-center",
19
+ children: /* @__PURE__ */ n(r, { className: "h-2.5 w-2.5 fill-current text-current" })
20
+ })
21
+ }));
22
+ o.displayName = i.Item.displayName;
23
+ //#endregion
24
+ export { a as RadioGroup, o as RadioGroupItem };
@@ -0,0 +1,18 @@
1
+ import { cn as e } from "../../helpers/tailwind.helper.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { GripVertical as n } from "lucide-react";
4
+ import * as r from "react-resizable-panels";
5
+ //#region src/components/ui/resizable.tsx
6
+ var i = ({ className: n, ...i }) => /* @__PURE__ */ t(r.Group, {
7
+ className: e(n),
8
+ ...i
9
+ }), a = r.Panel, o = ({ withHandle: i, className: a, ...o }) => /* @__PURE__ */ t(r.Separator, {
10
+ className: e("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90", a),
11
+ ...o,
12
+ children: i && /* @__PURE__ */ t("div", {
13
+ className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",
14
+ children: /* @__PURE__ */ t(n, { className: "h-2.5 w-2.5" })
15
+ })
16
+ });
17
+ //#endregion
18
+ export { o as ResizableHandle, a as ResizablePanel, i as ResizablePanelGroup };