Skip to content

Commit 8b73674

Browse files
chore: release ng-devui-admin 1.0.0
0 parents  commit 8b73674

File tree

285 files changed

+17018
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+17018
-0
lines changed

.browserslistrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
16+
Firefox ESR
17+
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.
18+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db
47+
48+
#package-lock
49+
/package-lock.json

.prettierrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"tabWidth": 2,
3+
"semi": true,
4+
"singleQuote": true,
5+
"jsxSingleQuote": true,
6+
"bracketSpacing": true,
7+
"jsxBracketSameLine": true,
8+
"printWidth": 140,
9+
"endOfLine": "auto",
10+
"proseWrap": "preserve",
11+
"trailingComma": "es5",
12+
"useTabs": false
13+
}

.stylelintrc.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"],
3+
"plugins": ["stylelint-scss"],
4+
"rules": {
5+
"string-quotes": "single",
6+
"property-no-unknown": true,
7+
"selector-pseudo-class-no-unknown": true,
8+
"at-rule-empty-line-before": [
9+
"always",
10+
{
11+
"except": ["blockless-after-same-name-blockless", "first-nested", "inside-block"],
12+
"ignore": ["after-comment", "first-nested"]
13+
}
14+
],
15+
"rule-empty-line-before": [
16+
"always",
17+
{
18+
"except": ["after-single-line-comment", "first-nested"]
19+
}
20+
],
21+
"block-no-empty": true,
22+
"selector-pseudo-element-no-unknown": [
23+
true,
24+
{
25+
"ignorePseudoElements": ["ng-deep"]
26+
}
27+
],
28+
"selector-type-no-unknown": [
29+
true,
30+
{
31+
"ignoreTypes": ["/^d-/"]
32+
}
33+
],
34+
"color-hex-length": "long",
35+
"no-descending-specificity": null,
36+
"font-family-no-missing-generic-family-keyword": null,
37+
"no-duplicate-selectors": null,
38+
"declaration-block-no-duplicate-properties": [
39+
true,
40+
{
41+
"ignore": ["consecutive-duplicates"]
42+
}
43+
]
44+
}
45+
}

CONTRIBUTING.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## DevUI Contribution Guide
2+
3+
### Issue Standard
4+
5+
- The issue is only used to submit bugs, features or design-related contents. Other irrelevant contents may be closed directly.
6+
- Please make sure to search for relevant issues before you make one.
7+
8+
### Pull Request Standard
9+
10+
- Please fork this repository to your account, and create a new branch for change.
11+
12+
```bash
13+
git checkout -b my-fix-branch master
14+
```
15+
16+
- Commit information please follow [angular rules](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines).
17+
18+
- Please rebase before submit a PR, make sure the commit logs are clean.
19+
20+
```bash
21+
git rebase master -i
22+
git push -f
23+
```
24+
25+
- Describe clearly in PR whether to submit `bug` or `issue`.
26+
27+
### Developing
28+
29+
```bash
30+
# fork && git clone
31+
...
32+
# dev
33+
npm i
34+
npm start
35+
```
36+
37+
### Coding Standard
38+
39+
Follow TSLint constraints

CONTRIBUTING_zh_CN.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## DevUI 贡献指南
2+
3+
### Issue 规范
4+
5+
- issue 仅用于提交 Bug 或 Feature 以及设计相关的内容,其它内容可能会被直接关闭。
6+
7+
- 在提交 issue 之前,请搜索相关内容是否已被提出。
8+
9+
### Pull Request 规范
10+
11+
- 请先 fork 一份到自己的项目下,新建一个分支用于变更。
12+
13+
```bash
14+
git checkout -b my-fix-branch master
15+
```
16+
17+
- commit 信息请遵循 [angular rules](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines)
18+
19+
- 提交 PR 前请先进行 rebase,确保 commit 记录的整洁。
20+
21+
```
22+
git rebase master -i
23+
git push -f
24+
```
25+
26+
- 如果是修复 `bug` 或者 `issues`,请在 PR 中描述清楚。
27+
28+
### 开发
29+
30+
```bash
31+
32+
# fork && git clone
33+
...
34+
# dev
35+
npm i
36+
npm start
37+
38+
```
39+
40+
### 代码规范
41+
42+
遵循 TSLint

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) 2021 - present DevUI.
4+
Copyright (c) 2021 - present Huawei Technologies Co., Ltd.
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

README.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<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%;">
2+
</p>
3+
<p align="center">
4+
<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>
5+
<a href="https://angular.io/"><img src="https://img.shields.io/badge/%3C%2F%3E-Angular-blue"></a>
6+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/npm/l/ng-devui.svg" alt="License"></a>
7+
</br>
8+
<a href="README.md"><img src="https://img.shields.io/badge/document-English-blue" alt="Document"></a>
9+
<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>
10+
<a href="https://www.npmjs.com/package/ng-devui-admin"><img src="https://img.shields.io/npm/v/ng-devui-admin" alt="Npm"></a>
11+
<a href="https://gitter.im/devui-design/devui-design"><img src="https://img.shields.io/gitter/room/devui-design/devui-design" alt="Chat"></a>
12+
</p>
13+
14+
<h1 align="center">DevUI Admin</h1>
15+
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.
16+
17+
![avatar](home-en.png)
18+
19+
- Preview: https://devui.design/admin
20+
- Home Page: https://devui.design/admin-page/home
21+
- Document:https://devui.design/admin-page/docs/getting-started
22+
23+
## Features
24+
25+
- Responsive: Adapting to different screen sizes, providing users with a more comfortable interface and user experience.
26+
- Personal Theme: Supports dynamic switching between multiple theme styles and personalized configurations.
27+
- Layout: Configurable and flexible page layout.
28+
- Mock: Local data commissioning solution and front-end and back-end separation.
29+
- International: Implements the internationalization function to meet multi-language service requirements.
30+
- Rich Features: Based on DevUI practice and experience, typical business scenarios are refined and scenario-rich component libraries are provided.
31+
32+
## Usage
33+
34+
```bash
35+
ng new your-project && cd your-project
36+
ng add ng-devui-admin
37+
38+
npm start # open http://localhost:4200
39+
```
40+
41+
For more information: [Document](https://devui.design/admin-page/docs/getting-started)
42+
43+
## Contributing
44+
45+
Please feel free to contribute code or discuss your idea!
46+
47+
Please make sure you read the [contributing](./CONTRIBUTING.md) guide before making a pull request.
48+
49+
We appreciate all contributors who helped us build DevUI.
50+
51+
## Support
52+
53+
Modern browsers
54+
55+
| [<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 |
56+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57+
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
58+
59+
## LICENSE
60+
61+
[**MIT**](https://opensource.org/licenses/MIT)

README_zh_CN.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<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%;">
2+
</p>
3+
<p align="center">
4+
<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>
5+
<a href="https://angular.io/"><img src="https://img.shields.io/badge/%3C%2F%3E-Angular-blue"></a>
6+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/npm/l/ng-devui.svg" alt="License"></a>
7+
</br>
8+
<a href="README.md"><img src="https://img.shields.io/badge/document-English-blue" alt="Document"></a>
9+
<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>
10+
<a href="https://www.npmjs.com/package/ng-devui-admin"><img src="https://img.shields.io/npm/v/ng-devui-admin" alt="Npm"></a>
11+
<a href="https://gitter.im/devui-design/devui-design"><img src="https://img.shields.io/gitter/room/devui-design/devui-design" alt="Chat"></a>
12+
</p>
13+
14+
<h1 align="center">DevUI Admin</h1>
15+
DevUI Admin 是一个企业级中后台前端/设计解决方案,依据 DevUI Design 设计价值观,我们在自身的设计规范和基础组件的基础上,构建出了后台管理模板 DevUI Admin
16+
17+
![avatar](home.png)
18+
19+
- 预览:https://devui.design/admin
20+
- 首页:https://devui.design/admin-page/home
21+
- 文档:https://devui.design/admin-page/docs/getting-started
22+
23+
## 特性
24+
25+
- 响应式:适应不同屏幕大小,为用户提供更舒适的界面与用户体验
26+
- 个性化主题:支持多种主题风格与个性化配置动态切换
27+
- 布局:页面布局可配置,灵活布局
28+
- Mock 数据:本地数据调试方案,前后端分离
29+
- 国际化:实现国际化功能,满足多语言业务诉求
30+
- 功能丰富:基于 DevUI 实践与沉淀,提炼了典型的业务场景并提供场景丰富的组件库
31+
32+
## 使用
33+
34+
```bash
35+
ng new your-project && cd your-project
36+
ng add ng-devui-admin
37+
38+
npm start # open http://localhost:4200
39+
```
40+
41+
更多的使用信息请参考:[使用文档](https://devui.design/admin-page/docs/getting-started)
42+
43+
## 贡献
44+
45+
欢迎贡献您的代码或者讨论您的好点子!
46+
47+
在提出 pull request 之前,请确保您阅读了我们的[贡献指南](./CONTRIBUTING_zh_CN.md)
48+
49+
感谢所有帮助我们构建 DevUI Admin 的贡献者
50+
51+
## 支持
52+
53+
支持现代浏览器
54+
55+
| [<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 |
56+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57+
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
58+
59+
## LICENSE
60+
61+
[**MIT**](https://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)