@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.
Files changed (310) hide show
  1. package/README.md +167 -0
  2. package/dist/index.d.ts +14 -0
  3. package/dist/ns8-ui-lib.es.js +4278 -0
  4. package/dist/ns8-ui-lib.es.js.map +1 -0
  5. package/dist/ns8-ui-lib.umd.js +7 -0
  6. package/dist/ns8-ui-lib.umd.js.map +1 -0
  7. package/dist/src/App.vue.d.ts +2 -0
  8. package/dist/src/components/HelloWorld.vue.d.ts +5 -0
  9. package/dist/src/components/NS/cards/NSBackupCard.vue.d.ts +51 -0
  10. package/dist/src/components/NS/cards/NSSystemInfoCard.vue.d.ts +58 -0
  11. package/dist/src/components/NS/cards/NSSystemdServiceCard.vue.d.ts +47 -0
  12. package/dist/src/components/NS/cards/index.d.ts +3 -0
  13. package/dist/src/components/NS/checkbox/NSCheckbox.vue.d.ts +37 -0
  14. package/dist/src/components/NS/checkbox/index.d.ts +1 -0
  15. package/dist/src/components/NS/data-table/NSDataTable.vue.d.ts +98 -0
  16. package/dist/src/components/NS/data-table/index.d.ts +1 -0
  17. package/dist/src/components/NS/empty-state/NSEmptyState.vue.d.ts +45 -0
  18. package/dist/src/components/NS/empty-state/index.d.ts +1 -0
  19. package/dist/src/components/NS/index.d.ts +35 -0
  20. package/dist/src/components/NS/inline-notification/NSInlineNotification.vue.d.ts +44 -0
  21. package/dist/src/components/NS/inline-notification/index.d.ts +1 -0
  22. package/dist/src/components/NS/lottie-animation/NSLottieAnimation.vue.d.ts +75 -0
  23. package/dist/src/components/NS/lottie-animation/index.d.ts +1 -0
  24. package/dist/src/components/NS/modal/NSModal.vue.d.ts +56 -0
  25. package/dist/src/components/NS/modal/NSModalTrigger.vue.d.ts +64 -0
  26. package/dist/src/components/NS/modal/index.d.ts +2 -0
  27. package/dist/src/components/NS/pagination/NSPagination.vue.d.ts +36 -0
  28. package/dist/src/components/NS/pagination/index.d.ts +1 -0
  29. package/dist/src/components/NS/progress/NSProgress.vue.d.ts +37 -0
  30. package/dist/src/components/NS/progress/NSProgressBar.vue.d.ts +39 -0
  31. package/dist/src/components/NS/progress/index.d.ts +2 -0
  32. package/dist/src/components/NS/slider/NSByteSlider.vue.d.ts +50 -0
  33. package/dist/src/components/NS/slider/NSSlider.vue.d.ts +49 -0
  34. package/dist/src/components/NS/slider/index.d.ts +2 -0
  35. package/dist/src/components/NS/tag/NSTag.vue.d.ts +41 -0
  36. package/dist/src/components/NS/tag/index.d.ts +1 -0
  37. package/dist/src/components/NS/text-input/NSTextInput.vue.d.ts +67 -0
  38. package/dist/src/components/NS/text-input/index.d.ts +1 -0
  39. package/dist/src/components/NS/toast-notification/NSToastNotification.vue.d.ts +44 -0
  40. package/dist/src/components/NS/toast-notification/index.d.ts +1 -0
  41. package/dist/src/components/NS/toggle/NSToggle.vue.d.ts +51 -0
  42. package/dist/src/components/NS/toggle/index.d.ts +1 -0
  43. package/dist/src/components/NS/wizard/NSWizard.vue.d.ts +86 -0
  44. package/dist/src/components/NS/wizard/index.d.ts +1 -0
  45. package/dist/src/components/ui/button/Button.vue.d.ts +27 -0
  46. package/dist/src/components/ui/button/index.d.ts +7 -0
  47. package/dist/src/components/ui/card/Card.vue.d.ts +21 -0
  48. package/dist/src/components/ui/card/CardAction.vue.d.ts +21 -0
  49. package/dist/src/components/ui/card/CardContent.vue.d.ts +21 -0
  50. package/dist/src/components/ui/card/CardDescription.vue.d.ts +21 -0
  51. package/dist/src/components/ui/card/CardFooter.vue.d.ts +21 -0
  52. package/dist/src/components/ui/card/CardHeader.vue.d.ts +21 -0
  53. package/dist/src/components/ui/card/CardTitle.vue.d.ts +21 -0
  54. package/dist/src/components/ui/card/index.d.ts +7 -0
  55. package/dist/src/components/ui/checkbox/NsCheckbox.vue.d.ts +49 -0
  56. package/dist/src/components/ui/checkbox/index.d.ts +11 -0
  57. package/dist/src/components/ui/dialog/Dialog.vue.d.ts +28 -0
  58. package/dist/src/components/ui/dialog/index.d.ts +1 -0
  59. package/dist/src/components/ui/empty-state/NsEmptyState.vue.d.ts +45 -0
  60. package/dist/src/components/ui/empty-state/index.d.ts +11 -0
  61. package/dist/src/components/ui/inline-notification/NsInlineNotification.vue.d.ts +45 -0
  62. package/dist/src/components/ui/inline-notification/index.d.ts +6 -0
  63. package/dist/src/components/ui/input/Input.vue.d.ts +12 -0
  64. package/dist/src/components/ui/input/index.d.ts +1 -0
  65. package/dist/src/components/ui/input-group/InputGroup.vue.d.ts +21 -0
  66. package/dist/src/components/ui/input-group/InputGroupAddon.vue.d.ts +25 -0
  67. package/dist/src/components/ui/input-group/InputGroupButton.vue.d.ts +22 -0
  68. package/dist/src/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
  69. package/dist/src/components/ui/input-group/InputGroupText.vue.d.ts +21 -0
  70. package/dist/src/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
  71. package/dist/src/components/ui/input-group/index.d.ts +22 -0
  72. package/dist/src/components/ui/item/Item.vue.d.ts +27 -0
  73. package/dist/src/components/ui/item/ItemActions.vue.d.ts +21 -0
  74. package/dist/src/components/ui/item/ItemContent.vue.d.ts +21 -0
  75. package/dist/src/components/ui/item/ItemDescription.vue.d.ts +21 -0
  76. package/dist/src/components/ui/item/ItemFooter.vue.d.ts +21 -0
  77. package/dist/src/components/ui/item/ItemGroup.vue.d.ts +21 -0
  78. package/dist/src/components/ui/item/ItemHeader.vue.d.ts +21 -0
  79. package/dist/src/components/ui/item/ItemMedia.vue.d.ts +23 -0
  80. package/dist/src/components/ui/item/ItemSeparator.vue.d.ts +7 -0
  81. package/dist/src/components/ui/item/ItemTitle.vue.d.ts +21 -0
  82. package/dist/src/components/ui/item/index.d.ts +20 -0
  83. package/dist/src/components/ui/label/Label.vue.d.ts +22 -0
  84. package/dist/src/components/ui/label/index.d.ts +1 -0
  85. package/dist/src/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
  86. package/dist/src/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
  87. package/dist/src/components/ui/scroll-area/index.d.ts +2 -0
  88. package/dist/src/components/ui/select/Select.vue.d.ts +28 -0
  89. package/dist/src/components/ui/select/SelectContent.vue.d.ts +32 -0
  90. package/dist/src/components/ui/select/SelectGroup.vue.d.ts +18 -0
  91. package/dist/src/components/ui/select/SelectItem.vue.d.ts +23 -0
  92. package/dist/src/components/ui/select/SelectItemText.vue.d.ts +18 -0
  93. package/dist/src/components/ui/select/SelectLabel.vue.d.ts +22 -0
  94. package/dist/src/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
  95. package/dist/src/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
  96. package/dist/src/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  97. package/dist/src/components/ui/select/SelectTrigger.vue.d.ts +25 -0
  98. package/dist/src/components/ui/select/SelectValue.vue.d.ts +18 -0
  99. package/dist/src/components/ui/select/index.d.ts +11 -0
  100. package/dist/src/components/ui/separator/Separator.vue.d.ts +10 -0
  101. package/dist/src/components/ui/separator/index.d.ts +1 -0
  102. package/dist/src/components/ui/sheet/Sheet.vue.d.ts +25 -0
  103. package/dist/src/components/ui/sheet/SheetClose.vue.d.ts +18 -0
  104. package/dist/src/components/ui/sheet/SheetContent.vue.d.ts +39 -0
  105. package/dist/src/components/ui/sheet/SheetDescription.vue.d.ts +22 -0
  106. package/dist/src/components/ui/sheet/SheetFooter.vue.d.ts +21 -0
  107. package/dist/src/components/ui/sheet/SheetHeader.vue.d.ts +21 -0
  108. package/dist/src/components/ui/sheet/SheetOverlay.vue.d.ts +22 -0
  109. package/dist/src/components/ui/sheet/SheetTitle.vue.d.ts +22 -0
  110. package/dist/src/components/ui/sheet/SheetTrigger.vue.d.ts +18 -0
  111. package/dist/src/components/ui/sheet/index.d.ts +8 -0
  112. package/dist/src/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
  113. package/dist/src/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
  114. package/dist/src/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
  115. package/dist/src/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
  116. package/dist/src/components/ui/sidebar/SidebarGroupAction.vue.d.ts +22 -0
  117. package/dist/src/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
  118. package/dist/src/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
  119. package/dist/src/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
  120. package/dist/src/components/ui/sidebar/SidebarInput.vue.d.ts +21 -0
  121. package/dist/src/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
  122. package/dist/src/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
  123. package/dist/src/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
  124. package/dist/src/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
  125. package/dist/src/components/ui/sidebar/SidebarMenuButton.vue.d.ts +27 -0
  126. package/dist/src/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
  127. package/dist/src/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
  128. package/dist/src/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
  129. package/dist/src/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
  130. package/dist/src/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
  131. package/dist/src/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
  132. package/dist/src/components/ui/sidebar/SidebarProvider.vue.d.ts +30 -0
  133. package/dist/src/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
  134. package/dist/src/components/ui/sidebar/SidebarSeparator.vue.d.ts +21 -0
  135. package/dist/src/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
  136. package/dist/src/components/ui/sidebar/index.d.ts +37 -0
  137. package/dist/src/components/ui/sidebar/utils.d.ts +56 -0
  138. package/dist/src/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
  139. package/dist/src/components/ui/skeleton/index.d.ts +1 -0
  140. package/dist/src/components/ui/sonner/Sonner.vue.d.ts +3 -0
  141. package/dist/src/components/ui/sonner/index.d.ts +1 -0
  142. package/dist/src/components/ui/switch/Switch.vue.d.ts +28 -0
  143. package/dist/src/components/ui/switch/index.d.ts +1 -0
  144. package/dist/src/components/ui/table/Table.vue.d.ts +21 -0
  145. package/dist/src/components/ui/table/TableBody.vue.d.ts +21 -0
  146. package/dist/src/components/ui/table/TableCaption.vue.d.ts +21 -0
  147. package/dist/src/components/ui/table/TableCell.vue.d.ts +21 -0
  148. package/dist/src/components/ui/table/TableEmpty.vue.d.ts +24 -0
  149. package/dist/src/components/ui/table/TableFooter.vue.d.ts +21 -0
  150. package/dist/src/components/ui/table/TableHead.vue.d.ts +21 -0
  151. package/dist/src/components/ui/table/TableHeader.vue.d.ts +21 -0
  152. package/dist/src/components/ui/table/TableRow.vue.d.ts +21 -0
  153. package/dist/src/components/ui/table/index.d.ts +9 -0
  154. package/dist/src/components/ui/table/utils.d.ts +3 -0
  155. package/dist/src/components/ui/tabs/Tabs.vue.d.ts +28 -0
  156. package/dist/src/components/ui/tabs/TabsContent.vue.d.ts +22 -0
  157. package/dist/src/components/ui/tabs/TabsList.vue.d.ts +22 -0
  158. package/dist/src/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
  159. package/dist/src/components/ui/tabs/index.d.ts +4 -0
  160. package/dist/src/components/ui/tag/NsTag.vue.d.ts +42 -0
  161. package/dist/src/components/ui/tag/index.d.ts +8 -0
  162. package/dist/src/components/ui/text-input/NsTextInput.vue.d.ts +79 -0
  163. package/dist/src/components/ui/text-input/index.d.ts +15 -0
  164. package/dist/src/components/ui/textarea/Textarea.vue.d.ts +12 -0
  165. package/dist/src/components/ui/textarea/index.d.ts +1 -0
  166. package/dist/src/components/ui/toggle/NsToggle.vue.d.ts +54 -0
  167. package/dist/src/components/ui/toggle/index.d.ts +15 -0
  168. package/dist/src/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
  169. package/dist/src/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
  170. package/dist/src/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
  171. package/dist/src/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
  172. package/dist/src/components/ui/tooltip/index.d.ts +4 -0
  173. package/dist/src/composables/index.d.ts +8 -0
  174. package/dist/src/composables/useDateTimeService.d.ts +10 -0
  175. package/dist/src/composables/useFilterService.d.ts +8 -0
  176. package/dist/src/composables/useIconService.d.ts +153 -0
  177. package/dist/src/composables/usePageTitleService.d.ts +3 -0
  178. package/dist/src/composables/useQueryParamService.d.ts +13 -0
  179. package/dist/src/composables/useStorageService.d.ts +5 -0
  180. package/dist/src/composables/useTaskService.d.ts +18 -0
  181. package/dist/src/composables/useUtilService.d.ts +27 -0
  182. package/dist/src/lib/utils.d.ts +2 -0
  183. package/dist/src/main.d.ts +0 -0
  184. package/dist/vite.svg +1 -0
  185. package/package.json +80 -0
  186. package/src/App.vue +30 -0
  187. package/src/components/HelloWorld.vue +41 -0
  188. package/src/components/NS/CompleteDemo.vue +475 -0
  189. package/src/components/NS/Demo.vue +191 -0
  190. package/src/components/NS/cards/NSBackupCard.vue +272 -0
  191. package/src/components/NS/cards/NSSystemInfoCard.vue +252 -0
  192. package/src/components/NS/cards/NSSystemdServiceCard.vue +250 -0
  193. package/src/components/NS/checkbox/NSCheckbox.vue +104 -0
  194. package/src/components/NS/data-table/NSDataTable.vue +434 -0
  195. package/src/components/NS/empty-state/NSEmptyState.vue +188 -0
  196. package/src/components/NS/inline-notification/NSInlineNotification.vue +162 -0
  197. package/src/components/NS/lottie-animation/NSLottieAnimation.vue +255 -0
  198. package/src/components/NS/modal/NSModal.vue +193 -0
  199. package/src/components/NS/modal/NSModalTrigger.vue +109 -0
  200. package/src/components/NS/pagination/NSPagination.vue +247 -0
  201. package/src/components/NS/progress/NSProgress.vue +115 -0
  202. package/src/components/NS/progress/NSProgressBar.vue +137 -0
  203. package/src/components/NS/slider/NSByteSlider.vue +144 -0
  204. package/src/components/NS/slider/NSSlider.vue +142 -0
  205. package/src/components/NS/tag/NSTag.vue +139 -0
  206. package/src/components/NS/text-input/NSTextInput.vue +242 -0
  207. package/src/components/NS/toast-notification/NSToastNotification.vue +163 -0
  208. package/src/components/NS/toggle/NSToggle.vue +156 -0
  209. package/src/components/NS/wizard/NSWizard.vue +399 -0
  210. package/src/components/ui/button/Button.vue +29 -0
  211. package/src/components/ui/card/Card.vue +22 -0
  212. package/src/components/ui/card/CardAction.vue +17 -0
  213. package/src/components/ui/card/CardContent.vue +17 -0
  214. package/src/components/ui/card/CardDescription.vue +17 -0
  215. package/src/components/ui/card/CardFooter.vue +17 -0
  216. package/src/components/ui/card/CardHeader.vue +17 -0
  217. package/src/components/ui/card/CardTitle.vue +17 -0
  218. package/src/components/ui/checkbox/NsCheckbox.vue +123 -0
  219. package/src/components/ui/dialog/Dialog.vue +68 -0
  220. package/src/components/ui/empty-state/NsEmptyState.vue +149 -0
  221. package/src/components/ui/inline-notification/NsInlineNotification.vue +163 -0
  222. package/src/components/ui/input/Input.vue +33 -0
  223. package/src/components/ui/input-group/InputGroup.vue +35 -0
  224. package/src/components/ui/input-group/InputGroupAddon.vue +36 -0
  225. package/src/components/ui/input-group/InputGroupButton.vue +21 -0
  226. package/src/components/ui/input-group/InputGroupInput.vue +19 -0
  227. package/src/components/ui/input-group/InputGroupText.vue +19 -0
  228. package/src/components/ui/input-group/InputGroupTextarea.vue +19 -0
  229. package/src/components/ui/item/Item.vue +27 -0
  230. package/src/components/ui/item/ItemActions.vue +17 -0
  231. package/src/components/ui/item/ItemContent.vue +17 -0
  232. package/src/components/ui/item/ItemDescription.vue +21 -0
  233. package/src/components/ui/item/ItemFooter.vue +17 -0
  234. package/src/components/ui/item/ItemGroup.vue +18 -0
  235. package/src/components/ui/item/ItemHeader.vue +17 -0
  236. package/src/components/ui/item/ItemMedia.vue +21 -0
  237. package/src/components/ui/item/ItemSeparator.vue +18 -0
  238. package/src/components/ui/item/ItemTitle.vue +17 -0
  239. package/src/components/ui/label/Label.vue +26 -0
  240. package/src/components/ui/scroll-area/ScrollArea.vue +33 -0
  241. package/src/components/ui/scroll-area/ScrollBar.vue +32 -0
  242. package/src/components/ui/select/Select.vue +19 -0
  243. package/src/components/ui/select/SelectContent.vue +51 -0
  244. package/src/components/ui/select/SelectGroup.vue +15 -0
  245. package/src/components/ui/select/SelectItem.vue +44 -0
  246. package/src/components/ui/select/SelectItemText.vue +15 -0
  247. package/src/components/ui/select/SelectLabel.vue +17 -0
  248. package/src/components/ui/select/SelectScrollDownButton.vue +26 -0
  249. package/src/components/ui/select/SelectScrollUpButton.vue +26 -0
  250. package/src/components/ui/select/SelectSeparator.vue +19 -0
  251. package/src/components/ui/select/SelectTrigger.vue +33 -0
  252. package/src/components/ui/select/SelectValue.vue +15 -0
  253. package/src/components/ui/separator/Separator.vue +29 -0
  254. package/src/components/ui/sheet/Sheet.vue +19 -0
  255. package/src/components/ui/sheet/SheetClose.vue +15 -0
  256. package/src/components/ui/sheet/SheetContent.vue +62 -0
  257. package/src/components/ui/sheet/SheetDescription.vue +21 -0
  258. package/src/components/ui/sheet/SheetFooter.vue +16 -0
  259. package/src/components/ui/sheet/SheetHeader.vue +15 -0
  260. package/src/components/ui/sheet/SheetOverlay.vue +21 -0
  261. package/src/components/ui/sheet/SheetTitle.vue +21 -0
  262. package/src/components/ui/sheet/SheetTrigger.vue +15 -0
  263. package/src/components/ui/sidebar/Sidebar.vue +96 -0
  264. package/src/components/ui/sidebar/SidebarContent.vue +18 -0
  265. package/src/components/ui/sidebar/SidebarFooter.vue +18 -0
  266. package/src/components/ui/sidebar/SidebarGroup.vue +18 -0
  267. package/src/components/ui/sidebar/SidebarGroupAction.vue +27 -0
  268. package/src/components/ui/sidebar/SidebarGroupContent.vue +18 -0
  269. package/src/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
  270. package/src/components/ui/sidebar/SidebarHeader.vue +18 -0
  271. package/src/components/ui/sidebar/SidebarInput.vue +22 -0
  272. package/src/components/ui/sidebar/SidebarInset.vue +21 -0
  273. package/src/components/ui/sidebar/SidebarMenu.vue +18 -0
  274. package/src/components/ui/sidebar/SidebarMenuAction.vue +35 -0
  275. package/src/components/ui/sidebar/SidebarMenuBadge.vue +26 -0
  276. package/src/components/ui/sidebar/SidebarMenuButton.vue +48 -0
  277. package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +36 -0
  278. package/src/components/ui/sidebar/SidebarMenuItem.vue +18 -0
  279. package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +35 -0
  280. package/src/components/ui/sidebar/SidebarMenuSub.vue +22 -0
  281. package/src/components/ui/sidebar/SidebarMenuSubButton.vue +36 -0
  282. package/src/components/ui/sidebar/SidebarMenuSubItem.vue +18 -0
  283. package/src/components/ui/sidebar/SidebarProvider.vue +82 -0
  284. package/src/components/ui/sidebar/SidebarRail.vue +33 -0
  285. package/src/components/ui/sidebar/SidebarSeparator.vue +19 -0
  286. package/src/components/ui/sidebar/SidebarTrigger.vue +27 -0
  287. package/src/components/ui/skeleton/Skeleton.vue +17 -0
  288. package/src/components/ui/sonner/Sonner.vue +42 -0
  289. package/src/components/ui/switch/Switch.vue +38 -0
  290. package/src/components/ui/table/Table.vue +16 -0
  291. package/src/components/ui/table/TableBody.vue +17 -0
  292. package/src/components/ui/table/TableCaption.vue +17 -0
  293. package/src/components/ui/table/TableCell.vue +22 -0
  294. package/src/components/ui/table/TableEmpty.vue +34 -0
  295. package/src/components/ui/table/TableFooter.vue +17 -0
  296. package/src/components/ui/table/TableHead.vue +17 -0
  297. package/src/components/ui/table/TableHeader.vue +17 -0
  298. package/src/components/ui/table/TableRow.vue +17 -0
  299. package/src/components/ui/tabs/Tabs.vue +24 -0
  300. package/src/components/ui/tabs/TabsContent.vue +21 -0
  301. package/src/components/ui/tabs/TabsList.vue +24 -0
  302. package/src/components/ui/tabs/TabsTrigger.vue +26 -0
  303. package/src/components/ui/tag/NsTag.vue +114 -0
  304. package/src/components/ui/text-input/NsTextInput.vue +269 -0
  305. package/src/components/ui/textarea/Textarea.vue +28 -0
  306. package/src/components/ui/toggle/NsToggle.vue +126 -0
  307. package/src/components/ui/tooltip/Tooltip.vue +19 -0
  308. package/src/components/ui/tooltip/TooltipContent.vue +34 -0
  309. package/src/components/ui/tooltip/TooltipProvider.vue +14 -0
  310. package/src/components/ui/tooltip/TooltipTrigger.vue +15 -0
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ msg: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -0,0 +1,51 @@
1
+ interface Backup {
2
+ id: string;
3
+ name: string;
4
+ date: string;
5
+ size: string;
6
+ enabled: boolean;
7
+ status?: 'success' | 'error' | 'running' | 'pending';
8
+ }
9
+ interface Status {
10
+ [key: string]: {
11
+ success?: boolean;
12
+ message?: string;
13
+ };
14
+ }
15
+ interface Props {
16
+ title?: string;
17
+ loading?: boolean;
18
+ backups?: Backup[];
19
+ status?: Status;
20
+ noBackupMessage?: string;
21
+ statusLabel?: string;
22
+ statusSuccessLabel?: string;
23
+ backupDisabledLabel?: string;
24
+ light?: boolean;
25
+ maxHeight?: string;
26
+ class?: string;
27
+ }
28
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ delete: (backupId: string) => any;
30
+ backup: (backupId: string) => any;
31
+ restore: (backupId: string) => any;
32
+ enable: (backupId: string) => any;
33
+ disable: (backupId: string) => any;
34
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
35
+ onDelete?: ((backupId: string) => any) | undefined;
36
+ onBackup?: ((backupId: string) => any) | undefined;
37
+ onRestore?: ((backupId: string) => any) | undefined;
38
+ onEnable?: ((backupId: string) => any) | undefined;
39
+ onDisable?: ((backupId: string) => any) | undefined;
40
+ }>, {
41
+ title: string;
42
+ status: Status;
43
+ loading: boolean;
44
+ backups: Backup[];
45
+ noBackupMessage: string;
46
+ statusLabel: string;
47
+ statusSuccessLabel: string;
48
+ backupDisabledLabel: string;
49
+ light: boolean;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
51
+ export default _default;
@@ -0,0 +1,58 @@
1
+ interface SystemMetrics {
2
+ totalSpace: string;
3
+ usedSpace: string;
4
+ freeSpace: string;
5
+ usagePercentage: number;
6
+ temperature?: string;
7
+ loadAverage?: string[];
8
+ uptime?: string;
9
+ processes?: number;
10
+ memory?: {
11
+ total: string;
12
+ used: string;
13
+ free: string;
14
+ percentage: number;
15
+ };
16
+ cpu?: {
17
+ cores: number;
18
+ usage: number;
19
+ frequency: string;
20
+ };
21
+ }
22
+ interface Props {
23
+ title?: string;
24
+ description?: string;
25
+ metrics?: SystemMetrics;
26
+ loading?: boolean;
27
+ refreshInterval?: number;
28
+ showTemperature?: boolean;
29
+ showLoadAverage?: boolean;
30
+ showUptime?: boolean;
31
+ showProcesses?: boolean;
32
+ showMemory?: boolean;
33
+ showCpu?: boolean;
34
+ showStorage?: boolean;
35
+ refreshable?: boolean;
36
+ light?: boolean;
37
+ maxHeight?: string;
38
+ class?: string;
39
+ }
40
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
+ refresh: () => any;
42
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
43
+ onRefresh?: (() => any) | undefined;
44
+ }>, {
45
+ title: string;
46
+ description: string;
47
+ loading: boolean;
48
+ light: boolean;
49
+ showUptime: boolean;
50
+ showTemperature: boolean;
51
+ showLoadAverage: boolean;
52
+ showProcesses: boolean;
53
+ showMemory: boolean;
54
+ showCpu: boolean;
55
+ showStorage: boolean;
56
+ refreshable: boolean;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
58
+ export default _default;
@@ -0,0 +1,47 @@
1
+ interface ServiceStatus {
2
+ running: boolean;
3
+ enabled: boolean;
4
+ status?: string;
5
+ uptime?: string;
6
+ lastRestart?: string;
7
+ memory?: string;
8
+ cpu?: string;
9
+ }
10
+ interface Props {
11
+ title?: string;
12
+ description?: string;
13
+ icon?: any;
14
+ loading?: boolean;
15
+ status?: ServiceStatus;
16
+ serviceName?: string;
17
+ light?: boolean;
18
+ showUptime?: boolean;
19
+ showMetrics?: boolean;
20
+ maxHeight?: string;
21
+ class?: string;
22
+ }
23
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ stop: (serviceName: string) => any;
25
+ view: (serviceName: string) => any;
26
+ restart: (serviceName: string) => any;
27
+ start: (serviceName: string) => any;
28
+ enable: (serviceName: string) => any;
29
+ disable: (serviceName: string) => any;
30
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
31
+ onStop?: ((serviceName: string) => any) | undefined;
32
+ onView?: ((serviceName: string) => any) | undefined;
33
+ onRestart?: ((serviceName: string) => any) | undefined;
34
+ onStart?: ((serviceName: string) => any) | undefined;
35
+ onEnable?: ((serviceName: string) => any) | undefined;
36
+ onDisable?: ((serviceName: string) => any) | undefined;
37
+ }>, {
38
+ title: string;
39
+ status: ServiceStatus;
40
+ description: string;
41
+ loading: boolean;
42
+ light: boolean;
43
+ serviceName: string;
44
+ showUptime: boolean;
45
+ showMetrics: boolean;
46
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default as NSBackupCard } from './NSBackupCard.vue';
2
+ export { default as NSSystemdServiceCard } from './NSSystemdServiceCard.vue';
3
+ export { default as NSSystemInfoCard } from './NSSystemInfoCard.vue';
@@ -0,0 +1,37 @@
1
+ interface Props {
2
+ id?: string;
3
+ checked?: boolean;
4
+ defaultChecked?: boolean;
5
+ disabled?: boolean;
6
+ required?: boolean;
7
+ name?: string;
8
+ value?: string;
9
+ label?: string;
10
+ hideLabel?: boolean;
11
+ description?: string;
12
+ errorMessage?: string;
13
+ indeterminate?: boolean;
14
+ class?: string;
15
+ }
16
+ declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
18
+ slots: {
19
+ label?(_: {}): any;
20
+ extra?(_: {}): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLDivElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ "update:checked": (value: boolean) => any;
28
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
29
+ "onUpdate:checked"?: ((value: boolean) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1 @@
1
+ export { default as NSCheckbox } from './NSCheckbox.vue';
@@ -0,0 +1,98 @@
1
+ interface Column {
2
+ key: string;
3
+ label: string;
4
+ sortable?: boolean;
5
+ width?: string;
6
+ align?: 'left' | 'center' | 'right';
7
+ filterable?: boolean;
8
+ render?: (value: any, row: any, index: number) => any;
9
+ }
10
+ interface Action {
11
+ key: string;
12
+ label: string;
13
+ icon?: any;
14
+ onClick: (row: any, index: number) => void;
15
+ disabled?: (row: any) => boolean;
16
+ variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
17
+ }
18
+ interface Props {
19
+ data?: any[];
20
+ columns?: Column[];
21
+ actions?: Action[];
22
+ loading?: boolean;
23
+ selectable?: boolean;
24
+ searchable?: boolean;
25
+ filterable?: boolean;
26
+ pagination?: boolean;
27
+ currentPage?: number;
28
+ itemsPerPage?: number;
29
+ totalItems?: number;
30
+ showTotal?: boolean;
31
+ emptyMessage?: string;
32
+ loadingMessage?: string;
33
+ maxHeight?: string;
34
+ striped?: boolean;
35
+ hover?: boolean;
36
+ class?: string;
37
+ tableClass?: string;
38
+ headerClass?: string;
39
+ bodyClass?: string;
40
+ }
41
+ declare function __VLS_template(): {
42
+ attrs: Partial<{}>;
43
+ slots: Partial<Record<`cell-${string}`, (_: {
44
+ row: any;
45
+ value: any;
46
+ column: Column;
47
+ index: number;
48
+ }) => any>> & {
49
+ pagination?(_: {
50
+ currentPage: number;
51
+ totalItems: number;
52
+ }): any;
53
+ };
54
+ refs: {};
55
+ rootEl: HTMLDivElement;
56
+ };
57
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
58
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
+ search: (query: string) => any;
60
+ "update:currentPage": (page: number) => any;
61
+ "update:itemsPerPage": (size: number) => any;
62
+ "selection-change": (selectedRows: any[]) => any;
63
+ "row-click": (row: any, index: number) => any;
64
+ "sort-change": (column: string, direction: "desc" | "asc" | null) => any;
65
+ "filter-change": (filters: Record<string, any>) => any;
66
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
67
+ onSearch?: ((query: string) => any) | undefined;
68
+ "onUpdate:currentPage"?: ((page: number) => any) | undefined;
69
+ "onUpdate:itemsPerPage"?: ((size: number) => any) | undefined;
70
+ "onSelection-change"?: ((selectedRows: any[]) => any) | undefined;
71
+ "onRow-click"?: ((row: any, index: number) => any) | undefined;
72
+ "onSort-change"?: ((column: string, direction: "desc" | "asc" | null) => any) | undefined;
73
+ "onFilter-change"?: ((filters: Record<string, any>) => any) | undefined;
74
+ }>, {
75
+ data: any[];
76
+ loading: boolean;
77
+ actions: Action[];
78
+ currentPage: number;
79
+ totalItems: number;
80
+ itemsPerPage: number;
81
+ showTotal: boolean;
82
+ columns: Column[];
83
+ selectable: boolean;
84
+ searchable: boolean;
85
+ filterable: boolean;
86
+ pagination: boolean;
87
+ emptyMessage: string;
88
+ loadingMessage: string;
89
+ striped: boolean;
90
+ hover: boolean;
91
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
92
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
93
+ export default _default;
94
+ type __VLS_WithTemplateSlots<T, S> = T & {
95
+ new (): {
96
+ $slots: S;
97
+ };
98
+ };
@@ -0,0 +1 @@
1
+ export { default as NSDataTable } from './NSDataTable.vue';
@@ -0,0 +1,45 @@
1
+ interface Props {
2
+ title?: string;
3
+ description?: string;
4
+ icon?: string | object;
5
+ lottiePath?: string;
6
+ lottieData?: any;
7
+ animationTitle?: string;
8
+ size?: 'default' | 'sm' | 'lg';
9
+ variant?: 'default' | 'muted';
10
+ loop?: boolean | number;
11
+ animateOnHover?: boolean;
12
+ autoPlay?: boolean;
13
+ class?: string;
14
+ iconClass?: string;
15
+ titleClass?: string;
16
+ descriptionClass?: string;
17
+ }
18
+ declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
20
+ slots: {
21
+ icon?(_: {}): any;
22
+ title?(_: {}): any;
23
+ description?(_: {}): any;
24
+ actions?(_: {}): any;
25
+ extra?(_: {}): any;
26
+ };
27
+ refs: {};
28
+ rootEl: HTMLDivElement;
29
+ };
30
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
32
+ title: string;
33
+ size: "default" | "sm" | "lg";
34
+ variant: "default" | "muted";
35
+ loop: boolean | number;
36
+ animateOnHover: boolean;
37
+ autoPlay: boolean;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
+ export default _default;
41
+ type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1 @@
1
+ export { default as NSEmptyState } from './NSEmptyState.vue';
@@ -0,0 +1,35 @@
1
+ export { NSCheckbox } from './checkbox';
2
+ export { NSTextInput } from './text-input';
3
+ export { NSToggle } from './toggle';
4
+ export { NSTag } from './tag';
5
+ export { NSEmptyState } from './empty-state';
6
+ export { NSInlineNotification } from './inline-notification';
7
+ export { NSToastNotification } from './toast-notification';
8
+ export { NSProgress, NSProgressBar } from './progress';
9
+ export { NSModal, NSModalTrigger } from './modal';
10
+ export { NSSlider, NSByteSlider } from './slider';
11
+ export { NSPagination } from './pagination';
12
+ export { NSDataTable } from './data-table';
13
+ export { NSWizard } from './wizard';
14
+ export { NSBackupCard, NSSystemdServiceCard, NSSystemInfoCard } from './cards';
15
+ export { NSLottieAnimation } from './lottie-animation';
16
+ export type { default as NSCheckboxType } from './checkbox/NSCheckbox.vue';
17
+ export type { default as NSTextInputType } from './text-input/NSTextInput.vue';
18
+ export type { default as NSToggleType } from './toggle/NSToggle.vue';
19
+ export type { default as NSTagType } from './tag/NSTag.vue';
20
+ export type { default as NSEmptyStateType } from './empty-state/NSEmptyState.vue';
21
+ export type { default as NSInlineNotificationType } from './inline-notification/NSInlineNotification.vue';
22
+ export type { default as NSToastNotificationType } from './toast-notification/NSToastNotification.vue';
23
+ export type { default as NSProgressType } from './progress/NSProgress.vue';
24
+ export type { default as NSProgressBarType } from './progress/NSProgressBar.vue';
25
+ export type { default as NSModalType } from './modal/NSModal.vue';
26
+ export type { default as NSModalTriggerType } from './modal/NSModalTrigger.vue';
27
+ export type { default as NSSliderType } from './slider/NSSlider.vue';
28
+ export type { default as NSByteSliderType } from './slider/NSByteSlider.vue';
29
+ export type { default as NSPaginationType } from './pagination/NSPagination.vue';
30
+ export type { default as NSDataTableType } from './data-table/NSDataTable.vue';
31
+ export type { default as NSWizardType } from './wizard/NSWizard.vue';
32
+ export type { default as NSBackupCardType } from './cards/NSBackupCard.vue';
33
+ export type { default as NSSystemdServiceCardType } from './cards/NSSystemdServiceCard.vue';
34
+ export type { default as NSSystemInfoCardType } from './cards/NSSystemInfoCard.vue';
35
+ export type { default as NSLottieAnimationType } from './lottie-animation/NSLottieAnimation.vue';
@@ -0,0 +1,44 @@
1
+ interface Props {
2
+ title?: string;
3
+ description?: string;
4
+ variant?: 'default' | 'destructive' | 'warning' | 'success' | 'info';
5
+ showCloseButton?: boolean;
6
+ actionLabel?: string;
7
+ closeAriaLabel?: string;
8
+ loading?: boolean;
9
+ timer?: number;
10
+ lowContrast?: boolean;
11
+ class?: string;
12
+ icon?: object;
13
+ }
14
+ declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
16
+ slots: {
17
+ title?(_: {}): any;
18
+ description?(_: {}): any;
19
+ extra?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ close: () => any;
27
+ action: () => any;
28
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
29
+ onClose?: (() => any) | undefined;
30
+ onAction?: (() => any) | undefined;
31
+ }>, {
32
+ variant: "default" | "destructive" | "warning" | "success" | "info";
33
+ showCloseButton: boolean;
34
+ closeAriaLabel: string;
35
+ loading: boolean;
36
+ lowContrast: boolean;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
+ export default _default;
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1 @@
1
+ export { default as NSInlineNotification } from './NSInlineNotification.vue';
@@ -0,0 +1,75 @@
1
+ interface Props {
2
+ path?: string;
3
+ animationData?: any;
4
+ width?: number | string;
5
+ height?: number | string;
6
+ loop?: boolean;
7
+ autoplay?: boolean;
8
+ speed?: number;
9
+ playOnHover?: boolean;
10
+ stopOnHoverOut?: boolean;
11
+ direction?: number;
12
+ renderer?: 'svg' | 'canvas' | 'html';
13
+ className?: string;
14
+ containerClassName?: string;
15
+ lazy?: boolean;
16
+ placeholder?: string;
17
+ responsive?: boolean;
18
+ preserveAspectRatio?: string;
19
+ title?: string;
20
+ ariaLabel?: string;
21
+ role?: string;
22
+ }
23
+ declare const _default: import('vue').DefineComponent<Props, {
24
+ play: () => void;
25
+ pause: () => void;
26
+ stop: () => void;
27
+ goToAndStop: (frame?: number) => void;
28
+ setDirection: (direction: number) => void;
29
+ setSpeed: (speed: number) => void;
30
+ isLoaded: import('vue').Ref<boolean, boolean>;
31
+ isPlaying: import('vue').Ref<boolean, boolean>;
32
+ isLoading: import('vue').Ref<boolean, boolean>;
33
+ isError: import('vue').Ref<boolean, boolean>;
34
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ stop: () => any;
36
+ error: (error: Error) => any;
37
+ load: () => any;
38
+ ready: () => any;
39
+ play: () => any;
40
+ pause: () => any;
41
+ complete: () => any;
42
+ loopComplete: () => any;
43
+ enterFrame: (event: any) => any;
44
+ mouseOver: () => any;
45
+ mouseOut: () => any;
46
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
47
+ onStop?: (() => any) | undefined;
48
+ onError?: ((error: Error) => any) | undefined;
49
+ onLoad?: (() => any) | undefined;
50
+ onReady?: (() => any) | undefined;
51
+ onPlay?: (() => any) | undefined;
52
+ onPause?: (() => any) | undefined;
53
+ onComplete?: (() => any) | undefined;
54
+ onLoopComplete?: (() => any) | undefined;
55
+ onEnterFrame?: ((event: any) => any) | undefined;
56
+ onMouseOver?: (() => any) | undefined;
57
+ onMouseOut?: (() => any) | undefined;
58
+ }>, {
59
+ preserveAspectRatio: string;
60
+ height: number | string;
61
+ width: number | string;
62
+ role: string;
63
+ direction: number;
64
+ speed: number;
65
+ loop: boolean;
66
+ autoplay: boolean;
67
+ playOnHover: boolean;
68
+ stopOnHoverOut: boolean;
69
+ renderer: "svg" | "canvas" | "html";
70
+ lazy: boolean;
71
+ responsive: boolean;
72
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
73
+ lottieRef: any;
74
+ }, HTMLDivElement>;
75
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as NSLottieAnimation } from './NSLottieAnimation.vue';
@@ -0,0 +1,56 @@
1
+ interface Props {
2
+ open?: boolean;
3
+ modelValue?: boolean;
4
+ title?: string;
5
+ description?: string;
6
+ showCloseButton?: boolean;
7
+ closeOnOverlayClick?: boolean;
8
+ closeOnEscape?: boolean;
9
+ size?: 'sm' | 'default' | 'lg' | 'xl' | 'full';
10
+ maxWidth?: string;
11
+ maxHeight?: string;
12
+ persistent?: boolean;
13
+ fullscreen?: boolean;
14
+ class?: string;
15
+ contentClass?: string;
16
+ overlayClass?: string;
17
+ }
18
+ declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
20
+ slots: {
21
+ title?(_: {}): any;
22
+ description?(_: {}): any;
23
+ header?(_: {}): any;
24
+ default?(_: {}): any;
25
+ footer?(_: {}): any;
26
+ actions?(_: {}): any;
27
+ };
28
+ refs: {};
29
+ rootEl: any;
30
+ };
31
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
32
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
+ "update:modelValue": (value: boolean) => any;
34
+ close: () => any;
35
+ open: () => any;
36
+ "update:open": (value: boolean) => any;
37
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
39
+ onClose?: (() => any) | undefined;
40
+ onOpen?: (() => any) | undefined;
41
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
42
+ }>, {
43
+ size: "sm" | "default" | "lg" | "xl" | "full";
44
+ showCloseButton: boolean;
45
+ closeOnOverlayClick: boolean;
46
+ closeOnEscape: boolean;
47
+ persistent: boolean;
48
+ fullscreen: boolean;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ export default _default;
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,64 @@
1
+ interface Props {
2
+ modelValue?: boolean;
3
+ open?: boolean;
4
+ title?: string;
5
+ description?: string;
6
+ showCloseButton?: boolean;
7
+ closeOnOverlayClick?: boolean;
8
+ closeOnEscape?: boolean;
9
+ size?: 'sm' | 'default' | 'lg' | 'xl' | 'full';
10
+ maxWidth?: string;
11
+ maxHeight?: string;
12
+ persistent?: boolean;
13
+ fullscreen?: boolean;
14
+ class?: string;
15
+ contentClass?: string;
16
+ overlayClass?: string;
17
+ }
18
+ declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
20
+ slots: {
21
+ trigger?(_: {
22
+ open: boolean;
23
+ toggle: () => boolean;
24
+ }): any;
25
+ default?(_: {}): any;
26
+ title?(_: {}): any;
27
+ description?(_: {}): any;
28
+ header?(_: {}): any;
29
+ actions?(_: {}): any;
30
+ footer?(_: {}): any;
31
+ };
32
+ refs: {
33
+ triggerRef: HTMLButtonElement;
34
+ };
35
+ rootEl: any;
36
+ };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
+ "update:modelValue": (value: boolean) => any;
40
+ close: () => any;
41
+ open: () => any;
42
+ "update:open": (value: boolean) => any;
43
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
44
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
45
+ onClose?: (() => any) | undefined;
46
+ onOpen?: (() => any) | undefined;
47
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
48
+ }>, {
49
+ size: "sm" | "default" | "lg" | "xl" | "full";
50
+ showCloseButton: boolean;
51
+ closeOnOverlayClick: boolean;
52
+ closeOnEscape: boolean;
53
+ persistent: boolean;
54
+ fullscreen: boolean;
55
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
56
+ triggerRef: HTMLButtonElement;
57
+ }, any>;
58
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
+ export default _default;
60
+ type __VLS_WithTemplateSlots<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };
@@ -0,0 +1,2 @@
1
+ export { default as NSModal } from './NSModal.vue';
2
+ export { default as NSModalTrigger } from './NSModalTrigger.vue';