@amirjalili1374/ui-kit 1.3.28 → 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 +71 -82
- package/dist/components/layout/AppHeader.vue.d.ts.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.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 +241 -448
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,88 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export interface HeaderAction {
|
|
5
|
-
icon?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
color?: string;
|
|
8
|
-
variant?: string;
|
|
9
|
-
size?: string;
|
|
10
|
-
badge?: string | number;
|
|
11
|
-
badgeColor?: string;
|
|
12
|
-
onClick: () => void;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
tooltip?: string;
|
|
15
|
-
}
|
|
16
|
-
interface Props {
|
|
17
|
-
title?: string;
|
|
18
|
-
subtitle?: string;
|
|
19
|
-
/** Extra class applied to the header root */
|
|
20
|
-
class?: string;
|
|
21
|
-
/** ARIA label for app bar */
|
|
22
|
-
ariaLabel?: string;
|
|
23
|
-
showSidebarToggle?: boolean;
|
|
24
|
-
showSearch?: boolean;
|
|
25
|
-
searchPlaceholder?: string;
|
|
26
|
-
searchValue?: string;
|
|
27
|
-
showNotifications?: boolean;
|
|
28
|
-
notificationCount?: number;
|
|
29
|
-
showProfile?: boolean;
|
|
30
|
-
profileAvatar?: string;
|
|
31
|
-
profileName?: string;
|
|
32
|
-
profileMenu?: Array<{
|
|
33
|
-
title: string;
|
|
34
|
-
icon?: string;
|
|
35
|
-
to?: string;
|
|
36
|
-
href?: string;
|
|
37
|
-
divider?: boolean;
|
|
38
|
-
action?: () => void;
|
|
39
|
-
}>;
|
|
40
|
-
actions?: HeaderAction[];
|
|
41
|
-
color?: string;
|
|
42
|
-
elevation?: number;
|
|
43
|
-
height?: number | string;
|
|
44
|
-
/** Hide default title (use slot instead) */
|
|
45
|
-
hideDefaultTitle?: boolean;
|
|
46
|
-
}
|
|
47
|
-
declare var __VLS_6: {}, __VLS_16: {}, __VLS_26: {}, __VLS_76: {};
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { MenuItem } from '../../types/components/layout/menu';
|
|
3
|
+
declare var __VLS_82: {}, __VLS_92: {};
|
|
48
4
|
type __VLS_Slots = {} & {
|
|
49
|
-
|
|
5
|
+
notifications?: (props: typeof __VLS_82) => any;
|
|
50
6
|
} & {
|
|
51
|
-
|
|
52
|
-
} & {
|
|
53
|
-
center?: (props: typeof __VLS_26) => any;
|
|
54
|
-
} & {
|
|
55
|
-
right?: (props: typeof __VLS_76) => any;
|
|
7
|
+
profile?: (props: typeof __VLS_92) => any;
|
|
56
8
|
};
|
|
57
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
9
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
menuOrientation: {
|
|
11
|
+
type: PropType<"vertical" | "horizontal">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
miniSidebar: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
userInfoLoaded: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
headerMenu: {
|
|
23
|
+
type: PropType<MenuItem[]>;
|
|
24
|
+
default: () => any[];
|
|
25
|
+
};
|
|
26
|
+
onToggleMiniSidebar: {
|
|
27
|
+
type: PropType<() => void>;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
30
|
+
onToggleCustomizer: {
|
|
31
|
+
type: PropType<() => void>;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
onToggleSidebarDrawer: {
|
|
35
|
+
type: PropType<() => void>;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
menuOrientation: {
|
|
40
|
+
type: PropType<"vertical" | "horizontal">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
miniSidebar: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
userInfoLoaded: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
headerMenu: {
|
|
52
|
+
type: PropType<MenuItem[]>;
|
|
53
|
+
default: () => any[];
|
|
54
|
+
};
|
|
55
|
+
onToggleMiniSidebar: {
|
|
56
|
+
type: PropType<() => void>;
|
|
57
|
+
default: any;
|
|
58
|
+
};
|
|
59
|
+
onToggleCustomizer: {
|
|
60
|
+
type: PropType<() => void>;
|
|
61
|
+
default: any;
|
|
62
|
+
};
|
|
63
|
+
onToggleSidebarDrawer: {
|
|
64
|
+
type: PropType<() => void>;
|
|
65
|
+
default: any;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{}>, {
|
|
68
|
+
menuOrientation: "vertical" | "horizontal";
|
|
69
|
+
miniSidebar: boolean;
|
|
70
|
+
userInfoLoaded: boolean;
|
|
71
|
+
headerMenu: MenuItem[];
|
|
72
|
+
onToggleMiniSidebar: () => void;
|
|
73
|
+
onToggleCustomizer: () => void;
|
|
74
|
+
onToggleSidebarDrawer: () => void;
|
|
86
75
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
87
76
|
export default _default;
|
|
88
77
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -23,8 +23,7 @@ export { default as Loading } from './components/Loading.vue';
|
|
|
23
23
|
export { default as AppSidebar } from './components/layout/AppSidebar.vue';
|
|
24
24
|
export { default as AppHeader } from './components/layout/AppHeader.vue';
|
|
25
25
|
export { default as AppLayout } from './components/layout/AppLayout.vue';
|
|
26
|
-
export type { MenuItem } from './components/layout/
|
|
27
|
-
export type { HeaderAction } from './components/layout/AppHeader.vue';
|
|
26
|
+
export type { MenuItem, HeaderAction } from './types/components/layout/menu';
|
|
28
27
|
export { useDataTable } from './composables/useDataTable';
|
|
29
28
|
export type { DataTableOptions, PaginationState } from './composables/useDataTable';
|
|
30
29
|
export { useTableActions } from './composables/useTableActions';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,mBAAmB,CAAC;AAO3B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CA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