2021-03-03 04:02:17 +01:00
{
"id" : "core.application" ,
"client" : {
"classes" : [
{
"id" : "def-public.ScopedHistory" ,
"type" : "Class" ,
"tags" : [
"public"
] ,
"label" : "ScopedHistory" ,
"description" : [
"\nA wrapper around a `History` instance that is scoped to a particular base path of the history stack. Behaves\nsimilarly to the `basename` option except that this wrapper hides any history stack entries from outside the scope\nof this base path.\n\nThis wrapper also allows Core and Plugins to share a single underlying global `History` instance without exposing\nthe history of other applications.\n\nThe {@link ScopedHistory.createSubHistory | createSubHistory} method is particularly useful for applications that\ncontain any number of \"sub-apps\" which should not have access to the main application's history or basePath.\n"
] ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.ScopedHistory" ,
"text" : "ScopedHistory"
} ,
"<HistoryLocationState> implements " ,
"History" ,
"<HistoryLocationState>"
] ,
"children" : [
{
"id" : "def-public.ScopedHistory.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.Unnamed.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "parentHistory" ,
"isRequired" : true ,
"signature" : [
"History" ,
"<any>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 59
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.Unnamed.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "basePath" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 59
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 59
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.ScopedHistory.createSubHistory" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.createSubHistory.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "basePath" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 78
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"<SubHistoryLocationState = unknown>(basePath: string) => " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.ScopedHistory" ,
"text" : "ScopedHistory"
} ,
"<SubHistoryLocationState>"
] ,
"description" : [
"\nCreates a `ScopedHistory` for a subpath of this `ScopedHistory`. Useful for applications that may have sub-apps\nthat do not need access to the containing application's history.\n"
] ,
"label" : "createSubHistory" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 77
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.ScopedHistory.length" ,
"type" : "number" ,
"label" : "length" ,
"tags" : [ ] ,
"description" : [
"\nThe number of entries in the history stack, including all entries forwards and backwards from the current location."
] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 86
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.ScopedHistory.location" ,
"type" : "Object" ,
"label" : "location" ,
"tags" : [ ] ,
"description" : [
"\nThe current location of the history stack."
] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 94
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Location" ,
"<HistoryLocationState>"
]
} ,
{
"id" : "def-public.ScopedHistory.action" ,
"type" : "CompoundType" ,
"label" : "action" ,
"tags" : [ ] ,
"description" : [
"\nThe last action dispatched on the history stack."
] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 102
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Action"
]
} ,
{
"id" : "def-public.ScopedHistory.push" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.push.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "pathOrLocation" ,
"isRequired" : true ,
"signature" : [
"string | " ,
"LocationDescriptorObject" ,
"<HistoryLocationState>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 114
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.push.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "state" ,
"isRequired" : false ,
"signature" : [
"HistoryLocationState | undefined"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 115
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(pathOrLocation: string | " ,
"LocationDescriptorObject" ,
"<HistoryLocationState>, state?: HistoryLocationState | undefined) => void"
] ,
"description" : [
"\nPushes a new location onto the history stack. If there are forward entries in the stack, they will be removed.\n"
] ,
"label" : "push" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 113
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.ScopedHistory.replace" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.replace.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "pathOrLocation" ,
"isRequired" : true ,
"signature" : [
"string | " ,
"LocationDescriptorObject" ,
"<HistoryLocationState>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 132
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.replace.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "state" ,
"isRequired" : false ,
"signature" : [
"HistoryLocationState | undefined"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 133
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(pathOrLocation: string | " ,
"LocationDescriptorObject" ,
"<HistoryLocationState>, state?: HistoryLocationState | undefined) => void"
] ,
"description" : [
"\nReplaces the current location in the history stack. Does not remove forward or backward entries.\n"
] ,
"label" : "replace" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 131
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.ScopedHistory.go" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.go.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "number" ,
"label" : "n" ,
"isRequired" : true ,
"signature" : [
"number"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 150
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(n: number) => void"
] ,
"description" : [
"\nSend the user forward or backwards in the history stack.\n"
] ,
"label" : "go" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 150
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.ScopedHistory.goBack" ,
"type" : "Function" ,
"children" : [ ] ,
"signature" : [
"() => void"
] ,
"description" : [
"\nSend the user one location back in the history stack. Equivalent to calling\n{@link ScopedHistory.go | ScopedHistory.go(-1)}. If no more entries are available backwards, this is a no-op."
] ,
"label" : "goBack" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 168
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.ScopedHistory.goForward" ,
"type" : "Function" ,
"children" : [ ] ,
"signature" : [
"() => void"
] ,
"description" : [
"\nSend the user one location forward in the history stack. Equivalent to calling\n{@link ScopedHistory.go | ScopedHistory.go(1)}. If no more entries are available forwards, this is a no-op."
] ,
"label" : "goForward" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 177
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.ScopedHistory.block" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.block.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "prompt" ,
"isRequired" : false ,
"signature" : [
"string | boolean | " ,
"History" ,
".TransitionPromptHook<HistoryLocationState> | undefined"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 186
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(prompt?: string | boolean | " ,
"History" ,
".TransitionPromptHook<HistoryLocationState> | undefined) => " ,
"UnregisterCallback"
] ,
"description" : [
"\nAdd a block prompt requesting user confirmation when navigating away from the current page."
] ,
"label" : "block" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 185
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.ScopedHistory.listen" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.listen.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"label" : "listener" ,
"isRequired" : true ,
"signature" : [
"(location: " ,
"Location" ,
"<HistoryLocationState>, action: " ,
"Action" ,
") => void"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 206
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(listener: (location: " ,
"Location" ,
"<HistoryLocationState>, action: " ,
"Action" ,
") => void) => " ,
"UnregisterCallback"
] ,
"description" : [
"\nAdds a listener for location updates.\n"
] ,
"label" : "listen" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 205
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [
"an function to unsubscribe the listener."
]
} ,
{
"id" : "def-public.ScopedHistory.createHref" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.createHref.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "location" ,
"isRequired" : true ,
"signature" : [
"LocationDescriptorObject" ,
"<HistoryLocationState>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 223
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.createHref.$2.prependBasePathtrue" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "{ prependBasePath = true }" ,
"tags" : [ ] ,
"description" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.ScopedHistory.createHref.$2.prependBasePathtrue.prependBasePath" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "prependBasePath" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 224
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"boolean | undefined"
]
}
] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 224
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(location: " ,
"LocationDescriptorObject" ,
"<HistoryLocationState>, { prependBasePath }?: { prependBasePath?: boolean | undefined; }) => string"
] ,
"description" : [
"\nCreates an href (string) to the location.\nIf `prependBasePath` is true (default), it will prepend the location's path with the scoped history basePath.\n"
] ,
"label" : "createHref" ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 222
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
}
] ,
"source" : {
"path" : "src/core/public/application/scoped_history.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"functions" : [ ] ,
"interfaces" : [
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.App" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-03-06 02:12:28 +01:00
"label" : "App" ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.App" ,
"text" : "App"
} ,
"<HistoryLocationState>"
] ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"tags" : [
"public"
] ,
"children" : [
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.App.id" ,
"type" : "string" ,
"label" : "id" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe unique identifier of the application"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 83
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.App.title" ,
"type" : "string" ,
"label" : "title" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe title of the application."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 88
2021-03-03 04:02:17 +01:00
}
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.App.category" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "category" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe category definition of the product\nSee {@link AppCategory}\nSee DEFAULT_APP_CATEGORIES for more reference"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 95
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"AppCategory" ,
2021-03-06 02:12:28 +01:00
" | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.App.status" ,
"type" : "CompoundType" ,
"label" : "status" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe initial status of the application.\nDefaulting to `accessible`"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 101
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppStatus" ,
"text" : "AppStatus"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
" | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.App.navLinkStatus" ,
"type" : "CompoundType" ,
"label" : "navLinkStatus" ,
"description" : [
"\nThe initial status of the application's navLink.\nDefaulting to `visible` if `status` is `accessible` and `hidden` if status is `inaccessible`\nSee {@link AppNavLinkStatus}"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 108
} ,
2021-03-03 04:02:17 +01:00
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppNavLinkStatus" ,
"text" : "AppNavLinkStatus"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
" | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.defaultPath" ,
"type" : "string" ,
"label" : "defaultPath" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nAllow to define the default path a user should be directed to when navigating to the app.\nWhen defined, this value will be used as a default for the `path` option when calling {@link ApplicationStart.navigateToApp | navigateToApp}`,\nand will also be appended to the {@link ChromeNavLink | application navLink} in the navigation bar."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 115
} ,
"signature" : [
"string | undefined"
]
2021-03-03 04:02:17 +01:00
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.App.updater$" ,
"type" : "Object" ,
"label" : "updater$" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nAn {@link AppUpdater} observable that can be used to update the application {@link AppUpdatableFields} at runtime.\n"
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 149
} ,
"signature" : [
"Observable" ,
"<" ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppUpdater" ,
"text" : "AppUpdater"
} ,
"> | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.order" ,
"type" : "number" ,
"label" : "order" ,
"description" : [
"\nAn ordinal used to sort nav links relative to one another for display."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 154
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"number | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.tooltip" ,
"type" : "string" ,
"label" : "tooltip" ,
"description" : [
"\nA tooltip shown when hovering over app link."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 159
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.euiIconType" ,
"type" : "string" ,
"label" : "euiIconType" ,
"description" : [
"\nA EUI iconType that will be used for the app's icon. This icon\ntakes precendence over the `icon` property."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 165
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.icon" ,
"type" : "string" ,
"label" : "icon" ,
"description" : [
"\nA URL to an image file used as an icon. Used as a fallback\nif `euiIconType` is not provided."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 171
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.capabilities" ,
"type" : "Object" ,
"label" : "capabilities" ,
"description" : [
"\nCustom capabilities defined by the app."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 176
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Partial<" ,
2021-04-15 17:36:10 +02:00
"Capabilities" ,
2021-03-03 04:02:17 +01:00
"> | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.chromeless" ,
"type" : "CompoundType" ,
"label" : "chromeless" ,
"description" : [
"\nHide the UI chrome when the application is mounted. Defaults to `false`.\nTakes precedence over chrome service visibility settings."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 182
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"boolean | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.mount" ,
"type" : "Function" ,
"label" : "mount" ,
"description" : [
"\nA mount function called when the user navigates to this app's route."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 187
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppMount" ,
"text" : "AppMount"
} ,
"<HistoryLocationState>"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.appRoute" ,
"type" : "string" ,
"label" : "appRoute" ,
"description" : [
"\nOverride the application's routing path from `/app/${id}`.\nMust be unique across registered applications. Should not include the\nbase path from HTTP."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 194
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.exactRoute" ,
"type" : "CompoundType" ,
"label" : "exactRoute" ,
"description" : [
"\nIf set to true, the application's route will only be checked against an exact match. Defaults to `false`.\n"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 212
} ,
"signature" : [
"boolean | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.App.meta" ,
"type" : "Object" ,
"label" : "meta" ,
"description" : [
"\nMeta data for an application that represent additional information for the app.\nSee {@link AppMeta}\n"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 244
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppMeta" ,
"text" : "AppMeta"
} ,
" | undefined"
]
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 79
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.AppLeaveConfirmAction" ,
"type" : "Interface" ,
"label" : "AppLeaveConfirmAction" ,
"description" : [
"\nAction to return from a {@link AppLeaveHandler} to show a confirmation\nmessage when trying to leave an application.\n\nSee {@link AppLeaveActionFactory}\n"
] ,
"tags" : [
"public"
] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.AppLeaveConfirmAction.type" ,
"type" : "string" ,
"label" : "type" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 566
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppLeaveActionType" ,
"text" : "AppLeaveActionType"
} ,
".confirm"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.AppLeaveConfirmAction.text" ,
"type" : "string" ,
"label" : "text" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 567
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.AppLeaveConfirmAction.title" ,
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 568
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.AppLeaveConfirmAction.callback" ,
"type" : "Function" ,
"label" : "callback" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 569
} ,
"signature" : [
"(() => void) | undefined"
]
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 565
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.AppLeaveDefaultAction" ,
"type" : "Interface" ,
"label" : "AppLeaveDefaultAction" ,
"description" : [
"\nAction to return from a {@link AppLeaveHandler} to execute the default\nbehaviour when leaving the application.\n\nSee {@link AppLeaveActionFactory}\n"
] ,
"tags" : [
"public"
] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.AppLeaveDefaultAction.type" ,
"type" : "string" ,
"label" : "type" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 554
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppLeaveActionType" ,
"text" : "AppLeaveActionType"
} ,
".default"
]
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 553
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.ApplicationSetup" ,
"type" : "Interface" ,
"label" : "ApplicationSetup" ,
"description" : [ ] ,
"tags" : [
"public"
] ,
"children" : [
{
"id" : "def-public.ApplicationSetup.register" ,
"type" : "Function" ,
"label" : "register" ,
"signature" : [
"<HistoryLocationState = unknown>(app: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.App" ,
"text" : "App"
} ,
"<HistoryLocationState>) => void"
] ,
"description" : [
"\nRegister an mountable application to the system."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationSetup.register.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "app" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.App" ,
"text" : "App"
} ,
"<HistoryLocationState>"
] ,
"description" : [
"- an {@link App}"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 626
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 626
}
} ,
{
"id" : "def-public.ApplicationSetup.registerAppUpdater" ,
"type" : "Function" ,
"label" : "registerAppUpdater" ,
"signature" : [
"(appUpdater$: " ,
"Observable" ,
"<" ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppUpdater" ,
"text" : "AppUpdater"
} ,
">) => void"
] ,
"description" : [
"\nRegister an application updater that can be used to change the {@link AppUpdatableFields} fields\nof all applications at runtime.\n\nThis is meant to be used by plugins that needs to updates the whole list of applications.\nTo only updates a specific application, use the `updater$` property of the registered application instead.\n"
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationSetup.registerAppUpdater.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "appUpdater$" ,
"isRequired" : true ,
"signature" : [
"Observable" ,
"<" ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppUpdater" ,
"text" : "AppUpdater"
} ,
">"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 655
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 655
}
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 620
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.ApplicationStart" ,
"type" : "Interface" ,
"label" : "ApplicationStart" ,
"description" : [ ] ,
"tags" : [
"public"
] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.ApplicationStart.capabilities" ,
"type" : "Object" ,
"label" : "capabilities" ,
"description" : [
"\nGets the read-only capabilities."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 695
} ,
"signature" : [
"Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.ApplicationStart.applications$" ,
"type" : "Object" ,
"label" : "applications$" ,
"description" : [
"\nObservable emitting the list of currently registered apps and their associated status.\n"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 704
} ,
"signature" : [
"Observable" ,
"<ReadonlyMap<string, " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.PublicAppInfo" ,
"text" : "PublicAppInfo"
} ,
">>"
]
} ,
{
"id" : "def-public.ApplicationStart.navigateToApp" ,
"type" : "Function" ,
"label" : "navigateToApp" ,
"signature" : [
"(appId: string, options?: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.NavigateToAppOptions" ,
"text" : "NavigateToAppOptions"
} ,
" | undefined) => Promise<void>"
] ,
"description" : [
"\nNavigate to a given app\n"
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationStart.navigateToApp.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "appId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 712
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationStart.navigateToApp.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "options" ,
"isRequired" : false ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.NavigateToAppOptions" ,
"text" : "NavigateToAppOptions"
} ,
" | undefined"
] ,
"description" : [
"- navigation options"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 712
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 712
}
} ,
{
"id" : "def-public.ApplicationStart.navigateToUrl" ,
"type" : "Function" ,
"label" : "navigateToUrl" ,
"signature" : [
"(url: string) => Promise<void>"
] ,
"description" : [
"\nNavigate to given URL in a SPA friendly way when possible (when the URL will redirect to a valid application\nwithin the current basePath).\n\nThe method resolves pathnames the same way browsers do when resolving a `<a href>` value. The provided `url` can be:\n- an absolute URL\n- an absolute path\n- a path relative to the current URL (window.location.href)\n\nIf all these criteria are true for the given URL:\n- (only for absolute URLs) The origin of the URL matches the origin of the browser's current location\n- The resolved pathname of the provided URL/path starts with the current basePath (eg. /mybasepath/s/my-space)\n- The pathname segment after the basePath matches any known application route (eg. /app/<id>/ or any application's `appRoute` configuration)\n\nThen a SPA navigation will be performed using `navigateToApp` using the corresponding application and path.\nOtherwise, fallback to a full page reload to navigate to the url using `window.location.assign`\n"
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationStart.navigateToUrl.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "url" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [
"- an absolute URL, an absolute path or a relative path, to navigate to."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 750
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 750
}
} ,
{
"id" : "def-public.ApplicationStart.getUrlForApp" ,
"type" : "Function" ,
"label" : "getUrlForApp" ,
"signature" : [
"(appId: string, options?: { path?: string | undefined; absolute?: boolean | undefined; } | undefined) => string"
] ,
"description" : [
"\nReturns the absolute path (or URL) to a given app, including the global base path.\n\nBy default, it returns the absolute path of the application (e.g `/basePath/app/my-app`).\nUse the `absolute` option to generate an absolute url instead (e.g `http://host:port/basePath/app/my-app`)\n\nNote that when generating absolute urls, the origin (protocol, host and port) are determined from the browser's current location.\n"
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationStart.getUrlForApp.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "appId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 764
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationStart.getUrlForApp.$2.options" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "options" ,
"tags" : [ ] ,
"description" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationStart.getUrlForApp.$2.options.path" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "path" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 764
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.ApplicationStart.getUrlForApp.$2.options.absolute" ,
2021-03-06 02:12:28 +01:00
"type" : "CompoundType" ,
"label" : "absolute" ,
"description" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 764
} ,
"signature" : [
"boolean | undefined"
]
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 764
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 764
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ApplicationStart.currentAppId$" ,
"type" : "Object" ,
"label" : "currentAppId$" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nAn observable that emits the current application id and each subsequent id update."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 769
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"Observable" ,
"<string | undefined>"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 691
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.AppMeta" ,
"type" : "Interface" ,
"label" : "AppMeta" ,
"description" : [
"\nInput type for meta data for an application.\n\nMeta fields include `keywords` and `searchDeepLinks`\nKeywords is an array of string with which to associate the app, must include at least one unique string as an array.\n`searchDeepLinks` is an array of links that represent secondary in-app locations for the app."
] ,
"tags" : [
"public"
] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.AppMeta.keywords" ,
"type" : "Array" ,
"label" : "keywords" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"Keywords to represent this application"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 257
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"string[] | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.AppMeta.searchDeepLinks" ,
"type" : "Array" ,
"label" : "searchDeepLinks" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"Array of links that represent secondary in-app locations for the app."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 259
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppSearchDeepLink" ,
"text" : "AppSearchDeepLink"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"[] | undefined"
2021-03-03 04:02:17 +01:00
]
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 255
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.AppMountParameters" ,
"type" : "Interface" ,
"label" : "AppMountParameters" ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppMountParameters" ,
"text" : "AppMountParameters"
} ,
"<HistoryLocationState>"
] ,
"description" : [ ] ,
"tags" : [
"public"
] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.AppMountParameters.element" ,
"type" : "Object" ,
"label" : "element" ,
"description" : [
"\nThe container element to render the application into."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 353
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"HTMLElement"
]
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.AppMountParameters.history" ,
"type" : "Object" ,
"label" : "history" ,
"description" : [
"\nA scoped history instance for your application. Should be used to wire up\nyour applications Router.\n"
2021-03-06 02:12:28 +01:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 399
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.ScopedHistory" ,
"text" : "ScopedHistory"
} ,
"<HistoryLocationState>"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"tags" : [
"deprecated"
] ,
"id" : "def-public.AppMountParameters.appBasePath" ,
"type" : "string" ,
"label" : "appBasePath" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe route path for configuring navigation to the application.\nThis string should not include the base path from HTTP.\n"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
"lineNumber" : 449
}
} ,
{
"tags" : [
"deprecated"
] ,
"id" : "def-public.AppMountParameters.onAppLeave" ,
"type" : "Function" ,
"label" : "onAppLeave" ,
"description" : [
"\nA function that can be used to register a handler that will be called\nwhen the user is leaving the current application, allowing to\nprompt a confirmation message before actually changing the page.\n\nThis will be called either when the user goes to another application, or when\ntrying to close the tab or manually changing the url.\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 484
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(handler: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppLeaveHandler" ,
"text" : "AppLeaveHandler"
} ,
") => void"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppMountParameters.setHeaderActionMenu" ,
"type" : "Function" ,
"label" : "setHeaderActionMenu" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nA function that can be used to set the mount point used to populate the application action container\nin the chrome header.\n\nCalling the handler multiple time will erase the current content of the action menu with the mount from the latest call.\nCalling the handler with `undefined` will unmount the current mount point.\nCalling the handler after the application has been unmounted will have no effect.\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 515
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(menuMount: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
2021-03-06 02:12:28 +01:00
"docId" : "kibCorePluginApi" ,
"section" : "def-public.MountPoint" ,
"text" : "MountPoint"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<HTMLElement> | undefined) => void"
2021-03-03 04:02:17 +01:00
]
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 349
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.NavigateToAppOptions" ,
"type" : "Interface" ,
"label" : "NavigateToAppOptions" ,
"description" : [
"\nOptions for the {@link ApplicationStart.navigateToApp | navigateToApp API}"
] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.NavigateToAppOptions.path" ,
"type" : "string" ,
"label" : "path" ,
"description" : [
"\noptional path inside application to deep link to.\nIf undefined, will use {@link App.defaultPath | the app's default path}` as default."
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 679
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.NavigateToAppOptions.state" ,
"type" : "Unknown" ,
"label" : "state" ,
"description" : [
"\noptional state to forward to the application"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 683
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"unknown"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.NavigateToAppOptions.replace" ,
"type" : "CompoundType" ,
"label" : "replace" ,
"description" : [
"\nif true, will not create a new history entry when navigating (using `replace` instead of `push`)"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 687
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"boolean | undefined"
]
}
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 674
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"enums" : [
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppLeaveActionType" ,
2021-03-03 04:02:17 +01:00
"type" : "Enum" ,
2021-03-06 02:12:28 +01:00
"label" : "AppLeaveActionType" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nPossible type of actions on application leave.\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 540
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppNavLinkStatus" ,
2021-03-03 04:02:17 +01:00
"type" : "Enum" ,
2021-03-06 02:12:28 +01:00
"label" : "AppNavLinkStatus" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nStatus of the application's navLink.\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 40
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppStatus" ,
2021-03-03 04:02:17 +01:00
"type" : "Enum" ,
2021-03-06 02:12:28 +01:00
"label" : "AppStatus" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nAccessibility status of an application.\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"misc" : [
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppLeaveAction" ,
2021-03-03 04:02:17 +01:00
"type" : "Type" ,
2021-03-06 02:12:28 +01:00
"label" : "AppLeaveAction" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nPossible actions to return from a {@link AppLeaveHandler}\n\nSee {@link AppLeaveConfirmAction} and {@link AppLeaveDefaultAction}\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 579
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppLeaveDefaultAction" ,
"text" : "AppLeaveDefaultAction"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
" | " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppLeaveConfirmAction" ,
"text" : "AppLeaveConfirmAction"
}
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppLeaveHandler" ,
2021-03-03 04:02:17 +01:00
"type" : "Type" ,
2021-03-06 02:12:28 +01:00
"label" : "AppLeaveHandler" ,
2021-03-03 04:02:17 +01:00
"tags" : [
2021-03-06 02:12:28 +01:00
"public" ,
"deprecated"
2021-03-03 04:02:17 +01:00
] ,
"description" : [
2021-03-10 16:46:31 +01:00
"\nA handler that will be executed before leaving the application, either when\ngoing to another application or when closing the browser tab or manually changing\nthe url.\nShould return `confirm` to prompt a message to the user before leaving the page, or `default`\nto keep the default behavior (doing nothing).\n\nSee {@link AppMountParameters} for detailed usage examples.\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 530
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(factory: " ,
"AppLeaveActionFactory" ,
", nextAppId: string | undefined) => " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppLeaveAction" ,
"text" : "AppLeaveAction"
}
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppMount" ,
2021-03-03 04:02:17 +01:00
"type" : "Type" ,
2021-03-06 02:12:28 +01:00
"label" : "AppMount" ,
2021-03-03 04:02:17 +01:00
"tags" : [
2021-03-06 02:12:28 +01:00
"public"
2021-03-03 04:02:17 +01:00
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nA mount function called when the user navigates to this app's route.\n"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 338
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(params: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppMountParameters" ,
"text" : "AppMountParameters"
} ,
"<HistoryLocationState>) => " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppUnmount" ,
"text" : "AppUnmount"
} ,
" | Promise<" ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
"section" : "def-public.AppUnmount" ,
"text" : "AppUnmount"
} ,
">"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppSearchDeepLink" ,
2021-03-03 04:02:17 +01:00
"type" : "Type" ,
2021-03-06 02:12:28 +01:00
"label" : "AppSearchDeepLink" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nInput type for registering secondary in-app locations for an application.\n\nDeep links must include at least one of `path` or `searchDeepLinks`. A deep link that does not have a `path`\nrepresents a topological level in the application's hierarchy, but does not have a destination URL that is\nuser-accessible."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 293
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"{ id: string; title: string; } & { path: string; searchDeepLinks?: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppSearchDeepLink" ,
"text" : "AppSearchDeepLink"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"[] | undefined; keywords?: string[] | undefined; } | { id: string; title: string; } & { path?: string | undefined; searchDeepLinks: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.AppSearchDeepLink" ,
"text" : "AppSearchDeepLink"
} ,
"[]; keywords?: string[] | undefined; }"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppUnmount" ,
2021-03-03 04:02:17 +01:00
"type" : "Type" ,
2021-03-06 02:12:28 +01:00
"label" : "AppUnmount" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nA function called when an application should be unmounted from the page. This function should be synchronous."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 346
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"() => void"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppUpdatableFields" ,
2021-03-03 04:02:17 +01:00
"type" : "Type" ,
2021-03-06 02:12:28 +01:00
"label" : "AppUpdatableFields" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nDefines the list of fields that can be updated via an {@link AppUpdater}."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 64
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"{ status?: AppStatus | undefined; meta?: AppMeta | undefined; navLinkStatus?: AppNavLinkStatus | undefined; defaultPath?: string | undefined; tooltip?: string | undefined; }"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.AppUpdater" ,
2021-03-03 04:02:17 +01:00
"type" : "Type" ,
2021-03-06 02:12:28 +01:00
"label" : "AppUpdater" ,
2021-03-03 04:02:17 +01:00
"tags" : [
"public"
] ,
"description" : [
2021-03-06 02:12:28 +01:00
"\nUpdater for applications.\nsee {@link ApplicationSetup}"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 74
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(app: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.App" ,
"text" : "App"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<unknown>) => Partial<Pick<" ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreApplicationPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.App" ,
"text" : "App"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<unknown>, \"status\" | \"meta\" | \"navLinkStatus\" | \"defaultPath\" | \"tooltip\">> | undefined"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.PublicAppInfo" ,
"type" : "Type" ,
"label" : "PublicAppInfo" ,
"tags" : [
"public"
] ,
"description" : [
"\nPublic information about a registered {@link App | application}\n"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 322
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-23 19:31:08 +01:00
"Pick<App<unknown>, \"status\" | \"title\" | \"id\" | \"order\" | \"category\" | \"navLinkStatus\" | \"defaultPath\" | \"tooltip\" | \"euiIconType\" | \"icon\" | \"capabilities\" | \"chromeless\" | \"appRoute\" | \"exactRoute\"> & { status: AppStatus; navLinkStatus: AppNavLinkStatus; appRoute: string; meta: PublicAppMetaInfo; }"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.PublicAppMetaInfo" ,
"type" : "Type" ,
"label" : "PublicAppMetaInfo" ,
"tags" : [
"public"
] ,
"description" : [
"\nPublic information about a registered app's {@link AppMeta | keywords }\n"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 267
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Pick<AppMeta, never> & { keywords: string[]; searchDeepLinks: PublicAppSearchDeepLinkInfo[]; }"
] ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.PublicAppSearchDeepLinkInfo" ,
"type" : "Type" ,
"label" : "PublicAppSearchDeepLinkInfo" ,
"tags" : [
"public"
] ,
"description" : [
"\nPublic information about a registered app's {@link AppSearchDeepLink | searchDeepLinks}\n"
] ,
"source" : {
"path" : "src/core/public/application/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 277
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-23 19:31:08 +01:00
"Pick<AppSearchDeepLink, \"title\" | \"id\" | \"path\"> & { searchDeepLinks: PublicAppSearchDeepLinkInfo[]; keywords: string[]; }"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
] ,
"objects" : [ ]
} ,
"server" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
} ,
"common" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
}
}