* Toggle the inert attribute when adding or removing the first/last editor
* Add focus lock directive for the editor
* Increase timeout period so infinite editors transclusions will also have time to finish
* Make sure elements containing .ng-hide are not part of the possible focusable elements
* Update comments
* Conditionally add umb-focus-lock and inert attributes
* Hook into the evenservice to reinitialize the onInit method if the last editor has not been closed when the lock is used in infinite mode
* Don't try to add focus to something that does not exist
* Minor code refactor placing some variables outside the init method
* Refactoring code to make things a bit more clean
* Remove the event listener when the directive is destroyed
* Add mutationObserver to watch for attribute changes and then trigger the getFocusableElements method
* Fetch focusable elements on domChange
* Ensure that args exists before trying to read the properties
* Refactor to use mutationobserver when overlays are closed passing the correct target and re-initialising the directive to activate the focus lock
* Change ng-hide to ng-if so the focusable elements inside the hidden div are not being selected
* Narrow attributes to look for down to the bare minimum of the umb-focus-lock
* Refactor to using good ol' for loop (Fastest)
* Disconnect the observer once the init function has been called - Massive performance improvement
* Event handler cleanup
* Refactor the code to re-initialize the init method on destroy in case infinite editors still exists in the DOM
* Align codestyle
* Add logic to deal with "lastKnowFocused" elements in infinite editing mode
* Re-add attributes after merge with contrib branch
* Correct spelling mistake
* Move onInit into the $includeContentLoaded event and set the timeout to 0
* Make sure to add focus to elements with role="button" as well
* Add comments and remove timeout / delay settings
* Debouce domObserver
* Wrap init function in safeApply
* Add comments to help remember / understand what things are intended to be doing and add missing event param as well as getting rid of some unused code
* Adding more comments
* Move setting of first and last focusable elements into the setElement function
* Remove todo
* Move the setup of first and last focusable elements back to where they were...
Co-authored-by: Joe Glombek <gh@joe.gl>
* Added support for screeen reader alerts on the embed so that assitive technology knows when a url retrieve has been succesfull.
Added labels for the controls
Preview reload only triggered if the values for height and width change
* Added support for label fors for the macro picker and also gave the ,acro search box a title
* Now displays a count of the matching macros returned. Please note the language file amends shared with #10100
* Removed src-only class for the display of the count of messages
* Added support for screeen reader alerts on the embed so that assitive technology knows when a url retrieve has been succesfull.
Added labels for the controls
Preview reload only triggered if the values for height and width change
* Tree search details the number of search items returned
* Add French translations
* Added support for screeen reader alerts on the embed so that assitive technology knows when a url retrieve has been succesfull.
Added labels for the controls
Preview reload only triggered if the values for height and width change
* Added control ids for the link picker
* Add French translation
* Pass in value to preventEnterSubmit directive
* Set enabled similar to preventDefault and preventEnterSubmit directives
* Update prevent enter submit value
* Init value from controller
* Use a different default input id prefix for umb-search-filter
* Fix typo
* Check for truthly value
* Revert "Set enabled similar to preventDefault and preventEnterSubmit directives"
This reverts commit 536ce855c4545ead82cea77b4013bf9010a8687b.
* None pointer events when clicking icon
* Use color variable