This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Jun 08, 2023
-
-
rhenck authored
#453
-
- May 24, 2023
-
-
rhenck authored
Measure holds the value and a unit for CSS properties.
-
- Sep 15, 2022
-
-
rhenck authored
- remove ID handling from model classes. This is now done by the editor itself (mainly unit service). - Rename and move IDManager to editor as IDService
-
- Aug 29, 2022
-
-
jojohoch authored
-
- Jun 14, 2022
-
-
jojohoch authored
-
- Jun 03, 2022
-
-
rhenck authored
Remove 'any's be adding proper types and using 'never'.
-
- Jun 02, 2022
-
-
jojohoch authored
- problem with nullish values
-
- Jun 01, 2022
-
-
rhenck authored
Page needs to be a partial as it is only the blueprint.
-
rhenck authored
Now properly finds all normal and simple drop lists. This is achieved by a new method of unit all it's sub-components, which returns all contained elements with and optional type filter. Also improve (still not very pretty) styling of the drop list props panel. #260 #259
-
rhenck authored
- Elements initialize their fields explicitly and not with Object.assign, since Object.assign also assigns (and therefore overwrites) parent fields. - IDService is no longer an Angular service but a basic singleton. This allows to use it in classes. - The IDManager can be optionally passed to unit and element constructors. When present the elements check and fix their given ID when created. This way elements can be created without depending on the external IDManager but also with the dependency. - ElementFactory is no longer used to create elements. Those are now either created directly via 'new' or via the Section, which knows the different element types.
-
- May 18, 2022
-
-
rhenck authored
Elements read as classes were overwritten by the plain objects passed to the constructors.
-
- May 17, 2022
-
-
rhenck authored
This way elements can handle their logic themselves without having to rely on outside utility classes. Also restructure files in common in a more logical way.
-
- Feb 17, 2022
-
-
rhenck authored
This removes all the classes and goes back to simple interfaces for unit, pages etc and all elements. This makes creating them easier and cleaner. Things like specific needs when setting element properties and most importantly compatibility handling is done by a special service module, that knows all the elements and how to repair old their potentially outdated definitions.
-
- Jan 22, 2022
-
-
rhenck authored
-
- Dec 10, 2021
-
-
rhenck authored
Variable naming, reorder imports etc.
-
rhenck authored
Generally only the editor needs to generate new IDs. Before there was need to have it in common because some elements (like compound elements) needed to generte new Elements including IDs. Now all ID stuff is handled by the UnitService and the elements classes are handed the fully built elements. Unfortunately this means that some logic has to move back from classes into the UnitService. To un-bloat the UnitService a (and in the future some more) helper class is created for this logic. The most important thing is, that the UIElement no longer generates an ID when created. The ID has to be created before and passed to the constructor.
-
- Nov 20, 2021
-
-
rhenck authored
-
- Oct 29, 2021
-
-
rhenck authored
-
- Oct 25, 2021
-
-
rhenck authored
-
- Oct 15, 2021
-
-
rhenck authored
-
- Oct 13, 2021
-
-
rhenck authored
- Remove interfaces - Add classes for all elements as well as unit, page and section - 2 intermediate interfaces are kept. They dont constituate a viable object but only additional properties, like background-color. Those can be added as interface to all elements. Initialisation has to be done by the element itself though and not by some constructor higher up.
-