2021-03-03 04:02:17 +01:00
{
"id" : "uiActions" ,
"client" : {
"classes" : [
2021-03-06 02:12:28 +01:00
{
"id" : "def-public.IncompatibleActionError" ,
"type" : "Class" ,
"tags" : [ ] ,
"label" : "IncompatibleActionError" ,
"description" : [ ] ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.IncompatibleActionError" ,
"text" : "IncompatibleActionError"
} ,
" extends Error"
] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.IncompatibleActionError.code" ,
"type" : "string" ,
"label" : "code" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/incompatible_action_error.ts" ,
"lineNumber" : 12
}
} ,
{
"id" : "def-public.IncompatibleActionError.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/incompatible_action_error.ts" ,
"lineNumber" : 14
}
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/incompatible_action_error.ts" ,
"lineNumber" : 11
} ,
"initialIsOpen" : false
} ,
2021-03-03 04:02:17 +01:00
{
"id" : "def-public.UiActionsService" ,
"type" : "Class" ,
"tags" : [ ] ,
"label" : "UiActionsService" ,
"description" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.UiActionsService.executionService" ,
"type" : "Object" ,
"label" : "executionService" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 27
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"UiActionsExecutionService"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.UiActionsService.triggers" ,
"type" : "Object" ,
"label" : "triggers" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 28
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"TriggerRegistry"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.UiActionsService.actions" ,
"type" : "Object" ,
"label" : "actions" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"ActionRegistry"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.UiActionsService.triggerToActions" ,
"type" : "Object" ,
"label" : "triggerToActions" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 30
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"TriggerToActionsRegistry"
2021-03-03 04:02:17 +01:00
]
} ,
{
"id" : "def-public.UiActionsService.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.Unnamed.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "{\n triggers = new Map(),\n actions = new Map(),\n triggerToActions = new Map(),\n }" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.UiActionsServiceParams" ,
"text" : "UiActionsServiceParams"
}
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 32
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 32
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.UiActionsService.registerTrigger" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.registerTrigger.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "trigger" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Trigger" ,
"text" : "Trigger"
}
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 42
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(trigger: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Trigger" ,
"text" : "Trigger"
} ,
") => void"
] ,
"description" : [ ] ,
"label" : "registerTrigger" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 42
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.getTrigger" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.getTrigger.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "triggerId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 53
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(triggerId: string) => " ,
2021-04-15 17:36:10 +02:00
"TriggerContract" ,
2021-03-03 04:02:17 +01:00
"<object>"
] ,
"description" : [ ] ,
"label" : "getTrigger" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 53
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.registerAction" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.registerAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "definition" ,
"isRequired" : true ,
"signature" : [
"A"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 64
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"<A extends " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionDefinition" ,
"text" : "ActionDefinition"
} ,
"<object>>(definition: A) => " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
"ActionContext" ,
2021-03-03 04:02:17 +01:00
"<A>>"
] ,
"description" : [ ] ,
"label" : "registerAction" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 63
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.unregisterAction" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.unregisterAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "actionId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 77
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(actionId: string) => void"
] ,
"description" : [ ] ,
"label" : "unregisterAction" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 77
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.hasAction" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.hasAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "actionId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 85
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(actionId: string) => boolean"
] ,
"description" : [ ] ,
"label" : "hasAction" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 85
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.attachAction" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.attachAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "triggerId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.attachAction.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "actionId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(triggerId: string, actionId: string) => void"
] ,
"description" : [ ] ,
"label" : "attachAction" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.detachAction" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.detachAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "triggerId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 105
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.detachAction.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "actionId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 105
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(triggerId: string, actionId: string) => void"
] ,
"description" : [ ] ,
"label" : "detachAction" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 105
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.addTriggerAction" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.addTriggerAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "triggerId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 127
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.addTriggerAction.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "action" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionDefinition" ,
"text" : "ActionDefinition"
} ,
"<object>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 128
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(triggerId: string, action: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionDefinition" ,
"text" : "ActionDefinition"
} ,
"<object>) => void"
] ,
"description" : [
"\n`addTriggerAction` is similar to `attachAction` as it attaches action to a\ntrigger, but it also registers the action, if it has not been registered, yet."
] ,
"label" : "addTriggerAction" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 126
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.getAction" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.getAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "id" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 135
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"<T extends " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionDefinition" ,
"text" : "ActionDefinition"
} ,
"<object>>(id: string) => " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
"ActionContext" ,
2021-03-03 04:02:17 +01:00
"<T>>"
] ,
"description" : [ ] ,
"label" : "getAction" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 134
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.getTriggerActions" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.getTriggerActions.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "triggerId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 144
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(triggerId: string) => " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<object>[]"
] ,
"description" : [ ] ,
"label" : "getTriggerActions" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 144
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.getTriggerCompatibleActions" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.getTriggerCompatibleActions.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "triggerId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 158
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.getTriggerCompatibleActions.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
"object"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 159
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(triggerId: string, context: object) => Promise<" ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<object>[]>"
] ,
"description" : [ ] ,
"label" : "getTriggerCompatibleActions" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 157
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.executeTriggerActions" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.executeTriggerActions.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "triggerId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 181
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.UiActionsService.executeTriggerActions.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
"object"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 181
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(triggerId: string, context: object) => Promise<void>"
] ,
"description" : [ ] ,
"label" : "executeTriggerActions" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 181
2021-03-03 04:02:17 +01:00
} ,
"tags" : [
"deprecated"
] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.clear" ,
"type" : "Function" ,
"children" : [ ] ,
"signature" : [
"() => void"
] ,
"description" : [
"\nRemoves all registered triggers and actions."
] ,
"label" : "clear" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 189
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
} ,
{
"id" : "def-public.UiActionsService.fork" ,
"type" : "Function" ,
"children" : [ ] ,
"signature" : [
"() => " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.UiActionsService" ,
"text" : "UiActionsService"
}
] ,
"description" : [
"\n\"Fork\" a separate instance of `UiActionsService` that inherits all existing\ntriggers and actions, but going forward all new triggers and actions added\nto this instance of `UiActionsService` are only available within this instance."
] ,
"label" : "fork" ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 200
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ]
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 26
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
}
] ,
"functions" : [
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.buildContextMenuForActions" ,
"type" : "Function" ,
"label" : "buildContextMenuForActions" ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"({\n actions,\n title = defaultTitle,\n closeMenu = () => {},\n}: " ,
"BuildContextMenuParams" ,
") => Promise<" ,
"EuiContextMenuPanelDescriptor" ,
"[]>"
] ,
"description" : [
"\nTransforms an array of Actions to the shape EuiContextMenuPanel expects."
2021-03-03 04:02:17 +01:00
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.buildContextMenuForActions.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "{\n actions,\n title = defaultTitle,\n closeMenu = () => {},\n}" ,
"isRequired" : true ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-04-15 17:36:10 +02:00
"BuildContextMenuParams"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx" ,
"lineNumber" : 120
2021-03-03 04:02:17 +01:00
}
}
] ,
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"returnComment" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx" ,
"lineNumber" : 120
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
"id" : "def-public.createAction" ,
"type" : "Function" ,
"label" : "createAction" ,
"signature" : [
"(action: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionDefinition" ,
"text" : "ActionDefinition"
} ,
"<Context>) => " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<Context>"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.createAction.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "action" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionDefinition" ,
"text" : "ActionDefinition"
} ,
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/create_action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/create_action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"interfaces" : [
{
"id" : "def-public.Action" ,
"type" : "Interface" ,
"label" : "Action" ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<Context> extends Partial<" ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Presentable" ,
"text" : "Presentable"
} ,
"<" ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>>>"
] ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.Action.order" ,
"type" : "number" ,
"label" : "order" ,
"description" : [
"\nDetermined the order when there is more than one action matched to a trigger.\nHigher numbers are displayed first."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 44
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"number | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.Action.id" ,
"type" : "string" ,
"label" : "id" ,
"description" : [
"\nA unique identifier for this action instance."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 49
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.Action.type" ,
"type" : "string" ,
"label" : "type" ,
"description" : [
"\nThe action type is what determines the context shape."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 54
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Action.getIconType" ,
"type" : "Function" ,
"label" : "getIconType" ,
"signature" : [
"(context: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>) => string | undefined"
] ,
"description" : [
"\nOptional EUI icon type that can be displayed along with the title."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Action.getIconType.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 59
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 59
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Action.getDisplayName" ,
"type" : "Function" ,
"label" : "getDisplayName" ,
"signature" : [
"(context: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>) => string"
] ,
"description" : [
"\nReturns a title to be displayed to the user."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Action.getDisplayName.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 65
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 65
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.Action.MenuItem" ,
"type" : "Function" ,
"label" : "MenuItem" ,
"description" : [
"\n`UiComponent` to render when displaying this action as a context menu item.\nIf not provided, `getDisplayName` will be used instead."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 71
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "kibanaUtils" ,
"scope" : "common" ,
"docId" : "kibKibanaUtilsPluginApi" ,
"section" : "def-common.UiComponent" ,
"text" : "UiComponent"
} ,
"<{ context: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>; }> | undefined"
]
} ,
{
"id" : "def-public.Action.isCompatible" ,
"type" : "Function" ,
"label" : "isCompatible" ,
"signature" : [
"(context: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>) => Promise<boolean>"
] ,
"description" : [
"\nReturns a promise that resolves to true if this action is compatible given the context,\notherwise resolves to false."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Action.isCompatible.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 77
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 77
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Action.execute" ,
"type" : "Function" ,
"label" : "execute" ,
"signature" : [
"(context: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>) => Promise<void>"
] ,
"description" : [
"\nExecutes the action."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Action.execute.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 82
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 82
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Action.getHref" ,
"type" : "Function" ,
"label" : "getHref" ,
"signature" : [
"((context: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>) => Promise<string | undefined>) | undefined"
] ,
"description" : [
"\nThis method should return a link if this item can be clicked on. The link\nis used to navigate user if user middle-clicks it or Ctrl + clicks or\nright-clicks and selects \"Open in new tab\"."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Action.getHref.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Action.shouldAutoExecute" ,
"type" : "Function" ,
"label" : "shouldAutoExecute" ,
"signature" : [
"((context: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>) => Promise<boolean>) | undefined"
] ,
"description" : [
"\nDetermines if action should be executed automatically,\nwithout first showing up in context menu.\nfalse by default."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Action.shouldAutoExecute.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionExecutionContext" ,
"text" : "ActionExecutionContext"
} ,
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 96
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 96
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 38
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.ActionDefinition" ,
"type" : "Interface" ,
"label" : "ActionDefinition" ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.ActionDefinition" ,
"text" : "ActionDefinition"
} ,
"<Context> extends Partial<" ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Presentable" ,
"text" : "Presentable"
} ,
"<" ,
"ActionDefinitionContext" ,
"<Context>>>"
] ,
"description" : [
"\nA convenience interface used to register an action."
] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.ActionDefinition.id" ,
"type" : "string" ,
"label" : "id" ,
"description" : [
"\nID of the action that uniquely identifies this action in the actions registry."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 107
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.ActionDefinition.type" ,
"type" : "string" ,
"label" : "type" ,
"description" : [
"\nID of the factory for this action. Used to construct dynamic actions."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 112
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"id" : "def-public.ActionDefinition.isCompatible" ,
"type" : "Function" ,
"label" : "isCompatible" ,
"signature" : [
"((context: " ,
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>) => Promise<boolean>) | undefined"
] ,
"description" : [
"\nReturns a promise that resolves to true if this item is compatible given\nthe context and should be displayed to user, otherwise resolves to false."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ActionDefinition.isCompatible.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 118
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 118
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.ActionDefinition.execute" ,
"type" : "Function" ,
"label" : "execute" ,
"signature" : [
"(context: " ,
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>) => Promise<void>"
] ,
"description" : [
"\nExecutes the action."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ActionDefinition.execute.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 123
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 123
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.ActionDefinition.shouldAutoExecute" ,
"type" : "Function" ,
"label" : "shouldAutoExecute" ,
"signature" : [
"((context: " ,
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>) => Promise<boolean>) | undefined"
] ,
"description" : [
"\nDetermines if action should be executed automatically,\nwithout first showing up in context menu.\nfalse by default."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ActionDefinition.shouldAutoExecute.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 130
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 130
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.ActionDefinition.getHref" ,
"type" : "Function" ,
"label" : "getHref" ,
"signature" : [
"((context: " ,
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>) => Promise<string | undefined>) | undefined"
] ,
"description" : [
"\nThis method should return a link if this item can be clicked on. The link\nis used to navigate user if user middle-clicks it or Ctrl + clicks or\nright-clicks and selects \"Open in new tab\"."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.ActionDefinition.getHref.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"ActionDefinitionContext" ,
2021-03-03 04:02:17 +01:00
"<Context>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 137
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 137
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 102
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.ActionExecutionMeta" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-03-06 02:12:28 +01:00
"label" : "ActionExecutionMeta" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nDuring action execution we can provide additional information,\nfor example, trigger, that caused the action execution"
2021-03-03 04:02:17 +01:00
] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ActionExecutionMeta.trigger" ,
"type" : "Object" ,
"label" : "trigger" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nTrigger that executed the action"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
"lineNumber" : 21
} ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Trigger" ,
"text" : "Trigger"
}
]
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
"lineNumber" : 17
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.Presentable" ,
"type" : "Interface" ,
"label" : "Presentable" ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Presentable" ,
"text" : "Presentable"
} ,
"<Context>"
] ,
"description" : [
"\nRepresents something that can be displayed to user in UI."
] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.Presentable.id" ,
"type" : "string" ,
"label" : "id" ,
"description" : [
"\nID that uniquely identifies this object."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
"lineNumber" : 18
}
} ,
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
"id" : "def-public.Presentable.order" ,
"type" : "number" ,
"label" : "order" ,
"description" : [
"\nDetermines the display order in relation to other items. Higher numbers are\ndisplayed first."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.Presentable.MenuItem" ,
"type" : "Function" ,
"label" : "MenuItem" ,
"description" : [
"\n`UiComponent` to render when displaying this entity as a context menu item.\nIf not provided, `getDisplayName` will be used instead."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 30
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "kibanaUtils" ,
"scope" : "common" ,
"docId" : "kibKibanaUtilsPluginApi" ,
"section" : "def-common.UiComponent" ,
"text" : "UiComponent"
} ,
"<{ context: Context; }> | undefined"
]
} ,
{
"id" : "def-public.Presentable.getIconType" ,
"type" : "Function" ,
"label" : "getIconType" ,
"signature" : [
"(context: Context) => string | undefined"
] ,
"description" : [
"\nOptional EUI icon type that can be displayed along with the title."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Presentable.getIconType.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
"Context"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Presentable.getDisplayName" ,
"type" : "Function" ,
"label" : "getDisplayName" ,
"signature" : [
"(context: Context) => string"
] ,
"description" : [
"\nReturns a title to be displayed to the user."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Presentable.getDisplayName.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
"Context"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 40
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 40
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Presentable.getDisplayNameTooltip" ,
"type" : "Function" ,
"label" : "getDisplayNameTooltip" ,
"signature" : [
"(context: Context) => string"
] ,
"description" : [
"\nReturns tooltip text which should be displayed when user hovers this object.\nShould return empty string if tooltip should not be displayed."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Presentable.getDisplayNameTooltip.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
"Context"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 46
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 46
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Presentable.getHref" ,
"type" : "Function" ,
"label" : "getHref" ,
"signature" : [
"((context: Context) => Promise<string | undefined>) | undefined"
] ,
"description" : [
"\nThis method should return a link if this item can be clicked on. The link\nis used to navigate user if user middle-clicks it or Ctrl + clicks or\nright-clicks and selects \"Open in new tab\"."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Presentable.getHref.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
"Context"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 53
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 53
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Presentable.isCompatible" ,
"type" : "Function" ,
"label" : "isCompatible" ,
"signature" : [
"(context: Context) => Promise<boolean>"
] ,
"description" : [
"\nReturns a promise that resolves to true if this item is compatible given\nthe context and should be displayed to user, otherwise resolves to false."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Presentable.isCompatible.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
"Context"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 59
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 59
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.Presentable.grouping" ,
"type" : "Array" ,
"label" : "grouping" ,
"description" : [
"\nGrouping where this item should appear as a submenu. Each entry is a new\nsub-menu level. For example, used to show drilldowns and sharing options\nin panel context menu in a sub-menu."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 66
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.PresentableGrouping" ,
"text" : "PresentableGrouping"
} ,
"<Context> | undefined"
]
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 14
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.RowClickContext" ,
"type" : "Interface" ,
"label" : "RowClickContext" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.RowClickContext.embeddable" ,
"type" : "Unknown" ,
"label" : "embeddable" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 28
} ,
"signature" : [
"unknown"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.RowClickContext.data" ,
"type" : "Object" ,
"label" : "data" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 29
} ,
"signature" : [
"{ rowIndex: number; table: " ,
{
"pluginId" : "expressions" ,
"scope" : "common" ,
"docId" : "kibExpressionsPluginApi" ,
"section" : "def-common.Datatable" ,
"text" : "Datatable"
} ,
"; columns?: string[] | undefined; }"
]
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 25
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.Trigger" ,
"type" : "Interface" ,
"label" : "Trigger" ,
"description" : [
"\nThis is a convenience interface used to register a *trigger*.\n\n`Trigger` specifies a named anchor to which `Action` can be attached. When\n`Trigger` is being *called* it creates a `Context` object and passes it to\nthe `execute` method of an `Action`.\n\nMore than one action can be attached to a single trigger, in which case when\ntrigger is *called* it first displays a context menu for user to pick a\nsingle action to execute."
] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.Trigger.id" ,
"type" : "string" ,
"label" : "id" ,
"description" : [
"\nUnique name of the trigger as identified in `ui_actions` plugin trigger registry."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/triggers/trigger.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.Trigger.title" ,
"type" : "string" ,
"label" : "title" ,
"description" : [
"\nUser friendly name of the trigger."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/triggers/trigger.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.Trigger.description" ,
"type" : "string" ,
"label" : "description" ,
"description" : [
"\nA longer user friendly description of the trigger."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/triggers/trigger.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/triggers/trigger.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.UiActionsServiceParams" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-03-06 02:12:28 +01:00
"label" : "UiActionsServiceParams" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.UiActionsServiceParams.triggers" ,
"type" : "Object" ,
"label" : "triggers" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
"lineNumber" : 17
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"TriggerRegistry" ,
2021-03-06 02:12:28 +01:00
" | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.UiActionsServiceParams.actions" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "actions" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
"lineNumber" : 18
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"ActionRegistry" ,
2021-03-06 02:12:28 +01:00
" | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.UiActionsServiceParams.triggerToActions" ,
"type" : "Object" ,
"label" : "triggerToActions" ,
"description" : [
"\nA 1-to-N mapping from `Trigger` to zero or more `Action`."
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
"lineNumber" : 23
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"TriggerToActionsRegistry" ,
2021-03-06 02:12:28 +01:00
" | undefined"
2021-03-03 04:02:17 +01:00
]
}
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/service/ui_actions_service.ts" ,
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.VisualizeFieldContext" ,
"type" : "Interface" ,
"label" : "VisualizeFieldContext" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.VisualizeFieldContext.fieldName" ,
"type" : "string" ,
"label" : "fieldName" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 17
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.VisualizeFieldContext.indexPatternId" ,
"type" : "string" ,
"label" : "indexPatternId" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 18
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.VisualizeFieldContext.contextualFields" ,
"type" : "Array" ,
"label" : "contextualFields" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 19
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string[] | undefined"
]
}
] ,
"source" : {
"path" : "src/plugins/ui_actions/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"enums" : [ ] ,
"misc" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ACTION_VISUALIZE_FIELD" ,
"type" : "string" ,
"label" : "ACTION_VISUALIZE_FIELD" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/types.ts" ,
"lineNumber" : 22
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"ACTION_VISUALIZE_FIELD\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ACTION_VISUALIZE_GEO_FIELD" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "ACTION_VISUALIZE_GEO_FIELD" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/types.ts" ,
"lineNumber" : 23
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"ACTION_VISUALIZE_GEO_FIELD\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ACTION_VISUALIZE_LENS_FIELD" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "ACTION_VISUALIZE_LENS_FIELD" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/types.ts" ,
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"ACTION_VISUALIZE_LENS_FIELD\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.ActionExecutionContext" ,
"type" : "Type" ,
"label" : "ActionExecutionContext" ,
2021-03-03 04:02:17 +01:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"description" : [
"\nAction methods are executed with Context from trigger + {@link ActionExecutionMeta}"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/actions/action.ts" ,
"lineNumber" : 27
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"Context & ActionExecutionMeta"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.PresentableGrouping" ,
"type" : "Type" ,
"label" : "PresentableGrouping" ,
2021-03-03 04:02:17 +01:00
"tags" : [ ] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/util/presentable.ts" ,
"lineNumber" : 76
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"PresentableGroup<Context>[]"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ROW_CLICK_TRIGGER" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "ROW_CLICK_TRIGGER" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"ROW_CLICK_TRIGGER\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.VISUALIZE_FIELD_TRIGGER" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "VISUALIZE_FIELD_TRIGGER" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts" ,
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"VISUALIZE_FIELD_TRIGGER\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.VISUALIZE_GEO_FIELD_TRIGGER" ,
"type" : "string" ,
"label" : "VISUALIZE_GEO_FIELD_TRIGGER" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts" ,
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"VISUALIZE_GEO_FIELD_TRIGGER\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
] ,
"objects" : [
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.rowClickTrigger" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.rowClickTrigger.id" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "id" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.rowClickTrigger.title" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 17
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.rowClickTrigger.description" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "description" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
}
}
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "rowClickTrigger" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/row_click_trigger.ts" ,
"lineNumber" : 15
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeFieldTrigger" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeFieldTrigger.id" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "id" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts" ,
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeFieldTrigger.title" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts" ,
"lineNumber" : 14
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeFieldTrigger.description" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "description" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts" ,
"lineNumber" : 15
2021-03-03 04:02:17 +01:00
}
}
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "visualizeFieldTrigger" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_field_trigger.ts" ,
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeGeoFieldTrigger" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeGeoFieldTrigger.id" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "id" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts" ,
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeGeoFieldTrigger.title" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts" ,
"lineNumber" : 14
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.visualizeGeoFieldTrigger.description" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "description" ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts" ,
"lineNumber" : 15
2021-03-03 04:02:17 +01:00
}
}
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "visualizeGeoFieldTrigger" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/ui_actions/public/triggers/visualize_geo_field_trigger.ts" ,
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"setup" : {
"id" : "def-public.UiActionsSetup" ,
"type" : "Type" ,
"label" : "UiActionsSetup" ,
"tags" : [ ] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 14
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"{ readonly addTriggerAction: (triggerId: string, action: " ,
"UiActionsActionDefinition" ,
"<object>) => void; readonly attachAction: (triggerId: string, actionId: string) => void; readonly detachAction: (triggerId: string, actionId: string) => void; readonly registerAction: <A>(definition: A) => " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<" ,
"ActionContext" ,
"<A>>; readonly registerTrigger: (trigger: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Trigger" ,
"text" : "Trigger"
} ,
") => void; readonly unregisterAction: (actionId: string) => void; }"
] ,
"lifecycle" : "setup" ,
"initialIsOpen" : true
} ,
"start" : {
"id" : "def-public.UiActionsStart" ,
"type" : "Type" ,
"label" : "UiActionsStart" ,
"tags" : [ ] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/ui_actions/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"{ readonly clear: () => void; readonly fork: () => UiActionsService; readonly addTriggerAction: (triggerId: string, action: " ,
"UiActionsActionDefinition" ,
"<object>) => void; readonly attachAction: (triggerId: string, actionId: string) => void; readonly detachAction: (triggerId: string, actionId: string) => void; readonly registerAction: <A>(definition: A) => " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Action" ,
"text" : "Action"
} ,
"<" ,
"ActionContext" ,
"<A>>; readonly registerTrigger: (trigger: " ,
{
"pluginId" : "uiActions" ,
"scope" : "public" ,
"docId" : "kibUiActionsPluginApi" ,
"section" : "def-public.Trigger" ,
"text" : "Trigger"
} ,
") => void; readonly unregisterAction: (actionId: string) => void; readonly getTrigger: (triggerId: string) => " ,
"TriggerContract"
] ,
"lifecycle" : "start" ,
"initialIsOpen" : true
}
} ,
"server" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
} ,
"common" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
}
}