Compare commits

...
Author SHA1 Message Date
DominikIwanek 6cd4cb0cda [ACS-8021] Inputs for comments 2024-05-22 15:48:44 +02:00
AleksanderSklorz 9d7e81517f [ACS-7999] Fix inputs for edit and create folder (#9713)
* ACS-7999 Fix inputs for edit and create folder

* ACS-7999 Fix jumping dialog when focus field
2024-05-22 11:55:20 +02:00
dominikiwanekhyland 20e059c909 [ACS-8004] Fix inputs for move folder (#9707) 2024-05-21 14:30:41 +02:00
swapnil-verma-glandVito Albano b41c55af9f [ACS-7941] Fixed alignment of text inside buttons (#9686)
* Fixed dependency to allow greater versions

* Rebased to the latest

* [ACS-7941] Fixed alignment of text inside buttons

---------

Co-authored-by: Vito Albano <vito.albano@hyland.com>
2024-05-21 17:15:41 +05:30
dominikiwanekhyland 8483137f11 [ACS-7998] - Add permissions input (#9704) 2024-05-21 07:54:06 +02:00
AleksanderSklorz 3cdebb3664 [ACS-7768] unify inputs and selects across the app - revert (#9699)
* Revert "[ACS-7768] unify inputs and selects across the app (#9687)"

This reverts commit 7cfb5ea64a.

* ACS-7768 Little correction
2024-05-20 09:39:42 +01:00
ba2f117ab1 [ACS-7768] unify inputs and selects across the app (#9687)
* Changed ng version before material migration

* migration for material'

* Fixed most of unit tests failing

* [affected:*][ci:force] Fixing rebase

* [affected:*][ci:force] attempt to fix mat-selectors importing

* [affected:*][ci:force] Fixing the styles - check

* AAE-21392 Fix dropdown form widget style (#9605)

* ACS-7768 Applied new styles for inputs

* ACS-7768 Align icon

* ACS-7768 Input colors based on input state

* ACS-7768 Corrected spaces

* ACS-7768 Styles for selectboxes

* ACS-7768 Fixed label jumping on hovering

* ACS-7768 Style inputs for add permission panel, user role column and comments, styles for inputs without label

* ACS-7768 Style inputs in search filters

* ACS-7768 Set appearance for inputs globally to outline

* ACS-7768 Style inputs for share dialog and login page

* ACS-7768 Style inputs in properties panel

* ACS-7768 Fixed white background when disabled field

* ACS-7768 Moved setting outline appearance for inputs to ACA, fix issue for inputs in permission container

* Revert "[affected:*][ci:force] Fixing the styles - check"

This reverts commit 80d971f7ab.

* Revert "[affected:*][ci:force] attempt to fix mat-selectors importing"

This reverts commit 821d9e1864.

* Revert "[affected:*][ci:force] Fixing rebase"

This reverts commit 378c6c2000.

* Revert "Fixed most of unit tests failing"

This reverts commit 44948e0a28.

* ACS-7768 Reverted unwanted changes

---------

Co-authored-by: Vito Albano <vito.albano@hyland.com>
Co-authored-by: Diogo Bastos <50139916+DiogoABastos@users.noreply.github.com>
2024-05-20 09:39:42 +01:00
Ehsan Rezaei 541005fce4 Updated calendar selector 2024-05-20 09:39:42 +01:00
VitoAlbano 971e33afa6 Fixed property e2e 2024-05-20 09:39:42 +01:00
VitoAlbano 7a6aeaa01e Fixed changed unit test 2024-05-20 09:39:42 +01:00
VitoAlbano ddc39370a5 Missed import 2024-05-20 09:39:42 +01:00
VitoAlbano e2c8791d2d Trying to fix the long failing e2ea 2024-05-20 09:39:42 +01:00
dominikiwanekhyland 71ddd9588d ACS-7561 - permissions page (#9675) 2024-05-20 09:39:42 +01:00
VitoAlbano 236ae6f293 Fixed broken unit test after rebase 2024-05-20 09:39:42 +01:00
Diogo Bastos c80921c65b AAE-21937 Fix context menu list component (#9658) 2024-05-20 09:39:42 +01:00
DominikIwanek f1ccb1b5f6 fix FolderEditDirective unit tests 2024-05-20 09:39:42 +01:00
DominikIwanek b3c04dbb30 fix folder-edit license headers 2024-05-20 09:39:42 +01:00
VitoAlbano f6cc49ba70 Fixed process unit test fail 2024-05-20 09:39:42 +01:00
VitoAlbano f459970b87 rebased 2024-05-20 09:39:42 +01:00
Ehsan Rezaei 491b0f1156 Updated today date selector 2024-05-20 09:39:42 +01:00
VitoAlbano e8cd61f511 Skipped failing unit tests 2024-05-20 09:39:42 +01:00
VitoAlbano cd169bfadd Rebased to the latest 2024-05-20 09:39:42 +01:00
VitoAlbano 6662ea1965 Rebased to the latest develop 2024-05-20 09:39:41 +01:00
AleksanderSklorz 5c0a4808df [ACS-7560] undo deletion notification (#9632)
* ACS-7560 Fixed margin around snackbar and size of x icon

* ACS-7560 Fixed styles for info snackbar
2024-05-20 09:39:41 +01:00
jacekpluta d1617a37e4 [ACS-7533] - Advanced search chips dropdowns (#9618) 2024-05-20 09:39:41 +01:00
Diogo Bastos d67900688a AAE-21703 Fix group widget style (#9612)
* AAE-21703 Fix group form widget style

* AAE-21703 Improve tests
2024-05-20 09:39:41 +01:00
Mykyta Maliarchuk 3a79de6a31 [ACS-7572] link rules dialog fixes (#9607) 2024-05-20 09:39:41 +01:00
VitoAlbano e9e634047e Fixing some sonarcloud comments 2024-05-20 09:39:41 +01:00
Vito Albano 96f826b845 Fixed SonarCloud complaints 2024-05-20 09:39:41 +01:00
Vito Albano 91d3fef51a Fixed SonarCloud complaints 2024-05-20 09:39:41 +01:00
Vito Albano 8f686cf62b rebased to last develop 2024-05-20 09:39:41 +01:00
jacekpluta 26f4c561e9 [ACS-7531] - Search page (#9606) 2024-05-20 09:39:41 +01:00
tomson 267a2a511a [ACS-7582] Upload dialog button display fix (#9603) 2024-05-20 09:39:41 +01:00
Diogo Bastos e88ff60024 AAE-21392 Fix dropdown form widget style (#9605) 2024-05-20 09:39:41 +01:00
Diogo Bastos a8ccf6e2eb AAE-21393 Fix amount form widget style (#9601) 2024-05-20 09:39:41 +01:00
9f67119a6f [ACS-7555] column filters (#9576)
* Changed ng version before material migration

* migration for material'

* Upgrading NX and start fixing styles

* Make all the part build

* Fixed core unit test and excluded instable ones

* Fixed most of unit tests failing

* Fixed unit tests

* Fixed last unit tests

* fixed unit test problem and some other e2e

* Fixed unit tests after rebase

* [AAE-18267] change unit test setup for auth service (#9216)

* [AAE-18267] change unit test setup for auth service

* [AAE-18267] remove exclude

* [AAE-18267] removed CoreTestingModule from imports

* remaining unit test fixes for the Angular 15 update (#9218)

* removing excludes from working tests

* test fixes for CategoriesManagementComponent

* [ci:force] reenabling tests / fixes

* fixes in process-services-cloud

* change html element type

* fix selector in StartProcessComponent

* Fixing unit test after last rebase + lint

* ACS-7555 Fixed styles for node type filters

* ACS-7555 Removed redundant padding

* ACS-7555 Outlined input for text filter

* ACS-7555 Resolved conflicts

---------

Co-authored-by: Vito Albano <vito.albano@hyland.com>
Co-authored-by: Wojciech Duda <69160975+wojd0@users.noreply.github.com>
2024-05-20 09:39:41 +01:00
Diogo Bastos af97f823e0 AAE-21256 Fix form widget styles (#9599) 2024-05-20 09:39:41 +01:00
Vito Albano 50565b0a05 Fixed unit test 2024-05-20 09:39:41 +01:00
tomson d78ccde85a [ACS-7554] Fix tags in column display (#9597) 2024-05-20 09:39:41 +01:00
jacekpluta be8788d503 [ACS-7681] Bell icon not aligned [ACS-7571] Comments [ACS-7563] Add permission dialog (#9594) 2024-05-20 09:39:41 +01:00
Vito Albano eb904ca8f8 Sync lock 2024-05-20 09:39:41 +01:00
Vito Albano 2fdd70630a Rebased ADF Migration PR 2024-05-20 09:39:41 +01:00
Vito Albano 15911afd51 Rebased ADF Migration PR 2024-05-20 09:39:41 +01:00
Mykyta Maliarchuk 85d15870c8 [ACS-7534] create/edit folder dialog fixes (#9575) 2024-05-20 09:39:41 +01:00
Mykyta Maliarchuk e9db366df1 [ACS-7575] create library dialog fixes (#9574) 2024-05-20 09:39:41 +01:00
jacekpluta 453be4983e [ACS-7542] - Upload new version dialog (#9572)
* [ACS-7542] - Upload new version dialog

* [ACS-7542] - Upload new version dialog
2024-05-20 09:39:41 +01:00
jacekpluta 9c1c33f71b [ACS-7331] - View details sidebar (#9455) 2024-05-20 09:39:41 +01:00
jacekpluta d7e054f79e [ACS-7519] - Login page (#9565) 2024-05-20 09:39:41 +01:00
Vito Albano 76e7ed8482 [affected:*][ci:force] - Fixed problem after rebase 2024-05-20 09:39:08 +01:00
Vito Albano 73d053dea1 [affected:*][ci:force] - Rebased 2024-05-20 09:39:08 +01:00
Diogo Bastos 346e6c8975 AAE-21697 Fix people form widget style (#9555) 2024-05-20 09:39:08 +01:00
jacekpluta 2a75f36b73 [ACS-7535][ACS-7537][ACS-7536][ACA] Move/Copy dialogs, Share dialog, Aspects dialog (#9553) 2024-05-20 09:39:08 +01:00
dominikiwanekhyland 49bb5412bb [ACS-7414] - manage versions dialog (#9545) 2024-05-20 09:39:08 +01:00
dominikiwanekhyland 4ebd8781fa [ACS-7530] - Notifications popup looks a bit differently (#9543) 2024-05-20 09:39:08 +01:00
dominikiwanekhyland 1124f5845e [ACS-7532] - Click on chip in search gives redundant icon (#9544) 2024-05-20 09:39:08 +01:00
dominikiwanekhyland c90352b31c [ACS-7528] - Notification and user icons are a bit different (#9540) 2024-05-20 09:39:08 +01:00
Vito Albano d8f1c880db Extra parentesys lint 2024-05-20 09:39:08 +01:00
Tomasz Nastaly 13ef0aed89 [ACS-7419] Fix broken styling of notifications, apply pr remarks 2024-05-20 09:39:08 +01:00
Tomasz Nastaly b96c291d63 [ACS-7419] Fix broken styling of notifications, apply pr remarks 2024-05-20 09:39:08 +01:00
Tomasz Nastaly 1455381be7 [ACS-7419] Fix broken styling of notifications, apply pr remarks 2024-05-20 09:39:08 +01:00
Tomasz Nastaly 0d881f4096 [ACS-7419] Fix broken styling of notifications 2024-05-20 09:39:08 +01:00
Vito Albano 5ee16deead Fixing unit test after last rebase + lint 2024-05-20 09:39:08 +01:00
Vito Albano 5abfaa63c4 Fixing unit test after last rebase + lint 2024-05-20 09:39:08 +01:00
Vito Albano af546ecfee Fixing unit test after last rebase + lint 2024-05-20 09:39:08 +01:00
Vito Albano 5a11c9b71d Re Enabling unit test removed 2024-05-20 09:39:08 +01:00
Vito Albano 04b176fb46 Fixed errors on unit and lint 2024-05-20 09:39:08 +01:00
Jacek Pluta bfbcf122a8 [ACS-7375] - Share link dialog issues 2024-05-20 09:39:08 +01:00
DominikIwanek 50d6c316bb [ACS-7414] - Manage versions dialog 2024-05-20 09:39:08 +01:00
DominikIwanek dbca12119e [ACS-7446] - Upload progress box issues 2024-05-20 09:39:08 +01:00
tomson 271154a54b [ACS-7413] Dialog height and spacing issues (#9515) 2024-05-20 09:39:08 +01:00
jacekpluta ad91873a82 [ACS-7452] - Small screen notification banner [ACS-7418] About page (#9507) 2024-05-20 09:39:08 +01:00
Mykyta Maliarchuk 5ba0ce161c [ACS-7373] mat-icon-buttons 2024-05-20 09:39:08 +01:00
Mykyta Maliarchuk 043ffd4065 [ACS-7373] ng15 permissions page fixes 2024-05-20 09:39:08 +01:00
Vito Albano 1f9da52c92 [affected:*][ci:force] - Funny imports 2024-05-20 09:39:08 +01:00
Vito Albano c2b96fe9a3 [affected:*][ci:force] - Rebased and added an extra fix for after 2024-05-20 09:39:08 +01:00
Vito Albano 9a66f385e8 [affected:*][ci:force] - REBASED 2024-05-20 09:39:08 +01:00
Vito Albano ada621035f [affected:*][ci:force] - REBASED 2024-05-20 09:39:08 +01:00
jacekpluta b22bcff1b5 [ACS-7359] - Angular 15 - Edit aspects modal [ACA] (#9488) 2024-05-20 09:39:08 +01:00
Vito Albano 3621ff001f [affected:*][ci:force] - REBASED 2024-05-20 09:39:08 +01:00
Vito Albano ed3a90be69 [affected:*][ci:force] Added pretheme for core as it is mandatory when publishing and rebuilding 2024-05-20 09:39:08 +01:00
Vito Albano e6a9c24fb2 [affected:*][ci:force] Fixing the styles - check 2024-05-20 09:39:08 +01:00
Vito Albano ea34784c84 [affected:*][ci:force] attempt to fix mat-selectors importing 2024-05-20 09:39:08 +01:00
Vito Albano 1e47b3bb52 [affected:*][ci:force] Fixing e2e - fixing the last ones 2024-05-20 09:39:08 +01:00
Amedeo Lepore 60c38ba481 [affected:*][ci:force] Remove fit 2024-05-20 09:39:08 +01:00
Vito Albano 00f2924a5d [affected:*][ci:force] Fixing e2e - the eternal fail 2024-05-20 09:39:08 +01:00
Vito Albano 08cb7c1d48 [affected:*][ci:force] Fixing e2e - the return of the fail 2024-05-20 09:39:08 +01:00
Vito Albano eb02a6014e [affected:*][ci:force] Fixing e2e - the return of the fail 2024-05-20 09:39:08 +01:00
Vito Albano b01c1030f8 [affected:*][ci:force] Fixing e2e - the lord of E2E 2024-05-20 09:39:08 +01:00
Amedeo Lepore 548a207261 [AAE-21089] Fix e2e Search - fix checkbox selector 2024-05-20 09:39:07 +01:00
Vito Albano 90576b9e01 [affected:*][ci:force] Fixing e2e - the lord of E2E 2024-05-20 09:39:07 +01:00
Amedeo Lepore 41039029df [AAE-21085] Fix e2e Search - add content selector that wrap text 2024-05-20 09:39:07 +01:00
Amedeo Lepore 6e6bc9a056 [AAE-21085] Fix e2e Search - revert to previous version, text should be written without pressing eneter to show the autocomplete list items 2024-05-20 09:39:07 +01:00
Amedeo Lepore 8f67484957 [AAE-21084] Fix e2e Content: Upload and Versioning - C279992 - fix enable togle selector 2024-05-20 09:39:07 +01:00
Vito Albano c65b6fdbca [affected:*][ci:force] Fixing e2e - the long painful journey - part II 2024-05-20 09:39:07 +01:00
Vito Albano 896f1ebf31 [affected:*][ci:force] Fixing e2e - the long painful journey 2024-05-20 09:39:07 +01:00
Vito Albano b50bbec5a2 [affected:*][ci:force] Fixed other e2es 2024-05-20 09:39:07 +01:00
Vito Albano f64ff0abfa [affected:*][ci:force] Fixed check on expansion panel filter 2024-05-20 09:39:07 +01:00
Vito Albano b72ce57758 [affected:*][ci:force] Fixed check on expansion panel filter 2024-05-20 09:39:07 +01:00
Amedeo Lepore 02cd0eba89 [AAE-21083] Fix e2e Content: Metadata - C280560 - fix slide toggle click, in v15 toggle is handled with a button instead of input 2024-05-20 09:39:07 +01:00
Amedeo Lepore e7b35b2745 Fix lint issue 2024-05-20 09:39:07 +01:00
Amedeo Lepore 7db5b03b57 Fix selector after merging https://github.com/Alfresco/alfresco-ng2-components/pull/9424, .mat-content-actions was replaced by .adf-start-process-content-actions 2024-05-20 09:39:07 +01:00
Amedeo Lepore 557a67066b [AAE-21083] Fix e2e Content: Metadata - C245652 - fix tab active selector 2024-05-20 09:39:07 +01:00
Wojciech Duda cb55f90bf9 Improvement/AAE-19176-reapply-selector-changes (#9424)
* AAE-19510 remove selector variable

* AAE-19510 poc for card view using variable selectors

* AAE-19176 rename mat selectors file

* AAE-19176 add missing style imports

* AAE-19176 remove remaining mat selectors

* AAE-19176 replaced todo material selectors with variables

* AAE-19176 changes made in meantime

* AAE-19176 conflict fixes
2024-05-20 09:39:07 +01:00
Amedeo Lepore 27733a1995 [affected:*][ci:force] [AAE-21082] Fix e2e Content: Directive - C291941 - add missing selector 2024-05-20 09:39:07 +01:00
Vito Albano 31f044719b [affected:*][ci:force] Fixed lint after error on important 2024-05-20 09:39:07 +01:00
Amedeo Lepore 25d884acdd [affected:*][ci:force] [AAE-21070] Fix e2e Content: Components - C587084 - fix class selectors 2024-05-20 09:39:07 +01:00
Vito Albano 28c03a6e99 [affected:*][ci:force] Fixed e2e with new notation 2024-05-20 09:39:07 +01:00
Vito Albano 2522315797 [affected:*][ci:force] Fixed e2e with new notation 2024-05-20 09:39:07 +01:00
Vito Albano 61e15a165c [affected:*][ci:force] Fixed e2e with new notation 2024-05-20 09:39:07 +01:00
Vito Albano 301d50724a [affected:*][ci:force] Fixed lint 2024-05-20 09:39:07 +01:00
Vito Albano 21d5be5232 [affected:*][ci:force] Fixed lint 2024-05-20 09:39:07 +01:00
Vito Albano eeffa5558e [affected:*][ci:force] Upgrading material selector class 2024-05-20 09:39:07 +01:00
Vito Albano be41a90348 [affected:*][ci:force] Wrong setting page 2024-05-20 09:39:07 +01:00
Vito Albano ae04220ebe [affected:*][ci:force] Fixing rebase 2024-05-20 09:39:07 +01:00
Vito Albano 16df727aa9 [affected:*][ci:force] Fixing rebase 2024-05-20 09:39:07 +01:00
Vito Albano f0719296d4 [affected:*][ci:force] Fixing rebase 2024-05-20 09:39:07 +01:00
Vito Albano a5b74215d0 Rebased to the latest 2024-05-20 09:39:07 +01:00
Vito Albano 181cf40480 Fixed dependency to allow greater versions 2024-05-20 09:39:07 +01:00
Vito Albano 89854abdca Fixed package.json 2024-05-20 09:39:07 +01:00
Vito Albano e0854f4c86 Fixed lint files and exclude some needing migration 2024-05-20 09:39:07 +01:00
Vito Albano 2078d6ddd4 Fixed PR after huge rebase -_- 2024-05-20 09:39:07 +01:00
Vito Albano c1ba61fe43 Rebased to latest 2024-05-20 09:39:07 +01:00
Vito Albano 95b27e7936 Revert "Fixed a dependency problem"
This reverts commit 319e1830fe.
2024-05-20 09:39:07 +01:00
Wojciech Duda 766d7ca9ff remaining unit test fixes for the Angular 15 update (#9218)
* removing excludes from working tests

* test fixes for CategoriesManagementComponent

* [ci:force] reenabling tests / fixes

* fixes in process-services-cloud

* change html element type

* fix selector in StartProcessComponent
2024-05-20 09:39:07 +01:00
Vito Albano fbb195f926 Fixed a dependency problem 2024-05-20 09:39:07 +01:00
Wojciech Duda 97c49522d3 unit test fixes for migration (#9217)
* reenabled excluded test in TagNodeList

* fixed tests for UploadApi in js-api
2024-05-20 09:39:07 +01:00
Wojciech Duda 9b332d252d [AAE-18267] change unit test setup for auth service (#9216)
* [AAE-18267] change unit test setup for auth service

* [AAE-18267] remove exclude

* [AAE-18267] removed CoreTestingModule from imports
2024-05-20 09:39:07 +01:00
Vito Albano d453654d1d Fixed unit test 2024-05-20 09:39:07 +01:00
Vito Albano 7c5ef9fb33 Fixed pointless e2e 2024-05-20 09:39:07 +01:00
Vito Albano a48914775e Readded method removed 2024-05-20 09:39:07 +01:00
Vito Albano f5f08a8ce3 Honestly i'm going on just for the challenge now' 2024-05-20 09:39:07 +01:00
Vito Albano bd7c635862 Fixed unit tests after rebase 2024-05-20 09:39:07 +01:00
Vito Albano 796c7a1cfe Fixed unit tests after rebase 2024-05-20 09:39:07 +01:00
Vito Albano 8f3cc61890 reverted broken rebase 2024-05-20 09:39:07 +01:00
Vito Albano 94344b65ee Fixed the last e2es? 2024-05-20 09:39:07 +01:00
Vito Albano 137c71664e Rebased to latest 2024-05-20 09:39:07 +01:00
Vito Albano 6201ce0b00 Fixed search e2es 2024-05-20 09:39:07 +01:00
Vito Albano 6584d4d88e fixed unit test problem and some other e2e 2024-05-20 09:39:07 +01:00
Vito Albano 9fdf33451a rebased and fixed the wrong directive for matList' 2024-05-20 09:39:07 +01:00
Vito Albano eaca50c5f2 Fixed slider search e2es 2024-05-20 09:39:07 +01:00
Vito Albano d5423697a1 readded missing dep 2024-05-20 09:39:07 +01:00
Vito Albano cbc01d9c54 fixig e2es - task and version 2024-05-20 09:39:07 +01:00
Vito Albano 55940a5357 fixig e2es 2024-05-20 09:39:07 +01:00
Vito Albano 83d7bdab62 wrong xdescribe 2024-05-20 09:39:07 +01:00
Vito Albano af1ca988eb Fixed code flow switch setting 2024-05-20 09:39:07 +01:00
Vito Albano bd1a1c2990 Fixing e2e - changing toggles 2024-05-20 09:39:07 +01:00
Vito Albano 6db2b2c58c Rebase went little bit wrong -III 2024-05-20 09:39:07 +01:00
Vito Albano 4051dace33 Rebase went little bit wrong -II 2024-05-20 09:39:07 +01:00
Vito Albano 70cb270771 Fixing e2e - part III 2024-05-20 09:39:07 +01:00
Vito Albano ffa66c2528 Fixing unit after rebase 2024-05-20 09:39:07 +01:00
Vito Albano edf165041d E2E - fixing 2024-05-20 09:39:07 +01:00
Vito Albano 4412749da6 Fixed unit test failing 2024-05-20 09:39:07 +01:00
Vito Albano 0f908f59d5 Fixing styles not migrated by material 2024-05-20 09:39:07 +01:00
Vito Albano 1c0cf2a349 Fixing e2e part 2 2024-05-20 09:39:07 +01:00
Vito Albano a34123b74e Attempt to fix the e2e run' 2024-05-20 09:39:07 +01:00
Vito Albano e332454324 Fixed js-api build 2024-05-20 09:39:06 +01:00
Vito Albano 24e13cc679 Fixed last unit tests 2024-05-20 09:39:06 +01:00
Vito Albano 17072f4e43 Fixed unit tests 2024-05-20 09:39:06 +01:00
Vito Albano 31232e1906 Fixed linting and js-api tests 2024-05-20 09:39:06 +01:00
Vito Albano 1b049810ef Fixed prod build 2024-05-20 09:39:06 +01:00
Vito Albano f42afcb5d9 Fixed most of unit tests failing 2024-05-20 09:39:06 +01:00
Vito Albano 52dfa9c128 Rebased with the latest develop 2024-05-20 09:39:06 +01:00
Vito Albano 89228be112 Fixed core unit test and excluded instable ones 2024-05-20 09:39:06 +01:00
Vito Albano cd975698dd Fixed storybook with migration to WP5 2024-05-20 09:39:06 +01:00
Vito Albano ce05c6dd18 Fixed linting 2024-05-20 09:39:06 +01:00
Vito Albano 76835e150c Make all the part build 2024-05-20 09:39:06 +01:00
Vito Albano 8ce2a04a9d Building testing package 2024-05-20 09:39:06 +01:00
Vito Albano 69de4f4c79 Demo shell builds 2024-05-20 09:39:06 +01:00
Vito Albano b40f1de5e8 Upgrading NX and start fixing styles 2024-05-20 09:39:06 +01:00
Vito Albano acf4cac650 migration for material' 2024-05-20 09:39:06 +01:00
Vito Albano f3d0a7ff86 Changed ng version before material migration 2024-05-20 09:39:06 +01:00
Ehsan Rezaei 682f1673f6 Release 6.9.0 (#9680) 2024-05-17 13:16:22 +02:00
Tomasz Gnyp 5f82106044 AAE-22612 Fix unwanted comma in rich text editor (#9685) 2024-05-16 15:34:57 +01:00
Wiktor Danielewski c71d8da9fe Revert "AAE-12086 The error message is shown for completed task with read-onl…" (#9684)
This reverts commit d8f1946988.
2024-05-16 15:57:58 +02:00
Wiktor Danielewski d8f1946988 AAE-12086 The error message is shown for completed task with read-only fields [ADW] (#9677)
* AAE-12086 Fix with tests

* AAE-12086 Setup readOnly on form level
2024-05-14 13:22:12 +02:00
Pablo Martinez 9e7312719c AAE-22037 Set static value for form variables in start event form (#9676) 2024-05-14 10:25:19 +02:00
dependabot[bot] 4025eb5b0e build(deps): bump actions/checkout in /.github/actions/artifact-extract (#9670)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/0ad4b8fadaa221de15dcec353f45205ec38ea70b...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 12:34:46 +01:00
dependabot[bot] 8f61ceae3b build(deps): bump github/codeql-action from 3.25.3 to 3.25.4 (#9671)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.3 to 3.25.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/d39d31e687223d841ef683f52467bd88e9b21c14...ccf74c947955fd1cf117aef6a0e4e66191ef6f61)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 12:30:57 +01:00
dependabot[bot] b65d625310 build(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#9672)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/0ad4b8fadaa221de15dcec353f45205ec38ea70b...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 12:30:38 +01:00
Wiktor Danielewski 2d7aa0a61e AAE-22345 Support access to array elements by index (#9663)
* AAE-22345 Update date table parser

* AAE-22345 Update data table adapter

* AAE-22345 Update

* AAE-22345 Align with remarks

* AAE-22345 Small update

* AAE-22345 Update

* AAE-22345 Unit tests fix
2024-05-13 10:11:06 +02:00
dominikiwanekhyland cc7550a88c [ACS-6953] - Empty space when resizing browser to small window or opening it in mobile mode (#9661) 2024-05-10 13:23:32 +02:00
Chandan Chatterjeeand“chndn004” 9f94a23f72 Modifying the CSS selector to exclude columns associated with multiselect functionality restores the resizing capability (#9660)
Co-authored-by: “chndn004” <“chandanchatterjee04@gmail.com”>
2024-05-10 00:55:36 +05:30
tamaragruszka 0414fa77e0 [ACS-7389][ADF] Break Viewer dependency on Material Module (#9631) 2024-05-09 13:07:34 -04:00
Tomasz Gnyp d0209d466e AAE-21945 Support a nested object which is within an array in the JSO… (#9635)
* AAE-21945 Support a nested object which is within an array in the JSON datasource

* improve data table widget mocks

* improve object datatable adapter unit tests

* improve mocks

* modify data table widget adapter instead of core object data table adapter

* revert not needed changes

* improve method name

* remove automatic lint changes
2024-05-09 12:01:07 +02:00
Bartosz Sekula d59fbdd825 AAE-21566 Handling new form event - show spinner (#9656)
* [AAE-21566] Add spinner event in process form

* CR

* CR

* added test for spinner service

* fix unit test

* fix lint
2024-05-09 10:46:36 +02:00
Rafal Szmit 5802ac56af AAE-22407 Update simpleapp process var (#9659) 2024-05-08 13:22:08 +02:00
Darya BlavanovichandDaryaBalvanovich 3819aecb70 [MNT-24354] update license header to 2024 (#9633)
* MNT-24354 update license header [ci:force]

* MNT-24354 fix lint [ci:force]

* MNT-24354 [ci:force]

* MNT-24354 update license header in process-services [ci:force]

---------

Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-05-08 08:34:51 +02:00
Denys Vuika 20ee286902 [ACS-7429] cleanup APS1 task-list before refactorings (#9650) 2024-05-07 14:51:56 -04:00
Darya BlavanovichandDaryaBalvanovich e749473a32 exclude failed unit test (#9636)
Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-05-07 12:50:14 +02:00
dependabot[bot] e11bd39f76 build(deps): bump actions/upload-artifact in /.github/actions/e2e (#9619)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/1746f4ab65b179e0ea60a494b83293b640dd5bba...65462800fd760344b1a7b4382951275a0abb4808)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 09:29:28 +01:00
dependabot[bot] aaa648bd10 build(deps): bump actions/upload-artifact (#9622)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/1746f4ab65b179e0ea60a494b83293b640dd5bba...65462800fd760344b1a7b4382951275a0abb4808)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 09:29:16 +01:00
dependabot[bot] 42ba4afe3e build(deps): bump actions/upload-artifact (#9620)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/1746f4ab65b179e0ea60a494b83293b640dd5bba...65462800fd760344b1a7b4382951275a0abb4808)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 09:29:03 +01:00
dependabot[bot] 3c064630e8 build(deps): bump actions/checkout in /.github/actions/artifact-extract (#9621)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 09:28:48 +01:00
dependabot[bot] 4a872ab940 build(deps): bump actions/upload-artifact (#9624)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/1746f4ab65b179e0ea60a494b83293b640dd5bba...65462800fd760344b1a7b4382951275a0abb4808)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 09:25:09 +01:00
dependabot[bot] f48391c468 build(deps): bump github/codeql-action from 3.25.1 to 3.25.3 (#9626)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.1 to 3.25.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/c7f9125735019aa87cfc361530512d50ea439c71...d39d31e687223d841ef683f52467bd88e9b21c14)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 09:24:50 +01:00
dependabot[bot] cf309dcf3a build(deps-dev): bump stylelint-config-standard-scss (#9642)
Bumps [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v13.0.0...v13.1.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard-scss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 17:18:23 -04:00
dependabot[bot] e85f69db84 build(deps-dev): bump ejs from 3.1.9 to 3.1.10 (#9638)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 16:54:01 -04:00
dependabot[bot] f034ac1127 build(deps): bump @apollo/client from 3.8.4 to 3.10.2 (#9643)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.8.4 to 3.10.2.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.8.4...v3.10.2)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 16:40:28 -04:00
Anna Karwatka 42bb632718 AAE-22417 Fix storybook e2es (#9649) 2024-05-06 16:06:06 -04:00
Denys Vuika 6f0bbe427e [ACS-7421] process: break app list dependency on material bundle (#9640)
* chore: break apps list dependency on material module bundle
2024-05-06 10:34:31 -04:00
dependabot[bot] 70804088a1 build(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#9627)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 11:31:17 +01:00
dependabot[bot] 7e9aa6cbe8 build(deps): bump Alfresco/alfresco-build-tools from 5.24.0 to 5.25.0 (#9646)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.24.0 to 5.25.0.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/4417341ffedaa187eecddf7ecf08403f3f7bb1fa...553490b6434e1ec43ced9b321a04fadb91535d4c)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 11:30:59 +01:00
dependabot[bot] 8572e53f49 build(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#9645)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/compare/19ebcb0babbd282ae1822a0b9c28f3f1f25cea45...40e45e738b3cad2729f599d8afc6ed02184e1dbd)

---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 11:30:45 +01:00
dependabot[bot] b80d7f4395 build(deps): bump Alfresco/alfresco-build-tools (#9644)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.24.0 to 5.25.0.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/4417341ffedaa187eecddf7ecf08403f3f7bb1fa...553490b6434e1ec43ced9b321a04fadb91535d4c)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 11:30:28 +01:00
dependabot[bot] 67c5200b01 build(deps): bump ejs from 3.1.6 to 3.1.10 in /tools/doc (#9637)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 17:50:17 -04:00
dependabot[bot] 415b0b2401 build(deps): bump ejs from 3.1.9 to 3.1.10 in /lib/cli (#9639)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 17:50:01 -04:00
Wojciech Duda 74d558c376 AAE-21967 use column id to retrieve variable column types (#9629)
* AAE-21967 use column id to retrieve variable column types

* AAE-21967 fix variable mapper units
2024-04-30 14:08:16 +01:00
Denys Vuika f401b8c13e ESLint: cleanup await expect from protractor tests (#9630) 2024-04-30 08:07:10 -04:00
dependabot[bot] 4109f272ea build(deps-dev): bump dotenv from 16.1.3 to 16.4.5 (#9617)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.1.3 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.4.5)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 08:32:10 -04:00
dependabot[bot] 24c93e2ac3 build(deps): bump Alfresco/alfresco-build-tools from 5.23.0 to 5.24.0 (#9628)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.23.0 to 5.24.0.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/b3aa3308ae1c2e2140c8a6d12f3001cd644313f7...4417341ffedaa187eecddf7ecf08403f3f7bb1fa)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 08:31:46 -04:00
dependabot[bot] 45d07ab523 build(deps): bump Alfresco/alfresco-build-tools (#9625)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.23.0 to 5.24.0.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/b3aa3308ae1c2e2140c8a6d12f3001cd644313f7...4417341ffedaa187eecddf7ecf08403f3f7bb1fa)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 08:31:26 -04:00
Mykyta Maliarchuk 33281b064a Bump formidable and superagent in js-api and adf-cli (#9608)
* bump formidable and superagent in js-api and adf-cli

* bubmp angular-oauth2-oidc-jwks in core
2024-04-29 08:29:13 -04:00
tamaragruszka 52bcc7f7c7 [ACS-7386] remove material module dependency and components conversion to standalone (#9595) 2024-04-29 10:32:44 +02:00
Darya BlavanovichandDaryaBalvanovich 10244f45ac [ACS-7577] [ADF] Remove Folder Directives from Content Services lib (#9582)
* ACS-7577 remove create and edit folder directive [ci:force]

* Revert "ACS-7577 remove create and edit folder directive [ci:force]"

This reverts commit a0055aa496d1c6ee64118035acb36b55ab59716b.

* ACS-7577 move edit and create folder directives to demo-shell [ci:force]

* ACS-7577 remove public-api and fix readme file [ci:force]

* ACS-7577 remove edit directive [ci:force]

* ACS-7577 update e2e tests [ci:force]

* ACS-7577 update e2e tests [ci:force]

* ACS-7577 update e2e tests [ci:force]

* ACS-7577 revert e2e tests [ci:force]

* ACS-7577 revert e2e tests and create button [ci:force]

* ACS-7577 refactor e2e test [ci:force]

---------

Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-04-29 08:55:18 +02:00
Ehsan Rezaei 571fc3dce1 Revert "AAE-21967 Use column id to reference process variables (#9604)" (#9613)
This reverts commit 7ac7db4945.
2024-04-26 18:50:45 +01:00
Tomasz Gnyp a03936715a AAE-22222 Fix JSON path doesn't work for square bracekts (#9611)
* AAE-22222 Fix JSON path doesn't work for square bracekts

* remove comment

* remove test description duplications

* remove duplications
2024-04-26 16:09:24 +02:00
Wojciech Duda 7ac7db4945 AAE-21967 Use column id to reference process variables (#9604) 2024-04-25 14:43:31 +02:00
dependabot[bot] d8861de6e0 build(deps): bump formidable and superagent (#9600)
Bumps [formidable](https://github.com/node-formidable/formidable) to 3.5.1 and updates ancestor dependency [superagent](https://github.com/ladjs/superagent). These dependencies need to be updated together.


Updates `formidable` from 2.1.2 to 3.5.1
- [Release notes](https://github.com/node-formidable/formidable/releases)
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-formidable/formidable/commits/v3.5.1)

Updates `superagent` from 8.1.2 to 9.0.1
- [Release notes](https://github.com/ladjs/superagent/releases)
- [Changelog](https://github.com/ladjs/superagent/blob/master/HISTORY.md)
- [Commits](https://github.com/ladjs/superagent/compare/v8.1.2...v9.0.1)

---
updated-dependencies:
- dependency-name: formidable
  dependency-type: indirect
- dependency-name: superagent
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 10:41:21 +02:00
dependabot[bot] e231ff7a57 build(deps): bump actions/checkout in /.github/actions/artifact-extract (#9583)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 22:02:52 +02:00
dependabot[bot] c529cc215f build(deps): bump actions/upload-artifact (#9584)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...1746f4ab65b179e0ea60a494b83293b640dd5bba)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 22:02:35 +02:00
dependabot[bot] 0657ea8ed7 build(deps): bump actions/upload-artifact (#9585)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...1746f4ab65b179e0ea60a494b83293b640dd5bba)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 22:02:15 +02:00
dependabot[bot] c5560359f9 build(deps): bump Alfresco/alfresco-build-tools (#9586)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.22.4 to 5.23.0.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/53a1117a98bbc7e13882effc1fe14bd1ea39063a...b3aa3308ae1c2e2140c8a6d12f3001cd644313f7)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 22:01:51 +02:00
dependabot[bot] 2e8e699d68 build(deps): bump actions/checkout (#9587)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 22:01:24 +02:00
dependabot[bot] 75a071d7d9 build(deps): bump actions/upload-artifact (#9588)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...1746f4ab65b179e0ea60a494b83293b640dd5bba)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 22:00:18 +02:00
dependabot[bot] ffc0d7add6 build(deps): bump slackapi/slack-github-action from 1.25.0 to 1.26.0 (#9592)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/6c661ce58804a1a20f6dc5fbee7f0381b469e001...70cd7be8e40a46e8b0eced40b0de447bdb42f68e)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 21:59:56 +02:00
dependabot[bot] 53e0fee66b build(deps): bump actions/upload-artifact in /.github/actions/e2e (#9593)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...1746f4ab65b179e0ea60a494b83293b640dd5bba)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 13:53:25 +01:00
dependabot[bot] 68cb907d8b build(deps): bump Alfresco/alfresco-build-tools from 5.22.4 to 5.23.0 (#9589)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.22.4 to 5.23.0.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/53a1117a98bbc7e13882effc1fe14bd1ea39063a...b3aa3308ae1c2e2140c8a6d12f3001cd644313f7)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 13:52:59 +01:00
dependabot[bot] 7f74cb1e1d build(deps): bump actions/checkout from 4.1.2 to 4.1.3 (#9590)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 13:52:36 +01:00
Tomasz Gnyp 1173253fe7 AAE-22119 Fix Datatable checkbox accessibility breaking change (#9596)
* AAE-22119 Fix Datatable checkbox accessibility breaking change

* fix code duplication warning

* fix unit test
2024-04-22 17:39:01 +02:00
dependabot[bot] 88920f47c3 build(deps): bump github/codeql-action from 3.24.10 to 3.25.1 (#9591)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.10 to 3.25.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4355270be187e1b672a7a1c7c7bae5afdc1ab94a...c7f9125735019aa87cfc361530512d50ea439c71)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:01:56 -04:00
dependabot[bot] c11dbc32a8 build(deps-dev): bump jsdom from 22.1.0 to 24.0.0 (#9580)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 22.1.0 to 24.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/22.1.0...24.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:00:36 -04:00
Denys Vuika 54c3e12ad8 [ACS-7688] Reduce the usage of LogService and TranslateModule (tests) (#9567) 2024-04-19 12:14:33 -04:00
Tomasz Gnyp caa2166151 AAE-21946 Support JSON paths with non-standard characters for data ta… (#9571)
* AAE-21946 Support JSON paths with non-standard characters for data table widget

* add unit test

* move path parse to extern helper class
2024-04-18 17:28:37 +02:00
Denys Vuika 4132517ba7 [ACS-7679] Reduce the usage of AppConfigService in components and tests (#9563)
* remove unused app config setting

* remove unused app config setting

* remove unnecessary app config service reference

* remove unnecessary app config service reference

* remove unnecessary app config service reference

* remove unnecessary app config service reference

* remove unnecessary app config service reference

* support input params for the viewer; optional configuration

* remove useless imports [ci:force]

* fix imports [ci:force]
2024-04-18 07:26:55 -04:00
dependabot[bot] 99ae729314 build(deps): bump jsrsasign and angular-oauth2-oidc-jwks (#9569)
Bumps [jsrsasign](https://github.com/kjur/jsrsasign) to 11.1.0 and updates ancestor dependency [angular-oauth2-oidc-jwks](https://github.com/manfredsteyer/angular-oauth2-oidc). These dependencies need to be updated together.


Updates `jsrsasign` from 10.8.6 to 11.1.0
- [Release notes](https://github.com/kjur/jsrsasign/releases)
- [Changelog](https://github.com/kjur/jsrsasign/blob/master/ChangeLog.txt)
- [Commits](https://github.com/kjur/jsrsasign/compare/10.8.6...11.1.0)

Updates `angular-oauth2-oidc-jwks` from 15.0.1 to 17.0.2
- [Release notes](https://github.com/manfredsteyer/angular-oauth2-oidc/releases)
- [Changelog](https://github.com/manfredsteyer/angular-oauth2-oidc/blob/master/docs/changelog.html)
- [Commits](https://github.com/manfredsteyer/angular-oauth2-oidc/commits/17.0.2)

---
updated-dependencies:
- dependency-name: jsrsasign
  dependency-type: indirect
- dependency-name: angular-oauth2-oidc-jwks
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 11:32:44 -04:00
Denys Vuika 5d474d8866 [ACS-7678] Convert content pipes to standalone (#9562)
* standalone pipes for content services

* remove useless module [ci:force]

* bug fixes [ci:force]

* bug fixes and cleanup [ci:force]

* cleanup unused/dead code [ci:force]
2024-04-17 07:15:31 -04:00
tomson 74ef7eed1a [ADF-5543] Enable lint accessibility and resolve found issues (#9421) 2024-04-17 09:36:40 +02:00
Denys Vuika eaad09b06d [ACS-7597] Convert Core pipes to Standalone # (#9560) 2024-04-16 08:18:12 -04:00
Denys Vuika 7854cde20f [ACS-7382] Standalone core directives, improved lint performance (#9559) 2024-04-15 15:16:17 -04:00
Darya BlavanovichandDaryaBalvanovich 86d3ca7892 [ACS-6842] [ACA] Clicking "Create" button multiple times in folder creation modal sends the same folder creation request multiple times (#9554)
* ACS-6842 add disable mode to submit button

* ACS-6842 refactor ts and spec files

* ACS-6842 add setFormValues function

---------

Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-04-15 13:03:11 -04:00
Denys Vuika 05884e829b [ACS-7382] Standalone AdfConfigPipe pipe (#9558)
* standalone AdfConfigPipe

* standalone AdfConfigPipe [ci:force]
2024-04-15 12:54:08 -04:00
dependabot[bot] 43b950631c build(deps-dev): bump nock from 13.3.8 to 13.5.4 (#9496)
Bumps [nock](https://github.com/nock/nock) from 13.3.8 to 13.5.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.8...v13.5.4)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 10:35:17 -04:00
dependabot[bot] e16df71001 build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.29.1 (#9549)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.27.5 to 2.29.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.29.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 10:33:46 -04:00
dependabot[bot] 7feb5425ac build(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#9550)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/compare/ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec...19ebcb0babbd282ae1822a0b9c28f3f1f25cea45)

---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 16:13:41 +02:00
dependabot[bot] a11d509d35 build(deps): bump Alfresco/alfresco-build-tools (#9552)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.22.3 to 5.22.4.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/dc4c1f4e94307af7a916d0ca8c5e2592521d9470...53a1117a98bbc7e13882effc1fe14bd1ea39063a)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 09:54:57 -04:00
dependabot[bot] 0e26fa853c build(deps): bump Alfresco/alfresco-build-tools from 5.22.3 to 5.22.4 (#9551)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.22.3 to 5.22.4.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/dc4c1f4e94307af7a916d0ca8c5e2592521d9470...53a1117a98bbc7e13882effc1fe14bd1ea39063a)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 09:54:41 -04:00
Grzegorz Jaśkowski 7cef7a2688 [ACS-5571] Remove unused WebScript component (#8752)
* ACS-5571 Remove unused WebScript component

* [ACS-5571] revert wrong file deletion
2024-04-15 09:45:51 -04:00
Grzegorz Jaśkowski 22da251c02 [ACS-5572] Remove unused Social components (#8758)
* ACS-5572 Remove unused Social components

* [ACS-5572] revert wrong file deletion
2024-04-15 09:39:32 -04:00
Robert Duda 0db32ef10f AAE-21361 Modify date widget to handle negative values (#9542)
* AAE-21361 Modify date widget to handle negative values

* cr
2024-04-12 12:40:36 +02:00
Grzegorz Jaśkowski 29757e4ee4 [MNT-24028] edit aspects dialog counter bug (#9539)
* [MNT-24028] fix dialog counter bug

* [MNT-24028] update docs

* [MNT-24028] remove fit
2024-04-12 09:25:15 +02:00
tamaragruszka 503cdc40b2 [ACS-7387][ADF] Break Search Text dependency on Material Module (#9508)
* [ACS-7387] convert component to standalone

* [ACS-7387] convert component to standalone
2024-04-11 16:40:30 -04:00
Darya BlavanovichandDaryaBalvanovich 1bcc760b3f ACS-6721 fix button visibility (#9530)
Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-04-11 11:43:03 -04:00
Denys Vuika ec508a7a10 fix Dockerfile 2024-04-11 10:55:14 -04:00
Denys Vuika 8cf872b269 remove useless yarn licenses from dockerfile [ci:force] (#9541) 2024-04-11 15:36:32 +01:00
Grzegorz Jaśkowski 96be5a543c [ACS-6644] review search documentation and examples for adf (#9518)
* ACS-6644 review search docs and examples

* ACS-6644 change widget description to more precise

* ACS-6644 small formatting fix, add new component links to main connected pages

* [ACS-6644] trigger codeQL job
2024-04-11 09:33:59 -04:00
Michał Fidor 5e886e29d1 AAE-21870 Disable task notification for default apps (#9537)
* AAE-21870 Disable task notification for default apps

* Remove redundant variable
2024-04-11 14:23:09 +02:00
dependabot[bot] a72e678b83 build(deps): bump tar from 6.1.14 to 6.2.1 (#9532)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.14 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.14...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 08:12:49 -04:00
dependabot[bot] 78bec4172e build(deps): bump Alfresco/alfresco-build-tools from 5.22.1 to 5.22.3 (#9523)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 5.22.1 to 5.22.3.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/a3f5a4ae53302e9a1f9dc728dee0f4069c1bc584...dc4c1f4e94307af7a916d0ca8c5e2592521d9470)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 09:19:48 -04:00
tamaragruszka 12c1f3fc1e [ACS-7371] ADF manage version list missing button (#9484)
* [ACS-7371] list width limitation

* [ACS-7371] list width limitation

* [ACS-7371] change scss selector
2024-04-10 13:25:54 +02:00
3727 changed files with 36472 additions and 39893 deletions
+13 -3
View File
@@ -1,5 +1,6 @@
module.exports = {
root: true,
ignorePatterns: [
'projects/**/*',
'**/node_modules/**/*',
@@ -10,7 +11,9 @@ module.exports = {
'**/scripts',
'**/docs'
],
plugins: ['@nrwl/nx'],
overrides: [
{
files: ['*.ts'],
@@ -161,7 +164,7 @@ module.exports = {
[
'/*!',
' * @license',
' * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.',
' * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.',
' *',
' * Licensed under the Apache License, Version 2.0 (the "License");',
' * you may not use this file except in compliance with the License.',
@@ -181,7 +184,7 @@ module.exports = {
},
{
files: ['*.html'],
extends: ['plugin:@angular-eslint/template/recommended'],
extends: ['plugin:@angular-eslint/template/recommended', 'plugin:@angular-eslint/template/accessibility'],
rules: {}
},
{
@@ -190,6 +193,13 @@ module.exports = {
rules: {
'@alfresco/eslint-angular/no-angular-material-selectors': 'error'
}
},
{
files: ['*.ts'],
extends: ['plugin:@angular-eslint/template/process-inline-templates'],
excludedFiles: ['*.spec.ts']
}
]
],
extends: ['plugin:storybook/recommended']
};
+3
View File
@@ -0,0 +1,3 @@
{
"extends": ["./.eslintrc.js"]
}
+2 -2
View File
@@ -22,7 +22,7 @@ runs:
- run: echo "Artifact Append"
shell: bash
- name: Download artifact
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: ${{ inputs.artifact-name }}
pattern: ${{ inputs.artifact-name }}-*
@@ -85,7 +85,7 @@ runs:
}
}
- name: Upload artifact
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.file-name }}
+2 -2
View File
@@ -24,11 +24,11 @@ runs:
using: "composite"
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- run: echo "Artifact Extract"
shell: bash
- name: Download artifact
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: ${{ inputs.artifact-name }}
pattern: ${{ inputs.artifact-name }}-*
@@ -19,14 +19,14 @@ runs:
using: "composite"
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Create empty artifact
shell: bash
run:
echo "${{inputs.content}}" > ${{ inputs.file-name }}
- name: Upload artifact
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.file-name }}
+1 -1
View File
@@ -185,7 +185,7 @@ runs:
- name: upload artifacts on gh
id: upload_gh
if: ${{ steps.determine-affected.outputs.isAffected == 'true' }}
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: e2e-artifact-output-${{inputs.e2e-artifact-id}}
path: /home/runner/work/alfresco-ng2-components/alfresco-ng2-components/e2e-output-*
+1 -1
View File
@@ -26,7 +26,7 @@ runs:
cache-dependency-path: package-lock.json
- name: get latest tag sha
id: tag-sha
uses: Alfresco/alfresco-build-tools/.github/actions/git-latest-tag@dc4c1f4e94307af7a916d0ca8c5e2592521d9470 # v5.22.3
uses: Alfresco/alfresco-build-tools/.github/actions/git-latest-tag@553490b6434e1ec43ced9b321a04fadb91535d4c # v5.25.0
# CACHE
- name: Node Modules cache
id: node-modules-cache
+4 -4
View File
@@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
@@ -30,7 +30,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/init@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript
@@ -39,7 +39,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/autobuild@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -53,4 +53,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/analyze@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
+1 -1
View File
@@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
name: Initialize artifacts
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: ./.github/actions/artifact-initialize
with:
artifact-name: global-e2e-result
+1 -1
View File
@@ -96,7 +96,7 @@ jobs:
GITHUB_TOKEN: $BOT_GITHUB_TOKEN
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- id: set-dryrun
uses: ./.github/actions/enable-dryrun
with:
+14 -14
View File
@@ -98,10 +98,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec # v3.0.3
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@40e45e738b3cad2729f599d8afc6ed02184e1dbd # v3.0.5
- name: Check package-lock.json version
run: |
@@ -116,15 +116,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- name: Get branch name
uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@a3f5a4ae53302e9a1f9dc728dee0f4069c1bc584 # v5.22.1
uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@553490b6434e1ec43ced9b321a04fadb91535d4c # v5.25.0
- name: Save commit message
uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@a3f5a4ae53302e9a1f9dc728dee0f4069c1bc584 # v5.22.1
uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@553490b6434e1ec43ced9b321a04fadb91535d4c # v5.25.0
- name: ci:force flag parser
shell: bash
@@ -199,7 +199,7 @@ jobs:
needs: [check-if-pr-is-approved, pre-checks]
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
@@ -236,7 +236,7 @@ jobs:
exclude: "insights,core,extensions,content-services,process-services,eslint-plugin-eslint-angular,js-api"
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
@@ -253,7 +253,7 @@ jobs:
needs: [setup]
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
@@ -268,7 +268,7 @@ jobs:
needs: [setup]
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
@@ -285,7 +285,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0 # Fetch all history for all
- uses: ./.github/actions/setup
@@ -443,7 +443,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0 # Fetch all history for all
- uses: ./.github/actions/setup
@@ -474,7 +474,7 @@ jobs:
steps:
- id: checkoutRepo
name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 1
- name: PR contains forbidden labels
@@ -501,14 +501,14 @@ jobs:
name: Final Results
needs: [check-if-pr-is-approved, pre-checks, setup, unit-tests, lint, build-libs, e2e, e2e-storybook]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: identify-slack-group
id: groups
if: ${{ github.event_name == 'schedule' }}
uses: ./.github/actions/slack-group-area
with:
affected: ${{ steps.e2e-result.outputs.result }}
- uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
- uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
name: Nofify QA failure
if: ${{ github.event_name == 'schedule' && contains(needs.*.result, 'failure') }}
env:
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- name: Automatic Rebase
+3 -3
View File
@@ -87,7 +87,7 @@ jobs:
echo "Set TAG with name: ${TAG_NPM}"
echo "TAG_NPM=${TAG_NPM}" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- uses: ./.github/actions/setup
@@ -111,7 +111,7 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- uses: ./.github/actions/setup
@@ -154,5 +154,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: ./.github/actions/npm-check-bundle
+6 -6
View File
@@ -92,7 +92,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- uses: ./.github/actions/setup
@@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 1
- run: git fetch --all
@@ -140,7 +140,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 1
- run: git fetch --all
@@ -170,7 +170,7 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- uses: ./.github/actions/setup
@@ -214,7 +214,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: ./.github/actions/npm-check-bundle
finalize:
@@ -224,7 +224,7 @@ jobs:
needs: [release-demoshell, release-storybook, release-npm, npm-check-bundle]
steps:
- uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
- uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
name: Nofify FE eng-guild-front-end workflow failed
if: ${{ contains(toJson(needs.*.result), 'failure') }}
env:
+1
View File
@@ -35,3 +35,4 @@ licenses.txt
.DS_Store
.angular
NX
.nx
+9 -4
View File
@@ -1,7 +1,12 @@
module.exports = {
framework: {
name: '@storybook/angular',
options: {}
},
staticDirs: [{ from: '../../../demo-shell/src/app.config.json', to: 'app.config.json' }],
docs: {
autodocs: true
},
stories: [],
addons: ['@storybook/addon-essentials'],
framework: '@storybook/angular',
staticDirs: [ { from: '../../../demo-shell/src/app.config.json', to: 'app.config.json' } ],
core: { builder: 'webpack5' }
addons:[],
};
+2 -1
View File
@@ -31,5 +31,6 @@
"postcss",
"scss"
],
"editor.guides.indentation": true
"editor.guides.indentation": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
+3 -6
View File
@@ -45,14 +45,11 @@ Note: If you need more information about how to sync your fork, see [this page](
## Code style
The code style for ADF follows the [Angular style guide](https://angular.io/guide/styleguide) plus some internal rules.
You dont have to worry too much about those rules because they are automatically checked by tslint/codelyzer/adf-rules.
If your code is not compliant with one of these rules you will see an error when you build the project along with some help on how to fix it.
The ADF-Rules are as follows:
The codebase is also checked with:
* File name component/directive cannot start with Alfresco/Activiti/adf - this rule is to help developers find files easily
* Class names cannot start with Alfresco/Activiti/adf for the same reason as above
* scss is mandatory. All the classes need to have the `adf-` prefix
- ESLint tool
- Stylelint tool
## Test guide
-5
View File
@@ -4,10 +4,6 @@ FROM node:18.16-alpine3.17 AS builder
WORKDIR /usr/src/alfresco
COPY package.json package.json
RUN mkdir -p ./licenses && \
yarn licenses list > ./licenses/licenses.txt && \
yarn licenses generate-disclaimer > ./licenses/disclaimer.txt
# 2. Generate image
FROM nginxinc/nginx-unprivileged:1.21-alpine
@@ -23,7 +19,6 @@ COPY docker/docker-entrypoint.d/* /docker-entrypoint.d/
COPY dist/$PROJECT_NAME /usr/share/nginx/html/
COPY dist/$PROJECT_NAME/app.config.json /etc/nginx/templates/app.config.json.template
COPY --from=builder /usr/src/alfresco/licenses /usr/share/nginx/html/
USER root
RUN chmod a+w -R /etc/nginx/conf.d
+20 -25
View File
@@ -20,7 +20,8 @@
"zen-observable",
"subscriptions-transport-ws",
"d",
"chart.js"
"chart.js",
"cropperjs"
],
"outputPath": "dist/demo-shell",
"index": "demo-shell/src/index.html",
@@ -283,7 +284,7 @@
]
},
"test": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": ["TS_NODE_PROJECT=lib/js-api/test/tsconfig.json mocha --full-trace --config lib/js-api/.mocharc.json"]
}
@@ -297,7 +298,7 @@
}
},
"npm-publish": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"dependsOn": [
"build"
],
@@ -433,7 +434,7 @@
}
},
"license": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -443,7 +444,7 @@
}
},
"pretheme": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -453,9 +454,9 @@
}
},
"npm-publish": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"dependsOn": [
"build"
"build", "pretheme"
],
"options": {
"cwd": "dist/libs/core",
@@ -569,7 +570,7 @@
}
},
"stylelint": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -640,7 +641,7 @@
}
},
"stylelint": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -782,7 +783,7 @@
}
},
"npm-publish": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"dependsOn": [
"build"
],
@@ -843,7 +844,7 @@
}
},
"stylelint": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -853,7 +854,7 @@
}
},
"npm-publish": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"dependsOn": [
"build"
],
@@ -943,12 +944,6 @@
"main": "lib/testing/index.ts",
"generatePackageJson" : true,
"tsConfig": "lib/testing/tsconfig.lib.prod.json",
"additionalEntryPoints": [
{
"entryName": "shared",
"entryPath": "/lib/testing/src/lib/shared/index.ts"
}
],
"stylePreprocessorOptions": {
"includePaths": [
"lib", "lib/core/src/lib"
@@ -976,7 +971,7 @@
}
},
"bundle": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -989,7 +984,7 @@
]
},
"copyToNodeModules": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -1005,7 +1000,7 @@
]
},
"npm-publish": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"dependsOn": [
"build"
],
@@ -1071,7 +1066,7 @@
}
},
"npm-publish": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"dependsOn": [
"build"
],
@@ -1112,7 +1107,7 @@
"defaultConfiguration": "production"
},
"bundle": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -1125,7 +1120,7 @@
]
},
"copyToNodeModules": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"options": {
"commands": [
{
@@ -1150,7 +1145,7 @@
}
},
"npm-publish": {
"executor": "nx:run-commands",
"builder": "nx:run-commands",
"dependsOn": [
"build"
],
Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

+2 -2
View File
@@ -137,14 +137,14 @@
"waypoint",
"waypoints",
"webm",
"webscript",
"Whitespaces",
"xdescribe",
"xsrf",
"BPMECM",
"berseria",
"zestiria",
"validatable"
"validatable",
"edjs"
],
"dictionaries": [
"html",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "6.8.0",
"version": "6.9.0",
"author": "Hyland Software, Inc. and its affiliates",
"repository": {
"type": "git",
+201
View File
@@ -0,0 +1,201 @@
{
"name": "demoshell",
"$schema": "../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "demo-shell/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"minimatch",
"minimatch-browser",
"superagent",
"event-emitter",
"brace-expansion",
"zen-observable",
"subscriptions-transport-ws",
"d",
"chart.js",
"cropperjs"
],
"outputPath": "dist/demo-shell",
"index": "demo-shell/src/index.html",
"main": "demo-shell/src/main.ts",
"tsConfig": "tsconfig.dev.json",
"polyfills": "demo-shell/src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"]
},
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
"input": "demo-shell/src/assets",
"output": "/assets"
},
{
"glob": "app.config.json",
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "**/*",
"input": "demo-shell/resources",
"output": "/resources"
},
{
"glob": "**/*",
"input": "lib/core/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/process-services/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/process-services-cloud/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/content-services/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/core/src/lib/i18n",
"output": "/assets/adf-core/i18n"
},
{
"glob": "**/*",
"input": "lib/content-services/src/lib/i18n",
"output": "/assets/adf-content-services/i18n"
},
{
"glob": "**/*",
"input": "lib/process-services/src/lib/i18n",
"output": "/assets/adf-process-services/i18n"
},
{
"glob": "**/*",
"input": "lib/process-services-cloud/src/lib/i18n",
"output": "/assets/adf-process-services-cloud/i18n"
},
{
"glob": "**/*",
"input": "lib/insights/src/lib/i18n",
"output": "/assets/adf-insights/i18n"
},
{
"glob": "pdf.worker.min.js",
"input": "node_modules/pdfjs-dist/build",
"output": "/"
},
{
"glob": "**/*",
"input": "node_modules/monaco-editor",
"output": "/assets/monaco/"
}
],
"styles": [
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style-dev.scss",
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
],
"scripts": ["node_modules/pdfjs-dist/build/pdf.js", "node_modules/pdfjs-dist/web/pdf_viewer.js", "node_modules/raphael/raphael.min.js"],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "12kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"buildOptimizer": true,
"verbose": false,
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.prod.ts"
}
]
},
"canary": {
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.canary.ts"
}
]
},
"e2e": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"buildOptimizer": true,
"verbose": false,
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.e2e.ts"
}
]
}
},
"defaultConfiguration": ""
},
"serve": {
"executor": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "demoshell:build",
"host": "0.0.0.0",
"port": 3000,
"proxyConfig": "demo-shell/proxy.conf.js",
"disableHostCheck": true
},
"configurations": {
"production": {
"browserTarget": "demoshell:build:production"
},
"canary": {
"browserTarget": "demoshell:build:canary"
},
"e2e": {
"browserTarget": "demoshell:build:e2e"
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["demo-shell/**/*.ts", "demo-shell/**/*.html"]
}
}
}
}
+2 -2
View File
@@ -35,7 +35,7 @@
"application": {
"storagePrefix": "ADF",
"name": "Alfresco ADF Application",
"copyright": "© 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved."
"copyright": "© 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved."
},
"notifications": true,
"search": [{
@@ -622,7 +622,7 @@
"unit": "Byte",
"field": "cm:content.size",
"min": 0,
"max": 18,
"max": 4000,
"step": 1,
"thumbLabel": true
}
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
+5 -5
View File
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,7 +55,6 @@ import { CloudViewerComponent } from './components/cloud/cloud-viewer.component'
import { ProcessDetailsCloudDemoComponent } from './components/cloud/process-details-cloud-demo.component';
import { StartTaskCloudDemoComponent } from './components/cloud/start-task-cloud-demo.component';
import { StartProcessCloudDemoComponent } from './components/cloud/start-process-cloud-demo.component';
import { CloudBreadcrumbsComponent } from './components/cloud/cloud-breadcrumb-component';
import { CloudFiltersDemoComponent } from './components/cloud/cloud-filters-demo.component';
import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/cloud-form-demo.component';
import { environment } from '../environments/environment';
@@ -67,13 +66,14 @@ import { ProcessCloudLayoutComponent } from './components/cloud/process-cloud-la
import { CustomEditorComponent, CustomWidgetComponent } from './components/cloud/custom-form-components/custom-editor.component';
import { SearchFilterChipsComponent } from './components/search/search-filter-chips.component';
import { UserInfoComponent } from './components/app-layout/user-info/user-info.component';
import { FolderDirectiveModule } from './folder-directive';
@NgModule({
imports: [
BrowserModule,
environment.e2e ? NoopAnimationsModule : BrowserAnimationsModule,
ReactiveFormsModule,
RouterModule.forRoot(appRoutes, { useHash: true, relativeLinkResolution: 'legacy' }),
RouterModule.forRoot(appRoutes, { useHash: true }),
AuthModule.forRoot({ useHash: true }),
FormsModule,
HttpClientModule,
@@ -87,7 +87,8 @@ import { UserInfoComponent } from './components/app-layout/user-info/user-info.c
ExtensionsModule.forRoot(),
NgChartsModule,
AppCloudSharedModule,
MonacoEditorModule.forRoot()
MonacoEditorModule.forRoot(),
FolderDirectiveModule
],
declarations: [
AppComponent,
@@ -117,7 +118,6 @@ import { UserInfoComponent } from './components/app-layout/user-info/user-info.c
ProcessDetailsCloudDemoComponent,
StartTaskCloudDemoComponent,
StartProcessCloudDemoComponent,
CloudBreadcrumbsComponent,
CloudFiltersDemoComponent,
FormCloudDemoComponent,
CustomEditorComponent,
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,3 +1,5 @@
@import 'styles/mat-selectors';
.app-form-container {
padding: 10px;
}
@@ -31,7 +33,7 @@
}
.app-form-editor-buttons {
& > .mat-raised-button {
& > #{$mat-raised-button} {
margin-right: 5px;
}
}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,4 +0,0 @@
<adf-toolbar>
<div class="app-crumb">{{appName + ' >'}} </div>
<div class="app-filter-crumb"> {{filterName | translate}}</div>
</adf-toolbar>
@@ -1,14 +0,0 @@
app-cloud-breadcrumbs {
.app-app-crumb {
opacity: 0.5;
}
.app-filter-crumb {
opacity: 0.8;
margin-left: 5px;
}
adf-toolbar {
display: flex;
}
}
@@ -1,43 +0,0 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-cloud-breadcrumbs',
templateUrl: './cloud-breadcrumb-component.html',
styleUrls: ['./cloud-breadcrumb-component.scss'],
encapsulation: ViewEncapsulation.None
})
export class CloudBreadcrumbsComponent implements OnInit {
appName: string;
filterName: string;
constructor(private route: ActivatedRoute) {}
ngOnInit() {
this.route.parent.params.subscribe(params => {
this.appName = params.appName;
});
this.route.queryParams.subscribe(params => {
if (params.filterName) {
this.filterName = params.filterName;
}
});
}
}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -3,7 +3,10 @@
<adf-sidenav-layout [sidenavMin]="70" [sidenavMax]="270" [stepOver]="780">
<adf-sidenav-layout-header>
<ng-template>
<app-cloud-breadcrumbs></app-cloud-breadcrumbs>
<div class="app-cloud-layout-toolbar">
<span>{{appName}}</span>
<span *ngIf="filterName">{{ ' > ' + (filterName | translate)}}</span>
</div>
</ng-template>
</adf-sidenav-layout-header>
<adf-sidenav-layout-navigation>
@@ -1,11 +1,9 @@
@import 'styles/mat-selectors';
.app-cloud-layout-overflow {
overflow: auto;
}
.app-cloud-layout-tab-body .mat-tab-body-wrapper {
height: 100%;
}
app-cloud-layout {
.app-cloud-layout-tab-body {
height: 100%;
@@ -18,5 +16,13 @@ app-cloud-layout {
box-sizing: border-box;
display: flex;
}
& > div {
height: 100%;
}
}
.app-cloud-layout-toolbar {
display: flex;
}
}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,14 +26,10 @@ import { CloudLayoutService } from './services/cloud-layout.service';
encapsulation: ViewEncapsulation.None
})
export class CloudLayoutComponent implements OnInit {
displayMenu = true;
appName: string;
filterName: string;
constructor(
private router: Router,
private route: ActivatedRoute,
private cloudLayoutService: CloudLayoutService
) { }
constructor(private router: Router, private route: ActivatedRoute, private cloudLayoutService: CloudLayoutService) {}
ngOnInit() {
let root: string = '';
@@ -53,6 +49,10 @@ export class CloudLayoutComponent implements OnInit {
if (root === 'processes' && params.id) {
this.cloudLayoutService.setCurrentProcessFilterParam({ id: params.id });
}
if (params.filterName) {
this.filterName = params.filterName;
}
});
}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,11 +43,11 @@
<button mat-raised-button (click)="addAction()">Add</button>
</form>
<div *ngIf="actions.length > 0">
<mat-chip-list>
<mat-chip *ngFor="let action of actions" [removable]="true">
<mat-chip-listbox>
<mat-chip-option *ngFor="let action of actions" [removable]="true">
{{action.title}}
<mat-icon matChipRemove (click)="removeAction(action)">cancel</mat-icon>
</mat-chip>
</mat-chip-list>
</mat-chip-option>
</mat-chip-listbox>
</div>
</div>
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,19 +64,6 @@
<mat-icon>more_vert</mat-icon>
</button>
<mat-menu #menu="matMenu">
<button mat-menu-item
(error)="openSnackMessageError($event)"
[adf-create-folder]="currentFolderId">
<mat-icon>create_new_folder</mat-icon>
<span>New folder</span>
</button>
<button mat-menu-item
[disabled]="!canEditFolder(documentList.selection)"
(error)="openSnackMessageError($event)"
[adf-edit-folder]="documentList.selection[0]?.entry">
<mat-icon>create</mat-icon>
<span>Edit folder</span>
</button>
<button mat-menu-item
adf-check-allowable-operation="delete"
[adf-nodes]="documentList.selection"
@@ -360,7 +347,6 @@
</section>
<div *ngIf="!acceptedFilesTypeShow">
<adf-upload-button
#uploadButton
[disabled]="!enableUpload"
[rootFolderId]="documentList.currentFolderId"
[multipleFiles]="multipleFileUpload"
@@ -375,7 +361,6 @@
</div>
<div *ngIf="acceptedFilesTypeShow">
<adf-upload-button
#uploadButton
[disabled]="!enableUpload"
[rootFolderId]="documentList.currentFolderId"
[acceptedFilesType]="acceptedFilesType"
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -390,17 +390,6 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
return this.contentService.hasAllowableOperations(selection[0].entry, 'update');
}
canEditFolder(selection: Array<NodeEntry>): boolean {
if (selection && selection.length === 1) {
const entry = selection[0].entry;
if (entry?.isFolder) {
return this.contentService.hasAllowableOperations(entry, 'update');
}
}
return false;
}
canCreateContent(parentNode: Node): boolean {
if (parentNode) {
return this.contentService.hasAllowableOperations(parentNode, 'create');
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -10,7 +10,7 @@
</adf-form>
</div>
<div class="app-console" #console>
<div class="app-console">
<h3>Error log:</h3>
<p *ngFor="let error of errorFields">Error {{ error.name }} {{error.validationSummary.message | translate}}</p>
</div>
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,8 +15,16 @@
* limitations under the License.
*/
import { Component, Inject, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
import { FormModel, FormFieldModel, FormService, FormOutcomeEvent, NotificationService, CoreAutomationService, FormRenderingService } from '@alfresco/adf-core';
import { Component, inject, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
import {
FormModel,
FormFieldModel,
FormService,
FormOutcomeEvent,
NotificationService,
CoreAutomationService,
FormRenderingService
} from '@alfresco/adf-core';
import { ProcessFormRenderingService } from '@alfresco/adf-process-services';
import { InMemoryFormService } from '../../services/in-memory-form.service';
import { Subject } from 'rxjs';
@@ -33,6 +41,10 @@ import { takeUntil } from 'rxjs/operators';
encapsulation: ViewEncapsulation.None
})
export class FormComponent implements OnInit, OnDestroy {
private formService = inject(FormService);
private notificationService = inject(NotificationService);
private automationService = inject(CoreAutomationService);
form: FormModel;
errorFields: FormFieldModel[] = [];
formConfig: string;
@@ -49,25 +61,16 @@ export class FormComponent implements OnInit, OnDestroy {
private onDestroy$ = new Subject<boolean>();
constructor(@Inject(FormService) private formService: InMemoryFormService,
private notificationService: NotificationService,
private automationService: CoreAutomationService) {
}
logErrors(errorFields: FormFieldModel[]) {
this.errorFields = errorFields;
}
ngOnInit() {
this.formService.executeOutcome
.pipe(takeUntil(this.onDestroy$))
.subscribe((formOutcomeEvent: FormOutcomeEvent) => {
formOutcomeEvent.preventDefault();
});
this.formService.executeOutcome.pipe(takeUntil(this.onDestroy$)).subscribe((formOutcomeEvent: FormOutcomeEvent) => {
formOutcomeEvent.preventDefault();
});
this.formConfig = JSON.stringify(
this.automationService.forms.getFormDefinition()
);
this.formConfig = JSON.stringify(this.automationService.forms.getFormDefinition());
this.parseForm();
}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,53 +0,0 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint-disable */
import { Component, NgModule } from '@angular/core';
import { WidgetComponent } from '@alfresco/adf-core';
@Component({
selector: 'custom-editor',
template: `
<div style="color: red">Look, I'm a custom editor!</div>
`
})
export class CustomEditorComponent extends WidgetComponent {
constructor() {
super();
}
}
@Component({
selector: 'custom-stencil-01',
template: `<div style="color: green">ADF version of custom ProcessService stencil</div>`
})
export class CustomStencil01 extends WidgetComponent {
constructor() {
super();
}
}
@NgModule({
declarations: [ CustomEditorComponent, CustomStencil01 ],
exports: [ CustomEditorComponent, CustomStencil01 ]
})
export class CustomEditorsModule {
}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,17 +50,16 @@
class="app-grid-item app-tasks-details"
*ngIf="!isStartTaskMode()"
data-automation-id="app-tasks-details">
<adf-task-details #activitiDetails
[debugMode]="true"
[taskId]="currentTaskId"
[showFormTitle]="true"
[fieldValidators]="fieldValidators"
[showHeaderContent]="true"
(formCompleted)="onFormCompleted()"
(formContentClicked)="onContentClick($event)"
(taskCreated)="onTaskCreated($event)"
(assignTask)="onAssignTask()"
(taskDeleted)="onTaskDeleted()">
<adf-task-details
[taskId]="currentTaskId"
[showFormTitle]="true"
[fieldValidators]="fieldValidators"
[showHeaderContent]="true"
(formCompleted)="onFormCompleted()"
(formContentClicked)="onContentClick($event)"
(taskCreated)="onTaskCreated($event)"
(assignTask)="onAssignTask()"
(taskDeleted)="onTaskDeleted()">
</adf-task-details>
<div *ngIf="currentTaskId">
@@ -129,14 +128,12 @@
<adf-pagination
*ngIf="processList"
[target]="processList"
(changePageSize)="onChangePageSize($event)"
#processListPagination>
(changePageSize)="onChangePageSize($event)">
</adf-pagination>
</div>
<div class="app-grid-item app-processes-details" *ngIf="!isStartProcessMode()">
<adf-process-instance-details
#activitiProcessDetails
[processInstanceId]="currentProcessInstanceId"
(processCancelled)="processCancelled()"
(showProcessDiagram)="onShowProcessDiagram($event)"
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,32 +16,26 @@
*/
// eslint-disable-next-line
import {
AfterViewInit,
Component,
ElementRef,
Input,
OnDestroy,
OnInit,
ViewChild,
ViewEncapsulation,
EventEmitter,
Output
} from '@angular/core';
import { AfterViewInit, Component, ElementRef, Input, OnDestroy, OnInit, ViewChild, ViewEncapsulation, EventEmitter, Output } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { Pagination, UserProcessInstanceFilterRepresentation, ScriptFilesApi } from '@alfresco/js-api';
import {
FORM_FIELD_VALIDATORS, FormRenderingService, FormService, AppConfigService, PaginationComponent, UserPreferenceValues,
AlfrescoApiService, UserPreferencesService, NotificationService
FORM_FIELD_VALIDATORS,
FormRenderingService,
FormService,
AppConfigService,
PaginationComponent,
UserPreferenceValues,
AlfrescoApiService,
UserPreferencesService,
NotificationService
} from '@alfresco/adf-core';
import {
ProcessFiltersComponent,
ProcessInstance,
ProcessInstanceDetailsComponent,
ProcessInstanceListComponent,
StartProcessInstanceComponent,
FilterRepresentationModel,
TaskDetailsComponent,
TaskDetailsEvent,
TaskFiltersComponent,
TaskListComponent,
@@ -51,7 +45,6 @@ import {
DynamicTableRow
} from '@alfresco/adf-process-services';
import { Subject } from 'rxjs';
import { CustomStencil01 } from './custom-editor/custom-editor.component';
import { DemoFieldValidator } from './demo-field-validator';
import { PreviewService } from '../../services/preview.service';
import { Location } from '@angular/common';
@@ -69,18 +62,12 @@ const REPORT_ROUTE = 2;
templateUrl: './process-service.component.html',
styleUrls: ['./process-service.component.scss'],
encapsulation: ViewEncapsulation.None,
providers: [
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
]
providers: [{ provide: FormRenderingService, useClass: ProcessFormRenderingService }]
})
export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit {
@ViewChild('activitiFilter')
activitiFilter: TaskFiltersComponent;
@ViewChild('processListPagination')
processListPagination: PaginationComponent;
@ViewChild('taskListPagination')
taskListPagination: PaginationComponent;
@@ -93,12 +80,6 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
@ViewChild('processList')
processList: ProcessInstanceListComponent;
@ViewChild('activitiProcessDetails')
activitiProcessDetails: ProcessInstanceDetailsComponent;
@ViewChild('activitiDetails')
activitiDetails: TaskDetailsComponent;
@ViewChild('activitiStartProcess')
activitiStartProcess: StartProcessInstanceComponent;
@@ -133,40 +114,31 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
presetColumn = 'default';
showApplications: boolean;
applicationId: number;
processDefinitionName: string;
fieldValidators = [
...FORM_FIELD_VALIDATORS,
new DemoFieldValidator()
];
fieldValidators = [...FORM_FIELD_VALIDATORS, new DemoFieldValidator()];
private onDestroy$ = new Subject<boolean>();
private scriptFileApi: ScriptFilesApi;
constructor(private elementRef: ElementRef,
private route: ActivatedRoute,
private router: Router,
private apiService: AlfrescoApiService,
private appConfig: AppConfigService,
private preview: PreviewService,
formRenderingService: FormRenderingService,
formService: FormService,
private location: Location,
private notificationService: NotificationService,
private preferenceService: UserPreferencesService) {
constructor(
private elementRef: ElementRef,
private route: ActivatedRoute,
private router: Router,
private apiService: AlfrescoApiService,
private appConfig: AppConfigService,
private preview: PreviewService,
formService: FormService,
private location: Location,
private notificationService: NotificationService,
private preferenceService: UserPreferencesService
) {
this.scriptFileApi = new ScriptFilesApi(this.apiService.getInstance());
this.defaultProcessName = this.appConfig.get<string>('adf-start-process.name');
this.defaultProcessDefinitionName = this.appConfig.get<string>('adf-start-process.processDefinitionName');
this.defaultTaskName = this.appConfig.get<string>('adf-start-task.name');
this.processDefinitionName = this.defaultProcessDefinitionName;
// Uncomment this line to replace all 'text' field editors with custom component
// formRenderingService.setComponentTypeResolver('text', () => CustomEditorComponent, true);
// Uncomment this line to map 'custom_stencil_01' to local editor component
formRenderingService.setComponentTypeResolver('custom_stencil_01', () => CustomStencil01, true);
this.preferenceService
.select(UserPreferenceValues.PaginationSize)
@@ -177,22 +149,18 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
formService.validateDynamicTableRow
.pipe(takeUntil(this.onDestroy$))
.subscribe(
(validateDynamicTableRowEvent: ValidateDynamicTableRowEvent) => {
const row: DynamicTableRow = validateDynamicTableRowEvent.row;
if (row?.value && row.value.name === 'admin') {
validateDynamicTableRowEvent.summary.isValid = false;
validateDynamicTableRowEvent.summary.message = 'Sorry, wrong value. You cannot use "admin".';
validateDynamicTableRowEvent.preventDefault();
}
.subscribe((validateDynamicTableRowEvent: ValidateDynamicTableRowEvent) => {
const row: DynamicTableRow = validateDynamicTableRowEvent.row;
if (row?.value && row.value.name === 'admin') {
validateDynamicTableRowEvent.summary.isValid = false;
validateDynamicTableRowEvent.summary.message = 'Sorry, wrong value. You cannot use "admin".';
validateDynamicTableRowEvent.preventDefault();
}
);
formService.formContentClicked
.pipe(takeUntil(this.onDestroy$))
.subscribe((content) => {
this.showContentPreview(content);
});
formService.formContentClicked.pipe(takeUntil(this.onDestroy$)).subscribe((content) => {
this.showContentPreview(content);
});
}
ngOnInit() {
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { Pagination, ResultSetPaging } from '@alfresco/js-api';
import { SearchConfiguration, SearchForm, SearchQueryBuilderService, SearchService } from '@alfresco/adf-content-services';
import { SearchConfiguration, SearchQueryBuilderService, SearchService } from '@alfresco/adf-content-services';
import { ShowHeaderMode, UserPreferencesService } from '@alfresco/adf-core';
import { combineLatest, Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -26,11 +26,10 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'app-search-filter-chips',
templateUrl: './search-filter-chips.component.html',
styleUrls: [ './search-filter-chips.component.scss' ],
styleUrls: ['./search-filter-chips.component.scss'],
providers: [SearchService]
})
export class SearchFilterChipsComponent implements OnInit, OnDestroy {
queryParamName = 'q';
searchedWord = '';
data: ResultSetPaging;
@@ -38,15 +37,16 @@ export class SearchFilterChipsComponent implements OnInit, OnDestroy {
isLoading = true;
sorting = ['name', 'asc'];
searchForms: SearchForm[];
showHeader = ShowHeaderMode.Always;
private onDestroy$ = new Subject<boolean>();
constructor(public router: Router,
private preferences: UserPreferencesService,
private queryBuilder: SearchQueryBuilderService,
private route: ActivatedRoute) {
constructor(
public router: Router,
private preferences: UserPreferencesService,
private queryBuilder: SearchQueryBuilderService,
private route: ActivatedRoute
) {
combineLatest([this.route.params, this.queryBuilder.configUpdated])
.pipe(takeUntil(this.onDestroy$))
.subscribe(([params, searchConfig]) => {
@@ -56,7 +56,7 @@ export class SearchFilterChipsComponent implements OnInit, OnDestroy {
if (query) {
this.queryBuilder.userQuery = query;
}
});
});
queryBuilder.paging = {
maxItems: this.preferences.paginationSize,
@@ -69,21 +69,17 @@ export class SearchFilterChipsComponent implements OnInit, OnDestroy {
this.sorting = this.getSorting();
this.queryBuilder.updated
.pipe(takeUntil(this.onDestroy$))
.subscribe(() => {
this.sorting = this.getSorting();
this.isLoading = true;
});
this.queryBuilder.updated.pipe(takeUntil(this.onDestroy$)).subscribe(() => {
this.sorting = this.getSorting();
this.isLoading = true;
});
this.queryBuilder.executed
.pipe(takeUntil(this.onDestroy$))
.subscribe((resultSetPaging: ResultSetPaging) => {
this.queryBuilder.paging.skipCount = 0;
this.queryBuilder.executed.pipe(takeUntil(this.onDestroy$)).subscribe((resultSetPaging: ResultSetPaging) => {
this.queryBuilder.paging.skipCount = 0;
this.onSearchResultLoaded(resultSetPaging);
this.isLoading = false;
});
this.onSearchResultLoaded(resultSetPaging);
this.isLoading = false;
});
if (this.route) {
this.route.params.forEach((params: Params) => {
@@ -92,18 +88,20 @@ export class SearchFilterChipsComponent implements OnInit, OnDestroy {
this.queryBuilder.update();
} else {
this.queryBuilder.userQuery = null;
this.queryBuilder.executed.next(new ResultSetPaging({
list: {
pagination: { totalItems: 0 },
entries: []
}
}));
this.queryBuilder.executed.next(
new ResultSetPaging({
list: {
pagination: { totalItems: 0 },
entries: []
}
})
);
}
});
}
}
private formatSearchQuery(userInput: string, fields = ['cm:name']) {
private formatSearchQuery(userInput: string, fields = ['cm:name']) {
if (!userInput) {
return null;
}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
<div class="adf-setting-container">
<form id="host-form" [formGroup]="form" (submit)="onSubmit(form.value)" (keydown)="keyDownFunction($event)">
<form id="host-form" role="form" tabindex="0" [formGroup]="form" (submit)="onSubmit(form.value)" (keydown)="keyDownFunction($event)">
<mat-form-field *ngIf="showSelectProviders">
<mat-select id="adf-provider-selector" [formControl]="providersControl">
<mat-option *ngFor="let provider of providers" [value]="provider">
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1 +1 @@
<adf-host-settings (cancel)="onCancel()" (success)="onSuccess()" (error)="onError($event)"></adf-host-settings>
<adf-host-settings (cancel)="onCancel()" (success)="onSuccess()"></adf-host-settings>
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@
*/
import { Component } from '@angular/core';
import { LogService } from '@alfresco/adf-core';
import { Router } from '@angular/router';
@Component({
@@ -24,14 +23,7 @@ import { Router } from '@angular/router';
templateUrl: './settings.component.html'
})
export class SettingsComponent {
constructor(private router: Router,
public logService: LogService) {
}
onError(error: string) {
this.logService.log(error);
}
constructor(private router: Router) {}
onCancel() {
this.router.navigate(['/login']);
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,13 +19,13 @@ import { NgModule } from '@angular/core';
import { TaskListDemoComponent } from './task-list-demo.component';
import { Routes, RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreModule, LocalizedDatePipe } from '@alfresco/adf-core';
import { CoreModule, FullNamePipe, LocalizedDatePipe } from '@alfresco/adf-core';
import { ProcessModule } from '@alfresco/adf-process-services';
const routes: Routes = [
{
path: '',
component: TaskListDemoComponent
path: '',
component: TaskListDemoComponent
},
{
path: ':id',
@@ -34,13 +34,7 @@ const routes: Routes = [
];
@NgModule({
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule,
ProcessModule.forChild(),
LocalizedDatePipe
],
imports: [CommonModule, RouterModule.forChild(routes), CoreModule, ProcessModule.forChild(), LocalizedDatePipe, FullNamePipe],
declarations: [TaskListDemoComponent]
})
export class AppTaskListModule {}
@@ -1,7 +1,7 @@
---
Title: Folder Create directive
Added: v2.0.0
Status: Active
Status: Deprecated
Last reviewed: 2019-01-16
---
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@ import { By } from '@angular/platform-browser';
import { Subject, of } from 'rxjs';
import { FolderCreateDirective } from './folder-create.directive';
import { Node } from '@alfresco/js-api';
import { ContentTestingModule } from '../testing/content.testing.module';
import { ContentService } from '../common/services/content.service';
import { ContentService } from '@alfresco/adf-content-services';
import { ContentTestingModule } from 'lib/content-services/src/lib/testing/content.testing.module';
@Component({
template: ` <div [adf-create-folder]="parentNode" (success)="success($event)" title="create-title" [nodeType]="'cm:my-little-pony'"></div>`
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,13 +15,12 @@
* limitations under the License.
*/
/* eslint-disable @angular-eslint/no-input-rename */
/* eslint-disable */
import { Directive, HostListener, Input, Output, EventEmitter } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { Node } from '@alfresco/js-api';
import { FolderDialogComponent } from '../dialogs/folder.dialog';
import { ContentService } from '../common/services/content.service';
import { ContentService, FolderDialogComponent } from '@alfresco/adf-content-services';
const DEFAULT_FOLDER_PARENT_ID = '-my-';
const DIALOG_WIDTH: number = 400;
@@ -50,16 +49,13 @@ export class FolderCreateDirective {
@Output()
success: EventEmitter<Node> = new EventEmitter<Node>();
@HostListener('click', [ '$event' ])
@HostListener('click', ['$event'])
onClick(event) {
event.preventDefault();
this.openDialog();
}
constructor(
public dialogRef: MatDialog,
public content: ContentService
) {}
constructor(public dialogRef: MatDialog, public content: ContentService) {}
private get dialogConfig() {
const { parentNodeId, title: createTitle, nodeType } = this;
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,20 +20,10 @@ import { NgModule } from '@angular/core';
import { MaterialModule } from '../material.module';
import { FolderCreateDirective } from './folder-create.directive';
import { FolderEditDirective } from './folder-edit.directive';
@NgModule({
imports: [
CommonModule,
MaterialModule
],
declarations: [
FolderCreateDirective,
FolderEditDirective
],
exports: [
FolderCreateDirective,
FolderEditDirective
]
imports: [CommonModule, MaterialModule],
declarations: [FolderCreateDirective],
exports: [FolderCreateDirective]
})
export class FolderDirectiveModule {}
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,6 +16,5 @@
*/
export * from './folder-create.directive';
export * from './folder-edit.directive';
export * from './folder-directive.module';
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,9 +16,7 @@
*/
import { Injectable } from '@angular/core';
import { AppConfigService, LogService,
FormFieldOption, FormService, FormValues, FormModel,
FormOutcomeModel, FormOutcomeEvent } from '@alfresco/adf-core';
import { AppConfigService, FormFieldOption, FormService, FormValues, FormModel, FormOutcomeModel, FormOutcomeEvent } from '@alfresco/adf-core';
import { Observable, Subject } from 'rxjs';
interface ProcessServiceData {
@@ -37,13 +35,11 @@ interface ProcessServiceData {
//
@Injectable()
export class InMemoryFormService extends FormService {
private data: ProcessServiceData;
executeOutcome = new Subject<FormOutcomeEvent>();
constructor(appConfig: AppConfigService,
protected logService: LogService) {
constructor(appConfig: AppConfigService) {
super();
this.data = appConfig.get<ProcessServiceData>('activiti');
}
@@ -53,14 +49,10 @@ export class InMemoryFormService extends FormService {
// Uncomment this to use original call
// return super.getRestFieldValues(taskId, fieldId);
this.logService.log(`getRestFieldValues: ${taskId} => ${field}`);
return new Observable<FormFieldOption[]>((observer) => {
const currentField = this.data.rest.fields.find(
(f) => f.taskId === taskId && f.fieldId === field
);
if ( currentField ) {
const currentField = this.data.rest.fields.find((f) => f.taskId === taskId && f.fieldId === field);
if (currentField) {
const values: FormFieldOption[] = currentField.values || [];
this.logService.log(values);
observer.next(values);
}
});
@@ -75,7 +67,7 @@ export class InMemoryFormService extends FormService {
delete flattenForm.formDefinition;
const formValues: FormValues = {};
(data || []).forEach(variable => {
(data || []).forEach((variable) => {
formValues[variable.name] = variable.value;
});
@@ -99,13 +91,11 @@ export class InMemoryFormService extends FormService {
// Uncomment this to use original call
// return super.getRestFieldValuesByProcessId(processDefinitionId, fieldId);
this.logService.log(`getRestFieldValuesByProcessId: ${processDefinitionId} => ${fieldId}`);
return new Observable<FormFieldOption[]>((observer) => {
const field = this.data.rest.fields.find(
(currentField) => currentField.processId === processDefinitionId && currentField.fieldId === fieldId
);
const values: FormFieldOption[] = field.values || [];
this.logService.log(values);
observer.next(values);
});
}

Some files were not shown because too many files have changed in this diff Show More