Compare commits

..
264 Commits
Author SHA1 Message Date
Eugenio Romano 7d36400dbd Remove discovery (#5212)
* remove discovery

* remoce discovery test

* fix save remote

* use host acs to save screenshot

* fix e2e

* remove invalid test

* fix the package version
2019-11-05 14:15:54 +00:00
Cilibiu Bogdan 040fc52724 [ADF-2990] Datatable - access header row via keyboard (#5206)
* header row as adf-datatable-row

* remove tabindex if header is hidden

* adjust logic if no row data is passed

* skip row focus if disabled

* set active row index on header interaction

* take in account header row

* fix header row and cells focus

* tests

* fix reference

* fix tests
2019-11-04 08:08:15 +00:00
Eugenio Romano 5c4511e42b fix save remote script 2019-11-03 23:18:13 +00:00
Eugenio Romano d659073389 Update README.md 2019-11-02 01:28:00 +00:00
Eugenio Romano e8e483275c update package.json 2019-11-01 20:00:21 +00:00
Eugenio Romano 70fd3a1c60 Don't update rancher after charge js api 2019-11-01 07:51:23 +00:00
Eugenio Romano 5bb9efd2ea Update .travis.yml 2019-10-31 09:38:14 +00:00
Eugenio Romano 2e046945c7 [AAE-726] Add new return await rule (#5203)
* add new return await rule

* update tslint

* add lint exception
2019-10-30 19:29:43 +00:00
Denys Vuika a4730cd9cf [DW-1560] switch to ACTIVITI roles (#5175)
* switch to ACTIVITI roles

* double set of roles

* minor typing fixes

* use different account

* Revert "use different account"

This reverts commit 1f89fb490e8be1614fbdef391ddc8a536ec8de82.

* fix test
2019-10-30 17:28:01 +00:00
Eugenio Romano 65c66528de fix log (#5204) 2019-10-30 16:27:33 +00:00
cristinajandDenys Vuika 98e9e638c1 Add getProcessName (#5202)
* Add getProcessName

* Update lib/testing/src/lib/process-services-cloud/pages/start-process-cloud-component.page.ts

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>
2019-10-30 16:12:54 +00:00
arditdomi d3b9ae87b7 [AAE-641] Hide Release button when the task is assigned to a single user (#5192)
* [AAE-641] Hide Release button when the task is assigned to a single user

* [AAE-641] Fix unit tests

* [AAE-641] Fix unit tests
2019-10-30 15:55:01 +00:00
Silviu Popa d02d79c771 [ADF-4849] [APM-1226] - Automate boolean and number visibility conditions (#5043)
* [ADF-4849] [APM-1226] - Automate boolean and number  visibility conditions

* PR changes

* PR changes

* fix e2e and update simpleapp
2019-10-30 13:15:53 +00:00
Silviu Popa 7698fb8edb [AAE-534] Core - add search cloud component (#5193)
* [AAE-534] - add search cloud component

* change doc file

* more changes on doc file

* remove empty scss file

* add animation and more customizations

* add preselect value property

* fix unit tests
2019-10-30 07:44:37 +00:00
Cilibiu Bogdan af6bd0892c [ADF-2990] Datatable - row navigation (#5198)
* datatable row component

* add to module

* implement datatable row component

* use FocusKeyManager for arrows navigation

* tests

* prevent screen reader to announce undefined value

* prevent from bubbling up

* fix unit test

* fix row locator

* fix locator reference

* fix row reference locators

* fix locator xpath
2019-10-30 07:39:43 +00:00
Suzana Dirla a150e74366 [ADF-4936] Auth guard redirect fix (#5092)
* [ADF-4936] fix for auth guard with silent Login true

* [ADF-4936] check only for isOAuth...

* [ADF-4936] fix all auth guards when silent Login true

* [ADF-4936] unit tests

* [ADF-4936] fix doc info

* [ADF-4936] types and null checks

* [ADF-4936] fallback option in case silentLogin is missing from settings

* [ADF-4936] refactoring

* try to fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)

* Fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)

* [ADF-4936] show the error page when route path is unknown

* [ADF-4936] remove ssoImplicitLogin and do the redirectToUrl instead

-the implicit login concern is already in the JS-API

* [ADF-4936] refactor to simplify code

- the removed 'if' conditions cover all possible 'else' cases

* [ADF-4936] remove unneeded method
2019-10-29 15:16:08 +00:00
siva kumar 9c2bcdee1a [ADF- 4871][TaskHeaderCloudComponent] Add Candidate Users/Groups properties (#5189)
* [ADF-4871] [TaskHeaderCloudComponent] Add Candidate Users/Groups properties

* Added Candidate users/groups properties to the task heade cloud component.

* * Created CardViewArrayItemComponent
* Modified FullName pipe to return username or email incase fullname missing.
* Added candidate Users/Groups properties to the taskcloudheader component.
* Added two service into task-cloudservice
* Updated Demoshell card-view with new widget

* * Fixed failing unit test

* * Fixed comments.

* * Refactored CardViewArrayItem model
* Fixed comments.

* * Changed candidate group icon
2019-10-29 09:26:34 +00:00
siva kumar 1c6eb4d73d [ADF-4968 ] [TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states (#5191)
* [ADF-4968][TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states

* * Added clickable to the parentName and ParentTask Id.

* * Fixed comments
2019-10-28 20:56:35 +00:00
Geeta Mandakini Ayyalasomayajula 4885e6bcee added methods to view file, assert on File title in the viewer and cl… (#5196)
* added methods to view file, assert on File title in the viewer and close viewer.

* moved the ViewerPage file to ADF testing package

* removed the unnecessary methods as using the methods of the ViewerPage class.
2019-10-28 20:02:47 +00:00
Eugenio Romano 27fa7a4725 [ADF-4957] Use Replace JS instead of sed to run e2e (#5160)
* use replace js

* Update app-config-replace.js

* update replace

* update replace

* fix folder
2019-10-28 16:51:36 +00:00
Eugenio Romano 450b20eca4 [ADF-4976] Fix cloud ps e2e errors (#5195)
* fix cloud ps e2e errors

* fix lint

* fix ps test add 200ms for animation

* Update processListPage.ts
2019-10-28 09:47:30 +00:00
Suzana Dirla 6119ce83de [ADF-4966] Keep table headers - visually hidden when showHeader false (#5170)
* [ADF-4966] Move or copy - Add table headers - visually hidden

- needed by screen readers

* [ADF-4966] use automatic column header translation

* [ADF-4966] move the fix to the datatable component

-improve accessibility - keep table headers-but visually hidden for showHeader false

* [ADF-4966] code review change

* [ADF-4966] fix array shallow copy on failing e2e-test

* [ADF-4966] improve accessibility only for list display

- fixes failing test
2019-10-25 15:46:45 +01:00
Suzana Dirla d35e8d8523 [ADF-4970] Improve breadcrumb accessibility (#5187)
* [ADF-4970] improve accessibility for dropdown-breadcrumb

- allow keyboard only control

* [ADF-4970] add accessibility improvements to breadcrumb.component

* [ADF-4970] more fixes & preventDefault for click event

* [ADF-4970] better keyboard-only experience when selecting a breadcrumb option

* [ADF-4970] set focus color on content-node-selector breadcrumb

* [ADF-4970] set aria-current to location

* [ADF-4970] extra check - fix unit test
2019-10-25 10:20:22 +01:00
Eugenio Romano 0aed1845a0 [AAE-520] order apps by name when retrieve from the server (#5184)
* order apps bby name when retrieve from the server

* fix order e2e
2019-10-25 02:28:26 +01:00
Geeta Mandakini Ayyalasomayajula 2e03dfa908 Added the process and form required to test terminate end event (#5188)
* added the process and form required to test terminate end event

* also added a form to test the upload local file for a standalone task.
2019-10-25 02:27:35 +01:00
Geeta Mandakini Ayyalasomayajula eefc201332 added test for the visible flag both for process list and task list action menu and context menu (#5190) 2019-10-25 01:07:18 +01:00
Martin MullerandDenys Vuika ef229dd300 [ADF-4973] CLONE - Header - sidenav menu button expanded/collapsed state not exposed via ARIA (#5179)
* Set aria expanded for the sidenav toggle bar

* Define initialSidenavExpanded which can be set in the demo shell than as taken the same true or false value as the sideNav.expandedSidenav value.

* Added some unit tests for the sidenav toggle aria-expanded behaviour

* Update lib/core/layout/components/header/header.component.ts

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* Update lib/core/layout/components/header/header.component.html

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* Update demo-shell/src/app/components/app-layout/app-layout.component.html

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* Update lib/core/layout/components/header/header.component.html

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* As suggested from Denys remove initialSidnavExpanded property as we already have expandedSidenav

* As suggested from Denys remove initialSidnavExpanded property as we already have expandedSidenav

* As suggested from Denys remove initialSidnavExpanded property as we already have expandedSidenav
2019-10-24 22:54:32 +01:00
Maurizio Vitale 6331979baa [ADF-4857] Be able to run ng build content-service (#5183)
* Be able to build conten with ng build content-service

* fix tslint

* The translate module is necessary

* Rollback the build commands

* Rollback

* Remove wrong imports

* Trigger the build
2019-10-24 19:23:30 +01:00
Denys Vuika 9fa1db063a fix types 2019-10-24 17:00:39 +01:00
Denys Vuika 7d12557a08 fix types 2019-10-24 15:08:11 +01:00
Eugenio Romano c8931f7b58 fix build process when JS-API trigger the build 2019-10-24 14:22:56 +01:00
Martin Muller da154bb58f [ADF-4972] CLONE - Header - sidenav menu button aria-label not translatable (#5178)
* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable
2019-10-24 12:58:03 +01:00
Cilibiu Bogdan 7b52a31001 add aria label (#5186) 2019-10-24 10:29:46 +01:00
Eugenio Romano e667ec4f2f [AAE-174] Show radio box in text box when read only (#5182)
* show radio box in text box when read only

* show radio box in text box when read only
2019-10-23 12:23:11 +01:00
Geeta Mandakini Ayyalasomayajula 200e652f0d Adding new process, forms and decision tables for e2e tests on decisiontable mappings (#5177)
* adding new process, forms and decision tables for e2e tests on decision table mappings.

* added the process and form required to test terminate end event
2019-10-22 17:25:51 +01:00
Geeta Mandakini Ayyalasomayajula b7ec525b62 Added isChecked method to verify the status of checkbox widget (#5173)
* added method to assert on checkbox widget, isChecked

* removed unnecessary method

* added method in checkboxWidget

* moved the method to checkbox widget
2019-10-22 15:38:55 +01:00
Eugenio Romano 9f69a7d4ee add types and fix date probblem in process list (#5176) 2019-10-21 16:10:19 +01:00
arditdomi 1970b1da82 [ADF-4964] Add enter and escape events for updating card view properties (#5167)
* [ADF-4964] Add enter and escape events for updating card view properties

* [ADF-4964] Add unit tests
2019-10-21 14:22:16 +01:00
davidcanonieto 2a033507b3 [AAE-485] Fix card view int item validator (#5135)
* [AAE-485] Fix card view int item validator

* Improve code

* Fix unit tests

* Remove outdated test

* Fix login of int validator

* Fix e2e test

* fix linting
2019-10-21 11:18:55 +01:00
davidcanonieto f2c1778eda [ADF-4595] Change demo-shell style classes prefix (#5132)
* [ADF-4595] Change demo-shell style classes prefix

* Change more files

* Trigger e2e tests

* Fix e2e selectors

* Fix e2e tests

* Fix e2e tests
2019-10-18 17:35:01 +01:00
Maurizio Vitale 83094b43ff [DW-1320] Add visibility process def to simple app (#5169)
* Add visibility stuff

* Fix development
2019-10-18 15:04:50 +01:00
maurizio vitale 76df885932 Fix adf-cli 2019-10-18 12:55:19 +01:00
maurizio vitale 9cfa882bd9 bump bundlesize 2019-10-18 11:41:07 +01:00
Eugenio Romano 2e90fbd62a fix cli 2019-10-18 02:26:45 +01:00
dhrn baa0d6da30 [ADF-4947] Array type supported in data table columns (#5165)
* [WIP] [ADF-4947] Array type supported in data table columns

* * removed resolver for aria label

* * process services feature added

* * fixed docs
2019-10-18 00:01:52 +01:00
Martin Muller 12bbb993bd Show border when focus as wished in ACA-2504 (#5158) 2019-10-17 23:05:53 +01:00
arditdomi a0858e3c86 [ADF-4949] Add SUSPENDED state to the edit task filter (#5150)
* [ADF-4949] Add SUSPENDED state to the edit task filter

* [ADF-4949] Add unit test

* [ADF-4949] change order of status filters

* [ADF-4949] Change order of status filters

* [ADF-4949] Remove unnecessary unit test

* [ADF-4949] Add e2e for SUSPENDED filter

* [ADF-4949] fix lint errors
2019-10-17 23:05:28 +01:00
Eugenio Romano 2ef6dc46e0 [ADF-4954] Notification history persist (#5154)
* persist notification in storage

* add max stack check

* add max stack check

* fix folder
2019-10-17 22:54:50 +01:00
Cilibiu Bogdan a60fb744c4 [ADF-4965] Viewer - pass navigate before and next event (#5166)
* pass event

* update docs
2019-10-17 19:25:54 +01:00
Martin Muller 85cd6d9506 Add aria label and role LINK to app title (#5168) 2019-10-17 19:15:45 +01:00
maurizio vitale 3457294508 Increase the max bundle core to 130Kb 2019-10-17 17:08:57 +01:00
Maurizio Vitale 941df740d5 [ADF-4948] Move the resources config in the process cloud lib - Part 2 (#5143)
* Move the resources in the cloud lib

* Use adf cli

* Add missing process definitions

* Add debug points

* Print new class

* Use the resources under the adf-testing

* Use the resources from testing package

* Fix adf-testing bugs

* remove empty row

* Remove the npm install

* Remove log stuff

* Remove the console log

* Fix typo on process def names
Improve the debug e2e command

* Fix lowercase name

* Check the process cloud env and content env

* Add the new process definitions

* Add missing process definitions

* Use the latest simpleapp

* Rollback the bigFile

* Use relative link

* Trasnpile the adf-testing before using it
2019-10-17 14:31:58 +01:00
Cilibiu Bogdan ee5c90871a [ADF-4958] [ADF-4959] Info Drawer - Buttons don't have role and accessible by keyboard alone (#5161)
* actions accessibility

* lint

* access setEditMode by keyboard

* fix test

* update action automation id reference

* update element finder reference

* update automation id reference
2019-10-17 11:18:15 +01:00
Denys Vuika d7ab0417b8 [AAE-622] No implicit returns (#5157)
* enable noImplicitReturns rule

* type fixes

* fix return types

* fix return value

* fix tests

* fix visibility service

* update tests

* add missing types

* fix test
2019-10-17 09:35:39 +01:00
Eugenio Romano 48aca2d30f [ADF-4897] delete test-cookie after check (#5164)
* remove cookie test after check

* remove cookie test after check

* remove cookie test after check

* remove cookie test after check

* make nullable variable optional in cookie

* make nullable variable optional in cookie
2019-10-17 00:16:11 +01:00
Geeta Mandakini Ayyalasomayajula 313e535b8d [DW-1521] added message-events api methods (#5146)
* added message events api

* added export

* added the getProcessInstance method in the queryservice

* added form-cloud.service with method to submit the form.

* added form-cloud.service with method to submit the form.

* returning the error instead of throwing, which can be used in expected negative api assertions in the test.

* added getTaskByNAme method to filter a task by unique task-name within a process-instance

* linting fix

* made correlation key as optional parameter

* removed the unnecessary tslint disable statements

* removed the unnecessary tslint disable statements and reverted the throw error statement

* logging response is not needed

* added return type

* added return type
2019-10-16 21:18:07 +01:00
Roxana Diacenco 6389019561 [ADF-4960] Update clickCheckbox() method in Datatable component (#5159)
* Checked element is the input of type="checkbox"
2019-10-16 16:19:17 +01:00
Suzana Dirla e229ae820f [ADF-4962] Move or copy - Visual heading text - mark as a heading (#5163) 2019-10-16 15:28:46 +01:00
Cilibiu Bogdan 2f1a5943b6 panels header visual accessibility (#5162) 2019-10-16 12:52:06 +01:00
Cilibiu Bogdan 8bb8231a83 mark aria headings (#5155) 2019-10-15 15:23:55 +01:00
Eugenio Romano 210f1d8f59 [#4961] Angular v9 (ivy) compatibility fixes #5153 (#5156)
* Angular 9 compatibility: add explicit types to prevent automatic deep imports

If you do not provide an explicit return type to a function then TypeScript
will try to guess it and create a dynamic import type for the `.d.ts` files.

Often the imports incorrectly point to a path deep within a package,
rather than accessing the type via the correct public facing import.

From Angular v9, using ivy, such deep imports cause compilation
errors and will prevent this library from being used for ivy enabled
applications.

This commit fixes this problem for a component and a service that
the adf-core library exports.

* Angular 9 compatibility: import DOCUMENT from `@angular/common`

In Angular 7 importing `DOCUMENT` from `platform-browser` was
deprecated, and it was removed completely in Angular 8.

* fix type afterlast alpha

* fix type after last alpha

* fix types demo shell
2019-10-15 15:22:42 +01:00
Eugenio Romano a4424d17fc fix other insights paths 2019-10-14 18:42:36 +01:00
Eugenio Romano 0736a29d5c fix style issues (#5151) 2019-10-14 18:32:35 +01:00
Denys Vuika b3ca2166f0 upgrade js api (#5152)
* upgrade to latest js api

* add missing types

* remove useless function

* fix types

* enable strict mode

* Revert "enable strict mode"

This reverts commit 8e3f9c4563.
2019-10-14 18:28:01 +01:00
davidcanonieto 47ec01555a [ADF-4893] Fix visibility condition in datatable action menu (#5088)
* [ADF-4893] Fix visibility condition in datatable action menu

* Add filtering for when menu cache is disabled

* Fix unit test and improve code

* Fix linting

* Fix linting

* Add missing return type
2019-10-14 15:28:24 +01:00
Cilibiu Bogdan 1d7ef62095 [ADF-4953] Uploader - confirmation dialog actions should return focus to the upload dialog (#5148)
* trap confirmation dialog

* focus dialog when not in confirmation state

* test
2019-10-14 11:18:17 +01:00
Cilibiu Bogdan b1bccdb0e3 fix focus issues (#5147) 2019-10-14 11:00:01 +01:00
Maurizio Vitale 450e9dce89 Add the resources as part of testing (#5145) 2019-10-14 10:39:06 +01:00
Eugenio Romano 32561459c9 Fix style insights dev 2019-10-11 20:06:24 +01:00
maurizio vitale 82ae1e00d6 Fix the insight style path 2019-10-10 12:32:50 +01:00
Denys Vuika b1d0c50e88 [ADF-4926] fix attachments downloading (#5134)
* fix attachments downloading

* update code and tests
2019-10-10 12:06:36 +01:00
davidcanonieto 2def8d0557 [ADF-4861] Fix memory leak in Date widgets and Form Cloud Model (#5041)
* [ADF-4836] Fix memory leak in Date widgets and Form Cloud Model

* Remove unit tests based on old logic
2019-10-10 11:01:06 +01:00
Denys Vuika f731988ca6 [ADF-4911] migrate identity role service (#5096)
* migrate IdentityRoleService implementation

* update unit tests

* move interfaces to the origin

* move models to proper places

* migrate model to interface

* fix test

* update docs
2019-10-10 10:25:57 +01:00
Maurizio Vitale 3fc9390666 [ADF-4909] e2e - Move the resources as part of protractor params (#5086)
* Move the resources as part of protractor params

* Revert replace mistakes

* Remove the resources imports

* fix resources import
2019-10-10 10:22:11 +01:00
Maurizio Vitale 6860ab73ab [ADF-4859] Make sure the ng build insight works (#5141)
* Make sure the ng build insight works

* Fix styles
2019-10-10 09:57:20 +01:00
Maurizio Vitale 93419ffa7b [ADF-4916] Create the adf-cli init-aae-env command (#5099)
* Create the adf-cli command init-aae-env

* Remove the test app

* Add basic doc for the init-aae-env command
2019-10-09 21:27:03 +01:00
Cilibiu Bogdan 8da16ea1a7 [ADF-4937] Viewer - Drag and Drop is not operable with keyboard alone (#5126)
* add keyboard event logic

* tests

* fix outline visibility
2019-10-09 17:52:26 +01:00
Silviu Popa e0b1a3fe03 fix task header priority unit test (#5131) 2019-10-09 17:10:03 +01:00
Eugenio Romano 05ce529704 [AAE-550] Fix PS cloud test (#5139)
* fix PS cloud test

* fix spell

* separate e2e ps form ps-cloud
2019-10-09 13:57:03 +01:00
Eugenio Romano 798768a954 fix e2e apps names 2019-10-08 13:01:56 +01:00
Eugenio Romano a15b7e3db1 Update README.md 2019-10-08 10:36:06 +01:00
Cilibiu Bogdan 922e6ae3ab add aria-label attribute (#5138) 2019-10-08 10:30:06 +01:00
Nicolas Barithel e7bf3b5d56 fix travis url (#5136) 2019-10-08 10:28:29 +01:00
Eugenio Romano e5466f032a [ADF-4896] Merging AMA and ADF notifications for a better world (#5084)
* [ADF-4896] Merging AMA and ADF notifications for a better world

* Second part

* update package-lock
2019-10-07 16:25:01 +01:00
Eugenio Romano 6b57f21067 trigger build from API 2019-10-07 16:23:31 +01:00
Eugenio Romano 06c351cd7b imrove build release readme stauts (#5133) 2019-10-07 15:39:51 +01:00
Denys Vuika 84d939412c update package-lock 2019-10-07 11:06:32 +01:00
Andras Popovics ca79190880 Second part 2019-10-07 10:59:45 +01:00
Andras Popovics 14800ce399 [ADF-4896] Merging AMA and ADF notifications for a better world 2019-10-07 10:57:26 +01:00
Cilibiu Bogdan 922a85935e add sidebar button aria-expanded attribute (#5120) 2019-10-07 10:18:39 +01:00
sirReeall e550be6c25 Documentation - grammar corrections and rewording (#5123)
* Some grammar corrections and rewording

* Reworded tutorial paragraph and fixed typo
2019-10-07 10:09:50 +01:00
Cilibiu Bogdan b637cea059 focus dialog on files added (#5124) 2019-10-06 18:09:51 +01:00
Cilibiu Bogdan 6857213db6 trap focus for overlay viewer (#5127) 2019-10-06 18:08:15 +01:00
Suzana Dirla 9dd78b10f9 e2e fixes (#5129)
* fix e2e test [C260140] Copy - No permission folder

* Fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)
2019-10-06 18:05:52 +01:00
Cilibiu Bogdan 4a531dafcd don't use image path for alt text (#5130) 2019-10-06 18:04:50 +01:00
Suzana Dirla 3d604140d8 generic text (#5105) (#5121) 2019-10-02 18:56:10 +01:00
Eugenio Romano f45f6d0563 fix update children project 2019-09-30 21:41:40 +01:00
Eugenio Romano 2d58d2f458 bump 3.5.0 2019-09-30 17:34:25 +01:00
davidcanonieto 720e2035d8 [ADF-4925] Fix Process Variable mapping in ADF forms (#5116) 2019-09-30 16:08:48 +01:00
Eugenio Romano 20fa331d6f sso settigs fix (#5114)
* fix test

* update-js-api

* update-js-api

* invert test order for some reason

* split before save publicUrls

* split before save publicUrls

* [ADF-4810] split if publicUrls is not Array

* [ADF-4810]better check for string
2019-09-30 15:36:27 +01:00
Cilibiu Bogdan 9f22cb5cc7 fix focus outline (#5115) 2019-09-30 14:19:22 +01:00
Eugenio Romano bcacd8b42e [ADF-4810] fix sso settings (#5108)
* fix sso settings

* fix test

* update-js-api

* update-js-api

* invert test order for some reason
2019-09-30 13:32:17 +01:00
Silviu Popa c49e2dca7e [ADF-4905] StartProcessCloud - fix starting different process than se… (#5091)
* [ADF-4905] StartProcessCloud - fix starting different process than selected in dropdown

* fix process e2e test

* revert e2e changes
2019-09-30 13:31:22 +01:00
Eugenio Romano 4709cda51e localization 3.5.0 (#5112) 2019-09-30 12:00:59 +01:00
Denys Vuika fc325be1e9 Revert "[ADF-4925] Fix process variable mapping in Form Cloud component (#5110)"
This reverts commit 7c692137e3.
2019-09-30 11:44:44 +01:00
Francesco Corti fed2d0fa69 [ADF-4873] Release note in draft. (#5093)
* [ADF-4873] Release note in draft.

* [ADF-4873] Compantibility matrix.

* Update release notes

* [ADF-4873] Added the authorization topic to release note.

* Update RelNote350.md
2019-09-30 11:18:26 +01:00
davidcanonieto 7c692137e3 [ADF-4925] Fix process variable mapping in Form Cloud component (#5110) 2019-09-29 13:48:55 +01:00
Denys Vuika 178740bbde [ADF-4921] upload widget fixes (#5109)
* upload widget fixes

* fix mocks
2019-09-29 13:48:01 +01:00
davidcanonieto 7ebd287728 [APM-1412] Fix Json dialog on Form json widget (#5107) 2019-09-27 15:08:48 +01:00
Cilibiu Bogdan 492a8e72f1 generic text (#5105) 2019-09-27 10:55:40 +01:00
Suzana Dirla 46c0a27f51 [ADF-4810][ADF-4824] get the latest @alfresco/js-api with SSO fixes (#5106) 2019-09-27 10:51:14 +01:00
Cilibiu Bogdan 271c5f3d9c update sso docs (#5104) 2019-09-26 16:02:31 +01:00
Cilibiu Bogdan 82b0879b0f [ADF-4810] sso public urls configuration (#5102)
* update OAUTH schema and model

* update demoshell config for public urls
2019-09-26 13:37:48 +01:00
davidcanonieto aabfe19c51 [ADF-4922] Fix update project script for Generator and Modeler (#5103) 2019-09-26 13:36:57 +01:00
Eugenio Romano 3dc92beeb9 Review documentation plus some tools fix (#5100)
* review 3.5.0 doc

* fix documentation

* fix documentation

* fix documentation
2019-09-26 10:27:04 +01:00
Maurizio Vitale bfc7e91eb6 Use the latest candidatebaseapp 2019-09-26 08:52:39 +01:00
davidcanonieto 6ec6be36d5 [ADF-4913] Fix Gallery View in datatable Component (#5101) 2019-09-26 08:41:29 +01:00
davidcanonieto e610ae9766 [ADF-4914] Fix update versions script on Generator and AMA (#5098) 2019-09-24 21:18:59 +01:00
Eugenio Romano 9e27ba5f30 release docs 2019-09-24 17:45:03 +01:00
arditdomi 4b1ed97943 [ADF-4909] Hide about-plugins and about-product-versions sections whe… (#5095)
* [ADF-4909] Hide about-plugins and about-product-versions sections when they are empty

* [ADF-4909] Add missing unsubsciption
2019-09-24 16:48:09 +01:00
dhrn a9b7c91a00 [ADF-4906] [ADF] Not able upload file from ACS when start process with form (#5094) 2019-09-24 15:19:26 +01:00
Eugenio Romano d00849a015 remove old versions.json (#5089) 2019-09-20 14:25:41 +01:00
Denys Vuika 7a3fdfb490 fix readonly attribute 2019-09-20 13:31:31 +01:00
maurizio vitale 89788afe58 Fix the process-service export 2019-09-20 12:16:53 +01:00
maurizio vitale 6bfe9725af Add the travis TAGS value to docker 2019-09-20 10:26:15 +01:00
Maurizio Vitale cd7e21a23d [ADF-4858] Make sure process-services works with ng commands (#5067)
* Process-services:
Making sure you can run
ng build process-services
ng test process-services

* Fix the path of the styles

* move the file in the right place
2019-09-20 09:47:17 +01:00
Denys Vuika 90b2cee70d [ADF-4894] Json editor dialog (#5082)
* move download-zip to its own folder

* json dialog

* update docs

* update test

* disable e2e test

* json widget for the Form

* remove deprecated test

* fix tests, update display text name
2019-09-20 07:26:37 +01:00
Geeta Mandakini Ayyalasomayajula c15807a013 added superadminuser as aps_admin user when deploying the apps (#5087) 2019-09-19 15:15:29 +01:00
Geeta Mandakini Ayyalasomayajula 1527397b7b [ADF-4829] - Add e2e tests for custom action menu in TaskList and ProcessList (#5081)
* in progress custom action menu on tasklist

* C315723 - automated

* split into 2 methods, addAction, addDisabledAction
2019-09-19 13:32:45 +01:00
dhrn c2af8a23f0 [ADF-4868] [APS-1] adf-content-node-selector seems broken when we upload from External Alfresco content service (#5078) 2019-09-19 11:48:05 +01:00
Geeta Mandakini Ayyalasomayajula b22a23a338 simpleapp added with process variables (#5085) 2019-09-19 11:28:15 +01:00
Geeta Mandakini Ayyalasomayajula 4606b45d58 Updated the simpleapp and added superadminuser when deploying the apps (#5075)
* updated the simpleapp with the process-variables required and added superadminuser when deploying the apps.

* simpleapp updated with more process variables
2019-09-19 10:49:56 +01:00
cristinaj 70d877b0b9 [ADF-3725]Add visibility conditions on tabs tests when completing a task (#5034)
* Add visibility conditions on tabs tests when completing a task

* Fix comments

* Removing unused import.

* Changed simpleapp

* Rebase

* Removed comment

* Revert "Rebase"

This reverts commit 417b59f541.

* Remove unused method
2019-09-18 19:12:17 +01:00
cristinaj 7d0d45cb59 [ADF-3724]Create tests for visibility conditions on tabs on APS1 (#5065)
* Create tests for visibility conditions on tabs on APS1

* Fix comments

* Fix linting

* Remove the final /
2019-09-18 17:25:24 +01:00
Cilibiu Bogdan d5b4caa5ed [ADF-4892] DocumentList - set appropriate column aria-sort state (#5079)
* set specific aria-sort state

* return false when table has no sorting

* move logic to component

* aria sort method

* tests
2019-09-18 15:21:35 +01:00
siva kumar 30089f485f * Fixed failing unit tests on process-services. (#5080) 2019-09-17 12:42:08 +01:00
Maurizio Vitale b2966bc6f5 Add as group suffix the travis build number (#5072) 2019-09-17 12:41:35 +01:00
Marouan Bentaleb 8ee3e25caf [ADF-4807] Automation tests for date min/max validation (#5008)
* Trigger alpha

* [ADF-4807] Automation tests for date min/max validation

* Removing identityUser changes
2019-09-16 17:07:06 +01:00
siva kumar 53471eae84 [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu. (#5018)
* * Demo on list com

* [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu.

* Exposed action and context menu.
* Provided a way to in the demo shell to test action menu.
* Added required transaltion on demo shell.

* * Added doc

* [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu.

* Exposed action and contect menu on tasklist page.

* * Added documentation.

* * Fixed typo

* * After rebase

* * Fixed failing e2e test on cloud demo tasklist

* * Added providedIn in Task/process cloud service.
2019-09-16 12:26:27 +01:00
Silviu Popa d89b61cff0 [ACTIVITI-3746] - fix form completion with tab fields (#5059)
* [ACTIVITI-3746] - fix form completion with tab fields

* fix lint

* fix unit test

* refractoring and PR changes

* fix unit tests
2019-09-16 12:57:46 +03:00
Denys Vuika ae56d61ea3 use custom chrome version with puppeteer (#5070)
* use custom chrome version with puppeteer

* pin to Chromium 76

* update code to trigger travis

* update protractor

* try remove extra env setting

* try chrome 62

* upgrade to chrome 76, exclude 3 tests

* add safety check for the focus

* toggle tests

* disable tests

* disable flaky test

* update names

* disable flaky test

* disable flaky test

* disable test

* disable test

* fix name simpleapp

* rename simpleApp to simpleapp project change
2019-09-13 16:20:19 +01:00
Denys Vuika 77415d08a0 temporary switch off the FormModel json typing 2019-09-13 13:12:24 +01:00
Cilibiu Bogdan 5b11e52903 [ADF-4888] DocumentList - cell header title is announced over cell value (#5068)
* fix focus outline

* focus on cell values

* focus on size value if defined

* row actions menu aria-label
2019-09-12 15:04:43 +01:00
arditdomi c2c883885e [ADF-4878] Refactor, Split ADF About component (#5064)
* Refactor, Split ADF About component

* [ADF-4878] Add documentation

* [ADF-4878] Rename Component

* [ADF-4878] Implement comments

* [ADF-4878] Update documentation for about components
2019-09-12 15:02:28 +01:00
Denys Vuika d90497a3f8 fix FormRepresentationModel interface 2019-09-12 13:40:38 +01:00
Eugenio Romano 04362c60c0 Update package.json 2019-09-11 11:27:06 +01:00
Eugenio Romano c860923691 Use npx instead of absolute adf-cli path (#5053)
(reverted from commit 140f60b8dc)
2019-09-10 16:07:52 +01:00
Eugenio Romano 327bc56c02 Log class in e2e plus check PS cloud CS works before run test (#5057)
* check cs work on ps cloud add log class

* fix env config
2019-09-09 17:25:10 +01:00
dhrn f698892973 [ADF-4798] - [adf-content-node-selector] File icons are not showing properly (#5054) 2019-09-09 15:48:12 +01:00
Roxana Diacenco 46247c6351 [DW-1478] E2e - Move 'filter' component from Admin Application (#5061)
* [DW-1478] E2e - Move 'filter' component from Admin Application

* Replace admin e2e framework methods with ADF reusable ones

* Add return type for filter component method

* Fix browser-actions errors

* Remove clear() method from browser-actions

* Add and rename edit filter components methods

* Remove unused methods from browser-actions
Add method to retrieve the application selected in Edit Process Filter

* Fix called method in edit task filter component
2019-09-09 15:43:41 +01:00
Maurizio Vitale 140f60b8dc Use npx instead of absolute adf-cli path (#5053) 2019-09-09 15:00:04 +01:00
Cilibiu Bogdan 5b9f37d01f [ADF-4838] Upload Dialog - canceling a pending file cancels the file in progress (#5063)
* add automation id

* call cancel upload api only if file is not pending

* tests

* e2e
2019-09-09 11:23:07 +01:00
Maurizio Vitale 4de00fd6ca [ADF-4867] adf-error-component refactor (#5056)
* Refactor the adf-error-component
Move the custom buttons on demoshell
Fix unit test
Remove usefull e2e

* Add basic example
2019-09-07 10:29:19 +01:00
Silviu Popa 4d7c07ef93 [ADF-4041] - fix People/Group preselected issues (#4866)
* [ADF-4041] - fix People/Group preselected issues

* [ADF-4041] - remove duplicated groups

* [ADF-4041] - fix lint

* [ADF-4041] - fix label overlay

* [ADF-4041] - lint

* [ADF-4041] - PR changes

* clear timeout

* remove unused property

* clear timeout

* fix default preselect user
2019-09-05 18:47:41 +01:00
dhrn d5e7c0066b [ADF-4794] Not able to attach a second file to a form after one has already been attached (#5058) 2019-09-05 15:54:34 +01:00
mcchrys 0d7795aa6d [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks (#4995)
* [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks

* Initialized loader flag to true

* Updated unit tests

* fixed lint errors
2019-09-05 14:40:23 +01:00
Cilibiu Bogdan bf6889ee54 [ADF-4831] DocumentList - filetype alternative text is not meaningful (#4998)
* filetype alternative text

* icons text translation key

* icon text accessibility translation

* fix e2e

* add miscellaneous file type
2019-09-05 11:50:28 +01:00
Cilibiu Bogdan ef09b077c4 [ADF-4865] Upload Dialog - row actions not accessible by keyboard alone (#5051)
* access upload dialog information by keyboard

* upload files actions keyboard accessibility

* aria labels translation keys

* refractor styling

* toggle action icons

* update docs

* e2e

* e2e update action reference
2019-09-05 11:08:46 +01:00
Denys Vuika 2360ccc6d5 [ACTIVITI-3720] cloud form support for form variable mapping (#5044)
* universal form model

* parse variables correctly

* turn group model into interface

* remove console.log

* interface instead of class

* update form id type

* improved form variable parsing

* improved variable conversion

* fix cloud tests

* fix typings and code bugs
2019-09-04 20:14:21 +01:00
Geeta Mandakini Ayyalasomayajula 53dc5f0b91 [DW-1328] added the create and delete role api for test preconditions (#5052)
* added the create and delete role api for test preconditions

* added the required visibility conditions, for the method to work consistently across apps

* removed the visibility conditions that are not necessary
2019-09-04 18:43:39 +01:00
Marouan Bentaleb 9a5165599d Fixing Process Cloud tests (#5055)
* Trigger alpha

* Fixing people-group-cloud-component.e2e.ts
2019-09-04 17:48:34 +01:00
Geeta Mandakini Ayyalasomayajula 6aa6412be8 [ADF-4828] Should display the custom action menu for Process Cloud List (#5030)
* C315236 automated

* updated the Title

* changed the method name
2019-09-04 14:57:26 +01:00
maurizio vitale 77f159d62f Update the js api with the vjs version 2019-09-04 10:38:03 +01:00
maurizio vitale 8d095974a4 Fix the adf-cli with version option 2019-09-03 15:15:54 +01:00
Mario Romano e4448259f3 [ACTIVITI-3739] make display show json types (#5046) 2019-09-03 15:11:20 +01:00
maurizio vitale 406b9cd92a Use the correct adf-cli 2019-09-03 11:16:52 +01:00
Cilibiu Bogdan df0bb75324 [ADF-4862] Upload dialog - reading order (#5045)
* dialog container accessibility

* upload container aria label translation key

* focus on active upload dialog

* test

* add back removed aria-label
2019-09-03 11:11:47 +01:00
Vito 19a17ca6e6 [ADF-4823] added download and show preview for attach cloud widget (#4996)
* [ADF-4823] fixed download and start fixing show preview

* [ADF-4823] fixed preview files

* [ADF-4823] - added unit test

* [ADF-4823] - fixed lint problem

* [ADF-4823] - rebased and fixed lint problem

* added a new method in BrowserActions to check that the action menu is visible, and using that in the tests.

* linting fixes
2019-09-03 11:10:40 +01:00
maurizio vitale c142371222 Use enterprise token and npx to avoid install 2019-09-03 10:33:41 +01:00
maurizio vitale 2b8703a74c Run only the update children in case the tag is beta 2019-09-02 16:27:41 +01:00
maurizio vitale 9cea94a853 Move the tag on the release sh 2019-09-02 14:50:52 +01:00
maurizio vitale dcd86ff3b3 Trigger alpha 2019-09-02 14:21:24 +01:00
Cilibiu Bogdan ddb5fb445c [ADF-4855] Upload dialog - Buttons must have discernible text (#5040)
* aria labels translation keys

* actions aria label

* announce confirmation content
2019-09-02 12:45:08 +01:00
maurizio vitale 27c36ad4a2 Create TAG_NPM based on the branch 2019-09-02 12:41:15 +01:00
maurizio vitale 8766dc18a6 Release the beta in case the cron job runs 2019-09-02 11:55:00 +01:00
Maurizio Vitale a2fedee05f [ADF-4860] Travis add tag beta on cron job (#5042)
* add the name and email values and push with the token

* add the name and email values and push with the token
2019-09-02 11:26:55 +01:00
Denys Vuika ce50e9a3d3 [ACTIVITI-3720] form variables enhancements (#5028)
* support form variables on the model level

* take 'variables.name' convention into account

* move API to a proper place

* unit tests and code fixes

* unit tests for form field model

* process variable interface
2019-09-02 11:20:54 +01:00
Eugenio Romano 42c9a2e833 Update .travis.yml 2019-09-02 10:56:46 +01:00
davidcanonieto 1cb4dfc1b8 [ADF-4764] Hide placeholder in Amount Widget in readOnly mode (#5035)
* [ADF-4764] Hide placeholder in Amount Widget in readOnly mode

* add missing return type
2019-08-31 00:30:13 +01:00
Silviu Popa be867b0c0c [ADF-4848] Form - fix tab visibility (#5021)
* [ADF-4848] - fix tab visibility

* add unit test
2019-08-30 19:31:12 +01:00
Denys Vuika 2b1250cae7 repair doc tools and polish the docs code (#5038)
* set private access modifier

* repair doc build tools

* fix lit issues

* re-generate version index
2019-08-30 17:26:10 +01:00
Marouan Bentaleb 3bebc7a18c [ADF-4840] Fixing failing tests on process-services-cloud (#5013)
* [ADF-4840] Fixing dropdown-widget.e2e.ts-beforeEach and start-task-group-cloud.e2e.ts-afterAll

* [ADF-4840] Testing with apps deployed with different permissions

* [ADF-4840] Fixing edit-process-filters-component.e2e.ts

* [ADF-4840] Add space to lib/process-services-cloud

* [ADF-4840] Fixing people-group-cloud-filter-component and reverting changes to the appNames

* [ADF-4840] Fixing start-task-custom-app-cloud
2019-08-30 16:32:14 +01:00
Denys Vuika 9e1a90adc8 [ADF-4854] sticky header for task list (#5036)
* sticky header for task list

* fix html

* add docs

* update code docs
2019-08-30 16:31:10 +01:00
Eugenio Romano 537d5b912f remove lib/dist from cache 2019-08-30 15:55:05 +01:00
Eugenio Romano 073ece2d02 change order check bundle 2019-08-30 15:30:04 +01:00
Eugenio Romano f69b3646ae accumulate common lib task in first job to avoid cache problems 2019-08-30 15:28:29 +01:00
cristinaj 31bec59a16 [ADF-3723]Add visibility conditions on tabs - form rendering component tests (#5022)
* Add visibility conditions on tabs - form rendering component tests

* no message

* Moved the suite to process-services-cloud folder

* no message
2019-08-30 12:16:28 +01:00
maurizio vitale 505e8204e2 Try to create tag with token 2019-08-30 12:16:01 +01:00
maurizio vitale 52210594ad Cache the lib/dist for npm publish purpose 2019-08-30 12:03:53 +01:00
Silviu Popa a6ee26b35b [ADF-4843] - Automate more manual test cases for visibility chaining … (#5014)
* [ADF-4843] - Automate more manual test cases for visibility chaining in ADF

* fix lint
2019-08-30 11:51:56 +01:00
Eugenio Romano 52af042450 move install in travis and out from lint.sh 2019-08-30 10:44:21 +01:00
Eugenio Romano 6c81cbc832 lint missin install 2019-08-30 10:28:40 +01:00
maurizio vitale 9f7f6c0427 Use the git token 2019-08-30 10:21:50 +01:00
Eugenio Romano ee71866702 fix cli command use 2019-08-30 10:02:20 +01:00
Eugenio Romano b25d989853 add typscritp compiler in cli build 2019-08-29 21:10:28 +01:00
Eugenio Romano 6590b59de0 fix scripts npm 2019-08-29 20:15:10 +01:00
Cilibiu Bogdan d7ff927b79 [ADF-4845] Uploader - Expanded/collapsed state not exposed (#5015)
* state accessibility

* remove aria-disabled
2019-08-29 20:13:57 +01:00
Denys Vuika edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Marouan Bentaleb 140c64b79f [ADF-4544] Automation for form button refresh after action (#4835) 2019-08-29 16:24:50 +01:00
maurizio vitale a588a64937 Add condition for default jobs 2019-08-29 15:54:13 +01:00
Maurizio Vitale ac28b959ee CI/CD allow a Travis cron job to create beta and update children proj… (#5033)
* CI/CD allow a Travis cron job to create beta and update children projects

* Update build.sh
2019-08-29 15:22:12 +01:00
Eugenio Romano 24e1794fb9 move codecov inside unit test to avoid the aftes success execution in any script stage 2019-08-29 15:14:54 +01:00
Cilibiu Bogdan f35f0466e6 [ADF-4839] Document List - column name link accessibility (#5011)
* accessibility

* rename translation key

* translation key name

* link name component accessibility

* generic translation
2019-08-29 15:07:01 +01:00
davidcanonieto e5f7d2f304 [ADF-4852] Make use of ADF-CLI command to update sha (#5032)
* [ADF-4852] Make use of ADF-CLI command to update sha

* Update build.sh
2019-08-29 15:05:00 +01:00
davidcanonieto c6ddfe46cf [ADF-4816] Move localization keys for About component from demo-shell to core (#5007) 2019-08-29 14:59:07 +01:00
maurizio vitale df37455edd Change the condition for master 2019-08-29 12:50:29 +01:00
maurizio vitale 01ff4dfa52 Run the update children project if is push or beta 2019-08-29 12:45:22 +01:00
Eugenio Romano 43df299096 release update commands pipeline 2019-08-29 12:01:49 +01:00
Marouan Bentaleb cdfae95c2a [ADF-4847] Not able to find any user in Assignee field when creating a task (#5029)
* [ADF-4847] Not able to find any user in Assignee field when creating a task

Updated url to fetch composite user roles

* [ADF-4847] Fixing failing E2E tests
2019-08-29 09:46:47 +01:00
Eugenio Romano 64cecaa125 fix permissions 2019-08-29 08:21:56 +01:00
Eugenio Romano c35fee473b fix release apha 2019-08-29 01:01:29 +01:00
Eugenio Romano 609ae3a3ff fix content service document list action test (#5027)
* fix content service document list action test

* restore build.sh

* perform twice movement mosue for right click for avoid bug in non headless chrome

* change sso ref element present

* change sso ref element present
2019-08-28 23:25:06 +01:00
maurizio vitale 09d3710bcf Get the latest alpha before the install 2019-08-28 16:52:53 +01:00
maurizio vitale 36b76821d0 revert change on dockerfile 2019-08-28 16:06:18 +01:00
Eugenio Romano 151fef16f4 Check remote env if is full before to start the e2e CS (#5024)
* add check remote env full

* Update check-cs-env.js
2019-08-28 15:58:07 +02:00
maurizio vitale 88f9678571 echo rancher job 2019-08-28 14:26:41 +01:00
maurizio vitale 329a8a5348 Use the correct docker repo domain 2019-08-28 13:47:00 +01:00
maurizio vitale 29533e751d Use docker commands 2019-08-28 13:01:06 +01:00
Paul Roth c4adfd49c0 Propose a correction to what appears to be a minor typo (#5026)
* Propose a correction to what appears to be a minor typo

removed the word 'a'.

* Update extensibility.md
2019-08-28 13:49:18 +02:00
maurizio vitale 4c468530d9 Npm install latest adf-cli 2019-08-28 12:27:39 +01:00
maurizio vitale bfc132eeff Improve the docker log 2019-08-28 12:03:10 +01:00
maurizio vitale ee9ed24844 Improve the docker log 2019-08-28 12:02:37 +01:00
davidcanonieto 8a48738b99 [ADF-4825] Use ADF-CLI in ADF for versions and latest commit (#4994)
* [ADF-4825] Use ADF-CLI in ADF for versions and latest commit

* Add documentation

* Update update-version.ts

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update README.md

* Rebase branch

* Update package.json

* Update build.sh

* Update package.json
2019-08-28 11:01:00 +01:00
maurizio vitale 3aed425020 Run the docker push before 2019-08-27 17:00:22 +01:00
Maurizio Vitale d8961ea904 [ADF-4850] Travis add check bundle size and docker publish (#5023)
* Add a check bundle job after the release

* Add a docker push step and update rancher

* Split update rancher in a different job

* Split update rancher in a different job

* Install the adf-cli

* Run docker publish and rancher update only on push

* Use the adf-cli local code
2019-08-27 16:09:00 +01:00
Suzana Dirla bfc3f30674 [ADF-4846] Move to ADF the style overrides from ACA (#5016)
* [ADF-4846] add $data-table-cell-link-color variable

- move style fix needed on ACA to ADF

* [ADF-4846] add $adf-permission-list-width variable

- moved style fix for adf-permission-lists from ACA to ADF
2019-08-27 14:56:01 +02:00
Eugenio Romano 30d03cf540 fix clean script 2019-08-27 10:30:35 +01:00
siva kumar 8c00919db0 [ADF-4828] [ProcessListCloudComponent] Add action and context menu. (#5009)
* * Demo on list com

* [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu.

* Exposed action and context menu.
* Provided a way to in the demo shell to test action menu.
* Added required transaltion on demo shell.

* * Added doc

* * Fixed comments.
2019-08-23 14:51:39 +01:00
Silviu Popa 8c159babe0 [ADF-4837] - Automation checkbox visibility e2e tests (#5010) 2019-08-22 11:48:30 +02:00
Eugenio Romano 73601dfcfb rename subbprocess without capital letters 2019-08-22 08:17:35 +01:00
Geeta Mandakini Ayyalasomayajula 027e29964c added a new version of candidatebaseapp with process ui workspace defined. (#5006) 2019-08-21 13:02:26 +01:00
maurizio vitale 9a90e58f0c Run the deploy Pr only for PR 2019-08-21 11:46:58 +01:00
maurizio vitale 8875113a4a Run the clean before building 2019-08-21 10:02:08 +01:00
maurizio vitale de5bf9dc88 Rollback the 3.4 version 2019-08-21 10:00:34 +01:00
maurizio vitale 3b4f3ae7b7 Revert change on update version 2019-08-20 23:22:25 +01:00
maurizio vitale ea2bfa8021 Clean the lib/dist 2019-08-20 23:02:29 +01:00
maurizio vitale 6918944a63 Clean the lib/dit 2019-08-20 22:59:02 +01:00
maurizio vitale 89b832ff18 Rollback mistake on update-version.sh 2019-08-20 22:37:52 +01:00
maurizio vitale 11e1bd7a59 Change cli dist 2019-08-20 22:18:46 +01:00
maurizio vitale 3aa2e56c02 cache the lib/dist 2019-08-20 22:02:47 +01:00
maurizio vitale 453461f8ca Use the local npm publish command 2019-08-20 21:45:04 +01:00
maurizio vitale 1407bff208 Remove the build all in the release job 2019-08-20 21:09:09 +01:00
maurizio vitale 7ab054f7e1 Add the npmrc file in the correct folder and remove after publish 2019-08-20 20:02:27 +01:00
maurizio vitale 9bd08f4968 Change the version before building 2019-08-20 17:47:22 +01:00
maurizio vitale e27e99b551 Rebuild the libs after the next alpha 2019-08-20 17:09:06 +01:00
maurizio vitale 1c37fdab81 Npm publish the dist folder 2019-08-20 16:05:06 +01:00
maurizio vitale 711a461f8b Enable the npm install on push branch 2019-08-20 15:12:32 +01:00
Eugenio Romano 0650502b8a remove obsolete option from test-e2e 2019-08-19 22:35:16 +01:00
georg-un f3ab69474d [ADF-4976] Fix variable being referenced before initialization (#4977) 2019-08-19 23:01:58 +02:00
Marouan Bentaleb 023476e14f [ADF-4809] Automation for non-editable task details when completed (#5001) 2019-08-19 22:55:25 +02:00
Cilibiu Bogdan 9960a37e9a add aria label and selected (#4999) 2019-08-19 22:53:25 +02:00
Marouan Bentaleb 643510ed45 [ADF-4799][ADF-4801] Automation tests for CardView clear date field and selectbox None option (#4993)
* [ADF-4799] Automation for clear date button

* [ADF-4801] Automate test for selectbox None option
2019-08-19 22:50:33 +02:00
Maurizio Vitale 329f8b21bf Add a travis step to publish on npm (#5004) 2019-08-19 16:25:36 +01:00
Maurizio Vitale 6c969dda56 Add the npm publish as part of adf-cli (#5002) 2019-08-19 15:30:36 +01:00
davidcanonieto e7c0852051 [ADF-4816] Refactor About component (#5000)
* [ADF-4816] Refactor About component

* Update package.json
2019-08-19 15:29:16 +01:00
Cilibiu Bogdan f5c5e7cf9e add aria-sort (#4997) 2019-08-19 11:33:48 +01:00
Eugenio Romano 83412bb9b6 Disable control flow e2e ADF (#4954)
* update project script possible different JS-API

* first commit no controll flow

* second commit no controll flow

* third commit no controll flow

* 4 commit no controll flow

* 5 commit no controll flow

* 6 commit no controll flow

* 7 commit no controll flow

* 8 commit no controll flow

* 9 commit no controll flow

* 10 commit no controll flow

* 11 commit no controll flow

* 12 commit no controll flow

* 13 commit no controll flow

* 14 commit no controll flow

* 15 commit no controll flow

* 16 commit no controll flow

* 17 commit no controll flow

* 18 commit no controll flow

* 19 commit no controll flow

* 20 commit no controll flow

* remove wdpromise, protractor promise and deferred promises

* - fixed some incorrect “expect” calls
- fixed some matchers
- removed “return this;” when not needed
- added a few more await-s

* forgot a file

* fix some failing tests

* replaced driver calls with browser calls and enabled back waitForAngular

* fix rightClick methods and hopefully some tests

* fix settings-component

* some more fixes for core and content tests

* try to fix some more issues

* linting

* revert some changes, allowing download on headless chrome won’t work with multiple browser instances

* fixes for Search tests

* try to remove some wait calls

* fix build

* increase allScriptsTimeout and try another protractor and web driver version

* improve navigation methods

* some fixes for notification history and login sso

* forgot a space

* fix packages and enable some screenshots

* navigation bar fixes

* fix some test

* some fixes for notification history and navigation bar
use correct visibility method in attachFileWidget test

* fix searching and another fix for navigation

* try solve sso login

* some more fixes

* refactor async forEach into for..of

* try fix for search tests

* resolve rebabse problems

* remove install

* fix lint

* fix core e2e

* fix core e2e

* fix core e2e

* fix ps tests

* fix some tests

* fix core e2e

* fix core e2e

* fix core

* fix some issues PS

* fix core

* fix core

* fix some ps test

* fix rebase issues

* remove save

* fix url regressed after rebase

* fix url regressed after rebase

* fix ps and core

* fix lint

* more parallel e2e ps

* fix some ps cloud test

* some cloud fix

* fix lint

* fix some test

* remove files to be ignored

* out-tsc

* improve one cs test

* fix candidate base app

* fix ps test

* remove click function

* clean methods alrady present in browser action

* try ugly wait

* move wait

* remove duplicate call

* remove underscore

* fix after review

* fix imports

* minor cosmetic fixes

* fix comments test
2019-08-17 14:32:02 +02:00
JT Smith 4f3cf669f2 Documentation fix for Card View component (#4990) 2019-08-15 14:46:02 +02:00
Maurizio Vitale e65a1db7e9 CI/CD Improvement - Create a release with tag when we merge master (#4991)
* Create a release with tag when we merge master

* Add release name with version
2019-08-15 14:31:11 +02:00
Vito 9873e9952a [ADF-4811] - added extra method to open snackbar with interpolate arg… (#4989)
* [ADF-4811] - added extra method to open snackbar with interpolate args for translated messages

* [ADF-4811] - added extra parameter to show info

* [ADF-4811] - added extra parameter to show info

* [ADF-4811] added review changes
2019-08-13 15:13:21 +01:00
Denys Vuika 9ca61975a5 add missing export 2019-08-13 10:23:17 +01:00
Cilibiu Bogdan 3453cacaea [ADF-4802] Login accessibility (#4988)
* login button aria label

* password toggle accessibility

* translation

* fix test

* fix automation if
2019-08-12 16:41:32 +01:00
Cilibiu Bogdan b176a43fba [ADF-4497] ARIA role must be appropriate for the Breadcrumb element (#4986)
* breadcrumb accessibility

* translation
2019-08-12 16:28:53 +01:00
siva kumar eb2811fdd0 [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core (#4928)
* [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core lib.

* * Changed GroupModel to IdentityGroupModel
* Updated unit tests the recent changes.

* * Added documentation to the identityGroupService
* Updated GroupInitial and GroupCoudcomponent doc.

* * Created groupCount model. * Updated unit test to the recent changes

* * After rebase updated doc

* * Fixed comments.
2019-08-12 16:27:30 +01:00
1246 changed files with 6707 additions and 4292 deletions
+1
View File
@@ -4,6 +4,7 @@ bundles
workspace.xml
.idea/
.env.*
.env
dist/
e2e/.env.cloud
tmp
+4 -4
View File
@@ -24,17 +24,17 @@ branches:
# TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR
stages:
- name: Lint & Build Dist
if: type = pull_request
if: type = pull_request OR type = api
- name: Lint & Build Dist & Release
if: (type = push OR type = cron) AND tag IS blank
- name: Check bundle
if: type = push AND tag IS blank
- name: Unit test
if: type != cron AND tag IS blank
if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher
if: type = push AND tag IS blank
if: (type = push AND tag IS blank)
- name: e2e Test
if: type != cron AND tag IS blank
if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher PR
if: type = pull_request
- name: Update Children Projects
+5 -4
View File
@@ -1,13 +1,14 @@
# Alfresco Application Development Framework (ADF)
| branch | status |
| --- | --- |
| master | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
| development | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=development)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d9eb873741da403bb3284778102372e7)](https://www.codacy.com/app/Alfresco/alfresco-ng2-components?utm_source=github.com&utm_medium=referral&utm_content=Alfresco/alfresco-ng2-components&utm_campaign=badger)
[![Join the chat at https://gitter.im/Alfresco/alfresco-ng2-components](https://badges.gitter.im/Alfresco/alfresco-ng2-components.svg)](https://gitter.im/Alfresco/alfresco-ng2-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<p>
<a title='Build Status Travis' href="https://travis-ci.org/Alfresco/alfresco-ng2-components">
<img src='https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=master' alt='travis
Status' />
</a>
<a href='https://codecov.io/gh/Alfresco/alfresco-ng2-components'>
<img src='http://img.shields.io/codecov/c/github/Alfresco/alfresco-ng2-components/master.svg?maxAge=2592000' alt='Coverage Status' />
</a>
+9 -9
View File
@@ -320,7 +320,7 @@
},
{
"glob": "**/*",
"input": "lib/insights/i18n",
"input": "lib/insights/src/lib/i18n",
"output": "/assets/adf-insights/i18n"
},
{
@@ -489,7 +489,7 @@
},
{
"glob": "**/*",
"input": "lib/insights/i18n",
"input": "lib/insights/src/lib/i18n",
"output": "/assets/adf-insights/i18n"
},
{
@@ -601,7 +601,7 @@
},
"content-services": {
"root": "lib/content-services",
"sourceRoot": "lib/content-services",
"sourceRoot": "lib/content-services/src",
"projectType": "library",
"prefix": "adf",
"architect": {
@@ -620,7 +620,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/content-services/test.ts",
"main": "lib/content-services/src/test.ts",
"tsConfig": "lib/content-services/tsconfig.spec.json",
"karmaConfig": "lib/content-services/karma.conf.js",
"codeCoverage": true,
@@ -632,7 +632,7 @@
"options": {
"tsConfig": [
"lib/content-services/tsconfig.lib.json",
"lib/content-services/tsconfig.lib.json"
"lib/content-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
@@ -734,7 +734,7 @@
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/extensions/tsconfig.lib.json",
"tsConfig": "lib/insights/tsconfig.lib.json",
"project": "lib/insights/ng-package.json"
},
"configurations": {
@@ -746,8 +746,8 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/insights/test.ts",
"tsConfig": "lib/extensions/tsconfig.spec.json",
"main": "lib/insights/src/test.ts",
"tsConfig": "lib/insights/tsconfig.spec.json",
"karmaConfig": "lib/insights/karma.conf.js",
"codeCoverage": true,
"sourceMap": true
@@ -758,7 +758,7 @@
"options": {
"tsConfig": [
"lib/insights/tsconfig.lib.json",
"lib/insights/tsconfig.lib.json"
"lib/insights/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
+3 -1
View File
@@ -129,7 +129,9 @@
"processwithvariables",
"dropdownrestprocess",
"devops",
"mouseenter"
"mouseenter",
"starteventform",
"formtotestvalidations"
],
"dictionaries": [
"html",
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="adf-demo-app-container">
<div class="app-demo-app-container">
<router-outlet></router-outlet>
<router-outlet name="overlay"></router-outlet>
</div>
+1 -1
View File
@@ -7,7 +7,7 @@ router-outlet[name='overlay'] + * {
right: 0;
}
.adf-demo-app-container {
.app-demo-app-container {
height: 100%;
width: 100%;
}
+19 -8
View File
@@ -413,19 +413,30 @@ export const appRoutes: Routes = [
canActivate: [AuthGuardBpm],
loadChildren: 'app/components/process-list-demo/process-list.module#AppProcessListModule'
},
{
path: 'error/:id',
component: DemoErrorComponent
},
{
path: 'error/no-authorization',
component: ErrorContentComponent
},
{
path: '**',
redirectTo: 'error/404'
}
]
},
{
path: 'error',
component: AppLayoutComponent,
children: [
{
path: '',
redirectTo: '/error/404',
pathMatch: 'full'
},
{
path: ':id',
component: DemoErrorComponent
}
]
},
{
path: '**',
redirectTo: 'error/404'
}
];
@@ -5,14 +5,14 @@
<ng-template let-toggleMenu="toggleMenu">
<adf-layout-header id="adf-header" [title]="title | translate" [redirectUrl]="redirectUrl" [logo]="logo"
[tooltip]="tooltip | translate" [showSidenavToggle]="showMenu" [color]="color" [position]="position"
(clicked)=toggleMenu($event)>
[tooltip]="tooltip | translate" [showSidenavToggle]="showMenu" [expandedSidenav]="expandedSidenav"
[color]="color" [position]="position" (clicked)=toggleMenu($event)>
<div class="adf-app-layout-menu-spacer"></div>
<div class="app-layout-menu-spacer"></div>
<app-search-bar fxFlex="0 1 auto"></app-search-bar>
<div class="adf-header-delimiexpandedSidenavter"></div>
<div class="app-header-delimiexpandedSidenavter"></div>
<adf-userinfo [menuPositionX]="'before'" [menuPositionY]="'above'">
</adf-userinfo>
@@ -21,7 +21,7 @@
<button data-automation-id="language-menu-button" mat-icon-button [matMenuTriggerFor]="langMenu">
<mat-icon>language</mat-icon>
</button>
<mat-menu #langMenu="matMenu" class="adf-menu">
<mat-menu #langMenu="matMenu" class="app-menu">
<adf-language-menu></adf-language-menu>
</mat-menu>
@@ -33,13 +33,13 @@
<adf-sidenav-layout-navigation>
<ng-template let-isMenuMinimized="isMenuMinimized">
<mat-nav-list class="adf-sidenav-linklist">
<mat-nav-list class="app-sidenav-linklist">
<ng-container *ngFor="let link of links">
<ng-container *ngIf="link.children">
<mat-list-item (click)="trigger.openMenu()" [attr.data-automation-id]="link.title | translate" class="adf-sidenav-link">
<mat-list-item (click)="trigger.openMenu()" [attr.data-automation-id]="link.title | translate" class="app-sidenav-link">
<mat-icon matListIcon>{{link.icon}}</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">{{link.title | translate }}</span>
<mat-icon class="adf-sidenav-link__expand-button" [matMenuTriggerData]="{links: link.children}"
<mat-icon class="app-sidenav-link__expand-button" [matMenuTriggerData]="{links: link.children}"
rippleTrigger mat-icon-button #trigger="matMenuTrigger"
[matMenuTriggerFor]="nestedMenu">arrow_right</mat-icon>
</mat-list-item>
@@ -47,15 +47,15 @@
<ng-container *ngIf="!link.children">
<mat-list-item [routerLink]="link.href"
routerLinkActive="adf-sidenav-link--active" [routerLinkActiveOptions]="{ exact: true }"
[attr.data-automation-id]="link.title | translate" class="adf-sidenav-link">
routerLinkActive="app-sidenav-link--active" [routerLinkActiveOptions]="{ exact: true }"
[attr.data-automation-id]="link.title | translate" class="app-sidenav-link">
<mat-icon matListIcon >{{link.icon}}</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">{{link.title | translate }}</span>
</mat-list-item>
</ng-container>
</ng-container>
<mat-list-item adf-logout [enableRedirect]="enableRedirect" redirectUri="/logout" class="adf-sidenav-link" data-automation-id="Logout" >
<mat-list-item adf-logout [enableRedirect]="enableRedirect" redirectUri="/logout" class="app-sidenav-link" data-automation-id="Logout" >
<mat-icon matListIcon>exit_to_app</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">Logout</span>
</mat-list-item>
@@ -76,9 +76,9 @@
<mat-menu #nestedMenu="matMenu" xPosition="after" class="nestedMenu">
<ng-template matMenuContent let-links="links">
<button mat-menu-item *ngFor="let link of links"
class="adf-sidenav-link"
class="app-sidenav-link"
[attr.data-automation-id]="link.title | translate"
routerLinkActive="adf-sidenav-link--active"
routerLinkActive="app-sidenav-link--active"
[routerLink]="link.href"
[routerLinkActiveOptions]="{ exact: true }">
@@ -1,4 +1,4 @@
@mixin adf-app-layout-theme($theme) {
@mixin app-layout-theme($theme) {
$primary: map-get($theme, primary);
$minimumAppWidth: 320px;
@@ -14,17 +14,17 @@
}
}
.adf-app-layout {
.app-layout {
display: flex;
flex: 1;
min-width: $minimumAppWidth;
height: 100%;
.adf-sidenav-link--active {
.app-sidenav-link--active {
color: mat-color($primary);
}
.adf-sidenav-link {
.app-sidenav-link {
.mat-list-text {
font-size: 14px;
white-space: nowrap;
@@ -33,7 +33,7 @@
}
}
.mat-nav-list .mat-list-item.adf-sidenav-link {
.mat-nav-list .mat-list-item.app-sidenav-link {
height: 40px;
}
@@ -47,7 +47,7 @@
display: none;
}
.adf-menu {
.app-menu {
padding-top: 0;
}
}
@@ -63,7 +63,7 @@
}
}
[dir='rtl'] .adf-sidenav-link__expand-button {
[dir='rtl'] .app-sidenav-link__expand-button {
transform: rotateY(180deg);
}
}
@@ -25,7 +25,7 @@ import { takeUntil } from 'rxjs/operators';
templateUrl: 'app-layout.component.html',
styleUrls: ['app-layout.component.scss'],
host: {
'class': 'adf-app-layout'
'class': 'app-layout'
},
encapsulation: ViewEncapsulation.None
})
@@ -2,7 +2,7 @@
<mat-tab-group>
<mat-tab label="Form" class="form-cloud-render">
<div class="adf-form-container">
<div class="app-form-container">
<adf-cloud-form
[showRefreshButton]="false"
[form]="form"
@@ -11,7 +11,7 @@
</adf-cloud-form>
</div>
<div class="adf-console" #console>
<div class="app-console" #console>
<h3>Error log:</h3>
<p *ngFor="let error of errorFields">Error {{ error.name }} {{error.validationSummary.message |
translate}}</p>
@@ -20,20 +20,20 @@
<mat-tab label="Editor" class="form-cloud-editor">
<ngx-monaco-editor
id="adf-form-config-editor"
class="adf-form-config-editor"
class="app-form-config-editor"
[options]="editorOptions"
[(ngModel)]="formConfig"
(onInit)="onInitFormEditor($event)">
</ngx-monaco-editor>
<div class="adf-form-editor-buttons">
<button mat-raised-button id="adf-form-config-save" (click)="onSaveFormConfig()" color="primary">Save
<div class="app-form-editor-buttons">
<button mat-raised-button id="app-form-config-save" (click)="onSaveFormConfig()" color="primary">Save
form config
</button>
<button mat-raised-button id="adf-form-config-clear" (click)="onClearFormConfig()" color="primary">Clear
<button mat-raised-button id="app-form-config-clear" (click)="onClearFormConfig()" color="primary">Clear
form config
</button>
</div>
<div class="adf-upload-config-button">
<div class="app-upload-config-button">
<a mat-raised-button color="primary" >
<mat-icon>file_upload</mat-icon>
<label for="upload-config-file">Upload JSON File</label>
@@ -1,17 +1,17 @@
.adf-form-container {
.app-form-container {
padding: 10px;
}
.adf-main-content {
.app-main-content {
padding: 0 15px;
}
.adf-card-view {
.app-card-view {
width: 30%;
display: inline-block;
}
.adf-console {
.app-console {
width: 60%;
display: inline-block;
vertical-align: top;
@@ -31,16 +31,16 @@
}
}
.adf-form-config-editor {
.app-form-config-editor {
height: 500px !important;
}
.adf-form-editor-buttons {
.app-form-editor-buttons {
display: flex;
justify-content: space-evenly;
}
.adf-upload-config-button {
.app-upload-config-button {
display: flex;
justify-content: center;
@@ -8,7 +8,7 @@
<h2>1. Standalone (fixed size)</h2>
<small>Component is used in the fixed-width layout</small>
<div class="adf-breadcrumb-container-restricted">
<div class="app-breadcrumb-container-restricted">
<adf-breadcrumb root="APP.PERSONAL-FILES" [target]="documentList" [folderNode]="documentList.folderNode">
</adf-breadcrumb>
</div>
@@ -57,7 +57,7 @@
Buttons do nothing and are present for layout purposes.
</small>
<adf-toolbar class="adf-full-content-toolbar">
<adf-toolbar class="app-full-content-toolbar">
<adf-toolbar-title fxFlex="0 1 auto">
<adf-breadcrumb root="APP.PERSONAL-FILES" [target]="documentList" [folderNode]="documentList.folderNode">
</adf-breadcrumb>
@@ -79,11 +79,11 @@
<h2>6. Dropdown Breadcrumb</h2>
<adf-dropdown-breadcrumb fxHide fxShow.lt-sm="true"
class="adf-files-breadcrumb"
class="app-files-breadcrumb"
[target]="documentList">
</adf-dropdown-breadcrumb>
<div class="adf-content">
<div class="app-content">
<adf-document-list #documentList currentFolderId="-my-">
</adf-document-list>
</div>
@@ -1,13 +1,13 @@
.adf-breadcrumb-container-restricted {
.app-breadcrumb-container-restricted {
width: 800px;
max-width: 800px;
border: 1px solid lightgray;
}
.adf-content {
.app-content {
margin: 10px 0;
}
.adf-full-content-toolbar .adf-toolbar-title .adf-breadcrumb {
.app-full-content-toolbar .app-toolbar-title .app-breadcrumb {
width: 0;
}
@@ -1,7 +1,7 @@
<div class="adf-main-content">
<div class="app-main-content">
<h1>CardView Component</h1>
<mat-card class="adf-card-view">
<mat-card class="app-card-view">
<adf-card-view
[properties]="properties"
[editable]="true"
@@ -10,30 +10,30 @@
</adf-card-view>
</mat-card>
<div class="adf-console" #console>
<div class="app-console" #console>
<h3>Changes log:</h3>
<p *ngFor="let log of logs">{{ log }}</p>
</div>
</div>
<p class="adf-toggle">
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-editable"
id="app-toggle-editable"
[color]="'primary'"
(change)="toggleEditable()"
[checked]="isEditable">
Editable
</mat-slide-toggle><br>
<mat-slide-toggle
id="adf-toggle-clear-date"
id="app-toggle-clear-date"
[color]="'primary'"
(change)="toggleClearDate()"
[checked]="showClearDateAction">
Show clear date icon
</mat-slide-toggle><br>
<mat-slide-toggle
id="adf-toggle-none-option"
id="app-toggle-none-option"
[color]="'primary'"
(change)="toggleNoneOption()"
[checked]="showNoneOption">
@@ -1,13 +1,13 @@
.adf-main-content {
.app-main-content {
padding: 0 15px;
}
.adf-card-view {
.app-card-view {
width: 30%;
display: inline-block;
}
.adf-console {
.app-console {
width: 60%;
display: inline-block;
vertical-align: top;
@@ -28,7 +28,8 @@ import {
CardViewUpdateService,
CardViewMapItemModel,
UpdateNotification,
DecimalNumberPipe
DecimalNumberPipe,
CardViewArrayItemModel
} from '@alfresco/adf-core';
import { of, Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -148,6 +149,14 @@ export class CardViewComponent implements OnInit, OnDestroy {
clickCallBack: () => {
this.respondToCardClick();
}
}),
new CardViewArrayItemModel({
label: 'CardView Array of items',
value: of(['Zlatan', 'Lionel Messi', 'Mohamed', 'Ronaldo']),
key: 'array',
icon: 'directions_bike',
default: 'Empty',
noOfItemsToDisplay: 2
})
];
}
@@ -1,8 +1,8 @@
<adf-toolbar>
<div fxLayout="column" fxLayoutAlign="center">
<div fxLayout="row">
<div class="adf-app-crumb">{{appName + ' >'}} </div>
<div class="adf-filter-crumb"> {{filterName | translate}}</div>
<div class="app-crumb">{{appName + ' >'}} </div>
<div class="app-filter-crumb"> {{filterName | translate}}</div>
</div>
</div>
</adf-toolbar>
@@ -1,8 +1,8 @@
.adf-app-crumb {
.app-app-crumb {
opacity: 0.5;
}
.adf-filter-crumb {
.app-filter-crumb {
opacity: 0.8;
margin-left: 5px;
}
@@ -1,3 +1,3 @@
adf-cloud-task-filters .adf-filters__entry, adf-cloud-process-filters .adf-filters__entry {
app-cloud-task-filters .app-filters__entry, app-cloud-process-filters .app-filters__entry {
padding-left: 0 !important;
}
@@ -1,4 +1,4 @@
<mat-tab-group fxFill class="adf-cloud-layout-tab-body">
<mat-tab-group fxFill class="app-cloud-layout-tab-body">
<mat-tab label="{{'PS_CLOUD_TAB.APPS_TAB' | translate}}">
<div fxFill fxLayout>
<adf-sidenav-layout fxFlex [sidenavMin]="70" [sidenavMax]="270" [stepOver]="780">
@@ -1,7 +1,7 @@
.adf-cloud-layout-overflow {
.app-cloud-layout-overflow {
overflow: auto;
}
.adf-cloud-layout-tab-body .mat-tab-body-wrapper {
.app-cloud-layout-tab-body .mat-tab-body-wrapper {
height: 100%;
}
@@ -1,4 +1,4 @@
<mat-tab-group fxFill class="adf-cloud-layout-tab-body">
<mat-tab-group fxFill class="app-cloud-layout-tab-body">
<mat-tab label="{{'PS_CLOUD_TAB.APPS_TAB' | translate}}">
<div fxFill fxLayout>
<adf-sidenav-layout fxFlex [sidenavMin]="70" [sidenavMax]="270" [stepOver]="780">
@@ -21,11 +21,11 @@ import { CloudLayoutService } from '../services/cloud-layout.service';
@Component({
templateUrl: './community-cloud.component.html',
styles: [`.adf-cloud-layout-overflow {
styles: [`.app-cloud-layout-overflow {
overflow: auto;
}
.adf-cloud-layout-tab-body .mat-tab-body-wrapper {
.app-cloud-layout-tab-body .mat-tab-body-wrapper {
height: 100% !important;
}
`],
@@ -5,11 +5,11 @@
<h4 data-automation-id="process-details-header">Simple page to show the process instance: {{ processInstanceId }} of the app: {{ appName }}</h4>
<div class="adf-process-cloud-container">
<div class="app-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[appName]="''"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
@@ -17,7 +17,7 @@
</adf-cloud-task-list>
<adf-cloud-process-header
class="adf-process-cloud-header"
class="app-process-cloud-header"
[appName]="''"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
@@ -1,4 +1,4 @@
.adf {
.app {
&-process-cloud-container {
display: flex;
}
@@ -12,7 +12,7 @@
<adf-cloud-process-list #processCloud
fxFlex
[appName]="''"
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionKey]="editedFilter.processDefinitionKey"
@@ -12,7 +12,7 @@
<adf-cloud-task-list #taskCloud
fxFlex
[appName]="''"
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[processDefinitionId]="editedFilter.processDefinitionId"
[processInstanceId]="editedFilter.processInstanceId"
[name]="editedFilter.taskName"
@@ -1,5 +1,5 @@
.adf {
.app {
&-task-detail-container {
display: flex;
@@ -1,4 +1,4 @@
<mat-card class="adf-section">
<mat-card class="app-section">
<mat-card-title>
{{ 'APP_LAYOUT.PEOPLE_CLOUD' | translate}}
</mat-card-title>
@@ -6,31 +6,31 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangePeopleMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" data-automation-id="adf-people-single-mode" value="{{ peopleSingleMode }}">{{
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-people-single-mode" value="{{ peopleSingleMode }}">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-people-multiple-mode" value="{{ peopleMultipleMode }}">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-multiple-mode" value="{{ peopleMultipleMode }}">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="people-control-options">
<div class="app-people-control-options">
<mat-radio-group (change)="onChangePeopleFilterMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="appName">{{
<mat-radio-button checked="true" class="app-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-people-filter-role" value="role">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
</mat-radio-group>
<mat-form-field *ngIf="!isPeopleAppNameSelected()" class="adf-preselect-value">
<mat-form-field *ngIf="!isPeopleAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"]</mat-label>
<input matInput (input)="setPeopleRoles($event)" data-automation-id="adf-people-roles-input" />
<input matInput (input)="setPeopleRoles($event)" data-automation-id="app-people-roles-input" />
</mat-form-field>
<mat-form-field *ngIf="isPeopleAppNameSelected()" class="adf-preselect-value">
<mat-form-field *ngIf="isPeopleAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setPeopleAppName($event)" data-automation-id="adf-people-app-input" />
<input matInput (input)="setPeopleAppName($event)" data-automation-id="app-people-app-input" />
</mat-form-field>
<mat-form-field class="adf-preselect-value-full">
<mat-form-field class="app-preselect-value-full">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.PRESELECTED_VALUE' | translate }} {{ DEFAULT_PEOPLE_PLACEHOLDER }}</mat-label>
<input matInput (input)="setPeoplePreselectValue($event)" data-automation-id="adf-people-preselect-input" />
<input matInput (input)="setPeoplePreselectValue($event)" data-automation-id="app-people-preselect-input" />
</mat-form-field>
<mat-checkbox class="adf-preselect-value" (change)="onChangePeopleValidation($event)">{{
<mat-checkbox class="app-preselect-value" (change)="onChangePeopleValidation($event)">{{
'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }}</mat-checkbox>
</div>
<div>
@@ -44,7 +44,7 @@
[mode]="peopleMode"></adf-cloud-people>
</div>
<div class="adf-people-list" *ngIf="canShowPeopleList()">
<div class="app-people-list" *ngIf="canShowPeopleList()">
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectUsers" role="listitem">
<mat-icon mat-list-icon>person</mat-icon>
@@ -55,7 +55,7 @@
</mat-card-content>
</mat-card>
<mat-card class="adf-section">
<mat-card class="app-section">
<mat-card-title>
{{ 'APP_LAYOUT.GROUPS_CLOUD' | translate}}
</mat-card-title>
@@ -63,29 +63,29 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangeGroupsMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" data-automation-id="adf-group-single-mode" value="{{ groupSingleMode }}">{{
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-group-single-mode" value="{{ groupSingleMode }}">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-group-multiple-mode" value="{{ groupMultipleMode }}">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-multiple-mode" value="{{ groupMultipleMode }}">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="groups-control-options">
<div class="app-groups-control-options">
<mat-radio-group (change)="onChangeGroupsFilterMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="appName">{{
<mat-radio-button checked="true" class="app-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-group-filter-role" value="role">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
</mat-radio-group>
<mat-form-field *ngIf="!isGroupAppNameSelected()" class="adf-preselect-value">
<mat-form-field *ngIf="!isGroupAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"]</mat-label>
<input matInput (input)="setGroupRoles($event)" data-automation-id="adf-group-roles-input"/>
<input matInput (input)="setGroupRoles($event)" data-automation-id="app-group-roles-input"/>
</mat-form-field>
<mat-form-field *ngIf="isGroupAppNameSelected()" class="adf-preselect-value">
<mat-form-field *ngIf="isGroupAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setGroupAppName($event)" data-automation-id="adf-group-app-input"/>
<input matInput (input)="setGroupAppName($event)" data-automation-id="app-group-app-input"/>
</mat-form-field>
<mat-form-field class="adf-preselect-value-full">
<mat-form-field class="app-preselect-value-full">
<mat-label>Preselect: {{ DEFAULT_GROUP_PLACEHOLDER }}</mat-label>
<input matInput (input)="setGroupsPreselectValue($event)" data-automation-id="adf-group-preselect-input" />
<input matInput (input)="setGroupsPreselectValue($event)" data-automation-id="app-group-preselect-input" />
</mat-form-field>
</div>
<div>
@@ -93,7 +93,7 @@
(selectGroup)="onSelectGroup($event)" (removeGroup)="onRemoveGroup($event)"></adf-cloud-group>
</div>
<div class="adf-group-list" *ngIf="canShowGroupList()">
<div class="app-group-list" *ngIf="canShowGroupList()">
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectGroup" role="listitem">
<mat-icon mat-list-icon>group</mat-icon>
@@ -1,4 +1,4 @@
.adf {
.app {
&-section {
mat-card-title {
font-size:18px;
@@ -14,7 +14,7 @@
mat-card-content {
.adf-preselect-value {
.app-preselect-value {
margin-right: 15px;
min-width: 25%;
@@ -5,11 +5,11 @@
<h4 data-automation-id="process-details-header">Simple page to show the process instance: {{ processInstanceId }} of the app: {{ appName }}</h4>
<div class="adf-process-cloud-container">
<div class="app-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[appName]="appName"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
@@ -17,7 +17,7 @@
</adf-cloud-task-list>
<adf-cloud-process-header
class="adf-process-cloud-header"
class="app-process-cloud-header"
[appName]="appName"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
@@ -1,4 +1,4 @@
.adf {
.app {
&-process-cloud-container {
display: flex;
}
@@ -11,7 +11,7 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list #processCloud
fxFlex
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[appName]="editedFilter.appName"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
@@ -1,4 +1,4 @@
<div fxFlex fxLayout="column" class="adf-settings-container">
<div fxFlex fxLayout="column" class="app-settings-container">
<mat-slide-toggle [color]="'primary'" [checked]="multiselect" (change)="toggleMultiselect()" data-automation-id="multiSelection">
{{ 'SETTINGS_CLOUD.MULTISELECTION' | translate }}
</mat-slide-toggle>
@@ -1,7 +1,7 @@
.adf-settings-container {
.app-settings-container {
padding: 20px 30px;
}
.adf-settings-container mat-form-field {
.app-settings-container mat-form-field {
max-width: 200px;
}
@@ -69,13 +69,13 @@ export class CloudSettingsComponent implements OnInit, OnDestroy {
setCurrentSettings(settings) {
if (settings) {
this.multiselect = settings.multiselect;
this.actionMenu = this.actionMenu;
this.contextMenu = this.contextMenu;
this.actions = this.actions;
this.testingMode = settings.testingMode;
this.selectionMode = settings.selectionMode;
this.taskDetailsRedirection = settings.taskDetailsRedirection;
this.processDetailsRedirection = settings.processDetailsRedirection;
this.actionMenu = settings.actionMenu;
this.contextMenu = settings.contextMenu;
this.actions = settings.actions;
}
}
@@ -1,5 +1,5 @@
.adf {
.app {
&-task-detail-container {
display: flex;
@@ -11,7 +11,7 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-task-list #taskCloud
fxFlex
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[appName]="editedFilter.appName"
[processDefinitionId]="editedFilter.processDefinitionId"
[processInstanceId]="editedFilter.processInstanceId"
@@ -1,5 +1,5 @@
<div>
<mat-nav-list class="adf-list-confgurations">
<mat-nav-list class="app-list-confgurations">
<mat-list-item (click)="appConfigClick()">
<a matLine id="adf-app-conf">App Config Editor</a>
@@ -32,12 +32,12 @@
<div>
<ngx-monaco-editor id="adf-code-configuration-editor"
class="adf-file-editor"
class="app-file-editor"
[options]="editorOptions"
[(ngModel)]="code"
(onInit)="onInit($event)">
</ngx-monaco-editor>
<div class="adf-list-confgurations-buttons">
<div class="app-list-confgurations-buttons">
<button mat-raised-button id="adf-configuration-save" (click)="onSave()" color="primary">
Save
</button>
@@ -1,15 +1,15 @@
.adf-file-editor {
.app-file-editor {
height: 500px;
width: 65%;
float: left;
}
.adf-list-confgurations {
.app-list-configurations {
float: left;
width: 30%;
}
.adf-list-confgurations-buttons {
.app-list-configurations-buttons {
width: 200px;
margin-left: 30%;
float: left;
@@ -8,13 +8,13 @@
<h2>Plain picker</h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
dropdownHideMyFiles: {{dropdownHideMyFiles}}
</label>
</mat-panel-description>
</mat-expansion-panel-header>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[currentFolderId]="'-root-'">
</adf-content-node-selector-panel>
@@ -26,13 +26,13 @@
<h2>Hide My files</h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
My Files site will be hided from dropdown
</label>
</mat-panel-description>
</mat-expansion-panel-header>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[currentFolderId]="'-root-'"
[dropdownHideMyFiles]="true">
@@ -45,7 +45,7 @@
<h2>Custom Site List</h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
Adding a custom site list
</label>
</mat-panel-description>
@@ -54,7 +54,7 @@
<div>
<mat-list>
<h3 mat-subheader>Add Site</h3>
<form class="adf-content-node-selector-demo-example-form">
<form class="app-content-node-selector-demo-example-form">
<mat-form-field>
<label>Site Guid</label>
<input matInput [(ngModel)]="customSideGuid" [ngModelOptions]="{standalone: true}">
@@ -79,7 +79,7 @@
</div>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[currentFolderId]="'-root-'"
[dropdownSiteList]="customSites">
@@ -92,7 +92,7 @@
<h2>Row Filtering</h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
Will automatically filter the row on the list
</label>
</mat-panel-description>
@@ -105,7 +105,7 @@
Slide Folders
</mat-slide-toggle>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[rowFilter]="rowFilterFunction"
[currentFolderId]="'-root-'">
@@ -118,7 +118,7 @@
<h2>Exclude Site Content</h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
The exclude site content is filtered out from the list
</label>
</mat-panel-description>
@@ -137,7 +137,7 @@
Show Folders
</mat-slide-toggle>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[rowFilter]="rowFilterFunction"
[excludeSiteContent]="excludeSiteContentList"
@@ -151,7 +151,7 @@
<h2>Custom Image Resolving</h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
A function to manage the way folder/file icons and thumbnails are resolved
</label>
</mat-panel-description>
@@ -161,7 +161,7 @@
Add Custom Images Resolver
</mat-slide-toggle>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[imageResolver]="customImageResolver"
[currentFolderId]="'-root-'">
@@ -174,12 +174,12 @@
<h2>Set Page Size</h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
Number of items shown per page in the list. actual page {{actualPageSize}}
</label>
</mat-panel-description>
</mat-expansion-panel-header>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[currentFolderId]="'-root-'"
[pageSize]="actualPageSize"
@@ -193,14 +193,14 @@
<h2>Is Valid Selection Function </h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
Function used to decide if the selected node has permission to be selected
</label>
</mat-panel-description>
</mat-expansion-panel-header>
<label>Only folder starting with the letter 'a' or 'A' are valid selections</label>
<label>Actual Selection is : {{validSelection}}</label>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
(select)="onNodeSelect($event)"
[isSelectionValid]="customIsValidFunction"
@@ -214,13 +214,13 @@
<h2>BreadCrumb Transform Function </h2>
</mat-panel-title>
<mat-panel-description>
<label class="adf-content-node-selector-demo-basic-label">
<label class="app-content-node-selector-demo-basic-label">
Transformation to be performed on the chosen/folder node before building the breadcrumb UI
</label>
</mat-panel-description>
</mat-expansion-panel-header>
<label>Folder starting with letter 'd' or 'D' won't be displayed in the breadcrumb dropdown</label>
<div class="adf-content-node-selector-demo-basic-table">
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[breadcrumbTransform]="customBreadcrumbFunction"
[currentFolderId]="'-root-'">
@@ -1,4 +1,4 @@
.adf-content-node-selector-demo {
.app-content-node-selector-demo {
&-main {
display: flex;
@@ -16,7 +16,7 @@
[data]="dataForCopy">
<data-columns>
<data-column key="id" title="Id" [copyContent]="true"></data-column>
<data-column key="name" title="Name" class="adf-full-width name-column" [copyContent]="false"></data-column>
<data-column key="name" title="Name" class="app-full-width name-column" [copyContent]="false"></data-column>
<data-column key="createdBy" title="Created By"></data-column>
<data-column key="json" type="json" title="Json" [copyContent]="true"></data-column>
</data-columns>
@@ -18,6 +18,7 @@
[selectionMode]="selectionMode"
[multiselect]="multiselect"
[actions]="true"
[resolverFn]="resolver"
rowStyleClass="custom-row-style"
(showRowActionsMenu)="onShowRowActionsMenu($event)"
(executeRowAction)="onExecuteRowAction($event)">
@@ -28,7 +29,11 @@
<data-column key="id" title="Id"></data-column>
<data-column key="createdOn" title="Created"></data-column>
<data-column key="name" title="Name" class="adf-full-width name-column"></data-column>
<data-column key="createdBy.name" title="Created By"></data-column>
<data-column type="text" key="createdBy.name" title="Created By"></data-column>
<data-column type="text" key="users" title="Users"></data-column>
<data-column key="status" title="Status">
<ng-template let-value="value">{{value | json }}</ng-template>
</data-column>
</data-columns>
-->
</adf-datatable>
@@ -16,8 +16,16 @@
*/
import { Component, Input } from '@angular/core';
import { DataColumn, DataRow } from '@alfresco/adf-core';
import { DataCellEvent, DataRowActionEvent, DataSorting, ObjectDataColumn, ObjectDataRow, ObjectDataTableAdapter } from '@alfresco/adf-core';
import {
DataCellEvent,
DataColumn,
DataRow,
DataRowActionEvent,
DataSorting,
ObjectDataColumn,
ObjectDataRow,
ObjectDataTableAdapter
} from '@alfresco/adf-core';
export class FilteredDataAdapter extends ObjectDataTableAdapter {
@@ -75,6 +83,20 @@ export class DataTableComponent {
this.reset();
}
resolver(row: DataRow, col: DataColumn): any {
const value = row.getValue(col.key);
if (col.key === 'users') {
return (value || []).map(user => `${user.firstName} ${user.lastName}`).toString();
}
if (col.key === 'status') {
const users = row.getValue('users');
return (value || []).map((status, index) => ({ 'name': `${users[index].firstName} ${users[index].lastName}`, status }));
}
return value;
}
/* spellchecker: disable */
reset() {
this.data = new FilteredDataAdapter(
@@ -90,7 +112,21 @@ export class DataTableComponent {
createdOn: new Date(2016, 6, 2, 15, 8, 1),
createdBy: this._createdBy,
icon: 'material-icons://folder_open',
json: null
json: null,
users: [
{
firstName: 'Super',
lastName: 'Man'
},
{
firstName: 'Iron',
lastName: 'Man'
}
],
status: [
'I am here to save the world.. By world means AMERICA',
'That nobody is John Wick…'
]
},
{
id: 2,
@@ -98,7 +134,21 @@ export class DataTableComponent {
createdOn: new Date(2016, 6, 2, 15, 8, 2),
createdBy: this._createdBy,
icon: 'material-icons://accessibility',
json: null
json: null,
users: [
{
firstName: 'Mister',
lastName: 'Bean'
},
{
firstName: 'Doctor',
lastName: 'Strange'
}
],
status: [
'I am here to save the world.. By world means AMERICA',
'That nobody is John Wick…'
]
},
{
id: 3,
@@ -106,7 +156,21 @@ export class DataTableComponent {
createdOn: new Date(2016, 6, 2, 15, 8, 3),
createdBy: this._createdBy,
icon: 'material-icons://alarm',
json: null
json: null,
users: [
{
firstName: 'Thunder',
lastName: 'Thor'
},
{
firstName: 'Marvel',
lastName: 'Avenger'
}
],
status: [
'I am here to save the world.. By world means AMERICA',
'That nobody is John Wick…'
]
},
{
id: 4,
@@ -120,10 +184,45 @@ export class DataTableComponent {
createdOn: new Date(2016, 6, 2, 15, 8, 4),
createdBy: {
name: 'Felipe',
lastname: 'Melo'
lastName: 'Melo'
},
icon: 'material-icons://alarm'
}
},
users: [
{
firstName: 'Spider',
lastName: 'Man'
},
{
firstName: '17',
lastName: 'Again'
}
],
status: [
'I am here to save the world.. By world means AMERICA',
'That nobody is John Wick…'
]
},
{
id: 5,
name: 'I am using custom resolver',
createdOn: new Date(2016, 6, 2, 15, 8, 4),
createdBy: this._createdBy,
icon: 'material-icons://person_outline',
users: [
{
firstName: 'Captain',
lastName: 'America'
},
{
firstName: 'John',
lastName: 'Wick'
}
],
status: [
'I am here to save the world.. By world means AMERICA',
'That nobody is John Wick…'
]
}
],
[
@@ -132,7 +231,9 @@ export class DataTableComponent {
{ type: 'date', key: 'createdOn', title: 'Created On', sortable: true, cssClass: 'adf-ellipsis-cell adf-expand-cell-2' },
{ type: 'text', key: 'name', title: 'Name', cssClass: 'adf-ellipsis-cell', sortable: true },
{ type: 'text', key: 'createdBy.name', title: 'Created By', sortable: true, cssClass: ''},
{ type: 'json', key: 'json', title: 'Json', cssClass: 'adf-expand-cell-2'}
{ type: 'json', key: 'json', title: 'Json', cssClass: 'adf-expand-cell-2'},
{ type: 'text', key: 'users', title: 'Users', cssClass: 'adf-expand-cell-2'},
{ type: 'json', key: 'status', title: 'Status', cssClass: 'adf-expand-cell-2'}
]
);
@@ -33,7 +33,7 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'app-name-column',
template: `
<span class="adf-datatable-cell-value" title="{{ node | adfNodeNameTooltip }}" (click)="onClick()">
<span class="app-datatable-cell-value" title="{{ node | adfNodeNameTooltip }}" (click)="onClick()">
{{ displayText$ | async }}
</span>
`,
@@ -1,9 +1,9 @@
<div fxLayout="column" fxLayoutAlign="center center">
<adf-error-content [errorCode]="errorCode">
<div adf-error-content-actions class="adf-error-content-buttons">
<div adf-error-content-actions class="app-error-content-buttons">
<a a id="adf-secondary-button" mat-raised-button color="primary"
(click)="onReportIssue()"
class="adf-error-content-description-link">
class="app-error-content-description-link">
{{ 'ERROR_CONTENT.' + errorCode + '.SECONDARY_BUTTON.TEXT' | translate | uppercase }}
</a>
<a id="adf-return-button" mat-raised-button color="primary" (click)="onReturnButton()">
@@ -1,4 +1,4 @@
.adf-error-content {
.app-error-content {
&-buttons {
display: flex;
@@ -1,4 +1,4 @@
.adf-viewer__sidebar {
.app-viewer__sidebar {
width: 380px !important;
}
@@ -7,6 +7,6 @@
width: 600px;
}
adf-preview-extension {
app-preview-extension {
width: 600px;
}
@@ -1,6 +1,6 @@
<div class="adf-container">
<div class="app-container">
<mat-accordion *ngIf="showRecentFiles" class="adf-container-recent">
<mat-accordion *ngIf="showRecentFiles" class="app-container-recent">
<mat-expansion-panel hideToggle="true">
<mat-expansion-panel-header>
<mat-panel-title>
@@ -18,21 +18,21 @@
(preview)="showFile($event)"
selectionMode="null">
<adf-custom-empty-content-template>
<div class="adf-empty-list__block">
<div class="app-empty-list__block">
<mat-icon>history</mat-icon>
<p class="adf-empty-list__title">{{ 'DOCUMENT_LIST.RECENT.EMPTY_STATE.TITLE' | translate}}</p>
<p class="app-empty-list__title">{{ 'DOCUMENT_LIST.RECENT.EMPTY_STATE.TITLE' | translate}}</p>
</div>
</adf-custom-empty-content-template>
</adf-document-list>
</mat-expansion-panel>
</mat-accordion>
<div *ngIf="showSitePicker" class="adf-site-container-style" id="site-container">
<div *ngIf="showSitePicker" class="app-site-container-style" id="site-container">
<adf-sites-dropdown (change)="onSiteChange($event)" [hideMyFiles]="false" [relations]="'members'">
</adf-sites-dropdown>
</div>
<div id="document-list-container" class="adf-document-list-container" fxLayout="row" fxLayoutAlign="start stretch"
<div id="document-list-container" class="app-document-list-container" fxLayout="row" fxLayoutAlign="start stretch"
fxLayoutGap="16px">
<adf-upload-drag-area fxFlex="1 1 auto"
[disabled]="disableDragArea"
@@ -42,28 +42,28 @@
[adf-check-allowable-operation]="'create'"
[adf-nodes]="disableDragArea ? getCurrentDocumentListNode() : []"
(beginUpload)="onBeginUpload($event)">
<div *ngIf="errorMessage" class="adf-error-message">
<div *ngIf="errorMessage" class="app-error-message">
<button (click)="resetError()" mat-icon-button>
<mat-icon>highlight_off</mat-icon>
</button>
<span class="adf-error-message--text">{{errorMessage}}</span>
<span class="app-error-message--text">{{errorMessage}}</span>
</div>
<adf-toolbar *ngIf="!disableDragArea" [color]="toolbarColor" class="adf-files-toolbar">
<adf-toolbar *ngIf="!disableDragArea" [color]="toolbarColor" class="app-files-toolbar">
<adf-toolbar-title fxFlex="0 1 auto">
<adf-breadcrumb fxShow fxHide.lt-sm="true"
class="adf-files-breadcrumb"
class="app-files-breadcrumb"
root="APP.PERSONAL-FILES"
[target]="documentList">
</adf-breadcrumb>
<adf-dropdown-breadcrumb fxHide fxShow.lt-sm="true"
class="adf-files-breadcrumb"
class="app-files-breadcrumb"
[target]="documentList">
</adf-dropdown-breadcrumb>
</adf-toolbar-title>
<adf-toolbar-divider fxFlex="0 0 auto"></adf-toolbar-divider>
<div fxFlex="0 0 auto" class="adf-document-action-buttons" fxShow fxHide.lt-sm="true">
<div fxFlex="0 0 auto" class="app-document-action-buttons" fxShow fxHide.lt-sm="true">
<button
mat-icon-button
data-automation-id="document-list-grid-view"
@@ -158,7 +158,7 @@
<button mat-menu-item (click)="toolbarColor = 'warn'">Warn</button>
</mat-menu>
<button mat-icon-button (click)="showVersions = !showVersions" class="adf-show-versions-button">
<button mat-icon-button (click)="showVersions = !showVersions" class="app-show-versions-button">
<mat-icon *ngIf="!showVersions" matTooltip="{{ 'DOCUMENT_LIST.TOOLBAR.SHOW_VERSION' | translate }}">
chevron_left
</mat-icon>
@@ -215,10 +215,10 @@
</mat-menu>
</adf-toolbar>
<div class="adf-document-list-container" [ngClass]="{'adf-sticky-document-list': stickyHeader }">
<div class="app-document-list-container" [ngClass]="{'adf-sticky-document-list': stickyHeader }">
<adf-document-list
#documentList
class="adf-file-list-container"
class="app-file-list-container"
[permissionsStyle]="permissionsStyle"
[currentFolderId]="currentFolderId"
[contextMenuActions]="true"
@@ -245,8 +245,8 @@
<h1>You don't have permissions</h1>
</adf-custom-no-permission-template>
<adf-custom-empty-content-template *ngIf="disableDragArea">
<div class="adf-empty_template">
<div class="adf-no-result-message">{{ 'SEARCH.NO_RESULT' | translate }}</div>
<div class="app-empty_template">
<div class="app-no-result-message">{{ 'SEARCH.NO_RESULT' | translate }}</div>
</div>
</adf-custom-empty-content-template>
<data-columns>
@@ -254,13 +254,13 @@
key="$thumbnail"
type="image"
[sortable]="false"
class="adf-image-table-cell"
class="app-image-table-cell"
[class.adf-cell-thumbnail]="thumbnails">
</data-column>
<data-column
*ngIf="showNameColumn && hyperlinkNavigation"
key="name"
class="adf-ellipsis-cell"
class="app-ellipsis-cell"
title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}"
[formatTooltip]="getNodeNameTooltip">
<ng-template let-context>
@@ -272,7 +272,7 @@
key="name"
title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}"
[formatTooltip]="getNodeNameTooltip"
class="adf-ellipsis-cell adf-expand-cell-5">
class="app-ellipsis-cell adf-expand-cell-5">
</data-column>
<!-- Location column demo -->
<!--
@@ -287,13 +287,13 @@
key="content.sizeInBytes"
title="{{'DOCUMENT_LIST.COLUMNS.SIZE' | translate}}"
type="fileSize"
class="adf-desktop-only adf-ellipsis-cell">
class="app-desktop-only adf-ellipsis-cell">
</data-column>
<data-column
*ngIf="searchTerm"
key="search"
title="Search"
class="adf-desktop-only adf-expand-cell-3">
class="app-desktop-only adf-expand-cell-3">
<ng-template let-entry="$implicit">
<div [innerHTML]="searchResultsHighlight(entry.row.node.entry.search) | highlight:searchTerm">
</div>
@@ -304,23 +304,23 @@
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.TAG' | translate}}"
key="id"
class="adf-full-width adf-ellipsis-cell">
class="app-full-width adf-ellipsis-cell">
<ng-template let-entry="$implicit">
<alfresco-tag-node-list [nodeId]="entry.data.getValue(entry.row, entry.col)"></alfresco-tag-node-list>
</ng-template>
</data-column>
-->
<data-column
class="adf-full-width adf-ellipsis-cell adf-desktop-only"
class="app-full-width adf-ellipsis-cell adf-desktop-only"
title="{{'DOCUMENT_LIST.COLUMNS.NODE_ID' | translate}}"
key="id">
</data-column>
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.IS_LOCKED' | translate}}"
key="id"
class="adf-desktop-only adf-ellipsis-cell">
class="app-desktop-only adf-ellipsis-cell">
<ng-template let-entry="$implicit">
<button mat-icon-button [adf-node-lock]="entry.row.node.entry" class="adf-lock-button">
<button mat-icon-button [adf-node-lock]="entry.row.node.entry" class="app-lock-button">
<mat-icon *ngIf="entry.row.getValue('isLocked')">lock</mat-icon>
<mat-icon *ngIf="!entry.row.getValue('isLocked')">lock_open</mat-icon>
</button>
@@ -329,14 +329,14 @@
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.CREATED_BY' | translate}}"
key="createdByUser.displayName"
class="adf-desktop-only adf-ellipsis-cell">
class="app-desktop-only adf-ellipsis-cell">
</data-column>
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.CREATED' | translate}}"
key="createdAt"
type="date"
[format]="enableMediumTimeFormat ? 'medium' : 'timeAgo'"
class="adf-desktop-only adf-ellipsis-cell">
class="app-desktop-only adf-ellipsis-cell">
</data-column>
</data-columns>
@@ -433,7 +433,7 @@
<adf-pagination
#standardPagination
*ngIf="!infiniteScrolling"
class="adf-documentlist-pagination"
class="app-documentlist-pagination"
[target]="documentList"
(changePageSize)="onChangePageSize($event)"
(changePageNumber)="onChangePageNumber($event)"
@@ -448,7 +448,7 @@
</adf-infinite-pagination>
</adf-upload-drag-area>
<adf-info-drawer-layout *ngIf="showVersions" class="adf-manage-versions-sidebar" fxFlex="0 0 auto">
<adf-info-drawer-layout *ngIf="showVersions" class="app-manage-versions-sidebar" fxFlex="0 0 auto">
<div info-drawer-content>
<adf-info-drawer [title]="'Details'" *ngIf="documentList.selection[0]">
@@ -469,14 +469,14 @@
</ng-container>
</ng-container>
<ng-template #choose_document_template>
<div class="adf-manage-versions-empty">
<mat-icon class="adf-manage-versions-empty-icon">face</mat-icon>
<div class="app-manage-versions-empty">
<mat-icon class="app-manage-versions-empty-icon">face</mat-icon>
{{'VERSION.CHOOSE_FILE' | translate}}
</div>
</ng-template>
<ng-template #no_permission_to_versions>
<div class="adf-manage-versions-no-permission">
<mat-icon class="adf-manage-versions-no-permission-icon">warning</mat-icon>
<div class="app-manage-versions-no-permission">
<mat-icon class="app-manage-versions-no-permission-icon">warning</mat-icon>
{{'VERSION.NO_PERMISSION' | translate}}
</div>
</ng-template>
@@ -498,11 +498,11 @@
</adf-start-process>
</div>
<div *ngIf="showSettingsPanel" class="adf-content-service-settings">
<div *ngIf="showSettingsPanel" class="app-content-service-settings">
<p>Current folder ID: {{ documentList.currentFolderId }}</p>
<div class="adf-p-10">
<div class="app-p-10">
Selected Nodes:
<ul>
<li *ngFor="let node of documentList.selection">
@@ -511,7 +511,7 @@
</ul>
</div>
<div class="adf-container">
<div class="app-container">
<section>
<mat-slide-toggle color="primary" [(ngModel)]="showNameColumn">
Show Name Column
@@ -679,7 +679,7 @@
</section>
</div>
<div class="adf-p-10">
<div class="app-p-10">
<p>
{{'DOCUMENT_LIST.MULTISELECT_DESCRIPTION' | translate}}
</p>
@@ -1,71 +1,71 @@
@mixin adf-file-component-theme($theme) {
.adf-container {
@mixin app-file-component-theme($theme) {
.app-container {
margin: 10px !important;
}
@media screen and ($mat-xsmall) {
.adf-container {
.app-container {
margin: 0;
}
.adf-show-versions-button.mat-icon-button {
.app-show-versions-button.mat-icon-button {
display: none;
}
}
.adf-error-message {
.app-error-message {
text-align: left;
}
.adf-error-message--text {
.app-error-message--text {
color: #d50000;
}
.adf-document-list-container {
.app-document-list-container {
min-height: 400px;
.adf-datatable-list {
.app-datatable-list {
min-height: 400px;
}
}
.adf-datatable-card .adf-lock-button {
.app-datatable-card .app-lock-button {
top: -10px;
}
.adf-site-container-style {
.app-site-container-style {
margin-top: 10px;
margin-bottom: 10px;
width: 100%;
min-width: 200px;
}
.adf-content-service-settings {
.app-content-service-settings {
padding: 16px;
}
.adf-manage-versions-sidebar {
.app-manage-versions-sidebar {
width: 360px !important;
& .adf-info-drawer-layout-header {
& .app-info-drawer-layout-header {
display: none !important;
}
}
.adf-no-result__empty_doc_lib {
.app-no-result__empty_doc_lib {
width: 565px;
height: 161px;
object-fit: contain;
margin-top: 17px;
}
.adf-empty_template {
.app-empty_template {
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
}
.adf-no-result-message {
.app-no-result-message {
height: 32px;
opacity: 0.26;
font-size: 24px;
@@ -73,12 +73,12 @@
letter-spacing: -1px;
}
.adf-container-recent {
.app-container-recent {
mat-icon {
margin-left: 20px;
}
.adf-empty-list__block {
.app-empty-list__block {
height: 100%;
padding: 0;
margin: 0;
@@ -386,7 +386,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
return node && node.list && node.list.entries.length === 0;
}
onContentActionError(errors) {
onContentActionError(errors: any) {
const errorStatusCode = JSON.parse(errors.message).error.statusCode;
let translatedErrorMessage: any;
@@ -404,24 +404,24 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
this.openSnackMessage(translatedErrorMessage);
}
onContentActionSuccess(message) {
onContentActionSuccess(message: string) {
const translatedMessage: any = this.translateService.instant(message);
this.openSnackMessage(translatedMessage);
this.documentList.reload();
}
onDeleteActionSuccess(message) {
onDeleteActionSuccess(message: string) {
this.uploadService.fileDeleted.next(message);
this.deleteElementSuccess.emit();
this.documentList.reload();
this.openSnackMessage(message);
}
onPermissionRequested(node) {
onPermissionRequested(node: any) {
this.router.navigate(['/permissions', node.value.entry.id]);
}
onManageVersions(event) {
onManageVersions(event: any) {
const contentEntry = event.value.entry;
const showComments = this.showVersionComments;
const allowDownload = this.allowVersionDownload;
@@ -438,7 +438,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
}
onManageMetadata(event) {
onManageMetadata(event: any) {
const contentEntry = event.value.entry;
if (this.contentService.hasAllowableOperations(contentEntry, 'update')) {
@@ -499,7 +499,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
return false;
}
startProcessAction($event) {
startProcessAction($event: any) {
this.formValues['file'] = $event.value.entry;
const dialogRef = this.dialog.open(SelectAppsDialogComponent, {
@@ -588,15 +588,15 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
return true;
}
runCustomAction(event) {
runCustomAction(event: any) {
this.logService.log(event);
}
getFileFiltering() {
getFileFiltering(): string {
return this.acceptedFilesTypeShow ? this.acceptedFilesType : '*';
}
createLibrary() {
createLibrary(): void {
const dialogInstance: any = this.dialog.open(LibraryDialogComponent, {
width: '400px'
});
@@ -610,5 +610,6 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
if (search && search.highlight) {
return search.highlight.map((currentHighlight) => currentHighlight.snippets).join(', ');
}
return '';
}
}
@@ -1,12 +1,12 @@
<adf-form-list [forms]="formList" (row-dblclick)="onRowDblClick($event)">
</adf-form-list>
<div class="adf-form-container" *ngIf="!isEmptyForm()">
<div class="app-form-container" *ngIf="!isEmptyForm()">
<adf-form #adfForm [form]="form" [data]="restoredData" [showValidationIcon]="showValidationIcon">
</adf-form>
</div>
<button mat-button (click)="store()" color="primary">{{'FORM-LIST.STORE' | translate }}</button>
<button mat-button (click)="restore()" color="primary">{{'FORM-LIST.RESTORE' | translate }}</button>
<section class="adf-form-list-margin">
<section class="app-form-list-margin">
<mat-slide-toggle color="primary" [(ngModel)]="showValidationIcon">
Show Validation Icon
</mat-slide-toggle>
@@ -1,12 +1,12 @@
.adf-form-container {
.app-form-container {
padding: 10px;
}
.adf-store-form-container {
.app-store-form-container {
width: 80%;
height: 80%;
}
.adf-form-list-margin {
.app-form-list-margin {
margin-left: 26px;
}
@@ -1,4 +1,4 @@
<div class="adf-form-container">
<div class="app-form-container">
<mat-accordion>
<mat-expansion-panel>
<mat-expansion-panel-header>
@@ -1,3 +1,3 @@
.adf-form-container {
.app-form-container {
padding: 10px;
}
@@ -2,7 +2,7 @@
<mat-tab-group>
<mat-tab label="Form">
<div class="adf-form-container">
<div class="app-form-container">
<adf-form
[showRefreshButton]="false"
[form]="form"
@@ -10,7 +10,7 @@
</adf-form>
</div>
<div class="adf-console" #console>
<div class="app-console" #console>
<h3>Error log:</h3>
<p *ngFor="let error of errorFields">Error {{ error.name }} {{error.validationSummary.message |
translate}}</p>
@@ -19,20 +19,20 @@
<mat-tab label="Editor">
<ngx-monaco-editor
id="adf-form-config-editor"
class="adf-form-config-editor"
class="app-form-config-editor"
[options]="editorOptions"
[(ngModel)]="formConfig"
(onInit)="onInitFormEditor($event)">
</ngx-monaco-editor>
<div class="adf-form-editor-buttons">
<button mat-raised-button id="adf-form-config-save" (click)="onSaveFormConfig()" color="primary">Save
<div class="app-form-editor-buttons">
<button mat-raised-button id="app-form-config-save" (click)="onSaveFormConfig()" color="primary">Save
form config
</button>
<button mat-raised-button id="adf-form-config-clear" (click)="onClearFormConfig()" color="primary">Clear
<button mat-raised-button id="app-form-config-clear" (click)="onClearFormConfig()" color="primary">Clear
form config
</button>
</div>
<div class="adf-upload-config-button">
<div class="app-upload-config-button">
<a mat-raised-button color="primary" >
<mat-icon>file_upload</mat-icon>
<label for="upload-config-file">Upload JSON File</label>
@@ -1,17 +1,17 @@
.adf-form-container {
.app-form-container {
padding: 10px;
}
.adf-main-content {
.app-main-content {
padding: 0 15px;
}
.adf-card-view {
.app-card-view {
width: 30%;
display: inline-block;
}
.adf-console {
.app-console {
width: 60%;
display: inline-block;
vertical-align: top;
@@ -31,16 +31,16 @@
}
}
.adf-form-config-editor {
.app-form-config-editor {
height: 500px !important;
}
.adf-form-editor-buttons {
.app-form-editor-buttons {
display: flex;
justify-content: space-evenly;
}
.adf-upload-config-button {
.app-upload-config-button {
display: flex;
justify-content: center;
@@ -1,4 +1,4 @@
<div class="adf-content adf-header-data">
<div class="app-content app-header-data">
<h1>Header data</h1>
<mat-card>
<div>
@@ -1,4 +1,4 @@
.adf-content {
.app-content {
padding: 10px;
.mat-card {
padding: 16px 24px;
@@ -1,12 +1,12 @@
<header class="adf-home-background">
<div class="adf-home-section ad">
<div class="adf-home-headline">
<header class="app-home-background">
<div class="app-home-section ad">
<div class="app-home-headline">
<h1 class="mat-h1">ADF</h1>
<h2>{{ 'APP.HOME.TITLE' | translate}}</h2>
</div>
<div class="adf-home-start">
<a mat-raised-button class="adf-home-docs-button adf-primary-color" href="https://github.com/Alfresco/alfresco-ng2-components/tree/master/docs">{{ 'APP.HOME.DOCUMENTATION' | translate}}</a>
<div class="app-home-start">
<a mat-raised-button class="app-home-docs-button adf-primary-color" href="https://github.com/Alfresco/alfresco-ng2-components/tree/master/docs">{{ 'APP.HOME.DOCUMENTATION' | translate}}</a>
</div>
</div>
</header>
@@ -5,16 +5,16 @@
height: 100%;
}
.adf-home-header-background {
.app-home-header-background {
overflow: hidden;
}
.adf-home-section {
.app-home-section {
text-align: center;
padding-top: 60px;
}
.adf-home-headline {
.app-home-headline {
h1 {
font-size: 56px;
@@ -31,6 +31,6 @@
}
}
.adf-home-docs-button {
.app-home-docs-button {
margin: 30px;
}
@@ -1,7 +1,7 @@
<!--BPM, ECN AND CSRF TOGGLE-->
<div class="adf-settings">
<p class="adf-toggle">
<div class="app-settings">
<p class="app-toggle">
<mat-slide-toggle
id="switch3"
[color]="'primary'"
@@ -10,7 +10,7 @@
CSRF
</mat-slide-toggle>
</p>
<p class="adf-toggle">
<p class="app-toggle">
<mat-slide-toggle
id="switch4"
[color]="'primary'"
@@ -19,7 +19,7 @@
{{ 'LOGIN.LOGIN_FOOTER'| translate }}
</mat-slide-toggle>
</p>
<p class="adf-toggle">
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-show-rememberme"
[color]="'primary'"
@@ -28,7 +28,7 @@
{{ 'LOGIN.SHOW_REMEMBERME'| translate }}
</mat-slide-toggle>
</p>
<p class="adf-toggle">
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-show-successRoute"
[color]="'primary'"
@@ -37,7 +37,7 @@
{{ 'LOGIN.SHOW_SUCCESS_ROUTE'| translate }}
</mat-slide-toggle>
</p>
<p class="adf-toggle">
<p class="app-toggle">
<ng-container *ngIf="customSuccessRoute">
<mat-form-field floatPlaceholder="float">
<input matInput
@@ -48,7 +48,7 @@
</ng-container>
</p>
<p class="adf-toggle">
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-logo"
[color]="'primary'"
@@ -57,7 +57,7 @@
{{ 'LOGIN.CUSTOM_LOGO'| translate }}
</mat-slide-toggle>
</p>
<p class="adf-toggle">
<p class="app-toggle">
<ng-container *ngIf="customLogoImage">
<mat-form-field floatPlaceholder="float">
<input matInput
@@ -72,7 +72,7 @@
<!--SETTING BUTTON-->
<a mat-fab class="adf-setting-button" data-automation-id="settings" href="" routerLink="/settings" color="accent">
<a mat-fab class="app-setting-button" data-automation-id="settings" href="" routerLink="/settings" color="accent">
<mat-icon>settings</mat-icon>
</a>
@@ -87,7 +87,7 @@
copyrightText="{{ 'application.copyright' | adfAppConfig }}"
(success)="onLogin()"
(error)="onError($event)">
<div class="adf-mobile-settings">
<div class="app-mobile-settings">
<p>
<mat-slide-toggle
id="switch3-mobile"
@@ -106,7 +106,7 @@
{{ 'LOGIN.LOGIN_FOOTER'| translate }}
</mat-slide-toggle>
</p>
<button type="button" mat-raised-button color="accent" class="adf-mobile-setting-button" routerLink="/settings"
<button type="button" mat-raised-button color="accent" class="app-mobile-setting-button" routerLink="/settings"
data-automation-id="settings">{{ 'APP_LAYOUT.SETTINGS'| translate }}
</button>
@@ -1,12 +1,12 @@
@mixin adf-login-component-theme($theme) {
.adf-setting-button.mat-fab.mat-accent {
@mixin app-login-component-theme($theme) {
.app-setting-button.mat-fab.mat-accent {
position: absolute;
right: 10px;
top: 10px;
z-index: 1;
}
.adf-settings {
.app-settings {
border-radius: 8px;
position: absolute;
background-color: papayawhip;
@@ -16,36 +16,36 @@
z-index: 1;
}
.adf-toggle {
.app-toggle {
width: auto;
margin: 5px;
padding: 5px;
}
.adf-mobile-settings, .adf-mobile-setting-button {
.app-mobile-settings, .app-mobile-setting-button {
display: none;
}
@media screen and ($mat-small) {
.adf-settings, .adf-setting-button.mat-fab.mat-accent {
.app-settings, .app-setting-button.mat-fab.mat-accent {
display: none;
}
.adf-mobile-settings, .adf-mobile-setting-button {
.app-mobile-settings, .app-mobile-setting-button {
display: block;
}
.adf-mobile-setting-button {
.app-mobile-setting-button {
width: 100%;
}
.adf-mobile-settings {
.app-mobile-settings {
padding-bottom: 20px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
}
.adf-settings ::ng-deep .mat-slide-toggle-thumb-container {
.app-settings ::ng-deep .mat-slide-toggle-thumb-container {
cursor: pointer;
}
}
@@ -1,16 +1,16 @@
<header class="adf-logout-background">
<div class="adf-logout-section" data-automation-id="adf-logout-section">
<div class="adf-logout-headline">
<header class="app-logout-background">
<div class="app-logout-section" data-automation-id="adf-logout-section">
<div class="app-logout-headline">
<h1>{{ 'APP.LOGOUT.TITLE' | translate}}</h1>
<h2>{{ 'APP.LOGOUT.SUB_TITLE' | translate}}</h2>
</div>
<div class="adf-logout-login">
<a mat-raised-button class="adf-logout-docs-button adf-primary-color"
<div class="app-logout-login">
<a mat-raised-button class="app-logout-docs-button adf-primary-color"
href="/login">{{ 'APP.LOGOUT.LOGIN' | translate}}</a>
</div>
<div class="adf-logout-home">
<a mat-raised-button class="adf-logout-docs-button adf-primary-color"
<div class="app-logout-home">
<a mat-raised-button class="app-logout-docs-button adf-primary-color"
href="/">{{ 'APP.LOGOUT.HOME' | translate}}</a>
</div>
</div>
@@ -4,16 +4,16 @@
align-items: center;
}
.adf-logout-header-background {
.app-logout-header-background {
overflow: hidden;
}
.adf-logout-section {
.app-logout-section {
text-align: center;
padding-top: 60px;
}
.adf-logout-headline {
.app-logout-headline {
h1 {
font-size: 56px;
@@ -30,10 +30,10 @@
}
}
.adf-logout-docs-button {
.app-logout-docs-button {
margin: 30px;
}
.adf-logout-login {
.app-logout-login {
float: left;
}
@@ -1,4 +1,4 @@
<div class="adf-main-content">
<div class="app-main-content">
<h1>Notification Service</h1>
<ul>
@@ -1,3 +1,3 @@
.adf-main-content {
.app-main-content {
padding: 10px;
}
@@ -1,4 +1,4 @@
<div class="adf-inherit_permission_button">
<div class="app-inherit_permission_button">
<button mat-raised-button
[color]="toggleStatus?'accent':'primary'"
adf-inherit-permission [nodeId]="nodeId"
@@ -1,4 +1,4 @@
.adf-inherit_permission_button {
.app-inherit_permission_button {
padding-top: 20px;
display: flex;
justify-content: center;
@@ -11,11 +11,11 @@
</mat-panel-description>
</mat-expansion-panel-header>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<input matInput placeholder="Format" [(ngModel)]="format">
</mat-form-field>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<mat-select placeholder="Locale dropdown" [(ngModel)]="locale">
<mat-option *ngFor="let language of languages" [value]="language.key">
{{language.label}}
@@ -43,11 +43,11 @@
</mat-panel-description>
</mat-expansion-panel-header>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<input matInput placeholder="Format" [(ngModel)]="format">
</mat-form-field>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<mat-select placeholder="Locale dropdown" [(ngModel)]="locale">
<mat-option *ngFor="let language of languages" [value]="language.key">
{{language.label}}
@@ -71,20 +71,20 @@
</mat-panel-description>
</mat-expansion-panel-header>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<input matInput placeholder="Number" [(ngModel)]="number">
</mat-form-field>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<input matInput placeholder="Min Integer Digits" [(ngModel)]="decimalValues.minIntegerDigits">
</mat-form-field>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<input matInput placeholder="Min Fraction Digits" [(ngModel)]="decimalValues.minFractionDigits">
</mat-form-field>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<input matInput placeholder="Max Fraction Digits" [(ngModel)]="decimalValues.maxFractionDigits">
</mat-form-field>
<mat-form-field class="adf-input-field">
<mat-form-field class="app-input-field">
<mat-select placeholder="Locale dropdown" [(ngModel)]="locale">
<mat-option *ngFor="let language of languages" [value]="language.key">
{{language.label}}
@@ -2,6 +2,6 @@ h2 {
padding: 20px;
}
.adf-input-field {
.app-input-field {
margin: 20px;
}
@@ -1,4 +1,4 @@
<div class="adf-process-list-inputs">
<div class="app-process-list-inputs">
<form [formGroup]="processListForm">
<mat-form-field>
@@ -77,7 +77,7 @@
</mat-error>
</mat-form-field>
<div class="adf-reset-button">
<div class="app-reset-button">
<button mat-raised-button (click)="resetProcessForm()">Reset</button>
</div>
</form>
@@ -1,4 +1,4 @@
.adf-process-list-inputs {
.app-process-list-inputs {
margin: 20px auto 0;
max-width: 1200px;
@@ -8,13 +8,13 @@
}
}
.adf-reset-button {
.app-reset-button {
margin-bottom: 50px;
display: flex;
justify-content: center;
}
.adf-process-list-error-message {
.app-process-list-error-message {
color: red;
text-align: center;
}
@@ -11,14 +11,14 @@
[processInstanceId]="processInstanceId"
(attachmentClick)="onAttachmentClick($event)">
<adf-empty-list>
<div adf-empty-list-header class="adf-empty-list-header">
<div adf-empty-list-header class="app-empty-list-header">
{{'ADF_PROCESS_LIST.PROCESS-ATTACHMENT.EMPTY.HEADER' | translate}}
</div>
<div adf-empty-list-body>
<div fxHide.lt-md="true" class="adf-empty-list-drag_drop">
<div fxHide.lt-md="true" class="app-empty-list-drag_drop">
{{'ADF_PROCESS_LIST.PROCESS-ATTACHMENT.EMPTY.DRAG-AND-DROP.TITLE' | translate}}
</div>
<div fxHide.lt-md="true" class="adf-empty-list__any-files-here-to-add">
<div fxHide.lt-md="true" class="app-empty-list__any-files-here-to-add">
{{'ADF_PROCESS_LIST.PROCESS-ATTACHMENT.EMPTY.DRAG-AND-DROP.SUBTITLE' | translate}}
</div>
</div>
@@ -1,10 +1,10 @@
<mat-tab-group [(selectedIndex)]="activeTab" (selectedTabChange)="onTabChange($event)"
data-automation-id="navigation-bar">
<mat-tab id="adf-tasks-header" href="#tasks" label="{{'PS-TAB.TASKS-TAB' | translate}}">
<div class="adf-page-content" *ngIf="showTaskTab">
<div class="adf-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="adf-grid-item adf-tasks-menu" fxFlex.gt-md="265px">
<div class="adf-list-buttons">
<mat-tab id="app-tasks-header" href="#tasks" label="{{'PS-TAB.TASKS-TAB' | translate}}">
<div class="app-page-content" *ngIf="showTaskTab">
<div class="app-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="app-grid-item app-tasks-menu" fxFlex.gt-md="265px">
<div class="app-list-buttons">
<adf-sidebar-action-menu [expanded]="true" [width]="205"
title="{{'ADF_SIDEBAR_ACTION_MENU.BUTTON.CREATE' | translate}}">
<mat-icon sidebar-menu-title-icon>arrow_drop_down</mat-icon>
@@ -16,12 +16,12 @@
</div>
</adf-sidebar-action-menu>
</div>
<mat-accordion class="adf-accordion-panel" [displayMode]="flat">
<mat-accordion class="app-accordion-panel" [displayMode]="flat">
<mat-expansion-panel class="mat-elevation-z0" [expanded]="true">
<mat-expansion-panel-header>
<mat-panel-title>
<mat-icon>assignment</mat-icon>
<div class="adf-accordion-title-padding">Tasks</div>
<div class="app-accordion-title-padding">Tasks</div>
</mat-panel-title>
</mat-expansion-panel-header>
<adf-task-filters [filterParam]="filterSelected"
@@ -33,7 +33,7 @@
</mat-expansion-panel>
</mat-accordion>
</div>
<div class="adf-grid-item adf-tasks-list" fxFlex.gt-md="380px"
<div class="app-grid-item app-tasks-list" fxFlex.gt-md="380px"
[ngClass.gt-md]="{'adf-small-pagination': true}"
*ngIf="taskFilter && !isStartTaskMode()">
<adf-tasklist
@@ -56,8 +56,8 @@
<!-- Custom column definition demo -->
<!-- <data-columns>
<data-column key="name" title="{{'ADF_TASK_LIST.PROPERTIES.NAME' | translate}}" class="adf-full-width name-column"></data-column>
<data-column key="created" title="{{'ADF_TASK_LIST.PROPERTIES.CREATED' | translate}}" class="adf-hidden"></data-column>
<data-column key="name" title="{{'ADF_TASK_LIST.PROPERTIES.NAME' | translate}}" class="app-full-width name-column"></data-column>
<data-column key="created" title="{{'ADF_TASK_LIST.PROPERTIES.CREATED' | translate}}" class="app-hidden"></data-column>
</data-columns> -->
</adf-tasklist>
@@ -69,8 +69,8 @@
#taskListPagination>
</adf-pagination>
</div>
<div class="adf-grid-item adf-tasks-details" *ngIf="!isStartTaskMode()" fxFlex.gt-md="1 1 auto"
data-automation-id="adf-tasks-details">
<div class="app-grid-item app-tasks-details" *ngIf="!isStartTaskMode()" fxFlex.gt-md="1 1 auto"
data-automation-id="app-tasks-details">
<adf-task-details #activitiDetails
[debugMode]="true"
[taskId]="currentTaskId"
@@ -100,7 +100,7 @@
</mat-card-content>
</mat-card>
</div>
<div class="adf-grid-item adf-tasks-start" *ngIf="isStartTaskMode()" fxFlex.gt-md="1 1 auto">
<div class="app-grid-item app-tasks-start" *ngIf="isStartTaskMode()" fxFlex.gt-md="1 1 auto">
<adf-start-task
[appId]="appId"
[name]="defaultTaskName"
@@ -113,10 +113,10 @@
</mat-tab>
<mat-tab id="processes-header" href="#processes"
label="{{'PS-TAB.PROCESSES-TAB' | translate}}">
<div class="adf-page-content" *ngIf="showProcessTab">
<div class="adf-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="adf-grid-item adf-processes-menu" fxFlex.gt-md="225px">
<div class="adf-list-buttons">
<div class="app-page-content" *ngIf="showProcessTab">
<div class="app-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="app-grid-item app-processes-menu" fxFlex.gt-md="225px">
<div class="app-list-buttons">
<adf-sidebar-action-menu [expanded]="true" [width]="205"
title="{{'ADF_SIDEBAR_ACTION_MENU.BUTTON.CREATE' | translate}}">
<mat-icon sidebar-menu-title-icon>arrow_drop_down</mat-icon>
@@ -129,12 +129,12 @@
</div>
</adf-sidebar-action-menu>
</div>
<mat-accordion class="adf-accordion-panel" [displayMode]="flat">
<mat-accordion class="app-accordion-panel" [displayMode]="flat">
<mat-expansion-panel class="mat-elevation-z0" [expanded]="true">
<mat-expansion-panel-header>
<mat-panel-title>
<mat-icon>assessment</mat-icon>
<div class="adf-accordion-title-padding">Processes</div>
<div class="app-accordion-title-padding">Processes</div>
</mat-panel-title>
</mat-expansion-panel-header>
<adf-process-instance-filters
@@ -149,7 +149,7 @@
</mat-expansion-panel>
</mat-accordion>
</div>
<div class="adf-grid-item adf-processes-list adf-list" fxFlex.gt-md="380px"
<div class="app-grid-item app-processes-list app-list" fxFlex.gt-md="380px"
[ngClass.gt-md]="{'adf-small-pagination': true}"
*ngIf="processFilter && !isStartProcessMode()">
<adf-process-instance-list
@@ -168,8 +168,8 @@
<!-- Custom column definition demo -->
<!-- <data-columns>
<data-column key="name" title="ADF_PROCESS_LIST.PROPERTIES.NAME" class="adf-full-width name-column"></data-column>
<data-column key="created" title="ADF_PROCESS_LIST.PROPERTIES.CREATED" class="adf-hidden"></data-column>
<data-column key="name" title="ADF_PROCESS_LIST.PROPERTIES.NAME" class="app-full-width name-column"></data-column>
<data-column key="created" title="ADF_PROCESS_LIST.PROPERTIES.CREATED" class="app-hidden"></data-column>
</data-columns> -->
</adf-process-instance-list>
@@ -180,7 +180,7 @@
#processListPagination>
</adf-pagination>
</div>
<div class="adf-grid-item adf-processes-details" *ngIf="!isStartProcessMode()" fxFlex.gt-md="1 1 auto">
<div class="app-grid-item app-processes-details" *ngIf="!isStartProcessMode()" fxFlex.gt-md="1 1 auto">
<adf-process-instance-details
#activitiProcessDetails
[processInstanceId]="currentProcessInstanceId"
@@ -208,7 +208,7 @@
</mat-card-content>
</mat-card>
</div>
<div class="adf-grid-item adf-processes-start" fxFlex.gt-md="1 1 auto"
<div class="app-grid-item app-processes-start" fxFlex.gt-md="1 1 auto"
*ngIf="isStartProcessMode()">
<adf-start-process
#activitiStartProcess
@@ -225,8 +225,8 @@
</mat-tab>
<mat-tab id="report-header" href="#report"
label="{{'PS-TAB.REPORTS-TAB' | translate}}">
<div class="adf-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="adf-grid-item adf-reports-menu" fxFlex.gt-md="300px">
<div class="app-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="app-grid-item app-reports-menu" fxFlex.gt-md="300px">
<span><h5>Report List</h5></span>
<mat-divider></mat-divider>
<adf-analytics-report-list
@@ -236,7 +236,7 @@
#analyticsReportList>
</adf-analytics-report-list>
</div>
<div class="adf-grid-item adf-reports-details" fxFlex.gt-md="1 1 auto">
<div class="app-grid-item app-reports-details" fxFlex.gt-md="1 1 auto">
<adf-analytics
*ngIf="report"
[appId]="appId"
@@ -254,11 +254,11 @@
</mat-tab>
<mat-tab id="settings-header" href="#settings"
label="{{'PS-TAB.SETTINGS-TAB' | translate}}">
<div class="adf-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="adf-grid-item adf-settings-menu" fxFlex.gt-md="300px">
<div class="app-grid" fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="app-grid-item app-settings-menu" fxFlex.gt-md="300px">
<span><h3>Settings Menu</h3></span>
</div>
<div class="adf-grid-item adf-settings-details" fxFlex.gt-md="1 1 auto">
<div class="app-grid-item app-settings-details" fxFlex.gt-md="1 1 auto">
<div>
<mat-slide-toggle id="adf-show-task-filter-icon" [(ngModel)]="showTaskFilterIcon">Show task filters icons
</mat-slide-toggle>
@@ -1,12 +1,12 @@
@mixin adf-process-service-component-theme($theme) {
.adf-no-form-container {
@mixin app-process-service-component-theme($theme) {
.app-no-form-container {
text-align: center;
font-weight: 600;
font-size: 18px;
}
.adf-grid {
.adf-grid-item {
.app-grid {
.app-grid-item {
margin: 4px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 3px 1px -2px rgba(0, 0, 0, 0.2),
@@ -14,19 +14,19 @@
padding: 10px;
}
.adf-list-buttons {
.app-list-buttons {
margin-bottom: 24px;
}
.adf-tasks-list.adf-small-pagination,
.adf-processes-list.adf-small-pagination {
.adf-pagination {
.app-tasks-list.app-small-pagination,
.app-processes-list.app-small-pagination {
.app-pagination {
flex-wrap: wrap;
padding-bottom: 24px;
padding-top: 8px;
&__range-block.adf-pagination__block:first-child {
&__range-block.app-pagination__block:first-child {
order: 1;
width: 60%;
flex: 0 0 auto;
@@ -61,8 +61,8 @@
}
}
.adf-list {
.adf-datatable-list {
.app-list {
.app-datatable-list {
border: none;
}
}
@@ -72,13 +72,13 @@
}
@media screen and ($mat-small) {
container-widget .adf-grid-list {
container-widget .app-grid-list {
flex-direction: column;
}
}
}
.adf-accordion-panel {
.app-accordion-panel {
.mat-expansion-panel {
background: inherit;
}
@@ -93,7 +93,7 @@
align-items: center;
}
.adf-accordion-title-padding {
.app-accordion-title-padding {
padding-left: 20px;
}
}
@@ -9,13 +9,13 @@
[taskId]="taskId"
(attachmentClick)="onAttachmentClick($event)">
<adf-empty-list>
<div adf-empty-list-header class="adf-empty-list-header">{{'ADF_TASK_LIST.ATTACHMENT.EMPTY.HEADER' | translate}}
<div adf-empty-list-header class="app-empty-list-header">{{'ADF_TASK_LIST.ATTACHMENT.EMPTY.HEADER' | translate}}
</div>
<div adf-empty-list-body>
<div fxHide.lt-md="true" class="adf-empty-list-drag_drop">
<div fxHide.lt-md="true" class="app-empty-list-drag_drop">
{{'ADF_TASK_LIST.ATTACHMENT.EMPTY.DRAG-AND-DROP.TITLE' | translate}}
</div>
<div fxHide.lt-md="true" class="adf-empty-list__any-files-here-to-add">
<div fxHide.lt-md="true" class="app-empty-list__any-files-here-to-add">
{{'ADF_TASK_LIST.ATTACHMENT.EMPTY.DRAG-AND-DROP.SUBTITLE' | translate}}
</div>
</div>
@@ -1,9 +1,9 @@
<div class="adf-report-issue">
<div class="app-report-issue">
<h1>Report Issue</h1>
<form class="adf-report-issue-form">
<form class="app-report-issue-form">
<mat-form-field>
<textarea matInput placeholder="Leave a comment" class="adf-report-issue-form-textarea"></textarea>
<textarea matInput placeholder="Leave a comment" class="app-report-issue-form-textarea"></textarea>
</mat-form-field>
</form>
<button mat-raised-button>Submit</button>
</div>
</div>
@@ -1,4 +1,4 @@
.adf-report-issue {
.app-report-issue {
margin: 50px 0;
display: flex;
flex-direction: column;
@@ -1,5 +1,5 @@
.adf-search-elements {
.app-search-elements {
display: flex;
align-items: center;
}
@@ -1,5 +1,5 @@
<div>
<div id="container-for-custom-input" class="adf-search-extended-input-containers">
<div id="container-for-custom-input" class="app-search-extended-input-containers">
<mat-form-field>
<label>{{'APP_LAYOUT.WORD_TO_SEARCH' | translate}}</label>
<input type="text" matInput
@@ -8,12 +8,12 @@
</div>
<div>
<adf-search #auto="searchAutocomplete"
class="adf-example-card-search-container">
class="app-example-card-search-container">
<ng-template let-data>
<mat-card class="adf-example-card"
<mat-card class="app-example-card"
*ngFor="let item of data?.list?.entries; let idx = index" (click)="onClick(item)">
<mat-card-header>
<div mat-card-avatar class="adf-example-header-image"></div>
<div mat-card-avatar class="app-example-header-image"></div>
<mat-card-title>{{ item?.entry.name }}</mat-card-title>
<mat-card-subtitle>{{ item?.entry.createdAt }}</mat-card-subtitle>
</mat-card-header>
@@ -24,8 +24,8 @@
</p>
</mat-card-content>
</mat-card>
<mat-card class="adf-example-card" id="search_no_result" *ngIf="data?.list?.entries.length === 0">
<p mat-line class="adf-search-fixed-text">{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm: searchedWord} }}</p>
<mat-card class="app-example-card" id="search_no_result" *ngIf="data?.list?.entries.length === 0">
<p mat-line class="app-search-fixed-text">{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm: searchedWord} }}</p>
</mat-card>
</ng-template>
</adf-search>
@@ -1,62 +1,61 @@
div.adf-search-results-container {
div.app-search-results-container {
padding: 0 20px 20px;
}
.adf-search-title {
.app-search-title {
font-size: 22px;
padding: 15px 0;
}
@media screen and (max-width: 600px) {
:host .adf-col-display-name {
:host .app-col-display-name {
min-width: 100px;
}
:host .adf-col-modified-at, :host .adf-col-modified-by {
:host .app-col-modified-at, :host .app-col-modified-by {
display: none;
}
:host div.adf-search-results-container table {
:host div.app-search-results-container table {
width: 100%;
}
}
.adf-search-results-content {
.app-search-results-content {
display: flex;
}
.adf-search-extended-input-containers {
.app-search-extended-input-containers {
display: flex;
flex-direction: row-reverse;
justify-content: space-evenly;
}
.adf-search-extended-input-textarea {
.app-search-extended-input-textarea {
width: 300px;
}
.adf-search-extended-label-error {
.app-search-extended-label-error {
display: flex;
flex-direction: column;
}
.adf-example-card {
.app-example-card {
width: 200px;
flex: 0 20%;
margin: 15px;
}
}
.adf-example-card-search-container {
.app-example-card-search-container {
display: flex;
flex-wrap: wrap;
}
.example-header-image {
}
.example-header-image {
background-size: cover;
margin-bottom: 15px;
}
}
.example-search-input {
width: 100px;
border: 1 solid;
border-color: black;
}
.example-search-input {
width: 100px;
border: 1 solid;
border-color: black;
}
@@ -1,13 +1,13 @@
<div class="adf-search-results__facets">
<div class="app-search-results__facets">
<adf-search-chip-list [searchFilter]="searchFilter" [clearAll]="true"></adf-search-chip-list>
</div>
<div class="adf-search-results">
<adf-search-filter class="adf-search-settings" #searchFilter></adf-search-filter>
<div class="app-search-results">
<adf-search-filter class="app-search-settings" #searchFilter></adf-search-filter>
<div class="adf-search-results__content">
<div class="app-search-results__content">
<mat-progress-bar *ngIf="isLoading" color="primary" mode="indeterminate"></mat-progress-bar>
<div class="adf-search-results__sorting">
<div class="app-search-results__sorting">
<adf-search-sorting-picker></adf-search-sorting-picker>
</div>
<app-files-component
@@ -1,8 +1,8 @@
.adf-search-results {
.app-search-results {
display: flex;
margin-left: 5px;
.adf-search-settings {
.app-search-settings {
width: 260px;
border: 1px solid #eee;
}
@@ -20,23 +20,23 @@
}
}
div.adf-search-results-container {
div.app-search-results-container {
padding: 0 20px 20px;
}
.adf-search-title {
.app-search-title {
font-size: 22px;
padding: 15px 0;
}
@media screen and (max-width: 600px) {
:host .adf-col-display-name {
:host .app-col-display-name {
min-width: 100px;
}
:host .adf-col-modified-at, :host .adf-col-modified-by {
:host .app-col-modified-at, :host .app-col-modified-by {
display: none;
}
:host div.adf-search-results-container table {
:host div.app-search-results-container table {
width: 100%;
}
}
@@ -17,7 +17,7 @@
import { Component, OnInit, Optional, OnDestroy } from '@angular/core';
import { Router, ActivatedRoute, Params } from '@angular/router';
import { NodePaging, Pagination, ResultSetPaging } from '@alfresco/js-api';
import { Pagination, ResultSetPaging } from '@alfresco/js-api';
import { SearchQueryBuilderService } from '@alfresco/adf-content-services';
import { UserPreferencesService, SearchService, AppConfigService } from '@alfresco/adf-core';
import { Subject } from 'rxjs';
@@ -33,7 +33,7 @@ export class SearchResultComponent implements OnInit, OnDestroy {
queryParamName = 'q';
searchedWord = '';
data: NodePaging;
data: ResultSetPaging;
pagination: Pagination;
isLoading = true;
@@ -1,4 +1,4 @@
.adf-shared-link-view {
.app-shared-link-view {
width: 100%;
height: 100%;
}
@@ -24,7 +24,7 @@ import { ActivatedRoute, Router } from '@angular/router';
styleUrls: [ 'shared-link-view.component.scss' ],
encapsulation: ViewEncapsulation.None,
// tslint:disable-next-line:use-host-property-decorator
host: { 'class': 'adf-shared-link-view' }
host: { 'class': 'app-shared-link-view' }
})
export class SharedLinkViewComponent implements OnInit {
@@ -2,17 +2,17 @@
<input id="nodeId" type="text" size="48" [(ngModel)]="nodeId"><br>
<div fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="adf-social-example-area" fxFlex.gt-md="1 1 auto">
<div class="app-social-example-area" fxFlex.gt-md="1 1 auto">
<mat-card>
<div class="adf-social-title">
<div class="app-social-title">
{{'SOCIAL.LIKE' | translate }}
</div>
<adf-like [nodeId]="nodeId"></adf-like>
</mat-card>
</div>
<div class="adf-social-example-area" fxFlex.gt-md="1 1 auto">
<div class="app-social-example-area" fxFlex.gt-md="1 1 auto">
<mat-card>
<div class="adf-social-title">
<div class="app-social-title">
{{'SOCIAL.RATING' | translate }}
</div>
<adf-rating [nodeId]="nodeId"></adf-rating>
@@ -1,8 +1,8 @@
.adf-social-example-area {
.app-social-example-area {
margin: 10px;
}
.adf-social-example-title {
.app-social-example-title {
padding-bottom: 12px;
}
@@ -4,22 +4,22 @@
<br>
<div fxLayout="row" fxLayout.lt-lg="column" fxLayoutAlign="stretch">
<div class="adf-tag-example-area" fxFlex.gt-md="1 1 auto">
<div class="app-tag-example-area" fxFlex.gt-md="1 1 auto">
<mat-card>
<adf-tag-node-actions-list [nodeId]="nodeId"></adf-tag-node-actions-list>
</mat-card>
</div>
<div class="adf-tag-example-area" fxFlex.gt-md="1 1 auto">
<div class="app-tag-example-area" fxFlex.gt-md="1 1 auto">
<mat-card>
<div class="adf-tag-example-title">
<div class="app-tag-example-title">
{{'TAG.LIST' | translate }}
</div>
<adf-tag-list></adf-tag-list>
</mat-card>
</div>
<div class="adf-tag-example-area" fxFlex.gt-md="1 1 auto">
<div class="app-tag-example-area" fxFlex.gt-md="1 1 auto">
<mat-card>
<div class="adf-tag-example-title">
<div class="app-tag-example-title">
{{'TAG.NODE_LIST' | translate }}
</div>
<adf-tag-node-list [showDelete]="showDelete" [nodeId]="nodeId"></adf-tag-node-list>
@@ -1,8 +1,8 @@
.adf-tag-example-area {
.app-tag-example-area {
margin: 10px;
}
.adf-tag-example-title {
.app-tag-example-title {
padding-bottom: 12px;
}
@@ -1,4 +1,4 @@
<div class="adf-task-list-demo-inputs">
<div class="app-task-list-demo-inputs">
<form [formGroup]="taskListForm">
<mat-form-field>
@@ -139,7 +139,7 @@
</mat-form-field>
</form>
</div>
<div class="adf-reset-button">
<div class="app-reset-button">
<button mat-raised-button (click)="resetTaskForm()">Reset</button>
</div>
@@ -162,7 +162,7 @@
#taskList>
<data-columns>
<data-column key="id" title="Id"></data-column>
<data-column key="assignee" title="Assignee" class="adf-full-width adf-name-column">
<data-column key="assignee" title="Assignee" class="adf-full-width app-name-column">
<ng-template let-entry="$implicit">
<div>{{entry.row.obj.assignee | fullName}}</div>
</ng-template>
@@ -1,4 +1,4 @@
.adf-task-list-demo-inputs {
.app-task-list-demo-inputs {
margin: 20px auto 0;
max-width: 1200px;
@@ -8,13 +8,13 @@
}
}
.adf-reset-button {
.app-reset-button {
margin-bottom: 50px;
display: flex;
justify-content: center;
}
.adf-task-list-demo-error-message {
.app-task-list-demo-error-message {
color: red;
text-align: center;
}
@@ -2,7 +2,7 @@
<mat-icon>format_color_fill</mat-icon>
</button>
<mat-menu class="docs-theme-picker-menu adf-menu" #themeMenu="matMenu" x-position="before">
<mat-menu class="docs-theme-picker-menu app-menu" #themeMenu="matMenu" x-position="before">
<button *ngFor="let theme of themes" [attr.data-automation-id]="theme.name" mat-menu-item (click)="installTheme(theme)" >
<mat-icon mat-list-icon [matTooltip]="theme.name" class="docs-theme-chosen-icon" [style.color]="theme.accent"
[style.background]="theme.primary"
@@ -8,12 +8,12 @@
CLICKED NODE: {{clickedNodeName}}
</span>
<adf-tree-view-list *ngIf="!errorMessage; else erroOccurred"
<adf-tree-view-list *ngIf="!errorMessage; else errorOccurred"
[nodeId]="nodeIdSample"
(nodeClicked)="onClick($event)"
(error)="onErrorOccurred($event)">
</adf-tree-view-list>
<ng-template #erroOccurred>
<ng-template #errorOccurred>
<span>An Error Occurred </span>
<span>{{errorMessage}}</span>
</ng-template>
@@ -25,7 +25,7 @@ import { Component } from '@angular/core';
export class TreeViewSampleComponent {
clickedNodeName: string = '';
errorMessage = '';
errorMessage: string = '';
nodeIdSample: string = '-my-';
@@ -38,7 +38,7 @@ export class TreeViewSampleComponent {
this.errorMessage = '';
}
onErrorOccurred(error) {
onErrorOccurred(error: string) {
this.clickedNodeName = '';
this.errorMessage = error;
}
+6 -6
View File
@@ -4,9 +4,9 @@
@import './app/components/process-service/process-service.component.scss';
@import '../../lib/content-services/styles/index';
@import '../../lib/content-services/src/lib/styles/index';
@import '../../lib/process-services/src/lib/styles/index';
@import '../../lib/insights/styles/index';
@import '../../lib/insights/src/lib/styles/index';
@import '../../lib/core/styles/index';
@import '../../lib/process-services-cloud/src/lib/styles/index';
@@ -20,10 +20,10 @@ $warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include adf-app-layout-theme($theme);
@include adf-file-component-theme($theme);
@include adf-login-component-theme($theme);
@include adf-process-service-component-theme($theme);
@include app-layout-theme($theme);
@include app-file-component-theme($theme);
@include app-login-component-theme($theme);
@include app-process-service-component-theme($theme);
@include adf-content-services-theme($theme);

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