@codemonster-ru/vueforge 0.64.0 → 0.66.0
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/README.md +120 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.ts.mjs +4213 -3858
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/app-shell.test.d.ts +1 -0
- package/dist/package/components/__tests__/notification-center.test.d.ts +1 -0
- package/dist/package/components/app-shell.vue.d.ts +66 -0
- package/dist/package/components/filter-chips.vue.d.ts +1 -1
- package/dist/package/components/notification-center.vue.d.ts +87 -0
- package/dist/package/config/theme-core.d.ts +68 -0
- package/dist/package/themes/default/components/app-shell.d.ts +25 -0
- package/dist/package/themes/default/components/notification-center.d.ts +43 -0
- package/dist/package/themes/default/index.d.ts +66 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
sidebarWidth?: string;
|
|
4
|
+
sidebarCollapsedWidth?: string;
|
|
5
|
+
mobileBreakpoint?: number;
|
|
6
|
+
stickyHeader?: boolean;
|
|
7
|
+
fullHeight?: boolean;
|
|
8
|
+
showToggle?: boolean;
|
|
9
|
+
closeOnEsc?: boolean;
|
|
10
|
+
toggleLabel?: string;
|
|
11
|
+
closeSidebarLabel?: string;
|
|
12
|
+
toggleIcon?: string;
|
|
13
|
+
mainAriaLabel?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
sidebar?(_: {
|
|
19
|
+
mobile: boolean;
|
|
20
|
+
collapsed: boolean;
|
|
21
|
+
}): any;
|
|
22
|
+
header?(_: {
|
|
23
|
+
mobile: boolean;
|
|
24
|
+
collapsed: boolean;
|
|
25
|
+
mobileSidebarOpen: boolean;
|
|
26
|
+
toggleSidebar: () => void;
|
|
27
|
+
}): any;
|
|
28
|
+
default?(_: {}): any;
|
|
29
|
+
footer?(_: {
|
|
30
|
+
mobile: boolean;
|
|
31
|
+
collapsed: boolean;
|
|
32
|
+
}): any;
|
|
33
|
+
};
|
|
34
|
+
refs: {};
|
|
35
|
+
rootEl: HTMLDivElement;
|
|
36
|
+
};
|
|
37
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
+
"update:modelValue": (...args: any[]) => void;
|
|
40
|
+
"sidebar-toggle": (...args: any[]) => void;
|
|
41
|
+
"breakpoint-change": (...args: any[]) => void;
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
"onSidebar-toggle"?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
"onBreakpoint-change"?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
modelValue: boolean;
|
|
48
|
+
showToggle: boolean;
|
|
49
|
+
closeOnEsc: boolean;
|
|
50
|
+
sidebarWidth: string;
|
|
51
|
+
sidebarCollapsedWidth: string;
|
|
52
|
+
mobileBreakpoint: number;
|
|
53
|
+
stickyHeader: boolean;
|
|
54
|
+
fullHeight: boolean;
|
|
55
|
+
toggleLabel: string;
|
|
56
|
+
closeSidebarLabel: string;
|
|
57
|
+
toggleIcon: string;
|
|
58
|
+
mainAriaLabel: string;
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
60
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
61
|
+
export default _default;
|
|
62
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -41,9 +41,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
41
41
|
ariaLabelledby: string;
|
|
42
42
|
multiple: boolean;
|
|
43
43
|
options: Array<FilterChipOption>;
|
|
44
|
+
clearLabel: string;
|
|
44
45
|
allowEmpty: boolean;
|
|
45
46
|
clearText: string;
|
|
46
|
-
clearLabel: string;
|
|
47
47
|
wrap: boolean;
|
|
48
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
49
|
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
type NotificationSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
|
|
2
|
+
export interface NotificationCenterItem {
|
|
3
|
+
id: string | number;
|
|
4
|
+
title: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
date?: string;
|
|
7
|
+
read?: boolean;
|
|
8
|
+
severity?: NotificationSeverity;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
}
|
|
11
|
+
interface Props {
|
|
12
|
+
modelValue?: boolean;
|
|
13
|
+
items?: Array<NotificationCenterItem>;
|
|
14
|
+
title?: string;
|
|
15
|
+
emptyText?: string;
|
|
16
|
+
closeOnOverlay?: boolean;
|
|
17
|
+
closeOnEsc?: boolean;
|
|
18
|
+
markAllLabel?: string;
|
|
19
|
+
clearLabel?: string;
|
|
20
|
+
closeLabel?: string;
|
|
21
|
+
readLabel?: string;
|
|
22
|
+
unreadLabel?: string;
|
|
23
|
+
}
|
|
24
|
+
declare function __VLS_template(): {
|
|
25
|
+
attrs: Partial<{}>;
|
|
26
|
+
slots: {
|
|
27
|
+
item?(_: {
|
|
28
|
+
item: {
|
|
29
|
+
id: string | number;
|
|
30
|
+
title: string;
|
|
31
|
+
message?: string | undefined;
|
|
32
|
+
date?: string | undefined;
|
|
33
|
+
read?: boolean | undefined;
|
|
34
|
+
severity?: NotificationSeverity | undefined;
|
|
35
|
+
avatar?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
index: number;
|
|
38
|
+
toggleRead: () => void;
|
|
39
|
+
}): any;
|
|
40
|
+
empty?(_: {}): any;
|
|
41
|
+
};
|
|
42
|
+
refs: {
|
|
43
|
+
panel: HTMLElement;
|
|
44
|
+
};
|
|
45
|
+
rootEl: any;
|
|
46
|
+
};
|
|
47
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
48
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
+
click: (...args: any[]) => void;
|
|
50
|
+
close: (...args: any[]) => void;
|
|
51
|
+
"update:modelValue": (...args: any[]) => void;
|
|
52
|
+
clear: (...args: any[]) => void;
|
|
53
|
+
open: (...args: any[]) => void;
|
|
54
|
+
"update:items": (...args: any[]) => void;
|
|
55
|
+
read: (...args: any[]) => void;
|
|
56
|
+
readAll: (...args: any[]) => void;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
58
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
"onUpdate:items"?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onRead?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onReadAll?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
title: string;
|
|
68
|
+
items: Array<NotificationCenterItem>;
|
|
69
|
+
modelValue: boolean;
|
|
70
|
+
emptyText: string;
|
|
71
|
+
closeOnOverlay: boolean;
|
|
72
|
+
closeOnEsc: boolean;
|
|
73
|
+
markAllLabel: string;
|
|
74
|
+
clearLabel: string;
|
|
75
|
+
closeLabel: string;
|
|
76
|
+
readLabel: string;
|
|
77
|
+
unreadLabel: string;
|
|
78
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
79
|
+
panel: HTMLElement;
|
|
80
|
+
}, any>;
|
|
81
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
82
|
+
export default _default;
|
|
83
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
@@ -629,6 +629,72 @@ export type CommandPaletteTokens = {
|
|
|
629
629
|
emptyPadding?: string;
|
|
630
630
|
emptyColor?: string;
|
|
631
631
|
};
|
|
632
|
+
export type NotificationCenterTokens = {
|
|
633
|
+
zIndex?: string;
|
|
634
|
+
overlayBackgroundColor?: string;
|
|
635
|
+
top?: string;
|
|
636
|
+
right?: string;
|
|
637
|
+
width?: string;
|
|
638
|
+
maxWidth?: string;
|
|
639
|
+
maxHeight?: string;
|
|
640
|
+
borderColor?: string;
|
|
641
|
+
borderRadius?: string;
|
|
642
|
+
backgroundColor?: string;
|
|
643
|
+
textColor?: string;
|
|
644
|
+
shadow?: string;
|
|
645
|
+
dividerColor?: string;
|
|
646
|
+
headerGap?: string;
|
|
647
|
+
headerPadding?: string;
|
|
648
|
+
titleGap?: string;
|
|
649
|
+
titleFontSize?: string;
|
|
650
|
+
titleLineHeight?: string;
|
|
651
|
+
titleFontWeight?: string;
|
|
652
|
+
badgeSize?: string;
|
|
653
|
+
badgeBackgroundColor?: string;
|
|
654
|
+
badgeTextColor?: string;
|
|
655
|
+
badgeFontSize?: string;
|
|
656
|
+
actionsGap?: string;
|
|
657
|
+
closeSize?: string;
|
|
658
|
+
closeHoverBackgroundColor?: string;
|
|
659
|
+
disabledOpacity?: string;
|
|
660
|
+
itemGap?: string;
|
|
661
|
+
itemPadding?: string;
|
|
662
|
+
unreadBackgroundColor?: string;
|
|
663
|
+
avatarSize?: string;
|
|
664
|
+
avatarBackgroundColor?: string;
|
|
665
|
+
avatarTextColor?: string;
|
|
666
|
+
avatarFontSize?: string;
|
|
667
|
+
itemTitleFontSize?: string;
|
|
668
|
+
itemTitleFontWeight?: string;
|
|
669
|
+
itemMetaFontSize?: string;
|
|
670
|
+
itemMetaColor?: string;
|
|
671
|
+
emptyPadding?: string;
|
|
672
|
+
emptyColor?: string;
|
|
673
|
+
};
|
|
674
|
+
export type AppShellTokens = {
|
|
675
|
+
gap?: string;
|
|
676
|
+
backgroundColor?: string;
|
|
677
|
+
textColor?: string;
|
|
678
|
+
sidebarBackgroundColor?: string;
|
|
679
|
+
sidebarBorderColor?: string;
|
|
680
|
+
headerHeight?: string;
|
|
681
|
+
headerPadding?: string;
|
|
682
|
+
headerGap?: string;
|
|
683
|
+
headerBackgroundColor?: string;
|
|
684
|
+
headerBorderColor?: string;
|
|
685
|
+
contentPadding?: string;
|
|
686
|
+
mainBackgroundColor?: string;
|
|
687
|
+
footerPadding?: string;
|
|
688
|
+
footerBorderColor?: string;
|
|
689
|
+
footerBackgroundColor?: string;
|
|
690
|
+
toggleSize?: string;
|
|
691
|
+
toggleBorderRadius?: string;
|
|
692
|
+
toggleBackgroundColor?: string;
|
|
693
|
+
toggleTextColor?: string;
|
|
694
|
+
toggleHoverBackgroundColor?: string;
|
|
695
|
+
overlayBackgroundColor?: string;
|
|
696
|
+
zIndex?: string;
|
|
697
|
+
};
|
|
632
698
|
export type SelectTokens = {
|
|
633
699
|
minWidth?: string;
|
|
634
700
|
fontSize?: string;
|
|
@@ -1922,6 +1988,8 @@ export type ThemeComponentTokens = {
|
|
|
1922
1988
|
splitbutton?: SplitButtonTokens;
|
|
1923
1989
|
contextMenu?: ContextMenuTokens;
|
|
1924
1990
|
commandPalette?: CommandPaletteTokens;
|
|
1991
|
+
notificationCenter?: NotificationCenterTokens;
|
|
1992
|
+
appShell?: AppShellTokens;
|
|
1925
1993
|
select?: SelectTokens;
|
|
1926
1994
|
autocomplete?: AutocompleteTokens;
|
|
1927
1995
|
combobox?: ComboboxTokens;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
gap: string;
|
|
3
|
+
backgroundColor: string;
|
|
4
|
+
textColor: string;
|
|
5
|
+
sidebarBackgroundColor: string;
|
|
6
|
+
sidebarBorderColor: string;
|
|
7
|
+
headerHeight: string;
|
|
8
|
+
headerPadding: string;
|
|
9
|
+
headerGap: string;
|
|
10
|
+
headerBackgroundColor: string;
|
|
11
|
+
headerBorderColor: string;
|
|
12
|
+
contentPadding: string;
|
|
13
|
+
mainBackgroundColor: string;
|
|
14
|
+
footerPadding: string;
|
|
15
|
+
footerBorderColor: string;
|
|
16
|
+
footerBackgroundColor: string;
|
|
17
|
+
toggleSize: string;
|
|
18
|
+
toggleBorderRadius: string;
|
|
19
|
+
toggleBackgroundColor: string;
|
|
20
|
+
toggleTextColor: string;
|
|
21
|
+
toggleHoverBackgroundColor: string;
|
|
22
|
+
overlayBackgroundColor: string;
|
|
23
|
+
zIndex: string;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
zIndex: string;
|
|
3
|
+
overlayBackgroundColor: string;
|
|
4
|
+
top: string;
|
|
5
|
+
right: string;
|
|
6
|
+
width: string;
|
|
7
|
+
maxWidth: string;
|
|
8
|
+
maxHeight: string;
|
|
9
|
+
borderColor: string;
|
|
10
|
+
borderRadius: string;
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
textColor: string;
|
|
13
|
+
shadow: string;
|
|
14
|
+
dividerColor: string;
|
|
15
|
+
headerGap: string;
|
|
16
|
+
headerPadding: string;
|
|
17
|
+
titleGap: string;
|
|
18
|
+
titleFontSize: string;
|
|
19
|
+
titleLineHeight: string;
|
|
20
|
+
titleFontWeight: string;
|
|
21
|
+
badgeSize: string;
|
|
22
|
+
badgeBackgroundColor: string;
|
|
23
|
+
badgeTextColor: string;
|
|
24
|
+
badgeFontSize: string;
|
|
25
|
+
actionsGap: string;
|
|
26
|
+
closeSize: string;
|
|
27
|
+
closeHoverBackgroundColor: string;
|
|
28
|
+
disabledOpacity: string;
|
|
29
|
+
itemGap: string;
|
|
30
|
+
itemPadding: string;
|
|
31
|
+
unreadBackgroundColor: string;
|
|
32
|
+
avatarSize: string;
|
|
33
|
+
avatarBackgroundColor: string;
|
|
34
|
+
avatarTextColor: string;
|
|
35
|
+
avatarFontSize: string;
|
|
36
|
+
itemTitleFontSize: string;
|
|
37
|
+
itemTitleFontWeight: string;
|
|
38
|
+
itemMetaFontSize: string;
|
|
39
|
+
itemMetaColor: string;
|
|
40
|
+
emptyPadding: string;
|
|
41
|
+
emptyColor: string;
|
|
42
|
+
};
|
|
43
|
+
export default _default;
|
|
@@ -783,6 +783,72 @@ declare const _default: {
|
|
|
783
783
|
emptyPadding: string;
|
|
784
784
|
emptyColor: string;
|
|
785
785
|
};
|
|
786
|
+
notificationCenter: {
|
|
787
|
+
zIndex: string;
|
|
788
|
+
overlayBackgroundColor: string;
|
|
789
|
+
top: string;
|
|
790
|
+
right: string;
|
|
791
|
+
width: string;
|
|
792
|
+
maxWidth: string;
|
|
793
|
+
maxHeight: string;
|
|
794
|
+
borderColor: string;
|
|
795
|
+
borderRadius: string;
|
|
796
|
+
backgroundColor: string;
|
|
797
|
+
textColor: string;
|
|
798
|
+
shadow: string;
|
|
799
|
+
dividerColor: string;
|
|
800
|
+
headerGap: string;
|
|
801
|
+
headerPadding: string;
|
|
802
|
+
titleGap: string;
|
|
803
|
+
titleFontSize: string;
|
|
804
|
+
titleLineHeight: string;
|
|
805
|
+
titleFontWeight: string;
|
|
806
|
+
badgeSize: string;
|
|
807
|
+
badgeBackgroundColor: string;
|
|
808
|
+
badgeTextColor: string;
|
|
809
|
+
badgeFontSize: string;
|
|
810
|
+
actionsGap: string;
|
|
811
|
+
closeSize: string;
|
|
812
|
+
closeHoverBackgroundColor: string;
|
|
813
|
+
disabledOpacity: string;
|
|
814
|
+
itemGap: string;
|
|
815
|
+
itemPadding: string;
|
|
816
|
+
unreadBackgroundColor: string;
|
|
817
|
+
avatarSize: string;
|
|
818
|
+
avatarBackgroundColor: string;
|
|
819
|
+
avatarTextColor: string;
|
|
820
|
+
avatarFontSize: string;
|
|
821
|
+
itemTitleFontSize: string;
|
|
822
|
+
itemTitleFontWeight: string;
|
|
823
|
+
itemMetaFontSize: string;
|
|
824
|
+
itemMetaColor: string;
|
|
825
|
+
emptyPadding: string;
|
|
826
|
+
emptyColor: string;
|
|
827
|
+
};
|
|
828
|
+
appShell: {
|
|
829
|
+
gap: string;
|
|
830
|
+
backgroundColor: string;
|
|
831
|
+
textColor: string;
|
|
832
|
+
sidebarBackgroundColor: string;
|
|
833
|
+
sidebarBorderColor: string;
|
|
834
|
+
headerHeight: string;
|
|
835
|
+
headerPadding: string;
|
|
836
|
+
headerGap: string;
|
|
837
|
+
headerBackgroundColor: string;
|
|
838
|
+
headerBorderColor: string;
|
|
839
|
+
contentPadding: string;
|
|
840
|
+
mainBackgroundColor: string;
|
|
841
|
+
footerPadding: string;
|
|
842
|
+
footerBorderColor: string;
|
|
843
|
+
footerBackgroundColor: string;
|
|
844
|
+
toggleSize: string;
|
|
845
|
+
toggleBorderRadius: string;
|
|
846
|
+
toggleBackgroundColor: string;
|
|
847
|
+
toggleTextColor: string;
|
|
848
|
+
toggleHoverBackgroundColor: string;
|
|
849
|
+
overlayBackgroundColor: string;
|
|
850
|
+
zIndex: string;
|
|
851
|
+
};
|
|
786
852
|
select: {
|
|
787
853
|
minWidth: string;
|
|
788
854
|
fontSize: string;
|