From a97fb6c245a45fd7bdb8365eeae521bcefe03886 Mon Sep 17 00:00:00 2001 From: Tom Tang Date: Mon, 23 Dec 2024 10:03:43 +0800 Subject: [PATCH] refactor!: upgrade to nuxt v4 (#658) * refactor!: migrate to nuxt v4 * update path alias pt.2 * do not ignore shadcn components * still. do not ignore shadcn components * move utils to rootDir --- .eslintignore | 1 - app.vue => app/app.vue | 0 {assets => app/assets}/icons/logo.svg | 0 .../NewClassroomReservation.vue | 4 ++-- .../custom/CAS/Record/NewActivityRecord.vue | 6 +++--- .../custom/CAS/Record/ViewMyActivityRecords.vue | 9 ++++----- .../Record/view-activity-records/DataTable.vue | 0 .../view-activity-records/DataTableAction.vue | 0 .../CAS/Record/view-activity-records/columns.ts | 4 ++-- .../components}/custom/Index/announcements.vue | 2 +- .../components}/custom/Nav/icon/Icon.vue | 0 .../components}/custom/Nav/user/User.vue | 0 .../components}/custom/club-card.vue | 2 +- .../components}/custom/enum2str.ts | 0 .../components}/custom/sidebar.vue | 14 +++++++------- .../components}/ui/alert-dialog/AlertDialog.vue | 0 .../ui/alert-dialog/AlertDialogAction.vue | 0 .../ui/alert-dialog/AlertDialogCancel.vue | 0 .../ui/alert-dialog/AlertDialogContent.vue | 0 .../ui/alert-dialog/AlertDialogDescription.vue | 0 .../ui/alert-dialog/AlertDialogFooter.vue | 0 .../ui/alert-dialog/AlertDialogHeader.vue | 0 .../ui/alert-dialog/AlertDialogTitle.vue | 0 .../ui/alert-dialog/AlertDialogTrigger.vue | 0 app/components/ui/alert-dialog/index.ts | 9 +++++++++ .../components}/ui/alert/Alert.vue | 0 .../components}/ui/alert/AlertDescription.vue | 0 .../components}/ui/alert/AlertTitle.vue | 0 {components => app/components}/ui/alert/index.ts | 6 +++--- .../components}/ui/avatar/Avatar.vue | 0 .../components}/ui/avatar/AvatarFallback.vue | 0 .../components}/ui/avatar/AvatarImage.vue | 0 .../components}/ui/avatar/index.ts | 6 +++--- .../components}/ui/badge/Badge.vue | 0 {components => app/components}/ui/badge/index.ts | 2 +- .../components}/ui/button/Button.vue | 0 .../components}/ui/button/index.ts | 2 +- .../components}/ui/calendar/Calendar.vue | 0 .../components}/ui/calendar/CalendarCell.vue | 0 .../ui/calendar/CalendarCellTrigger.vue | 0 .../components}/ui/calendar/CalendarGrid.vue | 0 .../components}/ui/calendar/CalendarGridBody.vue | 0 .../components}/ui/calendar/CalendarGridHead.vue | 0 .../components}/ui/calendar/CalendarGridRow.vue | 0 .../components}/ui/calendar/CalendarHeadCell.vue | 0 .../components}/ui/calendar/CalendarHeader.vue | 0 .../components}/ui/calendar/CalendarHeading.vue | 0 .../ui/calendar/CalendarNextButton.vue | 0 .../ui/calendar/CalendarPrevButton.vue | 0 app/components/ui/calendar/index.ts | 12 ++++++++++++ {components => app/components}/ui/card/Card.vue | 0 .../components}/ui/card/CardContent.vue | 0 .../components}/ui/card/CardDescription.vue | 0 .../components}/ui/card/CardFooter.vue | 0 .../components}/ui/card/CardHeader.vue | 0 .../components}/ui/card/CardTitle.vue | 0 app/components/ui/card/index.ts | 6 ++++++ .../components}/ui/chart-donut/DonutChart.vue | 2 +- .../components}/ui/chart-donut/index.ts | 2 +- .../components}/ui/chart/ChartCrosshair.vue | 0 .../components}/ui/chart/ChartLegend.vue | 2 +- .../components}/ui/chart/ChartSingleTooltip.vue | 0 .../components}/ui/chart/ChartTooltip.vue | 2 +- {components => app/components}/ui/chart/index.ts | 8 ++++---- .../components}/ui/chart/interface.ts | 0 .../components}/ui/checkbox/Checkbox.vue | 0 app/components/ui/checkbox/index.ts | 1 + .../components}/ui/command/Command.vue | 0 .../components}/ui/command/CommandDialog.vue | 0 .../components}/ui/command/CommandEmpty.vue | 0 .../components}/ui/command/CommandGroup.vue | 0 .../components}/ui/command/CommandInput.vue | 0 .../components}/ui/command/CommandItem.vue | 0 .../components}/ui/command/CommandList.vue | 0 .../components}/ui/command/CommandSeparator.vue | 0 .../components}/ui/command/CommandShortcut.vue | 0 app/components/ui/command/index.ts | 9 +++++++++ .../components}/ui/dialog/Dialog.vue | 0 .../components}/ui/dialog/DialogClose.vue | 0 .../components}/ui/dialog/DialogContent.vue | 0 .../components}/ui/dialog/DialogDescription.vue | 0 .../components}/ui/dialog/DialogFooter.vue | 0 .../components}/ui/dialog/DialogHeader.vue | 0 .../ui/dialog/DialogScrollContent.vue | 0 .../components}/ui/dialog/DialogTitle.vue | 0 .../components}/ui/dialog/DialogTrigger.vue | 0 app/components/ui/dialog/index.ts | 9 +++++++++ .../ui/dropdown-menu/DropdownMenu.vue | 0 .../dropdown-menu/DropdownMenuCheckboxItem.vue | 0 .../ui/dropdown-menu/DropdownMenuContent.vue | 0 .../ui/dropdown-menu/DropdownMenuGroup.vue | 0 .../ui/dropdown-menu/DropdownMenuItem.vue | 0 .../ui/dropdown-menu/DropdownMenuLabel.vue | 0 .../ui/dropdown-menu/DropdownMenuRadioGroup.vue | 0 .../ui/dropdown-menu/DropdownMenuRadioItem.vue | 0 .../ui/dropdown-menu/DropdownMenuSeparator.vue | 0 .../ui/dropdown-menu/DropdownMenuShortcut.vue | 0 .../ui/dropdown-menu/DropdownMenuSub.vue | 0 .../ui/dropdown-menu/DropdownMenuSubContent.vue | 0 .../ui/dropdown-menu/DropdownMenuSubTrigger.vue | 0 .../ui/dropdown-menu/DropdownMenuTrigger.vue | 0 app/components/ui/dropdown-menu/index.ts | 16 ++++++++++++++++ .../components}/ui/form/FormControl.vue | 0 .../components}/ui/form/FormDescription.vue | 0 .../components}/ui/form/FormItem.vue | 0 .../components}/ui/form/FormLabel.vue | 0 .../components}/ui/form/FormMessage.vue | 0 app/components/ui/form/index.ts | 7 +++++++ .../components}/ui/form/injectionKeys.ts | 0 .../components}/ui/form/useFormField.ts | 0 .../components}/ui/hover-card/HoverCard.vue | 0 .../ui/hover-card/HoverCardContent.vue | 0 .../ui/hover-card/HoverCardTrigger.vue | 0 app/components/ui/hover-card/index.ts | 3 +++ .../components}/ui/input/Input.vue | 0 app/components/ui/input/index.ts | 1 + .../components}/ui/label/Label.vue | 0 app/components/ui/label/index.ts | 1 + .../components}/ui/menubar/Menubar.vue | 0 .../ui/menubar/MenubarCheckboxItem.vue | 0 .../components}/ui/menubar/MenubarContent.vue | 0 .../components}/ui/menubar/MenubarGroup.vue | 0 .../components}/ui/menubar/MenubarItem.vue | 0 .../components}/ui/menubar/MenubarLabel.vue | 0 .../components}/ui/menubar/MenubarMenu.vue | 0 .../components}/ui/menubar/MenubarRadioGroup.vue | 0 .../components}/ui/menubar/MenubarRadioItem.vue | 0 .../components}/ui/menubar/MenubarSeparator.vue | 0 .../components}/ui/menubar/MenubarShortcut.vue | 0 .../components}/ui/menubar/MenubarSub.vue | 0 .../components}/ui/menubar/MenubarSubContent.vue | 0 .../components}/ui/menubar/MenubarSubTrigger.vue | 0 .../components}/ui/menubar/MenubarTrigger.vue | 0 app/components/ui/menubar/index.ts | 15 +++++++++++++++ .../components}/ui/multiselect/Multiselect.vue | 0 app/components/ui/multiselect/index.ts | 1 + .../components}/ui/number-field/NumberField.vue | 0 .../ui/number-field/NumberFieldContent.vue | 0 .../ui/number-field/NumberFieldDecrement.vue | 0 .../ui/number-field/NumberFieldIncrement.vue | 0 .../ui/number-field/NumberFieldInput.vue | 0 app/components/ui/number-field/index.ts | 5 +++++ .../components}/ui/popover/Popover.vue | 0 .../components}/ui/popover/PopoverContent.vue | 0 .../components}/ui/popover/PopoverTrigger.vue | 0 app/components/ui/popover/index.ts | 4 ++++ .../components}/ui/scroll-area/ScrollArea.vue | 0 .../components}/ui/scroll-area/ScrollBar.vue | 0 app/components/ui/scroll-area/index.ts | 2 ++ .../components}/ui/select/Select.vue | 0 .../components}/ui/select/SelectContent.vue | 0 .../components}/ui/select/SelectGroup.vue | 0 .../components}/ui/select/SelectItem.vue | 0 .../components}/ui/select/SelectItemText.vue | 0 .../components}/ui/select/SelectLabel.vue | 0 .../ui/select/SelectScrollDownButton.vue | 0 .../ui/select/SelectScrollUpButton.vue | 0 .../components}/ui/select/SelectSeparator.vue | 0 .../components}/ui/select/SelectTrigger.vue | 0 .../components}/ui/select/SelectValue.vue | 0 app/components/ui/select/index.ts | 11 +++++++++++ .../components}/ui/separator/Separator.vue | 0 app/components/ui/separator/index.ts | 1 + .../components}/ui/skeleton/Skeleton.vue | 0 app/components/ui/skeleton/index.ts | 1 + .../components}/ui/switch/Switch.vue | 0 app/components/ui/switch/index.ts | 1 + .../components}/ui/table/Table.vue | 0 .../components}/ui/table/TableBody.vue | 0 .../components}/ui/table/TableCaption.vue | 0 .../components}/ui/table/TableCell.vue | 0 .../components}/ui/table/TableEmpty.vue | 0 .../components}/ui/table/TableFooter.vue | 0 .../components}/ui/table/TableHead.vue | 0 .../components}/ui/table/TableHeader.vue | 0 .../components}/ui/table/TableRow.vue | 0 app/components/ui/table/index.ts | 8 ++++++++ {components => app/components}/ui/tabs/Tabs.vue | 0 .../components}/ui/tabs/TabsContent.vue | 0 .../components}/ui/tabs/TabsList.vue | 0 .../components}/ui/tabs/TabsTrigger.vue | 0 app/components/ui/tabs/index.ts | 4 ++++ .../components}/ui/tags-input/TagsInput.vue | 0 .../components}/ui/tags-input/TagsInputInput.vue | 0 .../components}/ui/tags-input/TagsInputItem.vue | 0 .../ui/tags-input/TagsInputItemDelete.vue | 0 .../ui/tags-input/TagsInputItemText.vue | 0 app/components/ui/tags-input/index.ts | 5 +++++ .../components}/ui/textarea/Textarea.vue | 0 app/components/ui/textarea/index.ts | 1 + .../components}/ui/toast/Toast.vue | 0 .../components}/ui/toast/ToastAction.vue | 0 .../components}/ui/toast/ToastClose.vue | 0 .../components}/ui/toast/ToastDescription.vue | 0 .../components}/ui/toast/ToastProvider.vue | 0 .../components}/ui/toast/ToastTitle.vue | 0 .../components}/ui/toast/ToastViewport.vue | 0 .../components}/ui/toast/Toaster.vue | 0 {components => app/components}/ui/toast/index.ts | 16 ++++++++-------- .../components}/ui/toast/use-toast.ts | 2 +- .../components}/ui/toggle-group/ToggleGroup.vue | 0 .../ui/toggle-group/ToggleGroupItem.vue | 0 app/components/ui/toggle-group/index.ts | 2 ++ .../components}/ui/toggle/Toggle.vue | 0 .../components}/ui/toggle/index.ts | 2 +- error.vue => app/error.vue | 0 {layouts => app/layouts}/default.vue | 4 ++-- {layouts => app/layouts}/sign-in-or-out.vue | 0 {lib => app/lib}/utils.ts | 0 {middleware => app/middleware}/auth.ts | 0 .../middleware}/authWithoutBind.ts | 0 {middleware => app/middleware}/public.ts | 0 {pages => app/pages}/about.vue | 0 {pages => app/pages}/account/bind.vue | 0 {pages => app/pages}/cas/clubs/[id].vue | 2 +- {pages => app/pages}/cas/clubs/index.vue | 4 ++-- {pages => app/pages}/cas/rating.vue | 2 +- {pages => app/pages}/forms/[id].vue | 4 ++-- {pages => app/pages}/forms/index.vue | 4 ++-- {pages => app/pages}/index.vue | 2 +- {pages => app/pages}/manage/manage.vue | 2 +- {pages => app/pages}/manage/record.vue | 8 ++++---- {pages => app/pages}/manage/reservation.vue | 4 ++-- {pages => app/pages}/manage/statuses.vue | 2 +- {pages => app/pages}/profile.vue | 0 {pages => app/pages}/sign-in.vue | 0 {pages => app/pages}/sign-up.vue | 0 {plugins => app/plugins}/clerk.ts | 0 {plugins => app/plugins}/vue-query.ts | 2 +- {queries => app/queries}/default.ts | 0 components/ui/alert-dialog/index.ts | 9 --------- components/ui/calendar/index.ts | 12 ------------ components/ui/card/index.ts | 6 ------ components/ui/checkbox/index.ts | 1 - components/ui/command/index.ts | 9 --------- components/ui/dialog/index.ts | 9 --------- components/ui/dropdown-menu/index.ts | 16 ---------------- components/ui/form/index.ts | 7 ------- components/ui/hover-card/index.ts | 3 --- components/ui/input/index.ts | 1 - components/ui/label/index.ts | 1 - components/ui/menubar/index.ts | 15 --------------- components/ui/multiselect/index.ts | 1 - components/ui/number-field/index.ts | 5 ----- components/ui/popover/index.ts | 4 ---- components/ui/scroll-area/index.ts | 2 -- components/ui/select/index.ts | 11 ----------- components/ui/separator/index.ts | 1 - components/ui/skeleton/index.ts | 1 - components/ui/switch/index.ts | 1 - components/ui/table/index.ts | 8 -------- components/ui/tabs/index.ts | 4 ---- components/ui/tags-input/index.ts | 5 ----- components/ui/textarea/index.ts | 1 - components/ui/toggle-group/index.ts | 2 -- eslint.config.js | 1 - nuxt.config.ts | 13 +++++-------- server/api/forms/open.get.ts | 2 +- tsconfig.json | 6 ++---- utils/crawler.ts | 6 +++--- utils/update-classroom-data.ts | 2 +- utils/update-club-info.ts | 2 +- 262 files changed, 214 insertions(+), 222 deletions(-) delete mode 100644 .eslintignore rename app.vue => app/app.vue (100%) rename {assets => app/assets}/icons/logo.svg (100%) rename {components => app/components}/custom/CAS/ClassroomReservation/NewClassroomReservation.vue (98%) rename {components => app/components}/custom/CAS/Record/NewActivityRecord.vue (98%) rename {components => app/components}/custom/CAS/Record/ViewMyActivityRecords.vue (93%) rename {components => app/components}/custom/CAS/Record/view-activity-records/DataTable.vue (100%) rename {components => app/components}/custom/CAS/Record/view-activity-records/DataTableAction.vue (100%) rename {components => app/components}/custom/CAS/Record/view-activity-records/columns.ts (91%) rename {components => app/components}/custom/Index/announcements.vue (93%) rename {components => app/components}/custom/Nav/icon/Icon.vue (100%) rename {components => app/components}/custom/Nav/user/User.vue (100%) rename {components => app/components}/custom/club-card.vue (98%) rename {components => app/components}/custom/enum2str.ts (100%) rename {components => app/components}/custom/sidebar.vue (91%) rename {components => app/components}/ui/alert-dialog/AlertDialog.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogAction.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogCancel.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogContent.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogDescription.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogFooter.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogHeader.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogTitle.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogTrigger.vue (100%) create mode 100644 app/components/ui/alert-dialog/index.ts rename {components => app/components}/ui/alert/Alert.vue (100%) rename {components => app/components}/ui/alert/AlertDescription.vue (100%) rename {components => app/components}/ui/alert/AlertTitle.vue (100%) rename {components => app/components}/ui/alert/index.ts (72%) rename {components => app/components}/ui/avatar/Avatar.vue (100%) rename {components => app/components}/ui/avatar/AvatarFallback.vue (100%) rename {components => app/components}/ui/avatar/AvatarImage.vue (100%) rename {components => app/components}/ui/avatar/index.ts (65%) rename {components => app/components}/ui/badge/Badge.vue (100%) rename {components => app/components}/ui/badge/index.ts (92%) rename {components => app/components}/ui/button/Button.vue (100%) rename {components => app/components}/ui/button/index.ts (94%) rename {components => app/components}/ui/calendar/Calendar.vue (100%) rename {components => app/components}/ui/calendar/CalendarCell.vue (100%) rename {components => app/components}/ui/calendar/CalendarCellTrigger.vue (100%) rename {components => app/components}/ui/calendar/CalendarGrid.vue (100%) rename {components => app/components}/ui/calendar/CalendarGridBody.vue (100%) rename {components => app/components}/ui/calendar/CalendarGridHead.vue (100%) rename {components => app/components}/ui/calendar/CalendarGridRow.vue (100%) rename {components => app/components}/ui/calendar/CalendarHeadCell.vue (100%) rename {components => app/components}/ui/calendar/CalendarHeader.vue (100%) rename {components => app/components}/ui/calendar/CalendarHeading.vue (100%) rename {components => app/components}/ui/calendar/CalendarNextButton.vue (100%) rename {components => app/components}/ui/calendar/CalendarPrevButton.vue (100%) create mode 100644 app/components/ui/calendar/index.ts rename {components => app/components}/ui/card/Card.vue (100%) rename {components => app/components}/ui/card/CardContent.vue (100%) rename {components => app/components}/ui/card/CardDescription.vue (100%) rename {components => app/components}/ui/card/CardFooter.vue (100%) rename {components => app/components}/ui/card/CardHeader.vue (100%) rename {components => app/components}/ui/card/CardTitle.vue (100%) create mode 100644 app/components/ui/card/index.ts rename {components => app/components}/ui/chart-donut/DonutChart.vue (98%) rename {components => app/components}/ui/chart-donut/index.ts (90%) rename {components => app/components}/ui/chart/ChartCrosshair.vue (100%) rename {components => app/components}/ui/chart/ChartLegend.vue (96%) rename {components => app/components}/ui/chart/ChartSingleTooltip.vue (100%) rename {components => app/components}/ui/chart/ChartTooltip.vue (94%) rename {components => app/components}/ui/chart/index.ts (59%) rename {components => app/components}/ui/chart/interface.ts (100%) rename {components => app/components}/ui/checkbox/Checkbox.vue (100%) create mode 100644 app/components/ui/checkbox/index.ts rename {components => app/components}/ui/command/Command.vue (100%) rename {components => app/components}/ui/command/CommandDialog.vue (100%) rename {components => app/components}/ui/command/CommandEmpty.vue (100%) rename {components => app/components}/ui/command/CommandGroup.vue (100%) rename {components => app/components}/ui/command/CommandInput.vue (100%) rename {components => app/components}/ui/command/CommandItem.vue (100%) rename {components => app/components}/ui/command/CommandList.vue (100%) rename {components => app/components}/ui/command/CommandSeparator.vue (100%) rename {components => app/components}/ui/command/CommandShortcut.vue (100%) create mode 100644 app/components/ui/command/index.ts rename {components => app/components}/ui/dialog/Dialog.vue (100%) rename {components => app/components}/ui/dialog/DialogClose.vue (100%) rename {components => app/components}/ui/dialog/DialogContent.vue (100%) rename {components => app/components}/ui/dialog/DialogDescription.vue (100%) rename {components => app/components}/ui/dialog/DialogFooter.vue (100%) rename {components => app/components}/ui/dialog/DialogHeader.vue (100%) rename {components => app/components}/ui/dialog/DialogScrollContent.vue (100%) rename {components => app/components}/ui/dialog/DialogTitle.vue (100%) rename {components => app/components}/ui/dialog/DialogTrigger.vue (100%) create mode 100644 app/components/ui/dialog/index.ts rename {components => app/components}/ui/dropdown-menu/DropdownMenu.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuCheckboxItem.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuContent.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuGroup.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuItem.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuLabel.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuRadioGroup.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuRadioItem.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSeparator.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuShortcut.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSub.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSubContent.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSubTrigger.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuTrigger.vue (100%) create mode 100644 app/components/ui/dropdown-menu/index.ts rename {components => app/components}/ui/form/FormControl.vue (100%) rename {components => app/components}/ui/form/FormDescription.vue (100%) rename {components => app/components}/ui/form/FormItem.vue (100%) rename {components => app/components}/ui/form/FormLabel.vue (100%) rename {components => app/components}/ui/form/FormMessage.vue (100%) create mode 100644 app/components/ui/form/index.ts rename {components => app/components}/ui/form/injectionKeys.ts (100%) rename {components => app/components}/ui/form/useFormField.ts (100%) rename {components => app/components}/ui/hover-card/HoverCard.vue (100%) rename {components => app/components}/ui/hover-card/HoverCardContent.vue (100%) rename {components => app/components}/ui/hover-card/HoverCardTrigger.vue (100%) create mode 100644 app/components/ui/hover-card/index.ts rename {components => app/components}/ui/input/Input.vue (100%) create mode 100644 app/components/ui/input/index.ts rename {components => app/components}/ui/label/Label.vue (100%) create mode 100644 app/components/ui/label/index.ts rename {components => app/components}/ui/menubar/Menubar.vue (100%) rename {components => app/components}/ui/menubar/MenubarCheckboxItem.vue (100%) rename {components => app/components}/ui/menubar/MenubarContent.vue (100%) rename {components => app/components}/ui/menubar/MenubarGroup.vue (100%) rename {components => app/components}/ui/menubar/MenubarItem.vue (100%) rename {components => app/components}/ui/menubar/MenubarLabel.vue (100%) rename {components => app/components}/ui/menubar/MenubarMenu.vue (100%) rename {components => app/components}/ui/menubar/MenubarRadioGroup.vue (100%) rename {components => app/components}/ui/menubar/MenubarRadioItem.vue (100%) rename {components => app/components}/ui/menubar/MenubarSeparator.vue (100%) rename {components => app/components}/ui/menubar/MenubarShortcut.vue (100%) rename {components => app/components}/ui/menubar/MenubarSub.vue (100%) rename {components => app/components}/ui/menubar/MenubarSubContent.vue (100%) rename {components => app/components}/ui/menubar/MenubarSubTrigger.vue (100%) rename {components => app/components}/ui/menubar/MenubarTrigger.vue (100%) create mode 100644 app/components/ui/menubar/index.ts rename {components => app/components}/ui/multiselect/Multiselect.vue (100%) create mode 100644 app/components/ui/multiselect/index.ts rename {components => app/components}/ui/number-field/NumberField.vue (100%) rename {components => app/components}/ui/number-field/NumberFieldContent.vue (100%) rename {components => app/components}/ui/number-field/NumberFieldDecrement.vue (100%) rename {components => app/components}/ui/number-field/NumberFieldIncrement.vue (100%) rename {components => app/components}/ui/number-field/NumberFieldInput.vue (100%) create mode 100644 app/components/ui/number-field/index.ts rename {components => app/components}/ui/popover/Popover.vue (100%) rename {components => app/components}/ui/popover/PopoverContent.vue (100%) rename {components => app/components}/ui/popover/PopoverTrigger.vue (100%) create mode 100644 app/components/ui/popover/index.ts rename {components => app/components}/ui/scroll-area/ScrollArea.vue (100%) rename {components => app/components}/ui/scroll-area/ScrollBar.vue (100%) create mode 100644 app/components/ui/scroll-area/index.ts rename {components => app/components}/ui/select/Select.vue (100%) rename {components => app/components}/ui/select/SelectContent.vue (100%) rename {components => app/components}/ui/select/SelectGroup.vue (100%) rename {components => app/components}/ui/select/SelectItem.vue (100%) rename {components => app/components}/ui/select/SelectItemText.vue (100%) rename {components => app/components}/ui/select/SelectLabel.vue (100%) rename {components => app/components}/ui/select/SelectScrollDownButton.vue (100%) rename {components => app/components}/ui/select/SelectScrollUpButton.vue (100%) rename {components => app/components}/ui/select/SelectSeparator.vue (100%) rename {components => app/components}/ui/select/SelectTrigger.vue (100%) rename {components => app/components}/ui/select/SelectValue.vue (100%) create mode 100644 app/components/ui/select/index.ts rename {components => app/components}/ui/separator/Separator.vue (100%) create mode 100644 app/components/ui/separator/index.ts rename {components => app/components}/ui/skeleton/Skeleton.vue (100%) create mode 100644 app/components/ui/skeleton/index.ts rename {components => app/components}/ui/switch/Switch.vue (100%) create mode 100644 app/components/ui/switch/index.ts rename {components => app/components}/ui/table/Table.vue (100%) rename {components => app/components}/ui/table/TableBody.vue (100%) rename {components => app/components}/ui/table/TableCaption.vue (100%) rename {components => app/components}/ui/table/TableCell.vue (100%) rename {components => app/components}/ui/table/TableEmpty.vue (100%) rename {components => app/components}/ui/table/TableFooter.vue (100%) rename {components => app/components}/ui/table/TableHead.vue (100%) rename {components => app/components}/ui/table/TableHeader.vue (100%) rename {components => app/components}/ui/table/TableRow.vue (100%) create mode 100644 app/components/ui/table/index.ts rename {components => app/components}/ui/tabs/Tabs.vue (100%) rename {components => app/components}/ui/tabs/TabsContent.vue (100%) rename {components => app/components}/ui/tabs/TabsList.vue (100%) rename {components => app/components}/ui/tabs/TabsTrigger.vue (100%) create mode 100644 app/components/ui/tabs/index.ts rename {components => app/components}/ui/tags-input/TagsInput.vue (100%) rename {components => app/components}/ui/tags-input/TagsInputInput.vue (100%) rename {components => app/components}/ui/tags-input/TagsInputItem.vue (100%) rename {components => app/components}/ui/tags-input/TagsInputItemDelete.vue (100%) rename {components => app/components}/ui/tags-input/TagsInputItemText.vue (100%) create mode 100644 app/components/ui/tags-input/index.ts rename {components => app/components}/ui/textarea/Textarea.vue (100%) create mode 100644 app/components/ui/textarea/index.ts rename {components => app/components}/ui/toast/Toast.vue (100%) rename {components => app/components}/ui/toast/ToastAction.vue (100%) rename {components => app/components}/ui/toast/ToastClose.vue (100%) rename {components => app/components}/ui/toast/ToastDescription.vue (100%) rename {components => app/components}/ui/toast/ToastProvider.vue (100%) rename {components => app/components}/ui/toast/ToastTitle.vue (100%) rename {components => app/components}/ui/toast/ToastViewport.vue (100%) rename {components => app/components}/ui/toast/Toaster.vue (100%) rename {components => app/components}/ui/toast/index.ts (62%) rename {components => app/components}/ui/toast/use-toast.ts (98%) rename {components => app/components}/ui/toggle-group/ToggleGroup.vue (100%) rename {components => app/components}/ui/toggle-group/ToggleGroupItem.vue (100%) create mode 100644 app/components/ui/toggle-group/index.ts rename {components => app/components}/ui/toggle/Toggle.vue (100%) rename {components => app/components}/ui/toggle/index.ts (91%) rename error.vue => app/error.vue (100%) rename {layouts => app/layouts}/default.vue (96%) rename {layouts => app/layouts}/sign-in-or-out.vue (100%) rename {lib => app/lib}/utils.ts (100%) rename {middleware => app/middleware}/auth.ts (100%) rename {middleware => app/middleware}/authWithoutBind.ts (100%) rename {middleware => app/middleware}/public.ts (100%) rename {pages => app/pages}/about.vue (100%) rename {pages => app/pages}/account/bind.vue (100%) rename {pages => app/pages}/cas/clubs/[id].vue (99%) rename {pages => app/pages}/cas/clubs/index.vue (98%) rename {pages => app/pages}/cas/rating.vue (99%) rename {pages => app/pages}/forms/[id].vue (91%) rename {pages => app/pages}/forms/index.vue (93%) rename {pages => app/pages}/index.vue (89%) rename {pages => app/pages}/manage/manage.vue (98%) rename {pages => app/pages}/manage/record.vue (92%) rename {pages => app/pages}/manage/reservation.vue (95%) rename {pages => app/pages}/manage/statuses.vue (98%) rename {pages => app/pages}/profile.vue (100%) rename {pages => app/pages}/sign-in.vue (100%) rename {pages => app/pages}/sign-up.vue (100%) rename {plugins => app/plugins}/clerk.ts (100%) rename {plugins => app/plugins}/vue-query.ts (94%) rename {queries => app/queries}/default.ts (100%) delete mode 100644 components/ui/alert-dialog/index.ts delete mode 100644 components/ui/calendar/index.ts delete mode 100644 components/ui/card/index.ts delete mode 100644 components/ui/checkbox/index.ts delete mode 100644 components/ui/command/index.ts delete mode 100644 components/ui/dialog/index.ts delete mode 100644 components/ui/dropdown-menu/index.ts delete mode 100644 components/ui/form/index.ts delete mode 100644 components/ui/hover-card/index.ts delete mode 100644 components/ui/input/index.ts delete mode 100644 components/ui/label/index.ts delete mode 100644 components/ui/menubar/index.ts delete mode 100644 components/ui/multiselect/index.ts delete mode 100644 components/ui/number-field/index.ts delete mode 100644 components/ui/popover/index.ts delete mode 100644 components/ui/scroll-area/index.ts delete mode 100644 components/ui/select/index.ts delete mode 100644 components/ui/separator/index.ts delete mode 100644 components/ui/skeleton/index.ts delete mode 100644 components/ui/switch/index.ts delete mode 100644 components/ui/table/index.ts delete mode 100644 components/ui/tabs/index.ts delete mode 100644 components/ui/tags-input/index.ts delete mode 100644 components/ui/textarea/index.ts delete mode 100644 components/ui/toggle-group/index.ts diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index dd619816..00000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -components/ui/ diff --git a/app.vue b/app/app.vue similarity index 100% rename from app.vue rename to app/app.vue diff --git a/assets/icons/logo.svg b/app/assets/icons/logo.svg similarity index 100% rename from assets/icons/logo.svg rename to app/assets/icons/logo.svg diff --git a/components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue b/app/components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue similarity index 98% rename from components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue rename to app/components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue index 480e0b2f..d60550d6 100644 --- a/components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue +++ b/app/components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue @@ -1,6 +1,7 @@