@admin-layout/client 1.0.3-alpha.105

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.
@@ -0,0 +1,72 @@
1
+ export declare type ContentWidth = 'Fluid' | 'Fixed';
2
+ export declare type MenuTheme = 'light' | 'dark';
3
+ export interface RenderSetting {
4
+ headerRender?: false;
5
+ footerRender?: false;
6
+ menuRender?: false;
7
+ menuHeaderRender?: false;
8
+ }
9
+ export interface PureSettings {
10
+ /**
11
+ * @name theme for nav menu
12
+ */
13
+ navTheme?: MenuTheme | 'realDark' | undefined;
14
+ /**
15
+ * @name The color of the top menu, effective in mix mode
16
+ */
17
+ headerTheme?: MenuTheme;
18
+ /**
19
+ * @name nav menu position: `side` or `top`
20
+ */
21
+ headerHeight?: number;
22
+ /**
23
+ * @name customize header height
24
+ */
25
+ layout?: 'side' | 'top' | 'mix';
26
+ /**
27
+ * @name layout of content: `Fluid` or `Fixed`, only works when layout is top
28
+ */
29
+ contentWidth?: ContentWidth;
30
+ /**
31
+ * @name sticky header
32
+ */
33
+ fixedHeader?: boolean;
34
+ /**
35
+ * @name sticky siderbar
36
+ */
37
+ fixSiderbar?: boolean;
38
+ /**
39
+ * @name menu Some related configurations
40
+ */
41
+ menu?: {
42
+ locale?: boolean;
43
+ defaultOpenAll?: boolean;
44
+ loading?: boolean;
45
+ };
46
+ /**
47
+ * @name Layout The title will also be displayed on the browser tab
48
+ * @description Set to false, only pageName is displayed in the layout, not pageName-title
49
+ */
50
+ title: string | false;
51
+ /**
52
+ * Your custom iconfont Symbol script Url
53
+ * eg://at.alicdn.com/t/font_1039637_btcrd5co4w.js
54
+ * Note: If you need multi-color icons, batch decolorization should be performed in the Iconfont icon project
55
+ * Usage: https://github.com/ant-design/ant-design-pro/pull/3517
56
+ */
57
+ iconfontUrl?: string;
58
+ /**
59
+ * @name Main color, need to be used with umi
60
+ */
61
+ primaryColor?: string;
62
+ /**
63
+ * @name Global increase filter
64
+ */
65
+ colorWeak?: boolean;
66
+ /**
67
+ * @name Splitting menu
68
+ * @description Only works in mix mode
69
+ */
70
+ splitMenus?: boolean;
71
+ }
72
+ export declare type ProSettings = PureSettings & RenderSetting;