* fix after rebase
* new release strategy for ng next
Signed-off-by: eromano <eugenioromano16@gmail.com>
* peer dep
Signed-off-by: eromano <eugenioromano16@gmail.com>
* Angular 14
fix unit test and storybook
Signed-off-by: eromano <eugenioromano16@gmail.com>
fix after rebase
Signed-off-by: eromano <eugenioromano16@gmail.com>
update pkg.json
Signed-off-by: eromano <eugenioromano16@gmail.com>
missing dep
Signed-off-by: eromano <eugenioromano16@gmail.com>
Fix mistake and missing code
Dream....build only affected libs
Add utility run commands
* Use nx command to run affected tests
* Fix nx test core
fix content tests
Run unit with watch false
core test fixes
reduce test warnings
Fix process cloud unit
Fix adf unit test
Fix lint process cloud
Disable lint next line
Use right core path
Fix insights unit
fix linting insights
Fix process-services unit
fix the extensions test report
fix test warnings
Fix content unit
Fix bunch of content unit
* Produce an adf alpha of 14
* hopefully fixing the content
* Push back the npm publish
* Remove flaky unit
* Fix linting
* Make the branch as root
* Get rid of angualar13
* Remove the travis depth
* Fixing version for npm
* Enabling cache for unit and build
* Fix scss for core and paths
Copy i18 and asset by using ng-packager
Export the theming alias and fix path
Use ng-package to copy assets process-services-cloud
Use ng-package to copy assets process-services
Use ng-package to copy assets content-services
Use ng-package to copy assets insights
* feat: fix api secondary entry point
* fix storybook rebase
* Move dist under dist/libs from lib/dist
* Fix the webstyle
* Use only necessary nrwl deps and improve lint
* Fix unit for libs
* Convert lint.sh to targets - improve performance
* Use latest of angular
* Align alfresco-js-api
Signed-off-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
* [AAE-9373] Create adf-rich-text-editor into core library, install editorjs and import it into the component, add a basic editorjs configuration
* [AAE-9374] create a rich text editor demo page
* [AAE-9376] Install header to provide headings blocks
* [AAE-9376] Install editorjs List plugin to add ordered and unordered list
* [AAE-9376] Install text color plugin to change text color and highlight text
* [AAE-9376] Install paragraph plugin to set text alignment to right, left, center and justify
* [AAE-9376] Install font size plugin to increase/decrease font size
* [AAE-9376] Install @editorjs/underline plugin to underline text
* [AAE-9376] Install @editorjs/inline-code to marking code-fragments
* [AAE-9376] Set shortcut to underline text
* [AAE-9376] Install @editorjs/code to add code examples
* [AAE-9376] Enable custom picker to color text changer, add colors codes
* [AAE-9376] Add input to fill rich text editor data
* [AAE-9376] Demo rich text editor, add sample data to display editor content
* [AAE-9376] Demo rich text editor, add sample data to display editor content
* [AAE-9376] Install @editorjs/marker plugin to highlight the text, because color plugin doesn't save marker style
* [AAE-9373] Send editor text output data onReady and onChange
* [AAE-9374] Update editor demo page to show the output on the right side of the page
* [AAE-9373] Allow to enable editorjs readOnly mode
* [AAE-9373] Return rich text editor save data as promise
* [AAE-9480] Add new display-rich-text widget to allow the user add Rich Text into a form
* [AAE-9371] Add readonly class if readOnly property is true to remove the editor 300px padding bottom in readonly mode, set a dynamic id to editorjs
* [AAE-9371] Destroy editorInstance on component destroy to FIX an error faced when there are multiple editorjs instance in the same page --> Uncaught TypeError: Cannot read property 'updateCurrentInput' of undefined
* [AAE-9480] Install editorjs-html utility to parse editorjs clean data to HTML
* [AAE-9480] parse editorjs data to HTML to avoid to create a new EditorJS instance for every single widget and improve performance
* [AAE-9480] Set pre styles to show show Code block styles correctly
* [AAE-9480] Remove space between rules
* [AAE-9480] Set editorjs and plugins fixed versions
* [AAE-9480] Removed unused editorjs dependency
* [AAE-9371] Set is ready property when editor instance is ready, check if is ready to destroy the instance on component destroy
* [AAE-9480] Add parse editorjs data to html Test
* [AAE-9371] Send rich-text-editor component data only if readOnly mode is false
* [AAE-9480] Test if display-rich-text widget is resolved
* [AAE-9480] Rename DisplayRichTextComponent into DisplayRichTextWidgetComponent to be compliant with other widget component names
* [AAE-9480] update Readme files with DisplayRichTextWidgetComponent
* [AAE-9371] Update header text
* [AAE-9371] Add Rich text editor component usage documentation
* [AAE-9480] Add padding to the widget container
* [AAE-9371] Remove plugin that align pragraph text since editorjs-html parser doesn't handle paragraph alignment
* [AAE-9371] Set editor autofocus to true
* [AAE-9480] Add a display-rich-text widget example to demo cloud form
* [AAE-9371] Fix lint issue
* [AAE-9371] Remove duplicated import to fix import module issue in a lib build job
* [AAE-9200] - Be able to customise task/process list and header date formats
* Update json schema
* Revert schema changes
* Update task and process name translation values
* move task/process header date formats inside header config
* Add documentation
* Update documentation
* Use a fixed timezone for unit tests of core and cloud
* Fix e2e due to column rename
* More e2e fixes due to column rename, remove test covered by unit test
* Fetch the userInfo once loggedIn and expose the cabilibility of admin
* Rollback method
* Return same use if defined
* Use the same pepleContent service for UserInfoCOmpnent
* Remove useless import
* Use interface
* Use angular resolver instead of guard
* Remove fdescribe
* Fix linting
* Regenerate doc
* Improve doc
* Fix optional
* Fix the unit test
* Fix comment
* Fix lint
* Fix unit
* Add fetch user as part of the ssoGuard
* Fix unit test after fetch
* Add additional unit
* Fix await
* [AAE-7819] Enable drag and drop for datatable [1/3]
* [AAE-7819] Change column order - load and save columns order preferences for PROCESSES - [2/3] (#7568)
* [AAE-7819] Load and save column order preferences for processes
* [AAE-7819] Load and save column order preferences for tasks [3/3] (#7569)
* fix css
* fix icon module import
* Fix unit tests
* Fix test
* Fix e2e
* Fix C279927
* [AAE-5392] - Make search text input more configurable & add an event emitter to indicate the states of it
* Remove fdescribe
* Emit empty search term when the search gets cleared
* Emit the empty search term when the search gets collapsed by the Search icon
* Same onBlur, emit the empty search term
* Add unit tests for emitters resetting the search term
* Fix comments, use reset event emitter instead of emitting an empty search term
* Update documentation
* Revert reset to boolean
* Fix flaky unit test
* ability to override successRoute from app.config
* Add basic doc
* Reset the appconfig
* Rebase and handle login errors
* Remove the default route /
* remove space
* [ACA-3672] - added sorting server side for document-list
* [ACA-3672] - added and fixed unit tests for backend order
* [ACA-3672] - fixed failing test
* [ACA-3672] - regenerated doc and renamed variable
Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
* [ACA-3426] Move filter-menu inside search and renamed as search-header
* [ACA-3426] adf-search-header removed from document-list and implemented in app-files
* [ACA-3426] Allow custom header filters inside document-list
* [ACA-3426] Decouple search from the document-list
* [ACA-3409] NodePaging ouputed to the DL
* [ACA-3426] - fixed injection for service
* Dev baptiste aca 3430 (#5773)
* [ACA-3430] Add style to filter and hide action buttons from facet widgets
* [ACA-3430] Update eventEmitter created in the DL and create unit tests for the search-header
Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>
* [ACA-3426] - added parent for service
* [ACA-3426] - added parent for service - fixed method
* [ACA-3426] Revert update EventEmitter inside DL
* [ACA-3436] Use of the node input instead of nodeUpdate mehtod
* [ACA-3426] Add clear behaviour to search-header
* [ACA-3426] Remove useless update exposition
* [ACA-3426] Update filter button styles and padding inside the filter menu
* [ACA-3443] Propagate filters states through DL and datatable to avoid hiding the header
* [ACA-3426] Refactor showHeader logic and use it for the filters
* [ACA-3426] - fixed pagination for filter result
* [ACA-3426] - fixed messed files after rebase
* [ACA-3426] - added simplified config version
* [ACA-3426] - enabling created by filter
* [ACA-3426] Fix search-date-range apply method
* [ACA-3426] Fix loading style and default showHeaderMode
* [ACA-3426] Changed showHedaer default to always
* [ACA-3426] - stabilised the feature and added injection token
* [ACA-3426] Add unit test for showHeader new behaviour
* [ACA-3426] Add documentation to search-header
* [ACA-3426] - added parent filtering for special folders
* [ACA-3426] - added unit test for search header
* [ACA-3426] - fixed search fitler behavour
* [ACA-3426] - fixed search result inject service
* [ACA-3426] - fixed search result inject service for search sorting
* [ACA-3426] - fixed title for matching selector
* [ACA-3426] - fixed app config with missing search widget
* Update search-header.component.md
Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
* added a new input: file
* unit test - having singleFile option and a file as input, the type of the input for uploading should be button instead of file
* added a click event for the upload button and also handle if having a file as input, the type of the input should be 'button' instead of 'file'
* handling allowed for upload also for 'update' permissions over a dropped file. also emitting a new event for updating file version if i'm dropping a single file over another file.
* unit tests for handling dropping a file over another
* added a new input (file type)
* passing a file to adf-version-upload component
* new input as file and toggle new version if having that as input + unit test
* added new input as file for new version
* added new input to allow dropping a file over another to update it's version
* added a new variable for handling dropping a file over another one and also handle a new event when we update the file version
* pass a new dropped file to the dialog
* new message
* new method to allow isDropTarget for a file instead only to folders.
* new emitter for updating a file's version
* allows updating a file's version by dropping another file over it.
* refactor allowDropFiles
* update docs for drag&drop file into another file
* update for drag&drop a file over another file functionality
* made the allowDropFiles checking optional for isDropTarget property, only checking if the value is passed to the share-data-row
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
* [ADF-4871] [TaskHeaderCloudComponent] Add Candidate Users/Groups properties
* Added Candidate users/groups properties to the task heade cloud component.
* * Created CardViewArrayItemComponent
* Modified FullName pipe to return username or email incase fullname missing.
* Added candidate Users/Groups properties to the taskcloudheader component.
* Added two service into task-cloudservice
* Updated Demoshell card-view with new widget
* * Fixed failing unit test
* * Fixed comments.
* * Refactored CardViewArrayItem model
* Fixed comments.
* * Changed candidate group icon