@alfresco/adf-process-services 8.6.0-27406412358 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/fesm2022/adf-process-services.mjs +704 -771
  2. package/fesm2022/adf-process-services.mjs.map +1 -1
  3. package/index.d.ts +4486 -3
  4. package/lib/form/widgets/dropdown/dropdown.widget.scss +6 -0
  5. package/lib/form/widgets/functional-group/functional-group.widget.scss +6 -0
  6. package/lib/form/widgets/people/people.widget.scss +6 -0
  7. package/lib/form/widgets/typeahead/typeahead.widget.scss +6 -0
  8. package/lib/styles/_mixins.scss +7 -0
  9. package/lib/task-list/components/start-task/start-task.component.scss +5 -5
  10. package/package.json +14 -14
  11. package/lib/app-list/apps-list.component.d.ts +0 -91
  12. package/lib/app-list/icon.model.d.ts +0 -27
  13. package/lib/app-list/index.d.ts +0 -17
  14. package/lib/app-list/public-api.d.ts +0 -22
  15. package/lib/app-list/select-apps-dialog/select-apps-dialog.component.d.ts +0 -13
  16. package/lib/attachment/create-process-attachment/create-process-attachment.component.d.ts +0 -38
  17. package/lib/attachment/create-task-attachment/create-task-attachment.component.d.ts +0 -38
  18. package/lib/attachment/index.d.ts +0 -17
  19. package/lib/attachment/process-attachment-list/process-attachment-list.component.d.ts +0 -64
  20. package/lib/attachment/public-api.d.ts +0 -25
  21. package/lib/attachment/task-attachment-list/task-attachment-list.component.d.ts +0 -60
  22. package/lib/compat/types.d.ts +0 -31
  23. package/lib/form/events/validate-dynamic-table-row.event.d.ts +0 -25
  24. package/lib/form/form-custom-outcomes.component.d.ts +0 -5
  25. package/lib/form/form-list/form-list.component.d.ts +0 -29
  26. package/lib/form/form.component.d.ts +0 -109
  27. package/lib/form/index.d.ts +0 -17
  28. package/lib/form/model/form-definition.model.d.ts +0 -25
  29. package/lib/form/process-form-rendering.service.d.ts +0 -7
  30. package/lib/form/public-api.d.ts +0 -27
  31. package/lib/form/services/activiti-alfresco.service.d.ts +0 -41
  32. package/lib/form/services/ecm-model.service.d.ts +0 -30
  33. package/lib/form/services/editor.service.d.ts +0 -41
  34. package/lib/form/services/external-alfresco-api.service.d.ts +0 -9
  35. package/lib/form/services/index.d.ts +0 -25
  36. package/lib/form/services/model.service.d.ts +0 -59
  37. package/lib/form/services/process-content.service.d.ts +0 -132
  38. package/lib/form/services/process-definition.service.d.ts +0 -44
  39. package/lib/form/services/task-form.service.d.ts +0 -69
  40. package/lib/form/services/task.service.d.ts +0 -32
  41. package/lib/form/start-form/start-form.component.d.ts +0 -50
  42. package/lib/form/widgets/content-widget/attach-file-widget-dialog-component.interface.d.ts +0 -31
  43. package/lib/form/widgets/content-widget/attach-file-widget-dialog.component.d.ts +0 -48
  44. package/lib/form/widgets/content-widget/attach-file-widget-dialog.service.d.ts +0 -47
  45. package/lib/form/widgets/content-widget/attach-file-widget.component.d.ts +0 -64
  46. package/lib/form/widgets/content-widget/attach-folder-widget.component.d.ts +0 -33
  47. package/lib/form/widgets/content-widget/index.d.ts +0 -17
  48. package/lib/form/widgets/content-widget/public-api.d.ts +0 -21
  49. package/lib/form/widgets/document/content.widget.d.ts +0 -50
  50. package/lib/form/widgets/document/document.widget.d.ts +0 -26
  51. package/lib/form/widgets/dropdown/dropdown.widget.d.ts +0 -48
  52. package/lib/form/widgets/dynamic-table/dynamic-table.widget.d.ts +0 -51
  53. package/lib/form/widgets/dynamic-table/editors/amount/amount.editor.d.ts +0 -31
  54. package/lib/form/widgets/dynamic-table/editors/boolean/boolean.editor.d.ts +0 -12
  55. package/lib/form/widgets/dynamic-table/editors/date/date.editor.d.ts +0 -20
  56. package/lib/form/widgets/dynamic-table/editors/datetime/datetime.editor.d.ts +0 -20
  57. package/lib/form/widgets/dynamic-table/editors/dropdown/dropdown.editor.d.ts +0 -39
  58. package/lib/form/widgets/dynamic-table/editors/models/cell-validator.model.d.ts +0 -23
  59. package/lib/form/widgets/dynamic-table/editors/models/date-cell-validator-model.d.ts +0 -26
  60. package/lib/form/widgets/dynamic-table/editors/models/dynamic-row-validation-summary.model.d.ts +0 -21
  61. package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-column-option.model.d.ts +0 -20
  62. package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-column.model.d.ts +0 -37
  63. package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-row.model.d.ts +0 -21
  64. package/lib/form/widgets/dynamic-table/editors/models/dynamic-table.widget.model.d.ts +0 -40
  65. package/lib/form/widgets/dynamic-table/editors/models/number-cell-validator.model.d.ts +0 -26
  66. package/lib/form/widgets/dynamic-table/editors/models/required-cell-validator.model.d.ts +0 -25
  67. package/lib/form/widgets/dynamic-table/editors/row-editor/row.editor.d.ts +0 -42
  68. package/lib/form/widgets/dynamic-table/editors/text/text.editor.d.ts +0 -31
  69. package/lib/form/widgets/dynamic-table/index.d.ts +0 -17
  70. package/lib/form/widgets/dynamic-table/public-api.d.ts +0 -34
  71. package/lib/form/widgets/file-viewer/file-viewer.widget.d.ts +0 -22
  72. package/lib/form/widgets/functional-group/functional-group.widget.d.ts +0 -40
  73. package/lib/form/widgets/index.d.ts +0 -17
  74. package/lib/form/widgets/people/people.widget.d.ts +0 -44
  75. package/lib/form/widgets/public-api.d.ts +0 -31
  76. package/lib/form/widgets/radio-buttons/radio-buttons.widget.d.ts +0 -33
  77. package/lib/form/widgets/typeahead/typeahead.widget.d.ts +0 -39
  78. package/lib/form/widgets/upload/upload.widget.d.ts +0 -39
  79. package/lib/people/components/people/people.component.d.ts +0 -50
  80. package/lib/people/components/people-list/people-list.component.d.ts +0 -42
  81. package/lib/people/components/people-search/people-search.component.d.ts +0 -44
  82. package/lib/people/components/people-search-field/people-search-field.component.d.ts +0 -25
  83. package/lib/people/components/people-selector/people-selector.component.d.ts +0 -40
  84. package/lib/people/helpers/get-display-user.d.ts +0 -17
  85. package/lib/people/index.d.ts +0 -17
  86. package/lib/people/interfaces/perform-search-callback.interface.d.ts +0 -19
  87. package/lib/people/public-api.d.ts +0 -28
  88. package/lib/process-comments/index.d.ts +0 -20
  89. package/lib/process-comments/process-comments.component.d.ts +0 -9
  90. package/lib/process-comments/services/comment-process.service.d.ts +0 -27
  91. package/lib/process-list/components/process-filters/process-filters.component.d.ts +0 -109
  92. package/lib/process-list/components/process-instance-details/process-instance-details.component.d.ts +0 -40
  93. package/lib/process-list/components/process-instance-header/process-instance-header.component.d.ts +0 -39
  94. package/lib/process-list/components/process-instance-tasks/process-instance-tasks.component.d.ts +0 -48
  95. package/lib/process-list/components/process-list/process-list.component.d.ts +0 -141
  96. package/lib/process-list/components/start-process/start-process.component.d.ts +0 -117
  97. package/lib/process-list/index.d.ts +0 -17
  98. package/lib/process-list/public-api.d.ts +0 -31
  99. package/lib/process-list/services/process-filter.service.d.ts +0 -73
  100. package/lib/process-list/services/process.service.d.ts +0 -148
  101. package/lib/process.module.d.ts +0 -89
  102. package/lib/services/apps-process.service.d.ts +0 -22
  103. package/lib/services/people-process.service.d.ts +0 -65
  104. package/lib/services/task-comments.service.d.ts +0 -45
  105. package/lib/task-comments/index.d.ts +0 -20
  106. package/lib/task-comments/task-comments.component.d.ts +0 -9
  107. package/lib/task-list/components/attach-form/attach-form.component.d.ts +0 -50
  108. package/lib/task-list/components/checklist/checklist.component.d.ts +0 -51
  109. package/lib/task-list/components/start-task/start-task.component.d.ts +0 -64
  110. package/lib/task-list/components/task-details/task-details.component.d.ts +0 -131
  111. package/lib/task-list/components/task-filters/task-filters.component.d.ts +0 -108
  112. package/lib/task-list/components/task-form/claim-task.directive.d.ts +0 -35
  113. package/lib/task-list/components/task-form/task-form.component.d.ts +0 -119
  114. package/lib/task-list/components/task-form/unclaim-task.directive.d.ts +0 -35
  115. package/lib/task-list/components/task-header/task-header.component.d.ts +0 -148
  116. package/lib/task-list/components/task-list/task-list.component.d.ts +0 -167
  117. package/lib/task-list/components/task-standalone/task-standalone.component.d.ts +0 -44
  118. package/lib/task-list/index.d.ts +0 -17
  119. package/lib/task-list/models/form.model.d.ts +0 -24
  120. package/lib/task-list/models/task-details.event.d.ts +0 -25
  121. package/lib/task-list/models/task-preset.model.d.ts +0 -31
  122. package/lib/task-list/models/user-event.model.d.ts +0 -23
  123. package/lib/task-list/models/user-group.model.d.ts +0 -26
  124. package/lib/task-list/public-api.d.ts +0 -47
  125. package/lib/task-list/services/process-upload.service.d.ts +0 -25
  126. package/lib/task-list/services/task-filter.service.d.ts +0 -102
  127. package/lib/task-list/services/task-upload.service.d.ts +0 -25
  128. package/lib/task-list/services/tasklist.service.d.ts +0 -159
  129. package/lib/task-list/validators/task-description.validator.d.ts +0 -21
  130. package/public-api.d.ts +0 -29
@@ -1,39 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { FormFieldOption, WidgetComponent } from '@alfresco/adf-core';
18
- import { OnInit } from '@angular/core';
19
- import * as i0 from "@angular/core";
20
- export declare class TypeaheadWidgetComponent extends WidgetComponent implements OnInit {
21
- minTermLength: number;
22
- value: string;
23
- oldValue: string;
24
- options: FormFieldOption[];
25
- private readonly taskFormService;
26
- private readonly processDefinitionService;
27
- ngOnInit(): void;
28
- getValuesByTaskId(): void;
29
- getValuesByProcessDefinitionId(): void;
30
- getOptions(): FormFieldOption[];
31
- isValidOptionName(optionName: string): boolean;
32
- onKeyUp(event: KeyboardEvent): void;
33
- onItemSelect(item: FormFieldOption): void;
34
- validate(): void;
35
- isValueDefined(): boolean;
36
- isReadOnlyType(): boolean;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<TypeaheadWidgetComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<TypeaheadWidgetComponent, "typeahead-widget", never, {}, {}, never, never, true, never>;
39
- }
@@ -1,39 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { ThumbnailService, WidgetComponent } from '@alfresco/adf-core';
18
- import { ElementRef, OnInit } from '@angular/core';
19
- import { ProcessContentService } from '../../services/process-content.service';
20
- import * as i0 from "@angular/core";
21
- export declare class UploadWidgetComponent extends WidgetComponent implements OnInit {
22
- hasFile: boolean;
23
- displayText: string;
24
- multipleOption: string;
25
- mimeTypeIcon: string;
26
- fileInput: ElementRef;
27
- protected thumbnailService: ThumbnailService;
28
- protected processContentService: ProcessContentService;
29
- ngOnInit(): void;
30
- removeFile(file: any): void;
31
- onFileChanged(event: any): void;
32
- private uploadRawContent;
33
- getMultipleFileParam(): void;
34
- private removeElementFromList;
35
- getIcon(mimeType: string): string;
36
- fileClicked(contentLinkModel: any): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadWidgetComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadWidgetComponent, "upload-widget", never, {}, {}, never, never, true, never>;
39
- }
@@ -1,50 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { EventEmitter } from '@angular/core';
18
- import { Observable } from 'rxjs';
19
- import { UserEventModel } from '../../../task-list/models/user-event.model';
20
- import { PeopleSearchComponent } from '../people-search/people-search.component';
21
- import { PeopleProcessService } from '../../../services/people-process.service';
22
- import { LightUserRepresentation } from '@alfresco/js-api';
23
- import * as i0 from "@angular/core";
24
- export declare class PeopleComponent {
25
- peopleProcessService: PeopleProcessService;
26
- /** The array of User objects to display. */
27
- people: LightUserRepresentation[];
28
- /** The numeric ID of the task. */
29
- taskId: string;
30
- /** Should the data be read-only? */
31
- readOnly: boolean;
32
- peopleSearch: PeopleSearchComponent;
33
- error: EventEmitter<any>;
34
- showAssignment: boolean;
35
- peopleSearch$: Observable<LightUserRepresentation[]>;
36
- private peopleSearchObserver;
37
- constructor();
38
- searchUser(searchedWord: string): void;
39
- involveUser(user: LightUserRepresentation): void;
40
- removeInvolvedUser(user: LightUserRepresentation): void;
41
- getDisplayUser(firstName: string, lastName: string, delimiter?: string): string;
42
- getInitialUserName(firstName: string, lastName: string): string;
43
- onAddAssignment(): void;
44
- onClickAction(event: UserEventModel): void;
45
- hasPeople(): boolean;
46
- isEditMode(): boolean;
47
- onCloseSearch(): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<PeopleComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<PeopleComponent, "adf-people", never, { "people": { "alias": "people"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "error": "error"; }, never, never, true, never>;
50
- }
@@ -1,42 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { DataTableComponent, DataCellEvent, DataColumnListComponent } from '@alfresco/adf-core';
18
- import { AfterContentInit, EventEmitter } from '@angular/core';
19
- import { UserEventModel } from '../../../task-list/models/user-event.model';
20
- import { LightUserRepresentation } from '@alfresco/js-api';
21
- import * as i0 from "@angular/core";
22
- export declare class PeopleListComponent implements AfterContentInit {
23
- columnList: DataColumnListComponent;
24
- peopleDataTable: DataTableComponent;
25
- /** The array of user data used to populate the people list. */
26
- users: LightUserRepresentation[];
27
- /** Toggles if actions should be visible, i.e. the 'Three-Dots' menu. */
28
- actions: boolean;
29
- /** Emitted when the user clicks a row in the people list. */
30
- clickRow: EventEmitter<LightUserRepresentation>;
31
- /** Emitted when the user clicks in the 'Three Dots' drop down menu for a row. */
32
- clickAction: EventEmitter<UserEventModel>;
33
- user: LightUserRepresentation;
34
- showHeader: "never";
35
- ngAfterContentInit(): void;
36
- selectUser(event: any): void;
37
- hasActions(): boolean;
38
- onShowRowActionsMenu(event: DataCellEvent): void;
39
- onExecuteRowAction(event: any): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<PeopleListComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<PeopleListComponent, "adf-people-list", never, { "users": { "alias": "users"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "clickRow": "clickRow"; "clickAction": "clickAction"; }, ["columnList"], never, true, never>;
42
- }
@@ -1,44 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { EventEmitter, OnInit } from '@angular/core';
18
- import { Observable } from 'rxjs';
19
- import { PerformSearchCallback } from '../../interfaces/perform-search-callback.interface';
20
- import { LightUserRepresentation } from '@alfresco/js-api';
21
- import * as i0 from "@angular/core";
22
- export declare class PeopleSearchComponent implements OnInit {
23
- headerTitle?: string;
24
- actionLabel?: string;
25
- /** Parameters for displaying the list. */
26
- results: Observable<LightUserRepresentation[]>;
27
- /** Emitted when a search is performed with a new keyword. */
28
- searchPeople: EventEmitter<any>;
29
- /** Emitted when a user is selected and the action button is clicked. */
30
- success: EventEmitter<LightUserRepresentation>;
31
- /** Emitted when the "close" button is clicked. */
32
- closeSearch: EventEmitter<any>;
33
- filteredResults$: Observable<LightUserRepresentation[]>;
34
- selectedUser: LightUserRepresentation;
35
- performSearch: PerformSearchCallback;
36
- ngOnInit(): void;
37
- onRowClick(user: LightUserRepresentation): void;
38
- closeSearchList(): void;
39
- involveUserAndClose(): void;
40
- involveUser(): void;
41
- private performSearchCallback;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<PeopleSearchComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<PeopleSearchComponent, "adf-people-search", never, { "headerTitle": { "alias": "headerTitle"; "required": false; }; "actionLabel": { "alias": "actionLabel"; "required": false; }; "results": { "alias": "results"; "required": true; }; }, { "searchPeople": "searchPeople"; "success": "success"; "closeSearch": "closeSearch"; }, never, never, true, never>;
44
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { UntypedFormControl } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { PerformSearchCallback } from '../../interfaces/perform-search-callback.interface';
5
- import { PeopleProcessService } from '../../../services/people-process.service';
6
- import { LightUserRepresentation } from '@alfresco/js-api';
7
- import * as i0 from "@angular/core";
8
- export declare class PeopleSearchFieldComponent {
9
- peopleProcessService: PeopleProcessService;
10
- private readonly translationService;
11
- performSearch: PerformSearchCallback;
12
- placeholder: string;
13
- rowClick: EventEmitter<LightUserRepresentation>;
14
- users$: Observable<LightUserRepresentation[]>;
15
- searchUser: UntypedFormControl;
16
- defaultPlaceholder: string;
17
- constructor();
18
- reset(): void;
19
- get searchPlaceholder(): string;
20
- onRowClick(model: LightUserRepresentation): void;
21
- getDisplayUser(firstName: string, lastName: string, delimiter?: string): string;
22
- getInitialUserName(firstName: string, lastName: string): string;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<PeopleSearchFieldComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<PeopleSearchFieldComponent, "adf-people-search-field", never, { "performSearch": { "alias": "performSearch"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "rowClick": "rowClick"; }, never, never, true, never>;
25
- }
@@ -1,40 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { EventEmitter } from '@angular/core';
18
- import { PerformSearchCallback } from '../../interfaces/perform-search-callback.interface';
19
- import { PeopleSearchFieldComponent } from '../people-search-field/people-search-field.component';
20
- import { Observable } from 'rxjs';
21
- import { LightUserRepresentation } from '@alfresco/js-api';
22
- import * as i0 from "@angular/core";
23
- export declare class PeopleSelectorComponent {
24
- private readonly peopleProcessService;
25
- private readonly translationService;
26
- peopleId: LightUserRepresentation;
27
- peopleIdChange: EventEmitter<number>;
28
- searchFieldComponent: PeopleSearchFieldComponent;
29
- performSearch: PerformSearchCallback;
30
- selectedUser: LightUserRepresentation;
31
- defaultPlaceholder: string;
32
- constructor();
33
- searchUser(searchWord: string): Observable<any | LightUserRepresentation[]>;
34
- userSelected(user: LightUserRepresentation): void;
35
- userDeselected(): void;
36
- private updateUserSelection;
37
- get placeholder(): string;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<PeopleSelectorComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<PeopleSelectorComponent, "adf-people-selector", never, { "peopleId": { "alias": "peopleId"; "required": false; }; }, { "peopleIdChange": "peopleIdChange"; }, never, never, true, never>;
40
- }
@@ -1,17 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- export declare const getDisplayUser: (firstName: string, lastName: string, delimiter?: string) => string;
@@ -1,17 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- export * from './public-api';
@@ -1,19 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { Observable } from 'rxjs';
18
- import { LightUserRepresentation } from '@alfresco/js-api';
19
- export type PerformSearchCallback = (searchWord: string) => Observable<LightUserRepresentation[]>;
@@ -1,28 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { PeopleComponent } from './components/people/people.component';
18
- import { PeopleSearchComponent } from './components/people-search/people-search.component';
19
- import { PeopleSearchFieldComponent } from './components/people-search-field/people-search-field.component';
20
- import { PeopleSelectorComponent } from './components/people-selector/people-selector.component';
21
- import { PeopleListComponent } from './components/people-list/people-list.component';
22
- export * from './components/people/people.component';
23
- export * from './components/people-list/people-list.component';
24
- export * from './components/people-search/people-search.component';
25
- export * from './components/people-search-field/people-search-field.component';
26
- export * from './components/people-selector/people-selector.component';
27
- export * from './interfaces/perform-search-callback.interface';
28
- export declare const PEOPLE_DIRECTIVES: readonly [typeof PeopleComponent, typeof PeopleSearchComponent, typeof PeopleSearchFieldComponent, typeof PeopleSelectorComponent, typeof PeopleListComponent];
@@ -1,20 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { ProcessCommentsComponent } from './process-comments.component';
18
- export * from './process-comments.component';
19
- export * from './services/comment-process.service';
20
- export declare const PROCESS_COMMENTS_DIRECTIVES: readonly [typeof ProcessCommentsComponent];
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ProcessCommentsComponent {
3
- /** (**required**) The numeric ID of the process instance to display comments for. */
4
- processInstanceId: string;
5
- /** Should the comments be read-only? */
6
- readOnly: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcessCommentsComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcessCommentsComponent, "adf-process-instance-comments", never, { "processInstanceId": { "alias": "processInstanceId"; "required": true; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
9
- }
@@ -1,27 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { CommentModel, CommentsService } from '@alfresco/adf-core';
3
- import { ActivitiCommentsApi } from '@alfresco/js-api';
4
- import * as i0 from "@angular/core";
5
- export declare class CommentProcessService implements CommentsService {
6
- private readonly apiService;
7
- private readonly peopleProcessService;
8
- readonly commentsApi: ActivitiCommentsApi;
9
- /**
10
- * Gets all comments that have been added to a process instance.
11
- *
12
- * @param id ID of the target process instance
13
- * @returns Details for each comment
14
- */
15
- get(id: string): Observable<CommentModel[]>;
16
- /**
17
- * Adds a comment to a process instance.
18
- *
19
- * @param id ID of the target process instance
20
- * @param message Text for the comment
21
- * @returns Details of the comment added
22
- */
23
- add(id: string, message: string): Observable<CommentModel>;
24
- getUserImage(userId: string): string;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<CommentProcessService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<CommentProcessService>;
27
- }
@@ -1,109 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
18
- import { ProcessInstanceFilterRepresentation, UserProcessInstanceFilterRepresentation } from '@alfresco/js-api';
19
- import * as i0 from "@angular/core";
20
- export declare class ProcessFiltersComponent implements OnInit, OnChanges {
21
- private readonly processFilterService;
22
- private readonly appsProcessService;
23
- private readonly router;
24
- private readonly location;
25
- /**
26
- * The parameters to filter the task filter. If there is no match then the default one
27
- * (ie, the first filter in the list) is selected.
28
- */
29
- filterParam: UserProcessInstanceFilterRepresentation;
30
- /** Emitted when a filter is being clicked from the UI. */
31
- filterClicked: EventEmitter<UserProcessInstanceFilterRepresentation>;
32
- /** Emitted when the list of filters has been successfully loaded from the server. */
33
- success: EventEmitter<ProcessInstanceFilterRepresentation[]>;
34
- /** Emitted when an error occurs. */
35
- error: EventEmitter<any>;
36
- /** Display filters available to the current user for the application with the specified ID. */
37
- appId: number;
38
- /** Display filters available to the current user for the application with the specified name. */
39
- appName: string;
40
- /** Toggle to show or hide the filter's icon. */
41
- showIcon: boolean;
42
- /** Emitted when a filter is being selected based on the filterParam input. */
43
- filterSelected: EventEmitter<UserProcessInstanceFilterRepresentation>;
44
- currentFilter: ProcessInstanceFilterRepresentation;
45
- filters: UserProcessInstanceFilterRepresentation[];
46
- active: boolean;
47
- isProcessRoute: boolean;
48
- isProcessActive: boolean;
49
- private iconsMDL;
50
- private readonly destroyRef;
51
- ngOnInit(): void;
52
- ngOnChanges(changes: SimpleChanges): void;
53
- isActiveRoute(filterActive: ProcessInstanceFilterRepresentation): boolean;
54
- /**
55
- * Return the filter list filtered by appId
56
- *
57
- * @param appId - optional
58
- */
59
- getFiltersByAppId(appId?: number): void;
60
- /**
61
- * Return the filter list filtered by appName
62
- *
63
- * @param appName application name
64
- */
65
- getFiltersByAppName(appName: string): void;
66
- /**
67
- * Pass the selected filter as next
68
- *
69
- * @param filterModel filter model
70
- */
71
- selectFilter(filterModel: ProcessInstanceFilterRepresentation): void;
72
- /**
73
- * Select the first filter of a list if present
74
- *
75
- * @param filterParam filter parameter
76
- */
77
- selectProcessFilter(filterParam: UserProcessInstanceFilterRepresentation): void;
78
- /**
79
- * Select the Running filter
80
- *
81
- * @deprecated in 3.9.0, Use the filterParam Input() with a running filter instance instead
82
- */
83
- selectRunningFilter(): void;
84
- /**
85
- * Get the current task
86
- *
87
- * @returns process instance filter
88
- */
89
- getCurrentFilter(): ProcessInstanceFilterRepresentation;
90
- /**
91
- * Check if the filter list is empty
92
- *
93
- * @returns `true` if filter list is empty, otherwise `false`
94
- */
95
- isFilterListEmpty(): boolean;
96
- /**
97
- * Get the material icons equivalent of the glyphicon icon
98
- *
99
- * @param icon glyphicon name
100
- * @returns material icons equivalent of the icon
101
- */
102
- getFilterIcon(icon: string): string;
103
- /**
104
- * Reset the filters properties
105
- */
106
- private resetFilter;
107
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFiltersComponent, never>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcessFiltersComponent, "adf-process-instance-filters", never, { "filterParam": { "alias": "filterParam"; "required": false; }; "appId": { "alias": "appId"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; }, { "filterClicked": "filterClicked"; "success": "success"; "error": "error"; "filterSelected": "filterSelected"; }, never, never, true, never>;
109
- }
@@ -1,40 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { TaskDetailsEvent } from '../../../task-list';
3
- import { ProcessInstanceHeaderComponent } from '../process-instance-header/process-instance-header.component';
4
- import { ProcessInstanceTasksComponent } from '../process-instance-tasks/process-instance-tasks.component';
5
- import { ProcessInstanceRepresentation } from '@alfresco/js-api';
6
- import * as i0 from "@angular/core";
7
- export declare class ProcessInstanceDetailsComponent implements OnChanges {
8
- private readonly processService;
9
- /** (required) The numeric ID of the process instance to display. */
10
- processInstanceId: string;
11
- processInstanceHeader: ProcessInstanceHeaderComponent;
12
- tasksList: ProcessInstanceTasksComponent;
13
- /** Toggles whether to show or hide the title. */
14
- showTitle: boolean;
15
- /** Toggles whether to show or hide the refresh button. */
16
- showRefreshButton: boolean;
17
- /** Emitted when the current process is cancelled by the user from within the component. */
18
- processCancelled: EventEmitter<any>;
19
- /** Emitted when an error occurs. */
20
- error: EventEmitter<any>;
21
- /** Emitted when a task is clicked. */
22
- taskClick: EventEmitter<TaskDetailsEvent>;
23
- /** Emitted when the "show diagram" button is clicked. */
24
- showProcessDiagram: EventEmitter<any>;
25
- processInstanceDetails: ProcessInstanceRepresentation;
26
- ngOnChanges(changes: SimpleChanges): void;
27
- /**
28
- * Reset the task detail
29
- */
30
- reset(): void;
31
- load(processId: string): void;
32
- isRunning(): boolean;
33
- cancelProcess(): void;
34
- onTaskClicked(event: TaskDetailsEvent): void;
35
- getProcessNameOrDescription(dateFormat: string): string;
36
- getFormatDate(value: any, format: string): any;
37
- onShowProcessDiagram(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcessInstanceDetailsComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcessInstanceDetailsComponent, "adf-process-instance-details", never, { "processInstanceId": { "alias": "processInstanceId"; "required": true; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; }, { "processCancelled": "processCancelled"; "error": "error"; "taskClick": "taskClick"; "showProcessDiagram": "showProcessDiagram"; }, never, never, true, never>;
40
- }
@@ -1,39 +0,0 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { CardViewItem } from '@alfresco/adf-core';
18
- import { OnChanges } from '@angular/core';
19
- import { ProcessInstanceRepresentation } from '@alfresco/js-api';
20
- import * as i0 from "@angular/core";
21
- export declare class ProcessInstanceHeaderComponent implements OnChanges {
22
- private readonly translationService;
23
- private readonly appConfig;
24
- /** (**required**) Full details of the process instance to display information about. */
25
- processInstance: ProcessInstanceRepresentation;
26
- properties: CardViewItem[];
27
- dateFormat: string;
28
- dateLocale: string;
29
- constructor();
30
- ngOnChanges(): void;
31
- refreshData(): void;
32
- getProcessStatus(): string;
33
- getStartedByFullName(): string;
34
- isRunning(): boolean;
35
- private initDefaultProperties;
36
- private isValidSelection;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcessInstanceHeaderComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcessInstanceHeaderComponent, "adf-process-instance-header", never, { "processInstance": { "alias": "processInstance"; "required": true; }; }, {}, never, never, true, never>;
39
- }