init
parents
Showing
CNAME
0 → 100644
README.md
0 → 100644
config/config.ts
0 → 100644
config/defaultSettings.ts
0 → 100644
config/plugin.config.ts
0 → 100644
config/routes.ts
0 → 100644
jest-puppeteer.config.js
0 → 100644
jest.config.js
0 → 100644
jsconfig.json
0 → 100644
mock/notices.ts
0 → 100644
mock/route.ts
0 → 100644
mock/user.ts
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "ant-design-pro", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "description": "An out-of-box UI solution for enterprise applications", | ||
| "scripts": { | ||
| "analyze": "cross-env ANALYZE=1 umi build", | ||
| "build": "cross-env umi build", | ||
| "deploy": "cross-env ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION=site npm run site && npm run gh-pages", | ||
| "fetch:blocks": "pro fetch-blocks", | ||
| "format-imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'", | ||
| "gh-pages": "cp CNAME ./dist/ && gh-pages -d dist", | ||
| "i18n-remove": "pro i18n-remove --locale=zh-CN --write", | ||
| "lint": "npm run lint:js && npm run lint:style && npm run lint:prettier", | ||
| "lint-staged": "lint-staged", | ||
| "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ", | ||
| "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style", | ||
| "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./", | ||
| "lint:prettier": "check-prettier lint", | ||
| "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", | ||
| "prettier": "prettier -c --write \"**/*\"", | ||
| "start": "umi dev", | ||
| "start:no-mock": "cross-env MOCK=none umi dev", | ||
| "test": "umi test", | ||
| "test:all": "node ./tests/run-tests.js", | ||
| "test:component": "umi test ./src/components" | ||
| }, | ||
| "husky": { | ||
| "hooks": { | ||
| "pre-commit": "npm run lint-staged" | ||
| } | ||
| }, | ||
| "lint-staged": { | ||
| "**/*.{js,jsx,tsx,ts,less,md,json}": [ | ||
| "prettier --write", | ||
| "git add" | ||
| ], | ||
| "**/*.{js,jsx}": "npm run lint-staged:js", | ||
| "**/*.{js,ts,tsx}": "npm run lint-staged:js" | ||
| }, | ||
| "browserslist": [ | ||
| "> 1%", | ||
| "last 2 versions", | ||
| "not ie <= 10" | ||
| ], | ||
| "dependencies": { | ||
| "@ant-design/pro-layout": "^4.5.16", | ||
| "@antv/data-set": "^0.10.2", | ||
| "@types/nprogress": "^0.2.0", | ||
| "@types/sha1": "^1.1.2", | ||
| "antd": "^3.25.0", | ||
| "classnames": "^2.2.6", | ||
| "dva": "^2.4.1", | ||
| "lodash": "^4.17.11", | ||
| "lodash-decorators": "^6.0.1", | ||
| "memoize-one": "^5.0.4", | ||
| "moment": "^2.24.0", | ||
| "nprogress": "^0.2.0", | ||
| "omit.js": "^1.0.2", | ||
| "path-to-regexp": "^3.0.0", | ||
| "prop-types": "^15.7.2", | ||
| "qs": "^6.7.0", | ||
| "react": "^16.8.6", | ||
| "react-container-query": "^0.11.0", | ||
| "react-copy-to-clipboard": "^5.0.1", | ||
| "react-document-title": "^2.0.3", | ||
| "react-dom": "^16.8.6", | ||
| "react-helmet": "^5.2.1", | ||
| "react-media": "^1.9.2", | ||
| "react-media-hook2": "^1.0.5", | ||
| "redux": "^4.0.1", | ||
| "sha1": "^1.1.1", | ||
| "umi": "^2.12", | ||
| "umi-plugin-pro-block": "^1.3.2", | ||
| "umi-plugin-react": "^1.9.5", | ||
| "umi-request": "^1.0.8" | ||
| }, | ||
| "devDependencies": { | ||
| "@ant-design/colors": "^3.1.0", | ||
| "@ant-design/pro-cli": "^1.0.0", | ||
| "@types/classnames": "^2.2.7", | ||
| "@types/history": "^4.7.2", | ||
| "@types/jest": "^24.0.13", | ||
| "@types/lodash": "^4.14.133", | ||
| "@types/qs": "^6.5.3", | ||
| "@types/react": "^16.8.19", | ||
| "@types/react-document-title": "^2.0.3", | ||
| "@types/react-dom": "^16.8.4", | ||
| "@umijs/fabric": "^1.1.0", | ||
| "chalk": "^2.4.2", | ||
| "check-prettier": "^1.0.3", | ||
| "cross-env": "^5.2.0", | ||
| "cross-port-killer": "^1.1.1", | ||
| "enzyme": "^3.9.0", | ||
| "eslint": "^5.16.0", | ||
| "gh-pages": "^2.0.1", | ||
| "husky": "^3.0.0", | ||
| "import-sort-cli": "^6.0.0", | ||
| "import-sort-parser-babylon": "^6.0.0", | ||
| "import-sort-parser-typescript": "^6.0.0", | ||
| "import-sort-style-module": "^6.0.0", | ||
| "jest-puppeteer": "^4.2.0", | ||
| "lint-staged": "^9.0.0", | ||
| "mockjs": "^1.0.1-beta3", | ||
| "node-fetch": "^2.6.0", | ||
| "prettier": "^1.17.1", | ||
| "pro-download": "1.0.1", | ||
| "slash2": "^2.0.0", | ||
| "stylelint": "^10.1.0", | ||
| "umi-plugin-ga": "^1.1.3", | ||
| "umi-plugin-pro": "^1.0.2", | ||
| "umi-types": "^0.3.8", | ||
| "webpack-theme-color-replacer": "^1.2.15" | ||
| }, | ||
| "optionalDependencies": {}, | ||
| "engines": { | ||
| "node": ">=10.0.0" | ||
| }, | ||
| "checkFiles": [ | ||
| "src/**/*.js*", | ||
| "src/**/*.ts*", | ||
| "src/**/*.less", | ||
| "config/**/*.js*", | ||
| "scripts/**/*.js" | ||
| ] | ||
| } |
public/favicon.ico
0 → 100755
File added
public/favicon.png
0 → 100644
2.78 KB
public/icons/icon-128x128.png
0 → 100644
1.3 KB
public/icons/icon-192x192.png
0 → 100644
1.81 KB
public/icons/icon-512x512.png
0 → 100644
4.96 KB
public/images/.keepdir
0 → 100644
public/images/logo.png
0 → 100755
3.69 KB
public/images/logo_cmb.png
0 → 100755
19.6 KB
public/images/logo_cmb1.png
0 → 100644
7.97 KB
public/images/logo_hnyc.png
0 → 100644
19.4 KB
public/images/logo_yuanyao.png
0 → 100755
9.71 KB
public/images/main_logo.gif
0 → 100644
4.79 KB
src/assets/home/1.png
0 → 100755
72.4 KB
src/assets/home/111.png
0 → 100755
75.7 KB
src/assets/home/222.png
0 → 100755
291 KB
src/assets/home/grid.png
0 → 100755
320 KB
src/assets/home/menu1.png
0 → 100755
3.2 KB
src/assets/home/menu2.png
0 → 100755
3.99 KB
src/assets/home/menu3.png
0 → 100755
4.72 KB
src/assets/home/menu4.png
0 → 100755
4.32 KB
src/assets/home/menu5.png
0 → 100755
2.68 KB
src/assets/home/node1.png
0 → 100755
71.4 KB
src/assets/home/node2.png
0 → 100755
49.8 KB
src/assets/home/node3.png
0 → 100755
111 KB
src/assets/home/node4.png
0 → 100755
41.9 KB
src/assets/home/node5.png
0 → 100755
68.4 KB
src/assets/home/node6.png
0 → 100755
68.6 KB
src/assets/home/node7.png
0 → 100755
62.4 KB
src/assets/home/node8.png
0 → 100755
48.7 KB
src/assets/logo.svg
0 → 100644
src/components/Authorized/Authorized.tsx
0 → 100644
src/components/Authorized/PromiseRender.tsx
0 → 100644
src/components/Authorized/Secured.tsx
0 → 100644
src/components/Authorized/index.tsx
0 → 100644
src/components/Authorized/renderAuthorize.ts
0 → 100644
src/components/BasicLayout.less
0 → 100644
src/components/BasicLayout.tsx
0 → 100644
src/components/CopyBlock/index.less
0 → 100644
src/components/CopyBlock/index.tsx
0 → 100644
src/components/Footer.tsx
0 → 100644
src/components/GlobalHeader/RightContent.tsx
0 → 100644
src/components/GlobalHeader/index.less
0 → 100644
src/components/GridContent/GridContent.less
0 → 100644
src/components/GridContent/index.tsx
0 → 100644
src/components/Header.less
0 → 100644
src/components/Header.tsx
0 → 100644
src/components/HeaderDropdown/index.less
0 → 100644
src/components/HeaderDropdown/index.tsx
0 → 100644
src/components/HeaderSearch/index.less
0 → 100644
src/components/HeaderSearch/index.tsx
0 → 100644
src/components/NoticeIcon/NoticeList.less
0 → 100755
src/components/NoticeIcon/NoticeList.tsx
0 → 100644
src/components/NoticeIcon/index.less
0 → 100644
src/components/NoticeIcon/index.tsx
0 → 100644
src/components/PageHeaderWrapper/index.less
0 → 100644
src/components/PageHeaderWrapper/index.tsx
0 → 100644
src/components/PageLoading/index.tsx
0 → 100644
src/components/RouteContext.tsx
0 → 100644
src/components/SelectLang/index.less
0 → 100644
src/components/SelectLang/index.tsx
0 → 100644
src/components/SiderMenu/BaseMenu.tsx
0 → 100644
src/components/SiderMenu/SiderMenu.tsx
0 → 100644
src/components/SiderMenu/SiderMenuUtils.ts
0 → 100644
src/components/SiderMenu/index.less
0 → 100644
src/components/SiderMenu/index.tsx
0 → 100644
src/components/TopNavHeader/index.less
0 → 100644
src/components/TopNavHeader/index.tsx
0 → 100644
src/e2e/Login.e2e.js
0 → 100644
src/e2e/__mocks__/antd-pro-merge-less.js
0 → 100644
src/e2e/baseLayout.e2e.js
0 → 100644
src/e2e/topMenu.e2e.js
0 → 100644
src/e2e/utils.js
0 → 100644
src/global.less
0 → 100644
src/global.tsx
0 → 100644
src/layouts/Basic.less
0 → 100644
src/layouts/BasicLayout.tsx
0 → 100644
src/layouts/BlankLayout.tsx
0 → 100644
src/layouts/HomeLayout.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/layouts/UserLayout.less
0 → 100755
This diff is collapsed.
Click to expand it.
src/layouts/UserLayout.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/en-US.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/en-US/component.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/en-US/globalHeader.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/en-US/menu.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/en-US/pwa.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/en-US/settingDrawer.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/en-US/settings.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/pt-BR.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/pt-BR/component.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/pt-BR/globalHeader.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/pt-BR/menu.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/pt-BR/pwa.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/pt-BR/settingDrawer.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/pt-BR/settings.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-CN.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-CN/component.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-CN/globalHeader.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-CN/menu.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-CN/pwa.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-CN/settingDrawer.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-CN/settings.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-TW.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-TW/component.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-TW/globalHeader.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-TW/menu.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-TW/pwa.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-TW/settingDrawer.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/locales/zh-TW/settings.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/manifest.json
0 → 100644
This diff is collapsed.
Click to expand it.
src/mixins.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/models/assets.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/models/connect.d.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/models/global.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/models/login.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/models/setting.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/models/user.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/.umi/LocaleWrapper.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/.umi/dva.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/.umi/history.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/.umi/polyfills.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/.umi/router.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/.umi/umi.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/.umi/umiExports.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/404.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/Authorized.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/Welcome.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/assets/components/AssetList.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/pages/assets/components/AssetTree.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/assets/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/assets/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/assets/style.less
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/pages/data/dataindicator/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/data/dataindicator/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/data/dataquality/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/data/dataquality/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/pages/data/datastandard/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/data/datastandard/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/data/style.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/document.ejs
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/home/Comet.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/home/Home.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/home/Home.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/home/HomeHelper.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/home/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/login/components/LoginItem.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/login/components/LoginSubmit.tsx
0 → 100755
This diff is collapsed.
Click to expand it.
src/pages/login/components/index.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/login/components/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/login/components/locales/en-US.ts
0 → 100755
This diff is collapsed.
Click to expand it.
src/pages/login/components/locales/zh-CN.ts
0 → 100755
This diff is collapsed.
Click to expand it.
src/pages/login/components/locales/zh-TW.ts
0 → 100755
This diff is collapsed.
Click to expand it.
src/pages/login/components/map.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/login/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/login/style.less
0 → 100755
This diff is collapsed.
Click to expand it.
src/pages/manage/categorieSearch/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/manage/categories/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/manage/commonSearch/index.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/manage/commonSearch/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/manage/commonSearch/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/pages/manage/metasearch/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/manage/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/manage/style.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/test/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/apply/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/apply/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/assets/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/assets/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/pages/user/question/index.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/question/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/question/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/subscrible/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/subscrible/model.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/service-worker.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/assets.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/data/dataQuality.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/data/dataStandard.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/data/dataindicator.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/home.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/manage/categories.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/manage/search.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/user.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/users/question.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/services/users/subscrible.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/typings.d.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/Authorized.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/ScrollableTable.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/authority.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/authority.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/commons.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/pagination.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/request.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/utils.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/utils.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/utils.ts
0 → 100644
This diff is collapsed.
Click to expand it.
tests/run-tests.js
0 → 100644
This diff is collapsed.
Click to expand it.
tsconfig.json
0 → 100644
This diff is collapsed.
Click to expand it.