BEFORE:
getNodeById(predicate) - predicate needs to support lodash find method
AFTER:
getNodeById(predicate) - predicate needs to support javaScript find method
- Update to Angular 10 (5338eb4)
BEFORE:
No minimum Angular version set
AFTER:
Angular v10 minimum dependencies
- include mobx as dependency (a96f2bc)
- move to new npm package scope
BEFORE:
package.json:
"dependencies": {
...
"angular-tree-component": "^8.5.6",
...
}
AFTER:
package.json
"dependencies": {
...
"@circlon/angular-tree-component": "^9.0.1",
...
}
- move css file to css folder instead of dist
BEFORE:
Import angular tree css:
@import '~angular-tree-component/dist/angular-tree-component.css';
AFTER:
package.json
@import '~@circlon/angular-tree-component/css/angular-tree-component.css';
- Use correct ITreeOptions input in TreeComponent instead of TreeOptions (#795) (62f0c02), closes (#795)
- Update to Angular 9 (37feac56)
- use on example app and move app to projects (5ded257)
- move library to projects and use ng-packagr for build (a04ea64)
- Provide TreeDraggedElement in root (50dee1b)
BEFORE:
Import TreeModule with TreeModule.forRoot()
in base module.
@NgModule({
imports: [
TreeModule.forRoot()
]
})
export class MyModule {}
AFTER:
Import TreeModule with TreeModule
in all modules.
@NgModule({
imports: [
TreeModule
]
})
export class MyModule {}
- Fixed mobxAutorun to treeMobxAutorun
- Support Angular 9 by removing dependency to mobx-angular (copied code inside)
- Support Angular 9 by upgrading mobx-angular to 3.1.1
- Fixed computed value after updating model, because parent was null and we got a race-condition
- Changed options input to ITreeOptions
- Support IVY by removing transitive dependency on Renderer via mobx-angular
- Exporting TreeNodeWrapperComponent and TreeAnimateOpenDirective from main module
- Added openCollective message post install
- Added 'from' node on moveNode event
- Extended selection-api for nodes
- Setting option scrollOnActivate to true did not prevent scrolling when clicking a node
- Moved @types/lodash to devDeps
- Added allowDragoverStyling option
- Added public calculateExpandedNodes
- Fixed loading async children in large tree
- Fixed non triState checkboxes to reflect expected behaviour
- Fixed non triState checkboxes
- Fixed checkboxes example to switch expander and checkbox
- Fixed Warning on state bind
- Checkbox keep parent selection on async childs
- Unsubscribe to prevent memory leaks
- Breaking change - Upgrade to Angular6 and Renderer2
- Breaking change - load TreeDraggedElement in forRoot to support lazy loading
- 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
- Added nodeActivate and nodeDeactivate events for IE11 - issue #387
- Added scrollContainer option to allow scrolling in external container - issue #92
- 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
- Load specific lodash modules
- Fix mobx and mobx-angular versions
- Fixed typescript 2.6.1 strict checking
- 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
- Allow dropslot = 0
- Fixed change detection
- Added hasChildrenField
- Breaking change - not returning promise anymore for setIdExpanded
- Fixed restore state for async children
- Returned sizeChanged method
- Fixing for Angular Universal
- Fixing MobX index out of bounds
- Angular 5
- Removing dependencies from UMD bundle
- Passing custom id to virtualRoot node
- Breaking change - Moved styles to external CSS
- Breaking change - Renamed tree class to angular-tree-component
- Added rtl option
- Fixed changeFilterr typo
- Added copyNode on ctrl
- 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
- Added setHiddenNodeIds
- Added state 2 way binding
- Removed isHiddenField
- Added scrollOnFocus
- Added RTL example
- Prevent overwriting existing node ids to allow use with immutable objects
- Fix MobX version to support AoT
- Fixed close / open quickly when animating
- Fixed allowDrop
- Firing onInitialized after viewport set
- Rename events - "onXXX" => "XXX"
- Added 'dropOnNode' to event when dropping directly on node
- added drag over / leave / enter / end to action mapping
- added $event to allowDrop function
- Allow for node ID=0
- doForAll allows promises (supports expandAll of async nodes)
- Fixed SystemJS errors
- Add animations
- Add node wrapper template
- Fixed drop slot style
- Support useStrict mode in MobX
- Reduce bundle size
- Fix tree not rendered when hidden then shown
- Update to mobx-angular
- 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
- Fixed bug when actionMapping is undefined
- Include mobx and lodash inside UMD bundle
- Updated api and docs
- Not showing virtual scroll unless enabled
- Added treeModel to events
- Fixed getActiveNodes & getExpandedNodes
- Renamed library to angular-tree-component
- Changed component selectors to kebab-case
- Using ng2-mobx's wrappers for observable and computed for AoT
- Fix lint errors
- Fix ng2-mobx version
- 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
- Added yarn file
- Fixed lint errors
- Not mandatory to supply getChildren method
- Calling 'closest' using invokeElementMethod
- Removed onActiveChanged method
- Added 3rd party licenses
- Added UMD bundle
- 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
- Promise based expand
- Added drop slot for empty tree
- Added index to node content template
- Added nodeClass option
- Updated PeerDeps to allow for Angular 2.3
- Added treeAllowDrop to treeDrop directive
- Added option allowDrop
- Added levelPadding option
- Fix bug - async children isExpanded field is taken into account
- 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
- Allow drag between trees
- Made treeDrop directive for dragging outside tree
- Made treeDrag directive for dragging external elements into the tree
- Added AoT metadata
- Added CLI example
- Fixed alignment of childless nodes. Again.
- Fixed alignment of childless nodes
- 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.
- Added onToggleExpanded Output
- Fixed example in Firefox and IE (console.log)
- Exporting Tree Component
- Ignore version
- 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
- Fixed bug dragging node to itself
- Added Drag & Drop functionality using allowDrag option
- Returning this in all action methods on node to allow chaining
- Fixed Activated / Deactivated events
- Added autoShow to filter
- Added setActiveAndVisible
- align leaves with siblings that have children
- rc.7
- support ngModule
- Using ng2 templates instead of passing them in options
- Added isHidden field
- Added filterNodes function
- Unused version - please use 1.1.18
- 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
- Fixed expander not turning on expand
- 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
- Added action mappings (#19)
- Moved typings to dependency (#13)
- Fixed update() re-expanding nodes marked with isExpanded field
- Added update() method to allow changing tree structure (add / remove nodes)
- Added context to options, to use in custom template component
- Fixed IE support
- Supporting 'expanded' field on node for pre-expanded nodes
- Using View Encapsulation = None to allow override of CSS
- Update to Angular2 Rc3
- Fixed key navigation bug
- Update to Angular2 Rc2
- Fixed loading with SystemJS & webpack