module-menu 0.0.6 → 0.0.8

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.
Files changed (69) hide show
  1. package/.editorconfig +16 -0
  2. package/.prettierignore +8 -0
  3. package/.prettierrc +11 -0
  4. package/.umirc.js +11 -0
  5. package/README.md +10 -65
  6. package/dist/index.html +22 -0
  7. package/dist/static/childIcon.797194d8.svg +10 -0
  8. package/dist/static/home.c9f8fbce.svg +12 -0
  9. package/dist/static/menuIcon.a281e69f.svg +1 -0
  10. package/dist/static/module.287d1998.svg +12 -0
  11. package/dist/umi.css +1 -0
  12. package/dist/umi.js +1 -0
  13. package/mock/.gitkeep +0 -0
  14. package/package.json +29 -31
  15. package/src/.umi/.cache/babel-loader/006cd391c2d71e6cf49cff32a7d7e7ea.json.gz +0 -0
  16. package/src/.umi/.cache/babel-loader/0338b3888dd146dd07b8a2dadae22515.json.gz +0 -0
  17. package/src/.umi/.cache/babel-loader/046a6f14bf358d879b171cc3fd01a7f1.json.gz +0 -0
  18. package/src/.umi/.cache/babel-loader/06653d4063f1fa0a78dbe664c4d942a2.json.gz +0 -0
  19. package/src/.umi/.cache/babel-loader/07946a12d045541a6da81e832a157386.json.gz +0 -0
  20. package/src/.umi/.cache/babel-loader/098a5cfe0e14aa583144c71244bbaf0d.json.gz +0 -0
  21. package/src/.umi/.cache/babel-loader/0bd5919b2a2a3a6672ace3392d7b54c7.json.gz +0 -0
  22. package/src/.umi/.cache/babel-loader/0e803b5601d075064d8a5641f3170e96.json.gz +0 -0
  23. package/src/.umi/.cache/babel-loader/2cd50d901ae2e761fb8b68217d063338.json.gz +0 -0
  24. package/src/.umi/.cache/babel-loader/31ec5214ed0e837a88908074a704a9f2.json.gz +0 -0
  25. package/src/.umi/.cache/babel-loader/3516c56d068efdb601a4ab92380d0d8d.json.gz +0 -0
  26. package/src/.umi/.cache/babel-loader/38fe4fe93f78903424446b2670dd881a.json.gz +0 -0
  27. package/src/.umi/.cache/babel-loader/3f4c30e441ca71253594a5f549c83e5d.json.gz +0 -0
  28. package/src/.umi/.cache/babel-loader/43a5d580c6a2da6134a17edcf7b87084.json.gz +0 -0
  29. package/src/.umi/.cache/babel-loader/61996ca5ddd9a40ea57e9b8e8208c140.json.gz +0 -0
  30. package/src/.umi/.cache/babel-loader/6432db849c9ee59480c90f5c482cd5b2.json.gz +0 -0
  31. package/src/.umi/.cache/babel-loader/77b6cd8f61f66fa2458792503a65eb37.json.gz +0 -0
  32. package/src/.umi/.cache/babel-loader/7944475811983ddaa4b770f627624e0d.json.gz +0 -0
  33. package/src/.umi/.cache/babel-loader/7b4983c7428750b20c354ecb1cc6226f.json.gz +0 -0
  34. package/src/.umi/.cache/babel-loader/c1e4065a5c16bb60e0dad17fd17e4d21.json.gz +0 -0
  35. package/src/.umi/.cache/babel-loader/c5f25455f80accb4389a63e966193658.json.gz +0 -0
  36. package/src/.umi/.cache/babel-loader/d5cec1443884c84dea19b626dff4a130.json.gz +0 -0
  37. package/src/.umi/.cache/babel-loader/d7d65bbebb7d2a6933b8994ed54ba1f4.json.gz +0 -0
  38. package/src/.umi/.cache/babel-loader/d8e03990d8e0f543ddd2c8b7c1986b6e.json.gz +0 -0
  39. package/src/.umi/.cache/babel-loader/d94d2cccf8876adaf96c9792ae1604d7.json.gz +0 -0
  40. package/src/.umi/.cache/babel-loader/e76ddc963361774c561993f62f13cd1c.json.gz +0 -0
  41. package/src/.umi/core/devScripts.ts +53 -0
  42. package/src/.umi/core/history.ts +21 -0
  43. package/src/.umi/core/plugin.ts +8 -0
  44. package/src/.umi/core/pluginConfig.d.ts +304 -0
  45. package/src/.umi/core/pluginRegister.ts +15 -0
  46. package/src/.umi/core/polyfill.ts +4 -0
  47. package/src/.umi/core/routes.ts +24 -0
  48. package/src/.umi/core/umiExports.ts +7 -0
  49. package/src/.umi/plugin-helmet/exports.ts +3 -0
  50. package/src/.umi/plugin-initial-state/Provider.tsx +37 -0
  51. package/src/.umi/plugin-initial-state/exports.ts +7 -0
  52. package/src/.umi/plugin-initial-state/models/initialState.ts +2 -0
  53. package/src/.umi/plugin-initial-state/runtime.tsx +13 -0
  54. package/src/.umi/plugin-model/Provider.tsx +39 -0
  55. package/src/.umi/plugin-model/helpers/constant.tsx +4 -0
  56. package/src/.umi/plugin-model/helpers/dispatcher.tsx +19 -0
  57. package/src/.umi/plugin-model/helpers/executor.tsx +83 -0
  58. package/src/.umi/plugin-model/runtime.tsx +12 -0
  59. package/src/.umi/plugin-model/useModel.tsx +71 -0
  60. package/src/.umi/plugin-request/request.ts +278 -0
  61. package/src/.umi/umi.ts +58 -0
  62. package/src/{App.js → pages/index.jsx} +15 -17
  63. package/src/{App.css → pages/index.less} +68 -68
  64. package/tsconfig.json +37 -0
  65. package/typings.d.ts +10 -0
  66. package/package-lock.json +0 -30410
  67. package/public/index.html +0 -14
  68. package/public/robots.txt +0 -3
  69. package/src/index.js +0 -11
@@ -1,69 +1,69 @@
1
- .ant-popconfirm .ant-popconfirm-buttons {
2
- display: none !important;
3
- }
4
- .ant-popover-placement-rightTop .ant-popover-arrow {
5
- display: none !important;
6
- }
7
- .ant-popconfirm .ant-popconfirm-message {
8
- margin-bottom: 0px;
9
- }
10
- .ant-popconfirm .ant-popconfirm-message {
11
- width: 650px;
12
- }
13
- .cardLine{
14
- height: 60px;
15
- padding: 5px 0px;
16
- }
17
- .textPad{
18
- padding-left: 10px;
19
- }
20
- .iconPad{
21
- padding-top: 15px;
22
- }
23
- .leftMenu{
24
- width: 100px;
25
- height: 60px;
26
- padding: 0px 35px;
27
- line-height: 60px;
28
- float: left;
29
- color: rgba(0, 0, 0, 0.85);
30
- font-size: 16px;
31
- cursor: pointer;
32
- text-align: left;
33
- }
34
- .rightMenu{
35
- width: 460px;
36
- height: 60px;
37
- float: left;
38
- vertical-align: middle;
39
- padding: 5px 10px 0px 10px;
40
- font-size: 14px;
41
- color: rgba(0,0,0,0.65);
42
- }
43
- .childMenu:hover{
44
- cursor: pointer;
45
- color: #4091F7;
46
- }
47
- .childMenu{
48
- width: 27%;
49
- display: inline-block;
50
- padding-top: 15px;
51
- }
52
- .middle{
53
- vertical-align: middle;
54
- }
55
- .menuIcon{
56
- width: 60px;
57
- height: 50px;
58
- text-align: center;
59
- display: inline-block;
60
- line-height: 67px;
61
- cursor: pointer;
62
- background-color: #4091F7;
63
- }
64
- .ant-popover .ant-popover-inner {
65
- border-radius: 0px;
66
- }
67
- .ant-popover {
68
- left: 69px !important;
1
+ .ant-popconfirm .ant-popconfirm-buttons {
2
+ display: none !important;
3
+ }
4
+ .ant-popover-placement-rightTop .ant-popover-arrow {
5
+ display: none !important;
6
+ }
7
+ .ant-popconfirm .ant-popconfirm-message {
8
+ margin-bottom: 0px;
9
+ }
10
+ .ant-popconfirm .ant-popconfirm-message {
11
+ width: 650px;
12
+ }
13
+ .cardLine{
14
+ height: 60px;
15
+ padding: 5px 0px;
16
+ }
17
+ .textPad{
18
+ padding-left: 10px;
19
+ }
20
+ .iconPad{
21
+ padding-top: 15px;
22
+ }
23
+ .leftMenu{
24
+ width: 100px;
25
+ height: 60px;
26
+ padding: 0px 35px;
27
+ line-height: 60px;
28
+ float: left;
29
+ color: rgba(0, 0, 0, 0.85);
30
+ font-size: 16px;
31
+ cursor: pointer;
32
+ text-align: left;
33
+ }
34
+ .rightMenu{
35
+ width: 460px;
36
+ height: 60px;
37
+ float: left;
38
+ vertical-align: middle;
39
+ padding: 5px 10px 0px 10px;
40
+ font-size: 14px;
41
+ color: rgba(0,0,0,0.65);
42
+ }
43
+ .childMenu:hover{
44
+ cursor: pointer;
45
+ color: #4091F7;
46
+ }
47
+ .childMenu{
48
+ width: 27%;
49
+ display: inline-block;
50
+ padding-top: 15px;
51
+ }
52
+ .middle{
53
+ vertical-align: middle;
54
+ }
55
+ .menuIcon{
56
+ width: 60px;
57
+ height: 50px;
58
+ text-align: center;
59
+ display: inline-block;
60
+ line-height: 67px;
61
+ cursor: pointer;
62
+ background-color: #4091F7;
63
+ }
64
+ .ant-popover .ant-popover-inner {
65
+ border-radius: 0px;
66
+ }
67
+ .ant-popover {
68
+ left: 69px !important;
69
69
  }
package/tsconfig.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "esnext",
4
+ "module": "esnext",
5
+ "moduleResolution": "node",
6
+ "resolveJsonModule": true,
7
+ "importHelpers": true,
8
+ "jsx": "preserve",
9
+ "esModuleInterop": true,
10
+ "sourceMap": true,
11
+ "baseUrl": "./",
12
+ "strict": true,
13
+ "paths": {
14
+ "@/*": ["src/*"],
15
+ "@@/*": ["src/.umi/*"]
16
+ },
17
+ "allowSyntheticDefaultImports": true
18
+ },
19
+ "include": [
20
+ "mock/**/*",
21
+ "src/**/*",
22
+ "config/**/*",
23
+ ".umirc.js",
24
+ "typings.d.ts"
25
+ ],
26
+ "exclude": [
27
+ "node_modules",
28
+ "lib",
29
+ "es",
30
+ "dist",
31
+ "typings",
32
+ "**/__test__",
33
+ "test",
34
+ "docs",
35
+ "tests"
36
+ ]
37
+ }
package/typings.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ declare module '*.css';
2
+ declare module '*.less';
3
+ declare module '*.png';
4
+ declare module '*.svg' {
5
+ export function ReactComponent(
6
+ props: React.SVGProps<SVGSVGElement>,
7
+ ): React.ReactElement;
8
+ const url: string;
9
+ export default url;
10
+ }