changelogs.md


gianlucamaggio/angular-tree-component

Repository  -  API  -  Source

8.3.0

  • Extended selection-api for nodes
  • Setting option scrollOnActivate to true did not prevent scrolling when clicking a node

8.2.1

  • Moved @types/lodash to devDeps

8.2.0

  • Added allowDragoverStyling option

8.1.0

  • Added public calculateExpandedNodes
  • Fixed loading async children in large tree

8.0.5

  • Fixed non triState checkboxes to reflect expected behaviour

8.0.4

  • Fixed non triState checkboxes
  • Fixed checkboxes example to switch expander and checkbox

8.0.3

  • Fixed Warning on state bind

8.0.2

November 12, 2018
  • Checkbox keep parent selection on async childs

8.0.1

April 12, 2018
  • Unsubscribe to prevent memory leaks

8.0.0

April 8, 2018
  • Breaking change - Upgrade to Angular6 and Renderer2
  • Breaking change - load TreeDraggedElement in forRoot to support lazy loading

7.2.1

  • remove _canMoveNode validation from the copyNode function, fix #608 - PR #609
  • Add event parameter to onScroll, fix #534 #537 - PR #537
  • Optimize onChanges update, fix #534 #537 - PR #537
  • Fixed example with Angular6
  • Moved @lodash/types from devDependency to dependency

7.2.0

  • Added nodeActivate and nodeDeactivate events for IE11 - issue #387
  • Added scrollContainer option to allow scrolling in external container - issue #92

7.1.0

  • Breaking change - Renamed SELECT action to ACTIVATE
  • Breaking change - Renamed DESELECT action to DEACTIVATE
  • Added SELECT and DESLECT that do selection instead of activation
  • Breaking change - renamed scrollOnSelect to scrollOnActivate
  • Fixed setHiddenNodesIds with correct reduce order
  • Added useTriState to options to decide if using master checkboxes or not
  • Fixed memory leak - disposing of reactions
  • Added useTriState option
  • Fixed master checkbox to only select visible children
  • Improving scroll performance
  • Added mobile drag and drop polyfill

7.0.2

  • Load specific lodash modules
  • Fix mobx and mobx-angular versions

7.0.1

  • Fixed typescript 2.6.1 strict checking

7.0.0

  • Added checkbox support with useCheckbox
  • Added selection support in models (used by checkbox)
  • Breaking Change - renamed TOGGLE_SELECTED_* actions to TOGGLE_ACTIVE_*, and added TOGGLE_SELECTED for checkboxes
  • Fixed key navigation when filtered

6.1.0

August 12, 2017
  • Allow dropslot = 0
  • Fixed change detection
  • Added hasChildrenField

6.0.0

  • Breaking change - not returning promise anymore for setIdExpanded
  • Fixed restore state for async children
  • Returned sizeChanged method

5.2.1

  • Fixing for Angular Universal
  • Fixing MobX index out of bounds

5.2.0

  • Angular 5

  • Removing dependencies from UMD bundle
  • Passing custom id to virtualRoot node

5.0.0

January 9, 2017
  • Breaking change - Moved styles to external CSS
  • Breaking change - Renamed tree class to angular-tree-component
  • Added rtl option

4.1.0

March 8, 2017
  • Fixed changeFilterr typo
  • Added copyNode on ctrl

4.0.0

  • 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

  • Added setHiddenNodeIds
  • Added state 2 way binding
  • Removed isHiddenField

3.8.0

  • Added scrollOnFocus
  • Added RTL example

3.7.3

August 6, 2017
  • Prevent overwriting existing node ids to allow use with immutable objects
  • Fix MobX version to support AoT

3.7.2

  • Fixed close / open quickly when animating

3.7.1

  • Fixed allowDrop

3.7.0

  • Firing onInitialized after viewport set
  • Rename events - "onXXX" => "XXX"
  • Added 'dropOnNode' to event when dropping directly on node

3.6.0

October 5, 2017
  • added drag over / leave / enter / end to action mapping
  • added $event to allowDrop function
  • Allow for node ID=0

3.5.0

  • doForAll allows promises (supports expandAll of async nodes)

3.4.1

  • Fixed SystemJS errors

3.4.0

  • Add animations
  • Add node wrapper template
  • Fixed drop slot style

3.3.1

  • Support useStrict mode in MobX

3.3.0

  • Reduce bundle size
  • Fix tree not rendered when hidden then shown
  • Update to mobx-angular

3.2.4

April 4, 2017
  • 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

March 8, 2017
  • Fixed bug when actionMapping is undefined

3.2.2

March 8, 2017
  • Include mobx and lodash inside UMD bundle

3.2.1

March 7, 2017
  • Updated api and docs
  • Not showing virtual scroll unless enabled
  • Added treeModel to events
  • Fixed getActiveNodes & getExpandedNodes

3.2.0

March 6, 2017
  • Renamed library to angular-tree-component

3.1.0

February 27, 2017
  • Changed component selectors to kebab-case

3.0.2

February 25, 2017
  • Using ng2-mobx's wrappers for observable and computed for AoT

3.0.1

February 25, 2017
  • Fix lint errors
  • Fix ng2-mobx version

3.0.0

February 25, 2017
  • 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

February 21, 2017
  • 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

February 9, 2017
  • Added UMD bundle

2.8.0

February 3, 2017
  • 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

January 5, 2017
  • Promise based expand

2.6.1

January 3, 2017
  • Added drop slot for empty tree

2.6.0

January 1, 2017
  • Added index to node content template
  • Added nodeClass option

2.5.1

December 21, 2016
  • Updated PeerDeps to allow for Angular 2.3

2.5.0

December 1, 2016
  • Added treeAllowDrop to treeDrop directive
  • Added option allowDrop

2.4.0

November 28, 2016
  • Added levelPadding option
  • Fix bug - async children isExpanded field is taken into account

2.3.0

November 28, 2016
  • 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

November 27, 2016
  • Allow drag between trees
  • Made treeDrop directive for dragging outside tree
  • Made treeDrag directive for dragging external elements into the tree

2.1.0

November 24, 2016
  • Added AoT metadata
  • Added CLI example
  • Fixed alignment of childless nodes. Again.

2.0.1

November 24, 2016
  • Fixed alignment of childless nodes

2.0.0

November 23, 2016
  • 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

November 15, 2016
  • Added onToggleExpanded Output
  • Fixed example in Firefox and IE (console.log)

1.3.5

October 19, 2016
  • Exporting Tree Component

1.3.4

October 18, 2016
  • Ignore version

1.3.3

October 15, 2016
  • 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

October 4, 2016
  • Fixed bug dragging node to itself

1.3.0

October 4, 2016
  • Added Drag & Drop functionality using allowDrag option

1.2.2

September 24, 2016
  • Returning this in all action methods on node to allow chaining
  • Fixed Activated / Deactivated events
  • Added autoShow to filter
  • Added setActiveAndVisible

1.2.1

September 21, 2016
  • align leaves with siblings that have children

1.2.0

September 14, 2016
  • rc.7
  • support ngModule
  • Using ng2 templates instead of passing them in options

1.1.18

September 11, 2016
  • Added isHidden field
  • Added filterNodes function

1.1.17

September 10, 2016
  • Unused version - please use 1.1.18

1.1.16

August 15, 2016
  • 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

August 14, 2016
  • Fixed expander not turning on expand

1.1.14

August 11, 2016
  • 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

August 6, 2016
  • Added action mappings (#19)
  • Moved typings to dependency (#13)

1.1.12

August 6, 2016
  • Fixed update() re-expanding nodes marked with isExpanded field

1.1.11

August 6, 2016
  • Added update() method to allow changing tree structure (add / remove nodes)

1.1.10

July 17, 2016
  • Added context to options, to use in custom template component

1.1.9

July 13, 2016
  • Fixed IE support
  • Supporting 'expanded' field on node for pre-expanded nodes

1.1.8

June 30, 2016
  • Using View Encapsulation = None to allow override of CSS
  • Update to Angular2 Rc3

unpublished version

1.1.6

June 18, 2016
  • Fixed key navigation bug
  • Update to Angular2 Rc2

1.1.5

June 17, 2016
  • Fixed loading with SystemJS & webpack