@admin-layout/client 2.0.1-alpha.81 → 3.0.0-alpha.11
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.
|
@@ -2,6 +2,7 @@ export const defaultSettings = {
|
|
|
2
2
|
logo: 'https://cdmbase.s3.ca-central-1.amazonaws.com/favicon-new-128.svg',
|
|
3
3
|
navTheme: 'light',
|
|
4
4
|
primaryColor: '#3FA541C',
|
|
5
|
+
colorPrimary: '#3FA541C',
|
|
5
6
|
layout: 'side',
|
|
6
7
|
contentWidth: 'Fluid',
|
|
7
8
|
fixedHeader: false,
|
|
@@ -21,9 +22,11 @@ export const defaultSettings = {
|
|
|
21
22
|
showHeader: true,
|
|
22
23
|
showFooter: true,
|
|
23
24
|
showMenu: false,
|
|
25
|
+
// menuRender: true,
|
|
24
26
|
headerTheme: undefined,
|
|
25
27
|
headerHeight: undefined,
|
|
26
28
|
menu: undefined,
|
|
27
29
|
splitMenus: false,
|
|
30
|
+
siderMenuType: 'group'
|
|
28
31
|
};
|
|
29
32
|
//# sourceMappingURL=defaultSettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultSettings.js","sourceRoot":"","sources":["../../src/config/defaultSettings.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAUxB;IACA,IAAI,EAAE,mEAAmE;IACzE,QAAQ,EAAE,OAAO;IACjB,YAAY,EAAE,UAAU;IACxB,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,IAAI;IACrB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,EAAE;IACf,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,qBAAqB;IACjC,eAAe,EAAE,KAAK;IACtB,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,QAAQ;IACvB,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,KAAK;IACf,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,SAAS;IACvB,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,KAAK;
|
|
1
|
+
{"version":3,"file":"defaultSettings.js","sourceRoot":"","sources":["../../src/config/defaultSettings.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAUxB;IACA,IAAI,EAAE,mEAAmE;IACzE,QAAQ,EAAE,OAAO;IACjB,YAAY,EAAE,UAAU;IACxB,YAAY,EAAE,UAAU;IACxB,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,IAAI;IACrB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,EAAE;IACf,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,qBAAqB;IACjC,eAAe,EAAE,KAAK;IACtB,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,QAAQ;IACvB,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,KAAK;IACf,oBAAoB;IACpB,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,SAAS;IACvB,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,KAAK;IACjB,aAAa,EAAE,OAAO;CACzB,CAAC"}
|
|
@@ -2,7 +2,9 @@ export declare type ContentWidth = 'Fluid' | 'Fixed';
|
|
|
2
2
|
export declare type MenuTheme = 'light' | 'dark';
|
|
3
3
|
export interface RenderSetting {
|
|
4
4
|
showHeader?: boolean | any;
|
|
5
|
+
headerRender?: boolean | any;
|
|
5
6
|
showFooter?: boolean | any;
|
|
7
|
+
footerRender?: boolean | any;
|
|
6
8
|
searchBarRender?: boolean | any;
|
|
7
9
|
showMenu?: boolean | any;
|
|
8
10
|
menuRender?: false | any;
|
|
@@ -60,6 +62,7 @@ export interface PureSettings {
|
|
|
60
62
|
/**
|
|
61
63
|
* @name Main color, need to be used with umi
|
|
62
64
|
*/
|
|
65
|
+
colorPrimary?: string;
|
|
63
66
|
primaryColor?: string;
|
|
64
67
|
/**
|
|
65
68
|
* @name Global increase filter
|
|
@@ -70,5 +73,6 @@ export interface PureSettings {
|
|
|
70
73
|
* @description Only works in mix mode
|
|
71
74
|
*/
|
|
72
75
|
splitMenus?: boolean;
|
|
76
|
+
siderMenuType?: string;
|
|
73
77
|
}
|
|
74
78
|
export declare type ProSettings = PureSettings & RenderSetting;
|
package/lib/redux/settings.d.ts
CHANGED
|
@@ -18,11 +18,15 @@ declare const settingsReducer: (state: DefaultSettings | undefined, { type, payl
|
|
|
18
18
|
} | undefined;
|
|
19
19
|
title?: string | false | undefined;
|
|
20
20
|
iconfontUrl?: string | undefined;
|
|
21
|
+
colorPrimary?: string | undefined;
|
|
21
22
|
primaryColor?: string | undefined;
|
|
22
23
|
colorWeak?: boolean | undefined;
|
|
23
24
|
splitMenus?: boolean | undefined;
|
|
25
|
+
siderMenuType?: string | undefined;
|
|
24
26
|
showHeader?: any;
|
|
27
|
+
headerRender?: any;
|
|
25
28
|
showFooter?: any;
|
|
29
|
+
footerRender?: any;
|
|
26
30
|
searchBarRender?: any;
|
|
27
31
|
showMenu?: any;
|
|
28
32
|
menuRender?: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admin-layout/client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Sample client for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"typescript": {
|
|
35
35
|
"definition": "lib/index.d.ts"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "a5727b79327e5e342211e87d6f00c6c1f068ff7f"
|
|
38
38
|
}
|