@tumaet/prompt-ui-components 0.0.4 → 0.0.6

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 (130) hide show
  1. package/dist/components/DatePicker.js +4 -4
  2. package/dist/components/DateRangePicker.js +4 -4
  3. package/dist/components/DeleteConfirmationDialog.js +1 -1
  4. package/dist/components/ErrorPage.js +2 -2
  5. package/dist/components/MultiSelect.js +6 -6
  6. package/dist/components/UnauthorizedPage.js +3 -3
  7. package/dist/components/index.js +1 -1
  8. package/dist/components/index.js.map +1 -1
  9. package/dist/components/minimal-tiptap/components/image/image-edit-block.js +3 -3
  10. package/dist/components/minimal-tiptap/components/image/image-edit-dialog.js +1 -1
  11. package/dist/components/minimal-tiptap/components/link/link-edit-block.js +5 -5
  12. package/dist/components/minimal-tiptap/components/link/link-edit-popover.js +1 -1
  13. package/dist/components/minimal-tiptap/components/link/link-popover-block.js +1 -1
  14. package/dist/components/minimal-tiptap/components/section/one.js +2 -2
  15. package/dist/components/minimal-tiptap/components/section/three.js +3 -3
  16. package/dist/components/minimal-tiptap/components/shortcut-key.js +1 -1
  17. package/dist/components/minimal-tiptap/components/spinner.js +1 -1
  18. package/dist/components/minimal-tiptap/components/toolbar-button.js +3 -3
  19. package/dist/components/minimal-tiptap/components/toolbar-section.js +2 -2
  20. package/dist/components/minimal-tiptap/extensions/image/components/image-actions.js +4 -4
  21. package/dist/components/minimal-tiptap/extensions/image/components/image-overlay.js +1 -1
  22. package/dist/components/minimal-tiptap/extensions/image/components/image-view-block.js +1 -1
  23. package/dist/components/minimal-tiptap/extensions/image/components/resize-handle.js +1 -1
  24. package/dist/components/minimal-tiptap/form-description-tiptap.js +2 -2
  25. package/dist/components/minimal-tiptap/hooks/use-minimal-tiptap.js +1 -1
  26. package/dist/components/minimal-tiptap/mailing-tiptap.js +2 -2
  27. package/dist/components/minimal-tiptap/minimal-tiptap.js +2 -2
  28. package/dist/components/table/GroupActionDialog.js +2 -2
  29. package/dist/components/table/SortableHeader.js +1 -1
  30. package/dist/components/ui/accordion.js +1 -1
  31. package/dist/components/ui/alert-dialog.js +2 -2
  32. package/dist/components/ui/alert.js +1 -1
  33. package/dist/components/ui/avatar.js +1 -1
  34. package/dist/components/ui/badge.js +1 -1
  35. package/dist/components/ui/breadcrumb.js +1 -1
  36. package/dist/components/ui/button.js +1 -1
  37. package/dist/components/ui/calendar.js +2 -2
  38. package/dist/components/ui/card.js +1 -1
  39. package/dist/components/ui/chart.js +1 -1
  40. package/dist/components/ui/checkbox.js +1 -1
  41. package/dist/components/ui/command.js +2 -2
  42. package/dist/components/ui/dialog.js +1 -1
  43. package/dist/components/ui/dropdown-menu.js +1 -1
  44. package/dist/components/ui/form.js +2 -2
  45. package/dist/components/ui/input.js +1 -1
  46. package/dist/components/ui/label.js +1 -1
  47. package/dist/components/ui/popover.js +1 -1
  48. package/dist/components/ui/progress.js +1 -1
  49. package/dist/components/ui/radio-group.js +1 -1
  50. package/dist/components/ui/scroll-area.js +1 -1
  51. package/dist/components/ui/select.js +1 -1
  52. package/dist/components/ui/separator.js +1 -1
  53. package/dist/components/ui/sheet.js +1 -1
  54. package/dist/components/ui/sidebar.js +8 -8
  55. package/dist/components/ui/skeleton.js +1 -1
  56. package/dist/components/ui/switch.js +1 -1
  57. package/dist/components/ui/table.js +1 -1
  58. package/dist/components/ui/tabs.js +1 -1
  59. package/dist/components/ui/textarea.js +1 -1
  60. package/dist/components/ui/toast.js +1 -1
  61. package/dist/components/ui/toaster.js +2 -2
  62. package/dist/components/ui/toggle-group.js +2 -2
  63. package/dist/components/ui/toggle.js +1 -1
  64. package/dist/components/ui/tooltip.js +1 -1
  65. package/dist/index.css +2 -105
  66. package/dist/types/components/index.d.ts +0 -1
  67. package/dist/types/components/minimal-tiptap/components/image/image-edit-dialog.d.ts +1 -1
  68. package/dist/types/components/minimal-tiptap/components/link/link-edit-popover.d.ts +1 -1
  69. package/dist/types/components/minimal-tiptap/components/section/five.d.ts +1 -1
  70. package/dist/types/components/minimal-tiptap/components/section/four.d.ts +1 -1
  71. package/dist/types/components/minimal-tiptap/components/section/mailingPlaceholders.d.ts +1 -1
  72. package/dist/types/components/minimal-tiptap/components/section/one.d.ts +1 -1
  73. package/dist/types/components/minimal-tiptap/components/section/three.d.ts +1 -1
  74. package/dist/types/components/minimal-tiptap/components/section/two.d.ts +1 -1
  75. package/dist/types/components/minimal-tiptap/components/toolbar-button.d.ts +1 -1
  76. package/dist/types/components/minimal-tiptap/components/toolbar-section.d.ts +1 -1
  77. package/dist/types/components/ui/sidebar.d.ts +2 -2
  78. package/dist/types/hooks/use-toast.d.ts +1 -1
  79. package/package.json +7 -5
  80. package/src/index.css +1 -24
  81. package/dist/components/ExportedApplicationAnswerTable.js +0 -16
  82. package/dist/components/ExportedApplicationAnswerTable.js.map +0 -1
  83. package/dist/components/MissingConfig.js +0 -12
  84. package/dist/components/MissingConfig.js.map +0 -1
  85. package/dist/components/StudentProfile.js +0 -14
  86. package/dist/components/StudentProfile.js.map +0 -1
  87. package/dist/components/ThemeToggle.js +0 -10
  88. package/dist/components/ThemeToggle.js.map +0 -1
  89. package/dist/components/pages/CoursePhaseParticpationsTable/CoursePhaseParticipationsTablePage.js +0 -71
  90. package/dist/components/pages/CoursePhaseParticpationsTable/CoursePhaseParticipationsTablePage.js.map +0 -1
  91. package/dist/components/pages/CoursePhaseParticpationsTable/components/FilterMenu.js +0 -43
  92. package/dist/components/pages/CoursePhaseParticpationsTable/components/FilterMenu.js.map +0 -1
  93. package/dist/components/pages/CoursePhaseParticpationsTable/components/GroupActionsMenu.js +0 -50
  94. package/dist/components/pages/CoursePhaseParticpationsTable/components/GroupActionsMenu.js.map +0 -1
  95. package/dist/components/pages/CoursePhaseParticpationsTable/components/columns.js +0 -84
  96. package/dist/components/pages/CoursePhaseParticpationsTable/components/columns.js.map +0 -1
  97. package/dist/components/pages/CoursePhaseParticpationsTable/interfaces/ExtraParticipationTableData.js +0 -2
  98. package/dist/components/pages/CoursePhaseParticpationsTable/interfaces/ExtraParticipationTableData.js.map +0 -1
  99. package/dist/components/pages/CoursePhaseParticpationsTable/utils/downloadParticipations.js +0 -70
  100. package/dist/components/pages/CoursePhaseParticpationsTable/utils/downloadParticipations.js.map +0 -1
  101. package/dist/components/pages/Mailing/CoursePhaseMailing.js +0 -88
  102. package/dist/components/pages/Mailing/CoursePhaseMailing.js.map +0 -1
  103. package/dist/components/pages/Mailing/components/AvailableMailPlaceholders.js +0 -61
  104. package/dist/components/pages/Mailing/components/AvailableMailPlaceholders.js.map +0 -1
  105. package/dist/components/pages/Mailing/components/ConfirmSendEmailDialog.js +0 -35
  106. package/dist/components/pages/Mailing/components/ConfirmSendEmailDialog.js.map +0 -1
  107. package/dist/components/pages/Mailing/components/MailingEditor.js +0 -29
  108. package/dist/components/pages/Mailing/components/MailingEditor.js.map +0 -1
  109. package/dist/components/pages/Mailing/components/ManualMailSending.js +0 -35
  110. package/dist/components/pages/Mailing/components/ManualMailSending.js.map +0 -1
  111. package/dist/components/pages/Mailing/components/SettingsCard.js +0 -14
  112. package/dist/components/pages/Mailing/components/SettingsCard.js.map +0 -1
  113. package/dist/types/components/ExportedApplicationAnswerTable.d.ts +0 -6
  114. package/dist/types/components/MissingConfig.d.ts +0 -13
  115. package/dist/types/components/StudentProfile.d.ts +0 -7
  116. package/dist/types/components/ThemeToggle.d.ts +0 -1
  117. package/dist/types/components/pages/CoursePhaseParticpationsTable/CoursePhaseParticipationsTablePage.d.ts +0 -13
  118. package/dist/types/components/pages/CoursePhaseParticpationsTable/components/FilterMenu.d.ts +0 -7
  119. package/dist/types/components/pages/CoursePhaseParticpationsTable/components/GroupActionsMenu.d.ts +0 -10
  120. package/dist/types/components/pages/CoursePhaseParticpationsTable/components/columns.d.ts +0 -9
  121. package/dist/types/components/pages/CoursePhaseParticpationsTable/interfaces/ExtraParticipationTableData.d.ts +0 -5
  122. package/dist/types/components/pages/CoursePhaseParticpationsTable/utils/downloadParticipations.d.ts +0 -3
  123. package/dist/types/components/pages/Mailing/CoursePhaseMailing.d.ts +0 -6
  124. package/dist/types/components/pages/Mailing/components/AvailableMailPlaceholders.d.ts +0 -12
  125. package/dist/types/components/pages/Mailing/components/ConfirmSendEmailDialog.d.ts +0 -8
  126. package/dist/types/components/pages/Mailing/components/MailingEditor.d.ts +0 -12
  127. package/dist/types/components/pages/Mailing/components/ManualMailSending.d.ts +0 -7
  128. package/dist/types/components/pages/Mailing/components/SettingsCard.d.ts +0 -7
  129. package/tailwind/postcss.config.js +0 -7
  130. package/tailwind/tailwind.config.js +0 -69
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import * as SheetPrimitive from '@radix-ui/react-dialog';
5
5
  import { cva } from 'class-variance-authority';
6
6
  import { X } from 'lucide-react';
7
- import { cn } from '@/lib/utils';
7
+ import { cn } from '../../lib/utils';
8
8
  const Sheet = SheetPrimitive.Root;
9
9
  const SheetTrigger = SheetPrimitive.Trigger;
10
10
  const SheetClose = SheetPrimitive.Close;
@@ -4,14 +4,14 @@ import * as React from 'react';
4
4
  import { Slot } from '@radix-ui/react-slot';
5
5
  import { cva } from 'class-variance-authority';
6
6
  import { PanelLeft } from 'lucide-react';
7
- import { useIsMobile } from '@/hooks/use-mobile';
8
- import { cn } from '@/lib/utils';
9
- import { Button } from '@/components/ui/button';
10
- import { Input } from '@/components/ui/input';
11
- import { Separator } from '@/components/ui/separator';
12
- import { Sheet, SheetContent } from '@/components/ui/sheet';
13
- import { Skeleton } from '@/components/ui/skeleton';
14
- import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip';
7
+ import { useIsMobile } from '../../hooks/use-mobile';
8
+ import { cn } from '../../lib/utils';
9
+ import { Button } from '../../components/ui/button';
10
+ import { Input } from '../../components/ui/input';
11
+ import { Separator } from '../../components/ui/separator';
12
+ import { Sheet, SheetContent } from '../../components/ui/sheet';
13
+ import { Skeleton } from '../../components/ui/skeleton';
14
+ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../../components/ui/tooltip';
15
15
  const SIDEBAR_COOKIE_NAME = 'sidebar:state';
16
16
  const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
17
17
  const SIDEBAR_WIDTH = '18rem';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cn } from '@/lib/utils';
2
+ import { cn } from '../../lib/utils';
3
3
  function Skeleton({ className, ...props }) {
4
4
  return _jsx("div", { className: cn('animate-pulse rounded-md bg-muted', className), ...props });
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import * as SwitchPrimitives from "@radix-ui/react-switch";
4
- import { cn } from "@/lib/utils";
4
+ import { cn } from "../../lib/utils";
5
5
  const Switch = React.forwardRef(({ className, ...props }, ref) => (_jsx(SwitchPrimitives.Root, { className: cn("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", className), ...props, ref: ref, children: _jsx(SwitchPrimitives.Thumb, { className: cn("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") }) })));
6
6
  Switch.displayName = SwitchPrimitives.Root.displayName;
7
7
  export { Switch };
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- import { cn } from "@/lib/utils";
3
+ import { cn } from "../../lib/utils";
4
4
  const Table = React.forwardRef(({ className, ...props }, ref) => (_jsx("table", { ref: ref, className: cn("w-full caption-bottom text-sm", className), ...props })));
5
5
  Table.displayName = "Table";
6
6
  const TableHeader = React.forwardRef(({ className, ...props }, ref) => (_jsx("thead", { ref: ref, className: cn("sticky top-0 bg-secondary [&_tr]:border-b", className), ...props })));
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import * as TabsPrimitive from "@radix-ui/react-tabs";
4
- import { cn } from "@/lib/utils";
4
+ import { cn } from "../../lib/utils";
5
5
  const Tabs = TabsPrimitive.Root;
6
6
  const TabsList = React.forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.List, { ref: ref, className: cn("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", className), ...props })));
7
7
  TabsList.displayName = TabsPrimitive.List.displayName;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- import { cn } from "@/lib/utils";
3
+ import { cn } from "../../lib/utils";
4
4
  const Textarea = React.forwardRef(({ className, ...props }, ref) => {
5
5
  return (_jsx("textarea", { className: cn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className), ref: ref, ...props }));
6
6
  });
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import * as ToastPrimitives from "@radix-ui/react-toast";
4
4
  import { cva } from "class-variance-authority";
5
5
  import { X } from "lucide-react";
6
- import { cn } from "@/lib/utils";
6
+ import { cn } from "../../lib/utils";
7
7
  const ToastProvider = ToastPrimitives.Provider;
8
8
  const ToastViewport = React.forwardRef(({ className, ...props }, ref) => (_jsx(ToastPrimitives.Viewport, { ref: ref, className: cn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", className), ...props })));
9
9
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useToast } from "@/hooks/use-toast";
3
- import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, } from "@/components/ui/toast";
2
+ import { useToast } from "../../hooks/use-toast";
3
+ import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, } from "../../components/ui/toast";
4
4
  export function Toaster() {
5
5
  const { toasts } = useToast();
6
6
  return (_jsxs(ToastProvider, { children: [toasts.map(function ({ id, title, description, action, ...props }) {
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
4
- import { cn } from "@/lib/utils";
5
- import { toggleVariants } from "@/components/ui/toggle";
4
+ import { cn } from "../../lib/utils";
5
+ import { toggleVariants } from "../../components/ui/toggle";
6
6
  const ToggleGroupContext = React.createContext({
7
7
  size: "default",
8
8
  variant: "default",
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as TogglePrimitive from "@radix-ui/react-toggle";
5
5
  import { cva } from "class-variance-authority";
6
- import { cn } from "@/lib/utils";
6
+ import { cn } from "../../lib/utils";
7
7
  const toggleVariants = cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2", {
8
8
  variants: {
9
9
  variant: {
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
- import { cn } from '@/lib/utils';
4
+ import { cn } from '../../lib/utils';
5
5
  const TooltipProvider = TooltipPrimitive.Provider;
6
6
  const Tooltip = TooltipPrimitive.Root;
7
7
  const TooltipTrigger = TooltipPrimitive.Trigger;
package/dist/index.css CHANGED
@@ -1,105 +1,2 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @layer base {
6
- :root {
7
- --background: 0 0% 100%;
8
- --foreground: 240 10% 3.9%;
9
- --card: 0 0% 100%;
10
- --card-foreground: 240 10% 3.9%;
11
- --popover: 0 0% 100%;
12
- --popover-foreground: 240 10% 3.9%;
13
- --primary: 240 5.9% 10%;
14
- --primary-foreground: 0 0% 98%;
15
- --secondary: 240 4.8% 95.9%;
16
- --secondary-foreground: 240 5.9% 10%;
17
- --muted: 240 4.8% 95.9%;
18
- --muted-foreground: 240 3.8% 46.1%;
19
- --accent: 240 4.8% 95.9%;
20
- --accent-foreground: 240 5.9% 10%;
21
- --destructive: 0 84.2% 60.2%;
22
- --destructive-foreground: 0 0% 98%;
23
- --border: 240 5.9% 90%;
24
- --input: 240 5.9% 90%;
25
- --ring: 240 5.9% 10%;
26
- --radius: 0.5rem;
27
- --success: 120 84.2% 50%;
28
- --chart-blue: 221.2 83.2% 53.3%;
29
- --chart-1: 12 76% 61%;
30
- --chart-2: 173 58% 39%;
31
- --chart-3: 197 37% 24%;
32
- --chart-4: 43 74% 66%;
33
- --chart-5: 27 87% 67%;
34
- --sidebar-background: 0 0% 98%;
35
- --sidebar-foreground: 240 5.3% 26.1%;
36
- --sidebar-primary: 240 5.9% 10%;
37
- --sidebar-primary-foreground: 0 0% 98%;
38
- --sidebar-accent: 240 4.8% 95.9%;
39
- --sidebar-accent-foreground: 240 5.9% 10%;
40
- --sidebar-border: 220 13% 91%;
41
- --sidebar-ring: 217.2 91.2% 59.8%;
42
- }
43
-
44
- .dark {
45
- --background: 240 10% 3.9%;
46
- --foreground: 0 0% 98%;
47
- --card: 240 10% 3.9%;
48
- --card-foreground: 0 0% 98%;
49
- --popover: 240 10% 3.9%;
50
- --popover-foreground: 0 0% 98%;
51
- --primary: 0 0% 98%;
52
- --primary-foreground: 240 5.9% 10%;
53
- --secondary: 240 3.7% 15.9%;
54
- --secondary-foreground: 0 0% 98%;
55
- --muted: 240 3.7% 15.9%;
56
- --muted-foreground: 240 5% 64.9%;
57
- --accent: 240 3.7% 15.9%;
58
- --accent-foreground: 0 0% 98%;
59
- --destructive: 0 62.8% 30.6%;
60
- --destructive-foreground: 0 0% 98%;
61
- --border: 240 3.7% 15.9%;
62
- --input: 240 3.7% 15.9%;
63
- --ring: 240 4.9% 83.9%;
64
- --success: 120 84.2% 60%;
65
- --chart-blue: 217.2 91.2% 59.8%;
66
- --chart-1: 220 70% 50%;
67
- --chart-2: 160 60% 45%;
68
- --chart-3: 30 80% 55%;
69
- --chart-4: 280 65% 60%;
70
- --chart-5: 340 75% 55%;
71
- --sidebar-background: 240 5.9% 10%;
72
- --sidebar-foreground: 240 4.8% 95.9%;
73
- --sidebar-primary: 224.3 76.3% 48%;
74
- --sidebar-primary-foreground: 0 0% 100%;
75
- --sidebar-accent: 240 3.7% 15.9%;
76
- --sidebar-accent-foreground: 240 4.8% 95.9%;
77
- --sidebar-border: 240 3.7% 15.9%;
78
- --sidebar-ring: 217.2 91.2% 59.8%;
79
- }
80
- }
81
-
82
-
83
- @layer base {
84
- * {
85
- @apply border-border;
86
- }
87
- body {
88
- @apply bg-background text-foreground;
89
- }
90
-
91
-
92
- ::-webkit-scrollbar {
93
- @apply w-2 h-2;
94
- }
95
-
96
- ::-webkit-scrollbar-track {
97
- @apply bg-muted;
98
- }
99
-
100
- ::-webkit-scrollbar-thumb {
101
- @apply rounded-full bg-muted-foreground;
102
- }
103
- }
104
-
105
- /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEiLCJmaWxlIjoiaW5kZXguY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQHRha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YmFyLWJvcmRlcjogMjQwIDMuNyUgMTUuOSU7XG4gICAgLS1zaWRlYmFyLXJpbmc6IDIxNy4yIDkxLjIlIDU5LjglO1xuICB9XG59XG5cblxuQGxheWVyIGJhc2Uge1xuICAqIHtcbiAgICBAYXBwbHkgYm9yZGVyLWJvcmRlcjtcbiAgfVxuICBib2R5IHtcbiAgICBAYXBwbHkgYmctYmFja2dyb3VuZCB0ZXh0LWZvcmVncm91bmQ7XG4gIH1cblxuXG4gIDo6LXdlYmtpdC1zY3JvbGxiYXIge1xuICAgIEBhcHBseSB3LTIgaC0yO1xuICB9XG5cbiAgOjotd2Via2l0LXNjcm9sbGJhci10cmFjayB7XG4gICAgQGFwcGx5IGJnLW11dGVkO1xuICB9XG5cbiAgOjotd2Via2l0LXNjcm9sbGJhci10aHVtYiB7XG4gICAgQGFwcGx5IHJvdW5kZWQtZnVsbCBiZy1tdXRlZC1mb3JlZ3JvdW5kO1xuICB9XG59XG4iXX0= */
1
+ /*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 rgba(0,0,0,0);--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 rgba(0,0,0,0);--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 rgba(0,0,0,0);--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 rgba(0,0,0,0);--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 rgba(0,0,0,0);--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}.pointer-events-auto:not(#\#):not(#\#){pointer-events:auto}.pointer-events-none:not(#\#):not(#\#){pointer-events:none}.invisible:not(#\#):not(#\#){visibility:hidden}.visible:not(#\#):not(#\#){visibility:visible}.sr-only:not(#\#):not(#\#){clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute:not(#\#):not(#\#){position:absolute}.fixed:not(#\#):not(#\#){position:fixed}.relative:not(#\#):not(#\#){position:relative}.sticky:not(#\#):not(#\#){position:sticky}.top-\[50\%\]:not(#\#):not(#\#){top:50%}.left-\[50\%\]:not(#\#):not(#\#){left:50%}.z-10:not(#\#):not(#\#){z-index:10}.z-20:not(#\#):not(#\#){z-index:20}.z-50:not(#\#):not(#\#){z-index:50}.z-\[100\]:not(#\#):not(#\#){z-index:100}.container:not(#\#):not(#\#){width:100%}.mx-auto:not(#\#):not(#\#){margin-left:auto;margin-right:auto}.ml-auto:not(#\#):not(#\#){margin-left:auto}.block:not(#\#):not(#\#){display:block}.flex:not(#\#):not(#\#){display:flex}.grid:not(#\#):not(#\#){display:grid}.hidden:not(#\#):not(#\#){display:none}.inline-flex:not(#\#):not(#\#){display:inline-flex}.table:not(#\#):not(#\#){display:table}.aspect-square:not(#\#):not(#\#){aspect-ratio:1}.h-\[1px\]:not(#\#):not(#\#){height:1px}.h-\[var\(--radix-select-trigger-height\)\]:not(#\#):not(#\#){height:var(--radix-select-trigger-height)}.h-auto:not(#\#):not(#\#){height:auto}.h-full:not(#\#):not(#\#){height:100%}.h-px:not(#\#):not(#\#){height:1px}.h-screen:not(#\#):not(#\#){height:100vh}.h-svh:not(#\#):not(#\#){height:100svh}.max-h-\[300px\]:not(#\#):not(#\#){max-height:300px}.max-h-screen:not(#\#):not(#\#){max-height:100vh}.min-h-\[80px\]:not(#\#):not(#\#){min-height:80px}.min-h-screen:not(#\#):not(#\#){min-height:100vh}.min-h-svh:not(#\#):not(#\#){min-height:100svh}.w-3\/4:not(#\#):not(#\#){width:75%}.w-\[--sidebar-width\]:not(#\#):not(#\#){width:--sidebar-width}.w-\[1px\]:not(#\#):not(#\#){width:1px}.w-\[280px\]:not(#\#):not(#\#){width:280px}.w-\[300px\]:not(#\#):not(#\#){width:300px}.w-auto:not(#\#):not(#\#){width:auto}.w-full:not(#\#):not(#\#){width:100%}.w-screen:not(#\#):not(#\#){width:100vw}.max-w-\[--skeleton-width\]:not(#\#):not(#\#){max-width:--skeleton-width}.max-w-full:not(#\#):not(#\#){max-width:100%}.min-w-\[8rem\]:not(#\#):not(#\#){min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]:not(#\#):not(#\#){min-width:var(--radix-select-trigger-width)}.flex-1:not(#\#):not(#\#){flex:1}.shrink-0:not(#\#):not(#\#){flex-shrink:0}.caption-bottom:not(#\#):not(#\#){caption-side:bottom}.border-collapse:not(#\#):not(#\#){border-collapse:collapse}.-translate-x-1\/2:not(#\#):not(#\#){--tw-translate-x:calc(calc(1/2*100%)*-1);translate:calc((1/2*100%)*-1)var(--tw-translate-y);translate:calc(calc(1/2*100%)*-1)var(--tw-translate-y);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-px:not(#\#):not(#\#){--tw-translate-x:-1px;translate:-1pxvar(--tw-translate-y);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[-50\%\]:not(#\#):not(#\#){--tw-translate-x:-50%;translate:-50%var(--tw-translate-y);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-px:not(#\#):not(#\#){--tw-translate-x:1px;translate:1pxvar(--tw-translate-y);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]:not(#\#):not(#\#){--tw-translate-y:-50%;translate:var(--tw-translate-x)-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform:not(#\#):not(#\#){transform: ;transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-default:not(#\#):not(#\#){cursor:default}.cursor-pointer:not(#\#):not(#\#){cursor:pointer}.touch-none:not(#\#):not(#\#){touch-action:none}.resize:not(#\#):not(#\#){resize:both}.flex-col:not(#\#):not(#\#){flex-direction:column}.flex-col-reverse:not(#\#):not(#\#){flex-direction:column-reverse}.flex-row:not(#\#):not(#\#){flex-direction:row}.flex-wrap:not(#\#):not(#\#){flex-wrap:wrap}.items-center:not(#\#):not(#\#){align-items:center}.items-end:not(#\#):not(#\#){align-items:flex-end}.items-start:not(#\#):not(#\#){align-items:flex-start}.items-stretch:not(#\#):not(#\#){align-items:stretch}.justify-between:not(#\#):not(#\#){justify-content:space-between}.justify-center:not(#\#):not(#\#){justify-content:center}.justify-start:not(#\#):not(#\#){justify-content:flex-start}.overflow-auto:not(#\#):not(#\#){overflow:auto}.overflow-hidden:not(#\#):not(#\#){overflow:hidden}.overflow-x-hidden:not(#\#):not(#\#){overflow-x:hidden}.overflow-y-auto:not(#\#):not(#\#){overflow-y:auto}.rounded-\[2px\]:not(#\#):not(#\#){border-radius:2px}.rounded-\[inherit\]:not(#\#):not(#\#){border-radius:inherit}.rounded-full:not(#\#):not(#\#){border-radius:3.40282e38px}.border:not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:1px}.border-2:not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:2px}.border-\[1\.5px\]:not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:1.5px}.border-t:not(#\#):not(#\#){border-top-style:var(--tw-border-style);border-top-width:1px}.border-r:not(#\#):not(#\#){border-right-style:var(--tw-border-style);border-right-width:1px}.border-b:not(#\#):not(#\#){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l:not(#\#):not(#\#){border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed:not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.border-\[--color-border\]:not(#\#):not(#\#){border-color:--color-border}.border-transparent:not(#\#):not(#\#){border-color:rgba(0,0,0,0)}.border-t-transparent:not(#\#):not(#\#){border-top-color:rgba(0,0,0,0)}.border-l-transparent:not(#\#):not(#\#){border-left-color:rgba(0,0,0,0)}.bg-\[--color-bg\]:not(#\#):not(#\#){background-color:--color-bg}.bg-inherit:not(#\#):not(#\#){background-color:inherit}.bg-transparent:not(#\#):not(#\#){background-color:rgba(0,0,0,0)}.fill-current:not(#\#):not(#\#){fill:currentColor}.p-\[1px\]:not(#\#):not(#\#){padding:1px}.text-center:not(#\#):not(#\#){text-align:center}.text-left:not(#\#):not(#\#){text-align:left}.align-middle:not(#\#):not(#\#){vertical-align:middle}.text-\[0\.8rem\]:not(#\#):not(#\#){font-size:.8rem}.leading-none:not(#\#):not(#\#){--tw-leading:1;line-height:1}.break-words:not(#\#):not(#\#){word-wrap:break-word}.whitespace-nowrap:not(#\#):not(#\#){white-space:nowrap}.text-current:not(#\#):not(#\#){color:currentColor}.tabular-nums:not(#\#):not(#\#){--tw-numeric-spacing:tabular-nums;font-feature-settings: tabular-nums ;font-feature-settings:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,);font-variant-numeric: tabular-nums ;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.underline-offset-4:not(#\#):not(#\#){text-underline-offset:4px}.opacity-0:not(#\#):not(#\#){opacity:0}.opacity-50:not(#\#):not(#\#){opacity:.5}.opacity-60:not(#\#):not(#\#){opacity:.6}.opacity-70:not(#\#):not(#\#){opacity:.7}.opacity-90:not(#\#):not(#\#){opacity:.9}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]:not(#\#):not(#\#){--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 0 1px hsl(220, 13%, 91%);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none:not(#\#):not(#\#){--tw-shadow:0 0 rgba(0,0,0,0);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 rgba(0,0,0,0);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring:not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0:not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline:not(#\#):not(#\#){outline-style:var(--tw-outline-style);outline-width:1px}.transition:not(#\#):not(#\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-\[left\,right\,width\]:not(#\#):not(#\#){transition-property:left,right,width;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-\[margin\,opa\]:not(#\#):not(#\#){transition-property:margin,opa;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-\[width\,height\,padding\]:not(#\#):not(#\#){transition-property:width,height,padding;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-\[width\]:not(#\#):not(#\#){transition-property:width;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-all:not(#\#):not(#\#){transition-property:all;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-colors:not(#\#):not(#\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-opacity:not(#\#):not(#\#){transition-property:opacity;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.transition-transform:not(#\#):not(#\#){transition-property:transform,translate,scale,rotate;transition-timing-function:ease;transition-timing-function:var(--tw-ease,ease);transition-duration:0s;transition-duration:var(--tw-duration,0s)}.delay-150:not(#\#):not(#\#){transition-delay:.15s}.duration-200:not(#\#):not(#\#){--tw-duration:.2s;transition-duration:.2s}.duration-300:not(#\#):not(#\#){--tw-duration:.3s;transition-duration:.3s}.ease-linear:not(#\#):not(#\#){--tw-ease:linear;transition-timing-function:linear}.outline-none:not(#\#):not(#\#){--tw-outline-style:none;outline-style:none}.select-none:not(#\#):not(#\#){-webkit-user-select:none;-moz-user-select:none;user-select:none}:where(.group\/menu-item):focus-within:not(#\#):not(#\#) .group-focus-within\/menu-item\:opacity-100{opacity:1}@media (hover:hover){:where(.group):hover:not(#\#):not(#\#) .group-hover\:opacity-100{opacity:1}:where(.group\/menu-item):hover:not(#\#):not(#\#) .group-hover\/menu-item\:opacity-100{opacity:1}}[data-collapsible=icon]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=icon\]\:hidden{display:none}[data-collapsible=icon]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]{width:--sidebar-width-icon}[data-collapsible=icon]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]{width:calc(var(--sidebar-width-icon) + 1rem)}[data-collapsible=icon]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]{width:calc(var(--sidebar-width-icon) + 1rem + 2px)}[data-collapsible=icon]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=icon\]\:overflow-hidden{overflow:hidden}[data-collapsible=icon]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=icon\]\:opacity-0{opacity:0}[data-collapsible=offcanvas]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]{right:calc(var(--sidebar-width)*-1)}[data-collapsible=offcanvas]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]{left:calc(var(--sidebar-width)*-1)}[data-side=left]:where(.group):not(#\#):not(#\#) .group-data-\[side\=left\]\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}[data-side=right]:where(.group):not(#\#):not(#\#) .group-data-\[side\=right\]\:rotate-180{rotate:180deg}[data-side=right]:where(.group):not(#\#):not(#\#) .group-data-\[side\=right\]\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}[data-variant=floating]:where(.group):not(#\#):not(#\#) .group-data-\[variant\=floating\]\:border{border-style:var(--tw-border-style);border-width:1px}:where(.peer):disabled:not(#\#):not(#\#)~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}:where(.peer):disabled:not(#\#):not(#\#)~.peer-disabled\:opacity-70{opacity:.7}[data-variant=inset]:where(.peer):not(#\#):not(#\#)~.peer-data-\[variant\=inset\]\:min-h-\[calc\(100svh-theme\(spacing\.4\)\)\]{min-height:calc(100svh - 1rem)}.file\:border-0:not(#\#):not(#\#)::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent:not(#\#):not(#\#)::file-selector-button{background-color:rgba(0,0,0,0)}.after\:absolute:not(#\#):not(#\#):after{content:var(--tw-content);position:absolute}.after\:left-1\/2:not(#\#):not(#\#):after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:not(#\#):not(#\#):after{content:var(--tw-content);width:2px}[data-collapsible=offcanvas]:where(.group):not(#\#):not(#\#) .group-data-\[collapsible\=offcanvas\]\:after\:left-full:after{content:var(--tw-content);left:100%}.focus-within\:relative:focus-within:not(#\#):not(#\#){position:relative}.focus-within\:z-20:focus-within:not(#\#):not(#\#){z-index:20}@media (hover:hover){.hover\:scale-110:hover:not(#\#):not(#\#){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:110%110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:bg-inherit:hover:not(#\#):not(#\#){background-color:inherit}.hover\:bg-transparent:hover:not(#\#):not(#\#){background-color:rgba(0,0,0,0)}.hover\:underline:hover:not(#\#):not(#\#){text-decoration-line:underline}.hover\:opacity-100:hover:not(#\#):not(#\#){opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover:not(#\#):not(#\#){--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 0 1px hsl(240, 5%, 96%);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:opacity-100:focus:not(#\#):not(#\#){opacity:1}.focus\:ring-2:focus:not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-2:focus:not(#\#):not(#\#){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus:not(#\#):not(#\#){--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible:not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-offset-2:focus-visible:not(#\#):not(#\#){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible:not(#\#):not(#\#){--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled:not(#\#):not(#\#){pointer-events:none}.disabled\:cursor-not-allowed:disabled:not(#\#):not(#\#){cursor:not-allowed}.disabled\:opacity-50:disabled:not(#\#):not(#\#){opacity:.5}.aria-disabled\:pointer-events-none[aria-disabled=true]:not(#\#):not(#\#){pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]:not(#\#):not(#\#){opacity:.5}.aria-selected\:opacity-100[aria-selected=true]:not(#\#):not(#\#){opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]:not(#\#):not(#\#){pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]:not(#\#):not(#\#){opacity:.5}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true]:not(#\#):not(#\#){pointer-events:none}.data-\[disabled\=true\]\:opacity-50[data-disabled=true]:not(#\#):not(#\#){opacity:.5}.data-\[state\=closed\]\:duration-300[data-state=closed]:not(#\#):not(#\#){--tw-duration:.3s;transition-duration:.3s}.data-\[state\=open\]\:opacity-100[data-state=open]:not(#\#):not(#\#){opacity:1}.data-\[state\=open\]\:duration-500[data-state=open]:not(#\#):not(#\#){--tw-duration:.5s;transition-duration:.5s}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]:not(#\#):not(#\#){--tw-translate-x:var(--radix-toast-swipe-end-x);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]:not(#\#):not(#\#){--tw-translate-x:var(--radix-toast-swipe-move-x);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]:not(#\#):not(#\#){transition-property:none}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent:not(#\#):not(#\#) .recharts-dot[stroke=\#fff]{stroke:rgba(0,0,0,0)}.\[\&_\.recharts-layer\]\:outline-none:not(#\#):not(#\#) .recharts-layer,.\[\&_\.recharts-sector\]\:outline-none:not(#\#):not(#\#) .recharts-sector{--tw-outline-style:none;outline-style:none}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent:not(#\#):not(#\#) .recharts-sector[stroke=\#fff]{stroke:rgba(0,0,0,0)}.\[\&_\.recharts-surface\]\:outline-none:not(#\#):not(#\#) .recharts-surface{--tw-outline-style:none;outline-style:none}.\[\&_svg\]\:pointer-events-auto:not(#\#):not(#\#) svg{pointer-events:auto}.\[\&_svg\]\:pointer-events-none:not(#\#):not(#\#) svg{pointer-events:none}.\[\&_svg\]\:invisible:not(#\#):not(#\#) svg{visibility:hidden}.\[\&_svg\]\:shrink-0:not(#\#):not(#\#) svg{flex-shrink:0}.\[\&_tr\]\:border-b:not(#\#):not(#\#) tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0:not(#\#):not(#\#) tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\>button\]\:hidden:not(#\#):not(#\#)>button{display:none}.\[\&\>span\]\:line-clamp-1:not(#\#):not(#\#)>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\[\&\>span\:last-child\]\:truncate:not(#\#):not(#\#)>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:absolute:not(#\#):not(#\#)>svg{position:absolute}.\[\&\>svg\]\:shrink-0:not(#\#):not(#\#)>svg{flex-shrink:0}.\[\&\>svg\+div\]\:translate-y-\[-3px\]:not(#\#):not(#\#)>svg+div{--tw-translate-y:-3px;translate:var(--tw-translate-x)-3px;translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>tr\]\:last\:border-b-0:not(#\#):not(#\#)>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]:not(#\#):not(#\#)>svg{rotate:180deg}[data-side=left]:not(#\#):not(#\#) .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=left][data-state=collapsed]:not(#\#):not(#\#) .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize,[data-side=right]:not(#\#):not(#\#) .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-state=collapsed]:not(#\#):not(#\#) .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}:root:not(#\#){--background:0 0% 100%;--foreground:240 10% 3.9%;--card:0 0% 100%;--card-foreground:240 10% 3.9%;--popover:0 0% 100%;--popover-foreground:240 10% 3.9%;--primary:240 5.9% 10%;--primary-foreground:0 0% 98%;--secondary:240 4.8% 95.9%;--secondary-foreground:240 5.9% 10%;--muted:240 4.8% 95.9%;--muted-foreground:240 3.8% 46.1%;--accent:240 4.8% 95.9%;--accent-foreground:240 5.9% 10%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:240 5.9% 90%;--input:240 5.9% 90%;--ring:240 5.9% 10%;--radius:.5rem;--success:120 84.2% 50%;--chart-blue:221.2 83.2% 53.3%;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--sidebar-background:0 0% 98%;--sidebar-foreground:240 5.3% 26.1%;--sidebar-primary:240 5.9% 10%;--sidebar-primary-foreground:0 0% 98%;--sidebar-accent:240 4.8% 95.9%;--sidebar-accent-foreground:240 5.9% 10%;--sidebar-border:220 13% 91%;--sidebar-ring:217.2 91.2% 59.8%}.dark:not(#\#){--background:240 10% 3.9%;--foreground:0 0% 98%;--card:240 10% 3.9%;--card-foreground:0 0% 98%;--popover:240 10% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:240 5.9% 10%;--secondary:240 3.7% 15.9%;--secondary-foreground:0 0% 98%;--muted:240 3.7% 15.9%;--muted-foreground:240 5% 64.9%;--accent:240 3.7% 15.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:240 3.7% 15.9%;--input:240 3.7% 15.9%;--ring:240 4.9% 83.9%;--success:120 84.2% 60%;--chart-blue:217.2 91.2% 59.8%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%;--sidebar-background:240 5.9% 10%;--sidebar-foreground:240 4.8% 95.9%;--sidebar-primary:224.3 76.3% 48%;--sidebar-primary-foreground:0 0% 100%;--sidebar-accent:240 3.7% 15.9%;--sidebar-accent-foreground:240 4.8% 95.9%;--sidebar-border:240 3.7% 15.9%;--sidebar-ring:217.2 91.2% 59.8%}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 rgba(0,0,0,0)}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 rgba(0,0,0,0)}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 rgba(0,0,0,0)}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 rgba(0,0,0,0)}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 rgba(0,0,0,0)}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
@@ -1,5 +1,4 @@
1
1
  export * from './ui';
2
- export * from './minimal-tiptap';
3
2
  export * from './DatePicker';
4
3
  export * from './DeleteConfirmationDialog';
5
4
  export * from './ErrorPage';
@@ -1,6 +1,6 @@
1
1
  import type { Editor } from '@tiptap/react';
2
2
  import type { VariantProps } from 'class-variance-authority';
3
- import type { toggleVariants } from '@/components/ui/toggle';
3
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
4
4
  interface ImageEditDialogProps extends VariantProps<typeof toggleVariants> {
5
5
  editor: Editor;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import type { Editor } from '@tiptap/react';
2
2
  import type { VariantProps } from 'class-variance-authority';
3
- import type { toggleVariants } from '@/components/ui/toggle';
3
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
4
4
  interface LinkEditPopoverProps extends VariantProps<typeof toggleVariants> {
5
5
  editor: Editor;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Editor } from '@tiptap/react';
3
- import type { toggleVariants } from '@/components/ui/toggle';
3
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
4
4
  import type { VariantProps } from 'class-variance-authority';
5
5
  type InsertElementAction = 'codeBlock' | 'blockquote' | 'horizontalRule';
6
6
  interface SectionFiveProps extends VariantProps<typeof toggleVariants> {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Editor } from '@tiptap/react';
3
- import type { toggleVariants } from '@/components/ui/toggle';
3
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
4
4
  import type { VariantProps } from 'class-variance-authority';
5
5
  type ListItemAction = 'orderedList' | 'bulletList';
6
6
  interface SectionFourProps extends VariantProps<typeof toggleVariants> {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Editor } from '@tiptap/react';
3
- import type { toggleVariants } from '@/components/ui/toggle';
3
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
4
4
  import type { VariantProps } from 'class-variance-authority';
5
5
  interface SectionMailingPlaceholderProps extends VariantProps<typeof toggleVariants> {
6
6
  editor: Editor;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type { Editor } from '@tiptap/react';
3
3
  import type { Level } from '@tiptap/extension-heading';
4
4
  import type { VariantProps } from 'class-variance-authority';
5
- import type { toggleVariants } from '@/components/ui/toggle';
5
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
6
6
  interface SectionOneProps extends VariantProps<typeof toggleVariants> {
7
7
  editor: Editor;
8
8
  activeLevels?: Level[];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Editor } from '@tiptap/react';
3
- import type { toggleVariants } from '@/components/ui/toggle';
3
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
4
4
  import type { VariantProps } from 'class-variance-authority';
5
5
  interface SectionThreeProps extends VariantProps<typeof toggleVariants> {
6
6
  editor: Editor;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Editor } from '@tiptap/react';
3
- import type { toggleVariants } from '@/components/ui/toggle';
3
+ import type { toggleVariants } from '../../../../../components/ui/toggle';
4
4
  import type { VariantProps } from 'class-variance-authority';
5
5
  type TextStyleAction = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'code' | 'clearFormatting';
6
6
  interface SectionTwoProps extends VariantProps<typeof toggleVariants> {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { TooltipContentProps } from '@radix-ui/react-tooltip';
3
- import { Toggle } from '@/components/ui/toggle';
3
+ import { Toggle } from '../../../../components/ui/toggle';
4
4
  interface ToolbarButtonProps extends React.ComponentPropsWithoutRef<typeof Toggle> {
5
5
  isActive?: boolean;
6
6
  tooltip?: string;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type { Editor } from '@tiptap/react';
3
3
  import type { FormatAction } from '../types';
4
4
  import type { VariantProps } from 'class-variance-authority';
5
- import type { toggleVariants } from '@/components/ui/toggle';
5
+ import type { toggleVariants } from '../../../../components/ui/toggle';
6
6
  interface ToolbarSectionProps extends VariantProps<typeof toggleVariants> {
7
7
  editor: Editor;
8
8
  actions: FormatAction[];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { TooltipContent } from '@/components/ui/tooltip';
3
+ import { TooltipContent } from '../../../components/ui/tooltip';
4
4
  type SidebarContext = {
5
5
  state: 'expanded' | 'collapsed';
6
6
  open: boolean;
@@ -22,7 +22,7 @@ declare const Sidebar: React.ForwardRefExoticComponent<Omit<React.ClassAttribute
22
22
  variant?: "sidebar" | "floating" | "inset";
23
23
  collapsible?: "offcanvas" | "icon" | "none";
24
24
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
25
- declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import("@/components/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
25
+ declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import("../../../components/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
26
26
  declare const SidebarRail: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
27
27
  declare const SidebarInset: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
28
28
  declare const SidebarInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { ToastActionElement, ToastProps } from '@/components/ui/toast';
2
+ import type { ToastActionElement, ToastProps } from '../../components/ui/toast';
3
3
  type ToasterToast = ToastProps & {
4
4
  id: string;
5
5
  title?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tumaet/prompt-ui-components",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ls1intum/prompt-lib.git"
@@ -12,8 +12,7 @@
12
12
  "exports": {
13
13
  ".": "./dist/index.js",
14
14
  "./index.css": "./dist/index.css",
15
- "./tailwind-config": "./tailwind/tailwind.config.js",
16
- "./postcss-config": "./tailwind/postcss.config.js"
15
+ "./tailwind-config": "./tailwind/tailwind.config.js"
17
16
  },
18
17
  "files": [
19
18
  "dist",
@@ -21,8 +20,8 @@
21
20
  "src/index.css"
22
21
  ],
23
22
  "scripts": {
24
- "build:esm": "tsc --project tsconfig.json",
25
- "build:css": "postcss src/index.css -o dist/index.css",
23
+ "build:esm": "tsc --project tsconfig.json && tsc-alias",
24
+ "build:css": "NODE_ENV=production postcss src/index.css -o dist/index.css",
26
25
  "build": "yarn build:esm && yarn build:css",
27
26
  "lint": "eslint \"**/*.{js,jsx,ts,tsx}\""
28
27
  },
@@ -50,6 +49,7 @@
50
49
  "@radix-ui/react-toggle": "^1.1.0",
51
50
  "@radix-ui/react-toggle-group": "^1.1.0",
52
51
  "@radix-ui/react-tooltip": "^1.1.4",
52
+ "@tailwindcss/postcss": "^4.1.4",
53
53
  "@tiptap/core": "^2.11.7",
54
54
  "@tiptap/extension-code-block": "^2.11.7",
55
55
  "@tiptap/extension-code-block-lowlight": "^2.11.7",
@@ -84,6 +84,8 @@
84
84
  "recharts": "^2.15.3",
85
85
  "sonner": "^2.0.3",
86
86
  "tailwind-merge": "^2.5.4",
87
+ "tailwindcss": "^4.1.4",
88
+ "tsc-alias": "^1.8.15",
87
89
  "typescript": "^5.7.3"
88
90
  },
89
91
  "devDependencies": {
package/src/index.css CHANGED
@@ -77,27 +77,4 @@
77
77
  --sidebar-border: 240 3.7% 15.9%;
78
78
  --sidebar-ring: 217.2 91.2% 59.8%;
79
79
  }
80
- }
81
-
82
-
83
- @layer base {
84
- * {
85
- @apply border-border;
86
- }
87
- body {
88
- @apply bg-background text-foreground;
89
- }
90
-
91
-
92
- ::-webkit-scrollbar {
93
- @apply w-2 h-2;
94
- }
95
-
96
- ::-webkit-scrollbar-track {
97
- @apply bg-muted;
98
- }
99
-
100
- ::-webkit-scrollbar-thumb {
101
- @apply rounded-full bg-muted-foreground;
102
- }
103
- }
80
+ }
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useMemo } from 'react';
3
- import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '@/components/ui/table';
4
- import { AlignLeft, CheckSquare } from 'lucide-react';
5
- import { Badge } from './ui/badge';
6
- export const ExportedApplicationAnswerTable = ({ applicationAnswers, }) => {
7
- const orderedAnswers = useMemo(() => {
8
- if (!applicationAnswers)
9
- return [];
10
- return applicationAnswers?.sort((a, b) => a.orderNum - b.orderNum);
11
- }, [applicationAnswers]);
12
- return (_jsx("div", { className: 'overflow-x-auto', children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { className: 'w-1/12', children: "Type" }), _jsx(TableHead, { className: 'w-1/5', children: "Key" }), _jsx(TableHead, { children: "Answer" })] }) }), _jsx(TableBody, { children: orderedAnswers.map((answer, index) => {
13
- return (_jsxs(TableRow, { className: index % 2 === 0 ? 'bg-muted/50' : '', children: [_jsx(TableCell, { children: answer.type === 'multiselect' ? (_jsx(CheckSquare, { className: 'h-4 w-4 text-muted-foreground' })) : (_jsx(AlignLeft, { className: 'h-4 w-4 text-muted-foreground' })) }), _jsx(TableCell, { className: 'font-medium', children: _jsx("div", { className: 'flex items-center space-x-2', children: _jsx("span", { children: answer.key }) }) }), _jsx(TableCell, { children: Array.isArray(answer.answer) ? (_jsx("div", { children: answer.answer.map((item, idx) => (_jsx(Badge, { className: 'mr-1', children: item }, idx))) })) : (_jsx("p", { className: 'whitespace-pre-wrap break-words', children: answer.answer })) })] }, answer.key));
14
- }) })] }) }));
15
- };
16
- //# sourceMappingURL=ExportedApplicationAnswerTable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportedApplicationAnswerTable.js","sourceRoot":"","sources":["../../src/components/ExportedApplicationAnswerTable.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC/B,OAAO,EACL,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,GACT,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAMlC,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,EAC7C,kBAAkB,GACkB,EAAE,EAAE;IACxC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,EAAE;QAClC,IAAI,CAAC,kBAAkB;YAAE,OAAO,EAAE,CAAA;QAClC,OAAO,kBAAkB,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAA;IACpE,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAA;IAExB,OAAO,CACL,cAAK,SAAS,EAAC,iBAAiB,YAC9B,MAAC,KAAK,eACJ,KAAC,WAAW,cACV,MAAC,QAAQ,eACP,KAAC,SAAS,IAAC,SAAS,EAAC,QAAQ,qBAAiB,EAC9C,KAAC,SAAS,IAAC,SAAS,EAAC,OAAO,oBAAgB,EAC5C,KAAC,SAAS,yBAAmB,IACpB,GACC,EACd,KAAC,SAAS,cACP,cAAc,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;wBACpC,OAAO,CACL,MAAC,QAAQ,IAAkB,SAAS,EAAE,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,aACxE,KAAC,SAAS,cACP,MAAM,CAAC,IAAI,KAAK,aAAa,CAAC,CAAC,CAAC,CAC/B,KAAC,WAAW,IAAC,SAAS,EAAC,+BAA+B,GAAG,CAC1D,CAAC,CAAC,CAAC,CACF,KAAC,SAAS,IAAC,SAAS,EAAC,+BAA+B,GAAG,CACxD,GACS,EAEZ,KAAC,SAAS,IAAC,SAAS,EAAC,aAAa,YAChC,cAAK,SAAS,EAAC,6BAA6B,YAC1C,yBAAO,MAAM,CAAC,GAAG,GAAQ,GACrB,GACI,EACZ,KAAC,SAAS,cACP,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAC9B,wBACG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,CAChC,KAAC,KAAK,IAAW,SAAS,EAAC,MAAM,YAC9B,IAAI,IADK,GAAG,CAEP,CACT,CAAC,GACE,CACP,CAAC,CAAC,CAAC,CACF,YAAG,SAAS,EAAC,iCAAiC,YAAE,MAAM,CAAC,MAAM,GAAK,CACnE,GACS,KA1BC,MAAM,CAAC,GAAG,CA2Bd,CACZ,CAAA;oBACH,CAAC,CAAC,GACQ,IACN,GACJ,CACP,CAAA;AACH,CAAC,CAAA"}
@@ -1,12 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';
3
- import { Button } from '@/components/ui/button';
4
- import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
5
- import { AlertTriangle } from 'lucide-react';
6
- import { useNavigate } from 'react-router-dom';
7
- export const MissingConfig = ({ elements }) => {
8
- const navigate = useNavigate();
9
- return (_jsx(_Fragment, { children: elements.length > 0 && (_jsxs(Card, { className: 'mb-6 border-l-4 border-l-yellow-400', children: [_jsx(CardHeader, { children: _jsxs(CardTitle, { className: 'flex items-center', children: [_jsx(AlertTriangle, { className: 'mr-2 text-yellow-500' }), "Missing Configurations"] }) }), _jsx(CardContent, { children: _jsx("div", { className: 'space-y-2', children: elements.map((config) => (_jsxs(Alert, { className: 'flex items-start', children: [_jsx("div", { className: 'flex-grow', children: _jsxs("div", { className: 'flex items-center', children: [_jsx(config.icon, { className: 'h-4 w-4 text-yellow-500 mr-2 mt-1' }), _jsxs("div", { children: [_jsxs(AlertTitle, { className: 'mb-1', children: ["Missing: ", config.title] }), _jsx(AlertDescription, { children: config.description ||
10
- `Please configure the ${config.title.toLowerCase()} to ensure proper functionality.` })] })] }) }), config.hide && (_jsx(Button, { variant: 'outline', size: 'sm', onClick: config.hide, className: 'ml-4 mt-1 whitespace-nowrap', children: "Hide Warning" })), _jsx(Button, { variant: 'outline', size: 'sm', onClick: () => navigate(config.link), className: 'ml-4 mt-1 whitespace-nowrap', children: "Configure" })] }, config.title))) }) })] })) }));
11
- };
12
- //# sourceMappingURL=MissingConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MissingConfig.js","sourceRoot":"","sources":["../../src/components/MissingConfig.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAC/E,OAAO,EAAE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AAC,6BAA6B,0BAGhC,KA9BC,MAAM,CAAC,KAAK,CA+BhB,CACT,CAAC,GACE,GACM,IACT,CACR,GACA,CACJ,CAAA;AACH,CAAC,CAAA"}
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { getGenderString, getStudyDegreeString, } from '@tumaet/prompt-shared-state';
3
- import { Mail, Flag, Book, GraduationCap, Calendar, Hash, Users, KeyRound } from 'lucide-react';
4
- import { Card, CardContent, CardHeader } from '@/components/ui/card';
5
- import { Avatar, AvatarFallback } from '@/components/ui/avatar';
6
- import { getCountryName } from '@/lib/getCountries';
7
- import translations from '@/lib/translations.json';
8
- import { AvatarImage } from '@radix-ui/react-avatar';
9
- import { getGravatarUrl } from '@/lib/getGravatarUrl';
10
- import { getStatusColor } from '@/lib/getStatusColor';
11
- export const StudentProfile = ({ student, status }) => {
12
- return (_jsxs(Card, { className: 'relative overflow-hidden', children: [_jsx("div", { className: `h-16 ${getStatusColor(status)}` }), _jsx("div", { className: 'mb-4', children: _jsxs(Avatar, { className: 'absolute w-24 h-24 border-4 border-background rounded-full transform left-3 -translate-y-1/2', children: [_jsx(AvatarImage, { src: getGravatarUrl(student.email), alt: student.lastName }), _jsxs(AvatarFallback, { className: 'rounded-lg font-bold text-lg', children: [student.firstName[0], student.lastName[0]] })] }) }), _jsx(CardHeader, { children: _jsx("div", { className: 'flex flex-col sm:flex-row items-center', children: _jsxs("div", { className: 'flex-1 text-center sm:text-left', children: [_jsx("div", { className: 'flex flex-col items-center sm:items-start pt-6', children: _jsxs("h1", { className: 'text-2xl font-bold', children: [student.firstName, " ", student.lastName] }) }), _jsxs("div", { className: 'mt-2 grid grid-cols-1 sm:grid-cols-2 gap-2 text-sm text-muted-foreground', children: [_jsxs("div", { className: 'space-y-1', children: [_jsxs("p", { className: 'flex items-center justify-center sm:justify-start', children: [_jsx(Mail, { className: 'w-4 h-4 mr-2' }), _jsx("span", { className: 'truncate', children: student.email })] }), student.nationality && (_jsxs("p", { className: 'flex items-center justify-center sm:justify-start', children: [_jsx(Flag, { className: 'w-4 h-4 mr-2' }), getCountryName(student.nationality)] })), student.gender && (_jsxs("p", { className: 'flex items-center justify-center sm:justify-start', children: [_jsx(Users, { className: 'w-4 h-4 mr-2' }), getGenderString(student.gender)] }))] }), _jsxs("div", { className: 'space-y-1', children: [student.universityLogin && (_jsxs("p", { className: 'flex items-center justify-center sm:justify-start', children: [_jsx(KeyRound, { className: 'w-4 h-4 mr-2' }), _jsxs("strong", { className: 'mr-1', children: [translations.university['login-name'], ":"] }), student.universityLogin] })), student.matriculationNumber && (_jsxs("p", { className: 'flex items-center justify-center sm:justify-start', children: [_jsx(Hash, { className: 'w-4 h-4 mr-2' }), _jsx("strong", { className: 'mr-1', children: "Matriculation:" }), student.matriculationNumber] }))] })] })] }) }) }), _jsx(CardContent, { children: _jsxs("div", { className: 'grid grid-cols-1 sm:grid-cols-3 gap-4 text-sm', children: [_jsxs("div", { className: 'flex items-center', children: [_jsx(Book, { className: 'w-5 h-5 mr-2 text-primary' }), _jsx("strong", { className: 'mr-2', children: "Program:" }), _jsx("span", { className: 'text-muted-foreground', children: student.studyProgram || 'N/A' })] }), _jsxs("div", { className: 'flex items-center', children: [_jsx(GraduationCap, { className: 'w-5 h-5 mr-2 text-primary' }), _jsx("strong", { className: 'mr-2', children: "Degree:" }), _jsx("span", { className: 'text-muted-foreground', children: getStudyDegreeString(student.studyDegree) || 'N/A' })] }), _jsxs("div", { className: 'flex items-center', children: [_jsx(Calendar, { className: 'w-5 h-5 mr-2 text-primary' }), _jsx("strong", { className: 'mr-2', children: "Semester:" }), _jsx("span", { className: 'text-muted-foreground', children: student.currentSemester || 'N/A' })] })] }) })] }));
13
- };
14
- //# sourceMappingURL=StudentProfile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StudentProfile.js","sourceRoot":"","sources":["../../src/components/StudentProfile.tsx"],"names":[],"mappings":";AACA,OAAO,EAGL,eAAe,EACf,oB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C,iBAAQ,SAAS,EAAC,MAAM,yBAAkB,EAC1C,eAAM,SAAS,EAAC,uBAAuB,YAAE,OAAO,CAAC,YAAY,IAAI,KAAK,GAAQ,IAC1E,EACN,eAAK,SAAS,EAAC,mBAAmB,aAChC,KAAC,aAAa,IAAC,SAAS,EAAC,2BAA2B,GAAG,EACvD,iBAAQ,SAAS,EAAC,MAAM,wBAAiB,EACzC,eAAM,SAAS,EAAC,uBAAuB,YACpC,oBAAoB,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,KAAK,GAC9C,IACH,EACN,eAAK,SAAS,EAAC,mBAAmB,aAChC,KAAC,QAAQ,IAAC,SAAS,EAAC,2BAA2B,GAAG,EAClD,iBAAQ,SAAS,EAAC,MAAM,0BAAmB,EAC3C,eAAM,SAAS,EAAC,uBAAuB,YAAE,OAAO,CAAC,eAAe,IAAI,KAAK,GAAQ,IAC7E,IACF,GACM,IACT,CACR,CAAA;AACH,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Moon, Sun, Monitor } from 'lucide-react';
3
- import { Button } from '@/components/ui/button';
4
- import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from '@/components/ui/dropdown-menu';
5
- import { useDarkMode } from '@/contexts/DarkModeProvider';
6
- export function ThemeToggle() {
7
- const { theme, setTheme } = useDarkMode();
8
- return (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsxs(Button, { variant: 'outline', size: 'icon', className: 'w-[120px]', children: [theme === 'light' && _jsx(Sun, { className: 'h-4 w-4' }), theme === 'dark' && _jsx(Moon, { className: 'h-4 w-4' }), theme === 'system' && _jsx(Monitor, { className: 'h-4 w-4' }), _jsx("span", { className: 'ml-2', children: theme?.charAt(0).toUpperCase() + theme?.slice(1) })] }) }), _jsxs(DropdownMenuContent, { align: 'end', children: [_jsxs(DropdownMenuItem, { onClick: () => setTheme('light'), children: [_jsx(Sun, { className: 'mr-2 h-4 w-4' }), _jsx("span", { children: "Light" })] }), _jsxs(DropdownMenuItem, { onClick: () => setTheme('dark'), children: [_jsx(Moon, { className: 'mr-2 h-4 w-4' }), _jsx("span", { children: "Dark" })] }), _jsxs(DropdownMenuItem, { onClick: () => setTheme('system'), children: [_jsx(Monitor, { className: 'mr-2 h-4 w-4' }), _jsx("span", { children: "System" })] })] })] }));
9
- }
10
- //# sourceMappingURL=ThemeToggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeToggle.js","sourceRoot":"","sources":["../../src/components/ThemeToggle.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAEzD,MAAM,UAAU,WAAW;IACzB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,WAAW,EAAE,CAAA;IAEzC,OAAO,CACL,MAAC,YAAY,eACX,KAAC,mBAAmB,IAAC,OAAO,kBAC1B,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,EAAC,SAAS,EAAC,WAAW,aACxD,KAAK,KAAK,OAAO,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,SAAS,GAAG,EAChD,KAAK,KAAK,MAAM,IAAI,KAAC,IAAI,IAAC,SAAS,EAAC,SAAS,GAAG,EAChD,KAAK,KAAK,QAAQ,IAAI,KAAC,OAAO,IAAC,SAAS,EAAC,SAAS,GAAG,EACtD,eAAM,SAAS,EAAC,MAAM,YAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,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