* Add component:input to ComponentsEvents
* Add additional `data:path` events
* Add CssRule mount event
* Switch to a new pathSource event.
The `data:path:SOURCE_ID` doesn't work as it triggers rebuilds of symbols in ComponentDataCollection
* Up comment
* Up data_sources docs
* Up data_sources jsdoc
* Up Module.events TS
* Export types data components
* More TS export
* Up TS
* Up docs API
* fix: create manual event if none is provided during drag operation
* feat: add snapping functionality for x-y axis in Dragger options
* feat: enhance axis locking behavior with snapping functionality in Dragger
* fix: improve drag event handling by ensuring target and event are correctly set for move command
* fix: refactor event destructuring in command options for clarity
* fix: update drag event handling to ensure optional chaining for dataTransfer and rename snapping option for clarity
* fix: cleanup
* fix: support multiple selection in drag event handling for move command
* fix: simplify move command by directly assigning command string
* fix: change GuideMatched type to export for better accessibility
* fix: change ComponentDragEventProps to export for better accessibility
* fix: update types for ComponentDrag to improve type safety and consistency
* fix: remove unused dummy property and export ComponentDragEventProps for better accessibility
* Up naming
* Up name ComponentDragGuideMatched
---------
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
* feat: enhance typing for ComponentDrag and Dragger, adding optional parameters for improved drag functionality
* feat: add customizable styles for drag guides and containers in ComponentDrag
* feat: enhance drag event handling with improved coordinate tracking
* feat: add drag spot type and enhance drag event handling in ComponentDrag
* feat: add default options for command execution and simplify ComponentDrag styles handling
* fix: cleanup
* feat: enhance ComponentDrag with customizable style options and improved drag handling
* feat: update addStyle method to return style options and enhance drag event data
* feat: enhance drag event handling with structured event properties and cleanup unused code
* feat: add run and stop command tests
* test: improve command run and stop tests with objectContaining assertions
* test: update command run and stop tests to use expect.not.objectContaining for options
* test: simplify assertions in run and stop command tests by removing unnecessary expect.not.objectContaining checks
* test: skip run and stop command tests for default options and add TODOs for future fixes
* refactor: rename drag event properties for clarity and consistency
* refactor: update drag event properties to include origin component and remove last matched component
* refactor: enhance drag event properties to include origin guides and matched guides
* refactor: remove drag event type and clean up default options in configuration
* feat: add types
* refactor: improve guide rendering logic and enhance drag event properties
* refactor: update addStyle type definition to accept component and styles parameters
* refactor: streamline guide rendering logic and separate matched guides retrieval
* refactor: remove unused guidesTarget variable and optimize guide rendering during drag
* refactor: optimize guide rendering performance and enhance drag event handling
* refactor: simplify guide target retrieval and enhance type safety in ComponentDrag
* fix: recalculate guides to prevent issues with initial drag position
* refactor: enhance guide matching logic to improve accuracy during drag operations
* refactor: rename guide matching functions for clarity and consistency
* refactor: clean up deprecated properties in ComponentDrag and improve command test clarity
* refactor: update command test expectations
* refactor: improve command option handling and test clarity
* refactor: remove unused default options and enhance guide matching type definitions
* refactor: clarify guide matching type definitions by specifying units in pixels
* refactor: enhance guide matching logic to include complementary types
* Add frame and page getters to Component
* Allow to skip dom reset in components
* Add detectDocument option to parser config
* Add __attrToString
* Update all configs in modules to avoid objects by reference
* Add tests to detectDocument
* Unskip some tests
* Add canMove and getChildren to Sorter
* Make the canvas use Components.canMove function
* Fix StyleManager issue
* Make Sorter dependent on an abstract datastructure
* Remove unneeded properties
* Add drag direction enum
* extract method
* Add default values for the sorter
* reverse avoidSelectOnEnd
* Group related options for the Sorter
* Fix types, and fix canvas sorter
* Add method to clear source element freeze
* Add DropLocationDeterminer class
* Refactor some methods in the sorter
* Refactor endMove method
* Refactor rollback method
* Add DropLocationDeterminer, refactor methods in Sorter class
* Break the sorter into multiple classes
* Fix placeholder class jsdocs
* Fix bug while dropping items near the border
* Refactor DropLocationDeterminer
* Add helping methods to the ComponentSorter
* Remove unwanted fields in DropLocationDeterminer
* Add componentSorter Class
* Refactor DropLocationDeterminer Class
* Rename file
* Fix style manager class
* Move files into a new folder
* Move types to a new file
* Add back the tree class paramater instead of abstract classes
* Fix dropping on the same collection issue
* refactor isInFlow
* Change methods to be accessor methods
* Make component sorter dependant on an abstract node
* Fix bug with dropping into an element with no children
* Fix component layers drag and drop
* Remove the ensure placeholder logic from the StyleManagerSorter
* Refactor event handler types
* export interface SorterEventHandlers
* change to ensurePlaceholderElement method
* Make images droppable
* Add support for dragging and dropping textable components
* Remove container argument from startSort
* Trigger events on starting and ending the dragging
* Add triggering old events and callback functions
* Fix drop issue with the style manager
* Add cancelling the dragging
* Hide placeholder if no target
* Refactor droplocationdeteminer and improve performance
* Fix some bugs
* Fix some callbacks
* trigger 'sorter:drag:validation'
* Disable editable text after dropping
* Remove unused functions
* Fix placeholder direction
* Refactor restnode state
* Run formatter
* Remove unused code and redundent comments
* Fix stack test
* Avoid triggering the drop event twice
* Fix styles being removed when dragging components
* change 'sorter:drag:start' event triggering
* Fix legacyOnMove not being triggered
* Some refactor
* Fix selection after cancelling
* Fix triggering update event without moving any component
* fix the sort of dragged components
* make style manager droppable even if the mouse is outside the continer
* Fix selecting blocks after being dropped
* Fix placeholder for empty containers
* Fix blocks drag cancel issue
* Fix style manager cancel
* Fix autoscroll not stopping issue
* Fix comment components drag
* Fix issue with hidden elements
* Fix selection after dropping
* Format
* Fix position on scroll
* remove console.log
* Change target calculation with scroll
* Fix blocks not activating issue
* Fix block drop in wrapper issue
* Fix dropping multiple components in the same position
* Preserve target canvas spot
* Avoid updating non-text related component on drag/drop
* skip sorter tests
---------
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>