nicklabs-ui 0.1.1

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 (36) hide show
  1. package/dist/index.mjs +3939 -0
  2. package/dist/nicklabs-ui.css +1 -0
  3. package/dist/src/components/NAlert.vue.d.ts +3 -0
  4. package/dist/src/components/NButton.vue.d.ts +25 -0
  5. package/dist/src/components/NCheckbox.vue.d.ts +35 -0
  6. package/dist/src/components/NCode.vue.d.ts +8 -0
  7. package/dist/src/components/NDatePicker.vue.d.ts +26 -0
  8. package/dist/src/components/NEmpty.vue.d.ts +19 -0
  9. package/dist/src/components/NFileSelect.vue.d.ts +17 -0
  10. package/dist/src/components/NForm.vue.d.ts +30 -0
  11. package/dist/src/components/NInput.vue.d.ts +32 -0
  12. package/dist/src/components/NList.vue.d.ts +67 -0
  13. package/dist/src/components/NLoading.vue.d.ts +21 -0
  14. package/dist/src/components/NModal.vue.d.ts +31 -0
  15. package/dist/src/components/NSelect.vue.d.ts +26 -0
  16. package/dist/src/components/NSwitch.vue.d.ts +20 -0
  17. package/dist/src/components/NTable.vue.d.ts +50 -0
  18. package/dist/src/components/NTag.vue.d.ts +24 -0
  19. package/dist/src/components/NTextarea.vue.d.ts +32 -0
  20. package/dist/src/components/NToast.vue.d.ts +3 -0
  21. package/dist/src/components/NTooltip.vue.d.ts +20 -0
  22. package/dist/src/composables/useAlert.d.ts +12 -0
  23. package/dist/src/composables/useDisclosure.d.ts +1 -0
  24. package/dist/src/composables/useSidebarManager.d.ts +6 -0
  25. package/dist/src/composables/useToast.d.ts +11 -0
  26. package/dist/src/index.d.ts +28 -0
  27. package/dist/src/layouts/NBreadcrumb.vue.d.ts +5 -0
  28. package/dist/src/layouts/NCard.vue.d.ts +17 -0
  29. package/dist/src/layouts/NHeroSection.vue.d.ts +17 -0
  30. package/dist/src/layouts/NLayout.vue.d.ts +38 -0
  31. package/dist/src/layouts/NLoginLayout.vue.d.ts +19 -0
  32. package/dist/src/layouts/NNavigation.vue.d.ts +15 -0
  33. package/dist/src/layouts/NPaginate.vue.d.ts +12 -0
  34. package/dist/src/layouts/NSideFilter.vue.d.ts +13 -0
  35. package/dist/src/layouts/NSidebar.vue.d.ts +13 -0
  36. package/package.json +42 -0
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ variant?: NButtonVariant;
3
+ intent?: NButtonIntent;
4
+ disabled?: boolean;
5
+ type?: "button" | "submit" | "reset";
6
+ radiusSize?: NButtonRadiusSize;
7
+ size?: NButtonSize;
8
+ padding?: string;
9
+ width?: string;
10
+ height?: string;
11
+ square?: boolean;
12
+ };
13
+ declare var __VLS_1: {};
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_1) => any;
16
+ };
17
+ declare const __VLS_base: 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>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ modelValue?: any | any[];
3
+ multiple?: boolean;
4
+ disabled?: boolean;
5
+ title?: string;
6
+ autofocus?: boolean;
7
+ ariaLabel?: string;
8
+ direction?: NCheckboxDirection;
9
+ options?: OptionItem[];
10
+ };
11
+ declare var __VLS_1: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_1) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ "update:modelValue": (value: any) => any;
17
+ change: (value: boolean | any[]) => any;
18
+ "change:item": (item: OptionItem) => any;
19
+ "change:value": (value: any) => any;
20
+ "change:values": (values: any[]) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
23
+ onChange?: ((value: boolean | any[]) => any) | undefined;
24
+ "onChange:item"?: ((item: OptionItem) => any) | undefined;
25
+ "onChange:value"?: ((value: any) => any) | undefined;
26
+ "onChange:values"?: ((values: any[]) => any) | undefined;
27
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,8 @@
1
+ interface Props {
2
+ code: string;
3
+ language?: string;
4
+ showLineNumbers?: boolean;
5
+ }
6
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | Date;
3
+ start?: string;
4
+ end?: string;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ clearable?: boolean;
8
+ title?: string;
9
+ format?: string;
10
+ range?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ "update:modelValue": (value: string) => any;
14
+ change: (value: string) => any;
15
+ clear: () => any;
16
+ "update:start": (value: string) => any;
17
+ "update:end": (value: string) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
+ onChange?: ((value: string) => any) | undefined;
21
+ onClear?: (() => any) | undefined;
22
+ "onUpdate:start"?: ((value: string) => any) | undefined;
23
+ "onUpdate:end"?: ((value: string) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ description?: string;
4
+ size?: NEmptySize;
5
+ icon?: string;
6
+ };
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: 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>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,17 @@
1
+ interface Props {
2
+ multiple?: boolean;
3
+ disabled?: boolean;
4
+ label?: string;
5
+ hint?: string;
6
+ accept?: string;
7
+ title?: string;
8
+ }
9
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ "change:file": (files: IFile) => any;
11
+ "change:files": (files: IFile[]) => any;
12
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
13
+ "onChange:file"?: ((files: IFile) => any) | undefined;
14
+ "onChange:files"?: ((files: IFile[]) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,30 @@
1
+ type __VLS_Props = {
2
+ model?: Record<string, any>;
3
+ icon?: string;
4
+ disabled?: boolean;
5
+ title?: string;
6
+ tabs?: string[];
7
+ };
8
+ declare var __VLS_6: `tab${number}`, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
9
+ type __VLS_Slots = {} & {
10
+ [K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
11
+ } & {
12
+ tab0?: (props: typeof __VLS_9) => any;
13
+ } & {
14
+ footer?: (props: typeof __VLS_11) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ submit: (model: Record<string, any>) => any;
18
+ reset: () => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onSubmit?: ((model: Record<string, any>) => any) | undefined;
21
+ onReset?: (() => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,32 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string;
3
+ type?: string;
4
+ placeholder?: string;
5
+ disabled?: boolean;
6
+ readonly?: boolean;
7
+ clearable?: boolean;
8
+ maxlength?: number;
9
+ min?: number;
10
+ max?: number;
11
+ title?: string;
12
+ autocomplete?: string;
13
+ };
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
+ input: (nativeEvent: Event) => any;
16
+ "update:modelValue": (value: string) => any;
17
+ focus: (nativeEvent: FocusEvent) => any;
18
+ blur: (nativeEvent: FocusEvent) => any;
19
+ change: (nativeEvent: Event) => any;
20
+ keydown: (nativeEvent: KeyboardEvent) => any;
21
+ clear: () => any;
22
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ onInput?: ((nativeEvent: Event) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
+ onFocus?: ((nativeEvent: FocusEvent) => any) | undefined;
26
+ onBlur?: ((nativeEvent: FocusEvent) => any) | undefined;
27
+ onChange?: ((nativeEvent: Event) => any) | undefined;
28
+ onKeydown?: ((nativeEvent: KeyboardEvent) => any) | undefined;
29
+ onClear?: (() => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
@@ -0,0 +1,67 @@
1
+ declare const __VLS_export: <T extends {
2
+ id: number;
3
+ }>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<{
5
+ title?: string;
6
+ items?: T[];
7
+ pageSize?: number;
8
+ filterable?: boolean;
9
+ rowEditable?: boolean;
10
+ rowDeletable?: boolean;
11
+ creatable?: boolean;
12
+ batchDeletable?: boolean;
13
+ refreshable?: boolean;
14
+ columns?: NTableColumn<T>[];
15
+ maxPageButtons?: number;
16
+ emptyTitle?: string;
17
+ emptyDescription?: string;
18
+ emptyIcon?: string;
19
+ } & {
20
+ onSort?: ((state: NTableSortState) => any) | undefined;
21
+ onOnPageChange?: ((page: number) => any) | undefined;
22
+ "onRow-click"?: ((item: T) => any) | undefined;
23
+ onOnRowEdit?: ((item: T) => any) | undefined;
24
+ onOnRowDelete?: ((item: T) => any) | undefined;
25
+ onOnCreate?: (() => any) | undefined;
26
+ onOnBatchDelete?: ((ids: number[]) => any) | undefined;
27
+ onOnRefresh?: (() => any) | undefined;
28
+ onOnFilter?: (() => any) | undefined;
29
+ }> & import("vue").PublicProps;
30
+ expose: (exposed: {}) => void;
31
+ attrs: any;
32
+ slots: {
33
+ [key: `cell-${string}`]: (props: {
34
+ value: any;
35
+ row: T;
36
+ index: number;
37
+ }) => any;
38
+ [key: `header-${string}`]: (props: {
39
+ col: NTableColumn<T>;
40
+ }) => any;
41
+ toolbar?: () => any;
42
+ empty?: () => any;
43
+ actions?: (props: {
44
+ row: T;
45
+ index: number;
46
+ }) => any;
47
+ "actions-header"?: () => any;
48
+ };
49
+ emit: {
50
+ (event: "onRowEdit", item: T): void;
51
+ (event: "onRowDelete", item: T): void;
52
+ (event: "onPageChange", page: number): void;
53
+ (event: "onCreate"): void;
54
+ (event: "onBatchDelete", ids: Array<number>): void;
55
+ (event: "onRefresh"): void;
56
+ (event: "onFilter"): void;
57
+ (event: "row-click", item: T): void;
58
+ (event: "sort", state: NTableSortState): void;
59
+ };
60
+ }>) => import("vue").VNode & {
61
+ __ctx?: Awaited<typeof __VLS_setup>;
62
+ };
63
+ declare const _default: typeof __VLS_export;
64
+ export default _default;
65
+ type __VLS_PrettifyLocal<T> = {
66
+ [K in keyof T as K]: T[K];
67
+ } & {};
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ loading?: boolean;
3
+ title?: string;
4
+ variant?: NLoadingVariant;
5
+ overlay?: boolean;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_8: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_8) => any;
12
+ };
13
+ declare const __VLS_base: 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>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,31 @@
1
+ interface Props {
2
+ show?: boolean;
3
+ title?: string;
4
+ width?: string;
5
+ closeOnClickOverlay?: boolean;
6
+ showClose?: boolean;
7
+ zIndex?: number;
8
+ }
9
+ declare var __VLS_11: {}, __VLS_13: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_11) => any;
12
+ } & {
13
+ footer?: (props: typeof __VLS_13) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ close: () => any;
17
+ "update:show": (value: boolean) => any;
18
+ open: () => any;
19
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
+ onClose?: (() => any) | undefined;
21
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
22
+ onOpen?: (() => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ modelValue?: any | any[];
3
+ options?: OptionItem[];
4
+ multiple?: boolean;
5
+ searchable?: boolean;
6
+ clearable?: boolean;
7
+ placeholder?: string;
8
+ disabled?: boolean;
9
+ title?: string;
10
+ multipleDisplay?: MultipleDisplay;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ "update:modelValue": (value: any) => any;
14
+ change: (value: any) => any;
15
+ "change:item": (item: OptionItem) => any;
16
+ "change:value": (value: any) => any;
17
+ "change:values": (value: any[]) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
20
+ onChange?: ((value: any) => any) | undefined;
21
+ "onChange:item"?: ((item: OptionItem) => any) | undefined;
22
+ "onChange:value"?: ((value: any) => any) | undefined;
23
+ "onChange:values"?: ((value: any[]) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ modelValue?: boolean;
3
+ disabled?: boolean;
4
+ size?: NSwitchSize;
5
+ label?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ "update:modelValue": (value: boolean) => any;
9
+ change: (value: boolean) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
12
+ onChange?: ((value: boolean) => any) | undefined;
13
+ }>, {
14
+ disabled: boolean;
15
+ size: NSwitchSize;
16
+ label: string;
17
+ modelValue: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,50 @@
1
+ declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: __VLS_PrettifyLocal<{
3
+ columns?: NTableColumn<T>[];
4
+ rows?: T[];
5
+ striped?: boolean;
6
+ bordered?: boolean;
7
+ hoverable?: boolean;
8
+ loading?: boolean;
9
+ emptyText?: string;
10
+ rowKey?: string;
11
+ } & {
12
+ onSort?: ((state: NTableSortState) => any) | undefined;
13
+ "onRow-click"?: ((row: T) => any) | undefined;
14
+ }> & import("vue").PublicProps;
15
+ expose: (exposed: {}) => void;
16
+ attrs: any;
17
+ slots: {
18
+ [x: `header-${string}`]: ((props: {
19
+ col: NTableColumn<T>;
20
+ }) => any) | undefined;
21
+ } & {
22
+ [x: `cell-${string}`]: ((props: {
23
+ value: any;
24
+ row: T;
25
+ index: number;
26
+ }) => any) | undefined;
27
+ } & {
28
+ 'actions-header'?: (props: {}) => any;
29
+ } & {
30
+ actions?: (props: {
31
+ row: T;
32
+ index: number;
33
+ }) => any;
34
+ } & {
35
+ empty?: (props: {}) => any;
36
+ } & {
37
+ loading?: (props: {}) => any;
38
+ };
39
+ emit: {
40
+ (event: "sort", state: NTableSortState): void;
41
+ (event: "row-click", row: T): void;
42
+ };
43
+ }>) => import("vue").VNode & {
44
+ __ctx?: Awaited<typeof __VLS_setup>;
45
+ };
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
48
+ type __VLS_PrettifyLocal<T> = {
49
+ [K in keyof T as K]: T[K];
50
+ } & {};
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ intent?: NTagIntent;
3
+ variant?: NTagVariant;
4
+ size?: NTagSize;
5
+ closable?: boolean;
6
+ round?: boolean;
7
+ };
8
+ declare var __VLS_1: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ close: () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,32 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string;
3
+ placeholder?: string;
4
+ disabled?: boolean;
5
+ readonly?: boolean;
6
+ rows?: number;
7
+ maxLength?: number;
8
+ title?: string;
9
+ autocomplete?: string;
10
+ autofocus?: boolean;
11
+ showCount?: boolean | ((val: string, max?: number) => string);
12
+ wrap?: WrapMode;
13
+ };
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
+ input: (nativeEvent: Event) => any;
16
+ "update:modelValue": (value: string) => any;
17
+ focus: (nativeEvent: FocusEvent) => any;
18
+ blur: (nativeEvent: FocusEvent) => any;
19
+ change: (nativeEvent: Event) => any;
20
+ keydown: (nativeEvent: KeyboardEvent) => any;
21
+ paste: (nativeEvent: ClipboardEvent) => any;
22
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ onInput?: ((nativeEvent: Event) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
+ onFocus?: ((nativeEvent: FocusEvent) => any) | undefined;
26
+ onBlur?: ((nativeEvent: FocusEvent) => any) | undefined;
27
+ onChange?: ((nativeEvent: Event) => any) | undefined;
28
+ onKeydown?: ((nativeEvent: KeyboardEvent) => any) | undefined;
29
+ onPaste?: ((nativeEvent: ClipboardEvent) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ content?: string;
3
+ position?: "top" | "right" | "bottom" | "left";
4
+ disabled?: boolean;
5
+ };
6
+ declare var __VLS_1: {}, __VLS_8: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ } & {
10
+ content?: (props: typeof __VLS_8) => any;
11
+ };
12
+ declare const __VLS_base: 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>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,12 @@
1
+ export declare function useAlert(): {
2
+ alerts: import("vue").Reactive<AlertQueueItem[]>;
3
+ alert: {
4
+ (message: string, options?: AlertOptions): Promise<void>;
5
+ success(message: string, options?: AlertOptions): Promise<void>;
6
+ warning(message: string, options?: AlertOptions): Promise<void>;
7
+ danger(message: string, options?: AlertOptions): Promise<void>;
8
+ info(message: string, options?: AlertOptions): Promise<void>;
9
+ };
10
+ confirm: (message: string, options?: ConfirmOptions) => Promise<boolean>;
11
+ clearAlerts: () => void;
12
+ };
@@ -0,0 +1 @@
1
+ export declare function useDisclosure(): UseDisclosureReturn;
@@ -0,0 +1,6 @@
1
+ export declare function useSidebarManager(sidebarId?: string): {
2
+ isMenuExpanded: (menuTitle: string) => boolean;
3
+ toggleMenu: (menuTitle: string) => void;
4
+ isSidebarExpanded: () => boolean;
5
+ toggleSidebar: () => void;
6
+ };
@@ -0,0 +1,11 @@
1
+ export declare function useToast(): {
2
+ toasts: import("vue").Reactive<ToastQueueItem[]>;
3
+ toast: {
4
+ (message: string, options?: ToastOptions): void;
5
+ success(message: string, options?: ToastOptions): void;
6
+ danger(message: string, options?: ToastOptions): void;
7
+ warning(message: string, options?: ToastOptions): void;
8
+ info(message: string, options?: ToastOptions): void;
9
+ };
10
+ removeToast: (id: number) => void;
11
+ };
@@ -0,0 +1,28 @@
1
+ import NButton from "./components/NButton.vue";
2
+ import NInput from "./components/NInput.vue";
3
+ import NTextarea from "./components/NTextarea.vue";
4
+ import NCheckbox from "./components/NCheckbox.vue";
5
+ import NSelect from "./components/NSelect.vue";
6
+ import NFileSelect from "./components/NFileSelect.vue";
7
+ import NForm from "./components/NForm.vue";
8
+ import NList from "./components/NList.vue";
9
+ import NEmpty from "./components/NEmpty.vue";
10
+ import NToast from "./components/NToast.vue";
11
+ import NLoading from "./components/NLoading.vue";
12
+ import NCode from "./components/NCode.vue";
13
+ import NSwitch from "./components/NSwitch.vue";
14
+ import NTag from "./components/NTag.vue";
15
+ import NDatePicker from "./components/NDatePicker.vue";
16
+ import NTooltip from "./components/NTooltip.vue";
17
+ import NModal from "./components/NModal.vue";
18
+ import NAlert from "./components/NAlert.vue";
19
+ import NTable from "./components/NTable.vue";
20
+ import NLayout from "./layouts/NLayout.vue";
21
+ import NNavigation from "./layouts/NNavigation.vue";
22
+ import NSidebar from "./layouts/NSidebar.vue";
23
+ import NCard from "./layouts/NCard.vue";
24
+ import NLoginLayout from "./layouts/NLoginLayout.vue";
25
+ export { useToast } from "./composables/useToast.js";
26
+ export { useSidebarManager } from "./composables/useSidebarManager.js";
27
+ export { useAlert } from "./composables/useAlert.js";
28
+ export { NButton, NInput, NTextarea, NCheckbox, NSelect, NFileSelect, NForm, NList, NEmpty, NToast, NLoading, NCode, NSwitch, NTag, NDatePicker, NTooltip, NModal, NAlert, NTable, NLayout, NNavigation, NSidebar, NCard, NLoginLayout, };
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ }
3
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ size?: PaddingSize;
3
+ radius?: RadiusSize;
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: 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>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ interface Props {
2
+ icon?: string;
3
+ title?: string;
4
+ }
5
+ declare var __VLS_12: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_12) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };