{
    "$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
    "apiVersion": 1,
    "name": "TcHmiUserManagement",
    "namespace": "TcHmi.Controls.Beckhoff",
    "displayName": "User Management",
    "version": {
        "full": "1.12.762.46",
        "major": 1,
        "minor": 12,
        "build": 762,
        "revision": 46
    },
    "visible": true,
    "themeable": "Standard",
    "base": "TcHmi.Controls.System.TcHmiControl",
    "description": "A control for the management of users.",
    "properties": {
        "containerControl": false,
        "geometry": {
            "width": 288,
            "height": 48
        }
    },
    "icons": [
        {
            "name": "Icons/16x16.png",
            "width": 16,
            "height": 16
        }
    ],
    "template": "Template.html",
    "dependencyFiles": [
        {
            "name": "TcHmiUserManagement.js",
            "type": "JavaScript",
            "description": "Contains all the main logic."
        },
        {
            "name": "Style.css",
            "type": "Stylesheet",
            "description": "Theme independent style"
        }
    ],
    "themes": {
        "Base": {
            "resources": [
                {
                    "name": "Themes/Base/Style.css",
                    "type": "Stylesheet",
                    "description": "Theme dependent style"
                }
            ]
        },
        "Base-Dark": {
            "resources": [
                {
                    "name": "Themes/Base-Dark/Style.css",
                    "type": "Stylesheet",
                    "description": "Theme dependent style"
                }
            ]
        }
    },
    "attributes": [
        {
            "name": "data-tchmi-user-name-font-size",
            "propertyName": "UserNameFontSize",
            "propertySetterName": "setUserNameFontSize",
            "propertyGetterName": "getUserNameFontSize",
            "displayName": "UserNameFontSize",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/MeasurementValue",
            "category": "Text",
            "description": "The size of the font. Percent values are relative to the parent elements font size.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": null
        },
        {
            "name": "data-tchmi-user-name-font-size-unit",
            "propertyName": "UserNameFontSizeUnit",
            "propertySetterName": "setUserNameFontSizeUnit",
            "propertyGetterName": "getUserNameFontSizeUnit",
            "refTo": "UserNameFontSize",
            "displayName": "UserNameFontSizeUnit",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/MeasurementUnit",
            "category": "Text",
            "description": "Could be 'px' or for relative sizing '%'.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "px"
        },
        {
            "name": "data-tchmi-drop-down-font-size",
            "propertyName": "DropDownFontSize",
            "propertySetterName": "setDropDownFontSize",
            "propertyGetterName": "getDropDownFontSize",
            "displayName": "DropDownFontSize",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 15,
            "type": "tchmi:framework#/definitions/MeasurementValue",
            "category": "Text",
            "description": "The size of the font. Percent values are relative to the parent elements font size.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": null
        },
        {
            "name": "data-tchmi-drop-down-font-size-unit",
            "propertyName": "DropDownFontSizeUnit",
            "propertySetterName": "setDropDownFontSizeUnit",
            "propertyGetterName": "getDropDownFontSizeUnit",
            "refTo": "DropDownFontSize",
            "displayName": "DropDownFontSizeUnit",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 15,
            "type": "tchmi:framework#/definitions/MeasurementUnit",
            "category": "Text",
            "description": "Could be 'px' or for relative sizing '%'.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "px"
        },
        {
            "name": "data-tchmi-text-font-size",
            "propertyName": "TextFontSize",
            "propertySetterName": "setTextFontSize",
            "propertyGetterName": "getTextFontSize",
            "displayName": "TextFontSize",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 20,
            "type": "tchmi:framework#/definitions/MeasurementValue",
            "category": "Text",
            "description": "The size of the font. Percent values are relative to the parent elements font size.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": null
        },
        {
            "name": "data-tchmi-text-font-size-unit",
            "propertyName": "TextFontSizeUnit",
            "propertySetterName": "setTextFontSizeUnit",
            "propertyGetterName": "getTextFontSizeUnit",
            "refTo": "TextFontSize",
            "displayName": "TextFontSizeUnit",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 20,
            "type": "tchmi:framework#/definitions/MeasurementUnit",
            "category": "Text",
            "description": "Could be 'px' or for relative sizing '%'.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "px"
        },
        {
            "name": "data-tchmi-headline-font-size",
            "propertyName": "HeadlineFontSize",
            "propertySetterName": "setHeadlineFontSize",
            "propertyGetterName": "getHeadlineFontSize",
            "displayName": "HeadlineFontSize",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 25,
            "type": "tchmi:framework#/definitions/MeasurementValue",
            "category": "Text",
            "description": "The font size of headlines. Percent values are relative to the parent elements font size.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": null
        },
        {
            "name": "data-tchmi-headline-font-size-unit",
            "propertyName": "HeadlineFontSizeUnit",
            "propertySetterName": "setHeadlineFontSizeUnit",
            "propertyGetterName": "getHeadlineFontSizeUnit",
            "refTo": "HeadlineFontSize",
            "displayName": "HeadlineFontSizeUnit",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 25,
            "type": "tchmi:framework#/definitions/MeasurementUnit",
            "category": "Text",
            "description": "Could be 'px' or for relative sizing '%'.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "px"
        },
        {
            "name": "data-tchmi-sub-headline-font-size",
            "propertyName": "SubHeadlineFontSize",
            "propertySetterName": "setSubHeadlineFontSize",
            "propertyGetterName": "getSubHeadlineFontSize",
            "displayName": "SubHeadlineFontSize",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 30,
            "type": "tchmi:framework#/definitions/MeasurementValue",
            "category": "Text",
            "description": "The font size of sub headlines. Percent values are relative to the parent elements font size.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": null
        },
        {
            "name": "data-tchmi-sub-headline-font-size-unit",
            "propertyName": "SubHeadlineFontSizeUnit",
            "propertySetterName": "setSubHeadlineFontSizeUnit",
            "propertyGetterName": "getSubHeadlineFontSizeUnit",
            "refTo": "SubHeadlineFontSize",
            "displayName": "SubHeadlineFontSizeUnit",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 30,
            "type": "tchmi:framework#/definitions/MeasurementUnit",
            "category": "Text",
            "description": "Could be 'px' or for relative sizing '%'.",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "px"
        },
        {
            "name": "data-tchmi-text-color",
            "propertyName": "TextColor",
            "propertySetterName": "setTextColor",
            "propertyGetterName": "getTextColor",
            "displayName": "TextColor",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/SolidColor",
            "category": "Colors",
            "description": "General Control Text Color",
            "readOnly": false,
            "bindable": true,
            "heritable": true,
            "allowSymbolExpressionsInObject": true,
            "defaultValue": null,
            "defaultValueInternal": null
        },
        {
            "name": "data-tchmi-allow-logout",
            "propertyName": "AllowLogout",
            "propertySetterName": "setAllowLogout",
            "propertyGetterName": "getAllowLogout",
            "displayName": "AllowLogout",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 40,
            "type": "tchmi:general#/definitions/Boolean",
            "category": "Common",
            "description": "Defines whether the logout button is displayed in the dropdown.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": true
        },
        {
            "name": "data-tchmi-allow-switch-user",
            "propertyName": "AllowSwitchUser",
            "propertySetterName": "setAllowSwitchUser",
            "propertyGetterName": "getAllowSwitchUser",
            "displayName": "AllowSwitchUser",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 45,
            "type": "tchmi:general#/definitions/Boolean",
            "category": "Common",
            "description": "Defines whether the switch user button is displayed in the dropdown.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": false
        }
    ],
    "attributeCategories": [
        {
            "name": "Text",
            "displayPriority": 500,
            "defaultCollapsed": true,
            "description": "Attributes defining the text of the control."
        }
    ],
    "functions": [],
    "events": [],
    "themedResources": [],
    "dataTypes": [
        {
            "schema": "Schema/Types.Schema.json"
        }
    ],
    "languages": {
        "en": "Lang/en.json",
        "de": "Lang/de.json"
    },
    "access": [
        {
            "name": "EditUserProperties",
            "displayName": "Edit User Properties",
            "description": "Controls if the edit user properties button is displayed. This defaults to true. \nA user can only access this button if he has all needed rights to update his own user information.",
            "visible": true,
            "defaultValueInternal": true
        },
        {
            "name": "UserManagement",
            "displayName": "User Management",
            "description": "Controls if the user management button is displayed. This defaults to true. \nA user can only access this button if he has all needed rights to update user information, add users or delete users.",
            "visible": true,
            "defaultValueInternal": true
        }
    ]
}