@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,89 +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 { ModuleWithProviders } from '@angular/core';
18
- import * as i0 from "@angular/core";
19
- import * as i1 from "./process-comments/process-comments.component";
20
- import * as i2 from "./process-list/components/process-list/process-list.component";
21
- import * as i3 from "./process-list/components/process-filters/process-filters.component";
22
- import * as i4 from "./process-list/components/process-instance-details/process-instance-details.component";
23
- import * as i5 from "./process-list/components/process-instance-header/process-instance-header.component";
24
- import * as i6 from "./process-list/components/process-instance-tasks/process-instance-tasks.component";
25
- import * as i7 from "./process-list/components/start-process/start-process.component";
26
- import * as i8 from "./task-list/components/task-form/task-form.component";
27
- import * as i9 from "./task-list/components/attach-form/attach-form.component";
28
- import * as i10 from "./task-list/components/checklist/checklist.component";
29
- import * as i11 from "./task-list/components/task-filters/task-filters.component";
30
- import * as i12 from "./task-list/components/task-list/task-list.component";
31
- import * as i13 from "./task-list/components/task-details/task-details.component";
32
- import * as i14 from "./task-list/components/task-header/task-header.component";
33
- import * as i15 from "./task-list/components/start-task/start-task.component";
34
- import * as i16 from "./task-list/components/task-standalone/task-standalone.component";
35
- import * as i17 from "./task-list/components/task-form/claim-task.directive";
36
- import * as i18 from "./task-list/components/task-form/unclaim-task.directive";
37
- import * as i19 from "./task-comments/task-comments.component";
38
- import * as i20 from "./app-list/apps-list.component";
39
- import * as i21 from "./app-list/select-apps-dialog/select-apps-dialog.component";
40
- import * as i22 from "./attachment/task-attachment-list/task-attachment-list.component";
41
- import * as i23 from "./attachment/process-attachment-list/process-attachment-list.component";
42
- import * as i24 from "./attachment/create-process-attachment/create-process-attachment.component";
43
- import * as i25 from "./attachment/create-task-attachment/create-task-attachment.component";
44
- import * as i26 from "./people/components/people/people.component";
45
- import * as i27 from "./people/components/people-search/people-search.component";
46
- import * as i28 from "./people/components/people-search-field/people-search-field.component";
47
- import * as i29 from "./people/components/people-selector/people-selector.component";
48
- import * as i30 from "./people/components/people-list/people-list.component";
49
- import * as i31 from "./form/form-list/form-list.component";
50
- import * as i32 from "./form/form-custom-outcomes.component";
51
- import * as i33 from "./form/start-form/start-form.component";
52
- import * as i34 from "./form/form.component";
53
- import * as i35 from "./form/widgets/content-widget/attach-file-widget.component";
54
- import * as i36 from "./form/widgets/content-widget/attach-folder-widget.component";
55
- import * as i37 from "./form/widgets/content-widget/attach-file-widget-dialog.component";
56
- import * as i38 from "./form/widgets/document/content.widget";
57
- import * as i39 from "./form/widgets/document/document.widget";
58
- import * as i40 from "./form/widgets/dropdown/dropdown.widget";
59
- import * as i41 from "./form/widgets/dynamic-table/dynamic-table.widget";
60
- import * as i42 from "./form/widgets/dynamic-table/editors/dropdown/dropdown.editor";
61
- import * as i43 from "./form/widgets/dynamic-table/editors/amount/amount.editor";
62
- import * as i44 from "./form/widgets/dynamic-table/editors/boolean/boolean.editor";
63
- import * as i45 from "./form/widgets/dynamic-table/editors/date/date.editor";
64
- import * as i46 from "./form/widgets/dynamic-table/editors/datetime/datetime.editor";
65
- import * as i47 from "./form/widgets/dynamic-table/editors/row-editor/row.editor";
66
- import * as i48 from "./form/widgets/dynamic-table/editors/text/text.editor";
67
- import * as i49 from "./form/widgets/file-viewer/file-viewer.widget";
68
- import * as i50 from "./form/widgets/functional-group/functional-group.widget";
69
- import * as i51 from "./form/widgets/people/people.widget";
70
- import * as i52 from "./form/widgets/radio-buttons/radio-buttons.widget";
71
- import * as i53 from "./form/widgets/typeahead/typeahead.widget";
72
- import * as i54 from "./form/widgets/upload/upload.widget";
73
- /**
74
- * @deprecated use provider api instead, for example:
75
- * ```
76
- * providers: [
77
- * provideTranslations('adf-process-services', 'assets/adf-process-services'),
78
- * { provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { floatLabel: 'never' } }
79
- * FormRenderingService,
80
- * { provide: FormRenderingService, useClass: ProcessFormRenderingService }
81
- * ]
82
- * ```
83
- */
84
- export declare class ProcessModule {
85
- static forRoot(): ModuleWithProviders<ProcessModule>;
86
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcessModule, never>;
87
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessModule, never, [typeof i1.ProcessCommentsComponent, typeof i2.ProcessInstanceListComponent, typeof i3.ProcessFiltersComponent, typeof i4.ProcessInstanceDetailsComponent, typeof i5.ProcessInstanceHeaderComponent, typeof i6.ProcessInstanceTasksComponent, typeof i7.StartProcessInstanceComponent, typeof i8.TaskFormComponent, typeof i9.AttachFormComponent, typeof i10.ChecklistComponent, typeof i11.TaskFiltersComponent, typeof i12.TaskListComponent, typeof i13.TaskDetailsComponent, typeof i14.TaskHeaderComponent, typeof i15.StartTaskComponent, typeof i16.TaskStandaloneComponent, typeof i17.ClaimTaskDirective, typeof i18.UnclaimTaskDirective, typeof i19.TaskCommentsComponent, typeof i20.AppsListComponent, typeof i21.SelectAppsDialogComponent, typeof i22.TaskAttachmentListComponent, typeof i23.ProcessAttachmentListComponent, typeof i24.CreateProcessAttachmentComponent, typeof i25.AttachmentComponent, typeof i26.PeopleComponent, typeof i27.PeopleSearchComponent, typeof i28.PeopleSearchFieldComponent, typeof i29.PeopleSelectorComponent, typeof i30.PeopleListComponent, typeof i31.FormListComponent, typeof i32.FormCustomOutcomesComponent, typeof i33.StartFormComponent, typeof i34.FormComponent, typeof i35.AttachFileWidgetComponent, typeof i36.AttachFolderWidgetComponent, typeof i37.AttachFileWidgetDialogComponent, typeof i38.ContentWidgetComponent, typeof i39.DocumentWidgetComponent, typeof i40.DropdownWidgetComponent, typeof i41.DynamicTableWidgetComponent, typeof i42.DropdownEditorComponent, typeof i43.AmountEditorComponent, typeof i44.BooleanEditorComponent, typeof i45.DateEditorComponent, typeof i46.DateTimeEditorComponent, typeof i47.RowEditorComponent, typeof i48.TextEditorComponent, typeof i49.FileViewerWidgetComponent, typeof i50.FunctionalGroupWidgetComponent, typeof i51.PeopleWidgetComponent, typeof i52.RadioButtonsWidgetComponent, typeof i53.TypeaheadWidgetComponent, typeof i54.UploadWidgetComponent], [typeof i1.ProcessCommentsComponent, typeof i2.ProcessInstanceListComponent, typeof i3.ProcessFiltersComponent, typeof i4.ProcessInstanceDetailsComponent, typeof i5.ProcessInstanceHeaderComponent, typeof i6.ProcessInstanceTasksComponent, typeof i7.StartProcessInstanceComponent, typeof i8.TaskFormComponent, typeof i9.AttachFormComponent, typeof i10.ChecklistComponent, typeof i11.TaskFiltersComponent, typeof i12.TaskListComponent, typeof i13.TaskDetailsComponent, typeof i14.TaskHeaderComponent, typeof i15.StartTaskComponent, typeof i16.TaskStandaloneComponent, typeof i17.ClaimTaskDirective, typeof i18.UnclaimTaskDirective, typeof i19.TaskCommentsComponent, typeof i20.AppsListComponent, typeof i21.SelectAppsDialogComponent, typeof i22.TaskAttachmentListComponent, typeof i23.ProcessAttachmentListComponent, typeof i24.CreateProcessAttachmentComponent, typeof i25.AttachmentComponent, typeof i26.PeopleComponent, typeof i27.PeopleSearchComponent, typeof i28.PeopleSearchFieldComponent, typeof i29.PeopleSelectorComponent, typeof i30.PeopleListComponent, typeof i31.FormListComponent, typeof i32.FormCustomOutcomesComponent, typeof i33.StartFormComponent, typeof i34.FormComponent, typeof i35.AttachFileWidgetComponent, typeof i36.AttachFolderWidgetComponent, typeof i37.AttachFileWidgetDialogComponent, typeof i38.ContentWidgetComponent, typeof i39.DocumentWidgetComponent, typeof i40.DropdownWidgetComponent, typeof i41.DynamicTableWidgetComponent, typeof i42.DropdownEditorComponent, typeof i43.AmountEditorComponent, typeof i44.BooleanEditorComponent, typeof i45.DateEditorComponent, typeof i46.DateTimeEditorComponent, typeof i47.RowEditorComponent, typeof i48.TextEditorComponent, typeof i49.FileViewerWidgetComponent, typeof i50.FunctionalGroupWidgetComponent, typeof i51.PeopleWidgetComponent, typeof i52.RadioButtonsWidgetComponent, typeof i53.TypeaheadWidgetComponent, typeof i54.UploadWidgetComponent]>;
88
- static ɵinj: i0.ɵɵInjectorDeclaration<ProcessModule>;
89
- }
@@ -1,22 +0,0 @@
1
- import { RuntimeAppDefinitionsApi, AppDefinitionRepresentation } from '@alfresco/js-api';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class AppsProcessService {
5
- private readonly apiService;
6
- readonly appsApi: RuntimeAppDefinitionsApi;
7
- /**
8
- * Gets a list of deployed apps for this user.
9
- *
10
- * @returns The list of deployed apps
11
- */
12
- getDeployedApplications(): Observable<AppDefinitionRepresentation[]>;
13
- /**
14
- * Gets a list of deployed apps for this user, where the app name is `name`.
15
- *
16
- * @param name Name of the app
17
- * @returns The list of deployed apps
18
- */
19
- getDeployedApplicationsByName(name: string): Observable<AppDefinitionRepresentation>;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<AppsProcessService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<AppsProcessService>;
22
- }
@@ -1,65 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { GroupModel } from '@alfresco/adf-core';
3
- import { TaskActionsApi, UsersApi, ActivitiGroupsApi, UserProfileApi, UserRepresentation, LightUserRepresentation } from '@alfresco/js-api';
4
- import * as i0 from "@angular/core";
5
- export declare class PeopleProcessService {
6
- private readonly apiService;
7
- readonly taskActionsApi: TaskActionsApi;
8
- readonly userApi: UsersApi;
9
- readonly groupsApi: ActivitiGroupsApi;
10
- readonly profileApi: UserProfileApi;
11
- /**
12
- * Gets information about the current user.
13
- *
14
- * @returns User information object
15
- */
16
- getCurrentUserInfo(): Observable<UserRepresentation>;
17
- /**
18
- * Gets the current user's profile image as a URL.
19
- *
20
- * @returns URL string
21
- */
22
- getCurrentUserProfileImage(): string;
23
- /**
24
- * Gets a list of groups in a workflow.
25
- *
26
- * @param filter Filter to select specific groups
27
- * @param groupId Group ID for the search
28
- * @returns Array of groups
29
- */
30
- getWorkflowGroups(filter: string, groupId?: string): Observable<GroupModel[]>;
31
- /**
32
- * Gets information about users across all tasks.
33
- *
34
- * @param taskId ID of the task
35
- * @param searchWord Filter text to search for
36
- * @param groupId group id
37
- * @returns Array of user information objects
38
- */
39
- getWorkflowUsers(taskId?: string, searchWord?: string, groupId?: number): Observable<LightUserRepresentation[]>;
40
- /**
41
- * Gets the profile picture URL for the specified user.
42
- *
43
- * @param userId The target user
44
- * @returns Profile picture URL
45
- */
46
- getUserImage(userId: string): string;
47
- /**
48
- * Sets a user to be involved with a task.
49
- *
50
- * @param taskId ID of the target task
51
- * @param idToInvolve ID of the user to involve
52
- * @returns Empty response when the update completes
53
- */
54
- involveUserWithTask(taskId: string, idToInvolve: string): Observable<LightUserRepresentation[]>;
55
- /**
56
- * Removes a user who is currently involved with a task.
57
- *
58
- * @param taskId ID of the target task
59
- * @param idToRemove ID of the user to remove
60
- * @returns Empty response when the update completes
61
- */
62
- removeInvolvedUser(taskId: string, idToRemove: string): Observable<LightUserRepresentation[]>;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<PeopleProcessService, never>;
64
- static ɵprov: i0.ɵɵInjectableDeclaration<PeopleProcessService>;
65
- }
@@ -1,45 +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 { AlfrescoApiService } from '@alfresco/adf-content-services';
18
- import { CommentModel, CommentsService } from '@alfresco/adf-core';
19
- import { ActivitiCommentsApi } from '@alfresco/js-api';
20
- import { Observable } from 'rxjs';
21
- import { PeopleProcessService } from './people-process.service';
22
- import * as i0 from "@angular/core";
23
- export declare class TaskCommentsService implements CommentsService {
24
- readonly commentsApi: ActivitiCommentsApi;
25
- protected apiService: AlfrescoApiService;
26
- protected peopleProcessService: PeopleProcessService;
27
- /**
28
- * Gets all comments that have been added to a task.
29
- *
30
- * @param id ID of the target task
31
- * @returns Details for each comment
32
- */
33
- get(id: string): Observable<CommentModel[]>;
34
- /**
35
- * Adds a comment to a task.
36
- *
37
- * @param id ID of the target task
38
- * @param message Text for the comment
39
- * @returns Details about the comment
40
- */
41
- add(id: string, message: string): Observable<CommentModel>;
42
- getUserImage(userId: string): string;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskCommentsService, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<TaskCommentsService>;
45
- }
@@ -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 { TaskCommentsComponent } from './task-comments.component';
18
- export * from './task-comments.component';
19
- export * from '../services/task-comments.service';
20
- export declare const TASK_COMMENTS_DIRECTIVES: readonly [typeof TaskCommentsComponent];
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TaskCommentsComponent {
3
- /** The numeric ID of the task. */
4
- taskId: string;
5
- /** Determines if comments are read only. */
6
- readOnly: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskCommentsComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TaskCommentsComponent, "adf-task-comments", never, { "taskId": { "alias": "taskId"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
9
- }
@@ -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, OnChanges, OnInit } from '@angular/core';
18
- import { Form } from '../../models/form.model';
19
- import { UntypedFormControl } from '@angular/forms';
20
- import * as i0 from "@angular/core";
21
- export declare class AttachFormComponent implements OnInit, OnChanges {
22
- private readonly taskService;
23
- private readonly modelService;
24
- private readonly taskFormService;
25
- /** Id of the task. */
26
- taskId: any;
27
- /** Identifier of the form to attach. */
28
- formKey: any;
29
- /** Emitted when the "Cancel" button is clicked. */
30
- cancelAttachForm: EventEmitter<void>;
31
- /** Emitted when the form is attached successfully. */
32
- success: EventEmitter<void>;
33
- /** Emitted when an error occurs. */
34
- error: EventEmitter<any>;
35
- forms: Form[];
36
- formId: number;
37
- disableSubmit: boolean;
38
- selectedFormId: number;
39
- attachFormControl: UntypedFormControl;
40
- ngOnInit(): void;
41
- ngOnChanges(): void;
42
- onCancelButtonClick(): void;
43
- onRemoveButtonClick(): void;
44
- onAttachFormButtonClick(): void;
45
- private loadFormsTask;
46
- private onFormAttached;
47
- private attachForm;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<AttachFormComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachFormComponent, "adf-attach-form", never, { "taskId": { "alias": "taskId"; "required": true; }; "formKey": { "alias": "formKey"; "required": false; }; }, { "cancelAttachForm": "cancelAttachForm"; "success": "success"; "error": "error"; }, never, never, true, never>;
50
- }
@@ -1,51 +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, SimpleChanges } from '@angular/core';
18
- import { TaskRepresentation } from '@alfresco/js-api';
19
- import * as i0 from "@angular/core";
20
- export declare class ChecklistComponent implements OnChanges {
21
- private readonly taskListService;
22
- private readonly dialog;
23
- /**
24
- * The id of the parent task to which subtasks are attached.
25
- */
26
- taskId: string;
27
- /**
28
- * Toggle readonly state of the form.
29
- * All form widgets will render as readonly if enabled.
30
- */
31
- readOnly: boolean;
32
- /** (required) The assignee id that the subtasks are assigned to. */
33
- assignee: number;
34
- /** Emitted when a new checklist task is created. */
35
- checklistTaskCreated: EventEmitter<TaskRepresentation>;
36
- /** Emitted when a checklist task is deleted. */
37
- checklistTaskDeleted: EventEmitter<string>;
38
- /** Emitted when an error occurs. */
39
- error: EventEmitter<any>;
40
- addNewDialog: any;
41
- taskName: string;
42
- checklist: TaskRepresentation[];
43
- ngOnChanges(changes: SimpleChanges): void;
44
- getTaskChecklist(): void;
45
- showDialog(): void;
46
- add(): void;
47
- delete(taskId: string): void;
48
- cancel(): void;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<ChecklistComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<ChecklistComponent, "adf-checklist", never, { "taskId": { "alias": "taskId"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "assignee": { "alias": "assignee"; "required": false; }; }, { "checklistTaskCreated": "checklistTaskCreated"; "checklistTaskDeleted": "checklistTaskDeleted"; "error": "error"; }, never, never, true, never>;
51
- }
@@ -1,64 +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 { FormFieldModel } from '@alfresco/adf-core';
18
- import { EventEmitter, OnInit } from '@angular/core';
19
- import { Observable } from 'rxjs';
20
- import { Form } from '../../models/form.model';
21
- import { AbstractControl, UntypedFormGroup } from '@angular/forms';
22
- import { TaskRepresentation } from '@alfresco/js-api';
23
- import * as i0 from "@angular/core";
24
- export declare class StartTaskComponent implements OnInit {
25
- private readonly taskService;
26
- private readonly formBuilder;
27
- /** (required) The id of the app. */
28
- appId: number;
29
- /** Default Task Name. */
30
- name: string;
31
- /** Emitted when the task is successfully created. */
32
- success: EventEmitter<any>;
33
- /** Emitted when the cancel button is clicked by the user. */
34
- cancel: EventEmitter<void>;
35
- /** Emitted when an error occurs. */
36
- error: EventEmitter<any>;
37
- taskDetailsModel: TaskRepresentation;
38
- forms$: Observable<Form[]>;
39
- assigneeId: number;
40
- field: FormFieldModel;
41
- taskForm: UntypedFormGroup;
42
- dateError: boolean;
43
- maxTaskNameLength: number;
44
- loading: boolean;
45
- private readonly destroyRef;
46
- ngOnInit(): void;
47
- buildForm(): void;
48
- private whitespaceValidator;
49
- setTaskDetails(form: any): void;
50
- isFormValid(): boolean;
51
- saveTask(): void;
52
- setAssigneeId(userId: number): void;
53
- onCancel(): void;
54
- getDisplayUser(firstName: string, lastName: string, delimiter?: string): string;
55
- onDateChanged(newDateValue: Date | string): void;
56
- private validateMaxTaskNameLength;
57
- get nameController(): AbstractControl;
58
- get descriptionController(): AbstractControl;
59
- private attachForm;
60
- private assignTaskByUserId;
61
- private loadFormsTask;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<StartTaskComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<StartTaskComponent, "adf-start-task", never, { "appId": { "alias": "appId"; "required": true; }; "name": { "alias": "name"; "required": false; }; }, { "success": "success"; "cancel": "cancel"; "error": "error"; }, never, never, true, never>;
64
- }
@@ -1,131 +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 { ContentLinkModel, FormFieldValidator, FormModel, FormOutcomeEvent } from '@alfresco/adf-core';
18
- import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
19
- import { MatDialogRef } from '@angular/material/dialog';
20
- import { Observable } from 'rxjs';
21
- import { TaskFormComponent } from '../task-form/task-form.component';
22
- import { LightUserRepresentation, TaskRepresentation } from '@alfresco/js-api';
23
- import * as i0 from "@angular/core";
24
- /** @deprecated no longer used anywhere, and can be safely removed */
25
- export declare class TaskDetailsComponent implements OnInit, OnChanges {
26
- private readonly taskListService;
27
- private readonly peopleProcessService;
28
- private readonly cardViewUpdateService;
29
- private readonly dialog;
30
- private readonly destroyRef;
31
- errorDialog: TemplateRef<any>;
32
- taskFormComponent: TaskFormComponent;
33
- /** (**required**) The id of the task whose details we are asking for. */
34
- taskId: string;
35
- /** Automatically renders the next task when the current one is completed. */
36
- showNextTask: boolean;
37
- /** Toggles task details Header component. */
38
- showHeader: boolean;
39
- /** Toggles collapsed/expanded state of the Header component. */
40
- showHeaderContent: boolean;
41
- /** Toggles `Involve People` feature for the Header component. */
42
- showInvolvePeople: boolean;
43
- /** Toggles `Comments` feature for the Header component. */
44
- showComments: boolean;
45
- /** Toggles `Checklist` feature for the Header component. */
46
- showChecklist: boolean;
47
- /** Toggles rendering of the form title. */
48
- showFormTitle: boolean;
49
- /** Toggles rendering of the `Complete` outcome button. */
50
- showFormCompleteButton: boolean;
51
- /** Toggles rendering of the `Save` outcome button. */
52
- showFormSaveButton: boolean;
53
- /**
54
- * Toggles read-only state of the form. All form widgets render as read-only
55
- * if enabled.
56
- */
57
- readOnlyForm: boolean;
58
- /** Toggles rendering of the `Refresh` button. */
59
- showFormRefreshButton: boolean;
60
- /** Field validators for use with the form. */
61
- fieldValidators: FormFieldValidator[];
62
- /** Emitted when the form is submitted with the `Save` or custom outcomes. */
63
- formSaved: EventEmitter<FormModel>;
64
- /** Emitted when the form is submitted with the `Complete` outcome. */
65
- formCompleted: EventEmitter<FormModel>;
66
- /** Emitted when the form field content is clicked. */
67
- formContentClicked: EventEmitter<ContentLinkModel>;
68
- /** Emitted when the form is loaded or reloaded. */
69
- formLoaded: EventEmitter<FormModel>;
70
- /** Emitted when a checklist task is created. */
71
- taskCreated: EventEmitter<TaskRepresentation>;
72
- /** Emitted when a checklist task is deleted. */
73
- taskDeleted: EventEmitter<string>;
74
- /** Emitted when an error occurs. */
75
- error: EventEmitter<any>;
76
- /**
77
- * Emitted when any outcome is executed. Default behaviour can be prevented
78
- * via `event.preventDefault()`.
79
- */
80
- executeOutcome: EventEmitter<FormOutcomeEvent>;
81
- /** Emitted when a task is assigned. */
82
- assignTask: EventEmitter<void>;
83
- /** Emitted when a task is claimed. */
84
- claimedTask: EventEmitter<string>;
85
- /** Emitted when a task is unclaimed. */
86
- unClaimedTask: EventEmitter<string>;
87
- taskDetails: TaskRepresentation;
88
- taskFormName: string;
89
- taskPeople: LightUserRepresentation[];
90
- noTaskDetailsTemplateComponent: TemplateRef<any>;
91
- showAssignee: boolean;
92
- showAttachForm: boolean;
93
- internalReadOnlyForm: boolean;
94
- errorDialogRef: MatDialogRef<TemplateRef<any>>;
95
- peopleSearch: Observable<LightUserRepresentation[]>;
96
- data: any;
97
- private peopleSearchObserver;
98
- ngOnInit(): void;
99
- ngOnChanges(changes: SimpleChanges): void;
100
- isAssigned(): boolean;
101
- /**
102
- * Complete button clicked
103
- */
104
- onComplete(): void;
105
- onShowAttachForm(): void;
106
- onCancelAttachForm(): void;
107
- onCompleteAttachForm(): void;
108
- onFormContentClick(content: ContentLinkModel): void;
109
- onFormSaved(form: FormModel): void;
110
- onFormCompleted(form: FormModel): void;
111
- onFormLoaded(form: FormModel): void;
112
- onChecklistTaskCreated(task: TaskRepresentation): void;
113
- onChecklistTaskDeleted(taskId: string): void;
114
- onFormError(error: any): void;
115
- onFormExecuteOutcome(event: FormOutcomeEvent): void;
116
- closeErrorDialog(): void;
117
- onClaimAction(taskId: string): void;
118
- onUnclaimAction(taskId: string): void;
119
- searchUser(searchedWord: string): void;
120
- onCloseSearch(): void;
121
- assignTaskToUser(selectedUser: LightUserRepresentation): void;
122
- getTaskHeaderViewClass(): string;
123
- isReadOnlyComment(): boolean;
124
- private reset;
125
- private updateTaskDetails;
126
- private clickTaskDetails;
127
- private loadDetails;
128
- private loadNextTask;
129
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskDetailsComponent, never>;
130
- static ɵcmp: i0.ɵɵComponentDeclaration<TaskDetailsComponent, "adf-task-details", never, { "taskId": { "alias": "taskId"; "required": true; }; "showNextTask": { "alias": "showNextTask"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showHeaderContent": { "alias": "showHeaderContent"; "required": false; }; "showInvolvePeople": { "alias": "showInvolvePeople"; "required": false; }; "showComments": { "alias": "showComments"; "required": false; }; "showChecklist": { "alias": "showChecklist"; "required": false; }; "showFormTitle": { "alias": "showFormTitle"; "required": false; }; "showFormCompleteButton": { "alias": "showFormCompleteButton"; "required": false; }; "showFormSaveButton": { "alias": "showFormSaveButton"; "required": false; }; "readOnlyForm": { "alias": "readOnlyForm"; "required": false; }; "showFormRefreshButton": { "alias": "showFormRefreshButton"; "required": false; }; "fieldValidators": { "alias": "fieldValidators"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "taskCreated": "taskCreated"; "taskDeleted": "taskDeleted"; "error": "error"; "executeOutcome": "executeOutcome"; "assignTask": "assignTask"; "claimedTask": "claimedTask"; "unClaimedTask": "unClaimedTask"; }, never, never, true, never>;
131
- }