This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Dec 01, 2022
-
-
rhenck authored
Rules for when drop is allowed have been fixed. It is quite complicated and therefore a lot of explanatory comments are added. - improved translation - add example file
-
- Nov 29, 2022
-
-
rhenck authored
Allows DropListvalueObjects which have this setting to be replaced in lists which only allow onlyOneItem. When this switch is set, the class sets the other 2 internal values (originListID?: string; originListIndex) itself. Those can not be seen nor changed from outside. Also refactoring in lots of places around droplists. Better names, cleaner structure, comments. #305
-
- Nov 28, 2022
-
-
rhenck authored
Lists with this setting delete dropped value objects. This allows putting items back. (Only makes sense when used with copyOnDrop. Otherwise there can not be duplicate value IDs). Also improve constructor value checks to correctly handle nullish booleans. #281
-
- Nov 21, 2022
-
-
rhenck authored
-
- Nov 20, 2022
-
-
rhenck authored
#309
-
- Nov 09, 2022
- Nov 08, 2022
- Nov 07, 2022
-
-
rhenck authored
- Replace Material Droplist with native HTML events - Remove simple-drop-list element; Cloze elements now use the normal DropList element - Add example units
-
- Oct 18, 2022
-
-
jojohoch authored
- overflow of lists is now hidden to prevent dropable elements from being displayed outside the container - placeholders are hidden with flex orientation
-
- Oct 07, 2022
-
-
jojohoch authored
-
jojohoch authored
Use a horizontal aligned placeholder for dynamic aligned drop lists when there is more than one element in the list
-
jojohoch authored
-
jojohoch authored
-
jojohoch authored
- Refactor variable of the placeholder dimensions
-
jojohoch authored
- Important for vertically positioned drop lists - Analogous to the calculation of the height
-
jojohoch authored
- Replace pixel calculation with percentage values - Use of only two modes: full fill or line
-
- Sep 09, 2022
-
-
jojohoch authored
-
- Sep 08, 2022
-
-
jojohoch authored
- This makes the behavior identical to real form elements - To trigger the focusout event, the HTML element needs the tabindex attribute
-
- Aug 30, 2022
-
-
jojohoch authored
-
- Aug 08, 2022
-
-
rhenck authored
-
- Jun 03, 2022
-
-
rhenck authored
The dragged image did contain carry information about it's element. Also remove useless drag and drop functionality for the placeholder.
-
- 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.
-
- May 05, 2022
-
-
rhenck authored
- Fix DropLists with copyOnDrop to display a placeholder copy of dragged elements. The drop preview is hidden on those lists. It still has to be in the DOM to be the target for the 'falling' animation of the dragged item, otherwise it flies to the top left corner of the viewport.
-
- May 02, 2022
-
-
rhenck authored
With this setting elements are copied when being dropped to another list. On drop it is also checked if the item-ID is already present in the list. If it is the drop event is silently discarded. This allows putting items back in the list without creating duplicate IDs. Lists with this setting: - do show a placeholder of the items being dragged. This way it is conveyed that the item will remain there after being dropped. - don't show a placeholder when items are hovered over them, to avoid confusion with duplicate items. Sorting within DropLists is disabled, since it causes moving items within the list. It has to be discussed if this feature is even needed.
-
- Apr 19, 2022
-
-
jojohoch authored
The height of an empty droplist can't be calculated on ios 14 because it's in a flex container
-
- Apr 05, 2022
-
-
rhenck authored
-
- Mar 31, 2022
-
-
rhenck authored
-
- Mar 02, 2022
-
-
rhenck authored
- Units and element are now built via the factory. This ensures only the wanted properties are present. All others are discarded. - Since the sanatizer is supposed to check the unit defintion version it is used by player and editor and therefore put in common. This in turn makes it necessary to put the JSON resolver settings in the root-TSConfig file. - Renamed a couple of properties to have clearer names.
-
- Feb 28, 2022
-
-
jojohoch authored
Remove manipulations from elementModel - Refactor drop list component - Use of initial values for audio and video playback time Defining the validators not in the elements anymore, but when creating the forms
-
- Feb 18, 2022
-
-
rhenck authored
- Unify font and surface props - Use intersection type for additional properties - Also rework editor props panel to properly create the combined properties recursively, passing the results to its child panel (tabs). New algorithm works without lodash, therefore the package is removed.
-
- 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.
-
- Feb 16, 2022
-
-
jojohoch authored
Remove the wrapper divs in each element component and add the 'fixed-size-content-wrapper' class to the element overlays of player and editor
-
- Feb 11, 2022
-
-
jojohoch authored
The previous solution, which uses a top position of 50%, did not work on iPad
-
- Feb 09, 2022
-
-
rhenck authored
This is done according to the Angular best practices and minimizes namespace collisions when using other packages which might use the same selectors. Technically the selectors are not even becessary since we use an Angular component factory to create element components but it is still useful for the DOM element naming, for debugging purposes for example.
-
- Dec 16, 2021
-
-
rhenck authored
Elements are supposed to be centred when this setting is used. Since it is the same CSS for almost all element components it is put into global styles. Missing components: video, spelling.
-
- Dec 15, 2021