@codemonster-ru/vueforge 0.65.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 +62 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.ts.mjs +3041 -2906
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/app-shell.test.d.ts +1 -0
- package/dist/package/components/app-shell.vue.d.ts +66 -0
- package/dist/package/config/theme-core.d.ts +25 -0
- package/dist/package/themes/default/components/app-shell.d.ts +25 -0
- package/dist/package/themes/default/index.d.ts +24 -0
- package/package.json +1 -1
|
@@ -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
|
+
};
|
|
@@ -671,6 +671,30 @@ export type NotificationCenterTokens = {
|
|
|
671
671
|
emptyPadding?: string;
|
|
672
672
|
emptyColor?: string;
|
|
673
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
|
+
};
|
|
674
698
|
export type SelectTokens = {
|
|
675
699
|
minWidth?: string;
|
|
676
700
|
fontSize?: string;
|
|
@@ -1965,6 +1989,7 @@ export type ThemeComponentTokens = {
|
|
|
1965
1989
|
contextMenu?: ContextMenuTokens;
|
|
1966
1990
|
commandPalette?: CommandPaletteTokens;
|
|
1967
1991
|
notificationCenter?: NotificationCenterTokens;
|
|
1992
|
+
appShell?: AppShellTokens;
|
|
1968
1993
|
select?: SelectTokens;
|
|
1969
1994
|
autocomplete?: AutocompleteTokens;
|
|
1970
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;
|
|
@@ -825,6 +825,30 @@ declare const _default: {
|
|
|
825
825
|
emptyPadding: string;
|
|
826
826
|
emptyColor: string;
|
|
827
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
|
+
};
|
|
828
852
|
select: {
|
|
829
853
|
minWidth: string;
|
|
830
854
|
fontSize: string;
|