@amirjalili1374/ui-kit 1.3.8 → 1.3.10

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.
@@ -1,41 +1,66 @@
1
- /**
2
- * Menu item type definition
3
- */
1
+ import { type PropType } from "vue";
4
2
  export interface MenuItem {
5
- title: string;
6
- icon?: string;
3
+ header?: string;
4
+ title?: string;
5
+ icon?: object;
7
6
  to?: string;
8
- href?: string;
9
- items?: MenuItem[];
10
- chip?: {
11
- content: string | number;
12
- color?: string;
13
- };
14
7
  divider?: boolean;
8
+ chip?: string;
9
+ chipColor?: string;
10
+ chipVariant?: string;
11
+ chipIcon?: string;
12
+ children?: MenuItem[];
15
13
  disabled?: boolean;
14
+ type?: string;
15
+ subCaption?: string;
16
+ permissionKey?: string;
16
17
  }
17
- interface Props {
18
- menuItems?: MenuItem[];
19
- logo?: string;
20
- logoLight?: string;
21
- logoText?: string;
22
- miniSidebar?: boolean;
23
- permanent?: boolean;
24
- temporary?: boolean;
25
- rail?: boolean;
26
- location?: 'left' | 'right';
27
- width?: number | string;
28
- railWidth?: number | string;
29
- }
30
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
31
- width: string | number;
32
- location: "left" | "right";
33
- menuItems: MenuItem[];
34
- miniSidebar: boolean;
35
- permanent: boolean;
36
- temporary: boolean;
37
- rail: boolean;
38
- railWidth: string | number;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
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;
38
+ };
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>;
40
65
  export default _default;
41
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":"AAyOA;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE;QACL,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,KAAK;IACb,SA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AE;;;;;;;;;;;;;;;;;;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":"AAyCA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;;AAmIhD,wBAMG"}