-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8b73674
Showing
285 changed files
with
17,018 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. | ||
# For additional information regarding the format and rule options, please see: | ||
# https://github.com/browserslist/browserslist#queries | ||
|
||
# For the full list of supported browsers by the Angular framework, please see: | ||
# https://angular.io/guide/browser-support | ||
|
||
# You can see what browsers were selected by your queries by running: | ||
# npx browserslist | ||
|
||
last 1 Chrome version | ||
last 1 Firefox version | ||
last 2 Edge major versions | ||
last 2 Safari major versions | ||
last 2 iOS major versions | ||
Firefox ESR | ||
not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line. | ||
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Editor configuration, see https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.ts] | ||
quote_type = single | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
# Only exists if Bazel was run | ||
/bazel-out | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# profiling files | ||
chrome-profiler-events*.json | ||
speed-measure-plugin*.json | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history/* | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
#package-lock | ||
/package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": true, | ||
"jsxSingleQuote": true, | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": true, | ||
"printWidth": 140, | ||
"endOfLine": "auto", | ||
"proseWrap": "preserve", | ||
"trailingComma": "es5", | ||
"useTabs": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"], | ||
"plugins": ["stylelint-scss"], | ||
"rules": { | ||
"string-quotes": "single", | ||
"property-no-unknown": true, | ||
"selector-pseudo-class-no-unknown": true, | ||
"at-rule-empty-line-before": [ | ||
"always", | ||
{ | ||
"except": ["blockless-after-same-name-blockless", "first-nested", "inside-block"], | ||
"ignore": ["after-comment", "first-nested"] | ||
} | ||
], | ||
"rule-empty-line-before": [ | ||
"always", | ||
{ | ||
"except": ["after-single-line-comment", "first-nested"] | ||
} | ||
], | ||
"block-no-empty": true, | ||
"selector-pseudo-element-no-unknown": [ | ||
true, | ||
{ | ||
"ignorePseudoElements": ["ng-deep"] | ||
} | ||
], | ||
"selector-type-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreTypes": ["/^d-/"] | ||
} | ||
], | ||
"color-hex-length": "long", | ||
"no-descending-specificity": null, | ||
"font-family-no-missing-generic-family-keyword": null, | ||
"no-duplicate-selectors": null, | ||
"declaration-block-no-duplicate-properties": [ | ||
true, | ||
{ | ||
"ignore": ["consecutive-duplicates"] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## DevUI Contribution Guide | ||
|
||
### Issue Standard | ||
|
||
- The issue is only used to submit bugs, features or design-related contents. Other irrelevant contents may be closed directly. | ||
- Please make sure to search for relevant issues before you make one. | ||
|
||
### Pull Request Standard | ||
|
||
- Please fork this repository to your account, and create a new branch for change. | ||
|
||
```bash | ||
git checkout -b my-fix-branch master | ||
``` | ||
|
||
- Commit information please follow [angular rules](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines). | ||
|
||
- Please rebase before submit a PR, make sure the commit logs are clean. | ||
|
||
```bash | ||
git rebase master -i | ||
git push -f | ||
``` | ||
|
||
- Describe clearly in PR whether to submit `bug` or `issue`. | ||
|
||
### Developing | ||
|
||
```bash | ||
# fork && git clone | ||
... | ||
# dev | ||
npm i | ||
npm start | ||
``` | ||
|
||
### Coding Standard | ||
|
||
Follow TSLint constraints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## DevUI 贡献指南 | ||
|
||
### Issue 规范 | ||
|
||
- issue 仅用于提交 Bug 或 Feature 以及设计相关的内容,其它内容可能会被直接关闭。 | ||
|
||
- 在提交 issue 之前,请搜索相关内容是否已被提出。 | ||
|
||
### Pull Request 规范 | ||
|
||
- 请先 fork 一份到自己的项目下,新建一个分支用于变更。 | ||
|
||
```bash | ||
git checkout -b my-fix-branch master | ||
``` | ||
|
||
- commit 信息请遵循 [angular rules](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines)。 | ||
|
||
- 提交 PR 前请先进行 rebase,确保 commit 记录的整洁。 | ||
|
||
``` | ||
git rebase master -i | ||
git push -f | ||
``` | ||
|
||
- 如果是修复 `bug` 或者 `issues`,请在 PR 中描述清楚。 | ||
|
||
### 开发 | ||
|
||
```bash | ||
|
||
# fork && git clone | ||
... | ||
# dev | ||
npm i | ||
npm start | ||
|
||
``` | ||
|
||
### 代码规范 | ||
|
||
遵循 TSLint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 - present DevUI. | ||
Copyright (c) 2021 - present Huawei Technologies Co., Ltd. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<p align="center"><a href="https://devui.design/admin-page/home" target="_blank" rel="noopener noreferrer"><img alt="DevUI Logo" src="src/assets/devui-logo.svg?sanitize=true" width="180" style="max-width:100%;"> | ||
</p> | ||
<p align="center"> | ||
<a href="https://github.com/DevCloudFE/ng-devui-admin"><img src="https://img.shields.io/github/stars/DevCloudFE/ng-devui-admin.svg?label=github%20stars" alt="Github Star"></a> | ||
<a href="https://angular.io/"><img src="https://img.shields.io/badge/%3C%2F%3E-Angular-blue"></a> | ||
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/npm/l/ng-devui.svg" alt="License"></a> | ||
</br> | ||
<a href="README.md"><img src="https://img.shields.io/badge/document-English-blue" alt="Document"></a> | ||
<a href="README_zh_CN.md"><img src="https://img.shields.io/badge/%E6%96%87%E6%A1%A3-%E4%B8%AD%E6%96%87-blue" alt="Document"></a> | ||
<a href="https://www.npmjs.com/package/ng-devui-admin"><img src="https://img.shields.io/npm/v/ng-devui-admin" alt="Npm"></a> | ||
<a href="https://gitter.im/devui-design/devui-design"><img src="https://img.shields.io/gitter/room/devui-design/devui-design" alt="Chat"></a> | ||
</p> | ||
|
||
<h1 align="center">DevUI Admin</h1> | ||
DevUI Admin is an enterprise-level mid- and back-end front-end/design solution. Based on DevUI Design design values, we build a back-end management template DevUI Admin based on its design specifications and basic components. | ||
|
||
 | ||
|
||
- Preview: https://devui.design/admin | ||
- Home Page: https://devui.design/admin-page/home | ||
- Document:https://devui.design/admin-page/docs/getting-started | ||
|
||
## Features | ||
|
||
- Responsive: Adapting to different screen sizes, providing users with a more comfortable interface and user experience. | ||
- Personal Theme: Supports dynamic switching between multiple theme styles and personalized configurations. | ||
- Layout: Configurable and flexible page layout. | ||
- Mock: Local data commissioning solution and front-end and back-end separation. | ||
- International: Implements the internationalization function to meet multi-language service requirements. | ||
- Rich Features: Based on DevUI practice and experience, typical business scenarios are refined and scenario-rich component libraries are provided. | ||
|
||
## Usage | ||
|
||
```bash | ||
ng new your-project && cd your-project | ||
ng add ng-devui-admin | ||
|
||
npm start # open http://localhost:4200 | ||
``` | ||
|
||
For more information: [Document](https://devui.design/admin-page/docs/getting-started) | ||
|
||
## Contributing | ||
|
||
Please feel free to contribute code or discuss your idea! | ||
|
||
Please make sure you read the [contributing](./CONTRIBUTING.md) guide before making a pull request. | ||
|
||
We appreciate all contributors who helped us build DevUI. | ||
|
||
## Support | ||
|
||
Modern browsers | ||
|
||
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | | ||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | | ||
|
||
## LICENSE | ||
|
||
[**MIT**](https://opensource.org/licenses/MIT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<p align="center"><a href="https://devui.design/admin-page/home" target="_blank" rel="noopener noreferrer"><img alt="DevUI Logo" src="src/assets/devui-logo.svg?sanitize=true" width="180" style="max-width:100%;"> | ||
</p> | ||
<p align="center"> | ||
<a href="https://github.com/DevCloudFE/ng-devui-admin"><img src="https://img.shields.io/github/stars/DevCloudFE/ng-devui-admin.svg?label=github%20stars" alt="Github Star"></a> | ||
<a href="https://angular.io/"><img src="https://img.shields.io/badge/%3C%2F%3E-Angular-blue"></a> | ||
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/npm/l/ng-devui.svg" alt="License"></a> | ||
</br> | ||
<a href="README.md"><img src="https://img.shields.io/badge/document-English-blue" alt="Document"></a> | ||
<a href="README_zh_CN.md"><img src="https://img.shields.io/badge/%E6%96%87%E6%A1%A3-%E4%B8%AD%E6%96%87-blue" alt="Document"></a> | ||
<a href="https://www.npmjs.com/package/ng-devui-admin"><img src="https://img.shields.io/npm/v/ng-devui-admin" alt="Npm"></a> | ||
<a href="https://gitter.im/devui-design/devui-design"><img src="https://img.shields.io/gitter/room/devui-design/devui-design" alt="Chat"></a> | ||
</p> | ||
|
||
<h1 align="center">DevUI Admin</h1> | ||
DevUI Admin 是一个企业级中后台前端/设计解决方案,依据 DevUI Design 设计价值观,我们在自身的设计规范和基础组件的基础上,构建出了后台管理模板 DevUI Admin | ||
|
||
 | ||
|
||
- 预览:https://devui.design/admin | ||
- 首页:https://devui.design/admin-page/home | ||
- 文档:https://devui.design/admin-page/docs/getting-started | ||
|
||
## 特性 | ||
|
||
- 响应式:适应不同屏幕大小,为用户提供更舒适的界面与用户体验 | ||
- 个性化主题:支持多种主题风格与个性化配置动态切换 | ||
- 布局:页面布局可配置,灵活布局 | ||
- Mock 数据:本地数据调试方案,前后端分离 | ||
- 国际化:实现国际化功能,满足多语言业务诉求 | ||
- 功能丰富:基于 DevUI 实践与沉淀,提炼了典型的业务场景并提供场景丰富的组件库 | ||
|
||
## 使用 | ||
|
||
```bash | ||
ng new your-project && cd your-project | ||
ng add ng-devui-admin | ||
|
||
npm start # open http://localhost:4200 | ||
``` | ||
|
||
更多的使用信息请参考:[使用文档](https://devui.design/admin-page/docs/getting-started) | ||
|
||
## 贡献 | ||
|
||
欢迎贡献您的代码或者讨论您的好点子! | ||
|
||
在提出 pull request 之前,请确保您阅读了我们的[贡献指南](./CONTRIBUTING_zh_CN.md) | ||
|
||
感谢所有帮助我们构建 DevUI Admin 的贡献者 | ||
|
||
## 支持 | ||
|
||
支持现代浏览器 | ||
|
||
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | | ||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | | ||
|
||
## LICENSE | ||
|
||
[**MIT**](https://opensource.org/licenses/MIT) |
Oops, something went wrong.