@geniusdynamics/ns8-ui-lib 1.0.7 → 1.0.8

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 (46) hide show
  1. package/dist/index.d.ts +23 -0
  2. package/dist/src/components/NS/cards/NSBackupCard.vue.d.ts +51 -0
  3. package/dist/src/components/NS/cards/NSSystemInfoCard.vue.d.ts +58 -0
  4. package/dist/src/components/NS/cards/NSSystemdServiceCard.vue.d.ts +47 -0
  5. package/dist/src/components/NS/cards/index.d.ts +3 -0
  6. package/dist/src/components/NS/checkbox/NSCheckbox.vue.d.ts +37 -0
  7. package/dist/src/components/NS/checkbox/index.d.ts +1 -0
  8. package/dist/src/components/NS/data-table/NSDataTable.vue.d.ts +98 -0
  9. package/dist/src/components/NS/data-table/index.d.ts +1 -0
  10. package/dist/src/components/NS/empty-state/NSEmptyState.vue.d.ts +45 -0
  11. package/dist/src/components/NS/empty-state/index.d.ts +1 -0
  12. package/dist/src/components/NS/index.d.ts +35 -0
  13. package/dist/src/components/NS/inline-notification/NSInlineNotification.vue.d.ts +44 -0
  14. package/dist/src/components/NS/inline-notification/index.d.ts +1 -0
  15. package/dist/src/components/NS/lottie-animation/index.d.ts +1 -0
  16. package/dist/src/components/NS/modal/NSModal.vue.d.ts +56 -0
  17. package/dist/src/components/NS/modal/NSModalTrigger.vue.d.ts +64 -0
  18. package/dist/src/components/NS/modal/index.d.ts +2 -0
  19. package/dist/src/components/NS/pagination/NSPagination.vue.d.ts +36 -0
  20. package/dist/src/components/NS/pagination/index.d.ts +1 -0
  21. package/dist/src/components/NS/progress/NSProgress.vue.d.ts +37 -0
  22. package/dist/src/components/NS/progress/NSProgressBar.vue.d.ts +39 -0
  23. package/dist/src/components/NS/progress/index.d.ts +2 -0
  24. package/dist/src/components/NS/slider/NSByteSlider.vue.d.ts +50 -0
  25. package/dist/src/components/NS/slider/NSSlider.vue.d.ts +49 -0
  26. package/dist/src/components/NS/slider/index.d.ts +2 -0
  27. package/dist/src/components/NS/tag/NSTag.vue.d.ts +41 -0
  28. package/dist/src/components/NS/tag/index.d.ts +1 -0
  29. package/dist/src/components/NS/text-input/NSTextInput.vue.d.ts +67 -0
  30. package/dist/src/components/NS/text-input/index.d.ts +1 -0
  31. package/dist/src/components/NS/toast-notification/NSToastNotification.vue.d.ts +44 -0
  32. package/dist/src/components/NS/toast-notification/index.d.ts +1 -0
  33. package/dist/src/components/NS/toggle/NSToggle.vue.d.ts +51 -0
  34. package/dist/src/components/NS/toggle/index.d.ts +1 -0
  35. package/dist/src/components/NS/wizard/NSWizard.vue.d.ts +86 -0
  36. package/dist/src/components/NS/wizard/index.d.ts +1 -0
  37. package/dist/src/composables/index.d.ts +8 -0
  38. package/dist/src/composables/useDateTimeService.d.ts +10 -0
  39. package/dist/src/composables/useFilterService.d.ts +8 -0
  40. package/dist/src/composables/useIconService.d.ts +153 -0
  41. package/dist/src/composables/usePageTitleService.d.ts +3 -0
  42. package/dist/src/composables/useQueryParamService.d.ts +13 -0
  43. package/dist/src/composables/useStorageService.d.ts +5 -0
  44. package/dist/src/composables/useTaskService.d.ts +18 -0
  45. package/dist/src/composables/useUtilService.d.ts +27 -0
  46. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { App } from 'vue';
2
+ export { NSBackupCard, NSSystemdServiceCard, NSSystemInfoCard, NSByteSlider, NSCheckbox, NSDataTable, NSEmptyState, NSInlineNotification, NSLottieAnimation, NSModal, NSModalTrigger, NSPagination, NSProgress, NSProgressBar, NSSlider, NSTag, NSTextInput, NSToastNotification, NSToggle, NSWizard, } from './src/components/NS';
3
+ export { useUtilService as UtilService } from './src/composables/useUtilService';
4
+ export { useDateTimeService as DateTimeService } from './src/composables/useDateTimeService';
5
+ export { useIconService as IconService } from './src/composables/useIconService';
6
+ export { usePageTitleService as PageTitleService } from './src/composables/usePageTitleService';
7
+ export { useQueryParamService as QueryParamService } from './src/composables/useQueryParamService';
8
+ export { useStorageService as StorageService } from './src/composables/useStorageService';
9
+ export { useTaskService as TaskService } from './src/composables/useTaskService';
10
+ export { useFilterService as FilterService } from './src/composables/useFilterService';
11
+ export { useUtilService } from './src/composables/useUtilService';
12
+ export { useDateTimeService } from './src/composables/useDateTimeService';
13
+ export { useIconService } from './src/composables/useIconService';
14
+ export { usePageTitleService } from './src/composables/usePageTitleService';
15
+ export { useQueryParamService } from './src/composables/useQueryParamService';
16
+ export { useStorageService } from './src/composables/useStorageService';
17
+ export { useTaskService } from './src/composables/useTaskService';
18
+ export { useFilterService } from './src/composables/useFilterService';
19
+ declare const Ns8UiLibNew: {
20
+ install(app: App): void;
21
+ };
22
+ export default Ns8UiLibNew;
23
+ export declare const version = "1.0.0";
@@ -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
+ loading: boolean;
43
+ status: Status;
44
+ backups: Backup[];
45
+ noBackupMessage: string;
46
+ statusLabel: string;
47
+ statusSuccessLabel: string;
48
+ backupDisabledLabel: string;
49
+ light: boolean;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
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
+ description: string;
46
+ title: 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, {}, HTMLDivElement>;
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
+ description: string;
39
+ title: string;
40
+ loading: boolean;
41
+ status: ServiceStatus;
42
+ light: boolean;
43
+ serviceName: string;
44
+ showUptime: boolean;
45
+ showMetrics: boolean;
46
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
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
+ variant: "default" | "muted";
34
+ size: "default" | "sm" | "lg";
35
+ loop: boolean | number;
36
+ autoPlay: boolean;
37
+ animateOnHover: 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 @@
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';
@@ -0,0 +1,36 @@
1
+ interface Props {
2
+ currentPage?: number;
3
+ totalItems?: number;
4
+ itemsPerPage?: number;
5
+ totalPages?: number;
6
+ showSizeChanger?: boolean;
7
+ pageSizeOptions?: number[];
8
+ showQuickJumper?: boolean;
9
+ showTotal?: boolean;
10
+ disabled?: boolean;
11
+ size?: 'sm' | 'default' | 'lg';
12
+ align?: 'start' | 'center' | 'end';
13
+ class?: string;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:currentPage": (page: number) => any;
17
+ "update:itemsPerPage": (size: number) => any;
18
+ "page-change": (page: number) => any;
19
+ "size-change": (size: number) => any;
20
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
21
+ "onUpdate:currentPage"?: ((page: number) => any) | undefined;
22
+ "onUpdate:itemsPerPage"?: ((size: number) => any) | undefined;
23
+ "onPage-change"?: ((page: number) => any) | undefined;
24
+ "onSize-change"?: ((size: number) => any) | undefined;
25
+ }>, {
26
+ disabled: boolean;
27
+ size: "sm" | "default" | "lg";
28
+ currentPage: number;
29
+ itemsPerPage: number;
30
+ showSizeChanger: boolean;
31
+ pageSizeOptions: number[];
32
+ showQuickJumper: boolean;
33
+ showTotal: boolean;
34
+ align: "start" | "center" | "end";
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
36
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as NSPagination } from './NSPagination.vue';
@@ -0,0 +1,37 @@
1
+ interface Props {
2
+ value?: number;
3
+ max?: number;
4
+ variant?: 'default' | 'destructive' | 'success' | 'warning' | 'info';
5
+ size?: 'default' | 'sm' | 'lg';
6
+ showLabel?: boolean;
7
+ label?: string;
8
+ indeterminate?: boolean;
9
+ class?: string;
10
+ }
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ label?(_: {}): any;
15
+ value?(_: {
16
+ value: number | undefined;
17
+ percentage: number;
18
+ }): any;
19
+ };
20
+ refs: {};
21
+ rootEl: HTMLDivElement;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
25
+ indeterminate: boolean;
26
+ max: number;
27
+ variant: "default" | "destructive" | "success" | "warning" | "info";
28
+ size: "default" | "sm" | "lg";
29
+ showLabel: boolean;
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
+ };