@geniusdynamics/ns8-ui-lib 1.0.6 → 1.0.7
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.
- package/dist/ns8-ui-lib.css +1 -1
- package/dist/ns8-ui-lib.es.js +222 -222
- package/dist/ns8-ui-lib.es.js.map +1 -1
- package/dist/ns8-ui-lib.umd.js +3 -3
- package/dist/ns8-ui-lib.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/App.vue +3 -4
- package/src/components/HelloWorld.vue +2 -2
- package/src/components/NS/CompleteDemo.vue +49 -49
- package/src/components/NS/Demo.vue +20 -20
- package/src/components/NS/cards/NSBackupCard.vue +41 -41
- package/src/components/NS/cards/NSSystemInfoCard.vue +37 -37
- package/src/components/NS/cards/NSSystemdServiceCard.vue +27 -27
- package/src/components/NS/checkbox/NSCheckbox.vue +4 -4
- package/src/components/NS/data-table/NSDataTable.vue +29 -29
- package/src/components/NS/empty-state/NSEmptyState.vue +3 -3
- package/src/components/NS/inline-notification/NSInlineNotification.vue +9 -9
- package/src/components/NS/lottie-animation/NSLottieAnimation.vue +5 -5
- package/src/components/NS/modal/NSModal.vue +10 -10
- package/src/components/NS/modal/NSModalTrigger.vue +1 -1
- package/src/components/NS/pagination/NSPagination.vue +10 -10
- package/src/components/NS/progress/NSProgress.vue +3 -3
- package/src/components/NS/progress/NSProgressBar.vue +4 -4
- package/src/components/NS/slider/NSByteSlider.vue +3 -3
- package/src/components/NS/slider/NSSlider.vue +2 -2
- package/src/components/NS/tag/NSTag.vue +5 -5
- package/src/components/NS/text-input/NSTextInput.vue +5 -5
- package/src/components/NS/toast-notification/NSToastNotification.vue +7 -7
- package/src/components/NS/toggle/NSToggle.vue +2 -2
- package/src/components/NS/wizard/NSWizard.vue +21 -21
- package/src/components/ui/accordion/AccordionContent.vue +2 -2
- package/src/components/ui/accordion/AccordionItem.vue +1 -1
- package/src/components/ui/accordion/AccordionTrigger.vue +3 -3
- package/src/components/ui/alert/AlertDescription.vue +1 -1
- package/src/components/ui/alert/AlertTitle.vue +1 -1
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +1 -1
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +2 -2
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +1 -1
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +1 -1
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +1 -1
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +1 -1
- package/src/components/ui/avatar/Avatar.vue +1 -1
- package/src/components/ui/avatar/AvatarFallback.vue +1 -1
- package/src/components/ui/avatar/AvatarImage.vue +1 -1
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +3 -3
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +1 -1
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +1 -1
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +1 -1
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +1 -1
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +1 -1
- package/src/components/ui/button-group/ButtonGroupSeparator.vue +1 -1
- package/src/components/ui/button-group/ButtonGroupText.vue +1 -1
- package/src/components/ui/calendar/Calendar.vue +16 -16
- package/src/components/ui/calendar/CalendarCell.vue +1 -1
- package/src/components/ui/calendar/CalendarCellTrigger.vue +6 -6
- package/src/components/ui/calendar/CalendarGrid.vue +1 -1
- package/src/components/ui/calendar/CalendarGridRow.vue +1 -1
- package/src/components/ui/calendar/CalendarHeadCell.vue +1 -1
- package/src/components/ui/calendar/CalendarHeader.vue +1 -1
- package/src/components/ui/calendar/CalendarHeading.vue +1 -1
- package/src/components/ui/calendar/CalendarNextButton.vue +2 -2
- package/src/components/ui/calendar/CalendarPrevButton.vue +2 -2
- package/src/components/ui/card/Card.vue +1 -1
- package/src/components/ui/card/CardAction.vue +1 -1
- package/src/components/ui/card/CardContent.vue +1 -1
- package/src/components/ui/card/CardDescription.vue +1 -1
- package/src/components/ui/card/CardFooter.vue +1 -1
- package/src/components/ui/card/CardHeader.vue +1 -1
- package/src/components/ui/card/CardTitle.vue +1 -1
- package/src/components/ui/carousel/Carousel.vue +1 -1
- package/src/components/ui/carousel/CarouselContent.vue +3 -3
- package/src/components/ui/carousel/CarouselItem.vue +2 -2
- package/src/components/ui/carousel/CarouselNext.vue +4 -4
- package/src/components/ui/carousel/CarouselPrevious.vue +4 -4
- package/src/components/ui/checkbox/Checkbox.vue +3 -3
- package/src/components/ui/combobox/ComboboxAnchor.vue +1 -1
- package/src/components/ui/combobox/ComboboxEmpty.vue +1 -1
- package/src/components/ui/combobox/ComboboxGroup.vue +2 -2
- package/src/components/ui/combobox/ComboboxInput.vue +3 -3
- package/src/components/ui/combobox/ComboboxItem.vue +1 -1
- package/src/components/ui/combobox/ComboboxItemIndicator.vue +1 -1
- package/src/components/ui/combobox/ComboboxList.vue +1 -1
- package/src/components/ui/combobox/ComboboxSeparator.vue +1 -1
- package/src/components/ui/combobox/ComboboxTrigger.vue +1 -1
- package/src/components/ui/combobox/ComboboxViewport.vue +1 -1
- package/src/components/ui/command/Command.vue +1 -1
- package/src/components/ui/command/CommandDialog.vue +2 -2
- package/src/components/ui/command/CommandEmpty.vue +1 -1
- package/src/components/ui/command/CommandGroup.vue +2 -2
- package/src/components/ui/command/CommandInput.vue +3 -3
- package/src/components/ui/command/CommandItem.vue +1 -1
- package/src/components/ui/command/CommandList.vue +1 -1
- package/src/components/ui/command/CommandSeparator.vue +1 -1
- package/src/components/ui/command/CommandShortcut.vue +1 -1
- package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +3 -3
- package/src/components/ui/context-menu/ContextMenuContent.vue +1 -1
- package/src/components/ui/context-menu/ContextMenuItem.vue +1 -1
- package/src/components/ui/context-menu/ContextMenuLabel.vue +1 -1
- package/src/components/ui/context-menu/ContextMenuRadioItem.vue +3 -3
- package/src/components/ui/context-menu/ContextMenuSeparator.vue +1 -1
- package/src/components/ui/context-menu/ContextMenuShortcut.vue +1 -1
- package/src/components/ui/context-menu/ContextMenuSubContent.vue +1 -1
- package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +2 -2
- package/src/components/ui/dialog/DialogContent.vue +18 -27
- package/src/components/ui/dialog/DialogDescription.vue +1 -1
- package/src/components/ui/dialog/DialogFooter.vue +1 -1
- package/src/components/ui/dialog/DialogHeader.vue +1 -1
- package/src/components/ui/dialog/DialogOverlay.vue +1 -1
- package/src/components/ui/dialog/DialogScrollContent.vue +5 -5
- package/src/components/ui/dialog/DialogTitle.vue +1 -1
- package/src/components/ui/drawer/DrawerContent.vue +6 -6
- package/src/components/ui/drawer/DrawerDescription.vue +1 -1
- package/src/components/ui/drawer/DrawerFooter.vue +1 -1
- package/src/components/ui/drawer/DrawerHeader.vue +1 -1
- package/src/components/ui/drawer/DrawerOverlay.vue +1 -1
- package/src/components/ui/drawer/DrawerTitle.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +2 -2
- package/src/components/ui/empty/Empty.vue +1 -1
- package/src/components/ui/empty/EmptyContent.vue +1 -1
- package/src/components/ui/empty/EmptyDescription.vue +2 -2
- package/src/components/ui/empty/EmptyHeader.vue +1 -1
- package/src/components/ui/empty/EmptyTitle.vue +1 -1
- package/src/components/ui/field/FieldContent.vue +1 -1
- package/src/components/ui/field/FieldDescription.vue +3 -3
- package/src/components/ui/field/FieldError.vue +2 -2
- package/src/components/ui/field/FieldGroup.vue +1 -1
- package/src/components/ui/field/FieldLabel.vue +3 -3
- package/src/components/ui/field/FieldLegend.vue +3 -3
- package/src/components/ui/field/FieldSeparator.vue +3 -3
- package/src/components/ui/field/FieldSet.vue +2 -2
- package/src/components/ui/field/FieldTitle.vue +1 -1
- package/src/components/ui/form/FormDescription.vue +1 -1
- package/src/components/ui/form/FormItem.vue +1 -1
- package/src/components/ui/form/FormLabel.vue +1 -1
- package/src/components/ui/form/FormMessage.vue +1 -1
- package/src/components/ui/hover-card/HoverCardContent.vue +1 -1
- package/src/components/ui/input/Input.vue +3 -3
- package/src/components/ui/input-group/InputGroup.vue +8 -8
- package/src/components/ui/input-group/InputGroupInput.vue +1 -1
- package/src/components/ui/input-group/InputGroupText.vue +1 -1
- package/src/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/src/components/ui/input-otp/InputOTP.vue +1 -1
- package/src/components/ui/input-otp/InputOTPGroup.vue +1 -1
- package/src/components/ui/input-otp/InputOTPSlot.vue +3 -3
- package/src/components/ui/item/ItemActions.vue +1 -1
- package/src/components/ui/item/ItemContent.vue +1 -1
- package/src/components/ui/item/ItemDescription.vue +2 -2
- package/src/components/ui/item/ItemFooter.vue +1 -1
- package/src/components/ui/item/ItemGroup.vue +1 -1
- package/src/components/ui/item/ItemHeader.vue +1 -1
- package/src/components/ui/item/ItemSeparator.vue +1 -1
- package/src/components/ui/item/ItemTitle.vue +1 -1
- package/src/components/ui/kbd/Kbd.vue +3 -3
- package/src/components/ui/kbd/KbdGroup.vue +1 -1
- package/src/components/ui/label/Label.vue +1 -1
- package/src/components/ui/menubar/Menubar.vue +1 -1
- package/src/components/ui/menubar/MenubarCheckboxItem.vue +3 -3
- package/src/components/ui/menubar/MenubarContent.vue +1 -1
- package/src/components/ui/menubar/MenubarItem.vue +1 -1
- package/src/components/ui/menubar/MenubarLabel.vue +1 -1
- package/src/components/ui/menubar/MenubarRadioItem.vue +3 -3
- package/src/components/ui/menubar/MenubarSeparator.vue +1 -1
- package/src/components/ui/menubar/MenubarShortcut.vue +1 -1
- package/src/components/ui/menubar/MenubarSubContent.vue +1 -1
- package/src/components/ui/menubar/MenubarSubTrigger.vue +2 -2
- package/src/components/ui/menubar/MenubarTrigger.vue +1 -1
- package/src/components/ui/native-select/NativeSelect.vue +5 -5
- package/src/components/ui/native-select/NativeSelectOptGroup.vue +1 -1
- package/src/components/ui/native-select/NativeSelectOption.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenu.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +2 -2
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +2 -2
- package/src/components/ui/navigation-menu/NavigationMenuItem.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuLink.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +2 -2
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +2 -2
- package/src/components/ui/number-field/NumberField.vue +1 -1
- package/src/components/ui/number-field/NumberFieldContent.vue +1 -1
- package/src/components/ui/number-field/NumberFieldDecrement.vue +2 -2
- package/src/components/ui/number-field/NumberFieldIncrement.vue +2 -2
- package/src/components/ui/number-field/NumberFieldInput.vue +1 -1
- package/src/components/ui/pagination/Pagination.vue +1 -1
- package/src/components/ui/pagination/PaginationContent.vue +1 -1
- package/src/components/ui/pagination/PaginationEllipsis.vue +3 -3
- package/src/components/ui/pagination/PaginationFirst.vue +2 -2
- package/src/components/ui/pagination/PaginationLast.vue +2 -2
- package/src/components/ui/pagination/PaginationNext.vue +2 -2
- package/src/components/ui/pagination/PaginationPrevious.vue +2 -2
- package/src/components/ui/pin-input/PinInput.vue +1 -1
- package/src/components/ui/pin-input/PinInputGroup.vue +1 -1
- package/src/components/ui/pin-input/PinInputSlot.vue +1 -1
- package/src/components/ui/popover/PopoverContent.vue +1 -1
- package/src/components/ui/progress/Progress.vue +12 -9
- package/src/components/ui/radio-group/RadioGroup.vue +1 -1
- package/src/components/ui/radio-group/RadioGroupItem.vue +16 -16
- package/src/components/ui/range-calendar/RangeCalendar.vue +4 -4
- package/src/components/ui/range-calendar/RangeCalendarCell.vue +1 -1
- package/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue +7 -7
- package/src/components/ui/range-calendar/RangeCalendarGrid.vue +1 -1
- package/src/components/ui/range-calendar/RangeCalendarGridRow.vue +1 -1
- package/src/components/ui/range-calendar/RangeCalendarHeadCell.vue +1 -1
- package/src/components/ui/range-calendar/RangeCalendarHeader.vue +1 -1
- package/src/components/ui/range-calendar/RangeCalendarHeading.vue +1 -1
- package/src/components/ui/range-calendar/RangeCalendarNextButton.vue +3 -3
- package/src/components/ui/range-calendar/RangeCalendarPrevButton.vue +3 -3
- package/src/components/ui/resizable/ResizableHandle.vue +3 -3
- package/src/components/ui/resizable/ResizablePanelGroup.vue +1 -1
- package/src/components/ui/scroll-area/ScrollArea.vue +2 -2
- package/src/components/ui/scroll-area/ScrollBar.vue +16 -22
- package/src/components/ui/select/SelectContent.vue +18 -27
- package/src/components/ui/select/SelectItem.vue +3 -3
- package/src/components/ui/select/SelectLabel.vue +1 -1
- package/src/components/ui/select/SelectScrollDownButton.vue +2 -2
- package/src/components/ui/select/SelectScrollUpButton.vue +2 -2
- package/src/components/ui/select/SelectSeparator.vue +1 -1
- package/src/components/ui/select/SelectTrigger.vue +2 -2
- package/src/components/ui/separator/Separator.vue +1 -1
- package/src/components/ui/sheet/SheetContent.vue +28 -31
- package/src/components/ui/sheet/SheetDescription.vue +1 -1
- package/src/components/ui/sheet/SheetFooter.vue +1 -1
- package/src/components/ui/sheet/SheetHeader.vue +1 -1
- package/src/components/ui/sheet/SheetOverlay.vue +1 -1
- package/src/components/ui/sheet/SheetTitle.vue +1 -1
- package/src/components/ui/sidebar/Sidebar.vue +16 -16
- package/src/components/ui/sidebar/SidebarContent.vue +1 -1
- package/src/components/ui/sidebar/SidebarFooter.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroup.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroupAction.vue +3 -3
- package/src/components/ui/sidebar/SidebarGroupContent.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +2 -2
- package/src/components/ui/sidebar/SidebarHeader.vue +1 -1
- package/src/components/ui/sidebar/SidebarInput.vue +1 -1
- package/src/components/ui/sidebar/SidebarInset.vue +2 -2
- package/src/components/ui/sidebar/SidebarMenu.vue +1 -1
- package/src/components/ui/sidebar/SidebarMenuAction.vue +7 -7
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +6 -6
- package/src/components/ui/sidebar/SidebarMenuItem.vue +1 -1
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +3 -3
- package/src/components/ui/sidebar/SidebarMenuSub.vue +2 -2
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +5 -5
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
- package/src/components/ui/sidebar/SidebarProvider.vue +1 -1
- package/src/components/ui/sidebar/SidebarRail.vue +6 -6
- package/src/components/ui/sidebar/SidebarSeparator.vue +1 -1
- package/src/components/ui/sidebar/SidebarTrigger.vue +2 -2
- package/src/components/ui/skeleton/Skeleton.vue +1 -1
- package/src/components/ui/slider/Slider.vue +4 -4
- package/src/components/ui/sonner/Sonner.vue +7 -7
- package/src/components/ui/spinner/Spinner.vue +1 -1
- package/src/components/ui/stepper/Stepper.vue +1 -1
- package/src/components/ui/stepper/StepperDescription.vue +1 -1
- package/src/components/ui/stepper/StepperIndicator.vue +4 -4
- package/src/components/ui/stepper/StepperItem.vue +1 -1
- package/src/components/ui/stepper/StepperSeparator.vue +3 -3
- package/src/components/ui/stepper/StepperTitle.vue +1 -1
- package/src/components/ui/stepper/StepperTrigger.vue +1 -1
- package/src/components/ui/switch/Switch.vue +2 -2
- package/src/components/ui/table/Table.vue +6 -12
- package/src/components/ui/table/TableBody.vue +1 -1
- package/src/components/ui/table/TableCaption.vue +1 -1
- package/src/components/ui/table/TableCell.vue +1 -1
- package/src/components/ui/table/TableEmpty.vue +14 -17
- package/src/components/ui/table/TableFooter.vue +1 -1
- package/src/components/ui/table/TableHead.vue +1 -1
- package/src/components/ui/table/TableHeader.vue +1 -1
- package/src/components/ui/table/TableRow.vue +1 -1
- package/src/components/ui/tabs/Tabs.vue +1 -1
- package/src/components/ui/tabs/TabsContent.vue +1 -1
- package/src/components/ui/tabs/TabsList.vue +1 -1
- package/src/components/ui/tabs/TabsTrigger.vue +1 -1
- package/src/components/ui/tags-input/TagsInput.vue +3 -3
- package/src/components/ui/tags-input/TagsInputInput.vue +1 -1
- package/src/components/ui/tags-input/TagsInputItem.vue +1 -1
- package/src/components/ui/tags-input/TagsInputItemDelete.vue +2 -2
- package/src/components/ui/tags-input/TagsInputItemText.vue +1 -1
- package/src/components/ui/textarea/Textarea.vue +1 -1
- package/src/components/ui/toggle-group/ToggleGroup.vue +1 -1
- package/src/components/ui/toggle-group/ToggleGroupItem.vue +2 -2
- package/src/components/ui/tooltip/TooltipContent.vue +2 -2
- package/src/components/ui/checkbox/NsCheckbox.vue +0 -123
- package/src/components/ui/empty-state/NsEmptyState.vue +0 -149
- package/src/components/ui/inline-notification/NsInlineNotification.vue +0 -163
- package/src/components/ui/tag/NsTag.vue +0 -114
- package/src/components/ui/text-input/NsTextInput.vue +0 -269
- package/src/components/ui/toggle/NsToggle.vue +0 -126
package/dist/ns8-ui-lib.es.js
CHANGED
|
@@ -23134,10 +23134,10 @@ function cn(...e) {
|
|
|
23134
23134
|
//#region src/components/NS/checkbox/NSCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
23135
23135
|
var _hoisted_1$19 = {
|
|
23136
23136
|
key: 1,
|
|
23137
|
-
class: "
|
|
23138
|
-
}, _hoisted_2$18 = { class: "
|
|
23137
|
+
class: "h-1 w-2 bg-current rounded-sm"
|
|
23138
|
+
}, _hoisted_2$18 = { class: "grid gap-1.5" }, _hoisted_3$17 = ["for"], _hoisted_4$14 = {
|
|
23139
23139
|
key: 2,
|
|
23140
|
-
class: "
|
|
23140
|
+
class: "text-sm text-destructive"
|
|
23141
23141
|
}, NSCheckbox_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
23142
23142
|
__name: "NSCheckbox",
|
|
23143
23143
|
props: {
|
|
@@ -23181,7 +23181,7 @@ var _hoisted_1$19 = {
|
|
|
23181
23181
|
default: withCtx(() => [createVNode(unref(jv), { class: normalizeClass(unref(cn)("flex items-center justify-center text-current", { "opacity-50": e.indeterminate })) }, {
|
|
23182
23182
|
default: withCtx(() => [e.indeterminate ? (openBlock(), createElementBlock("div", _hoisted_1$19)) : (openBlock(), createBlock(unref(Check), {
|
|
23183
23183
|
key: 0,
|
|
23184
|
-
class: "
|
|
23184
|
+
class: "h-4 w-4"
|
|
23185
23185
|
}))]),
|
|
23186
23186
|
_: 1
|
|
23187
23187
|
}, 8, ["class"])]),
|
|
@@ -23214,7 +23214,7 @@ var _hoisted_1$19 = {
|
|
|
23214
23214
|
renderSlot(t.$slots, "extra")
|
|
23215
23215
|
])], 2));
|
|
23216
23216
|
}
|
|
23217
|
-
}), NSCheckbox_default = NSCheckbox_vue_vue_type_script_setup_true_lang_default, _hoisted_1$18 = ["for"], _hoisted_2$17 = { class: "
|
|
23217
|
+
}), NSCheckbox_default = NSCheckbox_vue_vue_type_script_setup_true_lang_default, _hoisted_1$18 = ["for"], _hoisted_2$17 = { class: "relative" }, _hoisted_3$16 = [
|
|
23218
23218
|
"id",
|
|
23219
23219
|
"type",
|
|
23220
23220
|
"placeholder",
|
|
@@ -23225,7 +23225,7 @@ var _hoisted_1$19 = {
|
|
|
23225
23225
|
"value"
|
|
23226
23226
|
], _hoisted_4$13 = {
|
|
23227
23227
|
key: 1,
|
|
23228
|
-
class: "
|
|
23228
|
+
class: "absolute right-0 top-1/2 transform -translate-y-1/2 flex items-center gap-1 pr-3"
|
|
23229
23229
|
}, _hoisted_5$10 = ["disabled", "title"], NSTextInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
23230
23230
|
__name: "NSTextInput",
|
|
23231
23231
|
props: {
|
|
@@ -23348,10 +23348,10 @@ var _hoisted_1$19 = {
|
|
|
23348
23348
|
title: c.value ? "Hide password" : "Show password"
|
|
23349
23349
|
}, [c.value ? (openBlock(), createBlock(unref(EyeOff), {
|
|
23350
23350
|
key: 0,
|
|
23351
|
-
class: "
|
|
23351
|
+
class: "h-4 w-4"
|
|
23352
23352
|
})) : (openBlock(), createBlock(unref(Eye), {
|
|
23353
23353
|
key: 1,
|
|
23354
|
-
class: "
|
|
23354
|
+
class: "h-4 w-4"
|
|
23355
23355
|
}))], 10, _hoisted_5$10)) : createCommentVNode("", !0)])) : createCommentVNode("", !0)
|
|
23356
23356
|
]),
|
|
23357
23357
|
g.value ? (openBlock(), createElementBlock("p", {
|
|
@@ -23364,14 +23364,14 @@ var _hoisted_1$19 = {
|
|
|
23364
23364
|
}))
|
|
23365
23365
|
}, [_.value ? (openBlock(), createBlock(resolveDynamicComponent(_.value), {
|
|
23366
23366
|
key: 0,
|
|
23367
|
-
class: "
|
|
23367
|
+
class: "h-4 w-4 mt-0.5 flex-shrink-0"
|
|
23368
23368
|
})) : createCommentVNode("", !0), createElementVNode("span", null, toDisplayString(g.value), 1)], 2)) : createCommentVNode("", !0),
|
|
23369
23369
|
renderSlot(t.$slots, "extra")
|
|
23370
23370
|
], 2));
|
|
23371
23371
|
}
|
|
23372
|
-
}), NSTextInput_default = NSTextInput_vue_vue_type_script_setup_true_lang_default, _hoisted_1$17 = { class: "
|
|
23372
|
+
}), NSTextInput_default = NSTextInput_vue_vue_type_script_setup_true_lang_default, _hoisted_1$17 = { class: "grid gap-1.5" }, _hoisted_2$16 = ["for"], _hoisted_3$15 = {
|
|
23373
23373
|
key: 2,
|
|
23374
|
-
class: "
|
|
23374
|
+
class: "text-sm text-muted-foreground"
|
|
23375
23375
|
}, NSToggle_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
23376
23376
|
__name: "NSToggle",
|
|
23377
23377
|
props: {
|
|
@@ -23472,8 +23472,8 @@ var _hoisted_1$19 = {
|
|
|
23472
23472
|
}
|
|
23473
23473
|
}), NSToggle_default = NSToggle_vue_vue_type_script_setup_true_lang_default, _hoisted_1$16 = {
|
|
23474
23474
|
key: 0,
|
|
23475
|
-
class: "
|
|
23476
|
-
}, _hoisted_2$15 = ["innerHTML"], _hoisted_3$14 = { class: "
|
|
23475
|
+
class: "flex items-center justify-center"
|
|
23476
|
+
}, _hoisted_2$15 = ["innerHTML"], _hoisted_3$14 = { class: "truncate max-w-[200px]" }, _hoisted_4$12 = [
|
|
23477
23477
|
"disabled",
|
|
23478
23478
|
"aria-label",
|
|
23479
23479
|
"title"
|
|
@@ -23536,11 +23536,11 @@ var _hoisted_1$19 = {
|
|
|
23536
23536
|
default: withCtx(() => [
|
|
23537
23537
|
e.icon && !o.value ? (openBlock(), createElementBlock("div", _hoisted_1$16, [typeof e.icon == "object" ? (openBlock(), createBlock(resolveDynamicComponent(e.icon), {
|
|
23538
23538
|
key: 0,
|
|
23539
|
-
class: "
|
|
23539
|
+
class: "h-3 w-3"
|
|
23540
23540
|
})) : typeof e.icon == "string" ? (openBlock(), createElementBlock("div", {
|
|
23541
23541
|
key: 1,
|
|
23542
23542
|
innerHTML: e.icon,
|
|
23543
|
-
class: "
|
|
23543
|
+
class: "h-3 w-3"
|
|
23544
23544
|
}, null, 8, _hoisted_2$15)) : createCommentVNode("", !0)])) : createCommentVNode("", !0),
|
|
23545
23545
|
createElementVNode("span", _hoisted_3$14, [renderSlot(t.$slots, "default", {}, () => [createTextVNode(toDisplayString(e.label), 1)])]),
|
|
23546
23546
|
o.value ? (openBlock(), createElementBlock("button", {
|
|
@@ -23551,7 +23551,7 @@ var _hoisted_1$19 = {
|
|
|
23551
23551
|
"aria-label": e.clearAriaLabel,
|
|
23552
23552
|
title: e.clearAriaLabel,
|
|
23553
23553
|
onClick: l
|
|
23554
|
-
}, [createVNode(unref(X), { class: "
|
|
23554
|
+
}, [createVNode(unref(X), { class: "h-3 w-3" })], 10, _hoisted_4$12)) : createCommentVNode("", !0)
|
|
23555
23555
|
]),
|
|
23556
23556
|
_: 3
|
|
23557
23557
|
}, 40, [
|
|
@@ -30679,14 +30679,14 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
30679
30679
|
"role"
|
|
30680
30680
|
], _hoisted_2$14 = {
|
|
30681
30681
|
key: 0,
|
|
30682
|
-
class: "
|
|
30682
|
+
class: "flex items-center justify-center h-full"
|
|
30683
30683
|
}, _hoisted_3$13 = {
|
|
30684
30684
|
key: 0,
|
|
30685
|
-
class: "
|
|
30685
|
+
class: "ml-2 text-sm text-muted-foreground"
|
|
30686
30686
|
}, _hoisted_4$11 = {
|
|
30687
30687
|
key: 1,
|
|
30688
|
-
class: "
|
|
30689
|
-
}, _hoisted_5$9 = { class: "
|
|
30688
|
+
class: "flex items-center justify-center h-full text-destructive"
|
|
30689
|
+
}, _hoisted_5$9 = { class: "text-sm" }, NSLottieAnimation_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
30690
30690
|
__name: "NSLottieAnimation",
|
|
30691
30691
|
props: {
|
|
30692
30692
|
path: {},
|
|
@@ -30810,7 +30810,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
30810
30810
|
role: e.role,
|
|
30811
30811
|
onMouseover: L,
|
|
30812
30812
|
onMouseout: B
|
|
30813
|
-
}, [o.value && !c.value ? (openBlock(), createElementBlock("div", _hoisted_2$14, [n[0] ||= createElementVNode("div", { class: "
|
|
30813
|
+
}, [o.value && !c.value ? (openBlock(), createElementBlock("div", _hoisted_2$14, [n[0] ||= createElementVNode("div", { class: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }, null, -1), e.placeholder ? (openBlock(), createElementBlock("span", _hoisted_3$13, toDisplayString(e.placeholder), 1)) : createCommentVNode("", !0)])) : s.value ? (openBlock(), createElementBlock("div", _hoisted_4$11, [createElementVNode("div", _hoisted_5$9, toDisplayString(u.value || "Failed to load animation"), 1)])) : createCommentVNode("", !0), e.path || e.animationData ? (openBlock(), createBlock(unref(_sfc_main), {
|
|
30814
30814
|
key: 2,
|
|
30815
30815
|
ref_key: "lottieRef",
|
|
30816
30816
|
ref: d,
|
|
@@ -30831,12 +30831,12 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
30831
30831
|
"class"
|
|
30832
30832
|
])) : createCommentVNode("", !0)], 46, _hoisted_1$15));
|
|
30833
30833
|
}
|
|
30834
|
-
}), NSLottieAnimation_default = NSLottieAnimation_vue_vue_type_script_setup_true_lang_default, _hoisted_1$14 = { class: "
|
|
30834
|
+
}), NSLottieAnimation_default = NSLottieAnimation_vue_vue_type_script_setup_true_lang_default, _hoisted_1$14 = { class: "mb-4" }, _hoisted_2$13 = {
|
|
30835
30835
|
key: 2,
|
|
30836
|
-
class: "
|
|
30836
|
+
class: "mt-4"
|
|
30837
30837
|
}, _hoisted_3$12 = {
|
|
30838
30838
|
key: 3,
|
|
30839
|
-
class: "
|
|
30839
|
+
class: "mt-6"
|
|
30840
30840
|
}, NSEmptyState_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
30841
30841
|
__name: "NSEmptyState",
|
|
30842
30842
|
props: {
|
|
@@ -30928,10 +30928,10 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
30928
30928
|
}
|
|
30929
30929
|
}), NSEmptyState_default = NSEmptyState_vue_vue_type_script_setup_true_lang_default, _hoisted_1$13 = ["role", "aria-live"], _hoisted_2$12 = {
|
|
30930
30930
|
key: 1,
|
|
30931
|
-
class: "
|
|
30932
|
-
}, _hoisted_3$11 = { class: "
|
|
30931
|
+
class: "h-4 w-4 absolute right-12 top-4"
|
|
30932
|
+
}, _hoisted_3$11 = { class: "grid gap-1" }, _hoisted_4$10 = {
|
|
30933
30933
|
key: 0,
|
|
30934
|
-
class: "
|
|
30934
|
+
class: "text-sm font-medium leading-none"
|
|
30935
30935
|
}, _hoisted_5$8 = ["aria-label"], NSInlineNotification_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
30936
30936
|
__name: "NSInlineNotification",
|
|
30937
30937
|
props: {
|
|
@@ -30978,12 +30978,12 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
30978
30978
|
role: s.value,
|
|
30979
30979
|
"aria-live": c.value
|
|
30980
30980
|
}, [
|
|
30981
|
-
(openBlock(), createBlock(resolveDynamicComponent(a.value), { class: "
|
|
30981
|
+
(openBlock(), createBlock(resolveDynamicComponent(a.value), { class: "h-4 w-4" })),
|
|
30982
30982
|
e.loading ? (openBlock(), createBlock(unref(Loader2), {
|
|
30983
30983
|
key: 0,
|
|
30984
|
-
class: "
|
|
30984
|
+
class: "h-4 w-4 animate-spin absolute right-12 top-4"
|
|
30985
30985
|
})) : createCommentVNode("", !0),
|
|
30986
|
-
e.timer ? (openBlock(), createElementBlock("div", _hoisted_2$12, [...n[2] ||= [createElementVNode("div", { class: "
|
|
30986
|
+
e.timer ? (openBlock(), createElementBlock("div", _hoisted_2$12, [...n[2] ||= [createElementVNode("div", { class: "h-4 w-4 rounded-full border-2 border-current animate-pulse" }, null, -1)]])) : createCommentVNode("", !0),
|
|
30987
30987
|
createElementVNode("div", _hoisted_3$11, [
|
|
30988
30988
|
l.value ? (openBlock(), createElementBlock("h4", _hoisted_4$10, [renderSlot(t.$slots, "title", {}, () => [createTextVNode(toDisplayString(e.title), 1)])])) : createCommentVNode("", !0),
|
|
30989
30989
|
u.value ? (openBlock(), createElementBlock("p", {
|
|
@@ -30993,7 +30993,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
30993
30993
|
d.value ? (openBlock(), createElementBlock("button", {
|
|
30994
30994
|
key: 2,
|
|
30995
30995
|
type: "button",
|
|
30996
|
-
class: "
|
|
30996
|
+
class: "inline-flex items-center text-sm font-medium underline underline-offset-2 hover:no-underline focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 rounded-sm",
|
|
30997
30997
|
onClick: n[0] ||= (e) => i("action")
|
|
30998
30998
|
}, toDisplayString(e.actionLabel), 1)) : createCommentVNode("", !0)
|
|
30999
30999
|
]),
|
|
@@ -31001,18 +31001,18 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31001
31001
|
key: 2,
|
|
31002
31002
|
type: "button",
|
|
31003
31003
|
"aria-label": e.closeAriaLabel,
|
|
31004
|
-
class: "
|
|
31004
|
+
class: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
31005
31005
|
onClick: n[1] ||= (e) => i("close")
|
|
31006
|
-
}, [createVNode(unref(X), { class: "
|
|
31006
|
+
}, [createVNode(unref(X), { class: "h-4 w-4" })], 8, _hoisted_5$8)) : createCommentVNode("", !0),
|
|
31007
31007
|
renderSlot(t.$slots, "extra")
|
|
31008
31008
|
], 10, _hoisted_1$13));
|
|
31009
31009
|
}
|
|
31010
|
-
}), NSInlineNotification_default = NSInlineNotification_vue_vue_type_script_setup_true_lang_default, _hoisted_1$12 = { class: "
|
|
31010
|
+
}), NSInlineNotification_default = NSInlineNotification_vue_vue_type_script_setup_true_lang_default, _hoisted_1$12 = { class: "grid gap-1" }, _hoisted_2$11 = {
|
|
31011
31011
|
key: 0,
|
|
31012
|
-
class: "
|
|
31012
|
+
class: "text-sm font-semibold"
|
|
31013
31013
|
}, _hoisted_3$10 = {
|
|
31014
31014
|
key: 1,
|
|
31015
|
-
class: "
|
|
31015
|
+
class: "text-sm opacity-90"
|
|
31016
31016
|
}, _hoisted_4$9 = ["aria-label"], NSToastNotification_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
31017
31017
|
__name: "NSToastNotification",
|
|
31018
31018
|
props: {
|
|
@@ -31059,10 +31059,10 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31059
31059
|
"bottom-center": "bottom-0 left-1/2 -translate-x-1/2"
|
|
31060
31060
|
}[n.position]));
|
|
31061
31061
|
return (t, n) => (openBlock(), createElementBlock("div", { class: normalizeClass(s.value) }, [createElementVNode("div", { class: normalizeClass(o.value) }, [
|
|
31062
|
-
(openBlock(), createBlock(resolveDynamicComponent(a.value), { class: "
|
|
31062
|
+
(openBlock(), createBlock(resolveDynamicComponent(a.value), { class: "h-5 w-5 shrink-0" })),
|
|
31063
31063
|
e.loading ? (openBlock(), createBlock(unref(Loader2), {
|
|
31064
31064
|
key: 0,
|
|
31065
|
-
class: "
|
|
31065
|
+
class: "h-5 w-5 shrink-0 animate-spin"
|
|
31066
31066
|
})) : createCommentVNode("", !0),
|
|
31067
31067
|
createElementVNode("div", _hoisted_1$12, [
|
|
31068
31068
|
e.title || t.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2$11, [renderSlot(t.$slots, "title", {}, () => [createTextVNode(toDisplayString(e.title), 1)], !0)])) : createCommentVNode("", !0),
|
|
@@ -31095,10 +31095,10 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31095
31095
|
].includes(e.variant)
|
|
31096
31096
|
})),
|
|
31097
31097
|
onClick: n[1] ||= (e) => i("close")
|
|
31098
|
-
}, [createVNode(unref(X), { class: "
|
|
31098
|
+
}, [createVNode(unref(X), { class: "h-4 w-4" })], 10, _hoisted_4$9)) : createCommentVNode("", !0),
|
|
31099
31099
|
e.duration > 0 ? (openBlock(), createElementBlock("div", {
|
|
31100
31100
|
key: 2,
|
|
31101
|
-
class: "
|
|
31101
|
+
class: "absolute bottom-0 left-0 h-1 bg-black/20 dark:bg-white/20 animate-[shrink_x_var(--duration)_linear_forwards]",
|
|
31102
31102
|
style: normalizeStyle({ "--duration": `${e.duration}ms` })
|
|
31103
31103
|
}, null, 4)) : createCommentVNode("", !0)
|
|
31104
31104
|
], 2)], 2));
|
|
@@ -31107,12 +31107,12 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31107
31107
|
let n = e.__vccOpts || e;
|
|
31108
31108
|
for (let [e, i] of t) n[e] = i;
|
|
31109
31109
|
return n;
|
|
31110
|
-
}, NSToastNotification_default = /* @__PURE__ */ _plugin_vue_export_helper_default(NSToastNotification_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
31110
|
+
}, NSToastNotification_default = /* @__PURE__ */ _plugin_vue_export_helper_default(NSToastNotification_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-28d36942"]]), _hoisted_1$11 = { class: "space-y-2" }, _hoisted_2$10 = {
|
|
31111
31111
|
key: 0,
|
|
31112
|
-
class: "
|
|
31112
|
+
class: "flex items-center justify-between"
|
|
31113
31113
|
}, _hoisted_3$9 = ["aria-valuenow", "aria-valuemax"], _hoisted_4$8 = {
|
|
31114
31114
|
key: 1,
|
|
31115
|
-
class: "
|
|
31115
|
+
class: "text-sm text-muted-foreground"
|
|
31116
31116
|
}, NSProgress_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
31117
31117
|
__name: "NSProgress",
|
|
31118
31118
|
props: {
|
|
@@ -31175,15 +31175,15 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31175
31175
|
}, void 0, !0)])) : createCommentVNode("", !0)
|
|
31176
31176
|
]));
|
|
31177
31177
|
}
|
|
31178
|
-
}), NSProgress_default = /* @__PURE__ */ _plugin_vue_export_helper_default(NSProgress_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
31178
|
+
}), NSProgress_default = /* @__PURE__ */ _plugin_vue_export_helper_default(NSProgress_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-257fd9e2"]]), _hoisted_1$10 = { class: "space-y-2" }, _hoisted_2$9 = {
|
|
31179
31179
|
key: 0,
|
|
31180
|
-
class: "
|
|
31180
|
+
class: "flex items-center justify-between"
|
|
31181
31181
|
}, _hoisted_3$8 = ["aria-valuenow", "aria-valuemax"], _hoisted_4$7 = {
|
|
31182
31182
|
key: 0,
|
|
31183
|
-
class: "
|
|
31183
|
+
class: "h-full w-full bg-gradient-to-r from-transparent via-white/20 to-transparent animate-[shimmer_2s_ease-in-out_infinite]"
|
|
31184
31184
|
}, _hoisted_5$7 = {
|
|
31185
31185
|
key: 1,
|
|
31186
|
-
class: "
|
|
31186
|
+
class: "text-sm text-muted-foreground"
|
|
31187
31187
|
}, NSProgressBar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
31188
31188
|
__name: "NSProgressBar",
|
|
31189
31189
|
props: {
|
|
@@ -31255,7 +31255,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31255
31255
|
}, void 0, !0)])) : createCommentVNode("", !0)
|
|
31256
31256
|
]));
|
|
31257
31257
|
}
|
|
31258
|
-
}), NSProgressBar_default = /* @__PURE__ */ _plugin_vue_export_helper_default(NSProgressBar_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
31258
|
+
}), NSProgressBar_default = /* @__PURE__ */ _plugin_vue_export_helper_default(NSProgressBar_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-fa7b6aa9"]]), _hoisted_1$9 = { class: "space-y-1" }, _hoisted_2$8 = { class: "flex items-center gap-2" }, _hoisted_3$7 = ["title"], NSModal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
31259
31259
|
__name: "NSModal",
|
|
31260
31260
|
props: {
|
|
31261
31261
|
open: { type: Boolean },
|
|
@@ -31331,33 +31331,33 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31331
31331
|
class: normalizeClass(unref(cn)("flex items-center justify-between", o.value ? "border-b p-6" : "mb-4"))
|
|
31332
31332
|
}, [createElementVNode("div", _hoisted_1$9, [e.title || t.$slots.title ? (openBlock(), createBlock(unref(Bu), {
|
|
31333
31333
|
key: 0,
|
|
31334
|
-
class: "
|
|
31334
|
+
class: "text-lg font-semibold leading-none tracking-tight"
|
|
31335
31335
|
}, {
|
|
31336
31336
|
default: withCtx(() => [renderSlot(t.$slots, "title", {}, () => [createTextVNode(toDisplayString(e.title), 1)])]),
|
|
31337
31337
|
_: 3
|
|
31338
31338
|
})) : createCommentVNode("", !0), e.description || t.$slots.description ? (openBlock(), createBlock(unref(Iu), {
|
|
31339
31339
|
key: 1,
|
|
31340
|
-
class: "
|
|
31340
|
+
class: "text-sm text-muted-foreground"
|
|
31341
31341
|
}, {
|
|
31342
31342
|
default: withCtx(() => [renderSlot(t.$slots, "description", {}, () => [createTextVNode(toDisplayString(e.description), 1)])]),
|
|
31343
31343
|
_: 3
|
|
31344
31344
|
})) : createCommentVNode("", !0)]), createElementVNode("div", _hoisted_2$8, [e.fullscreen ? createCommentVNode("", !0) : (openBlock(), createElementBlock("button", {
|
|
31345
31345
|
key: 0,
|
|
31346
31346
|
type: "button",
|
|
31347
|
-
class: "
|
|
31347
|
+
class: "rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
31348
31348
|
title: o.value ? "Exit fullscreen" : "Enter fullscreen",
|
|
31349
31349
|
onClick: n[1] ||= (e) => o.value = !o.value
|
|
31350
31350
|
}, [o.value ? (openBlock(), createBlock(unref(Minimize2), {
|
|
31351
31351
|
key: 1,
|
|
31352
|
-
class: "
|
|
31352
|
+
class: "h-4 w-4"
|
|
31353
31353
|
})) : (openBlock(), createBlock(unref(Maximize2), {
|
|
31354
31354
|
key: 0,
|
|
31355
|
-
class: "
|
|
31355
|
+
class: "h-4 w-4"
|
|
31356
31356
|
}))], 8, _hoisted_3$7)), e.showCloseButton && !e.persistent ? (openBlock(), createBlock(unref(Xl), {
|
|
31357
31357
|
key: 1,
|
|
31358
|
-
class: "
|
|
31358
|
+
class: "rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none"
|
|
31359
31359
|
}, {
|
|
31360
|
-
default: withCtx(() => [createVNode(unref(X), { class: "
|
|
31360
|
+
default: withCtx(() => [createVNode(unref(X), { class: "h-4 w-4" }), n[2] ||= createElementVNode("span", { class: "sr-only" }, "Close", -1)]),
|
|
31361
31361
|
_: 1
|
|
31362
31362
|
})) : createCommentVNode("", !0)])], 2)) : createCommentVNode("", !0),
|
|
31363
31363
|
renderSlot(t.$slots, "header"),
|
|
@@ -31432,7 +31432,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31432
31432
|
ref_key: "triggerRef",
|
|
31433
31433
|
ref: o,
|
|
31434
31434
|
onClick: n[0] ||= (e) => a.value = !a.value,
|
|
31435
|
-
class: "
|
|
31435
|
+
class: "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90"
|
|
31436
31436
|
}, " Open Modal ", 512))]), createVNode(NSModal_default, {
|
|
31437
31437
|
modelValue: a.value,
|
|
31438
31438
|
"onUpdate:modelValue": n[1] ||= (e) => a.value = e,
|
|
@@ -31478,10 +31478,10 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31478
31478
|
}
|
|
31479
31479
|
}), NSModalTrigger_default = NSModalTrigger_vue_vue_type_script_setup_true_lang_default, _hoisted_1$8 = {
|
|
31480
31480
|
key: 0,
|
|
31481
|
-
class: "
|
|
31481
|
+
class: "flex items-center justify-between mb-2"
|
|
31482
31482
|
}, _hoisted_2$7 = {
|
|
31483
31483
|
key: 1,
|
|
31484
|
-
class: "
|
|
31484
|
+
class: "mt-2"
|
|
31485
31485
|
}, NSSlider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
31486
31486
|
__name: "NSSlider",
|
|
31487
31487
|
props: {
|
|
@@ -31563,10 +31563,10 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31563
31563
|
}
|
|
31564
31564
|
}), NSSlider_default = NSSlider_vue_vue_type_script_setup_true_lang_default, _hoisted_1$7 = {
|
|
31565
31565
|
key: 0,
|
|
31566
|
-
class: "
|
|
31567
|
-
}, _hoisted_2$6 = { class: "
|
|
31566
|
+
class: "flex items-center justify-between mb-2"
|
|
31567
|
+
}, _hoisted_2$6 = { class: "relative mt-2 flex justify-between text-xs text-muted-foreground" }, _hoisted_3$6 = { key: 0 }, _hoisted_4$6 = { key: 1 }, _hoisted_5$6 = {
|
|
31568
31568
|
key: 1,
|
|
31569
|
-
class: "
|
|
31569
|
+
class: "mt-2"
|
|
31570
31570
|
}, NSByteSlider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
31571
31571
|
__name: "NSByteSlider",
|
|
31572
31572
|
props: {
|
|
@@ -31649,16 +31649,16 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31649
31649
|
}
|
|
31650
31650
|
}), NSByteSlider_default = NSByteSlider_vue_vue_type_script_setup_true_lang_default, _hoisted_1$6 = {
|
|
31651
31651
|
key: 0,
|
|
31652
|
-
class: "
|
|
31652
|
+
class: "text-sm text-muted-foreground"
|
|
31653
31653
|
}, _hoisted_2$5 = {
|
|
31654
31654
|
key: 1,
|
|
31655
|
-
class: "
|
|
31656
|
-
}, _hoisted_3$5 = ["disabled"], _hoisted_4$5 = ["value"], _hoisted_5$5 = { class: "
|
|
31655
|
+
class: "flex items-center gap-2"
|
|
31656
|
+
}, _hoisted_3$5 = ["disabled"], _hoisted_4$5 = ["value"], _hoisted_5$5 = { class: "flex items-center gap-1" }, _hoisted_6$5 = ["disabled"], _hoisted_7$5 = ["disabled", "onClick"], _hoisted_8$5 = {
|
|
31657
31657
|
key: 1,
|
|
31658
|
-
class: "
|
|
31658
|
+
class: "flex items-center justify-center h-8 w-8 text-sm text-muted-foreground"
|
|
31659
31659
|
}, _hoisted_9$5 = ["disabled"], _hoisted_10$5 = {
|
|
31660
31660
|
key: 2,
|
|
31661
|
-
class: "
|
|
31661
|
+
class: "flex items-center gap-2"
|
|
31662
31662
|
}, _hoisted_11$5 = [
|
|
31663
31663
|
"max",
|
|
31664
31664
|
"value",
|
|
@@ -31747,7 +31747,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31747
31747
|
};
|
|
31748
31748
|
return (t, n) => (openBlock(), createElementBlock("div", { class: normalizeClass(d.value) }, [
|
|
31749
31749
|
e.showTotal && e.totalItems ? (openBlock(), createElementBlock("div", _hoisted_1$6, " Total: " + toDisplayString(e.totalItems) + " items ", 1)) : createCommentVNode("", !0),
|
|
31750
|
-
e.showSizeChanger ? (openBlock(), createElementBlock("div", _hoisted_2$5, [n[1] ||= createElementVNode("span", { class: "
|
|
31750
|
+
e.showSizeChanger ? (openBlock(), createElementBlock("div", _hoisted_2$5, [n[1] ||= createElementVNode("span", { class: "text-sm text-muted-foreground" }, "Items per page:", -1), withDirectives(createElementVNode("select", {
|
|
31751
31751
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
31752
31752
|
disabled: e.disabled,
|
|
31753
31753
|
class: normalizeClass(g.value)
|
|
@@ -31761,21 +31761,21 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31761
31761
|
disabled: !l.value || e.disabled,
|
|
31762
31762
|
onClick: x,
|
|
31763
31763
|
"aria-label": "Previous page"
|
|
31764
|
-
}, [createVNode(unref(ChevronLeft), { class: "
|
|
31764
|
+
}, [createVNode(unref(ChevronLeft), { class: "h-4 w-4" })], 10, _hoisted_6$5),
|
|
31765
31765
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (t, n) => (openBlock(), createElementBlock(Fragment, { key: `page-${n}` }, [typeof t == "number" ? (openBlock(), createElementBlock("button", {
|
|
31766
31766
|
key: 0,
|
|
31767
31767
|
class: normalizeClass(t === o.value ? p.value : f.value),
|
|
31768
31768
|
disabled: e.disabled,
|
|
31769
31769
|
onClick: (e) => _(t)
|
|
31770
|
-
}, toDisplayString(t), 11, _hoisted_7$5)) : (openBlock(), createElementBlock("span", _hoisted_8$5, [createVNode(unref(MoreHorizontal), { class: "
|
|
31770
|
+
}, toDisplayString(t), 11, _hoisted_7$5)) : (openBlock(), createElementBlock("span", _hoisted_8$5, [createVNode(unref(MoreHorizontal), { class: "h-4 w-4" })]))], 64))), 128)),
|
|
31771
31771
|
createElementVNode("button", {
|
|
31772
31772
|
class: normalizeClass(f.value),
|
|
31773
31773
|
disabled: !u.value || e.disabled,
|
|
31774
31774
|
onClick: S,
|
|
31775
31775
|
"aria-label": "Next page"
|
|
31776
|
-
}, [createVNode(unref(ChevronRight), { class: "
|
|
31776
|
+
}, [createVNode(unref(ChevronRight), { class: "h-4 w-4" })], 10, _hoisted_9$5)
|
|
31777
31777
|
]),
|
|
31778
|
-
e.showQuickJumper ? (openBlock(), createElementBlock("div", _hoisted_10$5, [n[2] ||= createElementVNode("span", { class: "
|
|
31778
|
+
e.showQuickJumper ? (openBlock(), createElementBlock("div", _hoisted_10$5, [n[2] ||= createElementVNode("span", { class: "text-sm text-muted-foreground" }, "Go to page:", -1), createElementVNode("input", {
|
|
31779
31779
|
type: "number",
|
|
31780
31780
|
min: 1,
|
|
31781
31781
|
max: a.value,
|
|
@@ -31789,7 +31789,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31789
31789
|
}
|
|
31790
31790
|
}), NSPagination_default = NSPagination_vue_vue_type_script_setup_true_lang_default, _hoisted_1$5 = {
|
|
31791
31791
|
"data-slot": "table-container",
|
|
31792
|
-
class: "
|
|
31792
|
+
class: "relative w-full overflow-auto"
|
|
31793
31793
|
}, Table_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
31794
31794
|
__name: "Table",
|
|
31795
31795
|
props: { class: { type: [
|
|
@@ -31803,7 +31803,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31803
31803
|
let t = e;
|
|
31804
31804
|
return (e, n) => (openBlock(), createElementBlock("div", _hoisted_1$5, [createElementVNode("table", {
|
|
31805
31805
|
"data-slot": "table",
|
|
31806
|
-
class: normalizeClass(unref(cn)("
|
|
31806
|
+
class: normalizeClass(unref(cn)("w-full caption-bottom text-sm", t.class))
|
|
31807
31807
|
}, [renderSlot(e.$slots, "default")], 2)]));
|
|
31808
31808
|
}
|
|
31809
31809
|
}), Table_default = Table_vue_vue_type_script_setup_true_lang_default, TableBody_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -31819,7 +31819,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31819
31819
|
let t = e;
|
|
31820
31820
|
return (e, n) => (openBlock(), createElementBlock("tbody", {
|
|
31821
31821
|
"data-slot": "table-body",
|
|
31822
|
-
class: normalizeClass(unref(cn)("
|
|
31822
|
+
class: normalizeClass(unref(cn)("[&_tr:last-child]:border-0", t.class))
|
|
31823
31823
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
31824
31824
|
}
|
|
31825
31825
|
}), TableBody_default = TableBody_vue_vue_type_script_setup_true_lang_default, TableCell_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -31835,7 +31835,7 @@ var lottieExports = lottie.exports, Lottie = /* @__PURE__ */ getDefaultExportFro
|
|
|
31835
31835
|
let t = e;
|
|
31836
31836
|
return (e, n) => (openBlock(), createElementBlock("td", {
|
|
31837
31837
|
"data-slot": "table-cell",
|
|
31838
|
-
class: normalizeClass(unref(cn)("
|
|
31838
|
+
class: normalizeClass(unref(cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", t.class))
|
|
31839
31839
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
31840
31840
|
}
|
|
31841
31841
|
}), TableCell_default = TableCell_vue_vue_type_script_setup_true_lang_default, isClient = typeof window < "u" && typeof document < "u", isWorker = typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope, isDef = (e) => e !== void 0;
|
|
@@ -31962,7 +31962,7 @@ var TableRow_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defin
|
|
|
31962
31962
|
let t = e;
|
|
31963
31963
|
return (e, n) => (openBlock(), createElementBlock("tr", {
|
|
31964
31964
|
"data-slot": "table-row",
|
|
31965
|
-
class: normalizeClass(unref(cn)("
|
|
31965
|
+
class: normalizeClass(unref(cn)("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", t.class))
|
|
31966
31966
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
31967
31967
|
}
|
|
31968
31968
|
}), TableRow_default = TableRow_vue_vue_type_script_setup_true_lang_default, TableHead_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -31978,7 +31978,7 @@ var TableRow_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defin
|
|
|
31978
31978
|
let t = e;
|
|
31979
31979
|
return (e, n) => (openBlock(), createElementBlock("th", {
|
|
31980
31980
|
"data-slot": "table-head",
|
|
31981
|
-
class: normalizeClass(unref(cn)("
|
|
31981
|
+
class: normalizeClass(unref(cn)("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", t.class))
|
|
31982
31982
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
31983
31983
|
}
|
|
31984
31984
|
}), TableHead_default = TableHead_vue_vue_type_script_setup_true_lang_default, TableHeader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -31994,7 +31994,7 @@ var TableRow_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defin
|
|
|
31994
31994
|
let t = e;
|
|
31995
31995
|
return (e, n) => (openBlock(), createElementBlock("thead", {
|
|
31996
31996
|
"data-slot": "table-header",
|
|
31997
|
-
class: normalizeClass(unref(cn)("
|
|
31997
|
+
class: normalizeClass(unref(cn)("[&_tr]:border-b", t.class))
|
|
31998
31998
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
31999
31999
|
}
|
|
32000
32000
|
}), TableHeader_default = TableHeader_vue_vue_type_script_setup_true_lang_default, falsyToString = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, cx = clsx, cva = (e, t) => (n) => {
|
|
@@ -32356,23 +32356,23 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32356
32356
|
"class"
|
|
32357
32357
|
]));
|
|
32358
32358
|
}
|
|
32359
|
-
}), Button_default = Button_vue_vue_type_script_setup_true_lang_default, buttonVariants = cva("
|
|
32359
|
+
}), Button_default = Button_vue_vue_type_script_setup_true_lang_default, buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
|
|
32360
32360
|
variants: {
|
|
32361
32361
|
variant: {
|
|
32362
|
-
default: "
|
|
32363
|
-
destructive: "
|
|
32364
|
-
outline: "
|
|
32365
|
-
secondary: "
|
|
32366
|
-
ghost: "
|
|
32367
|
-
link: "
|
|
32362
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
32363
|
+
destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
32364
|
+
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
32365
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
32366
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
32367
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
32368
32368
|
},
|
|
32369
32369
|
size: {
|
|
32370
|
-
default: "
|
|
32371
|
-
sm: "
|
|
32372
|
-
lg: "
|
|
32373
|
-
icon: "
|
|
32374
|
-
"icon-sm": "
|
|
32375
|
-
"icon-lg": "
|
|
32370
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
32371
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
32372
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
32373
|
+
icon: "size-9",
|
|
32374
|
+
"icon-sm": "size-8",
|
|
32375
|
+
"icon-lg": "size-10"
|
|
32376
32376
|
}
|
|
32377
32377
|
},
|
|
32378
32378
|
defaultVariants: {
|
|
@@ -32401,25 +32401,25 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32401
32401
|
return (e, t) => withDirectives((openBlock(), createElementBlock("input", {
|
|
32402
32402
|
"onUpdate:modelValue": t[0] ||= (e) => isRef(i) ? i.value = e : null,
|
|
32403
32403
|
"data-slot": "input",
|
|
32404
|
-
class: normalizeClass(unref(cn)("
|
|
32404
|
+
class: normalizeClass(unref(cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", n.class))
|
|
32405
32405
|
}, null, 2)), [[vModelText, unref(i)]]);
|
|
32406
32406
|
}
|
|
32407
|
-
}), Input_default = Input_vue_vue_type_script_setup_true_lang_default, _hoisted_1$4 = { class: "
|
|
32407
|
+
}), Input_default = Input_vue_vue_type_script_setup_true_lang_default, _hoisted_1$4 = { class: "flex items-center justify-between gap-4 mb-4" }, _hoisted_2$4 = { class: "flex items-center gap-2" }, _hoisted_3$4 = {
|
|
32408
32408
|
key: 0,
|
|
32409
|
-
class: "
|
|
32409
|
+
class: "relative"
|
|
32410
32410
|
}, _hoisted_4$4 = {
|
|
32411
32411
|
key: 1,
|
|
32412
|
-
class: "
|
|
32412
|
+
class: "flex items-center gap-2"
|
|
32413
32413
|
}, _hoisted_5$4 = {
|
|
32414
32414
|
key: 0,
|
|
32415
|
-
class: "
|
|
32416
|
-
}, _hoisted_6$4 = { class: "
|
|
32415
|
+
class: "text-sm text-muted-foreground"
|
|
32416
|
+
}, _hoisted_6$4 = { class: "rounded-md border" }, _hoisted_7$4 = ["checked", "indeterminate"], _hoisted_8$4 = { class: "flex items-center gap-1" }, _hoisted_9$4 = {
|
|
32417
32417
|
key: 0,
|
|
32418
|
-
class: "
|
|
32419
|
-
}, _hoisted_10$4 = { class: "
|
|
32418
|
+
class: "flex flex-col"
|
|
32419
|
+
}, _hoisted_10$4 = { class: "flex items-center justify-center space-x-2" }, _hoisted_11$4 = ["checked", "onChange"], _hoisted_12$4 = { key: 0 }, _hoisted_13$4 = { key: 1 }, _hoisted_14$4 = { class: "flex items-center justify-end space-x-1" }, _hoisted_15$3 = {
|
|
32420
32420
|
key: 0,
|
|
32421
|
-
class: "
|
|
32422
|
-
}, _hoisted_16$2 = { class: "
|
|
32421
|
+
class: "mt-4"
|
|
32422
|
+
}, _hoisted_16$2 = { class: "flex items-center justify-between" }, _hoisted_17$2 = { class: "text-sm text-muted-foreground" }, _hoisted_18$2 = { class: "text-sm text-muted-foreground" }, NSDataTable_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
32423
32423
|
__name: "NSDataTable",
|
|
32424
32424
|
props: {
|
|
32425
32425
|
data: { default: () => [] },
|
|
@@ -32523,16 +32523,16 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32523
32523
|
return watch(() => n.currentPage, () => {
|
|
32524
32524
|
a.value = [], i("selection-change", a.value);
|
|
32525
32525
|
}), (t, n) => (openBlock(), createElementBlock("div", { class: normalizeClass(E.value) }, [
|
|
32526
|
-
createElementVNode("div", _hoisted_1$4, [createElementVNode("div", _hoisted_2$4, [e.searchable ? (openBlock(), createElementBlock("div", _hoisted_3$4, [createVNode(unref(Search), { class: "
|
|
32526
|
+
createElementVNode("div", _hoisted_1$4, [createElementVNode("div", _hoisted_2$4, [e.searchable ? (openBlock(), createElementBlock("div", _hoisted_3$4, [createVNode(unref(Search), { class: "absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground" }), createVNode(unref(Input_default), {
|
|
32527
32527
|
"model-value": o.value,
|
|
32528
32528
|
"onUpdate:modelValue": x,
|
|
32529
32529
|
placeholder: "Search...",
|
|
32530
|
-
class: "
|
|
32531
|
-
}, null, 8, ["model-value"])])) : createCommentVNode("", !0), e.filterable ? (openBlock(), createElementBlock("div", _hoisted_4$4, [createVNode(unref(Filter), { class: "
|
|
32530
|
+
class: "pl-9 w-64"
|
|
32531
|
+
}, null, 8, ["model-value"])])) : createCommentVNode("", !0), e.filterable ? (openBlock(), createElementBlock("div", _hoisted_4$4, [createVNode(unref(Filter), { class: "h-4 w-4 text-muted-foreground" }), (openBlock(!0), createElementBlock(Fragment, null, renderList(e.columns.filter((e) => e.filterable), (e) => (openBlock(), createElementBlock("div", { key: e.key }, [createVNode(unref(Input_default), {
|
|
32532
32532
|
"model-value": l.value[e.key],
|
|
32533
32533
|
"onUpdate:modelValue": (t) => S(e.key, t),
|
|
32534
32534
|
placeholder: `Filter ${e.label}...`,
|
|
32535
|
-
class: "
|
|
32535
|
+
class: "w-32"
|
|
32536
32536
|
}, null, 8, [
|
|
32537
32537
|
"model-value",
|
|
32538
32538
|
"onUpdate:modelValue",
|
|
@@ -32544,14 +32544,14 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32544
32544
|
default: withCtx(() => [
|
|
32545
32545
|
e.selectable ? (openBlock(), createBlock(unref(TableHead_default), {
|
|
32546
32546
|
key: 0,
|
|
32547
|
-
class: "
|
|
32547
|
+
class: "w-12"
|
|
32548
32548
|
}, {
|
|
32549
32549
|
default: withCtx(() => [createElementVNode("input", {
|
|
32550
32550
|
type: "checkbox",
|
|
32551
32551
|
checked: C.value,
|
|
32552
32552
|
indeterminate: T.value,
|
|
32553
32553
|
onChange: p,
|
|
32554
|
-
class: "
|
|
32554
|
+
class: "rounded border-gray-300"
|
|
32555
32555
|
}, null, 40, _hoisted_7$4)]),
|
|
32556
32556
|
_: 1
|
|
32557
32557
|
})) : createCommentVNode("", !0),
|
|
@@ -32575,9 +32575,9 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32575
32575
|
]))), 128)),
|
|
32576
32576
|
e.actions.length > 0 ? (openBlock(), createBlock(unref(TableHead_default), {
|
|
32577
32577
|
key: 1,
|
|
32578
|
-
class: "
|
|
32578
|
+
class: "w-16"
|
|
32579
32579
|
}, {
|
|
32580
|
-
default: withCtx(() => [...n[0] ||= [createElementVNode("span", { class: "
|
|
32580
|
+
default: withCtx(() => [...n[0] ||= [createElementVNode("span", { class: "sr-only" }, "Actions", -1)]]),
|
|
32581
32581
|
_: 1
|
|
32582
32582
|
})) : createCommentVNode("", !0)
|
|
32583
32583
|
]),
|
|
@@ -32588,16 +32588,16 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32588
32588
|
default: withCtx(() => [e.loading ? (openBlock(), createBlock(unref(TableRow_default), { key: 0 }, {
|
|
32589
32589
|
default: withCtx(() => [createVNode(unref(TableCell_default), {
|
|
32590
32590
|
colspan: e.columns.length + (e.selectable ? 1 : 0) + (e.actions.length > 0 ? 1 : 0),
|
|
32591
|
-
class: "
|
|
32591
|
+
class: "text-center py-8"
|
|
32592
32592
|
}, {
|
|
32593
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_10$4, [n[1] ||= createElementVNode("div", { class: "
|
|
32593
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_10$4, [n[1] ||= createElementVNode("div", { class: "animate-spin rounded-full h-4 w-4 border-b-2 border-primary" }, null, -1), createElementVNode("span", null, toDisplayString(e.loadingMessage), 1)])]),
|
|
32594
32594
|
_: 1
|
|
32595
32595
|
}, 8, ["colspan"])]),
|
|
32596
32596
|
_: 1
|
|
32597
32597
|
})) : d.value.length === 0 ? (openBlock(), createBlock(unref(TableRow_default), { key: 1 }, {
|
|
32598
32598
|
default: withCtx(() => [createVNode(unref(TableCell_default), {
|
|
32599
32599
|
colspan: e.columns.length + (e.selectable ? 1 : 0) + (e.actions.length > 0 ? 1 : 0),
|
|
32600
|
-
class: "
|
|
32600
|
+
class: "text-center py-8"
|
|
32601
32601
|
}, {
|
|
32602
32602
|
default: withCtx(() => [createTextVNode(toDisplayString(e.emptyMessage), 1)]),
|
|
32603
32603
|
_: 1
|
|
@@ -32605,19 +32605,19 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32605
32605
|
_: 1
|
|
32606
32606
|
})) : (openBlock(!0), createElementBlock(Fragment, { key: 2 }, renderList(d.value, (n, i) => (openBlock(), createBlock(unref(TableRow_default), {
|
|
32607
32607
|
key: `row-${i}`,
|
|
32608
|
-
class: normalizeClass([{ selected: a.value.includes(n) }, "
|
|
32608
|
+
class: normalizeClass([{ selected: a.value.includes(n) }, "cursor-pointer"]),
|
|
32609
32609
|
onClick: (e) => _(n, i)
|
|
32610
32610
|
}, {
|
|
32611
32611
|
default: withCtx(() => [
|
|
32612
32612
|
e.selectable ? (openBlock(), createBlock(unref(TableCell_default), {
|
|
32613
32613
|
key: 0,
|
|
32614
|
-
class: "
|
|
32614
|
+
class: "w-12"
|
|
32615
32615
|
}, {
|
|
32616
32616
|
default: withCtx(() => [createElementVNode("input", {
|
|
32617
32617
|
type: "checkbox",
|
|
32618
32618
|
checked: a.value.includes(n),
|
|
32619
32619
|
onChange: (e) => f(n),
|
|
32620
|
-
class: "
|
|
32620
|
+
class: "rounded border-gray-300"
|
|
32621
32621
|
}, null, 40, _hoisted_11$4)]),
|
|
32622
32622
|
_: 2
|
|
32623
32623
|
}, 1024)) : createCommentVNode("", !0),
|
|
@@ -32647,7 +32647,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32647
32647
|
}, {
|
|
32648
32648
|
default: withCtx(() => [e.icon ? (openBlock(), createBlock(resolveDynamicComponent(e.icon), {
|
|
32649
32649
|
key: 0,
|
|
32650
|
-
class: "
|
|
32650
|
+
class: "h-4 w-4"
|
|
32651
32651
|
})) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString(e.label), 1)]),
|
|
32652
32652
|
_: 2
|
|
32653
32653
|
}, 1032, [
|
|
@@ -32691,18 +32691,18 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32691
32691
|
},
|
|
32692
32692
|
setup(e) {
|
|
32693
32693
|
let t = e, n = reactiveOmit(t, "class");
|
|
32694
|
-
return (e, i) => (openBlock(), createBlock(unref(Separator_default$1), mergeProps({ "data-slot": "separator" }, unref(n), { class: unref(cn)("
|
|
32694
|
+
return (e, i) => (openBlock(), createBlock(unref(Separator_default$1), mergeProps({ "data-slot": "separator" }, unref(n), { class: unref(cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", t.class) }), null, 16, ["class"]));
|
|
32695
32695
|
}
|
|
32696
32696
|
}), Separator_default = Separator_vue_vue_type_script_setup_true_lang_default, _hoisted_1$3 = {
|
|
32697
32697
|
key: 0,
|
|
32698
|
-
class: "
|
|
32699
|
-
}, _hoisted_2$3 = { class: "
|
|
32698
|
+
class: "mb-8"
|
|
32699
|
+
}, _hoisted_2$3 = { class: "relative h-2 w-full overflow-hidden rounded-full bg-secondary" }, _hoisted_3$3 = { class: "mt-2 text-sm text-muted-foreground" }, _hoisted_4$3 = ["onClick"], _hoisted_5$3 = { key: 2 }, _hoisted_6$3 = { class: "text-left" }, _hoisted_7$3 = { class: "font-medium text-sm" }, _hoisted_8$3 = {
|
|
32700
32700
|
key: 0,
|
|
32701
|
-
class: "
|
|
32702
|
-
}, _hoisted_9$3 = { class: "
|
|
32701
|
+
class: "text-xs text-muted-foreground"
|
|
32702
|
+
}, _hoisted_9$3 = { class: "space-y-6" }, _hoisted_10$3 = { class: "space-y-4" }, _hoisted_11$3 = { class: "text-xl font-semibold" }, _hoisted_12$3 = {
|
|
32703
32703
|
key: 0,
|
|
32704
|
-
class: "
|
|
32705
|
-
}, _hoisted_13$3 = { class: "
|
|
32704
|
+
class: "text-muted-foreground"
|
|
32705
|
+
}, _hoisted_13$3 = { class: "text-sm text-muted-foreground" }, _hoisted_14$3 = { class: "flex gap-2" }, _hoisted_15$2 = { class: "flex gap-2" }, NSWizard_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
32706
32706
|
__name: "NSWizard",
|
|
32707
32707
|
props: {
|
|
32708
32708
|
modelValue: { default: 0 },
|
|
@@ -32818,24 +32818,24 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32818
32818
|
});
|
|
32819
32819
|
}
|
|
32820
32820
|
}, { immediate: !0 }), (t, n) => (openBlock(), createElementBlock("div", { class: normalizeClass(u.value) }, [e.showProgressBar ? (openBlock(), createElementBlock("div", _hoisted_1$3, [createElementVNode("div", _hoisted_2$3, [createElementVNode("div", {
|
|
32821
|
-
class: "
|
|
32821
|
+
class: "h-full w-full bg-primary transition-all duration-300 ease-in-out",
|
|
32822
32822
|
style: normalizeStyle({ width: `${l.value}%` })
|
|
32823
32823
|
}, null, 4)]), createElementVNode("div", _hoisted_3$3, " Step " + toDisplayString(a.value + 1) + " of " + toDisplayString(e.steps.length), 1)])) : createCommentVNode("", !0), createElementVNode("div", { class: normalizeClass(d.value) }, [
|
|
32824
32824
|
createElementVNode("div", { class: normalizeClass(f.value) }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.steps, (t, n) => (openBlock(), createElementBlock("div", {
|
|
32825
32825
|
key: t.id,
|
|
32826
32826
|
class: normalizeClass(_.value),
|
|
32827
32827
|
onClick: (e) => D(n)
|
|
32828
|
-
}, [createElementVNode("div", { class: normalizeClass([S(n), "
|
|
32828
|
+
}, [createElementVNode("div", { class: normalizeClass([S(n), "w-8 h-8 text-sm font-medium"]) }, [x(n) === "completed" ? (openBlock(), createBlock(unref(Check), {
|
|
32829
32829
|
key: 0,
|
|
32830
|
-
class: "
|
|
32830
|
+
class: "h-4 w-4"
|
|
32831
32831
|
})) : e.showStepIcons && t.icon ? (openBlock(), createBlock(resolveDynamicComponent(t.icon), {
|
|
32832
32832
|
key: 1,
|
|
32833
|
-
class: "
|
|
32833
|
+
class: "h-4 w-4"
|
|
32834
32834
|
})) : e.showStepNumbers ? (openBlock(), createElementBlock("span", _hoisted_5$3, toDisplayString(n + 1), 1)) : createCommentVNode("", !0)], 2), createElementVNode("div", _hoisted_6$3, [createElementVNode("div", _hoisted_7$3, toDisplayString(t.title), 1), t.description ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(t.description), 1)) : createCommentVNode("", !0)])], 10, _hoisted_4$3))), 128))], 2),
|
|
32835
32835
|
e.vertical ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(Separator_default), {
|
|
32836
32836
|
key: 0,
|
|
32837
32837
|
orientation: "vertical",
|
|
32838
|
-
class: "
|
|
32838
|
+
class: "hidden lg:block"
|
|
32839
32839
|
})),
|
|
32840
32840
|
createElementVNode("div", { class: normalizeClass(p.value) }, [createElementVNode("div", _hoisted_9$3, [renderSlot(t.$slots, `step-${o.value.id}`, {
|
|
32841
32841
|
step: o.value,
|
|
@@ -32861,7 +32861,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32861
32861
|
disabled: !T.value,
|
|
32862
32862
|
onClick: j
|
|
32863
32863
|
}, {
|
|
32864
|
-
default: withCtx(() => [createVNode(unref(ChevronLeft), { class: "
|
|
32864
|
+
default: withCtx(() => [createVNode(unref(ChevronLeft), { class: "h-4 w-4" }), createTextVNode(" " + toDisplayString(e.previousButtonText), 1)]),
|
|
32865
32865
|
_: 1
|
|
32866
32866
|
}, 8, ["disabled"])) : createCommentVNode("", !0), e.allowSkip && !c.value ? (openBlock(), createBlock(unref(Button_default), {
|
|
32867
32867
|
key: 1,
|
|
@@ -32877,10 +32877,10 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32877
32877
|
}, {
|
|
32878
32878
|
default: withCtx(() => [createTextVNode(toDisplayString(c.value ? e.finishButtonText : e.nextButtonText) + " ", 1), c.value ? (openBlock(), createBlock(unref(Check), {
|
|
32879
32879
|
key: 1,
|
|
32880
|
-
class: "
|
|
32880
|
+
class: "h-4 w-4"
|
|
32881
32881
|
})) : (openBlock(), createBlock(unref(ChevronRight), {
|
|
32882
32882
|
key: 0,
|
|
32883
|
-
class: "
|
|
32883
|
+
class: "h-4 w-4"
|
|
32884
32884
|
}))]),
|
|
32885
32885
|
_: 1
|
|
32886
32886
|
}, 8, ["disabled"])])], 2)) : createCommentVNode("", !0)], 2)
|
|
@@ -32899,7 +32899,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32899
32899
|
let t = e;
|
|
32900
32900
|
return (e, n) => (openBlock(), createElementBlock("div", {
|
|
32901
32901
|
"data-slot": "card",
|
|
32902
|
-
class: normalizeClass(unref(cn)("
|
|
32902
|
+
class: normalizeClass(unref(cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", t.class))
|
|
32903
32903
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
32904
32904
|
}
|
|
32905
32905
|
}), Card_default = Card_vue_vue_type_script_setup_true_lang_default, CardContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -32915,7 +32915,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32915
32915
|
let t = e;
|
|
32916
32916
|
return (e, n) => (openBlock(), createElementBlock("div", {
|
|
32917
32917
|
"data-slot": "card-content",
|
|
32918
|
-
class: normalizeClass(unref(cn)("
|
|
32918
|
+
class: normalizeClass(unref(cn)("px-6", t.class))
|
|
32919
32919
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
32920
32920
|
}
|
|
32921
32921
|
}), CardContent_default = CardContent_vue_vue_type_script_setup_true_lang_default, CardDescription_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -32931,7 +32931,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32931
32931
|
let t = e;
|
|
32932
32932
|
return (e, n) => (openBlock(), createElementBlock("p", {
|
|
32933
32933
|
"data-slot": "card-description",
|
|
32934
|
-
class: normalizeClass(unref(cn)("
|
|
32934
|
+
class: normalizeClass(unref(cn)("text-muted-foreground text-sm", t.class))
|
|
32935
32935
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
32936
32936
|
}
|
|
32937
32937
|
}), CardDescription_default = CardDescription_vue_vue_type_script_setup_true_lang_default, CardHeader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -32947,7 +32947,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32947
32947
|
let t = e;
|
|
32948
32948
|
return (e, n) => (openBlock(), createElementBlock("div", {
|
|
32949
32949
|
"data-slot": "card-header",
|
|
32950
|
-
class: normalizeClass(unref(cn)("
|
|
32950
|
+
class: normalizeClass(unref(cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", t.class))
|
|
32951
32951
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
32952
32952
|
}
|
|
32953
32953
|
}), CardHeader_default = CardHeader_vue_vue_type_script_setup_true_lang_default, CardTitle_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -32963,7 +32963,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32963
32963
|
let t = e;
|
|
32964
32964
|
return (e, n) => (openBlock(), createElementBlock("h3", {
|
|
32965
32965
|
"data-slot": "card-title",
|
|
32966
|
-
class: normalizeClass(unref(cn)("
|
|
32966
|
+
class: normalizeClass(unref(cn)("leading-none font-semibold", t.class))
|
|
32967
32967
|
}, [renderSlot(e.$slots, "default")], 2));
|
|
32968
32968
|
}
|
|
32969
32969
|
}), CardTitle_default = CardTitle_vue_vue_type_script_setup_true_lang_default, Skeleton_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -32979,28 +32979,28 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
32979
32979
|
let t = e;
|
|
32980
32980
|
return (e, n) => (openBlock(), createElementBlock("div", {
|
|
32981
32981
|
"data-slot": "skeleton",
|
|
32982
|
-
class: normalizeClass(unref(cn)("
|
|
32982
|
+
class: normalizeClass(unref(cn)("animate-pulse rounded-md bg-primary/10", t.class))
|
|
32983
32983
|
}, null, 2));
|
|
32984
32984
|
}
|
|
32985
32985
|
}), Skeleton_default = Skeleton_vue_vue_type_script_setup_true_lang_default, _hoisted_1$2 = {
|
|
32986
32986
|
key: 0,
|
|
32987
|
-
class: "
|
|
32987
|
+
class: "space-y-2"
|
|
32988
32988
|
}, _hoisted_2$2 = {
|
|
32989
32989
|
key: 1,
|
|
32990
|
-
class: "
|
|
32990
|
+
class: "flex items-center gap-3 text-muted-foreground"
|
|
32991
32991
|
}, _hoisted_3$2 = {
|
|
32992
32992
|
key: 2,
|
|
32993
|
-
class: "
|
|
32994
|
-
}, _hoisted_4$2 = { class: "
|
|
32993
|
+
class: "space-y-4"
|
|
32994
|
+
}, _hoisted_4$2 = { class: "flex items-center justify-between py-2 border-b" }, _hoisted_5$2 = { class: "text-sm font-medium" }, _hoisted_6$2 = { class: "flex items-center gap-2" }, _hoisted_7$2 = {
|
|
32995
32995
|
key: 0,
|
|
32996
|
-
class: "
|
|
32996
|
+
class: "text-destructive"
|
|
32997
32997
|
}, _hoisted_8$2 = {
|
|
32998
32998
|
key: 1,
|
|
32999
|
-
class: "
|
|
32999
|
+
class: "text-green-600"
|
|
33000
33000
|
}, _hoisted_9$2 = {
|
|
33001
33001
|
key: 2,
|
|
33002
|
-
class: "
|
|
33003
|
-
}, _hoisted_10$2 = { class: "
|
|
33002
|
+
class: "text-destructive"
|
|
33003
|
+
}, _hoisted_10$2 = { class: "space-y-2 py-2" }, _hoisted_11$2 = { class: "flex justify-between" }, _hoisted_12$2 = { class: "text-sm font-medium" }, _hoisted_13$2 = { class: "flex justify-between" }, _hoisted_14$2 = { class: "text-sm" }, _hoisted_15$1 = { class: "flex justify-between" }, _hoisted_16$1 = { class: "text-sm" }, _hoisted_17$1 = { class: "flex gap-2 pt-2" }, _hoisted_18$1 = { key: 3 }, _hoisted_19$1 = { class: "p-2 text-sm" }, _hoisted_20$1 = { class: "p-2 text-sm" }, _hoisted_21$1 = { class: "p-2 text-sm" }, _hoisted_22$1 = { class: "p-2 text-sm" }, _hoisted_23 = { class: "flex items-center gap-2" }, _hoisted_24 = { class: "p-2 text-sm" }, _hoisted_25 = { class: "flex items-center justify-end gap-1" }, NSBackupCard_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
33004
33004
|
__name: "NSBackupCard",
|
|
33005
33005
|
props: {
|
|
33006
33006
|
title: { default: "Backup" },
|
|
@@ -33047,17 +33047,17 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33047
33047
|
computed(() => cn("w-full", n.class));
|
|
33048
33048
|
let u = computed(() => cn("transition-all duration-200 hover:shadow-md", n.light ? "bg-background/95" : "bg-background")), d = computed(() => cn("w-full overflow-auto", { "max-h-64": n.maxHeight })), f = computed(() => "w-full min-w-[300px]");
|
|
33049
33049
|
return (t, n) => (openBlock(), createBlock(unref(Card_default), { class: normalizeClass(u.value) }, {
|
|
33050
|
-
default: withCtx(() => [createVNode(unref(CardHeader_default), { class: "
|
|
33051
|
-
default: withCtx(() => [createVNode(unref(CardTitle_default), { class: "
|
|
33052
|
-
default: withCtx(() => [createVNode(unref(Save), { class: "
|
|
33050
|
+
default: withCtx(() => [createVNode(unref(CardHeader_default), { class: "pb-3" }, {
|
|
33051
|
+
default: withCtx(() => [createVNode(unref(CardTitle_default), { class: "flex items-center gap-2" }, {
|
|
33052
|
+
default: withCtx(() => [createVNode(unref(Save), { class: "h-5 w-5 text-primary" }), createTextVNode(" " + toDisplayString(e.title), 1)]),
|
|
33053
33053
|
_: 1
|
|
33054
33054
|
})]),
|
|
33055
33055
|
_: 1
|
|
33056
|
-
}), createVNode(unref(CardContent_default), { class: "
|
|
33057
|
-
default: withCtx(() => [e.loading ? (openBlock(), createElementBlock("div", _hoisted_1$2, [createVNode(unref(Skeleton_default), { class: "
|
|
33058
|
-
createElementVNode("div", _hoisted_11$2, [n[3] ||= createElementVNode("span", { class: "
|
|
33059
|
-
createElementVNode("div", _hoisted_13$2, [n[4] ||= createElementVNode("span", { class: "
|
|
33060
|
-
createElementVNode("div", _hoisted_15$1, [n[5] ||= createElementVNode("span", { class: "
|
|
33056
|
+
}), createVNode(unref(CardContent_default), { class: "space-y-4" }, {
|
|
33057
|
+
default: withCtx(() => [e.loading ? (openBlock(), createElementBlock("div", _hoisted_1$2, [createVNode(unref(Skeleton_default), { class: "h-4 w-3/4" }), createVNode(unref(Skeleton_default), { class: "h-4 w-1/2" })])) : a.value ? s.value ? (openBlock(), createElementBlock("div", _hoisted_3$2, [createElementVNode("div", { class: normalizeClass(d.value) }, [createElementVNode("div", { class: normalizeClass(f.value) }, [createElementVNode("div", _hoisted_4$2, [createElementVNode("span", _hoisted_5$2, toDisplayString(e.statusLabel), 1), createElementVNode("div", _hoisted_6$2, [s.value.enabled ? e.status[s.value.id]?.success ? (openBlock(), createElementBlock("span", _hoisted_8$2, toDisplayString(e.statusSuccessLabel), 1)) : e.status[s.value.id]?.message ? (openBlock(), createElementBlock("span", _hoisted_9$2, toDisplayString(e.status[s.value.id].message), 1)) : createCommentVNode("", !0) : (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(e.backupDisabledLabel), 1))])]), createElementVNode("div", _hoisted_10$2, [
|
|
33058
|
+
createElementVNode("div", _hoisted_11$2, [n[3] ||= createElementVNode("span", { class: "text-sm text-muted-foreground" }, "Name:", -1), createElementVNode("span", _hoisted_12$2, toDisplayString(s.value.name), 1)]),
|
|
33059
|
+
createElementVNode("div", _hoisted_13$2, [n[4] ||= createElementVNode("span", { class: "text-sm text-muted-foreground" }, "Date:", -1), createElementVNode("span", _hoisted_14$2, toDisplayString(s.value.date), 1)]),
|
|
33060
|
+
createElementVNode("div", _hoisted_15$1, [n[5] ||= createElementVNode("span", { class: "text-sm text-muted-foreground" }, "Size:", -1), createElementVNode("span", _hoisted_16$1, toDisplayString(s.value.size), 1)])
|
|
33061
33061
|
])], 2)], 2), createElementVNode("div", _hoisted_17$1, [
|
|
33062
33062
|
s.value.enabled ? (openBlock(), createBlock(unref(Button_default), {
|
|
33063
33063
|
key: 0,
|
|
@@ -33085,15 +33085,15 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33085
33085
|
default: withCtx(() => [...n[8] ||= [createTextVNode(" Delete ", -1)]]),
|
|
33086
33086
|
_: 1
|
|
33087
33087
|
})
|
|
33088
|
-
])])) : (openBlock(), createElementBlock("div", _hoisted_18$1, [createElementVNode("div", { class: normalizeClass(d.value) }, [createElementVNode("table", { class: normalizeClass(f.value) }, [n[12] ||= createElementVNode("thead", null, [createElementVNode("tr", { class: "
|
|
33089
|
-
createElementVNode("th", { class: "
|
|
33090
|
-
createElementVNode("th", { class: "
|
|
33091
|
-
createElementVNode("th", { class: "
|
|
33092
|
-
createElementVNode("th", { class: "
|
|
33093
|
-
createElementVNode("th", { class: "
|
|
33088
|
+
])])) : (openBlock(), createElementBlock("div", _hoisted_18$1, [createElementVNode("div", { class: normalizeClass(d.value) }, [createElementVNode("table", { class: normalizeClass(f.value) }, [n[12] ||= createElementVNode("thead", null, [createElementVNode("tr", { class: "border-b" }, [
|
|
33089
|
+
createElementVNode("th", { class: "text-left p-2 text-sm font-medium" }, " Name "),
|
|
33090
|
+
createElementVNode("th", { class: "text-left p-2 text-sm font-medium" }, " Date "),
|
|
33091
|
+
createElementVNode("th", { class: "text-left p-2 text-sm font-medium" }, " Size "),
|
|
33092
|
+
createElementVNode("th", { class: "text-left p-2 text-sm font-medium" }, " Status "),
|
|
33093
|
+
createElementVNode("th", { class: "text-right p-2 text-sm font-medium" }, " Actions ")
|
|
33094
33094
|
])], -1), createElementVNode("tbody", null, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.backups, (e) => (openBlock(), createElementBlock("tr", {
|
|
33095
33095
|
key: e.id,
|
|
33096
|
-
class: "
|
|
33096
|
+
class: "border-b"
|
|
33097
33097
|
}, [
|
|
33098
33098
|
createElementVNode("td", _hoisted_19$1, toDisplayString(e.name), 1),
|
|
33099
33099
|
createElementVNode("td", _hoisted_20$1, toDisplayString(e.date), 1),
|
|
@@ -33130,7 +33130,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33130
33130
|
_: 1
|
|
33131
33131
|
}, 8, ["onClick"])
|
|
33132
33132
|
])])
|
|
33133
|
-
]))), 128))])], 2)], 2)])) : (openBlock(), createElementBlock("div", _hoisted_2$2, [createVNode(unref(AlertCircle), { class: "
|
|
33133
|
+
]))), 128))])], 2)], 2)])) : (openBlock(), createElementBlock("div", _hoisted_2$2, [createVNode(unref(AlertCircle), { class: "h-5 w-5" }), createElementVNode("span", null, toDisplayString(e.noBackupMessage), 1)]))]),
|
|
33134
33134
|
_: 1
|
|
33135
33135
|
})]),
|
|
33136
33136
|
_: 1
|
|
@@ -33160,42 +33160,42 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33160
33160
|
_: 3
|
|
33161
33161
|
}, 16, ["class"]));
|
|
33162
33162
|
}
|
|
33163
|
-
}), Badge_default = Badge_vue_vue_type_script_setup_true_lang_default, badgeVariants = cva("
|
|
33163
|
+
}), Badge_default = Badge_vue_vue_type_script_setup_true_lang_default, badgeVariants = cva("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
|
|
33164
33164
|
variants: { variant: {
|
|
33165
|
-
default: "
|
|
33166
|
-
secondary: "
|
|
33167
|
-
destructive: "
|
|
33168
|
-
outline: "
|
|
33165
|
+
default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
33166
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
33167
|
+
destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
33168
|
+
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
33169
33169
|
} },
|
|
33170
33170
|
defaultVariants: { variant: "default" }
|
|
33171
|
-
}), _hoisted_1$1 = { class: "
|
|
33171
|
+
}), _hoisted_1$1 = { class: "flex items-center justify-between" }, _hoisted_2$1 = { class: "text-lg font-semibold" }, _hoisted_3$1 = {
|
|
33172
33172
|
key: 0,
|
|
33173
|
-
class: "
|
|
33173
|
+
class: "space-y-3"
|
|
33174
33174
|
}, _hoisted_4$1 = {
|
|
33175
33175
|
key: 1,
|
|
33176
|
-
class: "
|
|
33176
|
+
class: "space-y-3"
|
|
33177
33177
|
}, _hoisted_5$1 = {
|
|
33178
33178
|
key: 0,
|
|
33179
|
-
class: "
|
|
33179
|
+
class: "text-sm text-muted-foreground"
|
|
33180
33180
|
}, _hoisted_6$1 = {
|
|
33181
33181
|
key: 1,
|
|
33182
|
-
class: "
|
|
33183
|
-
}, _hoisted_7$1 = { class: "
|
|
33182
|
+
class: "flex items-center gap-2"
|
|
33183
|
+
}, _hoisted_7$1 = { class: "text-sm" }, _hoisted_8$1 = {
|
|
33184
33184
|
key: 2,
|
|
33185
|
-
class: "
|
|
33185
|
+
class: "text-sm text-muted-foreground"
|
|
33186
33186
|
}, _hoisted_9$1 = {
|
|
33187
33187
|
key: 3,
|
|
33188
|
-
class: "
|
|
33188
|
+
class: "grid grid-cols-2 gap-3"
|
|
33189
33189
|
}, _hoisted_10$1 = {
|
|
33190
33190
|
key: 0,
|
|
33191
|
-
class: "
|
|
33191
|
+
class: "text-sm"
|
|
33192
33192
|
}, _hoisted_11$1 = {
|
|
33193
33193
|
key: 1,
|
|
33194
|
-
class: "
|
|
33194
|
+
class: "text-sm"
|
|
33195
33195
|
}, _hoisted_12$1 = {
|
|
33196
33196
|
key: 4,
|
|
33197
|
-
class: "
|
|
33198
|
-
}, _hoisted_13$1 = { class: "
|
|
33197
|
+
class: "text-sm"
|
|
33198
|
+
}, _hoisted_13$1 = { class: "flex items-center justify-between pt-4 border-t" }, _hoisted_14$1 = { class: "flex gap-2" }, NSSystemdServiceCard_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
33199
33199
|
__name: "NSSystemdServiceCard",
|
|
33200
33200
|
props: {
|
|
33201
33201
|
title: { default: "Service" },
|
|
@@ -33240,8 +33240,8 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33240
33240
|
computed(() => cn("w-full", n.class));
|
|
33241
33241
|
let c = computed(() => cn("transition-all duration-200 hover:shadow-md", n.light ? "bg-background/95" : "bg-background")), l = computed(() => cn("h-8 w-8", a.value));
|
|
33242
33242
|
return (t, n) => (openBlock(), createBlock(unref(Card_default), { class: normalizeClass(c.value) }, {
|
|
33243
|
-
default: withCtx(() => [createVNode(unref(CardHeader_default), { class: "
|
|
33244
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$1, [createVNode(unref(CardTitle_default), { class: "
|
|
33243
|
+
default: withCtx(() => [createVNode(unref(CardHeader_default), { class: "pb-3" }, {
|
|
33244
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$1, [createVNode(unref(CardTitle_default), { class: "flex items-center gap-3" }, {
|
|
33245
33245
|
default: withCtx(() => [e.icon ? (openBlock(), createBlock(resolveDynamicComponent(e.icon), {
|
|
33246
33246
|
key: 0,
|
|
33247
33247
|
class: normalizeClass(l.value)
|
|
@@ -33255,16 +33255,16 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33255
33255
|
_: 1
|
|
33256
33256
|
}, 8, ["variant"])])]),
|
|
33257
33257
|
_: 1
|
|
33258
|
-
}), createVNode(unref(CardContent_default), { class: "
|
|
33258
|
+
}), createVNode(unref(CardContent_default), { class: "space-y-4" }, {
|
|
33259
33259
|
default: withCtx(() => [e.loading ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
33260
|
-
createVNode(unref(Skeleton_default), { class: "
|
|
33261
|
-
createVNode(unref(Skeleton_default), { class: "
|
|
33262
|
-
createVNode(unref(Skeleton_default), { class: "
|
|
33260
|
+
createVNode(unref(Skeleton_default), { class: "h-4 w-3/4" }),
|
|
33261
|
+
createVNode(unref(Skeleton_default), { class: "h-4 w-1/2" }),
|
|
33262
|
+
createVNode(unref(Skeleton_default), { class: "h-4 w-2/3" })
|
|
33263
33263
|
])) : (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
33264
|
-
e.serviceName ? (openBlock(), createElementBlock("div", _hoisted_5$1, [n[6] ||= createElementVNode("span", { class: "
|
|
33265
|
-
e.showUptime && e.status?.uptime ? (openBlock(), createElementBlock("div", _hoisted_6$1, [createVNode(unref(Clock), { class: "
|
|
33266
|
-
e.status?.lastRestart ? (openBlock(), createElementBlock("div", _hoisted_8$1, [n[8] ||= createElementVNode("span", { class: "
|
|
33267
|
-
e.showMetrics ? (openBlock(), createElementBlock("div", _hoisted_9$1, [e.status?.memory ? (openBlock(), createElementBlock("div", _hoisted_10$1, [n[9] ||= createElementVNode("span", { class: "
|
|
33264
|
+
e.serviceName ? (openBlock(), createElementBlock("div", _hoisted_5$1, [n[6] ||= createElementVNode("span", { class: "font-medium" }, "Service:", -1), createTextVNode(" " + toDisplayString(e.serviceName), 1)])) : createCommentVNode("", !0),
|
|
33265
|
+
e.showUptime && e.status?.uptime ? (openBlock(), createElementBlock("div", _hoisted_6$1, [createVNode(unref(Clock), { class: "h-4 w-4 text-muted-foreground" }), createElementVNode("span", _hoisted_7$1, [n[7] ||= createElementVNode("span", { class: "font-medium" }, "Uptime:", -1), createTextVNode(" " + toDisplayString(e.status.uptime), 1)])])) : createCommentVNode("", !0),
|
|
33266
|
+
e.status?.lastRestart ? (openBlock(), createElementBlock("div", _hoisted_8$1, [n[8] ||= createElementVNode("span", { class: "font-medium" }, "Last restart:", -1), createTextVNode(" " + toDisplayString(e.status.lastRestart), 1)])) : createCommentVNode("", !0),
|
|
33267
|
+
e.showMetrics ? (openBlock(), createElementBlock("div", _hoisted_9$1, [e.status?.memory ? (openBlock(), createElementBlock("div", _hoisted_10$1, [n[9] ||= createElementVNode("span", { class: "font-medium" }, "Memory:", -1), createTextVNode(" " + toDisplayString(e.status.memory), 1)])) : createCommentVNode("", !0), e.status?.cpu ? (openBlock(), createElementBlock("div", _hoisted_11$1, [n[10] ||= createElementVNode("span", { class: "font-medium" }, "CPU:", -1), createTextVNode(" " + toDisplayString(e.status.cpu), 1)])) : createCommentVNode("", !0)])) : createCommentVNode("", !0),
|
|
33268
33268
|
e.status?.status && e.status?.status !== s.value ? (openBlock(), createElementBlock("div", _hoisted_12$1, toDisplayString(e.status.status), 1)) : createCommentVNode("", !0)
|
|
33269
33269
|
])), createElementVNode("div", _hoisted_13$1, [createElementVNode("div", _hoisted_14$1, [
|
|
33270
33270
|
e.status?.enabled && !e.status?.running ? (openBlock(), createBlock(unref(Button_default), {
|
|
@@ -33317,7 +33317,7 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33317
33317
|
size: "sm",
|
|
33318
33318
|
onClick: n[5] ||= (t) => i("view", e.serviceName)
|
|
33319
33319
|
}, {
|
|
33320
|
-
default: withCtx(() => [createVNode(unref(MoreHorizontal), { class: "
|
|
33320
|
+
default: withCtx(() => [createVNode(unref(MoreHorizontal), { class: "h-4 w-4" })]),
|
|
33321
33321
|
_: 1
|
|
33322
33322
|
})])]),
|
|
33323
33323
|
_: 1
|
|
@@ -33344,33 +33344,33 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33344
33344
|
},
|
|
33345
33345
|
setup(e) {
|
|
33346
33346
|
let t = e, n = reactiveOmit(t, "class");
|
|
33347
|
-
return (e, i) => (openBlock(), createBlock(unref(ProgressRoot_default), mergeProps({ "data-slot": "progress" }, unref(n), { class: unref(cn)("
|
|
33347
|
+
return (e, i) => (openBlock(), createBlock(unref(ProgressRoot_default), mergeProps({ "data-slot": "progress" }, unref(n), { class: unref(cn)("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", t.class) }), {
|
|
33348
33348
|
default: withCtx(() => [createVNode(unref(ProgressIndicator_default), {
|
|
33349
33349
|
"data-slot": "progress-indicator",
|
|
33350
|
-
class: "
|
|
33350
|
+
class: "bg-primary h-full w-full flex-1 transition-all",
|
|
33351
33351
|
style: normalizeStyle(`transform: translateX(-${100 - (t.modelValue ?? 0)}%);`)
|
|
33352
33352
|
}, null, 8, ["style"])]),
|
|
33353
33353
|
_: 1
|
|
33354
33354
|
}, 16, ["class"]));
|
|
33355
33355
|
}
|
|
33356
|
-
}), Progress_default = Progress_vue_vue_type_script_setup_true_lang_default, _hoisted_1 = { class: "
|
|
33356
|
+
}), Progress_default = Progress_vue_vue_type_script_setup_true_lang_default, _hoisted_1 = { class: "flex items-center justify-between" }, _hoisted_2 = {
|
|
33357
33357
|
key: 0,
|
|
33358
|
-
class: "
|
|
33358
|
+
class: "space-y-3"
|
|
33359
33359
|
}, _hoisted_3 = {
|
|
33360
33360
|
key: 0,
|
|
33361
|
-
class: "
|
|
33362
|
-
}, _hoisted_4 = { class: "
|
|
33361
|
+
class: "space-y-2"
|
|
33362
|
+
}, _hoisted_4 = { class: "flex items-center gap-2 text-sm font-medium" }, _hoisted_5 = { class: "text-xs text-muted-foreground space-y-1" }, _hoisted_6 = {
|
|
33363
33363
|
key: 1,
|
|
33364
|
-
class: "
|
|
33365
|
-
}, _hoisted_7 = { class: "
|
|
33364
|
+
class: "space-y-2"
|
|
33365
|
+
}, _hoisted_7 = { class: "flex items-center gap-2 text-sm font-medium" }, _hoisted_8 = { class: "text-xs text-muted-foreground space-y-1" }, _hoisted_9 = {
|
|
33366
33366
|
key: 2,
|
|
33367
|
-
class: "
|
|
33368
|
-
}, _hoisted_10 = { class: "
|
|
33367
|
+
class: "space-y-2"
|
|
33368
|
+
}, _hoisted_10 = { class: "flex items-center gap-2 text-sm font-medium" }, _hoisted_11 = { class: "text-xs text-muted-foreground space-y-1" }, _hoisted_12 = { key: 0 }, _hoisted_13 = {
|
|
33369
33369
|
key: 2,
|
|
33370
|
-
class: "
|
|
33371
|
-
}, _hoisted_14 = { key: 0 }, _hoisted_15 = { class: "
|
|
33370
|
+
class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-3 pt-4 border-t"
|
|
33371
|
+
}, _hoisted_14 = { key: 0 }, _hoisted_15 = { class: "text-sm font-medium" }, _hoisted_16 = { key: 1 }, _hoisted_17 = { class: "text-sm font-medium" }, _hoisted_18 = { key: 2 }, _hoisted_19 = { class: "text-sm font-medium" }, _hoisted_20 = { key: 3 }, _hoisted_21 = { class: "text-sm font-medium" }, _hoisted_22 = {
|
|
33372
33372
|
key: 3,
|
|
33373
|
-
class: "
|
|
33373
|
+
class: "flex items-center gap-3 text-muted-foreground"
|
|
33374
33374
|
}, NSSystemInfoCard_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
33375
33375
|
__name: "NSSystemInfoCard",
|
|
33376
33376
|
props: {
|
|
@@ -33442,9 +33442,9 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33442
33442
|
"lg:grid-cols-4": n.showMemory && n.showCpu && n.showStorage
|
|
33443
33443
|
}));
|
|
33444
33444
|
return (t, n) => (openBlock(), createBlock(unref(Card_default), { class: normalizeClass(l.value) }, {
|
|
33445
|
-
default: withCtx(() => [createVNode(unref(CardHeader_default), { class: "
|
|
33446
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createElementVNode("div", null, [createVNode(unref(CardTitle_default), { class: "
|
|
33447
|
-
default: withCtx(() => [createVNode(unref(Activity), { class: "
|
|
33445
|
+
default: withCtx(() => [createVNode(unref(CardHeader_default), { class: "pb-3" }, {
|
|
33446
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createElementVNode("div", null, [createVNode(unref(CardTitle_default), { class: "flex items-center gap-2" }, {
|
|
33447
|
+
default: withCtx(() => [createVNode(unref(Activity), { class: "h-5 w-5 text-primary" }), createTextVNode(" " + toDisplayString(e.title), 1)]),
|
|
33448
33448
|
_: 1
|
|
33449
33449
|
}), createVNode(unref(CardDescription_default), null, {
|
|
33450
33450
|
default: withCtx(() => [createTextVNode(toDisplayString(e.description), 1)]),
|
|
@@ -33455,44 +33455,44 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33455
33455
|
size: "sm",
|
|
33456
33456
|
onClick: n[0] ||= (e) => i("refresh")
|
|
33457
33457
|
}, {
|
|
33458
|
-
default: withCtx(() => [createVNode(unref(Clock), { class: "
|
|
33458
|
+
default: withCtx(() => [createVNode(unref(Clock), { class: "h-4 w-4" })]),
|
|
33459
33459
|
_: 1
|
|
33460
33460
|
})) : createCommentVNode("", !0)])]),
|
|
33461
33461
|
_: 1
|
|
33462
|
-
}), createVNode(unref(CardContent_default), { class: "
|
|
33462
|
+
}), createVNode(unref(CardContent_default), { class: "space-y-4" }, {
|
|
33463
33463
|
default: withCtx(() => [
|
|
33464
|
-
e.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [...n[1] ||= [createElementVNode("div", { class: "
|
|
33465
|
-
createElementVNode("div", { class: "
|
|
33466
|
-
createElementVNode("div", { class: "
|
|
33467
|
-
createElementVNode("div", { class: "
|
|
33464
|
+
e.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [...n[1] ||= [createElementVNode("div", { class: "space-y-2" }, [
|
|
33465
|
+
createElementVNode("div", { class: "h-2 bg-secondary rounded-full" }),
|
|
33466
|
+
createElementVNode("div", { class: "h-2 bg-secondary rounded-full" }),
|
|
33467
|
+
createElementVNode("div", { class: "h-2 bg-secondary rounded-full" })
|
|
33468
33468
|
], -1)]])) : a.value ? (openBlock(), createElementBlock("div", {
|
|
33469
33469
|
key: 1,
|
|
33470
33470
|
class: normalizeClass(u.value)
|
|
33471
33471
|
}, [
|
|
33472
33472
|
e.showStorage ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
33473
|
-
createElementVNode("div", _hoisted_4, [createVNode(unref(HardDrive), { class: "
|
|
33473
|
+
createElementVNode("div", _hoisted_4, [createVNode(unref(HardDrive), { class: "h-4 w-4" }), n[2] ||= createTextVNode(" Storage ", -1)]),
|
|
33474
33474
|
createVNode(unref(Progress_default), {
|
|
33475
33475
|
value: e.metrics.usagePercentage,
|
|
33476
33476
|
variant: o.value,
|
|
33477
|
-
class: "
|
|
33477
|
+
class: "mb-2"
|
|
33478
33478
|
}, null, 8, ["value", "variant"]),
|
|
33479
33479
|
createElementVNode("div", _hoisted_5, [createElementVNode("div", null, "Used: " + toDisplayString(e.metrics.usedSpace) + " / " + toDisplayString(e.metrics.totalSpace), 1), createElementVNode("div", null, "Free: " + toDisplayString(e.metrics.freeSpace), 1)])
|
|
33480
33480
|
])) : createCommentVNode("", !0),
|
|
33481
33481
|
e.showMemory && e.metrics?.memory ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
33482
|
-
createElementVNode("div", _hoisted_7, [createVNode(unref(Activity), { class: "
|
|
33482
|
+
createElementVNode("div", _hoisted_7, [createVNode(unref(Activity), { class: "h-4 w-4" }), n[3] ||= createTextVNode(" Memory ", -1)]),
|
|
33483
33483
|
createVNode(unref(Progress_default), {
|
|
33484
33484
|
value: e.metrics.memory.percentage,
|
|
33485
33485
|
variant: s.value,
|
|
33486
|
-
class: "
|
|
33486
|
+
class: "mb-2"
|
|
33487
33487
|
}, null, 8, ["value", "variant"]),
|
|
33488
33488
|
createElementVNode("div", _hoisted_8, [createElementVNode("div", null, " Used: " + toDisplayString(e.metrics.memory.used) + " / " + toDisplayString(e.metrics.memory.total), 1), createElementVNode("div", null, "Free: " + toDisplayString(e.metrics.memory.free), 1)])
|
|
33489
33489
|
])) : createCommentVNode("", !0),
|
|
33490
33490
|
e.showCpu && e.metrics?.cpu ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
33491
|
-
createElementVNode("div", _hoisted_10, [createVNode(unref(Activity), { class: "
|
|
33491
|
+
createElementVNode("div", _hoisted_10, [createVNode(unref(Activity), { class: "h-4 w-4" }), n[4] ||= createTextVNode(" CPU ", -1)]),
|
|
33492
33492
|
createVNode(unref(Progress_default), {
|
|
33493
33493
|
value: e.metrics.cpu.usage,
|
|
33494
33494
|
variant: c.value,
|
|
33495
|
-
class: "
|
|
33495
|
+
class: "mb-2"
|
|
33496
33496
|
}, null, 8, ["value", "variant"]),
|
|
33497
33497
|
createElementVNode("div", _hoisted_11, [
|
|
33498
33498
|
createElementVNode("div", null, "Usage: " + toDisplayString(e.metrics.cpu.usage) + "%", 1),
|
|
@@ -33502,12 +33502,12 @@ var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
33502
33502
|
])) : createCommentVNode("", !0)
|
|
33503
33503
|
], 2)) : createCommentVNode("", !0),
|
|
33504
33504
|
a.value ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
33505
|
-
e.showTemperature && e.metrics?.temperature ? (openBlock(), createElementBlock("div", _hoisted_14, [n[5] ||= createElementVNode("div", { class: "
|
|
33506
|
-
e.showLoadAverage && e.metrics?.loadAverage ? (openBlock(), createElementBlock("div", _hoisted_16, [n[6] ||= createElementVNode("div", { class: "
|
|
33507
|
-
e.showUptime && e.metrics?.uptime ? (openBlock(), createElementBlock("div", _hoisted_18, [n[7] ||= createElementVNode("div", { class: "
|
|
33508
|
-
e.showProcesses && e.metrics?.processes ? (openBlock(), createElementBlock("div", _hoisted_20, [n[8] ||= createElementVNode("div", { class: "
|
|
33505
|
+
e.showTemperature && e.metrics?.temperature ? (openBlock(), createElementBlock("div", _hoisted_14, [n[5] ||= createElementVNode("div", { class: "text-xs text-muted-foreground" }, "Temperature", -1), createElementVNode("div", _hoisted_15, toDisplayString(e.metrics.temperature), 1)])) : createCommentVNode("", !0),
|
|
33506
|
+
e.showLoadAverage && e.metrics?.loadAverage ? (openBlock(), createElementBlock("div", _hoisted_16, [n[6] ||= createElementVNode("div", { class: "text-xs text-muted-foreground" }, "Load Average", -1), createElementVNode("div", _hoisted_17, toDisplayString(e.metrics.loadAverage.join(", ")), 1)])) : createCommentVNode("", !0),
|
|
33507
|
+
e.showUptime && e.metrics?.uptime ? (openBlock(), createElementBlock("div", _hoisted_18, [n[7] ||= createElementVNode("div", { class: "text-xs text-muted-foreground" }, "Uptime", -1), createElementVNode("div", _hoisted_19, toDisplayString(e.metrics.uptime), 1)])) : createCommentVNode("", !0),
|
|
33508
|
+
e.showProcesses && e.metrics?.processes ? (openBlock(), createElementBlock("div", _hoisted_20, [n[8] ||= createElementVNode("div", { class: "text-xs text-muted-foreground" }, "Processes", -1), createElementVNode("div", _hoisted_21, toDisplayString(e.metrics.processes), 1)])) : createCommentVNode("", !0)
|
|
33509
33509
|
])) : createCommentVNode("", !0),
|
|
33510
|
-
!a.value && !e.loading ? (openBlock(), createElementBlock("div", _hoisted_22, [createVNode(unref(AlertCircle), { class: "
|
|
33510
|
+
!a.value && !e.loading ? (openBlock(), createElementBlock("div", _hoisted_22, [createVNode(unref(AlertCircle), { class: "h-5 w-5" }), n[9] ||= createElementVNode("span", null, "No system metrics available", -1)])) : createCommentVNode("", !0)
|
|
33511
33511
|
]),
|
|
33512
33512
|
_: 1
|
|
33513
33513
|
})]),
|