diff --git a/lib/content-services/src/lib/common/services/saved-searches.service.spec.ts b/lib/content-services/src/lib/common/services/saved-searches.service.spec.ts index 854bbe99e80..74a58c3ddbb 100644 --- a/lib/content-services/src/lib/common/services/saved-searches.service.spec.ts +++ b/lib/content-services/src/lib/common/services/saved-searches.service.spec.ts @@ -39,7 +39,6 @@ describe('SavedSearchesService', () => { /** * Creates a stub with Promise returning a Blob - * * @returns Promise with Blob */ function createBlob() { diff --git a/lib/content-services/src/lib/common/services/saved-searches.service.ts b/lib/content-services/src/lib/common/services/saved-searches.service.ts index 33eea246a23..6dcd5bdc04b 100644 --- a/lib/content-services/src/lib/common/services/saved-searches.service.ts +++ b/lib/content-services/src/lib/common/services/saved-searches.service.ts @@ -53,7 +53,6 @@ export class SavedSearchesService { /** * Gets a list of saved searches by user. - * * @returns SavedSearch list containing user saved searches */ getSavedSearches(): Observable { @@ -76,7 +75,6 @@ export class SavedSearchesService { /** * Saves a new search into state and updates state. If there are less than 5 searches, * it will be pushed on first place, if more it will be pushed to 6th place. - * * @param newSaveSearch object { name: string, description: string, encodedUrl: string } * @returns NodeEntry */ @@ -113,7 +111,6 @@ export class SavedSearchesService { /** * Replace Save Search with new one and also updates the state. - * * @param updatedSavedSearch - updated Save Search * @returns NodeEntry */ @@ -140,7 +137,6 @@ export class SavedSearchesService { /** * Deletes Save Search and update state. - * * @param deletedSavedSearch - Save Search to delete * @returns NodeEntry */ @@ -171,7 +167,6 @@ export class SavedSearchesService { /** * Reorders saved search place - * * @param previousIndex - previous index of saved search * @param currentIndex - new index of saved search */ diff --git a/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata-header.component.ts b/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata-header.component.ts index 9c92a76833b..58a7c0217d0 100644 --- a/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata-header.component.ts +++ b/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata-header.component.ts @@ -48,7 +48,7 @@ import { TranslateModule } from '@ngx-translate/core'; {{ expanded ? 'expand_more' : 'chevron_right' }} - + ` }) diff --git a/lib/content-services/src/lib/document-list/components/document-list.component.html b/lib/content-services/src/lib/document-list/components/document-list.component.html index f7f46b3f693..e63bdae3cfe 100644 --- a/lib/content-services/src/lib/document-list/components/document-list.component.html +++ b/lib/content-services/src/lib/document-list/components/document-list.component.html @@ -48,7 +48,7 @@ - + @@ -58,7 +58,7 @@ error

{{ 'ADF-DOCUMENT-LIST.NO_PERMISSION' | translate }}

- + @@ -72,7 +72,7 @@ [color]="'primary'" [mode]="'indeterminate'" /> - + diff --git a/lib/content-services/src/lib/search/components/empty-search-result.component.html b/lib/content-services/src/lib/search/components/empty-search-result.component.html index 18b0bb114f1..40de9570cb4 100644 --- a/lib/content-services/src/lib/search/components/empty-search-result.component.html +++ b/lib/content-services/src/lib/search/components/empty-search-result.component.html @@ -1,3 +1,3 @@
- +
diff --git a/lib/content-services/src/lib/search/components/search-control.component.html b/lib/content-services/src/lib/search/components/search-control.component.html index b3f3317beb4..a3dbe33f865 100644 --- a/lib/content-services/src/lib/search/components/search-control.component.html +++ b/lib/content-services/src/lib/search/components/search-control.component.html @@ -50,8 +50,7 @@ *ngIf="data?.list?.entries.length === 0"> - + *ngIf="isNoSearchTemplatePresent() else defaultNoResult" />

{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm: searchTerm} }}

diff --git a/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html b/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html index aba89558cde..91e96430d0f 100644 --- a/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html +++ b/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-chips.component.html @@ -15,5 +15,5 @@ - + diff --git a/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-menu-card/search-filter-menu-card.component.html b/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-menu-card/search-filter-menu-card.component.html index 46d36869542..c44c824abdd 100644 --- a/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-menu-card/search-filter-menu-card.component.html +++ b/lib/content-services/src/lib/search/components/search-filter-chips/search-filter-menu-card/search-filter-menu-card.component.html @@ -1,6 +1,6 @@
- +
diff --git a/lib/content-services/src/lib/search/components/search.component.html b/lib/content-services/src/lib/search/components/search.component.html index d6e64b04ce4..13dc78e0232 100644 --- a/lib/content-services/src/lib/search/components/search.component.html +++ b/lib/content-services/src/lib/search/components/search.component.html @@ -2,6 +2,5 @@ [ngClass]="_classList" #panel> - + [ngTemplateOutletContext]="{ $implicit: results }" />
diff --git a/lib/content-services/src/lib/search/services/base-query-builder.service.ts b/lib/content-services/src/lib/search/services/base-query-builder.service.ts index 42ca177c295..e2719f5b093 100644 --- a/lib/content-services/src/lib/search/services/base-query-builder.service.ts +++ b/lib/content-services/src/lib/search/services/base-query-builder.service.ts @@ -199,7 +199,6 @@ export abstract class BaseQueryBuilderService { /** * Adds a facet bucket to a field. - * * @param field The target field * @param bucket Bucket to add */ @@ -216,7 +215,6 @@ export abstract class BaseQueryBuilderService { /** * Gets the buckets currently added to a field - * * @param field The target fields * @returns Bucket array */ @@ -226,7 +224,6 @@ export abstract class BaseQueryBuilderService { /** * Removes an existing bucket from a field. - * * @param field The target field * @param bucket Bucket to remove */ @@ -239,7 +236,6 @@ export abstract class BaseQueryBuilderService { /** * Adds a filter query to the current query. - * * @param query Query string to add */ addFilterQuery(query: string): void { @@ -253,7 +249,6 @@ export abstract class BaseQueryBuilderService { /** * Removes an existing filter query. - * * @param query The query to remove */ removeFilterQuery(query: string): void { @@ -264,7 +259,6 @@ export abstract class BaseQueryBuilderService { /** * Gets a facet query by label. - * * @param label Label of the query * @returns Facet query data */ @@ -280,7 +274,6 @@ export abstract class BaseQueryBuilderService { /** * Gets a facet field by label. - * * @param label Label of the facet field * @returns Facet field data */ @@ -306,7 +299,6 @@ export abstract class BaseQueryBuilderService { /** * Builds the current query and triggers the `updated` event. - * * @param queryBody query settings */ update(queryBody?: SearchRequest): void { @@ -316,7 +308,6 @@ export abstract class BaseQueryBuilderService { /** * Builds and executes the current query. - * * @param updateQueryParams whether query params should be updated with encoded query * @param queryBody query settings */ @@ -356,7 +347,6 @@ export abstract class BaseQueryBuilderService { /** * Builds the current query. - * * @returns The finished query */ buildQuery(): SearchRequest { @@ -397,7 +387,6 @@ export abstract class BaseQueryBuilderService { /** * Gets the primary sorting definition. - * * @returns The primary sorting definition */ getPrimarySorting(): SearchSortingDefinition { @@ -409,7 +398,6 @@ export abstract class BaseQueryBuilderService { /** * Gets all pre-configured sorting options that users can choose from. - * * @returns Pre-configured sorting options */ getSortingOptions(): SearchSortingDefinition[] { @@ -418,7 +406,6 @@ export abstract class BaseQueryBuilderService { /** * Gets the query group. - * * @param query Target query * @returns Query group */ @@ -428,7 +415,6 @@ export abstract class BaseQueryBuilderService { /** * Checks if FacetQueries has been defined - * * @returns True if defined, false otherwise */ get hasFacetQueries(): boolean { @@ -437,7 +423,6 @@ export abstract class BaseQueryBuilderService { /** * Checks if FacetIntervals has been defined - * * @returns True if defined, false otherwise */ get hasFacetIntervals(): boolean { @@ -558,7 +543,6 @@ export abstract class BaseQueryBuilderService { /** * Encloses a label name with double quotes if it contains whitespace characters. - * * @param configLabel Original label text * @returns Label, possibly with quotes if it contains spaces */ @@ -591,7 +575,6 @@ export abstract class BaseQueryBuilderService { /** * Builds search query with provided user query, executes query, encodes latest filter config and navigates to search. - * * @param query user query to search for * @param searchUrl search url to navigate to */ diff --git a/lib/content-services/src/lib/tree/components/tree.component.html b/lib/content-services/src/lib/tree/components/tree.component.html index 80914b510bf..bb38c407a71 100644 --- a/lib/content-services/src/lib/tree/components/tree.component.html +++ b/lib/content-services/src/lib/tree/components/tree.component.html @@ -99,8 +99,7 @@ - + [ngTemplateOutletContext]="{ node: node }" /> @@ -109,8 +108,7 @@ - - + diff --git a/lib/content-services/src/lib/upload/components/file-uploading-list.component.html b/lib/content-services/src/lib/upload/components/file-uploading-list.component.html index 91a4d358d88..0b0e0f821ec 100644 --- a/lib/content-services/src/lib/upload/components/file-uploading-list.component.html +++ b/lib/content-services/src/lib/upload/components/file-uploading-list.component.html @@ -2,6 +2,5 @@ - + [ngForTemplate]="template" /> diff --git a/lib/content-services/src/lib/upload/components/upload-drag-area.component.html b/lib/content-services/src/lib/upload/components/upload-drag-area.component.html index f3381efed44..aeec28ce4d7 100644 --- a/lib/content-services/src/lib/upload/components/upload-drag-area.component.html +++ b/lib/content-services/src/lib/upload/components/upload-drag-area.component.html @@ -3,5 +3,5 @@ (folderEntityDropped)="onFolderEntityDropped($event)" (upload-files)="onUploadFiles($any($event))" dropzone="" webkitdropzone="*" #droparea> - + diff --git a/lib/content-services/src/lib/viewer/components/alfresco-viewer.component.html b/lib/content-services/src/lib/viewer/components/alfresco-viewer.component.html index 3dc32a94433..220061cbe10 100644 --- a/lib/content-services/src/lib/viewer/components/alfresco-viewer.component.html +++ b/lib/content-services/src/lib/viewer/components/alfresco-viewer.component.html @@ -33,23 +33,23 @@ (submitFile)="onSubmitFile($event)"> - + - + - + - + - + diff --git a/lib/process-services-cloud/src/lib/app/components/app-details-cloud.component.ts b/lib/process-services-cloud/src/lib/app/components/app-details-cloud.component.ts index 93493f96a47..82e6acd14d4 100644 --- a/lib/process-services-cloud/src/lib/app/components/app-details-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/app/components/app-details-cloud.component.ts @@ -35,7 +35,6 @@ export class AppDetailsCloudComponent { /** * Pass the selected app as next - * * @param app application model */ onSelectApp(app: ApplicationInstanceModel): void { @@ -44,7 +43,6 @@ export class AppDetailsCloudComponent { /** * Get application instance theme - * * @returns the name of the theme */ getTheme(): string { @@ -53,7 +51,6 @@ export class AppDetailsCloudComponent { /** * Get application instance icon - * * @returns the name of the icon */ getIcon(): string { diff --git a/lib/process-services-cloud/src/lib/app/components/app-list-cloud.component.ts b/lib/process-services-cloud/src/lib/app/components/app-list-cloud.component.ts index 35a0ee41ee6..b403b9b54a7 100644 --- a/lib/process-services-cloud/src/lib/app/components/app-list-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/app/components/app-list-cloud.component.ts @@ -78,7 +78,6 @@ export class AppListCloudComponent implements OnInit, AfterContentInit { /** * Check if the value of the layoutType property is an allowed value - * * @returns `true` if layout type is valid, otherwise `false` */ isValidType(): boolean { @@ -97,7 +96,6 @@ export class AppListCloudComponent implements OnInit, AfterContentInit { /** * Check if the layout type is LIST - * * @returns `true` if the layout is list, otherwise `false` */ isList(): boolean { @@ -106,7 +104,6 @@ export class AppListCloudComponent implements OnInit, AfterContentInit { /** * Check if the layout type is GRID - * * @returns `true` if layout is grid, otherwise `false` */ isGrid(): boolean { diff --git a/lib/process-services-cloud/src/lib/app/services/apps-process-cloud.service.ts b/lib/process-services-cloud/src/lib/app/services/apps-process-cloud.service.ts index 5d907846b4e..0acc849b9ef 100644 --- a/lib/process-services-cloud/src/lib/app/services/apps-process-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/app/services/apps-process-cloud.service.ts @@ -34,7 +34,6 @@ export class AppsProcessCloudService { /** * Gets a list of deployed apps for this user by status. - * * @param status Required status value * @param role to filter the apps * @returns The list of deployed apps diff --git a/lib/process-services-cloud/src/lib/form/components/form-cloud.component.spec.ts b/lib/process-services-cloud/src/lib/form/components/form-cloud.component.spec.ts index f3f84be0e65..e35d91f58b1 100644 --- a/lib/process-services-cloud/src/lib/form/components/form-cloud.component.spec.ts +++ b/lib/process-services-cloud/src/lib/form/components/form-cloud.component.spec.ts @@ -1229,7 +1229,6 @@ describe('FormCloudComponent', () => { /** * Helper function for loading the form in the tests - * * @param form The form model to be loaded */ async function loadForm(form?: any): Promise { diff --git a/lib/process-services-cloud/src/lib/form/components/form-cloud.component.ts b/lib/process-services-cloud/src/lib/form/components/form-cloud.component.ts index 676e5467821..225837b6c51 100644 --- a/lib/process-services-cloud/src/lib/form/components/form-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/form/components/form-cloud.component.ts @@ -404,7 +404,6 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges, /** * Get custom set of outcomes for a Form Definition. - * * @param form Form definition model. * @returns list of form outcomes */ diff --git a/lib/process-services-cloud/src/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.ts b/lib/process-services-cloud/src/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.ts index c8a293cb141..21882df02a5 100644 --- a/lib/process-services-cloud/src/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.ts +++ b/lib/process-services-cloud/src/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.ts @@ -78,7 +78,7 @@ export class PropertiesViewerWrapperComponent implements OnInit, OnChanges { constructor(private nodesApiService: NodesApiService) {} ngOnChanges(changes: SimpleChanges): void { - if (changes?.['nodeId'] && changes['nodeId'].currentValue && !changes['nodeId'].isFirstChange()) { + if (changes?.['nodeId']?.currentValue && !changes['nodeId'].isFirstChange()) { this.getNode(changes['nodeId'].currentValue); } } diff --git a/lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts b/lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts index 06f10c7e381..c42098d18c5 100644 --- a/lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts @@ -46,7 +46,6 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi /** * Gets the form definition of a task. - * * @param appName Name of the app * @param taskId ID of the target task * @param version Version of the form @@ -73,7 +72,6 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi /** * Saves a task form. - * * @param appName Name of the app * @param taskId ID of the target task * @param processInstanceId ID of processInstance @@ -113,7 +111,6 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi /** * Completes a task form. - * * @param appName Name of the app * @param taskId ID of the target task * @param processInstanceId ID of processInstance @@ -142,7 +139,6 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi /** * Gets details of a task - * * @param appName Name of the app * @param taskId ID of the target task * @returns Details of the task @@ -157,7 +153,6 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi /** * Gets the variables of a task. - * * @param appName Name of the app * @param taskId ID of the target task * @returns Task variables @@ -182,7 +177,6 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi /** * Gets a form definition. - * * @param appName Name of the app * @param formKey key of the target task * @param version Version of the form @@ -206,7 +200,6 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi /** * Parses JSON data to create a corresponding form. - * * @param json JSON data to create the form * @param data Values for the form's fields * @param readOnly Toggles whether or not the form should be read-only diff --git a/lib/process-services-cloud/src/lib/form/services/form-definition-selector-cloud.service.ts b/lib/process-services-cloud/src/lib/form/services/form-definition-selector-cloud.service.ts index e40acf28743..5301c312bc2 100644 --- a/lib/process-services-cloud/src/lib/form/services/form-definition-selector-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/form/services/form-definition-selector-cloud.service.ts @@ -28,7 +28,6 @@ import { FormDefinitionSelectorCloudServiceInterface } from './form-definition-s export class FormDefinitionSelectorCloudService extends BaseCloudService implements FormDefinitionSelectorCloudServiceInterface { /** * Get all forms of an app. - * * @param appName Name of the application * @returns Details of the forms */ @@ -42,7 +41,6 @@ export class FormDefinitionSelectorCloudService extends BaseCloudService impleme /** * Get all forms of an app. - * * @param appName Name of the application * @returns Details of the forms */ diff --git a/lib/process-services-cloud/src/lib/group/components/group-cloud.component.html b/lib/process-services-cloud/src/lib/group/components/group-cloud.component.html index f949b7f99b8..618e1d34062 100644 --- a/lib/process-services-cloud/src/lib/group/components/group-cloud.component.html +++ b/lib/process-services-cloud/src/lib/group/components/group-cloud.component.html @@ -1,6 +1,6 @@
- + { /** * search group by value - * * @param value element input value */ async function searchGroup(value: string) { @@ -51,7 +50,6 @@ describe('GroupCloudComponent', () => { /** * search group and invoke the blur event - * * @param value value */ async function searchGroupsAndBlur(value: string) { @@ -63,7 +61,6 @@ describe('GroupCloudComponent', () => { /** * get the group list UI - * * @returns a list of debug elements */ function getGroupListUI(): DebugElement[] { diff --git a/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html b/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html index 2c493a7c320..cc90f258fb2 100644 --- a/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html +++ b/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html @@ -6,7 +6,7 @@ class="adf-people-cloud" [class.adf-invalid]="hasError() && isDirty()" > - + {{ title | translate }} { /** * Search users by value - * * @param value value */ async function searchUsers(value: string) { @@ -53,7 +52,6 @@ describe('PeopleCloudComponent', () => { /** * Search users and blur the input - * * @param value value */ async function searchUsersAndBlur(value: string) { @@ -65,7 +63,6 @@ describe('PeopleCloudComponent', () => { /** * Get users list UI - * * @returns list of debug elements */ function getUsersListUI(): DebugElement[] { @@ -74,7 +71,6 @@ describe('PeopleCloudComponent', () => { /** * Get the first user from the list - * * @returns native element */ function getFirstUserFromListUI(): Element { diff --git a/lib/process-services-cloud/src/lib/people/services/identity-user.service.ts b/lib/process-services-cloud/src/lib/people/services/identity-user.service.ts index 385fdfcac39..99000e6972f 100644 --- a/lib/process-services-cloud/src/lib/people/services/identity-user.service.ts +++ b/lib/process-services-cloud/src/lib/people/services/identity-user.service.ts @@ -34,7 +34,6 @@ export class IdentityUserService implements IdentityUserServiceInterface { /** * Gets the name and other basic details of the current user. - * * @returns The user's details */ public getCurrentUserInfo(): IdentityUserModel { @@ -47,7 +46,6 @@ export class IdentityUserService implements IdentityUserServiceInterface { /** * Search users based on name input and filters. - * * @param name Search query string * @param [filters] Search query filters * @returns List of users diff --git a/lib/process-services-cloud/src/lib/process/process-filters/components/edit-process-filter-cloud.component.ts b/lib/process-services-cloud/src/lib/process/process-filters/components/edit-process-filter-cloud.component.ts index 3000825c23e..3f142ced146 100644 --- a/lib/process-services-cloud/src/lib/process/process-filters/components/edit-process-filter-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/process/process-filters/components/edit-process-filter-cloud.component.ts @@ -485,7 +485,6 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes /** * Delete a process instance filter - * * @param deleteAction filter action */ delete(deleteAction: ProcessFilterAction) { @@ -504,7 +503,6 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes /** * Save As a process instance filter - * * @param saveAsAction filter action */ saveAs(saveAsAction: ProcessFilterAction) { @@ -550,7 +548,6 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes /** * Get sanitized filter name - * * @param filterName filter name * @returns sanitized filter name */ @@ -561,7 +558,6 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes /** * Return name with hyphen - * * @param name name * @returns updated value */ diff --git a/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters-cloud.component.ts b/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters-cloud.component.ts index 78eb2f5de7d..36c932e0dc4 100644 --- a/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters-cloud.component.ts @@ -102,7 +102,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Fetch the filter list based on appName - * * @param appName application name */ getFilters(appName: string): void { @@ -132,7 +131,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Pass the selected filter as next - * * @param paramFilter filter model */ selectFilter(paramFilter: FilterParamsModel) { @@ -154,7 +152,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Check equality of the filter names by translating the given name strings - * * @param name1 source name * @param name2 target name * @returns `true` if filter names are equal, otherwise `false` @@ -168,7 +165,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Selects and emits the given filter - * * @param newParamFilter new parameter filter */ selectFilterAndEmit(newParamFilter: FilterParamsModel) { @@ -182,7 +178,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Select filter with the id - * * @param id filter id */ selectFilterById(id: string) { @@ -191,7 +186,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Selects and emits the clicked filter - * * @param filter filter model */ onFilterClick(filter: ProcessFilterCloudModel) { @@ -216,7 +210,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Get current filter - * * @returns filter model */ getCurrentFilter(): ProcessFilterCloudModel { @@ -225,7 +218,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Check if the filter list is empty - * * @returns `true` if filter list is empty, otherwise `false` */ isFilterListEmpty(): boolean { @@ -271,7 +263,6 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges, OnDestro /** * Get current value for filter and check if value has changed - * * @param filter filter */ updateFilterCounter(filter: ProcessFilterCloudModel): void { diff --git a/lib/process-services-cloud/src/lib/process/process-filters/services/process-filter-cloud.service.ts b/lib/process-services-cloud/src/lib/process/process-filters/services/process-filter-cloud.service.ts index 729a9734d87..a3a0f1c2b56 100644 --- a/lib/process-services-cloud/src/lib/process/process-filters/services/process-filter-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/process/process-filters/services/process-filter-cloud.service.ts @@ -114,7 +114,6 @@ export class ProcessFilterCloudService { /** * Creates and returns the default process instance filters for a app. - * * @param appName Name of the target app */ private createDefaultFilters(appName: string): void { @@ -141,7 +140,6 @@ export class ProcessFilterCloudService { /** * Gets all process instance filters for a process app. - * * @param appName Name of the target app * @returns Observable of process filters details */ @@ -152,7 +150,6 @@ export class ProcessFilterCloudService { /** * Get process instance filter for given filter id - * * @param appName Name of the target app * @param id Id of the target process instance filter * @returns Observable of process instance filter details @@ -173,7 +170,6 @@ export class ProcessFilterCloudService { /** * Adds a new process instance filter - * * @param newFilter The new filter to add * @returns Observable of process instance filters with newly added filter */ @@ -204,7 +200,6 @@ export class ProcessFilterCloudService { /** * Update process instance filter - * * @param updatedFilter The new filter to update * @returns Observable of process instance filters with updated filter */ @@ -229,7 +224,6 @@ export class ProcessFilterCloudService { /** * Delete process instance filter - * * @param deletedFilter The new filter to delete * @returns Observable of process instance filters without deleted filter */ @@ -254,7 +248,6 @@ export class ProcessFilterCloudService { /** * Checks if given filter is a default filter - * * @param filterName Name of the target process filter * @returns Boolean value for whether the filter is a default filter */ @@ -267,7 +260,6 @@ export class ProcessFilterCloudService { * Reset the process filters to the default configuration if it exists and stores it. * If there is no default configuration for the process cloud filter with the provided filter name, * then it changes nothing but stores the current values of the filter - * * @param appName Name of the target app * @param filter The process filter to be restored to defaults * @returns Observable of process filters details @@ -281,7 +273,6 @@ export class ProcessFilterCloudService { /** * Checks user preference are empty or not - * * @param preferences User preferences of the target app * @returns Boolean value if the preferences are not empty */ @@ -291,7 +282,6 @@ export class ProcessFilterCloudService { /** * Checks for process instance filters in given user preferences - * * @param preferences User preferences of the target app * @param key Key of the process instance filters * @returns Boolean value if the preference has process instance filters @@ -303,7 +293,6 @@ export class ProcessFilterCloudService { /** * Calls create preference api to create process instance filters - * * @param appName Name of the target app * @param key Key of the process instance filters * @param filters Details of new process instance filter @@ -315,7 +304,6 @@ export class ProcessFilterCloudService { /** * Calls get preference api to get process instance filter by preference key - * * @param appName Name of the target app * @param key Key of the process instance filters * @returns Observable of process instance filters @@ -326,7 +314,6 @@ export class ProcessFilterCloudService { /** * Calls update preference api to update process instance filter - * * @param appName Name of the target app * @param key Key of the process instance filters * @param filters Details of update filter @@ -338,7 +325,6 @@ export class ProcessFilterCloudService { /** * Creates a uniq key with appName and username - * * @param appName Name of the target app * @returns String of process instance filters preference key */ @@ -349,7 +335,6 @@ export class ProcessFilterCloudService { /** * Finds and returns the process instance filters from preferences - * * @returns Array of ProcessFilterCloudModel * @param preferences preferences * @param key key @@ -365,7 +350,6 @@ export class ProcessFilterCloudService { /** * Creates and returns the default filters for a process app. - * * @param appName Name of the target app * @returns Array of ProcessFilterCloudModel */ @@ -409,7 +393,6 @@ export class ProcessFilterCloudService { /** * Refresh filter key - * * @param filterKey Key of the filter */ refreshFilter(filterKey: string): void { @@ -422,7 +405,6 @@ export class ProcessFilterCloudService { * If the new property is not found, it is created and assigned the value constructed from the old property. * The filters are then updated in the preferences and returned. * Old properties are left untouched for purposes like feature toggling. - * * @param appName Name of the target app. * @param key Key of the process filters. * @param filters Array of process filters to be checked for backward compatibility. diff --git a/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.html b/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.html index 4cc2ddb93b6..b87b406f72f 100644 --- a/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.html +++ b/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.html @@ -30,7 +30,7 @@ class="adf-cloud-process-list-loading-margin" [color]="'primary'" [mode]="'indeterminate'" /> - + @@ -39,7 +39,7 @@ icon="assessment" [title]="'ADF_CLOUD_PROCESS_LIST.MESSAGES.TITLE' | translate" [subtitle]="'ADF_CLOUD_PROCESS_LIST.MESSAGES.SUBTITLE'| translate" /> - + diff --git a/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.spec.ts b/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.spec.ts index 2e0d0760eb6..8c83f71dcc2 100644 --- a/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.spec.ts +++ b/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.spec.ts @@ -79,7 +79,7 @@ describe('ProcessListCloudComponent', () => { const configureTestingModule = (providers: any[]) => { TestBed.configureTestingModule({ imports: [ProcessServiceCloudTestingModule], - providers: providers + providers }); appConfig = TestBed.inject(AppConfigService); processListCloudService = TestBed.inject(ProcessListCloudService); diff --git a/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.ts b/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.ts index 6078d098b31..46090d66f9e 100644 --- a/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/process/process-list/components/process-list-cloud.component.ts @@ -66,9 +66,7 @@ const PRESET_KEY = 'adf-cloud-process-list.presets'; styleUrls: ['./process-list-cloud.component.scss'], encapsulation: ViewEncapsulation.None }) -export class ProcessListCloudComponent -extends DataTableSchema -implements OnChanges, AfterContentInit, PaginatedComponent, OnDestroy { +export class ProcessListCloudComponent extends DataTableSchema implements OnChanges, AfterContentInit, PaginatedComponent, OnDestroy { @ViewChild(DataTableComponent) dataTable: DataTableComponent; @@ -426,7 +424,6 @@ implements OnChanges, AfterContentInit, PaginatedComponent, OnDestroy { /** * Resets the pagination values and * Reloads the process list - * * @param pagination Pagination values to be set */ updatePagination(pagination: PaginationModel) { diff --git a/lib/process-services-cloud/src/lib/process/process-list/services/process-list-cloud.service.ts b/lib/process-services-cloud/src/lib/process/process-list/services/process-list-cloud.service.ts index 5e83f84e875..09f8eecba7e 100644 --- a/lib/process-services-cloud/src/lib/process/process-list/services/process-list-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/process/process-list/services/process-list-cloud.service.ts @@ -55,7 +55,6 @@ export class ProcessListCloudService extends BaseCloudService { /** * Finds a process using an object with optional query properties. - * * @deprecated From Activiti 8.7.0 forward, use ProcessListCloudService.fetchProcessList instead. * @param requestNode Query object * @param queryUrl Query url @@ -71,7 +70,6 @@ export class ProcessListCloudService extends BaseCloudService { /** * Available from Activiti version 8.7.0 onwards. * Retrieves a list of processes using an object with optional query properties. - * * @param requestNode Query object * @param queryUrl Query url * @returns List of processes @@ -117,7 +115,7 @@ export class ProcessListCloudService extends BaseCloudService { completedTo: requestNode.completedTo, suspendedFrom: requestNode.suspendedFrom, suspendedTo: requestNode.suspendedTo, - variableKeys: variableKeys + variableKeys }; Object.keys(queryData).forEach((key) => { @@ -140,7 +138,6 @@ export class ProcessListCloudService extends BaseCloudService { /** * Finds a process using an object with optional query properties. - * * @param appName app name * @param status filter status * @returns Total items @@ -182,7 +179,6 @@ export class ProcessListCloudService extends BaseCloudService { /** * Finds a process using an object with optional query properties in admin app. - * * @param requestNode Query object * @param queryUrl Query url * @returns Process information diff --git a/lib/process-services-cloud/src/lib/process/services/process-cloud.service.ts b/lib/process-services-cloud/src/lib/process/services/process-cloud.service.ts index a6670ea93e0..df0141794ac 100644 --- a/lib/process-services-cloud/src/lib/process/services/process-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/process/services/process-cloud.service.ts @@ -32,7 +32,6 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou /** * Gets details of a process instance. - * * @param appName Name of the app * @param processInstanceId ID of the process instance whose details you want * @returns Process instance details @@ -54,7 +53,6 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou /** * Gets the process definitions associated with an app. - * * @param appName Name of the target app * @returns Array of process definitions */ @@ -70,7 +68,6 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou /** * Gets the application versions associated with an app. - * * @param appName Name of the target app * @returns Array of Application Version Models */ @@ -86,7 +83,6 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou /** * Cancels a process. - * * @param appName Name of the app * @param processInstanceId Id of the process to cancel * @returns Operation Information diff --git a/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.html b/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.html index 8ed224561e6..e173bcdec3c 100755 --- a/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.html +++ b/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.html @@ -88,8 +88,7 @@ (formLoaded)="onFormLoaded($event)" (executeOutcome)="onCustomOutcomeClicked($event.outcome.name)"> - - + diff --git a/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.spec.ts b/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.spec.ts index cc1ca744d5e..5b70b232da3 100755 --- a/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.spec.ts +++ b/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.spec.ts @@ -126,7 +126,6 @@ describe('StartProcessCloudComponent', () => { /** * Setup the component with the given start event information. - * * @param values the values for the form * @param staticValues the static values retrieved from the API for the form * @param constantValues the constant values retrieved from the API for customising the buttons diff --git a/lib/process-services-cloud/src/lib/process/start-process/services/start-process-cloud.service.ts b/lib/process-services-cloud/src/lib/process/start-process/services/start-process-cloud.service.ts index 37bdc98a989..5f5afc3c1de 100755 --- a/lib/process-services-cloud/src/lib/process/start-process/services/start-process-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/process/start-process/services/start-process-cloud.service.ts @@ -34,7 +34,6 @@ export interface QueryParams { export class StartProcessCloudService extends BaseCloudService { /** * Gets the process definitions associated with an app. - * * @param appName Name of the target app * @param queryParams optional query parameters * @returns Array of process definitions @@ -53,7 +52,6 @@ export class StartProcessCloudService extends BaseCloudService { /** * Starts a process based on a process definition, name, form values or variables. - * * @param appName name of the Application * @param payload Details of the process (definition key, name, variables, etc) * @returns Details of the process instance just started @@ -74,7 +72,6 @@ export class StartProcessCloudService extends BaseCloudService { /** * Update an existing process instance - * * @param appName name of the Application * @param processInstanceId process instance to update * @param payload Details of the process (definition key, name, variables, etc) @@ -89,7 +86,6 @@ export class StartProcessCloudService extends BaseCloudService { /** * Delete an existing process instance - * * @param appName Application name * @param processInstanceId the identifier of the process instance to update * @returns Observable @@ -102,7 +98,6 @@ export class StartProcessCloudService extends BaseCloudService { /** * Gets the static values mapped to the start form of a process definition. - * * @param appName Name of the app * @param processDefinitionId ID of the target process definition * @returns Static mappings for the start event @@ -122,7 +117,6 @@ export class StartProcessCloudService extends BaseCloudService { /** * Gets the constants mapped to the start form of a process definition. - * * @param appName Name of the app * @param processDefinitionId ID of the target process definition * @returns Constants values for the start event diff --git a/lib/process-services-cloud/src/lib/services/local-preference-cloud.service.ts b/lib/process-services-cloud/src/lib/services/local-preference-cloud.service.ts index da96335a0b8..93f40e516cc 100644 --- a/lib/process-services-cloud/src/lib/services/local-preference-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/services/local-preference-cloud.service.ts @@ -27,7 +27,6 @@ export class LocalPreferenceCloudService implements PreferenceCloudServiceInterf /** * Gets local preferences - * * @param _ Name of the target app * @param key Key of the target preference * @returns List of local preferences @@ -47,7 +46,6 @@ export class LocalPreferenceCloudService implements PreferenceCloudServiceInterf /** * Gets local preference. - * * @param _ Name of the target app * @param key Key of the target preference * @returns Observable of local preference @@ -58,7 +56,6 @@ export class LocalPreferenceCloudService implements PreferenceCloudServiceInterf /** * Creates local preference. - * * @param _ Name of the target app * @param key Key of the target preference * @param newPreference Details of new local preference @@ -73,7 +70,6 @@ export class LocalPreferenceCloudService implements PreferenceCloudServiceInterf /** * Updates local preference. - * * @param _ Name of the target app * @param key Key of the target preference * @param updatedPreference Details of updated preference @@ -88,7 +84,6 @@ export class LocalPreferenceCloudService implements PreferenceCloudServiceInterf /** * Deletes local preference by given preference key. - * * @param key Key of the target preference * @param preferences Details of updated preferences * @returns Observable of preferences without deleted preference diff --git a/lib/process-services-cloud/src/lib/services/task-list-cloud.service.interface.ts b/lib/process-services-cloud/src/lib/services/task-list-cloud.service.interface.ts index 5d6312447b9..f69834938a6 100644 --- a/lib/process-services-cloud/src/lib/services/task-list-cloud.service.interface.ts +++ b/lib/process-services-cloud/src/lib/services/task-list-cloud.service.interface.ts @@ -21,7 +21,6 @@ import { TaskListRequestModel, TaskQueryCloudRequestModel } from '../models/filt export interface TaskListCloudServiceInterface { /** * Finds a task using an object with optional query properties. - * * @deprecated From Activiti 8.7.0 forward, use TaskListCloudService.fetchTaskList instead. * @param requestNode Query object * @param queryUrl Query url @@ -32,7 +31,6 @@ export interface TaskListCloudServiceInterface { /** * Available from Activiti version 8.7.0 onwards. * Retrieves a list of tasks using an object with optional query properties. - * * @param requestNode Query object * @param queryUrl Query url * @returns List of tasks diff --git a/lib/process-services-cloud/src/lib/services/user-preference-cloud.service.ts b/lib/process-services-cloud/src/lib/services/user-preference-cloud.service.ts index 3bf0650b7a1..e04bc056016 100644 --- a/lib/process-services-cloud/src/lib/services/user-preference-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/services/user-preference-cloud.service.ts @@ -24,7 +24,6 @@ import { BaseCloudService } from './base-cloud.service'; export class UserPreferenceCloudService extends BaseCloudService implements PreferenceCloudServiceInterface { /** * Gets user preferences - * * @param appName Name of the target app * @returns List of user preferences */ @@ -39,7 +38,6 @@ export class UserPreferenceCloudService extends BaseCloudService implements Pref /** * Gets user preference. - * * @param appName Name of the target app * @param key Key of the target preference * @returns Observable of user preference @@ -55,7 +53,6 @@ export class UserPreferenceCloudService extends BaseCloudService implements Pref /** * Creates user preference. - * * @param appName Name of the target app * @param key Key of the target preference * @param newPreference Details of new user preference @@ -74,7 +71,6 @@ export class UserPreferenceCloudService extends BaseCloudService implements Pref /** * Updates user preference. - * * @param appName Name of the target app * @param key Key of the target preference * @param updatedPreference Details of updated preference @@ -86,7 +82,6 @@ export class UserPreferenceCloudService extends BaseCloudService implements Pref /** * Deletes user preference by given preference key. - * * @param appName Name of the target app * @param key Key of the target preference * @returns Observable of delete operation status diff --git a/lib/process-services-cloud/src/lib/task/services/task-cloud.service.ts b/lib/process-services-cloud/src/lib/task/services/task-cloud.service.ts index 4cf355b0d46..0abd8b7cd15 100644 --- a/lib/process-services-cloud/src/lib/task/services/task-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/task/services/task-cloud.service.ts @@ -47,7 +47,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Complete a task. - * * @param appName Name of the app * @param taskId ID of the task to complete * @returns Details of the task that was completed @@ -65,7 +64,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Validate if a task can be completed. - * * @param taskDetails task details object * @returns Boolean value if the task can be completed */ @@ -75,7 +73,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Validate if a task is editable. - * * @param taskDetails task details object * @returns Boolean value if the task is editable */ @@ -98,7 +95,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Validate if a task can be claimed. - * * @param taskDetails task details object * @returns Boolean value if the task can be completed */ @@ -108,7 +104,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Validate if a task can be unclaimed. - * * @param taskDetails task details object * @returns Boolean value if the task can be completed */ @@ -124,7 +119,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Claims a task for an assignee. - * * @param appName Name of the app * @param taskId ID of the task to claim * @param assignee User to assign the task to @@ -147,7 +141,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Un-claims a task. - * * @param appName Name of the app * @param taskId ID of the task to unclaim * @returns Details of the task that was unclaimed @@ -169,7 +162,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Gets details of a task. - * * @param appName Name of the app * @param taskId ID of the task whose details you want * @returns Task details @@ -186,7 +178,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Creates a new standalone task. - * * @param startTaskRequest request model * @param appName application name * @returns Details of the newly created task @@ -200,7 +191,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Updates the details (name, description, due date) for a task. - * * @param appName Name of the app * @param taskId ID of the task to update * @param payload Data to update the task @@ -219,7 +209,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Gets candidate users of the task. - * * @param appName Name of the app * @param taskId ID of the task * @returns Candidate users @@ -235,7 +224,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Gets candidate groups of the task. - * * @param appName Name of the app * @param taskId ID of the task * @returns Candidate groups @@ -251,7 +239,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Gets the process definitions associated with an app. - * * @param appName Name of the target app * @returns Array of process definitions */ @@ -267,7 +254,6 @@ export class TaskCloudService extends BaseCloudService implements TaskCloudServi /** * Updates the task assignee. - * * @param appName Name of the app * @param taskId ID of the task to update assignee * @param assignee assignee to update current user task assignee diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.ts b/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.ts index c93162d833b..974a4113a4e 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.ts @@ -215,7 +215,6 @@ export abstract class BaseEditTaskFilterCloudComponent implements OnInit, OnC /** * Get the sanitized filter name - * * @param filterName filter name * @returns sanitized filter name */ diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/edit-task-filter-cloud.component.spec.ts b/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/edit-task-filter-cloud.component.spec.ts index 8e0481f505e..b32466f8cc8 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/edit-task-filter-cloud.component.spec.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/edit-task-filters/edit-task-filter-cloud.component.spec.ts @@ -123,7 +123,6 @@ describe('EditTaskFilterCloudComponent', () => { /** * resolve filter instance input element - * * @returns native element */ function getProcessInstanceIdInputElement() { diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/service-task-filters-cloud.component.ts b/lib/process-services-cloud/src/lib/task/task-filters/components/service-task-filters-cloud.component.ts index 5a704369dcf..007bfbb1b29 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/service-task-filters-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/service-task-filters-cloud.component.ts @@ -61,7 +61,6 @@ export class ServiceTaskFiltersCloudComponent extends BaseTaskFiltersCloudCompon /** * Load the filter list filtered by appName - * * @param appName application name */ getFilters(appName: string): void { @@ -82,7 +81,6 @@ export class ServiceTaskFiltersCloudComponent extends BaseTaskFiltersCloudCompon /** * Select filter - * * @param paramFilter filter model */ selectFilter(paramFilter: FilterParamsModel) { @@ -117,7 +115,6 @@ export class ServiceTaskFiltersCloudComponent extends BaseTaskFiltersCloudCompon /** * Selects and emits the clicked filter. - * * @param filter filter to select */ onFilterClick(filter: FilterParamsModel) { @@ -140,7 +137,6 @@ export class ServiceTaskFiltersCloudComponent extends BaseTaskFiltersCloudCompon /** * Check if the filter list is empty - * * @returns `true` if filter list is empty, otherwise `false` */ isFilterListEmpty(): boolean { diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.spec.ts b/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.spec.ts index 8c00b6dd44d..2713ed5f714 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.spec.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.spec.ts @@ -39,7 +39,6 @@ describe('TaskAssignmentFilterComponent', () => { /** * select the assignment type - * * @param type type to select */ function selectAssignmentType(type: AssignmentType) { diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters-cloud.component.ts b/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters-cloud.component.ts index 5ef4d3c3cb9..4833dedd555 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters-cloud.component.ts @@ -82,7 +82,6 @@ export class TaskFiltersCloudComponent extends BaseTaskFiltersCloudComponent imp /** * Loads the filter list filtered by appName - * * @param appName application name */ getFilters(appName: string): void { @@ -119,7 +118,6 @@ export class TaskFiltersCloudComponent extends BaseTaskFiltersCloudComponent imp /** * Get current value for filter and check if value has changed - * * @param filter filter */ updateFilterCounter(filter: TaskFilterCloudModel): void { @@ -210,7 +208,6 @@ export class TaskFiltersCloudComponent extends BaseTaskFiltersCloudComponent imp /** * Selects and emits the clicked filter. - * * @param filter filter model */ onFilterClick(filter: FilterParamsModel) { @@ -235,7 +232,6 @@ export class TaskFiltersCloudComponent extends BaseTaskFiltersCloudComponent imp /** * Check if the filter list is empty - * * @returns `true` if filter list is empty, otherwise `false` */ isFilterListEmpty(): boolean { diff --git a/lib/process-services-cloud/src/lib/task/task-filters/services/service-task-filter-cloud.service.ts b/lib/process-services-cloud/src/lib/task/task-filters/services/service-task-filter-cloud.service.ts index aa7d9ea407c..78079c4b6d7 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/services/service-task-filter-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/services/service-task-filter-cloud.service.ts @@ -38,7 +38,6 @@ export class ServiceTaskFilterCloudService { /** * Creates and returns the default task filters for an app. - * * @param appName Name of the target app */ private createDefaultFilters(appName: string): void { @@ -62,7 +61,6 @@ export class ServiceTaskFilterCloudService { /** * Checks user preference are empty or not - * * @param preferences User preferences of the target app * @returns Boolean value if the preferences are not empty */ @@ -72,7 +70,6 @@ export class ServiceTaskFilterCloudService { /** * Checks for task filters in given user preferences - * * @param preferences User preferences of the target app * @param key Key of the task filters * @returns Boolean value if the preference has task filters @@ -84,7 +81,6 @@ export class ServiceTaskFilterCloudService { /** * Calls create preference api to create task filters - * * @param appName Name of the target app * @param key Key of the task instance filters * @param filters Details of new task filter @@ -96,7 +92,6 @@ export class ServiceTaskFilterCloudService { /** * Calls get preference api to get task filter by preference key - * * @param appName Name of the target app * @param key Key of the task filters * @returns Observable of task filters @@ -107,7 +102,6 @@ export class ServiceTaskFilterCloudService { /** * Gets all task filters for a task app. - * * @param appName Name of the target app * @returns Observable of task filter details */ @@ -118,7 +112,6 @@ export class ServiceTaskFilterCloudService { /** * Gets a task filter. - * * @param appName Name of the target app * @param id ID of the task * @returns Details of the task filter @@ -139,7 +132,6 @@ export class ServiceTaskFilterCloudService { /** * Adds a new task filter. - * * @param newFilter The new filter to add * @returns Observable of task instance filters with newly added filter */ @@ -167,7 +159,6 @@ export class ServiceTaskFilterCloudService { /** * Updates a task filter. - * * @param updatedFilter The filter to update * @returns Observable of task instance filters with updated filter */ @@ -192,7 +183,6 @@ export class ServiceTaskFilterCloudService { /** * Deletes a task filter - * * @param deletedFilter The filter to delete * @returns Observable of task instance filters without deleted filter */ @@ -215,7 +205,6 @@ export class ServiceTaskFilterCloudService { /** * Checks if given filter is a default filter - * * @param filterName Name of the target task filter * @returns Boolean value for whether the filter is a default filter */ @@ -226,7 +215,6 @@ export class ServiceTaskFilterCloudService { /** * Calls update preference api to update task filter - * * @param appName Name of the target app * @param key Key of the task filters * @param filters Details of update filter @@ -238,7 +226,6 @@ export class ServiceTaskFilterCloudService { /** * Creates a uniq key with appName and username - * * @param appName Name of the target app * @returns String of task filters preference key */ @@ -248,7 +235,6 @@ export class ServiceTaskFilterCloudService { /** * Finds and returns the task filters from preferences - * * @returns Array of TaskFilterCloudModel * @param preferences preferences * @param key key @@ -260,7 +246,6 @@ export class ServiceTaskFilterCloudService { /** * Creates and returns the default filters for a task app. - * * @param appName Name of the target app * @returns Array of TaskFilterCloudModel */ diff --git a/lib/process-services-cloud/src/lib/task/task-filters/services/task-filter-cloud.service.ts b/lib/process-services-cloud/src/lib/task/task-filters/services/task-filter-cloud.service.ts index 05796cefd37..c7c7e8dee49 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/services/task-filter-cloud.service.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/services/task-filter-cloud.service.ts @@ -65,7 +65,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Creates and returns the default task filters for an app. - * * @param appName Name of the target app */ private createDefaultFilters(appName: string): void { @@ -90,7 +89,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Checks user preference are empty or not - * * @param preferences User preferences of the target app * @returns Boolean value if the preferences are not empty */ @@ -100,7 +98,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Checks for task filters in given user preferences - * * @param preferences User preferences of the target app * @param key Key of the task filters * @returns Boolean value if the preference has task filters @@ -112,7 +109,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Calls create preference api to create task filters - * * @param appName Name of the target app * @param key Key of the task instance filters * @param filters Details of new task filter @@ -124,7 +120,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Calls get preference api to get task filter by preference key - * * @param appName Name of the target app * @param key Key of the task filters * @returns Observable of task filters @@ -135,7 +130,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Gets all task filters for a task app. - * * @param appName Name of the target app * @returns Observable of task filter details */ @@ -146,7 +140,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Gets a task filter. - * * @param appName Name of the target app * @param id ID of the task * @returns Details of the task filter @@ -167,7 +160,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Adds a new task filter. - * * @param newFilter The new filter to add * @returns Observable of task instance filters with newly added filter */ @@ -195,7 +187,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Updates a task filter. - * * @param updatedFilter The filter to update * @returns Observable of task instance filters with updated filter */ @@ -220,7 +211,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Deletes a task filter - * * @param deletedFilter The filter to delete * @returns Observable of task instance filters without deleted filter */ @@ -243,7 +233,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Checks if given filter is a default filter - * * @param filterName Name of the target task filter * @returns Boolean value for whether the filter is a default filter */ @@ -254,7 +243,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Finds a task using an object with optional query properties. - * * @returns Task information * @param taskFilter task filter model */ @@ -291,7 +279,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Calls update preference api to update task filter - * * @param appName Name of the target app * @param key Key of the task filters * @param filters Details of update filter @@ -303,7 +290,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Creates a uniq key with appName and username - * * @param appName Name of the target app * @returns String of task filters preference key */ @@ -313,7 +299,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Finds and returns the task filters from preferences - * * @returns Array of TaskFilterCloudModel * @param preferences preferences * @param key key @@ -325,7 +310,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Creates and returns the default filters for a task app. - * * @param appName Name of the target app * @returns Array of TaskFilterCloudModel */ @@ -374,7 +358,6 @@ export class TaskFilterCloudService extends BaseCloudService { /** * Refresh filter key - * * @param filterKey Key of the filter */ refreshFilter(filterKey: string): void { @@ -387,7 +370,6 @@ export class TaskFilterCloudService extends BaseCloudService { * If the new property is not found, it is created and assigned the value constructed from the old property. * The filters are then updated in the preferences and returned. * Old properties are left untouched for purposes like feature toggling. - * * @param appName Name of the target app. * @param key Key of the task filters. * @param filters Array of task filters to be checked for backward compatibility. diff --git a/lib/process-services-cloud/src/lib/task/task-form/components/task-form-cloud.component.html b/lib/process-services-cloud/src/lib/task/task-form/components/task-form-cloud.component.html index 05a1d244644..95d01059167 100644 --- a/lib/process-services-cloud/src/lib/task/task-form/components/task-form-cloud.component.html +++ b/lib/process-services-cloud/src/lib/task/task-form/components/task-form-cloud.component.html @@ -21,8 +21,7 @@ (displayModeOn)="onDisplayModeOn($event)" (displayModeOff)="onDisplayModeOff($event)"> - - + @@ -44,8 +43,7 @@

[subtitle]="'ADF_CLOUD_TASK_FORM.EMPTY_FORM.SUBTITLE'" /> - - +