35 lines
1.0 KiB
JSON
35 lines
1.0 KiB
JSON
{
|
|
"type": "Announcement Condition",
|
|
"editors": {
|
|
"code": true
|
|
},
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"actionFunction": "uiObject.codeEditor.activate",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration",
|
|
"actionProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"initialValues": {
|
|
"code": "// Type here a condition that needs to be met in order to make the announcement."
|
|
},
|
|
"addLeftIcons": true,
|
|
"level": 3,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Announcement->"
|
|
},
|
|
"propertyNameAtParent": "announcementCondition"
|
|
} |