@gx-design-vue/pro-layout 0.1.0-beta.6 → 0.1.0-beta.61
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 +3 -3
- package/dist/Context.d.ts +16 -10
- package/dist/PageLoading.d.ts +2 -2
- package/dist/ProLayout.d.ts +1047 -207
- package/dist/RenderTypings.d.ts +1 -1
- package/dist/WrapContent.d.ts +1 -1
- package/dist/components/GlobalFooter/index.d.ts +5 -5
- package/dist/components/GlobalHeader/DefaultHeader.d.ts +175 -208
- package/dist/components/GlobalHeader/index.d.ts +129 -74
- package/dist/components/GlobalHeader/props.d.ts +95 -54
- package/dist/components/GlobalHeader/{style/globalHeader.d.ts → style.d.ts} +1 -1
- package/dist/components/LogoContent/index.d.ts +11 -11
- package/dist/components/LogoContent/props.d.ts +3 -3
- package/dist/components/LogoContent/style.d.ts +6 -3
- package/dist/components/MultiTab/index.d.ts +9 -8
- package/dist/components/MultiTab/props.d.ts +1 -1
- package/dist/components/PageContainer/PageHeader.d.ts +16 -7
- package/dist/components/PageContainer/index.d.ts +69 -23
- package/dist/components/PageContainer/props.d.ts +57 -10
- package/dist/components/PageTranstion/index.d.ts +4 -4
- package/dist/components/SettingDrawer/BlockCheckbox.d.ts +6 -6
- package/dist/components/SettingDrawer/OthersChange.d.ts +4 -4
- package/dist/components/SettingDrawer/RegionalChange.d.ts +8 -8
- package/dist/components/SettingDrawer/ThemeColor.d.ts +8 -8
- package/dist/components/SettingDrawer/ThemeEditor.d.ts +6 -6
- package/dist/components/SettingDrawer/index.d.ts +10 -11
- package/dist/components/SettingDrawer/utils/config.d.ts +4 -0
- package/dist/components/SiderMenu/BaseMenu.d.ts +78 -92
- package/dist/components/SiderMenu/SiderMenu.d.ts +85 -106
- package/dist/components/SiderMenu/index.d.ts +83 -105
- package/dist/components/SiderMenu/props.d.ts +61 -76
- package/dist/components/SiderMenu/typings.d.ts +1 -1
- package/dist/defaultSettings.d.ts +20 -24
- package/dist/hooks/context/index.d.ts +2 -2
- package/dist/index.d.ts +6 -4
- package/dist/pro-layout.js +4595 -0
- package/dist/pro-layout.umd.cjs +1 -0
- package/dist/props.d.ts +84 -78
- package/dist/route.d.ts +11 -12
- package/dist/utils/coverToNewToken.d.ts +9 -3
- package/dist/utils/getMenuData.d.ts +2 -1
- package/dist/utils/index.d.ts +11 -10
- package/package.json +24 -45
- package/dist/components/GlobalHeader/style/index.d.ts +0 -3
- package/dist/pro-layout.mjs +0 -7417
- package/dist/pro-layout.umd.js +0 -19
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AppRouteModule } from '../route';
|
|
2
1
|
import type { ThemeConfig } from '@gx-design-vue/pro-provider';
|
|
2
|
+
import type { AppRouteModule } from '../route';
|
|
3
3
|
export { default as isUrl } from './isUrl';
|
|
4
4
|
export { default as isImg } from './isImg';
|
|
5
5
|
export * from './coverToNewToken';
|
|
@@ -8,27 +8,28 @@ export declare function clearMenuItem(menusData: AppRouteModule[]): AppRouteModu
|
|
|
8
8
|
export declare function flatMap(menusData: AppRouteModule[]): AppRouteModule[];
|
|
9
9
|
export declare function getMenuFirstChildren(menus: AppRouteModule[], key?: string): AppRouteModule[];
|
|
10
10
|
export declare function getMenuFirstLastChildPath(data: AppRouteModule[]): string;
|
|
11
|
+
export declare function getMatchedList(data: AppRouteModule[], path: string): AppRouteModule[];
|
|
11
12
|
export declare function handleThemeConfig(config: ThemeConfig): {
|
|
12
|
-
theme: import("@gx-design-vue/pro-provider").
|
|
13
|
-
layout: "
|
|
13
|
+
theme: import("@gx-design-vue/pro-provider/dist").MenuTheme | undefined;
|
|
14
|
+
layout: import("@gx-design-vue/pro-provider/dist").ThemeLayout;
|
|
14
15
|
splitMenus: boolean;
|
|
15
16
|
fixedMultiTab: boolean;
|
|
16
17
|
fixedHeader: boolean;
|
|
17
18
|
fixSiderbar: boolean;
|
|
18
19
|
showProgressBar: boolean;
|
|
19
20
|
showTabsBar: boolean;
|
|
20
|
-
showFullScreen?: boolean
|
|
21
|
-
headerHeight?: number
|
|
22
|
-
wideWidth?: number
|
|
21
|
+
showFullScreen?: boolean;
|
|
22
|
+
headerHeight?: number;
|
|
23
|
+
wideWidth?: number;
|
|
23
24
|
autoHideHeader: boolean;
|
|
24
25
|
title: string;
|
|
25
|
-
colorWeak?: boolean
|
|
26
|
-
iconfontUrl?: string
|
|
26
|
+
colorWeak?: boolean;
|
|
27
|
+
iconfontUrl?: string;
|
|
27
28
|
animate?: {
|
|
28
|
-
disabled?: boolean
|
|
29
|
+
disabled?: boolean;
|
|
29
30
|
name: string;
|
|
30
31
|
direction: string;
|
|
31
|
-
}
|
|
32
|
+
};
|
|
32
33
|
primaryColor: string;
|
|
33
34
|
};
|
|
34
35
|
export declare function checkThemeStatus(config: Partial<ThemeConfig>): ThemeConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gx-design-vue/pro-layout",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.61",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite",
|
|
6
6
|
"build": "vite build",
|
|
@@ -13,59 +13,38 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
|
+
"type": "module",
|
|
16
17
|
"types": "./dist",
|
|
17
|
-
"main": "./dist/pro-layout.umd.
|
|
18
|
-
"module": "./dist/pro-layout.
|
|
18
|
+
"main": "./dist/pro-layout.umd.cjs",
|
|
19
|
+
"module": "./dist/pro-layout.js",
|
|
19
20
|
"exports": {
|
|
20
21
|
".": {
|
|
21
|
-
"import": "./dist/pro-layout.
|
|
22
|
-
"require": "./dist/pro-layout.umd.
|
|
22
|
+
"import": "./dist/pro-layout.js",
|
|
23
|
+
"require": "./dist/pro-layout.umd.cjs"
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"@vueuse/core": "^9.10.0",
|
|
27
|
-
"@gx-design-vue/pro-
|
|
28
|
-
"@gx-design-vue/pro-
|
|
29
|
-
"@gx-design-vue/pro-
|
|
30
|
-
"@gx-design-vue/pro-
|
|
31
|
-
"@gx-design-vue/
|
|
32
|
-
"@gx-design-vue/
|
|
33
|
-
"
|
|
28
|
+
"@gx-design-vue/pro-app": "^0.1.0-beta.11",
|
|
29
|
+
"@gx-design-vue/pro-utils": "^0.2.0-beta.29",
|
|
30
|
+
"@gx-design-vue/pro-hooks": "^0.2.0-beta.22",
|
|
31
|
+
"@gx-design-vue/pro-provider": "^0.1.0-beta.69",
|
|
32
|
+
"@gx-design-vue/pro-watermark": "^0.2.0-beta.7",
|
|
33
|
+
"@gx-design-vue/scrollbar": "^0.2.0-beta.13",
|
|
34
|
+
"@gx-design-vue/color-picker": "^0.2.0-beta.19",
|
|
34
35
|
"dayjs": "^1.11.0",
|
|
35
|
-
"lodash-es": "^4.17.21"
|
|
36
|
-
"vue": "^3.2.45",
|
|
37
|
-
"vue-types": "^4.1.1"
|
|
36
|
+
"lodash-es": "^4.17.21"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"@types/jsdom": "^16.2.14",
|
|
43
|
-
"@types/node": "^16.11.26",
|
|
44
|
-
"@vitejs/plugin-vue": "^4.2.3",
|
|
45
|
-
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
46
|
-
"@vue/eslint-config-prettier": "^7.0.0",
|
|
47
|
-
"@vue/eslint-config-typescript": "^10.0.0",
|
|
48
|
-
"@vue/tsconfig": "^0.1.3",
|
|
49
|
-
"eslint": "^8.13.0",
|
|
50
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
51
|
-
"eslint-plugin-vue": "^8.6.0",
|
|
52
|
-
"jsdom": "^19.0.0",
|
|
53
|
-
"less": "^4.1.2",
|
|
54
|
-
"postcss": "^8.4.12",
|
|
55
|
-
"postcss-html": "^1.4.1",
|
|
56
|
-
"postcss-less": "^6.0.0",
|
|
57
|
-
"prettier": "^2.6.2",
|
|
58
|
-
"rollup": "^2.70.2",
|
|
59
|
-
"stylelint": "^14.7.1",
|
|
60
|
-
"stylelint-config-prettier": "^9.0.3",
|
|
61
|
-
"stylelint-config-recommended": "^7.0.0",
|
|
62
|
-
"stylelint-config-recommended-vue": "^1.4.0",
|
|
63
|
-
"stylelint-config-standard": "^25.0.0",
|
|
64
|
-
"stylelint-order": "^5.0.0",
|
|
65
|
-
"typescript": "^4.6.4",
|
|
66
|
-
"vite": "^4.3.8",
|
|
67
|
-
"vue-eslint-parser": "^9.0.3",
|
|
68
|
-
"vue-tsc": "^1.0.24"
|
|
39
|
+
"@types/lodash-es": "^4.17.6",
|
|
40
|
+
"typescript": "^5.3.3"
|
|
69
41
|
},
|
|
70
|
-
"
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"vue": ">=3.0.0",
|
|
44
|
+
"ant-design-vue": "^4.1.2"
|
|
45
|
+
},
|
|
46
|
+
"description": "Gx Design Pro Layout",
|
|
47
|
+
"authors": [
|
|
48
|
+
"gx12358 <gx12358@gmail.com> (https://github.com/gx12358)"
|
|
49
|
+
]
|
|
71
50
|
}
|