@amirjalili1374/ui-kit 1.3.27 → 1.3.29
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/AppHeader.vue.d.ts +3 -3
- package/dist/components/layout/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/layout/AppLayout.vue.d.ts +10 -14
- package/dist/components/layout/AppLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts +52 -47
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs.js +1 -1
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +923 -282
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
};
|
|
9
9
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
menuOrientation: {
|
|
11
|
-
type:
|
|
11
|
+
type: PropType<"vertical" | "horizontal">;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
miniSidebar: {
|
|
@@ -37,7 +37,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
37
37
|
};
|
|
38
38
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
39
|
menuOrientation: {
|
|
40
|
-
type:
|
|
40
|
+
type: PropType<"vertical" | "horizontal">;
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
miniSidebar: {
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
65
65
|
default: any;
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{}>, {
|
|
68
|
-
menuOrientation:
|
|
68
|
+
menuOrientation: "vertical" | "horizontal";
|
|
69
69
|
miniSidebar: boolean;
|
|
70
70
|
userInfoLoaded: boolean;
|
|
71
71
|
headerMenu: MenuItem[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/AppHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/AppHeader.vue"],"names":[],"mappings":"AAmNA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAobnE,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFhD,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -9,30 +9,26 @@ interface HeaderProps {
|
|
|
9
9
|
onToggleSidebarDrawer?: () => void;
|
|
10
10
|
}
|
|
11
11
|
interface SidebarProps {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
onToggleSidebarDrawer?: () => void;
|
|
12
|
+
sidebarItems: MenuItem[];
|
|
13
|
+
getFilteredSidebarItems: () => MenuItem[];
|
|
14
|
+
logoComponent: any;
|
|
15
|
+
sidebarDrawer: boolean;
|
|
16
|
+
miniSidebar: boolean;
|
|
17
|
+
'onUpdate:sidebarDrawer'?: (value: boolean) => void;
|
|
19
18
|
}
|
|
20
19
|
interface Props {
|
|
21
20
|
header?: HeaderProps;
|
|
22
|
-
sidebar
|
|
21
|
+
sidebar: SidebarProps;
|
|
23
22
|
}
|
|
24
|
-
declare var __VLS_8: {}, __VLS_10: {},
|
|
23
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_23: {};
|
|
25
24
|
type __VLS_Slots = {} & {
|
|
26
25
|
notifications?: (props: typeof __VLS_8) => any;
|
|
27
26
|
} & {
|
|
28
27
|
profile?: (props: typeof __VLS_10) => any;
|
|
29
28
|
} & {
|
|
30
|
-
default?: (props: typeof
|
|
29
|
+
default?: (props: typeof __VLS_23) => any;
|
|
31
30
|
};
|
|
32
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
33
|
-
header: HeaderProps;
|
|
34
|
-
sidebar: SidebarProps;
|
|
35
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
31
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
36
32
|
export default _default;
|
|
37
33
|
type __VLS_WithSlots<T, S> = T & {
|
|
38
34
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/AppLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppLayout.v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AAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,61 +1,66 @@
|
|
|
1
|
-
import { type PropType } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
export interface MenuItem {
|
|
3
|
+
header?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
icon?: object;
|
|
6
|
+
to?: string;
|
|
7
|
+
divider?: boolean;
|
|
8
|
+
chip?: string;
|
|
9
|
+
chipColor?: string;
|
|
10
|
+
chipVariant?: string;
|
|
11
|
+
chipIcon?: string;
|
|
12
|
+
children?: MenuItem[];
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
type?: string;
|
|
15
|
+
subCaption?: string;
|
|
16
|
+
permissionKey?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
19
|
+
sidebarItems: {
|
|
20
|
+
type: PropType<MenuItem[]>;
|
|
21
|
+
required: true;
|
|
13
22
|
};
|
|
14
|
-
|
|
23
|
+
getFilteredSidebarItems: {
|
|
24
|
+
type: PropType<() => MenuItem[]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
logoComponent: {
|
|
28
|
+
type: PropType<any>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
sidebarDrawer: {
|
|
15
32
|
type: BooleanConstructor;
|
|
16
|
-
|
|
33
|
+
required: true;
|
|
17
34
|
};
|
|
18
|
-
|
|
35
|
+
miniSidebar: {
|
|
19
36
|
type: BooleanConstructor;
|
|
20
|
-
|
|
37
|
+
required: true;
|
|
21
38
|
};
|
|
22
|
-
|
|
39
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
40
|
+
"update:sidebarDrawer": (value: boolean) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
sidebarItems: {
|
|
23
43
|
type: PropType<MenuItem[]>;
|
|
24
|
-
|
|
44
|
+
required: true;
|
|
25
45
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
menuOrientation: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
46
|
+
getFilteredSidebarItems: {
|
|
47
|
+
type: PropType<() => MenuItem[]>;
|
|
48
|
+
required: true;
|
|
33
49
|
};
|
|
34
|
-
|
|
50
|
+
logoComponent: {
|
|
51
|
+
type: PropType<any>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
sidebarDrawer: {
|
|
35
55
|
type: BooleanConstructor;
|
|
36
|
-
|
|
56
|
+
required: true;
|
|
37
57
|
};
|
|
38
|
-
|
|
58
|
+
miniSidebar: {
|
|
39
59
|
type: BooleanConstructor;
|
|
40
|
-
|
|
60
|
+
required: true;
|
|
41
61
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
};
|
|
46
|
-
onToggleMiniSidebar: FunctionConstructor;
|
|
47
|
-
onToggleCustomizer: FunctionConstructor;
|
|
48
|
-
onToggleSidebarDrawer: FunctionConstructor;
|
|
49
|
-
}>> & Readonly<{}>, {
|
|
50
|
-
menuOrientation: string;
|
|
51
|
-
miniSidebar: boolean;
|
|
52
|
-
userInfoLoaded: boolean;
|
|
53
|
-
headerMenu: MenuItem[];
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
62
|
+
}>> & Readonly<{
|
|
63
|
+
"onUpdate:sidebarDrawer"?: (value: boolean) => any;
|
|
64
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
55
65
|
export default _default;
|
|
56
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
57
|
-
new (): {
|
|
58
|
-
$slots: S;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
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":"AA0HA,OAAO,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;;;;;;;6BA8PoC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;6BAAV,QAAQ,EAAE;;;;;;;;;;;;;;;;;;AAZ/C,wBA4BG"}
|