@alfresco/adf-process-services 8.3.0 → 8.3.1

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 (74) hide show
  1. package/fesm2022/adf-process-services.mjs +523 -669
  2. package/fesm2022/adf-process-services.mjs.map +1 -1
  3. package/lib/app-list/apps-list.component.d.ts +1 -3
  4. package/lib/app-list/icon.model.d.ts +2 -2
  5. package/lib/app-list/select-apps-dialog/select-apps-dialog.component.d.ts +3 -4
  6. package/lib/attachment/create-process-attachment/create-process-attachment.component.d.ts +1 -1
  7. package/lib/attachment/create-task-attachment/create-task-attachment.component.d.ts +1 -1
  8. package/lib/attachment/process-attachment-list/process-attachment-list.component.d.ts +6 -8
  9. package/lib/attachment/task-attachment-list/task-attachment-list.component.d.ts +6 -8
  10. package/lib/form/form-list/form-list.component.d.ts +0 -1
  11. package/lib/form/form.component.d.ts +1 -1
  12. package/lib/form/public-api.d.ts +1 -2
  13. package/lib/form/services/activiti-alfresco.service.d.ts +2 -20
  14. package/lib/form/services/ecm-model.service.d.ts +1 -19
  15. package/lib/form/services/editor.service.d.ts +1 -19
  16. package/lib/form/services/model.service.d.ts +1 -19
  17. package/lib/form/services/process-content.service.d.ts +1 -19
  18. package/lib/form/services/process-definition.service.d.ts +1 -19
  19. package/lib/form/services/task-form.service.d.ts +1 -19
  20. package/lib/form/services/task.service.d.ts +1 -19
  21. package/lib/form/start-form/start-form.component.scss +1 -1
  22. package/lib/form/widgets/content-widget/attach-file-widget-dialog.component.d.ts +6 -8
  23. package/lib/form/widgets/content-widget/attach-file-widget-dialog.service.d.ts +2 -5
  24. package/lib/form/widgets/content-widget/attach-file-widget.component.d.ts +8 -18
  25. package/lib/form/widgets/content-widget/attach-folder-widget.component.d.ts +2 -4
  26. package/lib/form/widgets/document/content.widget.d.ts +4 -6
  27. package/lib/form/widgets/document/document.widget.d.ts +1 -3
  28. package/lib/form/widgets/dynamic-table/dynamic-table.widget.d.ts +6 -8
  29. package/lib/form/widgets/dynamic-table/dynamic-table.widget.scss +2 -2
  30. package/lib/form/widgets/dynamic-table/editors/date/date.editor.d.ts +1 -3
  31. package/lib/form/widgets/dynamic-table/editors/datetime/datetime.editor.d.ts +1 -3
  32. package/lib/form/widgets/dynamic-table/editors/dropdown/dropdown.editor.d.ts +2 -5
  33. package/lib/form/widgets/dynamic-table/editors/models/date-cell-validator-model.d.ts +1 -1
  34. package/lib/form/widgets/dynamic-table/editors/models/dynamic-table.widget.model.d.ts +1 -1
  35. package/lib/form/widgets/dynamic-table/editors/models/number-cell-validator.model.d.ts +1 -1
  36. package/lib/form/widgets/dynamic-table/editors/models/required-cell-validator.model.d.ts +1 -1
  37. package/lib/form/widgets/file-viewer/file-viewer.widget.d.ts +1 -2
  38. package/lib/form/widgets/functional-group/functional-group.widget.d.ts +3 -5
  39. package/lib/form/widgets/people/people.widget.d.ts +2 -4
  40. package/lib/form/widgets/public-api.d.ts +2 -8
  41. package/lib/form/widgets/radio-buttons/radio-buttons.widget.d.ts +3 -7
  42. package/lib/form/widgets/typeahead/typeahead.widget.d.ts +3 -7
  43. package/lib/form/widgets/upload/upload.widget.d.ts +3 -5
  44. package/lib/people/components/people/people.component.d.ts +1 -1
  45. package/lib/people/components/people-list/people-list.component.d.ts +2 -2
  46. package/lib/people/components/people-search-field/people-search-field.component.d.ts +2 -19
  47. package/lib/people/components/people-selector/people-selector.component.d.ts +3 -5
  48. package/lib/process-comments/services/comment-process.service.d.ts +2 -21
  49. package/lib/process-list/components/process-filters/process-filters.component.d.ts +4 -9
  50. package/lib/process-list/components/process-instance-details/process-instance-details.component.d.ts +1 -3
  51. package/lib/process-list/components/process-instance-header/process-instance-header.component.d.ts +4 -4
  52. package/lib/process-list/components/process-instance-tasks/process-instance-tasks.component.d.ts +3 -5
  53. package/lib/process-list/components/process-list/process-list.component.d.ts +4 -5
  54. package/lib/process-list/components/start-process/start-process.component.d.ts +8 -12
  55. package/lib/process-list/public-api.d.ts +1 -3
  56. package/lib/process-list/services/process-filter.service.d.ts +1 -19
  57. package/lib/process-list/services/process.service.d.ts +3 -1
  58. package/lib/process.module.d.ts +54 -55
  59. package/lib/services/apps-process.service.d.ts +1 -3
  60. package/lib/services/people-process.service.d.ts +1 -3
  61. package/lib/styles/flex.scss +12 -7
  62. package/lib/task-list/components/attach-form/attach-form.component.d.ts +3 -7
  63. package/lib/task-list/components/checklist/checklist.component.d.ts +2 -5
  64. package/lib/task-list/components/start-task/start-task.component.d.ts +3 -5
  65. package/lib/task-list/components/task-details/task-details.component.d.ts +3 -6
  66. package/lib/task-list/components/task-filters/task-filters.component.d.ts +5 -26
  67. package/lib/task-list/components/task-form/claim-task.directive.d.ts +1 -3
  68. package/lib/task-list/components/task-form/task-form.component.d.ts +3 -3
  69. package/lib/task-list/components/task-form/unclaim-task.directive.d.ts +1 -3
  70. package/lib/task-list/components/task-header/task-header.component.d.ts +4 -5
  71. package/lib/task-list/components/task-list/task-list.component.d.ts +4 -5
  72. package/lib/task-list/models/task-details.event.d.ts +1 -1
  73. package/package.json +4 -4
  74. package/lib/process-list/components/process-audit/process-audit.directive.d.ts +0 -49
@@ -14,22 +14,20 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { WidgetVisibilityService, WidgetComponent, FormService } from '@alfresco/adf-core';
18
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
17
+ import { WidgetComponent } from '@alfresco/adf-core';
18
+ import { ElementRef, OnInit } from '@angular/core';
19
19
  import { DynamicTableColumn } from './editors/models/dynamic-table-column.model';
20
20
  import { DynamicTableRow } from './editors/models/dynamic-table-row.model';
21
21
  import { DynamicTableModel } from './editors/models/dynamic-table.widget.model';
22
22
  import * as i0 from "@angular/core";
23
23
  export declare class DynamicTableWidgetComponent extends WidgetComponent implements OnInit {
24
- formService: FormService;
25
- elementRef: ElementRef;
26
- private visibilityService;
27
- private cd;
28
24
  content: DynamicTableModel;
29
25
  editMode: boolean;
30
26
  editRow: DynamicTableRow;
31
- private selectArrayCode;
32
- constructor(formService: FormService, elementRef: ElementRef, visibilityService: WidgetVisibilityService, cd: ChangeDetectorRef);
27
+ private readonly selectArrayCode;
28
+ elementRef: ElementRef<any>;
29
+ private readonly visibilityService;
30
+ private readonly cd;
33
31
  ngOnInit(): void;
34
32
  forceFocusOnAddButton(): void;
35
33
  private isDynamicTableReady;
@@ -1,5 +1,5 @@
1
1
  /* stylelint-disable no-descending-specificity */
2
- @import '../../../../../../core/src/lib/styles/mixins';
2
+ @use '../../../../../../core/src/lib/styles/mixins' as *;
3
3
 
4
4
  $dynamic-table-font-size: var(--theme-body-1-font-size) !default;
5
5
  $dynamic-table-header-font-size: var(--theme-caption-font-size) !default;
@@ -65,7 +65,7 @@ dynamic-table-widget .adf-label {
65
65
 
66
66
  td,
67
67
  th {
68
- padding: 0 $dynamic-table-column-padding 12px $dynamic-table-column-padding;
68
+ padding: 0 $dynamic-table-column-padding 12px;
69
69
  text-align: center;
70
70
 
71
71
  &:first-of-type {
@@ -1,12 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DateAdapter } from '@angular/material/core';
3
2
  import { MatDatepickerInputEvent } from '@angular/material/datepicker';
4
3
  import { DynamicTableColumn } from '../models/dynamic-table-column.model';
5
4
  import { DynamicTableRow } from '../models/dynamic-table-row.model';
6
5
  import { DynamicTableModel } from '../models/dynamic-table.widget.model';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class DateEditorComponent implements OnInit {
9
- private dateAdapter;
8
+ private readonly dateAdapter;
10
9
  DATE_FORMAT: string;
11
10
  value: Date;
12
11
  table: DynamicTableModel;
@@ -14,7 +13,6 @@ export declare class DateEditorComponent implements OnInit {
14
13
  column: DynamicTableColumn;
15
14
  minDate: Date;
16
15
  maxDate: Date;
17
- constructor(dateAdapter: DateAdapter<Date>);
18
16
  ngOnInit(): void;
19
17
  onDateChanged(newDateValue: MatDatepickerInputEvent<Date> | string): void;
20
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DateEditorComponent, never>;
@@ -1,12 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DateAdapter } from '@angular/material/core';
3
2
  import { DynamicTableColumn } from '../models/dynamic-table-column.model';
4
3
  import { DynamicTableRow } from '../models/dynamic-table-row.model';
5
4
  import { DynamicTableModel } from '../models/dynamic-table.widget.model';
6
5
  import { MatDatetimepickerInputEvent } from '@mat-datetimepicker/core';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class DateTimeEditorComponent implements OnInit {
9
- private dateAdapter;
8
+ private readonly dateAdapter;
10
9
  DATE_TIME_FORMAT: string;
11
10
  value: Date;
12
11
  table: DynamicTableModel;
@@ -14,7 +13,6 @@ export declare class DateTimeEditorComponent implements OnInit {
14
13
  column: DynamicTableColumn;
15
14
  minDate: Date;
16
15
  maxDate: Date;
17
- constructor(dateAdapter: DateAdapter<Date>);
18
16
  ngOnInit(): void;
19
17
  onDateChanged(newDateValue: MatDatetimepickerInputEvent<Date> | string): void;
20
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeEditorComponent, never>;
@@ -20,19 +20,16 @@ import { DynamicTableColumnOption } from '../models/dynamic-table-column-option.
20
20
  import { DynamicTableColumn } from '../models/dynamic-table-column.model';
21
21
  import { DynamicTableRow } from '../models/dynamic-table-row.model';
22
22
  import { DynamicTableModel } from '../models/dynamic-table.widget.model';
23
- import { ProcessDefinitionService } from '../../../../services/process-definition.service';
24
- import { TaskFormService } from '../../../../services/task-form.service';
25
23
  import * as i0 from "@angular/core";
26
24
  export declare class DropdownEditorComponent implements OnInit {
27
25
  formService: FormService;
28
- private taskFormService;
29
- private processDefinitionService;
26
+ private readonly taskFormService;
27
+ private readonly processDefinitionService;
30
28
  value: any;
31
29
  options: DynamicTableColumnOption[];
32
30
  table: DynamicTableModel;
33
31
  row: DynamicTableRow;
34
32
  column: DynamicTableColumn;
35
- constructor(formService: FormService, taskFormService: TaskFormService, processDefinitionService: ProcessDefinitionService);
36
33
  ngOnInit(): void;
37
34
  getValuesByTaskId(field: FormFieldModel): void;
38
35
  getValuesByProcessDefinitionId(field: FormFieldModel): void;
@@ -20,7 +20,7 @@ import { DynamicTableColumn } from './dynamic-table-column.model';
20
20
  import { DynamicTableRow } from './dynamic-table-row.model';
21
21
  export declare class DateCellValidator implements CellValidator {
22
22
  static DATE_TYPE: string;
23
- private supportedTypes;
23
+ private readonly supportedTypes;
24
24
  isSupported(column: DynamicTableColumn): boolean;
25
25
  validate(row: DynamicTableRow, column: DynamicTableColumn, summary?: DynamicRowValidationSummary): boolean;
26
26
  }
@@ -19,7 +19,7 @@ import { DynamicRowValidationSummary } from './dynamic-row-validation-summary.mo
19
19
  import { DynamicTableColumn } from './dynamic-table-column.model';
20
20
  import { DynamicTableRow } from './dynamic-table-row.model';
21
21
  export declare class DynamicTableModel extends FormWidgetModel {
22
- private formService;
22
+ private readonly formService;
23
23
  field: FormFieldModel;
24
24
  columns: DynamicTableColumn[];
25
25
  visibleColumns: DynamicTableColumn[];
@@ -19,7 +19,7 @@ import { DynamicRowValidationSummary } from './dynamic-row-validation-summary.mo
19
19
  import { DynamicTableColumn } from './dynamic-table-column.model';
20
20
  import { DynamicTableRow } from './dynamic-table-row.model';
21
21
  export declare class NumberCellValidator implements CellValidator {
22
- private supportedTypes;
22
+ private readonly supportedTypes;
23
23
  isSupported(column: DynamicTableColumn): boolean;
24
24
  isNumber(value: any): boolean;
25
25
  validate(row: DynamicTableRow, column: DynamicTableColumn, summary?: DynamicRowValidationSummary): boolean;
@@ -19,7 +19,7 @@ import { DynamicRowValidationSummary } from './dynamic-row-validation-summary.mo
19
19
  import { DynamicTableColumn } from './dynamic-table-column.model';
20
20
  import { DynamicTableRow } from './dynamic-table-row.model';
21
21
  export declare class RequiredCellValidator implements CellValidator {
22
- private supportedTypes;
22
+ private readonly supportedTypes;
23
23
  isSupported(column: DynamicTableColumn): boolean;
24
24
  validate(row: DynamicTableRow, column: DynamicTableColumn, summary?: DynamicRowValidationSummary): boolean;
25
25
  }
@@ -14,10 +14,9 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { BaseViewerWidgetComponent, FormService } from '@alfresco/adf-core';
17
+ import { BaseViewerWidgetComponent } from '@alfresco/adf-core';
18
18
  import * as i0 from "@angular/core";
19
19
  export declare class FileViewerWidgetComponent extends BaseViewerWidgetComponent {
20
- constructor(formService: FormService);
21
20
  static ɵfac: i0.ɵɵFactoryDeclaration<FileViewerWidgetComponent, never>;
22
21
  static ɵcmp: i0.ɵɵComponentDeclaration<FileViewerWidgetComponent, "file-viewer-widget", never, {}, {}, never, never, true, never>;
23
22
  }
@@ -15,14 +15,11 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { ElementRef, OnInit } from '@angular/core';
18
- import { FormService, GroupModel, WidgetComponent } from '@alfresco/adf-core';
18
+ import { GroupModel, WidgetComponent } from '@alfresco/adf-core';
19
19
  import { UntypedFormControl } from '@angular/forms';
20
20
  import { PeopleProcessService } from '../../../services/people-process.service';
21
21
  import * as i0 from "@angular/core";
22
22
  export declare class FunctionalGroupWidgetComponent extends WidgetComponent implements OnInit {
23
- peopleProcessService: PeopleProcessService;
24
- formService: FormService;
25
- elementRef: ElementRef;
26
23
  minTermLength: number;
27
24
  groupId: string;
28
25
  searchTerm: UntypedFormControl;
@@ -30,7 +27,8 @@ export declare class FunctionalGroupWidgetComponent extends WidgetComponent impl
30
27
  selectedGroups: GroupModel[];
31
28
  multiSelect: boolean;
32
29
  input: ElementRef;
33
- constructor(peopleProcessService: PeopleProcessService, formService: FormService, elementRef: ElementRef);
30
+ peopleProcessService: PeopleProcessService;
31
+ elementRef: ElementRef<any>;
34
32
  ngOnInit(): void;
35
33
  updateOption(option?: GroupModel): void;
36
34
  validateGroup(valid: boolean, empty: boolean): void;
@@ -14,7 +14,7 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { FormService, WidgetComponent } from '@alfresco/adf-core';
17
+ import { WidgetComponent } from '@alfresco/adf-core';
18
18
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
19
19
  import { UntypedFormControl } from '@angular/forms';
20
20
  import { Observable } from 'rxjs';
@@ -22,8 +22,6 @@ import { PeopleProcessService } from '../../../services/people-process.service';
22
22
  import { LightUserRepresentation } from '@alfresco/js-api';
23
23
  import * as i0 from "@angular/core";
24
24
  export declare class PeopleWidgetComponent extends WidgetComponent implements OnInit {
25
- formService: FormService;
26
- peopleProcessService: PeopleProcessService;
27
25
  input: ElementRef;
28
26
  /** Emitted when a valid user has been highlighted */
29
27
  peopleSelected: EventEmitter<number>;
@@ -33,7 +31,7 @@ export declare class PeopleWidgetComponent extends WidgetComponent implements On
33
31
  searchTerm: UntypedFormControl;
34
32
  searchTerms$: Observable<any>;
35
33
  users$: Observable<LightUserRepresentation[]>;
36
- constructor(formService: FormService, peopleProcessService: PeopleProcessService);
34
+ peopleProcessService: PeopleProcessService;
37
35
  ngOnInit(): void;
38
36
  checkUserAndValidateForm(list: LightUserRepresentation[], value: string): void;
39
37
  isValidUser(users: LightUserRepresentation[], name: string): boolean;
@@ -14,15 +14,9 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { UploadWidgetComponent } from './upload/upload.widget';
18
17
  import { ContentWidgetComponent } from './document/content.widget';
19
- import { PeopleWidgetComponent } from './people/people.widget';
20
- import { FunctionalGroupWidgetComponent } from './functional-group/functional-group.widget';
21
- import { RadioButtonsWidgetComponent } from './radio-buttons/radio-buttons.widget';
22
- import { DropdownWidgetComponent } from './dropdown/dropdown.widget';
23
- import { TypeaheadWidgetComponent } from './typeahead/typeahead.widget';
24
18
  import { FileViewerWidgetComponent } from './file-viewer/file-viewer.widget';
25
- import { AttachFileWidgetComponent, AttachFileWidgetDialogComponent, AttachFolderWidgetComponent } from './content-widget';
19
+ import { AttachFileWidgetDialogComponent } from './content-widget';
26
20
  export * from './content-widget/public-api';
27
21
  export * from './document/content.widget';
28
22
  export * from './document/document.widget';
@@ -34,4 +28,4 @@ export * from './dropdown/dropdown.widget';
34
28
  export * from './file-viewer/file-viewer.widget';
35
29
  export * from './dynamic-table/index';
36
30
  export * from './upload/upload.widget';
37
- export declare const WIDGET_DIRECTIVES: (typeof UploadWidgetComponent | typeof ContentWidgetComponent | typeof PeopleWidgetComponent | typeof FunctionalGroupWidgetComponent | typeof RadioButtonsWidgetComponent | typeof DropdownWidgetComponent | typeof TypeaheadWidgetComponent | typeof FileViewerWidgetComponent | typeof import("./dynamic-table").DropdownEditorComponent | typeof import("./dynamic-table").BooleanEditorComponent | typeof import("./dynamic-table").DateEditorComponent | typeof import("./dynamic-table").DateTimeEditorComponent | typeof import("./dynamic-table").RowEditorComponent | typeof import("./dynamic-table").DynamicTableWidgetComponent | typeof AttachFileWidgetDialogComponent | typeof AttachFileWidgetComponent | typeof AttachFolderWidgetComponent)[];
31
+ export declare const WIDGET_DIRECTIVES: (typeof ContentWidgetComponent | typeof FileViewerWidgetComponent | typeof import("./dynamic-table").BooleanEditorComponent | typeof import("./dynamic-table").DateEditorComponent | typeof import("./dynamic-table").DateTimeEditorComponent | typeof import("./dynamic-table").RowEditorComponent | typeof AttachFileWidgetDialogComponent)[];
@@ -14,16 +14,12 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { FormService, WidgetComponent } from '@alfresco/adf-core';
17
+ import { WidgetComponent } from '@alfresco/adf-core';
18
18
  import { OnInit } from '@angular/core';
19
- import { TaskFormService } from '../../services/task-form.service';
20
- import { ProcessDefinitionService } from '../../services/process-definition.service';
21
19
  import * as i0 from "@angular/core";
22
20
  export declare class RadioButtonsWidgetComponent extends WidgetComponent implements OnInit {
23
- formService: FormService;
24
- private taskFormService;
25
- private processDefinitionService;
26
- constructor(formService: FormService, taskFormService: TaskFormService, processDefinitionService: ProcessDefinitionService);
21
+ private readonly taskFormService;
22
+ private readonly processDefinitionService;
27
23
  ngOnInit(): void;
28
24
  getOptionsByTaskId(): void;
29
25
  getOptionsByProcessDefinitionId(): void;
@@ -14,20 +14,16 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { FormService, FormFieldOption, WidgetComponent } from '@alfresco/adf-core';
17
+ import { FormFieldOption, WidgetComponent } from '@alfresco/adf-core';
18
18
  import { OnInit } from '@angular/core';
19
- import { TaskFormService } from '../../services/task-form.service';
20
- import { ProcessDefinitionService } from '../../services/process-definition.service';
21
19
  import * as i0 from "@angular/core";
22
20
  export declare class TypeaheadWidgetComponent extends WidgetComponent implements OnInit {
23
- formService: FormService;
24
- private taskFormService;
25
- private processDefinitionService;
26
21
  minTermLength: number;
27
22
  value: string;
28
23
  oldValue: string;
29
24
  options: FormFieldOption[];
30
- constructor(formService: FormService, taskFormService: TaskFormService, processDefinitionService: ProcessDefinitionService);
25
+ private readonly taskFormService;
26
+ private readonly processDefinitionService;
31
27
  ngOnInit(): void;
32
28
  getValuesByTaskId(): void;
33
29
  getValuesByProcessDefinitionId(): void;
@@ -14,20 +14,18 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ThumbnailService, FormService, WidgetComponent } from '@alfresco/adf-core';
17
+ import { ThumbnailService, WidgetComponent } from '@alfresco/adf-core';
18
18
  import { ElementRef, OnInit } from '@angular/core';
19
19
  import { ProcessContentService } from '../../services/process-content.service';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class UploadWidgetComponent extends WidgetComponent implements OnInit {
22
- formService: FormService;
23
- private thumbnailService;
24
- processContentService: ProcessContentService;
25
22
  hasFile: boolean;
26
23
  displayText: string;
27
24
  multipleOption: string;
28
25
  mimeTypeIcon: string;
29
26
  fileInput: ElementRef;
30
- constructor(formService: FormService, thumbnailService: ThumbnailService, processContentService: ProcessContentService);
27
+ protected thumbnailService: ThumbnailService;
28
+ protected processContentService: ProcessContentService;
31
29
  ngOnInit(): void;
32
30
  removeFile(file: any): void;
33
31
  onFileChanged(event: any): void;
@@ -34,7 +34,7 @@ export declare class PeopleComponent {
34
34
  showAssignment: boolean;
35
35
  peopleSearch$: Observable<LightUserRepresentation[]>;
36
36
  private peopleSearchObserver;
37
- constructor(peopleProcessService: PeopleProcessService);
37
+ constructor();
38
38
  searchUser(searchedWord: string): void;
39
39
  involveUser(user: LightUserRepresentation): void;
40
40
  removeInvolvedUser(user: LightUserRepresentation): void;
@@ -14,7 +14,7 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { DataTableComponent, DataCellEvent, DataColumnListComponent, ShowHeaderMode } from '@alfresco/adf-core';
17
+ import { DataTableComponent, DataCellEvent, DataColumnListComponent } from '@alfresco/adf-core';
18
18
  import { AfterContentInit, EventEmitter } from '@angular/core';
19
19
  import { UserEventModel } from '../../../task-list/models/user-event.model';
20
20
  import { LightUserRepresentation } from '@alfresco/js-api';
@@ -31,7 +31,7 @@ export declare class PeopleListComponent implements AfterContentInit {
31
31
  /** Emitted when the user clicks in the 'Three Dots' drop down menu for a row. */
32
32
  clickAction: EventEmitter<UserEventModel>;
33
33
  user: LightUserRepresentation;
34
- showHeader: ShowHeaderMode;
34
+ showHeader: "never";
35
35
  ngAfterContentInit(): void;
36
36
  selectUser(event: any): void;
37
37
  hasActions(): boolean;
@@ -1,20 +1,3 @@
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 { TranslationService } from '@alfresco/adf-core';
18
1
  import { EventEmitter } from '@angular/core';
19
2
  import { UntypedFormControl } from '@angular/forms';
20
3
  import { Observable } from 'rxjs';
@@ -24,14 +7,14 @@ import { LightUserRepresentation } from '@alfresco/js-api';
24
7
  import * as i0 from "@angular/core";
25
8
  export declare class PeopleSearchFieldComponent {
26
9
  peopleProcessService: PeopleProcessService;
27
- private translationService;
10
+ private readonly translationService;
28
11
  performSearch: PerformSearchCallback;
29
12
  placeholder: string;
30
13
  rowClick: EventEmitter<LightUserRepresentation>;
31
14
  users$: Observable<LightUserRepresentation[]>;
32
15
  searchUser: UntypedFormControl;
33
16
  defaultPlaceholder: string;
34
- constructor(peopleProcessService: PeopleProcessService, translationService: TranslationService);
17
+ constructor();
35
18
  reset(): void;
36
19
  get searchPlaceholder(): string;
37
20
  onRowClick(model: LightUserRepresentation): void;
@@ -16,22 +16,20 @@
16
16
  */
17
17
  import { EventEmitter } from '@angular/core';
18
18
  import { PerformSearchCallback } from '../../interfaces/perform-search-callback.interface';
19
- import { TranslationService } from '@alfresco/adf-core';
20
19
  import { PeopleSearchFieldComponent } from '../people-search-field/people-search-field.component';
21
20
  import { Observable } from 'rxjs';
22
- import { PeopleProcessService } from '../../../services/people-process.service';
23
21
  import { LightUserRepresentation } from '@alfresco/js-api';
24
22
  import * as i0 from "@angular/core";
25
23
  export declare class PeopleSelectorComponent {
26
- private peopleProcessService;
27
- private translationService;
24
+ private readonly peopleProcessService;
25
+ private readonly translationService;
28
26
  peopleId: LightUserRepresentation;
29
27
  peopleIdChange: EventEmitter<number>;
30
28
  searchFieldComponent: PeopleSearchFieldComponent;
31
29
  performSearch: PerformSearchCallback;
32
30
  selectedUser: LightUserRepresentation;
33
31
  defaultPlaceholder: string;
34
- constructor(peopleProcessService: PeopleProcessService, translationService: TranslationService);
32
+ constructor();
35
33
  searchUser(searchWord: string): Observable<any | LightUserRepresentation[]>;
36
34
  userSelected(user: LightUserRepresentation): void;
37
35
  userDeselected(): void;
@@ -1,31 +1,12 @@
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 { AlfrescoApiService } from '@alfresco/adf-content-services';
18
1
  import { Observable } from 'rxjs';
19
2
  import { CommentModel, CommentsService } from '@alfresco/adf-core';
20
3
  import { ActivitiCommentsApi } from '@alfresco/js-api';
21
- import { PeopleProcessService } from '../../services/people-process.service';
22
4
  import * as i0 from "@angular/core";
23
5
  export declare class CommentProcessService implements CommentsService {
24
- private apiService;
25
- private peopleProcessService;
6
+ private readonly apiService;
7
+ private readonly peopleProcessService;
26
8
  private _commentsApi;
27
9
  get commentsApi(): ActivitiCommentsApi;
28
- constructor(apiService: AlfrescoApiService, peopleProcessService: PeopleProcessService);
29
10
  /**
30
11
  * Gets all comments that have been added to a process instance.
31
12
  *
@@ -16,16 +16,12 @@
16
16
  */
17
17
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
18
18
  import { ProcessInstanceFilterRepresentation, UserProcessInstanceFilterRepresentation } from '@alfresco/js-api';
19
- import { ProcessFilterService } from '../../services/process-filter.service';
20
- import { AppsProcessService } from '../../../services/apps-process.service';
21
- import { Router } from '@angular/router';
22
- import { Location } from '@angular/common';
23
19
  import * as i0 from "@angular/core";
24
20
  export declare class ProcessFiltersComponent implements OnInit, OnChanges {
25
- private processFilterService;
26
- private appsProcessService;
27
- private router;
28
- private location;
21
+ private readonly processFilterService;
22
+ private readonly appsProcessService;
23
+ private readonly router;
24
+ private readonly location;
29
25
  /**
30
26
  * The parameters to filter the task filter. If there is no match then the default one
31
27
  * (ie, the first filter in the list) is selected.
@@ -52,7 +48,6 @@ export declare class ProcessFiltersComponent implements OnInit, OnChanges {
52
48
  isProcessActive: boolean;
53
49
  private iconsMDL;
54
50
  private readonly destroyRef;
55
- constructor(processFilterService: ProcessFilterService, appsProcessService: AppsProcessService, router: Router, location: Location);
56
51
  ngOnInit(): void;
57
52
  ngOnChanges(changes: SimpleChanges): void;
58
53
  isActiveRoute(filterActive: ProcessInstanceFilterRepresentation): boolean;
@@ -1,12 +1,11 @@
1
1
  import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { TaskDetailsEvent } from '../../../task-list';
3
- import { ProcessService } from '../../services/process.service';
4
3
  import { ProcessInstanceHeaderComponent } from '../process-instance-header/process-instance-header.component';
5
4
  import { ProcessInstanceTasksComponent } from '../process-instance-tasks/process-instance-tasks.component';
6
5
  import { ProcessInstanceRepresentation } from '@alfresco/js-api';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class ProcessInstanceDetailsComponent implements OnChanges {
9
- private processService;
8
+ private readonly processService;
10
9
  /** (required) The numeric ID of the process instance to display. */
11
10
  processInstanceId: string;
12
11
  processInstanceHeader: ProcessInstanceHeaderComponent;
@@ -24,7 +23,6 @@ export declare class ProcessInstanceDetailsComponent implements OnChanges {
24
23
  /** Emitted when the "show diagram" button is clicked. */
25
24
  showProcessDiagram: EventEmitter<any>;
26
25
  processInstanceDetails: ProcessInstanceRepresentation;
27
- constructor(processService: ProcessService);
28
26
  ngOnChanges(changes: SimpleChanges): void;
29
27
  /**
30
28
  * Reset the task detail
@@ -14,19 +14,19 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { AppConfigService, CardViewItem, TranslationService } from '@alfresco/adf-core';
17
+ import { CardViewItem } from '@alfresco/adf-core';
18
18
  import { OnChanges } from '@angular/core';
19
19
  import { ProcessInstanceRepresentation } from '@alfresco/js-api';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class ProcessInstanceHeaderComponent implements OnChanges {
22
- private translationService;
23
- private appConfig;
22
+ private readonly translationService;
23
+ private readonly appConfig;
24
24
  /** (**required**) Full details of the process instance to display information about. */
25
25
  processInstance: ProcessInstanceRepresentation;
26
26
  properties: CardViewItem[];
27
27
  dateFormat: string;
28
28
  dateLocale: string;
29
- constructor(translationService: TranslationService, appConfig: AppConfigService);
29
+ constructor();
30
30
  ngOnChanges(): void;
31
31
  refreshData(): void;
32
32
  getProcessStatus(): string;
@@ -1,13 +1,11 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
2
  import { Observable } from 'rxjs';
4
3
  import { TaskDetailsEvent } from '../../../task-list';
5
- import { ProcessService } from '../../services/process.service';
6
4
  import { ProcessInstanceRepresentation, TaskRepresentation } from '@alfresco/js-api';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class ProcessInstanceTasksComponent implements OnInit, OnChanges {
9
- private processService;
10
- private dialog;
7
+ private readonly processService;
8
+ private readonly dialog;
11
9
  /** The ID of the process instance to display tasks for. */
12
10
  processInstanceDetails: ProcessInstanceRepresentation;
13
11
  /**
@@ -30,7 +28,7 @@ export declare class ProcessInstanceTasksComponent implements OnInit, OnChanges
30
28
  private taskObserver;
31
29
  private completedTaskObserver;
32
30
  private readonly destroyRef;
33
- constructor(processService: ProcessService, dialog: MatDialog);
31
+ constructor();
34
32
  ngOnInit(): void;
35
33
  ngOnChanges(changes: SimpleChanges): void;
36
34
  load(processInstanceId: string): void;
@@ -14,9 +14,8 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { DataTableSchema, DataRowEvent, DataTableAdapter, CustomEmptyContentTemplateDirective, CustomLoadingContentTemplateDirective, DataRow, DataColumn, AppConfigService, PaginatedComponent, PaginationModel, UserPreferencesService, DataCellEvent, ObjectDataRow } from '@alfresco/adf-core';
17
+ import { DataTableSchema, DataRowEvent, DataTableAdapter, CustomEmptyContentTemplateDirective, CustomLoadingContentTemplateDirective, DataRow, DataColumn, PaginatedComponent, PaginationModel, DataCellEvent, ObjectDataRow } from '@alfresco/adf-core';
18
18
  import { AfterContentInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
19
- import { ProcessService } from '../../services/process.service';
20
19
  import { BehaviorSubject } from 'rxjs';
21
20
  import { ProcessInstanceQueryRepresentation, ProcessInstanceQueryRepresentationSort, ProcessInstanceQueryRepresentationState, ResultListDataRepresentationProcessInstanceRepresentation } from '@alfresco/js-api';
22
21
  import * as i0 from "@angular/core";
@@ -36,8 +35,8 @@ export declare const processPresetsDefaultModel: {
36
35
  })[];
37
36
  };
38
37
  export declare class ProcessInstanceListComponent extends DataTableSchema implements OnChanges, AfterContentInit, PaginatedComponent {
39
- private processService;
40
- private userPreferences;
38
+ private readonly processService;
39
+ private readonly userPreferences;
41
40
  customEmptyContent: CustomEmptyContentTemplateDirective;
42
41
  customLoadingContent: CustomLoadingContentTemplateDirective;
43
42
  /** The id of the app. */
@@ -97,7 +96,7 @@ export declare class ProcessInstanceListComponent extends DataTableSchema implem
97
96
  rows: any[];
98
97
  sorting: any[];
99
98
  pagination: BehaviorSubject<PaginationModel>;
100
- constructor(processService: ProcessService, userPreferences: UserPreferencesService, appConfig: AppConfigService);
99
+ constructor();
101
100
  ngAfterContentInit(): void;
102
101
  ngOnChanges(changes: SimpleChanges): void;
103
102
  reload(): void;
@@ -15,23 +15,20 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
18
- import { AppConfigService, FormValues, LocalizedDatePipe } from '@alfresco/adf-core';
19
- import { AppsProcessService } from '../../../services/apps-process.service';
20
- import { ProcessService } from '../../services/process.service';
18
+ import { FormValues } from '@alfresco/adf-core';
21
19
  import { AbstractControl, UntypedFormControl } from '@angular/forms';
22
20
  import { Observable } from 'rxjs';
23
21
  import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
24
22
  import { MatSelectChange } from '@angular/material/select';
25
23
  import { StartFormComponent } from '../../../form';
26
24
  import { AppDefinitionRepresentation, ProcessDefinitionRepresentation, ProcessInstanceRepresentation, RestVariable } from '@alfresco/js-api';
27
- import { ActivitiContentService } from '../../../form/services/activiti-alfresco.service';
28
25
  import * as i0 from "@angular/core";
29
26
  export declare class StartProcessInstanceComponent implements OnChanges, OnInit {
30
- private processService;
31
- private contentService;
32
- private appsProcessService;
33
- private appConfig;
34
- private datePipe;
27
+ private readonly processService;
28
+ private readonly contentService;
29
+ private readonly appsProcessService;
30
+ private readonly appConfig;
31
+ private readonly datePipe;
35
32
  /**
36
33
  * Limit the list of processes that can be started to those
37
34
  * contained in the specified app.
@@ -79,9 +76,8 @@ export declare class StartProcessInstanceComponent implements OnChanges, OnInit
79
76
  selectedApplication: AppDefinitionRepresentation;
80
77
  isProcessDefinitionsLoading: boolean;
81
78
  isAppsLoading: boolean;
82
- movedNodeToPS: FormValues;
79
+ populatedFormData: FormValues;
83
80
  private readonly destroyRef;
84
- constructor(processService: ProcessService, contentService: ActivitiContentService, appsProcessService: AppsProcessService, appConfig: AppConfigService, datePipe: LocalizedDatePipe);
85
81
  ngOnInit(): void;
86
82
  ngOnChanges(changes: SimpleChanges): void;
87
83
  private getSelectedProcess;
@@ -96,7 +92,7 @@ export declare class StartProcessInstanceComponent implements OnChanges, OnInit
96
92
  isProcessDefinitionSelected(): boolean;
97
93
  isDropdownDisabled(): boolean;
98
94
  getAlfrescoRepositoryName(): string;
99
- moveNodeFromCStoPS(): void;
95
+ populateFormData(): void;
100
96
  startProcess(outcome?: string): void;
101
97
  cancelStartProcess(): void;
102
98
  hasStartForm(): boolean;