2021-08-02 22:44:47 +02:00
|
|
|
{
|
|
|
|
"id": "expressionRepeatImage",
|
|
|
|
"client": {
|
|
|
|
"classes": [],
|
|
|
|
"functions": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-public.repeatImageRenderer",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "repeatImageRenderer",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"() => ",
|
|
|
|
{
|
|
|
|
"pluginId": "expressions",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionsPluginApi",
|
|
|
|
"section": "def-common.ExpressionRenderDefinition",
|
|
|
|
"text": "ExpressionRenderDefinition"
|
|
|
|
},
|
|
|
|
"<",
|
|
|
|
{
|
|
|
|
"pluginId": "expressionRepeatImage",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionRepeatImagePluginApi",
|
|
|
|
"section": "def-common.RepeatImageRendererConfig",
|
|
|
|
"text": "RepeatImageRendererConfig"
|
|
|
|
},
|
|
|
|
">"
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [],
|
|
|
|
"returnComment": [],
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interfaces": [],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-public.renderers",
|
|
|
|
"type": "Array",
|
|
|
|
"tags": [],
|
|
|
|
"label": "renderers",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(() => ",
|
|
|
|
{
|
|
|
|
"pluginId": "expressions",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionsPluginApi",
|
|
|
|
"section": "def-common.ExpressionRenderDefinition",
|
|
|
|
"text": "ExpressionRenderDefinition"
|
|
|
|
},
|
|
|
|
"<",
|
|
|
|
{
|
|
|
|
"pluginId": "expressionRepeatImage",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionRepeatImagePluginApi",
|
|
|
|
"section": "def-common.RepeatImageRendererConfig",
|
|
|
|
"text": "RepeatImageRendererConfig"
|
|
|
|
},
|
|
|
|
">)[]"
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/public/expression_renderers/index.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"objects": [],
|
|
|
|
"start": {
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-public.ExpressionRepeatImagePluginStart",
|
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
|
|
|
"label": "ExpressionRepeatImagePluginStart",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"void"
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/public/plugin.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"lifecycle": "start",
|
|
|
|
"initialIsOpen": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"classes": [],
|
|
|
|
"functions": [],
|
|
|
|
"interfaces": [],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [],
|
2021-08-30 17:02:04 +02:00
|
|
|
"objects": [],
|
|
|
|
"start": {
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-server.ExpressionRepeatImagePluginStart",
|
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
|
|
|
"label": "ExpressionRepeatImagePluginStart",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"void"
|
|
|
|
],
|
|
|
|
"path": "src/plugins/expression_repeat_image/server/plugin.ts",
|
|
|
|
"deprecated": false,
|
|
|
|
"lifecycle": "start",
|
|
|
|
"initialIsOpen": true
|
|
|
|
}
|
2021-08-02 22:44:47 +02:00
|
|
|
},
|
|
|
|
"common": {
|
|
|
|
"classes": [],
|
|
|
|
"functions": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.repeatImageFunction",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "repeatImageFunction",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"() => { name: \"repeatImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: string; args: { emptyImage: { types: (\"string\" | \"null\")[]; help: string; default: null; }; image: { types: (\"string\" | \"null\")[]; help: string; default: null; }; max: { types: (\"number\" | \"null\")[]; help: string; default: number; }; size: { types: \"number\"[]; default: number; help: string; }; }; fn: (count: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string | null; emptyImage: string | null; size: number; max: number | null; count: number; }; }>; }"
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [],
|
|
|
|
"returnComment": [],
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interfaces": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.NodeDimensions",
|
|
|
|
"type": "Interface",
|
|
|
|
"tags": [],
|
|
|
|
"label": "NodeDimensions",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.NodeDimensions.width",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "width",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.NodeDimensions.height",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "height",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.RepeatImageRendererConfig",
|
|
|
|
"type": "Interface",
|
|
|
|
"tags": [],
|
|
|
|
"label": "RepeatImageRendererConfig",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.RepeatImageRendererConfig.max",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "max",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.RepeatImageRendererConfig.count",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "count",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.RepeatImageRendererConfig.emptyImage",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "emptyImage",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.RepeatImageRendererConfig.image",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "image",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.RepeatImageRendererConfig.size",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "size",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.Return",
|
|
|
|
"type": "Interface",
|
|
|
|
"tags": [],
|
|
|
|
"label": "Return",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.Return.count",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "count",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.Return.image",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "image",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.Return.size",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "size",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.Return.max",
|
|
|
|
"type": "number",
|
|
|
|
"tags": [],
|
|
|
|
"label": "max",
|
|
|
|
"description": [],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.Return.emptyImage",
|
|
|
|
"type": "CompoundType",
|
|
|
|
"tags": [],
|
|
|
|
"label": "emptyImage",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"string | null"
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.BASE64",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "BASE64",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"\"`base64`\""
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/constants.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.CONTEXT",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "CONTEXT",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"\"_context_\""
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/constants.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.ExpressionRepeatImageFunction",
|
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
|
|
|
"label": "ExpressionRepeatImageFunction",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"() => ",
|
|
|
|
{
|
|
|
|
"pluginId": "expressions",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionsPluginApi",
|
|
|
|
"section": "def-common.ExpressionFunctionDefinition",
|
|
|
|
"text": "ExpressionFunctionDefinition"
|
|
|
|
},
|
|
|
|
"<\"repeatImage\", number, Arguments, Promise<",
|
|
|
|
{
|
|
|
|
"pluginId": "expressions",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionsPluginApi",
|
|
|
|
"section": "def-common.ExpressionValueBoxed",
|
|
|
|
"text": "ExpressionValueBoxed"
|
|
|
|
},
|
|
|
|
"<\"render\", { as: string; value: Arguments; }>>, ",
|
|
|
|
{
|
|
|
|
"pluginId": "expressions",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionsPluginApi",
|
|
|
|
"section": "def-common.ExecutionContext",
|
|
|
|
"text": "ExecutionContext"
|
|
|
|
},
|
|
|
|
"<",
|
|
|
|
{
|
|
|
|
"pluginId": "inspector",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibInspectorPluginApi",
|
|
|
|
"section": "def-common.Adapters",
|
|
|
|
"text": "Adapters"
|
|
|
|
},
|
|
|
|
", ",
|
2021-10-11 19:58:18 +02:00
|
|
|
{
|
|
|
|
"pluginId": "@kbn/utility-types",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibKbnUtilityTypesPluginApi",
|
|
|
|
"section": "def-server.SerializableRecord",
|
|
|
|
"text": "SerializableRecord"
|
|
|
|
},
|
2021-08-02 22:44:47 +02:00
|
|
|
">>"
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
2021-08-09 18:51:00 +02:00
|
|
|
"returnComment": [],
|
|
|
|
"children": [],
|
2021-08-02 22:44:47 +02:00
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.functions",
|
|
|
|
"type": "Array",
|
|
|
|
"tags": [],
|
|
|
|
"label": "functions",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "expressionRepeatImage",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibExpressionRepeatImagePluginApi",
|
|
|
|
"section": "def-common.ExpressionRepeatImageFunction",
|
|
|
|
"text": "ExpressionRepeatImageFunction"
|
|
|
|
},
|
|
|
|
"[]"
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/expression_functions/index.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.OriginString",
|
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
|
|
|
"label": "OriginString",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"\"top\" | \"bottom\" | \"left\" | \"right\""
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.PLUGIN_ID",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "PLUGIN_ID",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"\"expressionRepeatImage\""
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/constants.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.PLUGIN_NAME",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "PLUGIN_NAME",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"\"expressionRepeatImage\""
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/constants.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "expressionRepeatImage",
|
|
|
|
"id": "def-common.URL",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "URL",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"\"URL\""
|
|
|
|
],
|
2021-08-05 18:26:16 +02:00
|
|
|
"path": "src/plugins/expression_repeat_image/common/constants.ts",
|
2021-08-02 22:44:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"objects": []
|
|
|
|
}
|
|
|
|
}
|