@next-core/next-docs 1.2.554 → 1.2.556
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/dist/brick-types.md +1 -0
- package/dist/brick-types.storyboardfunction.md +1 -0
- package/dist/brick-types.storyboardfunction.transformed.md +25 -0
- package/dist/brick-types.transformedfunction.globals.md +21 -0
- package/dist/brick-types.transformedfunction.md +28 -0
- package/dist/brick-types.transformedfunction.source.md +21 -0
- package/package.json +4 -4
package/dist/brick-types.md
CHANGED
|
@@ -144,6 +144,7 @@ The core types of Brick Next.
|
|
|
144
144
|
| [StoryboardMeta](./brick-types.storyboardmeta.md) | 应用的 Storyboard 元信息(包括自定义模板和国际化配置)。 |
|
|
145
145
|
| [SystemInfo](./brick-types.systeminfo.md) | 系统会话信息。 |
|
|
146
146
|
| [TemplateLayoutType](./brick-types.templatelayouttype.md) | |
|
|
147
|
+
| [TransformedFunction](./brick-types.transformedfunction.md) | 编译后的函数 |
|
|
147
148
|
| [TransformItem](./brick-types.transformitem.md) | 数据转换项。 |
|
|
148
149
|
| [TransformMap](./brick-types.transformmap.md) | 数据转换表。 |
|
|
149
150
|
| [UpdateAnchorFunction](./brick-types.updateanchorfunction.md) | 设置指定的 anchor (URL hash)地址,此方法默认不会触发页面重新渲染。 往浏览器会话历史栈中推入一条新记录。 |
|
|
@@ -25,5 +25,6 @@ export interface StoryboardFunction
|
|
|
25
25
|
| --- | --- | --- |
|
|
26
26
|
| [name](./brick-types.storyboardfunction.name.md) | string | 函数名称。 |
|
|
27
27
|
| [source](./brick-types.storyboardfunction.source.md) | string | 函数源码。 |
|
|
28
|
+
| [transformed](./brick-types.storyboardfunction.transformed.md) | [TransformedFunction](./brick-types.transformedfunction.md) | \[Compiled\] 编译后的函数<!-- -->在函数内先声明 "native mode",打包时会将函数转换为原生 JS 代码,以提高执行性能。 |
|
|
28
29
|
| [typescript](./brick-types.storyboardfunction.typescript.md) | boolean | 是否使用 TypeScript。 |
|
|
29
30
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.storyboardfunction.transformed
|
|
3
|
+
title: StoryboardFunction.transformed
|
|
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) > [StoryboardFunction](./brick-types.storyboardfunction.md) > [transformed](./brick-types.storyboardfunction.transformed.md)
|
|
11
|
+
|
|
12
|
+
## StoryboardFunction.transformed property
|
|
13
|
+
|
|
14
|
+
\[Compiled\] 编译后的函数
|
|
15
|
+
|
|
16
|
+
在函数内先声明 "native mode",打包时会将函数转换为原生 JS 代码,以提高执行性能。
|
|
17
|
+
|
|
18
|
+
**Signature:**
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
transformed?: TransformedFunction;
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Reference:** [TransformedFunction](./brick-types.transformedfunction.md)
|
|
25
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.transformedfunction.globals
|
|
3
|
+
title: TransformedFunction.globals
|
|
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) > [TransformedFunction](./brick-types.transformedfunction.md) > [globals](./brick-types.transformedfunction.globals.md)
|
|
11
|
+
|
|
12
|
+
## TransformedFunction.globals property
|
|
13
|
+
|
|
14
|
+
要访问的全局对象列表
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
globals: string[];
|
|
20
|
+
```
|
|
21
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.transformedfunction
|
|
3
|
+
title: TransformedFunction
|
|
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) > [TransformedFunction](./brick-types.transformedfunction.md)
|
|
11
|
+
|
|
12
|
+
## TransformedFunction interface
|
|
13
|
+
|
|
14
|
+
编译后的函数
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
export interface TransformedFunction
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
| Property | Type | Description |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| [globals](./brick-types.transformedfunction.globals.md) | string\[\] | 要访问的全局对象列表 |
|
|
27
|
+
| [source](./brick-types.transformedfunction.source.md) | string | 编译后的 JS 代码 |
|
|
28
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.transformedfunction.source
|
|
3
|
+
title: TransformedFunction.source
|
|
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) > [TransformedFunction](./brick-types.transformedfunction.md) > [source](./brick-types.transformedfunction.source.md)
|
|
11
|
+
|
|
12
|
+
## TransformedFunction.source property
|
|
13
|
+
|
|
14
|
+
编译后的 JS 代码
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
source: string;
|
|
20
|
+
```
|
|
21
|
+
|
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.556",
|
|
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",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@easyops-cn/brick-next-pipes": "^0.7.1",
|
|
35
|
-
"@next-core/brick-kit": "^2.
|
|
36
|
-
"@next-core/brick-types": "^2.
|
|
35
|
+
"@next-core/brick-kit": "^2.203.0",
|
|
36
|
+
"@next-core/brick-types": "^2.99.0",
|
|
37
37
|
"fs-extra": "^10.1.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "35b101192efb031568c61773bde890f140d03c00"
|
|
40
40
|
}
|