https://github.com/500tech/angular-tree-component/blob/master/README.md
Package detail
gm-angular-tree-component
A simple yet powerful tree component for Angular2
readme
changelog
5.0.0 (2017-01-09)
- Breaking change - Moved styles to external CSS
- Breaking change - Renamed tree class to angular-tree-component
- Added rtl option
4.1.0 (2017-03-08)
- Fixed changeFilterr typo
- Added copyNode on ctrl
4.0.0 (2017-29-07)
- Breaking change - Renamed loadChildren to loadNodeChildren because of AoT
- Breaking change - removed deprecated event names onXXX
- Breaking change - removed deprecated component names
- Fixed bug for Angular Universal
- added 'drag' action mapping
3.9.0 (2017-28-07)
- Added setHiddenNodeIds
- Added state 2 way binding
- Removed isHiddenField
3.8.0 (2017-15-07)
- Added scrollOnFocus
- Added RTL example
3.7.3 (2017-08-06)
- Prevent overwriting existing node ids to allow use with immutable objects
- Fix MobX version to support AoT
3.7.2 (2017-21-05)
- Fixed close / open quickly when animating
3.7.1 (2017-21-05)
- Fixed allowDrop
3.7.0 (2017-20-05)
- Firing onInitialized after viewport set
- Rename events - "onXXX" => "XXX"
- Added 'dropOnNode' to event when dropping directly on node
3.6.0 (2017-10-05)
- added drag over / leave / enter / end to action mapping
- added $event to allowDrop function
- Allow for node ID=0
3.5.0 (2017-29-04)
- doForAll allows promises (supports expandAll of async nodes)
3.4.1 (2017-29-04)
- Fixed SystemJS errors
3.4.0 (2017-28-04)
- Add animations
- Add node wrapper template
- Fixed drop slot style
3.3.1 (2017-19-04)
- Support useStrict mode in MobX
3.3.0 (2017-17-04)
- Reduce bundle size
- Fix tree not rendered when hidden then shown
- Update to mobx-angular
3.2.4 (2017-04-04)
- Support Angular 4
- Fixed tree-node and tree-node-level-X classes.
- Removed redundant div in children
- Added integration tests
- Passing node in context to loading template
- Fixed using treeNodeFullTemplate
- Added more demos
- Fixed filtering without virtual scroll option
- allowDrag allows functions
- Drag and drop fix for IE9+
- Fixed doForAll to run recursively
3.2.3 (2017-03-08)
- Fixed bug when actionMapping is undefined
3.2.2 (2017-03-08)
- Include mobx and lodash inside UMD bundle
3.2.1 (2017-03-07)
- Updated api and docs
- Not showing virtual scroll unless enabled
- Added treeModel to events
- Fixed getActiveNodes & getExpandedNodes
3.2.0 (2017-03-06)
- Renamed library to angular-tree-component
3.1.0 (2017-02-27)
- Changed component selectors to kebab-case
3.0.2 (2017-02-25)
- Using ng2-mobx's wrappers for observable and computed for AoT
3.0.1 (2017-02-25)
- Fix lint errors
- Fix ng2-mobx version
3.0.0 (2017-02-25)
- Virtual Scroll
- Added onChangeFilter event
- Added onLoadChildren event
- Added doForAll method on TreeModel and TreeNode
- Added expandAll method on TreeModel and TreeNode
- Added collapseAll method on TreeModel and TreeNode
- Breaking change - onToggleExpanded is called immediately after expanding node. If there are async children - onLoadChildren will be called after they are loaded.
- Breaking change - TreeModel filter function autoShow param now defaults to true
- Breaking change - Removed filter function on TreeNode
- Breaking change - Removed deprecations:
- options.hasCustomContextMenu
- options.context
- options.loadingComponent
- options.treeNodeTemplate
- options.actionMapping.mouse.shift
- options.actionMapping.mouse.ctrl
- options.actionMapping.mouse.alt
- TREE_EVENTS.onToggle
- TREE_EVENTS.onDoubleClick
- TREE_EVENTS.onContextMenu
2.8.2 (2017-02-21)
- Added yarn file
- Fixed lint errors
- Not mandatory to supply getChildren method
- Calling 'closest' using invokeElementMethod
- Removed onActiveChanged method
- Added 3rd party licenses
2.8.1 (2017-02-09)
- Added UMD bundle
2.8.0 (2017-02-03)
- Fixing AOT
- Fixing Core-JS
- Fixing drag on firefox
- Fixing getNodeByPath with custom idField
- Fixing Universal by calling invokeMethod
- Fixing TS errors by not setting an existing method
2.7.0 (2017-01-05)
- Promise based expand
2.6.1 (2017-01-03)
- Added drop slot for empty tree
2.6.0 (2017-01-01)
- Added index to node content template
- Added nodeClass option
2.5.1 (2016-12-21)
- Updated PeerDeps to allow for Angular 2.3
2.5.0 (2016-12-01)
- Added treeAllowDrop to treeDrop directive
- Added option allowDrop
2.4.0 (2016-11-28)
- Added levelPadding option
- Fix bug - async children isExpanded field is taken into account
2.3.0 (2016-11-28)
- Breaking change - changed drop action from parameter, to be just the node, without parent & index
- Breaking change - changed moveNode API to accept just the node, without parent & index
- Breaking change - changed onMoveNode event to include the original nodes instead of TreeNode
2.2.0 (2016-11-27)
- Allow drag between trees
- Made treeDrop directive for dragging outside tree
- Made treeDrag directive for dragging external elements into the tree
2.1.0 (2016-11-24)
- Added AoT metadata
- Added CLI example
- Fixed alignment of childless nodes. Again.
2.0.1 (2016-11-24)
- Fixed alignment of childless nodes
2.0.0 (2016-11-23)
- Allow to change options object and immediately affect tree.
- Breaking CSS change: added node-wrapper to HTML. Should only have an affect if you added custom CSS.
1.3.6 (2016-11-15)
- Added onToggleExpanded Output
- Fixed example in Firefox and IE (console.log)
1.3.5 (2016-10-19)
- Exporting Tree Component
1.3.4 (2016-10-18)
- Ignore version
1.3.3 (2016-10-15)
- Bug fix #73 - check nodes hierarchy before moving node
- Bug fix #71 - added onMoveNode as @Output
- Bug fix #67 - ignoring hidden nodes when navigating the tree using keyboard
1.3.2 (2016-10-04)
- Fixed bug dragging node to itself
1.3.0 (2016-10-04)
- Added Drag & Drop functionality using allowDrag option
1.2.2 (2016-09-24)
- Returning this in all action methods on node to allow chaining
- Fixed Activated / Deactivated events
- Added autoShow to filter
- Added setActiveAndVisible
1.2.1 (2016-09-21)
- align leaves with siblings that have children
1.2.0 (2016-09-14)
- rc.7
- support ngModule
- Using ng2 templates instead of passing them in options
1.1.18 (2016-09-11)
- Added isHidden field
- Added filterNodes function
1.1.17 (2016-09-10)
- Unused version - please use 1.1.18
1.1.16 (2016-08-15)
- Handling empty nodes
- Rename onToggle to onToggleExpanded
- Added onEvent
- Not trigerring key actions when input is focused
- Removed shift, ctrl and alt from action mappings
1.1.15 (2016-08-14)
- Fixed expander not turning on expand
1.1.14 (2016-08-11)
- Widen expander click area (#24)
- Not using deprecated methods (#24)
- Fixed bug when running update() after async children were loaded
- Setting focus on tree on all mouse actions
1.1.13 (2016-08-06)
- Added action mappings (#19)
- Moved typings to dependency (#13)
1.1.12 (2016-08-06)
- Fixed update() re-expanding nodes marked with isExpanded field
1.1.11 (2016-08-06)
- Added update() method to allow changing tree structure (add / remove nodes)
1.1.10 (2016-07-17)
- Added context to options, to use in custom template component
1.1.9 (2016-07-13)
- Fixed IE support
- Supporting 'expanded' field on node for pre-expanded nodes
1.1.8 (2016-06-30)
- Using View Encapsulation = None to allow override of CSS
- Update to Angular2 Rc3
unpublished version
1.1.6 (2016-06-18)
- Fixed key navigation bug
- Update to Angular2 Rc2
1.1.5 (2016-06-17)
- Fixed loading with SystemJS & webpack