@next-core/next-docs 1.2.211 → 1.2.214
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/CHANGELOG.md +10 -38
- package/dist/brick-types.brickconf.iid.md +21 -0
- package/dist/brick-types.brickconf.md +1 -0
- package/dist/brick-types.md +1 -0
- package/dist/brick-types.templatelayouttype.md +19 -0
- package/dist/brick-types.usesinglebrickconf.iid.md +21 -0
- package/dist/brick-types.usesinglebrickconf.md +1 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [1.2.
|
|
6
|
+
## [1.2.214](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.213...@next-core/next-docs@1.2.214) (2022-03-04)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @next-core/next-docs
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [1.2.
|
|
14
|
+
## [1.2.213](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.212...@next-core/next-docs@1.2.213) (2022-02-28)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @next-core/next-docs
|
|
17
17
|
|
|
@@ -19,86 +19,58 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
## [1.2.
|
|
22
|
+
## [1.2.212](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.211...@next-core/next-docs@1.2.212) (2022-02-21)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @next-core/next-docs
|
|
25
25
|
|
|
26
|
+
## [1.2.211](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.210...@next-core/next-docs@1.2.211) (2022-02-17)
|
|
26
27
|
|
|
28
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## [1.2.208](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.207...@next-core/next-docs@1.2.208) (2022-02-15)
|
|
30
|
+
## [1.2.210](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.209...@next-core/next-docs@1.2.210) (2022-02-17)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @next-core/next-docs
|
|
33
33
|
|
|
34
|
+
## [1.2.209](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.208...@next-core/next-docs@1.2.209) (2022-02-17)
|
|
34
35
|
|
|
36
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
35
37
|
|
|
38
|
+
## [1.2.208](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.207...@next-core/next-docs@1.2.208) (2022-02-15)
|
|
36
39
|
|
|
40
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
37
41
|
|
|
38
42
|
## [1.2.207](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.206...@next-core/next-docs@1.2.207) (2022-02-15)
|
|
39
43
|
|
|
40
44
|
**Note:** Version bump only for package @next-core/next-docs
|
|
41
45
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
46
|
## [1.2.206](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.205...@next-core/next-docs@1.2.206) (2022-02-15)
|
|
47
47
|
|
|
48
48
|
**Note:** Version bump only for package @next-core/next-docs
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
50
|
## [1.2.205](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.204...@next-core/next-docs@1.2.205) (2022-02-15)
|
|
55
51
|
|
|
56
52
|
**Note:** Version bump only for package @next-core/next-docs
|
|
57
53
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
54
|
## [1.2.204](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.203...@next-core/next-docs@1.2.204) (2022-02-15)
|
|
63
55
|
|
|
64
56
|
**Note:** Version bump only for package @next-core/next-docs
|
|
65
57
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
58
|
## [1.2.203](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.202...@next-core/next-docs@1.2.203) (2022-02-14)
|
|
71
59
|
|
|
72
60
|
**Note:** Version bump only for package @next-core/next-docs
|
|
73
61
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
62
|
## [1.2.202](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.201...@next-core/next-docs@1.2.202) (2022-02-14)
|
|
79
63
|
|
|
80
64
|
**Note:** Version bump only for package @next-core/next-docs
|
|
81
65
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
66
|
## [1.2.201](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.200...@next-core/next-docs@1.2.201) (2022-01-28)
|
|
87
67
|
|
|
88
68
|
**Note:** Version bump only for package @next-core/next-docs
|
|
89
69
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
70
|
## [1.2.200](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.199...@next-core/next-docs@1.2.200) (2022-01-28)
|
|
95
71
|
|
|
96
72
|
**Note:** Version bump only for package @next-core/next-docs
|
|
97
73
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
74
|
## [1.2.199](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.198...@next-core/next-docs@1.2.199) (2022-01-27)
|
|
103
75
|
|
|
104
76
|
**Note:** Version bump only for package @next-core/next-docs
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.brickconf.iid
|
|
3
|
+
title: BrickConf.iid
|
|
4
|
+
hide_title: true
|
|
5
|
+
custom_edit_url: null
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
[API Reference](./index.md) > [@next-core/brick-types](./brick-types.md) > [BrickConf](./brick-types.brickconf.md) > [iid](./brick-types.brickconf.iid.md)
|
|
11
|
+
|
|
12
|
+
## BrickConf.iid property
|
|
13
|
+
|
|
14
|
+
构件编排 ID
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
iid?: string;
|
|
20
|
+
```
|
|
21
|
+
|
|
@@ -28,6 +28,7 @@ export interface BrickConf
|
|
|
28
28
|
| [context](./brick-types.brickconf.context.md) | [ContextConf](./brick-types.contextconf.md)<!-- -->\[\] | 上下文配置列表。 |
|
|
29
29
|
| [events](./brick-types.brickconf.events.md) | [BrickEventsMap](./brick-types.brickeventsmap.md) | 构件的事件配置表。 |
|
|
30
30
|
| [if](./brick-types.brickconf.if.md) | string \| boolean \| [ResolveConf](./brick-types.resolveconf.md) | 条件渲染配置,根据 <code>if</code> 的计算结果来决定是否渲染该构件。 |
|
|
31
|
+
| [iid](./brick-types.brickconf.iid.md) | string | 构件编排 ID |
|
|
31
32
|
| [lifeCycle](./brick-types.brickconf.lifecycle.md) | [BrickLifeCycle](./brick-types.bricklifecycle.md) | 构件生命周期配置。 |
|
|
32
33
|
| [params](./brick-types.brickconf.params.md) | Record<string, unknown> | (老)模板的参数表。 |
|
|
33
34
|
| [permissionsPreCheck](./brick-types.brickconf.permissionsprecheck.md) | string\[\] | 预校验的动态权限列表,在编排中可以通过 <code><% PERMISSIONS.check("your-action") %></code>来校验权限点。 当被校验的权限点为已知字符串,则框架会扫描收集统一校验,不需要在此处声明; 当被校验的权限点需要动态获得,例如通过 <code>QUERY</code>,<code>PATH</code>,<code>CTX</code> 等参数动态计算得到,则需要在 <code>permissionsPreCheck</code> 中提前声明。 如果某个权限点需要在接口中获得,也只需要在 Context 中通过异步 Resolve 提前赋值给 Context 即可。 |
|
package/dist/brick-types.md
CHANGED
|
@@ -126,6 +126,7 @@ The core types of Brick Next.
|
|
|
126
126
|
| [StoryboardFunction](./brick-types.storyboardfunction.md) | 应用定义的函数。 |
|
|
127
127
|
| [StoryboardMeta](./brick-types.storyboardmeta.md) | 应用的 Storyboard 元信息(包括自定义模板和国际化配置)。 |
|
|
128
128
|
| [SystemInfo](./brick-types.systeminfo.md) | 系统会话信息。 |
|
|
129
|
+
| [TemplateLayoutType](./brick-types.templatelayouttype.md) | |
|
|
129
130
|
| [TransformItem](./brick-types.transformitem.md) | 数据转换项。 |
|
|
130
131
|
| [TransformMap](./brick-types.transformmap.md) | 数据转换表。 |
|
|
131
132
|
| [UpdateAnchorFunction](./brick-types.updateanchorfunction.md) | 设置指定的 anchor (URL hash)地址,此方法默认不会触发页面重新渲染。 往浏览器会话历史栈中推入一条新记录。 |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.templatelayouttype
|
|
3
|
+
title: TemplateLayoutType
|
|
4
|
+
hide_title: true
|
|
5
|
+
custom_edit_url: null
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
[API Reference](./index.md) > [@next-core/brick-types](./brick-types.md) > [TemplateLayoutType](./brick-types.templatelayouttype.md)
|
|
11
|
+
|
|
12
|
+
## TemplateLayoutType interface
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
export declare type TemplateLayoutType = "wrapper";
|
|
18
|
+
```
|
|
19
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.usesinglebrickconf.iid
|
|
3
|
+
title: UseSingleBrickConf.iid
|
|
4
|
+
hide_title: true
|
|
5
|
+
custom_edit_url: null
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
[API Reference](./index.md) > [@next-core/brick-types](./brick-types.md) > [UseSingleBrickConf](./brick-types.usesinglebrickconf.md) > [iid](./brick-types.usesinglebrickconf.iid.md)
|
|
11
|
+
|
|
12
|
+
## UseSingleBrickConf.iid property
|
|
13
|
+
|
|
14
|
+
构件编排 ID
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
iid?: string;
|
|
20
|
+
```
|
|
21
|
+
|
|
@@ -26,6 +26,7 @@ export interface UseSingleBrickConf
|
|
|
26
26
|
| [brick](./brick-types.usesinglebrickconf.brick.md) | string | 构件名。 |
|
|
27
27
|
| [events](./brick-types.usesinglebrickconf.events.md) | [BrickEventsMap](./brick-types.brickeventsmap.md) | 构件的事件配置表。 |
|
|
28
28
|
| [if](./brick-types.usesinglebrickconf.if.md) | string \| boolean \| [ResolveConf](./brick-types.resolveconf.md) | 条件渲染配置,根据 <code>if</code> 的计算结果来决定是否渲染该构件。 |
|
|
29
|
+
| [iid](./brick-types.usesinglebrickconf.iid.md) | string | 构件编排 ID |
|
|
29
30
|
| [lifeCycle](./brick-types.usesinglebrickconf.lifecycle.md) | Pick<[BrickLifeCycle](./brick-types.bricklifecycle.md)<!-- -->, "useResolves"> | 构件生命周期配置。在 <code>useBrick</code> 中仅支持 <code>useResolves</code>。 |
|
|
30
31
|
| [properties](./brick-types.usesinglebrickconf.properties.md) | Record<string, unknown> | 构件属性。 |
|
|
31
32
|
| [slots](./brick-types.usesinglebrickconf.slots.md) | [UseBrickSlotsConf](./brick-types.usebrickslotsconf.md) | 在 <code>useBrick</code> 中使用的插槽配置表。 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/next-docs",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.214",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@easyops-cn/brick-next-pipes": "^0.3.12",
|
|
24
|
-
"@next-core/brick-kit": "^2.
|
|
25
|
-
"@next-core/brick-types": "^2.
|
|
26
|
-
"fs-extra": "^10.0.
|
|
24
|
+
"@next-core/brick-kit": "^2.106.2",
|
|
25
|
+
"@next-core/brick-types": "^2.60.0",
|
|
26
|
+
"fs-extra": "^10.0.1"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "1620add95d5a33202646c5ec8b2282b30cbeef45"
|
|
29
29
|
}
|