@geniusdynamics/ns8-ui-lib 1.0.0
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/README.md +167 -0
- package/dist/index.d.ts +14 -0
- package/dist/ns8-ui-lib.es.js +4278 -0
- package/dist/ns8-ui-lib.es.js.map +1 -0
- package/dist/ns8-ui-lib.umd.js +7 -0
- package/dist/ns8-ui-lib.umd.js.map +1 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/components/HelloWorld.vue.d.ts +5 -0
- package/dist/src/components/NS/cards/NSBackupCard.vue.d.ts +51 -0
- package/dist/src/components/NS/cards/NSSystemInfoCard.vue.d.ts +58 -0
- package/dist/src/components/NS/cards/NSSystemdServiceCard.vue.d.ts +47 -0
- package/dist/src/components/NS/cards/index.d.ts +3 -0
- package/dist/src/components/NS/checkbox/NSCheckbox.vue.d.ts +37 -0
- package/dist/src/components/NS/checkbox/index.d.ts +1 -0
- package/dist/src/components/NS/data-table/NSDataTable.vue.d.ts +98 -0
- package/dist/src/components/NS/data-table/index.d.ts +1 -0
- package/dist/src/components/NS/empty-state/NSEmptyState.vue.d.ts +45 -0
- package/dist/src/components/NS/empty-state/index.d.ts +1 -0
- package/dist/src/components/NS/index.d.ts +35 -0
- package/dist/src/components/NS/inline-notification/NSInlineNotification.vue.d.ts +44 -0
- package/dist/src/components/NS/inline-notification/index.d.ts +1 -0
- package/dist/src/components/NS/lottie-animation/NSLottieAnimation.vue.d.ts +75 -0
- package/dist/src/components/NS/lottie-animation/index.d.ts +1 -0
- package/dist/src/components/NS/modal/NSModal.vue.d.ts +56 -0
- package/dist/src/components/NS/modal/NSModalTrigger.vue.d.ts +64 -0
- package/dist/src/components/NS/modal/index.d.ts +2 -0
- package/dist/src/components/NS/pagination/NSPagination.vue.d.ts +36 -0
- package/dist/src/components/NS/pagination/index.d.ts +1 -0
- package/dist/src/components/NS/progress/NSProgress.vue.d.ts +37 -0
- package/dist/src/components/NS/progress/NSProgressBar.vue.d.ts +39 -0
- package/dist/src/components/NS/progress/index.d.ts +2 -0
- package/dist/src/components/NS/slider/NSByteSlider.vue.d.ts +50 -0
- package/dist/src/components/NS/slider/NSSlider.vue.d.ts +49 -0
- package/dist/src/components/NS/slider/index.d.ts +2 -0
- package/dist/src/components/NS/tag/NSTag.vue.d.ts +41 -0
- package/dist/src/components/NS/tag/index.d.ts +1 -0
- package/dist/src/components/NS/text-input/NSTextInput.vue.d.ts +67 -0
- package/dist/src/components/NS/text-input/index.d.ts +1 -0
- package/dist/src/components/NS/toast-notification/NSToastNotification.vue.d.ts +44 -0
- package/dist/src/components/NS/toast-notification/index.d.ts +1 -0
- package/dist/src/components/NS/toggle/NSToggle.vue.d.ts +51 -0
- package/dist/src/components/NS/toggle/index.d.ts +1 -0
- package/dist/src/components/NS/wizard/NSWizard.vue.d.ts +86 -0
- package/dist/src/components/NS/wizard/index.d.ts +1 -0
- package/dist/src/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/src/components/ui/button/index.d.ts +7 -0
- package/dist/src/components/ui/card/Card.vue.d.ts +21 -0
- package/dist/src/components/ui/card/CardAction.vue.d.ts +21 -0
- package/dist/src/components/ui/card/CardContent.vue.d.ts +21 -0
- package/dist/src/components/ui/card/CardDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/card/CardFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/card/CardHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/card/CardTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/card/index.d.ts +7 -0
- package/dist/src/components/ui/checkbox/NsCheckbox.vue.d.ts +49 -0
- package/dist/src/components/ui/checkbox/index.d.ts +11 -0
- package/dist/src/components/ui/dialog/Dialog.vue.d.ts +28 -0
- package/dist/src/components/ui/dialog/index.d.ts +1 -0
- package/dist/src/components/ui/empty-state/NsEmptyState.vue.d.ts +45 -0
- package/dist/src/components/ui/empty-state/index.d.ts +11 -0
- package/dist/src/components/ui/inline-notification/NsInlineNotification.vue.d.ts +45 -0
- package/dist/src/components/ui/inline-notification/index.d.ts +6 -0
- package/dist/src/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/src/components/ui/input/index.d.ts +1 -0
- package/dist/src/components/ui/input-group/InputGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/input-group/InputGroupAddon.vue.d.ts +25 -0
- package/dist/src/components/ui/input-group/InputGroupButton.vue.d.ts +22 -0
- package/dist/src/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
- package/dist/src/components/ui/input-group/InputGroupText.vue.d.ts +21 -0
- package/dist/src/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
- package/dist/src/components/ui/input-group/index.d.ts +22 -0
- package/dist/src/components/ui/item/Item.vue.d.ts +27 -0
- package/dist/src/components/ui/item/ItemActions.vue.d.ts +21 -0
- package/dist/src/components/ui/item/ItemContent.vue.d.ts +21 -0
- package/dist/src/components/ui/item/ItemDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/item/ItemFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/item/ItemGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/item/ItemHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/item/ItemMedia.vue.d.ts +23 -0
- package/dist/src/components/ui/item/ItemSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/item/ItemTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/item/index.d.ts +20 -0
- package/dist/src/components/ui/label/Label.vue.d.ts +22 -0
- package/dist/src/components/ui/label/index.d.ts +1 -0
- package/dist/src/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/src/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/src/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/src/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/src/components/ui/select/SelectContent.vue.d.ts +32 -0
- package/dist/src/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/src/components/ui/select/SelectItem.vue.d.ts +23 -0
- package/dist/src/components/ui/select/SelectItemText.vue.d.ts +18 -0
- package/dist/src/components/ui/select/SelectLabel.vue.d.ts +22 -0
- package/dist/src/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/src/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/src/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/src/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/src/components/ui/select/index.d.ts +11 -0
- package/dist/src/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/src/components/ui/separator/index.d.ts +1 -0
- package/dist/src/components/ui/sheet/Sheet.vue.d.ts +25 -0
- package/dist/src/components/ui/sheet/SheetClose.vue.d.ts +18 -0
- package/dist/src/components/ui/sheet/SheetContent.vue.d.ts +39 -0
- package/dist/src/components/ui/sheet/SheetDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/sheet/SheetFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/sheet/SheetHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/sheet/SheetOverlay.vue.d.ts +22 -0
- package/dist/src/components/ui/sheet/SheetTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/sheet/SheetTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/sheet/index.d.ts +8 -0
- package/dist/src/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
- package/dist/src/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarGroupAction.vue.d.ts +22 -0
- package/dist/src/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
- package/dist/src/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarInput.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
- package/dist/src/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarMenuButton.vue.d.ts +27 -0
- package/dist/src/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
- package/dist/src/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
- package/dist/src/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
- package/dist/src/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarProvider.vue.d.ts +30 -0
- package/dist/src/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarSeparator.vue.d.ts +21 -0
- package/dist/src/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
- package/dist/src/components/ui/sidebar/index.d.ts +37 -0
- package/dist/src/components/ui/sidebar/utils.d.ts +56 -0
- package/dist/src/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
- package/dist/src/components/ui/skeleton/index.d.ts +1 -0
- package/dist/src/components/ui/sonner/Sonner.vue.d.ts +3 -0
- package/dist/src/components/ui/sonner/index.d.ts +1 -0
- package/dist/src/components/ui/switch/Switch.vue.d.ts +28 -0
- package/dist/src/components/ui/switch/index.d.ts +1 -0
- package/dist/src/components/ui/table/Table.vue.d.ts +21 -0
- package/dist/src/components/ui/table/TableBody.vue.d.ts +21 -0
- package/dist/src/components/ui/table/TableCaption.vue.d.ts +21 -0
- package/dist/src/components/ui/table/TableCell.vue.d.ts +21 -0
- package/dist/src/components/ui/table/TableEmpty.vue.d.ts +24 -0
- package/dist/src/components/ui/table/TableFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/table/TableHead.vue.d.ts +21 -0
- package/dist/src/components/ui/table/TableHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/table/TableRow.vue.d.ts +21 -0
- package/dist/src/components/ui/table/index.d.ts +9 -0
- package/dist/src/components/ui/table/utils.d.ts +3 -0
- package/dist/src/components/ui/tabs/Tabs.vue.d.ts +28 -0
- package/dist/src/components/ui/tabs/TabsContent.vue.d.ts +22 -0
- package/dist/src/components/ui/tabs/TabsList.vue.d.ts +22 -0
- package/dist/src/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
- package/dist/src/components/ui/tabs/index.d.ts +4 -0
- package/dist/src/components/ui/tag/NsTag.vue.d.ts +42 -0
- package/dist/src/components/ui/tag/index.d.ts +8 -0
- package/dist/src/components/ui/text-input/NsTextInput.vue.d.ts +79 -0
- package/dist/src/components/ui/text-input/index.d.ts +15 -0
- package/dist/src/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/src/components/ui/textarea/index.d.ts +1 -0
- package/dist/src/components/ui/toggle/NsToggle.vue.d.ts +54 -0
- package/dist/src/components/ui/toggle/index.d.ts +15 -0
- package/dist/src/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
- package/dist/src/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
- package/dist/src/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
- package/dist/src/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/tooltip/index.d.ts +4 -0
- package/dist/src/composables/index.d.ts +8 -0
- package/dist/src/composables/useDateTimeService.d.ts +10 -0
- package/dist/src/composables/useFilterService.d.ts +8 -0
- package/dist/src/composables/useIconService.d.ts +153 -0
- package/dist/src/composables/usePageTitleService.d.ts +3 -0
- package/dist/src/composables/useQueryParamService.d.ts +13 -0
- package/dist/src/composables/useStorageService.d.ts +5 -0
- package/dist/src/composables/useTaskService.d.ts +18 -0
- package/dist/src/composables/useUtilService.d.ts +27 -0
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/vite.svg +1 -0
- package/package.json +80 -0
- package/src/App.vue +30 -0
- package/src/components/HelloWorld.vue +41 -0
- package/src/components/NS/CompleteDemo.vue +475 -0
- package/src/components/NS/Demo.vue +191 -0
- package/src/components/NS/cards/NSBackupCard.vue +272 -0
- package/src/components/NS/cards/NSSystemInfoCard.vue +252 -0
- package/src/components/NS/cards/NSSystemdServiceCard.vue +250 -0
- package/src/components/NS/checkbox/NSCheckbox.vue +104 -0
- package/src/components/NS/data-table/NSDataTable.vue +434 -0
- package/src/components/NS/empty-state/NSEmptyState.vue +188 -0
- package/src/components/NS/inline-notification/NSInlineNotification.vue +162 -0
- package/src/components/NS/lottie-animation/NSLottieAnimation.vue +255 -0
- package/src/components/NS/modal/NSModal.vue +193 -0
- package/src/components/NS/modal/NSModalTrigger.vue +109 -0
- package/src/components/NS/pagination/NSPagination.vue +247 -0
- package/src/components/NS/progress/NSProgress.vue +115 -0
- package/src/components/NS/progress/NSProgressBar.vue +137 -0
- package/src/components/NS/slider/NSByteSlider.vue +144 -0
- package/src/components/NS/slider/NSSlider.vue +142 -0
- package/src/components/NS/tag/NSTag.vue +139 -0
- package/src/components/NS/text-input/NSTextInput.vue +242 -0
- package/src/components/NS/toast-notification/NSToastNotification.vue +163 -0
- package/src/components/NS/toggle/NSToggle.vue +156 -0
- package/src/components/NS/wizard/NSWizard.vue +399 -0
- package/src/components/ui/button/Button.vue +29 -0
- package/src/components/ui/card/Card.vue +22 -0
- package/src/components/ui/card/CardAction.vue +17 -0
- package/src/components/ui/card/CardContent.vue +17 -0
- package/src/components/ui/card/CardDescription.vue +17 -0
- package/src/components/ui/card/CardFooter.vue +17 -0
- package/src/components/ui/card/CardHeader.vue +17 -0
- package/src/components/ui/card/CardTitle.vue +17 -0
- package/src/components/ui/checkbox/NsCheckbox.vue +123 -0
- package/src/components/ui/dialog/Dialog.vue +68 -0
- package/src/components/ui/empty-state/NsEmptyState.vue +149 -0
- package/src/components/ui/inline-notification/NsInlineNotification.vue +163 -0
- package/src/components/ui/input/Input.vue +33 -0
- package/src/components/ui/input-group/InputGroup.vue +35 -0
- package/src/components/ui/input-group/InputGroupAddon.vue +36 -0
- package/src/components/ui/input-group/InputGroupButton.vue +21 -0
- package/src/components/ui/input-group/InputGroupInput.vue +19 -0
- package/src/components/ui/input-group/InputGroupText.vue +19 -0
- package/src/components/ui/input-group/InputGroupTextarea.vue +19 -0
- package/src/components/ui/item/Item.vue +27 -0
- package/src/components/ui/item/ItemActions.vue +17 -0
- package/src/components/ui/item/ItemContent.vue +17 -0
- package/src/components/ui/item/ItemDescription.vue +21 -0
- package/src/components/ui/item/ItemFooter.vue +17 -0
- package/src/components/ui/item/ItemGroup.vue +18 -0
- package/src/components/ui/item/ItemHeader.vue +17 -0
- package/src/components/ui/item/ItemMedia.vue +21 -0
- package/src/components/ui/item/ItemSeparator.vue +18 -0
- package/src/components/ui/item/ItemTitle.vue +17 -0
- package/src/components/ui/label/Label.vue +26 -0
- package/src/components/ui/scroll-area/ScrollArea.vue +33 -0
- package/src/components/ui/scroll-area/ScrollBar.vue +32 -0
- package/src/components/ui/select/Select.vue +19 -0
- package/src/components/ui/select/SelectContent.vue +51 -0
- package/src/components/ui/select/SelectGroup.vue +15 -0
- package/src/components/ui/select/SelectItem.vue +44 -0
- package/src/components/ui/select/SelectItemText.vue +15 -0
- package/src/components/ui/select/SelectLabel.vue +17 -0
- package/src/components/ui/select/SelectScrollDownButton.vue +26 -0
- package/src/components/ui/select/SelectScrollUpButton.vue +26 -0
- package/src/components/ui/select/SelectSeparator.vue +19 -0
- package/src/components/ui/select/SelectTrigger.vue +33 -0
- package/src/components/ui/select/SelectValue.vue +15 -0
- package/src/components/ui/separator/Separator.vue +29 -0
- package/src/components/ui/sheet/Sheet.vue +19 -0
- package/src/components/ui/sheet/SheetClose.vue +15 -0
- package/src/components/ui/sheet/SheetContent.vue +62 -0
- package/src/components/ui/sheet/SheetDescription.vue +21 -0
- package/src/components/ui/sheet/SheetFooter.vue +16 -0
- package/src/components/ui/sheet/SheetHeader.vue +15 -0
- package/src/components/ui/sheet/SheetOverlay.vue +21 -0
- package/src/components/ui/sheet/SheetTitle.vue +21 -0
- package/src/components/ui/sheet/SheetTrigger.vue +15 -0
- package/src/components/ui/sidebar/Sidebar.vue +96 -0
- package/src/components/ui/sidebar/SidebarContent.vue +18 -0
- package/src/components/ui/sidebar/SidebarFooter.vue +18 -0
- package/src/components/ui/sidebar/SidebarGroup.vue +18 -0
- package/src/components/ui/sidebar/SidebarGroupAction.vue +27 -0
- package/src/components/ui/sidebar/SidebarGroupContent.vue +18 -0
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
- package/src/components/ui/sidebar/SidebarHeader.vue +18 -0
- package/src/components/ui/sidebar/SidebarInput.vue +22 -0
- package/src/components/ui/sidebar/SidebarInset.vue +21 -0
- package/src/components/ui/sidebar/SidebarMenu.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenuAction.vue +35 -0
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +26 -0
- package/src/components/ui/sidebar/SidebarMenuButton.vue +48 -0
- package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +36 -0
- package/src/components/ui/sidebar/SidebarMenuItem.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +35 -0
- package/src/components/ui/sidebar/SidebarMenuSub.vue +22 -0
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +36 -0
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +18 -0
- package/src/components/ui/sidebar/SidebarProvider.vue +82 -0
- package/src/components/ui/sidebar/SidebarRail.vue +33 -0
- package/src/components/ui/sidebar/SidebarSeparator.vue +19 -0
- package/src/components/ui/sidebar/SidebarTrigger.vue +27 -0
- package/src/components/ui/skeleton/Skeleton.vue +17 -0
- package/src/components/ui/sonner/Sonner.vue +42 -0
- package/src/components/ui/switch/Switch.vue +38 -0
- package/src/components/ui/table/Table.vue +16 -0
- package/src/components/ui/table/TableBody.vue +17 -0
- package/src/components/ui/table/TableCaption.vue +17 -0
- package/src/components/ui/table/TableCell.vue +22 -0
- package/src/components/ui/table/TableEmpty.vue +34 -0
- package/src/components/ui/table/TableFooter.vue +17 -0
- package/src/components/ui/table/TableHead.vue +17 -0
- package/src/components/ui/table/TableHeader.vue +17 -0
- package/src/components/ui/table/TableRow.vue +17 -0
- package/src/components/ui/tabs/Tabs.vue +24 -0
- package/src/components/ui/tabs/TabsContent.vue +21 -0
- package/src/components/ui/tabs/TabsList.vue +24 -0
- package/src/components/ui/tabs/TabsTrigger.vue +26 -0
- package/src/components/ui/tag/NsTag.vue +114 -0
- package/src/components/ui/text-input/NsTextInput.vue +269 -0
- package/src/components/ui/textarea/Textarea.vue +28 -0
- package/src/components/ui/toggle/NsToggle.vue +126 -0
- package/src/components/ui/tooltip/Tooltip.vue +19 -0
- package/src/components/ui/tooltip/TooltipContent.vue +34 -0
- package/src/components/ui/tooltip/TooltipProvider.vue +14 -0
- package/src/components/ui/tooltip/TooltipTrigger.vue +15 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TooltipProviderProps } from 'reka-ui';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<TooltipProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TooltipProviderProps> & Readonly<{}>, {
|
|
12
|
+
delayDuration: number;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TooltipTriggerProps } from 'reka-ui';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<TooltipTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TooltipTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { useDateTimeService } from './useDateTimeService';
|
|
2
|
+
export { useUtilService } from './useUtilService';
|
|
3
|
+
export { useIconService } from './useIconService';
|
|
4
|
+
export { usePageTitleService } from './usePageTitleService';
|
|
5
|
+
export { useQueryParamService } from './useQueryParamService';
|
|
6
|
+
export { useStorageService } from './useStorageService';
|
|
7
|
+
export { useTaskService } from './useTaskService';
|
|
8
|
+
export { useFilterService } from './useFilterService';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { formatDistance, subDays, isBefore, parseISO } from 'date-fns';
|
|
2
|
+
import { format } from 'date-fns-tz';
|
|
3
|
+
export declare const useDateTimeService: () => {
|
|
4
|
+
formatDate: typeof format;
|
|
5
|
+
formatDateDistance: typeof formatDistance;
|
|
6
|
+
subDays: typeof subDays;
|
|
7
|
+
parseIsoDate: typeof parseISO;
|
|
8
|
+
dateIsBefore: typeof isBefore;
|
|
9
|
+
formatInTimeZone: (date: Date | string, fmt: string, tz: string) => string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const useFilterService: () => {
|
|
2
|
+
byteFormat: (size: number | null | string) => string;
|
|
3
|
+
humanFormat: (number: number | null | string, decimals?: boolean) => string;
|
|
4
|
+
mibFormat: (size: number | null | string) => string;
|
|
5
|
+
gibFormat: (size: number | null | string) => string;
|
|
6
|
+
secondsFormat: (value: number) => string;
|
|
7
|
+
secondsLongFormat: (value: number) => string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
export declare const useIconService: () => {
|
|
2
|
+
Close20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
3
|
+
ArrowRight20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
4
|
+
ArrowRight32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
5
|
+
Notification20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
6
|
+
UserAvatar20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
7
|
+
UserAvatar32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
8
|
+
Search20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
9
|
+
RowExpand20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
10
|
+
RowCollapse20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
11
|
+
Reset20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
12
|
+
Reset32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
13
|
+
Download20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
14
|
+
Launch20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
15
|
+
Upgrade20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
16
|
+
Upgrade32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
17
|
+
Settings16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
18
|
+
Settings20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
19
|
+
Settings32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
20
|
+
ChevronDown20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
21
|
+
ChevronUp20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
22
|
+
ChevronLeft20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
23
|
+
ChevronRight20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
24
|
+
Information16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
25
|
+
Information20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
26
|
+
InformationFilled16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
27
|
+
Application20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
28
|
+
Application32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
29
|
+
Add20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
30
|
+
Rocket20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
31
|
+
Rocket32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
32
|
+
Chip20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
33
|
+
Chip32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
34
|
+
Save20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
35
|
+
Save32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
36
|
+
Copy20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
37
|
+
EdgeNode20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
38
|
+
EdgeNode32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
39
|
+
Cube32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
40
|
+
EdgeCluster20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
41
|
+
EdgeCluster32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
42
|
+
Connect32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
43
|
+
Connect20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
44
|
+
Edit20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
45
|
+
Password20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
46
|
+
Star20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
47
|
+
Checkmark20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
48
|
+
ZoomIn20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
49
|
+
Events32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
50
|
+
Events20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
51
|
+
Events16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
52
|
+
Link20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
53
|
+
Link32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
54
|
+
WarningAlt20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
55
|
+
WarningAlt32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
56
|
+
Tools20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
57
|
+
Tools32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
58
|
+
Network_220: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
59
|
+
Network_232: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
60
|
+
DataBase20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
61
|
+
DataBase32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
62
|
+
DataBackup20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
63
|
+
DataBackup32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
64
|
+
ArrowDown20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
65
|
+
ArrowDown32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
66
|
+
Time20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
67
|
+
Time32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
68
|
+
Hourglass20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
69
|
+
Hourglass32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
70
|
+
CheckmarkFilled16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
71
|
+
CheckmarkFilled20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
72
|
+
CheckmarkFilled32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
73
|
+
ErrorFilled16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
74
|
+
ErrorFilled20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
75
|
+
ErrorFilled32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
76
|
+
Warning16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
77
|
+
Warning20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
78
|
+
Warning32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
79
|
+
Power16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
80
|
+
Power20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
81
|
+
Power32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
82
|
+
Document20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
83
|
+
Document32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
84
|
+
OverflowMenuVertical20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
85
|
+
OverflowMenuVertical32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
86
|
+
Restart20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
87
|
+
Restart32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
88
|
+
TrashCan20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
89
|
+
TrashCan32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
90
|
+
Erase20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
91
|
+
Erase32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
92
|
+
Row20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
93
|
+
Column20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
94
|
+
Catalog20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
95
|
+
Catalog32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
96
|
+
Group20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
97
|
+
Router32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
98
|
+
Router20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
99
|
+
Certificate32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
100
|
+
Certificate20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
101
|
+
BareMetalServer20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
102
|
+
BareMetalServer32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
103
|
+
Firewall20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
104
|
+
Firewall32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
105
|
+
Wikis32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
106
|
+
Wikis20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
107
|
+
Wikis16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
108
|
+
At32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
109
|
+
At20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
110
|
+
User16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
111
|
+
User20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
112
|
+
User32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
113
|
+
Unknown16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
114
|
+
Unknown20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
115
|
+
Unknown32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
116
|
+
Email16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
117
|
+
Email20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
118
|
+
Email32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
119
|
+
Locked16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
120
|
+
Locked20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
121
|
+
Locked32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
122
|
+
Folder16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
123
|
+
Folder20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
124
|
+
Folder32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
125
|
+
Asterisk16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
126
|
+
Asterisk20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
127
|
+
Asterisk32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
128
|
+
Box16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
129
|
+
Box20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
130
|
+
Box32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
131
|
+
UserMilitary32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
132
|
+
Rule16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
133
|
+
Rule20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
134
|
+
Rule32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
135
|
+
Filter16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
136
|
+
Filter20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
137
|
+
Filter32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
138
|
+
CloseFilled16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
139
|
+
CloseFilled20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
140
|
+
CloseFilled32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
141
|
+
Badge16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
142
|
+
Badge20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
143
|
+
Badge32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
144
|
+
FolderShared16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
145
|
+
FolderShared20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
146
|
+
FolderShared32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
147
|
+
MailAll16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
148
|
+
MailAll20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
149
|
+
MailAll32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
150
|
+
CloudUpload16: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
151
|
+
CloudUpload20: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
152
|
+
CloudUpload32: import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
153
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { RouteLocationNormalized, Router } from 'vue-router';
|
|
3
|
+
export declare const useQueryParamService: () => {
|
|
4
|
+
getTypedValue: (stringValue: string) => string | boolean;
|
|
5
|
+
getQueryParams: () => Record<string, string>;
|
|
6
|
+
getQueryParamsForApp: () => Record<string, string>;
|
|
7
|
+
queryParamsToData: (q: Ref<Record<string, any>>, queryParams: Record<string, string>) => void;
|
|
8
|
+
dataToQueryParams: (q: Ref<Record<string, any>>, route: RouteLocationNormalized, router: Router) => void;
|
|
9
|
+
watchQueryData: (q: Ref<Record<string, any>>, route: RouteLocationNormalized, router: Router) => void;
|
|
10
|
+
initUrlBindingForApp: (q: Ref<Record<string, any>>, page: string, callback?: (page: string) => void) => number | null;
|
|
11
|
+
cleanupUrlBinding: () => void;
|
|
12
|
+
getPage: () => string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const useTaskService: () => {
|
|
2
|
+
getTaskContext: (taskPath: string, apiUrl: string) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
3
|
+
getTaskStatus: (taskPath: string, apiUrl: string) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
4
|
+
getClusterTasks: (apiUrl: string) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
5
|
+
createClusterTask: (taskData: any, apiUrl: string) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
6
|
+
createClusterTaskForApp: (taskData: any) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
7
|
+
createModuleTaskForApp: (moduleId: string, taskData: any) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
8
|
+
createNodeTask: (nodeId: string, taskData: any, apiUrl: string) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
9
|
+
createNodeTaskForApp: (nodeId: string, taskData: any) => Promise<import('axios').AxiosResponse<any, any, {}>>;
|
|
10
|
+
getTaskTitle: (task: any) => string;
|
|
11
|
+
getTaskKind: (task: any) => "error" | "success" | "warning" | "info";
|
|
12
|
+
getTaskIcon: (task: any) => import('vue').FunctionalComponent<import('lucide-vue-next').LucideProps, {}, any, {}>;
|
|
13
|
+
getTaskStatusDescription: (task: any, t: (key: string, args?: any) => string, rootTask?: boolean) => string;
|
|
14
|
+
createErrorNotification: (err: any, message: string, emit: (event: string, ...args: any[]) => void) => void;
|
|
15
|
+
createErrorNotificationForApp: (err: any, message: string) => void;
|
|
16
|
+
createNotificationForApp: (notification: any) => void;
|
|
17
|
+
deleteNotificationForApp: (notification: any) => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const useUtilService: () => {
|
|
2
|
+
DELETE_DELAY: number;
|
|
3
|
+
time24HourPattern: RegExp;
|
|
4
|
+
time24HourPatternString: string;
|
|
5
|
+
time24HourPlaceholder: string;
|
|
6
|
+
highlightAnchor: string;
|
|
7
|
+
ipAddressPattern: RegExp;
|
|
8
|
+
cidrPattern: RegExp;
|
|
9
|
+
getErrorMessage: (error: any, t?: (key: string, args?: any) => string) => string;
|
|
10
|
+
clearErrors: (error: any) => void;
|
|
11
|
+
clearStrings: (obj: any) => void;
|
|
12
|
+
sortByProperty: (property: string) => (a: any, b: any) => 0 | 1 | -1;
|
|
13
|
+
sortModuleInstances: () => (instance1: any, instance2: any) => 0 | 1 | -1;
|
|
14
|
+
isJson: (s: string) => boolean;
|
|
15
|
+
tryParseJson: (s: string) => any;
|
|
16
|
+
focusElement: (elementRef: any) => void;
|
|
17
|
+
scrollToElement: (element: Element) => void;
|
|
18
|
+
getAppDescription: (app: any, t: (key: string, args?: any) => string, locale: string) => any;
|
|
19
|
+
getAppCategories: (app: any, t: (key: string, args?: any) => string) => string;
|
|
20
|
+
getBackupScheduleDescription: (schedule: any, t: (key: string, args?: any) => string) => string;
|
|
21
|
+
fileToBase64: (file: File) => Promise<string>;
|
|
22
|
+
getUuid: () => string;
|
|
23
|
+
getNodeLabel: (node: any, t: (key: string, args?: any) => string) => string;
|
|
24
|
+
getShortNodeLabel: (node: any, t: (key: string, args?: any) => string) => any;
|
|
25
|
+
decodeJwtPayload: (token: string) => any;
|
|
26
|
+
getSha256: (message: string) => Promise<string>;
|
|
27
|
+
};
|
|
File without changes
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@geniusdynamics/ns8-ui-lib",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Vue 3 library for NethServer 8 UI with TailwindCSS and Shadcn Vue",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nethserver",
|
|
7
|
+
"nethesis",
|
|
8
|
+
"vuejs",
|
|
9
|
+
"vue",
|
|
10
|
+
"vue3",
|
|
11
|
+
"tailwindcss",
|
|
12
|
+
"shadcn"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/geniusdynamics/ns8-ui-lib#readme",
|
|
15
|
+
"bugs": "https://github.com/geniusdynamics/ns8-ui-lib/issues",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/geniusdynamics/ns8-ui-lib.git"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"main": "dist/ns8-ui-lib.umd.js",
|
|
24
|
+
"browser": "dist/ns8-ui-lib.es.js",
|
|
25
|
+
"module": "dist/ns8-ui-lib.es.js",
|
|
26
|
+
"types": "dist/index.d.ts",
|
|
27
|
+
"files": [
|
|
28
|
+
"dist/*",
|
|
29
|
+
"src/**/*.vue"
|
|
30
|
+
],
|
|
31
|
+
"sideEffects": false,
|
|
32
|
+
"scripts": {
|
|
33
|
+
"dev": "vite",
|
|
34
|
+
"build": "vite build",
|
|
35
|
+
"preview": "vite preview",
|
|
36
|
+
"build-lib": " vite build --mode lib",
|
|
37
|
+
"type-check": "vue-tsc --noEmit"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@tanstack/vue-table": "^8.21.3",
|
|
41
|
+
"@vueuse/core": "^11.0.3",
|
|
42
|
+
"axios": "^1.13.2",
|
|
43
|
+
"class-variance-authority": "^0.7.1",
|
|
44
|
+
"clsx": "^2.1.1",
|
|
45
|
+
"date-fns": "^4.1.0",
|
|
46
|
+
"date-fns-tz": "^3.2.0",
|
|
47
|
+
"lottie-web-vue": "^1.2.0",
|
|
48
|
+
"radix-vue": "^1.9.7",
|
|
49
|
+
"reka-ui": "^2.6.1",
|
|
50
|
+
"tailwind-merge": "^3.4.0",
|
|
51
|
+
"tw-animate-css": "^1.4.0",
|
|
52
|
+
"uuid": "^13.0.0",
|
|
53
|
+
"vue": "^3.5.24",
|
|
54
|
+
"vue-sonner": "^2.0.9"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
58
|
+
"@types/node": "^24.10.1",
|
|
59
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
60
|
+
"@vue/tsconfig": "^0.8.1",
|
|
61
|
+
"autoprefixer": "^10.4.20",
|
|
62
|
+
"postcss": "^8.4.47",
|
|
63
|
+
"shadcn-vue": "^2.4.3",
|
|
64
|
+
"tailwindcss": "^4.1.18",
|
|
65
|
+
"tailwindcss-animate": "^1.0.7",
|
|
66
|
+
"typescript": "~5.9.3",
|
|
67
|
+
"vite": "^7.2.4",
|
|
68
|
+
"vite-plugin-dts": "^4.3.0",
|
|
69
|
+
"vue-tsc": "^3.1.4"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"lucide-vue-next": "^0.562.0",
|
|
73
|
+
"vue": "^3.3.0",
|
|
74
|
+
"vue-router": "^4.6.4"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=18"
|
|
78
|
+
},
|
|
79
|
+
"license": "GPL-3.0-or-later"
|
|
80
|
+
}
|
package/src/App.vue
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import HelloWorld from './components/HelloWorld.vue'
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div>
|
|
7
|
+
<a href="https://vite.dev" target="_blank">
|
|
8
|
+
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://vuejs.org/" target="_blank">
|
|
11
|
+
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
12
|
+
</a>
|
|
13
|
+
</div>
|
|
14
|
+
<HelloWorld msg="Vite + Vue" />
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<style scoped>
|
|
18
|
+
.logo {
|
|
19
|
+
height: 6em;
|
|
20
|
+
padding: 1.5em;
|
|
21
|
+
will-change: filter;
|
|
22
|
+
transition: filter 300ms;
|
|
23
|
+
}
|
|
24
|
+
.logo:hover {
|
|
25
|
+
filter: drop-shadow(0 0 2em #646cffaa);
|
|
26
|
+
}
|
|
27
|
+
.logo.vue:hover {
|
|
28
|
+
filter: drop-shadow(0 0 2em #42b883aa);
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue'
|
|
3
|
+
|
|
4
|
+
defineProps<{ msg: string }>()
|
|
5
|
+
|
|
6
|
+
const count = ref(0)
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<h1>{{ msg }}</h1>
|
|
11
|
+
|
|
12
|
+
<div class="card">
|
|
13
|
+
<button type="button" @click="count++">count is {{ count }}</button>
|
|
14
|
+
<p>
|
|
15
|
+
Edit
|
|
16
|
+
<code>components/HelloWorld.vue</code> to test HMR
|
|
17
|
+
</p>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<p>
|
|
21
|
+
Check out
|
|
22
|
+
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
|
|
23
|
+
>create-vue</a
|
|
24
|
+
>, the official Vue + Vite starter
|
|
25
|
+
</p>
|
|
26
|
+
<p>
|
|
27
|
+
Learn more about IDE Support for Vue in the
|
|
28
|
+
<a
|
|
29
|
+
href="https://vuejs.org/guide/scaling-up/tooling.html#ide-support"
|
|
30
|
+
target="_blank"
|
|
31
|
+
>Vue Docs Scaling up Guide</a
|
|
32
|
+
>.
|
|
33
|
+
</p>
|
|
34
|
+
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<style scoped>
|
|
38
|
+
.read-the-docs {
|
|
39
|
+
color: #888;
|
|
40
|
+
}
|
|
41
|
+
</style>
|