153 lines
5.2 KiB
JSON
153 lines
5.2 KiB
JSON
{
|
|
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"name": "TcHmiSpinboxInput",
|
|
"namespace": "TcHmi.Controls.Beckhoff",
|
|
"displayName": "Spinbox Input",
|
|
"version": {
|
|
"full": "14.4.1.0",
|
|
"major": 14,
|
|
"minor": 4,
|
|
"build": 1,
|
|
"revision": 0
|
|
},
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"base": "TcHmi.Controls.Beckhoff.TcHmiNumericInput",
|
|
"description": "A numeric input control with buttons to increase/decrease the current value.",
|
|
"defaultDesignerEvent": ".onValueChanged",
|
|
"properties": {
|
|
"containerControl": false,
|
|
"geometry": {
|
|
"width": 150,
|
|
"height": 26
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"name": "Icons/16x16.png",
|
|
"width": 16,
|
|
"height": 16
|
|
}
|
|
],
|
|
"template": "Template.html",
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "Style.css",
|
|
"type": "Stylesheet",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "../dist/TcHmiSpinboxInput/TcHmiSpinboxInput.esm.js",
|
|
"type": "EsModule",
|
|
"description": "Contains all the main logic as ES module."
|
|
}
|
|
],
|
|
"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-step",
|
|
"propertyName": "Step",
|
|
"propertySetterName": "setStep",
|
|
"propertyGetterName": "getStep",
|
|
"displayName": "Step",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 30,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiNumericInput.Value",
|
|
"category": "Common",
|
|
"description": "Defines in which step increasing/decreasing the value is possible. \nIf you define a decimal number here it is recommended to set the controls attribute 'decimal digits' too to have an effect.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 1
|
|
},
|
|
{
|
|
"name": "data-tchmi-auto-step",
|
|
"propertyName": "AutoStep",
|
|
"propertySetterName": "setAutoStep",
|
|
"propertyGetterName": "getAutoStep",
|
|
"displayName": "Auto Step",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 30,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Common",
|
|
"description": "Defines if holding a spinbox button down triggers the buttons effect repeatedly or not.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": false
|
|
},
|
|
{
|
|
"name": "data-tchmi-button-Position",
|
|
"propertyName": "ButtonPosition",
|
|
"propertySetterName": "setButtonPosition",
|
|
"propertyGetterName": "getButtonPosition",
|
|
"displayName": "Button Position",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 40,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiSpinboxInput.ButtonPosition",
|
|
"category": "Common",
|
|
"description": "Defines the position of the plus and minus button",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "MinusLeftAndPlusRight"
|
|
},
|
|
{
|
|
"name": "data-tchmi-input-background-color",
|
|
"propertyName": "InputBackgroundColor",
|
|
"propertySetterName": "setInputBackgroundColor",
|
|
"propertyGetterName": "getInputBackgroundColor",
|
|
"displayName": "Input Background Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 30,
|
|
"type": "tchmi:framework#/definitions/Color",
|
|
"category": "Colors",
|
|
"description": "Definition of the background color of the input element.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
}
|
|
],
|
|
"attributeCategories": [],
|
|
"functions": [],
|
|
"events": [],
|
|
"dataTypes": [
|
|
{
|
|
"schema": "Schema/Types.Schema.json"
|
|
}
|
|
]
|
|
} |