Merge branch 'develop' into feat-action-catch

This commit is contained in:
Sam 2021-06-04 11:41:39 +02:00 committed by GitHub
commit 0dc7f37768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 91 additions and 31 deletions

View File

@ -59,6 +59,27 @@
PageId: page_1_2
properties:
title: Menu Item two
# Fix: TypeError: parentInstance.children.indexOf is not a function
# - id: 'properties.forceSubMenuRender with MenuLInks'
# type: Menu
# properties:
# forceSubMenuRender: true
# links:
# - id: menu_group_1
# type: MenuGroup
# properties:
# title: Menu Group 1
# links:
# - id: menu_item_1
# type: MenuLink
# PageId: page_1_1
# properties:
# title: Menu Item one
# - id: menu_item_2
# type: MenuLink
# PageId: page_1_2
# properties:
# title: Menu Item two
- id: 'properties.subMenuOpenDelay: 3'
type: Menu
properties:
@ -133,7 +154,7 @@
properties:
mode: vertical
theme: light
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -359,7 +380,7 @@
properties:
mode: vertical
backgroundColor: '#016e1e'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -406,7 +427,7 @@
properties:
mode: vertical
selectedColor: '#f16e1e'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -454,7 +475,7 @@
mode: vertical
selectedColor: '#f16e1e'
backgroundColor: '#016e1e'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -503,7 +524,7 @@
mode: vertical
selectedColor: '#f16e1e'
backgroundColor: '#016e1e'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -554,7 +575,7 @@
# properties:
# mode: horizontal
# theme: light
# selectedKeys:
# selectedKeys:
# - menu_item_1_1
# - menu_item_3
# - menu_item_1_2_2
@ -780,7 +801,7 @@
# properties:
# mode: horizontal
# backgroundColor: '#016e1e'
# selectedKeys:
# selectedKeys:
# - menu_item_1_1
# - menu_item_3
# - menu_item_1_2_2
@ -827,7 +848,7 @@
# properties:
# mode: horizontal
# selectedColor: '#f16e1e'
# selectedKeys:
# selectedKeys:
# - menu_item_1_1
# - menu_item_3
# - menu_item_1_2_2
@ -875,7 +896,7 @@
# mode: horizontal
# selectedColor: '#f16e1e'
# backgroundColor: '#016e1e'
# selectedKeys:
# selectedKeys:
# - menu_item_1_1
# - menu_item_3
# - menu_item_1_2_2
@ -924,7 +945,7 @@
# mode: horizontal
# selectedColor: '#f16e1e'
# backgroundColor: '#016e1e'
# selectedKeys:
# selectedKeys:
# - menu_item_1_1
# - menu_item_3
# - menu_item_1_2_2
@ -967,15 +988,13 @@
# title: Title Menu Item 3
# icon: VideoCameraFilled
# mode inline
- id: 'mode: inline, theme: light'
type: Menu
properties:
mode: inline
theme: light
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -1201,7 +1220,7 @@
properties:
mode: inline
backgroundColor: '#016e1e'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -1248,7 +1267,7 @@
properties:
mode: inline
selectedColor: '#f16e1e'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -1296,7 +1315,7 @@
mode: inline
selectedColor: '#f16e1e'
backgroundColor: '#016e1e'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -1345,7 +1364,7 @@
mode: inline
selectedColor: '#f16e1e'
backgroundColor: '#91cfcf'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -1388,14 +1407,13 @@
title: Title Menu Item 3
icon: VideoCameraFilled
- id: 'mode: inline, theme: light, selectedColor: #6C2ACB'
type: Menu
properties:
theme: light
mode: inline
selectedColor: '#6C2ACB'
selectedKeys:
selectedKeys:
- menu_item_1_1
- menu_item_3
- menu_item_1_2_2
@ -1442,7 +1460,7 @@
type: Menu
menus:
- id: menu_one
menuId: menu_one
menuId: menu_one
links:
- id: menu_group_1
type: MenuGroup
@ -1464,7 +1482,7 @@
type: Menu
menus:
- id: menu_one
menuId: menu_one
menuId: menu_one
links:
- id: menu_group_1
type: MenuGroup
@ -1483,7 +1501,7 @@
title: Title Menu Item 2
icon: VideoCameraFilled
- id: menu_one
menuId: default
menuId: default
links:
- id: default_menu_group_1
type: MenuGroup
@ -1502,7 +1520,7 @@
menuId: menu_one
menus:
- id: menu_one
menuId: menu_one
menuId: menu_one
links:
- id: menu_group_1
type: MenuGroup
@ -1521,7 +1539,7 @@
title: Title Menu Item 2
icon: VideoCameraFilled
- id: menu_one
menuId: default
menuId: default
links:
- id: default_menu_group_1
type: MenuGroup
@ -1538,7 +1556,7 @@
type: Menu
menus:
- id: menu_one
menuId: menu_one
menuId: menu_one
links:
- id: menu_item_2
type: MenuLink
@ -1551,7 +1569,7 @@
type: Menu
menus:
- id: menu_one
menuId: menu_one
menuId: menu_one
links:
- id: menu_item_2
type: MenuLink
@ -1563,10 +1581,10 @@
type: Menu
menus:
- id: menu_one
menuId: menu_one
menuId: menu_one
links:
- id: menu_item_2
type: MenuLink
url: http://page.com
properties:
icon: VideoCameraFilled
icon: VideoCameraFilled

View File

@ -112,6 +112,7 @@ const MenuComp = ({ blockId, events, methods, menus, pageId, properties, rename
},
properties.style,
])}
forceSubMenuRender={properties.forceSubMenuRender}
theme={theme}
selectable={true}
defaultOpenKeys={

View File

@ -46,6 +46,11 @@
"description": "A menu item 'id' which should be open by default."
}
},
"forceSubMenuRender": {
"type": "boolean",
"description": "Render submenu into DOM before it becomes visible.",
"default": false
},
"subMenuCloseDelay": {
"type": "number",
"description": "Delay time to hide submenu when mouse leaves (in seconds)."

View File

@ -7,6 +7,7 @@ Array [
"children": Array [],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "default",
"mode": undefined,
"onClick": [Function],
@ -155,6 +156,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "menus: default",
"mode": undefined,
"onClick": [Function],
@ -391,6 +393,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "menus: links[0]",
"mode": undefined,
"onClick": [Function],
@ -627,6 +630,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "menus: properties.menuId: menu_one",
"mode": undefined,
"onClick": [Function],
@ -716,6 +720,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "menusTitle pageId",
"mode": undefined,
"onClick": [Function],
@ -806,6 +811,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "menusTitle properties.title",
"mode": undefined,
"onClick": [Function],
@ -895,6 +901,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "menusTitle url",
"mode": undefined,
"onClick": [Function],
@ -1442,6 +1449,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, backgroundColor: #016e1e",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -1951,6 +1959,7 @@ Array [
"defaultOpenKeys": Array [
"menu_group_1",
],
"forceSubMenuRender": undefined,
"id": "mode: inline, defaultOpenKeys: page_1_2_2",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -2458,6 +2467,7 @@ Array [
"defaultOpenKeys": Array [
"menu_group_1",
],
"forceSubMenuRender": undefined,
"id": "mode: inline, pageId: page_1_2_2",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -3469,6 +3479,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, selectedColor: #f16e1e",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -4524,6 +4535,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, selectedColor: #f16e1e, backgroundColor: #016e1e",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -5033,6 +5045,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, selectedKeys: [page_2, page_3]",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -5541,6 +5554,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, selectedKeys: [page_2, page_3], pageId: page_1_2_2",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -6049,6 +6063,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, theme: light",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -7552,6 +7567,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, theme: light, selectedColor: #6C2ACB",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -9097,6 +9113,7 @@ Array [
"defaultOpenKeys": Array [
undefined,
],
"forceSubMenuRender": undefined,
"id": "mode: inline, theme: light, selectedColor: #f16e1e, backgroundColor: #016e1e",
"inlineCollapsed": undefined,
"inlineIndent": undefined,
@ -9646,6 +9663,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},{\\"backgroundColor\\":\\"#016e1e !important\\"},null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, backgroundColor: #016e1e",
"mode": "vertical",
"onClick": [Function],
@ -10151,6 +10169,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, pageId: page_1_2_2",
"mode": "vertical",
"onClick": [Function],
@ -11158,6 +11177,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,{\\"& > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu > ul > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu > ul > li.ant-menu-item-group > ul > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}}},false,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, selectedColor: #f16e1e",
"mode": "vertical",
"onClick": [Function],
@ -12209,6 +12229,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},{\\"backgroundColor\\":\\"#016e1e !important\\"},{\\"& > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu > ul > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu > ul > li.ant-menu-item-group > ul > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}}},false,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, selectedColor: #f16e1e, backgroundColor: #016e1e",
"mode": "vertical",
"onClick": [Function],
@ -12714,6 +12735,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, selectedKeys: [page_2, page_3]",
"mode": "vertical",
"onClick": [Function],
@ -13218,6 +13240,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, selectedKeys: [page_2, page_3], pageId: page_1_2_2",
"mode": "vertical",
"onClick": [Function],
@ -13722,6 +13745,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, theme: light",
"mode": "vertical",
"onClick": [Function],
@ -15263,6 +15287,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},{\\"backgroundColor\\":\\"#016e1e !important\\"},false,{\\"& > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu-selected\\":{\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-item:hover\\":{\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu:hover\\":{\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu > ul > li.ant-menu-item:hover\\":{\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu > ul > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}},\\"& > li.ant-menu-submenu > ul > li.ant-menu-item-group > ul > li.ant-menu-item-selected\\":{\\"backgroundColor\\":\\"#ffca99 !important\\",\\"color\\":\\"#f26f1d !important\\",\\"& > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"& > * > *\\":{\\"color\\":\\"#f26f1d !important\\"},\\"borderColor\\":\\"#f26f1d !important\\",\\"&:after\\":{\\"borderColor\\":\\"#f26f1d !important\\"}}},null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "mode: vertical, theme: light, selectedColor: #f16e1e, backgroundColor: #016e1e",
"mode": "vertical",
"onClick": [Function],
@ -15470,6 +15495,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "properties.MenuGroup with MenuLInks",
"mode": undefined,
"onClick": [Function],
@ -15767,6 +15793,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "properties.danger: true",
"mode": "vertical",
"onClick": [Function],
@ -15919,6 +15946,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "properties.icon",
"mode": undefined,
"onClick": [Function],
@ -16005,6 +16033,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "properties.links",
"mode": undefined,
"onClick": [Function],
@ -16212,6 +16241,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "properties.subMenuCloseDelay: 3",
"mode": undefined,
"onClick": [Function],
@ -16418,6 +16448,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "properties.subMenuOpenDelay: 3",
"mode": undefined,
"onClick": [Function],
@ -16572,6 +16603,7 @@ Array [
],
"className": "{\\"style\\":[{\\"lineHeight\\":\\"64px\\",\\"display\\":false},null,null,null,null]}",
"defaultOpenKeys": Array [],
"forceSubMenuRender": undefined,
"id": "properties.title",
"mode": undefined,
"onClick": [Function],

View File

@ -28,7 +28,7 @@ _ref:
It uses the [axios](https://github.com/axios/axios) library.
The same properties can be set on both connections and requests. The properties will be merged, with the request properties overwriting connection properties. This allows properties like authentication headers and the baseUrl to be set on the connection, with request specific properties like the request.
The same properties can be set on both connections and requests. The properties will be merged, with the request properties overwriting connection properties. This allows properties like authentication headers and the baseURL to be set on the connection, with request specific properties like the request.
>Secrets like authentication headers and API keys should be stored using the [`_secret`](operators/secret.md) operator.
@ -81,13 +81,13 @@ _ref:
Properties for a AxiosHttp can be set on either the connection, the request, or both. However, both a connection and request need to be defined.
###### Using the connection to set baseUrl and authorization, and handle specific requests as requests.
###### Using the connection to set baseURL and authorization, and handle specific requests as requests.
```yaml
connections:
- id: app_api
type: AxiosHttp
properties:
baseUrl: app.com/api
baseURL: app.com/api
auth:
username: api_user
password:

View File

@ -85,6 +85,8 @@ properties:
title: {{ block_type }}
header:
theme: light
menu:
forceSubMenuRender: true
sider:
width: 256px
initialCollapsed:

View File

@ -54,6 +54,8 @@ properties:
title: {{ pageTitle }}
header:
theme: light
menu:
forceSubMenuRender: true
sider:
width: 256px
initialCollapsed: