ApplicationStart
| [ApplicationStart](./kibana-plugin-public.applicationstart.md) |
| [basePath](./kibana-plugin-public.corestart.basepath.md) | BasePathStart
| [BasePathStart](./kibana-plugin-public.basepathstart.md) |
+| [http](./kibana-plugin-public.corestart.http.md) | HttpStart
| [HttpStart](./kibana-plugin-public.httpstart.md) |
| [i18n](./kibana-plugin-public.corestart.i18n.md) | I18nStart
| [I18nStart](./kibana-plugin-public.i18nstart.md) |
| [injectedMetadata](./kibana-plugin-public.corestart.injectedmetadata.md) | InjectedMetadataStart
| [InjectedMetadataStart](./kibana-plugin-public.injectedmetadatastart.md) |
| [notifications](./kibana-plugin-public.corestart.notifications.md) | NotificationsStart
| [NotificationsStart](./kibana-plugin-public.notificationsstart.md) |
diff --git a/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.md b/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.md
new file mode 100644
index 0000000000000..ff326a2122b3c
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.md
@@ -0,0 +1,21 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [FatalErrorInfo](./kibana-plugin-public.fatalerrorinfo.md)
+
+## FatalErrorInfo interface
+
+Represents the `message` and `stack` of a fatal Error
+
+Signature:
+
+```typescript
+export interface FatalErrorInfo
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [message](./kibana-plugin-public.fatalerrorinfo.message.md) | string
| |
+| [stack](./kibana-plugin-public.fatalerrorinfo.stack.md) | string | undefined
| |
+
diff --git a/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.message.md b/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.message.md
new file mode 100644
index 0000000000000..68b2c912a9030
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.message.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [FatalErrorInfo](./kibana-plugin-public.fatalerrorinfo.md) > [message](./kibana-plugin-public.fatalerrorinfo.message.md)
+
+## FatalErrorInfo.message property
+
+Signature:
+
+```typescript
+message: string;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.stack.md b/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.stack.md
new file mode 100644
index 0000000000000..c251a4866cbda
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.fatalerrorinfo.stack.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [FatalErrorInfo](./kibana-plugin-public.fatalerrorinfo.md) > [stack](./kibana-plugin-public.fatalerrorinfo.stack.md)
+
+## FatalErrorInfo.stack property
+
+Signature:
+
+```typescript
+stack: string | undefined;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.fatalerrorssetup.get$.md b/docs/development/core/public/kibana-plugin-public.fatalerrorssetup.get$.md
index d962663d317b1..e3bc308a3dd8b 100644
--- a/docs/development/core/public/kibana-plugin-public.fatalerrorssetup.get$.md
+++ b/docs/development/core/public/kibana-plugin-public.fatalerrorssetup.get$.md
@@ -9,5 +9,5 @@ An Observable that will emit whenever a fatal error is added with `add()`
Signature:
```typescript
-get$: () => Rx.Observable(error: string | Error, source?: string) => never
| Add a new fatal error. This will stop the Kibana Public Core and display a fatal error screen with details about the Kibana build and the error. |
-| [get$](./kibana-plugin-public.fatalerrorssetup.get$.md) | () => Rx.Observable<ErrorInfo>
| An Observable that will emit whenever a fatal error is added with add()
|
+| [get$](./kibana-plugin-public.fatalerrorssetup.get$.md) | () => Rx.Observable<FatalErrorInfo>
| An Observable that will emit whenever a fatal error is added with add()
|
diff --git a/docs/development/core/public/kibana-plugin-public.flyoutref.close.md b/docs/development/core/public/kibana-plugin-public.flyoutref.close.md
deleted file mode 100644
index 5e3271f26c162..0000000000000
--- a/docs/development/core/public/kibana-plugin-public.flyoutref.close.md
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [FlyoutRef](./kibana-plugin-public.flyoutref.md) > [close](./kibana-plugin-public.flyoutref.close.md)
-
-## FlyoutRef.close() method
-
-Closes the referenced flyout if it's still open which in turn will resolve the `onClose` Promise. If the flyout had already been closed this method does nothing.
-
-Signature:
-
-```typescript
-close(): PromisePromise<void>
| An Promise that will resolve once this flyout is closed.Flyouts can close from user interaction, calling close()
on the flyout reference or another call to openFlyout()
replacing your flyout. |
-
-## Methods
-
-| Method | Modifiers | Description |
-| --- | --- | --- |
-| [close()](./kibana-plugin-public.flyoutref.close.md) | | Closes the referenced flyout if it's still open which in turn will resolve the onClose
Promise. If the flyout had already been closed this method does nothing. |
-
diff --git a/docs/development/core/public/kibana-plugin-public.flyoutref.onclose.md b/docs/development/core/public/kibana-plugin-public.flyoutref.onclose.md
deleted file mode 100644
index 2e58f7563d291..0000000000000
--- a/docs/development/core/public/kibana-plugin-public.flyoutref.onclose.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [FlyoutRef](./kibana-plugin-public.flyoutref.md) > [onClose](./kibana-plugin-public.flyoutref.onclose.md)
-
-## FlyoutRef.onClose property
-
-An Promise that will resolve once this flyout is closed.
-
-Flyouts can close from user interaction, calling `close()` on the flyout reference or another call to `openFlyout()` replacing your flyout.
-
-Signature:
-
-```typescript
-readonly onClose: Promise() => {`` warnLegacyBrowsers: boolean;`` }
| |
| [getInjectedVar](./kibana-plugin-public.injectedmetadatasetup.getinjectedvar.md) | (name: string, defaultValue?: any) => unknown
| |
| [getInjectedVars](./kibana-plugin-public.injectedmetadatasetup.getinjectedvars.md) | () => {`` [key: string]: unknown;`` }
| |
+| [getKibanaBuildNumber](./kibana-plugin-public.injectedmetadatasetup.getkibanabuildnumber.md) | () => number
| |
| [getKibanaVersion](./kibana-plugin-public.injectedmetadatasetup.getkibanaversion.md) | () => string
| |
| [getLegacyMetadata](./kibana-plugin-public.injectedmetadatasetup.getlegacymetadata.md) | () => {`` app: unknown;`` translations: unknown;`` bundleId: string;`` nav: LegacyNavLink[];`` version: string;`` branch: string;`` buildNum: number;`` buildSha: string;`` basePath: string;`` serverName: string;`` devMode: boolean;`` uiSettings: {`` defaults: UiSettingsState;`` user?: UiSettingsState | undefined;`` };`` }
| |
| [getPlugins](./kibana-plugin-public.injectedmetadatasetup.getplugins.md) | () => Array<{`` id: string;`` plugin: DiscoveredPlugin;`` }>
| An array of frontend plugins in topological order. |
diff --git a/docs/development/core/public/kibana-plugin-public.md b/docs/development/core/public/kibana-plugin-public.md
index 27df06fbb5630..0e496c982fd70 100644
--- a/docs/development/core/public/kibana-plugin-public.md
+++ b/docs/development/core/public/kibana-plugin-public.md
@@ -8,7 +8,6 @@
| Class | Description |
| --- | --- |
-| [FlyoutRef](./kibana-plugin-public.flyoutref.md) | A FlyoutRef is a reference to an opened flyout panel. It offers methods to close the flyout panel again. If you open a flyout panel you should make sure you call close()
when it should be closed. Since a flyout could also be closed by a user or from another flyout being opened, you must bind to the onClose
Promise on the FlyoutRef instance. The Promise will resolve whenever the flyout was closed at which point you should discard the FlyoutRef. |
| [ToastsApi](./kibana-plugin-public.toastsapi.md) | |
| [UiSettingsClient](./kibana-plugin-public.uisettingsclient.md) | |
@@ -23,17 +22,20 @@
| [ChromeBadge](./kibana-plugin-public.chromebadge.md) | |
| [ChromeBrand](./kibana-plugin-public.chromebrand.md) | |
| [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) | |
-| [CoreSetup](./kibana-plugin-public.coresetup.md) | Core services exposed to the start lifecycle |
-| [CoreStart](./kibana-plugin-public.corestart.md) | |
+| [CoreSetup](./kibana-plugin-public.coresetup.md) | Core services exposed to the setup lifecycle |
+| [CoreStart](./kibana-plugin-public.corestart.md) | Core services exposed to the start lifecycle |
+| [FatalErrorInfo](./kibana-plugin-public.fatalerrorinfo.md) | Represents the message
and stack
of a fatal Error |
| [FatalErrorsSetup](./kibana-plugin-public.fatalerrorssetup.md) | FatalErrors stop the Kibana Public Core and displays a fatal error screen with details about the Kibana build and the error. |
| [I18nSetup](./kibana-plugin-public.i18nsetup.md) | I18nSetup.Context is required by any localizable React component from @kbn/i18n and @elastic/eui packages and is supposed to be used as the topmost component for any i18n-compatible React tree. |
| [InjectedMetadataSetup](./kibana-plugin-public.injectedmetadatasetup.md) | Provides access to the metadata injected by the server into the page |
| [LegacyNavLink](./kibana-plugin-public.legacynavlink.md) | |
| [NotificationsSetup](./kibana-plugin-public.notificationssetup.md) | |
+| [OverlayRef](./kibana-plugin-public.overlayref.md) | |
| [OverlayStart](./kibana-plugin-public.overlaystart.md) | |
| [Plugin](./kibana-plugin-public.plugin.md) | The interface that should be returned by a PluginInitializer
. |
| [PluginInitializerContext](./kibana-plugin-public.plugininitializercontext.md) | The available core services passed to a PluginInitializer
|
| [PluginSetupContext](./kibana-plugin-public.pluginsetupcontext.md) | The available core services passed to a plugin's Plugin#setup
method. |
+| [PluginStartContext](./kibana-plugin-public.pluginstartcontext.md) | The available core services passed to a plugin's Plugin#start
method. |
| [UiSettingsState](./kibana-plugin-public.uisettingsstate.md) | |
## Type Aliases
@@ -44,6 +46,7 @@
| [ChromeHelpExtension](./kibana-plugin-public.chromehelpextension.md) | |
| [ChromeSetup](./kibana-plugin-public.chromesetup.md) | |
| [HttpSetup](./kibana-plugin-public.httpsetup.md) | |
+| [HttpStart](./kibana-plugin-public.httpstart.md) | |
| [I18nStart](./kibana-plugin-public.i18nstart.md) | |
| [InjectedMetadataStart](./kibana-plugin-public.injectedmetadatastart.md) | |
| [NotificationsStart](./kibana-plugin-public.notificationsstart.md) | |
diff --git a/docs/development/core/public/kibana-plugin-public.overlayref.close.md b/docs/development/core/public/kibana-plugin-public.overlayref.close.md
new file mode 100644
index 0000000000000..e6e4bf2f7035b
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.overlayref.close.md
@@ -0,0 +1,17 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [OverlayRef](./kibana-plugin-public.overlayref.md) > [close](./kibana-plugin-public.overlayref.close.md)
+
+## OverlayRef.close() method
+
+Closes the referenced overlay if it's still open which in turn will resolve the `onClose` Promise. If the overlay had already been closed this method does nothing.
+
+Signature:
+
+```typescript
+close(): PromisePromise<void>
| A Promise that will resolve once this overlay is closed.Overlays can close from user interaction, calling close()
on the overlay reference or another overlay replacing yours via openModal
or openFlyout
. |
+
+## Methods
+
+| Method | Description |
+| --- | --- |
+| [close()](./kibana-plugin-public.overlayref.close.md) | Closes the referenced overlay if it's still open which in turn will resolve the onClose
Promise. If the overlay had already been closed this method does nothing. |
+
diff --git a/docs/development/core/public/kibana-plugin-public.overlayref.onclose.md b/docs/development/core/public/kibana-plugin-public.overlayref.onclose.md
new file mode 100644
index 0000000000000..d8f0351df8622
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.overlayref.onclose.md
@@ -0,0 +1,15 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [OverlayRef](./kibana-plugin-public.overlayref.md) > [onClose](./kibana-plugin-public.overlayref.onclose.md)
+
+## OverlayRef.onClose property
+
+A Promise that will resolve once this overlay is closed.
+
+Overlays can close from user interaction, calling `close()` on the overlay reference or another overlay replacing yours via `openModal` or `openFlyout`.
+
+Signature:
+
+```typescript
+onClose: Promise(flyoutChildren: React.ReactNode, flyoutProps?: {`` closeButtonAriaLabel?: string;`` 'data-test-subj'?: string;`` }) => FlyoutRef
| |
+| [openFlyout](./kibana-plugin-public.overlaystart.openflyout.md) | (flyoutChildren: React.ReactNode, flyoutProps?: {`` closeButtonAriaLabel?: string;`` 'data-test-subj'?: string;`` }) => OverlayRef
| |
+| [openModal](./kibana-plugin-public.overlaystart.openmodal.md) | (modalChildren: React.ReactNode, modalProps?: {`` closeButtonAriaLabel?: string;`` 'data-test-subj'?: string;`` }) => OverlayRef
| |
diff --git a/docs/development/core/public/kibana-plugin-public.overlaystart.openflyout.md b/docs/development/core/public/kibana-plugin-public.overlaystart.openflyout.md
index f030c842c98f8..33d6ddf1a58e5 100644
--- a/docs/development/core/public/kibana-plugin-public.overlaystart.openflyout.md
+++ b/docs/development/core/public/kibana-plugin-public.overlaystart.openflyout.md
@@ -10,5 +10,5 @@
openFlyout: (flyoutChildren: React.ReactNode, flyoutProps?: {
closeButtonAriaLabel?: string;
'data-test-subj'?: string;
- }) => FlyoutRef;
+ }) => OverlayRef;
```
diff --git a/docs/development/core/public/kibana-plugin-public.overlaystart.openmodal.md b/docs/development/core/public/kibana-plugin-public.overlaystart.openmodal.md
new file mode 100644
index 0000000000000..7d26a7ad6a181
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.overlaystart.openmodal.md
@@ -0,0 +1,14 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [OverlayStart](./kibana-plugin-public.overlaystart.md) > [openModal](./kibana-plugin-public.overlaystart.openmodal.md)
+
+## OverlayStart.openModal property
+
+Signature:
+
+```typescript
+openModal: (modalChildren: React.ReactNode, modalProps?: {
+ closeButtonAriaLabel?: string;
+ 'data-test-subj'?: string;
+ }) => OverlayRef;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.pluginstartcontext.application.md b/docs/development/core/public/kibana-plugin-public.pluginstartcontext.application.md
new file mode 100644
index 0000000000000..9c718893005db
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.pluginstartcontext.application.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [PluginStartContext](./kibana-plugin-public.pluginstartcontext.md) > [application](./kibana-plugin-public.pluginstartcontext.application.md)
+
+## PluginStartContext.application property
+
+Signature:
+
+```typescript
+application: PickPick<ApplicationStart, 'capabilities'>
| |
+| [basePath](./kibana-plugin-public.pluginstartcontext.basepath.md) | BasePathStart
| |
+| [http](./kibana-plugin-public.pluginstartcontext.http.md) | HttpStart
| |
+| [i18n](./kibana-plugin-public.pluginstartcontext.i18n.md) | I18nStart
| |
+| [notifications](./kibana-plugin-public.pluginstartcontext.notifications.md) | NotificationsStart
| |
+| [overlays](./kibana-plugin-public.pluginstartcontext.overlays.md) | OverlayStart
| |
+
diff --git a/docs/development/core/public/kibana-plugin-public.pluginstartcontext.notifications.md b/docs/development/core/public/kibana-plugin-public.pluginstartcontext.notifications.md
new file mode 100644
index 0000000000000..e9972f5e7ff4c
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.pluginstartcontext.notifications.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [PluginStartContext](./kibana-plugin-public.pluginstartcontext.md) > [notifications](./kibana-plugin-public.pluginstartcontext.notifications.md)
+
+## PluginStartContext.notifications property
+
+Signature:
+
+```typescript
+notifications: NotificationsStart;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.pluginstartcontext.overlays.md b/docs/development/core/public/kibana-plugin-public.pluginstartcontext.overlays.md
new file mode 100644
index 0000000000000..c299389d3c922
--- /dev/null
+++ b/docs/development/core/public/kibana-plugin-public.pluginstartcontext.overlays.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [PluginStartContext](./kibana-plugin-public.pluginstartcontext.md) > [overlays](./kibana-plugin-public.pluginstartcontext.overlays.md)
+
+## PluginStartContext.overlays property
+
+Signature:
+
+```typescript
+overlays: OverlayStart;
+```
diff --git a/docs/development/core/public/kibana-plugin-public.uisettingsclient.md b/docs/development/core/public/kibana-plugin-public.uisettingsclient.md
index 30fdfa73dd215..985b42cd0063b 100644
--- a/docs/development/core/public/kibana-plugin-public.uisettingsclient.md
+++ b/docs/development/core/public/kibana-plugin-public.uisettingsclient.md
@@ -11,12 +11,6 @@
export declare class UiSettingsClient
```
-## Properties
-
-| Property | Modifiers | Type | Description |
-| --- | --- | --- | --- |
-| [params](./kibana-plugin-public.uisettingsclient.params.md) | | UiSettingsClientParams
| |
-
## Methods
| Method | Modifiers | Description |
diff --git a/docs/development/core/public/kibana-plugin-public.uisettingsclient.params.md b/docs/development/core/public/kibana-plugin-public.uisettingsclient.params.md
deleted file mode 100644
index 71b3cfaae87fb..0000000000000
--- a/docs/development/core/public/kibana-plugin-public.uisettingsclient.params.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [UiSettingsClient](./kibana-plugin-public.uisettingsclient.md) > [params](./kibana-plugin-public.uisettingsclient.params.md)
-
-## UiSettingsClient.params property
-
-Signature:
-
-```typescript
-readonly params: UiSettingsClientParams;
-```
diff --git a/docs/development/core/server/kibana-plugin-server.configservice.atpath.md b/docs/development/core/server/kibana-plugin-server.configservice.atpath.md
deleted file mode 100644
index 5ae66deb74856..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.configservice.atpath.md
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-[Home](./index) > [kibana-plugin-server](./kibana-plugin-server.md) > [ConfigService](./kibana-plugin-server.configservice.md) > [atPath](./kibana-plugin-server.configservice.atpath.md)
-
-## ConfigService.atPath() method
-
-Reads the subset of the config at the specified `path` and validates it against the static `schema` on the given `ConfigClass`.
-
-Signature:
-
-```typescript
-atPathConfigPath
| The path to the desired subset of the config. |
-| ConfigClass | ConfigWithSchema<TSchema, TConfig>
| A class (not an instance of a class) that contains a static schema
that we validate the config at the given path
against. |
-
-Returns:
-
-`ObservableConfigPath
| |
-
-Returns:
-
-`Promisepath
and validates it against the static schema
on the given ConfigClass
. |
-| [getConfig$()](./kibana-plugin-server.configservice.getconfig$.md) | | Returns the full config object observable. This is not intended for "normal use", but for features that \_need\_ access to the full object. |
-| [getUnusedPaths()](./kibana-plugin-server.configservice.getunusedpaths.md) | | |
-| [getUsedPaths()](./kibana-plugin-server.configservice.getusedpaths.md) | | |
-| [isEnabledAtPath(path)](./kibana-plugin-server.configservice.isenabledatpath.md) | | |
-| [optionalAtPath(path, ConfigClass)](./kibana-plugin-server.configservice.optionalatpath.md) | | Same as atPath
, but returns undefined
if there is no config at the specified path.[ConfigService.atPath()](./kibana-plugin-server.configservice.atpath.md) |
-
diff --git a/docs/development/core/server/kibana-plugin-server.configservice.optionalatpath.md b/docs/development/core/server/kibana-plugin-server.configservice.optionalatpath.md
deleted file mode 100644
index 8efc64568f830..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.configservice.optionalatpath.md
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-[Home](./index) > [kibana-plugin-server](./kibana-plugin-server.md) > [ConfigService](./kibana-plugin-server.configservice.md) > [optionalAtPath](./kibana-plugin-server.configservice.optionalatpath.md)
-
-## ConfigService.optionalAtPath() method
-
-Same as `atPath`, but returns `undefined` if there is no config at the specified path.
-
-[ConfigService.atPath()](./kibana-plugin-server.configservice.atpath.md)
-
-Signature:
-
-```typescript
-optionalAtPathConfigPath
| |
-| ConfigClass | ConfigWithSchema<TSchema, TConfig>
| |
-
-Returns:
-
-`ObservableConfigPath
| Root configuration path used by the plugin, defaults to "id". |
+| [id](./kibana-plugin-server.discoveredplugin.id.md) | PluginName
| Identifier of the plugin. |
+| [optionalPlugins](./kibana-plugin-server.discoveredplugin.optionalplugins.md) | ReadonlyArray<PluginName>
| An optional list of the other plugins that if installed and enabled \*\*may be\*\* leveraged by this plugin for some additional functionality but otherwise are not required for this plugin to work properly. |
+| [requiredPlugins](./kibana-plugin-server.discoveredplugin.requiredplugins.md) | ReadonlyArray<PluginName>
| An optional list of the other plugins that \*\*must be\*\* installed and enabled for this plugin to function properly. |
+
diff --git a/docs/development/core/server/kibana-plugin-server.discoveredplugin.optionalplugins.md b/docs/development/core/server/kibana-plugin-server.discoveredplugin.optionalplugins.md
new file mode 100644
index 0000000000000..1ebc425f44ce5
--- /dev/null
+++ b/docs/development/core/server/kibana-plugin-server.discoveredplugin.optionalplugins.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index) > [kibana-plugin-server](./kibana-plugin-server.md) > [DiscoveredPlugin](./kibana-plugin-server.discoveredplugin.md) > [optionalPlugins](./kibana-plugin-server.discoveredplugin.optionalplugins.md)
+
+## DiscoveredPlugin.optionalPlugins property
+
+An optional list of the other plugins that if installed and enabled \*\*may be\*\* leveraged by this plugin for some additional functionality but otherwise are not required for this plugin to work properly.
+
+Signature:
+
+```typescript
+readonly optionalPlugins: ReadonlyArraystatic
| Factory for creating requests. Validates the request before creating an instance of a KibanaRequest. |
| [getFilteredHeaders(headersToKeep)](./kibana-plugin-server.kibanarequest.getfilteredheaders.md) | | |
+| [unstable\_getIncomingMessage()](./kibana-plugin-server.kibanarequest.unstable_getincomingmessage.md) | | |
diff --git a/docs/development/core/server/kibana-plugin-server.kibanarequest.unstable_getincomingmessage.md b/docs/development/core/server/kibana-plugin-server.kibanarequest.unstable_getincomingmessage.md
new file mode 100644
index 0000000000000..d4f3c1b54a6cd
--- /dev/null
+++ b/docs/development/core/server/kibana-plugin-server.kibanarequest.unstable_getincomingmessage.md
@@ -0,0 +1,15 @@
+
+
+[Home](./index) > [kibana-plugin-server](./kibana-plugin-server.md) > [KibanaRequest](./kibana-plugin-server.kibanarequest.md) > [unstable\_getIncomingMessage](./kibana-plugin-server.kibanarequest.unstable_getincomingmessage.md)
+
+## KibanaRequest.unstable\_getIncomingMessage() method
+
+Signature:
+
+```typescript
+unstable_getIncomingMessage(): import("http").IncomingMessage;
+```
+Returns:
+
+`import("http").IncomingMessage`
+
diff --git a/docs/development/core/server/kibana-plugin-server.md b/docs/development/core/server/kibana-plugin-server.md
index f3e11fca6b280..027aef60265a2 100644
--- a/docs/development/core/server/kibana-plugin-server.md
+++ b/docs/development/core/server/kibana-plugin-server.md
@@ -9,7 +9,6 @@
| Class | Description |
| --- | --- |
| [ClusterClient](./kibana-plugin-server.clusterclient.md) | Represents an Elasticsearch cluster API client and allows to call API on behalf of the internal Kibana user and the actual user that is derived from the request headers (via asScoped(...)
). |
-| [ConfigService](./kibana-plugin-server.configservice.md) | |
| [KibanaRequest](./kibana-plugin-server.kibanarequest.md) | |
| [Router](./kibana-plugin-server.router.md) | |
| [ScopedClusterClient](./kibana-plugin-server.scopedclusterclient.md) | Serves the same purpose as "normal" ClusterClient
but exposes additional callAsCurrentUser
method that doesn't use credentials of the Kibana internal user (as callAsInternalUser
does) to request Elasticsearch API, but rather passes HTTP headers extracted from the current user request to the API |
@@ -22,6 +21,7 @@
| [CallAPIOptions](./kibana-plugin-server.callapioptions.md) | The set of options that defines how API call should be made and result be processed. |
| [CoreSetup](./kibana-plugin-server.coresetup.md) | |
| [CoreStart](./kibana-plugin-server.corestart.md) | |
+| [DiscoveredPlugin](./kibana-plugin-server.discoveredplugin.md) | Small container object used to expose information about discovered plugins that may or may not have been started. |
| [ElasticsearchServiceSetup](./kibana-plugin-server.elasticsearchservicesetup.md) | |
| [HttpServiceStart](./kibana-plugin-server.httpservicestart.md) | |
| [Logger](./kibana-plugin-server.logger.md) | Logger exposes all the necessary methods to log any type of information and this is the interface used by the logging consumers including plugins. |
@@ -31,6 +31,8 @@
| [Plugin](./kibana-plugin-server.plugin.md) | The interface that should be returned by a PluginInitializer
. |
| [PluginInitializerContext](./kibana-plugin-server.plugininitializercontext.md) | Context that's available to plugins during initialization stage. |
| [PluginSetupContext](./kibana-plugin-server.pluginsetupcontext.md) | Context passed to the plugins setup
method. |
+| [PluginsServiceSetup](./kibana-plugin-server.pluginsservicesetup.md) | |
+| [PluginsServiceStart](./kibana-plugin-server.pluginsservicestart.md) | |
| [PluginStartContext](./kibana-plugin-server.pluginstartcontext.md) | Context passed to the plugins start
method. |
## Type Aliases
diff --git a/docs/development/core/server/kibana-plugin-server.onrequesttoolkit.md b/docs/development/core/server/kibana-plugin-server.onrequesttoolkit.md
index cd88ef8fc5dda..e6a79a13dd436 100644
--- a/docs/development/core/server/kibana-plugin-server.onrequesttoolkit.md
+++ b/docs/development/core/server/kibana-plugin-server.onrequesttoolkit.md
@@ -19,4 +19,5 @@ export interface OnRequestToolkit
| [next](./kibana-plugin-server.onrequesttoolkit.next.md) | () => OnRequestResult
| To pass request to the next handler |
| [redirected](./kibana-plugin-server.onrequesttoolkit.redirected.md) | (url: string) => OnRequestResult
| To interrupt request handling and redirect to a configured url |
| [rejected](./kibana-plugin-server.onrequesttoolkit.rejected.md) | (error: Error, options?: {`` statusCode?: number;`` }) => OnRequestResult
| Fail the request with specified error. |
+| [setUrl](./kibana-plugin-server.onrequesttoolkit.seturl.md) | (newUrl: string | Url) => void
| Change url for an incoming request. |
diff --git a/docs/development/core/server/kibana-plugin-server.onrequesttoolkit.seturl.md b/docs/development/core/server/kibana-plugin-server.onrequesttoolkit.seturl.md
new file mode 100644
index 0000000000000..0f20cbdb18d96
--- /dev/null
+++ b/docs/development/core/server/kibana-plugin-server.onrequesttoolkit.seturl.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index) > [kibana-plugin-server](./kibana-plugin-server.md) > [OnRequestToolkit](./kibana-plugin-server.onrequesttoolkit.md) > [setUrl](./kibana-plugin-server.onrequesttoolkit.seturl.md)
+
+## OnRequestToolkit.setUrl property
+
+Change url for an incoming request.
+
+Signature:
+
+```typescript
+setUrl: (newUrl: string | Url) => void;
+```
diff --git a/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.http.md b/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.http.md
index 65acef7b54774..0ca7fa2a88294 100644
--- a/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.http.md
+++ b/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.http.md
@@ -10,5 +10,7 @@
http: {
registerAuth: HttpServiceSetup['registerAuth'];
registerOnRequest: HttpServiceSetup['registerOnRequest'];
+ getBasePathFor: HttpServiceSetup['getBasePathFor'];
+ setBasePathFor: HttpServiceSetup['setBasePathFor'];
};
```
diff --git a/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.md b/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.md
index 4aa13c2cda9f1..8878edb18230f 100644
--- a/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.md
+++ b/docs/development/core/server/kibana-plugin-server.pluginsetupcontext.md
@@ -17,5 +17,5 @@ export interface PluginSetupContext
| Property | Type | Description |
| --- | --- | --- |
| [elasticsearch](./kibana-plugin-server.pluginsetupcontext.elasticsearch.md) | {`` adminClient$: Observable<ClusterClient>;`` dataClient$: Observable<ClusterClient>;`` }
| |
-| [http](./kibana-plugin-server.pluginsetupcontext.http.md) | {`` registerAuth: HttpServiceSetup['registerAuth'];`` registerOnRequest: HttpServiceSetup['registerOnRequest'];`` }
| |
+| [http](./kibana-plugin-server.pluginsetupcontext.http.md) | {`` registerAuth: HttpServiceSetup['registerAuth'];`` registerOnRequest: HttpServiceSetup['registerOnRequest'];`` getBasePathFor: HttpServiceSetup['getBasePathFor'];`` setBasePathFor: HttpServiceSetup['setBasePathFor'];`` }
| |
diff --git a/docs/development/core/server/kibana-plugin-server.pluginsservicesetup.contracts.md b/docs/development/core/server/kibana-plugin-server.pluginsservicesetup.contracts.md
new file mode 100644
index 0000000000000..090693a814c1d
--- /dev/null
+++ b/docs/development/core/server/kibana-plugin-server.pluginsservicesetup.contracts.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index) > [kibana-plugin-server](./kibana-plugin-server.md) > [PluginsServiceSetup](./kibana-plugin-server.pluginsservicesetup.md) > [contracts](./kibana-plugin-server.pluginsservicesetup.contracts.md)
+
+## PluginsServiceSetup.contracts property
+
+Signature:
+
+```typescript
+contracts: MapMap<PluginName, unknown>
| |
+| [uiPlugins](./kibana-plugin-server.pluginsservicesetup.uiplugins.md) | {`` public: Map<PluginName, DiscoveredPlugin>;`` internal: Map<PluginName, DiscoveredPluginInternal>;`` }
| |
+
diff --git a/docs/development/core/server/kibana-plugin-server.pluginsservicesetup.uiplugins.md b/docs/development/core/server/kibana-plugin-server.pluginsservicesetup.uiplugins.md
new file mode 100644
index 0000000000000..ff63944fdf64d
--- /dev/null
+++ b/docs/development/core/server/kibana-plugin-server.pluginsservicesetup.uiplugins.md
@@ -0,0 +1,14 @@
+
+
+[Home](./index) > [kibana-plugin-server](./kibana-plugin-server.md) > [PluginsServiceSetup](./kibana-plugin-server.pluginsservicesetup.md) > [uiPlugins](./kibana-plugin-server.pluginsservicesetup.uiplugins.md)
+
+## PluginsServiceSetup.uiPlugins property
+
+Signature:
+
+```typescript
+uiPlugins: {
+ public: MapMap<PluginName, unknown>
| |
+
diff --git a/package.json b/package.json
index f92c6a0af54e1..7fffad48ce437 100644
--- a/package.json
+++ b/package.json
@@ -103,6 +103,7 @@
"@babel/core": "^7.3.4",
"@babel/polyfill": "^7.2.5",
"@babel/register": "^7.0.0",
+ "@elastic/charts": "^3.11.2",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "10.4.0",
"@elastic/filesaver": "1.1.2",
@@ -124,7 +125,7 @@
"@types/recompose": "^0.30.5",
"JSONStream": "1.1.1",
"abortcontroller-polyfill": "^1.1.9",
- "angular": "npm:@elastic/angular@1.6.9-kibana.0",
+ "angular": "1.6.9",
"angular-aria": "1.6.6",
"angular-elastic": "2.5.0",
"angular-recursion": "^1.0.5",
diff --git a/packages/kbn-es/src/cluster.js b/packages/kbn-es/src/cluster.js
index 94c3864ebfd38..9ea1817e0f49b 100644
--- a/packages/kbn-es/src/cluster.js
+++ b/packages/kbn-es/src/cluster.js
@@ -151,6 +151,7 @@ exports.Cluster = class Cluster {
* @param {String} installPath
* @param {Object} options
* @property {Array} options.esArgs
+ * @property {String} options.password - super user password used to bootstrap
* @returns {Promise}
*/
async start(installPath, options = {}) {
diff --git a/packages/kbn-es/src/install/archive.js b/packages/kbn-es/src/install/archive.js
index ff73ce43394b4..11783df16b771 100644
--- a/packages/kbn-es/src/install/archive.js
+++ b/packages/kbn-es/src/install/archive.js
@@ -62,13 +62,11 @@ exports.installArchive = async function installArchive(archive, options = {}) {
await decompress(dest, installPath);
log.info('extracted to %s', chalk.bold(installPath));
- if (license === 'trial') {
+ if (license !== 'oss') {
// starting in 6.3, security is disabled by default. Since we bootstrap
// the keystore, we can enable security ourselves.
await appendToConfig(installPath, 'xpack.security.enabled', 'true');
- }
- if (license !== 'oss') {
await appendToConfig(installPath, 'xpack.license.self_generated.type', license);
await configureKeystore(installPath, password, log);
}
diff --git a/packages/kbn-interpreter/src/common/index.d.ts b/packages/kbn-interpreter/src/common/index.d.ts
new file mode 100644
index 0000000000000..b41f9f318a13b
--- /dev/null
+++ b/packages/kbn-interpreter/src/common/index.d.ts
@@ -0,0 +1,20 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+export { Registry } from './lib/registry';
diff --git a/src/legacy/ui/public/kfetch/kfetch_abortable.ts b/packages/kbn-interpreter/src/common/lib/registry.d.ts
similarity index 57%
rename from src/legacy/ui/public/kfetch/kfetch_abortable.ts
rename to packages/kbn-interpreter/src/common/lib/registry.d.ts
index 11057054f330f..dccaa22754222 100644
--- a/src/legacy/ui/public/kfetch/kfetch_abortable.ts
+++ b/packages/kbn-interpreter/src/common/lib/registry.d.ts
@@ -17,29 +17,20 @@
* under the License.
*/
-import { kfetch, KFetchKibanaOptions, KFetchOptions } from './kfetch';
+export class Registry = (
req: KibanaRequest (
+ Component: React.ComponentType ,
+ trackMetric: (metric: string | string[]) => void = trackCanvasUiMetric
+): React.SFC {
+ return function ElementsLoadedTelemetry(
+ props: P & ElementsLoadedTelemetryProps
+ ): React.SFCElement {
+ const { telemetryElementCounts, workpad, telemetryResolvedArgs, ...other } = props;
+
+ const [currentWorkpadId, setWorkpadId] = useState (
+ Component: React.ComponentType
+) => {
+ const telemetry = withUnconnectedElementsLoadedTelemetry(Component);
+ return connect(mapStateToProps)(telemetry);
+};
diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot b/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot
new file mode 100644
index 0000000000000..4fac77ebf47e2
--- /dev/null
+++ b/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot
@@ -0,0 +1,1405 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Storyshots components/CustomElementModal with description 1`] = `
+Array [
+
+ Take a screenshot of your element and upload it here. This can also be done after saving.
+
+ best element ever
+
+ Take a screenshot of your element and upload it here. This can also be done after saving.
+
+
+
+ Take a screenshot of your element and upload it here. This can also be done after saving.
+
+
+
+ Take a screenshot of your element and upload it here. This can also be done after saving.
+
+
+
+ Take a screenshot of your element and upload it here. This can also be done after
+ saving.
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce lobortis aliquet arcu ut turpis duis.
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce lobortis aliquet arcu ut turpis duis.
+
+ Ungroup (U) to edit individual element settings.
+
+ Save this group as a new element to re-use it throughout your workpad.
+
+ Multiple elements are currently selected.
+
+ Deselect these elements to edit their individual settings, press (G) to group them, or save this selection as a new element to re-use it throughout your workpad.
+ Ungroup (U) to edit individual element settings. Save this group as a new element to re-use it throughout your workpad. Ungroup (U) to edit individual element settings. Save this group as a new element to re-use it throughout your workpad. Multiple elements are currently selected.
- Deselect these elements to edit their individual settings, press (G) to group them, or save
- this selection as a new element to re-use it throughout your workpad.
- Multiple elements are currently selected.
+ Deselect these elements to edit their individual settings, press (G) to group them, or save
+ this selection as a new element to re-use it throughout your workpad.
+
- Take a screenshot of your element and upload it here. This can also be done
- after saving.
-
+
+
+ , TypeOf>,
createResponse: ResponseFactory
-) => Promise
{i18n.translate(
'xpack.apm.transactionDetails.transactionSampleTitle',
@@ -134,8 +134,6 @@ export const Transaction: React.SFC
+ Edit custom element
+
+
+ Element preview
+
+
+
+ Edit custom element
+
+
+ Element preview
+
+
+
+
+
+
+
+
+
+ Edit custom element
+
+
+ Element preview
+
+
+
+ Create new element
+
+
+ Element preview
+
+
+ {title}
+ Element preview
+
+
+
+
+ Element 1
+
+
{title}
- Element preview
- {section.label}
+