-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '7.x' into i18n/sync_7.9.1_translations_to_7.x
- Loading branch information
Showing
920 changed files
with
21,943 additions
and
9,638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...core/public/kibana-plugin-core-public.appmountparameters.setheaderactionmenu.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [AppMountParameters](./kibana-plugin-core-public.appmountparameters.md) > [setHeaderActionMenu](./kibana-plugin-core-public.appmountparameters.setheaderactionmenu.md) | ||
|
||
## AppMountParameters.setHeaderActionMenu property | ||
|
||
A function that can be used to set the mount point used to populate the application action container in the chrome header. | ||
|
||
Calling the handler multiple time will erase the current content of the action menu with the mount from the latest call. Calling the handler with `undefined` will unmount the current mount point. Calling the handler after the application has been unmounted will have no effect. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
setHeaderActionMenu: (menuMount: MountPoint | undefined) => void; | ||
``` | ||
|
||
## Example | ||
|
||
|
||
```ts | ||
// application.tsx | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { BrowserRouter, Route } from 'react-router-dom'; | ||
|
||
import { CoreStart, AppMountParameters } from 'src/core/public'; | ||
import { MyPluginDepsStart } from './plugin'; | ||
|
||
export renderApp = ({ element, history, setHeaderActionMenu }: AppMountParameters) => { | ||
const { renderApp } = await import('./application'); | ||
const { renderActionMenu } = await import('./action_menu'); | ||
setHeaderActionMenu((element) => { | ||
return renderActionMenu(element); | ||
}) | ||
return renderApp({ element, history }); | ||
} | ||
|
||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
<b>Signature:</b> | ||
|
||
```typescript | ||
filter?: string; | ||
filter?: string | KueryNode; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
<b>Signature:</b> | ||
|
||
```typescript | ||
filter?: string; | ||
filter?: string | KueryNode; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...pment/core/server/kibana-plugin-core-server.statusservicesetup.dependencies_.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [StatusServiceSetup](./kibana-plugin-core-server.statusservicesetup.md) > [dependencies$](./kibana-plugin-core-server.statusservicesetup.dependencies_.md) | ||
|
||
## StatusServiceSetup.dependencies$ property | ||
|
||
Current status for all plugins this plugin depends on. Each key of the `Record` is a plugin id. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
dependencies$: Observable<Record<string, ServiceStatus>>; | ||
``` |
20 changes: 20 additions & 0 deletions
20
...ment/core/server/kibana-plugin-core-server.statusservicesetup.derivedstatus_.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [StatusServiceSetup](./kibana-plugin-core-server.statusservicesetup.md) > [derivedStatus$](./kibana-plugin-core-server.statusservicesetup.derivedstatus_.md) | ||
|
||
## StatusServiceSetup.derivedStatus$ property | ||
|
||
The status of this plugin as derived from its dependencies. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
derivedStatus$: Observable<ServiceStatus>; | ||
``` | ||
|
||
## Remarks | ||
|
||
By default, plugins inherit this derived status from their dependencies. Calling overrides this default status. | ||
|
||
This may emit multliple times for a single status change event as propagates through the dependency tree | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
docs/development/core/server/kibana-plugin-core-server.statusservicesetup.set.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [StatusServiceSetup](./kibana-plugin-core-server.statusservicesetup.md) > [set](./kibana-plugin-core-server.statusservicesetup.set.md) | ||
|
||
## StatusServiceSetup.set() method | ||
|
||
Allows a plugin to specify a custom status dependent on its own criteria. Completely overrides the default inherited status. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
set(status$: Observable<ServiceStatus>): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| status$ | <code>Observable<ServiceStatus></code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`void` | ||
|
||
## Remarks | ||
|
||
See the [StatusServiceSetup.derivedStatus$](./kibana-plugin-core-server.statusservicesetup.derivedstatus_.md) API for leveraging the default status calculation that is provided by Core. | ||
|
23 changes: 0 additions & 23 deletions
23
...lugins/data/public/kibana-plugin-plugins-data-public.fieldlist._constructor_.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...elopment/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.add.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...pment/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.getall.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.