@teamias/pro-layout 0.0.1
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/LICENSE +21 -0
- package/README.md +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/markdowns/example1/BasicRexProLayout/index.d.ts +3 -0
- package/dist/markdowns/example1/BasicRexProLayout/index.js +83 -0
- package/dist/markdowns/example1/BasicRexProLayout/pages/Home.d.ts +1 -0
- package/dist/markdowns/example1/BasicRexProLayout/pages/Home.js +21 -0
- package/dist/markdowns/example1/BasicRexProLayout/pages/Level1.d.ts +1 -0
- package/dist/markdowns/example1/BasicRexProLayout/pages/Level1.js +21 -0
- package/dist/markdowns/example1/BasicRexProLayout/pages/Level2.d.ts +1 -0
- package/dist/markdowns/example1/BasicRexProLayout/pages/Level2.js +21 -0
- package/dist/markdowns/example1/BasicRexProLayout/testData.d.ts +53 -0
- package/dist/markdowns/example1/BasicRexProLayout/testData.js +82 -0
- package/dist/pro-layout/assets/login-bg.png +0 -0
- package/dist/pro-layout/assets/logo.png +0 -0
- package/dist/pro-layout/components/AvatarItem.d.ts +3 -0
- package/dist/pro-layout/components/AvatarItem.js +93 -0
- package/dist/pro-layout/components/Collapsed.d.ts +5 -0
- package/dist/pro-layout/components/Collapsed.js +23 -0
- package/dist/pro-layout/components/DocumentTitle.d.ts +4 -0
- package/dist/pro-layout/components/DocumentTitle.js +24 -0
- package/dist/pro-layout/components/KeepAlive/KeepAliveClass.d.ts +44 -0
- package/dist/pro-layout/components/KeepAlive/KeepAliveClass.js +448 -0
- package/dist/pro-layout/components/KeepAlive/index.d.ts +13 -0
- package/dist/pro-layout/components/KeepAlive/index.js +17 -0
- package/dist/pro-layout/components/KeepAlive/modules/useCacheTabsLayout.d.ts +26 -0
- package/dist/pro-layout/components/KeepAlive/modules/useCacheTabsLayout.js +75 -0
- package/dist/pro-layout/components/KeepAlive/types.d.ts +25 -0
- package/dist/pro-layout/components/KeepAlive/types.js +9 -0
- package/dist/pro-layout/components/Login/Account.d.ts +1 -0
- package/dist/pro-layout/components/Login/Account.js +41 -0
- package/dist/pro-layout/components/Login/index.d.ts +3 -0
- package/dist/pro-layout/components/Login/index.js +127 -0
- package/dist/pro-layout/components/Login/style.d.ts +2 -0
- package/dist/pro-layout/components/Login/style.js +5 -0
- package/dist/pro-layout/components/Menu/index.d.ts +8 -0
- package/dist/pro-layout/components/Menu/index.js +142 -0
- package/dist/pro-layout/components/Menu/style.d.ts +7 -0
- package/dist/pro-layout/components/Menu/style.js +19 -0
- package/dist/pro-layout/components/NoFoundPage/index.d.ts +4 -0
- package/dist/pro-layout/components/NoFoundPage/index.js +45 -0
- package/dist/pro-layout/components/PageLoading.d.ts +2 -0
- package/dist/pro-layout/components/PageLoading.js +14 -0
- package/dist/pro-layout/components/SystemId.d.ts +3 -0
- package/dist/pro-layout/components/SystemId.js +17 -0
- package/dist/pro-layout/components/TabsLayout/index.d.ts +2 -0
- package/dist/pro-layout/components/TabsLayout/index.js +193 -0
- package/dist/pro-layout/constant/index.d.ts +20 -0
- package/dist/pro-layout/constant/index.js +19 -0
- package/dist/pro-layout/context/index.d.ts +6 -0
- package/dist/pro-layout/context/index.js +84 -0
- package/dist/pro-layout/core/index.d.ts +4 -0
- package/dist/pro-layout/core/index.js +222 -0
- package/dist/pro-layout/hooks/index.d.ts +14 -0
- package/dist/pro-layout/hooks/index.js +65 -0
- package/dist/pro-layout/index.d.ts +4 -0
- package/dist/pro-layout/index.js +4 -0
- package/dist/pro-layout/style/index.d.ts +27 -0
- package/dist/pro-layout/style/index.js +57 -0
- package/dist/pro-layout/types/index.d.ts +154 -0
- package/dist/pro-layout/types/index.js +1 -0
- package/dist/pro-layout/utils/index.d.ts +25 -0
- package/dist/pro-layout/utils/index.js +63 -0
- package/dist/pro-layout/utils/menu.d.ts +15 -0
- package/dist/pro-layout/utils/menu.js +122 -0
- package/dist/types/svg.d.ts +24 -0
- package/package.json +108 -0
package/package.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@teamias/pro-layout",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A react library developed with dumi",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"adduser": "npm adduser",
|
|
13
|
+
"build": "father build",
|
|
14
|
+
"build:watch": "father dev",
|
|
15
|
+
"deploy": "changeset && changeset version && npm publish && npm run docs:deploy",
|
|
16
|
+
"dev": "dumi dev",
|
|
17
|
+
"docs:build": "dumi build",
|
|
18
|
+
"docs:deploy": "npm run docs:deploy:wrangler && npm run docs:deploy:vercel",
|
|
19
|
+
"docs:deploy:vercel": "vercel --prod",
|
|
20
|
+
"docs:deploy:wrangler": "cross-env DOCS_DEPLOY=wrangler CLOUDFLARE_ACCOUNT_ID=0ea1eadbf2a2483b37c6044cc0dcb010 dumi build && wrangler pages deploy docs-dist --project-name=pro-layout",
|
|
21
|
+
"docs:preview": "dumi preview",
|
|
22
|
+
"doctor": "father doctor",
|
|
23
|
+
"lint": "npm run lint:es && npm run lint:css",
|
|
24
|
+
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
25
|
+
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
26
|
+
"prepare": "husky install && dumi setup",
|
|
27
|
+
"prepublishOnly": "father doctor && npm run build",
|
|
28
|
+
"start": "npm run dev"
|
|
29
|
+
},
|
|
30
|
+
"commitlint": {
|
|
31
|
+
"extends": [
|
|
32
|
+
"@commitlint/config-conventional"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"lint-staged": {
|
|
36
|
+
"*.{md,json}": [
|
|
37
|
+
"prettier --write --no-error-on-unmatched-pattern"
|
|
38
|
+
],
|
|
39
|
+
"*.{css,less}": [
|
|
40
|
+
"stylelint --fix",
|
|
41
|
+
"prettier --write"
|
|
42
|
+
],
|
|
43
|
+
"*.{js,jsx}": [
|
|
44
|
+
"eslint --fix",
|
|
45
|
+
"prettier --write"
|
|
46
|
+
],
|
|
47
|
+
"*.{ts,tsx}": [
|
|
48
|
+
"eslint --fix",
|
|
49
|
+
"prettier --parser=typescript --write"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@ant-design/icons": "^6.1.0",
|
|
54
|
+
"@ant-design/pro-components": "^2.8.10",
|
|
55
|
+
"@teamias/rex-design": "^0.1.12",
|
|
56
|
+
"ahooks": "^3.9.6",
|
|
57
|
+
"antd": "^5.26.7",
|
|
58
|
+
"classnames": "^2.5.1",
|
|
59
|
+
"dayjs": "^1.11.19",
|
|
60
|
+
"lodash-es": "^4.17.22",
|
|
61
|
+
"radash": "^12.1.1",
|
|
62
|
+
"react": "^18.3.1",
|
|
63
|
+
"react-dom": "^18.3.1",
|
|
64
|
+
"react-error-boundary": "^6.0.3",
|
|
65
|
+
"react-intl": "^7.1.11",
|
|
66
|
+
"react-router-dom": "6.3.0",
|
|
67
|
+
"styled-components": "^6.1.19"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@changesets/cli": "^2.29.5",
|
|
71
|
+
"@commitlint/cli": "^17.1.2",
|
|
72
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
73
|
+
"@teamias/umi-loader-source-plugin": "^0.0.11",
|
|
74
|
+
"@teamias/umi-plugin-upload-build": "^0.0.2",
|
|
75
|
+
"@types/lodash-es": "^4.17.12",
|
|
76
|
+
"@types/react": "^18.3.27",
|
|
77
|
+
"@types/react-dom": "^18.3.7",
|
|
78
|
+
"@umijs/lint": "^4.0.0",
|
|
79
|
+
"cross-env": "^10.1.0",
|
|
80
|
+
"dumi": "^2.4.13",
|
|
81
|
+
"eslint": "^8.57.1",
|
|
82
|
+
"father": "^4.1.0",
|
|
83
|
+
"husky": "^8.0.3",
|
|
84
|
+
"lint-staged": "^13.3.0",
|
|
85
|
+
"prettier": "^3.7.4",
|
|
86
|
+
"prettier-plugin-organize-imports": "^4.3.0",
|
|
87
|
+
"prettier-plugin-packagejson": "^2.5.20",
|
|
88
|
+
"stylelint": "^14.9.1",
|
|
89
|
+
"wrangler": "^4.58.0"
|
|
90
|
+
},
|
|
91
|
+
"peerDependencies": {
|
|
92
|
+
"@ant-design/icons": ">=5.0.0",
|
|
93
|
+
"@ant-design/pro-components": ">=2.0.0",
|
|
94
|
+
"@teamias/rex-design": ">=0.0.1",
|
|
95
|
+
"antd": ">=5.0.0",
|
|
96
|
+
"lodash-es": ">=4.0.0",
|
|
97
|
+
"react": ">=16.9.0",
|
|
98
|
+
"react-dom": ">=16.9.0",
|
|
99
|
+
"react-intl": ">=3.0.0",
|
|
100
|
+
"react-router-dom": ">=6.0.0"
|
|
101
|
+
},
|
|
102
|
+
"publishConfig": {
|
|
103
|
+
"access": "public"
|
|
104
|
+
},
|
|
105
|
+
"authors": [
|
|
106
|
+
"cloudovo"
|
|
107
|
+
]
|
|
108
|
+
}
|