{
    "$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
    "apiVersion": 1,
    "name": "TcHmiRecipeEdit",
    "namespace": "TcHmi.Controls.Beckhoff",
    "displayName": "Recipe Edit",
    "version": {
        "full": "1.12.762.46",
        "major": 1,
        "minor": 12,
        "build": 762,
        "revision": 46
    },
    "visible": true,
    "themeable": "Standard",
    "base": "TcHmi.Controls.System.TcHmiControl",
    "description": "",
    "defaultDesignerEvent": "",
    "properties": {
        "containerControl": false,
        "geometry": {
            "width": 650,
            "height": 400
        }
    },
    "icons": [
        {
            "name": "Icons/16x16.png",
            "width": 16,
            "height": 16
        }
    ],
    "template": "Template.html",
    "dependencyFiles": [
        {
            "name": "Style.css",
            "type": "Stylesheet",
            "description": ""
        },
        {
            "name": "TcHmiRecipeEdit.js",
            "type": "JavaScript",
            "description": ""
        }
    ],
    "themes": {
        "Base": {
            "resources": [
                {
                    "name": "Themes/Base/Style.css",
                    "type": "Stylesheet",
                    "description": ""
                }
            ]
        },
        "Base-Dark": {
            "resources": [
                {
                    "name": "Themes/Base-Dark/Style.css",
                    "type": "Stylesheet",
                    "description": ""
                }
            ]
        }
    },
    "attributes": [
        {
            "name": "data-tchmi-server-domain",
            "propertyName": "ServerDomain",
            "propertySetterName": "setServerDomain",
            "propertyGetterName": "getServerDomain",
            "displayName": "ServerDomain",
            "visible": true,
            "displayPriority": 100,
            "type": "tchmi:general#/definitions/String",
            "category": "Common",
            "themeable": "Advanced",
            "description": "The domain of the recipe management extension in the server. Defaults to 'TcHmiRecipeManagement'.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "TcHmiRecipeManagement"
        },
        {
            "name": "data-tchmi-path",
            "propertyName": "Path",
            "propertySetterName": "setPath",
            "propertyGetterName": "getPath",
            "displayName": "Path",
            "visible": true,
            "displayPriority": 11,
            "type": "tchmi:general#/definitions/String",
            "category": "Common",
            "themeable": "Advanced",
            "description": "The current path.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": ""
        },
        {
            "name": "data-tchmi-selected-items",
            "propertyName": "SelectedItems",
            "propertyGetterName": "getSelectedItems",
            "displayName": "SelectedItems",
            "visible": true,
            "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiRecipeEdit.NameArray",
            "category": "Common",
            "description": "An array containing the names of the currently selected items.",
            "readOnly": true,
            "bindable": false,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": ""
        }
    ],
    "attributeCategories": [],
    "functions": [],
    "events": [
        {
            "name": ".onSelectionChanged",
            "displayName": ".onSelectionChanged",
            "visible": true,
            "displayPriority": 6,
            "category": "Operator",
            "description": "The onSelectionChanged event is fired when one or more items are selected or deselected.",
            "heritable": true
        },
        {
            "name": ".onEditStarted",
            "displayName": ".onEditStarted",
            "visible": true,
            "displayPriority": 7,
            "category": "Operator",
            "description": "The onEditStarted event is fired when a recipe is openend to be edited.",
            "heritable": true
        },
        {
            "name": ".onEditEnded",
            "displayName": ".onEditEnded",
            "visible": true,
            "displayPriority": 8,
            "category": "Operator",
            "description": "The onEditEnded event is fired when the recipe being edited is closed.",
            "heritable": true
        }
    ],
    "access": [
        {
            "name": "create",
            "displayName": "Create",
            "description": "Controls the ability to create recipes and folders. This defaults to true.",
            "visible": true,
            "defaultValueInternal": true,
            "dependsOn": [
                "operate"
            ]
        },
        {
            "name": "rename",
            "displayName": "Rename",
            "description": "Controls the ability to rename recipes and folders. This defaults to true.",
            "visible": true,
            "defaultValueInternal": true,
            "dependsOn": [
                "operate"
            ]
        },
        {
            "name": "delete",
            "displayName": "Delete",
            "description": "Controls the ability to delete recipes and folders. This defaults to true.",
            "visible": true,
            "defaultValueInternal": true,
            "dependsOn": [
                "operate"
            ]
        },
        {
            "name": "cut",
            "displayName": "Cut",
            "description": "Internal access right used for the cut button.",
            "visible": false,
            "defaultValueInternal": true,
            "dependsOn": [
                "delete",
                "create"
            ]
        },
        {
            "name": "editRecipe",
            "displayName": "Edit Recipe",
            "description": "Controls the ability to manually edit the selected recipe. This defaults to true.",
            "visible": true,
            "defaultValueInternal": true,
            "dependsOn": [
                "operate"
            ]
        },
        {
            "name": "activateRecipe",
            "displayName": "Activate Recipe",
            "description": "Controls the ability to activate the selected recipe. This defaults to true.",
            "visible": true,
            "defaultValueInternal": true,
            "dependsOn": [
                "operate"
            ]
        },
        {
            "name": "teachRecipe",
            "displayName": "Teach Recipe",
            "description": "Controls the ability to teach the selected recipe. This defaults to true.",
            "visible": true,
            "defaultValueInternal": true,
            "dependsOn": [
                "operate",
                "editRecipe"
            ]
        }
    ],
    "dataTypes": [
        {
            "schema": "Schema/Types.Schema.json"
        }
    ],
    "languages": {
        "en": "Lang/en.json",
        "de": "Lang/de.json"
    }
}