ng-alain 13.4.2 → 13.5.0
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/application/files/src/app/layout/basic/README.md +1 -1
- package/application/files/src/app/routes/passport/login/login.component.ts +1 -1
- package/application/files/src/app/shared/json-schema/README.md +1 -1
- package/application/files/src/app/shared/st-widget/README.md +1 -0
- package/docs/sta.en-US.md +21 -2
- package/docs/sta.zh-CN.md +20 -2
- package/package.json +1 -1
- package/utils/lib-versions.js +1 -1
- package/utils/lib-versions.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
[Document](https://ng-alain.com/theme/default)
|
|
1
|
+
[Document](https://ng-alain.com/theme/layout-default)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# 建议统一在 `widgets` 目录下自定义小部件
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> 注:`@delon/form` 本身提供 NG-ZORRO 数据录入组件的全部实现,以及若干第三方组件的代码,可从[widgets-third](https://github.com/ng-alain/delon/tree/master/packages/form/widgets-third)中获取并放置 `widgets` 目录下注册即可。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[Demo](https://ng-alain.com/components/st/en?#components-st-widget)
|
package/docs/sta.en-US.md
CHANGED
|
@@ -36,9 +36,28 @@ ng g ng-alain:sta --name=<Swagger name> --url=<Remote URL> --filePath=<Local Swa
|
|
|
36
36
|
|
|
37
37
|
By default, the first `tags` of each `path` will be merged into one Service. Please use `[a-zA-Z][-_a-zA-Z]+` to describe `tag` as much as possible.
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### Unexpected name
|
|
40
|
+
|
|
41
|
+
By default, it will be processed according to the `operationId` item, otherwise it will be automatically combined according to the `path` and `method`. A few ways to turn on the languages:
|
|
42
|
+
|
|
43
|
+
**.NET CORE**
|
|
44
|
+
|
|
45
|
+
```cs
|
|
46
|
+
// Swashbuckle
|
|
47
|
+
services.AddSwaggerGen(c =>
|
|
48
|
+
{
|
|
49
|
+
c.CustomOperationIds(e =>
|
|
50
|
+
{
|
|
51
|
+
var name = e.ActionDescriptor.RouteValues["action"] ?? "";
|
|
52
|
+
return name[0].ToString().ToLower() + name.Substring(1);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**JAVA**
|
|
58
|
+
|
|
59
|
+
Please refer to [Configuring the output of operationId in a Swagger 2.0 spec](https://springfox.github.io/springfox/docs/snapshot/#configuring-the-output-of-operationid-in-a-swagger-2-0-spec).
|
|
40
60
|
|
|
41
|
-
By default, it will be processed according to the `operationId` item, otherwise it will be automatically combined according to the `path` and `method`.
|
|
42
61
|
|
|
43
62
|
### Global Response
|
|
44
63
|
|
package/docs/sta.zh-CN.md
CHANGED
|
@@ -36,9 +36,27 @@ ng g ng-alain:sta --name=<Swagger name> --url=<远程URL地址> --filePath=<本
|
|
|
36
36
|
|
|
37
37
|
默认会将每个 `path` 第一个 `tags` 合并为一个 Service,请尽可能使用 `[a-zA-Z][-_a-zA-Z]+` 来描述 `tag`。
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### 不符合预期的名称
|
|
40
40
|
|
|
41
|
-
默认情况下,会根据 `operationId` 项目来处理,否则会自动根据 `path` 与 `method`
|
|
41
|
+
默认情况下,会根据 `operationId` 项目来处理,否则会自动根据 `path` 与 `method` 组合。为了保持与后端的统一项,建议开启 `operationId` 支持,以下是几种语言开启方法:
|
|
42
|
+
|
|
43
|
+
**.NET CORE**
|
|
44
|
+
|
|
45
|
+
```cs
|
|
46
|
+
// Swashbuckle
|
|
47
|
+
services.AddSwaggerGen(c =>
|
|
48
|
+
{
|
|
49
|
+
c.CustomOperationIds(e =>
|
|
50
|
+
{
|
|
51
|
+
var name = e.ActionDescriptor.RouteValues["action"] ?? "";
|
|
52
|
+
return name[0].ToString().ToLower() + name.Substring(1);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**JAVA**
|
|
58
|
+
|
|
59
|
+
参考 [Configuring the output of operationId in a Swagger 2.0 spec](https://springfox.github.io/springfox/docs/snapshot/#configuring-the-output-of-operationid-in-a-swagger-2-0-spec).
|
|
42
60
|
|
|
43
61
|
### 全局Response
|
|
44
62
|
|
package/package.json
CHANGED
package/utils/lib-versions.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ZORROVERSION = exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '^13.
|
|
4
|
+
exports.VERSION = '^13.5.0';
|
|
5
5
|
exports.ZORROVERSION = '^13.1.1';
|
|
6
6
|
//# sourceMappingURL=lib-versions.js.map
|
package/utils/lib-versions.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '^13.
|
|
1
|
+
export const VERSION = '^13.5.0';
|
|
2
2
|
export const ZORROVERSION = '^13.1.1';
|