@amirjalili1374/ui-kit 1.3.7 → 1.3.9
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/components/layout/AppSidebar.vue.d.ts +59 -69
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/components/layout/NavCollapse/NavCollapse.vue.d.ts +7 -0
- package/dist/components/layout/NavCollapse/NavCollapse.vue.d.ts.map +1 -0
- package/dist/components/layout/NavGroup/NavGroup.vue.d.ts +8 -0
- package/dist/components/layout/NavGroup/NavGroup.vue.d.ts.map +1 -0
- package/dist/components/layout/NavItem/NavItem.vue.d.ts +7 -0
- package/dist/components/layout/NavItem/NavItem.vue.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs.js +1 -7
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +396 -1515
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,76 +1,66 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
/**
|
|
3
|
-
* Menu item type definition
|
|
4
|
-
*/
|
|
1
|
+
import { type PropType } from "vue";
|
|
5
2
|
export interface MenuItem {
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
header?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
icon?: object;
|
|
8
6
|
to?: string;
|
|
9
|
-
href?: string;
|
|
10
|
-
items?: MenuItem[];
|
|
11
|
-
chip?: {
|
|
12
|
-
content: string | number;
|
|
13
|
-
color?: string;
|
|
14
|
-
};
|
|
15
7
|
divider?: boolean;
|
|
8
|
+
chip?: string;
|
|
9
|
+
chipColor?: string;
|
|
10
|
+
chipVariant?: string;
|
|
11
|
+
chipIcon?: string;
|
|
12
|
+
children?: MenuItem[];
|
|
16
13
|
disabled?: boolean;
|
|
14
|
+
type?: string;
|
|
15
|
+
subCaption?: string;
|
|
16
|
+
permissionKey?: string;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
/** Built-in visual preset */
|
|
39
|
-
preset?: 'default' | 'right-mini';
|
|
40
|
-
}
|
|
41
|
-
declare var __VLS_6: {
|
|
42
|
-
isMini: boolean;
|
|
43
|
-
themeMode: string;
|
|
44
|
-
}, __VLS_24: {
|
|
45
|
-
items: MenuItem[];
|
|
46
|
-
isActive: (item: MenuItem) => boolean;
|
|
47
|
-
navigate: (item: MenuItem) => void;
|
|
48
|
-
}, __VLS_106: {};
|
|
49
|
-
type __VLS_Slots = {} & {
|
|
50
|
-
logo?: (props: typeof __VLS_6) => any;
|
|
51
|
-
} & {
|
|
52
|
-
menu?: (props: typeof __VLS_24) => any;
|
|
53
|
-
} & {
|
|
54
|
-
bottom?: (props: typeof __VLS_106) => any;
|
|
55
|
-
};
|
|
56
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
57
|
-
width: string | number;
|
|
58
|
-
location: "left" | "right";
|
|
59
|
-
menuItems: MenuItem[];
|
|
60
|
-
miniSidebar: boolean;
|
|
61
|
-
permanent: boolean;
|
|
62
|
-
temporary: boolean;
|
|
63
|
-
rail: boolean;
|
|
64
|
-
railWidth: string | number;
|
|
65
|
-
containerClass: string;
|
|
66
|
-
hideDefaultLogo: boolean;
|
|
67
|
-
debugBorders: boolean;
|
|
68
|
-
preset: "default" | "right-mini";
|
|
69
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
70
|
-
export default _default;
|
|
71
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
72
|
-
new (): {
|
|
73
|
-
$slots: S;
|
|
18
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
19
|
+
sidebarItems: {
|
|
20
|
+
type: PropType<MenuItem[]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
getFilteredSidebarItems: {
|
|
24
|
+
type: PropType<() => MenuItem[]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
logoComponent: {
|
|
28
|
+
type: PropType<any>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
sidebarDrawer: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
miniSidebar: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
required: true;
|
|
74
38
|
};
|
|
75
|
-
}
|
|
39
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
40
|
+
"update:sidebarDrawer": (value: boolean) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
sidebarItems: {
|
|
43
|
+
type: PropType<MenuItem[]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
getFilteredSidebarItems: {
|
|
47
|
+
type: PropType<() => MenuItem[]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
logoComponent: {
|
|
51
|
+
type: PropType<any>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
sidebarDrawer: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
miniSidebar: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
}>> & Readonly<{
|
|
63
|
+
"onUpdate:sidebarDrawer"?: (value: boolean) => any;
|
|
64
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
export default _default;
|
|
76
66
|
//# sourceMappingURL=AppSidebar.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/AppSidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/AppSidebar.vue"],"names":[],"mappings":"AAAA,OAsGO,EAAY,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAK9C,MAAM,WAAW,QAAQ;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;;;;;;;6BA0PoC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;6BAAV,QAAQ,EAAE;;;;;;;;;;;;;;;;;;AAZ/C,wBA4BG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
item: any;
|
|
3
|
+
level: number;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=NavCollapse.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavCollapse.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/NavCollapse/NavCollapse.vue"],"names":[],"mappings":"AAgDA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;;AAiJhD,wBAMG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
item?: Record<string, any>;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly item?: Record<string, any>;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=NavGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/NavGroup/NavGroup.vue"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
item: any;
|
|
3
|
+
level: number;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=NavItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/NavItem/NavItem.vue"],"names":[],"mappings":"AAAA,KAyCK,WAAW,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;;AAmIhD,wBAMG"}
|