sprintify-ui 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sprintify-ui.es.js +5552 -4491
- package/dist/types/src/components/BaseActionItem.vue.d.ts +121 -0
- package/dist/types/src/components/BaseAlert.vue.d.ts +3 -3
- package/dist/types/src/components/BaseAppDialogs.vue.d.ts +1 -1
- package/dist/types/src/components/BaseBoolean.vue.d.ts +2 -2
- package/dist/types/src/components/BaseCounter.vue.d.ts +3 -3
- package/dist/types/src/components/BaseDialog.vue.d.ts +4 -4
- package/dist/types/src/components/BaseInput.vue.d.ts +1 -1
- package/dist/types/src/components/BaseLayoutSidebar.vue.d.ts +114 -0
- package/dist/types/src/components/BaseLayoutSidebarConfigurable.vue.d.ts +163 -0
- package/dist/types/src/components/BaseLayoutStacked.vue.d.ts +76 -0
- package/dist/types/src/components/BaseLayoutStackedConfigurable.vue.d.ts +163 -0
- package/dist/types/src/components/BaseMenuItem.vue.d.ts +5 -5
- package/dist/types/src/components/BaseNavbar.vue.d.ts +20 -1
- package/dist/types/src/components/BaseNavbarItem.vue.d.ts +17 -71
- package/dist/types/src/components/BaseNavbarItemContent.vue.d.ts +11 -2
- package/dist/types/src/components/BaseNavbarSideItem.vue.d.ts +26 -0
- package/dist/types/src/components/BaseNavbarSideItemContent.vue.d.ts +50 -0
- package/dist/types/src/components/BaseSwitch.vue.d.ts +3 -3
- package/dist/types/src/components/BaseSystemAlert.vue.d.ts +8 -8
- package/dist/types/src/components/BaseTableColumn.vue.d.ts +1 -1
- package/dist/types/src/components/index.d.ts +5 -1
- package/package.json +1 -1
- package/src/components/BaseActionItem.vue +68 -0
- package/src/components/{HasMany.stories.js → BaseHasMany.stories.js} +0 -0
- package/src/components/BaseLayoutSidebar.vue +199 -0
- package/src/components/BaseLayoutSidebarConfigurable.stories.js +111 -0
- package/src/components/BaseLayoutSidebarConfigurable.vue +115 -0
- package/src/components/BaseLayoutStacked.vue +52 -0
- package/src/components/BaseLayoutStackedConfigurable.stories.js +92 -0
- package/src/components/BaseLayoutStackedConfigurable.vue +124 -0
- package/src/components/BaseMediaItem.vue +7 -7
- package/src/components/BaseMediaLibrary.vue +3 -3
- package/src/components/BaseMediaPreview.vue +1 -1
- package/src/components/BaseNavbar.stories.js +18 -14
- package/src/components/BaseNavbar.vue +19 -3
- package/src/components/BaseNavbarItem.vue +17 -43
- package/src/components/BaseNavbarItemContent.vue +36 -16
- package/src/components/BaseNavbarSideItem.vue +42 -0
- package/src/components/BaseNavbarSideItemContent.vue +77 -0
- package/src/components/index.ts +9 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ActionItem } from '@/types/types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
dark: boolean;
|
|
9
|
+
itemClass: string | Record<string, any> | unknown[];
|
|
10
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
item: {
|
|
12
|
+
required: true;
|
|
13
|
+
type: PropType<ActionItem>;
|
|
14
|
+
};
|
|
15
|
+
dark: {
|
|
16
|
+
default: boolean;
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
};
|
|
19
|
+
itemClass: {
|
|
20
|
+
default: string;
|
|
21
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "dark" | "itemClass">;
|
|
26
|
+
$attrs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$refs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
$slots: Readonly<{
|
|
33
|
+
[name: string]: import("vue").Slot | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
36
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
37
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
38
|
+
$el: any;
|
|
39
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
item: {
|
|
41
|
+
required: true;
|
|
42
|
+
type: PropType<ActionItem>;
|
|
43
|
+
};
|
|
44
|
+
dark: {
|
|
45
|
+
default: boolean;
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
};
|
|
48
|
+
itemClass: {
|
|
49
|
+
default: string;
|
|
50
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
51
|
+
};
|
|
52
|
+
}>> & {
|
|
53
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
|
|
55
|
+
dark: boolean;
|
|
56
|
+
itemClass: string | Record<string, any> | unknown[];
|
|
57
|
+
}, {}, string> & {
|
|
58
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
71
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
72
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
73
|
+
};
|
|
74
|
+
$forceUpdate: () => void;
|
|
75
|
+
$nextTick: typeof import("vue").nextTick;
|
|
76
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
77
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
item: {
|
|
79
|
+
required: true;
|
|
80
|
+
type: PropType<ActionItem>;
|
|
81
|
+
};
|
|
82
|
+
dark: {
|
|
83
|
+
default: boolean;
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
};
|
|
86
|
+
itemClass: {
|
|
87
|
+
default: string;
|
|
88
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
89
|
+
};
|
|
90
|
+
}>> & {
|
|
91
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
93
|
+
__isFragment?: undefined;
|
|
94
|
+
__isTeleport?: undefined;
|
|
95
|
+
__isSuspense?: undefined;
|
|
96
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
97
|
+
item: {
|
|
98
|
+
required: true;
|
|
99
|
+
type: PropType<ActionItem>;
|
|
100
|
+
};
|
|
101
|
+
dark: {
|
|
102
|
+
default: boolean;
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
};
|
|
105
|
+
itemClass: {
|
|
106
|
+
default: string;
|
|
107
|
+
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
108
|
+
};
|
|
109
|
+
}>> & {
|
|
110
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
111
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
|
112
|
+
dark: boolean;
|
|
113
|
+
itemClass: string | Record<string, any> | unknown[];
|
|
114
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
115
|
+
$slots: {
|
|
116
|
+
default: (_: {
|
|
117
|
+
active: boolean;
|
|
118
|
+
}) => any;
|
|
119
|
+
};
|
|
120
|
+
});
|
|
121
|
+
export default _default;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
color: {
|
|
9
9
|
default: string;
|
|
10
|
-
type: PropType<"
|
|
10
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
11
11
|
};
|
|
12
12
|
showIcon: {
|
|
13
13
|
default: boolean;
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
color: {
|
|
34
34
|
default: string;
|
|
35
|
-
type: PropType<"
|
|
35
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
36
36
|
};
|
|
37
37
|
showIcon: {
|
|
38
38
|
default: boolean;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
};
|
|
45
45
|
}>>, {
|
|
46
46
|
title: string;
|
|
47
|
-
color: "
|
|
47
|
+
color: "danger" | "success" | "warning" | "info";
|
|
48
48
|
showIcon: boolean;
|
|
49
49
|
bordered: boolean;
|
|
50
50
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
dialogs: import("vue").ComputedRef<{
|
|
3
3
|
id: number;
|
|
4
|
-
color: "
|
|
4
|
+
color: "danger" | "success" | "warning" | "info";
|
|
5
5
|
title: string;
|
|
6
6
|
message: string;
|
|
7
7
|
confirmText: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
required: true;
|
|
4
|
-
type: (
|
|
4
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
5
5
|
};
|
|
6
6
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
modelValue: {
|
|
8
8
|
required: true;
|
|
9
|
-
type: (
|
|
9
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
10
10
|
};
|
|
11
11
|
}>>, {}>;
|
|
12
12
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
color: {
|
|
16
16
|
default: string;
|
|
17
|
-
type: PropType<"
|
|
17
|
+
type: PropType<"dark" | "light" | "danger" | "primary" | "white">;
|
|
18
18
|
};
|
|
19
19
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
count: {
|
|
@@ -31,10 +31,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
};
|
|
32
32
|
color: {
|
|
33
33
|
default: string;
|
|
34
|
-
type: PropType<"
|
|
34
|
+
type: PropType<"dark" | "light" | "danger" | "primary" | "white">;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
color: "
|
|
37
|
+
color: "dark" | "light" | "danger" | "primary" | "white";
|
|
38
38
|
size: string;
|
|
39
39
|
maxDigit: number;
|
|
40
40
|
}>;
|
|
@@ -11,7 +11,7 @@ declare const _default: {
|
|
|
11
11
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
color: {
|
|
13
13
|
required: true;
|
|
14
|
-
type: PropType<"
|
|
14
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
17
|
default: string;
|
|
@@ -49,7 +49,7 @@ declare const _default: {
|
|
|
49
49
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
50
50
|
color: {
|
|
51
51
|
required: true;
|
|
52
|
-
type: PropType<"
|
|
52
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
53
53
|
};
|
|
54
54
|
title: {
|
|
55
55
|
default: string;
|
|
@@ -98,7 +98,7 @@ declare const _default: {
|
|
|
98
98
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
99
99
|
color: {
|
|
100
100
|
required: true;
|
|
101
|
-
type: PropType<"
|
|
101
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
102
102
|
};
|
|
103
103
|
title: {
|
|
104
104
|
default: string;
|
|
@@ -126,7 +126,7 @@ declare const _default: {
|
|
|
126
126
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
127
127
|
color: {
|
|
128
128
|
required: true;
|
|
129
|
-
type: PropType<"
|
|
129
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
130
130
|
};
|
|
131
131
|
title: {
|
|
132
132
|
default: string;
|
|
@@ -85,11 +85,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
required: boolean;
|
|
86
86
|
type: string;
|
|
87
87
|
name: string;
|
|
88
|
+
step: number;
|
|
88
89
|
modelValue: string | number | null;
|
|
89
90
|
placeholder: string;
|
|
90
91
|
disabled: boolean;
|
|
91
92
|
autocomplete: boolean;
|
|
92
|
-
step: number;
|
|
93
93
|
preventSubmit: boolean;
|
|
94
94
|
}>;
|
|
95
95
|
export default _default;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
dark: boolean;
|
|
7
|
+
appName: string;
|
|
8
|
+
logoUrl: string;
|
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
appName: {
|
|
11
|
+
default: string;
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
};
|
|
14
|
+
logoUrl: {
|
|
15
|
+
default: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
dark: {
|
|
19
|
+
default: boolean;
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
};
|
|
22
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "dark" | "appName" | "logoUrl">;
|
|
23
|
+
$attrs: {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
$refs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$slots: Readonly<{
|
|
30
|
+
[name: string]: import("vue").Slot | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
33
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
34
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
35
|
+
$el: any;
|
|
36
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
appName: {
|
|
38
|
+
default: string;
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
logoUrl: {
|
|
42
|
+
default: string;
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
45
|
+
dark: {
|
|
46
|
+
default: boolean;
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
};
|
|
49
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
50
|
+
dark: boolean;
|
|
51
|
+
appName: string;
|
|
52
|
+
logoUrl: string;
|
|
53
|
+
}, {}, string> & {
|
|
54
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
67
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
68
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
69
|
+
};
|
|
70
|
+
$forceUpdate: () => void;
|
|
71
|
+
$nextTick: typeof import("vue").nextTick;
|
|
72
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
73
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
appName: {
|
|
75
|
+
default: string;
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
};
|
|
78
|
+
logoUrl: {
|
|
79
|
+
default: string;
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
};
|
|
82
|
+
dark: {
|
|
83
|
+
default: boolean;
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
};
|
|
86
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
87
|
+
__isFragment?: undefined;
|
|
88
|
+
__isTeleport?: undefined;
|
|
89
|
+
__isSuspense?: undefined;
|
|
90
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
appName: {
|
|
92
|
+
default: string;
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
};
|
|
95
|
+
logoUrl: {
|
|
96
|
+
default: string;
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
};
|
|
99
|
+
dark: {
|
|
100
|
+
default: boolean;
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
};
|
|
103
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
104
|
+
dark: boolean;
|
|
105
|
+
appName: string;
|
|
106
|
+
logoUrl: string;
|
|
107
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
108
|
+
$slots: {
|
|
109
|
+
menu: (_: {}) => any;
|
|
110
|
+
navbar: (_: {}) => any;
|
|
111
|
+
default: (_: {}) => any;
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
export default _default;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { User } from '@/types/User';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { ActionItem, ActionSection } from '../types/types';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
new (...args: any[]): {
|
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
|
7
|
+
$data: {};
|
|
8
|
+
$props: Partial<{
|
|
9
|
+
dark: boolean;
|
|
10
|
+
appName: string;
|
|
11
|
+
logoUrl: string;
|
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
appName: {
|
|
14
|
+
default: string;
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
logoUrl: {
|
|
18
|
+
default: string;
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
menu: {
|
|
22
|
+
required: true;
|
|
23
|
+
type: PropType<ActionItem[] | ActionSection[]>;
|
|
24
|
+
};
|
|
25
|
+
userMenu: {
|
|
26
|
+
required: true;
|
|
27
|
+
type: PropType<ActionItem[]>;
|
|
28
|
+
};
|
|
29
|
+
user: {
|
|
30
|
+
required: true;
|
|
31
|
+
type: PropType<User>;
|
|
32
|
+
};
|
|
33
|
+
dark: {
|
|
34
|
+
default: boolean;
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
};
|
|
37
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "dark" | "appName" | "logoUrl">;
|
|
38
|
+
$attrs: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
$refs: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
$slots: Readonly<{
|
|
45
|
+
[name: string]: import("vue").Slot | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
48
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
49
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
50
|
+
$el: any;
|
|
51
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
appName: {
|
|
53
|
+
default: string;
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
};
|
|
56
|
+
logoUrl: {
|
|
57
|
+
default: string;
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
};
|
|
60
|
+
menu: {
|
|
61
|
+
required: true;
|
|
62
|
+
type: PropType<ActionItem[] | ActionSection[]>;
|
|
63
|
+
};
|
|
64
|
+
userMenu: {
|
|
65
|
+
required: true;
|
|
66
|
+
type: PropType<ActionItem[]>;
|
|
67
|
+
};
|
|
68
|
+
user: {
|
|
69
|
+
required: true;
|
|
70
|
+
type: PropType<User>;
|
|
71
|
+
};
|
|
72
|
+
dark: {
|
|
73
|
+
default: boolean;
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
};
|
|
76
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
77
|
+
dark: boolean;
|
|
78
|
+
appName: string;
|
|
79
|
+
logoUrl: string;
|
|
80
|
+
}, {}, string> & {
|
|
81
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
85
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
87
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
88
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
89
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
90
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
91
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
92
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
93
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
94
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
95
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
96
|
+
};
|
|
97
|
+
$forceUpdate: () => void;
|
|
98
|
+
$nextTick: typeof import("vue").nextTick;
|
|
99
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
100
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
101
|
+
appName: {
|
|
102
|
+
default: string;
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
105
|
+
logoUrl: {
|
|
106
|
+
default: string;
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
};
|
|
109
|
+
menu: {
|
|
110
|
+
required: true;
|
|
111
|
+
type: PropType<ActionItem[] | ActionSection[]>;
|
|
112
|
+
};
|
|
113
|
+
userMenu: {
|
|
114
|
+
required: true;
|
|
115
|
+
type: PropType<ActionItem[]>;
|
|
116
|
+
};
|
|
117
|
+
user: {
|
|
118
|
+
required: true;
|
|
119
|
+
type: PropType<User>;
|
|
120
|
+
};
|
|
121
|
+
dark: {
|
|
122
|
+
default: boolean;
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
};
|
|
125
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
126
|
+
__isFragment?: undefined;
|
|
127
|
+
__isTeleport?: undefined;
|
|
128
|
+
__isSuspense?: undefined;
|
|
129
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
130
|
+
appName: {
|
|
131
|
+
default: string;
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
};
|
|
134
|
+
logoUrl: {
|
|
135
|
+
default: string;
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
};
|
|
138
|
+
menu: {
|
|
139
|
+
required: true;
|
|
140
|
+
type: PropType<ActionItem[] | ActionSection[]>;
|
|
141
|
+
};
|
|
142
|
+
userMenu: {
|
|
143
|
+
required: true;
|
|
144
|
+
type: PropType<ActionItem[]>;
|
|
145
|
+
};
|
|
146
|
+
user: {
|
|
147
|
+
required: true;
|
|
148
|
+
type: PropType<User>;
|
|
149
|
+
};
|
|
150
|
+
dark: {
|
|
151
|
+
default: boolean;
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
};
|
|
154
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
155
|
+
dark: boolean;
|
|
156
|
+
appName: string;
|
|
157
|
+
logoUrl: string;
|
|
158
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
159
|
+
$slots: {
|
|
160
|
+
default: (_: {}) => any;
|
|
161
|
+
};
|
|
162
|
+
});
|
|
163
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
dark: boolean;
|
|
7
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
dark: {
|
|
9
|
+
default: boolean;
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
};
|
|
12
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "dark">;
|
|
13
|
+
$attrs: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
$refs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
$slots: Readonly<{
|
|
20
|
+
[name: string]: import("vue").Slot | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
23
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
24
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
25
|
+
$el: any;
|
|
26
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
dark: {
|
|
28
|
+
default: boolean;
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
};
|
|
31
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
32
|
+
dark: boolean;
|
|
33
|
+
}, {}, string> & {
|
|
34
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
47
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
48
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
49
|
+
};
|
|
50
|
+
$forceUpdate: () => void;
|
|
51
|
+
$nextTick: typeof import("vue").nextTick;
|
|
52
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
53
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
dark: {
|
|
55
|
+
default: boolean;
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
59
|
+
__isFragment?: undefined;
|
|
60
|
+
__isTeleport?: undefined;
|
|
61
|
+
__isSuspense?: undefined;
|
|
62
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
dark: {
|
|
64
|
+
default: boolean;
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
};
|
|
67
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
68
|
+
dark: boolean;
|
|
69
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
70
|
+
$slots: {
|
|
71
|
+
navbar: (_: {}) => any;
|
|
72
|
+
mobile: (_: {}) => any;
|
|
73
|
+
default: (_: {}) => any;
|
|
74
|
+
};
|
|
75
|
+
});
|
|
76
|
+
export default _default;
|