Computed
Name | Type | Description |
---|---|---|
machinelessCapabilities |
- | |
capabilitiesWithMachine |
- |
Members
(inner) clickedMachine
(inner) clickedParameter
(inner) confirmationText
(inner) displayDetailed
(inner) editCapabilityId
(inner) fields
(inner) machineInformation
(inner) mapByHost
(inner) parameterInformation
(inner) popupData
(inner) removeCapabilityDialog
(inner) sortDiscovered :number
0: dont sort, 1: sort alphabetical (ascending), 2: sort alphabetical(descending)
Type:
- number
(inner) sortSaved
(inner) tobeDeletedCapability
Methods
addCapability()
collapseAll(capabilities)
Hide detailed info about all capabilities of the given array
Parameters:
Name | Type | Description |
---|---|---|
capabilities |
array of capabilities whos ids are to be removed from displayDetailed |
deleteAllCapabilities()
Delete all added capabilities from the store
deleteCapability()
elementInDisplayDetailed()
expandAll(capabilities)
Show detailed information about all capabilities
Parameters:
Name | Type | Description |
---|---|---|
capabilities |
array of capabilities whos id is to be added to displayDetailed |
getSortedCapabilityGroups()
Splits the map returned by the capabilityStore getter map into two arrays and sorts if necessary: 1. noMachine, 2. map without noMachine noMachine: all Capabilities that are not associated with a machine
groupToCapabilities(groupArray)
returns an array containing all capabilities inside the
groupArray (can contain duplicates)
test und [{ machineId: 'id of machine or ""', capabilities: [...]},...]
Parameters:
Name | Type | Description |
---|---|---|
groupArray |
Array.<{machineId: string, capabilities: Array}> |
machinesByIds(ids)
returns an array of machines which have one of the given machineIds
Parameters:
Name | Type | Description |
---|---|---|
ids |
an array of machineIds or a signle machineId |
notAllInDisplayDetailed()
openDeleteCapabilityDialog()
openpopup()
toggleDisplayDetailed(capability)
Show/hide detailed information about the clicked capability by saving/removing the capability from an array where we store the capabilities which have their detailed info visible
Parameters:
Name | Type | Description |
---|---|---|
capability |
The capability item we want to show additional info about |