Artur Arseniev
b1b00ab4dc
Add allowEmpty to getCss ( #6742 )
6 months ago
Artur Arseniev
86d471ce0a
Data source import policy ( #6738 )
* Start data source import policy implementation
* Fix TS
* Update applyImportPolicy
* Up TS naming
* Up test file
* Improve applyImportPolicy
* Add more use cases to data binding import policy tests
* Add support per-call dataBindingImportPolicy
* Up JSDoc
* Fix tests
* Format
6 months ago
Artur Arseniev
095b3ecde4
Type callback events ( #6710 )
* Allow skipping nodes during HTML parsing
* Type canvas events
* Type commands event callbacks
* Type device event callbacks
* Add callback events to i18n
* Add callbacks types to keymaps
* Add callback types to modal
* Add callback types to layers
* Add callback types for pages
* Add callback types to parser
* Add callback type to RTE
* Add callback types to selectors
* Add callback types for storage
* Add callback types to StyleManager
* Add callback types to traits
* Add callback events to Components
* Add callbacks types to editor
* Up types
* Fix API docs generation
* Format
8 months ago
Artur Arseniev
6370546f43
Update data resolver watcher ( #6676 )
* Fix data resolver data collection instances update
* Add block events callbacks
* Update Block events callback types
* Add asset event callbacks
* Fix TS
10 months ago
Artur Arseniev
754e2f4f56
Fixes and improvements for datasources ( #6649 )
* Improve data source TS
* Skip running updateSymbolOverride on non-symbol components
* Refactor data types
* Update default root resolver item
* Resolve direct data sources in ComponentWrapper
* Add updateDebug event
* Fix data resolver update logic
* Fix id removal in ComponentDataCollection and tests
* Clone CSS rules pasted cross components
* Fix attributes/styles collide in data sources
11 months ago
Artur Arseniev
c7fdedb429
Fix component content reset with duplicated ids ( #6638 )
11 months ago
mohamed yahia
c9667e09b4
Performance improvements ( #6621 )
* add cache for css composer
* make animation for cssRuleView
* Refactor component class
* improve helper functions
* add cache for selectors
* make property view render in virtual dom first
* Refactor html parser
* Revert component.createId change
* Add CssRule.getAtRule
* Revert cssRuleView change
* Add css rule caching
* Fix parse style tests
* Revert component changes
* Revert model data resolver changes
* revert html parser changes
* revert property view changes
* revert cach dom changes
* revert dom changes
* fix test
* Move cache to ItemModule
* Refactor and cleanup
* Fix type
* Adjust selectors get
* Cleanup
* Cleanup selectors
---------
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
11 months ago
Artur Arseniev
83bb01b94b
Data source schema & providers ( #6633 )
* Setup initial schema types
* Setup initial schema methods
* Add DataSource tests
* Up test
* Add test getValue
* Cleanup
* Up test
* Add setValue method
* Up docs
* Check nested arrays
* Add a test for nested setValue
* Improve setValue for nested values
* Improve setValue for nested values
* Setup relation tests
* Add getResolvedRecords
* Resolve one to many relations in DataSource records
* Add DataSourceSchema
* Up type
* Start data source providers
* Start test provider
* Add tests for loadProvider
* Cleanup
* Skip records if DataSource provider is set
* Load providers on project load
* Type keymap events
* Move modal events
* Move layer events
* Move RTE events
* Move selector events
* Move StyleManager events
* Move editor events
* Start DataSource callbacks
* Add data source callbacks
* Update docs
* Up device_manager jsdoc
* Format
11 months ago
mohamed yahia
3b97b7a043
[ #6587 ]: Fix infinite text nodes on dragging into a symbol ( #6600 )
* [#6587 ]: Fix infinite text nodes on dragging into a symbol
* Fix race condition during storing project data
* Update bug fix
1 year ago
Artur Arseniev
1555cf0957
Fix release pointer cancel in resizer ( #6574 )
* Fix release pointer cancellation
* Ensure strings in assets src
1 year ago
nanto_vi, TOYAMA Nao
a94cf2526b
Fix parser to take account of `parser.optionsHtml.keepEmptyTextNodes` option ( #6571 )
* Fix parser to take account of `configParser.optionsHtml.keepEmptyTextNodes`
* Delete unused `editorConfig.keepEmptyTextNodes`
1 year ago
Artur Arseniev
ac76e199c4
Enhance component resize ( #6566 )
* Move resize options from SelectComponent to Resize command
* Add updateStyle
* Add convertPxToUnit
* Add convertPxToUnit to options
* Use pointer capture
* Cleanup
* TS fixes
1 year ago
Artur Arseniev
b7b1ad11fb
Update activate ( #6556 )
* Update activate
* Add __clearAttributes to ComponentView
1 year ago
Artur Arseniev
8a04a79e85
Add onInit to modules ( #6469 )
2 years ago
Artur Arseniev
7b31fed1db
Fix events output in API reference docs ( #6452 )
* Fix events output in API reference
* Format
2 years ago
Artur Arseniev
55f5d013f7
Firefox resize fix + skip loading keymaps in headless mode ( #6435 )
* Fix error when resizing components in Firefox
* Avoid loading keymaps for headless editor
* Fix other possible issues
2 years ago
Chris Benjamin
8d7d53988c
fix: Highlighted text selection cleared on shift-click ( #6412 )
* apply bypass for clearing text selection for shift-clicking a component being edited
* did not have prettier extension working properly
---------
Co-authored-by: Chris Benjamin <cbenjamin@stormseed.com>
2 years ago
Artur Arseniev
3bac5388c8
Update canvas frame ( #6414 )
2 years ago
Artur Arseniev
13d1c23b32
Fix and add a few events ( #6397 )
* Remove unused styles
* Remove deprecated command options
* Remove deprecated Commands events
* Add `command:call` event for generic Command calls
* Add `project:get` event
* Add `parse:html:before` and `parse:css:before` events
* Avoid using toggleFramesEvents on component resize
2 years ago
Artur Arseniev
cdeae9cb09
Improve some events ( #6360 )
2 years ago
Artur Arseniev
fe2807368a
Fix selection events ( #6325 )
* Pass options in setSelected
* Allow force sync from custom RTE
2 years ago
Artur Arseniev
292f61564a
Add `destroy`/`destroyed` events ( #6289 )
2 years ago
Artur Arseniev
1636b5955d
A few fixes/improvements for the DataSource module ( #6219 )
2 years ago
Daniel Starns
d0dbac7414
feat: add telemetry tracking ( #6210 )
2 years ago
Artur Arseniev
336f4b81e6
Feature detect document + fixes on configs ( #6189 )
* 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
2 years ago
Daniel Starns
baedf09900
feat: add DataSources to project json storage ( #6160 )
* feat: add DataSources project json storage
* refactor: flip to stroage by default with skipFromStorage
* refactor: change datasources storage to be an array
* docs: *
* refactor: remove custom load
* Allow to clear data sources
* Update serialization.ts
* Update tests
---------
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
2 years ago
Artur Arseniev
bca8dc572c
Ensure the resizer is applied on the proper selected component ( #6128 )
Ensure the resizer is applied on the proper selected component. Fixes #6096
2 years ago
Artur Arseniev
9a6fa0c266
asDocument not working as expected. Fixes #6116 ( #6121 )
2 years ago
Daniel Starns
922118f5ac
refactor: init change to monorepo ( #6111 )
2 years ago