assets-navigator/asset-selector/unassigned-devices-node.ts
Properties |
|
Methods |
|
constructor(service: GroupNodeService, config: GroupNodeConfig)
|
|||||||||
Parameters :
|
groupsOnly |
Default value : false
|
groupsSelectable |
Default value : false
|
icon |
Type : string
|
Default value : 'delete-folder'
|
label |
Default value : gettext('Unassigned devices')
|
mo |
Type : object
|
Default value : {}
|
Static NAME |
Type : string
|
Default value : 'UnassignedDevicesNode'
|
showChildDevices |
Default value : false
|
children |
Type : GroupNode[]
|
Default value : []
|
Group node children (subentries). |
events |
Type : Subject<Action>
|
filterQuery$ |
Default value : new BehaviorSubject<string>('')
|
hideDevices |
Type : boolean
|
Default value : false
|
Protected loadMoreNode |
Type : LoadMoreNode
|
Protected paging |
Type : Paging<AssetNodeMo>
|
root |
Type : boolean
|
Optional breadcrumb |
Type : string
|
The breadcrumb of the node, displaying the "path", but supports multiple levels. e.g. (Groups > Level 1 > Level 2) |
confirm |
Type : PopoverConfirmComponent
|
Default value : undefined
|
Confirmation popover displayed at the end of the process of moving the navigator menu item. |
draggable |
Type : boolean
|
Default value : false
|
Indicates that the navigator node is draggable. |
dragged |
Default value : false
|
Indicates that the navigator node is dragged. |
draggedHover |
Default value : false
|
Indicates that currently something is dragged over the node. |
droppable |
Type : boolean
|
Default value : false
|
Indicates that the navigator node is droppable. |
Optional featureId |
Type : string
|
Id to identify specific feature node. |
hidden |
Type : boolean
|
Default value : false
|
Indicates that the navigator node is visible/hidden. |
Optional iconComponent |
Type : Type<any>
|
Custom icon component. |
iconOpen |
Type : string
|
Navigator node icon when expanded. |
Optional iconTemplate |
Type : TemplateRef<any>
|
Custom icon template. |
Optional loading |
Type : boolean
|
Loading state indicator. |
open |
Type : boolean
|
Default value : false
|
Indicates that the navigator node is expanded/collapsed. |
parents |
Type : NavigatorNode[]
|
Default value : []
|
Navigator node parent nodes. |
path |
Type : string
|
The path to which the UI will be redirected after clicking the navigator node. |
routerLinkExact |
Type : boolean
|
Default value : true
|
Indicates whether the navigator node should be active based on matching the node path and the URL path. To match the URL exactly, set this option to true. routerLinkExact set to true: When the URL path is set to /a/b/c and the node path to /a/b then the node will not be set active. routerLinkExact set to false: When the URL path is set to /a/b/c and the node path to /a/b then the node will be set active. |
addManagedObject | ||||
addManagedObject(mo)
|
||||
Parameters :
Returns :
void
|
click | ||||||||
click(options: ClickOptions)
|
||||||||
Parameters :
Returns :
void
|
fetch |
fetch()
|
Returns :
any
|
isGroup |
isGroup()
|
Returns :
boolean
|
toString |
toString()
|
Returns :
string
|
countChildren |
countChildren()
|
Counts the number of children for the current node (with the exception of the UnassignedDevicesNode).
Returns :
number
|
empty |
empty()
|
Removes all child nodes except the UnassignedDevicesNode.
Returns :
void
|
Protected addNodes | ||||
addNodes(res)
|
||||
Parameters :
Returns :
void
|
destroy |
destroy()
|
Returns :
void
|
dragEnd | ||||
dragEnd($event)
|
||||
Parameters :
Returns :
void
|
dragStart | ||||
dragStart($event)
|
||||
Parameters :
Returns :
void
|
Async drop | ||||
drop($event)
|
||||
Parameters :
Returns :
any
|
getPath |
getPath()
|
Returns :
any
|
Protected Async handleEvent | ||||||
handleEvent(evt: Action)
|
||||||
Parameters :
Returns :
any
|
hasChildDevices |
hasChildDevices()
|
Checks if the current node has child devices.
Returns :
boolean
|
hookEvents |
hookEvents()
|
Returns :
void
|
isChildAddition | ||||||
isChildAddition(childAdditions, mo)
|
||||||
Parameters :
Returns :
any
|
openOnStart | ||||
openOnStart(url)
|
||||
Parameters :
Returns :
boolean
|
refresh |
refresh(mo: any, method: string)
|
Returns :
void
|
setLabel |
setLabel()
|
Returns :
void
|
sort |
sort()
|
Returns :
void
|
Protected toggleLoadMore | ||||||
toggleLoadMore(show: boolean)
|
||||||
Parameters :
Returns :
void
|
add | ||||||||
add(node: NavigatorNode)
|
||||||||
Adds a child navigator node to the node.
Parameters :
Returns :
void
|
dragEnter | ||||||
dragEnter($event)
|
||||||
This event is fired when a dragged element enters a valid drop target.
Parameters :
Returns :
void
|
dragLeave | ||||||
dragLeave($event)
|
||||||
This event is fired when a dragged element leaves a valid drop target.
Parameters :
Returns :
void
|
expand |
expand()
|
Expands the navigator node if it is collapsed.
Returns :
void
|
find | ||||||||||||
find(predicate, findBy)
|
||||||||||||
Returns a child navigator node based on the predicate.
Parameters :
Example :
Returns :
any
|
remove | ||||||||
remove(node: NavigatorNode)
|
||||||||
Removes the child navigator node from the node.
Parameters :
Returns :
void
|
traverse | ||||||
traverse(callback)
|
||||||
Performs a callback function recursively on each of the navigator node's children down the hierarchy.
Parameters :
Example :
Returns :
void
|
update | ||||||||
update(data?: NavigatorNodeData)
|
||||||||
Updates the navigator node.
Parameters :
Returns :
void
|
Protected updateChildren |
updateChildren()
|
Updates the navigator node by sorting its children and also checking their visibility.
Returns :
void
|
Protected updateHidden |
updateHidden()
|
Checks if the navigator node should be hidden based on the visibility of its child nodes.
Returns :
void
|