@next-core/next-docs 1.2.530 → 1.2.532
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-kit.md
CHANGED
|
@@ -53,6 +53,7 @@ The core kit of Brick Next.
|
|
|
53
53
|
| [method](./brick-kit.method.md) | 构件方法装饰器。 |
|
|
54
54
|
| [property](./brick-kit.property.md) | 构件属性装饰器。 |
|
|
55
55
|
| [renderEasyopsEmpty](./brick-kit.rendereasyopsempty.md) | 调用后获得一个默认的展示空数据的 React 组件。 |
|
|
56
|
+
| [setAppLocales](./brick-kit.setapplocales.md) | |
|
|
56
57
|
| [SingleBrickAsComponentFactory](./brick-kit.singlebrickascomponentfactory.md) | |
|
|
57
58
|
| [useApplyPageTitle](./brick-kit.useapplypagetitle.md) | 设置页面标题,将更新浏览器标签页显示的标题。 |
|
|
58
59
|
| [useCurrentApp](./brick-kit.usecurrentapp.md) | 获取当前所在微应用信息的 React hooks。 |
|
|
@@ -77,6 +78,7 @@ The core kit of Brick Next.
|
|
|
77
78
|
| [PreviewOption](./brick-kit.previewoption.md) | |
|
|
78
79
|
| [PreviewStoryboardPatch](./brick-kit.previewstoryboardpatch.md) | |
|
|
79
80
|
| [PropertyDeclaration](./brick-kit.propertydeclaration.md) | Defines options for a property accessor. |
|
|
81
|
+
| [RuntimeDataVale](./brick-kit.runtimedatavale.md) | |
|
|
80
82
|
| [ThemeSetting](./brick-kit.themesetting.md) | |
|
|
81
83
|
|
|
82
84
|
## Variables
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-kit.runtimedatavale.app
|
|
3
|
+
title: RuntimeDataVale.app
|
|
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-kit](./brick-kit.md) > [RuntimeDataVale](./brick-kit.runtimedatavale.md) > [app](./brick-kit.runtimedatavale.app.md)
|
|
11
|
+
|
|
12
|
+
## RuntimeDataVale.app property
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
app?: MicroApp;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Reference:** [MicroApp](./brick-types.microapp.md)
|
|
21
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-kit.runtimedatavale.location
|
|
3
|
+
title: RuntimeDataVale.location
|
|
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-kit](./brick-kit.md) > [RuntimeDataVale](./brick-kit.runtimedatavale.md) > [location](./brick-kit.runtimedatavale.location.md)
|
|
11
|
+
|
|
12
|
+
## RuntimeDataVale.location property
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
location: {
|
|
18
|
+
href: string;
|
|
19
|
+
origin: string;
|
|
20
|
+
hostname: string;
|
|
21
|
+
host: string;
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-kit.runtimedatavale
|
|
3
|
+
title: RuntimeDataVale
|
|
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-kit](./brick-kit.md) > [RuntimeDataVale](./brick-kit.runtimedatavale.md)
|
|
11
|
+
|
|
12
|
+
## RuntimeDataVale interface
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
export interface RuntimeDataVale extends Pick<PluginRuntimeContext, "match" | "sys" | "query">
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Extends:** Pick<[PluginRuntimeContext](./brick-types.pluginruntimecontext.md)<!-- -->, "match" \| "sys" \| "query">
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
| Property | Type | Description |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| [app](./brick-kit.runtimedatavale.app.md) | [MicroApp](./brick-types.microapp.md) | |
|
|
27
|
+
| [location](./brick-kit.runtimedatavale.location.md) | { href: string; origin: string; hostname: string; host: string; } | |
|
|
28
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-kit.setapplocales
|
|
3
|
+
title: setAppLocales()
|
|
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-kit](./brick-kit.md) > [setAppLocales](./brick-kit.setapplocales.md)
|
|
11
|
+
|
|
12
|
+
## setAppLocales() function
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
export declare function setAppLocales(app: MicroApp): void;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Type | Description |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| app | [MicroApp](./brick-types.microapp.md) | |
|
|
25
|
+
|
|
26
|
+
**Returns:**
|
|
27
|
+
|
|
28
|
+
void
|
|
29
|
+
|
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.532",
|
|
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.6.0",
|
|
35
|
-
"@next-core/brick-kit": "^2.
|
|
35
|
+
"@next-core/brick-kit": "^2.196.0",
|
|
36
36
|
"@next-core/brick-types": "^2.96.0",
|
|
37
37
|
"fs-extra": "^10.1.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "a9298f40460d846086818fcf550de7571bf944c1"
|
|
40
40
|
}
|